aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 fd199bd944b8..f71b8a57366a 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 db454ae6ee5d..30f4c2a2c3c2 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