Remove xorp, the version we have is rather outdated and has at least some

format string problems. the latest version upstream uses scons so would be a
new port anyway, and is still several years old. ok mpi pascal, no objection
from naddy who originally imported it.
This commit is contained in:
sthen 2015-09-11 20:32:19 +00:00
parent 14273d88a4
commit 380e15afd7
7 changed files with 1 additions and 278 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.926 2015/09/05 10:01:09 sthen Exp $
# $OpenBSD: Makefile,v 1.927 2015/09/11 20:32:19 sthen Exp $
SUBDIR =
SUBDIR += GeoIP
@ -669,7 +669,6 @@
SUBDIR += xl2tpd
SUBDIR += xmlrpc-c
SUBDIR += xmlrpc-epi
SUBDIR += xorp
SUBDIR += xprobe
SUBDIR += yafc
SUBDIR += yaz

View File

@ -1,48 +0,0 @@
# $OpenBSD: Makefile,v 1.30 2013/10/31 21:12:13 sthen Exp $
COMMENT-main= eXtensible Open Router Platform
VERSION= 1.6
DISTNAME= xorp-${VERSION}
PKGNAME-main= ${DISTNAME}
REVISION-main= 4
CATEGORIES= net
HOMEPAGE= http://www.xorp.org/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://www.xorp.org/releases/${VERSION}/ \
http://www2.xorp.org/releases/${VERSION}/ \
http://www3.xorp.org/releases/${VERSION}/
MULTI_PACKAGES= -main
PREFIX= ${LOCALBASE}/xorp
PREFIX-main= ${LOCALBASE}
WANTLIB= c crypto curses m pcap stdc++
USE_GMAKE= Yes
LIBTOOL_FLAGS= --tag=disable-shared
MODULES= lang/python
MODPY_RUNDEP= no
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --enable-optimize --disable-debug
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/config ${WRKSRC}/cli/libtecla
TEST_DEPENDS= shells/bash
# some regression tests must be run as root
do-test:
@ln -s ${MODPY_BIN} ${WRKDIR}/bin/python
@cd ${WRKBUILD}; ${SUDO} ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${ALL_TEST_FLAGS} ${TEST_TARGET}
post-install:
${INSTALL_DATA_DIR} ${WRKINST}/${PREFIX-main}/share/examples/xorp
cd ${WRKSRC}/rtrmgr/config; ${INSTALL_DATA} README *.boot \
${WRKINST}/${PREFIX-main}/share/examples/xorp
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (xorp-1.6.tar.gz) = 0/r/VvXljPQ/owDhTWtXAuqedRR/PS0qrkTai9o/j4I=
SIZE (xorp-1.6.tar.gz) = 7895108

View File

@ -1,24 +0,0 @@
$OpenBSD: patch-configure,v 1.2 2013/10/16 15:04:08 bluhm Exp $
--- configure.orig Wed Jan 7 19:47:14 2009
+++ configure Fri Sep 6 19:47:22 2013
@@ -35100,6 +35100,9 @@ cat >>conftest.$ac_ext <<_ACEOF
#ifdef HAVE_NETINET_IN_VAR_H
#include <netinet/in_var.h>
#endif
+#ifdef HAVE_NETINET6_IN6_VAR_H
+#include <netinet6/in6_var.h>
+#endif
// XXX: a hack needed if <netinet6/nd6.h> is not C++ friendly
// #define prf_ra in6_prflags::prf_ra
#include <netinet6/nd6.h>
@@ -43568,8 +43571,8 @@ echo "${ECHO_T}no" >&6; }
CPARANOIDFLAGS="-Werror -W -Wall -Wwrite-strings -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -Wnested-externs"
CXXPARANOIDFLAGS="-Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Wstrict-prototypes -Woverloaded-virtual -Wtraditional"
else
- CPARANOIDFLAGS="-Werror -W -Wall -Wwrite-strings -Wbad-function-cast -Wmissing-prototypes -Wcast-qual -Wmissing-declarations -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wnested-externs"
- CXXPARANOIDFLAGS="-Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Wstrict-prototypes -Woverloaded-virtual -Wtraditional"
+ CPARANOIDFLAGS="-W -Wall -Wwrite-strings -Wbad-function-cast -Wmissing-prototypes -Wcast-qual -Wmissing-declarations -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wnested-externs"
+ CXXPARANOIDFLAGS="-W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Wstrict-prototypes -Woverloaded-virtual -Wtraditional"
fi

View File

@ -1,30 +0,0 @@
$OpenBSD: patch-fea_data_plane_firewall_firewall_set_pf_cc,v 1.1 2009/12/07 16:54:31 naddy Exp $
--- fea/data_plane/firewall/firewall_set_pf.cc.orig Mon Dec 7 05:43:02 2009
+++ fea/data_plane/firewall/firewall_set_pf.cc Mon Dec 7 05:43:45 2009
@@ -335,7 +335,7 @@ FirewallSetPf::start_transaction(uint32_t& ticket, str
trans.size = 1;
trans.esize = sizeof(trans_e);
trans.array = &trans_e;
- trans_e.rs_num = PF_RULESET_FILTER;
+ trans_e.type = PF_TRANS_RULESET;
if (ioctl(_fd, DIOCXBEGIN, &trans) < 0) {
error_msg = c_format("Failed to begin transaction for adding rules "
@@ -361,7 +361,7 @@ FirewallSetPf::commit_transaction(uint32_t ticket, str
trans.size = 1;
trans.esize = sizeof(trans_e);
trans.array = &trans_e;
- trans_e.rs_num = PF_RULESET_FILTER;
+ trans_e.type = PF_TRANS_RULESET;
trans_e.ticket = ticket;
if (ioctl(_fd, DIOCXCOMMIT, &trans) < 0) {
@@ -385,7 +385,7 @@ FirewallSetPf::abort_transaction(uint32_t ticket, stri
trans.size = 1;
trans.esize = sizeof(trans_e);
trans.array = &trans_e;
- trans_e.rs_num = PF_RULESET_FILTER;
+ trans_e.type = PF_TRANS_RULESET;
trans_e.ticket = ticket;
if (ioctl(_fd, DIOCXROLLBACK, &trans) < 0) {

View File

@ -1,16 +0,0 @@
XORP is an open router platform. XORP's primary goal is to be both
a research tool and a stable deployment platform. It implements
routing protocols for IPv4 and IPv6 and a unified means to configure
them.
Currently, XORP implements the following protocols:
* OSPF v2 and v3
* RIP and RIPng
* BGP4
* PIM-SM
* IGMP v1, v2, and v3
* MLD v1 and v2
* OLSR
* VRRP
For documentation, see the XORP home page.

View File

@ -1,156 +0,0 @@
@comment $OpenBSD: PLIST-main,v 1.3 2009/01/15 10:14:19 sthen Exp $
@pkgpath net/xorp
share/examples/xorp/
share/examples/xorp/README
share/examples/xorp/bgp.boot
share/examples/xorp/click.boot
share/examples/xorp/interfaces.boot
share/examples/xorp/multicast4.boot
share/examples/xorp/multicast6.boot
share/examples/xorp/ospfv2.boot
share/examples/xorp/ospfv3.boot
share/examples/xorp/rip.boot
share/examples/xorp/ripng.boot
share/examples/xorp/snmp.boot
share/examples/xorp/static.boot
xorp/
xorp/bgp/
xorp/bgp/tools/
@bin xorp/bgp/tools/xorpsh_print_peers
@bin xorp/bgp/tools/xorpsh_print_routes
@bin xorp/bgp/xorp_bgp
xorp/bin/
@bin xorp/bin/call_xrl
@bin xorp/bin/xorp_profiler
@bin xorp/bin/xorp_rtrmgr
@bin xorp/bin/xorpsh
xorp/cli/
xorp/cli/tools/
@bin xorp/cli/tools/cli_generic
@bin xorp/cli/tools/send_cli_processor_xrl
xorp/contrib/
xorp/contrib/olsr/
xorp/contrib/olsr/tools/
@bin xorp/contrib/olsr/tools/clear_database
@bin xorp/contrib/olsr/tools/print_databases
@bin xorp/contrib/olsr/xorp_olsr4
xorp/etc/
xorp/etc/templates/
xorp/etc/templates/bgp.cmds
xorp/etc/templates/bgp.tp
xorp/etc/templates/fea.cmds
xorp/etc/templates/fea.tp
xorp/etc/templates/fib2mrib.tp
xorp/etc/templates/firewall.tp
xorp/etc/templates/host.cmds
xorp/etc/templates/igmp.cmds
xorp/etc/templates/igmp.tp
xorp/etc/templates/interfaces.tp
xorp/etc/templates/mfea.cmds
xorp/etc/templates/mfea4.tp
xorp/etc/templates/mfea6.cmds
xorp/etc/templates/mfea6.tp
xorp/etc/templates/misc.cmds
xorp/etc/templates/mld.cmds
xorp/etc/templates/mld.tp
xorp/etc/templates/olsr4.cmds
xorp/etc/templates/olsr4.tp
xorp/etc/templates/ospfv2.cmds
xorp/etc/templates/ospfv2.tp
xorp/etc/templates/ospfv3.cmds
xorp/etc/templates/ospfv3.tp
xorp/etc/templates/pim.cmds
xorp/etc/templates/pim6.cmds
xorp/etc/templates/pimsm4.tp
xorp/etc/templates/pimsm6.tp
xorp/etc/templates/plumbing.tp
xorp/etc/templates/policy.tp
xorp/etc/templates/protocols.tp
xorp/etc/templates/rib.cmds
xorp/etc/templates/rib.tp
xorp/etc/templates/rip.cmds
xorp/etc/templates/rip.tp
xorp/etc/templates/ripng.cmds
xorp/etc/templates/ripng.tp
xorp/etc/templates/rtrmgr.tp
xorp/etc/templates/snmp.tp
xorp/etc/templates/static_routes.tp
xorp/etc/templates/xorpsh.cmds
xorp/fea/
xorp/fea/tools/
@bin xorp/fea/tools/show_interfaces
@bin xorp/fea/xorp_fea
xorp/fea/xorp_fea_click_config_generator
@bin xorp/fea/xorp_fea_dummy
xorp/fib2mrib/
@bin xorp/fib2mrib/xorp_fib2mrib
xorp/libxipc/
@bin xorp/libxipc/xorp_finder
xorp/mld6igmp/
@bin xorp/mld6igmp/xorp_igmp
@bin xorp/mld6igmp/xorp_mld
xorp/ospf/
xorp/ospf/tools/
@bin xorp/ospf/tools/clear_database
@bin xorp/ospf/tools/print_lsas
@bin xorp/ospf/tools/print_neighbours
@bin xorp/ospf/xorp_ospfv2
@bin xorp/ospf/xorp_ospfv3
xorp/pim/
@bin xorp/pim/xorp_pimsm4
@bin xorp/pim/xorp_pimsm6
xorp/policy/
@bin xorp/policy/xorp_policy
xorp/rib/
xorp/rib/tools/
@bin xorp/rib/tools/show_distances
@bin xorp/rib/tools/show_routes
@bin xorp/rib/xorp_rib
xorp/rip/
xorp/rip/tools/
@bin xorp/rip/tools/show_peer_stats
@bin xorp/rip/tools/show_stats
@bin xorp/rip/xorp_rip
@bin xorp/rip/xorp_ripng
xorp/static_routes/
@bin xorp/static_routes/xorp_static_routes
xorp/vrrp/
@bin xorp/vrrp/xorp_vrrp
xorp/xrl/
xorp/xrl/targets/
xorp/xrl/targets/bgp.xrls
xorp/xrl/targets/bgp4_mib.xrls
xorp/xrl/targets/cli.xrls
xorp/xrl/targets/coord.xrls
xorp/xrl/targets/fea.xrls
xorp/xrl/targets/fea_ifmgr_mirror.xrls
xorp/xrl/targets/fib2mrib.xrls
xorp/xrl/targets/finder.xrls
xorp/xrl/targets/finder_client.xrls
xorp/xrl/targets/mfea.xrls
xorp/xrl/targets/mld6igmp.xrls
xorp/xrl/targets/olsr4.xrls
xorp/xrl/targets/ospfv2.xrls
xorp/xrl/targets/ospfv3.xrls
xorp/xrl/targets/pim.xrls
xorp/xrl/targets/policy.xrls
xorp/xrl/targets/profiler.xrls
xorp/xrl/targets/rib.xrls
xorp/xrl/targets/ribclient.xrls
xorp/xrl/targets/rip.xrls
xorp/xrl/targets/ripng.xrls
xorp/xrl/targets/rtrmgr.xrls
xorp/xrl/targets/show_distances.xrls
xorp/xrl/targets/show_routes.xrls
xorp/xrl/targets/static_routes.xrls
xorp/xrl/targets/test.xrls
xorp/xrl/targets/test_fea_ifmgr_mirror.xrls
xorp/xrl/targets/test_fea_rawlink.xrls
xorp/xrl/targets/test_finder_events.xrls
xorp/xrl/targets/test_peer.xrls
xorp/xrl/targets/test_socket4.xrls
xorp/xrl/targets/test_socket6.xrls
xorp/xrl/targets/test_xrls.xrls
xorp/xrl/targets/vrrp.xrls
xorp/xrl/targets/xorp_if_mib.xrls
xorp/xrl/targets/xorpsh.xrls