summaryrefslogtreecommitdiff
path: root/xlinks
diff options
context:
space:
mode:
authorShokara Kou <shokara@kalli.st>2021-12-12 18:11:20 -0500
committerShokara Kou <shokara@kalli.st>2021-12-12 18:11:20 -0500
commitac0a30b7d44952b8faf4ac3c4e521ee2dff04135 (patch)
treeb501a0a8b6f2ea2532bae287c9545cf5400d9aac /xlinks
add ports
Ahhh! I forgot to put these under a git repo. :(
Diffstat (limited to 'xlinks')
-rw-r--r--xlinks/.footprint7
-rw-r--r--xlinks/.md5sum2
-rw-r--r--xlinks/0001-disable-automatic-tor.patch13
-rw-r--r--xlinks/Pkgfile26
4 files changed, 48 insertions, 0 deletions
diff --git a/xlinks/.footprint b/xlinks/.footprint
new file mode 100644
index 0000000..a850915
--- /dev/null
+++ b/xlinks/.footprint
@@ -0,0 +1,7 @@
1drwxr-xr-x root/root usr/
2drwxr-xr-x root/root usr/bin/
3-rwxr-xr-x root/root usr/bin/links
4drwxr-xr-x root/root usr/share/
5drwxr-xr-x root/root usr/share/man/
6drwxr-xr-x root/root usr/share/man/man1/
7-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 @@
1d52689e30db07358b04d67cd19179294 0001-disable-automatic-tor.patch
22aa45c8827d9210e936ee91b5b8801b9 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 @@
1--- menu.c 2021-12-08 16:31:03.737344796 -0500
2+++ menu.c.new 2021-12-08 16:31:07.939344366 -0500
3@@ -2086,10 +2086,6 @@
4 if (p) {
5 p++;
6 lp = strtol(cast_const_char p, &end, 10);
7- if (!*end && lp == 9050) {
8- proxies.only_proxies = 1;
9- 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);
10- }
11 }
12 }
13
diff --git a/xlinks/Pkgfile b/xlinks/Pkgfile
new file mode 100644
index 0000000..11056b4
--- /dev/null
+++ b/xlinks/Pkgfile
@@ -0,0 +1,26 @@
1# Description: text mode web browser
2# URL: http://links.twibright.com/
3# Maintainer: Shokara Kou, shokara at kalli dot st
4# Depends on: bzip2 xz zlib zstd libevent
5
6name=xlinks
7version=2.25
8release=2
9source=(http://links.twibright.com/download/links-$version.tar.bz2
10 0001-disable-automatic-tor.patch)
11
12build() {
13 cd links-$version
14
15 patch < ../0001-disable-automatic-tor.patch
16
17 ./configure \
18 --prefix=/usr \
19 --mandir=/usr/share/man \
20 --enable-graphics \
21 --with-svgalib \
22 --with-x
23
24 make
25 make DESTDIR=$PKG install
26}