diff options
-rw-r--r-- | ftp/proftpd/Makefile | 3 | ||||
-rw-r--r-- | ftp/proftpd/files/proftpd.in (renamed from ftp/proftpd/files/proftpd.sh.in) | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile index 6d10cbe0b38a..b7ae43adb5a2 100644 --- a/ftp/proftpd/Makefile +++ b/ftp/proftpd/Makefile @@ -7,6 +7,7 @@ PORTNAME= proftpd PORTVERSION= 1.3.2b +PORTREVISION= 1 CATEGORIES?= ftp MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \ ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \ @@ -56,7 +57,7 @@ GNU_CONFIGURE= yes CONFLICTS= proftpd-devel-1.[0-9].* -USE_RC_SUBR= proftpd.sh +USE_RC_SUBR= proftpd CONFIGURE_ARGS= --localstatedir=/var/run \ --with-pkgconfig=libdata/pkgconfig \ diff --git a/ftp/proftpd/files/proftpd.sh.in b/ftp/proftpd/files/proftpd.in index 362a2d37f6a0..44b5e0e8a0df 100644 --- a/ftp/proftpd/files/proftpd.sh.in +++ b/ftp/proftpd/files/proftpd.in @@ -23,7 +23,7 @@ name=proftpd rcvar=`set_rcvar` command=%%PREFIX%%/sbin/proftpd -pidfile=/var/run/proftpd.pid +pidfile=$(grep PidFile /usr/local/etc/proftpd.conf | awk '{print($2)}') required_files=%%PREFIX%%/etc/proftpd.conf stop_postcmd=stop_postcmd |