[csw-devel] SF.net SVN: gar:[17992] csw/mgar/pkg/ca_certificates/trunk

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Fri May 11 19:24:11 CEST 2012


Revision: 17992
          http://gar.svn.sourceforge.net/gar/?rev=17992&view=rev
Author:   chninkel
Date:     2012-05-11 17:24:11 +0000 (Fri, 11 May 2012)
Log Message:
-----------
ca_certificates/trunk: prepared ca_certificates so it's compatible with openssl 1.0 package

Modified Paths:
--------------
    csw/mgar/pkg/ca_certificates/trunk/Makefile
    csw/mgar/pkg/ca_certificates/trunk/files/update-ca-certificates

Added Paths:
-----------
    csw/mgar/pkg/ca_certificates/trunk/files/hash.db

Modified: csw/mgar/pkg/ca_certificates/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ca_certificates/trunk/Makefile	2012-05-11 15:55:34 UTC (rev 17991)
+++ csw/mgar/pkg/ca_certificates/trunk/Makefile	2012-05-11 17:24:11 UTC (rev 17992)
@@ -43,12 +43,17 @@
 TEST_SCRIPTS =
 INSTALL_SCRIPTS = custom
 
+#HASH_TYPES = hash subject_hash_old
+HASH_TYPES = hash
+
 include gar/category.mk
 
 $(WORKDIR)/hash.db: install-certificates
 	rm -f $(WORKDIR)/hash.db
 	find "$(DESTDIR)/$(sharedstatedir)/$(NAME)" -name *.pem | while read FILE; do \
-		echo "`basename $$FILE`=`/opt/csw/bin/openssl x509 -hash -fingerprint -noout -in "$$FILE" | head -n 1`.0" >> $(WORKDIR)/hash.db; \
+		for HASH_TYPE in $(HASH_TYPES); do \
+			echo "`basename $$FILE`=`/opt/csw/bin/openssl x509 -$$HASH_TYPE -fingerprint -noout -in "$$FILE" | head -n 1`.0" >> $(WORKDIR)/hash.db; \
+		done; \
 	done
 
 $(WORKDIR)/LICENSE: $(WORKDIR)/certdata.txt

Added: csw/mgar/pkg/ca_certificates/trunk/files/hash.db
===================================================================
--- csw/mgar/pkg/ca_certificates/trunk/files/hash.db	                        (rev 0)
+++ csw/mgar/pkg/ca_certificates/trunk/files/hash.db	2012-05-11 17:24:11 UTC (rev 17992)
@@ -0,0 +1,300 @@
+Verisign_Class_1_Public_Primary_Certification_Authority.pem=2edf7016.0
+UTN_USERFirst_Hardware_Root_CA.pem=ff783690.0
+TC_TrustCenter_Universal_CA_I.pem=5021a0a2.0
+AffirmTrust_Networking.pem=86212b19.0
+Comodo_AAA_Services_root.pem=75680d2e.0
+TWCA_Root_Certification_Authority.pem=b7db1890.0
+EBG_Elektronik_Sertifika_Hizmet_SaAlayAcAsA.pem=f80cc7f6.0
+AffirmTrust_Premium.pem=dbc54cab.0
+Equifax_Secure_CA.pem=594f1775.0
+GeoTrust_Universal_CA.pem=e775ed2d.0
+Network_Solutions_Certificate_Authority.pem=2fa87019.0
+Verisign_Class_3_Public_Primary_Certification_Authority.pem=7651b327.0
+COMODO_Certification_Authority.pem=5a3f0ff8.0
+UTN_USERFirst_Object_Root_CA.pem=ccb919f9.0
+QuoVadis_Root_CA_3.pem=9339512a.0
+Thawte_Server_CA.pem=ddc328ff.0
+Comodo_Trusted_Services_root.pem=124bbd54.0
+Certinomis_-_AutoritA_Racine.pem=7672ac4b.0
+Security_Communication_Root_CA.pem=a3896b44.0
+Wells_Fargo_Root_CA.pem=6adf0799.0
+NetLock_Business_Class_B_Root.pem=5a5372fc.0
+TC_TrustCenter__Germany__Class_2_CA.pem=256fd83b.0
+NetLock_Notary_Class_A_Root.pem=add67345.0
+UTN_USERFirst_Email_Root_CA.pem=9ec3a561.0
+ValiCert_Class_2_VA.pem=bcdd5959.0
+Verisign_Class_2_Public_Primary_Certification_Authority.pem=b5f329fa.0
+Microsec_e-Szigno_Root_CA_2009.pem=e8651083.0
+Root_CA_Generalitat_Valenciana.pem=fb126c6d.0
+Verisign_Class_1_Public_Primary_Certification_Authority_-_G3.pem=11f154d6.0
+Swisscom_Root_CA_1.pem=e60bf0c0.0
+NetLock_Express_Class_C_Root.pem=635ccfd5.0
+Go_Daddy_Root_Certificate_Authority_-_G2.pem=bc3f2570.0
+Go_Daddy_Class_2_CA.pem=219d9499.0
+TURKTRUST_Certificate_Services_Provider_Root_2.pem=56b8a0b6.0
+Firmaprofesional_Root_CA.pem=1155c94b.0
+WellsSecure_Public_Root_Certificate_Authority.pem=08aef7bb.0
+XRamp_Global_CA_Root.pem=76579174.0
+RSA_Security_2048_v3.pem=8470719d.0
+Secure_Global_CA.pem=bdacca6f.0
+Juur-SK.pem=119afc2e.0
+ComSign_CA.pem=ff588423.0
+Sonera_Class_1_Root_CA.pem=755f7420.0
+Equifax_Secure_eBusiness_CA_1.pem=e7b8d656.0
+ACEDICOM_Root.pem=ea169617.0
+TC_TrustCenter_Universal_CA_III.pem=1df5ec47.0
+Starfield_Services_Root_Certificate_Authority_-_G2.pem=10531352.0
+DST_Root_CA_X3.pem=12d55845.0
+TDC_Internet_Root_CA.pem=d537fba6.0
+NetLock_Arany_Class_Gold_FAtanAsAtvAny.pem=60afe812.0
+Microsec_e-Szigno_Root_CA.pem=f61bff45.0
+Verisign_Class_1_Public_Primary_Certification_Authority_-_G2.pem=c19d42c7.0
+SecureSign_RootCA11.pem=ab5346f4.0
+DigiCert_Assured_ID_Root_CA.pem=69105f4f.0
+Digital_Signature_Trust_Co._Global_CA_3.pem=a15b3b6b.0
+TABATAK_UEKAE_KAk_Sertifika_Hizmet_SaAlayAcAsA_-_SArAm_3.pem=418595b9.0
+Certplus_Class_2_Primary_CA.pem=17b51fe6.0
+QuoVadis_Root_CA_2.pem=7a819ef2.0
+ComSign_Secured_CA.pem=f58a60fe.0
+America_Online_Root_Certification_Authority_2.pem=2fb1850a.0
+Certum_Trusted_Network_CA.pem=95aff9e3.0
+IGC_A.pem=58a44af1.0
+QuoVadis_Root_CA.pem=5cf9d536.0
+AddTrust_External_Root.pem=3c58f906.0
+Cybertrust_Global_Root.pem=343eb6cb.0
+Entrust_Root_Certification_Authority.pem=bf64f35b.0
+AddTrust_Low-Value_Services_Root.pem=e268a4c5.0
+StartCom_Certification_Authority.pem=33815e15.0
+SwissSign_Silver_CA_-_G2.pem=5046c355.0
+RSA_Root_Certificate_1.pem=7d3cd826.0
+GTE_CyberTrust_Global_Root.pem=4d654d1d.0
+DigiCert_Global_Root_CA.pem=399e7759.0
+GeoTrust_Global_CA.pem=7999be0d.0
+Camerfirma_Chambers_of_Commerce_Root.pem=ee7cd6fb.0
+Buypass_Class_2_CA_1.pem=72f369af.0
+America_Online_Root_Certification_Authority_1.pem=bda4cc84.0
+AffirmTrust_Commercial.pem=e48193cf.0
+AC_RaAz_CerticAmara_S.A..pem=c8763593.0
+GeoTrust_Global_CA_2.pem=57692373.0
+certSIGN_ROOT_CA.pem=882de061.0
+Verisign_Class_4_Public_Primary_Certification_Authority_-_G2.pem=ed049835.0
+Taiwan_GRCA.pem=1dcd6f4c.0
+GeoTrust_Universal_CA_2.pem=87753b0d.0
+Security_Communication_EV_RootCA1.pem=9dbefe7b.0
+Entrust.net_Premium_2048_Secure_Server_CA.pem=3e7271e8.0
+Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem=d16a5865.0
+AddTrust_Public_Services_Root.pem=a2df7ad7.0
+SwissSign_Gold_CA_-_G2.pem=3c860d51.0
+Certigna.pem=fde84897.0
+GlobalSign_Root_CA_-_R3.pem=1e8e7201.0
+Starfield_Class_2_CA.pem=23f4c490.0
+TURKTRUST_Certificate_Services_Provider_Root_1.pem=84cba82f.0
+Chambers_of_Commerce_Root_-_2008.pem=1eb37bdf.0
+Verisign_Class_3_Public_Primary_Certification_Authority_-_G3.pem=7d453d8f.0
+TDC_OCES_Root_CA.pem=11a09b38.0
+Staat_der_Nederlanden_Root_CA.pem=cdaebb72.0
+GeoTrust_Primary_Certification_Authority_-_G3.pem=c7e2a638.0
+A-Trust-nQual-03.pem=c3a6a9ad.0
+VeriSign_Class_3_Public_Primary_Certification_Authority_-_G4.pem=5e4e69e7.0
+UTN-USER_First-Network_Applications.pem=d8274e24.0
+CNNIC_ROOT.pem=895cad1a.0
+NetLock_Qualified_Class_QA_Root.pem=8317b10c.0
+Equifax_Secure_eBusiness_CA_2.pem=8f7b96c4.0
+Izenpe.com.pem=48a195d8.0
+GeoTrust_Primary_Certification_Authority.pem=9772ca32.0
+Camerfirma_Global_Chambersign_Root.pem=a0bc6fbb.0
+thawte_Primary_Root_CA_-_G2.pem=a7d2cf64.0
+OISTE_WISeKey_Global_Root_GA_CA.pem=3a3b02ce.0
+Sonera_Class_2_Root_CA.pem=a7605362.0
+E-Guven_Kok_Elektronik_Sertifika_Hizmet_Saglayicisi.pem=0d188d89.0
+Verisign_Class_2_Public_Primary_Certification_Authority_-_G2.pem=ed62f4e3.0
+SwissSign_Platinum_CA_-_G2.pem=46b2fd3b.0
+Entrust.net_Secure_Server_CA.pem=ed524cf5.0
+Buypass_Class_3_CA_1.pem=eb375c3e.0
+AffirmTrust_Premium_ECC.pem=ccc52f49.0
+Verisign_Class_4_Public_Primary_Certification_Authority_-_G3.pem=c527e4ab.0
+Equifax_Secure_Global_eBusiness_CA.pem=74c26bd0.0
+Baltimore_CyberTrust_Root.pem=3ad48a91.0
+ePKI_Root_Certification_Authority.pem=9d6523ce.0
+Hongkong_Post_Root_CA_1.pem=9685a493.0
+ValiCert_Class_1_VA.pem=f4996e82.0
+CA_Disig.pem=d64f06f3.0
+SecureTrust_CA.pem=cf701eeb.0
+Visa_eCommerce_Root.pem=6fcc125d.0
+Deutsche_Telekom_Root_CA_2.pem=4e18c148.0
+Digital_Signature_Trust_Co._Global_CA_1.pem=c215bc69.0
+Staat_der_Nederlanden_Root_CA_-_G2.pem=3d441de8.0
+Certum_Root_CA.pem=6e8bf996.0
+DigiCert_High_Assurance_EV_Root_CA.pem=81b9768f.0
+COMODO_ECC_Certification_Authority.pem=89c02a45.0
+Verisign_Class_2_Public_Primary_Certification_Authority_-_G3.pem=d78a75c7.0
+thawte_Primary_Root_CA_-_G3.pem=67495436.0
+AddTrust_Qualified_Certificates_Root.pem=052e396b.0
+Comodo_Secure_Services_root.pem=02b73561.0
+TC_TrustCenter__Germany__Class_3_CA.pem=54edfa5d.0
+S-TRUST_Authentication_and_Encryption_Root_CA_2005_PN.pem=f559733c.0
+VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.pem=facacbc6.0
+TC_TrustCenter_Class_2_CA_II.pem=2afc57aa.0
+DST_ACES_CA_X6.pem=1dac3003.0
+Global_Chambersign_Root_-_2008.pem=9f533518.0
+UTN_DATACorp_SGC_Root_CA.pem=4fbd6bfa.0
+ApplicationCA_-_Japanese_Government.pem=fac084d7.0
+GlobalSign_Root_CA.pem=b0f3e76e.0
+Verisign_Class_3_Public_Primary_Certification_Authority_-_G2.pem=72fa7371.0
+GeoTrust_Primary_Certification_Authority_-_G2.pem=27af790d.0
+VeriSign_Universal_Root_Certification_Authority.pem=524d9b43.0
+Thawte_Premium_Server_CA.pem=c33a80d4.0
+TC_TrustCenter_Class_3_CA_II.pem=7a481e66.0
+GlobalSign_Root_CA_-_R2.pem=111e6273.0
+Starfield_Root_Certificate_Authority_-_G2.pem=85cde254.0
+thawte_Primary_Root_CA.pem=00673b5b.0
+A-Trust-nQual-03.pem=9c472bf7.0
+ACEDICOM_Root.pem=381ce4dd.0
+AC_RaAz_CerticAmara_S.A..pem=6f2c1157.0
+AddTrust_External_Root.pem=157753a5.0
+AddTrust_Low-Value_Services_Root.pem=861a399d.0
+AddTrust_Public_Services_Root.pem=8b59b1ad.0
+AddTrust_Qualified_Certificates_Root.pem=e536d871.0
+AffirmTrust_Commercial.pem=2b349938.0
+AffirmTrust_Networking.pem=93bc0acc.0
+AffirmTrust_Premium.pem=b727005e.0
+AffirmTrust_Premium_ECC.pem=9c8dfbd4.0
+America_Online_Root_Certification_Authority_1.pem=eacdeb40.0
+America_Online_Root_Certification_Authority_2.pem=201cada0.0
+ApplicationCA_-_Japanese_Government.pem=57bbd831.0
+Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem=3bde41ac.0
+Baltimore_CyberTrust_Root.pem=653b494a.0
+Buypass_Class_2_CA_1.pem=cfa1c2ee.0
+Buypass_Class_3_CA_1.pem=8e52d3cd.0
+CA_Disig.pem=b6c5745d.0
+CNNIC_ROOT.pem=bd1910d4.0
+COMODO_Certification_Authority.pem=40547a79.0
+COMODO_ECC_Certification_Authority.pem=eed8c118.0
+Camerfirma_Chambers_of_Commerce_Root.pem=f90208f7.0
+Certigna.pem=e113c810.0
+Camerfirma_Global_Chambersign_Root.pem=cb59f961.0
+Certinomis_-_AutoritA_Racine.pem=d957f522.0
+Certplus_Class_2_Primary_CA.pem=f060240e.0
+Certum_Root_CA.pem=442adcac.0
+Certum_Trusted_Network_CA.pem=48bec511.0
+Chambers_of_Commerce_Root_-_2008.pem=c47d9980.0
+ComSign_CA.pem=bb2d49a0.0
+ComSign_Secured_CA.pem=2251b13a.0
+Comodo_AAA_Services_root.pem=ee64a828.0
+Comodo_Secure_Services_root.pem=c9f83a1c.0
+Comodo_Trusted_Services_root.pem=56657bde.0
+Cybertrust_Global_Root.pem=76cb8f92.0
+DST_ACES_CA_X6.pem=790a7190.0
+IGC_A.pem=3ee7e181.0
+DST_Root_CA_X3.pem=2e5ac55d.0
+Deutsche_Telekom_Root_CA_2.pem=812e17de.0
+DigiCert_Assured_ID_Root_CA.pem=b1159c4c.0
+DigiCert_Global_Root_CA.pem=3513523f.0
+DigiCert_High_Assurance_EV_Root_CA.pem=244b5494.0
+Digital_Signature_Trust_Co._Global_CA_1.pem=a6a593ba.0
+Digital_Signature_Trust_Co._Global_CA_3.pem=9f541fb4.0
+E-Guven_Kok_Elektronik_Sertifika_Hizmet_Saglayicisi.pem=0b759015.0
+EBG_Elektronik_Sertifika_Hizmet_SaAlayAcAsA.pem=3b2716e5.0
+Entrust.net_Premium_2048_Secure_Server_CA.pem=aee5f10d.0
+Equifax_Secure_CA.pem=578d5c04.0
+Entrust.net_Secure_Server_CA.pem=5f267794.0
+Entrust_Root_Certification_Authority.pem=6b99d060.0
+Equifax_Secure_Global_eBusiness_CA.pem=ef2f636c.0
+Equifax_Secure_eBusiness_CA_1.pem=79ad8b43.0
+Equifax_Secure_eBusiness_CA_2.pem=4597689c.0
+Firmaprofesional_Root_CA.pem=ce026bf8.0
+GTE_CyberTrust_Global_Root.pem=c692a373.0
+GeoTrust_Global_CA.pem=2c543cd1.0
+GeoTrust_Global_CA_2.pem=cbeee9e2.0
+GeoTrust_Primary_Certification_Authority.pem=480720ec.0
+GeoTrust_Primary_Certification_Authority_-_G2.pem=116bf586.0
+GeoTrust_Primary_Certification_Authority_-_G3.pem=e2799e36.0
+GeoTrust_Universal_CA.pem=ad088e1d.0
+GeoTrust_Universal_CA_2.pem=8867006a.0
+GlobalSign_Root_CA.pem=5ad8a5d6.0
+GlobalSign_Root_CA_-_R2.pem=4a6481c9.0
+GlobalSign_Root_CA_-_R3.pem=062cdee6.0
+Global_Chambersign_Root_-_2008.pem=0c4c9b6c.0
+Go_Daddy_Class_2_CA.pem=f081611a.0
+Go_Daddy_Root_Certificate_Authority_-_G2.pem=cbf06781.0
+Hongkong_Post_Root_CA_1.pem=3e45d192.0
+Izenpe.com.pem=cc450945.0
+Juur-SK.pem=fcac10e3.0
+Microsec_e-Szigno_Root_CA.pem=024dc131.0
+Taiwan_GRCA.pem=6410666e.0
+Microsec_e-Szigno_Root_CA_2009.pem=8160b96c.0
+NetLock_Arany_Class_Gold_FAtanAsAtvAny.pem=988a38cb.0
+NetLock_Business_Class_B_Root.pem=b7e7231a.0
+NetLock_Express_Class_C_Root.pem=2ab3b959.0
+NetLock_Notary_Class_A_Root.pem=d9d12c58.0
+NetLock_Qualified_Class_QA_Root.pem=861e0100.0
+Network_Solutions_Certificate_Authority.pem=4304c5e5.0
+OISTE_WISeKey_Global_Root_GA_CA.pem=b1b8a7f3.0
+QuoVadis_Root_CA.pem=080911ac.0
+QuoVadis_Root_CA_2.pem=d7e8dc79.0
+QuoVadis_Root_CA_3.pem=76faf6c0.0
+RSA_Root_Certificate_1.pem=9af9f759.0
+RSA_Security_2048_v3.pem=c99398f3.0
+Root_CA_Generalitat_Valenciana.pem=0810ba98.0
+S-TRUST_Authentication_and_Encryption_Root_CA_2005_PN.pem=0d1b923b.0
+SecureSign_RootCA11.pem=18856ac4.0
+SecureTrust_CA.pem=f39fc864.0
+Secure_Global_CA.pem=b66938e9.0
+Security_Communication_EV_RootCA1.pem=9d520b32.0
+Security_Communication_Root_CA.pem=f3377b1b.0
+Sonera_Class_1_Root_CA.pem=67d559d1.0
+Sonera_Class_2_Root_CA.pem=9c2e7d30.0
+Staat_der_Nederlanden_Root_CA.pem=b42ff584.0
+Staat_der_Nederlanden_Root_CA_-_G2.pem=5c44d531.0
+Starfield_Class_2_CA.pem=f387163d.0
+Starfield_Root_Certificate_Authority_-_G2.pem=4bfab552.0
+Starfield_Services_Root_Certificate_Authority_-_G2.pem=09789157.0
+StartCom_Certification_Authority.pem=ae8153b9.0
+SwissSign_Gold_CA_-_G2.pem=4f316efb.0
+SwissSign_Platinum_CA_-_G2.pem=a8dee976.0
+SwissSign_Silver_CA_-_G2.pem=57bcb2da.0
+Swisscom_Root_CA_1.pem=667c66d4.0
+TABATAK_UEKAE_KAk_Sertifika_Hizmet_SaAlayAcAsA_-_SArAm_3.pem=65b876bd.0
+TC_TrustCenter_Class_2_CA_II.pem=a5fd78f0.0
+TC_TrustCenter_Class_3_CA_II.pem=5620c4aa.0
+TC_TrustCenter_Universal_CA_I.pem=c8841d13.0
+TC_TrustCenter_Universal_CA_III.pem=9818ca0b.0
+TC_TrustCenter__Germany__Class_2_CA.pem=48ef30f1.0
+TC_TrustCenter__Germany__Class_3_CA.pem=972672fc.0
+TDC_Internet_Root_CA.pem=9b353c9a.0
+TDC_OCES_Root_CA.pem=2cfc4974.0
+TURKTRUST_Certificate_Services_Provider_Root_1.pem=88f89ea7.0
+TURKTRUST_Certificate_Services_Provider_Root_2.pem=039c618a.0
+TWCA_Root_Certification_Authority.pem=b7a5b843.0
+Thawte_Premium_Server_CA.pem=98ec67f0.0
+Thawte_Server_CA.pem=6cc3c4c3.0
+UTN-USER_First-Network_Applications.pem=57b0f75e.0
+UTN_DATACorp_SGC_Root_CA.pem=778e3cb0.0
+UTN_USERFirst_Email_Root_CA.pem=c5e082db.0
+UTN_USERFirst_Hardware_Root_CA.pem=b13cc6df.0
+UTN_USERFirst_Object_Root_CA.pem=2c3e3f84.0
+ValiCert_Class_1_VA.pem=20d096ba.0
+ValiCert_Class_2_VA.pem=55a10908.0
+VeriSign_Class_3_Public_Primary_Certification_Authority_-_G4.pem=7d0b38bd.0
+VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.pem=b204d74a.0
+Visa_eCommerce_Root.pem=a760e1bd.0
+VeriSign_Universal_Root_Certification_Authority.pem=c01cdfa2.0
+Verisign_Class_1_Public_Primary_Certification_Authority.pem=24ad0b63.0
+Verisign_Class_1_Public_Primary_Certification_Authority_-_G2.pem=b8e83700.0
+Verisign_Class_1_Public_Primary_Certification_Authority_-_G3.pem=ee1365c0.0
+Verisign_Class_2_Public_Primary_Certification_Authority.pem=0f11b315.0
+Verisign_Class_2_Public_Primary_Certification_Authority_-_G2.pem=cb357862.0
+Verisign_Class_2_Public_Primary_Certification_Authority_-_G3.pem=dc45b0bd.0
+Verisign_Class_3_Public_Primary_Certification_Authority.pem=415660c1.0
+Verisign_Class_3_Public_Primary_Certification_Authority_-_G2.pem=1ec4d31a.0
+Verisign_Class_3_Public_Primary_Certification_Authority_-_G3.pem=c0ff1f52.0
+Verisign_Class_4_Public_Primary_Certification_Authority_-_G2.pem=6faac4e3.0
+Verisign_Class_4_Public_Primary_Certification_Authority_-_G3.pem=bad35b78.0
+WellsSecure_Public_Root_Certificate_Authority.pem=7d5a75e4.0
+Wells_Fargo_Root_CA.pem=03f0efa4.0
+XRamp_Global_CA_Root.pem=706f604c.0
+certSIGN_ROOT_CA.pem=8d86cdd1.0
+ePKI_Root_Certification_Authority.pem=ca6e4ad9.0
+thawte_Primary_Root_CA.pem=2e4eed3c.0
+thawte_Primary_Root_CA_-_G2.pem=c089bbbd.0
+thawte_Primary_Root_CA_-_G3.pem=ba89ed3b.0

Modified: csw/mgar/pkg/ca_certificates/trunk/files/update-ca-certificates
===================================================================
--- csw/mgar/pkg/ca_certificates/trunk/files/update-ca-certificates	2012-05-11 15:55:34 UTC (rev 17991)
+++ csw/mgar/pkg/ca_certificates/trunk/files/update-ca-certificates	2012-05-11 17:24:11 UTC (rev 17992)
@@ -147,9 +147,11 @@
 elif [ -f "$CACERTS_DIR/hash.db" ]; then
 	cd "$CERTSDIR"
 	for FILE in *.pem; do
-		HASH=`awk -F= " \\\$1 == \"$FILE\" { print \\\$2; exit 0 }" "$CACERTS_DIR/hash.db"`
-		if [ -n "$HASH" ]; then
-			ln -s "$FILE" "$HASH"
+		HASHES="`awk -F= " \\\$1 == \"$FILE\" { print \\\$2 }" "$CACERTS_DIR/hash.db"`"
+		if [ -n "$HASHES" ]; then
+			for HASH in $HASHES; do
+				ln -s "$FILE" "$HASH"
+			done
 		else
 			echo
 			echo "WARNING: a custom certificate was installed, you need to install openssl_utils so" 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list