File traffic-vis-0.35-make-install-fix.diff of Package traffic-vis

--- Makefile
+++ Makefile
@@ -40,7 +40,7 @@
 	do \
 		make -C $$x SBINDIR="$(SBINDIR)" MANDIR="$(MANDIR)" install || exit 1; \
 	done
-	install -m 644 -o root -g root traffic-vis.8 $(MANDIR)/man8/
+	install -m 644 traffic-vis.8 $(MANDIR)/man8/
 
 clean:
 	rm -f *.o core ~* *.a *.ps *.txt *.html test test.o *.tv
--- collector/Makefile
+++ collector/Makefile
@@ -10,8 +10,8 @@
 	$(CC) -o $@ traffic-collector.o $(OBJS) $(LIBS)
 
 install:
-	install -m 750 -o root -g root traffic-collector $(SBINDIR)
-	install -m 644 -o root -g root traffic-collector.8 $(MANDIR)/man8/
+	install -m 750 traffic-collector $(SBINDIR)
+	install -m 644 traffic-collector.8 $(MANDIR)/man8/
 
 clean:
 	-rm -f $(TARGETS) *.o core *.ps
--- frontends/Makefile
+++ frontends/Makefile
@@ -16,14 +16,14 @@
 	$(CC) -o $@ traffic-tohtml.o htmlfe.o $(LFLAGS) $(LIBS)
 
 install:
-	install -m 755 -o root -g root traffic-tops $(SBINDIR)
-	install -m 644 -o root -g root traffic-tops.8 $(MANDIR)/man8/
-	install -m 755 -o root -g root traffic-totext $(SBINDIR)
-	install -m 644 -o root -g root traffic-totext.8 $(MANDIR)/man8/
-	install -m 755 -o root -g root traffic-tohtml $(SBINDIR)
-	install -m 644 -o root -g root traffic-tohtml.8 $(MANDIR)/man8/
-	install -m 755 -o root -g root traffic-togif $(SBINDIR)
-	install -m 644 -o root -g root traffic-togif.8 $(MANDIR)/man8/
+	install -m 755 traffic-tops $(SBINDIR)
+	install -m 644 traffic-tops.8 $(MANDIR)/man8/
+	install -m 755 traffic-totext $(SBINDIR)
+	install -m 644 traffic-totext.8 $(MANDIR)/man8/
+	install -m 755 traffic-tohtml $(SBINDIR)
+	install -m 644 traffic-tohtml.8 $(MANDIR)/man8/
+	install -m 755 traffic-togif $(SBINDIR)
+	install -m 644 traffic-togif.8 $(MANDIR)/man8/
 
 clean:
 	-rm -f $(TARGETS) *.o core *.ps
--- sort/Makefile
+++ sort/Makefile
@@ -10,8 +10,8 @@
 	$(CC) $(LFLAGS) -o $@ traffic-sort.o $(LIBS)
 
 install:
-	install -m 755 -o root -g root traffic-sort $(SBINDIR)
-	install -m 644 -o root -g root traffic-sort.8 $(MANDIR)/man8/
+	install -m 755 traffic-sort $(SBINDIR)
+	install -m 644 traffic-sort.8 $(MANDIR)/man8/
 
 clean:
 	-rm -f $(TARGETS) *.o core *.ps
--- utils/Makefile
+++ utils/Makefile
@@ -13,10 +13,10 @@
 	$(CC) -o $@ traffic-resolve.o $(LFLAGS) $(LIBS)
 
 install:
-	install -m 755 -o root -g root traffic-resolve $(SBINDIR)
-	install -m 644 -o root -g root traffic-resolve.8 $(MANDIR)/man8/
-	install -m 755 -o root -g root traffic-exclude $(SBINDIR)
-	install -m 644 -o root -g root traffic-exclude.8 $(MANDIR)/man8/
+	install -m 755 traffic-resolve $(SBINDIR)
+	install -m 644 traffic-resolve.8 $(MANDIR)/man8/
+	install -m 755 traffic-exclude $(SBINDIR)
+	install -m 644 traffic-exclude.8 $(MANDIR)/man8/
 
 clean:
 	-rm -f $(TARGETS) *.o core *.ps
openSUSE Build Service is sponsored by