[arch-commits] Commit in shadow/trunk (PKGBUILD)

Dave Reisner dreisner at archlinux.org
Wed Jul 15 20:18:55 UTC 2020


    Date: Wednesday, July 15, 2020 @ 20:18:55
  Author: dreisner
Revision: 391948

upgpkg: shadow 4.8.1-3

- build from pgp-verified tarball
- drop some makedeps and manpage (re)generation

Modified:
  shadow/trunk/PKGBUILD

----------+
 PKGBUILD |   35 +++++++++--------------------------
 1 file changed, 9 insertions(+), 26 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-15 19:36:56 UTC (rev 391947)
+++ PKGBUILD	2020-07-15 20:18:55 UTC (rev 391948)
@@ -3,7 +3,7 @@
 
 pkgname=shadow
 pkgver=4.8.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Password and account management tool suite with support for shadow files and PAM"
 arch=('x86_64')
 url='https://github.com/shadow-maint/shadow'
@@ -10,7 +10,6 @@
 license=('BSD')
 # libcap-ng needed by install scriptlet for 'filecap'
 depends=('pam' 'acl' 'audit' 'libaudit.so' 'libcap-ng')
-makedepends=('git' 'itstool' 'libxslt' 'docbook-xsl')
 backup=(etc/login.defs
         etc/pam.d/{chage,passwd,shadow,useradd,usermod,userdel}
         etc/pam.d/{chpasswd,newusers,groupadd,groupdel,groupmod}
@@ -17,8 +16,9 @@
         etc/pam.d/{chgpasswd,groupmems}
         etc/default/useradd)
 options=(strip debug)
-validpgpkeys=('D5C2F9BFCA128BBA22A77218872F702C4D6E25A8')  # Christian Perrier
-source=("git+https://github.com/shadow-maint/shadow.git#tag=$pkgver"
+validpgpkeys=('D5C2F9BFCA128BBA22A77218872F702C4D6E25A8'   # Christian Perrier
+              'F1D08DB778185BF784002DFFE9FEEA06A85E3F9D')  # Serge Hallyn
+source=("https://github.com/shadow-maint/shadow/releases/download/$pkgver/shadow-$pkgver.tar.xz"{,.asc}
         LICENSE
         chgpasswd
         chpasswd
@@ -29,7 +29,8 @@
         shadow.{timer,service}
         useradd.defaults)
 install=shadow.install
-sha1sums=('SKIP'
+sha1sums=('63457a0ba58dc4e81b2663b839dc6c89d3343f12'
+          'SKIP'
           '33a6cf1e44a1410e5c9726c89e5de68b78f5f922'
           '4ad0e059406a305c8640ed30d93c2a1f62c2f4ad'
           '12427b1ca92a9b85ca8202239f0d9f50198b818f'
@@ -41,27 +42,10 @@
           'b5540736f5acbc23b568973eb5645604762db3dd'
           'c173208c5cf34528602f9931468a67b7f68abad3')
 
-pkgver() {
-  cd "$pkgname"
-
-  git describe
-}
-
-prepare() {
-  cd "$pkgname"
-
-  local backports=(
-  )
-
-  for commit in "${backports[@]}"; do
-    git cherry-pick -n "$commit"
-  done
-}
-
 build() {
-  cd "$pkgname"
+  cd "$pkgname-$pkgver"
 
-  autoreconf -fisv
+  autoreconf -fsiv
   ./configure \
     --prefix=/usr \
     --bindir=/usr/bin \
@@ -69,7 +53,6 @@
     --libdir=/usr/lib \
     --mandir=/usr/share/man \
     --sysconfdir=/etc \
-    --enable-man \
     --disable-account-tools-setuid \
     --with-libpam \
     --with-group-name-max-length=32 \
@@ -80,7 +63,7 @@
 }
 
 package() {
-  cd "$pkgname"
+  cd "$pkgname-$pkgver"
 
   make DESTDIR="$pkgdir" install
 



More information about the arch-commits mailing list