From 32a6ec828efeb4cf6d375dcb5897e0a45ac01d1a Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sun, 5 Sep 2021 14:41:07 +0200 Subject: [PATCH] git subrepo clone --branch=master https://aur.archlinux.org/physlock-dexterlb-git.git subrepo: subdir: "physlock-dexterlb-git" merged: "05ad0d6" upstream: origin: "https://aur.archlinux.org/physlock-dexterlb-git.git" branch: "master" commit: "05ad0d6" git-subrepo: version: "0.4.3" origin: "???" commit: "???" --- physlock-dexterlb-git/.SRCINFO | 19 ++++++++++++++++ physlock-dexterlb-git/.gitrepo | 12 ++++++++++ physlock-dexterlb-git/PKGBUILD | 35 ++++++++++++++++++++++++++++++ physlock-dexterlb-git/physlock.pam | 5 +++++ 4 files changed, 71 insertions(+) create mode 100644 physlock-dexterlb-git/.SRCINFO create mode 100644 physlock-dexterlb-git/.gitrepo create mode 100644 physlock-dexterlb-git/PKGBUILD create mode 100644 physlock-dexterlb-git/physlock.pam diff --git a/physlock-dexterlb-git/.SRCINFO b/physlock-dexterlb-git/.SRCINFO new file mode 100644 index 0000000..05229b8 --- /dev/null +++ b/physlock-dexterlb-git/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = physlock-dexterlb-git + pkgdesc = Lightweight linux console locking tool. A Fork allowing commands before and after lock + pkgver = v13.r5.ge4df70c + pkgrel = 1 + url = https://github.com/DexterLB/physlock + arch = x86_64 + license = GPL + makedepends = git + depends = pam + depends = systemd-libs + provides = physlock + conflicts = physlock + source = physlock::git+https://github.com/DexterLB/physlock.git + source = physlock.pam + sha512sums = SKIP + sha512sums = 51f35b2b736d8b601a6ea42c038ab0f498225ce4e392eeb35fdcec4a51a7a492a836de451a28565a27dea694a4a29ac4de7ea2c8852bba63cad58710641557fe + +pkgname = physlock-dexterlb-git + diff --git a/physlock-dexterlb-git/.gitrepo b/physlock-dexterlb-git/.gitrepo new file mode 100644 index 0000000..336a46c --- /dev/null +++ b/physlock-dexterlb-git/.gitrepo @@ -0,0 +1,12 @@ +; DO NOT EDIT (unless you know what you are doing) +; +; This subdirectory is a git "subrepo", and this file is maintained by the +; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme +; +[subrepo] + remote = https://aur.archlinux.org/physlock-dexterlb-git.git + branch = master + commit = 05ad0d613fbc2109bd738d61db02b283a8326a8c + parent = 9ffa5455801935c40012a66c353e94a477645b9f + method = merge + cmdver = 0.4.3 diff --git a/physlock-dexterlb-git/PKGBUILD b/physlock-dexterlb-git/PKGBUILD new file mode 100644 index 0000000..bf4df42 --- /dev/null +++ b/physlock-dexterlb-git/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Cullen Ross + +pkgname=physlock-dexterlb-git +_pkgname='physlock' +pkgver=v13.r5.ge4df70c +pkgrel=1 +pkgdesc="Lightweight linux console locking tool. A Fork allowing commands before and after lock" +arch=('x86_64') +license=('GPL') +url="https://github.com/DexterLB/physlock" +depends=('pam' 'systemd-libs') +makedepends=('git') +provides=('physlock') +conflicts=('physlock') +source=("${_pkgname}::git+${url}.git" + 'physlock.pam') +sha512sums=('SKIP' + '51f35b2b736d8b601a6ea42c038ab0f498225ce4e392eeb35fdcec4a51a7a492a836de451a28565a27dea694a4a29ac4de7ea2c8852bba63cad58710641557fe') + +pkgver() { + cd "$_pkgname" + ( set -o pipefail + git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + ) +} + +build() { + make PREFIX="/usr" -C "${_pkgname}" +} + +package() { + install -D -m 644 physlock.pam "$pkgdir/etc/pam.d/physlock" + make DESTDIR="${pkgdir}" PREFIX="/usr" -C "${_pkgname}" install +} diff --git a/physlock-dexterlb-git/physlock.pam b/physlock-dexterlb-git/physlock.pam new file mode 100644 index 0000000..08498b4 --- /dev/null +++ b/physlock-dexterlb-git/physlock.pam @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth required pam_unix.so +account required pam_unix.so +password required pam_unix.so +session required pam_unix.so