---
name: bitlbee
version: 3.2_2
origin: irc/bitlbee
comment: An IRC to other chat networks gateway
arch: freebsd:9:x86:64
www: http://www.bitlbee.org/
maintainer: brix@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses:
- GPLv2
flatsize: 791778
desc: |
  An IRC to other chat networks gateway. This program can be used
  as an IRC server which forwards everything you say to people on
  other chat networks like MSN/ICQ/Jabber.

  WWW: http://www.bitlbee.org/
deps:
  p11-kit: {origin: security/p11-kit, version: 0.16.3}
  nettle: {origin: security/nettle, version: 2.7.1}
  libtasn1: {origin: security/libtasn1, version: 2.14}
  libgpg-error: {origin: security/libgpg-error, version: 1.12}
  libgcrypt: {origin: security/libgcrypt, version: 1.5.3}
  gnutls: {origin: security/gnutls, version: 2.12.23_1}
  ca_root_nss: {origin: security/ca_root_nss, version: 3.15.1}
  gmp: {origin: math/gmp, version: 5.1.2}
  python27: {origin: lang/python27, version: 2.7.5_2}
  python2: {origin: lang/python2, version: 2}
  python: {origin: lang/python, version: '2.7,2'}
  perl: {origin: lang/perl5.14, version: 5.14.4}
  pkgconf: {origin: devel/pkgconf, version: 0.9.2_1}
  pcre: {origin: devel/pcre, version: 8.33}
  libffi: {origin: devel/libffi, version: 3.0.13}
  glib: {origin: devel/glib20, version: 2.36.3}
  gettext: {origin: devel/gettext, version: 0.18.3}
  libiconv: {origin: converters/libiconv, version: 1.14_1}
categories:
- irc
users:
- bitlbee
groups:
- bitlbee
shlibs_required:
- libgmodule-2.0.so.0
- libglib-2.0.so.0
- libintl.so.9
- libgnutls.so.26
- libgcrypt.so.19
- libgpg-error.so.0
options: {YAHOO: on, TWITTER: on, OTR: off, OSCAR: on, OPENSSL: off, MSN: on, LIBPURPLE: off,
  JABBER: on, IPV6: on, GNUTLS: on, EXAMPLES: on, DOCS: on, DEBUG: off}
files:
  /usr/local/etc/rc.d/bitlbee: 2fb46361f41f59d514fd7af0dfc3d43099e0a34e29749407d4d0824f835c85cd
  /usr/local/man/man5/bitlbee.conf.5.gz: 0b30666d230fa995cb77a6d5ee760d3b627a65f9dbb4ec65872c13112c72bc3b
  /usr/local/man/man8/bitlbee.8.gz: 6c2b5babbc4bda8d2f994c434dd7f723d9930f0ccf45e6b235e5d549a34a5cad
  /usr/local/sbin/bitlbee: 532d5f6f34ae16f4216500393c24e693ad306e87c8348c2e6f7995b3efb98fa6
  /usr/local/share/bitlbee/help.txt: 03e96cc2ed84b38d129784ce8517f214ad92eef5330992ba14412884e8db4a08
  /usr/local/share/doc/bitlbee/AUTHORS: c156e2debdbdb9001697f9f165d4a9f26dbab785c76991c82dea89ce3013d677
  /usr/local/share/doc/bitlbee/CHANGES: 5455ed1998bc627a44f992c7f020ff8467ceb5eeafa490544f5b9380bb6eef25
  /usr/local/share/doc/bitlbee/CREDITS: ea0db2f6b5051b3c32e2d4892b7407bce43a5cbd7871a83c186e0f62a6e4a6cc
  /usr/local/share/doc/bitlbee/FAQ: 8e578cb160bff01ebc7eb84a3973ce752052453d1812ea1321f39a297c11b0d4
  /usr/local/share/doc/bitlbee/README: ef8955dd78399defeb1c020479806f0bbd0b47f0db89b768ba494cf88869830e
  /usr/local/share/examples/bitlbee/bitlbee.conf: b4f42d38ef8d1fdb516ce2b208d5ba3d01aa11085c7262bb8bb84d5422aa265a
  /usr/local/share/examples/bitlbee/motd.txt: 2f2fabca774c4ea44160835a5a97626a5ab6d63544b48ae8b8a09d3434b5bb71
  /usr/local/share/licenses/bitlbee-3.2_2/GPLv2: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643
  /usr/local/share/licenses/bitlbee-3.2_2/LICENSE: 7e1394d03c5f275a402fe721ff1d1349449ea8602b52af954c76463afcdb6ef7
  /usr/local/share/licenses/bitlbee-3.2_2/catalog.mk: ff858964936bfd019a58d03d6604d6436ab385a9b6a009337e9f554b5a5ab770
directories:
  /usr/local/share/licenses/bitlbee-3.2_2/: n
  /usr/local/share/licenses/: y
  /usr/local/share/examples/bitlbee/: n
  /usr/local/share/doc/bitlbee/: n
  /usr/local/share/bitlbee/: n
  /usr/local/etc/bitlbee/: y
scripts:
  post-install: |
    echo "===> Creating users and/or groups."
    if ! /usr/sbin/pw groupshow bitlbee >/dev/null 2>&1; then  echo "Creating group 'bitlbee' with gid '914'.";  /usr/sbin/pw groupadd bitlbee -g 914; else echo "Using existing group 'bitlbee'."; fi
    if ! /usr/sbin/pw usershow bitlbee >/dev/null 2>&1; then  echo "Creating user 'bitlbee' with uid '914'.";  /usr/sbin/pw useradd bitlbee -u 914 -g 914  -c "Bitlbee pseudo-user" -d /var/db/bitlbee -s /usr/sbin/nologin;  else echo "Using existing user 'bitlbee'."; fi
    install -d -g 914 -o 914 /var/db/bitlbee
    mkdir -p /usr/local/etc/bitlbee
    cd /usr/local
    cd /usr/local
  pre-deinstall: |
    if /usr/sbin/pw usershow bitlbee >/dev/null 2>&1; then  echo "==> You should manually remove the \"bitlbee\" user. "; fi
    cd /usr/local
    cd /usr/local
  post-deinstall: |
    cd /usr/local
    cd /usr/local
message: "/************************************************************************\nTo
  configure bitlbee, do the following:\n\nCopy /usr/local/share/examples/bitlbee/bitlbee.conf\n
  \ to /usr/local/etc/bitlbee/bitlbee.conf ,\nCopy /usr/local/share/examples/bitlbee/motd.txt\n
  \ to /usr/local/etc/bitlbee/motd.txt\nand modify them to suit your needs.\n\nYou
  have two options for launching bitlbee: either launch it from\ninetd(8) or run it
  as a stand-alone daemon.\n\nTo launch bitlbee from inetd(8), add the following line
  to\n/etc/inetd.conf and reload inetd(8):\n\nircd\t\tstream\ttcp\tnowait\tbitlbee\t/usr/local/sbin/bitlbee\tbitlbee
  -I\n\nTo instead launch bitlbee as a daemon, add the following line to\n/etc/rc.conf:\n\nbitlbee_enable=\"YES\"\n\n*************************************************************************/\n"
