From 70887addf6188c62c51f7634e2b308098fbd971b Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Wed, 7 Aug 2002 18:29:56 +0000 Subject: Update to 1.0.9a. * Fix some style nits * Install the RC script as 001slpd.sh.sample so that when enabled, slpd starts before Netatalk's afpd so that afpd can correctly register with slpd. --- net/openslp/Makefile | 13 ++++++------- net/openslp/distinfo | 2 +- net/openslp/pkg-plist | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/net/openslp/Makefile b/net/openslp/Makefile index 61b7cf3bec38..d076b75d917b 100644 --- a/net/openslp/Makefile +++ b/net/openslp/Makefile @@ -6,8 +6,7 @@ # PORTNAME= openslp -PORTVERSION= 1.0.8a -PORTREVISION= 1 +PORTVERSION= 1.0.9a CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= openslp @@ -20,7 +19,7 @@ USE_OPENSSL= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/openslp \ - --localstatedir=/var + --localstatedir=/var CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} .if defined(WITH_SLP_SECURITY) @@ -34,17 +33,17 @@ CONFIGURE_ARGS+= --enable-async-api INSTALLS_SHLIB= yes post-extract: - (cd ${WRKSRC}; \ + @(cd ${WRKSRC}; \ ${FIND} doc -type f -path '*/CVS/*' -delete; \ ${FIND} doc -type d -name CVS -delete) - @${SED} -e "s=%%PREFIX%%=${PREFIX}=g" ${FILESDIR}/slpd.sh.sample \ - > ${WRKSRC}/slpd.sh.sample + @${SED} -e "s,%%PREFIX%%,${PREFIX},g" \ + ${FILESDIR}/slpd.sh.sample > ${WRKSRC}/slpd.sh.sample post-install: .for FILE in slp.conf slp.reg slp.spi ${INSTALL_DATA} ${WRKSRC}/etc/${FILE} ${PREFIX}/etc/openslp/${FILE}.default .endfor - ${INSTALL_SCRIPT} ${WRKSRC}/slpd.sh.sample ${PREFIX}/etc/rc.d/slpd.sh.sample + ${INSTALL_SCRIPT} ${WRKSRC}/slpd.sh.sample ${PREFIX}/etc/rc.d/001slpd.sh.sample .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} (cd ${INSTALL_WRKSRC}/doc; \ diff --git a/net/openslp/distinfo b/net/openslp/distinfo index 8aac480e6355..fdcf7dde5243 100644 --- a/net/openslp/distinfo +++ b/net/openslp/distinfo @@ -1 +1 @@ -MD5 (openslp-1.0.8a.tar.gz) = 5399dc3f808006e6f3583184522e31e0 +MD5 (openslp-1.0.9a.tar.gz) = 6e0262a0135360e1fd2e24c3fb84d80e diff --git a/net/openslp/pkg-plist b/net/openslp/pkg-plist index 8a257ebc7d41..6d2a08dbe54d 100644 --- a/net/openslp/pkg-plist +++ b/net/openslp/pkg-plist @@ -9,7 +9,7 @@ etc/openslp/slp.conf.default etc/openslp/slp.spi.default @exec [ -f %B/slp.spi ] || cp %B/%f %B/slp.spi @dirrm etc/openslp -etc/rc.d/slpd.sh.sample +etc/rc.d/001slpd.sh.sample include/slp.h lib/libslp.so.1 lib/libslp.so -- cgit v1.2.3