hitch: update to 1.5.2

This commit is contained in:
4ricci 2020-04-30 22:32:23 +02:00 committed by Johannes
parent f37d80952d
commit e85f530063
2 changed files with 67 additions and 43 deletions

View file

@ -1,29 +1,8 @@
--- configure-master 2017-07-01 11:07:01.170862696 -0600 --- configure-master 2020-04-30 18:55:31.884880427 +0200
+++ configure 2017-07-01 11:17:37.613785126 -0600 +++ configure 2020-04-30 19:58:12.271990731 +0200
@@ -6544,12 +6544,6 @@ @@ -6798,12 +6798,6 @@
$as_echo_n "checking whether the compiler accepts -O2... " >&6; }
_cflags="$CFLAGS"
CFLAGS="$HITCH_CFLAGS -O2 $CFLAGS"
- if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot run test program while cross compiling
-See \`config.log' for more details" "$LINENO" 5; }
-else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int main(void) { return (0); }
@@ -6563,7 +6557,6 @@
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
CFLAGS="$_cflags"
@@ -6572,12 +6565,6 @@
$as_echo_n "checking whether the compiler accepts -g... " >&6; } $as_echo_n "checking whether the compiler accepts -g... " >&6; }
_cflags="$CFLAGS" hitch_save_CFLAGS=$CFLAGS
CFLAGS="$HITCH_CFLAGS -g $CFLAGS" CFLAGS="$HITCH_CFLAGS -g $CFLAGS"
- if test "$cross_compiling" = yes; then : - if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
@ -34,17 +13,38 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int main(void) { return (0); } int main(void) { return (0); }
@@ -6591,7 +6578,6 @@ @@ -6817,7 +6811,6 @@
fi fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi -fi
CFLAGS="$_cflags" CFLAGS=$hitch_save_CFLAGS
@@ -6600,12 +6586,6 @@ @@ -6826,12 +6819,6 @@
$as_echo_n "checking whether the compiler accepts -O2... " >&6; }
hitch_save_CFLAGS=$CFLAGS
CFLAGS="$HITCH_CFLAGS -O2 $CFLAGS"
- if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot run test program while cross compiling
-See \`config.log' for more details" "$LINENO" 5; }
-else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int main(void) { return (0); }
@@ -6845,7 +6832,6 @@
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
CFLAGS=$hitch_save_CFLAGS
@@ -6862,12 +6848,6 @@
$as_echo_n "checking whether the compiler accepts -Wall... " >&6; } $as_echo_n "checking whether the compiler accepts -Wall... " >&6; }
_cflags="$CFLAGS" hitch_save_CFLAGS=$CFLAGS
CFLAGS="$HITCH_CFLAGS -Wall $CFLAGS" CFLAGS="$HITCH_CFLAGS -Wall $CFLAGS"
- if test "$cross_compiling" = yes; then : - if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
@ -55,17 +55,17 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int main(void) { return (0); } int main(void) { return (0); }
@@ -6619,7 +6599,6 @@ @@ -6881,7 +6861,6 @@
fi fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi -fi
CFLAGS="$_cflags" CFLAGS=$hitch_save_CFLAGS
@@ -6628,12 +6607,6 @@ @@ -6890,12 +6869,6 @@
$as_echo_n "checking whether the compiler accepts -W... " >&6; } $as_echo_n "checking whether the compiler accepts -W... " >&6; }
_cflags="$CFLAGS" hitch_save_CFLAGS=$CFLAGS
CFLAGS="$HITCH_CFLAGS -W $CFLAGS" CFLAGS="$HITCH_CFLAGS -W $CFLAGS"
- if test "$cross_compiling" = yes; then : - if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
@ -76,17 +76,38 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int main(void) { return (0); } int main(void) { return (0); }
@@ -6647,7 +6620,6 @@ @@ -6909,7 +6882,6 @@
fi fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi -fi
CFLAGS="$_cflags" CFLAGS=$hitch_save_CFLAGS
@@ -6664,12 +6636,6 @@ @@ -6918,12 +6890,6 @@
$as_echo_n "checking whether the compiler accepts -Werror... " >&6; }
hitch_save_CFLAGS=$CFLAGS
CFLAGS="$HITCH_CFLAGS -Werror $CFLAGS"
- if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot run test program while cross compiling
-See \`config.log' for more details" "$LINENO" 5; }
-else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int main(void) { return (0); }
@@ -6937,7 +6903,6 @@
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
CFLAGS=$hitch_save_CFLAGS
@@ -6956,12 +6921,6 @@
$as_echo_n "checking whether the compiler accepts -fno-strict-aliasing... " >&6; } $as_echo_n "checking whether the compiler accepts -fno-strict-aliasing... " >&6; }
_cflags="$CFLAGS" hitch_save_CFLAGS=$CFLAGS
CFLAGS="$EV_CFLAGS -fno-strict-aliasing $CFLAGS" CFLAGS="$EV_CFLAGS -fno-strict-aliasing $CFLAGS"
- if test "$cross_compiling" = yes; then : - if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
@ -97,11 +118,14 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int main(void) { return (0); } int main(void) { return (0); }
@@ -6683,7 +6649,6 @@ @@ -6975,9 +6934,8 @@
fi fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi -fi
CFLAGS="$_cflags" - CFLAGS=$hitch_save_CFLAGS
+ CFLAGS="$hitch_save_CFLAGS -fno-strict-aliasing"

View file

@ -1,9 +1,9 @@
# Template file for 'hitch' # Template file for 'hitch'
pkgname=hitch pkgname=hitch
version=1.5.0 version=1.5.2
revision=2 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="ac_cv_so_reuseport_works=yes" configure_args="ac_cv_so_reuseport_works=yes ac_cv_so_tfo=yes"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="libev-devel libressl-devel" makedepends="libev-devel libressl-devel"
short_desc="Libev-based high performance SSL/TLS proxy" short_desc="Libev-based high performance SSL/TLS proxy"
@ -11,7 +11,7 @@ maintainer="Jannis Christ <hello@jannis.ovh>"
license="BSD-2-Clause" license="BSD-2-Clause"
homepage="https://hitch-tls.org/" homepage="https://hitch-tls.org/"
distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz" distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
checksum=0ec254699292f73e419ff279d2834db31026192ef373a91badd82e2dc7154d0b checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
system_accounts="_hitch" system_accounts="_hitch"
post_install() { post_install() {