From ab5b3260ebfce5e8f4c5bf28144ad289e94370ac Mon Sep 17 00:00:00 2001 From: shtayerc Date: Wed, 22 Jan 2020 18:23:48 +0100 Subject: [PATCH] New package: dante-1.4.2 --- common/shlibs | 2 ++ ...m4-Remove-getaddrinfo-too-low-checks.patch | 16 +++++++++++++++ srcpkgs/dante/template | 20 +++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 srcpkgs/dante/patches/0002-osdep-m4-Remove-getaddrinfo-too-low-checks.patch create mode 100644 srcpkgs/dante/template diff --git a/common/shlibs b/common/shlibs index 35fcd4de243..5642d463a47 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3706,3 +3706,5 @@ libjsonnet.so.0 jsonnet-0.14.0_2 libjsonnet++.so.0 jsonnet-0.14.0_2 libigdgmm.so.11 intel-gmmlib-19.4.1_1 libgtk-layer-shell.so.0 wf-shell-0.3_1 +libdsocks.so dante-1.4.2_1 +libsocks.so.0 dante-1.4.2_1 diff --git a/srcpkgs/dante/patches/0002-osdep-m4-Remove-getaddrinfo-too-low-checks.patch b/srcpkgs/dante/patches/0002-osdep-m4-Remove-getaddrinfo-too-low-checks.patch new file mode 100644 index 00000000000..c6f86c9f015 --- /dev/null +++ b/srcpkgs/dante/patches/0002-osdep-m4-Remove-getaddrinfo-too-low-checks.patch @@ -0,0 +1,16 @@ +--- osdep.m4 2019-12-09 21:28:38.936003218 +0100 ++++ osdep.m4 2019-12-09 21:49:48.764019371 +0100 +@@ -956,13 +956,7 @@ + unset UNIQUEVALS UNIQUESYMBOLS + if test -s $ERRVALFILE; then + UNIQUEVALS=`sort $ERRVALFILE | uniq | wc -l | awk '{ print $1 }'` +- if test $UNIQUEVALS -le 1; then +- AC_MSG_FAILURE([error: getaddrinfo() error value count too low]) +- fi + UNIQUESYMBOLS=`cat $ERRVALFILE | wc -l | awk '{ print $1 }'` +- if test $UNIQUESYMBOLS -le 1; then +- AC_MSG_FAILURE([error: getaddrinfo() error symbol count too low]) +- fi + + if test $ERRNOCNT -ne $UNIQUESYMBOLS; then + AC_MSG_FAILURE([internal error: errno symbol count mismatch]) diff --git a/srcpkgs/dante/template b/srcpkgs/dante/template new file mode 100644 index 00000000000..7b29919deae --- /dev/null +++ b/srcpkgs/dante/template @@ -0,0 +1,20 @@ +# Template file for 'dante' +pkgname=dante +version=1.4.2 +revision=1 +build_style=gnu-configure +hostmakedepends="tar automake libtool" +short_desc="SOCKS server and client" +maintainer="shtayerc " +license="MIT-CMU" +homepage="http://www.inet.no/dante/index.html" +distfiles="http://www.inet.no/dante/files/dante-${version}.tar.gz" +checksum=4c97cff23e5c9b00ca1ec8a95ab22972813921d7fbf60fc453e3e06382fc38a7 + +pre_configure() { + autoreconf -fi +} + +post_install() { + vlicense LICENSE +}