summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 878758a9855..a39228205b9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
# Maintainer: aksr <aksr at t-com dot me>
pkgname=retawq
pkgver=0.2.6c
-pkgrel=2
+pkgrel=3
epoch=
pkgdesc="An interactive, multi-threaded network client for text terminals."
arch=('i686' 'x86_64')
url="http://retawq.sourceforge.net/"
license=('GPL')
groups=()
-depends=('glibc' 'ncurses')
+depends=('glibc' 'ncurses' 'openssl')
makedepends=()
checkdepends=()
optdepends=()
@@ -26,6 +26,14 @@ md5sums=('ee60188bea597680bd39e435a8c73ff9')
sha1sums=('ac99979e99ae3b3edba547dd23d54c8f5fb3c6f5')
sha256sums=('a42e82494f00e054c2de1b065bbc8fb439d93eb69f9b97cc4868e71e48a9eae0')
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ # compile openssl with HAVE_RAND_EG (instead of OPENSSL_NO_EGD)
+ # or remove the following line (the resulting random number
+ # sequences at runtime may be of lower quality):
+ sed -i '/RAND_egd/d' resource.c
+}
+
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --path-prefix=$pkgdir/usr \
@@ -37,7 +45,7 @@ build() {
--enable-news \
--enable-cookies \
--enable-ipv6 \
- --enable-local-cgi \
+ --disable-local-cgi \
--set-tls=2 \
--set-execext=1 \
--set-ced=1 \