diff options
Diffstat (limited to 'testing/util-linux')
-rw-r--r-- | testing/util-linux/PKGBUILD | 65 | ||||
-rw-r--r-- | testing/util-linux/pam-common | 6 | ||||
-rw-r--r-- | testing/util-linux/pam-login | 7 | ||||
-rw-r--r-- | testing/util-linux/util-linux.install | 8 |
4 files changed, 0 insertions, 86 deletions
diff --git a/testing/util-linux/PKGBUILD b/testing/util-linux/PKGBUILD deleted file mode 100644 index 2dc698974..000000000 --- a/testing/util-linux/PKGBUILD +++ /dev/null @@ -1,65 +0,0 @@ -# $Id: PKGBUILD 163397 2012-07-11 22:26:49Z tomegun $ -# Maintainer: Tom Gundersen <teg@jklm.no> -# Contributor: judd <jvinet@zeroflux.org> - -pkgname=util-linux -pkgver=2.21.2 -pkgrel=4 -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) -backup=(etc/pam.d/chfn etc/pam.d/chsh etc/pam.d/login) -install=util-linux.install - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - ./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}" - - # 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') diff --git a/testing/util-linux/pam-common b/testing/util-linux/pam-common deleted file mode 100644 index a7bf8a4a5..000000000 --- a/testing/util-linux/pam-common +++ /dev/null @@ -1,6 +0,0 @@ -#%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 diff --git a/testing/util-linux/pam-login b/testing/util-linux/pam-login deleted file mode 100644 index 1960d9497..000000000 --- a/testing/util-linux/pam-login +++ /dev/null @@ -1,7 +0,0 @@ -#%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 diff --git a/testing/util-linux/util-linux.install b/testing/util-linux/util-linux.install deleted file mode 100644 index fa27d4555..000000000 --- a/testing/util-linux/util-linux.install +++ /dev/null @@ -1,8 +0,0 @@ -post_upgrade() { - if [ "$(vercmp $2 2.21.2-4)" -lt 0 ]; then - if [ -f /var/lib/hwclock/adjtime ]; then - mv /var/lib/hwclock/adjtime /etc/adjtime - fi - rmdir /var/lib/hwclock - fi -} |