1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- backout lastest fixes

Submitted by:	cyrille.lefevre@laposte.net
This commit is contained in:
Dirk Meyer 2003-06-11 20:58:34 +00:00
parent 19091648b6
commit 99c15479b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82807
2 changed files with 13 additions and 9 deletions

View File

@ -25,7 +25,7 @@ COMMENT?= Donate idle cycles to the search for space aliens
IS_INTERACTIVE= yes
.endif
ONLY_FOR_ARCHS?= i386
ONLY_FOR_ARCHS?= i386 # alpha
NO_BUILD= binary distribution
NO_CDROM= interactive install
@ -106,11 +106,6 @@ X11PORTS=
X11PORTS= "@comment "
.endif
post-extract:
@${SED} -e "s=%%PREFIX%%=${PREFIX}=" ${FILESDIR}/setiathome.sh \
> ${WRKSRC}/setiathome.sh
# Post-patch
#
@ -174,7 +169,7 @@ install-startup-files:
-@${CHMOD} -x ${RC_DIR}/*${file}*.sh 2> /dev/null
.endif
.if exists(${FILESDIR}/${file}.sh)
@${INSTALL_SCRIPT} ${WRKSRC}/${file}.sh \
@${INSTALL_SCRIPT} ${FILESDIR}/${file}.sh \
${RC_DIR}/${PKGNAMEPREFIX}${file}${PKGNAMESUFFIX}.sh
.endif
.if exists(${FILESDIR}/${file}.bin)

View File

@ -29,7 +29,11 @@ seti_maxprocs=$(sysctl -n hw.ncpu) # max. number of processes to start
seti_sleep_time=21600 # time to sleep between restarts
set +a
PREFIX=%%PREFIX%%
if ! PREFIX=$(expr ${rc_path} : "\(/.*\)/etc/rc\.d/${rc_file}\$"); then
echo "${rc_file}: Cannot determine PREFIX." >&2
echo "Please use the complete pathname." >&2
exit 64
fi
rcconf_dir=${PREFIX}/etc
rcconf_file=rc.${rc_file%.sh}.conf
@ -78,6 +82,11 @@ start)
"unable to start: ${program_path} is missing."
exit 72
fi
if [ ! -x ${wrapper_path} ]; then
logger -sp ${syslog_facility} -t ${wrapper_file} \
"unable to start: ${wrapper_path} is missing."
exit 72
fi
for i in ${seti_wrksuff}; do
if [ ! -d ${seti_wrkdir}/${i} ]; then
logger -sp ${syslog_facility} -t ${program_file} \
@ -93,7 +102,7 @@ start)
exit 72
fi
done
if ps axo command | egrep ^${program_path}; then
if ps axo ucomm | egrep ${program_file}; then
logger -sp ${syslog_facility} -t ${program_file} \
"unable to start: ${program_file} is already running."
exit 72