ports/76689: net-mgmt/openvmps update to 1.3 [maintainer update]
Craig Boston
craig at yekse.gank.org
Wed Jan 26 00:50:07 UTC 2005
>Number: 76689
>Category: ports
>Synopsis: net-mgmt/openvmps update to 1.3 [maintainer update]
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 26 00:50:06 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Craig Boston
>Release: FreeBSD 5.3-RELEASE-p5 i386
>Organization:
Needs improvement
>Environment:
System: FreeBSD 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Sat Jan 22 14:52:25 CST 2005 root:/usr/obj/usr/src/sys i386
>Description:
Version 1.3 fixes a few bugs.
New files:
files/patch-Makefile.in
files/patch-daemon.c
Removed files:
files/vmps.db
>How-To-Repeat:
>Fix:
--- openvmps-1.3.diff begins here ---
diff -ruN openvmps.orig/Makefile openvmps/Makefile
--- openvmps.orig/Makefile Tue Jan 25 17:53:00 2005
+++ openvmps/Makefile Tue Jan 25 18:30:23 2005
@@ -6,7 +6,7 @@
#
PORTNAME= openvmps
-PORTVERSION= 1.1
+PORTVERSION= 1.3
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= vmps
@@ -15,6 +15,7 @@
MAINTAINER= craig at yekse.gank.org
COMMENT= A GPL implementation of the VMPS protocol
+WRKSRC= ${WRKDIR}/vmpsd
USE_RC_SUBR= yes
GNU_CONFIGURE= yes
@@ -22,6 +23,8 @@
CONFIGURE_ARGS=--bindir=${PREFIX}/sbin
+MAN1= vmpsd.1
+
RC_SCRIPTS_SUB= PREFIX=${PREFIX} \
RC_SUBR=${RC_SUBR}
@@ -29,7 +32,7 @@
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${FILESDIR}/vmpsd.sh > ${PREFIX}/etc/rc.d/vmpsd.sh
@${CHMOD} 755 ${PREFIX}/etc/rc.d/vmpsd.sh
- ${INSTALL_DATA} -m 644 ${FILESDIR}/vmps.db \
+ ${INSTALL_DATA} -m 644 ${WRKSRC}/vlan.db \
${PREFIX}/etc/vmps.db.sample
@if [ ! -f ${PREFIX}/etc/vmps.db ]; then \
${CP} -p ${PREFIX}/etc/vmps.db.sample ${PREFIX}/etc/vmps.db ; \
diff -ruN openvmps.orig/distinfo openvmps/distinfo
--- openvmps.orig/distinfo Tue Jan 25 17:53:00 2005
+++ openvmps/distinfo Tue Jan 25 17:53:27 2005
@@ -1,2 +1,2 @@
-MD5 (vmpsd-1.1.tar.gz) = ca76836a057fe534fe29721939e0a57a
-SIZE (vmpsd-1.1.tar.gz) = 47528
+MD5 (vmpsd-1.3.tar.gz) = 07ad86343ad715c94b9de4c54c62d3db
+SIZE (vmpsd-1.3.tar.gz) = 95202
diff -ruN openvmps.orig/files/patch-Makefile.in openvmps/files/patch-Makefile.in
--- openvmps.orig/files/patch-Makefile.in Wed Dec 31 18:00:00 1969
+++ openvmps/files/patch-Makefile.in Tue Jan 25 18:17:15 2005
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Tue Jan 25 18:16:11 2005
++++ Makefile.in Tue Jan 25 18:17:02 2005
+@@ -684,7 +684,7 @@
+
+ install-data-am: install-man
+
+-install-exec-am: install-binPROGRAMS install-sysconfDATA
++install-exec-am: install-binPROGRAMS
+
+ install-info: install-info-am
+
diff -ruN openvmps.orig/files/patch-daemon.c openvmps/files/patch-daemon.c
--- openvmps.orig/files/patch-daemon.c Wed Dec 31 18:00:00 1969
+++ openvmps/files/patch-daemon.c Tue Jan 25 18:03:07 2005
@@ -0,0 +1,14 @@
+--- daemon.c.orig Tue Jan 25 18:00:12 2005
++++ daemon.c Tue Jan 25 18:00:47 2005
+@@ -44,7 +44,10 @@
+
+ {
+ register int childpid;
+-
++#ifdef VMPS_CHECK_BSD
++ int fd;
++#endif
++
+ #ifdef SIGTTOU
+ signal(SIGTTOU, SIG_IGN);
+ #endif
diff -ruN openvmps.orig/files/vmps.db openvmps/files/vmps.db
--- openvmps.orig/files/vmps.db Tue Jan 25 17:53:00 2005
+++ openvmps/files/vmps.db Wed Dec 31 18:00:00 1969
@@ -1,49 +0,0 @@
-! $FreeBSD: ports/net-mgmt/openvmps/files/vmps.db,v 1.1 2003/10/08 02:57:42 marcus Exp $
-!
-! Sample VLAN database file for OpenVMPS server
-!
-!vmps domain <domain-name>
-! The VMPS domain must be defined.
-!vmps mode { open | secure }
-! The default mode is open.
-!vmps fallback <vlan-name>
-!vmps no-domain-req { allow | deny }
-!
-! The default value is allow.
-vmps domain CHANGE_THIS
-vmps mode open
-vmps fallback --NONE--
-vmps no-domain-req deny
-!
-!
-!MAC Addresses
-!
-!vmps-mac-addrs
-!
-! address <addr> vlan-name <vlan_name>
-!
-! address 00a0.2460.c452 vlan-name ST
-! address 10a0.2460.c452 vlan-name ST
-! address 20a0.2460.c452 vlan-name ST
-! address 30a0.2460.c452 vlan-name ST
-! address 40a0.2460.c452 vlan-name ST
-! address 0090.278c.59d5 vlan-name ST
-!
-!Port Groups
-!
-!vmps-port-group <group-name>
-! device <device-id> { port <port-name> | all-ports }
-!
-!
-!
-!VLAN groups
-!
-!vmps-vlan-group <group-name>
-! vlan-name <vlan-name>
-!
-!
-!VLAN port Policies
-!
-!vmps-port-policies {vlan-name <vlan_name> | vlan-group <group-name> }
-! { port-group <group-name> | device <device-id> port <port-name> }
-!
--- openvmps-1.3.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list