11e44565d5
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.
46 lines
1.4 KiB
Makefile
46 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2001/12/14 22:30:07 jlam Exp $
|
|
|
|
DISTNAME= openslp-1.0.6
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openslp/}
|
|
|
|
MAINTAINER= jlam@netbsd.org
|
|
HOMEPAGE= http://www.openslp.org/
|
|
COMMENT= Open-source implementation of the Service Location Protocol
|
|
|
|
USE_BUILDLINK_ONLY= YES
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --localstatedir=/var
|
|
|
|
USE_LIBTOOL= YES
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
|
|
|
|
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} -name "CVS" -print | ${XARGS} ${RM} -rf
|
|
|
|
pre-install:
|
|
@${SED} ${FILES_SUBST_SED} ${FILESDIR}/slpd.sh > ${WRKDIR}/slpd.sh
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/slpd.sh ${PREFIX}/etc/rc.d/slpd
|
|
${INSTALL_DATA_DIR} ${DOCDIR} ${EGDIR} ${HTMLDIR}
|
|
cd ${WRKSRC}/etc; for file in slp.conf slp.reg slp.spi; do \
|
|
${INSTALL_DATA} $${file} ${EGDIR}; \
|
|
done
|
|
cd ${WRKSRC}/doc; ${CP} -r rfc/* ${DOCDIR}
|
|
cd ${WRKSRC}/doc; ${CP} -r html/* ${HTMLDIR}
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCDIR} ${HTMLDIR}
|
|
${CHMOD} -R a-w ${DOCDIR} ${HTMLDIR}
|
|
|
|
.include "../../mk/bsd.pkg.install.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|