aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>2000-02-08 06:17:58 +0800
committerbillf <billf@FreeBSD.org>2000-02-08 06:17:58 +0800
commit7f92011a23f288cbd6dad5332296849dea79e7f1 (patch)
tree57739235649afcd5a9cdee0649432fce98991793 /security
parentf65c60c90a6a04e0906c9703c396a88e9373bde5 (diff)
downloadfreebsd-ports-gnome-7f92011a23f288cbd6dad5332296849dea79e7f1.tar.gz
freebsd-ports-gnome-7f92011a23f288cbd6dad5332296849dea79e7f1.tar.zst
freebsd-ports-gnome-7f92011a23f288cbd6dad5332296849dea79e7f1.zip
Add a patch that stops sslproxy from leaving zombies all over the place.
Submitted by: rwatson Upgrade to sslproxy.2000_Jan_29, with appropriate changes.
Diffstat (limited to 'security')
-rw-r--r--security/sslproxy/Makefile6
-rw-r--r--security/sslproxy/distinfo2
-rw-r--r--security/sslproxy/files/patch-aa6
-rw-r--r--security/sslproxy/files/sigchld.diff36
4 files changed, 43 insertions, 7 deletions
diff --git a/security/sslproxy/Makefile b/security/sslproxy/Makefile
index 6dee18f9941f..4bcc184e8889 100644
--- a/security/sslproxy/Makefile
+++ b/security/sslproxy/Makefile
@@ -1,13 +1,13 @@
# New ports collection makefile for: sslproxy
-# Version required: 1998_Jun_14
+# Version required: 2000_Jan_29
# Date created: 11 February 1999
# Whom: Alex Le Heux
#
# $FreeBSD$
#
-DISTNAME= sslproxy.1998_Jun_14
-PKGNAME= sslproxy-19980614
+DISTNAME= sslproxy.2000_Jan_29
+PKGNAME= sslproxy-20000129
CATEGORIES= security
MASTER_SITES= ftp://ftp.obdev.at/pub/Products/sslproxy/
diff --git a/security/sslproxy/distinfo b/security/sslproxy/distinfo
index adfc2ae2f83e..cb4c6f8477cc 100644
--- a/security/sslproxy/distinfo
+++ b/security/sslproxy/distinfo
@@ -1 +1 @@
-MD5 (sslproxy.1998_Jun_14.tar.gz) = b3319dd7cfd9d674dcbcac77480cfc86
+MD5 (sslproxy.2000_Jan_29.tar.gz) = 784b9f24bd58af9a6de29fbb867f8f53
diff --git a/security/sslproxy/files/patch-aa b/security/sslproxy/files/patch-aa
index 15589e8a27a0..113f34088108 100644
--- a/security/sslproxy/files/patch-aa
+++ b/security/sslproxy/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile.orig Sun Jun 14 13:52:50 1998
-+++ Makefile Sat Jan 29 16:48:49 2000
+--- Makefile.orig Sat Jan 29 11:36:07 2000
++++ Makefile Mon Feb 7 17:07:20 2000
@@ -10,15 +10,13 @@
@@ -7,7 +7,7 @@
-CC= gcc
+CC?= gcc
--SSLROOT= /usr/local/ssl
+-SSLROOT= /usr/local/openssl
-
-CFLAGS= -Wall -I$(SSLROOT)/include -O
+CFLAGS+= -I$(OPENSSLINC)
diff --git a/security/sslproxy/files/sigchld.diff b/security/sslproxy/files/sigchld.diff
new file mode 100644
index 000000000000..af6b0c960a94
--- /dev/null
+++ b/security/sslproxy/files/sigchld.diff
@@ -0,0 +1,36 @@
+--- /data/fbsd-ports/ports/security/sslproxy/work/sslproxy.1998_Jun_14/sslproxy.c Thu Jan 13 22:51:14 2000
++++ sslproxy.c Sun Jan 16 18:12:40 2000
+@@ -15,6 +15,20 @@
+ #include <openssl/ssl.h>
+ #include <openssl/err.h>
+
++#include <sys/types.h>
++#include <sys/wait.h>
++
++
++void
++child_handler(int arg)
++{
++ pid_t pid;
++ int dummy;
++
++ wait(&dummy);
++
++}
++
+ /* ------------------------------------------------------------------------- */
+
+ #define SRV_SSL_V23 0
+@@ -550,6 +564,12 @@
+ perror("listen");
+ exit(1);
+ }
++
++ if (signal(SIGCHLD, child_handler)) {
++ perror("signal");
++ exit(1);
++ }
++
+ fprintf(stderr, "proxy ready, listening for connections\n");
+ for(;;){
+ clientFd = accept(sockFd, NULL, NULL) \ No newline at end of file