head	1.13;
access;
symbols
	RELEASE_8_3_0:1.11
	RELEASE_9_0_0:1.10
	RELEASE_7_4_0:1.10
	RELEASE_8_2_0:1.10
	RELEASE_6_EOL:1.10
	RELEASE_8_1_0:1.10
	RELEASE_7_3_0:1.10
	RELEASE_8_0_0:1.10
	RELEASE_7_2_0:1.9
	RELEASE_7_1_0:1.9
	RELEASE_6_4_0:1.9
	RELEASE_5_EOL:1.8
	RELEASE_7_0_0:1.8
	RELEASE_6_3_0:1.8
	PRE_XORG_7:1.7
	RELEASE_4_EOL:1.7
	RELEASE_6_2_0:1.7
	RELEASE_6_1_0:1.6
	RELEASE_5_5_0:1.6
	RELEASE_6_0_0:1.4
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1;
locks; strict;
comment	@# @;


1.13
date	2012.11.17.06.01.03;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2012.08.05.23.19.36;	author dougb;	state Exp;
branches;
next	1.11;

1.11
date	2012.01.21.17.37.07;	author eadler;	state Exp;
branches;
next	1.10;

1.10
date	2009.08.22.00.34.51;	author amdmi3;	state Exp;
branches;
next	1.9;

1.9
date	2008.08.21.06.18.15;	author rafan;	state Exp;
branches;
next	1.8;

1.8
date	2007.10.04.06.00.20;	author edwin;	state Exp;
branches;
next	1.7;

1.7
date	2006.05.13.04.15.01;	author edwin;	state Exp;
branches;
next	1.6;

1.6
date	2005.11.22.12.24.34;	author mnag;	state Exp;
branches;
next	1.5;

1.5
date	2005.10.31.14.53.37;	author garga;	state Exp;
branches;
next	1.4;

1.4
date	2005.05.30.16.31.51;	author pav;	state Exp;
branches;
next	1.3;

1.3
date	2005.05.23.07.08.50;	author pav;	state Exp;
branches;
next	1.2;

1.2
date	2005.05.22.21.07.44;	author pav;	state Exp;
branches;
next	1.1;

1.1
date	2004.08.12.17.27.31;	author sem;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Switch exporter over
@
text
@# New ports collection makefile for:	doorman
# Date created:				08 August 2004
# Whom:					Aaron Dalton <aaron@@daltons.ca>
#
# $FreeBSD: head/security/doorman/Makefile 302141 2012-08-05 23:19:36Z dougb $
#

PORTNAME=	doorman
PORTVERSION=	0.81
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	lupe@@lupe-christoph.de
COMMENT=	A Port Knocking implementation, both daemon and client

BUILD_DEPENDS=	lsof:${PORTSDIR}/sysutils/lsof
RUN_DEPENDS:=	${BUILD_DEPENDS}

PKGMESSAGE=	${WRKDIR}/pkg-message
PATCH_STRIP=	-p1

INSTALL_TARGET=	installdirs install-exec install-data

MAN1=	knock.1
MAN5=	knockcf.5 doormand.cf.5 guestlist.5
MAN8=	doormand.8

GNU_CONFIGURE=	yes
SUB_FILES=	pkg-message doormand.cf.EXAMPLE
USE_RC_SUBR=	doorman

pre-patch:
	@@${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \
		${WRKSRC}/doormand.c

post-install:
	${RM} -f ${PREFIX}/etc/doormand/ipf_add
	${INSTALL_SCRIPT} ${FILESDIR}/ipf_add.atend ${PREFIX}/etc/doormand/ipf_add.atend
	${INSTALL_SCRIPT} ${FILESDIR}/ipf_add.before_block ${PREFIX}/etc/doormand/ipf_add.before_block
	${INSTALL_SCRIPT} ${FILESDIR}/ipf_delete ${PREFIX}/etc/doormand/ipf_delete
	${INSTALL_DATA} ${WRKDIR}/doormand.cf.EXAMPLE ${PREFIX}/etc/doormand/doormand.cf.EXAMPLE
	@@for man in ${MAN1}; do \
		${INSTALL_MAN} -C ${WRKSRC}/$$man ${PREFIX}/man/man1; \
	done
	@@for man in ${MAN5}; do \
		${INSTALL_MAN} -C ${WRKSRC}/$$man ${PREFIX}/man/man5; \
	done
	@@for man in ${MAN8}; do \
		${INSTALL_MAN} -C ${WRKSRC}/$$man ${PREFIX}/man/man8; \
	done
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.12
log
@SVN rev 302141 on 2012-08-05 23:19:36Z by dougb

Move the rc.d scripts of the form *.sh.in to *.in

Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.11
log
@At the moment 1385 ports use BUILD_DEPENDS= ${RUN_DEPENDS} and 450
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are
currently broken. This is a temporary measure until we organically stop using
:= or someone(s) spend a lot of time changing all the ports over.

Explicit duplication > := > = and this just moves ports one step to the left

Approved by:	portmgr
@
text
@d32 1
a32 1
USE_RC_SUBR=	doorman.sh
@


1.10
log
@- Switch SourceForge ports to the new File Release System: categories starting with P,R,S
@
text
@d19 1
a19 1
RUN_DEPENDS=	${BUILD_DEPENDS}
@


1.9
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@d12 1
a12 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	doorman
@


1.8
log
@Remove always-false/true conditions based on OSVERSION 500000
@
text
@a30 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.7
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@a21 8
.include <bsd.port.pre.mk>

# doormand does not work with the FreeBSD 4.x version of libpcap.
# Require the ports version.
.if ${OSVERSION} < 500000
BUILD_DEPENDS+=	${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
.endif

a39 6
post-configure:
.if ${OSVERSION} < 500000
	@@${REINPLACE_CMD} -e 's,-lpcap,${LOCALBASE}/lib/libpcap.a,' \
		${WRKSRC}/Makefile
.endif

d57 1
a57 1
.include <bsd.port.post.mk>
@


1.6
log
@Fix build in 4.x

PR:		89405
Submitted by:	maintainer
@
text
@a42 1
USE_REINPLACE=	yes
@


1.5
log
@- Update to 0.81

PR:		ports/88240
Submitted by:	maintainer
@
text
@d10 1
d51 1
a51 1
	@@${REINPLACE_CMD} -e 's,-lpcap,-L${LOCALBASE}/lib/libpcap.a,' \
@


1.4
log
@- Fix doormand to work on FreeBSD
- Replace broken ipf* script
- RCng script

PR:		ports/81615
Submitted by:	Lupe Christoph <lupe@@lupe-christoph.de> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	0.8
PORTREVISION=	1
a20 6
PKGMESSAGE=	${WRKDIR}/pkg-message
PATCH_STRIP=	-p1

# Default to db4
WITH_BDB_VER?=	4

a22 14
.if ${WITH_BDB_VER} == 2
LIB_DEPENDS=	db2.0:${PORTSDIR}/databases/db2
.elif ${WITH_BDB_VER} == 3
LIB_DEPENDS=	db3.3:${PORTSDIR}/databases/db3
.elif ${WITH_BDB_VER} == 4
LIB_DEPENDS=	db4.0:${PORTSDIR}/databases/db4
.elif ${WITH_BDB_VER} == 41
LIB_DEPENDS=	db41.1:${PORTSDIR}/databases/db41
.elif ${WITH_BDB_VER} == 42
LIB_DEPENDS=	db-4.2.2:${PORTSDIR}/databases/db42
.else
.error WITH_BDB_VER must be one between 2, 3, 4, 41 and 42
.endif

d29 3
d38 1
d40 1
a40 1
SUB_FILES=	pkg-message
d42 1
d44 9
a52 9
pre-everything::
	@@${ECHO_MSG}
	@@${ECHO_MSG} " This port currently requires BerkeleyDB, has only been tested with the "
	@@${ECHO_MSG} " db4.x releases, and builds with db4 by default.  If you wish to use a "
	@@${ECHO_MSG} " specific version please use the WITH_BDB_VER=x argument using the "
	@@${ECHO_MSG} " values 2, 3, 4, 41, or 42. "
	@@${ECHO_MSG}
	@@${ECHO_MSG} " CURRENTLY BUILDING WITH db${WITH_BDB_VER} "
	@@${ECHO_MSG}
d59 1
@


1.3
log
@- Mark IGNORE for now, it does not run properly

PR:		ports/81367
Submitted by:	Aaron Dalton <aaron@@daltons.ca>
OK'ed by:	maintainer
@
text
@d10 1
a21 2
IGNORE=		does not work correctly, issues with the pcap library. Patches are under development

d23 1
d28 2
d44 8
d57 2
a69 3
pre-install:
	@@${SED} 's#%%PREFIX%%#${PREFIX}#' ${MASTERDIR}/pkg-message >${PKGMESSAGE}

d71 13
d86 1
a86 1
.include <bsd.port.mk>
@


1.2
log
@- New maintainer

PR:		ports/78777, ports/81367 for details
@
text
@d21 2
@


1.1
log
@Doorman is a port knocking implementation which allows a server to run
silently, invisibly, with all TCP ports closed except to those who know...
the secret knock!

PR:		ports/70186
Submitted by:	Aaron Dalton <aaron@@daltons.ca>
@
text
@d15 1
a15 1
MAINTAINER=	aaron@@daltons.ca
@

