Last active
December 5, 2017 21:42
-
-
Save ephemient/07f419c8ccba0293b4081bbff9783550 to your computer and use it in GitHub Desktop.
pam_recent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgbase = pam_recent-git | |
pkgdesc = pam_recent is a small PAM module for making iptables' recent match more useful | |
pkgver = r12.9c942dc | |
pkgrel = 1 | |
url = https://github.com/az143/pam_recent | |
arch = x86_64 | |
license = GPL | |
provides = pam_recent | |
conflicts = pam_recent | |
source = git+https://github.com/az143/pam_recent.git | |
md5sums = SKIP | |
pkgname = pam_recent-git | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Daniel Lin <[email protected]> | |
pkgname=pam_recent-git | |
pkgver=r12.9c942dc | |
pkgrel=1 | |
pkgdesc="pam_recent is a small PAM module for making iptables' recent match more useful" | |
arch=('x86_64') | |
url="https://github.com/az143/pam_recent" | |
license=('GPL') | |
provides=('pam_recent') | |
conflicts=('pam_recent') | |
source=('git+https://github.com/az143/pam_recent.git') | |
md5sums=('SKIP') | |
pkgver() { | |
cd pam_recent | |
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)" | |
} | |
build() { | |
cd pam_recent | |
${CC:-cc} ${CPPFLAGS} ${CFLAGS} -shared -fPIC -Xlinker -x \ | |
-o pam_recent.so pam_recent.c -lpam | |
} | |
package() { | |
cd pam_recent | |
install -D -s -t "$pkgdir/usr/lib/security" pam_recent.so | |
install -D -m 644 -t "$pkgdir/usr/share/doc/$pkgname" README.md | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment