2013-09-21 00:55:24 +02:00
|
|
|
# Created by: torstenb
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1994-10-23 02:27:56 +01:00
|
|
|
|
2000-04-09 20:34:06 +02:00
|
|
|
PORTNAME= pidentd
|
2005-10-23 15:46:28 +02:00
|
|
|
PORTVERSION= 3.0.19
|
2015-03-09 20:45:00 +01:00
|
|
|
PORTREVISION= 4
|
2000-06-02 05:18:54 +02:00
|
|
|
CATEGORIES= security ipv6
|
2012-06-15 13:07:30 +02:00
|
|
|
MASTER_SITES= ftp://ftp.lysator.liu.se/pub/unix/ident/servers/ \
|
2005-10-23 15:46:28 +02:00
|
|
|
ftp://ftp.stack.nl/pub/users/johans/pidentd/
|
2005-09-28 07:08:39 +02:00
|
|
|
|
2005-10-23 15:46:28 +02:00
|
|
|
PATCH_SITES= ftp://ftp.stack.nl/pub/users/johans/pidentd/ \
|
|
|
|
ftp://mud.stack.nl/pub/pidentd/
|
2008-08-02 14:31:23 +02:00
|
|
|
PATCHFILES= pidentd-${PORTVERSION}-ipv6-20080101.diff.gz
|
2004-03-06 10:33:13 +01:00
|
|
|
PATCH_DIST_STRIP= -p0
|
2000-02-14 16:12:37 +01:00
|
|
|
|
2010-02-23 19:07:14 +01:00
|
|
|
MAINTAINER= johans@FreeBSD.org
|
2014-02-05 18:00:19 +01:00
|
|
|
COMMENT= RFC1413 identification server
|
1995-05-06 02:49:36 +02:00
|
|
|
|
2012-06-15 13:07:30 +02:00
|
|
|
CONFLICTS_INSTALL= fakeident-[0-9]*
|
|
|
|
|
2004-03-06 10:33:13 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2012-06-15 13:07:30 +02:00
|
|
|
USE_OPENSSL= yes
|
2005-10-23 15:46:28 +02:00
|
|
|
|
2014-02-05 18:00:19 +01:00
|
|
|
PLIST_FILES= sbin/ibench sbin/identd sbin/idecrypt sbin/ikeygen \
|
|
|
|
man/man8/identd.8.gz man/man8/idecrypt.8.gz
|
1996-08-16 20:31:04 +02:00
|
|
|
|
2004-03-06 10:33:13 +01:00
|
|
|
CFLAGS+= -DINCLUDE_CRYPT -DOPENSSL_DES_LIBDES_COMPATIBILITY
|
|
|
|
LDFLAGS+= -L${OPENSSLLIB} -lcrypto
|
2003-08-29 17:41:50 +02:00
|
|
|
|
2004-03-06 10:33:13 +01:00
|
|
|
post-extract:
|
|
|
|
${CP} ${FILESDIR}/idecrypt.8 ${WRKSRC}/doc/idecrypt.8
|
2000-02-14 16:12:37 +01:00
|
|
|
|
2004-03-06 10:33:13 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} \
|
2014-02-05 18:00:19 +01:00
|
|
|
-e 's| /etc/identd.conf| ${PREFIX}/etc/identd.conf|' \
|
|
|
|
-e 's| /etc/identd.key| ${PREFIX}/etc/identd.key|' \
|
2004-03-06 10:33:13 +01:00
|
|
|
${WRKSRC}/doc/identd.8 ${WRKSRC}/doc/idecrypt.8
|
2014-02-05 18:00:19 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|freebsd.4.7.|freebsd|' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e 's|$$(sbindir)|$${DESTDIR}&|' \
|
|
|
|
-e 's|-m 755|-s &|' ${WRKSRC}/src/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e 's|$$(mandir)|$${DESTDIR}&|' ${WRKSRC}/Makefile.in
|
1996-11-05 19:23:42 +01:00
|
|
|
|
2004-03-06 10:33:13 +01:00
|
|
|
post-install:
|
2014-02-05 18:00:19 +01:00
|
|
|
${INSTALL_MAN} -m 644 ${WRKSRC}/doc/idecrypt.8 \
|
|
|
|
${STAGEDIR}${MANPREFIX}/man/man8
|
1996-11-05 19:23:42 +01:00
|
|
|
|
2005-09-28 07:08:39 +02:00
|
|
|
.include <bsd.port.mk>
|