aboutsummaryrefslogtreecommitdiff
path: root/core/otools
diff options
context:
space:
mode:
Diffstat (limited to 'core/otools')
-rwxr-xr-xcore/otools/build13
-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, 38 insertions, 7 deletions
diff --git a/core/otools/build b/core/otools/build
index 45da9bf9..b90aeebe 100755
--- a/core/otools/build
+++ b/core/otools/build
@@ -1,5 +1,12 @@
#!/bin/sh -e
-FTS=0; cpt l musl-fts && FTS=1
-make LDFLAGS=-static FTS="$FTS"
-make PREFIX=/usr DESTDIR="$1" install
+export LDFLAGS="$LDFLAGS -static"
+
+./configure \
+ --prefix=/usr \
+ --with-system-zlib
+
+make
+make DESTDIR="$1" install
+
+clinst -Dm644 doas.conf "$1/etc/doas.conf"
diff --git a/core/otools/checksums b/core/otools/checksums
index 64665836..c0a29e02 100644
--- a/core/otools/checksums
+++ b/core/otools/checksums
@@ -1 +1,3 @@
-15a9b90919b7eaf28a64818c4c843108d7c7565027f6e33b0d99e9c256a6646d otools-1.3.1.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 bbd657bd..69487f32 100644
--- a/core/otools/sources
+++ b/core/otools/sources
@@ -1 +1,2 @@
-https://git.carbslinux.org/otools/snapshot/otools-1.3.1.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 957d07e2..0872adad 100644
--- a/core/otools/version
+++ b/core/otools/version
@@ -1 +1 @@
-1.3.1 1
+1.5.1 1