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

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Sun Nov 6 00:22:13 CET 2011


Revision: 16089
          http://gar.svn.sourceforge.net/gar/?rev=16089&view=rev
Author:   chninkel
Date:     2011-11-05 23:22:13 +0000 (Sat, 05 Nov 2011)
Log Message:
-----------
cacertificates: updated package name to be standard compliant

Modified Paths:
--------------
    csw/mgar/pkg/ca_certificates/trunk/Makefile

Modified: csw/mgar/pkg/ca_certificates/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ca_certificates/trunk/Makefile	2011-11-05 23:13:13 UTC (rev 16088)
+++ csw/mgar/pkg/ca_certificates/trunk/Makefile	2011-11-05 23:22:13 UTC (rev 16089)
@@ -12,7 +12,7 @@
 
 ###### Package information #######
 
-NAME = ca_certificates
+NAME = cacertificates
 VERSION = $(shell date '+%Y%m%d')
 CATEGORIES = xtra
 
@@ -46,7 +46,7 @@
 
 $(WORKDIR)/hash.db: install-certificates
 	rm -f $(WORKDIR)/hash.db
-	find "$(DESTDIR)/$(sharedstatedir)/ca-certificates" -name *.pem | while read FILE; do \
+	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; \
 	done
 
@@ -55,16 +55,16 @@
 		> "$(WORKDIR)/LICENSE"
 
 install-certificates: $(WORKDIR)/certdata.txt
-	ginstall -d "$(DESTDIR)/$(sharedstatedir)/ca-certificates/mozilla"
-	cd "$(DESTDIR)/$(sharedstatedir)/ca-certificates/mozilla" && perl "$(CURDIR)/$(WORKDIR)/certdata2pem.pl" < "$(CURDIR)/$(WORKDIR)/certdata.txt"
+	ginstall -d "$(DESTDIR)/$(sharedstatedir)/$(NAME)/mozilla"
+	cd "$(DESTDIR)/$(sharedstatedir)/$(NAME)/mozilla" && perl "$(CURDIR)/$(WORKDIR)/certdata2pem.pl" < "$(CURDIR)/$(WORKDIR)/certdata.txt"
 
 install-custom: install-certificates $(WORKDIR)/hash.db $(WORKDIR)/LICENSE
 	ginstall -d "$(DESTDIR)/$(sysconfdir)/ssl"
 	ginstall -D "$(WORKDIR)/ca-certificates.conf" "$(DESTDIR)/$(sysconfdir)/ca-certificates.conf"
 	ginstall -d "$(DESTDIR)/$(sysconfdir)/ssl/certs"
-	ginstall -d "$(DESTDIR)/$(sharedstatedir)/cacertificates"
+	ginstall -d "$(DESTDIR)/$(sharedstatedir)/$(NAME)"
 	ginstall -D "$(WORKDIR)/update-ca-certificates" "$(DESTDIR)/$(sbindir)/update-ca-certificates"
-	ginstall -D "$(WORKDIR)/hash.db" "$(DESTDIR)/$(sharedstatedir)/cacertificates/hash.db"
-	ginstall -D "$(WORKDIR)/README.CSW" "$(DESTDIR)/$(docdir)/cacertificates/README.CSW"
-	ginstall -D "$(WORKDIR)/LICENSE" "$(DESTDIR)/$(docdir)/cacertificates/license"
+	ginstall -D "$(WORKDIR)/hash.db" "$(DESTDIR)/$(sharedstatedir)/$(NAME)/hash.db"
+	ginstall -D "$(WORKDIR)/README.CSW" "$(DESTDIR)/$(docdir)/$(NAME)/README.CSW"
+	ginstall -D "$(WORKDIR)/LICENSE" "$(DESTDIR)/$(docdir)/$(NAME)/license"
 

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