diff options
author | Mohamed Hammad | 2024-10-26 12:55:50 +0300 |
---|---|---|
committer | Mohamed Hammad | 2024-10-26 12:55:50 +0300 |
commit | ad7739058ee591b6746171b041505d45dab5b4bc (patch) | |
tree | c83af2dc66eb25e6cef7ee2d60231bd5c57f514c | |
parent | fe3daff1e0ebb2d61fba18653ad2f9146598ab6e (diff) | |
download | aur-ad7739058ee591b6746171b041505d45dab5b4bc.tar.gz |
Updated to version 6.3p12
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 26 | ||||
-rw-r--r-- | doas.install | 2 |
3 files changed, 20 insertions, 16 deletions
@@ -1,6 +1,6 @@ pkgbase = doas - pkgdesc = A port of OpenBSD's doas(1), an alternative to sudo(1) - pkgver = 6.3p6 + pkgdesc = A port of OpenBSD's doas (an alternative to sudo) which runs on FreeBSD, Linux, NetBSD, and illumos + pkgver = 6.3p12 pkgrel = 1 url = https://github.com/slicer69/doas install = doas.install @@ -16,10 +16,10 @@ pkgbase = doas conflicts = opendoas-git backup = etc/doas.conf backup = etc/pam.d/doas - source = doas-6.3p6.tar.gz::https://github.com/slicer69/doas/archive/6.3p6.tar.gz + source = doas-6.3p12.tar.gz::https://github.com/slicer69/doas/archive/6.3p12.tar.gz source = doas-pam source = doas.conf - sha256sums = aa6f5d686942d9148506634e7b84af561af2564b689a287434023b1f272c064a + sha256sums = e4f37745345c12d4e0c8c03c8237791729cf047dbd7b2455f8de60e2f82ac1b0 sha256sums = b064704fb3448c3511904c3963b0e167ecf6274aea48afb9c42d452447dfd042 sha256sums = 1f28802fad6ae0eaa5b94bb8d945ada923631ddfb7ae63e934962dbe41774976 @@ -1,9 +1,11 @@ -# Maintainer: scrouthtv <scrouthtv 0x40 gmail 0x2e com> +# Maintainer: Mohamed Hammad <mj 0x40 s3cure 0x2e me> +# Contributor: scrouthtv <scrouthtv 0x40 gmail 0x2e com> # Contributor: Stephen Gregoratto <dev at sgregoratto dot me> + pkgname=doas -pkgver=6.3p6 +pkgver=6.3p12 pkgrel=1 -pkgdesc="A port of OpenBSD's doas(1), an alternative to sudo(1)" +pkgdesc="A port of OpenBSD's doas (an alternative to sudo) which runs on FreeBSD, Linux, NetBSD, and illumos" license=('BSD') url="https://github.com/slicer69/doas" arch=('i686' 'x86_64' 'armv6h' 'armv7h') @@ -17,22 +19,24 @@ changelog="doas.changelog" conflicts=('opendoas' 'opendoas-git') source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz" 'doas-pam' - 'doas.conf') -sha256sums=('aa6f5d686942d9148506634e7b84af561af2564b689a287434023b1f272c064a' + 'doas.conf') +sha256sums=('e4f37745345c12d4e0c8c03c8237791729cf047dbd7b2455f8de60e2f82ac1b0' 'b064704fb3448c3511904c3963b0e167ecf6274aea48afb9c42d452447dfd042' '1f28802fad6ae0eaa5b94bb8d945ada923631ddfb7ae63e934962dbe41774976') build() { - cd "$pkgname-$pkgver" + cd "${pkgname}-${pkgver}" make } package() { - install -Dm644 "doas-pam" "$pkgdir/etc/pam.d/doas" - install -Dm644 "doas.conf" "$pkgdir/etc/doas.conf" - cd "$pkgname-$pkgver" - make PREFIX="/usr" DESTDIR="$pkgdir" MANDIR="$pkgdir/usr/share/man" install - install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 "doas-pam" "${pkgdir}/etc/pam.d/doas" + install -Dm644 "doas.conf" "${pkgdir}/etc/doas.conf" + mkdir -p ${pkgdir}/usr/local/etc + ln -s /etc/doas.conf ${pkgdir}/usr/local/etc/doas.conf + cd "${pkgname}-${pkgver}" + make PREFIX="/usr" DESTDIR="${pkgdir}" MANDIR="${pkgdir}/usr/share/man" install + install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } post_install() { diff --git a/doas.install b/doas.install index 755d4780292f..5e0b5ba72d2f 100644 --- a/doas.install +++ b/doas.install @@ -1,4 +1,4 @@ post_install() { - echo " >> Edit the configuration in /etc/doas.conf" + echo " >> Edit the configuration in doas.conf" echo " >> by adding your username or other values" } |