From ac0a30b7d44952b8faf4ac3c4e521ee2dff04135 Mon Sep 17 00:00:00 2001 From: Shokara Kou Date: Sun, 12 Dec 2021 18:11:20 -0500 Subject: add ports Ahhh! I forgot to put these under a git repo. :( --- xlinks/.footprint | 7 +++++++ xlinks/.md5sum | 2 ++ xlinks/0001-disable-automatic-tor.patch | 13 +++++++++++++ xlinks/Pkgfile | 26 ++++++++++++++++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 xlinks/.footprint create mode 100644 xlinks/.md5sum create mode 100644 xlinks/0001-disable-automatic-tor.patch create mode 100644 xlinks/Pkgfile (limited to 'xlinks') diff --git a/xlinks/.footprint b/xlinks/.footprint new file mode 100644 index 0000000..a850915 --- /dev/null +++ b/xlinks/.footprint @@ -0,0 +1,7 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/links +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/links.1.gz diff --git a/xlinks/.md5sum b/xlinks/.md5sum new file mode 100644 index 0000000..a95e8f3 --- /dev/null +++ b/xlinks/.md5sum @@ -0,0 +1,2 @@ +d52689e30db07358b04d67cd19179294 0001-disable-automatic-tor.patch +2aa45c8827d9210e936ee91b5b8801b9 links-2.25.tar.bz2 diff --git a/xlinks/0001-disable-automatic-tor.patch b/xlinks/0001-disable-automatic-tor.patch new file mode 100644 index 0000000..6f49954 --- /dev/null +++ b/xlinks/0001-disable-automatic-tor.patch @@ -0,0 +1,13 @@ +--- menu.c 2021-12-08 16:31:03.737344796 -0500 ++++ menu.c.new 2021-12-08 16:31:07.939344366 -0500 +@@ -2086,10 +2086,6 @@ + if (p) { + p++; + lp = strtol(cast_const_char p, &end, 10); +- if (!*end && lp == 9050) { +- proxies.only_proxies = 1; +- msg_box(term, NULL, TEXT_(T_PROXIES), AL_LEFT, TEXT_(T_TOR_MODE_ENABLED), MSG_BOX_END, NULL, 1, TEXT_(T_OK), msg_box_null, B_ENTER | B_ESC); +- } + } + } + diff --git a/xlinks/Pkgfile b/xlinks/Pkgfile new file mode 100644 index 0000000..11056b4 --- /dev/null +++ b/xlinks/Pkgfile @@ -0,0 +1,26 @@ +# Description: text mode web browser +# URL: http://links.twibright.com/ +# Maintainer: Shokara Kou, shokara at kalli dot st +# Depends on: bzip2 xz zlib zstd libevent + +name=xlinks +version=2.25 +release=2 +source=(http://links.twibright.com/download/links-$version.tar.bz2 + 0001-disable-automatic-tor.patch) + +build() { + cd links-$version + + patch < ../0001-disable-automatic-tor.patch + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --enable-graphics \ + --with-svgalib \ + --with-x + + make + make DESTDIR=$PKG install +} -- cgit v1.2.3