pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
First revision of felinks
Module Name: pkgsrc-wip
Committed By: Charlie Root <mayuresh%acm.org@localhost>
Pushed By: mayuresh
Date: Mon Jun 15 08:04:32 2020 +0530
Changeset: 09225a7caa64cb11c96a3f0abcb70237901f4b2c
Added Files:
felinks/DESCR
felinks/Makefile
felinks/PLIST
felinks/TODO
felinks/distinfo
felinks/patches/patch-src_util_memory.c
Log Message:
First revision of felinks
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=09225a7caa64cb11c96a3f0abcb70237901f4b2c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
felinks/DESCR | 6 +++++
felinks/Makefile | 44 +++++++++++++++++++++++++++++++++
felinks/PLIST | 39 +++++++++++++++++++++++++++++
felinks/TODO | 1 +
felinks/distinfo | 7 ++++++
felinks/patches/patch-src_util_memory.c | 28 +++++++++++++++++++++
6 files changed, 125 insertions(+)
diffs:
diff --git a/felinks/DESCR b/felinks/DESCR
new file mode 100644
index 0000000000..adfbcee2ca
--- /dev/null
+++ b/felinks/DESCR
@@ -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 --git a/felinks/Makefile b/felinks/Makefile
new file mode 100644
index 0000000000..8ec4aa41e9
--- /dev/null
+++ b/felinks/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD$
+
+GITHUB_PROJECT= felinks
+GITHUB_TAG= v0.13.2
+DISTNAME= v0.13.2
+PKGNAME= ${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_GITHUB:=rkd77/}
+DIST_SUBDIR= ${GITHUB_PROJECT}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/rkd77/felinks/
+COMMENT= Fork of elinks
+LICENSE= gnu-gpl-v2
+
+WRKSRC= ${WRKDIR}/felinks-0.13.2
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+USE_TOOLS+= gmake pkg-config aclocal autoconf autoheader automake
+
+pre-configure:
+ cd ${WRKSRC}; \
+ aclocal; autoheader; automake -a --foreign -i; autoconf
+
+CONFIGURE_ARGS+= --datadir=${PREFIX}/share/${PKGBASE}
+CONFIGURE_ARGS+= --enable-256-colors
+CONFIGURE_ARGS+= --enable-utf-8
+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 "../../archivers/bzip2/buildlink3.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 --git a/felinks/PLIST b/felinks/PLIST
new file mode 100644
index 0000000000..6cc32be0bc
--- /dev/null
+++ b/felinks/PLIST
@@ -0,0 +1,39 @@
+@comment $NetBSD$
+bin/elinks
+lib/charset.alias
+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 --git a/felinks/TODO b/felinks/TODO
new file mode 100644
index 0000000000..6e20759866
--- /dev/null
+++ b/felinks/TODO
@@ -0,0 +1 @@
+Makefile: set -e is standard practice in pre-configure. Was removed because of some errors which are supposedly like warnings.
diff --git a/felinks/distinfo b/felinks/distinfo
new file mode 100644
index 0000000000..6b482681c4
--- /dev/null
+++ b/felinks/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (felinks/v0.13.2.tar.gz) = 34d1ee729442b391422bf8a0485d3ae734dd38c8
+RMD160 (felinks/v0.13.2.tar.gz) = 71b855c4d0a7383a57afa065b7f8e259f0d9ec98
+SHA512 (felinks/v0.13.2.tar.gz) = 7136ad8d5bf1a7a5aa40f213815f62fb92cdd56f6ad7e45f0526a30d90885c7a1e40a72317d3bbe0da8222e2cfd5439b4778f60c5418ff130a7cae97402080d0
+Size (felinks/v0.13.2.tar.gz) = 3588685 bytes
+SHA1 (patch-src_util_memory.c) = 20422812957f5e7c6595eed6760c47157291e74b
diff --git a/felinks/patches/patch-src_util_memory.c b/felinks/patches/patch-src_util_memory.c
new file mode 100644
index 0000000000..cbc16b4ff0
--- /dev/null
+++ b/felinks/patches/patch-src_util_memory.c
@@ -0,0 +1,28 @@
+$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, p, newsz, f)
++# 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