- Update to 2.3.4
- Take maintainership because of maintainer email is bounced: takano@net-chef.net Recipient address rejected: User unknown in local recipient table
This commit is contained in:
parent
556b2bc51d
commit
48cb94d7a3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207248
@ -6,13 +6,13 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= irrd
|
PORTNAME= irrd
|
||||||
PORTVERSION= 2.1.5
|
PORTVERSION= 2.3.4
|
||||||
CATEGORIES= net ipv6
|
CATEGORIES= net ipv6
|
||||||
MASTER_SITES= http://www.irrd.net/
|
MASTER_SITES= http://www.irrd.net/
|
||||||
DISTNAME= ${PORTNAME}${PORTVERSION}
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
||||||
EXTRACT_SUFX= .tgz
|
EXTRACT_SUFX= .tgz
|
||||||
|
|
||||||
MAINTAINER= takano@net-chef.net
|
MAINTAINER= sem@FreeBSD.org
|
||||||
COMMENT= Internet Routing Registry database server
|
COMMENT= Internet Routing Registry database server
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/src
|
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/src
|
||||||
@ -24,10 +24,10 @@ MAN8= irrd.8
|
|||||||
IRRD_CONFDIR= ${PREFIX}/etc
|
IRRD_CONFDIR= ${PREFIX}/etc
|
||||||
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
|
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
|
||||||
|
|
||||||
USE_RC_SUBR= yes
|
USE_RC_SUBR= irrd.sh
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ENV= YACC="${YACC}"
|
CONFIGURE_ENV= YACC="${YACC}"
|
||||||
CONFIGURE_ARGS+= --disable-thread
|
#CONFIGURE_ARGS+= --disable-thread
|
||||||
|
|
||||||
.if defined(WITHOUT_IPV6)
|
.if defined(WITHOUT_IPV6)
|
||||||
CONFIGURE_ARGS+= --disable-ipv6
|
CONFIGURE_ARGS+= --disable-ipv6
|
||||||
@ -36,32 +36,20 @@ CONFIGURE_ARGS+= --enable-ipv6
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
${REINPLACE_CMD} -e 's|/etc/irrd.conf|${IRRD_CONFDIR}/irrd.conf|g' \
|
${REINPLACE_CMD} -e 's|/etc/irrd.conf|${IRRD_CONFDIR}/irrd.conf|g' \
|
||||||
${WRKSRC}/programs/IRRd/irrd.8 \
|
${WRKSRC}/programs/IRRd/irrd.8 \
|
||||||
${WRKSRC}/programs/IRRd/main.c \
|
${WRKSRC}/programs/IRRd/main.c \
|
||||||
${WRKSRC}/programs/hdr_comm/read_conf.c \
|
${WRKSRC}/programs/irr_rpsl_submit/main.c \
|
||||||
${WRKSRC}/programs/irr_notify/main.c \
|
${WRKSRC}/programs/irr_notify/main.c \
|
||||||
${WRKSRC}/programs/irr_rpsl_check/main.c \
|
${WRKSRC}/programs/irr_rpsl_check/main.c \
|
||||||
${WRKSRC}/programs/irr_submit/main.c \
|
${WRKSRC}/programs/rps_dist/rpsdist.c \
|
||||||
${WRKSRC}/programs/irrdcacher/irrdcacher \
|
${WRKSRC}/programs/irrdcacher/irrdcacher \
|
||||||
${WRKSRC}/programs/rps_dist/rpsdist.c
|
${WRKSRC}/programs/hdr_comm/read_conf.c
|
||||||
|
|
||||||
post-build:
|
|
||||||
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
|
||||||
${FILESDIR}/irrd.sh > ${WRKDIR}/irrd.sh
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${INSTALL_SCRIPT} ${WRKSRC}/programs/irrdcacher/irrdcacher ${PREFIX}/sbin
|
@${INSTALL_SCRIPT} ${WRKSRC}/programs/irrdcacher/irrdcacher ${PREFIX}/sbin
|
||||||
@${INSTALL_SCRIPT} ${WRKSRC}/programs/irrdcacher/ripe2rpsl ${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}/../samples/irrd.conf.sample ${IRRD_CONFDIR}
|
||||||
@${INSTALL_DATA} ${WRKSRC}/programs/IRRd/irrd.8 ${PREFIX}/man/man8
|
@${INSTALL_DATA} ${WRKSRC}/programs/IRRd/irrd.8 ${PREFIX}/man/man8
|
||||||
@${INSTALL_SCRIPT} ${WRKDIR}/irrd.sh ${PREFIX}/etc/rc.d
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} >= 700042
|
|
||||||
BROKEN= Does not compile with GCC 4.2
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
MD5 (irrd2.1.5.tgz) = 49a6e471b1e9b65ae8ebcdbb9ee4341b
|
MD5 (irrd2.3.4.tgz) = c9e308a3402c505d4efc762315a7412e
|
||||||
SHA256 (irrd2.1.5.tgz) = 0cd90e34159e90cef5fab1bececc6630078c234e2bc2499ba772f3237837cf44
|
SHA256 (irrd2.3.4.tgz) = 2974157b6956250d9e82fa2b8f39d5e0e0d04601d94e321aaa08c1d259ed7079
|
||||||
SIZE (irrd2.1.5.tgz) = 761652
|
SIZE (irrd2.3.4.tgz) = 691907
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# $FreeBSD$
|
|
||||||
|
|
||||||
# PROVIDE: irrd
|
|
||||||
# REQUIRE: DAEMON
|
|
||||||
# BEFORE: LOGIN
|
|
||||||
# KEYWORD: shutdown
|
|
||||||
|
|
||||||
# Define these irrd_* variables in one of these files:
|
|
||||||
# /etc/rc.conf
|
|
||||||
# /etc/rc.conf.local
|
|
||||||
# /etc/rc.conf.d/irrd
|
|
||||||
#
|
|
||||||
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
|
||||||
#
|
|
||||||
irrd_enable="${irrd_enable:-NO}" # Enable irrd
|
|
||||||
#irrd_program="%%PREFIX%%/sbin/irrd" # Location of irrd
|
|
||||||
irrd_flags="${irrd_flags:--u}" # Flags to imapd program
|
|
||||||
|
|
||||||
. %%RC_SUBR%%
|
|
||||||
|
|
||||||
name="irrd"
|
|
||||||
rcvar=`set_rcvar`
|
|
||||||
command="%%PREFIX%%/sbin/irrd"
|
|
||||||
required_files="%%PREFIX%%/etc/irrd.conf"
|
|
||||||
|
|
||||||
load_rc_config $name
|
|
||||||
run_rc_command "$1"
|
|
@ -1,24 +1,11 @@
|
|||||||
--- configure.orig Fri Oct 18 04:32:52 2002
|
--- configure.orig 2006-09-12 21:40:55.000000000 +0400
|
||||||
+++ configure Fri Mar 26 19:57:10 2004
|
+++ configure 2008-02-15 16:23:17.000000000 +0300
|
||||||
@@ -1033,14 +1033,16 @@
|
@@ -6011,7 +6011,7 @@
|
||||||
# Check whether --enable-thread or --disable-thread was given.
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
if test "${enable_thread+set}" = set; then
|
cat >>conftest.$ac_ext <<_ACEOF
|
||||||
enableval="$enable_thread"
|
/* end confdefs.h. */
|
||||||
- disable_thread=yes
|
-#include <netinet/in.h>
|
||||||
+ if test "x${enable_thread}" != "xyes"; then
|
+#include <netinet6/in6.h>
|
||||||
+ disable_thread=yes
|
|
||||||
+ fi
|
|
||||||
fi;
|
|
||||||
|
|
||||||
# Check whether --enable-thread or --disable-thread was given.
|
_ACEOF
|
||||||
-if test "${enable_thread+set}" = set; then
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
||||||
- 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
|
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
--- programs/IRRd/database.c.orig Fri Oct 18 05:02:29 2002
|
|
||||||
+++ programs/IRRd/database.c Thu Apr 22 17:13:52 2004
|
|
||||||
@@ -61,7 +61,9 @@
|
|
||||||
HASH_Clear (db->hash_spec);
|
|
||||||
|
|
||||||
db->radix = New_Radix (128);
|
|
||||||
- fclose (db->db_fp);
|
|
||||||
+
|
|
||||||
+ if (db->db_fp != NULL)
|
|
||||||
+ fclose (db->db_fp);
|
|
||||||
|
|
||||||
db->db_fp = NULL;
|
|
||||||
db->db_syntax = EMPTY_DB;
|
|
@ -1,9 +1,7 @@
|
|||||||
sbin/irrd
|
sbin/irrd
|
||||||
|
sbin/irr_rpsl_check
|
||||||
sbin/irr_rpsl_submit
|
sbin/irr_rpsl_submit
|
||||||
sbin/irr_check
|
|
||||||
sbin/irr_notify
|
sbin/irr_notify
|
||||||
sbin/irrdcacher
|
sbin/irrdcacher
|
||||||
sbin/ripe2rpsl
|
sbin/ripe2rpsl
|
||||||
sbin/update_source
|
|
||||||
etc/irrd.conf.sample
|
etc/irrd.conf.sample
|
||||||
etc/rc.d/irrd.sh
|
|
||||||
|
Loading…
Reference in New Issue
Block a user