summaryrefslogtreecommitdiff
path: root/doas
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 /doas
add ports
Ahhh! I forgot to put these under a git repo. :(
Diffstat (limited to 'doas')
-rw-r--r--doas/.footprint9
-rw-r--r--doas/.md5sum1
-rw-r--r--doas/Pkgfile22
3 files changed, 32 insertions, 0 deletions
diff --git a/doas/.footprint b/doas/.footprint
new file mode 100644
index 0000000..a92d2a5
--- /dev/null
+++ b/doas/.footprint
@@ -0,0 +1,9 @@
1drwxr-xr-x root/root usr/
2drwxr-xr-x root/root usr/bin/
3-rwsr-xr-x root/root usr/bin/doas
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/doas.1.gz
8drwxr-xr-x root/root usr/share/man/man5/
9-rw-r--r-- root/root usr/share/man/man5/doas.conf.5.gz
diff --git a/doas/.md5sum b/doas/.md5sum
new file mode 100644
index 0000000..597ffd0
--- /dev/null
+++ b/doas/.md5sum
@@ -0,0 +1 @@
ebf9f1c87782afdbffd58676f4c8a353 opendoas-6.8.1.tar.xz
diff --git a/doas/Pkgfile b/doas/Pkgfile
new file mode 100644
index 0000000..93feb65
--- /dev/null
+++ b/doas/Pkgfile
@@ -0,0 +1,22 @@
1# Description: Portable fork of OpenBSD's doas command
2# URL: https://github.com/Duncaen/OpenDoas/
3# Maintainer: Shokara Kou, shokara at kalli dot st
4# Depends on: bzip2 xz zlib zstd libevent
5
6name=doas
7version=6.8.1
8release=1
9source=(https://github.com/Duncaen/OpenDoas/releases/download/v$version/opendoas-$version.tar.xz)
10
11build() {
12 cd opendoas-$version
13
14 ./configure \
15 --prefix=/usr \
16 --without-pam \
17 --with-shadow \
18 --with-timestamp
19
20 make
21 make DESTDIR=$PKG install
22}