diff options
author | nork <nork@FreeBSD.org> | 2004-04-15 01:23:23 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2004-04-15 01:23:23 +0800 |
commit | 404a60b4f60941d07a8710d8a772f393f521f0c6 (patch) | |
tree | 196e636b7221fdd071a1120904c20a4602fede08 /net/irrd | |
parent | 2d866843cde571b2208b02504c3ac5dddb18fd68 (diff) | |
download | freebsd-ports-gnome-404a60b4f60941d07a8710d8a772f393f521f0c6.tar.gz freebsd-ports-gnome-404a60b4f60941d07a8710d8a772f393f521f0c6.tar.zst freebsd-ports-gnome-404a60b4f60941d07a8710d8a772f393f521f0c6.zip |
Add Internet Routing Registry database server(2.1.5).
Submitted by: TAKANO Yuji <takano@usen.ad.jp>
Diffstat (limited to 'net/irrd')
-rw-r--r-- | net/irrd/Makefile | 53 | ||||
-rw-r--r-- | net/irrd/distinfo | 2 | ||||
-rw-r--r-- | net/irrd/files/patch-configure | 24 | ||||
-rw-r--r-- | net/irrd/pkg-descr | 3 | ||||
-rw-r--r-- | net/irrd/pkg-plist | 8 |
5 files changed, 90 insertions, 0 deletions
diff --git a/net/irrd/Makefile b/net/irrd/Makefile new file mode 100644 index 000000000000..fed56f13ae5c --- /dev/null +++ b/net/irrd/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: irrd +# Date created: Fri Apr 9 14:12:06 JST 2004 +# Whom: TAKANO Yuji <takano@usen.ad.jp> +# +# $FreeBSD$ +# + +PORTNAME= irrd +PORTVERSION= 2.1.5 +CATEGORIES= net ipv6 +MASTER_SITES= http://www.irrd.net/ +DISTNAME= ${PORTNAME}${PORTVERSION} +EXTRACT_SUFX= .tgz + +MAINTAINER= takano@usen.ad.jp +COMMENT= Internet Routing Registry database server + +WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/src + +MAN8= irrd.8 + +IRRD_CONFDIR= ${PREFIX}/etc + +USE_REINPLACE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= YACC="${YACC}" +CONFIGURE_ARGS+= --disable-thread + +.if defined(WITHOUT_IPV6) +CONFIGURE_ARGS+= --disable-ipv6 +.else +CONFIGURE_ARGS+= --enable-ipv6 +.endif + +post-patch: + ${REINPLACE_CMD} -e 's|/etc/irrd.conf|${PREFIX}/etc/irrd.conf|g' \ + ${WRKSRC}/programs/IRRd/irrd.8 \ + ${WRKSRC}/programs/IRRd/main.c \ + ${WRKSRC}/programs/hdr_comm/read_conf.c \ + ${WRKSRC}/programs/irr_notify/main.c \ + ${WRKSRC}/programs/irr_rpsl_check/main.c \ + ${WRKSRC}/programs/irr_submit/main.c \ + ${WRKSRC}/programs/irrdcacher/irrdcacher \ + ${WRKSRC}/programs/rps_dist/rpsdist.c + +post-install: + @${INSTALL_SCRIPT} ${WRKSRC}/programs/irrdcacher/irrdcacher ${PREFIX}/sbin + @${INSTALL_SCRIPT} ${WRKSRC}/programs/irrdcacher/ripe2rpsl ${PREFIX}/sbin + @${INSTALL_SCRIPT} ${WRKSRC}/programs/irrdcacher/update_source ${PREFIX}/sbin + @${INSTALL_DATA} ${WRKSRC}/../samples/irrd.conf.sample ${IRRD_CONFDIR} + @${INSTALL_DATA} ${WRKSRC}/programs/IRRd/irrd.8 ${PREFIX}/man/man8 + +.include <bsd.port.mk> diff --git a/net/irrd/distinfo b/net/irrd/distinfo new file mode 100644 index 000000000000..c4fff6dedc1c --- /dev/null +++ b/net/irrd/distinfo @@ -0,0 +1,2 @@ +MD5 (irrd2.1.5.tgz) = 49a6e471b1e9b65ae8ebcdbb9ee4341b +SIZE (irrd2.1.5.tgz) = 761652 diff --git a/net/irrd/files/patch-configure b/net/irrd/files/patch-configure new file mode 100644 index 000000000000..80447baddb67 --- /dev/null +++ b/net/irrd/files/patch-configure @@ -0,0 +1,24 @@ +--- configure.orig Fri Oct 18 04:32:52 2002 ++++ configure Fri Mar 26 19:57:10 2004 +@@ -1033,14 +1033,16 @@ + # Check whether --enable-thread or --disable-thread was given. + if test "${enable_thread+set}" = set; then + enableval="$enable_thread" +- disable_thread=yes ++ if test "x${enable_thread}" != "xyes"; then ++ disable_thread=yes ++ fi + fi; + + # Check whether --enable-thread or --disable-thread was given. +-if test "${enable_thread+set}" = set; then +- enableval="$enable_thread" +- disable_thread=no +-fi; ++#if test "${enable_thread+set}" = set; then ++# enableval="$enable_thread" ++# disable_thread=no ++#fi; + + # Check whether --enable-wall or --disable-wall was given. + if test "${enable_wall+set}" = set; then diff --git a/net/irrd/pkg-descr b/net/irrd/pkg-descr new file mode 100644 index 000000000000..fbadf223c414 --- /dev/null +++ b/net/irrd/pkg-descr @@ -0,0 +1,3 @@ +Internet Routing Registry Daemon (IRRd). + +WWW: http://www.irrd.net/ diff --git a/net/irrd/pkg-plist b/net/irrd/pkg-plist new file mode 100644 index 000000000000..4071288da40d --- /dev/null +++ b/net/irrd/pkg-plist @@ -0,0 +1,8 @@ +sbin/irrd +sbin/irr_rpsl_submit +sbin/irr_check +sbin/irr_notify +sbin/irrdcacher +sbin/ripe2rpsl +sbin/update_source +etc/irrd.conf.sample |