aboutsummaryrefslogtreecommitdiffstats
path: root/irc/ctrlproxy
diff options
context:
space:
mode:
authorashish <ashish@FreeBSD.org>2011-07-18 15:22:22 +0800
committerashish <ashish@FreeBSD.org>2011-07-18 15:22:22 +0800
commitace58711e2bd379523840afb370c4611053d3a2b (patch)
tree0659db680e4c303f872761cb3c2ba420b30c7a9c /irc/ctrlproxy
parentc0b9f2e241cf58c2e8c2302642f45135c3fca743 (diff)
downloadfreebsd-ports-gnome-ace58711e2bd379523840afb370c4611053d3a2b.tar.gz
freebsd-ports-gnome-ace58711e2bd379523840afb370c4611053d3a2b.tar.zst
freebsd-ports-gnome-ace58711e2bd379523840afb370c4611053d3a2b.zip
- Fix building of port due to gnutls update which removes gcrypt support
- Update MASTER_SITES with updated location of distfiles - Fix pkg-plist PR: ports/158978
Diffstat (limited to 'irc/ctrlproxy')
-rw-r--r--irc/ctrlproxy/Makefile6
-rw-r--r--irc/ctrlproxy/files/patch-src_gnutls.c23
-rw-r--r--irc/ctrlproxy/pkg-plist2
3 files changed, 26 insertions, 5 deletions
diff --git a/irc/ctrlproxy/Makefile b/irc/ctrlproxy/Makefile
index 5134884c1426..d3e6e067d266 100644
--- a/irc/ctrlproxy/Makefile
+++ b/irc/ctrlproxy/Makefile
@@ -8,10 +8,10 @@
PORTNAME= ctrlproxy
PORTVERSION= 3.0.8
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= irc
-MASTER_SITES= http://www.ctrlproxy.org/releases/ \
- LOCAL/chinsan/ctrlproxy/
+MASTER_SITES= http://launchpadlibrarian.net/50016234/ \
+ LOCAL/ashish/
MAINTAINER= ashish@FreeBSD.org
COMMENT= Flexible IRC proxy
diff --git a/irc/ctrlproxy/files/patch-src_gnutls.c b/irc/ctrlproxy/files/patch-src_gnutls.c
new file mode 100644
index 000000000000..78dc64b7977b
--- /dev/null
+++ b/irc/ctrlproxy/files/patch-src_gnutls.c
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- src/gnutls.c.orig
++++ src/gnutls.c
+@@ -18,7 +18,6 @@
+
+ #include <glib.h>
+
+-#include <gcrypt.h>
+ #include <gnutls/gnutls.h>
+ #include <gnutls/x509.h>
+
+@@ -452,9 +451,6 @@
+ static void
+ _gnutls_init (void)
+ {
+- /* to disallow usage of the blocking /dev/random */
+- gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0);
+-
+ gnutls_global_init ();
+ gnutls_inited = TRUE;
+ }
diff --git a/irc/ctrlproxy/pkg-plist b/irc/ctrlproxy/pkg-plist
index 4c7f43f2eee6..8b1fc29b537f 100644
--- a/irc/ctrlproxy/pkg-plist
+++ b/irc/ctrlproxy/pkg-plist
@@ -12,8 +12,6 @@ etc/ctrlproxy/config
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/user-guide.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm %%DATADIR%%/default/networks
-@dirrm %%DATADIR%%/default
@dirrm %%DATADIR%%
@dirrm etc/ctrlproxy
@dirrm lib/ctrlproxy