summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
Diffstat (limited to 'irc')
-rw-r--r--irc/Makefile1
-rw-r--r--irc/minbif/Makefile84
-rw-r--r--irc/minbif/distinfo2
-rw-r--r--irc/minbif/files/minbif.in35
-rw-r--r--irc/minbif/files/patch-src__core__minbif.cpp21
-rw-r--r--irc/minbif/files/patch-src__im__account.cpp19
-rw-r--r--irc/minbif/files/patch-src__im__auth_pam.cpp19
-rw-r--r--irc/minbif/files/patch-src__im__request.cpp14
-rw-r--r--irc/minbif/files/patch-src__irc__dcc.cpp19
-rw-r--r--irc/minbif/files/patch-src__server_poll__daemon_fork.cpp17
-rw-r--r--irc/minbif/files/patch-src__server_poll__inetd.cpp12
-rw-r--r--irc/minbif/files/patch-src__sockwrap__sockwrap.cpp11
-rw-r--r--irc/minbif/files/pkg-message.in21
-rw-r--r--irc/minbif/pkg-descr7
-rw-r--r--irc/minbif/pkg-plist8
15 files changed, 0 insertions, 290 deletions
diff --git a/irc/Makefile b/irc/Makefile
index e2c2ca4c5bfa..21766d3c51d6 100644
--- a/irc/Makefile
+++ b/irc/Makefile
@@ -62,7 +62,6 @@
SUBDIR += libircclient
SUBDIR += lostirc
SUBDIR += miau
- SUBDIR += minbif
SUBDIR += muh
SUBDIR += nethirc
SUBDIR += ngircd
diff --git a/irc/minbif/Makefile b/irc/minbif/Makefile
deleted file mode 100644
index 91fffc3e610e..000000000000
--- a/irc/minbif/Makefile
+++ /dev/null
@@ -1,84 +0,0 @@
-# Created by: Frank Steinborn <steinex@nognu.de>
-# $FreeBSD$
-
-PORTNAME= minbif
-PORTVERSION= 1.0.5
-PORTREVISION= 10
-CATEGORIES= irc net-im
-MASTER_SITES= https://symlink.me/attachments/download/148/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= IRC to instant messaging gateway
-
-LICENSE= GPLv2
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-LIB_DEPENDS= libpurple.so:net-im/libpurple
-
-USES= cmake:insource pkgconfig
-USE_GNOME= glib20
-USE_RC_SUBR= ${PORTNAME}
-
-CFLAGS+= -DX_DISPLAY_MISSING
-LDFLAGS+= -pthread
-
-USERS= minbif
-GROUPS= minbif
-
-SUB_FILES= pkg-message
-SUB_LIST= USERS="${USERS}"
-
-OPTIONS_DEFINE= CACA GNUTLS VIDEO PLUGINS DOCS
-OPTIONS_DEFAULT= CACA
-VIDEO_IMPLIES= CACA
-
-CACA_DESC= Buddy icon display using libcaca
-VIDEO_DESC= Webcam display using libcaca (implies CACA)
-PLUGINS_DESC= Compile additional libpurple-plugins
-
-CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca \
- libImlib2.so:graphics/imlib2
-CACA_CMAKE_BOOL= ENABLE_CACA ENABLE_IMLIB
-
-GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
-GNUTLS_CMAKE_BOOL= ENABLE_TLS
-
-PLUGINS_USE= GNOME=libxml2
-PLUGINS_CMAKE_BOOL= ENABLE_PLUGIN
-PLUGINS_PLIST_FILES= lib/purple-2/libcoincoin.so \
- lib/purple-2/libgayattitude.so
-
-VIDEO_USE= GSTREAMER=core,good
-VIDEO_CMAKE_BOOL= ENABLE_VIDEO
-VIDEO_LIB_DEPENDS= libgstfarsight-0.10.so:net-im/farsight2
-
-post-patch:
- @${REINPLACE_CMD} -e \
- 's|"-lpthread -lstdc++"||' ${WRKSRC}/src/CMakeLists.txt
- @${REINPLACE_CMD} -e '/pam_misc\.h/d' ${WRKSRC}/src/im/auth_pam.h
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/man/minbif.8 ${STAGEDIR}${MANPREFIX}/man/man8
- @${MKDIR} ${STAGEDIR}${ETCDIR}
- ${INSTALL_DATA} ${WRKSRC}/minbif.conf \
- ${STAGEDIR}${ETCDIR}/minbif.conf.sample
- ${INSTALL_DATA} ${WRKSRC}/minbif.motd \
- ${STAGEDIR}${ETCDIR}/minbif.motd.sample
-
-do-install-PLUGINS-on:
- @${MKDIR} ${STAGEDIR}${PREFIX}/lib/purple-2
- ${INSTALL_LIB} ${WRKSRC}/plugins/coincoin/libcoincoin.so \
- ${WRKSRC}/plugins/gayattitude/libgayattitude.so \
- ${STAGEDIR}${PREFIX}/lib/purple-2
-
-do-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for f in AUTHORS ChangeLog README doc/minbif.xinetd
- ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
-.endfor
-
-.include <bsd.port.mk>
diff --git a/irc/minbif/distinfo b/irc/minbif/distinfo
deleted file mode 100644
index c5871c5f69de..000000000000
--- a/irc/minbif/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (minbif-1.0.5.tar.gz) = 88271af203a89556165a9ebb4e00e55ea5b649146aea855dd799a79bd9e4befd
-SIZE (minbif-1.0.5.tar.gz) = 176039
diff --git a/irc/minbif/files/minbif.in b/irc/minbif/files/minbif.in
deleted file mode 100644
index 10e689e29dc5..000000000000
--- a/irc/minbif/files/minbif.in
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# PROVIDE: minbif
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-
-# Add the following lines to /etc/rc.conf to enable minbif:
-# minbif_enable="YES"
-
-. /etc/rc.subr
-
-name="minbif"
-rcvar=minbif_enable
-
-load_rc_config $name
-
-: ${minbif_enable="NO"}
-: ${minbif_user="%%USERS%%"}
-: ${minbif_config="%%PREFIX%%/etc/minbif/minbif.conf"}
-
-required_files="${minbif_config}"
-command="%%PREFIX%%/bin/minbif"
-command_args="${minbif_config}"
-
-minbif_start() {
- su -fm ${minbif_user} -c "${command} start"
-}
-
-minbif_stop() {
- su -fm ${minbif_user} -c "${command} stop"
-}
-
-run_rc_command "$1"
diff --git a/irc/minbif/files/patch-src__core__minbif.cpp b/irc/minbif/files/patch-src__core__minbif.cpp
deleted file mode 100644
index afd5e84dc9db..000000000000
--- a/irc/minbif/files/patch-src__core__minbif.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
---- src/core/minbif.cpp.orig
-+++ src/core/minbif.cpp
-@@ -17,7 +17,7 @@
- */
-
- #include <cerrno>
--#include <stdlib.h>
-+#include <cstdlib>
- #include <iostream>
- #include <fstream>
- #include <cstring>
-@@ -239,7 +239,9 @@
- }
- sighandler.setApplication(this);
-
-+#if ! GLIB_CHECK_VERSION(2, 32, 0)
- g_thread_init(NULL);
-+#endif
- loop = g_main_new(FALSE);
- g_main_run(loop);
-
diff --git a/irc/minbif/files/patch-src__im__account.cpp b/irc/minbif/files/patch-src__im__account.cpp
deleted file mode 100644
index 457c421a9257..000000000000
--- a/irc/minbif/files/patch-src__im__account.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/im/account.cpp.orig 2011-12-04 14:24:51 UTC
-+++ src/im/account.cpp
-@@ -18,6 +18,7 @@
-
- #include <cassert>
- #include <cstring>
-+#include <unistd.h>
- #ifdef HAVE_IMLIB
- #include <Imlib2.h>
- #endif /* HAVE_IMLIB */
-@@ -272,7 +273,7 @@ void Account::setBuddyIcon(string filena
- else
- {
- char** prpl_formats = g_strsplit(prplinfo->icon_spec.format,",",0);
-- ImlibLoadError err = IMLIB_LOAD_ERROR_UNKNOWN;
-+ Imlib_Load_Error err = IMLIB_LOAD_ERROR_UNKNOWN;
-
- close(temp_fd);
- /* Try to encode in a supported format. */
diff --git a/irc/minbif/files/patch-src__im__auth_pam.cpp b/irc/minbif/files/patch-src__im__auth_pam.cpp
deleted file mode 100644
index b637cf441dbc..000000000000
--- a/irc/minbif/files/patch-src__im__auth_pam.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/im/auth_pam.cpp.orig 2011-12-04 14:24:51 UTC
-+++ src/im/auth_pam.cpp
-@@ -19,6 +19,7 @@
- #include <cstring>
- #include <cerrno>
- #include <sys/types.h>
-+#include <unistd.h>
- #include <pwd.h>
-
- #include "auth.h"
-@@ -189,7 +190,7 @@ bool AuthPAM::setPassword(const string& password)
- pam_conv_func_data.update = true;
- pam_conv_func_data.new_password = password;
-
-- retval = pam_chauthtok(pamh, NULL);
-+ retval = pam_chauthtok(pamh, 0);
- if (retval != PAM_SUCCESS)
- b_log[W_ERR] << "PAM: Password change failed: " << pam_strerror(pamh, retval);
-
diff --git a/irc/minbif/files/patch-src__im__request.cpp b/irc/minbif/files/patch-src__im__request.cpp
deleted file mode 100644
index 8852d3f82e58..000000000000
--- a/irc/minbif/files/patch-src__im__request.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/im/request.cpp.orig
-+++ src/im/request.cpp
-@@ -16,8 +16,9 @@
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
--#include <errno.h>
--#include <string.h>
-+#include <cerrno>
-+#include <cstring>
-+#include <unistd.h>
-
- #include "request.h"
- #include "buddy.h"
diff --git a/irc/minbif/files/patch-src__irc__dcc.cpp b/irc/minbif/files/patch-src__irc__dcc.cpp
deleted file mode 100644
index 1a6561f6ee5b..000000000000
--- a/irc/minbif/files/patch-src__irc__dcc.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/irc/dcc.cpp.orig
-+++ src/irc/dcc.cpp
-@@ -17,12 +17,13 @@
-
- #include <sys/types.h>
- #include <sys/socket.h>
-+#include <netinet/in.h>
- #include <arpa/inet.h>
- #include <fcntl.h>
--#include <errno.h>
--#include <string.h>
-+#include <cerrno>
-+#include <cstring>
- #include <sys/types.h>
--#include <netinet/in.h>
-+#include <unistd.h>
-
- #include "dcc.h"
- #include "nick.h"
diff --git a/irc/minbif/files/patch-src__server_poll__daemon_fork.cpp b/irc/minbif/files/patch-src__server_poll__daemon_fork.cpp
deleted file mode 100644
index 6d2e00c501dd..000000000000
--- a/irc/minbif/files/patch-src__server_poll__daemon_fork.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
---- src/server_poll/daemon_fork.cpp.orig
-+++ src/server_poll/daemon_fork.cpp
-@@ -20,10 +20,12 @@
- #include <cassert>
- #include <cstring>
- #include <cerrno>
--#include <glib/gmain.h>
-+#include <glib.h>
-+#include <sys/types.h>
- #include <sys/socket.h>
--#include <sys/stat.h>
-+#include <netinet/in.h>
- #include <arpa/inet.h>
-+#include <sys/stat.h>
-
- #include "daemon_fork.h"
- #include "irc/irc.h"
diff --git a/irc/minbif/files/patch-src__server_poll__inetd.cpp b/irc/minbif/files/patch-src__server_poll__inetd.cpp
deleted file mode 100644
index e45b14dc2153..000000000000
--- a/irc/minbif/files/patch-src__server_poll__inetd.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/server_poll/inetd.cpp.orig
-+++ src/server_poll/inetd.cpp
-@@ -17,7 +17,8 @@
- */
-
- #include <cassert>
--#include <glib/gmain.h>
-+#include <unistd.h>
-+#include <glib.h>
-
- #include "inetd.h"
- #include "irc/irc.h"
diff --git a/irc/minbif/files/patch-src__sockwrap__sockwrap.cpp b/irc/minbif/files/patch-src__sockwrap__sockwrap.cpp
deleted file mode 100644
index ff0419629483..000000000000
--- a/irc/minbif/files/patch-src__sockwrap__sockwrap.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/sockwrap/sockwrap.cpp.orig
-+++ src/sockwrap/sockwrap.cpp
-@@ -16,6 +16,8 @@
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-+#include <unistd.h>
-+
- #include "sockwrap.h"
- #include "sockwrap_plain.h"
- #ifdef HAVE_TLS
diff --git a/irc/minbif/files/pkg-message.in b/irc/minbif/files/pkg-message.in
deleted file mode 100644
index 8bb89018232b..000000000000
--- a/irc/minbif/files/pkg-message.in
+++ /dev/null
@@ -1,21 +0,0 @@
-[
-{ type: install
- message: <<EOM
-To configure minbif, do the following:
-
-Copy %%PREFIX%%/etc/minbif/minbif.conf-dist
- to %%PREFIX%%/etc/minbif/minbif.conf,
-Copy %%PREFIX%%/etc/minbif/minbif.motd-dist
- to %%PREFIX%%/etc/minbif/minbif.motd
-and modify them to suit your needs.
-
-Please make sure to create the users-directory as defined in
-minbif.conf (default /var/lib/minbif/users) before you first start
-minbif.
-
-To launch the minbif daemon, add the following line to /etc/rc.conf:
-
-minbif_enable="YES"
-EOM
-}
-]
diff --git a/irc/minbif/pkg-descr b/irc/minbif/pkg-descr
deleted file mode 100644
index 53294961335e..000000000000
--- a/irc/minbif/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-Minbif aims to use the libpurple library from the Pidgin project to provide
-an IRC-friendly instant messaging client.
-
-It is very easy to setup, does not require any non-standard authentication,
-and just uses the server password feature of IRC clients.
-
-https://symlink.me/projects/minbif/wiki/
diff --git a/irc/minbif/pkg-plist b/irc/minbif/pkg-plist
deleted file mode 100644
index 7d2f190671a9..000000000000
--- a/irc/minbif/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-bin/minbif
-@sample %%ETCDIR%%/minbif.conf.sample
-@sample %%ETCDIR%%/minbif.motd.sample
-man/man8/minbif.8.gz
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/minbif.xinetd