pkgsrc/chat/silc-client/Makefile
hubertf 176d4c24a1 Update chat/silc-client to version 0.9.5.1. Changes:
buildlink->buildlink2

Main changes between 0.9.2 and 0.9.5.1
=======================================

 * Do not set the locally resolved hostname for local client entry but take
   what server sends.  This way the real hostname is shown in WHOIS for
   yourself.

 * Fixed duplicate PKCS name registering to not allow it.

 * Enabled SIM support on *BSD systems.

 * Fixed buffer overflow and security problems (loosing bits in CFB
   encryption) in SILC RNG.

 * Fixed buffer overflow with CUMODE mode->mode character conversion.

 * Fixed a crash in client libary in NICK_CHANGE notify when NICK_CHANGE
   arrived for client entry we are resolving currently.

 * Don't do SILC_STRING_LANGUAGE encoding if the outbuffer is NULL since it
   seems that on some platforms NULL is allowed and on some it's not.
   Fallback encoding is used instead.

 * Fixed a bug in Irssi SILC client to close the connection properly when
   disconnecting from server.  Handle local errors correctly during resuming.

Update submitted by Lubomir Sedlacik <salo@xtrmntr.org> in PR 18277.
2002-09-12 23:05:37 +00:00

76 lines
2.2 KiB
Makefile

# $NetBSD: Makefile,v 1.16 2002/09/12 23:05:37 hubertf Exp $
DISTNAME= silc-client-0.9.5.1
CATEGORIES= chat security
MASTER_SITES= http://www.silcnet.org/download/client/sources/ \
ftp://ftp.silcnet.org/silc/client/sources/ \
http://www.fi.silcnet.org/download/client/sources/ \
ftp://ftp.au.silcnet.org/pub/silcnet/client/sources/ \
http://www.us.silcnet.org/download/client/sources/ \
ftp://ftp.no.silcnet.org/pub/silc/client/sources/ \
http://www.at.silcnet.org/download/client/sources/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= salo@silcnet.org
HOMEPAGE= http://www.silcnet.org/
COMMENT= Client for the Secure Internet Live Conferencing (SILC) protocol
GNU_CONFIGURE= # defined
USE_GMAKE= # defined
USE_GNU_ICONV= # defined
USE_BUILDLINK2= # defined
USE_LIBTOOL= # defined
.include "../../mk/bsd.prefs.mk"
PKG_SYSCONFSUBDIR?= silc
CONFIGURE_ARGS+= --with-helpdir=${PREFIX}/share/silc/help
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/silc
CONFIGURE_ARGS+= --with-etcdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-simdir=${PREFIX}/lib/silc/modules
CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_DIR}
CONFIGURE_ARGS+= --with-terminfo
BUILDLINK_DEPENDS.iconv= libiconv>=1.7
# Use native curses library.
.if (${OPSYS} == "NetBSD") || (${OPSYS} == "SunOS")
CONFIGURE_ARGS+= --with-vcurses
.elif (${OPSYS} == "Linux") || (${OPSYS} == "Darwin")
CONFIGURE_ARGS+= --with-ncurses
.endif
# List it into IPv6-ready packages.
BUILD_DEFS+= USE_INET6
CONFIGURE_ARGS+= --enable-ipv6
# Optional support for perl scripting.
# If you want to disable it, set SILC_CLIENT_WITH_PERL to NO
# in your /etc/mk.conf
#
SILC_CLIENT_WITH_PERL?= YES
.if defined(SILC_CLIENT_WITH_PERL) && ${SILC_CLIENT_WITH_PERL} == YES
CONFIGURE_ARGS+= --with-perl-lib=${PREFIX}/lib/silc/perl5
.include "../../lang/perl5/buildlink2.mk"
PLIST_SRC+= ${PKGDIR}/PLIST.perl
.else
CONFIGURE_ARGS+= --with-perl=no
.endif
# Assembler optimizations.
#
.if (${MACHINE_ARCH} != "i386")
CONFIGURE_ARGS+= --disable-asm
.endif
# If you want to debug silc-client, uncomment this.
#
#CONFIGURE_ARGS+= --enable-debug
PLIST_SRC+= ${PKGDIR}/PLIST
.include "../../converters/libiconv/buildlink2.mk"
.include "../../devel/glib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"