Update to openvmps-1.4.03.
Add an rc script.
This commit is contained in:
parent
a1654aa6d2
commit
1b83748694
@ -1,11 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2011/03/14 09:17:01 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2011/06/14 05:52:03 ajacoutot Exp $
|
||||
|
||||
COMMENT= free implementation of Cisco VMPS
|
||||
|
||||
V= 1.4.01
|
||||
V= 1.4.03
|
||||
DISTNAME= vmpsd-${V}
|
||||
PKGNAME= openvmps-${V}
|
||||
REVISION= 0
|
||||
CATEGORIES= net
|
||||
|
||||
HOMEPAGE= http://vmps.sourceforge.net/
|
||||
@ -18,14 +17,15 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB += c
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vmps/}
|
||||
|
||||
WANTLIB= c
|
||||
|
||||
WRKDIST= ${WRKDIR}/vmpsd
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
USE_GROFF = Yes
|
||||
USE_GROFF= Yes
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/vmpsd.1
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openvmps
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (vmpsd-1.4.01.tar.gz) = uV9jkPCjQPT5nU6PciActA==
|
||||
RMD160 (vmpsd-1.4.01.tar.gz) = Qy6QSDgHNoG4n1Xdnzuk8bqQxYU=
|
||||
SHA1 (vmpsd-1.4.01.tar.gz) = K9+sE1oKOxFdXiMwHUpdW2cqxao=
|
||||
SHA256 (vmpsd-1.4.01.tar.gz) = BYik90cGjBwEVysgezxUgsCbQZejFn0LDh+9PPYlHBg=
|
||||
SIZE (vmpsd-1.4.01.tar.gz) = 196614
|
||||
MD5 (vmpsd-1.4.03.tar.gz) = bIoxhJW0r/3qUudrUsUbNA==
|
||||
RMD160 (vmpsd-1.4.03.tar.gz) = Wk6Nu8zyV+NoKi/V5qGbOzwnEbQ=
|
||||
SHA1 (vmpsd-1.4.03.tar.gz) = TE5YAy3fO5TCW+Qw7Zf27rn0/uk=
|
||||
SHA256 (vmpsd-1.4.03.tar.gz) = 1cxwn4iEAHe+0IJeJ+XuKKx6Dhs+v/xzgWzPrGcQ+rQ=
|
||||
SIZE (vmpsd-1.4.03.tar.gz) = 193862
|
||||
|
@ -1,13 +1,24 @@
|
||||
$OpenBSD: patch-vmpsd_1,v 1.2 2009/11/23 08:25:11 benoit Exp $
|
||||
$OpenBSD: patch-vmpsd_1,v 1.3 2011/06/14 05:52:03 ajacoutot Exp $
|
||||
--- vmpsd.1.orig Sun Feb 1 23:28:48 2009
|
||||
+++ vmpsd.1 Sat Nov 21 17:12:03 2009
|
||||
@@ -75,9 +75,6 @@ will listen on. Defaults to 1589.
|
||||
+++ vmpsd.1 Tue Jun 14 07:49:16 2011
|
||||
@@ -36,8 +36,8 @@ to stderr.
|
||||
.B -f " config file"
|
||||
Specify the configuration file that
|
||||
.I vmpsd
|
||||
-will use. The program will fail without this option, as currently there is no
|
||||
-default set.
|
||||
+will use.
|
||||
+Defaults to ${SYSCONFDIR}/vmpsd.db.
|
||||
.TP
|
||||
.B -l " log level"
|
||||
Set the log level
|
||||
@@ -74,9 +74,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 gmail
|
||||
|
12
net/openvmps/patches/patch-vmpsd_c
Normal file
12
net/openvmps/patches/patch-vmpsd_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-vmpsd_c,v 1.1 2011/06/14 05:52:03 ajacoutot Exp $
|
||||
--- vmpsd.c.orig Tue Jun 14 07:49:25 2011
|
||||
+++ vmpsd.c Tue Jun 14 07:49:34 2011
|
||||
@@ -112,7 +112,7 @@ int main(int argc, char **argv)
|
||||
|
||||
bind_address.s_addr = INADDR_ANY;
|
||||
strncpy(db_fname,SYSCONFDIR,240);
|
||||
- strcat(db_fname,"/vlan.db");
|
||||
+ strcat(db_fname,"/vmpsd.db");
|
||||
|
||||
if ( !parse_options(argc,argv) ) {
|
||||
usage();
|
@ -1,6 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2009/11/23 08:25:15 benoit Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.3 2011/06/14 05:52:03 ajacoutot Exp $
|
||||
@bin bin/vmpsd
|
||||
@man man/man1/vmpsd.1
|
||||
share/examples/openvmps/
|
||||
share/examples/openvmps/vlan.db
|
||||
@sample ${SYSCONFDIR}/vmps.db
|
||||
@sample ${SYSCONFDIR}/vmpsd.db
|
||||
@rcscript ${RCDIR}/vmpsd
|
||||
|
9
net/openvmps/pkg/vmpsd.rc
Normal file
9
net/openvmps/pkg/vmpsd.rc
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: vmpsd.rc,v 1.1 2011/06/14 05:52:03 ajacoutot Exp $
|
||||
|
||||
daemon="${TRUEPREFIX}/bin/vmpsd"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
rc_cmd $1
|
Loading…
Reference in New Issue
Block a user