Update to version 1.4.04
PR: ports/172047 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Feature safe: yes
This commit is contained in:
parent
31b19ee121
commit
c7e7ccd7e9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307289
6 changed files with 27 additions and 39 deletions
|
@ -2,21 +2,20 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= openvmps
|
||||
PORTVERSION= 1.3
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.4.04
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= SF/vmps/vmpsd/${PORTVERSION}
|
||||
DISTNAME= vmpsd-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A GPL implementation of the VMPS protocol
|
||||
COMMENT= GPL implementation of the VMPS protocol
|
||||
|
||||
WRKSRC= ${WRKDIR}/vmpsd
|
||||
USE_RC_SUBR= vpmsd
|
||||
LICENSE= GPLv2
|
||||
|
||||
USE_RC_SUBR= vmpsd
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS=--bindir=${PREFIX}/sbin
|
||||
|
||||
MAN1= vmpsd.1
|
||||
|
@ -27,11 +26,14 @@ MAN1= vmpsd.1
|
|||
IGNORE= does not run correctly on amd64 architecture, see ports/136376
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/^install-exec-am:/s|install-sysconfDATA||' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
${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 ; \
|
||||
fi
|
||||
${INSTALL_DATA} ${WRKSRC}/vlan.db ${PREFIX}/etc/vmps.db.sample
|
||||
.if !exists(${PREFIX}/etc/vmps.db)
|
||||
cd ${PREFIX}/etc && ${CP} -p vmps.db.sample vmps.db
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (vmpsd-1.3.tar.gz) = 6f6bd6c5d1e9fc862c27cf783bcbabef21619aa5fe7984231eb55e32e11ca142
|
||||
SIZE (vmpsd-1.3.tar.gz) = 95202
|
||||
SHA256 (vmpsd-1.4.04.tar.gz) = 3b82ed9547eb126ffbefdd9b890870ebfac466c0bc93cfea1764a360772912ab
|
||||
SIZE (vmpsd-1.4.04.tar.gz) = 193900
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- 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
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
--- 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
|
11
net-mgmt/openvmps/files/patch-data.c
Normal file
11
net-mgmt/openvmps/files/patch-data.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- data.c.orig 2012-11-10 16:26:08.000000000 +0100
|
||||
+++ data.c 2012-11-10 16:27:30.000000000 +0100
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
void *xfree(void *p) {
|
||||
|
||||
- if (p == NULL) return;
|
||||
+ if (p == NULL) return NULL;
|
||||
vmps_log(DEBUG|SYSTEM, "FREE: %x",p);
|
||||
free(p);
|
||||
}
|
Loading…
Reference in a new issue