Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jul 1999 02:47:48 +0200 (CEST)
From:      Palle Girgensohn <girgen@partitur.se>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        alexlh@funk.org
Subject:   ports/12795: security/sslproxy fails
Message-ID:  <199907250047.CAA48163@stordatan.telia.com>

next in thread | raw e-mail | index | archive | help

>Number:         12795
>Category:       ports
>Synopsis:       security/sslproxy fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 24 17:50:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Palle Girgensohn
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
Partitur
>Environment:
FreeBSD 3.2-STABLE i386
	

>Description:
patch-aa of the sslproxy port is expecting openssl include files in
${PREFIX}/include/openssl, but does this by setting
CFLAGS=-I${PREFIX}/include/openssl, which fails because openssl
expects -i${PREFIX}/include, and seaches for its include files with
#include <openssl/xxx.h>


	

>How-To-Repeat:
make the port security/sslproxy
	

>Fix:
This patch will fix it, and also honour user CFLAGS settings and
install some docs:

diff -urN sslproxy/Makefile sslproxy.new/Makefile
--- sslproxy/Makefile	Sun Jun  6 19:49:44 1999
+++ sslproxy.new/Makefile	Sun Jul 25 02:38:31 1999
@@ -18,5 +18,10 @@
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/sslproxy ${PREFIX}/bin/sslproxy
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${PREFIX}/share/doc/sslproxy
+	${INSTALL_DATA} ${WRKSRC}/README.txt ${WRKSRC}/dummyCert.pem \
+			${PREFIX}/share/doc/sslproxy
+.endif
 
 .include <bsd.port.mk>
diff -urN sslproxy/patches/patch-aa sslproxy.new/patches/patch-aa
--- sslproxy/patches/patch-aa	Sun Jun  6 19:49:47 1999
+++ sslproxy.new/patches/patch-aa	Sun Jul 25 02:30:27 1999
@@ -8,7 +8,7 @@
 +SSLROOT= /usr/local
  
 -CFLAGS= -Wall -I$(SSLROOT)/include -O
-+CFLAGS= -Wall -I$(SSLROOT)/include/openssl -O
++CFLAGS+= -I$(SSLROOT)/include
  # for Solaris 2.x add -DSOLARIS2, for SunOS add -DSUNOS and for HP-UX add
  # -DHP to the CFLAGS variable
  
diff -urN sslproxy/patches/patch-ab sslproxy.new/patches/patch-ab
--- sslproxy/patches/patch-ab	Thu Jan  1 01:00:00 1970
+++ sslproxy.new/patches/patch-ab	Sun Jul 25 02:30:27 1999
@@ -0,0 +1,13 @@
+--- sslproxy.c.orig	Sun Jul 25 02:20:01 1999
++++ sslproxy.c	Sun Jul 25 02:20:31 1999
+@@ -12,8 +12,8 @@
+ 
+ 
+ #include "stdheaders.h"
+-#include <ssl.h>
+-#include <err.h>
++#include <openssl/ssl.h>
++#include <openssl/err.h>
+ 
+ /* ------------------------------------------------------------------------- */
+ 
diff -urN sslproxy/pkg/PLIST sslproxy.new/pkg/PLIST
--- sslproxy/pkg/PLIST	Sun Jun  6 19:49:45 1999
+++ sslproxy.new/pkg/PLIST	Sun Jul 25 02:39:32 1999
@@ -1 +1,4 @@
 bin/sslproxy
+share/doc/sslproxy/README.txt
+share/doc/sslproxy/dummyCert.pem
+@dirrm share/doc/sslproxy

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907250047.CAA48163>