From a7c5327dcc4a1957d1bbed54d6c0e26905f724b0 Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz Date: Sep 20 2017 13:31:14 +0000 Subject: vars/build.vars: adds {shared_mime_info,libudns}, removes netcat, and updates {atk,gdk,glib{,_host},libressl,openlitespeed}. vars/build.vars: adds {shared_mime_info,libudns} v{1.8,(HEAD)} (via Redfoxmoon.) vars/build.vars: removes netcat in favour of bin/nc provided by libressl (via Redfoxmoon.) vars/build.vars: updates glib{,_host} to v2.53.7. vars/build.vars: updates {atk,gdk,libressl,openlitespeed} to v{2.26.0,2.36.10,2.6.1,1.4.27} (via Redfoxmoon.) patches/bind-9.11.0-P2.local.patch: removes obsolete patch (via Redfoxmoon.) patches/gdk-pixbuf-2.36.10.local.patch: via Redfoxmoon. patches/glib-2.46.2.local.patch: removes obsolete patch. patches/libressl-2.6.1.local.patch: via Redfoxmoon. patches/openlitespeed-1.4.27.local.patch: via Redfoxmoon. vars/libudns.vars: via Redfoxmoon. --- diff --git a/patches/bind-9.11.0-P2.local.patch b/patches/bind-9.11.0-P2.local.patch deleted file mode 100644 index 88314f8..0000000 --- a/patches/bind-9.11.0-P2.local.patch +++ /dev/null @@ -1,484 +0,0 @@ -diff -ru bind-9.11.0-P2.orig/bin/check/Makefile.in bind-9.11.0-P2/bin/check/Makefile.in ---- bind-9.11.0-P2.orig/bin/check/Makefile.in 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/bin/check/Makefile.in 2017-01-25 17:07:39.385668783 +0100 -@@ -20,7 +20,7 @@ - CDEFINES = -DNAMED_CONFFILE=\"${sysconfdir}/named.conf\" - CWARNINGS = - --DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../lib/dns/libdns.@A@ - ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@ - ISCLIBS = ../../lib/isc/libisc.@A@ - ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ -@@ -31,8 +31,8 @@ - ISCDEPLIBS = ../../lib/isc/libisc.@A@ - BIND9DEPLIBS = ../../lib/bind9/libbind9.@A@ - --LIBS = ${ISCLIBS} @LIBS@ --NOSYMLIBS = ${ISCNOSYMLIBS} @LIBS@ -+LIBS = ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ -+NOSYMLIBS = ${ISCNOSYMLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - SUBDIRS = - -diff -ru bind-9.11.0-P2.orig/bin/confgen/Makefile.in bind-9.11.0-P2/bin/confgen/Makefile.in ---- bind-9.11.0-P2.orig/bin/confgen/Makefile.in 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/bin/confgen/Makefile.in 2017-01-25 17:09:02.925668783 +0100 -@@ -24,7 +24,7 @@ - ISCCCLIBS = ../../lib/isccc/libisccc.@A@ - ISCLIBS = ../../lib/isc/libisc.@A@ - ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ --DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../lib/dns/libdns.@A@ - BIND9LIBS = ../../lib/bind9/libbind9.@A@ - - ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@ -@@ -36,9 +36,9 @@ - RNDCLIBS = ${ISCCFGLIBS} ${ISCCCLIBS} ${BIND9LIBS} ${DNSLIBS} ${ISCLIBS} @LIBS@ - RNDCDEPLIBS = ${ISCCFGDEPLIBS} ${ISCCCDEPLIBS} ${BIND9DEPLIBS} ${DNSDEPLIBS} ${ISCDEPLIBS} - --LIBS = ${DNSLIBS} ${ISCLIBS} @LIBS@ -+LIBS = ${DNSLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - --NOSYMLIBS = ${DNSLIBS} ${ISCNOSYMLIBS} @LIBS@ -+NOSYMLIBS = ${DNSLIBS} ${ISCNOSYMLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - CONFDEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS} - -diff -ru bind-9.11.0-P2.orig/bin/delv/Makefile.in bind-9.11.0-P2/bin/delv/Makefile.in ---- bind-9.11.0-P2.orig/bin/delv/Makefile.in 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/bin/delv/Makefile.in 2017-01-25 17:09:20.553668783 +0100 -@@ -19,7 +19,7 @@ - CWARNINGS = - - ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@ --DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../lib/dns/libdns.@A@ - ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ - ISCLIBS = ../../lib/isc/libisc.@A@ - IRSLIBS = ../../lib/irs/libirs.@A@ -@@ -31,8 +31,8 @@ - - DEPLIBS = ${DNSDEPLIBS} ${IRSDEPLIBS} ${ISCCFGDEPLIBS} ${ISCDEPLIBS} - --LIBS = ${DNSLIBS} ${IRSLIBS} ${ISCCFGLIBS} ${ISCLIBS} @LIBS@ --NOSYMLIBS = ${DNSLIBS} ${IRSLIBS} ${ISCCFGLIBS} ${ISCNOSYMLIBS} @LIBS@ -+LIBS = ${DNSLIBS} ${IRSLIBS} ${ISCCFGLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ -+NOSYMLIBS = ${DNSLIBS} ${IRSLIBS} ${ISCCFGLIBS} ${ISCNOSYMLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - SUBDIRS = - -diff -ru bind-9.11.0-P2.orig/bin/dig/Makefile.in bind-9.11.0-P2/bin/dig/Makefile.in ---- bind-9.11.0-P2.orig/bin/dig/Makefile.in 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/bin/dig/Makefile.in 2017-01-25 17:06:52.125668783 +0100 -@@ -21,7 +21,7 @@ - CWARNINGS = - - ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@ --DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../lib/dns/libdns.@A@ - BIND9LIBS = ../../lib/bind9/libbind9.@A@ - ISCLIBS = ../../lib/isc/libisc.@A@ - ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ -@@ -37,10 +37,10 @@ - ${ISCCFGDEPLIBS} ${LWRESDEPLIBS} - - LIBS = ${LWRESLIBS} ${BIND9LIBS} ${ISCCFGLIBS} \ -- ${ISCLIBS} @IDNLIBS@ @LIBS@ -+ ${ISCLIBS} @DNS_CRYPTO_LIBS@ @IDNLIBS@ @LIBS@ - - NOSYMLIBS = ${LWRESLIBS} ${BIND9LIBS} ${ISCCFGLIBS} \ -- ${ISCNOSYMLIBS} @IDNLIBS@ @LIBS@ -+ ${ISCNOSYMLIBS} @DNS_CRYPTO_LIBS@ @IDNLIBS@ @LIBS@ - - SUBDIRS = - -diff -ru bind-9.11.0-P2.orig/bin/dnssec/Makefile.in bind-9.11.0-P2/bin/dnssec/Makefile.in ---- bind-9.11.0-P2.orig/bin/dnssec/Makefile.in 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/bin/dnssec/Makefile.in 2017-01-25 17:09:52.013668783 +0100 -@@ -20,7 +20,7 @@ - @CRYPTO@ -DPK11_LIB_LOCATION=\"@PKCS11_PROVIDER@\" - CWARNINGS = - --DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../lib/dns/libdns.@A@ - ISCLIBS = ../../lib/isc/libisc.@A@ - ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ - -@@ -29,9 +29,9 @@ - - DEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS} - --LIBS = ${DNSLIBS} ${ISCLIBS} @LIBS@ -+LIBS = ${DNSLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - --NOSYMLIBS = ${DNSLIBS} ${ISCNOSYMLIBS} @LIBS@ -+NOSYMLIBS = ${DNSLIBS} ${ISCNOSYMLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - # Alphabetically - TARGETS = dnssec-keygen@EXEEXT@ dnssec-signzone@EXEEXT@ \ -diff -ru bind-9.11.0-P2.orig/bin/Makefile.in bind-9.11.0-P2/bin/Makefile.in ---- bind-9.11.0-P2.orig/bin/Makefile.in 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/bin/Makefile.in 2017-02-03 23:57:28.674733352 +0100 -@@ -10,7 +10,7 @@ - VPATH = @srcdir@ - top_srcdir = @top_srcdir@ - --SUBDIRS = named rndc dig delv dnssec tools tests nsupdate \ -+SUBDIRS = named rndc dig delv dnssec tools nsupdate \ - check confgen @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ - TARGETS = - -diff -ru bind-9.11.0-P2.orig/bin/named/Makefile.in bind-9.11.0-P2/bin/named/Makefile.in ---- bind-9.11.0-P2.orig/bin/named/Makefile.in 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/bin/named/Makefile.in 2017-01-25 17:10:18.269668783 +0100 -@@ -44,7 +44,7 @@ - - CWARNINGS = - --DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../lib/dns/libdns.@A@ - ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@ - ISCCCLIBS = ../../lib/isccc/libisccc.@A@ - ISCLIBS = ../../lib/isc/libisc.@A@ -@@ -64,11 +64,11 @@ - - LIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \ - ${ISCCFGLIBS} ${ISCCCLIBS} ${ISCLIBS} \ -- ${DLZDRIVER_LIBS} ${DBDRIVER_LIBS} @LIBS@ -+ ${DLZDRIVER_LIBS} ${DBDRIVER_LIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - NOSYMLIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \ - ${ISCCFGLIBS} ${ISCCCLIBS} ${ISCNOSYMLIBS} \ -- ${DLZDRIVER_LIBS} ${DBDRIVER_LIBS} @LIBS@ -+ ${DLZDRIVER_LIBS} ${DBDRIVER_LIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - SUBDIRS = unix - -diff -ru bind-9.11.0-P2.orig/bin/nsupdate/Makefile.in bind-9.11.0-P2/bin/nsupdate/Makefile.in ---- bind-9.11.0-P2.orig/bin/nsupdate/Makefile.in 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/bin/nsupdate/Makefile.in 2017-01-25 17:10:44.321668783 +0100 -@@ -25,7 +25,7 @@ - CWARNINGS = - - LWRESLIBS = ../../lib/lwres/liblwres.@A@ --DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../lib/dns/libdns.@A@ - BIND9LIBS = ../../lib/bind9/libbind9.@A@ - ISCLIBS = ../../lib/isc/libisc.@A@ - ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ -@@ -39,9 +39,9 @@ - - DEPLIBS = ${DNSDEPLIBS} ${BIND9DEPLIBS} ${ISCDEPLIBS} ${ISCCFGDEPLIBS} - --LIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} ${ISCLIBS} @LIBS@ -+LIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - --NOSYMLIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} ${ISCNOSYMLIBS} @LIBS@ -+NOSYMLIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} ${ISCNOSYMLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - SUBDIRS = - -diff -ru bind-9.11.0-P2.orig/bin/rndc/Makefile.in bind-9.11.0-P2/bin/rndc/Makefile.in ---- bind-9.11.0-P2.orig/bin/rndc/Makefile.in 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/bin/rndc/Makefile.in 2017-01-25 17:11:14.893668783 +0100 -@@ -24,7 +24,7 @@ - ISCCCLIBS = ../../lib/isccc/libisccc.@A@ - ISCLIBS = ../../lib/isc/libisc.@A@ - ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ --DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../lib/dns/libdns.@A@ - BIND9LIBS = ../../lib/bind9/libbind9.@A@ - - ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@ -@@ -33,8 +33,8 @@ - DNSDEPLIBS = ../../lib/dns/libdns.@A@ - BIND9DEPLIBS = ../../lib/bind9/libbind9.@A@ - --LIBS = ${ISCLIBS} @LIBS@ --NOSYMLIBS = ${ISCNOSYMLIBS} @LIBS@ -+LIBS = ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ -+NOSYMLIBS = ${ISCNOSYMLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - RNDCDEPLIBS = ${ISCCFGDEPLIBS} ${ISCCCDEPLIBS} ${BIND9DEPLIBS} ${DNSDEPLIBS} ${ISCDEPLIBS} - -diff -ru bind-9.11.0-P2.orig/bin/tests/db/Makefile.in bind-9.11.0-P2/bin/tests/db/Makefile.in ---- bind-9.11.0-P2.orig/bin/tests/db/Makefile.in 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/bin/tests/db/Makefile.in 2017-01-25 17:12:06.949668783 +0100 -@@ -17,7 +17,7 @@ - CDEFINES = - CWARNINGS = - --DNSLIBS = ../../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../../lib/dns/libdns.@A@ - ISCLIBS = ../../../lib/isc/libisc.@A@ - ISCCFGLIBS = ../../../lib/isccfg/libisccfg.@A@ - -@@ -27,7 +27,7 @@ - - DEPLIBS = ${DNSDEPLIBS} ${ISCCFGDEPLIBS} ${ISCDEPLIBS} - --LIBS = ${DNSLIBS} ${ISCCFGLIBS} ${ISCLIBS} @LIBS@ -+LIBS = ${DNSLIBS} ${ISCCFGLIBS} @DNS_CRYPTO_LIBS@ ${ISCLIBS} @LIBS@ - - TLIB = ../../../lib/tests/libt_api.@A@ - -diff -ru bind-9.11.0-P2.orig/bin/tests/dst/Makefile.in bind-9.11.0-P2/bin/tests/dst/Makefile.in ---- bind-9.11.0-P2.orig/bin/tests/dst/Makefile.in 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/bin/tests/dst/Makefile.in 2017-01-25 17:12:23.009668783 +0100 -@@ -18,7 +18,7 @@ - CDEFINES = @USE_GSSAPI@ - CWARNINGS = - --DNSLIBS = ../../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../../lib/dns/libdns.@A@ - ISCLIBS = ../../../lib/isc/libisc.@A@ - - DNSDEPLIBS = ../../../lib/dns/libdns.@A@ -@@ -26,7 +26,7 @@ - - DEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS} - --LIBS = ${DNSLIBS} ${ISCLIBS} @LIBS@ -+LIBS = ${DNSLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - TLIB = ../../../lib/tests/libt_api.@A@ - -diff -ru bind-9.11.0-P2.orig/bin/tests/master/Makefile.in bind-9.11.0-P2/bin/tests/master/Makefile.in ---- bind-9.11.0-P2.orig/bin/tests/master/Makefile.in 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/bin/tests/master/Makefile.in 2017-01-25 17:12:52.229668783 +0100 -@@ -18,7 +18,7 @@ - CWARNINGS = - - # Note that we do not want to use libtool for libt_api --DNSLIBS = ../../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../../lib/dns/libdns.@A@ - ISCLIBS = ../../../lib/isc/libisc.@A@ - - DNSDEPLIBS = ../../../lib/dns/libdns.@A@ -@@ -26,7 +26,7 @@ - - DEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS} - --LIBS = ${DNSLIBS} ${ISCLIBS} @LIBS@ -+LIBS = ${DNSLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - TLIB = ../../../lib/tests/libt_api.@A@ - -diff -ru bind-9.11.0-P2.orig/bin/tests/names/Makefile.in bind-9.11.0-P2/bin/tests/names/Makefile.in ---- bind-9.11.0-P2.orig/bin/tests/names/Makefile.in 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/bin/tests/names/Makefile.in 2017-01-25 17:13:14.697668783 +0100 -@@ -18,7 +18,7 @@ - CWARNINGS = - - # Note that we do not want to use libtool for libt_api --DNSLIBS = ../../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../../lib/dns/libdns.@A@ - ISCLIBS = ../../../lib/isc/libisc.@A@ - - DNSDEPLIBS = ../../../lib/dns/libdns.@A@ -@@ -26,7 +26,7 @@ - - DEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS} - --LIBS = ${DNSLIBS} ${ISCLIBS} @LIBS@ -+LIBS = ${DNSLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - TLIB = ../../../lib/tests/libt_api.@A@ - -diff -ru bind-9.11.0-P2.orig/bin/tests/rbt/Makefile.in bind-9.11.0-P2/bin/tests/rbt/Makefile.in ---- bind-9.11.0-P2.orig/bin/tests/rbt/Makefile.in 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/bin/tests/rbt/Makefile.in 2017-01-25 17:13:30.497668783 +0100 -@@ -18,7 +18,7 @@ - CWARNINGS = - - # Note that we do not want to use libtool for libt_api --DNSLIBS = ../../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../../lib/dns/libdns.@A@ - ISCLIBS = ../../../lib/isc/libisc.@A@ - - DNSDEPLIBS = ../../../lib/dns/libdns.@A@ -@@ -26,7 +26,7 @@ - - DEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS} - --LIBS = ${DNSLIBS} ${ISCLIBS} @LIBS@ -+LIBS = ${DNSLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - TLIB = ../../../lib/tests/libt_api.@A@ - -diff -ru bind-9.11.0-P2.orig/bin/tests/resolver/Makefile.in bind-9.11.0-P2/bin/tests/resolver/Makefile.in ---- bind-9.11.0-P2.orig/bin/tests/resolver/Makefile.in 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/bin/tests/resolver/Makefile.in 2017-01-25 17:13:43.301668783 +0100 -@@ -18,7 +18,7 @@ - CWARNINGS = - - # Note that we do not want to use libtool for libt_api --DNSLIBS = ../../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../../lib/dns/libdns.@A@ - ISCLIBS = ../../../lib/isc/libisc.@A@ - - DNSDEPLIBS = ../../../lib/dns/libdns.@A@ -@@ -26,7 +26,7 @@ - - DEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS} - --LIBS = ${DNSLIBS} ${ISCLIBS} @LIBS@ -+LIBS = ${DNSLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - TLIB = ../../../lib/tests/libt_api.@A@ - -diff -ru bind-9.11.0-P2.orig/bin/tools/Makefile.in bind-9.11.0-P2/bin/tools/Makefile.in ---- bind-9.11.0-P2.orig/bin/tools/Makefile.in 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/bin/tools/Makefile.in 2017-01-25 17:11:46.241668783 +0100 -@@ -18,9 +18,9 @@ - CDEFINES = -DVERSION=\"${VERSION}\" - CWARNINGS = - --DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../../lib/dns/libdns.@A@ - BIND9LIBS = ../../lib/bind9/libbind9.@A@ --ISCLIBS = ../../lib/isc/libisc.@A@ @DNS_CRYPTO_LIBS@ -+ISCLIBS = ../../lib/isc/libisc.@A@ - ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ - ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@ - LWRESLIBS = ../../lib/lwres/liblwres.@A@ -@@ -31,8 +31,8 @@ - ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@ - LWRESDEPLIBS = ../../lib/lwres/liblwres.@A@ - --LIBS = ${ISCLIBS} @LIBS@ --NOSYMLIBS = ${ISCNOSYMLIBS} @LIBS@ -+LIBS = ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ -+NOSYMLIBS = ${ISCNOSYMLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - SUBDIRS = - -diff -ru bind-9.11.0-P2.orig/configure bind-9.11.0-P2/configure ---- bind-9.11.0-P2.orig/configure 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/configure 2017-01-25 15:56:50.481668000 +0100 -@@ -15756,28 +15756,6 @@ - with_aes="no" - fi - --{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL library" >&5 --$as_echo_n "checking for OpenSSL library... " >&6; } --OPENSSL_WARNING= --openssldirs="/usr /usr/local /usr/local/ssl /usr/pkg /usr/sfw" --if test "$want_native_pkcs11" = "yes" --then -- use_openssl="native_pkcs11" -- { $as_echo "$as_me:${as_lineno-$LINENO}: result: use of native PKCS11 instead" >&5 --$as_echo "use of native PKCS11 instead" >&6; } --fi -- --if test "$use_openssl" = "auto" --then -- for d in $openssldirs -- do -- if test -f $d/include/openssl/opensslv.h -- then -- use_openssl=$d -- break -- fi -- done --fi - OPENSSL_ECDSA="" - OPENSSL_GOST="" - gosttype="raw" -diff -ru bind-9.11.0-P2.orig/lib/irs/Makefile.in bind-9.11.0-P2/lib/irs/Makefile.in ---- bind-9.11.0-P2.orig/lib/irs/Makefile.in 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/lib/irs/Makefile.in 2017-02-02 18:28:58.588540351 +0100 -@@ -34,7 +34,7 @@ - gai_strerror.c getaddrinfo.c getnameinfo.c \ - resconf.c - --LIBS = @LIBS@ -+LIBS = @LIBS@ -L../isc -lisc -L../dns -ldns -L../isccfg -lisccfg - - SUBDIRS = include - TARGETS = timestamp -diff -ru bind-9.11.0-P2.orig/lib/isc/Makefile.in bind-9.11.0-P2/lib/isc/Makefile.in ---- bind-9.11.0-P2.orig/lib/isc/Makefile.in 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/lib/isc/Makefile.in 2017-02-02 18:16:09.144540351 +0100 -@@ -108,9 +108,9 @@ - ${AR} ${ARFLAGS} $@ ${OBJS} ${SYMTBLOBJS} - ${RANLIB} $@ - --libisc-nosymtbl.@SA@: ${OBJS} -- ${AR} ${ARFLAGS} $@ ${OBJS} -- ${RANLIB} $@ -+#libisc-nosymtbl.@SA@: ${OBJS} -+# ${AR} ${ARFLAGS} $@ ${OBJS} -+# ${RANLIB} $@ - - libisc.la: ${OBJS} ${SYMTBLOBJS} - ${LIBTOOL_MODE_LINK} \ -@@ -118,13 +118,13 @@ - -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \ - ${OBJS} ${SYMTBLOBJS} ${LIBS} - --libisc-nosymtbl.la: ${OBJS} -- ${LIBTOOL_MODE_LINK} \ -- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc-nosymtbl.la -rpath ${libdir} \ -- -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \ -- ${OBJS} ${LIBS} -+#libisc-nosymtbl.la: ${OBJS} -+# ${LIBTOOL_MODE_LINK} \ -+# ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc-nosymtbl.la -rpath ${libdir} \ -+# -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \ -+# ${OBJS} ${LIBS} - --timestamp: libisc.@A@ libisc-nosymtbl.@A@ -+timestamp: libisc.@A@ - touch timestamp - - installdirs: -diff -ru bind-9.11.0-P2.orig/lib/Makefile.in bind-9.11.0-P2/lib/Makefile.in ---- bind-9.11.0-P2.orig/lib/Makefile.in 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/lib/Makefile.in 2017-02-03 23:57:45.310733352 +0100 -@@ -14,7 +14,7 @@ - # Attempt to disable parallel processing. - .NOTPARALLEL: - .NO_PARALLEL: --SUBDIRS = isc isccc dns isccfg bind9 lwres irs tests samples -+SUBDIRS = isc isccc dns isccfg bind9 lwres irs samples - TARGETS = - - @BIND9_MAKE_RULES@ -diff -ru bind-9.11.0-P2.orig/lib/samples/Makefile.in bind-9.11.0-P2/lib/samples/Makefile.in ---- bind-9.11.0-P2.orig/lib/samples/Makefile.in 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/lib/samples/Makefile.in 2017-01-25 17:34:04.613668783 +0100 -@@ -21,7 +21,7 @@ - CWARNINGS = - - ISCLIBS = ../isc/libisc.@A@ --DNSLIBS = ../dns/libdns.@A@ @DNS_CRYPTO_LIBS@ -+DNSLIBS = ../dns/libdns.@A@ - ISCCFGLIBS = ../isccfg/libisccfg.@A@ - IRSLIBS = ../irs/libirs.@A@ - -@@ -32,7 +32,7 @@ - - DEPLIBS = ${DNSDEPLIBS} ${ISCCFGDEPLIBS} ${ISCDEPLIBS} - --LIBS = ${DNSLIBS} ${ISCCFGLIBS} ${ISCLIBS} @LIBS@ -+LIBS = ${DNSLIBS} ${ISCCFGLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ @LIBS@ - - SUBDIRS = - ---- bind-9.11.0-P2/configure.in.orig 2016-12-11 23:05:44.000000000 +0100 -+++ bind-9.11.0-P2/configure.in 2017-02-04 18:47:10.437368600 +0100 -@@ -2277,9 +2277,9 @@ - esac - ;; - *) -- if test -f "$use_libxml2/bin/xml2-config" ; then -- libxml2_libs=`$use_libxml2/bin/xml2-config --libs` -- libxml2_cflags=`$use_libxml2/bin/xml2-config --cflags` -+ if test -f "$use_libxml2" ; then -+ libxml2_libs=`$use_libxml2 --libs` -+ libxml2_cflags=`$use_libxml2 --cflags` - fi - ;; - esac diff --git a/patches/gdk-pixbuf-2.36.10.local.patch b/patches/gdk-pixbuf-2.36.10.local.patch new file mode 100644 index 0000000..3c19f61 --- /dev/null +++ b/patches/gdk-pixbuf-2.36.10.local.patch @@ -0,0 +1,12 @@ +diff -ru gdk-pixbuf-2.36.10.orig/thumbnailer/Makefile.in gdk-pixbuf-2.36.10/thumbnailer/Makefile.in +--- gdk-pixbuf-2.36.10.orig/thumbnailer/Makefile.in 2017-09-11 13:00:44.000000000 +0200 ++++ gdk-pixbuf-2.36.10/thumbnailer/Makefile.in 2017-09-15 20:57:24.196896220 +0200 +@@ -453,7 +453,7 @@ + $(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GDK_PIXBUF_API_VERSION).la + + thumbnailerdir = $(datadir)/thumbnailers/ +-thumbnailer_DATA = gdk-pixbuf-thumbnailer.thumbnailer ++thumbnailer_DATA = + EXTRA_DIST = gdk-pixbuf-thumbnailer.thumbnailer.in + CLEANFILES = $(thumbnailer_DATA) + all: all-am diff --git a/patches/glib-2.46.2.local.patch b/patches/glib-2.46.2.local.patch deleted file mode 100644 index d30cf5b..0000000 --- a/patches/glib-2.46.2.local.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- glib-2.46.2/gio/inotify/Makefile.in.orig 2015-11-06 23:28:59.000000000 +0100 -+++ glib-2.46.2/gio/inotify/Makefile.in 2016-09-07 05:20:16.670049836 +0200 -@@ -180,7 +180,7 @@ - "$(DESTDIR)$(installed_test_metadir)" \ - "$(DESTDIR)$(installed_testdir)" - LTLIBRARIES = $(installed_test_LTLIBRARIES) $(noinst_LTLIBRARIES) --libinotify_la_LIBADD = -+libinotify_la_LIBADD = -L../../glib -lglib-2.0 - am__objects_1 = - am_libinotify_la_OBJECTS = libinotify_la-inotify-kernel.lo \ - libinotify_la-inotify-sub.lo libinotify_la-inotify-path.lo \ ---- glib-2.46.2/glib-2.0.pc.in.orig 2015-03-23 04:22:18.000000000 +0100 -+++ glib-2.46.2/glib-2.0.pc.in 2017-08-25 22:20:03.833998381 +0200 -@@ -5,7 +5,7 @@ - - glib_genmarshal=glib-genmarshal - gobject_query=gobject-query --glib_mkenums=glib-mkenums -+glib_mkenums=@exec_prefix@/bin/glib-mkenums - - Name: GLib - Description: C Utility Library ---- glib-2.46.2/configure.orig 2015-11-06 22:28:54.000000000 +0000 -+++ glib-2.46.2/configure 2017-09-06 17:48:13.444000000 +0000 -@@ -28873,7 +28873,7 @@ - -Wall -Wstrict-prototypes -Werror=declaration-after-statement \ - -Werror=missing-prototypes -Werror=implicit-function-declaration \ - -Werror=pointer-arith -Werror=init-self -Werror=format-security \ -- -Werror=format=2 -Werror=missing-include-dirs; do -+ -Werror=missing-include-dirs; do - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports flag $flag in envvar CFLAGS" >&5 - $as_echo_n "checking if $CC supports flag $flag in envvar CFLAGS... " >&6; } diff --git a/patches/libressl-2.2.6.local.patch b/patches/libressl-2.2.6.local.patch deleted file mode 100644 index 759cfec..0000000 --- a/patches/libressl-2.2.6.local.patch +++ /dev/null @@ -1,193 +0,0 @@ ---- libressl-2.2.6/crypto/compat/arc4random.h.orig 2015-10-15 23:18:44.000000000 +0200 -+++ libressl-2.2.6/crypto/compat/arc4random.h 2016-02-12 17:19:40.815245600 +0100 -@@ -12,7 +12,7 @@ - #elif defined(__hpux) - #include "arc4random_hpux.h" - --#elif defined(__linux__) -+#elif defined(__linux__) || defined(__MIDIPIX) - #include "arc4random_linux.h" - - #elif defined(__NetBSD__) ---- libressl-2.2.6/crypto/compat/getentropy_linux.c.orig 2015-10-16 00:04:58.000000000 +0200 -+++ libressl-2.2.6/crypto/compat/getentropy_linux.c 2016-02-12 17:48:47.474391200 +0100 -@@ -27,7 +27,7 @@ - #include - #include - #include --#ifdef SYS__sysctl -+#if defined(SYS__sysctl) && !defined(__MIDIPIX) - #include - #endif - #include -@@ -49,8 +49,10 @@ - #include - #include - -+#ifndef __MIDIPIX - #include - #include -+#endif - #ifdef HAVE_GETAUXVAL - #include - #endif -@@ -78,7 +80,7 @@ - static int getentropy_getrandom(void *buf, size_t len); - #endif - static int getentropy_urandom(void *buf, size_t len); --#ifdef SYS__sysctl -+#if defined(SYS__sysctl) && !defined(__MIDIPIX) - static int getentropy_sysctl(void *buf, size_t len); - #endif - static int getentropy_fallback(void *buf, size_t len); -@@ -115,7 +117,7 @@ - if (ret != -1) - return (ret); - --#ifdef SYS__sysctl -+#if defined(SYS__sysctl) && !defined(__MIDIPIX) - /* - * Try to use sysctl CTL_KERN, KERN_RANDOM, RANDOM_UUID. - * sysctl is a failsafe API, so it guarantees a result. This -@@ -241,10 +243,12 @@ - close(fd); - goto nodevrandom; - } -+#ifndef __MIDIPIX - if (ioctl(fd, RNDGETENTCNT, &cnt) == -1) { - close(fd); - goto nodevrandom; - } -+#endif - for (i = 0; i < len; ) { - size_t wanted = len - i; - ssize_t ret = read(fd, (char *)buf + i, wanted); -@@ -267,7 +271,7 @@ - return -1; - } - --#ifdef SYS__sysctl -+#if defined(SYS__sysctl) && !defined(__MIDIPIX) - static int - getentropy_sysctl(void *buf, size_t len) - { ---- libressl-2.2.6/crypto/Makefile.in.orig 2016-01-28 19:18:08.000000000 +0100 -+++ libressl-2.2.6/crypto/Makefile.in 2016-02-12 17:19:40.823245600 +0100 -@@ -111,10 +111,11 @@ - @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_FREEBSD_TRUE@am__append_19 = compat/getentropy_freebsd.c - @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_HPUX_TRUE@am__append_20 = compat/getentropy_hpux.c - @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_LINUX_TRUE@am__append_21 = compat/getentropy_linux.c --@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_NETBSD_TRUE@am__append_22 = compat/getentropy_netbsd.c --@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_DARWIN_TRUE@am__append_23 = compat/getentropy_osx.c --@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_SOLARIS_TRUE@am__append_24 = compat/getentropy_solaris.c --@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_WIN_TRUE@am__append_25 = compat/getentropy_win.c -+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_MIDIPIX_TRUE@am__append_22 = compat/getentropy_linux.c -+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_NETBSD_TRUE@am__append_23 = compat/getentropy_netbsd.c -+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_DARWIN_TRUE@am__append_24 = compat/getentropy_osx.c -+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_SOLARIS_TRUE@am__append_25 = compat/getentropy_solaris.c -+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_WIN_TRUE@am__append_26 = compat/getentropy_win.c - @HOST_ASM_ELF_X86_64_TRUE@am__append_26 = -DAES_ASM -DBSAES_ASM \ - @HOST_ASM_ELF_X86_64_TRUE@ -DVPAES_ASM -DOPENSSL_IA32_SSE2 \ - @HOST_ASM_ELF_X86_64_TRUE@ -DOPENSSL_BN_ASM_MONT \ -@@ -220,17 +221,18 @@ - @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_FREEBSD_TRUE@am__objects_13 = compat/getentropy_freebsd.lo - @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_HPUX_TRUE@am__objects_14 = compat/getentropy_hpux.lo - @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_LINUX_TRUE@am__objects_15 = compat/getentropy_linux.lo --@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_NETBSD_TRUE@am__objects_16 = compat/getentropy_netbsd.lo --@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_DARWIN_TRUE@am__objects_17 = compat/getentropy_osx.lo --@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_SOLARIS_TRUE@am__objects_18 = compat/getentropy_solaris.lo --@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_WIN_TRUE@am__objects_19 = compat/getentropy_win.lo -+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_MIDIPIX_TRUE@am__objects_16 = compat/getentropy_linux.lo -+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_NETBSD_TRUE@am__objects_17 = compat/getentropy_netbsd.lo -+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_DARWIN_TRUE@am__objects_18 = compat/getentropy_osx.lo -+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_SOLARIS_TRUE@am__objects_19 = compat/getentropy_solaris.lo -+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_WIN_TRUE@am__objects_20 = compat/getentropy_win.lo - am_libcompat_la_OBJECTS = $(am__objects_1) $(am__objects_2) \ - $(am__objects_3) $(am__objects_4) $(am__objects_5) \ - $(am__objects_6) $(am__objects_7) $(am__objects_8) \ - $(am__objects_9) $(am__objects_10) $(am__objects_11) \ - $(am__objects_12) $(am__objects_13) $(am__objects_14) \ - $(am__objects_15) $(am__objects_16) $(am__objects_17) \ -- $(am__objects_18) $(am__objects_19) -+ $(am__objects_18) $(am__objects_19) $(am__objects_20) - libcompat_la_OBJECTS = $(am_libcompat_la_OBJECTS) - AM_V_lt = $(am__v_lt_@AM_V@) - am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) -@@ -985,7 +987,7 @@ - $(am__append_16) $(am__append_17) $(am__append_18) \ - $(am__append_19) $(am__append_20) $(am__append_21) \ - $(am__append_22) $(am__append_23) $(am__append_24) \ -- $(am__append_25) -+ $(am__append_25) $(am__append_26) - libcompat_la_LIBADD = $(PLATFORM_LDADD) - - # rc4 ---- libressl-2.2.6/include/compat/machine/endian.h.orig 2015-10-15 23:18:44.000000000 +0200 -+++ libressl-2.2.6/include/compat/machine/endian.h 2016-02-12 17:19:40.827245600 +0100 -@@ -21,7 +21,7 @@ - #define BYTE_ORDER BIG_ENDIAN - #endif - --#elif defined(__linux__) -+#elif defined(__linux__) || defined(__MIDIPIX) - #include - - #elif defined(__sun) || defined(_AIX) || defined(__hpux) ---- libressl-2.2.6/configure.orig 2016-01-28 18:18:06.000000000 +0000 -+++ libressl-2.2.6/configure 2016-02-23 13:25:30.689963257 +0000 -@@ -690,6 +690,8 @@ - HOST_NETBSD_TRUE - HOST_LINUX_FALSE - HOST_LINUX_TRUE -+HOST_MIDIPIX_FALSE -+HOST_MIDIPIX_TRUE - HOST_HPUX_FALSE - HOST_HPUX_TRUE - HOST_FREEBSD_FALSE -@@ -10824,7 +10826,7 @@ - ;; - - # This must be glibc/ELF. --linux* | k*bsd*-gnu | kopensolaris*-gnu) -+linux* | k*bsd*-gnu | kopensolaris*-gnu | midipix*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no -@@ -11902,6 +11904,11 @@ - HOST_ABI=elf - CPPFLAGS="$CPPFLAGS -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE" - ;; -+ *midipix*) -+ HOST_OS=midipix -+ HOST_ABI=pe -+ CFLAGS="$CFLAGS -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE" -+ ;; - *netbsd*) - HOST_OS=netbsd - CPPFLAGS="$CPPFLAGS -D_OPENBSD_SOURCE" -@@ -11981,6 +11988,14 @@ - HOST_LINUX_FALSE= - fi - -+ if test x$HOST_OS = xmidipix; then -+ HOST_MIDIPIX_TRUE= -+ HOST_MIDIPIX_FALSE='#' -+else -+ HOST_MIDIPIX_TRUE='#' -+ HOST_MIDIPIX_FALSE= -+fi -+ - if test x$HOST_OS = xnetbsd; then - HOST_NETBSD_TRUE= - HOST_NETBSD_FALSE='#' -@@ -13422,6 +13437,10 @@ - as_fn_error $? "conditional \"HOST_LINUX\" was never defined. - Usually this means the macro was only invoked conditionally." "$LINENO" 5 - fi -+if test -z "${HOST_MIDIPIX_TRUE}" && test -z "${HOST_MIDIPIX_FALSE}"; then -+ as_fn_error $? "conditional \"HOST_MIDIPIX\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 -+fi - if test -z "${HOST_NETBSD_TRUE}" && test -z "${HOST_NETBSD_FALSE}"; then - as_fn_error $? "conditional \"HOST_NETBSD\" was never defined. - Usually this means the macro was only invoked conditionally." "$LINENO" 5 diff --git a/patches/libressl-2.6.1.local.patch b/patches/libressl-2.6.1.local.patch new file mode 100644 index 0000000..01068bc --- /dev/null +++ b/patches/libressl-2.6.1.local.patch @@ -0,0 +1,222 @@ +diff -ru libressl-2.6.1.orig/configure libressl-2.6.1/configure +--- libressl-2.6.1.orig/configure 2017-09-04 23:50:38.000000000 +0200 ++++ libressl-2.6.1/configure 2017-09-19 20:07:11.024248094 +0200 +@@ -724,6 +724,8 @@ + HOST_LINUX_TRUE + HOST_HPUX_FALSE + HOST_HPUX_TRUE ++HOST_MIDIPIX_FALSE ++HOST_MIDIPIX_TRUE + HOST_FREEBSD_FALSE + HOST_FREEBSD_TRUE + HOST_DARWIN_FALSE +@@ -11045,7 +11047,7 @@ + ;; + + # This must be glibc/ELF. +-linux* | k*bsd*-gnu | kopensolaris*-gnu) ++linux* | k*bsd*-gnu | kopensolaris*-gnu | midipix*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no +@@ -12190,6 +12192,11 @@ + HOST_ABI=elf + CPPFLAGS="$CPPFLAGS -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE" + ;; ++ *midipix*) ++ HOST_OS=midipix ++ HOST_ABI=pe ++ CFLAGS="$CFLAGS -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE" ++ ;; + *netbsd*) + HOST_OS=netbsd + HOST_ABI=elf +@@ -12316,6 +12323,14 @@ + HOST_LINUX_FALSE= + fi + ++ if test x$HOST_OS = xmidipix; then ++ HOST_MIDIPIX_TRUE= ++ HOST_MIDIPIX_FALSE='#' ++else ++ HOST_MIDIPIX_TRUE='#' ++ HOST_MIDIPIX_FALSE= ++fi ++ + if test x$HOST_OS = xnetbsd; then + HOST_NETBSD_TRUE= + HOST_NETBSD_FALSE='#' +@@ -14214,6 +14229,10 @@ + as_fn_error $? "conditional \"HOST_LINUX\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi ++if test -z "${HOST_MIDIPIX_TRUE}" && test -z "${HOST_MIDIPIX_FALSE}"; then ++ as_fn_error $? "conditional \"HOST_MIDIPIX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi + if test -z "${HOST_NETBSD_TRUE}" && test -z "${HOST_NETBSD_FALSE}"; then + as_fn_error $? "conditional \"HOST_NETBSD\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 +diff -ru libressl-2.6.1.orig/crypto/compat/arc4random.h libressl-2.6.1/crypto/compat/arc4random.h +--- libressl-2.6.1.orig/crypto/compat/arc4random.h 2016-04-04 00:14:45.000000000 +0200 ++++ libressl-2.6.1/crypto/compat/arc4random.h 2017-09-19 19:45:28.995745938 +0200 +@@ -12,7 +12,7 @@ + #elif defined(__hpux) + #include "arc4random_hpux.h" + +-#elif defined(__linux__) ++#elif defined(__linux__) || defined(__midipix__) + #include "arc4random_linux.h" + + #elif defined(__NetBSD__) +diff -ru libressl-2.6.1.orig/crypto/compat/getentropy_linux.c libressl-2.6.1/crypto/compat/getentropy_linux.c +--- libressl-2.6.1.orig/crypto/compat/getentropy_linux.c 2017-09-04 23:50:15.000000000 +0200 ++++ libressl-2.6.1/crypto/compat/getentropy_linux.c 2017-09-19 20:18:40.240411176 +0200 +@@ -27,7 +27,7 @@ + #include + #include + #include +-#ifdef SYS__sysctl ++#if defined(SYS__sysctl) && !defined(__midipix__) + #include + #endif + #include +@@ -49,8 +49,10 @@ + #include + #include + ++#ifndef __midipix__ + #include + #include ++#endif + #ifdef HAVE_GETAUXVAL + #include + #endif +@@ -74,11 +76,11 @@ + int getentropy(void *buf, size_t len); + + static int gotdata(char *buf, size_t len); +-#ifdef SYS_getrandom ++#if defined(SYS_getrandom) && !defined(__midipix__) + static int getentropy_getrandom(void *buf, size_t len); + #endif + static int getentropy_urandom(void *buf, size_t len); +-#ifdef SYS__sysctl ++#if defined(SYS__sysctl) && !defined(__midipix__) + static int getentropy_sysctl(void *buf, size_t len); + #endif + static int getentropy_fallback(void *buf, size_t len); +@@ -94,7 +96,7 @@ + return (-1); + } + +-#ifdef SYS_getrandom ++#if defined(SYS_getrandom) && !defined(__midipix__) + /* + * Try descriptor-less getrandom(), in non-blocking mode. + * +@@ -118,7 +120,7 @@ + if (ret != -1) + return (ret); + +-#ifdef SYS__sysctl ++#if defined(SYS__sysctl) && !defined(__midipix__) + /* + * Try to use sysctl CTL_KERN, KERN_RANDOM, RANDOM_UUID. + * sysctl is a failsafe API, so it guarantees a result. This +@@ -193,7 +195,7 @@ + return (0); + } + +-#ifdef SYS_getrandom ++#if defined(SYS_getrandom) && !defined(__midipix__) + static int + getentropy_getrandom(void *buf, size_t len) + { +@@ -244,10 +246,12 @@ + close(fd); + goto nodevrandom; + } ++#ifndef __midipix__ + if (ioctl(fd, RNDGETENTCNT, &cnt) == -1) { + close(fd); + goto nodevrandom; + } ++#endif + for (i = 0; i < len; ) { + size_t wanted = len - i; + ssize_t ret = read(fd, (char *)buf + i, wanted); +@@ -270,7 +274,7 @@ + return (-1); + } + +-#ifdef SYS__sysctl ++#if defined(SYS__sysctl) && !defined(__midipix__) + static int + getentropy_sysctl(void *buf, size_t len) + { +diff -ru libressl-2.6.1.orig/crypto/Makefile.in libressl-2.6.1/crypto/Makefile.in +--- libressl-2.6.1.orig/crypto/Makefile.in 2017-09-04 23:50:41.000000000 +0200 ++++ libressl-2.6.1/crypto/Makefile.in 2017-09-19 20:01:29.750162029 +0200 +@@ -121,10 +121,11 @@ + @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_FREEBSD_TRUE@am__append_26 = compat/getentropy_freebsd.c + @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_HPUX_TRUE@am__append_27 = compat/getentropy_hpux.c + @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_LINUX_TRUE@am__append_28 = compat/getentropy_linux.c +-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_NETBSD_TRUE@am__append_29 = compat/getentropy_netbsd.c +-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_DARWIN_TRUE@am__append_30 = compat/getentropy_osx.c +-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_SOLARIS_TRUE@am__append_31 = compat/getentropy_solaris.c +-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_WIN_TRUE@am__append_32 = compat/getentropy_win.c ++@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_MIDIPIX_TRUE@am__append_29 = compat/getentropy_linux.c ++@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_NETBSD_TRUE@am__append_30 = compat/getentropy_netbsd.c ++@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_DARWIN_TRUE@am__append_31 = compat/getentropy_osx.c ++@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_SOLARIS_TRUE@am__append_32 = compat/getentropy_solaris.c ++@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_WIN_TRUE@am__append_33 = compat/getentropy_win.c + @HOST_ASM_ELF_X86_64_TRUE@am__append_33 = -DAES_ASM -DBSAES_ASM \ + @HOST_ASM_ELF_X86_64_TRUE@ -DVPAES_ASM -DOPENSSL_IA32_SSE2 \ + @HOST_ASM_ELF_X86_64_TRUE@ -DOPENSSL_BN_ASM_MONT \ +@@ -239,10 +240,11 @@ + @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_FREEBSD_TRUE@am__objects_18 = compat/getentropy_freebsd.lo + @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_HPUX_TRUE@am__objects_19 = compat/getentropy_hpux.lo + @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_LINUX_TRUE@am__objects_20 = compat/getentropy_linux.lo +-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_NETBSD_TRUE@am__objects_21 = compat/getentropy_netbsd.lo +-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_DARWIN_TRUE@am__objects_22 = compat/getentropy_osx.lo +-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_SOLARIS_TRUE@am__objects_23 = compat/getentropy_solaris.lo +-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_WIN_TRUE@am__objects_24 = compat/getentropy_win.lo ++@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_MIDIPIX_TRUE@am__objects_21 = compat/getentropy_linux.lo ++@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_NETBSD_TRUE@am__objects_22 = compat/getentropy_netbsd.lo ++@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_DARWIN_TRUE@am__objects_23 = compat/getentropy_osx.lo ++@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_SOLARIS_TRUE@am__objects_24 = compat/getentropy_solaris.lo ++@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_WIN_TRUE@am__objects_25 = compat/getentropy_win.lo + am_libcompat_la_OBJECTS = $(am__objects_1) $(am__objects_2) \ + $(am__objects_3) $(am__objects_4) $(am__objects_5) \ + $(am__objects_6) $(am__objects_7) $(am__objects_8) \ +@@ -251,7 +253,7 @@ + $(am__objects_15) $(am__objects_16) $(am__objects_17) \ + $(am__objects_18) $(am__objects_19) $(am__objects_20) \ + $(am__objects_21) $(am__objects_22) $(am__objects_23) \ +- $(am__objects_24) ++ $(am__objects_24) $(am__objects_25) + libcompat_la_OBJECTS = $(am_libcompat_la_OBJECTS) + AM_V_lt = $(am__v_lt_@AM_V@) + am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +@@ -1020,7 +1022,7 @@ + $(am__append_23) $(am__append_24) $(am__append_25) \ + $(am__append_26) $(am__append_27) $(am__append_28) \ + $(am__append_29) $(am__append_30) $(am__append_31) \ +- $(am__append_32) ++ $(am__append_32) $(am__append_33) + libcompat_la_LIBADD = $(PLATFORM_LDADD) + + # rc4 +diff -ru libressl-2.6.1.orig/include/compat/machine/endian.h libressl-2.6.1/include/compat/machine/endian.h +--- libressl-2.6.1.orig/include/compat/machine/endian.h 2016-04-04 00:14:45.000000000 +0200 ++++ libressl-2.6.1/include/compat/machine/endian.h 2017-09-19 20:02:26.977839948 +0200 +@@ -21,7 +21,7 @@ + #define BYTE_ORDER BIG_ENDIAN + #endif + +-#elif defined(__linux__) ++#elif defined(__linux__) || defined(__midipix__) + #include + + #elif defined(__sun) || defined(_AIX) || defined(__hpux) diff --git a/patches/openlitespeed-1.4.24.local.patch b/patches/openlitespeed-1.4.24.local.patch deleted file mode 100644 index bab2d49..0000000 --- a/patches/openlitespeed-1.4.24.local.patch +++ /dev/null @@ -1,299 +0,0 @@ ---- openlitespeed-1.4.24/src/util/gsendfile.h.orig 2016-12-02 19:51:11.000000000 +0000 -+++ openlitespeed-1.4.24/src/util/gsendfile.h 2017-02-11 15:37:19.976655229 +0000 -@@ -83,7 +83,7 @@ - #endif - - #if defined(linux) || defined(__linux) || defined(__linux__) || \ -- defined(__gnu_linux__) -+ defined(__gnu_linux__) || defined(__midipix__) - #include - #define gsendfile ::sendfile - #endif ---- openlitespeed-1.4.24/src/util/pcutil.h.orig 2016-12-02 19:51:11.000000000 +0000 -+++ openlitespeed-1.4.24/src/util/pcutil.h 2017-02-11 15:39:02.736901419 +0000 -@@ -18,7 +18,7 @@ - #ifndef PCUTIL_H - #define PCUTIL_H - --#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__gnu_linux__) -+#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__gnu_linux__) || defined(__midipix__) - #include - # define SET_AFFINITY(pid, size, mask) sched_setaffinity(0, size, mask) - # define GET_AFFINITY(pid, size, mask) sched_getaffinity(0, size, mask) ---- openlitespeed-1.4.24/src/main/lshttpdmain.cpp.orig 2016-12-02 19:51:11.000000000 +0000 -+++ openlitespeed-1.4.24/src/main/lshttpdmain.cpp 2017-02-11 15:50:52.882605886 +0000 -@@ -45,7 +45,9 @@ - #include - #include - #include -+#ifndef __midipix__ - #include -+#endif - - #include - #include -@@ -1428,7 +1430,7 @@ - #ifdef LSWS_NO_SET_AFFINITY - return 2; - #else --#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__gnu_linux__) -+#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__gnu_linux__) || defined(__midipix__) - return sysconf(_SC_NPROCESSORS_ONLN); - #else - int nm[2]; ---- openlitespeed-1.4.24/configure.orig 2016-12-02 19:52:25.745807731 +0000 -+++ openlitespeed-1.4.24/configure 2017-02-11 21:11:39.234979798 +0000 -@@ -11292,7 +11292,7 @@ - ;; - - # This must be glibc/ELF. --linux* | k*bsd*-gnu | kopensolaris*-gnu) -+linux* | k*bsd*-gnu | kopensolaris*-gnu | midipix) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no -@@ -15863,16 +15863,8 @@ - - - if test "$OPENLSWS_BSSL" = no ; then -- if test "$OSNAME" = Darwin ; then -- usedynossl=yes -- CPPFLAGS="$CPPFLAGS -I../../src -I../../include -I/usr/local/include -I/usr/local -I/usr -I/usr/pkg " -- else -- usedynossl=no -- CPPFLAGS="$CPPFLAGS -I../../ssl/include -I../../src -I../../include -I/usr/local/include -I/usr/local -I/usr -I/usr/pkg " -- echo "Will build latest stable openssl libraries for you, this may take several minutes ..." -- OSSL=`. $srcdir/dlossl.sh` -- echo "Finsihed building openssl." -- fi -+ usedynossl=yes -+ CPPFLAGS="$CPPFLAGS -I../../src -I../../include " - echo "Openssl: use_dyn_ossl = $usedynossl" - else - #### Not provide location, use default location, will not copy files -@@ -15982,12 +15974,6 @@ - fi - - --ZLIB_HOME=/usr/local --if test ! -f "${ZLIB_HOME}/include/zlib.h" --then -- ZLIB_HOME=/usr --fi -- - # - # Locate zlib, if wanted - # -@@ -16131,7 +16117,6 @@ - - - --if test "$OSNAME" = Darwin ; then - - - # Check whether --with-openssl was given. -@@ -16259,8 +16244,6 @@ - - - --fi -- - { $as_echo "$as_me:${as_lineno-$LINENO}: checking lib pcre" >&5 - $as_echo_n "checking lib pcre... " >&6; } - PCRE_LDFLAGS= ---- openlitespeed-1.4.24/src/util/pcutil.cpp.orig 2016-12-02 19:51:11.000000000 +0000 -+++ openlitespeed-1.4.24/src/util/pcutil.cpp 2017-02-12 20:09:45.817635783 +0000 -@@ -21,6 +21,8 @@ - #include - #include - #include -+#include -+#include - - #ifdef __linux - #include -@@ -72,7 +74,7 @@ - - if (s_nCpu > 0) - return s_nCpu; --#if defined(linux) || defined(__linux) || defined(__linux__) -+#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__midipix__) - s_nCpu = sysconf(_SC_NPROCESSORS_ONLN); - #else - int mib[2]; -@@ -116,7 +118,7 @@ - #ifdef __FreeBSD__ - return cpuset_setaffinity(CPU_LEVEL_WHICH, CPU_WHICH_PID, -1, - sizeof(cpu_set_t), mask); --#elif defined(linux) || defined(__linux) || defined(__linux__) -+#elif defined(linux) || defined(__linux) || defined(__linux__) || defined(__midipix__) - return pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), mask); - //return sched_setaffinity(0, sizeof(cpu_set_t), mask); - #endif ---- openlitespeed-1.4.24/src/util/sysinfo/partitioninfo.cpp.orig 2016-12-02 19:51:11.000000000 +0000 -+++ openlitespeed-1.4.24/src/util/sysinfo/partitioninfo.cpp 2017-02-12 20:11:21.637846476 +0000 -@@ -17,6 +17,9 @@ - *****************************************************************************/ - #include "partitioninfo.h" - #include -+#ifdef __midipix__ -+#include -+#endif - - PartitionInfo::PartitionInfo() - { -@@ -33,7 +36,7 @@ - int PartitionInfo::getPartitionInfo(const char *path, uint64_t *outTotal, - uint64_t *outFree) - { --#if defined(__linux) || defined(sun) -+#if defined(__linux) || defined(sun) || defined(__midipix__) - struct statvfs st; - if (statvfs(path, &st) != 0) - { ---- openlitespeed-1.4.24/src/util/sysinfo/siocglif_nicdetect.cpp.orig 2016-12-02 19:51:11.000000000 +0000 -+++ openlitespeed-1.4.24/src/util/sysinfo/siocglif_nicdetect.cpp 2017-02-12 20:14:43.894291205 +0000 -@@ -18,6 +18,9 @@ - struct ifi_info * - NICDetect::get_ifi_info(int family, int doaliases) - { -+#ifdef __midipix__ -+ return NULL; -+#else - struct ifi_info *ifi, *ifihead, **ifipnext; - int sockfd, len, lastlen, flags, myflags; - char *buf, lastname[IFNAMSIZ], *cptr; -@@ -163,5 +166,6 @@ - close(sockfd); - free(buf); - return (ifihead); /* pointer to first structure in linked list */ -+#endif - } - ---- openlitespeed-1.4.24/src/modules/Makefile.in.orig 2016-12-02 19:52:23.711814564 +0000 -+++ openlitespeed-1.4.24/src/modules/Makefile.in 2017-02-12 20:16:36.002537713 +0000 -@@ -185,7 +185,7 @@ - done | $(am__uniquify_input)` - ETAGS = etags - CTAGS = ctags --DIST_SUBDIRS = cache uploadprogress modinspector lua -+DIST_SUBDIRS = lua - DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) - am__relativize = \ - dir0=`pwd`; \ -@@ -361,8 +361,8 @@ - AM_CPPFLAGS = -I$(top_srcdir)/openssl/include/ -I$(top_srcdir)/include -I$(top_srcdir)/src - libmodules_a_METASOURCES = AUTO - libmodules_a_SOURCES = modgzip/modgzip.cpp --@HAVE_LIBLUA_FALSE@SUBDIRS = cache uploadprogress modinspector --@HAVE_LIBLUA_TRUE@SUBDIRS = cache uploadprogress lua modinspector -+@HAVE_LIBLUA_FALSE@SUBDIRS = -+@HAVE_LIBLUA_TRUE@SUBDIRS = lua - all: all-recursive - - .SUFFIXES: ---- openlitespeed-1.4.24/dist/install.sh.orig 2016-12-02 19:51:11.000000000 +0000 -+++ openlitespeed-1.4.24/dist/install.sh 2017-02-12 20:39:56.309734680 +0000 -@@ -1,84 +1,5 @@ - #!/bin/sh - --inst_admin_php() --{ -- # detect download method -- OS=`uname -s` -- OSTYPE=`uname -m` -- -- DLCMD="wget -nv -O" -- if [ "x$OS" = "xFreeBSD" ] ; then -- DL=`which fetch` -- DLCMD="$DL -o" -- fi -- if [ "x$DLCMD" = "x" ] ; then -- DL=`which wget` -- DLCMD="$DL -nv -O" -- fi -- if [ "x$DLCMD" = "x" ] ; then -- DL=`which curl` -- DLCMD="$DL -L -o" -- fi -- -- echo "DLCMD is $DLCMD" -- echo -- -- HASADMINPHP=n -- if [ -f "$LSWS_HOME/admin/fcgi-bin/admin_php" ] ; then -- mv "$LSWS_HOME/admin/fcgi-bin/admin_php" "$LSWS_HOME/admin/fcgi-bin/admin_php.bak" -- echo "admin_php found and mv to admin_php.bak" -- fi -- -- if [ ! -d "$LSWS_HOME/admin/fcgi-bin/" ] ; then -- mkdir -p "$LSWS_HOME/admin/fcgi-bin/" -- echo "Mkdir $LSWS_HOME/admin/fcgi-bin/ for installing admni_php" -- fi -- -- if [ "x$OS" = "xLinux" ] ; then -- if [ "x$OSTYPE" != "xx86_64" ] ; then -- $DLCMD $LSWS_HOME/admin/fcgi-bin/admin_php http://www.litespeedtech.com/packages/lsphp5_bin/i386/lsphp5 -- else -- $DLCMD $LSWS_HOME/admin/fcgi-bin/admin_php http://www.litespeedtech.com/packages/lsphp5_bin/x86_64/lsphp5 -- fi -- -- if [ $? = 0 ] ; then -- HASADMINPHP=y -- echo "admin_php downloaded." -- fi -- --# if [ -f "$LSWS_HOME/admin/fcgi-bin/admin_php" ] ; then --# HASADMINPHP=y --# fi -- -- elif [ "x$OS" = "xFreeBSD" ] ; then -- if [ "x$OSTYPE" != "xamd64" ] ; then -- $DLCMD $LSWS_HOME/admin/fcgi-bin/admin_php http://www.litespeedtech.com/packages/lsphp5_bin/i386-freebsd/lsphp5 -- else -- $DLCMD $LSWS_HOME/admin/fcgi-bin/admin_php http://www.litespeedtech.com/packages/lsphp5_bin/x86_64-freebsd/lsphp5 -- fi -- -- if [ $? = 0 ] ; then -- HASADMINPHP=y -- echo "admin_php downloaded." -- fi -- fi -- -- if [ "x$HASADMINPHP" = "xn" ] ; then -- echo -e "\033[38;5;148mStart to build php, this may take several minutes, please waiting ...\033[39m" -- $LSWS_HOME/admin/misc/build_admin_php.sh -- else -- chmod "$EXEC_MOD" "$LSWS_HOME/admin/fcgi-bin/admin_php" -- fi -- -- #final checking of existence of admin_php -- if [ ! -f "$LSWS_HOME/admin/fcgi-bin/admin_php" ] ; then -- echo -e "\033[38;5;148mFinal checking found admin_php not exists, installation abort.\033[39m" -- exit 1 -- fi --} -- -- -- - #script start here - cd `dirname "$0"` - source ./functions.sh 2>/dev/null -@@ -169,7 +90,6 @@ - echo - - echo -e "\033[38;5;148m$LSWS_HOME/conf/httpd_config.xml exists, will be converted to $LSWS_HOME/conf/httpd_config.conf!\033[39m" -- inst_admin_php - PHP_INSTALLED=y - - if [ -e "$LSWS_HOME/conf/httpd_config.conf" ] ; then -@@ -238,9 +158,6 @@ - buildConfigFiles - installation - --if [ "x$PHP_INSTALLED" = "xn" ] ; then -- inst_admin_php --fi - - rm $LSWS_HOME/bin/lshttpd - ln -sf ./openlitespeed $LSWS_HOME/bin/lshttpd diff --git a/patches/openlitespeed-1.4.27.local.patch b/patches/openlitespeed-1.4.27.local.patch new file mode 100644 index 0000000..279d53d --- /dev/null +++ b/patches/openlitespeed-1.4.27.local.patch @@ -0,0 +1,343 @@ +diff -ru openlitespeed-1.4.27.orig/configure openlitespeed-1.4.27/configure +--- openlitespeed-1.4.27.orig/configure 2017-08-15 23:10:20.876017915 +0200 ++++ openlitespeed-1.4.27/configure 2017-09-19 23:24:41.430943590 +0200 +@@ -11323,7 +11323,7 @@ + ;; + + # This must be glibc/ELF. +-linux* | k*bsd*-gnu | kopensolaris*-gnu) ++linux* | k*bsd*-gnu | kopensolaris*-gnu | midipix) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no +@@ -15907,16 +15907,8 @@ + + + if test "$OPENLSWS_BSSL" = no ; then +- if test "$OSNAME" = Darwin ; then +- usedynossl=yes +- CPPFLAGS="$CPPFLAGS -I../../src -I../../include -I/usr/local/include -I/usr/local -I/usr -I/usr/pkg " +- else +- usedynossl=no +- CPPFLAGS="$CPPFLAGS -I../../ssl/include -I../../src -I../../include -I/usr/local/include -I/usr/local -I/usr -I/usr/pkg " +- echo "Will build latest stable openssl libraries for you, this may take several minutes ..." +- OSSL=`. $srcdir/dlossl.sh` +- echo "Finsihed building openssl." +- fi ++ usedynossl=yes ++ CPPFLAGS="$CPPFLAGS -I../../src -I../../include " + echo "Openssl: use_dyn_ossl = $usedynossl" + else + #### Not provide location, use default location, will not copy files +@@ -16243,12 +16235,6 @@ + fi + + +-ZLIB_HOME=/usr/local +-if test ! -f "${ZLIB_HOME}/include/zlib.h" +-then +- ZLIB_HOME=/usr +-fi +- + # + # Locate zlib, if wanted + # +@@ -16392,7 +16378,6 @@ + + + +-if test "$OSNAME" = Darwin ; then + + + # Check whether --with-openssl was given. +@@ -16520,8 +16505,6 @@ + + + +-fi +- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking lib pcre" >&5 + $as_echo_n "checking lib pcre... " >&6; } + PCRE_LDFLAGS= +diff -ru openlitespeed-1.4.27.orig/dist/install.sh openlitespeed-1.4.27/dist/install.sh +--- openlitespeed-1.4.27.orig/dist/install.sh 2017-08-15 22:41:26.000000000 +0200 ++++ openlitespeed-1.4.27/dist/install.sh 2017-09-19 23:35:08.535232855 +0200 +@@ -7,92 +7,6 @@ + MARIADBCPUARCH= + + +-inst_admin_php() +-{ +- # detect download method +- OS=`uname -s` +- OSTYPE=`uname -m` +- +- DLCMD= +- DL=`which wget` +- if [ $? -eq 0 ] ; then +- DLCMD="wget -nv -O " +- else +- DL=`which curl` +- if [ $? -eq 0 ] ; then +- DLCMD="curl -L -o " +- else +- if [ "x$OS" = "xFreeBSD" ] ; then +- DL=`which fetch` +- if [ $? -eq 0 ] ; then +- DLCMD="fetch -o " +- fi +- fi +- fi +- fi +- +- if [ "x$DLCMD" = "x" ] ; then +- echo "ERROR: cannot find proper download method curl/wget/fetch." +- fi +- +- echo "DLCMD is $DLCMD" +- echo +- +- HASADMINPHP=n +- if [ -f "$LSWS_HOME/admin/fcgi-bin/admin_php" ] ; then +- mv "$LSWS_HOME/admin/fcgi-bin/admin_php" "$LSWS_HOME/admin/fcgi-bin/admin_php.bak" +- echo "admin_php found and mv to admin_php.bak" +- fi +- +- if [ ! -d "$LSWS_HOME/admin/fcgi-bin/" ] ; then +- mkdir -p "$LSWS_HOME/admin/fcgi-bin/" +- echo "Mkdir $LSWS_HOME/admin/fcgi-bin/ for installing admni_php" +- fi +- +- if [ "x$OS" = "xLinux" ] ; then +- if [ "x$OSTYPE" != "xx86_64" ] ; then +- $DLCMD $LSWS_HOME/admin/fcgi-bin/admin_php http://www.litespeedtech.com/packages/lsphp5_bin/i386/lsphp5 +- else +- $DLCMD $LSWS_HOME/admin/fcgi-bin/admin_php http://www.litespeedtech.com/packages/lsphp5_bin/x86_64/lsphp5 +- fi +- +- if [ $? = 0 ] ; then +- HASADMINPHP=y +- echo "admin_php downloaded." +- fi +- +-# if [ -f "$LSWS_HOME/admin/fcgi-bin/admin_php" ] ; then +-# HASADMINPHP=y +-# fi +- +- elif [ "x$OS" = "xFreeBSD" ] ; then +- if [ "x$OSTYPE" != "xamd64" ] ; then +- $DLCMD $LSWS_HOME/admin/fcgi-bin/admin_php http://www.litespeedtech.com/packages/lsphp5_bin/i386-freebsd/lsphp5 +- else +- $DLCMD $LSWS_HOME/admin/fcgi-bin/admin_php http://www.litespeedtech.com/packages/lsphp5_bin/x86_64-freebsd/lsphp5 +- fi +- +- if [ $? = 0 ] ; then +- HASADMINPHP=y +- echo "admin_php downloaded." +- fi +- fi +- +- if [ "x$HASADMINPHP" = "xn" ] ; then +- echo -e "\033[38;5;148mStart to build php, this may take several minutes, please waiting ...\033[39m" +- $LSWS_HOME/admin/misc/build_admin_php.sh +- else +- chmod "$EXEC_MOD" "$LSWS_HOME/admin/fcgi-bin/admin_php" +- fi +- +- #final checking of existence of admin_php +- if [ ! -f "$LSWS_HOME/admin/fcgi-bin/admin_php" ] ; then +- echo -e "\033[38;5;148mFinal checking found admin_php not exists, installation abort.\033[39m" +- exit 1 +- fi +-} +- +- + install_lsphp7_centos() + { + action=install +@@ -230,17 +144,6 @@ + } + + +-inst_lsphp7() +-{ +- check_os +- if [ "x$OSNAME" = "xcentos" ] ; then +- install_lsphp7_centos +- else +- install_lsphp7_debian +- fi +-} +- +- + #script start here + cd `dirname "$0"` + source ./functions.sh 2>/dev/null +@@ -332,7 +235,6 @@ + echo + + echo -e "\033[38;5;148m$LSWS_HOME/conf/httpd_config.xml exists, will be converted to $LSWS_HOME/conf/httpd_config.conf!\033[39m" +- inst_admin_php + PHP_INSTALLED=y + + if [ -e "$LSWS_HOME/conf/httpd_config.conf" ] ; then +@@ -401,9 +303,6 @@ + buildConfigFiles + installation + +-if [ "x$PHP_INSTALLED" = "xn" ] ; then +- inst_admin_php +-fi + + rm $LSWS_HOME/bin/lshttpd + ln -sf ./openlitespeed $LSWS_HOME/bin/lshttpd +@@ -424,7 +323,6 @@ + ln -sf "$LSWS_HOME/fcgi-bin/lsphp5" "$LSWS_HOME/fcgi-bin/lsphp" + + if [ "x$USE_LSPHP7" = "xyes" ] ; then +- inst_lsphp7 + if [ -f "$LSWS_HOME/fcgi-bin/lsphp7" ]; then + rm "$LSWS_HOME/fcgi-bin/lsphp" + ln -sf "$LSWS_HOME/fcgi-bin/lsphp7" "$LSWS_HOME/fcgi-bin/lsphp" +diff -ru openlitespeed-1.4.27.orig/src/main/lshttpdmain.cpp openlitespeed-1.4.27/src/main/lshttpdmain.cpp +--- openlitespeed-1.4.27.orig/src/main/lshttpdmain.cpp 2017-08-15 22:41:26.000000000 +0200 ++++ openlitespeed-1.4.27/src/main/lshttpdmain.cpp 2017-09-19 23:17:37.734034146 +0200 +@@ -46,7 +46,9 @@ + #include + #include + #include ++#ifndef __midipix__ + #include ++#endif + + #include + #include +@@ -1441,7 +1443,7 @@ + #ifdef LSWS_NO_SET_AFFINITY + return 2; + #else +-#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__gnu_linux__) ++#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__gnu_linux__) || defined(__midipix__) + return sysconf(_SC_NPROCESSORS_ONLN); + #else + int nm[2]; +diff -ru openlitespeed-1.4.27.orig/src/modules/Makefile.in openlitespeed-1.4.27/src/modules/Makefile.in +--- openlitespeed-1.4.27.orig/src/modules/Makefile.in 2017-08-15 23:10:18.868017963 +0200 ++++ openlitespeed-1.4.27/src/modules/Makefile.in 2017-09-19 23:30:25.052836970 +0200 +@@ -188,7 +188,7 @@ + done | $(am__uniquify_input)` + ETAGS = etags + CTAGS = ctags +-DIST_SUBDIRS = cache uploadprogress modinspector modreqparser lua ++DIST_SUBDIRS = lua + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + am__relativize = \ + dir0=`pwd`; \ +@@ -375,8 +375,8 @@ + AM_CPPFLAGS = -I$(top_srcdir)/openssl/include/ -I$(top_srcdir)/include -I$(top_srcdir)/src + libmodules_a_METASOURCES = AUTO + libmodules_a_SOURCES = modgzip/modgzip.cpp +-@HAVE_LIBLUA_FALSE@SUBDIRS = cache uploadprogress modinspector modreqparser +-@HAVE_LIBLUA_TRUE@SUBDIRS = cache uploadprogress lua modinspector modreqparser ++@HAVE_LIBLUA_FALSE@SUBDIRS = ++@HAVE_LIBLUA_TRUE@SUBDIRS = lua + all: all-recursive + + .SUFFIXES: +diff -ru openlitespeed-1.4.27.orig/src/util/gsendfile.h openlitespeed-1.4.27/src/util/gsendfile.h +--- openlitespeed-1.4.27.orig/src/util/gsendfile.h 2017-08-15 22:41:26.000000000 +0200 ++++ openlitespeed-1.4.27/src/util/gsendfile.h 2017-09-19 23:16:05.818827428 +0200 +@@ -83,7 +83,7 @@ + #endif + + #if defined(linux) || defined(__linux) || defined(__linux__) || \ +- defined(__gnu_linux__) ++ defined(__gnu_linux__) || defined(__midipix__) + #include + #define gsendfile ::sendfile + #endif +diff -ru openlitespeed-1.4.27.orig/src/util/pcutil.cpp openlitespeed-1.4.27/src/util/pcutil.cpp +--- openlitespeed-1.4.27.orig/src/util/pcutil.cpp 2017-08-15 22:41:26.000000000 +0200 ++++ openlitespeed-1.4.27/src/util/pcutil.cpp 2017-09-19 23:26:15.822340402 +0200 +@@ -22,6 +22,7 @@ + #include + #include + #include ++#include + + #ifdef __linux + #include +@@ -73,7 +74,7 @@ + + if (s_nCpu > 0) + return s_nCpu; +-#if defined(linux) || defined(__linux) || defined(__linux__) ++#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__midipix__) + s_nCpu = sysconf(_SC_NPROCESSORS_ONLN); + #else + int mib[2]; +@@ -117,7 +118,7 @@ + #ifdef __FreeBSD__ + return cpuset_setaffinity(CPU_LEVEL_WHICH, CPU_WHICH_PID, -1, + sizeof(cpu_set_t), mask); +-#elif defined(linux) || defined(__linux) || defined(__linux__) ++#elif defined(linux) || defined(__linux) || defined(__linux__) || defined(__midipix__) + return pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), mask); + //return sched_setaffinity(0, sizeof(cpu_set_t), mask); + #endif +diff -ru openlitespeed-1.4.27.orig/src/util/pcutil.h openlitespeed-1.4.27/src/util/pcutil.h +--- openlitespeed-1.4.27.orig/src/util/pcutil.h 2017-08-15 22:41:26.000000000 +0200 ++++ openlitespeed-1.4.27/src/util/pcutil.h 2017-09-19 23:16:40.650519918 +0200 +@@ -18,7 +18,7 @@ + #ifndef PCUTIL_H + #define PCUTIL_H + +-#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__gnu_linux__) ++#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__gnu_linux__) || defined(__midipix__) + #include + # define SET_AFFINITY(pid, size, mask) sched_setaffinity(0, size, mask) + # define GET_AFFINITY(pid, size, mask) sched_getaffinity(0, size, mask) +diff -ru openlitespeed-1.4.27.orig/src/util/sysinfo/partitioninfo.cpp openlitespeed-1.4.27/src/util/sysinfo/partitioninfo.cpp +--- openlitespeed-1.4.27.orig/src/util/sysinfo/partitioninfo.cpp 2017-08-15 22:41:26.000000000 +0200 ++++ openlitespeed-1.4.27/src/util/sysinfo/partitioninfo.cpp 2017-09-19 23:27:38.773827268 +0200 +@@ -16,7 +16,11 @@ + * along with this program. If not, see http://www.gnu.org/licenses/. * + *****************************************************************************/ + #include "partitioninfo.h" ++ + #include ++#ifdef __midipix__ ++#include ++#endif + + PartitionInfo::PartitionInfo() + { +@@ -33,7 +37,7 @@ + int PartitionInfo::getPartitionInfo(const char *path, uint64_t *outTotal, + uint64_t *outFree) + { +-#if defined(__linux) || defined(sun) ++#if defined(__linux) || defined(sun) || defined(__midipix__) + struct statvfs st; + if (statvfs(path, &st) != 0) + { +diff -ru openlitespeed-1.4.27.orig/src/util/sysinfo/siocglif_nicdetect.cpp openlitespeed-1.4.27/src/util/sysinfo/siocglif_nicdetect.cpp +--- openlitespeed-1.4.27.orig/src/util/sysinfo/siocglif_nicdetect.cpp 2017-08-15 22:41:26.000000000 +0200 ++++ openlitespeed-1.4.27/src/util/sysinfo/siocglif_nicdetect.cpp 2017-09-19 23:29:06.497299135 +0200 +@@ -18,6 +18,9 @@ + struct ifi_info * + NICDetect::get_ifi_info(int family, int doaliases) + { ++#ifdef __midipix__ ++ return NULL; ++#else + struct ifi_info *ifi, *ifihead, **ifipnext; + int sockfd, len, lastlen, flags, myflags; + char *buf, lastname[IFNAMSIZ], *cptr; +@@ -163,5 +166,6 @@ + close(sockfd); + free(buf); + return (ifihead); /* pointer to first structure in linked list */ ++#endif + } + diff --git a/vars/build.vars b/vars/build.vars index 5805710..4fa9f6b 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -258,7 +258,7 @@ LIB_PACKAGES_PACKAGES_LEAVES=" expat libxml2 alsa_lib apr apr_util bzip2 curl libz libpng libjpeg_turbo tiff giflib libffi gdbm geoip pcre libffi_host glib_host glib gzip libarchive libatomic_ops libpipeline libressl libevent libfetch libgpg_error libassuan libfirm libgcrypt -libksba lua ncurses ncursestw ncursesw npth ruby_host sqlite3 xz"; +libksba libudns lua ncurses ncursestw ncursesw npth ruby_host shared_mime_info sqlite3 xz"; LIB_PACKAGES_PACKAGES_X11=" inputproto kbproto xcb_proto xproto libXau libpthread_stubs xcb xextproto xtrans libX11 libXext freetype fontconfig renderproto Xrender libXft libICE libSM libXt libXmu libXpm @@ -336,23 +336,25 @@ LIB_PACKAGES_PREFIX="${PREFIX_NATIVE}"; : ${PKG_LIBFFI_HOST_LDFLAGS_CONFIGURE:="-L${PREFIX}/lib -L${PREFIX}/lib64"}; : ${PKG_LIBFFI_HOST_CONFIGURE_ARGS:="-C --disable-nls --prefix=${PREFIX} --program-prefix="}; : ${PKG_LIBFFI_HOST_MAKEFLAGS_INSTALL:=DESTDIR=}; -: ${PKG_GLIB_HOST_SHA256SUM:=5031722e37036719c1a09163cc6cf7c326e4c4f1f1e074b433c156862bd733db}; -: ${PKG_GLIB_HOST_VERSION:=2.46.2}; +: ${PKG_GLIB_HOST_SHA256SUM:=028efbf6df4d88d7725314456524b923169f4d4f8503347194b2baf2222f3e33}; +: ${PKG_GLIB_HOST_VERSION:=2.53.7}; : ${PKG_GLIB_HOST_URL:=http://ftp.gnome.org/pub/GNOME/sources/glib/${PKG_GLIB_HOST_VERSION%.[0-9]}/glib-${PKG_GLIB_HOST_VERSION}.tar.xz}; : ${PKG_GLIB_HOST_BUILD_TYPE:=host}; : ${PKG_GLIB_HOST_CFLAGS_CONFIGURE:="${LIB_PACKAGES_CFLAGS_CONFIGURE_DEFAULT:+${LIB_PACKAGES_CFLAGS_CONFIGURE_DEFAULT} }"}; -: ${PKG_GLIB_HOST_CONFIGURE_ARGS:="-C --disable-libelf --disable-nls --prefix=${PREFIX} --program-prefix="}; +: ${PKG_GLIB_HOST_CONFIGURE_ARGS:="-C --disable-dtrace --disable-libelf --disable-libmount --disable-nls --prefix=${PREFIX} --program-prefix="}; : ${PKG_GLIB_HOST_ENV_VARS_EXTRA:=LIBFFI_CFLAGS=-I${PREFIX}/lib/libffi-${PKG_LIBFFI_HOST_VERSION}/include:LIBFFI_LIBS=-L${PREFIX}/lib -lffi}; : ${PKG_GLIB_HOST_LDFLAGS_CONFIGURE:="-L${PREFIX}/lib -L${PREFIX}/lib64"}; : ${PKG_GLIB_HOST_MAKEFLAGS_INSTALL:=DESTDIR=}; : ${PKG_GLIB_HOST_MAKEFLAGS_BUILD_EXTRA:=V=99}; -: ${PKG_GLIB_SHA256SUM:=5031722e37036719c1a09163cc6cf7c326e4c4f1f1e074b433c156862bd733db}; -: ${PKG_GLIB_VERSION:=2.46.2}; +: ${PKG_GLIB_HOST_SLIBTOOL:=default}; +: ${PKG_GLIB_SHA256SUM:=028efbf6df4d88d7725314456524b923169f4d4f8503347194b2baf2222f3e33}; +: ${PKG_GLIB_VERSION:=2.53.7}; : ${PKG_GLIB_URL:=http://ftp.gnome.org/pub/GNOME/sources/glib/${PKG_GLIB_VERSION%.[0-9]}/glib-${PKG_GLIB_VERSION}.tar.xz}; -: ${PKG_GLIB_CONFIGURE_ARGS_EXTRA:=--disable-libelf}; +: ${PKG_GLIB_CONFIGURE_ARGS_EXTRA:="--disable-dtrace --disable-libelf --disable-libmount"}; : ${PKG_GLIB_ENV_VARS_EXTRA:=LIBFFI_CFLAGS=-I${PREFIX_NATIVE}/lib/libffi-${PKG_LIBFFI_VERSION}/include:LIBFFI_LIBS=-L${PREFIX_NATIVE}/lib -lffi}; : ${PKG_GLIB_LDFLAGS_CONFIGURE_EXTRA:=-L${PREFIX_NATIVE}/lib}; : ${PKG_GLIB_MAKEFLAGS_BUILD_EXTRA:=V=99}; +: ${PKG_GLIB_SLIBTOOL:=default}; : ${PKG_GZIP_SHA256SUM:=1ff7aedb3d66a0d73f442f6261e4b3860df6fd6c94025c2cb31a202c9c60fe0e}; : ${PKG_GZIP_VERSION:=1.8}; : ${PKG_GZIP_URL:=https://ftp.gnu.org/gnu/gzip/gzip-${PKG_GZIP_VERSION}.tar.gz}; @@ -372,11 +374,11 @@ LIB_PACKAGES_PREFIX="${PREFIX_NATIVE}"; : ${PKG_LIBPIPELINE_VERSION:=1.4.1}; : ${PKG_LIBPIPELINE_URL:=http://download.savannah.gnu.org/releases/libpipeline/libpipeline-${PKG_LIBPIPELINE_VERSION}.tar.gz}; : ${PKG_LIBPIPELINE_CFLAGS_BUILD_EXTRA:=-Dprogram_name=program_invocation_name}; -: ${PKG_LIBRESSL_SHA256SUM:=1ee19994cffd047d40f63ba149115dba18a681b0cc923beec301bf424b58d64f}; -: ${PKG_LIBRESSL_VERSION:=2.2.6}; +: ${PKG_LIBRESSL_SHA256SUM:=c293b3b5f1fc1d6349c019c3905355d577df32734b631d7e656503894e09127e}; +: ${PKG_LIBRESSL_VERSION:=2.6.1}; : ${PKG_LIBRESSL_URL:=http://ftp.eu.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${PKG_LIBRESSL_VERSION}.tar.gz}; : ${PKG_LIBRESSL_CFLAGS_CONFIGURE_EXTRA:=-D__MIDIPIX}; -: ${PKG_LIBRESSL_CONFIGURE_ARGS_EXTRA:=--disable-asm}; +: ${PKG_LIBRESSL_CONFIGURE_ARGS_EXTRA:=--disable-asm --enable-nc}; : ${PKG_LIBEVENT_SHA256SUM:=71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3}; : ${PKG_LIBEVENT_VERSION:=2.0.22-stable}; : ${PKG_LIBEVENT_URL:=https://github.com/libevent/libevent/releases/download/release-${PKG_LIBEVENT_VERSION}/libevent-${PKG_LIBEVENT_VERSION}.tar.gz}; @@ -411,6 +413,8 @@ LIB_PACKAGES_PREFIX="${PREFIX_NATIVE}"; : ${PKG_LIBKSBA_SHA256SUM:=41444fd7a6ff73a79ad9728f985e71c9ba8cd3e5e53358e70d5f066d35c1a340}; : ${PKG_LIBKSBA_VERSION:=1.3.5}; : ${PKG_LIBKSBA_URL:=https://www.gnupg.org/ftp/gcrypt/libksba/libksba-${PKG_LIBKSBA_VERSION}.tar.bz2}; +: ${PKG_LIBUDNS_URLS_GIT:=libudns=https://github.com/shadowsocks/libudns.git@master}; +: ${PKG_LIBUDNS_SUBDIR:=libudns}; : ${PKG_LUA_SHA256SUM:=5113c06884f7de453ce57702abaac1d618307f33f6789fa870e87a59d772aca2}; : ${PKG_LUA_VERSION:=5.3.3}; : ${PKG_LUA_URL:=https://www.lua.org/ftp/lua-${PKG_LUA_VERSION}.tar.gz}; @@ -446,6 +450,11 @@ LIB_PACKAGES_PREFIX="${PREFIX_NATIVE}"; : ${PKG_RUBY_HOST_LDFLAGS_CONFIGURE:="-L${PREFIX}/lib -L${PREFIX}/lib64"}; : ${PKG_RUBY_HOST_CONFIGURE_ARGS:="-C --disable-nls --disable-install-rdoc --prefix=${PREFIX} --with-out-ext=fiddle"}; : ${PKG_RUBY_HOST_MAKEFLAGS_INSTALL:=DESTDIR=}; +: ${PKG_SHARED_MIME_INFO_SHA256SUM:=2af55ef1a0319805b74ab40d331a3962c905477d76c086f49e34dc96363589e9}; +: ${PKG_SHARED_MIME_INFO_VERSION:=1.8}; +: ${PKG_SHARED_MIME_INFO_URL:=http://freedesktop.org/~hadess/shared-mime-info-${PKG_SHARED_MIME_INFO_VERSION}.tar.xz}; +: ${PKG_SHARED_MIME_INFO_CONFIGURE_ARGS_EXTRA:=--disable-update-mimedb}; +: ${PKG_SHARED_MIME_INFO_MAKEFLAGS_BUILD:=-j1}; : ${PKG_SQLITE3_SHA256SUM:=65cc0c3e9366f50c0679c5ccd31432cea894bc4a3e8947dabab88c8693263615}; : ${PKG_SQLITE3_VERSION:=3160200}; : ${PKG_SQLITE3_URL:=https://sqlite.org/2017/sqlite-autoconf-${PKG_SQLITE3_VERSION}.tar.gz}; @@ -550,11 +559,11 @@ LIB_PACKAGES_PREFIX="${PREFIX_NATIVE}"; : ${PKG_PANGO_SHA256SUM:=5b11140590e632739e4151cae06b8116160d59e22bf36a3ccd5df76d1cf0383e}; : ${PKG_PANGO_URL:=http://ftp.gnome.org/pub/GNOME/sources/pango/${PKG_PANGO_VERSION%.*}/pango-${PKG_PANGO_VERSION}.tar.xz}; : ${PKG_PANGO_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/freetype2}; -: ${PKG_ATK_VERSION:=2.24.0}; -: ${PKG_ATK_SHA256SUM:=bb2daa9a808c73a7a79d2983f333e0ba74be42fc51e3ba1faf2551a636487a49}; +: ${PKG_ATK_VERSION:=2.26.0}; +: ${PKG_ATK_SHA256SUM:=eafe49d5c4546cb723ec98053290d7e0b8d85b3fdb123938213acb7bb4178827}; : ${PKG_ATK_URL:=http://ftp.gnome.org/pub/gnome/sources/atk/${PKG_ATK_VERSION%.*}/atk-${PKG_ATK_VERSION}.tar.xz}; -: ${PKG_GDK_VERSION:=2.35.5}; -: ${PKG_GDK_SHA256SUM:=108c682022b260c90452f3e83de5faf2e41d5543fc1550e641f3ff9600fde5e6}; +: ${PKG_GDK_VERSION:=2.36.10}; +: ${PKG_GDK_SHA256SUM:=f8f6fa896b89475c73b6e9e8d2a2b062fc359c4b4ccb8e96470d6ab5da949ace}; : ${PKG_GDK_URL:=http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/${PKG_GDK_VERSION%.*}/gdk-pixbuf-${PKG_GDK_VERSION}.tar.xz}; : ${PKG_IMLIB2_SHA256SUM:=3f698cd285cbbfc251c1d6405f249b99fafffafa5e0a5ecf0ca7ae49bbc0a272}; : ${PKG_IMLIB2_VERSION:=1.4.10}; @@ -588,7 +597,7 @@ LEAF_PACKAGES_MAKEFLAGS_INSTALL="DESTDIR=${PREFIX_NATIVE}"; LEAF_PACKAGES_PACKAGES=" apk_tools aria2 bash bc bdwgc bind bison chicken clang_host coreutils cparser cron dash datamash diffutils dos2unix dropbear ed figlet file findutils gawk git gnupg grep hexcurse htop inetutils infounzip infozip -irssi john ldns less lighttpd flex lunix lynx make man_db mc mksh mtr m4 nano netcat nginx openlitespeed openssh p7zip +irssi john ldns less lighttpd flex lunix lynx make man_db mc mksh mtr m4 nano nginx openlitespeed openssh p7zip pacman patch patchutils perl procps_ng python3 qpdf rsync ruby rxvt_unicode sed smallbasic socat st tar tcsh the_silver_searcher tmux toilet util_linux vim weechat wget which whois xeyes xwd zsh"; LEAF_PACKAGES_PREFIX="${PREFIX_NATIVE}"; @@ -813,29 +822,18 @@ LEAF_PACKAGES_PREFIX="${PREFIX_NATIVE}"; : ${PKG_NANO_SHA256SUM:=a49a888c20f09a17c7f1049d1fda619472c92eedcb25fd4be5f088a51cc392a5}; : ${PKG_NANO_VERSION:=2.8.7}; : ${PKG_NANO_URL:=http://www.nano-editor.org/dist/v${PKG_NANO_VERSION%.[0-9]}/nano-${PKG_NANO_VERSION}.tar.gz}; -: ${PKG_NETCAT_SHA256SUM:=5b3fda14e972d908896a605293f4634a72e2968278117410e12d8b3faf9a3976}; -: ${PKG_NETCAT_VERSION:=110}; -: ${PKG_NETCAT_URL:=https://dl.packetstormsecurity.net/UNIX/netcat/nc110.tgz}; -: ${PKG_NETCAT_BUILD_DIR:=nc110}; -: ${PKG_NETCAT_ENV_VARS_EXTRA:="CFLAGS_EXTRA=${PACKAGES_CFLAGS_CONFIGURE}:LDFLAGS=${PACKAGES_LDFLAGS_CONFIGURE}"}; -: ${PKG_NETCAT_INSTALL_FILES:=nc=bin/}; -: ${PKG_NETCAT_MAKEFLAGS_BUILD_EXTRA_DEBUG:="midipix CC=${TARGET}-gcc"}; -: ${PKG_NETCAT_MAKEFLAGS_BUILD_EXTRA_RELEASE:="midipix CC=${TARGET}-gcc LDFLAGS_DEBUG=-s"}; -: ${PKG_NETCAT_NO_MAKE_INSTALL:=1}; -: ${PKG_NETCAT_SUBDIR:=${PKG_NETCAT_BUILD_DIR}}; -: ${PKG_NETCAT_SUBDIR_CREATE:=1}; : ${PKG_NGINX_SHA256SUM:=4a667f40f9f3917069db1dea1f2d5baa612f1fa19378aadf71502e846a424610}; : ${PKG_NGINX_VERSION:=1.11.3}; : ${PKG_NGINX_URL:=http://nginx.org/download/nginx-${PKG_NGINX_VERSION}.tar.gz}; : ${PKG_NGINX_SUBDIR:=nginx-${PKG_NGINX_VERSION}}; : ${PKG_NGINX_BUILD_DIR:=${PKG_NGINX_SUBDIR}}; : ${PKG_NGINX_CONFIGURE_ARGS:="--prefix="}; -: ${PKG_OPENLITESPEED_SHA256SUM:=c2dd2a42a86994433e1f7e48f1a336201c4f7f79b204c837e56911fd60f08a1f}; -: ${PKG_OPENLITESPEED_VERSION:=1.4.24}; +: ${PKG_OPENLITESPEED_SHA256SUM:=11cea34ebb0d72e5c620c61dce9ee4982474311dc5f35e0737a6b6d760bcf577}; +: ${PKG_OPENLITESPEED_VERSION:=1.4.27}; : ${PKG_OPENLITESPEED_URL:=http://open.litespeedtech.com/packages/openlitespeed-${PKG_OPENLITESPEED_VERSION}.tgz}; : ${PKG_OPENLITESPEED_BUILD_DIR:=openlitespeed-${PKG_OPENLITESPEED_VERSION}}; : ${PKG_OPENLITESPEED_SUBDIR:=${PKG_OPENLITESPEED_BUILD_DIR}}; -: ${PKG_OPENLITESPEED_CONFIGURE_ARGS:="-C --host=${TARGET} --prefix=/usr/lsws --target=${TARGET} --with-expat=${PREFIX_NATIVE} --with-openssl=${PREFIX_NATIVE} --with-zlib=${PREFIX_NATIVE}"}; +: ${PKG_OPENLITESPEED_CONFIGURE_ARGS:="-C --host=${TARGET} --prefix=/usr/lsws --target=${TARGET} --with-expat=${PREFIX_NATIVE} --with-openssl=${PREFIX_NATIVE} --with-zlib=${PREFIX_NATIVE}" --enable-spdy=no}; : ${PKG_OPENLITESPEED_CXXFLAGS_CONFIGURE_EXTRA:="-D_GNU_SOURCE"}; : ${PKG_OPENLITESPEED_MAKEFLAGS_BUILD:=-j1}; : ${PKG_OPENSSH_SHA256SUM:=3ffb989a6dcaa69594c3b550d4855a5a2e1718ccdde7f5e36387b424220fbecc}; diff --git a/vars/libudns.vars b/vars/libudns.vars new file mode 100644 index 0000000..7d31f05 --- /dev/null +++ b/vars/libudns.vars @@ -0,0 +1,13 @@ +# +# set -o errexit -o noglob are assumed. +# + +pkg_libudns_configure_pre() { + find "${WORKDIR}/${PKG_SUBDIR}" -name config.sub \ + -exec echo mv -- {} {}.orig \; \ + -exec mv -- {} {}.orig \; \ + -exec echo install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \; \ + -exec install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \;; +}; + +# vim:filetype=sh