summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2018-08-27 13:45:21 +0000
committerbsiegert <bsiegert@pkgsrc.org>2018-08-27 13:45:21 +0000
commit5d64fe1047a726a9dafd16be1729daaf787c8573 (patch)
treeefc9abf9bea5ff63f60b9a8c46b588c8036b204c
parent43ef8db7abfc592e342f890a7d4c297b018b814f (diff)
downloadpkgsrc-5d64fe1047a726a9dafd16be1729daaf787c8573.tar.gz
Remove gated.
This was announced in July on both pkgsrc-users and tech-pkg, and no one objected to the removal. The last release of gated was in 1999, its upstream has disappeared, the homepage redirects to a sketchy company. If you wanted to do routing in software today, you should probably use quagga or another modern daemon. ok to remove from gdt@
-rw-r--r--net/Makefile3
-rw-r--r--net/gated/DESCR4
-rw-r--r--net/gated/Makefile55
-rw-r--r--net/gated/PLIST95
-rw-r--r--net/gated/distinfo19
-rw-r--r--net/gated/files/configuration43
-rw-r--r--net/gated/files/gated19
-rw-r--r--net/gated/patches/patch-aa21
-rw-r--r--net/gated/patches/patch-ab44
-rw-r--r--net/gated/patches/patch-ad12
-rw-r--r--net/gated/patches/patch-ae16
-rw-r--r--net/gated/patches/patch-af57
-rw-r--r--net/gated/patches/patch-ag13
-rw-r--r--net/gated/patches/patch-ah39
-rw-r--r--net/gated/patches/patch-ai15
-rw-r--r--net/gated/patches/patch-aj21
-rw-r--r--net/gated/patches/patch-ak13
-rw-r--r--net/gated/patches/patch-if17
-rw-r--r--net/gated/patches/patch-is23
-rw-r--r--net/gated/patches/patch-src-lexer.l19
20 files changed, 1 insertions, 547 deletions
diff --git a/net/Makefile b/net/Makefile
index aa2ad876fe9..a0f473be730 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1221 2018/07/25 16:23:17 schmonz Exp $
+# $NetBSD: Makefile,v 1.1222 2018/08/27 13:45:21 bsiegert Exp $
#
COMMENT= Networking tools
@@ -167,7 +167,6 @@ SUBDIR+= ftplibpp
SUBDIR+= ftpproxy
SUBDIR+= fwknop
SUBDIR+= gallery-dl
-SUBDIR+= gated
SUBDIR+= gcloud-golang-metadata
SUBDIR+= get-flash-videos
SUBDIR+= get_iplayer
diff --git a/net/gated/DESCR b/net/gated/DESCR
deleted file mode 100644
index ee2e3842cc6..00000000000
--- a/net/gated/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-GateD routing protocol daemon
-
-This program implements various routing protocols such as OSPF, RIP, EGP,
-HELLO, BGP, ISIS, et al.
diff --git a/net/gated/Makefile b/net/gated/Makefile
deleted file mode 100644
index 961acfdb75d..00000000000
--- a/net/gated/Makefile
+++ /dev/null
@@ -1,55 +0,0 @@
-# $NetBSD: Makefile,v 1.39 2013/12/08 03:55:43 dholland Exp $
-
-DISTNAME= gated-3-5-11
-PKGNAME= gated-3.5.11
-PKGREVISION= 5
-CATEGORIES= net
-MASTER_SITES= http://www.funet.fi/pub/unix/tcpip/gated/
-
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.gated.org/
-COMMENT= Routing protocol daemon
-LICENSE= gated-license
-
-SPECIAL_PERMS+= bin/gdc ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 4510 \
- bin/ospf_monitor ${SETUID_ROOT_PERMS}
-
-RESTRICTED= Required license from Merit
-NO_SRC_ON_FTP= ${RESTRICTED}
-NO_SRC_ON_CDROM= ${RESTRICTED}
-NO_BIN_ON_FTP= ${RESTRICTED}
-NO_BIN_ON_CDROM= ${RESTRICTED}
-
-NOT_FOR_PLATFORM= Interix-*-* # no userland routing table support
-
-USE_TOOLS+= lex yacc pax
-
-RCD_SCRIPTS= gated
-RCD_SCRIPT_SRC.gated= ${FILESDIR}/gated
-
-BUILD_TARGET= gated
-
-INSTALL_MAKE_FLAGS= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man8 sbin share/doc/gated
-
-post-extract:
- @${SED} -e 's#@PREFIX@#${PREFIX}#' <${FILESDIR}/configuration \
- >${WRKSRC}/src/configs/netbsd
- @${SED} -e 's#@PREFIX@#${PREFIX}#' <${FILESDIR}/configuration \
- >${WRKSRC}/src/configs/dragonfly
-
-do-configure:
- cd ${WRKSRC}/src; \
- obj=obj.`util/archtype`; \
- ${MKDIR} $$obj; \
- ${CP} configs/${LOWER_OPSYS} $$obj/Config; \
- ${RM} -f Config
-
-post-install:
- cd ${WRKSRC}/doc && pax -rw . ${DESTDIR}${PREFIX}/share/doc/gated
- ${CHOWN} -R ${SHAREOWN} ${DESTDIR}${PREFIX}/share/doc/gated
- ${CHGRP} -R ${SHAREGRP} ${DESTDIR}${PREFIX}/share/doc/gated
- ${FIND} ${DESTDIR}${PREFIX}/share/doc/gated -type f -print | \
- ${XARGS} ${CHMOD} -x
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/net/gated/PLIST b/net/gated/PLIST
deleted file mode 100644
index 7bcae1bcb8e..00000000000
--- a/net/gated/PLIST
+++ /dev/null
@@ -1,95 +0,0 @@
-@comment $NetBSD: PLIST,v 1.5 2014/03/11 14:05:08 jperkin Exp $
-bin/gdc
-bin/ospf_monitor
-bin/ripquery
-man/man8/gated.8
-man/man8/gdc.8
-man/man8/ospf_monitor.8
-man/man8/ripquery.8
-sbin/gated
-share/doc/gated/config_guide/aggr_stmt.html
-share/doc/gated/config_guide/aspath.html
-share/doc/gated/config_guide/bgp_stmt.html
-share/doc/gated/config_guide/config.html
-share/doc/gated/config_guide/control_stmt.html
-share/doc/gated/config_guide/defines.html
-share/doc/gated/config_guide/direct.html
-share/doc/gated/config_guide/dvmrp_stmt.html
-share/doc/gated/config_guide/egp_stmt.html
-share/doc/gated/config_guide/export_stmt.html
-share/doc/gated/config_guide/filter.html
-share/doc/gated/config_guide/glossary.html
-share/doc/gated/config_guide/icmp_stmt.html
-share/doc/gated/config_guide/igmp_stmt.html
-share/doc/gated/config_guide/import_stmt.html
-share/doc/gated/config_guide/intfcs.html
-share/doc/gated/config_guide/intro.html
-share/doc/gated/config_guide/isis_stmt.html
-share/doc/gated/config_guide/kernel_stmt.html
-share/doc/gated/config_guide/options.html
-share/doc/gated/config_guide/ospf_stmt.html
-share/doc/gated/config_guide/pim_stmt.html
-share/doc/gated/config_guide/pref.html
-share/doc/gated/config_guide/proto_over.html
-share/doc/gated/config_guide/radix.html
-share/doc/gated/config_guide/rdisc_stmt.html
-share/doc/gated/config_guide/redirect_stmt.html
-share/doc/gated/config_guide/references.html
-share/doc/gated/config_guide/rip_stmt.html
-share/doc/gated/config_guide/samp_eg.html
-share/doc/gated/config_guide/samp_host.html
-share/doc/gated/config_guide/samp_ig.html
-share/doc/gated/config_guide/samp_mcast.html
-share/doc/gated/config_guide/snmp_stmt.html
-share/doc/gated/config_guide/statements.html
-share/doc/gated/config_guide/static_stmt.html
-share/doc/gated/config_guide/trace.html
-share/doc/gated/copyright-isis.html
-share/doc/gated/copyright-ospf.html
-share/doc/gated/copyright.html
-share/doc/gated/installation_guide/installation.html
-share/doc/gated/logo.gif
-share/doc/gated/main.html
-share/doc/gated/member_info/licenses/advisory.html
-share/doc/gated/member_info/licenses/commercial_v4.html
-share/doc/gated/member_info/licenses/commercial_v4_new.html
-share/doc/gated/member_info/licenses/commercial_v5.html
-share/doc/gated/member_info/licenses/commercial_v6.html
-share/doc/gated/member_info/licenses/gold.html
-share/doc/gated/member_info/licenses/merit.license.v_3.0
-share/doc/gated/member_info/licenses/merit_license_v4.html
-share/doc/gated/member_info/licenses/research_v4.html
-share/doc/gated/member_info/licenses/research_v5.html
-share/doc/gated/member_info/licenses/research_v6.html
-share/doc/gated/member_info/licenses/service_v4.html
-share/doc/gated/member_info/licenses/service_v5.html
-share/doc/gated/member_info/licenses/service_v6.html
-share/doc/gated/member_info/licenses/small_commercial_v4.html
-share/doc/gated/member_info/licenses/small_commercial_v5.html
-share/doc/gated/member_info/licenses/small_commercial_v6.html
-share/doc/gated/member_info/licenses/small_service_v4.html
-share/doc/gated/member_info/licenses/small_service_v5.html
-share/doc/gated/member_info/licenses/small_service_v6.html
-share/doc/gated/member_info/licenses/supporting_v4.html
-share/doc/gated/member_info/licenses/supporting_v5.html
-share/doc/gated/member_info/licenses/supporting_v6.html
-share/doc/gated/member_info/membership/commercial.member.html
-share/doc/gated/member_info/membership/gated-ipv6.summary.html
-share/doc/gated/member_info/membership/gated-multi.summary.html
-share/doc/gated/member_info/membership/gated-uni.summary.html
-share/doc/gated/member_info/membership/goals.html
-share/doc/gated/member_info/membership/gold.member.html
-share/doc/gated/member_info/membership/membership_categories.html
-share/doc/gated/member_info/membership/research.member.html
-share/doc/gated/member_info/membership/service.member.html
-share/doc/gated/member_info/membership/small_commercial.member.html
-share/doc/gated/member_info/membership/small_service.member.html
-share/doc/gated/member_info/membership/supporting.member.html
-share/doc/gated/member_info/membership/technical_advisory.member.html
-share/doc/gated/note.gif
-share/doc/gated/operation_guide/gated.html
-share/doc/gated/operation_guide/gdc.html
-share/doc/gated/operation_guide/operation.html
-share/doc/gated/operation_guide/ospf_monitor.html
-share/doc/gated/operation_guide/ripquery.html
-share/doc/gated/warning.gif
diff --git a/net/gated/distinfo b/net/gated/distinfo
deleted file mode 100644
index 2ecd2371a54..00000000000
--- a/net/gated/distinfo
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: distinfo,v 1.13 2017/03/23 17:06:57 joerg Exp $
-
-SHA1 (gated-3-5-11.tar.gz) = a6abdc59beb881dee06c9433b690fa6eab99fe07
-RMD160 (gated-3-5-11.tar.gz) = 16624c1e2229fb783dd3bbc5759945e5e368c1f3
-SHA512 (gated-3-5-11.tar.gz) = fb40127d023f15124fa26fcb53fc3dfe11b5ed4ca72c58c87160c2f883a3ec065749a2bc5043af467074db7e3f72af01f9d3100f9620cc47b7ef40dd3e409436
-Size (gated-3-5-11.tar.gz) = 1565263 bytes
-SHA1 (patch-aa) = 67933e863e715b92beda5a0cb05d38600b42311e
-SHA1 (patch-ab) = cd5c46845530d6c746e5255fb7685ce5da6c1de3
-SHA1 (patch-ad) = 0338ffe0160d72daf45c1fb641cae7baee82e13e
-SHA1 (patch-ae) = c02081fa9281cbe5adfab53f24c3c662fcdf9beb
-SHA1 (patch-af) = 3b27a9b1e13533f4dd6dc6c2dc7d23c0a3ae725e
-SHA1 (patch-ag) = 375e91f1e04995ef4f7d3f7dcc592d90901fa21c
-SHA1 (patch-ah) = 373152725d376e8bf0963de8f352906fe6b46355
-SHA1 (patch-ai) = 93d75b6132bcd0d79c075a53c9fb121571464fc9
-SHA1 (patch-aj) = d8aab039599d1cf152d8bb39bba629c4d5d37c66
-SHA1 (patch-ak) = 04857d0be869480812138b059e303f6a3aac00e7
-SHA1 (patch-if) = 8430686ee894c1fc4f9fb58784ebf729a26083af
-SHA1 (patch-is) = 17bb369653948890a41e61f27a198075c7b22214
-SHA1 (patch-src-lexer.l) = 3e4e5bf60e21e880a8774fc1392d8ae6ba24b0ac
diff --git a/net/gated/files/configuration b/net/gated/files/configuration
deleted file mode 100644
index 3023bda5c63..00000000000
--- a/net/gated/files/configuration
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# $NetBSD: configuration,v 1.2 2004/05/29 16:05:54 kim Exp $
-#
-# "gated" configuration for NetBSD
-#
-
-bindir @PREFIX@/bin
-sbindir @PREFIX@/sbin
-mandir @PREFIX@/man
-mantype bsd42
-
-cc cc
-#cflags -g
-cwflags -W -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow
-cflags -O -g
-
-ldflags -lkvm
-
-lex lex
-lflags -p -Cfe
-yflags -d -v
-
-mkdep mkdep -flag -MM
-
-options INCLUDE_UNISTD INCLUDE_PATHS GID_T=gid_t
-options POSIX_SIGNALS HAVE_WAITPID USE_SETSID
-options VARIABLE_MASKS SOCKET_LENGTHS SOCKADDR_DL INCLUDE_IF_DL
-options KRT_RTREAD_KINFO KRT_IFREAD_KINFO KRT_RT_SOCK USE_SYSCTL
-options KRT_LLADDR_NONE KRT_SYMBOLS_SYSCTL KVM_TYPE_BSD44 KSYM_VERSION=VRS_SYM
-options KRT_SOCKET_TYPE="PF_ROUTE, SOCK_RAW, AF_UNSPEC"
-options U_INT8=u_int8_t U_INT16=u_int16_t U_INT32=u_int32_t U_INT64=u_int64_t
-options S_INT8=int8_t S_INT16=int16_t S_INT32=int32_t S_INT64=int64_t
-options GDC_RESOURCE GDCCORENAME=""%s.core""
-
-gdc_group wheel
-
-path_dump /var/tmp/%s_dump
-path_dumpdir /var/tmp
-path_pid /var/run/%s.pid
-path_version /var/run/%s.version
-path_unix /netbsd
-
-protocols bgp egp hello icmp rip ospf iso slsp isis rdisc
diff --git a/net/gated/files/gated b/net/gated/files/gated
deleted file mode 100644
index 72564893911..00000000000
--- a/net/gated/files/gated
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: gated,v 1.3 2007/04/24 12:06:18 tron Exp $
-#
-
-# PROVIDE: gated
-# REQUIRE: network mountcritlocal
-# BEFORE: NETWORKING
-
-. /etc/rc.subr
-
-name="gated"
-rcvar=$name
-command="@PREFIX@/sbin/${name}"
-pidfile="/var/run/${name}.pid"
-required_files="/etc/${name}.conf"
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/net/gated/patches/patch-aa b/net/gated/patches/patch-aa
deleted file mode 100644
index 95abf801703..00000000000
--- a/net/gated/patches/patch-aa
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-aa,v 1.6 2016/03/25 21:06:50 joerg Exp $
-
---- src/configs/netbsd.orig 2004-07-10 22:21:01.000000000 +0200
-+++ src/configs/netbsd
-@@ -11,8 +11,8 @@ mantype bsd42
-
- cc cc
- #cflags -g
--cwflags -W -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow
--cflags -O -g
-+#cwflags -W -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow
-+cflags -O -g -DUSE_MMAP -D_KERNTYPES
-
- ldflags -lkvm
-
-@@ -40,4 +40,4 @@ path_pid /var/run/%s.pid
- path_version /var/run/%s.version
- path_unix /netbsd
-
--protocols bgp egp hello icmp rip ospf iso slsp isis rdisc
-+protocols bgp egp icmp rip ospf slsp rdisc
diff --git a/net/gated/patches/patch-ab b/net/gated/patches/patch-ab
deleted file mode 100644
index fc952d24794..00000000000
--- a/net/gated/patches/patch-ab
+++ /dev/null
@@ -1,44 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2004/07/10 21:00:00 wiz Exp $
-
---- src/task.c.orig 1999-02-18 00:32:18.000000000 +0100
-+++ src/task.c
-@@ -5903,12 +5903,20 @@ task_daemonize __PF0(void)
- }
-
- /* Remove our association with a controling tty */
--#ifdef USE_SETPGRP
-+#if defined(USE_SETPGRP) || defined(USE_SETSID)
-+#if defined(USE_SETPGRP)
- t = setpgrp();
- if (t < 0) {
- perror("task_daemonize: setpgrp");
- exit(1);
- }
-+#else /* USE_SETPGRP */
-+ t = setsid();
-+ if (t < 0) {
-+ perror("task_daemonize: setsid");
-+ exit(1);
-+ }
-+#endif /* USE_SETPGRP */
-
- task_signal_ignore(SIGHUP);
-
-@@ -5927,7 +5935,7 @@ task_daemonize __PF0(void)
- /* Parent */
- exit(0);
- }
--#else /* USE_SETPGRP */
-+#else /* defined(USE_SETPGRP) || defined(USE_SETSID) */
- t = setpgrp(0, getpid());
- if (t < 0) {
- perror("task_daemonize: setpgrp");
-@@ -5942,7 +5950,7 @@ task_daemonize __PF0(void)
- }
- (void) close(t);
- }
--#endif /* USE_SETPGRP */
-+#endif /* defined(USE_SETPGRP) || defined(USE_SETSID) */
- }
-
- /* Close all open files */
diff --git a/net/gated/patches/patch-ad b/net/gated/patches/patch-ad
deleted file mode 100644
index 4641067b06c..00000000000
--- a/net/gated/patches/patch-ad
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ad,v 1.2 1998/08/07 11:10:39 agc Exp $
-
---- src/sockaddr.h.orig Wed Oct 1 21:55:58 1997
-+++ src/sockaddr.h Wed Oct 1 21:55:13 1997
-@@ -126,6 +126,7 @@
- } sockaddr_un;
-
- /* The maximum possible address length */
-+#undef SOCK_MAXADDRLEN /* override BSD4.4's 255 due to memory cost */
- #define SOCK_MAXADDRLEN 20
-
- #define AF_LL 253 /* Link level address */
diff --git a/net/gated/patches/patch-ae b/net/gated/patches/patch-ae
deleted file mode 100644
index 90f014a2a0a..00000000000
--- a/net/gated/patches/patch-ae
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ae,v 1.1 1999/11/19 12:03:31 bouyer Exp $
-
---- src/krt_ifread_kinfo.c.old Fri Nov 19 12:37:27 1999
-+++ src/krt_ifread_kinfo.c Fri Nov 19 12:42:20 1999
-@@ -218,6 +218,11 @@
- ifl);
- break;
-
-+#ifdef RTM_OIFINFO
-+ case RTM_OIFINFO: /* just ignore compat message */
-+ continue;
-+#endif
-+
- default:
- trace_log_tp(tp,
- 0,
diff --git a/net/gated/patches/patch-af b/net/gated/patches/patch-af
deleted file mode 100644
index 5a074519ad8..00000000000
--- a/net/gated/patches/patch-af
+++ /dev/null
@@ -1,57 +0,0 @@
-$NetBSD: patch-af,v 1.1 1999/11/19 12:03:31 bouyer Exp $
-
---- src/krt_rt_sock.c.old Fri Nov 19 12:37:33 1999
-+++ src/krt_rt_sock.c Fri Nov 19 12:46:17 1999
-@@ -103,6 +103,9 @@
- #ifdef RTM_DELADDR
- {RTM_DELADDR, "DELADDR"},
- #endif /* RTM_DELADDR */
-+#ifdef RTM_OIFINFO
-+ {RTM_OIFINFO, "RTM_OIFINFO"},
-+#endif /* RTM_OIFINFO */
- #ifdef RTM_IFINFO
- {RTM_IFINFO, "IFINFO"},
- #endif /* RTM_IFINFO */
-@@ -185,7 +188,8 @@
- TR_KRT_PACKET_OTHER, /* 11 - RTM_RESOLVE */
- TR_KRT_PACKET_INTERFACE, /* 12 - RTM_NEWADDR */
- TR_KRT_PACKET_INTERFACE, /* 13 - RTM_DELADDR */
-- TR_KRT_PACKET_INTERFACE, /* 14 - RTM_IFINFO */
-+ TR_KRT_PACKET_OTHER, /* 14 - RTM_OIFINFO */
-+ TR_KRT_PACKET_INTERFACE, /* 15 - RTM_IFINFO */
- } ;
-
-
-@@ -246,6 +250,10 @@
- break;
-
- #ifdef KRT_IFREAD_KINFO
-+#ifdef RTM_OIFINFO
-+ case RTM_OIFINFO:
-+ return (krt_addrinfo *) 0;
-+#endif
- case RTM_IFINFO:
- ap = (struct sockaddr *) (((struct if_msghdr *) rtp) + 1);
- addrinfo.rti_addrs = ((struct if_msghdr *) rtp)->ifm_addrs;
-@@ -659,6 +667,10 @@
- break;
-
- #ifdef KRT_IFREAD_KINFO
-+#ifdef RTM_OIFINFO
-+ case RTM_OIFINFO:
-+ return;
-+#endif
- case RTM_IFINFO:
- {
- struct if_msghdr *ifap = (struct if_msghdr *) rtp;
-@@ -1768,6 +1780,10 @@
- break;
-
- #ifdef KRT_IFREAD_KINFO
-+#ifdef RTM_OIFINFO
-+ case RTM_OIFINFO:
-+ break;
-+#endif
- case RTM_IFINFO:
- {
- struct if_msghdr *ifp = (struct if_msghdr *) rtp;
diff --git a/net/gated/patches/patch-ag b/net/gated/patches/patch-ag
deleted file mode 100644
index 3614cdd23e8..00000000000
--- a/net/gated/patches/patch-ag
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ag,v 1.1 2001/10/25 20:16:54 agc Exp $
-
---- src/Makefile.orig Wed Feb 17 23:25:31 1999
-+++ src/Makefile Thu Oct 25 20:56:31 2001
-@@ -80,7 +80,7 @@
-
- doall: all
-
--true:;
-+true:
-
- all build_depend depend gated gdc ripquery ospf_monitor \
- install install-man man clean cleanall clean-man lint links version Makefile:
diff --git a/net/gated/patches/patch-ah b/net/gated/patches/patch-ah
deleted file mode 100644
index ee58bdd9453..00000000000
--- a/net/gated/patches/patch-ah
+++ /dev/null
@@ -1,39 +0,0 @@
-$NetBSD: patch-ah,v 1.2 2011/11/11 23:43:43 joerg Exp $
-
---- src/util/Makefile.template.orig 1998-09-15 16:48:41.000000000 +0000
-+++ src/util/Makefile.template
-@@ -203,7 +203,7 @@ make-start: true
- make-end: true
- @echo "Make ended at `${DATE}`"
-
--true:;
-+true:
-
-
- # Rebuild Makefile
-@@ -450,7 +450,7 @@ install-man:: inst-man ${O_MANS}
- MANDIR=${MANDIR} ./inst-man -${MANTYPE} ${O_MANS}
-
- ${DESTDIR}${BINDIR}/${OSPF_MONITOR}: ${OSPF_MONITOR}
-- ${INSTALL} ${INSTALLFLAGS} -o ${OSPFM_USER} -m ${OSPFM_MODE} ${OSPF_MONITOR} ${DESTDIR}${BINDIR}/${OSPF_MONITOR}
-+ ${INSTALL} ${INSTALLFLAGS} ${OSPF_MONITOR} ${DESTDIR}${BINDIR}/${OSPF_MONITOR}
-
- @END: PROTO_OSPF
-
-@@ -479,15 +479,7 @@ install-man:: inst-man ${G_MANS}
- MANDIR=${MANDIR} ./inst-man -${MANTYPE} ${G_MANS}
-
- ${DESTDIR}${BINDIR}/${GDC}: ${GDC}
-- -@${TOUCH} /tmp/$$ ; ${CHGRP} ${GDC_GROUP} /tmp/$$ \
-- && ${CHOWN} ${GDC_USER} /tmp/$$ ; \
-- if [ $$? -eq 0 ]; then \
-- MODES="-m ${GDC_MODE} -o ${GDC_USER} -g ${GDC_GROUP}" ; \
-- else \
-- MODES= ; \
-- fi ; \
-- ( set -x ; ${INSTALL} ${INSTALLFLAGS} $${MODES} ${GDC} ${DESTDIR}${BINDIR}/${GDC} ) ; \
-- ${RM} -f /tmp/$$
-+ ${INSTALL} ${INSTALLFLAGS} ${GDC} ${DESTDIR}${BINDIR}/${GDC}
-
-
- #
diff --git a/net/gated/patches/patch-ai b/net/gated/patches/patch-ai
deleted file mode 100644
index db7e20854e4..00000000000
--- a/net/gated/patches/patch-ai
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ai,v 1.1 2003/12/06 01:52:10 xtraeme Exp $
-
---- src/gdc.c 2003-12-04 02:05:57.000000000 +0000
-+++ src/gdc.c 2003-12-04 02:04:15.000000000 +0000
-@@ -506,8 +506,8 @@
- break;
- case 'l':
- if (strlen(optarg) > MAXPATHLEN) {
-- (void) fprintf(stderr, "%s: pidfile path
-- must be less than %d in length\n",
-+ (void) fprintf(stderr, "%s: pidfile path "
-+ "must be less than %d in length\n",
- progname, MAXPATHLEN+1);
- errflg++;
- }
diff --git a/net/gated/patches/patch-aj b/net/gated/patches/patch-aj
deleted file mode 100644
index 6f8cd5b8082..00000000000
--- a/net/gated/patches/patch-aj
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-aj,v 1.1 2006/06/01 22:40:19 joerg Exp $
-
---- src/configs/dragonfly.orig 2004-07-10 22:21:01.000000000 +0200
-+++ src/configs/dragonfly
-@@ -11,8 +11,8 @@ mantype bsd42
-
- cc cc
- #cflags -g
--cwflags -W -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow
--cflags -O -g
-+#cwflags -W -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow
-+cflags -O -g -DUSE_MMAP
-
- ldflags -lkvm
-
-@@ -40,4 +40,4 @@ path_pid /var/run/%s.pid
- path_version /var/run/%s.version
- path_unix /netbsd
-
--protocols bgp egp hello icmp rip ospf iso slsp isis rdisc
-+protocols bgp egp icmp rip ospf slsp rdisc
diff --git a/net/gated/patches/patch-ak b/net/gated/patches/patch-ak
deleted file mode 100644
index 105facf0500..00000000000
--- a/net/gated/patches/patch-ak
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ak,v 1.1 2006/06/01 22:40:19 joerg Exp $
-
---- src/str.c.orig 2006-06-01 22:35:58.000000000 +0000
-+++ src/str.c
-@@ -226,7 +226,7 @@ static char sccsid[] = "@(#)doprnt.c 5.3
-
- #define ARG() \
- _ulong = flags&LONGINT ? va_arg(ap, long) : \
-- flags&SHORTINT ? va_arg(ap, short) : va_arg(ap, int);
-+ flags&SHORTINT ? va_arg(ap, int) : va_arg(ap, int);
-
- #define todigit(c) ((c) - '0')
- #define tochar(n) ((n) + '0')
diff --git a/net/gated/patches/patch-if b/net/gated/patches/patch-if
deleted file mode 100644
index 9a2a792efbd..00000000000
--- a/net/gated/patches/patch-if
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-if,v 1.1 2008/01/05 15:15:01 rillig Exp $
-
-if.c:130: error: static declaration of 'if_change_bits' follows non-static declaration
-if.h:82: error: previous declaration of 'if_change_bits' was here
-
---- src/if.h.orig 1999-02-18 00:30:22.000000000 +0100
-+++ src/if.h 2008-01-05 16:09:39.000000000 +0100
-@@ -79,9 +79,6 @@
- * Physical interface information
- */
-
--extern const bits if_change_bits[]; /* Interface flag bits */
--extern const bits if_proto_bits[];
--
- struct _if_link {
- struct _if_link *ifl_forw;
- struct _if_link *ifl_back;
diff --git a/net/gated/patches/patch-is b/net/gated/patches/patch-is
deleted file mode 100644
index 80ce37317f2..00000000000
--- a/net/gated/patches/patch-is
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD: patch-is,v 1.1 2008/01/05 15:15:02 rillig Exp $
-
-isis_spf.c:530: error: invalid storage class for function 'print_route'
-
---- src/isis_spf.c.orig 1999-02-18 00:30:52.000000000 +0100
-+++ src/isis_spf.c 2008-01-05 16:12:36.000000000 +0100
-@@ -518,6 +518,8 @@ get_graph_entry __PF3(sysid, char *,
- * the pending database. This routine only supports the
- * default metric for now.
- */
-+static void print_route __PF3(gpt, GRAPH_PT, logPri, int, printOld, int);
-+
- static void
- spf_check_pending __PF6(dbEntry, GRAPH_PT, /* the route we had for dest (could be freshly initialized) */
- internal_cost, int, /* internal cost for the new route */
-@@ -527,7 +529,6 @@ spf_check_pending __PF6(dbEntry, GRAPH_P
- /* neighbors, added by init_paths) */
- asp, as_path *)
- {
-- static void print_route();
- int destType = dbEntry->g.gtype;
-
- #define UseNewRoute \
diff --git a/net/gated/patches/patch-src-lexer.l b/net/gated/patches/patch-src-lexer.l
deleted file mode 100644
index f0d223c3c24..00000000000
--- a/net/gated/patches/patch-src-lexer.l
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-src-lexer.l,v 1.2 2012/03/26 11:56:12 obache Exp $
-
-* yylineno is present in all scanners by flex>=2.5.20
-
---- src/lexer.l.orig 1998-09-15 16:46:49.000000000 +0000
-+++ src/lexer.l
-@@ -176,7 +176,12 @@ PROTOTYPE(parse_eof,
-
- #define YYTEXT yytext
-
-+#if !defined(YY_FLEX_MAJOR_VERSION) || \
-+ (YY_FLEX_MAJOR_VERSION == 2 && (YY_FLEX_MINOR_VERSION < 5) || \
-+ (YY_FLEX_MINOR_VERSION == 5 && (!defined(YY_FLEX_SUBMINOR_VERSION) || \
-+ YY_FLEX_SUBMINOR_VERSION < 20)))
- int yylineno = 0;
-+#endif
-
- #undef YY_INPUT
- #define YY_INPUT(buf, result, max_size) \