1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

We daemons that are started by an RC script usually live in sbin, not bin.

This commit is contained in:
David E. O'Brien 2000-03-05 00:26:06 +00:00
parent 81d5474f00
commit 3f74614ed4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26545
6 changed files with 8 additions and 8 deletions

View File

@ -26,7 +26,7 @@ post-patch:
@${PERL} -pi -e 's:\r::' ${WRKSRC}/*
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/junkbuster ${PREFIX}/bin/junkbuster
${INSTALL_PROGRAM} ${WRKSRC}/junkbuster ${PREFIX}/sbin/junkbuster
${MKDIR} -m 755 ${PREFIX}/etc/junkbuster
${INSTALL_DATA} ${WRKSRC}/junkbstr.ini ${PREFIX}/etc/junkbuster/configfile.sample
${INSTALL_DATA} ${WRKSRC}/sblock.ini ${PREFIX}/etc/junkbuster/blockfile.sample

View File

@ -1,5 +1,5 @@
#!/bin/sh
test -d JDIR -a -x PREFIX/bin/junkbuster -a -f JDIR/configfile || exit 1
test -d JDIR -a -x PREFIX/sbin/junkbuster -a -f JDIR/configfile || exit 1
cd JDIR
su -m nobody -c "PREFIX/bin/junkbuster configfile &"
su -m nobody -c "PREFIX/sbin/junkbuster configfile &"
echo -n " junkbuster"

View File

@ -1,4 +1,4 @@
bin/junkbuster
sbin/junkbuster
etc/junkbuster/aclfile.sample
etc/junkbuster/blockfile.sample
etc/junkbuster/cookiefile.sample

View File

@ -26,7 +26,7 @@ post-patch:
@${PERL} -pi -e 's:\r::' ${WRKSRC}/*
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/junkbuster ${PREFIX}/bin/junkbuster
${INSTALL_PROGRAM} ${WRKSRC}/junkbuster ${PREFIX}/sbin/junkbuster
${MKDIR} -m 755 ${PREFIX}/etc/junkbuster
${INSTALL_DATA} ${WRKSRC}/junkbstr.ini ${PREFIX}/etc/junkbuster/configfile.sample
${INSTALL_DATA} ${WRKSRC}/sblock.ini ${PREFIX}/etc/junkbuster/blockfile.sample

View File

@ -1,5 +1,5 @@
#!/bin/sh
test -d JDIR -a -x PREFIX/bin/junkbuster -a -f JDIR/configfile || exit 1
test -d JDIR -a -x PREFIX/sbin/junkbuster -a -f JDIR/configfile || exit 1
cd JDIR
su -m nobody -c "PREFIX/bin/junkbuster configfile &"
su -m nobody -c "PREFIX/sbin/junkbuster configfile &"
echo -n " junkbuster"

View File

@ -1,4 +1,4 @@
bin/junkbuster
sbin/junkbuster
etc/junkbuster/aclfile.sample
etc/junkbuster/blockfile.sample
etc/junkbuster/cookiefile.sample