head	1.15;
access;
symbols
	RELEASE_6_0_0:1.14
	RELEASE_5_4_0:1.14
	RELEASE_4_11_0:1.14
	RELEASE_5_3_0:1.14
	RELEASE_4_10_0:1.14
	RELEASE_5_2_1:1.11
	RELEASE_5_2_0:1.11
	RELEASE_4_9_0:1.9;
locks; strict;
comment	@# @;


1.15
date	2005.09.14.23.14.38;	author pav;	state dead;
branches;
next	1.14;

1.14
date	2004.03.31.17.42.24;	author mlaier;	state Exp;
branches;
next	1.13;

1.13
date	2004.03.14.11.46.59;	author obraun;	state Exp;
branches;
next	1.12;

1.12
date	2004.03.08.23.59.42;	author obraun;	state Exp;
branches;
next	1.11;

1.11
date	2003.11.09.16.01.51;	author jeh;	state Exp;
branches;
next	1.10;

1.10
date	2003.09.28.13.30.44;	author edwin;	state Exp;
branches;
next	1.9;

1.9
date	2003.07.28.16.26.29;	author foxfair;	state Exp;
branches;
next	1.8;

1.8
date	2003.07.04.01.34.50;	author foxfair;	state Exp;
branches;
next	1.7;

1.7
date	2003.07.03.00.45.21;	author foxfair;	state Exp;
branches;
next	1.6;

1.6
date	2003.06.26.17.58.38;	author foxfair;	state Exp;
branches;
next	1.5;

1.5
date	2003.06.26.16.28.15;	author foxfair;	state Exp;
branches;
next	1.4;

1.4
date	2003.06.25.02.32.13;	author foxfair;	state Exp;
branches;
next	1.3;

1.3
date	2003.06.21.05.41.43;	author foxfair;	state Exp;
branches;
next	1.2;

1.2
date	2003.06.18.04.52.30;	author foxfair;	state Exp;
branches;
next	1.1;

1.1
date	2003.06.13.01.19.12;	author foxfair;	state Exp;
branches;
next	;


desc
@@


1.15
log
@- Remove security/pf and security/authpf ports. They were only useful on
  FreeBSD 5.0 - 5.2.1.

Requested by:	mlaier (maintainer) via linimon
@
text
@# New ports collection makefile for:	authpf
# Date created:		09 May 2003
# Whom:			Max Laier <max@@love2party.net>
#
# $FreeBSD: ports/security/authpf/Makefile,v 1.14 2004/03/31 17:42:24 mlaier Exp $
#

PORTNAME=	authpf
PORTVERSION=	2.00
PORTREVISION=	1
CATEGORIES=	security ipv6
MASTER_SITES=	http://pf4freebsd.love2party.net/
.if defined(WITH_ALTQ) && (${WITH_ALTQ} == "yes")
PKGNAMESUFFIX=	-altq
.endif
DISTNAME=	pf_freebsd_${PORTVERSION}

MAINTAINER=	mlaier@@freebsd.org
COMMENT=	Authentification shell for pf gateways

RUN_DEPENDS=	${LOCALBASE}/modules/pf.ko:${PORTSDIR}/security/pf
.if defined(WITH_ALTQ) && (${WITH_ALTQ} == "yes")
RUN_DEPENDS+=	${LOCALBASE}/modules/pfaltq.ko:${PORTSDIR}/security/pf
.endif

WRKSRC=		${WRKDIR}/pf_freebsd_${PORTVERSION}

.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
IS_INTERACTIVE= yes
.endif

MAN8=		authpf.8

MANCOMPRESSED=	maybe

MAKE_ARGS=	MANDIR="${PREFIX}/man/man" ONLY_AUTHPF=yes

SRC_BASE?=	/usr/src
.if defined(WITH_ALTQ) && (${WITH_ALTQ} == "yes")
SYS_ALTQ?=	${SRC_BASE}/sys.altq
MAKE_ARGS+=	WITH_ALTQ="yes" SYS_ALTQ="${SYS_ALTQ}"
PLIST_SUB+=	WITH_ALTQ=""
.else
PLIST_SUB+=	WITH_ALTQ="@@comment "
.endif

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
IGNORE=		"Only for 5.0 and above"
.endif

.if ${OSVERSION} > 502104
IGNORE=		"authpf is part of the base system now"
.endif

.if !exists(${SRC_BASE}/sys/Makefile) && \
    (defined(WITH_ALTQ) && !exists(${SYS_ALTQ}/Makefile))
IGNORE=		"Kernel source files required"
.endif

.if !defined(WITH_ALTQ) || (${WITH_ALTQ} != "yes")
pre-fetch:
	@@${ECHO_CMD} "======================================================="
	@@${ECHO_CMD} "* If you have ALTQ support from:                      *"
	@@${ECHO_CMD} "*   http://www.nipsi.de/altq/index.html               *"
	@@${ECHO_CMD} "* You can may define WITH_ALTQ=yes to make use of it  *"
	@@${ECHO_CMD} "* Please define SYS_ALTQ to point to the patched src  *"
	@@${ECHO_CMD} "*                                                     *"
	@@${ECHO_CMD} "* e.g.: make WITH_ALTQ=yes SYS_ALTQ=/usr/src/sys.altq *"
	@@${ECHO_CMD} "*                                                     *"
	@@${ECHO_CMD} "======================================================="
	@@sleep 2
.endif

post-patch:
	${SED} -e 's!%%PREFIX%%!${PREFIX}!' ${PATCHDIR}/pathnames.h.sed > \
	${WRKSRC}/authpf/pathnames.h

pre-su-install:
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
	@@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
.endif

post-install:
	${MKDIR} ${PREFIX}/etc/authpf
	${MKDIR} ${PREFIX}/etc/authpf/users
	${MKDIR} ${PREFIX}/etc/authpf/banned
	${SED} -e 's!%%PREFIX%%!${PREFIX}!' ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.14
log
@Fix a long standing typeo in Makfile .if and bump PORTREVISION.

PR:		64982
Submitted by:	Rik
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.13
log
@Change maintainer address to maintainers @@freebsd.org address.

Submitted by:	maintainer
@
text
@d10 1
d22 1
a22 1
.if defined(WITH_ALTQ) && (${WITH_ATLQ} == "yes")
@


1.12
log
@authpf is part of the base system, since OSVERSION > 502104.

PR:		ports/63950
Submitted by:	maintainer
@
text
@d17 1
a17 1
MAINTAINER=	max@@love2party.net
@


1.11
log
@Bump version to 2.00
@
text
@d52 4
@


1.10
log
@Update port: security/authpf - OpenBSD 3.4 authpf

	Port update after API change of PFIL_HOOKS in -current.
	This depends on security/pf to be updated as well.

PR:		ports/57306
Submitted by:	Max Laier <max@@love2party.net>
@
text
@d9 1
a9 1
PORTVERSION=	1.65
@


1.9
log
@Submitted by:	"Pyun YongHyeon" <yongari@@kt-is.co.kr>
Reviewed by:	maintainer
Fix a build problem in bento.
@
text
@d9 1
a9 2
PORTVERSION=	1.0
PORTREVISION=	6
d15 1
a15 2
DISTNAME=	${PORTNAME}_${PORTVERSION}
DISTFILES=	pf_freebsd_${PORTVERSION}${EXTRACT_SUFX}
d20 5
a26 2
RUN_DEPENDS=	${LOCALBASE}/modules/pf.ko:${PORTSDIR}/security/pf

d61 1
a61 1
	@@${ECHO_CMD} "*   http://www.rofug.ro/projects/freebsd-altq/        *"
d65 1
a65 1
	@@${ECHO_CMD} "* e.g.: make WITH_ALTQ=yes SYS_ALTQ=${SRC_BASE}/sys.altq *"
d75 1
a75 1
pre-install:
@


1.8
log
@PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
Revert the change of pkg-install r1.3, it shouldn't be there.

Pointy hat to:		me
Requested by:		maintainer
@
text
@d10 1
a10 1
PORTREVISION=	5
@


1.7
log
@PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
Fix 'make index' warning.

Pointed out by: parv_fm@@emailgroups.net
@
text
@d10 1
a10 1
PORTREVISION=	4
@


1.6
log
@Add 'proxy' to the group 'authpf' after create it.
@
text
@d52 1
a52 1
    (defined(WITH_ALTQ) && !exists(${SYS_ALTQ}/Makefile)
@


1.5
log
@Approved by:	maintainer
Fix bento build error by registering 'authpf' gid to 63.
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.4
log
@PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
Fix build in 64-bit platform and bump PORTREVISION.

Submitted by:	maintainer
Obtained from:	bento
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.3
log
@PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
Mark ONLY_FOR_ARCHS=i386 to avoid bento's error.

Reported by:	kris
@
text
@d10 1
a10 1
PORTREVISION=	1
a22 1
ONLY_FOR_ARCHS=	i386
@


1.2
log
@Submitted by:	maintainer
Change BROKEN to IGNORE in Makefile, suggested by: kris@@
&& bump PORTREVISION.
@
text
@d23 1
@


1.1
log
@Add authpf 1.0, authentification shell for pf gateways. This port depends
on security/pf first.

PR:		52123
Submitted by:	Max Laier <max@@love2party.net>
@
text
@d10 1
d48 1
a48 1
BROKEN=	"Only for 5.0 and above"
d53 1
a53 1
BROKEN=	"Kernel source files required"
@

