pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www
Module Name: pkgsrc
Committed By: nia
Date: Sat Jun 20 15:13:57 UTC 2020
Modified Files:
pkgsrc/www: Makefile
Added Files:
pkgsrc/www/felinks: DESCR Makefile PLIST distinfo options.mk
pkgsrc/www/felinks/patches: patch-src_util_memory.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.1462 -r1.1463 pkgsrc/www/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/www/felinks/DESCR pkgsrc/www/felinks/Makefile \
pkgsrc/www/felinks/PLIST pkgsrc/www/felinks/distinfo \
pkgsrc/www/felinks/options.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/www/felinks/patches/patch-src_util_memory.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/Makefile
diff -u pkgsrc/www/Makefile:1.1462 pkgsrc/www/Makefile:1.1463
--- pkgsrc/www/Makefile:1.1462 Tue Jun 16 09:14:21 2020
+++ pkgsrc/www/Makefile Sat Jun 20 15:13:56 2020
@@ -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+= emacs-w3m-snapshot
SUBDIR+= epiphany
SUBDIR+= fcgi
SUBDIR+= fcgiwrap
+SUBDIR+= felinks
SUBDIR+= fengoffice
SUBDIR+= ffproxy
SUBDIR+= firefox
Added files:
Index: pkgsrc/www/felinks/DESCR
diff -u /dev/null pkgsrc/www/felinks/DESCR:1.1
--- /dev/null Sat Jun 20 15:13:57 2020
+++ pkgsrc/www/felinks/DESCR Sat Jun 20 15:13:56 2020
@@ -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.
Index: pkgsrc/www/felinks/Makefile
diff -u /dev/null pkgsrc/www/felinks/Makefile:1.1
--- /dev/null Sat Jun 20 15:13:57 2020
+++ pkgsrc/www/felinks/Makefile Sat Jun 20 15:13:56 2020
@@ -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"
Index: pkgsrc/www/felinks/PLIST
diff -u /dev/null pkgsrc/www/felinks/PLIST:1.1
--- /dev/null Sat Jun 20 15:13:57 2020
+++ pkgsrc/www/felinks/PLIST Sat Jun 20 15:13:56 2020
@@ -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
Index: pkgsrc/www/felinks/distinfo
diff -u /dev/null pkgsrc/www/felinks/distinfo:1.1
--- /dev/null Sat Jun 20 15:13:57 2020
+++ pkgsrc/www/felinks/distinfo Sat Jun 20 15:13:56 2020
@@ -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
Index: pkgsrc/www/felinks/options.mk
diff -u /dev/null pkgsrc/www/felinks/options.mk:1.1
--- /dev/null Sat Jun 20 15:13:57 2020
+++ pkgsrc/www/felinks/options.mk Sat Jun 20 15:13:56 2020
@@ -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
Index: pkgsrc/www/felinks/patches/patch-src_util_memory.c
diff -u /dev/null pkgsrc/www/felinks/patches/patch-src_util_memory.c:1.1
--- /dev/null Sat Jun 20 15:13:57 2020
+++ pkgsrc/www/felinks/patches/patch-src_util_memory.c Sat Jun 20 15:13:56 2020
@@ -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