From fc0911b413808cff4aa9e0b5408c345b9ef8fe40 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Mon, 23 Feb 2004 01:32:33 +0000 Subject: 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. --- net/jftpgw/patches/patch-aa | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 net/jftpgw/patches/patch-aa (limited to 'net/jftpgw/patches') 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: -- cgit v1.2.3