LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-25-2013, 12:35 PM   #1
mancha
Member
 
Registered: Aug 2012
Posts: 484

Rep: Reputation: Disabled
[Slackware-current]: Bug in ca-certificates-20130610 package


A bug crept into Slackware's packaging of Debian's ca-certificates suite via fixup_DESTDIR.diff.
The end result is Slackware's package is missing:
  • /usr/share/ca-certificates/cacert.org/cacert.org_root.crt
  • /usr/share/ca-certificates/cacert.org/cacert.org_class3.crt

--mancha

Corrected diff:

Code:
--- ./cacert.org/Makefile.orig
+++ ./cacert.org/Makefile
@@ -7,6 +7,7 @@
 clean:
 
 install:
+	mkdir -p $(CERTSDIR)
 	for p in *.crt; do \
 	 install -m 644 $$p $(CERTSDIR)/cacert.org_$$p ; \
 	done
--- ./mozilla/Makefile.orig
+++ ./mozilla/Makefile
@@ -9,6 +9,7 @@
 	-rm -f *.crt
 
 install:
+	mkdir -p $(CERTSDIR)
 	for p in *.crt; do \
 	 install -m 644 $$p $(CERTSDIR)/$$p ; \
 	done
--- ./sbin/Makefile.orig
+++ ./sbin/Makefile
@@ -8,4 +8,5 @@
 clean:
 
 install:
+	mkdir -p $(DESTDIR)/usr/sbin
 	install -m755 update-ca-certificates $(DESTDIR)/usr/sbin/
--- ./Makefile.orig
+++ ./Makefile
@@ -17,7 +17,7 @@
 
 install:
 	for dir in $(SUBDIRS); do \
-	  mkdir $(DESTDIR)/$(CERTSDIR)/$$dir; \
+	  mkdir -p $(DESTDIR)/$(CERTSDIR)/$$dir; \
 	  $(MAKE) -C $$dir install CERTSDIR=$(DESTDIR)/$(CERTSDIR)/$$dir; \
 	done
 	for dir in sbin; do \
--- ./spi-inc.org/Makefile.orig
+++ ./spi-inc.org/Makefile
@@ -7,6 +7,7 @@
 clean:
 
 install:
+	mkdir -p $PKG/$(CERTSDIR)
 	for p in *.crt; do \
 	 install -m 644 $$p $(CERTSDIR)/$$p ; \
 	done
 
Old 07-26-2013, 12:51 AM   #2
mancha
Member
 
Registered: Aug 2012
Posts: 484

Original Poster
Rep: Reputation: Disabled
Fri Jul 26 03:25:08 UTC 2013
n/ca-certificates-20130610-noarch-2.txz: Rebuilt.
Fixed packaging bug that resulted in missing cacert.org certs.
Thanks to mancha.
 
Old 07-26-2013, 02:57 AM   #3
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
Could also use 'install -D' to remove the call to mkdir depending on how you want the scripts to look
 
  


Reply

Tags
slackware -current


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[BUG] fglrx doesnt build package anymore on slackware-current x64 anti_user Slackware 5 04-11-2013 09:37 PM
[SOLVED] Bug in hdparm 0.29 (Slackware-Current) piratesmack Slackware 6 10-14-2010 03:03 PM
Slackware-current KDE 4.3 Possible Bug !!!! Scuzz Slackware 3 07-13-2009 07:13 PM
bug in KDE 3.5.2 (slackware current) perfect_circle Slackware 3 04-19-2006 04:22 PM
Slackware-current Imagemagick bug fix wastelander42 Slackware 2 02-03-2006 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration