[arch-commits] Commit in lib32-libxcrypt/repos/multilib-x86_64 (3 files)
Alexander Epaneshnikov
alex19ep at gemini.archlinux.org
Tue Aug 2 17:23:51 UTC 2022
Date: Tuesday, August 2, 2022 @ 17:23:50
Author: alex19ep
Revision: 1259854
archrelease: copy trunk to multilib-x86_64
Added:
lib32-libxcrypt/repos/multilib-x86_64/PKGBUILD
(from rev 1259853, lib32-libxcrypt/trunk/PKGBUILD)
lib32-libxcrypt/repos/multilib-x86_64/keys/
Deleted:
lib32-libxcrypt/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 101 ++++++++++++++++++++++++++++++++++++-------------------------
1 file changed, 61 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-02 17:23:47 UTC (rev 1259853)
+++ PKGBUILD 2022-08-02 17:23:50 UTC (rev 1259854)
@@ -1,40 +0,0 @@
-# Maintainer: Christian Hesse <mail at eworm.de>
-
-pkgname=lib32-libxcrypt
-pkgver=4.4.28
-pkgrel=1
-pkgdesc='Modern library for one-way hashing of passwords (32-bit)'
-arch=('x86_64')
-url='https://github.com/besser82/libxcrypt/'
-license=('GPL')
-depends=('lib32-glibc' 'libxcrypt')
-makedepends=('gcc-multilib')
-validpgpkeys=('678CE3FEE430311596DB8C16F52E98007594C21D') # Björn 'besser82' Esser
-source=("${url}/releases/download/v${pkgver}/libxcrypt-${pkgver}.tar.xz"{,.asc})
-sha256sums=('9e936811f9fad11dbca33ca19bd97c55c52eb3ca15901f27ade046cc79e69e87'
- 'SKIP')
-
-build() {
- cd "${srcdir}/libxcrypt-${pkgver}"
-
- export CC="gcc -m32"
- export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
- ./configure \
- --prefix=/usr \
- --libdir=/usr/lib32 \
- --libexecdir=/usr/lib32 \
- --disable-static \
- --enable-hashes=strong,glibc \
- --enable-obsolete-api=no \
- --disable-failure-tokens
- make
-}
-
-package() {
- cd "${srcdir}/libxcrypt-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-
- rm -rf "${pkgdir}"/usr/{bin,include,share}
-}
Copied: lib32-libxcrypt/repos/multilib-x86_64/PKGBUILD (from rev 1259853, lib32-libxcrypt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-02 17:23:50 UTC (rev 1259854)
@@ -0,0 +1,61 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgbase=lib32-libxcrypt
+pkgname=(lib32-libxcrypt lib32-libxcrypt-compat)
+pkgver=4.4.28
+pkgrel=2
+pkgdesc='Modern library for one-way hashing of passwords (32-bit)'
+arch=('x86_64')
+url='https://github.com/besser82/libxcrypt/'
+license=('GPL')
+depends=('lib32-glibc' 'libxcrypt')
+makedepends=('gcc-multilib')
+validpgpkeys=('678CE3FEE430311596DB8C16F52E98007594C21D') # Björn 'besser82' Esser
+source=("${url}/releases/download/v${pkgver}/libxcrypt-${pkgver}.tar.xz"{,.asc})
+sha256sums=('9e936811f9fad11dbca33ca19bd97c55c52eb3ca15901f27ade046cc79e69e87'
+ 'SKIP')
+
+build() {
+ export CC="gcc -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ mkdir build-libxcrypt build-libxcrypt-compat
+ cd "${srcdir}/build-libxcrypt/"
+ "${srcdir}/libxcrypt-${pkgver}"/configure \
+ --prefix=/usr \
+ --libdir=/usr/lib32 \
+ --libexecdir=/usr/lib32 \
+ --disable-static \
+ --enable-hashes=strong,glibc \
+ --enable-obsolete-api=no \
+ --disable-failure-tokens
+ make
+
+ cd "${srcdir}/build-libxcrypt-compat/"
+ "${srcdir}/libxcrypt-${pkgver}"/configure \
+ --prefix=/usr \
+ --libdir=/usr/lib32 \
+ --libexecdir=/usr/lib32 \
+ --disable-static \
+ --enable-hashes=strong,glibc \
+ --enable-obsolete-api=glibc \
+ --disable-failure-tokens
+ make
+}
+
+package_lib32-libxcrypt() {
+ cd build-libxcrypt/
+
+ make DESTDIR="${pkgdir}" install
+
+ rm -rf "${pkgdir}"/usr/{bin,include,share}
+}
+
+package_lib32-libxcrypt-compat() {
+ pkgdesc='Modern library for one-way hashing of passwords - legacy API functions (32bit)'
+ depends=('lib32-libxcrypt')
+
+ cd build-libxcrypt-compat/
+ make DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/usr/{include,lib32/{lib*.so,pkgconfig},share}
+}
More information about the arch-commits
mailing list