aboutsummaryrefslogtreecommitdiffstats
path: root/mail/youbin/Makefile
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1996-10-09 20:50:55 +0800
committermax <max@FreeBSD.org>1996-10-09 20:50:55 +0800
commit513947d69f690f1b0d87b9a9a5440b7337ba52bd (patch)
treedcf401ec39183b5596d3cb33f33075ff18e90f7e /mail/youbin/Makefile
parentdcce4e46220a9021e5d46b599e04db7d2ca6ad9a (diff)
downloadfreebsd-ports-gnome-513947d69f690f1b0d87b9a9a5440b7337ba52bd.tar.gz
freebsd-ports-gnome-513947d69f690f1b0d87b9a9a5440b7337ba52bd.tar.zst
freebsd-ports-gnome-513947d69f690f1b0d87b9a9a5440b7337ba52bd.zip
Added local hack to make youbind server detatch itself from the controling
tty at the startup. Removed `&' from the startup script since youbind doesn't need to be put background manually.
Diffstat (limited to 'mail/youbin/Makefile')
-rw-r--r--mail/youbin/Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/mail/youbin/Makefile b/mail/youbin/Makefile
index 85da55cba1df..beedd506fd51 100644
--- a/mail/youbin/Makefile
+++ b/mail/youbin/Makefile
@@ -3,7 +3,7 @@
# Date created: 09 Aug 1996
# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.4 1996/09/17 15:07:58 max Exp $
+# $Id: Makefile,v 1.5 1996/09/18 19:20:24 max Exp $
#
DISTNAME= youbin-2.13
@@ -21,19 +21,19 @@ PREFIX?= ${LOCALBASE}
STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/youbind.sh
post-install:
- @if [ ! -f ${STARTUP_SCRIPT} ]; then \
- echo "Creating startup script '${STARTUP_SCRIPT}'" ;\
- echo "#!/bin/sh" > ${STARTUP_SCRIPT} ;\
- echo "if [ -f ${PREFIX}/sbin/youbind ]; then" >> \
- ${STARTUP_SCRIPT} ;\
- echo " ${PREFIX}/sbin/youbind &" >> ${STARTUP_SCRIPT} ;\
- echo " echo -n ' youbind'" >> ${STARTUP_SCRIPT} ;\
- echo "fi" >> ${STARTUP_SCRIPT} ;\
- chmod 755 ${STARTUP_SCRIPT} ;\
+ @if [ ! -f ${STARTUP_SCRIPT} ]; then \
+ echo "Creating startup script '${STARTUP_SCRIPT}'" ; \
+ echo "#!/bin/sh" > ${STARTUP_SCRIPT} ; \
+ echo "if [ -f ${PREFIX}/sbin/youbind ]; then" \
+ >> ${STARTUP_SCRIPT} ; \
+ echo " ${PREFIX}/sbin/youbind ; echo -n ' youbind'" \
+ >> ${STARTUP_SCRIPT} ; \
+ echo "fi" >> ${STARTUP_SCRIPT} ; \
+ chmod 755 ${STARTUP_SCRIPT} ; \
fi
- @-(grep -v ^# /etc/inetd.conf | grep comsat > /dev/null) && \
+ @-(grep -v ^# /etc/inetd.conf | grep comsat > /dev/null) && \
(echo "Now you need to edit /etc/inetd.conf and comment out the" ;\
- echo "entry for comsat. Then, do:" ;\
+ echo "entry for comsat. Then, do:" ; \
echo "kill -HUP `cat /var/run/inetd.pid`")
.include <bsd.port.mk>