head	1.7;
access;
symbols
	RELEASE_6_2_0:1.6
	RELEASE_6_1_0:1.5
	RELEASE_5_5_0:1.5
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1;
locks; strict;
comment	@# @;


1.7
date	2006.12.12.15.18.48;	author vd;	state dead;
branches;
next	1.6;

1.6
date	2006.09.02.18.06.13;	author kris;	state Exp;
branches;
next	1.5;

1.5
date	2006.02.16.12.58.32;	author vs;	state Exp;
branches;
next	1.4;

1.4
date	2005.12.14.13.36.58;	author vs;	state Exp;
branches;
next	1.3;

1.3
date	2005.11.23.17.43.26;	author vs;	state Exp;
branches;
next	1.2;

1.2
date	2005.11.18.11.57.27;	author simon;	state Exp;
branches;
next	1.1;

1.1
date	2004.11.26.22.25.20;	author brian;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Remove expired leaf ports:
2006-12-01 www/p5-ldap-abook: Arbitrary command execution vulnerability in CGI script
2006-12-07 x11-wm/tpager: Unmaintained and disappears from MASTER_SITE on a regular basis
@
text
@# New ports collection makefile for:	p5-abook
# Date created:				November 22, 2004
# Whom:	      				Brian Somers <brian@@FreeBSD.org>
#
# $FreeBSD: ports/www/p5-ldap-abook/Makefile,v 1.6 2006/09/02 18:06:13 kris Exp $
#

PORTNAME=	ldap-abook
PORTVERSION=	1.00
PORTREVISION=	1
CATEGORIES=	www perl5
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
PKGNAMEPREFIX=	p5-

MAINTAINER=	vs@@FreeBSD.org
COMMENT=	Perl5 CGI script providing an LDAP addressbook web interface

FORBIDDEN=	Arbitrary command execution vulnerability in CGI script
DEPRECATED=	${FORBIDDEN}
EXPIRATION_DATE=2006-12-01

RUN_DEPENDS=	${SITE_PERL}/AddressBook.pm:${PORTSDIR}/net/p5-AddressBook \
		${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \
		${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap

ABOOK=		${PREFIX}/www/ldap-abook
CONFIG=		${PREFIX}/etc/AddressBook.conf
USE_PERL5_RUN=	yes
NO_BUILD=	yes

post-patch:
	@@${REINPLACE_CMD} -e 's|(/etc/AddressBook.conf)|${PREFIX}$$1|g' \
	   ${WRKSRC}/cgi-bin/abook.cgi

do-install:
	@@ ${MKDIR} ${PREFIX}/www/ldap-abook
	${TAR} -C ${WRKSRC} --exclude '*.orig' -cf - . | \
	    ${TAR} -C ${PREFIX}/www/ldap-abook -xf -
	${INSTALL_DATA} ${FILESDIR}/abook.ldif ${ABOOK}/examples/default
	${INSTALL_DATA} ${ABOOK}/examples/default/AddressBook.conf \
	    ${CONFIG}-dist
	[ -f ${CONFIG} ] || \
	    ${INSTALL} -o root -g www -m 640 ${CONFIG}-dist ${CONFIG}

post-install:
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.6
log
@Schedule these forbidden ports for termination on 2006-12-01
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.5
log
@- Grab this since I use it
- Pet portlint
@
text
@d20 2
@


1.4
log
@- Patch cgi-script to use absolute URL without host:port in forms.
  This fixes problems where the hostname instead of the original host-part
  from the query will be used as target in forms (eg. in a FastCGI'd version).
    If you are for example accessing the webserver through localhost over an
  ssh-forwarded connection, the URLs would be rewritten to use the real hostname,
  thus becoming unusable. Bump PORTREVISION.
- Do not require perl at build-time
- Pet portlint
@
text
@d16 1
a16 1
MAINTAINER=	ports@@FreeBSD.org
d19 1
a19 1
FORBIDDEN=	"Arbitrary command execution vulnerability in CGI script"
a26 1
USE_REINPLACE=	yes
@


1.3
log
@- Add missing dependency on Net::LDAP
- Point to helpful tutorial in pkg-message
@
text
@d10 1
d19 1
a19 1
FORBIDDEN=	Arbitrary command execution vulnerability in CGI script
d27 2
a28 1
USE_PERL5=	yes
d32 1
a32 1
	@@${PERL} -pi -e 's|(/etc/AddressBook.conf)|${PREFIX}$$1|g' \
d43 1
a43 1
	    install  -o root -g www -m 640 ${CONFIG}-dist ${CONFIG}
@


1.2
log
@Mark FORBIDDEN due to arbitrary command execution vulnerability in CGI
script.

Reported by:	Roman Mashirov <mrj@@mrj.spb.ru>
@
text
@d21 2
a22 1
		${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm
@


1.1
log
@Add ldap-abook - a web interface for adding, removing and modifying
LDAP addressbook records
@
text
@d18 2
@

