pkgsrc/chat/silc-server/Makefile
salo 8eef73cdfa Update to version 0.9.11
IMPORTANT NOTE: This version does not include backwards support
                for the old style SILC private key so if you
                skipped 0.9.10 version you won't be able to run
                this server without generating new key pair.

Changes from 0.9.10 to 0.9.11
=============================

 * Workaround GCC bug which causes memory exhaustion when
   compiling sha1 with optimizations on UltraSPARC.  from openbsd

 * Added some sanity checks in server for correctness of the
   server configuration.
 * More log printing during backup router protocol.

 * Removed backwards support for old private key file format.
 * Removed backwards support for not-so-strict decryption length
   check, it's strict now.

 * Fixed error handling of invalid client entry when calling
   commands in server.  Fixes a crash.
 * Fixed double free in async host lookup code.
 * On backup router handle now the SERVER_SIGNOFF from router
   for local connected servers too, and close the connections.
   Do not process them as normally signing off servers when they
   really signoff by sending EOF fe, but always assume that
   router sends the SERVER_SIGNOFF.
 * Fixed socket unsetting when closing connections.
 * Fixed close command to use the port correctly when closing
   server connections.
 * Check for NULL outbuf in silc_socket_write.  It is possible
   that it is NULL is some odd case.
 * Do not call final protocol callback for backup router
   resuming protocol when closing connection.  It is closed
   by timeout in case of error.
 * Backup reconnect to router if backup resuming protocol failed.
 * Fixed double free in SKE library error hadling when signature
   error occurred.
 * Fixed double free in invite list adding code when adding
   invite strings.
2003-01-08 23:56:44 +00:00

91 lines
2.7 KiB
Makefile

# $NetBSD: Makefile,v 1.19 2003/01/08 23:56:44 salo Exp $
DISTNAME= silc-server-0.9.11
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.at.silcnet.org/download/server/sources/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= salo@netbsd.org
HOMEPAGE= http://www.silcnet.org/
COMMENT= Server for the Secure Internet Live Conferencing (SILC) protocol
GNU_CONFIGURE= YES
USE_GMAKE= YES
USE_BUILDLINK2= YES
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool ${WRKSRC}/lib/silcmath/mpi/libtool
.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
MAKE_ENV+= examplesdir=${PREFIX}/share/examples/silcd
CONF_FILES_MODE= 0600
CONF_FILES+= ${PREFIX}/share/examples/silcd/silcd.conf.default \
${PKG_SYSCONFDIR}/silcd.conf
CONF_FILES+= ${PREFIX}/share/examples/silcd/silcalgs.conf.default \
${PKG_SYSCONFDIR}/silcalgs.conf
CONF_FILES_PERMS+= ${PREFIX}/share/examples/silcd/motd.txt.default \
${PKG_SYSCONFDIR}/motd.txt \
${ROOT_USER} ${ROOT_GROUP} 0644
RCD_SCRIPTS= silcd
.if ${OPSYS} == "NetBSD"
RCD_SCRIPT_SRC.silcd= ${FILESDIR}/silcd.sh
.else
RCD_SCRIPT_SRC.silcd= ${FILESDIR}/silcd.generic
.endif
OWN_DIRS_PERMS+= /var/log/silcd ${SILCD_USER} ${SILCD_GROUP} 0700
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/silcd
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-simdir=${PREFIX}/lib/silcd/modules
CONFIGURE_ARGS+= --with-logsdir=/var/log/silcd
CONFIGURE_ARGS+= --with-silcd-pid-file=/var/run/silcd.pid
CONFIGURE_ARGS+= --without-iconv
CONFIGURE_ARGS+= --without-libtoolfix
# 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
# Ugly hack which prevents installation of static libraries.
#
post-build:
for f in \
${WRKSRC}/lib/libsilc.la \
${WRKSRC}/lib/.libs/libsilc.la ; \
do \
${CP} $$f $$f.orig ; \
${SED} "s|^old_library|#&|" $$f.orig > $$f ; \
done
post-install:
@${SED} ${FILES_SUBST_SED} ${FILESDIR}/motd.txt \
> ${PREFIX}/share/examples/silcd/motd.txt.default
.include "../../devel/glib/buildlink2.mk"
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"