aboutsummaryrefslogtreecommitdiff
path: root/core/otools
diff options
context:
space:
mode:
Diffstat (limited to 'core/otools')
-rwxr-xr-xcore/otools/build12
-rw-r--r--core/otools/checksums4
-rw-r--r--core/otools/depends3
-rw-r--r--core/otools/files/doas.conf17
-rw-r--r--core/otools/meta3
-rw-r--r--core/otools/sources3
-rw-r--r--core/otools/version2
7 files changed, 36 insertions, 8 deletions
diff --git a/core/otools/build b/core/otools/build
index 71b410c4..b90aeebe 100755
--- a/core/otools/build
+++ b/core/otools/build
@@ -1,8 +1,12 @@
#!/bin/sh -e
-:> testfile
-less -F -T testfile testfile 2>/dev/null && echo CFLAGS += -DHAVE_LESS_T >> config.mk
-rm -f testfile
+export LDFLAGS="$LDFLAGS -static"
+
+./configure \
+ --prefix=/usr \
+ --with-system-zlib
make
-make PREFIX=/usr DESTDIR="$1" install
+make DESTDIR="$1" install
+
+clinst -Dm644 doas.conf "$1/etc/doas.conf"
diff --git a/core/otools/checksums b/core/otools/checksums
index 75b20da9..c0a29e02 100644
--- a/core/otools/checksums
+++ b/core/otools/checksums
@@ -1 +1,3 @@
-117ec008b3f33ee7f674ff99f5f2ce589cb2eb3d83706bab61ef281d48ee2d9f 1.2.tar.gz
+%BLAKE3
+fa653d1da088694c1f5c12135b2dfceddcb490cc9a4fb292f14234e0714954f5 otools-1.5.1.tar.gz
+c65711680a15cf51a32771ed0a6a09a4e09332d7e07d6b37090f5b1fb5684545 doas.conf
diff --git a/core/otools/depends b/core/otools/depends
index 0c25cd78..cc6cc869 100644
--- a/core/otools/depends
+++ b/core/otools/depends
@@ -1,2 +1,3 @@
-libtls-bearssl make
+cl-utils make
+libressl make
zlib make
diff --git a/core/otools/files/doas.conf b/core/otools/files/doas.conf
new file mode 100644
index 00000000..7f84cea7
--- /dev/null
+++ b/core/otools/files/doas.conf
@@ -0,0 +1,17 @@
+# /etc/doas.conf
+# See doas.conf(5) for details.
+
+# Allow root to do anything by default
+permit nopass root
+
+# This is required if you want to use cpt with 'doas'
+# permit :wheel cmd env
+#
+# Same without asking password
+# permit nopass :wheel cmd env
+
+# In order to accept all commands
+# permit :wheel
+#
+# Same without asking password
+# permit nopass :wheel
diff --git a/core/otools/meta b/core/otools/meta
new file mode 100644
index 00000000..9251a6df
--- /dev/null
+++ b/core/otools/meta
@@ -0,0 +1,3 @@
+description: Ports of OpenBSD mandoc, doas, signify, pax, and more
+license: BSD-3-Clause
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/core/otools/sources b/core/otools/sources
index 5865d4e4..69487f32 100644
--- a/core/otools/sources
+++ b/core/otools/sources
@@ -1 +1,2 @@
-https://github.com/CarbsLinux/otools/archive/1.2.tar.gz
+https://git.carbslinux.org/otools/snapshot/otools-1.5.1.tar.gz
+files/doas.conf
diff --git a/core/otools/version b/core/otools/version
index f76d8346..0872adad 100644
--- a/core/otools/version
+++ b/core/otools/version
@@ -1 +1 @@
-1.2 1
+1.5.1 1