pkgsrc/chat/silc-server/Makefile
jschauma 7f70221135 Update to version 0.9.2 using patch provided by MAINTAINER in PR pkg/17304,
closing this PR.  Thank to Lubomir Sedlacik.

Changes from 0.9.1 to 0.9.2
 ===========================
* Support for multiple interfaces so now it's possible e.g. to listen
   on IPv4 and IPv6 within one daemon incarnation.

WARNING: you will need to update your silcd.conf to reflect changes!

* Added lots of new statistics updating that was missing from the
   server and router code.  Sending SIGUSR1 signal to server now dumps
   the current server statistics into /tmp directory.
* Implemented the SILC_CHANNEL_UMODE_QUIET mode that can be used
   to silence a user on a channel.

* Fixed various fatal bugs,in handling of malformed command payload,
   double free when announcing channel users to router, missing
   parameter in a function call that caused server crash when
   a non-allowed connection arrived.

* Fixed some backup data sending around the code to work better
   if the router is standalone router and fixed the router connectin
   when connecting to multiple routers.

* Fixed detach timeout handling to use Client ID and not the actual
   client entry which may be freed in the callback.
2002-06-21 15:57:16 +00:00

83 lines
2.6 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2002/06/21 15:57:16 jschauma Exp $
DISTNAME= silc-server-0.9.2
CATEGORIES= chat security
MASTER_SITES= http://www.silcnet.org/download/server/sources/ \
ftp://ftp.silcnet.org/silc/server/sources/ \
http://www.fi.silcnet.org/download/server/sources/ \
ftp://ftp.au.silcnet.org/pub/silcnet/server/sources/ \
http://www.us.silcnet.org/download/server/sources/ \
ftp://ftp.no.silcnet.org/pub/silc/server/sources/ \
http://www.at.silcnet.org/download/server/sources/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= salo@silcnet.org
HOMEPAGE= http://www.silcnet.org/
COMMENT= Server for the Secure Internet Live Conferencing (SILC) protocol
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
USE_BUILDLINK_ONLY= yes
.include "../../mk/bsd.prefs.mk"
SILCD_USER?= silcd
SILCD_GROUP?= silcd
PKG_GROUPS= ${SILCD_GROUP}
PKG_USERS= ${SILCD_USER}:${SILCD_GROUP}::SILC\\ Server\\ user
PKG_SYSCONFSUBDIR?= silcd
CONF_FILES_MODE= 0600
CONF_FILES+= ${PREFIX}/share/doc/silcd/silcd.conf.default \
${PKG_SYSCONFDIR}/silcd.conf
CONF_FILES+= ${PREFIX}/share/doc/silcd/silcalgs.conf.default \
${PKG_SYSCONFDIR}/silcalgs.conf
CONF_FILES_PERMS+= ${PREFIX}/share/doc/silcd/motd.txt.default \
${PKG_SYSCONFDIR}/motd.txt \
${ROOT_USER} ${ROOT_GROUP} 0644
SUPPORT_FILES_PERMS+= ${PREFIX}/share/doc/silcd/silcd.default \
${PREFIX}/etc/rc.d/silcd \
${ROOT_USER} ${ROOT_GROUP} 0555
RCD_SCRIPTS= silcd
RCD_SCRIPTS_MODE= 0555
OWN_DIRS_PERMS+= /var/log/silcd ${SILCD_USER} ${SILCD_GROUP} 0700
DEINSTALL_EXTRA_TMPL= ${PKGDIR}/DEINSTALL
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/silcd
CONFIGURE_ARGS+= --with-etcdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-silcd-config-file=${PKG_SYSCONFDIR}/silcd.conf
CONFIGURE_ARGS+= --with-logsdir=/var/log/silcd
CONFIGURE_ARGS+= --with-silcd-pid-file=/var/run/silcd.pid
CONFIGURE_ARGS+= --without-ncurses
# list it into IPv6-ready packages
BUILD_DEFS+= USE_INET6
CONFIGURE_ARGS+= --enable-ipv6
# If you want to debug silc-server, uncomment this
#
#CONFIGURE_ARGS+= --enable-debug
.if (${MACHINE_ARCH} != "i386")
CONFIGURE_ARGS+= --disable-asm
.endif
post-install:
.if (${OPSYS} == "NetBSD")
@${SED} ${FILES_SUBST_SED} ${FILESDIR}/silcd.sh \
> ${PREFIX}/share/doc/silcd/silcd.default
.else
@${SED} ${FILES_SUBST_SED} ${FILESDIR}/silcd.generic \
> ${PREFIX}/share/doc/silcd/silcd.default
.endif
@${SED} ${FILES_SUBST_SED} ${FILESDIR}/motd.txt \
> ${PREFIX}/share/doc/silcd/motd.txt.default
.include "../../devel/glib/buildlink.mk"
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"