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:
parent
81d5474f00
commit
3f74614ed4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26545
@ -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
|
||||
|
@ -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"
|
||||
|
@ -1,4 +1,4 @@
|
||||
bin/junkbuster
|
||||
sbin/junkbuster
|
||||
etc/junkbuster/aclfile.sample
|
||||
etc/junkbuster/blockfile.sample
|
||||
etc/junkbuster/cookiefile.sample
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -1,4 +1,4 @@
|
||||
bin/junkbuster
|
||||
sbin/junkbuster
|
||||
etc/junkbuster/aclfile.sample
|
||||
etc/junkbuster/blockfile.sample
|
||||
etc/junkbuster/cookiefile.sample
|
||||
|
Loading…
Reference in New Issue
Block a user