Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2022 08:42:04 +0200
From:      Andrea Venturoli <ml@netfence.it>
To:        ports-secteam@FreeBSD.org
Cc:        ports@freebsd.org
Subject:   security/ca_root_nss and /usr/local/etc/ssl/cert.pem
Message-ID:  <e1036b7d-f193-8b06-6847-b10f8db3ee5a@netfence.it>

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

Hello.

I've got this file (/usr/local/etc/ssl/cert.pem) in the way, I keep 
deleting it and it keeps coming up again everytime I upgrade this package.

This puzzles me a bit...

 From Makefile:
> do-install-ETCSYMLINK-on:
>         ${MKDIR} ${STAGEDIR}/etc/ssl
>         ${LN} -sf ../..${PREFIX}/${CERTDIR}/ca-root-nss.crt ${STAGEDIR}/etc/ssl/cert.pem
>         ${LN} -sf ../../${CERTDIR}/ca-root-nss.crt ${STAGEDIR}${PREFIX}/etc/ssl/cert.pem
>         ${LN} -sf ../${CERTDIR}/ca-root-nss.crt ${STAGEDIR}${PREFIX}/openssl/cert.pem

And pkg-plist:
> %%ETCSYMLINK%%/etc/ssl/cert.pem

I build the port in Poudriere and I turned the ETCSYMLINK option off, 
but still this file comes up.

Am I doing something wrong?
Is this expected behaviour/a bug/a feature?
Anything to try?

  bye & Thanks
	av.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e1036b7d-f193-8b06-6847-b10f8db3ee5a>