Import Debian changes 0.69.0-2
[hcoop/debian/courier-authlib.git] / debian / patches / 0001-Don-t-mangle-permissions-on-install-time-as-it-s-tak.patch
1 From: =?utf-8?q?Ond=C5=99ej_Sur=C3=BD?= <ondrej@sury.org>
2 Date: Mon, 8 Feb 2016 14:59:54 +0100
3 Subject: Don't mangle permissions on install time as it's take care of in
4 Debian package
5
6 ---
7 Makefile.am | 14 --------------
8 1 file changed, 14 deletions(-)
9
10 --- a/Makefile.am
11 +++ b/Makefile.am
12 @@ -120,8 +120,6 @@
13 $(mkinstalldirs) $(DESTDIR)`dirname @authpgsqlrc@` || :
14 $(INSTALL_DATA) -m 660 $(srcdir)/authpgsqlrc \
15 $(DESTDIR)@authpgsqlrc@.dist
16 - -chown @mailuser@ $(DESTDIR)@authpgsqlrc@.dist
17 - -chgrp @mailgroup@ $(DESTDIR)@authpgsqlrc@.dist
18
19 uninstall-authpgsqlrc:
20 rm -f $(DESTDIR)@authpgsqlrc@.dist
21 @@ -153,8 +151,6 @@
22 $(mkinstalldirs) $(DESTDIR)`dirname @authldaprc@` || :
23 $(INSTALL_DATA) -m 660 $(srcdir)/authldaprc \
24 $(DESTDIR)@authldaprc@.dist
25 - -chown @mailuser@ $(DESTDIR)@authldaprc@.dist
26 - -chgrp @mailgroup@ $(DESTDIR)@authldaprc@.dist
27
28 uninstall-authldaprc:
29 rm -f $(DESTDIR)@authldaprc@.dist
30 @@ -184,8 +180,6 @@
31 $(mkinstalldirs) $(DESTDIR)`dirname @authmysqlrc@` || :
32 $(INSTALL_DATA) -m 660 $(srcdir)/authmysqlrc \
33 $(DESTDIR)@authmysqlrc@.dist
34 - -chown @mailuser@ $(DESTDIR)@authmysqlrc@.dist
35 - -chgrp @mailgroup@ $(DESTDIR)@authmysqlrc@.dist
36
37 uninstall-authmysqlrc:
38 rm -f $(DESTDIR)@authmysqlrc@.dist
39 @@ -215,8 +209,6 @@
40 $(mkinstalldirs) $(DESTDIR)`dirname @authsqliterc@` || :
41 $(INSTALL_DATA) -m 660 $(srcdir)/authsqliterc \
42 $(DESTDIR)@authsqliterc@.dist
43 - -chown @mailuser@ $(DESTDIR)@authsqliterc@.dist
44 - -chgrp @mailgroup@ $(DESTDIR)@authsqliterc@.dist
45
46 uninstall-authsqliterc:
47 rm -f $(DESTDIR)@authsqliterc@.dist
48 @@ -264,8 +256,6 @@
49 sed 's/@ALLMODULES@/$(modules:lib%.la=%)/' <authdaemonrc >authdaemonrc.tmp
50 $(INSTALL_DATA) -m 660 authdaemonrc.tmp $(DESTDIR)@authdaemonrc@.dist
51 rm -f authdaemonrc.tmp
52 - -chown @mailuser@ $(DESTDIR)@authdaemonrc@.dist
53 - -chgrp @mailgroup@ $(DESTDIR)@authdaemonrc@.dist
54
55 uninstall-authdaemonrc:
56 rm -f $(DESTDIR)@authdaemonrc@.dist
57 @@ -429,13 +419,9 @@
58 $(mkinstalldirs) $(DESTDIR)$(sbindir) || :
59 $(mkinstalldirs) $(DESTDIR)$(pkglibexecdir) || :
60 chmod 755 $(DESTDIR)$(pkglibexecdir)
61 - -chown @mailuser@ $(DESTDIR)$(pkglibexecdir)
62 - -chgrp @mailgroup@ $(DESTDIR)$(pkglibexecdir)
63 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) authdaemondprog $(DESTDIR)$(pkglibexecdir)/authdaemond
64 $(mkinstalldirs) $(DESTDIR)@authdaemonvar@ || :
65 chmod 750 $(DESTDIR)@authdaemonvar@
66 - -chown @mailuser@ $(DESTDIR)@authdaemonvar@
67 - -chgrp @mailgroup@ $(DESTDIR)@authdaemonvar@
68 test "@LIBAUTHUSERDB@" = "" && exit 0 ;\
69 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) libs/makedat/makedatprog \
70 $(DESTDIR)$(pkglibexecdir)/makedatprog ; \