[121399] trunk/dports/security

Ryan Schmidt ryandesign at macports.org
Tue Jun 24 15:34:03 PDT 2014


On Jun 24, 2014, at 4:12 PM, petr at macports.org wrote:

> Revision
> 121399
> Author
> petr at macports.org
> Date
> 2014-06-24 14:12:01 -0700 (Tue, 24 Jun 2014)
> Log Message
> 
> igtf-ca-bundle @1.57: new port, closes #41532
> Added Paths
> 
> 	• trunk/dports/security/igtf-ca-bundle/
> 	• trunk/dports/security/igtf-ca-bundle/Portfile
> 	• trunk/dports/security/igtf-ca-bundle/files/
> 	• trunk/dports/security/igtf-ca-bundle/files/LICENSE-CC-BY-3_0
> 	• trunk/dports/security/igtf-ca-bundle/files/LICENSE-MPL-1_1
> Diff
> 
> Added: trunk/dports/security/igtf-ca-bundle/Portfile (0 => 121399)

> +configure.args-append \
> +	--prefix=${destroot}${certdir} \
> +	--with-profile=classic \
> +	--with-profile=slcs \
> +	--with-profile=mics

MacPorts puts the --prefix=${prefix} argument in configure.pre_args. If you want a different prefix, you should override configure.pre_args, not put a second --prefix argument in configure.args.


> +post-deactivate {
> +    ui_msg "Purging CRLs ..."
> +    system "${prefix}/sbin/clean-crl -v -l ${certdir}"
> +
> +    # cleanup leftover directories
> +    catch {file delete ${certdir}}
> +    catch {file delete ${prefix}/etc/grid-security}
> +}

You can just use "delete X" instead of "catch {file delete X}".



More information about the macports-dev mailing list