Import openvmps-1.3
OpenVMPS is a substitute implementation of Cisco Virtual Membership Policy Server (on Catalyst [65]500 family of switches). It is used on Cisco LAN switches to dynamically assign ports to VLANs according to Ethernet Address. Because it was developed solely on infomation obtained by observing the network traffic between switches it is probably not complete but it is a working subset of the protocol. Note that it includes a patch from openvpms CVS that fixes a logging function format string Vulnerability.
This commit is contained in:
parent
98dcefc137
commit
4c2e4a1800
32
net/openvmps/Makefile
Normal file
32
net/openvmps/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/09/07 16:18:28 ajacoutot Exp $
|
||||
|
||||
COMMENT= free implementation of Cisco VMPS
|
||||
|
||||
V= 1.3
|
||||
DISTNAME= vmpsd-${V}
|
||||
PKGNAME= openvmps-${V}
|
||||
CATEGORIES= net
|
||||
|
||||
HOMEPAGE= http://vmps.sourceforge.net/
|
||||
|
||||
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vmps/}
|
||||
|
||||
WANTLIB= c
|
||||
|
||||
WRKDIST= ${WRKDIR}/vmpsd
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openvmps
|
||||
${INSTALL_DATA} ${WRKSRC}/vlan.db ${PREFIX}/share/examples/openvmps
|
||||
|
||||
.include <bsd.port.mk>
|
5
net/openvmps/distinfo
Normal file
5
net/openvmps/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (vmpsd-1.3.tar.gz) = B62GNDrXFclLneTFTGLT2w==
|
||||
RMD160 (vmpsd-1.3.tar.gz) = EYX71lTV0Ok5/foIFJ0evLP8DvI=
|
||||
SHA1 (vmpsd-1.3.tar.gz) = Oaj5JRkWkPIJ2fFgkyHyA2CBDPE=
|
||||
SHA256 (vmpsd-1.3.tar.gz) = b2vWxdHp/IYsJ894O8ur7yFhmqX+eYQjHrVeMuEcoUI=
|
||||
SIZE (vmpsd-1.3.tar.gz) = 95202
|
12
net/openvmps/patches/patch-Makefile_in
Normal file
12
net/openvmps/patches/patch-Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2007/09/07 16:18:28 ajacoutot Exp $
|
||||
--- Makefile.in.orig Fri Sep 7 17:47:15 2007
|
||||
+++ Makefile.in Fri Sep 7 17:47:34 2007
|
||||
@@ -684,7 +684,7 @@ info-am:
|
||||
|
||||
install-data-am: install-man
|
||||
|
||||
-install-exec-am: install-binPROGRAMS install-sysconfDATA
|
||||
+install-exec-am: install-binPROGRAMS
|
||||
|
||||
install-info: install-info-am
|
||||
|
14
net/openvmps/patches/patch-daemon_c
Normal file
14
net/openvmps/patches/patch-daemon_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-daemon_c,v 1.1.1.1 2007/09/07 16:18:28 ajacoutot Exp $
|
||||
--- daemon.c.orig Fri Sep 7 17:46:43 2007
|
||||
+++ daemon.c Fri Sep 7 17:47:06 2007
|
||||
@@ -45,6 +45,10 @@ daemon_start(ignsigcld)
|
||||
{
|
||||
register int childpid;
|
||||
|
||||
+#ifdef VMPS_CHECK_BSD
|
||||
+ int fd;
|
||||
+#endif
|
||||
+
|
||||
#ifdef SIGTTOU
|
||||
signal(SIGTTOU, SIG_IGN);
|
||||
#endif
|
17
net/openvmps/patches/patch-log_c
Normal file
17
net/openvmps/patches/patch-log_c
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-log_c,v 1.1.1.1 2007/09/07 16:18:28 ajacoutot Exp $
|
||||
--- log.c.orig Fri Sep 7 17:44:42 2007
|
||||
+++ log.c Fri Sep 7 17:45:33 2007
|
||||
@@ -27,11 +27,10 @@ void vmps_log(const int level, const char *fmt, ...)
|
||||
log_opened = 1;
|
||||
}
|
||||
vsnprintf(str, 256, fmt, ap);
|
||||
- syslog(LOG_INFO, str);
|
||||
+ syslog(LOG_INFO, "%s", str);
|
||||
|
||||
if ( debug ) {
|
||||
- fprintf(stderr,str);
|
||||
- fprintf(stderr,"\n");
|
||||
+ fprintf(stderr,"%s\n", str);
|
||||
}
|
||||
|
||||
va_end(ap);
|
13
net/openvmps/patches/patch-vmpsd_1
Normal file
13
net/openvmps/patches/patch-vmpsd_1
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-vmpsd_1,v 1.1.1.1 2007/09/07 16:18:28 ajacoutot Exp $
|
||||
--- vmpsd.1.orig Fri Sep 7 17:52:49 2007
|
||||
+++ vmpsd.1 Fri Sep 7 17:53:13 2007
|
||||
@@ -75,9 +75,6 @@ will listen on. Defaults to 1589.
|
||||
.SH "FILES"
|
||||
vmps.db
|
||||
|
||||
-.SH "SEE ALSO"
|
||||
-.B vmpsd.db(1)
|
||||
-
|
||||
.SH AUTHORS
|
||||
.PP
|
||||
Program: Dori Seliskar <dori_seliskar@select-tech.si>
|
7
net/openvmps/pkg/DESCR
Normal file
7
net/openvmps/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
OpenVMPS is a substitute implementation of Cisco Virtual Membership
|
||||
Policy Server (on Catalyst [65]500 family of switches).
|
||||
It is used on Cisco LAN switches to dynamically assign ports to VLANs
|
||||
according to Ethernet Address.
|
||||
Because it was developed solely on infomation obtained by observing the
|
||||
network traffic between switches it is probably not complete but it is a
|
||||
working subset of the protocol.
|
6
net/openvmps/pkg/PLIST
Normal file
6
net/openvmps/pkg/PLIST
Normal file
@ -0,0 +1,6 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/09/07 16:18:28 ajacoutot Exp $
|
||||
bin/vmpsd
|
||||
@man man/man1/vmpsd.1
|
||||
share/examples/openvmps/
|
||||
share/examples/openvmps/vlan.db
|
||||
@sample ${SYSCONFDIR}/vmps.db
|
Loading…
Reference in New Issue
Block a user