pkgsrc/chat/bnc/Makefile

39 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.24 2020/01/18 21:48:48 jperkin Exp $
Update chat/bnc to version 2.9.4 Changes: 2.9.4 (1) SSL support can now be used incoming. (2) Added three new configuration entries to handle new features: listenex [--ssl][--limit <maxusers>][--localhost <hostname>] <port> privatekey <filename> publickey <filename> 2.9.3 (1) SECURITY FIX: FD_SETSIZE overflow DOS (2) SSL support can now be used if configured with --with-ssl SSL connection is done by passing -s ex. /quote conn -s ircs.server Note: this is only partially secure since SSL is only supported outgoing. 2.9.2 (1) Added flush to logging (2) General code changes to fix compiling on some compilers (3) Fixed problems binding to listening address 2.9.1 (1) SECURITY FIX: password check, was only letting incorrect passwords in (2) Fixed IP binding on listen 2.9.0 (1) Added trailing newlines to log records (2) Added extra error handling on accepting connections (3) Fixed buffer overflow in getnickuserhost (reported by Leon Juranic) (4) Added extra check for gethostbyname2 (5) Made password check more thorough (6) Fixed ipv6 dns resolving to random ipv4 2.8.9 (1) Fixed backspace security flaw (reported by Yak) (2) Fixed compile errors related to compound statements (3) Rewrote logic of /vip command (4) Rewrote docked session listing code 2.8.8 (1) Added support for setting a specific IP to listen on (listen <[host:]port> [maxusers]) (2) Enhanced bncsetup to use new conf format and new question to handle specific host entering. (3) Changed the Makefile to list libraries last, some crypt libraries predefined their own main function which prevented compiling. (4) Reorganized the connection code to fix a bug where a user gets disconnected while connecting to an irc server. (5) Socket length was not being set before accept. (Thanks chris) (6) Removed old hack code for systems that do not support snprintf. (7) Increased error checking in recv code. (8) Better parsing of messages (9) Server buffers always cleared when connecting to a new server. (10) Initial IPv6 support. Added -6 option to the CONN command (i.e. CONN -6 irc.ipv6.org) which is only necessary on ambigious addresses or when connecting via dns. (11) Listen host can be specified in conf as an ipv6 address by putting the address in []'s (i.e. LISTEN [2000:610:0:23::]:6669) Requested by Peter Avalos <pavalos@theshell.com> in private e-mail.
2005-06-25 16:48:45 +02:00
DISTNAME= bnc2.9.4
PKGNAME= ${DISTNAME:S/bnc/&-/}
PKGREVISION= 6
CATEGORIES= chat
2009-05-21 01:38:33 +02:00
MASTER_SITES= http://www.ircadmin.net/bnc/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gotbnc.com/
COMMENT= Simple IRC relay proxy with support for virtual hosting
DEPENDS+= dialog-[0-9]*:../../misc/dialog
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-ssl
Update chat/bnc to version 2.9.4 Changes: 2.9.4 (1) SSL support can now be used incoming. (2) Added three new configuration entries to handle new features: listenex [--ssl][--limit <maxusers>][--localhost <hostname>] <port> privatekey <filename> publickey <filename> 2.9.3 (1) SECURITY FIX: FD_SETSIZE overflow DOS (2) SSL support can now be used if configured with --with-ssl SSL connection is done by passing -s ex. /quote conn -s ircs.server Note: this is only partially secure since SSL is only supported outgoing. 2.9.2 (1) Added flush to logging (2) General code changes to fix compiling on some compilers (3) Fixed problems binding to listening address 2.9.1 (1) SECURITY FIX: password check, was only letting incorrect passwords in (2) Fixed IP binding on listen 2.9.0 (1) Added trailing newlines to log records (2) Added extra error handling on accepting connections (3) Fixed buffer overflow in getnickuserhost (reported by Leon Juranic) (4) Added extra check for gethostbyname2 (5) Made password check more thorough (6) Fixed ipv6 dns resolving to random ipv4 2.8.9 (1) Fixed backspace security flaw (reported by Yak) (2) Fixed compile errors related to compound statements (3) Rewrote logic of /vip command (4) Rewrote docked session listing code 2.8.8 (1) Added support for setting a specific IP to listen on (listen <[host:]port> [maxusers]) (2) Enhanced bncsetup to use new conf format and new question to handle specific host entering. (3) Changed the Makefile to list libraries last, some crypt libraries predefined their own main function which prevented compiling. (4) Reorganized the connection code to fix a bug where a user gets disconnected while connecting to an irc server. (5) Socket length was not being set before accept. (Thanks chris) (6) Removed old hack code for systems that do not support snprintf. (7) Increased error checking in recv code. (8) Better parsing of messages (9) Server buffers always cleared when connecting to a new server. (10) Initial IPv6 support. Added -6 option to the CONN command (i.e. CONN -6 irc.ipv6.org) which is only necessary on ambigious addresses or when connecting via dns. (11) Listen host can be specified in conf as an ipv6 address by putting the address in []'s (i.e. LISTEN [2000:610:0:23::]:6669) Requested by Peter Avalos <pavalos@theshell.com> in private e-mail.
2005-06-25 16:48:45 +02:00
INSTALLATION_DIRS= bin
post-patch:
${MV} ${WRKSRC}/bncsetup ${WRKSRC}/bncsetup.orig
${SED} -e "s|./mkpasswd|${PREFIX}/bin/bncmkpasswd|g" \
-e "s|dialog --|${LOCALBASE}/bin/dialog --|g" \
${WRKSRC}/bncsetup.orig > ${WRKSRC}/bncsetup
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bnc ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/mkpasswd ${DESTDIR}${PREFIX}/bin/bncmkpasswd
${INSTALL_SCRIPT} ${WRKSRC}/bncchk ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/bncsetup ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/bnc
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/bnc
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/bnc
${INSTALL_DATA} ${WRKSRC}/example.conf \
${DESTDIR}${PREFIX}/share/examples/bnc/bnc.conf
Update chat/bnc to version 2.9.4 Changes: 2.9.4 (1) SSL support can now be used incoming. (2) Added three new configuration entries to handle new features: listenex [--ssl][--limit <maxusers>][--localhost <hostname>] <port> privatekey <filename> publickey <filename> 2.9.3 (1) SECURITY FIX: FD_SETSIZE overflow DOS (2) SSL support can now be used if configured with --with-ssl SSL connection is done by passing -s ex. /quote conn -s ircs.server Note: this is only partially secure since SSL is only supported outgoing. 2.9.2 (1) Added flush to logging (2) General code changes to fix compiling on some compilers (3) Fixed problems binding to listening address 2.9.1 (1) SECURITY FIX: password check, was only letting incorrect passwords in (2) Fixed IP binding on listen 2.9.0 (1) Added trailing newlines to log records (2) Added extra error handling on accepting connections (3) Fixed buffer overflow in getnickuserhost (reported by Leon Juranic) (4) Added extra check for gethostbyname2 (5) Made password check more thorough (6) Fixed ipv6 dns resolving to random ipv4 2.8.9 (1) Fixed backspace security flaw (reported by Yak) (2) Fixed compile errors related to compound statements (3) Rewrote logic of /vip command (4) Rewrote docked session listing code 2.8.8 (1) Added support for setting a specific IP to listen on (listen <[host:]port> [maxusers]) (2) Enhanced bncsetup to use new conf format and new question to handle specific host entering. (3) Changed the Makefile to list libraries last, some crypt libraries predefined their own main function which prevented compiling. (4) Reorganized the connection code to fix a bug where a user gets disconnected while connecting to an irc server. (5) Socket length was not being set before accept. (Thanks chris) (6) Removed old hack code for systems that do not support snprintf. (7) Increased error checking in recv code. (8) Better parsing of messages (9) Server buffers always cleared when connecting to a new server. (10) Initial IPv6 support. Added -6 option to the CONN command (i.e. CONN -6 irc.ipv6.org) which is only necessary on ambigious addresses or when connecting via dns. (11) Listen host can be specified in conf as an ipv6 address by putting the address in []'s (i.e. LISTEN [2000:610:0:23::]:6669) Requested by Peter Avalos <pavalos@theshell.com> in private e-mail.
2005-06-25 16:48:45 +02:00
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"