View | Details | Raw Unified | Return to bug 96054
Collapse All | Expand All

(-)siproxd/Makefile (-7 / +4 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	siproxd
8
PORTNAME=	siproxd
9
PORTVERSION=	0.5.11
9
PORTVERSION=	0.5.12
10
PORTREVISION=	1
11
CATEGORIES=	net
10
CATEGORIES=	net
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=	siproxd
12
MASTER_SITE_SUBDIR=	siproxd
Lines 17-25 Link Here
17
16
18
LIB_DEPENDS=	osip2.3:${PORTSDIR}/net/libosip2
17
LIB_DEPENDS=	osip2.3:${PORTSDIR}/net/libosip2
19
18
20
USE_REINPLACE=	yes
21
USE_GETOPT_LONG=yes
19
USE_GETOPT_LONG=yes
22
USE_RC_SUBR=	yes
20
USE_RC_SUBR=	siproxd.sh
23
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
24
CONFIGURE_TARGET=	--with-libosip-prefix=${PREFIX}
22
CONFIGURE_TARGET=	--with-libosip-prefix=${PREFIX}
25
23
Lines 27-34 Link Here
27
PORTDOCS2=	FAQ KNOWN_BUGS RFC3261_compliance.txt \
25
PORTDOCS2=	FAQ KNOWN_BUGS RFC3261_compliance.txt \
28
		sample_cfg_budgetone.txt sample_cfg_x-lite.txt
26
		sample_cfg_budgetone.txt sample_cfg_x-lite.txt
29
PORTDOCS=	${PORTDOCS1} ${PORTDOCS2}
27
PORTDOCS=	${PORTDOCS1} ${PORTDOCS2}
30
PLIST_FILES=	etc/rc.d/siproxd.sh etc/siproxd.conf.example \
28
PLIST_FILES=	etc/siproxd.conf.example etc/siproxd_passwd.cfg sbin/siproxd
31
		etc/siproxd_passwd.cfg sbin/siproxd
32
29
33
.include <bsd.port.pre.mk>
30
.include <bsd.port.pre.mk>
34
31
Lines 50-56 Link Here
50
	PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
47
	PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
51
	@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
48
	@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
52
		-e 's|%%RC_SUBR%%|${RC_SUBR}|g' \
49
		-e 's|%%RC_SUBR%%|${RC_SUBR}|g' \
53
		${FILESDIR}/siproxd.sh > ${PREFIX}/etc/rc.d/siproxd.sh
50
		${FILESDIR}/siproxd.sh.in > ${PREFIX}/etc/rc.d/siproxd.sh
54
	@${CHMOD} 755 ${PREFIX}/etc/rc.d/siproxd.sh
51
	@${CHMOD} 755 ${PREFIX}/etc/rc.d/siproxd.sh
55
52
56
.include <bsd.port.post.mk>
53
.include <bsd.port.post.mk>
(-)siproxd/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (siproxd-0.5.11.tar.gz) = a614f60683f9ea9423573bc5d646c525
1
MD5 (siproxd-0.5.12.tar.gz) = 2fa02bd6f83070593bfc2d383ce614fa
2
SHA256 (siproxd-0.5.11.tar.gz) = 0f08a8840bc1d7324898583ecd9b29d12d9ba29194804d3104bb0347b75c000b
2
SHA256 (siproxd-0.5.12.tar.gz) = af49ee4b2956dbbc837087f8fd3355bae04e64afb40fb5d1e9a07d39deb7345e
3
SIZE (siproxd-0.5.11.tar.gz) = 216684
3
SIZE (siproxd-0.5.12.tar.gz) = 222772
(-)siproxd/files/patch-doc_siproxd.conf.example (-2 / +2 lines)
Lines 1-5 Link Here
1
--- doc/siproxd.conf.example.orig	Tue Apr 19 21:00:20 2005
1
--- doc/siproxd.conf.example.orig	Sun Jan  1 21:09:42 2006
2
+++ doc/siproxd.conf.example	Thu May  5 17:35:35 2005
2
+++ doc/siproxd.conf.example	Wed Apr 19 16:41:31 2006
3
@@ -17,8 +17,8 @@
3
@@ -17,8 +17,8 @@
4
 #    or a hostname that resolves to that address (use a dyndns address for
4
 #    or a hostname that resolves to that address (use a dyndns address for
5
 #    example).
5
 #    example).
(-)siproxd/files/siproxd.sh (-41 lines)
Lines 1-41 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD: ports/net/siproxd/files/siproxd.sh,v 1.2 2006/02/20 20:47:29 dougb Exp $
4
#
5
6
# PROVIDE: siproxd
7
# REQUIRE: DAEMON
8
#
9
# NOTE for FreeBSD 5.0+:
10
# If you want this script to start with the base rc scripts
11
# move siproxd.sh to /etc/rc.d/siproxd
12
13
prefix=%%PREFIX%%
14
15
# Define these siproxd_* variables in one of these files:
16
#	/etc/rc.conf
17
#	/etc/rc.conf.local
18
#	/etc/rc.conf.d/siproxd
19
#
20
# DO NOT CHANGE THESE DEFAULT VALUES HERE
21
#
22
siproxd_enable=${siproxd_enable:-"NO"}	# Enable siproxd
23
siproxd_flags=${siproxd_flags:-""}	# Flags to siproxd program
24
#siproxd_program="${prefix}/sbin/siproxd"	# Location of siproxd
25
26
. %%RC_SUBR%%
27
28
name="siproxd"
29
rcvar=`set_rcvar`
30
command="${prefix}/sbin/${name}"
31
32
load_rc_config $name
33
34
case $1 in
35
    start)
36
    run_rc_command "$1" 2> /dev/null
37
    ;;
38
    *)
39
    run_rc_command "$1"
40
    ;;
41
esac
(-)siproxd/files/siproxd.sh.in (+41 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD: ports/net/siproxd/files/siproxd.sh,v 1.2 2006/02/20 20:47:29 dougb Exp $
4
#
5
6
# PROVIDE: siproxd
7
# REQUIRE: DAEMON
8
#
9
# NOTE for FreeBSD 5.0+:
10
# If you want this script to start with the base rc scripts
11
# move siproxd.sh to /etc/rc.d/siproxd
12
13
prefix=%%PREFIX%%
14
15
# Define these siproxd_* variables in one of these files:
16
#	/etc/rc.conf
17
#	/etc/rc.conf.local
18
#	/etc/rc.conf.d/siproxd
19
#
20
# DO NOT CHANGE THESE DEFAULT VALUES HERE
21
#
22
siproxd_enable=${siproxd_enable:-"NO"}	# Enable siproxd
23
siproxd_flags=${siproxd_flags:-""}	# Flags to siproxd program
24
#siproxd_program="${prefix}/sbin/siproxd"	# Location of siproxd
25
26
. %%RC_SUBR%%
27
28
name="siproxd"
29
rcvar=`set_rcvar`
30
command="${prefix}/sbin/${name}"
31
32
load_rc_config $name
33
34
case $1 in
35
    start)
36
    run_rc_command "$1" 2> /dev/null
37
    ;;
38
    *)
39
    run_rc_command "$1"
40
    ;;
41
esac

Return to bug 96054