aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cinnamon-settings-daemon/Makefile2
-rw-r--r--sysutils/gkrellm2/Makefile12
-rw-r--r--sysutils/gnome-control-center/Makefile2
-rw-r--r--sysutils/gnome-settings-daemon/Makefile2
-rw-r--r--sysutils/heartbeat/Makefile2
-rw-r--r--sysutils/heartbeat/files/patch-crm-cib-remote.c26
-rw-r--r--sysutils/heartbeat/files/patch-lib-mgmt-mgmt_tls_lib.c34
-rw-r--r--sysutils/heartbeat/files/patch-lib__plugins__quorum__quorumd.c18
-rw-r--r--sysutils/heartbeat/files/patch-membership__quorumd__quorumdtest.c20
-rw-r--r--sysutils/rsyslog7/Makefile2
-rw-r--r--sysutils/rsyslog8/Makefile1
11 files changed, 100 insertions, 21 deletions
diff --git a/sysutils/cinnamon-settings-daemon/Makefile b/sysutils/cinnamon-settings-daemon/Makefile
index ad79a71407a3..cb185e689e80 100644
--- a/sysutils/cinnamon-settings-daemon/Makefile
+++ b/sysutils/cinnamon-settings-daemon/Makefile
@@ -3,7 +3,7 @@
PORTNAME= cinnamon-settings-daemon
PORTVERSION= 2.4.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils gnome
DIST_SUBDIR= gnome3
diff --git a/sysutils/gkrellm2/Makefile b/sysutils/gkrellm2/Makefile
index 8f8b644e09f5..5264ef865966 100644
--- a/sysutils/gkrellm2/Makefile
+++ b/sysutils/gkrellm2/Makefile
@@ -2,7 +2,7 @@
PORTNAME= gkrellm
PORTVERSION= 2.3.5
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= sysutils ipv6
MASTER_SITES= http://members.dslextreme.com/users/billw/gkrellm/ \
LOCAL/ume
@@ -17,9 +17,7 @@ USES= gmake pkgconfig tar:bzip2
USE_RC_SUBR= gkrellmd
WANT_GNOME= yes
-OPTIONS_DEFINE= DOCS CLIENT NLS NTLM
-OPTIONS_RADIO= SSL
-OPTIONS_RADIO_SSL= GNUTLS OPENSSL
+OPTIONS_DEFINE= DOCS CLIENT NLS NTLM OPENSSL
OPTIONS_DEFAULT= CLIENT NTLM OPENSSL
OPTIONS_SUB= yes
@@ -40,11 +38,7 @@ USES+= gettext
.else
MAKE_ENV+= enable_nls=0
.endif
-.if ${PORT_OPTIONS:MGNUTLS}
-LIB_DEPENDS+= libgnutls-openssl.so:${PORTSDIR}/security/gnutls
-MAKE_ENV+= GNUTLSINC=${LOCALBASE}/include GNUTLSLIB=${LOCALBASE}/lib \
- without-ssl=1
-.elif ${PORT_OPTIONS:MOPENSSL}
+.if ${PORT_OPTIONS:MOPENSSL}
USE_OPENSSL= yes
MAKE_ENV+= without-gnutls=1
.else
diff --git a/sysutils/gnome-control-center/Makefile b/sysutils/gnome-control-center/Makefile
index ebcd62d1d444..664fe5d3e5d2 100644
--- a/sysutils/gnome-control-center/Makefile
+++ b/sysutils/gnome-control-center/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gnome-control-center
PORTVERSION= 3.18.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
diff --git a/sysutils/gnome-settings-daemon/Makefile b/sysutils/gnome-settings-daemon/Makefile
index 2508538d10a5..8967087367dd 100644
--- a/sysutils/gnome-settings-daemon/Makefile
+++ b/sysutils/gnome-settings-daemon/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gnome-settings-daemon
PORTVERSION= 3.18.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
diff --git a/sysutils/heartbeat/Makefile b/sysutils/heartbeat/Makefile
index 3985711fe331..cf8db3741e08 100644
--- a/sysutils/heartbeat/Makefile
+++ b/sysutils/heartbeat/Makefile
@@ -3,7 +3,7 @@
PORTNAME= heartbeat
PORTVERSION= 2.1.4
-PORTREVISION= 26
+PORTREVISION= 27
CATEGORIES= sysutils
#MASTER_SITES= http://hg.linux-ha.org/lha-2.1/archive/STABLE-2.1.4.tar.bz2
MASTER_SITES= LOCAL/kuriyama/heartbeat
diff --git a/sysutils/heartbeat/files/patch-crm-cib-remote.c b/sysutils/heartbeat/files/patch-crm-cib-remote.c
new file mode 100644
index 000000000000..641029ba997d
--- /dev/null
+++ b/sysutils/heartbeat/files/patch-crm-cib-remote.c
@@ -0,0 +1,26 @@
+--- crm/cib/remote.c.orig 2008-08-18 12:32:19 UTC
++++ crm/cib/remote.c
+@@ -45,13 +45,6 @@ void cib_send_remote_msg(void *session,
+
+ #ifdef HAVE_GNUTLS_GNUTLS_H
+ # define DH_BITS 1024
+-const int tls_kx_order[] = {
+- GNUTLS_KX_ANON_DH,
+- GNUTLS_KX_DHE_RSA,
+- GNUTLS_KX_DHE_DSS,
+- GNUTLS_KX_RSA,
+- 0
+-};
+ gnutls_dh_params dh_params;
+ gnutls_anon_server_credentials anon_cred;
+ char *cib_send_tls(gnutls_session *session, HA_Message *msg);
+@@ -83,8 +76,7 @@ create_tls_session(int csock)
+ session = (gnutls_session*)gnutls_malloc(sizeof(gnutls_session));
+
+ gnutls_init(session, GNUTLS_SERVER);
+- gnutls_set_default_priority(*session);
+- gnutls_kx_set_priority (*session, tls_kx_order);
++ gnutls_priority_set_direct (*session, "NORMAL:-KX-ALL:+ANON-DH:+DHE-RSA:+DHE-DSS:+RSA", NULL);
+ gnutls_credentials_set(*session, GNUTLS_CRD_ANON, anon_cred);
+ gnutls_transport_set_ptr(*session,
+ (gnutls_transport_ptr) GINT_TO_POINTER(csock));
diff --git a/sysutils/heartbeat/files/patch-lib-mgmt-mgmt_tls_lib.c b/sysutils/heartbeat/files/patch-lib-mgmt-mgmt_tls_lib.c
new file mode 100644
index 000000000000..691fff34c276
--- /dev/null
+++ b/sysutils/heartbeat/files/patch-lib-mgmt-mgmt_tls_lib.c
@@ -0,0 +1,34 @@
+--- lib/mgmt/mgmt_tls_lib.c.orig 2008-08-18 12:32:19 UTC
++++ lib/mgmt/mgmt_tls_lib.c
+@@ -38,11 +38,6 @@ static gnutls_dh_params dh_params;
+ gnutls_anon_server_credentials anoncred_server;
+ gnutls_anon_client_credentials anoncred_client;
+
+-const int kx_prio[] =
+-{
+- GNUTLS_KX_ANON_DH,
+- 0
+-};
+
+ int
+ tls_init_client(void)
+@@ -58,8 +53,7 @@ tls_attach_client(int sock)
+ int ret;
+ gnutls_session* session = (gnutls_session*)gnutls_malloc(sizeof(gnutls_session));
+ gnutls_init(session, GNUTLS_CLIENT);
+- gnutls_set_default_priority(*session);
+- gnutls_kx_set_priority (*session, kx_prio);
++ gnutls_priority_set_direct(*session, "NORMAL:-KX-ALL:+ANON-DH", NULL);
+ gnutls_credentials_set(*session, GNUTLS_CRD_ANON, anoncred_client);
+ gnutls_transport_set_ptr(*session, (gnutls_transport_ptr) GINT_TO_POINTER(sock));
+ ret = gnutls_handshake(*session);
+@@ -131,8 +125,7 @@ tls_attach_server(int sock)
+ int ret;
+ gnutls_session* session = (gnutls_session*)gnutls_malloc(sizeof(gnutls_session));
+ gnutls_init(session, GNUTLS_SERVER);
+- gnutls_set_default_priority(*session);
+- gnutls_kx_set_priority (*session, kx_prio);
++ gnutls_priority_set_direct(*session, "NORMAL:-KX-ALL:+ANON-DH", NULL);
+ gnutls_credentials_set(*session, GNUTLS_CRD_ANON, anoncred_server);
+ gnutls_dh_set_prime_bits(*session, DH_BITS);
+ gnutls_transport_set_ptr(*session, (gnutls_transport_ptr) GINT_TO_POINTER(sock));
diff --git a/sysutils/heartbeat/files/patch-lib__plugins__quorum__quorumd.c b/sysutils/heartbeat/files/patch-lib__plugins__quorum__quorumd.c
index d16768cba841..3c57e2e0d01f 100644
--- a/sysutils/heartbeat/files/patch-lib__plugins__quorum__quorumd.c
+++ b/sysutils/heartbeat/files/patch-lib__plugins__quorum__quorumd.c
@@ -1,9 +1,21 @@
---- lib/plugins/quorum/quorumd.c.orig
+--- lib/plugins/quorum/quorumd.c.orig 2008-08-18 12:32:19 UTC
+++ lib/plugins/quorum/quorumd.c
-@@ -353,15 +353,28 @@
+@@ -327,11 +327,9 @@ initialize_tls_session (int sd)
+ {
+ int ret;
+ gnutls_session session;
+- const int cert_type_priority[2] = { GNUTLS_CRT_X509,0};
+
+ gnutls_init (&session, GNUTLS_CLIENT);
+ gnutls_set_default_priority (session);
+- gnutls_certificate_type_set_priority (session, cert_type_priority);
+ gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, xcred);
+ gnutls_transport_set_ptr (session, (gnutls_transport_ptr) GINT_TO_POINTER(sd));
+ ret = gnutls_handshake (session);
+@@ -353,15 +351,28 @@ verify_certificate (gnutls_session sessi
unsigned int cert_list_size;
const gnutls_datum *cert_list;
- int ret;
+ int ret;
+ int status;
gnutls_x509_crt cert;
diff --git a/sysutils/heartbeat/files/patch-membership__quorumd__quorumdtest.c b/sysutils/heartbeat/files/patch-membership__quorumd__quorumdtest.c
index ddbc2cce3565..017600ef4e44 100644
--- a/sysutils/heartbeat/files/patch-membership__quorumd__quorumdtest.c
+++ b/sysutils/heartbeat/files/patch-membership__quorumd__quorumdtest.c
@@ -1,9 +1,21 @@
---- membership/quorumd/quorumdtest.c.orig
+--- membership/quorumd/quorumdtest.c.orig 2008-08-18 12:32:19 UTC
+++ membership/quorumd/quorumdtest.c
-@@ -162,16 +162,16 @@
+@@ -136,11 +136,9 @@ initialize_tls_session (int sd)
+ {
+ int ret;
+ gnutls_session session;
+- const int cert_type_priority[2] = { GNUTLS_CRT_X509,0};
+
+ gnutls_init (&session, GNUTLS_CLIENT);
+ gnutls_set_default_priority (session);
+- gnutls_certificate_type_set_priority (session, cert_type_priority);
+ gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, xcred);
+ gnutls_transport_set_ptr (session, (gnutls_transport_ptr) GINT_TO_POINTER(sd));
+ ret = gnutls_handshake (session);
+@@ -162,16 +160,16 @@ verify_certificate (gnutls_session sessi
unsigned int cert_list_size;
const gnutls_datum *cert_list;
- int ret;
+ int ret;
+ int status;
gnutls_x509_crt cert;
@@ -19,7 +31,7 @@
if (status & GNUTLS_CERT_INVALID) {
printf("The certificate is not trusted.\n");
return -1;
-@@ -184,7 +184,6 @@
+@@ -184,7 +182,6 @@ verify_certificate (gnutls_session sessi
printf("The certificate has been revoked.\n");
return -1;
}
diff --git a/sysutils/rsyslog7/Makefile b/sysutils/rsyslog7/Makefile
index afefeb8e304a..a614c39f4f50 100644
--- a/sysutils/rsyslog7/Makefile
+++ b/sysutils/rsyslog7/Makefile
@@ -2,7 +2,7 @@
PORTNAME= rsyslog
PORTVERSION= 7.6.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://www.rsyslog.com/files/download/rsyslog/
diff --git a/sysutils/rsyslog8/Makefile b/sysutils/rsyslog8/Makefile
index ae6364784ced..d46b68b78b41 100644
--- a/sysutils/rsyslog8/Makefile
+++ b/sysutils/rsyslog8/Makefile
@@ -2,6 +2,7 @@
PORTNAME= rsyslog
PORTVERSION= 8.11.0
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.rsyslog.com/files/download/rsyslog/