summaryrefslogtreecommitdiff
path: root/package/siproxd
diff options
context:
space:
mode:
Diffstat (limited to 'package/siproxd')
-rw-r--r--package/siproxd/Makefile8
-rw-r--r--package/siproxd/patches/patch-libltdl_ltmain_sh11
-rw-r--r--package/siproxd/patches/patch-scripts_ltmain_sh11
-rw-r--r--package/siproxd/patches/patch-src_resolve_c10
4 files changed, 15 insertions, 25 deletions
diff --git a/package/siproxd/Makefile b/package/siproxd/Makefile
index 34c835f30..2ece50985 100644
--- a/package/siproxd/Makefile
+++ b/package/siproxd/Makefile
@@ -4,13 +4,13 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= siproxd
-PKG_VERSION:= 0.7.1
+PKG_VERSION:= 0.8.1
PKG_RELEASE:= 1
-PKG_MD5SUM:= 45e5a44803181e2bf3361d562060c904
+PKG_MD5SUM:= 1a6f9d13aeb2d650375c9a346ac6cbaf
PKG_DESCR:= a SIP (Session Initiation Protocol) proxy
PKG_SECTION:= proxy
PKG_DEPENDS:= libosip2 libpthread
-PKG_BUILDDEP:= libosip2
+PKG_BUILDDEP:= autotool libosip2
PKG_URL:= http://siproxd.sourceforge.net
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=siproxd/}
@@ -18,6 +18,8 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SIPROXD,siproxd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+AUTOTOOL_STYLE:= autoreconf
+
siproxd-install:
${INSTALL_DIR} ${IDIR_SIPROXD}/usr/sbin ${IDIR_SIPROXD}/etc
${INSTALL_DATA} ${WRKINST}/etc/siproxd.conf.example \
diff --git a/package/siproxd/patches/patch-libltdl_ltmain_sh b/package/siproxd/patches/patch-libltdl_ltmain_sh
deleted file mode 100644
index 84bfc305b..000000000
--- a/package/siproxd/patches/patch-libltdl_ltmain_sh
+++ /dev/null
@@ -1,11 +0,0 @@
---- siproxd-0.7.1.orig/libltdl/ltmain.sh 2008-02-02 18:16:31.000000000 +0100
-+++ siproxd-0.7.1/libltdl/ltmain.sh 2011-01-17 12:14:25.000000000 +0100
-@@ -1298,7 +1298,7 @@ EOF
- # but this is not reliable with gcc because gcc may use -mfoo to
- # select a different linker, different libraries, etc, while
- # -Wl,-mfoo simply passes -mfoo to the linker.
-- -m*)
-+ -m*|-fstack-protector*|-flto)
- # Unknown arguments in both finalize_command and compile_command need
- # to be aesthetically quoted because they are evaled later.
- arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
diff --git a/package/siproxd/patches/patch-scripts_ltmain_sh b/package/siproxd/patches/patch-scripts_ltmain_sh
deleted file mode 100644
index 79b49713d..000000000
--- a/package/siproxd/patches/patch-scripts_ltmain_sh
+++ /dev/null
@@ -1,11 +0,0 @@
---- siproxd-0.7.1.orig/scripts/ltmain.sh 2008-01-27 17:35:27.000000000 +0100
-+++ siproxd-0.7.1/scripts/ltmain.sh 2011-01-17 12:17:22.000000000 +0100
-@@ -1301,7 +1301,7 @@ EOF
- # but this is not reliable with gcc because gcc may use -mfoo to
- # select a different linker, different libraries, etc, while
- # -Wl,-mfoo simply passes -mfoo to the linker.
-- -m*)
-+ -m*|-fstack-protector*|-flto)
- # Unknown arguments in both finalize_command and compile_command need
- # to be aesthetically quoted because they are evaled later.
- arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
diff --git a/package/siproxd/patches/patch-src_resolve_c b/package/siproxd/patches/patch-src_resolve_c
new file mode 100644
index 000000000..aaa381969
--- /dev/null
+++ b/package/siproxd/patches/patch-src_resolve_c
@@ -0,0 +1,10 @@
+--- siproxd-0.8.1.orig/src/resolve.c 2011-05-28 17:47:15.000000000 +0200
++++ siproxd-0.8.1/src/resolve.c 2014-03-26 18:37:07.000000000 +0100
+@@ -20,6 +20,7 @@
+
+ #include "config.h"
+
++#include <sys/types.h>
+ #include <arpa/inet.h>
+ #include <netinet/in.h>
+