1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

- 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
This commit is contained in:
Ashish SHUKLA 2011-07-18 07:22:22 +00:00
parent 9278e9b3da
commit 1ad295db1c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=277888
3 changed files with 26 additions and 5 deletions

View File

@ -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

View File

@ -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;
}

View File

@ -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