Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www www: Add felinks.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b804cd74f784
branches: trunk
changeset: 434676:b804cd74f784
user: nia <nia%pkgsrc.org@localhost>
date: Sat Jun 20 15:13:56 2020 +0000
description:
www: Add felinks.
ELinks is an advanced and well-established feature-rich text mode web
(HTTP/FTP/..) browser. ELinks can render both frames and tables, is highly
customizable and can be extended via scripts. It is very portable and runs
on a variety of platforms.
felinks is a fork of elinks.
diffstat:
www/Makefile | 3 +-
www/felinks/DESCR | 6 +++
www/felinks/Makefile | 44 +++++++++++++++++++++++++++++
www/felinks/PLIST | 38 +++++++++++++++++++++++++
www/felinks/distinfo | 7 ++++
www/felinks/options.mk | 19 ++++++++++++
www/felinks/patches/patch-src_util_memory.c | 30 +++++++++++++++++++
7 files changed, 146 insertions(+), 1 deletions(-)
diffs (185 lines):
diff -r 0862ac3685b4 -r b804cd74f784 www/Makefile
--- a/www/Makefile Sat Jun 20 15:06:04 2020 +0000
+++ b/www/Makefile Sat Jun 20 15:13:56 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1462 2020/06/16 09:14:21 pin Exp $
+# $NetBSD: Makefile,v 1.1463 2020/06/20 15:13:56 nia Exp $
#
COMMENT= Packages related to the World Wide Web
@@ -99,6 +99,7 @@
SUBDIR+= epiphany
SUBDIR+= fcgi
SUBDIR+= fcgiwrap
+SUBDIR+= felinks
SUBDIR+= fengoffice
SUBDIR+= ffproxy
SUBDIR+= firefox
diff -r 0862ac3685b4 -r b804cd74f784 www/felinks/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/felinks/DESCR Sat Jun 20 15:13:56 2020 +0000
@@ -0,0 +1,6 @@
+ELinks is an advanced and well-established feature-rich text mode web
+(HTTP/FTP/..) browser. ELinks can render both frames and tables, is highly
+customizable and can be extended via scripts. It is very portable and runs
+on a variety of platforms.
+
+felinks is a fork of elinks.
diff -r 0862ac3685b4 -r b804cd74f784 www/felinks/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/felinks/Makefile Sat Jun 20 15:13:56 2020 +0000
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1 2020/06/20 15:13:56 nia Exp $
+
+DISTNAME= felinks-0.13.2
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_GITHUB:=rkd77/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/rkd77/felinks
+COMMENT= Fork of elinks, the text web browser
+LICENSE= gnu-gpl-v2
+
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+USE_TOOLS+= gmake pkg-config aclocal autoconf autoheader automake
+USE_TOOLS+= msgfmt xgettext
+
+pre-configure:
+ cd ${WRKSRC} && ${CONFIG_SHELL} autogen.sh
+
+post-install:
+ ${RM} -f ${DESTDIR}${PREFIX}/lib/charset.alias
+
+
+CONFIGURE_ARGS+= --datadir=${PREFIX}/share/${PKGBASE}
+CONFIGURE_ARGS+= --enable-256-colors
+CONFIGURE_ARGS+= --enable-utf-8
+CONFIGURE_ARGS+= --without-bzlib
+CONFIGURE_ARGS+= --without-lzma
+CONFIGURE_ARGS+= --without-lua
+
+.include "../../mk/bsd.prefs.mk"
+
+# for backtrace
+.if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h)
+LIBS+= -lexecinfo
+.endif
+
+.include "options.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/libidn/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../lang/lua/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0862ac3685b4 -r b804cd74f784 www/felinks/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/felinks/PLIST Sat Jun 20 15:13:56 2020 +0000
@@ -0,0 +1,38 @@
+@comment $NetBSD: PLIST,v 1.1 2020/06/20 15:13:56 nia Exp $
+bin/elinks
+man/man1/elinks.1
+man/man5/elinks.conf.5
+man/man5/elinkskeys.5
+share/felinks/locale/af/LC_MESSAGES/elinks.mo
+share/felinks/locale/be/LC_MESSAGES/elinks.mo
+share/felinks/locale/bg/LC_MESSAGES/elinks.mo
+share/felinks/locale/ca/LC_MESSAGES/elinks.mo
+share/felinks/locale/cs/LC_MESSAGES/elinks.mo
+share/felinks/locale/da/LC_MESSAGES/elinks.mo
+share/felinks/locale/de/LC_MESSAGES/elinks.mo
+share/felinks/locale/el/LC_MESSAGES/elinks.mo
+share/felinks/locale/es/LC_MESSAGES/elinks.mo
+share/felinks/locale/et/LC_MESSAGES/elinks.mo
+share/felinks/locale/fi/LC_MESSAGES/elinks.mo
+share/felinks/locale/fr/LC_MESSAGES/elinks.mo
+share/felinks/locale/gl/LC_MESSAGES/elinks.mo
+share/felinks/locale/hr/LC_MESSAGES/elinks.mo
+share/felinks/locale/hu/LC_MESSAGES/elinks.mo
+share/felinks/locale/id/LC_MESSAGES/elinks.mo
+share/felinks/locale/is/LC_MESSAGES/elinks.mo
+share/felinks/locale/it/LC_MESSAGES/elinks.mo
+share/felinks/locale/ja/LC_MESSAGES/elinks.mo
+share/felinks/locale/locale.alias
+share/felinks/locale/lt/LC_MESSAGES/elinks.mo
+share/felinks/locale/nb/LC_MESSAGES/elinks.mo
+share/felinks/locale/nl/LC_MESSAGES/elinks.mo
+share/felinks/locale/pl/LC_MESSAGES/elinks.mo
+share/felinks/locale/pt/LC_MESSAGES/elinks.mo
+share/felinks/locale/pt_BR/LC_MESSAGES/elinks.mo
+share/felinks/locale/ro/LC_MESSAGES/elinks.mo
+share/felinks/locale/ru/LC_MESSAGES/elinks.mo
+share/felinks/locale/sk/LC_MESSAGES/elinks.mo
+share/felinks/locale/sr/LC_MESSAGES/elinks.mo
+share/felinks/locale/sv/LC_MESSAGES/elinks.mo
+share/felinks/locale/tr/LC_MESSAGES/elinks.mo
+share/felinks/locale/uk/LC_MESSAGES/elinks.mo
diff -r 0862ac3685b4 -r b804cd74f784 www/felinks/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/felinks/distinfo Sat Jun 20 15:13:56 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/06/20 15:13:56 nia Exp $
+
+SHA1 (felinks-0.13.2.tar.gz) = 34d1ee729442b391422bf8a0485d3ae734dd38c8
+RMD160 (felinks-0.13.2.tar.gz) = 71b855c4d0a7383a57afa065b7f8e259f0d9ec98
+SHA512 (felinks-0.13.2.tar.gz) = 7136ad8d5bf1a7a5aa40f213815f62fb92cdd56f6ad7e45f0526a30d90885c7a1e40a72317d3bbe0da8222e2cfd5439b4778f60c5418ff130a7cae97402080d0
+Size (felinks-0.13.2.tar.gz) = 3588685 bytes
+SHA1 (patch-src_util_memory.c) = dc390442f65d7cee70d28d6a6cba5ee0981eb83a
diff -r 0862ac3685b4 -r b804cd74f784 www/felinks/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/felinks/options.mk Sat Jun 20 15:13:56 2020 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: options.mk,v 1.1 2020/06/20 15:13:56 nia Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.felinks
+PKG_OPTIONS_REQUIRED_GROUPS= tls
+PKG_OPTIONS_GROUP.tls= gnutls openssl
+PKG_SUGGESTED_OPTIONS= gnutls
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgnutls)
+. include "../../security/gnutls/buildlink3.mk"
+. include "../../security/libgcrypt/buildlink3.mk"
+CONFIGURE_ARGS+= --without-openssl
+.endif
+
+.if !empty(PKG_OPTIONS:Mopenssl)
+. include "../../security/openssl/buildlink3.mk"
+CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
+.endif
diff -r 0862ac3685b4 -r b804cd74f784 www/felinks/patches/patch-src_util_memory.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/felinks/patches/patch-src_util_memory.c Sat Jun 20 15:13:56 2020 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-src_util_memory.c,v 1.1 2020/06/20 15:13:56 nia Exp $
+
+Use macro to make mremap compatible to NetBSD
+
+--- src/util/memory.c.orig 2020-05-31 13:15:37.000000000 +0000
++++ src/util/memory.c
+@@ -21,6 +21,14 @@
+ #include "util/error.h"
+ #include "util/memory.h"
+
++#if defined(__NetBSD__)
++# define MREMAP(p, oldsz, newsz, f) mremap(p, oldsz, NULL, newsz, 0)
++# define MREMAP_MAYMOVE 0
++#else
++# define MREMAP(p, oldsz, newsz, f) mremap(p, oldsz, newsz, f)
++#endif
++
++
+
+ #if !defined(DEBUG_MEMLEAK) && !defined(CONFIG_FASTMEM)
+
+@@ -165,7 +173,7 @@ mem_mmap_realloc(void *p, size_t old_siz
+
+ if (new_size) {
+ #ifdef HAVE_MREMAP
+- void *p2 = mremap(p, round_size(old_size), round_size(new_size), MREMAP_MAYMOVE);
++ void *p2 = MREMAP(p, round_size(old_size), round_size(new_size), MREMAP_MAYMOVE);
+
+ if (p2 != MAP_FAILED)
+ return p2;
Home |
Main Index |
Thread Index |
Old Index