diff options
author | M0Rf30 | 2016-08-26 10:10:55 +0200 |
---|---|---|
committer | M0Rf30 | 2016-08-26 10:10:55 +0200 |
commit | 99309f2fba221aac684fdb8029f8f8365aac615e (patch) | |
tree | da14695d40b4bda4bc0f54f2a13b0cdb055d75fe | |
parent | b9857951570bff0f215ec489700be96af40f97bb (diff) | |
download | aur-99309f2fba221aac684fdb8029f8f8365aac615e.tar.gz |
1.0.1
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 19 | ||||
-rw-r--r-- | libpam-google-authenticator.install | 2 |
3 files changed, 18 insertions, 13 deletions
@@ -1,8 +1,10 @@ +# Generated by mksrcinfo v8 +# Fri Aug 26 08:10:39 UTC 2016 pkgbase = libpam-google-authenticator pkgdesc = PAM module for google authenticator app - pkgver = 1.0 + pkgver = 1.01 pkgrel = 1 - url = https://code.google.com/p/google-authenticator/ + url = https://github.com/google/google-authenticator install = libpam-google-authenticator.install arch = i686 arch = x86_64 @@ -11,8 +13,8 @@ pkgbase = libpam-google-authenticator optdepends = qrencode: scannable QR codes for google auth phone app conflicts = google-authenticator-libpam-git conflicts = google-authenticator-libpam-hg - source = http://google-authenticator.googlecode.com/files/libpam-google-authenticator-1.0-source.tar.bz2 - md5sums = 9db0194fcae26a67dcedbcd49397e95e + source = https://github.com/google/google-authenticator/archive/master.zip + md5sums = SKIP pkgname = libpam-google-authenticator @@ -1,27 +1,30 @@ # Maintainer: M0Rf30 pkgname=libpam-google-authenticator -pkgver=1.0 +pkgver=1.01 pkgrel=1 pkgdesc='PAM module for google authenticator app' arch=('i686' 'x86_64') -url="https://code.google.com/p/google-authenticator/" +url="https://github.com/google/google-authenticator" license=('Apache') depends=('pam') optdepends=('qrencode: scannable QR codes for google auth phone app') conflicts=('google-authenticator-libpam-git' 'google-authenticator-libpam-hg') -source=("http://google-authenticator.googlecode.com/files/${pkgname}-${pkgver}-source.tar.bz2") +source=("https://github.com/google/google-authenticator/archive/master.zip") install=${pkgname}.install build() { - cd $srcdir/${pkgname}-${pkgver} + cd $srcdir/${pkgname#libpam-}-master + cd libpam + ./bootstrap.sh + ./configure --prefix=/usr make } package() { - cd $srcdir/$pkgname-$pkgver - install -D -m755 pam_google_authenticator.so "$pkgdir/usr/lib/security/pam_google_authenticator.so" - install -D -m755 google-authenticator "$pkgdir/usr/bin/google-authenticator" + cd $srcdir/${pkgname#libpam-}-master + cd libpam + make DESTDIR=$pkgdir install } -md5sums=('9db0194fcae26a67dcedbcd49397e95e') +md5sums=('SKIP') diff --git a/libpam-google-authenticator.install b/libpam-google-authenticator.install index fc91fa2bdfe9..ad6ec88499a1 100644 --- a/libpam-google-authenticator.install +++ b/libpam-google-authenticator.install @@ -1,5 +1,5 @@ post_install() { echo "Add this line to your PAM configuration file:" - echo "auth required pam_google_authenticator.so" + echo "auth required pam_google_authenticator.so no_increment_hotp" echo "Run the "google-authenticator" binary to create a new secret key in your home directory." } |