[125071] trunk/dports/security

Kurt Hindenburg kurt.hindenburg at gmail.com
Thu Sep 4 18:25:29 PDT 2014


On 9/4/14, 1:36 PM, Ryan Schmidt wrote:
> On Sep 4, 2014, at 8:53 AM, khindenburg at macports.org wrote:
>> Revision
>> 125071
>> Author
>> khindenburg at macports.org
>> Date
>> 2014-09-04 06:53:12 -0700 (Thu, 04 Sep 2014)
>> Log Message
>>
>> easy-rsa: new port w/ maintainer #44287
>> Added Paths
>>
>> 	• trunk/dports/security/easy-rsa/
>> 	• trunk/dports/security/easy-rsa/Portfile
>> 	• trunk/dports/security/easy-rsa/files/
>> 	• trunk/dports/security/easy-rsa/files/patch-set-macports-paths.diff
>
>> +destroot {
>> +    xinstall -d ${destroot}${prefix}/bin
> No need to create this directory manually: MacPorts creates standard directories for you.
>
fixed in r125083
>> --- trunk/dports/security/easy-rsa/files/patch-set-macports-paths.diff	                        (rev 0)
>> +++ trunk/dports/security/easy-rsa/files/patch-set-macports-paths.diff	2014-09-04 13:53:12 UTC (rev 125071)
>> @@ -0,0 +1,43 @@
>> +--- easyrsa
>> ++++ easyrsa
>> +@@ -885,7 +885,7 @@ vars_setup() {
>> + 	local vars=
>> +
>> + 	# set up program path
>> +-	local prog_vars="${0%/*}/vars"
>> ++	local prog_vars="/opt/local/share/easy-rsa"
>> +-	set_var EASYRSA		"$PWD"
>> ++	set_var EASYRSA		"/opt/local/share/easy-rsa"
>> +-#set_var EASYRSA	"$PWD"
>> ++#set_var EASYRSA	"/opt/local/share/easy-rsa"
> "/opt/local" must not be hardcoded in this file; arrange (e.g. via a placeholder and a post-patch reinplace) to use the value of the ${prefix} variable. I guess this will change the files that get installed, which would mean the port's revision should increase when this is fixed.
>
fixed in r125085 - A diff of the previous and new files didn't show any 
difference so I didn't increase the revision.

Thanks
   Kurt




More information about the macports-dev mailing list