From 9d56b33e7dda2ca9e51c4a582a2b4fc552d526cf Mon Sep 17 00:00:00 2001 From: Timo Aaltonen Date: Fri, 2 Mar 2012 12:05:59 +0200 Subject: [PATCH] create-client-dirs.patch: Add a patch from upstream that creates /etc/ipa and /var/lib/ipa-client/sysrestore paths. Stop creating them in rules. --- debian/changelog | 3 +++ debian/patches/series | 1 + debian/rules | 2 -- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 40f6edfc2..aed4f9478 100644 --- a/debian/changelog +++ b/debian/changelog @@ -25,5 +25,8 @@ freeipa (2.1.4-1) UNRELEASED; urgency=low * rules: Strip the executable bit from translation files. * fix-format-string.diff: Fix build errors, thanks Krzysztof Klimonda! * Use dh_python2. + * create-client-dirs.patch: Add a patch from upstream that creates + /etc/ipa and /var/lib/ipa-client/sysrestore paths. Stop creating them in + rules. -- Timo Aaltonen Tue, 01 Nov 2011 10:52:25 -0400 diff --git a/debian/patches/series b/debian/patches/series index 36c7fb7f8..ed0a09f1b 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -7,3 +7,4 @@ no-arrows.patch no-testcert.patch prefix.patch fix-string-format.diff +create-client-dirs.patch diff --git a/debian/rules b/debian/rules index af0b3d23d..a574a7510 100755 --- a/debian/rules +++ b/debian/rules @@ -56,9 +56,7 @@ else make $(PLATFORM) IPA_VERSION_IS_GIT_SNAPSHOT=no client-install DESTDIR=$(DESTDIR) endif - mkdir -p $(DESTDIR)/etc/ipa touch $(DESTDIR)/etc/ipa/default.conf - mkdir -p $(DESTDIR)/var/lib/ipa-client/sysrestore # purge .la files find $(CURDIR)/debian/tmp -name "*.la" -type f -exec rm -f "{}" \;