summaryrefslogtreecommitdiff
path: root/net/irrd
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>1999-10-28 19:50:18 +0000
committerkim <kim@pkgsrc.org>1999-10-28 19:50:18 +0000
commitde560624fc3597b8422881d6cacb4c22d9754685 (patch)
treed8786af3bad8119e120091014c2a50123731f6d8 /net/irrd
parentcb0f841191fc254ccf23c2f00eec3778f2bd9cc6 (diff)
downloadpkgsrc-de560624fc3597b8422881d6cacb4c22d9754685.tar.gz
IRRd is a freely available streamlined, stand-alone Internet
Routing Registry database server. IRRd supports both RIPE-181 and RPSL routing registry syntaxes.
Diffstat (limited to 'net/irrd')
-rw-r--r--net/irrd/Makefile36
-rw-r--r--net/irrd/files/md53
-rw-r--r--net/irrd/files/patch-sum6
-rw-r--r--net/irrd/patches/patch-aa71
-rw-r--r--net/irrd/patches/patch-ab11
-rw-r--r--net/irrd/patches/patch-ac15
-rw-r--r--net/irrd/patches/patch-ad18
-rw-r--r--net/irrd/pkg/COMMENT1
-rw-r--r--net/irrd/pkg/DESCR3
-rw-r--r--net/irrd/pkg/PLIST6
10 files changed, 170 insertions, 0 deletions
diff --git a/net/irrd/Makefile b/net/irrd/Makefile
new file mode 100644
index 00000000000..e9a9e23e363
--- /dev/null
+++ b/net/irrd/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/10/28 19:50:18 kim Exp $
+#
+
+DISTNAME= irrd-1.5-beta-Sept-24-1999
+PKGNAME= irrd-1.5-beta-19990924
+CATEGORIES= net
+MASTER_SITES= http://www.merit.edu/radb/irrd/source/
+
+MAINTAINER= kim@tac.nyc.ny.us
+HOMEPAGE= http://www.irrd.net/
+
+BUILD_DEPENDS= autoreconf:../../devel/autoconf
+
+.include "../../mk/bsd.prefs.mk"
+
+.ifdef IRRD_USE_PGP
+.if ${IRRD_USE_PGP} == 5
+DEPENDS+= pgp-5.*:../../security/pgp5
+.elif ${IRRD_USE_PGP} == 2
+DEPENDS+= pgp-2.*:../../security/pgp2
+#.else
+# IRRd will be built with pgpv or pgp if found!
+#CONFIGURE_ARGS+=--without-pgp
+.endif
+.endif
+
+WRKSRC= ${WRKDIR}/irrd-1.5
+
+HAS_CONFIGURE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--with-db1
+
+pre-configure:
+ @(cd ${WRKSRC} && autoreconf)
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/irrd/files/md5 b/net/irrd/files/md5
new file mode 100644
index 00000000000..294d2f9fcc9
--- /dev/null
+++ b/net/irrd/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/10/28 19:50:19 kim Exp $
+
+MD5 (irrd-1.5-beta-Sept-24-1999.tar.gz) = cf6d25f3d5f17044ce0dfd5b42d25ce7
diff --git a/net/irrd/files/patch-sum b/net/irrd/files/patch-sum
new file mode 100644
index 00000000000..ac9ff1b4139
--- /dev/null
+++ b/net/irrd/files/patch-sum
@@ -0,0 +1,6 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/10/28 19:50:19 kim Exp $
+
+MD5 (patch-aa) = 5f39473657713f9c7b19e03395ac7945
+MD5 (patch-ab) = 63068873063cce05da48ff02a2e8d0f9
+MD5 (patch-ac) = 210e70db5b5ed608f9b950c7b2e5574f
+MD5 (patch-ad) = 92713a0b298a9c069ad351be3c117f83
diff --git a/net/irrd/patches/patch-aa b/net/irrd/patches/patch-aa
new file mode 100644
index 00000000000..a140b79072c
--- /dev/null
+++ b/net/irrd/patches/patch-aa
@@ -0,0 +1,71 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/10/28 19:50:19 kim Exp $
+
+--- configure.in.orig Mon Sep 6 15:31:59 1999
++++ configure.in Fri Oct 22 19:03:11 1999
+@@ -39,7 +39,7 @@
+ CRYPT_LIB="-lcrypt"
+ AC_DEFINE(USE_LOCKF)
+ ;;
+- *freebsd*) IRRD_OPS_LIBS=""
++ *freebsd*|*netbsd*) IRRD_OPS_LIBS=""
+ CRYPT_LIB="-lcrypt"
+ AC_DEFINE(USE_FLOCK)
+ ;;
+@@ -91,11 +91,12 @@
+ fi
+ AC_PATH_PROG(PGPV_PATH,pgpv,no)
+ if test $PGPV_PATH = no; then
+- AC_PATH_PROG(PGPV_PATH,pgp,no)
+- if test $PGPV_PATH = no; then
++ AC_PATH_PROG(PGP_PATH,pgp,no)
++ if test $PGP_PATH = no; then
+ PGPV_PATH=""
+ AC_DEFINE(PGP,0)
+ else
++ PGPV_PATH="$PGP_PATH"
+ AC_DEFINE(PGP,26)
+ fi
+ else
+@@ -302,9 +303,10 @@
+ AC_CHECK_HEADERS(gdbm.h, [exist_gdbm=yes],[exist_gdbm=no])
+ fi
+
+-AC_CHECK_LIB(db, dbopen, [exist_db1=yes],[exist_db1=no])
+-if test $exist_db1 = yes; then
+ AC_CHECK_HEADERS(db.h, [exist_db1=yes],[exist_db1=no])
++if test $exist_db1 = yes; then
++AC_CHECK_FUNC(dbopen,[db1_lib=no],
++ [AC_CHECK_LIB(db, dbopen, [DB_LIB="-ldb"],[exist_db1=no])])
+ fi
+
+ AC_MSG_CHECKING(for GDBM preference)
+@@ -349,7 +351,6 @@
+ if test "$db1_pref" = "DB1"; then
+ if test $exist_db1 = yes; then
+ AC_DEFINE(USE_DB1)
+- DB_LIB="-ldb"
+ db_check=done
+ AC_MSG_RESULT(using DB1)
+ fi
+@@ -371,7 +372,6 @@
+ if test "$db1_pref" != "NODB1"; then
+ if test $exist_db1 = yes; then
+ AC_DEFINE(USE_DB1)
+- DB_LIB="-ldb"
+ db_check=done
+ AC_MSG_RESULT(using DB1)
+ fi
+@@ -435,6 +435,13 @@
+ AC_DEFINE(HAVE_LINUX_2_2_5_IPV6)
+ ]
+ )
++ ;;
++ *netbsd0|*netbsd1.[0123]*|*netbsd1.4|*netbsd1.4.*|*netbsd1.4[A-J] )
++ AC_MSG_RESULT(no)
++ ;;
++ *netbsd* )
++ AC_DEFINE(HAVE_IPV6)
++ AC_MSG_RESULT(yes... NetBSD IPv6)
+ ;;
+ *solaris* )
+ AC_FILE_EXIST(/usr/ipv6/sbin/ifconfig, [
diff --git a/net/irrd/patches/patch-ab b/net/irrd/patches/patch-ab
new file mode 100644
index 00000000000..f020ecaf7fc
--- /dev/null
+++ b/net/irrd/patches/patch-ab
@@ -0,0 +1,11 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/10/28 19:50:19 kim Exp $
+
+--- acconfig.h.orig Sat Jun 19 22:47:34 1999
++++ acconfig.h Fri Oct 22 18:28:26 1999
+@@ -72,3 +72,6 @@
+
+ /* define if using the new linux 2.2.5 kernel (redhat6.0) */
+ #undef HAVE_LINUX_2_2_5_IPV6
++
++/* keep autoreconf happy */
++#undef HAVE_GZIP
diff --git a/net/irrd/patches/patch-ac b/net/irrd/patches/patch-ac
new file mode 100644
index 00000000000..ff3bc43b68a
--- /dev/null
+++ b/net/irrd/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/10/28 19:50:19 kim Exp $
+
+--- programs/IRRd/Makefile.orig Mon Sep 6 15:33:16 1999
++++ programs/IRRd/Makefile Fri Oct 22 19:10:48 1999
+@@ -5,9 +5,7 @@
+
+ include ../../Make.include
+
+-CPPFLAGS= -I../../include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DFUNCPROTO -I/usr/local/include
+-LDFLAGS= -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -L/usr/local/lib
+-SYS_LIBS= $(THREADLIBS) -lresolv -lsocket -lnsl
++SYS_LIBS= $(THREADLIBS) $(IRRD_OPS_LIBS)
+ QUANTIFY= quantify -threads=yes -max-threads=80 -cache-dir="./"
+ PURIFY= purify -threads=yes -max-threads=80 -cache-dir="./"
+
diff --git a/net/irrd/patches/patch-ad b/net/irrd/patches/patch-ad
new file mode 100644
index 00000000000..59981061b2a
--- /dev/null
+++ b/net/irrd/patches/patch-ad
@@ -0,0 +1,18 @@
+$NetBSD: patch-ad,v 1.1.1.1 1999/10/28 19:50:19 kim Exp $
+
+--- programs/irr_submit/Makefile.orig Thu Sep 9 20:38:40 1999
++++ programs/irr_submit/Makefile Fri Oct 22 19:19:07 1999
+@@ -42,8 +42,11 @@
+ lint `echo $(RPSLOBJS) | sed -e 's,\.o,.c,g'`
+
+ install: $(GOAL)
+- $(INSTALL) -m 755 $(GOAL) $(DESTDIR)/$(GOAL)
+-
++ @set -x; \
++ for i in $(GOAL); \
++ do \
++ $(INSTALL) -m 755 $$i $(DESTDIR)/$$i; \
++ done
+
+ clean:
+ $(RM) *.o core *.core *~* *tab.* lex.yy.c $(GOAL)
diff --git a/net/irrd/pkg/COMMENT b/net/irrd/pkg/COMMENT
new file mode 100644
index 00000000000..e64c122024c
--- /dev/null
+++ b/net/irrd/pkg/COMMENT
@@ -0,0 +1 @@
+Internet Routing Registry Daemon.
diff --git a/net/irrd/pkg/DESCR b/net/irrd/pkg/DESCR
new file mode 100644
index 00000000000..5966b3105de
--- /dev/null
+++ b/net/irrd/pkg/DESCR
@@ -0,0 +1,3 @@
+IRRd is a freely available streamlined, stand-alone Internet
+Routing Registry database server. IRRd supports both RIPE-181
+and RPSL routing registry syntaxes.
diff --git a/net/irrd/pkg/PLIST b/net/irrd/pkg/PLIST
new file mode 100644
index 00000000000..573a799a275
--- /dev/null
+++ b/net/irrd/pkg/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/10/28 19:50:19 kim Exp $
+sbin/irr_check
+sbin/irr_notify
+sbin/irr_rpsl_submit
+sbin/irr_submit
+sbin/irrd