mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
Add new port: net/pimd
PR: 196346 Submitted by: Olivier Cochard pimd is a lightweight, stand-alone implementation of Protocol Independent Multicast-Sparse Mode
This commit is contained in:
parent
835267acf6
commit
f3609d50e6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378532
@ -856,6 +856,7 @@
|
||||
SUBDIR += php56-sockets
|
||||
SUBDIR += php56-xmlrpc
|
||||
SUBDIR += phpldapadmin
|
||||
SUBDIR += pimd
|
||||
SUBDIR += pimdd
|
||||
SUBDIR += pipsecd
|
||||
SUBDIR += pjsip
|
||||
|
30
net/pimd/Makefile
Normal file
30
net/pimd/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pimd
|
||||
PORTVERSION= 2.2.0
|
||||
CATEGORIES= net
|
||||
|
||||
MAINTAINER= olivier@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>
|
2
net/pimd/distinfo
Normal file
2
net/pimd/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (pimd-2.2.0.tar.bz2) = d57b10bad740bcb1ca5a7f542b3d8b29455e0ed6b40a8881e4d8f6a431921bd9
|
||||
SIZE (pimd-2.2.0.tar.bz2) = 223065
|
26
net/pimd/files/pimd.in
Normal file
26
net/pimd/files/pimd.in
Normal file
@ -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"
|
||||
|
4
net/pimd/pkg-descr
Normal file
4
net/pimd/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
pimd is a lightweight, stand-alone implementation of Protocol Independent
|
||||
Multicast-Sparse Mode
|
||||
|
||||
WWW: http://troglobit.com/pimd.html
|
4
net/pimd/pkg-plist
Normal file
4
net/pimd/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
@sample etc/pimd.conf.sample
|
||||
etc/rc.d/pimd
|
||||
sbin/pimd
|
||||
man/man8/pimd.8.gz
|
Loading…
Reference in New Issue
Block a user