diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-10-07 18:09:20 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-10-10 12:04:44 +0000 |
commit | 8c48cc48278eb3ea7ee6e4c1584bc64d0cfb068f (patch) | |
tree | 4812695c015d643bd4b57e1f105a5316233be3d3 /community | |
parent | 496bdac02cefe35a4e9e7076e239852a2d509fd6 (diff) | |
download | aports-8c48cc48278eb3ea7ee6e4c1584bc64d0cfb068f.tar.bz2 aports-8c48cc48278eb3ea7ee6e4c1584bc64d0cfb068f.tar.xz |
community/retawq: rebuild against libressl
Diffstat (limited to 'community')
-rw-r--r-- | community/retawq/APKBUILD | 20 | ||||
-rw-r--r-- | community/retawq/libressl.patch | 13 |
2 files changed, 26 insertions, 7 deletions
diff --git a/community/retawq/APKBUILD b/community/retawq/APKBUILD index 8c1fbd846a..466323940e 100644 --- a/community/retawq/APKBUILD +++ b/community/retawq/APKBUILD @@ -2,17 +2,19 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=retawq pkgver=0.2.6c -pkgrel=0 +pkgrel=1 pkgdesc="retawq is an interactive, multi-threaded network client for text terminals" url="http://retawq.sourceforge.net/" arch="all" license="GPL2" depends="" depends_dev="" -makedepends="$depends_dev ncurses-dev openssl-dev" +makedepends="$depends_dev ncurses-dev libressl-dev" install="" subpackages="$pkgname-doc" -source="http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" +source="http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz + libressl.patch + " builddir="$srcdir"/$pkgname-$pkgver build() { @@ -25,7 +27,8 @@ build() { --enable-cookies \ --enable-local-cgi \ --set-tls=2 \ - --enable-ipv6 + --enable-ipv6 \ + || return 1 make || return 1 } @@ -36,6 +39,9 @@ package() { make DESTDIR="$pkgdir" install } -md5sums="ee60188bea597680bd39e435a8c73ff9 retawq-0.2.6c.tar.gz" -sha256sums="a42e82494f00e054c2de1b065bbc8fb439d93eb69f9b97cc4868e71e48a9eae0 retawq-0.2.6c.tar.gz" -sha512sums="555f61460decf3108e85f0d0153d281a7b9a9fd2474563fcf47145bf969025ffcfad6d5dc0ae946bde11bdf880cc26ceb5cde3194194a1cbbaadc4a672a094f8 retawq-0.2.6c.tar.gz" +md5sums="ee60188bea597680bd39e435a8c73ff9 retawq-0.2.6c.tar.gz +d730cb94bde88fa2868472aeb6aa17e1 libressl.patch" +sha256sums="a42e82494f00e054c2de1b065bbc8fb439d93eb69f9b97cc4868e71e48a9eae0 retawq-0.2.6c.tar.gz +ee179683d46b612f2a4c3970a874fb6d563336bf953dbbc824740ddde05de675 libressl.patch" +sha512sums="555f61460decf3108e85f0d0153d281a7b9a9fd2474563fcf47145bf969025ffcfad6d5dc0ae946bde11bdf880cc26ceb5cde3194194a1cbbaadc4a672a094f8 retawq-0.2.6c.tar.gz +3f54adee86945c2b5a2acc300cfc580186759a7545868578780e6bf60f17b29e39c1a4f55745e48dbfdfa05010bddf0ec98cdb510aa5dd19d437c5f45e97a632 libressl.patch" diff --git a/community/retawq/libressl.patch b/community/retawq/libressl.patch new file mode 100644 index 0000000000..aacbe1a9f8 --- /dev/null +++ b/community/retawq/libressl.patch @@ -0,0 +1,13 @@ +diff --git a/resource.c b/resource.c +index fe90825..faca9d4 100644 +--- a/resource.c ++++ b/resource.c +@@ -2271,7 +2271,7 @@ static one_caller tBoolean tls_initialize(void) + my_spf_cleanup(debugstrbuf, spfbuf); + } + #endif +- if (RAND_egd(seedfilename) >= 0) goto rand_finish; ++// if (RAND_egd(seedfilename) >= 0) goto rand_finish; + debugmsg("TLS: random D\n"); + (void) RAND_load_file(seedfilename, -1); + /* ("-1" is allowed for OpenSSL >= 0.9.5) */ |