Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2014 18:33:34 +0900 (JST)
From:      Yasuhiro KIMURA <yasu@utahime.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/188418: [PATCH] security/stunnel: Add 'USES=shebangfix' to fix 'stunnel3' script.
Message-ID:  <20140410093334.BC5867591D@eastasia.home.utahime.org>
Resent-Message-ID: <201404100940.s3A9e0u6015085@freefall.freebsd.org>

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

>Number:         188418
>Category:       ports
>Synopsis:       [PATCH] security/stunnel: Add 'USES=shebangfix' to fix 'stunnel3' script.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 10 09:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Yasuhiro KIMURA
>Release:        FreeBSD 10.0-RELEASE-p1 amd64
>Organization:
>Environment:
System: FreeBSD xxxx 10.0-RELEASE-p1 FreeBSD 10.0-RELEASE-p1 #0 r264289: Wed Apr  9 15:03:16
>Description:
- Add 'USES=shebangfix' to fix perl path of 'stunnel3' script.
- Strip shared library.
- Bump PORTREVISION because script file and shared library changed.

Port maintainer (zi@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- stunnel-5.01.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 350792)
+++ Makefile	(working copy)
@@ -3,6 +3,7 @@
 
 PORTNAME=	stunnel
 PORTVERSION=	5.01
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	https://www.stunnel.org/downloads/%SUBDIR%/ \
 		http://mirrors.zerg.biz/stunnel/%SUBDIR%/ \
@@ -25,6 +26,7 @@
 LICENSE=	GPLv2 GPLv3
 LICENSE_COMB=	dual
 
+USES=		shebangfix
 USE_AUTOTOOLS=	libtool
 USE_RC_SUBR=	stunnel
 USE_LDCONFIG=	yes
@@ -31,6 +33,7 @@
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--localstatedir=/var/tmp --enable-static
+SHEBANG_FILES=	src/stunnel3.in
 
 OPTIONS_DEFINE=			IPV6 LIBWRAP SSL_PORT FIPS
 OPTIONS_SINGLE=			THREAD
@@ -102,6 +105,9 @@
 	@${REINPLACE_CMD} -E -e 's|\$$\(docdir\)/examples|${EXAMPLESDIR}|g' ${WRKSRC}/tools/Makefile.in
 .endif
 
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/stunnel/libstunnel.so
+
 cert:
 	@${ECHO} ""
 	@${ECHO} "**************************************************************************"
--- stunnel-5.01.patch ends here ---

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



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