diff options
author | jlam <jlam@pkgsrc.org> | 2001-12-14 22:30:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-12-14 22:30:07 +0000 |
commit | 11e44565d5ea339d08c2cb539de92f667661bb17 (patch) | |
tree | c4d011dccfb86f775ef2fa76b1272e0d87609163 /net/openslp/Makefile | |
parent | d71f0b8699929afec8dea529735501969b3154e0 (diff) | |
download | pkgsrc-11e44565d5ea339d08c2cb539de92f667661bb17.tar.gz |
Update net/openslp to 1.0.6. This package now uses the general INSTALL
scripts and honors ${PKG_SYSCONFDIR}. Changes from version 1.0.2 include:
* bug fixes
* set FRESH flag for registrations; OpenSLP ignores this flag, but other DA
implementations like K&A SLP do not.
* Minor changes to the way that settings from /etc/slp.conf affect active and
passive discovery.
* Changed declaration and definition for strncasecmp and strcasecmp so that
there is only one place for them in slp_compare.c and slp_compare.h
* Honor scopes in SrvRqsts for the special "service:directory-agent" type
* Added code to use IP address in agent url for those operating systems where
gethostname() does not return a fully qualified domain name (FQDN).
* Added code to log parse errors and dump bad messages to the log
* Fixed reconnect code to be able to interoperate with inefficient DAs that
close the stream after each srvreg/srvack exchange. The Mac OS/X DA is
reported to have this problem
* Removed calls that (sort of) enforce service-url checking. This is for the
benefit of AFP's usage of SRVLOC. Developers are now trusted not to
register ambiguous service-urls.
Diffstat (limited to 'net/openslp/Makefile')
-rw-r--r-- | net/openslp/Makefile | 46 |
1 files changed, 17 insertions, 29 deletions
diff --git a/net/openslp/Makefile b/net/openslp/Makefile index fe2a2193e2a..a871d934467 100644 --- a/net/openslp/Makefile +++ b/net/openslp/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.3 2001/09/14 02:56:25 jlam Exp $ +# $NetBSD: Makefile,v 1.4 2001/12/14 22:30:07 jlam Exp $ -DISTNAME= openslp-1.0.2 +DISTNAME= openslp-1.0.6 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openslp/} @@ -8,40 +8,28 @@ MAINTAINER= jlam@netbsd.org HOMEPAGE= http://www.openslp.org/ COMMENT= Open-source implementation of the Service Location Protocol -USE_BUILDLINK_ONLY= # defined -GNU_CONFIGURE= # defined -CONFIGURE_ARGS+= --sysconfdir=/etc +USE_BUILDLINK_ONLY= YES +GNU_CONFIGURE= YES +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --localstatedir=/var -USE_LIBTOOL= # defined +USE_LIBTOOL= YES LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig -DEINSTALL_FILE= ${WRKDIR}/DEINSTALL -INSTALL_FILE= ${WRKDIR}/INSTALL - -FILES_SUBST= PREFIX=${PREFIX} -FILES_SUBST+= CAT=${CAT:Q} -FILES_SUBST+= CHMOD=${CHMOD:Q} -FILES_SUBST+= CMP=${CMP:Q} -FILES_SUBST+= CP=${CP:Q} -FILES_SUBST+= ECHO=${ECHO:Q} -FILES_SUBST+= MKDIR=${MKDIR:Q} -FILES_SUBST+= RM=${RM:Q} -FILES_SUBST+= RMDIR=${RMDIR:Q} -FILES_SUBST+= TRUE=${TRUE:Q} -FILES_SUBST_SED= ${FILES_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/} - -DOCDIR= ${PREFIX}/share/doc/openslp -EGDIR= ${PREFIX}/share/examples/openslp -HTMLDIR= ${PREFIX}/share/doc/html/openslp +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 +RCD_SCRIPTS= slpd post-extract: - ${FIND} ${WRKSRC}/doc -name "CVS" -print | ${XARGS} ${RM} -rf + ${FIND} ${WRKSRC} -name "CVS" -print | ${XARGS} ${RM} -rf pre-install: - ${SED} ${FILES_SUBST_SED} ${FILESDIR}/slpd.sh > ${WRKDIR}/slpd.sh - ${SED} ${FILES_SUBST_SED} ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE} - ${SED} ${FILES_SUBST_SED} ${PKGDIR}/INSTALL > ${INSTALL_FILE} + @${SED} ${FILES_SUBST_SED} ${FILESDIR}/slpd.sh > ${WRKDIR}/slpd.sh post-install: ${INSTALL_SCRIPT} ${WRKDIR}/slpd.sh ${PREFIX}/etc/rc.d/slpd @@ -53,6 +41,6 @@ post-install: cd ${WRKSRC}/doc; ${CP} -r html/* ${HTMLDIR} ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCDIR} ${HTMLDIR} ${CHMOD} -R a-w ${DOCDIR} ${HTMLDIR} - PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL +.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" |