2013-07-10 16:23:40 +00:00
|
|
|
# Created by: TAKANO Yuji <takano@net-chef.net>
|
2004-04-14 17:23:23 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= irrd
|
2010-11-19 13:01:52 +00:00
|
|
|
PORTVERSION= 2.3.10
|
2012-03-15 11:45:48 +00:00
|
|
|
PORTREVISION= 1
|
2004-04-14 17:23:23 +00:00
|
|
|
CATEGORIES= net ipv6
|
|
|
|
MASTER_SITES= http://www.irrd.net/
|
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2008-02-15 14:17:22 +00:00
|
|
|
MAINTAINER= sem@FreeBSD.org
|
2004-04-14 17:23:23 +00:00
|
|
|
COMMENT= Internet Routing Registry database server
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/src
|
|
|
|
|
2004-06-13 10:21:31 +00:00
|
|
|
RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
|
|
|
|
|
2004-04-14 17:23:23 +00:00
|
|
|
MAN8= irrd.8
|
|
|
|
|
|
|
|
IRRD_CONFDIR= ${PREFIX}/etc
|
|
|
|
|
2012-08-05 23:19:36 +00:00
|
|
|
USE_RC_SUBR= irrd
|
2004-04-14 17:23:23 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= YACC="${YACC}"
|
2013-07-10 23:59:46 +00:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2008-02-15 14:17:22 +00:00
|
|
|
#CONFIGURE_ARGS+= --disable-thread
|
2004-04-14 17:23:23 +00:00
|
|
|
|
|
|
|
.if defined(WITHOUT_IPV6)
|
|
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
|
|
.endif
|
|
|
|
|
2013-09-20 22:10:23 +00:00
|
|
|
NO_STAGE= yes
|
2004-04-14 17:23:23 +00:00
|
|
|
post-patch:
|
2008-02-15 14:17:22 +00:00
|
|
|
${REINPLACE_CMD} -e 's|/etc/irrd.conf|${IRRD_CONFDIR}/irrd.conf|g' \
|
|
|
|
${WRKSRC}/programs/IRRd/irrd.8 \
|
|
|
|
${WRKSRC}/programs/IRRd/main.c \
|
|
|
|
${WRKSRC}/programs/irr_rpsl_submit/main.c \
|
|
|
|
${WRKSRC}/programs/irr_notify/main.c \
|
|
|
|
${WRKSRC}/programs/irr_rpsl_check/main.c \
|
|
|
|
${WRKSRC}/programs/rps_dist/rpsdist.c \
|
|
|
|
${WRKSRC}/programs/irrdcacher/irrdcacher \
|
|
|
|
${WRKSRC}/programs/hdr_comm/read_conf.c
|
2004-06-13 10:21:31 +00:00
|
|
|
|
2004-04-14 17:23:23 +00:00
|
|
|
post-install:
|
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/programs/irrdcacher/irrdcacher ${PREFIX}/sbin
|
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/programs/irrdcacher/ripe2rpsl ${PREFIX}/sbin
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/../samples/irrd.conf.sample ${IRRD_CONFDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/programs/IRRd/irrd.8 ${PREFIX}/man/man8
|
2007-10-01 08:11:15 +00:00
|
|
|
|
2008-02-15 14:17:22 +00:00
|
|
|
.include <bsd.port.mk>
|