aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2010-03-25 00:45:10 +0800
committermm <mm@FreeBSD.org>2010-03-25 00:45:10 +0800
commit201c05f49a52190a9faf20fd66ef13e7bcdec006 (patch)
tree4fbbb666b2605fd058d7db6a6bc86a5cbb756af4 /ftp
parent0a4c1b4fd5f8b1e00a2fe13e796867955a54e066 (diff)
downloadfreebsd-ports-graphics-201c05f49a52190a9faf20fd66ef13e7bcdec006.tar.gz
freebsd-ports-graphics-201c05f49a52190a9faf20fd66ef13e7bcdec006.tar.zst
freebsd-ports-graphics-201c05f49a52190a9faf20fd66ef13e7bcdec006.zip
- Remove etc/proftpd creation from Makefile
- Fix directory creation bug in patch-contrib-mod_sftp-Makefile.in
Diffstat (limited to 'ftp')
-rw-r--r--ftp/proftpd/Makefile1
-rw-r--r--ftp/proftpd/files/patch-contrib-mod_sftp-Makefile.in7
2 files changed, 4 insertions, 4 deletions
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index fd199bd944b..f71b8a57366 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -401,7 +401,6 @@ post-configure:
post-install:
@cd ${PREFIX}/etc/ && ${CP} -n proftpd.conf.sample proftpd.conf
.if defined(WITH_SFTP)
- @${INSTALL} -d ${PREFIX}/etc/proftpd
@cd ${PREFIX}/etc/proftpd && ${CP} -n dhparams.pem.sample dhparams.pem
@cd ${PREFIX}/etc/proftpd && ${CP} -n blacklist.dat.sample blacklist.dat
.endif
diff --git a/ftp/proftpd/files/patch-contrib-mod_sftp-Makefile.in b/ftp/proftpd/files/patch-contrib-mod_sftp-Makefile.in
index db454ae6ee5..30f4c2a2c3c 100644
--- a/ftp/proftpd/files/patch-contrib-mod_sftp-Makefile.in
+++ b/ftp/proftpd/files/patch-contrib-mod_sftp-Makefile.in
@@ -1,11 +1,12 @@
---- contrib/mod_sftp/Makefile.in.orig 2010-03-24 11:07:25.556408812 +0100
-+++ contrib/mod_sftp/Makefile.in 2010-03-24 11:07:49.115285644 +0100
-@@ -45,8 +45,8 @@
+--- contrib/mod_sftp/Makefile.in.orig 2009-09-16 08:09:57.000000000 +0200
++++ contrib/mod_sftp/Makefile.in 2010-03-24 17:38:46.947039120 +0100
+@@ -45,8 +45,9 @@
fi
install-misc:
- $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0644 dhparams.pem $(DESTDIR)$(sysconfdir)/dhparams.pem
- $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0644 blacklist.dat $(DESTDIR)$(sysconfdir)/blacklist.dat
++ $(INSTALL) -d -m 0755 $(DESTDIR)$(sysconfdir)/proftpd
+ $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0644 dhparams.pem $(DESTDIR)$(sysconfdir)/proftpd/dhparams.pem.sample
+ $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0644 blacklist.dat $(DESTDIR)$(sysconfdir)/proftpd/blacklist.dat.sample