New package: edbrowse-3.4.10

This commit is contained in:
Christian Neukirchen 2014-07-26 17:41:30 +02:00
parent e7e6d9a8fc
commit b0d1dd36f1
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,15 @@
--- src/tcp.c 2014-07-26 17:30:51.582554891 +0200
+++ src/tcp.c 2014-07-26 17:31:07.547555086 +0200
@@ -436,12 +436,6 @@
ssl_init(void)
{
/* I don't understand any of this. */
- char f_randfile[ABSPATH];
- if(RAND_egd(RAND_file_name(f_randfile, sizeof (f_randfile))) < 0) {
- /* Not an EGD, so read and write to it */
- if(RAND_load_file(f_randfile, -1))
- RAND_write_file(f_randfile);
- }
SSLeay_add_ssl_algorithms();
sslcx = SSL_CTX_new(SSLv23_client_method());
SSL_CTX_set_options(sslcx, SSL_OP_ALL);

28
srcpkgs/edbrowse/template Normal file
View File

@ -0,0 +1,28 @@
# Template file for 'edbrowse'
pkgname=edbrowse
version=3.4.10
revision=1
hostmakedepends="unzip pkg-config"
makedepends="js-devel libressl-devel pcre-devel libcurl-devel readline-devel"
short_desc="line-oriented text editor and web browser similar to ed(1)"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-3"
homepage="http://the-brannons.com/edbrowse/"
distfiles="http://the-brannons.com/${pkgname}/${pkgname}-${version}.zip"
checksum=58089879c31b571792f76fc53c41374fcbe8386ea82fe451737ae72e8a78e826
do_build() {
make ${makejobs} -C src JS_CPPFLAGS="$(pkg-config mozjs185 --cflags)"
}
do_install() {
vbin src/edbrowse
vbin doc/setup.ebrc
vsconf doc/sample.ebrc
vman doc/man-edbrowse-debian.1 edbrowse.1
vdoc doc/usersguide.html
vdoc doc/philosophy.html
vdoc README
vdoc CHANGES
vlicense COPYING
}