- Update to version 1.2.2

- Add options for enabling/disabling support for individual protocols
This commit is contained in:
Henrik Brix Andersen 2008-08-27 20:16:32 +00:00
parent f16328178d
commit a84f5c7741
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219338
6 changed files with 88 additions and 36 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= bitlbee
PORTVERSION= 1.2.1
PORTVERSION= 1.2.2
CATEGORIES= irc
MASTER_SITES= http://get.bitlbee.org/src/ \
${MASTER_SITE_LOCAL}
@ -27,10 +27,14 @@ USE_GNOME= glib20
USE_RC_SUBR= bitlbee
PKGMESSAGE= ${WRKDIR}/pkg-message
OPTIONS= MSN "Enable MSN protocol support" On \
DEBUG "Create debuggable binary" Off \
OPENSSL "Use openssl rather than gnutls" Off \
IPV6 "Compile IPV6 support" On
OPTIONS= DEBUG "Enable debug support" Off \
IPV6 "Enable IPv6 support" On \
OPENSSL "Use OpenSSL rather than GnuTLS" Off \
MSN "Enable MSN protocol support" On \
JABBER "Enable Jabber (XMPP) protocol support" On \
OSCAR "Enable OSCAR (ICQ, AIM) protocol support" On \
YAHOO "Enable Yahoo! protocol support" On
CONFIGURE_ARGS= --config=/var/db/bitlbee --strip=0
@ -54,10 +58,16 @@ SUB_FILES+= pkg-install pkg-deinstall
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_MSN)
CONFIGURE_ARGS+=--msn=1
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=--debug=1
.else
CONFIGURE_ARGS+=--msn=0 --ssl=bogus
CONFIGURE_ARGS+=--debug=0
.endif
.if defined(WITH_IPV6)
CONFIGURE_ARGS+=--ipv6=1
.else
CONFIGURE_ARGS+=--ipv6=0
.endif
.if defined(WITH_OPENSSL)
@ -67,12 +77,28 @@ CONFIGURE_ARGS+=--ssl=gnutls
LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls
.endif
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=--debug=1
.if defined(WITH_MSN)
CONFIGURE_ARGS+=--msn=1
.else
CONFIGURE_ARGS+=--msn=0
.endif
.if defined(WITHOUT_IPV6)
CONFIGURE_ARGS+=--ipv6=0
.if defined(WITH_JABBER)
CONFIGURE_ARGS+=--jabber=1
.else
CONFIGURE_ARGS+=--jabber=0
.endif
.if defined(WITH_OSCAR)
CONFIGURE_ARGS+=--oscar=1
.else
CONFIGURE_ARGS+=--oscar=0
.endif
.if defined(WITH_YAHOO)
CONFIGURE_ARGS+=--yahoo=1
.else
CONFIGURE_ARGS+=--yahoo=0
.endif
post-patch:

View file

@ -1,3 +1,3 @@
MD5 (bitlbee-1.2.1.tar.gz) = ca00f65aea89903ba78321eac00f7849
SHA256 (bitlbee-1.2.1.tar.gz) = 4654e8824eea2ba787b4751782ee3ca704b756d3c4f623cda409cde212198d06
SIZE (bitlbee-1.2.1.tar.gz) = 471454
MD5 (bitlbee-1.2.2.tar.gz) = d657a2d66f4098804e6b8f181cc0e852
SHA256 (bitlbee-1.2.2.tar.gz) = 97dc5f28197ba61415b9e01c887b81b0efc8df38d8d1e7a0b66dac3cec719025
SIZE (bitlbee-1.2.2.tar.gz) = 475550

View file

@ -8,15 +8,15 @@ Copy %%EXAMPLESDIR%%/motd.txt
and modify them to suit your needs.
You have two options for launching bitlbee: either launch it from
inetd(8) or run it as a stand-alone daemon (experimental).
inetd(8) or run it as a stand-alone daemon.
To launch bitlbee from inetd(8), add the following line to
/etc/inetd.conf and reload inetd(8):
ircd stream tcp nowait %%BITLBEEUSER%% /usr/local/sbin/bitlbee bitlbee -I
To instead launch bitlbee as a daemon (experimental), add the
following line to /etc/rc.conf:
To instead launch bitlbee as a daemon, add the following line to
/etc/rc.conf:
bitlbee_enable="YES"

View file

@ -6,7 +6,7 @@
#
PORTNAME= bitlbee
PORTVERSION= 1.2.1
PORTVERSION= 1.2.2
CATEGORIES= irc
MASTER_SITES= http://get.bitlbee.org/src/ \
${MASTER_SITE_LOCAL}
@ -27,10 +27,14 @@ USE_GNOME= glib20
USE_RC_SUBR= bitlbee
PKGMESSAGE= ${WRKDIR}/pkg-message
OPTIONS= MSN "Enable MSN protocol support" On \
DEBUG "Create debuggable binary" Off \
OPENSSL "Use openssl rather than gnutls" Off \
IPV6 "Compile IPV6 support" On
OPTIONS= DEBUG "Enable debug support" Off \
IPV6 "Enable IPv6 support" On \
OPENSSL "Use OpenSSL rather than GnuTLS" Off \
MSN "Enable MSN protocol support" On \
JABBER "Enable Jabber (XMPP) protocol support" On \
OSCAR "Enable OSCAR (ICQ, AIM) protocol support" On \
YAHOO "Enable Yahoo! protocol support" On
CONFIGURE_ARGS= --config=/var/db/bitlbee --strip=0
@ -54,10 +58,16 @@ SUB_FILES+= pkg-install pkg-deinstall
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_MSN)
CONFIGURE_ARGS+=--msn=1
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=--debug=1
.else
CONFIGURE_ARGS+=--msn=0 --ssl=bogus
CONFIGURE_ARGS+=--debug=0
.endif
.if defined(WITH_IPV6)
CONFIGURE_ARGS+=--ipv6=1
.else
CONFIGURE_ARGS+=--ipv6=0
.endif
.if defined(WITH_OPENSSL)
@ -67,12 +77,28 @@ CONFIGURE_ARGS+=--ssl=gnutls
LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls
.endif
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=--debug=1
.if defined(WITH_MSN)
CONFIGURE_ARGS+=--msn=1
.else
CONFIGURE_ARGS+=--msn=0
.endif
.if defined(WITHOUT_IPV6)
CONFIGURE_ARGS+=--ipv6=0
.if defined(WITH_JABBER)
CONFIGURE_ARGS+=--jabber=1
.else
CONFIGURE_ARGS+=--jabber=0
.endif
.if defined(WITH_OSCAR)
CONFIGURE_ARGS+=--oscar=1
.else
CONFIGURE_ARGS+=--oscar=0
.endif
.if defined(WITH_YAHOO)
CONFIGURE_ARGS+=--yahoo=1
.else
CONFIGURE_ARGS+=--yahoo=0
.endif
post-patch:

View file

@ -1,3 +1,3 @@
MD5 (bitlbee-1.2.1.tar.gz) = ca00f65aea89903ba78321eac00f7849
SHA256 (bitlbee-1.2.1.tar.gz) = 4654e8824eea2ba787b4751782ee3ca704b756d3c4f623cda409cde212198d06
SIZE (bitlbee-1.2.1.tar.gz) = 471454
MD5 (bitlbee-1.2.2.tar.gz) = d657a2d66f4098804e6b8f181cc0e852
SHA256 (bitlbee-1.2.2.tar.gz) = 97dc5f28197ba61415b9e01c887b81b0efc8df38d8d1e7a0b66dac3cec719025
SIZE (bitlbee-1.2.2.tar.gz) = 475550

View file

@ -8,15 +8,15 @@ Copy %%EXAMPLESDIR%%/motd.txt
and modify them to suit your needs.
You have two options for launching bitlbee: either launch it from
inetd(8) or run it as a stand-alone daemon (experimental).
inetd(8) or run it as a stand-alone daemon.
To launch bitlbee from inetd(8), add the following line to
/etc/inetd.conf and reload inetd(8):
ircd stream tcp nowait %%BITLBEEUSER%% /usr/local/sbin/bitlbee bitlbee -I
To instead launch bitlbee as a daemon (experimental), add the
following line to /etc/rc.conf:
To instead launch bitlbee as a daemon, add the following line to
/etc/rc.conf:
bitlbee_enable="YES"