Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ EXTRA_DIST = \
send-ack.awk \
smbutil.c \
stime.awk \
tcpdump-sysusers.conf \
tcpdump.1.in

TEST_DIST= `git -C "$$DIR" ls-files tests`
Expand Down Expand Up @@ -405,11 +406,15 @@ install: all
[ -d $(DESTDIR)$(mandir)/man1 ] || \
(mkdir -p $(DESTDIR)$(mandir)/man1; chmod 755 $(DESTDIR)$(mandir)/man1)
$(INSTALL_DATA) $(PROG).1 $(DESTDIR)$(mandir)/man1/$(PROG).1
[ -d $(DESTDIR)$(prefix)/lib/sysusers.d ] || \
(mkdir -p $(DESTDIR)$(prefix)/lib/sysusers.d; chmod 755 $(DESTDIR)$(prefix)/lib/sysusers.d)
$(INSTALL_DATA) tcpdump-sysusers.conf $(DESTDIR)$(prefix)/lib/sysusers.d/tcpdump.conf

uninstall:
rm -f $(DESTDIR)$(bindir)/$(PROG)
rm -f $(DESTDIR)$(bindir)/$(PROG).`cat ${srcdir}/VERSION`
rm -f $(DESTDIR)$(mandir)/man1/$(PROG).1
rm -f $(DESTDIR)$(prefix)/lib/sysusers.d/tcpdump.conf

lint:
lint -hbxn $(SRC) $(LIBNETDISSECT_SRC) | \
Expand Down
1 change: 1 addition & 0 deletions tcpdump-sysusers.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
u! tcpdump - "tcpdump" /nonexistent