diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-05-26 17:07:49 -0300 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-05-31 06:40:23 +0000 |
commit | 5e458e9ea9bce850cfc59bea11f505799e68422f (patch) | |
tree | efd06ad1df720f5dfbf88876edcb10ddf93eed4d /testing/poco | |
parent | 24cebe87e21cfadfb2c601b79e62d4043c6869de (diff) | |
download | aports-5e458e9ea9bce850cfc59bea11f505799e68422f.tar.bz2 aports-5e458e9ea9bce850cfc59bea11f505799e68422f.tar.xz |
testing/poco: upgrade to 1.9.0
Diffstat (limited to 'testing/poco')
-rw-r--r-- | testing/poco/200-strerror.patch | 11 | ||||
-rw-r--r-- | testing/poco/APKBUILD | 41 |
2 files changed, 9 insertions, 43 deletions
diff --git a/testing/poco/200-strerror.patch b/testing/poco/200-strerror.patch deleted file mode 100644 index 54cce519eb..0000000000 --- a/testing/poco/200-strerror.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/Foundation/src/Error.cpp -+++ b/Foundation/src/Error.cpp -@@ -66,7 +66,7 @@ - without -D_GNU_SOURCE is needed, otherwise the GNU version is - preferred. - */ --#if defined _GNU_SOURCE && !POCO_ANDROID -+#if (defined _GNU_SOURCE && (defined __GLIBC__ || defined __UCLIBC__)) && !POCO_ANDROID - char errmsg[256] = ""; - return std::string(strerror_r(errorCode, errmsg, 256)); - #elif (_XOPEN_SOURCE >= 600) || POCO_ANDROID diff --git a/testing/poco/APKBUILD b/testing/poco/APKBUILD index f0e3764967..fd05f3d164 100644 --- a/testing/poco/APKBUILD +++ b/testing/poco/APKBUILD @@ -1,63 +1,40 @@ # Contributor: Leonardo Arena <rnalrd@alpinelinux.org> # Maintainer: pkgname=poco -pkgver=1.7.7 +pkgver=1.9.0 pkgrel=0 pkgdesc="C++ class libraries for building network- and internet-based applications" +options="!check" # No testsuite url="https://pocoproject.org/" arch="all" -license="GPL" -depends= -depends_dev= -makedepends="$depends_dev libressl-dev linux-headers" -install= +license="BSL-1.0" +makedepends="openssl-dev linux-headers" subpackages="$pkgname-dev" source="https://pocoproject.org/releases/$pkgname-$pkgver/$pkgname-$pkgver-all.tar.gz - 200-strerror.patch cxxflags.patch " builddir="$srcdir"/$pkgname-$pkgver-all -prepare() { - cd "$builddir" - default_prepare || return 1 -} - build() { - cd "$builddir" ./configure --config=Linux \ --prefix=/usr \ --minimal \ --shared \ --no-tests \ --no-samples -# --poquito \ -# --no-fpenvironment \ -# --no-sharedmemory \ -# --no-wstring - # make CXXFLAGS="$CXXFLAGS -U_GNU_SOURCE -U_DEBUG -D_XOPEN_SOURCE=600" || return 1 - # make CXXFLAGS="$CXXFLAGS" || return 1 - # make CXXFLAGS="-fomit-frame-pointer" || return 1 - # export "CXXFLAGS=$CXXFLAGS" - make || return 1 + make } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install _basedir="$pkgdir"/usr/include/Poco for dir in Net Crypto; do test -d "$_basedir"/$dir || mkdir "$_basedir"/$dir done - cp NetSSL_OpenSSL/include/Poco/Net/*.h "$_basedir"/Net || return 1 - cp Crypto/include/Poco/Crypto/*.h "$_basedir"/Crypto || return 1 - - # remove the 2 lines below (and this) if there is no init.d script - # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname + cp NetSSL_OpenSSL/include/Poco/Net/*.h "$_basedir"/Net + cp Crypto/include/Poco/Crypto/*.h "$_basedir"/Crypto } -sha512sums="8fecc361fd0388670ac6d92cf17a9f109d9600e50a3725d38466dc0035d4b010046ca5b162e1a4d8e42e04f9a7fef94dad56331dc4b27ed0ef67252b4be6a5f1 poco-1.7.7-all.tar.gz -29b08dcafb2873eeb8ce11c139e85d7530039dfd65c7e77d2f81e16bfee194d8e57ce3db0d80c838f4d43e66bd2ea54d3763933085304db4c9da737d80ce2ba8 200-strerror.patch +sha512sums="ab29a18e254af1232b500143daae219bee71c4a0047e68eca52c20a915e3651ab02dc143facd0ed85c9fadc8ea4a973c76765c69da4306c3c902a9121700b762 poco-1.9.0-all.tar.gz 5f72e487074ea26e29e81d6fc244d03989d780d71b33a064456fa19b241aca278fbfd9b303733940b837921ea25781ee62905d70a5f1c57f1b24cd38a2a7d720 cxxflags.patch" |