On Thu, 12 Aug 2010 15:29:04 -0300
Klaus Heinrich Kiwi <[email protected]> wrote:

> --- a/usr/lib/pkcs11/ica_s390_stdll/Makefile.am
> +++ b/usr/lib/pkcs11/ica_s390_stdll/Makefile.am
> @@ -30,6 +30,8 @@ install-data-hook:
>       cd $(DESTDIR)$(libdir)/opencryptoki/stdll && \
>               ln -sf libpkcs11_ica.so PKCS11_ICA.so
>       $(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/opencryptoki/lite
> +     $(CHOWN) :pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/lite
> +     $(CHMOD) g+rwX $(DESTDIR)$(localstatedir)/lib/opencryptoki/lite
> 
>  uninstall-hook:
>       if test -d $(DESTDIR)$(libdir)/opencryptoki/stdll; then \
> diff --git a/usr/lib/pkcs11/soft_stdll/Makefile.am 
> b/usr/lib/pkcs11/soft_stdll/Makefile.am
> index e074a50..99f1450 100644
> --- a/usr/lib/pkcs11/soft_stdll/Makefile.am
> +++ b/usr/lib/pkcs11/soft_stdll/Makefile.am
> @@ -51,6 +51,8 @@ install-data-hook:
>       cd $(DESTDIR)$(libdir)/opencryptoki/stdll && \
>               ln -sf libpkcs11_sw.so PKCS11_SW.so
>       $(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/opencryptoki/swtok
> +     $(CHOWN) :pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/swtok
> +     $(CHMOD) g+rwX $(DESTDIR)$(localstatedir)/lib/opencryptoki/swtok

For the record (and as a reminder to self), I never committed this one
simply because there's no easy way to make sure that we have a pkcs11
group at install time.

 -Klaus

-- 
Klaus Heinrich Kiwi | [email protected] | http://blog.klauskiwi.com
Open Source Security blog :     http://www.ratliff.net/blog
IBM Linux Technology Center :   http://www.ibm.com/linux/ltc

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech

Reply via email to