mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Update to 1.4.3
PR: 36824 Submitted by: obraun@informatik.unibw-muenchen.de
This commit is contained in:
parent
80824ce744
commit
f1185bc7db
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58713
3 changed files with 38 additions and 50 deletions
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= sntop
|
PORTNAME= sntop
|
||||||
PORTVERSION= 1.4.2
|
PORTVERSION= 1.4.3
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
MASTER_SITE_SUBDIR= sntop
|
MASTER_SITE_SUBDIR= sntop
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (sntop-1.4.2.tar.gz) = 2aff519d2fbbb835b0eaa1909fd8e8af
|
MD5 (sntop-1.4.3.tar.gz) = 0e99c64ea5a1bad6c1a32ac0dc2e9dd9
|
||||||
|
|
|
@ -1,48 +1,36 @@
|
||||||
*** Makefile.in.orig Sat Aug 5 22:01:28 2000
|
--- Makefile.in.orig Sun Nov 11 22:54:15 2001
|
||||||
--- Makefile.in Sat Aug 5 22:03:43 2000
|
+++ Makefile.in Sat Apr 6 23:49:08 2002
|
||||||
***************
|
@@ -36,7 +36,7 @@
|
||||||
*** 31,37 ****
|
MANDIR = @mandir@/man1
|
||||||
! CFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer @DEFS@
|
SNTOPRC = $(ETCDIR)/sntoprc
|
||||||
INCLUDE = .
|
CC = @CC@
|
||||||
INSTDIR = @bindir@
|
-CFLAGS = -Wall -Wstrict-prototypes -O2 @DEFS@ -DCONF_SFILE=\"$(SNTOPRC)\"
|
||||||
! ETCDIR = /etc
|
+CFLAGS+= -Wall -Wstrict-prototypes @DEFS@ -DCONF_SFILE=\"$(SNTOPRC)\"
|
||||||
LIBS = @LIBS@
|
|
||||||
OBJS = @LIBOBJS@
|
proper: clean sntop
|
||||||
DOWENEEDGETOPT = @LIBOBJS@
|
|
||||||
--- 31,37 ----
|
@@ -65,12 +65,12 @@
|
||||||
! CFLAGS += -Wall -Wstrict-prototypes -fomit-frame-pointer @DEFS@
|
fi
|
||||||
INCLUDE = .
|
@if [ -d $(ETCDIR) ]; \
|
||||||
INSTDIR = @bindir@
|
then \
|
||||||
! ETCDIR = @sysconfdir@
|
- if [ ! -f $(ETCDIR)/sntoprc ]; \
|
||||||
LIBS = @LIBS@
|
+ if [ ! -f $(ETCDIR)/sntoprc.sample ]; \
|
||||||
OBJS = @LIBOBJS@
|
then \
|
||||||
DOWENEEDGETOPT = @LIBOBJS@
|
- cp sntoprc.EXAMPLE $(ETCDIR)/sntoprc; \
|
||||||
***************
|
- chmod 644 $(ETCDIR)/sntoprc; \
|
||||||
*** 64,77 ****
|
+ cp sntoprc.EXAMPLE $(ETCDIR)/sntoprc.sample; \
|
||||||
fi
|
+ chmod 644 $(ETCDIR)/sntoprc.sample; \
|
||||||
@if [ -d $(ETCDIR) ]; \
|
fi; \
|
||||||
then \
|
- echo "sntop: Sample config exists at $(ETCDIR)/sntoprc"; \
|
||||||
! if [ ! -f $(ETCDIR)/sntoprc ]; \
|
+ echo "sntop: Sample config exists at $(ETCDIR)/sntoprc.sample"; \
|
||||||
then \
|
else \
|
||||||
! cp sntoprc.EXAMPLE $(ETCDIR)/sntoprc; \
|
echo "sntop: $(ETCDIR) does not exist"; false; \
|
||||||
! chmod 644 $(ETCDIR)/sntoprc; \
|
fi
|
||||||
! echo "sntop: Config installed in $(ETCDIR)"; \
|
@@ -78,7 +78,6 @@
|
||||||
! else \
|
then \
|
||||||
! echo "sntop: conf file exists at $(ETCDIR)/sntoprc, we wont overwrite it"; \
|
cp sntop.1 $(MANDIR); \
|
||||||
! fi \
|
chmod 644 $(MANDIR)/sntop.1; \
|
||||||
else \
|
- gzip -9 $(MANDIR)/sntop.1; \
|
||||||
echo "sntop: $(ETCDIR) does not exist"; false; \
|
echo "sntop: Man file installed in $(MANDIR)"; \
|
||||||
fi
|
else \
|
||||||
--- 64,75 ----
|
echo "sntop: $(MANDIR) does not exist, not installing man file"; \
|
||||||
fi
|
|
||||||
@if [ -d $(ETCDIR) ]; \
|
|
||||||
then \
|
|
||||||
! if [ ! -f $(ETCDIR)/sntoprc.sample ]; \
|
|
||||||
then \
|
|
||||||
! cp sntoprc.EXAMPLE $(ETCDIR)/sntoprc.sample; \
|
|
||||||
! chmod 644 $(ETCDIR)/sntoprc.sample; \
|
|
||||||
! fi; \
|
|
||||||
+ echo "sntop: Sample config exists at $(ETCDIR)/sntoprc.sample"; \
|
|
||||||
else \
|
|
||||||
echo "sntop: $(ETCDIR) does not exist"; false; \
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue