2013-01-27 06:55:20 +01:00
|
|
|
# Created by: trevor
|
2000-04-02 06:20:46 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2000-04-09 20:34:06 +02:00
|
|
|
PORTNAME= oidentd
|
2006-05-23 06:25:03 +02:00
|
|
|
PORTVERSION= 2.0.8
|
2011-06-09 13:47:43 +02:00
|
|
|
PORTREVISION= 2
|
2000-05-21 14:32:03 +02:00
|
|
|
CATEGORIES= security
|
2009-08-22 02:35:32 +02:00
|
|
|
MASTER_SITES= SF/ojnk/${PORTNAME}/${PORTVERSION}
|
2000-04-02 06:20:46 +02:00
|
|
|
|
2003-07-14 18:15:05 +02:00
|
|
|
MAINTAINER= oliver@FreeBSD.org
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= Ident server that supports user-defined ident strings
|
2000-04-02 06:20:46 +02:00
|
|
|
|
2014-04-10 04:29:52 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2008-03-25 17:43:13 +01:00
|
|
|
USE_RC_SUBR= oidentd
|
2000-04-02 06:20:46 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2004-01-31 14:32:34 +01:00
|
|
|
|
2008-03-25 17:43:13 +01:00
|
|
|
PLIST_FILES= sbin/oidentd etc/oidentd.conf.sample \
|
2004-03-25 19:53:48 +01:00
|
|
|
etc/oidentd_masq.conf.sample
|
2014-04-10 04:29:52 +02:00
|
|
|
MANPAGES= oidentd.conf.5 oidentd_masq.conf.5 oidentd.8
|
|
|
|
.for man in ${MANPAGES}
|
|
|
|
PLIST_FILES+= man/man${man:E}/${man}.gz
|
|
|
|
.endfor
|
2012-12-21 07:39:49 +01:00
|
|
|
USE_CSTD= gnu89
|
2000-04-02 06:20:46 +02:00
|
|
|
|
2015-04-03 13:26:48 +02:00
|
|
|
OPTIONS_DEFINE= IPV6
|
|
|
|
|
|
|
|
CONFIGURE_ARGS=--disable-masq
|
2008-03-25 17:43:13 +01:00
|
|
|
|
2014-04-10 04:29:52 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2008-03-25 17:43:13 +01:00
|
|
|
|
2013-04-28 23:02:39 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MIPV6}
|
2008-03-25 17:43:13 +01:00
|
|
|
CONFIGURE_ARGS+=--disable-ipv6
|
|
|
|
.else
|
2012-12-21 07:39:49 +01:00
|
|
|
CATEGORIES+= ipv6
|
2008-03-25 17:43:13 +01:00
|
|
|
.endif
|
|
|
|
|
2004-02-07 08:48:29 +01:00
|
|
|
post-patch:
|
2004-02-07 13:03:35 +01:00
|
|
|
@${REINPLACE_CMD} -e 's,/etc/,${PREFIX}&,g' ${WRKSRC}/src/oidentd.h
|
2013-12-30 11:08:06 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|\[5-9\]||g;s|\[4-9\]||g' ${WRKSRC}/configure
|
2004-01-31 14:32:34 +01:00
|
|
|
|
|
|
|
do-install:
|
2014-04-10 04:29:52 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/oidentd ${STAGEDIR}${PREFIX}/sbin
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/oidentd.conf.sample ${STAGEDIR}${PREFIX}/etc
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/oidentd_masq.conf.sample ${STAGEDIR}${PREFIX}/etc
|
|
|
|
.for MANFILE in ${MANPAGES}
|
2004-10-15 19:44:18 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/doc/${MANFILE}
|
2014-04-10 04:29:52 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${MANFILE} ${STAGEDIR}${PREFIX}/man/man${MANFILE:E}
|
2004-10-15 19:44:18 +02:00
|
|
|
.endfor
|
2004-01-31 14:32:34 +01:00
|
|
|
|
2014-04-10 04:29:52 +02:00
|
|
|
.include <bsd.port.mk>
|