Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2009 18:46:58 +0400 (MSD)
From:      Sergei Vyshenski <svysh@pn.sinp.msu.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/133274: [Maintainer update:] security/p5-openxpki-deployment
Message-ID:  <200904011446.n31EkwJo056693@vivaldi.pn.sinp.msu.ru>
Resent-Message-ID: <200904011510.n31FA2As048084@freefall.freebsd.org>

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

>Number:         133274
>Category:       ports
>Synopsis:       [Maintainer update:] security/p5-openxpki-deployment
>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:   Wed Apr 01 15:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Vyshenski
>Release:        FreeBSD 6.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD vivaldi.pn.sinp.msu.ru 6.4-STABLE FreeBSD 6.4-STABLE #0: Sun Mar 31 21:19:16 MSK 2007     root@vivaldi.pn.sinp.msu.ru:/usr/obj/usr/src/sys/VIVALDI  i386


	
>Description:
	
Attempt to fix a problem which is experienced by robot only as in:

http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.7.20090313123051/p5-openxpki-deployment-0.9.1386.log 

My guess is that we should simply help robots to find "bash" in a proper place.

>How-To-Repeat:
	
>Fix:

diff -ur p5-openxpki-deployment/Makefile p5-openxpki-deployment.new/Makefile
--- p5-openxpki-deployment/Makefile	2009-01-22 14:57:37.000000000 +0300
+++ p5-openxpki-deployment.new/Makefile	2009-04-01 18:29:22.000000000 +0400
@@ -7,6 +7,7 @@
 
 PORTNAME=	openxpki-deployment
 PORTVERSION=	0.9.1386
+PORTREVISION=	1
 CATEGORIES=	security perl5
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	openxpki
@@ -33,6 +34,11 @@
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix ${PREFIX}
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|#!/usr/bin/env bash|#! ${LOCALBASE}/bin/bash|' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|#!/usr/bin/env bash|#! ${LOCALBASE}/bin/bash|' ${WRKSRC}/bin/*
+	@${REINPLACE_CMD} -e 's|#!/usr/bin/env perl|#! ${PERL}|' ${WRKSRC}/bin/*
+
 post-install:
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "================================ A piece of advice ==================================="
>Release-Note:
>Audit-Trail:
>Unformatted:



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