head	1.20;
access;
symbols
	RELEASE_8_3_0:1.18
	RELEASE_9_0_0:1.18
	RELEASE_7_4_0:1.17
	RELEASE_8_2_0:1.17
	RELEASE_6_EOL:1.17
	RELEASE_8_1_0:1.17
	RELEASE_7_3_0:1.17
	RELEASE_8_0_0:1.17
	RELEASE_7_2_0:1.17
	RELEASE_7_1_0:1.17
	RELEASE_6_4_0:1.17
	RELEASE_5_EOL:1.16
	RELEASE_7_0_0:1.16
	RELEASE_6_3_0:1.16
	PRE_XORG_7:1.16
	RELEASE_4_EOL:1.16
	RELEASE_6_2_0:1.16
	RELEASE_6_1_0:1.15
	RELEASE_5_5_0:1.15
	RELEASE_6_0_0:1.13
	RELEASE_5_4_0:1.13
	RELEASE_4_11_0:1.13
	RELEASE_5_3_0:1.13
	RELEASE_4_10_0:1.13
	RELEASE_5_2_1:1.13
	RELEASE_5_2_0:1.13
	RELEASE_4_9_0:1.11
	RELEASE_5_1_0:1.10
	RELEASE_4_8_0:1.9
	RELEASE_5_0_0:1.8
	RELEASE_4_7_0:1.8
	RELEASE_4_6_2:1.8
	RELEASE_4_6_1:1.8
	RELEASE_4_6_0:1.8
	RELEASE_5_0_DP1:1.8
	RELEASE_4_5_0:1.8
	RELEASE_4_4_0:1.7
	RELEASE_4_3_0:1.7
	RELEASE_4_2_0:1.6
	RELEASE_4_1_1:1.6
	RELEASE_4_1_0:1.5
	RELEASE_3_5_0:1.5
	RELEASE_4_0_0:1.4;
locks; strict;
comment	@# @;


1.20
date	2012.11.17.06.01.21;	author svnexp;	state Exp;
branches;
next	1.19;

1.19
date	2012.11.10.17.07.42;	author pawel;	state Exp;
branches;
next	1.18;

1.18
date	2011.11.18.23.30.12;	author ehaupt;	state Exp;
branches;
next	1.17;

1.17
date	2008.09.12.08.51.36;	author miwi;	state Exp;
branches;
next	1.16;

1.16
date	2006.05.13.04.15.16;	author edwin;	state Exp;
branches;
next	1.15;

1.15
date	2005.11.25.06.02.46;	author linimon;	state Exp;
branches;
next	1.14;

1.14
date	2005.11.14.02.12.50;	author kris;	state Exp;
branches;
next	1.13;

1.13
date	2003.10.16.05.34.33;	author edwin;	state Exp;
branches;
next	1.12;

1.12
date	2003.10.16.01.29.32;	author kris;	state Exp;
branches;
next	1.11;

1.11
date	2003.07.23.16.58.28;	author arved;	state Exp;
branches;
next	1.10;

1.10
date	2003.05.06.23.58.06;	author kris;	state Exp;
branches;
next	1.9;

1.9
date	2003.02.21.13.26.56;	author knu;	state Exp;
branches;
next	1.8;

1.8
date	2001.11.04.14.54.36;	author clive;	state Exp;
branches;
next	1.7;

1.7
date	2001.01.10.07.22.04;	author roam;	state Exp;
branches;
next	1.6;

1.6
date	2000.09.22.01.59.04;	author kris;	state Exp;
branches;
next	1.5;

1.5
date	2000.04.09.18.30.35;	author cpiazza;	state Exp;
branches;
next	1.4;

1.4
date	2000.02.06.21.58.20;	author kris;	state Exp;
branches;
next	1.3;

1.3
date	2000.01.02.23.17.48;	author dirk;	state Exp;
branches;
next	1.2;

1.2
date	2000.01.02.22.58.02;	author dirk;	state Exp;
branches;
next	1.1;

1.1
date	99.12.27.01.56.08;	author steve;	state Exp;
branches;
next	;


desc
@@


1.20
log
@Switch exporter over
@
text
@# Created by: Zahemszky, Gabor <ZGabor at CoDe dot HU>
# $FreeBSD: head/security/sslwrap/Makefile 307295 2012-11-10 17:07:42Z pawel $

PORTNAME=	sslwrap
PORTVERSION=	2.0.6
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	http://www.rickk.com/sslwrap/
DISTNAME=	${PORTNAME}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Another SSL Wrapper application, which uses SSLEay/OpenSSL

WRKSRC=		${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g}

USE_OPENSSL=	yes

PORTDOCS=	README docs.html
PLIST_FILES=	bin/sslwrap

.include <bsd.port.options.mk>

post-patch:
	@@${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \
		's|SSL_OP_NON_EXPORT_FIRST|SSL_OP_CIPHER_SERVER_PREFERENCE|g ; \
		 s|OPENSSL"|"openssl/|g'

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/sslwrap ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
	${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
	@@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
@


1.19
log
@SVN rev 307295 on 2012-11-10 17:07:42Z by pawel

- Add LICENSE
- Switch to PLIST_FILES, PORTDOCS
- Remove bunch of patches, replaced by REINPLACE_CMD

PR:		ports/172062
Submitted by:	KATO Tsuguru <tkato432@@yahoo.com>
Feature safe:	yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.18
log
@Remove trailing whitespaces.

Feature safe:	yes
@
text
@d1 1
a1 4
# New ports collection makefile for:	sslwrap
# Date created:		1999 november 7.
# Whom:			Zahemszky, Gabor <ZGabor at CoDe dot HU>
#
a2 1
#
d14 3
a16 1
USE_OPENSSL=	YES
d18 2
a19 1
WRKSRC=		${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g}
d21 1
a21 1
DOCS=		 README docs.html
d24 3
a26 6
	${REINPLACE_CMD} -e \
		's/SSL_OP_NON_EXPORT_FIRST/SSL_OP_CIPHER_SERVER_PREFERENCE/g' \
		${WRKSRC}/s_server.c
	${REINPLACE_CMD} -e \
		's,%%OPENSSL%%,openssl/,g' \
		${WRKSRC}/s_server.c ${WRKSRC}/s_cb.c ${WRKSRC}/apps.h ${WRKSRC}/s_socket.c
d29 2
a30 2
	${INSTALL_PROGRAM} ${WRKSRC}/sslwrap ${PREFIX}/bin/sslwrap
.if !defined(NOPORTDOCS)
d32 3
a34 1
	@@${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
@


1.17
log
@- Respect NOPORTDOCS/NOPORTEXAMPLES

Approved by:	portmgr (erwin)
@
text
@d36 1
a36 1
	@@${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ 
@


1.16
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d22 2
d35 2
a36 3
	${MKDIR} ${PREFIX}/share/doc/sslwrap
	${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/docs.html \
			${PREFIX}/share/doc/sslwrap
@


1.15
log
@Chase URLs per distfile survey.
@
text
@a18 1
USE_REINPLACE=	YES
@


1.14
log
@Reset undeliverable maintainer address:

<ZGabor@@CoDe.HU>: host mail.integrity.HU[195.56.44.40] said: 511 sorry, no
    mailbox here by that name (#5.1.1 - chkuser) (in reply to RCPT TO command)
@
text
@d12 1
a12 1
MASTER_SITES=	http://www.quiltaholic.com/rickk/sslwrap/
@


1.13
log
@add several patches to make it compiling on -current again.
Informed maintainer.
@
text
@d15 1
a15 1
MAINTAINER=	ZGabor@@CoDe.HU
@


1.12
log
@BROKEN on 5.x: does not compile
@
text
@d10 1
a22 6
.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 501000
BROKEN=		"Does not compile"
.endif

d24 6
a29 1
	${REINPLACE_CMD} -e 's/SSL_OP_NON_EXPORT_FIRST/SSL_OP_CIPHER_SERVER_PREFERENCE/g' ${WRKSRC}/s_server.c
d39 1
a39 1
.include <bsd.port.post.mk>
@


1.11
log
@Unbreak:

Update s_server.c by the following instruction from the openssl changelog

*) New option SSL_OP_CIPHER_SERVER_PREFERENCE allows the server to override
   the clients preferred ciphersuites and rather use its own preferences.
   Should help to work around M$ SGC (Server Gated Cryptography) bug in
   Internet Explorer by ensuring unchanged hash method during stepup.
   (Also replaces the broken/deactivated SSL_OP_NON_EXPORT_FIRST option.)
           [Lutz Jaenicke]

PR:		54280
Submitted by:	Gea-Suan Lin <gslin@@netnews.NCTU.edu.tw>
@
text
@d22 6
d39 1
a39 1
.include <bsd.port.mk>
@


1.10
log
@BROKEN: Does not compile
@
text
@a16 2
BROKEN=		"Does not compile"

d18 1
d21 3
@


1.9
log
@De-pkg-comment.
@
text
@d17 2
@


1.8
log
@Master site changed:
http://www.rickk.com/sslwrap/ -> http://www.quiltaholic.com/rickk/sslwrap/.

Found by: HTTP headers returned from www.rickk.com:80
@
text
@d15 1
@


1.7
log
@Update to 2.0.6.  Also fix the WRKSRC setting so that it is independent
of PORTVERSION.

Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/sslwrap/Makefile,v 1.6 2000/09/22 01:59:04 kris Exp $
d11 1
a11 1
MASTER_SITES=	http://www.rickk.com/sslwrap/
@


1.6
log
@Update all ports using OpenSSL and RSA to work without rsaref since
it is no longer required. Apologies to the various maintainers whom I
did not yet hear back from, but the ports freeze is coming up in a few
hours and I will be verifying all of these ports on a 4.1 machine
myself to catch any problems.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/sslwrap/Makefile,v 1.5 2000/04/09 18:30:35 cpiazza Exp $
d9 1
a9 1
PORTVERSION=	2.0.5
d18 1
a18 1
WRKSRC=		${WRKDIR}/sslwrap205
@


1.5
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/sslwrap/Makefile,v 1.4 2000/02/06 21:58:20 kris Exp $
d16 1
a16 1
USE_OPENSSL=	RSA
@


1.4
log
@USE_OPENSSL, respect CC, CFLAGS, LOCALBASE

Assisted by:    Jim Bloom <bloom@@acm.org>
@
text
@a1 1
# Version required:	2.0.5
d5 1
a5 1
# $FreeBSD: ports/security/sslwrap/Makefile,v 1.3 2000/01/02 23:17:48 dirk Exp $
d8 2
a9 2
DISTNAME=	sslwrap
PKGNAME=	sslwrap-2.0.5
d12 1
@


1.3
log
@Remove dependencies to header files in ${PREFIX} to avoid problems
if openssl is in the base system already.
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/sslwrap/Makefile,v 1.2 2000/01/02 22:58:02 dirk Exp $
d16 1
a16 7
LIB_DEPENDS=	crypto.1:${PORTSDIR}/security/openssl \
		ssl.1:${PORTSDIR}/security/openssl

.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
LIB_DEPENDS=	rsaref.2:${PORTSDIR}/security/rsaref
MAKE_ENV+=	EXTRA_SSL_LIBS="-lRSAglue -lrsaref"
.endif
@


1.2
log
@Use LIB_DEPENDS instead of RUN_DEPENDS. It's more appropriate here.
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/sslwrap/Makefile,v 1.1 1999/12/27 01:56:08 steve Exp $
a17 1
BUILD_DEPENDS=	${PREFIX}/include/openssl/ssl.h:${PORTSDIR}/security/openssl
@


1.1
log
@Adding sslwrap version 2.0.5.
Another SSL wrapper application, which uses SSLEay/OpenSSL.

PR:		14771
Submitted by:	Zahemszky Gabor <zgabor@@CoDe.HU>
@
text
@d6 1
a6 1
# $FreeBSD$
d16 2
a17 1
RUN_DEPENDS=	${PREFIX}/lib/libssl.a:${PORTSDIR}/security/openssl
@

