Package Details: retawq 0.2.6c-2

Git Clone URL: (read-only)
Package Base: retawq
Description: An interactive, multi-threaded network client for text terminals.
Upstream URL:
Licenses: GPL
Submitter: None
Maintainer: aksr
Last Packager: aksr
Votes: 13
Popularity: 0.000000
First Submitted: 2008-11-18 20:45
Last Updated: 2015-06-23 09:38

Latest Comments

aksr commented on 2019-02-06 14:49

dreieck: Actually, I think the problem is in --set-tls=2 (meaning: use openssl).

dreieck commented on 2019-02-06 11:37

Dependency openssl not specified.

dreieck commented on 2019-02-06 11:36

Fails to build for me:

gcc -O2 -O3 -g0 -march=native -ftree-vectorize -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -Wl,-z,relro,-z,now -D_FORTIFY_SOURCE=2 -fPIC -pie -fPIE -fstack-protector -D_REENTRANT -D_THREAD_SAFE   -c resource.c -o resource.o
resource.c: In function ‘tls_initialize’:
resource.c:2274:11: warning: implicit declaration of function ‘RAND_egd’; did you mean ‘RAND_add’? [-Wimplicit-function-declaration]
       if (RAND_egd(seedfilename) >= 0) goto rand_finish;
resource.c:2307:7: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     m = SSLv23_client_method();
In file included from resource.c:9:
resource.c: In function ‘resource_custom_conn_start’:
stuff.h:898:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define MY_POINTER_TO_INT(x) ((int) (x))
resource.c:7377:41: note: in expansion of macro ‘MY_POINTER_TO_INT’
       resource->handshake = handshake = MY_POINTER_TO_INT(whatever);
stuff.h:898:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define MY_POINTER_TO_INT(x) ((int) (x))
resource.c:7385:13: note: in expansion of macro ‘MY_POINTER_TO_INT’
       ftm = MY_POINTER_TO_INT(whatever);
resource.c: In function ‘start_local_cgi’:
resource.c:4397:14: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
       (void) chdir(ptr);
gcc -O2 -O3 -g0 -march=native -ftree-vectorize -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -Wl,-z,relro,-z,now -D_FORTIFY_SOURCE=2 -fPIC -pie -fPIE -fstack-protector -D_REENTRANT -D_THREAD_SAFE   -c stuff.c -o stuff.o
stuff.c:333:200: warning: trigraph ??! ignored, use -trigraphs to enable [-Wtrigraphs]
   { static const char charmap[] = "?????????\t\n??\r?????????????????? !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~??????????????????????????????????!????|????\"?-?-????'??????\"????AAAAAA?CEEEEIIIIDNOOOOO*OUUUUYPsaaaaaa?ceeeeiiiidnooooo/ouuuuypy";

stuff.c:333:220: warning: trigraph ??' ignored, use -trigraphs to enable [-Wtrigraphs]
gcc -O2 -O3 -g0 -march=native -ftree-vectorize -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -Wl,-z,relro,-z,now -D_FORTIFY_SOURCE=2 -fPIC -pie -fPIE -fstack-protector -D_REENTRANT -D_THREAD_SAFE   -Wl,-O1,-z,relro,-z,now,--strip-all,--as-needed,--relax,--sort-common,--hash-style=gnu  init.o main.o parser.o resource.o stuff.o   -lncurses -lssl -lcrypto -lpthread -o retawq
/sbin/ld: resource.o: in function `tls_initialize':
resource.c:(.text+0x36be): undefined reference to `RAND_egd'
collect2: error: ld returned 1 exit status
make: *** [Makefile:24: binary-retawq] Error 1
==> ERROR: A failure occurred in build().

dreieck commented on 2013-06-22 17:08

$startdir is no longer supported -- please update.

Here my updated PKGBUILD, with additional options, including TLS, enabled, and added x86_64-entry in "arch" variable:

 arch=("i686" "x86_64")
 pkgdesc="interactive, multi-threaded web browser for text terminals. PKGBUILD with all options enabled. TLS provided by openssl (you can switch to GNUTLS by build time configure option in the PKGBUILD)."
 depends=(glibc ncurses openssl)

 build() {

 mkdir -pv "$_prefix"
 mkdir -pv "$_docprefix"
 mkdir -pv "$_manprefix"

 cd "$srcdir/$_pkgname-$pkgver"
 PREFIX="$_prefix" ./configure \
 --verbose \
 --path-prefix="$_prefix" \
 --path-doc="$_docprefix" \
 --path-man="$_manprefix" \
 --set-tg=ncurses \
 --enable-textmodemouse \
 --enable-i18n \
 --enable-news \
 --enable-cookies \
 --enable-local-cgi \
 --enable-ipv6 \
 --disable-birtcfg \
 --set-tls=2 \
 --set-execext=1 \
 --set-ced=1 \

 make || return 1

 package() {
 cd "$srcdir/$_pkgname-$pkgver"
 make install || return 1

aecepoglu commented on 2013-06-16 13:49

#you should replace "$startdir/src" with "$srcdir" and "$startdir/pkg" with "$pkgdir"


build() {
cd $srcdir/$pkgname-$pkgver
./configure --path-prefix=$pkgdir/usr
make || return 1
make install

chneukirchen commented on 2011-11-06 13:45

Please install man pages to /usr/share/man.

Anonymous comment on 2011-03-03 23:18

Package builds fine on x86_64