components/tcpdump/Makefile
branchs11-update
changeset 2905 8c0fb29f2a1e
parent 2903 bffd78b31bd5
child 3153 4e19b18b0bbd
--- a/components/tcpdump/Makefile	Fri Jan 17 12:16:54 2014 -0800
+++ b/components/tcpdump/Makefile	Fri Jan 17 12:16:54 2014 -0800
@@ -23,12 +23,12 @@
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		tcpdump
-COMPONENT_VERSION=	4.3.0
+COMPONENT_VERSION=	4.5.1
 COMPONENT_PROJECT_URL=	http://www.tcpdump.org/
 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
 COMPONENT_ARCHIVE_HASH=	\
-    sha256:efd08b610210d39977ec3175fa82dad9fbd33587930081be2a905a712dba4286
+    sha256:14ab39657128f3a650aed4cf455f76c7590601087b6101c253d698f6e73f0b96
 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE)
 COMPONENT_BUGDB=	utility/tcpdump
 
@@ -36,8 +36,8 @@
 include ../../make-rules/configure.mk
 include ../../make-rules/ips.mk
 
-# the default setting of 8s makes us core dump
-studio_ALIGN.sparc.32=
+# fix my alignment issues instead of falling over on sparc
+studio_ALIGN.sparc.64=-xmemalign=16i
 
 # lazyloading (indirectly enabled by -Bdirect) seems to cause problems with
 # libpcap device enumeration.
@@ -48,15 +48,17 @@
 CONFIGURE_OPTIONS += --with-user=nobody
 CONFIGURE_OPTIONS += --without-crypto
 
+ASLR_MODE = $(ASLR_ENABLE)
+
 # common targets
-build:          $(BUILD_32)
+build:          $(BUILD_64)
 
-install:        $(INSTALL_32) 
+install:        $(INSTALL_64) 
 
 COMPONENT_PRE_TEST_ACTION = \
         ($(CP) -r $(SOURCE_DIR)/tests $(@D)/.)
 
-test:		$(TEST_32)
+test:		$(TEST_64)
 
 
 BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)