summaryrefslogtreecommitdiff
path: root/net/irrd/patches
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/patches
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/patches')
-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
4 files changed, 115 insertions, 0 deletions
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)