[arch-commits] Commit in util-linux/repos (10 files)
Dave Reisner
dreisner at archlinux.org
Wed Sep 5 03:56:52 UTC 2012
Date: Tuesday, September 4, 2012 @ 23:56:51
Author: dreisner
Revision: 166168
archrelease: copy trunk to testing-i686, testing-x86_64
Deleted:
util-linux/repos/testing-i686/PKGBUILD
util-linux/repos/testing-i686/pam-common
util-linux/repos/testing-i686/pam-login
util-linux/repos/testing-i686/pam-su
util-linux/repos/testing-i686/util-linux.install
util-linux/repos/testing-x86_64/PKGBUILD
util-linux/repos/testing-x86_64/pam-common
util-linux/repos/testing-x86_64/pam-login
util-linux/repos/testing-x86_64/pam-su
util-linux/repos/testing-x86_64/util-linux.install
-----------------------------------+
testing-i686/PKGBUILD | 88 ------------------------------------
testing-i686/pam-common | 6 --
testing-i686/pam-login | 7 --
testing-i686/pam-su | 9 ---
testing-i686/util-linux.install | 36 --------------
testing-x86_64/PKGBUILD | 88 ------------------------------------
testing-x86_64/pam-common | 6 --
testing-x86_64/pam-login | 7 --
testing-x86_64/pam-su | 9 ---
testing-x86_64/util-linux.install | 36 --------------
10 files changed, 292 deletions(-)
Deleted: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD 2012-09-05 03:56:28 UTC (rev 166167)
+++ testing-i686/PKGBUILD 2012-09-05 03:56:51 UTC (rev 166168)
@@ -1,88 +0,0 @@
-# $Id$
-# Maintainer: Tom Gundersen <teg at jklm.no>
-# Contributor: judd <jvinet at zeroflux.org>
-
-pkgname=util-linux
-pkgver=2.22
-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')
-makedepends=('bc') # for check() only
-conflicts=('util-linux-ng' 'eject')
-provides=("util-linux-ng=${pkgver}" 'eject')
-license=('GPL2')
-options=('!libtool')
-source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/v2.22/${pkgname}-${pkgver}.tar.xz
- su.1
- uuidd.tmpfiles
- pam-login
- pam-common
- pam-su)
-backup=(etc/pam.d/chfn etc/pam.d/chsh etc/pam.d/login etc/pam.d/su)
-install=util-linux.install
-md5sums=('ba2d8cc12a937231c80a04f7f7149303'
- '7f524538dcf57284a86f03a98e624f04'
- 'a39554bfd65cccfd8254bb46922f4a67'
- '4368b3f98abd8a32662e094c54e7f9b1'
- 'a31374fef2cba0ca34dfc7078e2969e4'
- 'fa85e5cce5d723275b14365ba71a8aad')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # unbreak --localstatedir
- # TODO(dreisner): find out what sami hand in mind with these heuristics
- sed -i '71,75d' configure.ac
- ./autogen.sh
-
- ./configure --prefix=/usr \
- --libdir=/usr/lib \
- --localstatedir=/run \
- --enable-fs-paths-extra=/usr/bin:/usr/sbin \
- --enable-raw \
- --enable-vipw \
- --enable-newgrp \
- --enable-chfn-chsh \
- --enable-write \
- --enable-mesg \
- --enable-socket-activation
-
-# --enable-reset \ # part of ncurses
-# --enable-last \ # not part of any package
-# --enable-line \ # not compat
-
- make
-}
-
-check() {
- make -C "$pkgname-$pkgver" check
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-
- cd "${pkgdir}"
-
- # setuid chfn and chsh
- chmod 4755 "$pkgdir"/usr/bin/{newgrp,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"
- install -m644 "$srcdir/pam-su" "${pkgdir}/etc/pam.d/su"
-
- # broken buildsys doesn't include su(1), which means it
- # isn't even in the dist tarball
- # TODO(dreisner): patch for this already sent upstream
- install -m644 "$srcdir/su.1" "$pkgdir/usr/share/man/man1/su.1"
-
- # include tmpfiles fragment for uuidd
- # TODO(dreisner): offer this upstream
- install -Dm644 "$srcdir/uuidd.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/uuidd.conf"
-}
Deleted: testing-i686/pam-common
===================================================================
--- testing-i686/pam-common 2012-09-05 03:56:28 UTC (rev 166167)
+++ testing-i686/pam-common 2012-09-05 03:56:51 UTC (rev 166168)
@@ -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
Deleted: testing-i686/pam-login
===================================================================
--- testing-i686/pam-login 2012-09-05 03:56:28 UTC (rev 166167)
+++ testing-i686/pam-login 2012-09-05 03:56:51 UTC (rev 166168)
@@ -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
Deleted: testing-i686/pam-su
===================================================================
--- testing-i686/pam-su 2012-09-05 03:56:28 UTC (rev 166167)
+++ testing-i686/pam-su 2012-09-05 03:56:51 UTC (rev 166168)
@@ -1,9 +0,0 @@
-#%PAM-1.0
-auth sufficient pam_rootok.so
-# Uncomment the following line to implicitly trust users in the "wheel" group.
-#auth sufficient pam_wheel.so trust use_uid
-# Uncomment the following line to require a user to be in the "wheel" group.
-#auth required pam_wheel.so use_uid
-auth required pam_unix.so
-account required pam_unix.so
-session required pam_unix.so
Deleted: testing-i686/util-linux.install
===================================================================
--- testing-i686/util-linux.install 2012-09-05 03:56:28 UTC (rev 166167)
+++ testing-i686/util-linux.install 2012-09-05 03:56:51 UTC (rev 166168)
@@ -1,36 +0,0 @@
-post_install() {
- # create user for uuidd
- if ! getent group uuidd >/dev/null; then
- groupadd -r uuidd
- fi
-
- if ! getent passwd uuidd >/dev/null; then
- useradd -r -s /sbin/nologin -g uuidd uuidd
- fi
-
- # ensure /run/uuidd exists
- systemd-tmpfiles --create uuidd.conf
-}
-
-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
- if [ -d /var/lib/hwclock ]; then
- rmdir /var/lib/hwclock
- fi
- fi
-
- post_install
-}
-
-post_remove() {
- if getent passwd uuidd >/dev/null; then
- userdel uuidd
- fi
-
- if getent group uuidd >/dev/null; then
- userdel uuidd
- fi
-}
Deleted: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD 2012-09-05 03:56:28 UTC (rev 166167)
+++ testing-x86_64/PKGBUILD 2012-09-05 03:56:51 UTC (rev 166168)
@@ -1,88 +0,0 @@
-# $Id$
-# Maintainer: Tom Gundersen <teg at jklm.no>
-# Contributor: judd <jvinet at zeroflux.org>
-
-pkgname=util-linux
-pkgver=2.22
-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')
-makedepends=('bc') # for check() only
-conflicts=('util-linux-ng' 'eject')
-provides=("util-linux-ng=${pkgver}" 'eject')
-license=('GPL2')
-options=('!libtool')
-source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/v2.22/${pkgname}-${pkgver}.tar.xz
- su.1
- uuidd.tmpfiles
- pam-login
- pam-common
- pam-su)
-backup=(etc/pam.d/chfn etc/pam.d/chsh etc/pam.d/login etc/pam.d/su)
-install=util-linux.install
-md5sums=('ba2d8cc12a937231c80a04f7f7149303'
- '7f524538dcf57284a86f03a98e624f04'
- 'a39554bfd65cccfd8254bb46922f4a67'
- '4368b3f98abd8a32662e094c54e7f9b1'
- 'a31374fef2cba0ca34dfc7078e2969e4'
- 'fa85e5cce5d723275b14365ba71a8aad')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # unbreak --localstatedir
- # TODO(dreisner): find out what sami hand in mind with these heuristics
- sed -i '71,75d' configure.ac
- ./autogen.sh
-
- ./configure --prefix=/usr \
- --libdir=/usr/lib \
- --localstatedir=/run \
- --enable-fs-paths-extra=/usr/bin:/usr/sbin \
- --enable-raw \
- --enable-vipw \
- --enable-newgrp \
- --enable-chfn-chsh \
- --enable-write \
- --enable-mesg \
- --enable-socket-activation
-
-# --enable-reset \ # part of ncurses
-# --enable-last \ # not part of any package
-# --enable-line \ # not compat
-
- make
-}
-
-check() {
- make -C "$pkgname-$pkgver" check
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-
- cd "${pkgdir}"
-
- # setuid chfn and chsh
- chmod 4755 "$pkgdir"/usr/bin/{newgrp,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"
- install -m644 "$srcdir/pam-su" "${pkgdir}/etc/pam.d/su"
-
- # broken buildsys doesn't include su(1), which means it
- # isn't even in the dist tarball
- # TODO(dreisner): patch for this already sent upstream
- install -m644 "$srcdir/su.1" "$pkgdir/usr/share/man/man1/su.1"
-
- # include tmpfiles fragment for uuidd
- # TODO(dreisner): offer this upstream
- install -Dm644 "$srcdir/uuidd.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/uuidd.conf"
-}
Deleted: testing-x86_64/pam-common
===================================================================
--- testing-x86_64/pam-common 2012-09-05 03:56:28 UTC (rev 166167)
+++ testing-x86_64/pam-common 2012-09-05 03:56:51 UTC (rev 166168)
@@ -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
Deleted: testing-x86_64/pam-login
===================================================================
--- testing-x86_64/pam-login 2012-09-05 03:56:28 UTC (rev 166167)
+++ testing-x86_64/pam-login 2012-09-05 03:56:51 UTC (rev 166168)
@@ -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
Deleted: testing-x86_64/pam-su
===================================================================
--- testing-x86_64/pam-su 2012-09-05 03:56:28 UTC (rev 166167)
+++ testing-x86_64/pam-su 2012-09-05 03:56:51 UTC (rev 166168)
@@ -1,9 +0,0 @@
-#%PAM-1.0
-auth sufficient pam_rootok.so
-# Uncomment the following line to implicitly trust users in the "wheel" group.
-#auth sufficient pam_wheel.so trust use_uid
-# Uncomment the following line to require a user to be in the "wheel" group.
-#auth required pam_wheel.so use_uid
-auth required pam_unix.so
-account required pam_unix.so
-session required pam_unix.so
Deleted: testing-x86_64/util-linux.install
===================================================================
--- testing-x86_64/util-linux.install 2012-09-05 03:56:28 UTC (rev 166167)
+++ testing-x86_64/util-linux.install 2012-09-05 03:56:51 UTC (rev 166168)
@@ -1,36 +0,0 @@
-post_install() {
- # create user for uuidd
- if ! getent group uuidd >/dev/null; then
- groupadd -r uuidd
- fi
-
- if ! getent passwd uuidd >/dev/null; then
- useradd -r -s /sbin/nologin -g uuidd uuidd
- fi
-
- # ensure /run/uuidd exists
- systemd-tmpfiles --create uuidd.conf
-}
-
-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
- if [ -d /var/lib/hwclock ]; then
- rmdir /var/lib/hwclock
- fi
- fi
-
- post_install
-}
-
-post_remove() {
- if getent passwd uuidd >/dev/null; then
- userdel uuidd
- fi
-
- if getent group uuidd >/dev/null; then
- userdel uuidd
- fi
-}
More information about the arch-commits
mailing list