File: 54_makefile-dont-change-permissions.patch

package info (click to toggle)
arpwatch 2.1a15-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,988 kB
  • sloc: sh: 3,047; ansic: 2,811; makefile: 90; awk: 90; perl: 15
file content (24 lines) | stat: -rw-r--r-- 920 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Don't modify file permissions on Makefile, debhelper will set the correct ones
 And this allows for a nonroot build (Rules-Requires-Root: no)
Author: Samuel Henrique <samueloph@debian.org>
Forwarded: not-needed
Index: arpwatch/Makefile.in
===================================================================
--- arpwatch.orig/Makefile.in
+++ arpwatch/Makefile.in
@@ -111,12 +111,12 @@ zap: zap.o intoa.o
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ zap.o intoa.o -lutil
 
 install: force
-	$(INSTALL) -D -m 555 -o bin -g bin -t $(DESTDIR)$(BINDEST) arpwatch arpsnmp
+	$(INSTALL) -D -t $(DESTDIR)$(BINDEST) arpwatch arpsnmp
 
 install-man: force
-	$(INSTALL) -m 444 -o bin -g bin $(srcdir)/arpwatch.8 \
+	$(INSTALL) $(srcdir)/arpwatch.8 \
 	    $(DESTDIR)$(MANDEST)/man8
-	$(INSTALL) -m 444 -o bin -g bin $(srcdir)/arpsnmp.8 \
+	$(INSTALL) $(srcdir)/arpsnmp.8 \
 	    $(DESTDIR)$(MANDEST)/man8
 
 lint:	$(GENSRC) force