head	1.26;
access;
symbols
	RELEASE_5_3_0:1.25
	RELEASE_4_10_0:1.24
	RELEASE_5_2_1:1.21
	RELEASE_5_2_0:1.21
	RELEASE_4_9_0:1.21
	RELEASE_5_1_0:1.20
	RELEASE_4_8_0:1.20
	RELEASE_5_0_0:1.19
	RELEASE_4_7_0:1.16
	RELEASE_4_6_2:1.15
	RELEASE_4_6_1:1.15
	RELEASE_4_6_0:1.15
	RELEASE_5_0_DP1:1.15
	RELEASE_4_5_0:1.14
	RELEASE_4_4_0:1.8
	RELEASE_4_3_0:1.1;
locks; strict;
comment	@# @;


1.26
date	2004.10.17.10.54.06;	author clement;	state dead;
branches;
next	1.25;

1.25
date	2004.06.21.21.27.44;	author kris;	state Exp;
branches;
next	1.24;

1.24
date	2004.02.25.12.18.19;	author eik;	state Exp;
branches;
next	1.23;

1.23
date	2004.02.11.22.16.16;	author ale;	state Exp;
branches;
next	1.22;

1.22
date	2004.02.11.15.59.19;	author mat;	state Exp;
branches;
next	1.21;

1.21
date	2003.08.28.12.57.51;	author edwin;	state Exp;
branches;
next	1.20;

1.20
date	2003.02.20.19.15.35;	author knu;	state Exp;
branches;
next	1.19;

1.19
date	2002.11.10.16.48.32;	author lioux;	state Exp;
branches;
next	1.18;

1.18
date	2002.11.06.22.47.24;	author adamw;	state Exp;
branches;
next	1.17;

1.17
date	2002.10.20.19.06.48;	author pat;	state Exp;
branches;
next	1.16;

1.16
date	2002.06.22.05.54.20;	author pat;	state Exp;
branches;
next	1.15;

1.15
date	2002.02.15.15.56.14;	author pat;	state Exp;
branches;
next	1.14;

1.14
date	2002.01.15.04.35.04;	author pat;	state Exp;
branches;
next	1.13;

1.13
date	2001.12.31.10.20.19;	author dirk;	state Exp;
branches;
next	1.12;

1.12
date	2001.12.30.19.36.12;	author dirk;	state Exp;
branches;
next	1.11;

1.11
date	2001.11.17.18.41.06;	author pat;	state Exp;
branches;
next	1.10;

1.10
date	2001.11.15.03.59.39;	author pat;	state Exp;
branches;
next	1.9;

1.9
date	2001.11.09.22.29.01;	author lioux;	state Exp;
branches;
next	1.8;

1.8
date	2001.08.24.19.15.07;	author petef;	state Exp;
branches;
next	1.7;

1.7
date	2001.08.16.17.07.38;	author lioux;	state Exp;
branches;
next	1.6;

1.6
date	2001.07.22.05.06.44;	author dwcjr;	state Exp;
branches;
next	1.5;

1.5
date	2001.07.02.16.03.14;	author lioux;	state Exp;
branches;
next	1.4;

1.4
date	2001.05.21.12.04.08;	author ijliao;	state Exp;
branches;
next	1.3;

1.3
date	2001.05.21.12.00.07;	author ijliao;	state Exp;
branches;
next	1.2;

1.2
date	2001.05.19.17.22.07;	author ijliao;	state Exp;
branches;
next	1.1;

1.1
date	2001.04.10.20.56.15;	author will;	state Exp;
branches;
next	;


desc
@@


1.26
log
@- As planned, retire www/phpnuke
@
text
@# New ports collection makefile for:	phpnuke
# Date created:				10 April 2001
# Whom:					will
#
# $FreeBSD: ports/www/phpnuke/Makefile,v 1.25 2004/06/21 21:27:44 kris Exp $
#

PORTNAME=	phpnuke
PORTVERSION=	6.9
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	PHP-Nuke-${PORTVERSION}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	An automated website package to distribute and manage content

FORBIDDEN=	"SQL injection vulnerability in Php-Nuke <= 7.1.0"
EXPIRATION_DATE=2004-08-20
DEPRECATED=	SQL injection vulnerability in Php-Nuke <= 7.1.0

.if defined(WITH_PHP3)
RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/www/mod_php3
.else
USE_PHP=	yes
WANT_PHP_WEB=	yes
.endif

USE_MYSQL=	yes

NO_BUILD=	yes
NO_WRKSUBDIR=	yes
PHPNUKEWWW=	${PREFIX}/www/${PORTNAME}
DOCS=		ADDONS-MODULES BLOCKS CHANGES CREDITS INSTALL README SUPPORT TODO

pre-everything::
.if !defined(WITH_PHP3)
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "Press CTRL-C and define WITH_PHP3 if you want"
	@@${ECHO_MSG} "to use PHP Nuke with PHP3. PHP4 is used by default."
	@@${ECHO_MSG} ""
.endif

do-install:
	@@-${MKDIR} ${PHPNUKEWWW}/html ${PHPNUKEWWW}/sql
	@@${CP} -Rp ${WRKDIR}/html ${WRKDIR}/sql ${PHPNUKEWWW}
.if !defined(NOPORTDOCS)
.for FILE in ${DOCS}
	@@${INSTALL_DATA} ${WRKDIR}/${FILE} ${PHPNUKEWWW}
.endfor
.endif

post-install:
	@@cd ${PREFIX}; ${FIND} ${PHPNUKEWWW:S/^${PREFIX}\///} -type f -o -type l | \
		${SED} -e 's,^\.,${PHPNUKEWWW:S|${PREFIX}/||},' >>${TMPPLIST}
	@@cd ${PREFIX}; ${FIND} ${PHPNUKEWWW:S/^${PREFIX}\///} -type d | ${SORT} -r | ${SED} -e 's/^/@@dirrm /g' >>${TMPPLIST}

.include <bsd.port.mk>
@


1.25
log
@Set an expiry date of 2004-08-20 for these BROKEN/IGNORE/FORBIDDEN
ports.  They will be removed on or after that date if they are still
broken and no fix has been submitted to GNATS.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.24
log
@mark FORBIDDEN: SQL injection vulnerability in Php-Nuke <= 7.1.0

References:
  <http://www.securityfocus.com/archive/1/353201>
  <http://www.securityfocus.com/archive/1/352324>
  <http://www.securityfocus.com/archive/1/348375>
  <http://www.securityfocus.com/archive/1/353188> (XSS)
  <http://www.securityfocus.com/archive/1/353291>
  <http://www.net-security.org/vuln.php?id=3226>
  <http://security.nnov.ru/search/document.asp?docid=5748>
  <http://securitylab.ru/42540.html>
  <http://www.phpbb.com/phpBB/viewtopic.php?f=14&t=153818> (search)

Sorry, I couldn't find a CVS entry for this.

Submitted by:	Vyacheslav I. Ivanchenko <ivi@@dhs.net.ru>
@
text
@d19 2
@


1.23
log
@- phpnuke doesn't depend on apache, but on php
- since depends on php, use USE_PHP
- s/sort/${SORT}/
- put USE_MYSQL before bsd.port.pre.mk

Approved by:	nork (mentor/implicitly)
@
text
@d18 2
@


1.22
log
@Update to 6.9
Add apache2 support
autogenerate PLIST

PR:		58512
Submitted by:	Fumihiko Kimura <jfkimura@@yahoo.co.jp>
@
text
@a17 8
.include <bsd.port.pre.mk>

.if exists(${LOCALBASE}/include/apache2/apr.h)
APACHE_LIBPHP=	${LOCALBASE}/libexec/apache2
.else
APACHE_LIBPHP=	${LOCALBASE}/libexec/apache
.endif

d19 1
a19 1
RUN_DEPENDS+=	${APACHE_LIBPHP}/libphp3.so:${PORTSDIR}/www/mod_php3
d21 2
a22 1
RUN_DEPENDS+=	${APACHE_LIBPHP}/libphp4.so:${PORTSDIR}/www/mod_php4
d52 1
a52 1
	@@cd ${PREFIX}; ${FIND} ${PHPNUKEWWW:S/^${PREFIX}\///} -type d | sort -r | ${SED} -e 's/^/@@dirrm /g' >>${TMPPLIST}
d54 1
a54 1
.include <bsd.port.post.mk>
@


1.21
log
@[orphaned ports]: use USE_MYSQL for various orphaned ports.

	Make these ports use USE_MYSQL:
	    * databases/dbconnect
	    * net/netsaint
	    * www/mod_mp3
	    * www/mod_mylo
	    * www/phpnuke
	    * www/postnuke
	    * www/udmsearch
	    * mail/courier

PR:		ports/56029
Submitted by:	Clement Laforet <sheepkiller@@cultdeadsheep.org>
@
text
@d9 1
a9 1
PORTVERSION=	6.0
d18 8
d27 1
a27 1
RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/www/mod_php3
d29 1
a29 1
RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
d36 2
a37 1
DOCS=		ADDONS-MODULES BLOCKS CHANGES README TODO
d48 2
a49 4
	@@${MKDIR} ${PREFIX}/www/phpnuke
	@@${MKDIR} ${PREFIX}/www/phpnuke/html
	@@${MKDIR} ${PREFIX}/www/phpnuke/sql
	@@${CP} -Rp ${WRKDIR}/html ${WRKDIR}/sql ${PREFIX}/www/phpnuke
d52 1
a52 1
	@@${INSTALL_DATA} ${WRKDIR}/${FILE} ${PREFIX}/www/phpnuke
d56 6
a61 1
.include <bsd.port.mk>
@


1.20
log
@De-pkg-comment.
@
text
@a17 1
LIB_DEPENDS=	mysqlclient.10:${PORTSDIR}/databases/mysql323-client
d23 2
@


1.19
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@d16 1
@


1.18
log
@Use PORTCOMMENT in the Makefile, and whack the pkg-comment.

Approved by:	pat
@
text
@a16 2
PORTCOMMENT=	An automated website package to distribute and manage content

@


1.17
log
@Update to 6.0
@
text
@d17 2
@


1.16
log
@Update to 5.6
@
text
@d9 1
a9 1
PORTVERSION=	5.6
@


1.15
log
@Update to 5.5
@
text
@d9 1
a9 1
PORTVERSION=	5.5
@


1.14
log
@Update to 5.4 and drop maintainership
@
text
@d9 1
a9 1
PORTVERSION=	5.4
@


1.13
log
@Use '::' as an dependency operator for pre-everything target. This is
needed because of the special nature of the pre-everything target.

See http://www.freebsd.org/cgi/getmsg.cgi?fetch=481921+485051+/usr/local/www/db/text/2001/cvs-all/20011007.cvs-all for details.
@
text
@d9 1
a9 1
PORTVERSION=	5.3.1
d15 1
a15 1
MAINTAINER=	pat@@FreeBSD.org
d18 3
a20 1
.if defined(WITH_PHP4)
a21 2
.else
RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/www/mod_php3
d29 1
a29 1
.if !defined(WITH_PHP4)
d31 2
a32 1
	@@${ECHO_MSG} "Press CTRL-C and define WITH_PHP4 if you want to use PHP Nuke with PHP4."
@


1.12
log
@Add missing '"' at the end of echo.
@
text
@d28 1
a28 1
pre-everything:
@


1.11
log
@Update to 5.3.1

Approved by:	lioux
@
text
@d31 1
a31 1
	@@${ECHO_MSG} "Press CTRL-C and define WITH_PHP4 if you want to use PHP Nuke with PHP4.
@


1.10
log
@Maintainer is now committer so change to new email address.

Approved by:	lioux
@
text
@d9 1
a9 1
PORTVERSION=	5.3
d26 1
a26 1
DOCS=		ADDONS-MODULES BLOCKS BUGS CHANGES README TODO
@


1.9
log
@Update to 6.3

Submitted by:	MAINTAINER
@
text
@d15 1
a15 1
MAINTAINER=	pat@@databits.net
@


1.8
log
@Update to version 5.2

PR:		29923
Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/phpnuke/Makefile,v 1.7 2001/08/16 17:07:38 lioux Exp $
d9 1
a9 1
PORTVERSION=	5.2
d26 1
a26 1
DOCS=		ADDONS-MODULES BUGS CHANGES README TODO
@


1.7
log
@o Update to 5.1
o Reword/improve both COMMENT and DESCR

PR:		29728
Submitted by:	MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/phpnuke/Makefile,v 1.6 2001/07/22 05:06:44 dwcjr Exp $
d9 1
a9 1
PORTVERSION=	5.1
@


1.6
log
@Update to 5.0.1

PR:		29084
Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/phpnuke/Makefile,v 1.5 2001/07/02 16:03:14 lioux Exp $
d9 1
a9 1
PORTVERSION=	5.0.1
@


1.5
log
@o Update port to version 5.0
o Update MASTER_SITES accordingly
o Switch maintainership from ports to submitter
o Add WITH_PHP4 option
o Update WWW tag
o Deploy NOPORTDOCS support in PLIST

Submitted by:	Patrick Li <pat@@databits.net>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/phpnuke/Makefile,v 1.4 2001/05/21 12:04:08 ijliao Exp $
d9 1
a9 1
PORTVERSION=	5.0
d11 2
a12 5
MASTER_SITES=	ftp://carroll.cac.psu.edu/pub/linux/distributions/mandrake-devel/projects/phpnuke/ \
		ftp://ftp.rpmfind.net/linux/Mandrake-devel/projects/phpnuke/ \
		ftp://gd.tuwien.ac.at/pub/linux/Mandrake-devel/projects/phpnuke/ \
		ftp://mandrake.redbox.cz/Mandrake-devel/projects/phpnuke/ \
		ftp://ftp.proxad.net/pub/Distributions_Linux/Mandrake-devel/projects/phpnuke/
d36 4
a39 2
	${MKDIR} ${PREFIX}/www/phpnuke/html
	${CP} -Rp ${WRKDIR}/html ${WRKDIR}/sql ${PREFIX}/www/phpnuke
d42 1
a42 1
	${INSTALL_DATA} ${WRKDIR}/${FILE} ${PREFIX}/www/phpnuke
@


1.4
log
@forgot to mention pr #

PR:		27497
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/phpnuke/Makefile,v 1.3 2001/05/21 12:00:07 ijliao Exp $
d9 1
a9 1
PORTVERSION=	4.2
d11 5
a15 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	phpnuke
d18 1
a18 1
MAINTAINER=	ports@@FreeBSD.org
d29 8
a36 1
DOCS=		BUGS CHANGES README TODO
@


1.3
log
@Mixed "{}" and "()" was applied while last commit

Submitted by:	serg@@tmn.ru
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/phpnuke/Makefile,v 1.2 2001/05/19 17:22:07 ijliao Exp $
@


1.2
log
@add missing runtime dependency: no check for mysql and php.

PR:		26732
Submitted by:	Janos Mohacsi <mohacsi@@ik.bme.hu>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/phpnuke/Makefile,v 1.1 2001/04/10 20:56:15 will Exp $
d19 1
a19 1
RUN_DEPENDS+=	$(LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
d21 1
a21 1
RUN_DEPENDS+=	$(LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/www/mod_php3
@


1.1
log
@Add phpnuke 4.2, a news automated system specially designed to be
used in intranets.
@
text
@d5 1
a5 1
# $FreeBSD$
d16 7
@

