diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 1997-12-04 03:41:07 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 1997-12-04 03:41:07 +0000 |
commit | e8319f569d2ee9d53173b79af9ffaa433e2cca80 (patch) | |
tree | 0786e0cd52a3b64374788891402cb330eeb3e45a /security | |
parent | Remove "rxvt - " from front, this is redundant. (diff) |
Upgrade to 2.2.1, add a startup script.
PR: ports/4620
Notes
Notes:
svn path=/head/; revision=8980
Diffstat (limited to 'security')
-rw-r--r-- | security/xinetd/Makefile | 19 | ||||
-rw-r--r-- | security/xinetd/distinfo | 2 | ||||
-rw-r--r-- | security/xinetd/files/patch-aa | 35 | ||||
-rw-r--r-- | security/xinetd/files/patch-ab | 32 | ||||
-rw-r--r-- | security/xinetd/pkg-plist | 1 |
5 files changed, 80 insertions, 9 deletions
diff --git a/security/xinetd/Makefile b/security/xinetd/Makefile index a47c9fb4796d..89e1e9f39682 100644 --- a/security/xinetd/Makefile +++ b/security/xinetd/Makefile @@ -1,27 +1,32 @@ # New ports collection makefile for: xinetd -# Version required: 2.1.7-freebsd.4 +# Version required: 2.2.1 # Date created: 28 June 1996 # Whom: markm # -# $Id: Makefile,v 1.2 1996/11/17 07:58:10 obrien Exp $ +# $Id: Makefile,v 1.3 1996/11/18 14:13:43 asami Exp $ # -DISTNAME= xinetd.2.1.7.4 +DISTNAME= xinetd-2.2.1 CATEGORIES= security -MASTER_SITES= ftp://ftp.telebase.com/pub/security/ -DISTFILES= xinetd.2.1.7-freebsd.4.tar.gz +MASTER_SITES= ftp://coast.cs.purdue.edu/pub/tools/unix/xinetd/ MAINTAINER= markm@FreeBSD.ORG -WRKSRC= ${WRKDIR}/xinetd.2.1.7-freebsd.4 MAN1= xinetd.1 MAN5= xinetd.conf.5 xinetd.log.5 do-build: - cd ${WRKSRC} ; ./compile-src -os freebsd2 -sf has_SB + cd ${WRKSRC} ; ./compile-src -os freebsd2 do-install: cd ${WRKSRC}/xinetd ; make install cd ${WRKSRC}/xinetd ; make install.man +post-install: + @if [ ! -f ${PREFIX}/etc/rc.d/xinetd.sh ]; then \ + ${ECHO} "Install ${PREFIX}/etc/rc.d/xinetd.sh startup file."; \ + ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/xinetd.sh; \ + ${ECHO} "[ -x ${PREFIX}/sbin/xinetd ] && ${PREFIX}/sbin/xinetd && echo -n' xinetd'" >> ${PREFIX}/etc/rc.d/xinetd.sh; \ + chmod 751 ${PREFIX}/etc/rc.d/xinetd.sh; \ + fi .include <bsd.port.mk> diff --git a/security/xinetd/distinfo b/security/xinetd/distinfo index b1f8239af228..cc62eb0d2c25 100644 --- a/security/xinetd/distinfo +++ b/security/xinetd/distinfo @@ -1 +1 @@ -MD5 (xinetd.2.1.7-freebsd.4.tar.gz) = f2be3c9013e1100774c10d26715b445b +MD5 (xinetd-2.2.1.tar.gz) = e9385076bef59db0fc865b8718e4cfd9 diff --git a/security/xinetd/files/patch-aa b/security/xinetd/files/patch-aa index d461c84322c7..98168ab42f0b 100644 --- a/security/xinetd/files/patch-aa +++ b/security/xinetd/files/patch-aa @@ -16,4 +16,37 @@ ! #define LISTEN_BACKLOG 64 /* - * When explicit values are given for enum's, that is because the structures + * When explicit values are given for enum's, that is because the structures + +--- xinetd/Makefile.orig Mon Apr 14 05:29:01 1997 ++++ xinetd/Makefile Wed Sep 24 04:54:21 1997 +@@ -131,7 +131,8 @@ + + XMODE = -m 700 # mode for executables + FMODE = -m 640 # mode for anything but executables +-INSTALL = install -c ++INSTALL_PROGRAM = install -c -s ++INSTALL_DATA = install -c + + LINT_FLAGS = -hbux + PAGER = less +@@ -178,16 +179,16 @@ + rm -f $(OPT_SOURCE) $(OPT_HEADER) + + install: $(PROGRAM) +- $(INSTALL) $(XMODE) $(PROGRAM) $(INSTALLDIR) ++ $(INSTALL_PROGRAM) $(XMODE) $(PROGRAM) $(INSTALLDIR) + + install.man: + if test "$(MANPROGDIR)" ; then \ +- $(INSTALL) $(FMODE) $(MANPROGFILE) $(MANPROGDIR)/$(MANPROGPAGE) ;\ ++ $(INSTALL_DATA) $(FMODE) $(MANPROGFILE) $(MANPROGDIR)/$(MANPROGPAGE) ;\ + fi + if test "$(MANDATADIR)" ; then \ + for i in $(MANDATANAMES) ; do \ + name=$(PROGRAM).$$i ; \ +- $(INSTALL) $(FMODE) $$name.man $(MANDATADIR)/$$name.$(MANDATASECTION);\ ++ $(INSTALL_DATA) $(FMODE) $$name.man $(MANDATADIR)/$$name.$(MANDATASECTION);\ + done ;\ + fi + diff --git a/security/xinetd/files/patch-ab b/security/xinetd/files/patch-ab new file mode 100644 index 000000000000..241e074f180a --- /dev/null +++ b/security/xinetd/files/patch-ab @@ -0,0 +1,32 @@ +--- compile-src.orig Thu Oct 16 09:06:46 1997 ++++ compile-src Thu Oct 16 09:09:32 1997 +@@ -43,7 +43,7 @@ + # The default is optimization. + # + cc= +-ccopt=-O ++ccopt=-O2 + lib_defs= + xinetd_defs= + +@@ -677,13 +677,13 @@ + case "$want_SB" in + yes) modify_manpages=yes ;; + no) modify_manpages= ;; +- *) echo -n "Convert .B -> .SB in man pages ? (if you are not sure, say no) -->" +- read x +- if test "$x" = "y" -o "$x" = "yes"; then +- modify_manpages=yes +- else +- modify_manpages= +- fi ++# *) echo -n "Convert .B -> .SB in man pages ? (if you are not sure, say no) -->" ++# read x ++# if test "$x" = "y" -o "$x" = "yes"; then ++# modify_manpages=yes ++# else ++# modify_manpages= ++# fi + esac + + if test "$modify_manpages" ; then diff --git a/security/xinetd/pkg-plist b/security/xinetd/pkg-plist index 171e665dba90..764c22d067d7 100644 --- a/security/xinetd/pkg-plist +++ b/security/xinetd/pkg-plist @@ -1,3 +1,4 @@ +etc/rc.d/xinetd.sh man/man1/xinetd.1.gz man/man5/xinetd.conf.5.gz man/man5/xinetd.log.5.gz |