Date: Sun, 7 Oct 2007 00:36:45 +0200 (CEST) From: Janos Mohacsi <janos.mohacsi@bsd.hu> To: FreeBSD-gnats-submit@FreeBSD.org Cc: stefan@FreeBSD.org Subject: ports/116986: [MAINTAINER] security/tinyca: [make it possible to use openssl from ports] Message-ID: <200710062236.l96MajgY055285@scone.ki.iif.hu> Resent-Message-ID: <200710062240.l96Me4pF051145@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 116986 >Category: ports >Synopsis: [MAINTAINER] security/tinyca: [make it possible to use openssl from ports] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Oct 06 22:40:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Janos Mohacsi >Release: FreeBSD 7.0-CURRENT i386 >Organization: NIIF/HUNGARNET >Environment: System: FreeBSD scone.ki.iif.hu 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Jun 27 18:22:17 CEST 2007 >Description: Modify in order the user can select if builtin or ports openssl want to use. This can be selected with WITH_OPENSSL_BASE or WITH_OPENSSL_PORT variable. This fixes the problem http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/109041 Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- tinyca-0.7.5_2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/security/tinyca.orig/Makefile /usr/ports/security/tinyca/Makefile --- /usr/ports/security/tinyca.orig/Makefile 2007-05-19 22:22:55.000000000 +0200 +++ /usr/ports/security/tinyca/Makefile 2007-10-07 00:28:26.000000000 +0200 @@ -7,7 +7,7 @@ PORTNAME= tinyca PORTVERSION= 0.7.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security net MASTER_SITES= http://tinyca.sm-zone.net/ \ http://tinyca.sm-zone.net/old/ @@ -39,7 +39,7 @@ @${INSTALL_DATA} ${WRKSRC}/lib/GUI/${file} ${SITE_PERL}/${PORTNAME}/GUI .endfor @${INSTALL_DATA} ${WRKSRC}/templates/openssl.cnf ${PREFIX}/etc/tinyca.cnf.sample - @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" -e "s:%%SITE_PERL%%:${SITE_PERL}:g" \ + @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" -e "s:%%SITE_PERL%%:${SITE_PERL}:g" -e "s:%%OPENSSLBASE%%:${OPENSSLBASE}:g" \ ${WRKSRC}/tinyca2 >${WRKSRC}/tinyca.new @${INSTALL_SCRIPT} ${WRKSRC}/tinyca.new ${PREFIX}/bin/tinyca diff -ruN --exclude=CVS /usr/ports/security/tinyca.orig/files/patch-tinyca2 /usr/ports/security/tinyca/files/patch-tinyca2 --- /usr/ports/security/tinyca.orig/files/patch-tinyca2 2006-04-15 18:27:52.000000000 +0200 +++ /usr/ports/security/tinyca/files/patch-tinyca2 2007-10-07 00:19:16.000000000 +0200 @@ -1,5 +1,5 @@ -$FreeBSD: ports/security/tinyca/files/patch-tinyca2,v 1.2 2006/04/15 16:27:52 pav Exp $ +$FreeBSD$ --- tinyca2.orig +++ tinyca2 @@ -12,18 +12,20 @@ } use strict; -@@ -53,8 +53,8 @@ +@@ -55,9 +55,9 @@ + my $init = {}; # location of openssl - $init->{'opensslbin'} = "/usr/bin/openssl"; +-$init->{'opensslbin'} = "/usr/bin/openssl"; -$init->{'zipbin'} = "/usr/bin/zip"; -$init->{'tarbin'} = "/bin/tar"; ++$init->{'opensslbin'} = "%%OPENSSLBASE%%/bin/openssl"; +$init->{'zipbin'} = "%%PREFIX%%/bin/zip"; +$init->{'tarbin'} = "/usr/bin/tar"; if(not -x $init->{'opensslbin'}) { printf(gettext("Can't execute %s.\n"), $init->{'opensslbin'}); -@@ -73,7 +73,7 @@ +@@ -76,7 +76,7 @@ } # directory with the templates --- tinyca-0.7.5_2.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?200710062236.l96MajgY055285>