Index: head/net/delegate/Makefile =================================================================== --- head/net/delegate/Makefile (revision 26136) +++ head/net/delegate/Makefile (revision 26137) @@ -1,37 +1,56 @@ # New ports collection makefile for: DeleGate -# Version required: 5.9.12 +# Version required: 5.9.13 # Date created: 26 Jan 1997 # Whom: Masafumi NAKANE # # $FreeBSD$ # -DISTNAME= delegate5.9.12 -PKGNAME= delegate-5.9.12 +DISTNAME= delegate5.9.13 +PKGNAME= delegate-5.9.13 CATEGORIES= net www japanese MASTER_SITES= ftp://etlport.etl.go.jp/pub/DeleGate/ MAINTAINER= max@FreeBSD.org - -#FORBIDDEN= "Remote buffer overflow yielding setuid nobody shell" - +NO_PACKAGE= "Insecure program." MAKE_ENV= PATH=$${PATH}:. +IS_INTERACTIVE= YES -.if defined(BATCH) -pre-build: - @${ECHO} "MANAGER=root@localhost" >> ${WRKSRC}/DELEGATE_CONF +pre-fetch: +.if !defined(FORCE_BUILD) || ${FORCE_BUILD}!="YES" + @${ECHO} "*********************************************************************" + @${ECHO} "* WARNING! WARNING! WARNING! WARNING! WARNING! *" + @${ECHO} "* This program has know security problems which may allow a remote *" + @${ECHO} "* attacker to take control of your machine. *" + @${ECHO} "* See FreeBSD security advisory 00:04 for more information. *" + @${ECHO} "* *" + @${ECHO} "* It is strongly recommended that you avoid using this program. *" + @${ECHO} "* *" + @${ECHO} "* If you would like to use this program despite the danger, run *" + @${ECHO} "* make with ``FORCE_BUILD=YES'' *" + @${ECHO} "* WARNING! WARNING! WARNING! WARNING! WARNING! *" + @${ECHO} "*********************************************************************" + @${FALSE} +.else + @${ECHO} "*********************************************************************" + @${ECHO} "* WARNING! WARNING! WARNING! WARNING! WARNING! *" + @${ECHO} "* You have chosen to build an insecure program. *" + @${ECHO} "* This program has know security problems which may allow a remote *" + @${ECHO} "* attacker to take control of your machine. *" + @${ECHO} "* See FreeBSD security advisory 00:04 for more information. *" + @${ECHO} "*********************************************************************" .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/delegated ${PREFIX}/sbin @${MKDIR} ${PREFIX}/share/examples/delegate ${INSTALL_DATA} ${FILESDIR}/delegated.sh \ ${PREFIX}/share/examples/delegate .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/delegate ${INSTALL_DATA} ${WRKSRC}/doc/Manual.txt \ ${PREFIX}/share/doc/delegate .endif @${CAT} ${PKGDIR}/MESSAGE .include Property changes on: head/net/delegate/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.23 \ No newline at end of property +1.24 \ No newline at end of property Index: head/net/delegate/distinfo =================================================================== --- head/net/delegate/distinfo (revision 26136) +++ head/net/delegate/distinfo (revision 26137) @@ -1 +1 @@ -MD5 (delegate5.9.12.tar.gz) = 0ce66d63482595b6f0b22c19c66fd65f +MD5 (delegate5.9.13.tar.gz) = febd995ffa9444844dcc7a76a8ec0dde Property changes on: head/net/delegate/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.18 \ No newline at end of property +1.19 \ No newline at end of property Index: head/net/delegate/pkg-message =================================================================== --- head/net/delegate/pkg-message (revision 26136) +++ head/net/delegate/pkg-message (revision 26137) @@ -1,11 +1,20 @@ -********************************************************************** +********************************************************************* +* WARNING! WARNING! WARNING! WARNING! WARNING! * +* You have installed an insecure program. * +* This program has know security problems which may allow a remote * +* attacker to take control of your machine. * +* Use with great caution! * +* See FreeBSD security advisory 00:04 for more information. * +********************************************************************* + +---------------------------------------------------------------------- Now, edit the sample script in /usr/local/share/examples/delegate directory and copy it into /usr/local/etc/rc.d. Especially, don't forget to specify correct value for the MANAGER. You can also run an interactive configuration session by executing delegated with no argument. Consult /usr/local/share/doc/delegate/Manual.txt for configuration information. -********************************************************************** +---------------------------------------------------------------------- Property changes on: head/net/delegate/pkg-message ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1.1.1 \ No newline at end of property +1.2 \ No newline at end of property