Resurrected port: net-mgmt/openvmps
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. WWW: http://vmps.sourceforge.net/ Submitted by: Vladimir Pushkar <vladimir.pushkar@gmail.com>
This commit is contained in:
parent
24b2ad8d17
commit
81aea4d3ca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=409258
@ -187,6 +187,7 @@
|
||||
SUBDIR += ocsinventory-ng
|
||||
SUBDIR += omping
|
||||
SUBDIR += openlldp
|
||||
SUBDIR += openvmps
|
||||
SUBDIR += p0f
|
||||
SUBDIR += p0f2
|
||||
SUBDIR += p5-AnyEvent-SNMP
|
||||
|
28
net-mgmt/openvmps/Makefile
Normal file
28
net-mgmt/openvmps/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# Created by: Craig Boston <craig@yekse.gank.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= openvmps
|
||||
PORTVERSION= 1.4.06
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= SF/vmps/vmpsd/${PORTVERSION}
|
||||
DISTNAME= vmpsd-${PORTVERSION}
|
||||
|
||||
MAINTAINER= vladimir.pushkar@gmail.com
|
||||
COMMENT= GPL implementation of the VMPS protocol
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
USE_RC_SUBR= vmpsd
|
||||
|
||||
USES= gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS=--bindir=${PREFIX}/sbin
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/^install-exec-am:/s|install-sysconfDATA||' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/vlan.db ${STAGEDIR}${PREFIX}/etc/vmps.db.sample
|
||||
|
||||
.include <bsd.port.mk>
|
2
net-mgmt/openvmps/distinfo
Normal file
2
net-mgmt/openvmps/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (vmpsd-1.4.06.tar.gz) = deda56362c8de967e1b2b7e22f4e0e0b9fcedeaabffebb345b2be02360bdb0b5
|
||||
SIZE (vmpsd-1.4.06.tar.gz) = 121063
|
29
net-mgmt/openvmps/files/vmpsd.in
Normal file
29
net-mgmt/openvmps/files/vmpsd.in
Normal file
@ -0,0 +1,29 @@
|
||||
#!/bin/sh
|
||||
|
||||
# $FreeBSD$
|
||||
|
||||
# PROVIDE: vmpsd
|
||||
# REQUIRE: DAEMON
|
||||
# KEYWORD: shutdown
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name=vmpsd
|
||||
rcvar=vmpsd_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
# Define these vmpsd_* variables in one of these files:
|
||||
# /etc/rc.conf
|
||||
# /etc/rc.conf.local
|
||||
# /etc/rc.conf.d/vmpsd
|
||||
#
|
||||
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
||||
|
||||
: ${vmpsd_enable:=NO} # Enable vmpsd
|
||||
: ${vmpsd_program:=%%PREFIX%%/sbin/vmpsd} # Location of vmpsd
|
||||
: ${vmpsd_flags=-f /usr/local/etc/vmps.db} # Flags to vmpsd program
|
||||
|
||||
command=%%PREFIX%%/sbin/${name}
|
||||
|
||||
run_rc_command $1
|
5
net-mgmt/openvmps/pkg-descr
Normal file
5
net-mgmt/openvmps/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
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.
|
||||
|
||||
WWW: http://vmps.sourceforge.net/
|
3
net-mgmt/openvmps/pkg-plist
Normal file
3
net-mgmt/openvmps/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
@sample etc/vmps.db.sample
|
||||
sbin/vmpsd
|
||||
man/man1/vmpsd.1.gz
|
Loading…
Reference in New Issue
Block a user