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