--- a/components/tcpdump/Makefile Fri Mar 03 14:58:40 2017 -0800
+++ b/components/tcpdump/Makefile Fri Mar 03 15:29:05 2017 -0800
@@ -18,23 +18,23 @@
#
# CDDL HEADER END
#
-# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
#
include ../../make-rules/shared-macros.mk
COMPONENT_NAME= tcpdump
-COMPONENT_VERSION= 4.7.4
+COMPONENT_VERSION= 4.9.0
COMPONENT_PROJECT_URL= http://www.tcpdump.org/
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH= \
- sha256:5a321f0fb959b928f26112c9f49f81d754c23c1d8ffb0feb69304fee06b77e0a
+ sha256:eae98121cbb1c9adbedd9a777bf2eae9fa1c1c676424a54740311c8abcee5a5e
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE)
COMPONENT_BUGDB= utility/tcpdump
-TPNO= 22949
+TPNO= 33618
-# Prevent macro redefinition error
+# Prevent macro redefinition error
CFLAGS += -D _NETINET_IP_H
include $(WS_MAKE_RULES)/prep.mk
@@ -55,19 +55,16 @@
CONFIGURE_OPTIONS += --with-user=nobody
CONFIGURE_OPTIONS += --without-crypto
-ASLR_MODE = $(ASLR_ENABLE)
-
-# common targets
-build: $(BUILD_64)
-
-install: $(INSTALL_64)
-
COMPONENT_PRE_TEST_ACTION = \
($(CP) -r $(SOURCE_DIR)/tests $(@D)/.)
-test: $(TEST_64)
+ASLR_MODE = $(ASLR_ENABLE)
+
+build: $(BUILD_64)
+install: $(INSTALL_64)
+test: $(TEST_64)
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/libpcap