apache2-mod_nss/mod_nss-gencert-correct-ownership.patch
Petr Gajdos dab7162805 Accepting request 427944 from home:vitezslav_cizek:branches:Apache:Modules
- don't disable SSLV2, because it doesn't work with NSS 3.24
  (boo#993642)
  * add mod_nss-dont_disable_SSLV2.patch
- remove deprecated NSSSessionCacheTimeout option from mod_nss.conf.in
  (bsc#998176)
- change ownership of the gencert generated NSS database so apache
  can read it (bsc#998180)
  * add mod_nss-gencert-correct-ownership.patch
- use correct configuration path in mod_nss.conf.in (bsc#996282)
- remove %post migration code from the old alias directory
- generate dummy certificates if there aren't any in mod_nss.d

OBS-URL: https://build.opensuse.org/request/show/427944
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_nss?expand=0&rev=28
2016-09-16 07:23:46 +00:00

16 lines
513 B
Diff

Index: mod_nss-1.0.14/gencert.in
===================================================================
--- mod_nss-1.0.14.orig/gencert.in 2016-04-15 20:27:59.000000000 +0200
+++ mod_nss-1.0.14/gencert.in 2016-09-13 17:11:20.810502756 +0200
@@ -332,4 +332,10 @@ echo ""
echo "The database password is httptest"
echo ""
+# change the ownership of the NSS database so apache can access it
+echo "Setting the ownership of the NSS database to root:www"
+chmod 640 $DBDIR/*.db
+chown root:www $DBDIR/*.db
+
+
exit 0