svn commit: r378532 - in head/net: . pimd pimd/files
John Marino
marino at FreeBSD.org
Fri Feb 6 12:52:54 UTC 2015
Author: marino
Date: Fri Feb 6 12:52:52 2015
New Revision: 378532
URL: https://svnweb.freebsd.org/changeset/ports/378532
QAT: https://qat.redports.org/buildarchive/r378532/
Log:
Add new port: net/pimd
PR: 196346
Submitted by: Olivier Cochard
pimd is a lightweight, stand-alone implementation of Protocol Independent
Multicast-Sparse Mode
Added:
head/net/pimd/
head/net/pimd/Makefile (contents, props changed)
head/net/pimd/distinfo (contents, props changed)
head/net/pimd/files/
head/net/pimd/files/pimd.in (contents, props changed)
head/net/pimd/pkg-descr (contents, props changed)
head/net/pimd/pkg-plist (contents, props changed)
Modified:
head/net/Makefile
Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile Fri Feb 6 12:37:39 2015 (r378531)
+++ head/net/Makefile Fri Feb 6 12:52:52 2015 (r378532)
@@ -856,6 +856,7 @@
SUBDIR += php56-sockets
SUBDIR += php56-xmlrpc
SUBDIR += phpldapadmin
+ SUBDIR += pimd
SUBDIR += pimdd
SUBDIR += pipsecd
SUBDIR += pjsip
Added: head/net/pimd/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/pimd/Makefile Fri Feb 6 12:52:52 2015 (r378532)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME= pimd
+PORTVERSION= 2.2.0
+CATEGORIES= net
+
+MAINTAINER= olivier at cochard.me
+COMMENT= Lightweight stand-alone PIM-SM v2 multicast routing daemon
+
+LICENSE= BSD3CLAUSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= troglobit
+GH_COMMIT= d8bd641
+
+USES= tar:bzip2
+HAS_CONFIGURE= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/pathnames.h
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/pimd ${STAGEDIR}${PREFIX}/sbin/
+ ${INSTALL_DATA} ${WRKSRC}/pimd.conf \
+ ${STAGEDIR}${PREFIX}/etc/pimd.conf.sample
+ ${INSTALL_SCRIPT} ${FILESDIR}/pimd.in \
+ ${STAGEDIR}${PREFIX}/etc/rc.d/pimd
+ ${INSTALL_MAN} ${WRKSRC}/pimd.8 ${STAGEDIR}${PREFIX}/man/man8/
+
+.include <bsd.port.mk>
Added: head/net/pimd/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/pimd/distinfo Fri Feb 6 12:52:52 2015 (r378532)
@@ -0,0 +1,2 @@
+SHA256 (pimd-2.2.0.tar.bz2) = d57b10bad740bcb1ca5a7f542b3d8b29455e0ed6b40a8881e4d8f6a431921bd9
+SIZE (pimd-2.2.0.tar.bz2) = 223065
Added: head/net/pimd/files/pimd.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/pimd/files/pimd.in Fri Feb 6 12:52:52 2015 (r378532)
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# PROVIDE: pimd
+# REQUIRE: netif routing
+# KEYWORD: nojail
+
+#
+# Add the following to /etc/rc.conf[.local] to enable this service
+#
+# pimd_enable="YES"
+#
+
+. /etc/rc.subr
+
+pimd_enable=${pimd_enable-"NO"}
+
+name="pimd"
+rcvar=${name}_enable
+
+command="/usr/local/sbin/${name}"
+
+extra_commands=reload
+
+load_rc_config $name
+run_rc_command "$1"
+
Added: head/net/pimd/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/pimd/pkg-descr Fri Feb 6 12:52:52 2015 (r378532)
@@ -0,0 +1,4 @@
+pimd is a lightweight, stand-alone implementation of Protocol Independent
+Multicast-Sparse Mode
+
+WWW: http://troglobit.com/pimd.html
Added: head/net/pimd/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/pimd/pkg-plist Fri Feb 6 12:52:52 2015 (r378532)
@@ -0,0 +1,4 @@
+ at sample etc/pimd.conf.sample
+etc/rc.d/pimd
+sbin/pimd
+man/man8/pimd.8.gz
More information about the svn-ports-all
mailing list