View | Details | Raw Unified | Return to bug 76664
Collapse All | Expand All

(-)/usr/ports/net-mgmt/nfdump/Makefile (-1 / +1 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	nfdump
8
PORTNAME=	nfdump
9
PORTVERSION=	1.1
9
PORTVERSION=	1.2
10
CATEGORIES=	net-mgmt
10
CATEGORIES=	net-mgmt
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
(-)/usr/ports/net-mgmt/nfdump/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (nfdump-1.1.tar.gz) = b9085f91d64985e856e43200d2869a87
1
MD5 (nfdump-1.2.tar.gz) = 397bde6d48c41d3818f83d1893c59f69
2
SIZE (nfdump-1.1.tar.gz) = 92044
2
SIZE (nfdump-1.2.tar.gz) = 99445
(-)/usr/ports/net-mgmt/nfdump/files/patch-Makefile.in (-36 / +23 lines)
Lines 1-48 Link Here
1
1
2
$FreeBSD: ports/net-mgmt/nfdump/files/patch-Makefile.in,v 1.1 2004/11/06 23:48:46 sergei Exp $
2
$FreeBSD$
3
3
4
--- Makefile.in.orig	Wed Sep 22 09:23:10 2004
4
--- Makefile.in.orig
5
+++ Makefile.in	Wed Sep 29 16:31:23 2004
5
+++ Makefile.in
6
@@ -47,7 +47,7 @@
6
@@ -47,7 +47,7 @@
7
 LFLAGS	 = -i
7
 LFLAGS	 = -i
8
 LDFLAGS	 = @LIBS@
8
 LDFLAGS	 = @LIBS@
9
 PREFIX   = @prefix@
9
 prefix   = @prefix@
10
-MANDIR 	 = @mandir@
10
-MANDIR 	 = @mandir@
11
+MANDIR 	 = @prefix@
11
+MANDIR 	 = @prefix@/man
12
 FSRC	 = grammar.c scanner.c nftree.c netflow_v5.c netflow_v7.c nfstat.c util.c 
12
 FSRC	 = grammar.c scanner.c nftree.c netflow_v5.c launch.c nfstat.c util.c 
13
 FOBJ	 = $(FSRC:.c=.o)
13
 FOBJ	 = $(FSRC:.c=.o)
14
 ASRC	 = $(FSRC) nfdump.c nftree_check.c nfreplay.c
14
 ASRC	 = $(FSRC) nfdump.c nftree_check.c nfreplay.c
15
@@ -82,20 +82,20 @@
15
@@ -82,15 +82,15 @@
16
 	$(CC) $(CFLAGS) $(INCS) -o $@ nfreplay.o $(FOBJ) $(LDFLAGS)
16
 	$(CC) $(CFLAGS) $(INCS) -o $@ nfreplay.o $(FOBJ) $(LDFLAGS)
17
 
17
 
18
 install: $(OBJECTS)
18
 install: $(OBJECTS)
19
-	test -d $(PREFIX) || install -d -o root -g root -m 755 $(PREFIX)
19
-	test -d $(prefix) || install -d -o root -g bin -m 755 $(prefix)
20
-	test -d $(PREFIX)/bin || install -d -o root -g root -m 755 $(PREFIX)/bin
20
-	test -d $(prefix)/bin || install -d -o root -g bin -m 755 $(prefix)/bin
21
-	test -d $(MANDIR)/man || install -d -o root -g root -m 755 $(MANDIR)/man
21
-	test -d $(MANDIR) || install -d -o root -g bin -m 755 $(MANDIR)
22
-	test -d $(MANDIR)/man/man1 || install -d -o root -g root -m 755 $(MANDIR)/man/man1
22
-	test -d $(MANDIR)/man1 || install -d -o root -g bin -m 755 $(MANDIR)/man1
23
-	$(INSTALL) -o root -g root -m 755 nfcapd $(PREFIX)/bin
23
+	test -d $(prefix) || install -d -o root -g wheel -m 755 $(prefix)
24
-	$(INSTALL) -o root -g root -m 755 nfdump $(PREFIX)/bin 
24
+	test -d $(prefix)/bin || install -d -o root -g wheel -m 755 $(prefix)/bin
25
-	$(INSTALL) -o root -g root -m 755 nfprofile $(PREFIX)/bin
25
+	test -d $(MANDIR) || install -d -o root -g wheel -m 755 $(MANDIR)
26
-	$(INSTALL) -o root -g root -m 755 nfreplay $(PREFIX)/bin
26
+	test -d $(MANDIR)/man1 || install -d -o root -g wheel -m 755 $(MANDIR)/man1
27
-	$(INSTALL) -o root -g root -m 755 nfclean.pl $(PREFIX)/bin
27
 	$(INSTALL) -o root -g bin -m 755 nfcapd $(prefix)/bin
28
+	test -d $(PREFIX) || install -d -o root -g wheel -m 755 $(PREFIX)
28
 	$(INSTALL) -o root -g bin -m 755 nfdump $(prefix)/bin 
29
+	test -d $(PREFIX)/bin || install -d -o root -g wheel -m 755 $(PREFIX)/bin
29
 	$(INSTALL) -o root -g bin -m 755 nfprofile $(prefix)/bin
30
+	test -d $(MANDIR)/man || install -d -o root -g wheel -m 755 $(MANDIR)/man
30
 	$(INSTALL) -o root -g bin -m 755 nfreplay $(prefix)/bin
31
+	test -d $(MANDIR)/man/man1 || install -d -o root -g wheel -m 755 $(MANDIR)/man/man1
31
-	test -f $(prefix)/bin/nfclean.pl || $(INSTALL) -o root -g bin -m 755 nfclean.pl $(prefix)/bin
32
+	$(INSTALL) -o root -g wheel -m 755 nfcapd $(PREFIX)/bin
32
+	$(INSTALL) -o root -g bin -m 755 nfclean.pl $(prefix)/bin
33
+	$(INSTALL) -o root -g wheel -m 755 nfdump $(PREFIX)/bin 
34
+	$(INSTALL) -o root -g wheel -m 755 nfprofile $(PREFIX)/bin
35
+	$(INSTALL) -o root -g wheel -m 755 nfreplay $(PREFIX)/bin
36
+	$(INSTALL) -o root -g wheel -m 755 nfclean.pl $(PREFIX)/bin
37
 
33
 
38
-	$(INSTALL) -o root -g root -m 644 nfcapd.1 $(MANDIR)/man/man1
34
 	$(INSTALL) -o root -g bin -m 644 nfcapd.1 $(MANDIR)/man1
39
-	$(INSTALL) -o root -g root -m 644 nfdump.1 $(MANDIR)/man/man1
35
 	$(INSTALL) -o root -g bin -m 644 nfdump.1 $(MANDIR)/man1
40
-	$(INSTALL) -o root -g root -m 644 nfprofile.1 $(MANDIR)/man/man1
41
-	$(INSTALL) -o root -g root -m 644 nfreplay.1 $(MANDIR)/man/man1
42
+	$(INSTALL) -o root -g wheel -m 644 nfcapd.1 $(MANDIR)/man/man1
43
+	$(INSTALL) -o root -g wheel -m 644 nfdump.1 $(MANDIR)/man/man1
44
+	$(INSTALL) -o root -g wheel -m 644 nfprofile.1 $(MANDIR)/man/man1
45
+	$(INSTALL) -o root -g wheel -m 644 nfreplay.1 $(MANDIR)/man/man1
46
 
47
 uninstall:
48
 	/bin/rm -f  $(PREFIX)/bin/nfcapd

Return to bug 76664