Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 1999 16:39:39 +1030 (CST)
From:      "Daniel O'Connor" <doconnor@lot.gsoft.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9385: New port of stunnel
Message-ID:  <199901080609.QAA02056@lot.gsoft.com.au>

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

>Number:         9385
>Category:       ports
>Synopsis:       New port of stunnel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan  7 22:10:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Daniel O'Connor
>Release:        FreeBSD 2.2.7-STABLE i386
>Organization:
Genesis Software
>Environment:
2.2.7 (ish) with latest ports collection
Also a 3.0 ELF machine with the same ports

>Description:
This is a port of stunnel a program which can wrap daemons so they can have SSL
functionality added without recompiling. You need to generate certs for each
demon you want to wrap.

>How-To-Repeat:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	stunnel
#	stunnel/pkg
#	stunnel/pkg/PLIST
#	stunnel/pkg/COMMENT
#	stunnel/pkg/DESCR
#	stunnel/patches
#	stunnel/patches/patch-aa
#	stunnel/files
#	stunnel/files/md5
#	stunnel/Makefile
#
echo c - stunnel
mkdir -p stunnel > /dev/null 2>&1
echo c - stunnel/pkg
mkdir -p stunnel/pkg > /dev/null 2>&1
echo x - stunnel/pkg/PLIST
sed 's/^X//' >stunnel/pkg/PLIST << 'END-of-stunnel/pkg/PLIST'
Xbin/stunnel
END-of-stunnel/pkg/PLIST
echo x - stunnel/pkg/COMMENT
sed 's/^X//' >stunnel/pkg/COMMENT << 'END-of-stunnel/pkg/COMMENT'
XA SSL wrapper for demons.
END-of-stunnel/pkg/COMMENT
echo x - stunnel/pkg/DESCR
sed 's/^X//' >stunnel/pkg/DESCR << 'END-of-stunnel/pkg/DESCR'
Xstunnel is a program which can wrap non SSL aware servers so that they can be
Xconnected to securely.
X
Xhttp://mike.daewoo.com.pl/computer/stunnel/
END-of-stunnel/pkg/DESCR
echo c - stunnel/patches
mkdir -p stunnel/patches > /dev/null 2>&1
echo x - stunnel/patches/patch-aa
sed 's/^X//' >stunnel/patches/patch-aa << 'END-of-stunnel/patches/patch-aa'
X*** Makefile.in.orig	Wed Jan  6 18:57:57 1999
X--- Makefile.in	Wed Jan  6 18:58:13 1999
X***************
X*** 9,21 ****
X  
X  CC=@CC@
X  INSTALL=@INSTALL@
X! CFLAGS=@CFLAGS@ -Wall -I/usr/local/ssl/include
X! LIBS=@LIBS@ -L/usr/local/ssl/lib -lssl -lcrypto
X  
X  stunnel: stunnel.o
X  	$(CC) $(LDFLAGS) -s -o stunnel stunnel.o $(LIBS)
X- 	mkdir -p ../distrib
X- 	gzip < stunnel > ../distrib/stunnel-$(VERSION)-$(HOST).gz
X  
X  stunnel.o: stunnel.c
X  	$(CC) -c $(CFLAGS) stunnel.c
X--- 9,19 ----
X  
X  CC=@CC@
X  INSTALL=@INSTALL@
X! CFLAGS=@CFLAGS@ -Wall -I/usr/local/include
X! LIBS=@LIBS@ -L/usr/local/lib -lssl -lcrypto
X  
X  stunnel: stunnel.o
X  	$(CC) $(LDFLAGS) -s -o stunnel stunnel.o $(LIBS)
X  
X  stunnel.o: stunnel.c
X  	$(CC) -c $(CFLAGS) stunnel.c
END-of-stunnel/patches/patch-aa
echo c - stunnel/files
mkdir -p stunnel/files > /dev/null 2>&1
echo x - stunnel/files/md5
sed 's/^X//' >stunnel/files/md5 << 'END-of-stunnel/files/md5'
XMD5 (stunnel-2.1.tar.gz) = 3409d14c4916be25fe88d5f24c90f7cf
END-of-stunnel/files/md5
echo x - stunnel/Makefile
sed 's/^X//' >stunnel/Makefile << 'END-of-stunnel/Makefile'
X# New ports collection makefile for:    stunnel
X# Version required:     		2.1
X# Date created:         		8th January 1999
X# Whom:              			Daniel O'Connor <doconnor@gsoft.com.au>
X#
X# $Id$
X#
X
XDISTNAME=	stunnel-2.1
XCATEGORIES=	net security
XMASTER_SITES=   http://mike.daewoo.com.pl/computer/stunnel/
X
XMAINTAINER=	doconnor@gsoft.com.au
X
XBUILD_DEPENDS=	${PREFIX}/lib/libssl.a:${PORTSDIR}/security/SSLeay
X
XWRKSRC=		${WRKDIR}/stunnel
XMAN8=		stunnel.8
XGNU_CONFIGURE=	yes
XALL_TARGET=	stunnel
X
Xdo-install:
X	$(INSTALL_PROGRAM) ${WRKSRC}/stunnel ${PREFIX}/sbin
X	$(INSTALL_MAN) ${WRKSRC}/stunnel.8 ${PREFIX}/man/man8
X
X.include <bsd.port.mk>
END-of-stunnel/Makefile
exit


>Fix:
	

>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?199901080609.QAA02056>