[arch-commits] Commit in util-linux/repos (10 files)
Tom Gundersen
tomegun at archlinux.org
Sat Jun 30 18:46:51 UTC 2012
Date: Saturday, June 30, 2012 @ 14:46:51
Author: tomegun
Revision: 162812
db-move: moved util-linux from [staging] to [testing] ( i686, x86_64)
Added:
util-linux/repos/testing-i686/
util-linux/repos/testing-i686/PKGBUILD
(from rev 162810, util-linux/repos/staging-i686/PKGBUILD)
util-linux/repos/testing-i686/pam-common
(from rev 162810, util-linux/repos/staging-i686/pam-common)
util-linux/repos/testing-i686/pam-login
(from rev 162810, util-linux/repos/staging-i686/pam-login)
util-linux/repos/testing-x86_64/
util-linux/repos/testing-x86_64/PKGBUILD
(from rev 162810, util-linux/repos/staging-x86_64/PKGBUILD)
util-linux/repos/testing-x86_64/pam-common
(from rev 162810, util-linux/repos/staging-x86_64/pam-common)
util-linux/repos/testing-x86_64/pam-login
(from rev 162810, util-linux/repos/staging-x86_64/pam-login)
Deleted:
util-linux/repos/staging-i686/
util-linux/repos/staging-x86_64/
---------------------------+
testing-i686/PKGBUILD | 68 ++++++++++++++++++++++++++++++++++++++++++++
testing-i686/pam-common | 6 +++
testing-i686/pam-login | 7 ++++
testing-x86_64/PKGBUILD | 68 ++++++++++++++++++++++++++++++++++++++++++++
testing-x86_64/pam-common | 6 +++
testing-x86_64/pam-login | 7 ++++
6 files changed, 162 insertions(+)
Copied: util-linux/repos/testing-i686/PKGBUILD (from rev 162810, util-linux/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-06-30 18:46:51 UTC (rev 162812)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=util-linux
+pkgver=2.21.2
+pkgrel=2
+pkgdesc="Miscellaneous system utilities for Linux"
+url="http://www.kernel.org/pub/linux/utils/util-linux/"
+arch=('i686' 'x86_64')
+groups=('base')
+depends=('pam')
+conflicts=('util-linux-ng')
+provides=("util-linux-ng=${pkgver}")
+license=('GPL2')
+options=('!libtool')
+source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/v2.21/${pkgname}-${pkgver}.tar.xz
+ pam-login
+ pam-common)
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # hardware clock
+ sed -e 's%etc/adjtime%var/lib/hwclock/adjtime%' -i include/pathnames.h
+
+ ./configure --prefix=/usr \
+ --libdir=/usr/lib \
+ --enable-fs-paths-extra=/usr/bin:/usr/sbin \
+ --enable-write \
+ --enable-raw \
+ --disable-wall \
+ --enable-new-mount \
+ --enable-login-utils
+
+ make
+}
+
+check() {
+ make -C "$pkgname-$pkgver" check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ cd "${pkgdir}"
+
+ install -dm755 var/lib/hwclock
+
+ # broken tool, going away in next major release, so just remove it now
+ rm "${pkgdir}"/usr/{bin/chkdupexe,share/man/man1/chkdupexe.1}
+
+ # delete stray empty dir, fixed upstream
+ rm -r usr/share/man/ru
+
+ # setuid chfn and chsh
+ chmod 4755 "$pkgdir"/usr/bin/ch{sh,fn}
+
+ # install PAM files for login-utils
+ install -Dm644 "$srcdir/pam-common" "$pkgdir/etc/pam.d/chfn"
+ install -m644 "$srcdir/pam-common" "$pkgdir/etc/pam.d/chsh"
+ install -m644 "$srcdir/pam-login" "$pkgdir/etc/pam.d/login"
+}
+md5sums=('54ba880f1d66782c2287ee2c898520e9'
+ '4368b3f98abd8a32662e094c54e7f9b1'
+ 'a31374fef2cba0ca34dfc7078e2969e4')
Copied: util-linux/repos/testing-i686/pam-common (from rev 162810, util-linux/repos/staging-i686/pam-common)
===================================================================
--- testing-i686/pam-common (rev 0)
+++ testing-i686/pam-common 2012-06-30 18:46:51 UTC (rev 162812)
@@ -0,0 +1,6 @@
+#%PAM-1.0
+auth sufficient pam_rootok.so
+auth required pam_unix.so
+account required pam_unix.so
+session required pam_unix.so
+password required pam_permit.so
Copied: util-linux/repos/testing-i686/pam-login (from rev 162810, util-linux/repos/staging-i686/pam-login)
===================================================================
--- testing-i686/pam-login (rev 0)
+++ testing-i686/pam-login 2012-06-30 18:46:51 UTC (rev 162812)
@@ -0,0 +1,7 @@
+#%PAM-1.0
+
+auth required pam_securetty.so
+auth requisite pam_nologin.so
+auth include system-local-login
+account include system-local-login
+session include system-local-login
Copied: util-linux/repos/testing-x86_64/PKGBUILD (from rev 162810, util-linux/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-06-30 18:46:51 UTC (rev 162812)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=util-linux
+pkgver=2.21.2
+pkgrel=2
+pkgdesc="Miscellaneous system utilities for Linux"
+url="http://www.kernel.org/pub/linux/utils/util-linux/"
+arch=('i686' 'x86_64')
+groups=('base')
+depends=('pam')
+conflicts=('util-linux-ng')
+provides=("util-linux-ng=${pkgver}")
+license=('GPL2')
+options=('!libtool')
+source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/v2.21/${pkgname}-${pkgver}.tar.xz
+ pam-login
+ pam-common)
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # hardware clock
+ sed -e 's%etc/adjtime%var/lib/hwclock/adjtime%' -i include/pathnames.h
+
+ ./configure --prefix=/usr \
+ --libdir=/usr/lib \
+ --enable-fs-paths-extra=/usr/bin:/usr/sbin \
+ --enable-write \
+ --enable-raw \
+ --disable-wall \
+ --enable-new-mount \
+ --enable-login-utils
+
+ make
+}
+
+check() {
+ make -C "$pkgname-$pkgver" check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ cd "${pkgdir}"
+
+ install -dm755 var/lib/hwclock
+
+ # broken tool, going away in next major release, so just remove it now
+ rm "${pkgdir}"/usr/{bin/chkdupexe,share/man/man1/chkdupexe.1}
+
+ # delete stray empty dir, fixed upstream
+ rm -r usr/share/man/ru
+
+ # setuid chfn and chsh
+ chmod 4755 "$pkgdir"/usr/bin/ch{sh,fn}
+
+ # install PAM files for login-utils
+ install -Dm644 "$srcdir/pam-common" "$pkgdir/etc/pam.d/chfn"
+ install -m644 "$srcdir/pam-common" "$pkgdir/etc/pam.d/chsh"
+ install -m644 "$srcdir/pam-login" "$pkgdir/etc/pam.d/login"
+}
+md5sums=('54ba880f1d66782c2287ee2c898520e9'
+ '4368b3f98abd8a32662e094c54e7f9b1'
+ 'a31374fef2cba0ca34dfc7078e2969e4')
Copied: util-linux/repos/testing-x86_64/pam-common (from rev 162810, util-linux/repos/staging-x86_64/pam-common)
===================================================================
--- testing-x86_64/pam-common (rev 0)
+++ testing-x86_64/pam-common 2012-06-30 18:46:51 UTC (rev 162812)
@@ -0,0 +1,6 @@
+#%PAM-1.0
+auth sufficient pam_rootok.so
+auth required pam_unix.so
+account required pam_unix.so
+session required pam_unix.so
+password required pam_permit.so
Copied: util-linux/repos/testing-x86_64/pam-login (from rev 162810, util-linux/repos/staging-x86_64/pam-login)
===================================================================
--- testing-x86_64/pam-login (rev 0)
+++ testing-x86_64/pam-login 2012-06-30 18:46:51 UTC (rev 162812)
@@ -0,0 +1,7 @@
+#%PAM-1.0
+
+auth required pam_securetty.so
+auth requisite pam_nologin.so
+auth include system-local-login
+account include system-local-login
+session include system-local-login
More information about the arch-commits
mailing list