summaryrefslogtreecommitdiff
path: root/net/openslp
diff options
context:
space:
mode:
authorjlam <jlam>2002-01-31 17:00:50 +0000
committerjlam <jlam>2002-01-31 17:00:50 +0000
commit2a4b0261cbac5f96cf132897837f2432317218d7 (patch)
tree79454604426a558e039f1c702cb76b0a457f87be /net/openslp
parent78a4514d462621112c264dad844945b7c980cd29 (diff)
downloadpkgsrc-2a4b0261cbac5f96cf132897837f2432317218d7.tar.gz
Update net/openslp to 1.0.7. Relevant changes from version 1.0.6 include:
* Applied patch from Juergen Kreileder that provides the net.slp.multicastIF slp.conf setting. net.slp.multicastIF is useful in setting up OpenSLP on multi-homed machines where it is desireable to configure which interface should send multicast traffic. * Applied patch from Garth Bushell that fixes a problem where not enough memory was being allocated to hold an escaped string in SLPEscape(). * Changed slpd "daemonize" code to chdir() to "/" so that the PWD is not left unmountable.
Diffstat (limited to 'net/openslp')
-rw-r--r--net/openslp/Makefile26
-rw-r--r--net/openslp/distinfo6
2 files changed, 20 insertions, 12 deletions
diff --git a/net/openslp/Makefile b/net/openslp/Makefile
index a871d934467..55ac42fcda7 100644
--- a/net/openslp/Makefile
+++ b/net/openslp/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2001/12/14 22:30:07 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2002/01/31 17:00:50 jlam Exp $
-DISTNAME= openslp-1.0.6
+DISTNAME= openslp-1.0.7
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openslp/}
@@ -20,22 +20,30 @@ DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
HTMLDIR= ${PREFIX}/share/doc/html/${PKGBASE}
-CONF_FILES= ${EGDIR}/slp.conf ${PKG_SYSCONFDIR}/slp.conf
-CONF_FILES+= ${EGDIR}/slp.reg ${PKG_SYSCONFDIR}/slp.reg
-CONF_FILES+= ${EGDIR}/slp.spi ${PKG_SYSCONFDIR}/slp.spi
+CONFS= slp.conf slp.reg slp.spi
+CONF_FILES= # empty
+.for FILE in ${CONFS}
+CONF_FILES+= ${EGDIR}/${FILE} ${PKG_SYSCONFDIR}/${FILE}
+.endfor
RCD_SCRIPTS= slpd
post-extract:
${FIND} ${WRKSRC} -name "CVS" -print | ${XARGS} ${RM} -rf
pre-install:
- @${SED} ${FILES_SUBST_SED} ${FILESDIR}/slpd.sh > ${WRKDIR}/slpd.sh
+ @for script in ${RCD_SCRIPTS}; do \
+ ${SED} ${FILES_SUBST_SED} ${FILESDIR}/$${script}.sh \
+ > ${WRKDIR}/$${script}; \
+ done
post-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/slpd.sh ${PREFIX}/etc/rc.d/slpd
+ for script in ${RCD_SCRIPTS}; do \
+ ${INSTALL_SCRIPT} ${WRKDIR}/$${script} \
+ ${PREFIX}/etc/rc.d/$${script}; \
+ done
${INSTALL_DATA_DIR} ${DOCDIR} ${EGDIR} ${HTMLDIR}
- cd ${WRKSRC}/etc; for file in slp.conf slp.reg slp.spi; do \
- ${INSTALL_DATA} $${file} ${EGDIR}; \
+ cd ${WRKSRC}/etc; for file in ${CONFS}; do \
+ ${INSTALL_DATA} $${file} ${EGDIR}/$${file}; \
done
cd ${WRKSRC}/doc; ${CP} -r rfc/* ${DOCDIR}
cd ${WRKSRC}/doc; ${CP} -r html/* ${HTMLDIR}
diff --git a/net/openslp/distinfo b/net/openslp/distinfo
index a5613ee086b..33e2448bd16 100644
--- a/net/openslp/distinfo
+++ b/net/openslp/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2001/12/14 22:30:07 jlam Exp $
+$NetBSD: distinfo,v 1.4 2002/01/31 17:00:50 jlam Exp $
-SHA1 (openslp-1.0.6.tar.gz) = 1ce55daf3e74b383641bbc09a7694f4b6633843a
-Size (openslp-1.0.6.tar.gz) = 593530 bytes
+SHA1 (openslp-1.0.7.tar.gz) = 92d9ee09cf40b5316205e143833e870bb28798d0
+Size (openslp-1.0.7.tar.gz) = 598738 bytes
SHA1 (patch-aa) = a324a75ca0482f127abafba39cfa00f37d9f4ba9