SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
82
net/bitlbee/Makefile
Normal file
82
net/bitlbee/Makefile
Normal file
|
@ -0,0 +1,82 @@
|
|||
COMMENT= IRC proxy to connect to AIM, ICQ, Jabber and Yahoo
|
||||
|
||||
# XXX -stable package builds can't detect PKGSPEC updates properly;
|
||||
# if backporting an update to stable, ensure all ports depending on
|
||||
# this are bumped and that -current is same/newer version than -stable
|
||||
V= 3.6
|
||||
DISTNAME= bitlbee-$V
|
||||
PKGSPEC= bitlbee-=$V
|
||||
CATEGORIES= net
|
||||
REVISION= 2
|
||||
|
||||
HOMEPAGE= https://bitlbee.org/
|
||||
|
||||
MAINTAINER= Tom Doherty <tom@singlesecond.com>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
WANTLIB += c m pthread glib-2.0 gmodule-2.0 ssl crypto intl
|
||||
|
||||
MASTER_SITES= https://get.bitlbee.org/src/
|
||||
|
||||
MODULES= devel/gettext,-runtime
|
||||
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
|
||||
|
||||
DB_DIR?= /var/bitlbee
|
||||
ETCDIR= ${SYSCONFDIR}/bitlbee
|
||||
EXAMPLEDIR= ${PREFIX}/share/examples/bitlbee
|
||||
DOCS= ${WRKSRC}/doc/user-guide/user-guide.html
|
||||
DOCDIR= ${PREFIX}/share/doc/bitlbee/
|
||||
|
||||
BUILD_DEPENDS= textproc/docbook-xsl \
|
||||
textproc/libxslt
|
||||
MODULES= lang/python
|
||||
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
|
||||
MODPY_RUNDEP= No
|
||||
LIB_DEPENDS= devel/glib2
|
||||
|
||||
CONFIGURE_STYLE= simple
|
||||
CONFIGURE_ARGS+= --bindir=${PREFIX}/libexec \
|
||||
--mandir=${PREFIX}/man \
|
||||
--config=${DB_DIR} \
|
||||
--pidfile=${DB_DIR}/bitlbee.pid \
|
||||
--etcdir=${ETCDIR} \
|
||||
--ssl=openssl \
|
||||
--pie=0
|
||||
|
||||
USE_GMAKE= Yes
|
||||
MAKE_ENV= "CC=${CC}" "CFLAGS=${CFLAGS}"
|
||||
FAKE_FLAGS= ETCDIR=${EXAMPLEDIR}
|
||||
FAKE_TARGET= install install-etc install-dev
|
||||
SUBST_VARS= DB_DIR
|
||||
|
||||
FLAVORS = libpurple otr
|
||||
FLAVOR ?=
|
||||
|
||||
.if ${FLAVOR:Mlibpurple}
|
||||
CONFIGURE_ARGS += --purple=1
|
||||
LIB_DEPENDS += net/pidgin,-libpurple
|
||||
WANTLIB += purple
|
||||
.endif
|
||||
.if ${FLAVOR:Motr}
|
||||
CONFIGURE_ARGS += --otr=1
|
||||
LIB_DEPENDS += security/libotr>=4.0.0 security/libgcrypt
|
||||
WANTLIB += gcrypt gpg-error otr
|
||||
.endif
|
||||
|
||||
NO_TEST= Yes
|
||||
|
||||
# don't hide compile command lines
|
||||
pre-configure:
|
||||
find ${WRKSRC} -name Makefile -exec \
|
||||
perl -pi -e 's,@\$$\(CC\),\$$(CC),g' {} +
|
||||
|
||||
post-build:
|
||||
${MAKE_PROGRAM} -C ${WRKSRC}/doc/user-guide user-guide.html
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${DOCDIR}
|
||||
${INSTALL_DATA} ${DOCS} ${DOCDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
2
net/bitlbee/distinfo
Normal file
2
net/bitlbee/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (bitlbee-3.6.tar.gz) = nxXeRvKbRr8eOfxQvfRRXnGxf1UfOVUJTF2nktliEH4=
|
||||
SIZE (bitlbee-3.6.tar.gz) = 534961
|
16
net/bitlbee/pkg/DESCR
Normal file
16
net/bitlbee/pkg/DESCR
Normal file
|
@ -0,0 +1,16 @@
|
|||
Bitlbee is a proxy which accepts connections from any irc client
|
||||
and allows you to communicate using following instant messaging
|
||||
protocols:
|
||||
|
||||
- AIM/ICQ (oscar)
|
||||
- XMPP/Jabber
|
||||
- MSN Messenger
|
||||
- Yahoo! Messenger
|
||||
- Twitter (and API compatible services like identi.ca)
|
||||
|
||||
Flavors:
|
||||
* libpurple - Enables a backend using purple library allowing
|
||||
to communicate with even more chat networks like Gadu-Gadu,
|
||||
MySpaceIM, Groupwise, Sametime, SILC etc.
|
||||
* otr - Enables Off-the-Record (OTR) Messaging to have private
|
||||
conversations.
|
62
net/bitlbee/pkg/PLIST
Normal file
62
net/bitlbee/pkg/PLIST
Normal file
|
@ -0,0 +1,62 @@
|
|||
@pkgpath net/bitlbee,no_ssl
|
||||
@newgroup _bitlbee:509
|
||||
@newuser _bitlbee:509:_bitlbee::Bitlbee Account:/nonexistent:/sbin/nologin
|
||||
@extraunexec rm -rf ${DB_DIR}/*
|
||||
@rcscript ${RCDIR}/bitlbee
|
||||
include/bitlbee/
|
||||
include/bitlbee/account.h
|
||||
include/bitlbee/arc.h
|
||||
include/bitlbee/auth.h
|
||||
include/bitlbee/base64.h
|
||||
include/bitlbee/bee.h
|
||||
include/bitlbee/bitlbee.h
|
||||
include/bitlbee/canohost.h
|
||||
include/bitlbee/commands.h
|
||||
include/bitlbee/conf.h
|
||||
include/bitlbee/config.h
|
||||
include/bitlbee/dcc.h
|
||||
include/bitlbee/events.h
|
||||
include/bitlbee/ft.h
|
||||
include/bitlbee/ftutil.h
|
||||
include/bitlbee/help.h
|
||||
include/bitlbee/http_client.h
|
||||
include/bitlbee/ini.h
|
||||
include/bitlbee/ipc.h
|
||||
include/bitlbee/irc.h
|
||||
include/bitlbee/json.h
|
||||
include/bitlbee/json_util.h
|
||||
include/bitlbee/log.h
|
||||
include/bitlbee/md5.h
|
||||
include/bitlbee/misc.h
|
||||
include/bitlbee/nick.h
|
||||
include/bitlbee/nogaim.h
|
||||
include/bitlbee/oauth.h
|
||||
include/bitlbee/oauth2.h
|
||||
include/bitlbee/otr.h
|
||||
include/bitlbee/proxy.h
|
||||
include/bitlbee/query.h
|
||||
include/bitlbee/set.h
|
||||
include/bitlbee/sha1.h
|
||||
include/bitlbee/sock.h
|
||||
include/bitlbee/ssl_client.h
|
||||
include/bitlbee/storage.h
|
||||
include/bitlbee/url.h
|
||||
include/bitlbee/xmltree.h
|
||||
lib/pkgconfig/bitlbee.pc
|
||||
@man man/man5/bitlbee.conf.5
|
||||
@man man/man8/bitlbee.8
|
||||
@bin sbin/bitlbee
|
||||
share/bitlbee/
|
||||
share/bitlbee/help.txt
|
||||
share/doc/bitlbee/
|
||||
share/doc/bitlbee/user-guide.html
|
||||
share/doc/pkg-readmes/${PKGSTEM}
|
||||
share/examples/bitlbee/
|
||||
@sample ${SYSCONFDIR}/bitlbee/
|
||||
share/examples/bitlbee/bitlbee.conf
|
||||
@sample ${SYSCONFDIR}/bitlbee/bitlbee.conf
|
||||
share/examples/bitlbee/motd.txt
|
||||
@sample ${SYSCONFDIR}/bitlbee/motd.txt
|
||||
@owner _bitlbee
|
||||
@group _bitlbee
|
||||
@sample ${DB_DIR}/
|
9
net/bitlbee/pkg/README
Normal file
9
net/bitlbee/pkg/README
Normal file
|
@ -0,0 +1,9 @@
|
|||
+-----------------------------------------------------------------------
|
||||
| Running ${PKGSTEM} on OpenBSD
|
||||
+-----------------------------------------------------------------------
|
||||
|
||||
If moving from a libpurple flavored bitlbee package to an unflavored
|
||||
one, be aware that "classic" bitlbee cannot support all protocols
|
||||
supported with purple library. Remove lines for all protocol accounts
|
||||
unsupported by "classic" bitlbee in users' xml configuration files
|
||||
in ${DB_DIR}.
|
10
net/bitlbee/pkg/bitlbee.rc
Normal file
10
net/bitlbee/pkg/bitlbee.rc
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/ksh
|
||||
|
||||
daemon="${TRUEPREFIX}/sbin/bitlbee -F"
|
||||
daemon_user="_bitlbee"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
rc_reload=NO
|
||||
|
||||
rc_cmd $1
|
Loading…
Add table
Add a link
Reference in a new issue