diff options
author | iggy <iggy@theiggy.com> | 2019-04-13 11:39:19 -0700 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-04-15 10:52:13 +0000 |
commit | fb7dac9ae86ff3b7918d6a2b3c615457fb521a6c (patch) | |
tree | 38643b8e38d82ad9b9604b4fb417b2c8a3caca29 /testing/oath-toolkit | |
parent | 296f36d7b68f97dd7a0466f5c3868d50f4b32543 (diff) | |
download | aports-fb7dac9ae86ff3b7918d6a2b3c615457fb521a6c.tar.bz2 aports-fb7dac9ae86ff3b7918d6a2b3c615457fb521a6c.tar.xz |
community/oath-toolkit: move from testing
It's required as a dependency for ceph. It requires a patch to compile
with gcc 7.
Diffstat (limited to 'testing/oath-toolkit')
-rw-r--r-- | testing/oath-toolkit/APKBUILD | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/testing/oath-toolkit/APKBUILD b/testing/oath-toolkit/APKBUILD deleted file mode 100644 index a8ecc12284..0000000000 --- a/testing/oath-toolkit/APKBUILD +++ /dev/null @@ -1,66 +0,0 @@ -# Contributor: Jann - Ove Risvik <jann.ove@dev.usaklig.com> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=oath-toolkit -pkgver=2.6.2 -pkgrel=0 -pkgdesc="OATH Toolkit One-time password components" -url="http://www.nongnu.org/oath-toolkit/index.html" -arch="all" -license="various" -depends="perl cvs diffutils" -makedepends="linux-pam-dev libxml2-dev xmlsec-dev autoconf automake libtool gtk-doc" -subpackages="$pkgname-dev $pkgname-doc $pkgname-liboath $pkgname-libpskc $pkgname-oathtool $pkgname-pam_oath" -source="https://download.savannah.gnu.org/releases/oath-toolkit/oath-toolkit-${pkgver}.tar.gz" -builddir="oath-toolkit-${pkgver}" - -build() { - cd "$srcdir/$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var - make -} - -package() { - cd "$srcdir/$builddir" - make DESTDIR="$pkgdir" install -} - -liboath() { - pkgdesc="A shared and static C library for OATH handling." - license="LGPL-2.1-or-later" - mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/liboath.so* "$subpkgdir"/usr/lib -} - -libpskc() { - pkgdesc="Library for Portable Symmetric Key Container" - license="LGPL-2.1-or-later" - mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/libpskc.so* "$subpkgdir"/usr/lib -} - - - -oathtool() { - depends="oath-toolkit-liboath" - pkgdesc="A command line tool for generating and validating OTPs." - license="GPL-3.0-or-later" - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/oathtool "$subpkgdir"/usr/bin -} - -pam_oath() { - depends="oath-toolkit-liboath" - license="GPL-3.0-or-later" - pkgdesc="A PAM module for pluggable login authentication for OATH." - mkdir -p "$subpkgdir"/lib/security - mv "$pkgdir"/usr/lib/security/pam_oath.so "$subpkgdir"/lib/security -} - - -sha512sums="201a702a05a2e9fb3a66d04750e1a34e293342126caf02c344954a0d9fd0daafe73ca7f1fe273be129ae555a29b82b72fa2b4770ea2ad10711924e1926ec2cfb oath-toolkit-2.6.2.tar.gz" |