diff options
Diffstat (limited to 'irc/bitlbee-otr')
-rw-r--r-- | irc/bitlbee-otr/Makefile | 134 | ||||
-rw-r--r-- | irc/bitlbee-otr/distinfo | 3 | ||||
-rw-r--r-- | irc/bitlbee-otr/files/bitlbee.in | 31 | ||||
-rw-r--r-- | irc/bitlbee-otr/files/pkg-deinstall.in | 17 | ||||
-rw-r--r-- | irc/bitlbee-otr/files/pkg-install.in | 74 | ||||
-rw-r--r-- | irc/bitlbee-otr/files/pkg-message.in | 23 | ||||
-rw-r--r-- | irc/bitlbee-otr/pkg-descr | 8 | ||||
-rw-r--r-- | irc/bitlbee-otr/pkg-plist | 8 |
8 files changed, 0 insertions, 298 deletions
diff --git a/irc/bitlbee-otr/Makefile b/irc/bitlbee-otr/Makefile deleted file mode 100644 index 02206453918d..000000000000 --- a/irc/bitlbee-otr/Makefile +++ /dev/null @@ -1,134 +0,0 @@ -# New ports collection makefile for: bitlbee -# Date created: 10 June 2003 -# Whom: Peter van Dijk <peter@dataloss.nl> -# -# $FreeBSD$ -# - -PORTNAME= bitlbee -PORTVERSION= 1.2.2 -CATEGORIES= irc -MASTER_SITES= http://get.bitlbee.org/src/ \ - ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= brix - -MAINTAINER= brix@FreeBSD.org -COMMENT= An IRC to other chat networks gateway - -SUB_FILES= pkg-message -MAN5= bitlbee.conf.5 -MAN8= bitlbee.8 -PORTDOCS= AUTHORS CHANGES CREDITS FAQ README -PORTEXAMPLES= bitlbee.conf motd.txt - -GNU_CONFIGURE= yes -USE_GMAKE= yes -USE_GNOME= glib20 -USE_RC_SUBR= bitlbee -PKGMESSAGE= ${WRKDIR}/pkg-message - -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 - -BITLBEEUSER?= bitlbee -BITLBEEGROUP?= bitlbee -BITLBEEDIR?= /nonexistent - -BITLBEEUID= 914 -BITLBEEGID= ${BITLBEEUID} - -PLIST_SUB= BITLBEEUSER=${BITLBEEUSER} \ - BITLBEEGROUP=${BITLBEEGROUP} - -SUB_LIST+= BITLBEEUSER=${BITLBEEUSER} \ - BITLBEEGROUP=${BITLBEEGROUP} \ - BITLBEEDIR=${BITLBEEDIR} \ - BITLBEEUID=${BITLBEEUID} \ - BITLBEEGID=${BITLBEEGID} - -SUB_FILES+= pkg-install pkg-deinstall - -.include <bsd.port.pre.mk> - -.if defined(WITH_DEBUG) -CONFIGURE_ARGS+=--debug=1 -.else -CONFIGURE_ARGS+=--debug=0 -.endif - -.if defined(WITH_IPV6) -CONFIGURE_ARGS+=--ipv6=1 -.else -CONFIGURE_ARGS+=--ipv6=0 -.endif - -.if defined(WITH_OPENSSL) -CONFIGURE_ARGS+=--ssl=openssl -.else -CONFIGURE_ARGS+=--ssl=gnutls -LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls -.endif - -.if defined(WITH_MSN) -CONFIGURE_ARGS+=--msn=1 -.else -CONFIGURE_ARGS+=--msn=0 -.endif - -.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: - @${REINPLACE_CMD} \ - -e "s|^EFLAGS=|EFLAGS=${LDFLAGS}|" \ - ${WRKSRC}/configure - - @${REINPLACE_CMD} \ - -e "s:/etc/bitlbee/motd.txt:${PREFIX}/etc/bitlbee/motd.txt:" \ - -e "s:/var/lib/bitlbee:/var/db/bitlbee:" \ - ${WRKSRC}/bitlbee.conf - @${REINPLACE_CMD} \ - -e "s:/var/lib/bitlbee:/var/db/bitlbee:" \ - ${WRKSRC}/doc/bitlbee.8 - -pre-install: - @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL - -post-install: - ${MKDIR} ${PREFIX}/etc/bitlbee - ${MKDIR} -m 0700 /var/db/bitlbee - ${CHOWN} -R ${BITLBEEUSER}:${BITLBEEGROUP} /var/db/bitlbee -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/doc/@} ${DOCSDIR} -.endif -.if !defined(NOPORTEXAMPLES) - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${PORTEXAMPLES:S@^@${WRKSRC}/@} ${EXAMPLESDIR} -.endif - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> diff --git a/irc/bitlbee-otr/distinfo b/irc/bitlbee-otr/distinfo deleted file mode 100644 index 5848fcd5a06f..000000000000 --- a/irc/bitlbee-otr/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (bitlbee-1.2.2.tar.gz) = d657a2d66f4098804e6b8f181cc0e852 -SHA256 (bitlbee-1.2.2.tar.gz) = 97dc5f28197ba61415b9e01c887b81b0efc8df38d8d1e7a0b66dac3cec719025 -SIZE (bitlbee-1.2.2.tar.gz) = 475550 diff --git a/irc/bitlbee-otr/files/bitlbee.in b/irc/bitlbee-otr/files/bitlbee.in deleted file mode 100644 index a5e9d9b6c7dd..000000000000 --- a/irc/bitlbee-otr/files/bitlbee.in +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# PROVIDE: bitlbee -# REQUIRE: DAEMON -# KEYWORD: shutdown - -. %%RC_SUBR%% - -name="bitlbee" -rcvar=`set_rcvar` - -load_rc_config $name - -: ${bitlbee_enable="NO"} -: ${bitlbee_user="%%BITLBEEUSER%%"} -: ${bitlbee_config="%%PREFIX%%/etc/bitlbee/bitlbee.conf"} -: ${bitlbee_flags=""} - -required_files="${bitlbee_config}" -command="%%PREFIX%%/sbin/bitlbee" -start_cmd="bitlbee_start" - -bitlbee_start() -{ - echo "Starting ${name}." - su -m ${bitlbee_user} -c "${command} -D -c ${bitlbee_config} ${bitlbee_flags}" -} - -run_rc_command "$1" diff --git a/irc/bitlbee-otr/files/pkg-deinstall.in b/irc/bitlbee-otr/files/pkg-deinstall.in deleted file mode 100644 index ace23937dfc0..000000000000 --- a/irc/bitlbee-otr/files/pkg-deinstall.in +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -# -# $FreeBSD$ -# - -BITLBEEUSER=%%BITLBEEUSER%% -BITLBEEGROUP=%%BITLBEEGROUP%% - -if [ "$2" = "POST-DEINSTALL" ]; then - if /usr/sbin/pw group show "${BITLBEEGROUP}" 2>&1 >/dev/null; then - echo "You should manually remove the \"${BITLBEEGROUP}\" group." - fi - - if /usr/sbin/pw user show "${BITLBEEUSER}" 2>&1 >/dev/null; then - echo "You should manually remove the \"${BITLBEEUSER}\" user." - fi -fi diff --git a/irc/bitlbee-otr/files/pkg-install.in b/irc/bitlbee-otr/files/pkg-install.in deleted file mode 100644 index 06a9fa3d7beb..000000000000 --- a/irc/bitlbee-otr/files/pkg-install.in +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh - -# -# $FreeBSD$ -# - -BITLBEEDIR=%%BITLBEEDIR%% -BITLBEEUSER=%%BITLBEEUSER%% -BITLBEEGROUP=%%BITLBEEGROUP%% -BITLBEEUID=%%BITLBEEUID%% -BITLBEEGID=%%BITLBEEGID%% - -ask() { - local question default answer - - question=$1 - default=$2 - if [ -z "${PACKAGE_BUILDING}" ]; then - read -p "${question} [${default}]? " answer - fi - if [ "x${answer}" = "x" ]; then - answer=${default} - fi - echo ${answer} -} - -yesno() { - local default question answer - - question=$1 - default=$2 - while :; do - answer=$(ask "${question}" "${default}") - case "${answer}" in - [Yy][Ee][Ss]|[Yy]) - return 0 - ;; - [Nn][Oo]|[Nn]) - return 1 - ;; - esac - echo "Please answer yes or no." - done -} - -if [ "$2" = "PRE-INSTALL" ]; then - if /usr/sbin/pw group show "${BITLBEEGROUP}" 2>&1 >/dev/null; then - echo "You already have a \"${BITLBEEGROUP}\" group, so I will use it." - else - echo "You need a \"${BITLBEEGROUP}\" group." - if yesno "Would you like me to create it" "YES"; then - /usr/sbin/pw groupadd "${BITLBEEGROUP}" -g "${BITLBEEGID}" -h - || \ - /usr/sbin/pw groupadd "${BITLBEEGROUP}" -h - || exit - echo "Done." - else - echo "Please create the \"${BITLBEEGROUP}\" group manually and try again." - exit 1 - fi - fi - - if /usr/sbin/pw user show "${BITLBEEUSER}" 2>&1 >/dev/null; then - echo "You already have a \"${BITLBEEUSER}\" user, so I will use it." - else - echo "You need a \"${BITLBEEUSER}\" user." - if yesno "Would you like me to create it" "YES"; then - /usr/sbin/pw useradd "${BITLBEEUSER}" -u "${BITLBEEUID}" -g "${BITLBEEGROUP}" -h - -d "${BITLBEEDIR}" \ - -s /sbin/nologin -c "Bitlbee pseudo-user" || \ - /usr/sbin/pw useradd "${BITLBEEUSER}" -g "${BITLBEEGROUP}" -h - -d "${BITLBEEDIR}" \ - -s /sbin/nologin -c "Bitlbee pseudo-user" || exit - else - echo "Please create the \"${BITLBEEUSER}\" user manually and try again." - exit 1 - fi - fi -fi diff --git a/irc/bitlbee-otr/files/pkg-message.in b/irc/bitlbee-otr/files/pkg-message.in deleted file mode 100644 index 98c9329f1da3..000000000000 --- a/irc/bitlbee-otr/files/pkg-message.in +++ /dev/null @@ -1,23 +0,0 @@ -/************************************************************************ -To configure bitlbee, do the following: - -Copy %%EXAMPLESDIR%%/bitlbee.conf - to %%PREFIX%%/etc/bitlbee/bitlbee.conf , -Copy %%EXAMPLESDIR%%/motd.txt - to %%PREFIX%%/etc/bitlbee/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. - -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, add the following line to -/etc/rc.conf: - -bitlbee_enable="YES" - -*************************************************************************/ diff --git a/irc/bitlbee-otr/pkg-descr b/irc/bitlbee-otr/pkg-descr deleted file mode 100644 index 5da6017d5fc2..000000000000 --- a/irc/bitlbee-otr/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -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/ - -- Peter van Dijk -peter@dataloss.nl diff --git a/irc/bitlbee-otr/pkg-plist b/irc/bitlbee-otr/pkg-plist deleted file mode 100644 index 42efbad3d34f..000000000000 --- a/irc/bitlbee-otr/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -sbin/bitlbee -%%DATADIR%%/help.txt -@dirrm %%DATADIR%% -@dirrmtry etc/bitlbee -@exec mkdir -p %D/etc/bitlbee -@exec mkdir -m 0700 -p /var/db/bitlbee -@exec chown -R %%BITLBEEUSER%%:%%BITLBEEGROUP%% /var/db/bitlbee -@unexec rmdir /var/db/bitlbee 2>/dev/null || true |