1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Put the WARNING! x 20 back.

Requested by: kris
Okay'd by: ijliao
This commit is contained in:
Clive Lin 2001-04-15 11:35:31 +00:00
parent 064d6c61a5
commit d8469c3952
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41418
2 changed files with 46 additions and 0 deletions

View File

@ -14,8 +14,33 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= max@FreeBSD.org
NO_PACKAGE= "Insecure program."
IS_INTERACTIVE= YES
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
@ -26,5 +51,6 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/doc/Manual.htm \
${PREFIX}/share/doc/delegate
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

20
net/delegate/pkg-message Normal file
View File

@ -0,0 +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.htm for configuration
information.
----------------------------------------------------------------------