- install ftpwho
- install xferlog.5 manpage - create /var/run/proftpd in the rc.d startup script so that it will be recreated during the next boot.
This commit is contained in:
parent
f5760893fa
commit
5492aae1af
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=22343
6 changed files with 14 additions and 10 deletions
|
@ -13,7 +13,8 @@ MASTER_SITES= ftp://ftp.tos.net/pub/proftpd/
|
|||
|
||||
MAINTAINER= mharo@FreeBSD.org
|
||||
|
||||
MAN1= ftpcount.1
|
||||
MAN1= ftpcount.1 ftpwho.1
|
||||
MAN5= xferlog.5
|
||||
MAN8= proftpd.8 ftpshut.8
|
||||
|
||||
USE_GMAKE= yes
|
||||
|
@ -39,13 +40,14 @@ post-configure:
|
|||
@${SED} -e 's:/usr/bin:${PREFIX}/bin:' \
|
||||
< ${WRKSRC}/src/ftpcount.1.pre_sed > ${WRKSRC}/src/ftpcount.1
|
||||
|
||||
#STRIP=
|
||||
do-install:
|
||||
@${MKDIR} /var/run/proftpd
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/ftpcount ${PREFIX}/bin/ftpcount
|
||||
@(cd ${PREFIX}/bin && ${LN} -s ftpcount ftpwho)
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/proftpd ${PREFIX}/libexec/proftpd
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/ftpshut ${PREFIX}/sbin/ftpshut
|
||||
@${INSTALL_MAN} ${WRKSRC}/src/ftpcount.1 ${PREFIX}/man/man1/ftpcount.1
|
||||
@${INSTALL_MAN} ${WRKSRC}/src/ftpwho.1 ${PREFIX}/man/man1/ftpwho.1
|
||||
@${INSTALL_MAN} ${WRKSRC}/src/xferlog.5 ${PREFIX}/man/man5/xferlog.5
|
||||
@${INSTALL_MAN} ${WRKSRC}/src/ftpshut.8 ${PREFIX}/man/man8/ftpshut.8
|
||||
@${INSTALL_MAN} ${WRKSRC}/src/proftpd.8 ${PREFIX}/man/man8/proftpd.8
|
||||
@${INSTALL_DATA} \
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
case "$1" in
|
||||
|
||||
start)
|
||||
/bin/mkdir -p /var/run/proftpd
|
||||
if [ -x /usr/local/libexec/proftpd ]; then
|
||||
/usr/local/libexec/proftpd && echo -n ' proftpd'
|
||||
fi
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
bin/ftpcount
|
||||
bin/ftpwho
|
||||
etc/proftpd.conf.default
|
||||
etc/rc.d/proftpd.sh.sample
|
||||
@exec if [ ! -f %D/etc/proftpd.conf ] ; then cp -p %D/%F %B/proftpd.conf; fi
|
||||
libexec/proftpd
|
||||
sbin/ftpshut
|
||||
@exec /bin/mkdir /var/run/proftpd
|
||||
@unexec /bin/rmdir /var/run/proftpd
|
||||
|
|
|
@ -13,7 +13,8 @@ MASTER_SITES= ftp://ftp.tos.net/pub/proftpd/
|
|||
|
||||
MAINTAINER= mharo@FreeBSD.org
|
||||
|
||||
MAN1= ftpcount.1
|
||||
MAN1= ftpcount.1 ftpwho.1
|
||||
MAN5= xferlog.5
|
||||
MAN8= proftpd.8 ftpshut.8
|
||||
|
||||
USE_GMAKE= yes
|
||||
|
@ -39,13 +40,14 @@ post-configure:
|
|||
@${SED} -e 's:/usr/bin:${PREFIX}/bin:' \
|
||||
< ${WRKSRC}/src/ftpcount.1.pre_sed > ${WRKSRC}/src/ftpcount.1
|
||||
|
||||
#STRIP=
|
||||
do-install:
|
||||
@${MKDIR} /var/run/proftpd
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/ftpcount ${PREFIX}/bin/ftpcount
|
||||
@(cd ${PREFIX}/bin && ${LN} -s ftpcount ftpwho)
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/proftpd ${PREFIX}/libexec/proftpd
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/ftpshut ${PREFIX}/sbin/ftpshut
|
||||
@${INSTALL_MAN} ${WRKSRC}/src/ftpcount.1 ${PREFIX}/man/man1/ftpcount.1
|
||||
@${INSTALL_MAN} ${WRKSRC}/src/ftpwho.1 ${PREFIX}/man/man1/ftpwho.1
|
||||
@${INSTALL_MAN} ${WRKSRC}/src/xferlog.5 ${PREFIX}/man/man5/xferlog.5
|
||||
@${INSTALL_MAN} ${WRKSRC}/src/ftpshut.8 ${PREFIX}/man/man8/ftpshut.8
|
||||
@${INSTALL_MAN} ${WRKSRC}/src/proftpd.8 ${PREFIX}/man/man8/proftpd.8
|
||||
@${INSTALL_DATA} \
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
case "$1" in
|
||||
|
||||
start)
|
||||
/bin/mkdir -p /var/run/proftpd
|
||||
if [ -x /usr/local/libexec/proftpd ]; then
|
||||
/usr/local/libexec/proftpd && echo -n ' proftpd'
|
||||
fi
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
bin/ftpcount
|
||||
bin/ftpwho
|
||||
etc/proftpd.conf.default
|
||||
etc/rc.d/proftpd.sh.sample
|
||||
@exec if [ ! -f %D/etc/proftpd.conf ] ; then cp -p %D/%F %B/proftpd.conf; fi
|
||||
libexec/proftpd
|
||||
sbin/ftpshut
|
||||
@exec /bin/mkdir /var/run/proftpd
|
||||
@unexec /bin/rmdir /var/run/proftpd
|
||||
|
|
Loading…
Reference in a new issue