ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

ca-certificates.patch (2634B)


      1 Only in ca-certificates: .deps.mk
      2 diff -uri ca-certificates.old/Makefile ca-certificates/Makefile
      3 --- ca-certificates.old/Makefile	2014-03-13 13:43:00.000000000 +0100
      4 +++ ca-certificates/Makefile	2014-05-19 16:55:57.508048517 +0200
      5 @@ -2,7 +2,7 @@
      6  # Makefile
      7  #
      8  
      9 -CERTSDIR = /usr/share/ca-certificates
     10 +CERTSDIR = /share/ca-certificates
     11  SUBDIRS = mozilla spi-inc.org
     12  
     13  all:
     14 @@ -17,7 +17,7 @@
     15  
     16  install:
     17  	for dir in $(SUBDIRS); do \
     18 -	  mkdir $(DESTDIR)/$(CERTSDIR)/$$dir; \
     19 +	  mkdir -p $(DESTDIR)/$(CERTSDIR)/$$dir; \
     20  	  $(MAKE) -C $$dir install CERTSDIR=$(DESTDIR)/$(CERTSDIR)/$$dir; \
     21  	done
     22  	for dir in sbin; do \
     23 Only in ca-certificates/mozilla: certdata2pem.c
     24 diff -uri ca-certificates.old/mozilla/Makefile ca-certificates/mozilla/Makefile
     25 --- ca-certificates.old/mozilla/Makefile	2013-09-07 09:40:28.000000000 +0200
     26 +++ ca-certificates/mozilla/Makefile	2014-05-19 16:55:57.509048517 +0200
     27 @@ -1,14 +1,10 @@
     28 -#
     29 -# Makefile
     30 -#
     31 -
     32 -all:
     33 -	python certdata2pem.py
     34 -
     35 +all: a.out
     36 +	./a.out
     37 +a.out:
     38 +	$(HOSTCC) -static -Wall -Wextra -O0 -g certdata2pem.c
     39  clean:
     40  	-rm -f *.crt
     41 -
     42  install:
     43 -	for p in *.crt; do \
     44 -	 install -m 644 $$p $(CERTSDIR)/$$p ; \
     45 +	for p in *.crt; do\
     46 +		install -D -m 644 "$$p" "$(CERTSDIR)/$$p";\
     47  	done
     48 diff -uri ca-certificates.old/sbin/Makefile ca-certificates/sbin/Makefile
     49 --- ca-certificates.old/sbin/Makefile	2013-09-07 09:40:28.000000000 +0200
     50 +++ ca-certificates/sbin/Makefile	2014-05-19 16:55:57.507048517 +0200
     51 @@ -8,4 +8,5 @@
     52  clean:
     53  
     54  install:
     55 -	install -m755 update-ca-certificates $(DESTDIR)/usr/sbin/
     56 +	install -m 755 -d $(DESTDIR)/sbin/
     57 +	install -m 755 update-ca-certificates $(DESTDIR)/sbin/
     58 diff -uri ca-certificates.old/sbin/update-ca-certificates ca-certificates/sbin/update-ca-certificates
     59 --- ca-certificates.old/sbin/update-ca-certificates	2014-03-13 13:43:00.000000000 +0100
     60 +++ ca-certificates/sbin/update-ca-certificates	2014-05-19 16:55:57.506048517 +0200
     61 @@ -38,8 +38,8 @@
     62  done
     63  
     64  CERTSCONF=/etc/ca-certificates.conf
     65 -CERTSDIR=/usr/share/ca-certificates
     66 -LOCALCERTSDIR=/usr/local/share/ca-certificates
     67 +CERTSDIR=/share/ca-certificates
     68 +LOCALCERTSDIR=/local/share/ca-certificates
     69  CERTBUNDLE=ca-certificates.crt
     70  ETCCERTSDIR=/etc/ssl/certs
     71  
     72 diff -uri ca-certificates.old/spi-inc.org/Makefile ca-certificates/spi-inc.org/Makefile
     73 --- ca-certificates.old/spi-inc.org/Makefile	2013-09-07 09:40:28.000000000 +0200
     74 +++ ca-certificates/spi-inc.org/Makefile	2014-05-19 16:55:57.506048517 +0200
     75 @@ -8,6 +8,6 @@
     76  
     77  install:
     78  	for p in *.crt; do \
     79 -	 install -m 644 $$p $(CERTSDIR)/$$p ; \
     80 +	 install -D -m 644 $$p $(CERTSDIR)/$$p ; \
     81  	done
     82  
     83 Only in ca-certificates: .targs.mk