Package: acl / 2.2.52-2

10-590240-move-binaries-to-root-bin-dir.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590240

Index: acl-2.2.52/getfacl/Makefile
===================================================================
--- acl-2.2.52.orig/getfacl/Makefile
+++ acl-2.2.52/getfacl/Makefile
@@ -32,5 +32,11 @@ include $(BUILDRULES)
 
 install: default
 	$(INSTALL) -m 755 -d $(PKG_BIN_DIR)
+ifneq ($(PKG_DISTRIBUTION), debian)
 	$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_BIN_DIR)
+else
+	$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
+	$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
+	$(LTINSTALL) -S $(PKG_SBIN_DIR)/$(LTCOMMAND) $(PKG_BIN_DIR)/$(LTCOMMAND)
+endif
 install-dev install-lib:
Index: acl-2.2.52/setfacl/Makefile
===================================================================
--- acl-2.2.52.orig/setfacl/Makefile
+++ acl-2.2.52/setfacl/Makefile
@@ -32,5 +32,11 @@ include $(BUILDRULES)
 
 install: default
 	$(INSTALL) -m 755 -d $(PKG_BIN_DIR)
+ifneq ($(PKG_DISTRIBUTION), debian)
 	$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_BIN_DIR)
+else
+	$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
+	$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
+	$(LTINSTALL) -S $(PKG_SBIN_DIR)/$(LTCOMMAND) $(PKG_BIN_DIR)/$(LTCOMMAND)
+endif
 install-dev install-lib:
Index: acl-2.2.52/chacl/Makefile
===================================================================
--- acl-2.2.52.orig/chacl/Makefile
+++ acl-2.2.52/chacl/Makefile
@@ -31,5 +31,11 @@ include $(BUILDRULES)
 
 install: default
 	$(INSTALL) -m 755 -d $(PKG_BIN_DIR)
+ifneq ($(PKG_DISTRIBUTION), debian)
 	$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_BIN_DIR)
+else
+	$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
+	$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
+	$(LTINSTALL) -S $(PKG_SBIN_DIR)/$(LTCOMMAND) $(PKG_BIN_DIR)/$(LTCOMMAND)
+endif
 install-dev install-lib: