[arch-commits] Commit in libxcrypt/repos/testing-x86_64 (3 files)
Christian Hesse
eworm at archlinux.org
Mon Jun 7 15:19:01 UTC 2021
Date: Monday, June 7, 2021 @ 15:19:00
Author: eworm
Revision: 417294
archrelease: copy trunk to testing-x86_64
Added:
libxcrypt/repos/testing-x86_64/PKGBUILD
(from rev 417293, libxcrypt/trunk/PKGBUILD)
libxcrypt/repos/testing-x86_64/libxcrypt.install
(from rev 417293, libxcrypt/trunk/libxcrypt.install)
Deleted:
libxcrypt/repos/testing-x86_64/PKGBUILD
-------------------+
PKGBUILD | 87 ++++++++++++++++++++++++++--------------------------
libxcrypt.install | 15 ++++++++
2 files changed, 59 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-07 15:18:58 UTC (rev 417293)
+++ PKGBUILD 2021-06-07 15:19:00 UTC (rev 417294)
@@ -1,43 +0,0 @@
-# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-
-pkgname=libxcrypt
-# Neither tarballs nor tags are signed, but commits are.
-_commit='3df9620d08db207367c0c5152148665b5ce422e1' # git rev-parse v${pkgver}
-pkgver=4.4.22
-pkgrel=2
-pkgdesc='Modern library for one-way hashing of passwords'
-arch=('x86_64')
-url='https://github.com/besser82/libxcrypt/'
-license=('GPL')
-depends=('glibc')
-makedepends=('git')
-provides=('libcrypt.so')
-validpgpkeys=('678CE3FEE430311596DB8C16F52E98007594C21D') # Björn 'besser82' Esser
-source=("git+https://github.com/besser82/libxcrypt.git#commit=${_commit}?signed")
-sha256sums=('SKIP')
-
-prepare() {
- cd $pkgname
- autoreconf -fi
-}
-
-build() {
- cd $pkgname
- ./configure \
- --prefix=/usr \
- --disable-static \
- --enable-hashes=strong,glibc \
- --enable-obsolete-api=no \
- --disable-failure-tokens
- make
-}
-
-check() {
- cd $pkgname
- make check
-}
-
-package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
-}
Copied: libxcrypt/repos/testing-x86_64/PKGBUILD (from rev 417293, libxcrypt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-06-07 15:19:00 UTC (rev 417294)
@@ -0,0 +1,44 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=libxcrypt
+# Neither tarballs nor tags are signed, but commits are.
+_commit='3df9620d08db207367c0c5152148665b5ce422e1' # git rev-parse v${pkgver}
+pkgver=4.4.22
+pkgrel=3
+pkgdesc='Modern library for one-way hashing of passwords'
+arch=('x86_64')
+url='https://github.com/besser82/libxcrypt/'
+license=('GPL')
+depends=('glibc')
+makedepends=('git')
+provides=('libcrypt.so')
+install=libxcrypt.install
+validpgpkeys=('678CE3FEE430311596DB8C16F52E98007594C21D') # Björn 'besser82' Esser
+source=("git+https://github.com/besser82/libxcrypt.git#commit=${_commit}?signed")
+sha256sums=('SKIP')
+
+prepare() {
+ cd $pkgname
+ autoreconf -fi
+}
+
+build() {
+ cd $pkgname
+ ./configure \
+ --prefix=/usr \
+ --disable-static \
+ --enable-hashes=strong,glibc \
+ --enable-obsolete-api=no \
+ --disable-failure-tokens
+ make
+}
+
+check() {
+ cd $pkgname
+ make check
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
Copied: libxcrypt/repos/testing-x86_64/libxcrypt.install (from rev 417293, libxcrypt/trunk/libxcrypt.install)
===================================================================
--- libxcrypt.install (rev 0)
+++ libxcrypt.install 2021-06-07 15:19:00 UTC (rev 417294)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+post_upgrade() {
+ # return if old package version greater 4.4.21...
+ (( $(vercmp $2 '4.4.21') > 0 )) && return
+
+ cat <<EOM
+ > Starting with 'libxcrypt' 4.4.21, weak password hashes (such as MD5 and SHA1)
+ > are no longer accepted for new passwords. Users that still have their
+ > passwords stored with a weak hash will be asked to update their password on
+ > their next login.
+ > If the login just fails (for example from display manager) switch to a
+ > virtual terminal ('Ctrl-Alt-F2') and log in there once.
+EOM
+}
More information about the arch-commits
mailing list