Commit a49ee8d9 authored by Natanael Copa's avatar Natanael Copa

main/ipsec-tools: rebuild against openssl 1.1

parent 1f2c339b
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ipsec-tools
pkgver=0.8.2
pkgrel=7
pkgrel=8
pkgdesc="User-space IPsec tools for various IPsec implementations"
url="http://ipsec-tools.sourceforge.net/"
arch="all"
license="BSD"
depends=""
makedepends="linux-headers bsd-compat-headers libressl-dev bison flex"
makedepends="linux-headers bsd-compat-headers openssl-dev bison flex
autoconf automake libtool"
subpackages="$pkgname-doc $pkgname-dev"
source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
racoon.initd
......@@ -19,14 +20,16 @@ source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
90-dead-on-initial-contact.patch
musl-cdefs.patch
fix-yywrap.patch
ipsec-tools-openssl-1.1.patch
disable-Werror.patch
"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
update_config_sub
default_prepare
sed -i 's:-Werror::g' configure
touch AUTHORS
autoreconf -vif -I.
}
build() {
......@@ -67,4 +70,6 @@ sha512sums="6cf4f1da7b461127e75f87fba8349f46b879f8bca179ae1cb27b2e011045753460c5
b65fbb7b8af6863f6dcb0b1cf5a6c856deb62a50f2b19455740340c4c453f5800335bc3b89509de06fc9bc21aa8db16f9eff579aa10b0762bb649ab891a06bfb 75-racoonctl-rcvbuf.patch
9719f7854ff5d37cb927fc6dd23241ade2c031ae7f3eaf14b41613c3f2139c7a237c739cc1df50a954b349f1c75e0992302cce6a7a551c139f4b9c5fcd376b1b 90-dead-on-initial-contact.patch
3794055d05883ea4c0cb4822248373c2e1e37e871ef8cd9ede07ad3d212422342e9ebefb4684e312793f0c509b9e35c0ad7c6453baadc33fbd5fc01e5fc96de9 musl-cdefs.patch
568e64288e4c15fc0b1221ce9fa2e88c234e36d5c1e366b8c52b39171aa319d99843817c1d3c0b8517b638474289e4a113220903f319806a6365115585feffc0 fix-yywrap.patch"
568e64288e4c15fc0b1221ce9fa2e88c234e36d5c1e366b8c52b39171aa319d99843817c1d3c0b8517b638474289e4a113220903f319806a6365115585feffc0 fix-yywrap.patch
60c50aa09753d22c6572661058b42dca8bbb43dc3f64519ef9ad808b8b3d4a5bcfc31d5e0af70e3d71e89c589c901c1da07ad96a2663bdb21557dad7b5aa732d ipsec-tools-openssl-1.1.patch
45cd7c76e2b8ded08fc0e3d73e14ed12fdac02be091db9a9ea25d753d655c40c3facc4ce7376bfc4316fc921bd979c686114c31c77a8465aa38f55c2edff775b disable-Werror.patch"
diff --git a/configure.ac b/configure.ac
index 8506245..f00afd0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,7 +18,7 @@ AM_PROG_LEX
AC_SUBST(LEXLIB)
AC_PROG_EGREP
-CFLAGS_ADD="$CFLAGS_ADD -Wall -Werror -Wno-unused"
+CFLAGS_ADD="$CFLAGS_ADD -Wall -Wno-unused"
case $host in
*netbsd*)
@@ -131,7 +131,7 @@ RACOON_CHECK_VA_COPY
# Check if printf accepts "%z" type modifier for size_t argument
AC_MSG_CHECKING(if printf accepts %z)
saved_CFLAGS=$CFLAGS
-CFLAGS="$CFLAGS -Wall -Werror"
+CFLAGS="$CFLAGS -Wall "
AC_TRY_COMPILE([
#include <stdio.h>
], [
@@ -433,7 +433,7 @@ if test "$libldap_dir" != "no"; then
LIBS="$LIBS -L$libldap_dir/lib -R$libldap_dir/lib -lldap"
saved_CFLAGS=$CFLAGS
- CFLAGS="$CFLAGS -Wall -Werror"
+ CFLAGS="$CFLAGS -Wall "
saved_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $CPPFLAGS_ADD"
AC_TRY_COMPILE(
@@ -484,7 +484,7 @@ if test "x$enable_gssapi" = "xyes"; then
# Check if iconv 2nd argument needs const
saved_CFLAGS=$CFLAGS
- CFLAGS="$CFLAGS -Wall -Werror"
+ CFLAGS="$CFLAGS -Wall "
saved_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $CPPFLAGS_ADD"
AC_CHECK_HEADER([iconv.h], [], [AC_MSG_ERROR([iconv.h not found, but needed for GSSAPI support. Aborting.])])
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment