summaryrefslogtreecommitdiff
path: root/package/libnetfilter_cttimeout
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-07-27 10:45:02 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-07-27 10:45:02 +0200
commit42dd254f5937274f164a5a7c5fb3c1f80e38e7af (patch)
tree9d2f1aa0333e04af8493d6a5f533b6e243bf5d2b /package/libnetfilter_cttimeout
parent7f0a66667a815bb8e28b4c8b93666b92a667b485 (diff)
full build on Darwin fixes
Diffstat (limited to 'package/libnetfilter_cttimeout')
-rw-r--r--package/libnetfilter_cttimeout/Makefile28
-rw-r--r--package/libnetfilter_cttimeout/patches/patch-ltmain_sh11
2 files changed, 39 insertions, 0 deletions
diff --git a/package/libnetfilter_cttimeout/Makefile b/package/libnetfilter_cttimeout/Makefile
new file mode 100644
index 000000000..34ca45aa2
--- /dev/null
+++ b/package/libnetfilter_cttimeout/Makefile
@@ -0,0 +1,28 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= libnetfilter_cttimeout
+PKG_VERSION:= 1.0.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 7697437fc9ebb6f6b83df56a633db7f9
+PKG_DESCR:= API to the fine-grain connection tracking timeout infrastructure
+PKG_SECTION:= libs
+PKG_DEPENDS:= libnfnetlink
+PKG_BUILDDEP:= libnfnetlink
+PKG_URL:= http://www.netfilter.org/projects/libnetfilter_cttimeout/
+PKG_SITES:= http://www.netfilter.org/projects/libnetfilter_cttimeout/files/
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBNETFILTER_CTTIMEOUT,libnetfilter-cttimeout,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_LIBNETFILTER_CTTIMEOUT)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libnetfilter_cttimeout*so* \
+ $(IDIR_LIBNETFILTER_CTTIMEOUT)/usr/lib/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libnetfilter_cttimeout/patches/patch-ltmain_sh b/package/libnetfilter_cttimeout/patches/patch-ltmain_sh
new file mode 100644
index 000000000..98484bd51
--- /dev/null
+++ b/package/libnetfilter_cttimeout/patches/patch-ltmain_sh
@@ -0,0 +1,11 @@
+--- libnetfilter_queue-0.0.17.orig/ltmain.sh 2008-04-29 23:33:55.000000000 +0200
++++ libnetfilter_queue-0.0.17/ltmain.sh 2011-01-15 22:49:28.000000000 +0100
+@@ -1676,7 +1676,7 @@ EOF
+ # -F/path gives path to uninstalled frameworks, gcc on darwin
+ # @file GCC response files
+ -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
+- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto)
+
+ # Unknown arguments in both finalize_command and compile_command need
+ # to be aesthetically quoted because they are evaled later.