python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / filesystems / davfs2 / fix-sysconfdir.patch
blobf71248a28f4d504298bef23daa8ed0a6a6ab0687
1 diff -ubr davfs2-1.4.7-orig/etc/Makefile.am davfs2-1.4.7/etc/Makefile.am
2 --- davfs2-1.4.7-orig/etc/Makefile.am 2013-02-21 11:45:00.185763558 +0100
3 +++ davfs2-1.4.7/etc/Makefile.am 2013-02-21 11:53:05.423197775 +0100
4 @@ -24,17 +24,17 @@
6 install-data-local: $(dist_pkgdata_DATA)
7 @$(NORMAL_INSTALL)
8 - $(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir)
9 - $(INSTALL_DATA) -b davfs2.conf $(DESTDIR)$(pkgsysconfdir)/davfs2.conf
10 - $(INSTALL_DATA) -b -m 600 secrets $(DESTDIR)$(pkgsysconfdir)/secrets
11 - $(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir)/certs
12 - $(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir)/certs/private
13 - chmod 700 $(DESTDIR)$(pkgsysconfdir)/certs/private
14 + $(mkinstalldirs) $(out)$(pkgsysconfdir)
15 + $(INSTALL_DATA) -b davfs2.conf $(out)$(pkgsysconfdir)/davfs2.conf
16 + $(INSTALL_DATA) -b -m 600 secrets $(out)$(pkgsysconfdir)/secrets
17 + $(mkinstalldirs) $(out)$(pkgsysconfdir)/certs
18 + $(mkinstalldirs) $(out)$(pkgsysconfdir)/certs/private
19 + chmod 700 $(out)$(pkgsysconfdir)/certs/private
21 uninstall-local:
22 @$(NORMAL_UNINSTALL)
23 @list='$(dist_pkgdata_DATA)'; for p in $$list; do \
24 f="`echo $$p | sed -e 's|^.*/||'`"; \
25 - echo " rm -f $(DESTDIR)$(pkgsysconfdir)/$$f"; \
26 - rm -f $(DESTDIR)$(pkgsysconfdir)/$$f; \
27 + echo " rm -f $(out)$(pkgsysconfdir)/$$f"; \
28 + rm -f $(out)$(pkgsysconfdir)/$$f; \
29 done
30 diff -ubr davfs2-1.4.7-orig/etc/Makefile.in davfs2-1.4.7/etc/Makefile.in
31 --- davfs2-1.4.7-orig/etc/Makefile.in 2013-02-21 11:45:00.185763558 +0100
32 +++ davfs2-1.4.7/etc/Makefile.in 2013-02-21 11:53:27.241207128 +0100
33 @@ -408,19 +408,19 @@
35 install-data-local: $(dist_pkgdata_DATA)
36 @$(NORMAL_INSTALL)
37 - $(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir)
38 - $(INSTALL_DATA) -b davfs2.conf $(DESTDIR)$(pkgsysconfdir)/davfs2.conf
39 - $(INSTALL_DATA) -b -m 600 secrets $(DESTDIR)$(pkgsysconfdir)/secrets
40 - $(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir)/certs
41 - $(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir)/certs/private
42 - chmod 700 $(DESTDIR)$(pkgsysconfdir)/certs/private
43 + $(mkinstalldirs) $(out)$(pkgsysconfdir)
44 + $(INSTALL_DATA) -b davfs2.conf $(out)$(pkgsysconfdir)/davfs2.conf
45 + $(INSTALL_DATA) -b -m 600 secrets $(out)$(pkgsysconfdir)/secrets
46 + $(mkinstalldirs) $(out)$(pkgsysconfdir)/certs
47 + $(mkinstalldirs) $(out)$(pkgsysconfdir)/certs/private
48 + chmod 700 $(out)$(pkgsysconfdir)/certs/private
50 uninstall-local:
51 @$(NORMAL_UNINSTALL)
52 @list='$(dist_pkgdata_DATA)'; for p in $$list; do \
53 f="`echo $$p | sed -e 's|^.*/||'`"; \
54 - echo " rm -f $(DESTDIR)$(pkgsysconfdir)/$$f"; \
55 - rm -f $(DESTDIR)$(pkgsysconfdir)/$$f; \
56 + echo " rm -f $(out)$(pkgsysconfdir)/$$f"; \
57 + rm -f $(out)$(pkgsysconfdir)/$$f; \
58 done
60 # Tell versions [3.59,3.63) of GNU make to not export all variables.