diff options
author | bouyer <bouyer@pkgsrc.org> | 2005-06-06 16:07:42 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2005-06-06 16:07:42 +0000 |
commit | 20b937ad5281eb92e5fc7267fbce47112ce26835 (patch) | |
tree | ef5befe9fe740e7781344a1e63db2bbe5d5937fd /net/openvmps/patches | |
parent | 35e5264d4c621304c0b3b97a9543c8cdcc3d3b1f (diff) | |
download | pkgsrc-20b937ad5281eb92e5fc7267fbce47112ce26835.tar.gz |
Import openvmps 1.3 to the package collection.
VMPS (VLAN Management Policy Server) is a way of assigning switch ports to
specific VLANs based on the MAC address of connecting device. OpenVMPS is a
GPL implementation of VMPS.
Diffstat (limited to 'net/openvmps/patches')
-rw-r--r-- | net/openvmps/patches/patch-aa | 14 | ||||
-rw-r--r-- | net/openvmps/patches/patch-ab | 56 | ||||
-rw-r--r-- | net/openvmps/patches/patch-ac | 25 |
3 files changed, 95 insertions, 0 deletions
diff --git a/net/openvmps/patches/patch-aa b/net/openvmps/patches/patch-aa new file mode 100644 index 00000000000..fe169afdcd3 --- /dev/null +++ b/net/openvmps/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/06/06 16:07:43 bouyer Exp $ + +--- daemon.c.orig 2005-06-06 13:03:05.000000000 +0200 ++++ daemon.c 2005-06-06 13:04:47.000000000 +0200 +@@ -44,6 +44,9 @@ + + { + register int childpid; ++#ifdef VMPS_CHECK_BSD ++ int fd; ++#endif + + #ifdef SIGTTOU + signal(SIGTTOU, SIG_IGN); diff --git a/net/openvmps/patches/patch-ab b/net/openvmps/patches/patch-ab new file mode 100644 index 00000000000..1f6ff858727 --- /dev/null +++ b/net/openvmps/patches/patch-ab @@ -0,0 +1,56 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/06/06 16:07:43 bouyer Exp $ + +--- Makefile.in.orig 2005-06-06 13:30:39.000000000 +0200 ++++ Makefile.in 2005-06-06 13:33:01.000000000 +0200 +@@ -52,7 +52,7 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = config.h + CONFIG_CLEAN_FILES = +-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(sysconfdir)" ++am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(egsysconfdir)" + binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) + PROGRAMS = $(bin_PROGRAMS) + am_vmpsd_OBJECTS = vmpsd-vmpsd.$(OBJEXT) vmpsd-daemon.$(OBJEXT) \ +@@ -166,6 +166,7 @@ + sbindir = @sbindir@ + sharedstatedir = @sharedstatedir@ + sysconfdir = @sysconfdir@ ++egsysconfdir = @prefix@/share/examples/openvmps + target_alias = @target_alias@ + vmpsd_SOURCES = vmpsd.c daemon.c data.c log.c parser.c vqp.c data.h log.h vqp.h external.c external.h + vmpsd_CFLAGS = -DSYSCONFDIR="\"${sysconfdir}\"" +@@ -442,20 +443,20 @@ + done + install-sysconfDATA: $(sysconf_DATA) + @$(NORMAL_INSTALL) +- test -z "$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)" ++ test -z "$(egsysconfdir)" || $(mkdir_p) "$(DESTDIR)$(egsysconfdir)" + @list='$(sysconf_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ +- echo " $(sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \ +- $(sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \ ++ echo " $(sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(egsysconfdir)/$$f'"; \ ++ $(sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(egsysconfdir)/$$f"; \ + done + + uninstall-sysconfDATA: + @$(NORMAL_UNINSTALL) + @list='$(sysconf_DATA)'; for p in $$list; do \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ +- echo " rm -f '$(DESTDIR)$(sysconfdir)/$$f'"; \ +- rm -f "$(DESTDIR)$(sysconfdir)/$$f"; \ ++ echo " rm -f '$(DESTDIR)$(egsysconfdir)/$$f'"; \ ++ rm -f "$(DESTDIR)$(egsysconfdir)/$$f"; \ + done + + ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) +@@ -634,7 +635,7 @@ + check: check-am + all-am: Makefile $(PROGRAMS) $(MANS) $(DATA) config.h + installdirs: +- for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(sysconfdir)"; do \ ++ for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(egsysconfdir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done + install: install-am diff --git a/net/openvmps/patches/patch-ac b/net/openvmps/patches/patch-ac new file mode 100644 index 00000000000..01ae24e5626 --- /dev/null +++ b/net/openvmps/patches/patch-ac @@ -0,0 +1,25 @@ +$NetBSD: patch-ac,v 1.1.1.1 2005/06/06 16:07:43 bouyer Exp $ + +--- vmpsd.c.orig Mon Jun 6 14:20:37 2005 ++++ vmpsd.c Mon Jun 6 14:21:50 2005 +@@ -137,9 +137,19 @@ + #ifdef HAVE_SIGACTION + { + struct sigaction action; +- action.sa_sigaction = handle_sighup; + sigemptyset(&action.sa_mask); ++#ifdef SA_SIGINFO ++ action.sa_sigaction = handle_sighup; + action.sa_flags = SA_SIGINFO; ++#else ++ action.sa_handler = handle_sighup; ++#ifdef SA_RESTART ++ action.sa_flags = SA_RESTART; ++#else ++ action.sa_flags = 0; ++#endif ++#endif ++ + sigaction(SIGHUP, &action, NULL); + } + #else |