aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorolivier <olivier@FreeBSD.org>2016-03-11 22:06:39 +0800
committerolivier <olivier@FreeBSD.org>2016-03-11 22:06:39 +0800
commit0949352c0756bc39531c391e0d0660797c46dc2a (patch)
tree8d7e5a6186c4f56f75c7768e9f6e0ffee391d835 /net
parent873502b1152cb51e481ea5fbb8540442c642c4fb (diff)
downloadfreebsd-ports-gnome-0949352c0756bc39531c391e0d0660797c46dc2a.tar.gz
freebsd-ports-gnome-0949352c0756bc39531c391e0d0660797c46dc2a.tar.zst
freebsd-ports-gnome-0949352c0756bc39531c391e0d0660797c46dc2a.zip
- Update to 2.3.2
- Fix build on i386 PR: 202959 Submitted by: hrs Approved by: jadawin Differential Revision: https://reviews.freebsd.org/D5608
Diffstat (limited to 'net')
-rw-r--r--net/pimd/Makefile13
-rw-r--r--net/pimd/distinfo6
-rw-r--r--net/pimd/files/pimd.in10
-rw-r--r--net/pimd/pkg-plist1
4 files changed, 18 insertions, 12 deletions
diff --git a/net/pimd/Makefile b/net/pimd/Makefile
index f584fa8e5c10..f1f94602a1c6 100644
--- a/net/pimd/Makefile
+++ b/net/pimd/Makefile
@@ -1,22 +1,29 @@
# $FreeBSD$
PORTNAME= pimd
-PORTVERSION= 2.2.0
+PORTVERSION= 2.3.2
CATEGORIES= net
MAINTAINER= olivier@FreeBSD.org
COMMENT= Lightweight stand-alone PIM-SM v2 multicast routing daemon
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= troglobit
+GH_PROJECT= libite:libite
+GH_TAGNAME= v1.4.4:libite
USES= tar:bzip2
+USE_RC_SUBR= ${PORTNAME}
+
HAS_CONFIGURE= yes
+MAKE_ARGS+= prefix="${PREFIX}" sysconfdir="${PREFIX}/etc/"
-post-patch:
- ${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/pathnames.h
+post-extract:
+ cd ${WRKSRC} && ${RMDIR} libite && \
+ ${MV} ${WRKSRC_libite} ${WRKSRC}/libite
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pimd ${STAGEDIR}${PREFIX}/sbin/
diff --git a/net/pimd/distinfo b/net/pimd/distinfo
index 5873d369377c..04f5043941d3 100644
--- a/net/pimd/distinfo
+++ b/net/pimd/distinfo
@@ -1,2 +1,4 @@
-SHA256 (troglobit-pimd-2.2.0_GH0.tar.gz) = a6d969e235323852afdd1c9aebc15a2ff1e4da75e8277a736b3be9b2b484e30e
-SIZE (troglobit-pimd-2.2.0_GH0.tar.gz) = 223012
+SHA256 (troglobit-pimd-2.3.2_GH0.tar.gz) = b6cda75a55952fac06fdc50a95ab7ee2f94f8568de365c49c49a2acf078488eb
+SIZE (troglobit-pimd-2.3.2_GH0.tar.gz) = 237277
+SHA256 (troglobit-libite-v1.4.4_GH0.tar.gz) = c4327e7d3ade7efb191d02a4f9ffaf7b8e86e7e7f91a2f7e8b600e2102330607
+SIZE (troglobit-libite-v1.4.4_GH0.tar.gz) = 36086
diff --git a/net/pimd/files/pimd.in b/net/pimd/files/pimd.in
index 80c04ebc3a1e..d3339b5e9c70 100644
--- a/net/pimd/files/pimd.in
+++ b/net/pimd/files/pimd.in
@@ -12,15 +12,13 @@
. /etc/rc.subr
-pimd_enable=${pimd_enable-"NO"}
-
name="pimd"
-rcvar=${name}_enable
-
-command="/usr/local/sbin/${name}"
-
+rcvar="${name}_enable"
+command="%%PREFIX%%/sbin/${name}"
+required_files="%%PREFIX%%/etc/${name}.conf"
extra_commands=reload
load_rc_config $name
+: ${pimd_enable="NO"}
run_rc_command "$1"
diff --git a/net/pimd/pkg-plist b/net/pimd/pkg-plist
index 9bf1546dbcaa..ff99d5080af0 100644
--- a/net/pimd/pkg-plist
+++ b/net/pimd/pkg-plist
@@ -1,4 +1,3 @@
@sample etc/pimd.conf.sample
-etc/rc.d/pimd
sbin/pimd
man/man8/pimd.8.gz