summaryrefslogtreecommitdiff
path: root/net/jftpgw/patches
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-02-23 01:32:33 +0000
committerxtraeme <xtraeme>2004-02-23 01:32:33 +0000
commitfc0911b413808cff4aa9e0b5408c345b9ef8fe40 (patch)
treec5357556d335566acc5fb7181d26cac34330c024 /net/jftpgw/patches
parent1c40dd082ee4f42db50698bb6bfd6e5e84aed8ab (diff)
downloadpkgsrc-fc0911b413808cff4aa9e0b5408c345b9ef8fe40.tar.gz
Initial import of jftpgw-0.13.4, packaged by David Ferlier in PR
pkg/24414, with minor changes by me. jftpgw is an FTP proxy/gateway that uses the FTP protocol (unlike those FTP proxies that fetch an FTP file but work as an http proxy). You can use it to make servers behind a firewall/NAT server (masquerading server) accessible or to allow users behind such solutions to transfer files to and from the outside of the LAN.
Diffstat (limited to 'net/jftpgw/patches')
-rw-r--r--net/jftpgw/patches/patch-aa21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/jftpgw/patches/patch-aa b/net/jftpgw/patches/patch-aa
new file mode 100644
index 00000000000..9898621a8f7
--- /dev/null
+++ b/net/jftpgw/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/02/23 01:32:34 xtraeme Exp $
+
+--- Makefile.in.orig 2004-02-23 02:20:31.000000000 +0100
++++ Makefile.in 2004-02-23 02:23:09.000000000 +0100
+@@ -528,11 +528,12 @@
+ # use mkinstalldirs, not "install -d"
+ # don't install a list of file. Just one file per install.
+ # if you have more of them, create a subdirectory with an extra Makefile
++examplesdir=$(datadir)/examples/jftpgw
++
+ install-data-local:
+- $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
+- if test -f $(DESTDIR)$(sysconfdir)/jftpgw.conf; then echo -e "\n\nMoving $(DESTDIR)$(sysconfdir)/jftpgw.conf to $(DESTDIR)$(sysconfdir)/jftpgw.conf.old\n\n"; mv $(DESTDIR)$(sysconfdir)/jftpgw.conf $(DESTDIR)$(sysconfdir)/jftpgw.conf.old; fi
+- $(INSTALL_DATA) jftpgw.conf.sample $(DESTDIR)$(sysconfdir)/jftpgw.conf
+- $(INSTALL_DATA) jftpgw.conf.sample $(DESTDIR)$(sysconfdir)/jftpgw.conf.sample
++ $(mkinstalldirs) $(DESTDIR)$(examplesdir)
++ if test -f $(DESTDIR)$(sysconfdir)/jftpgw.conf; then echo -e "\n\nMoving $(DESTDIR)$(examplesdir)/jftpgw.conf to $(DESTDIR)$(examplesdir)/jftpgw.conf.old\n\n"; mv $(DESTDIR)$(examplesdir)/jftpgw.conf $(DESTDIR)$(examplesdir)/jftpgw.conf.old; fi
++ $(INSTALL_DATA) jftpgw.conf.sample $(DESTDIR)$(examplesdir)/jftpgw.conf
+
+ # remove ALL you have installed in install-data-local or install-exec-local
+ uninstall-local: