From owner-freebsd-ports Sat Jul 24 17:51:29 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B9D0E14EA2 for ; Sat, 24 Jul 1999 17:51:27 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA83606; Sat, 24 Jul 1999 17:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from maile.telia.com (maile.telia.com [194.22.190.16]) by hub.freebsd.org (Postfix) with ESMTP id EF93514E1F for ; Sat, 24 Jul 1999 17:49:41 -0700 (PDT) (envelope-from girgen@partitur.se) Received: from stordatan.telia.com (t2o62p31.telia.com [195.198.198.91]) by maile.telia.com (8.8.5/8.8.8) with ESMTP id CAA25901; Sun, 25 Jul 1999 02:48:04 +0200 (CEST) Received: (from girgen@localhost) by stordatan.telia.com (8.9.3/8.9.1) id CAA48163; Sun, 25 Jul 1999 02:47:48 +0200 (CEST) (envelope-from girgen@partitur.se) Message-Id: <199907250047.CAA48163@stordatan.telia.com> Date: Sun, 25 Jul 1999 02:47:48 +0200 (CEST) From: Palle Girgensohn Reply-To: Palle Girgensohn To: FreeBSD-gnats-submit@freebsd.org Cc: alexlh@funk.org X-Send-Pr-Version: 3.2 Subject: ports/12795: security/sslproxy fails Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 >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 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 +-#include ++#include ++#include + + /* ------------------------------------------------------------------------- */ + 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