[arch-commits] Commit in lib32-systemd/repos (3 files)

Laurent Carlier lcarlier at nymeria.archlinux.org
Tue May 7 15:54:57 UTC 2013


    Date: Tuesday, May 7, 2013 @ 17:54:57
  Author: lcarlier
Revision: 90162

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-systemd/repos/multilib-testing-x86_64/
  lib32-systemd/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 90161, lib32-systemd/trunk/PKGBUILD)
  lib32-systemd/repos/multilib-testing-x86_64/use-split-usr-path.patch
    (from rev 90161, lib32-systemd/trunk/use-split-usr-path.patch)

--------------------------+
 PKGBUILD                 |   63 +++++++++++++++++++++++++++++++++++++++++++++
 use-split-usr-path.patch |   14 ++++++++++
 2 files changed, 77 insertions(+)

Copied: lib32-systemd/repos/multilib-testing-x86_64/PKGBUILD (from rev 90161, lib32-systemd/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2013-05-07 15:54:57 UTC (rev 90162)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Maintainer: Tom Gundersen <teg at jklm.no>
+
+pkgname=lib32-systemd
+_pkgbasename=systemd
+pkgver=203
+pkgrel=1
+pkgdesc="system and service manager (32-bit)"
+arch=('x86_64')
+url="http://www.freedesktop.org/wiki/Software/systemd"
+license=('GPL2' 'LGPL2.1' 'MIT')
+makedepends=('lib32-gcc-libs' 'gcc-multilib' 'lib32-dbus-core' 'lib32-libcap' 'lib32-acl' 
+             'lib32-libgcrypt' 'lib32-glib2' 'lib32-xz' 'intltool' 'gperf')
+options=('!libtool')
+source=("http://www.freedesktop.org/software/$_pkgbasename/$_pkgbasename-$pkgver.tar.xz"
+        use-split-usr-path.patch)
+md5sums=('b5a124ae8aee2b9fa357f912e87e9048'
+         '76bf83fe34c5b40533abc5dc940576a6')
+
+prepare() {
+  cd "${srcdir}/systemd-${pkgver}"
+
+  # hang onto this until we do the /{,s}bin merge
+  patch -Np1 <"$srcdir/use-split-usr-path.patch"
+}
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  cd "${srcdir}/systemd-${pkgver}"
+
+  ./configure \
+    --enable-static \
+    --libexecdir=/usr/lib32 \
+    --libdir=/usr/lib32 \
+    --localstatedir=/var \
+    --sysconfdir=/etc \
+    --disable-audit \
+    --disable-ima \
+    --disable-pam \
+    --disable-kmod \
+    --disable-blkid \
+    --without-python \
+    --disable-libcryptsetup \
+    --with-sysvinit-path= \
+    --with-sysvrcnd-path=
+
+  make
+}
+
+package() {
+  depends=('lib32-glib2' 'lib32-libgcrypt' 'lib32-xz' 'systemd')
+  cd "${srcdir}/systemd-${pkgver}"
+    
+  make DESTDIR="$pkgdir" install
+    
+  rm -rf "${pkgdir}"/{etc,var}
+  rm -rf "${pkgdir}"/usr/{bin,include,lib,share}
+  rm -rf "${pkgdir}"/usr/lib32/libnss*
+}

Copied: lib32-systemd/repos/multilib-testing-x86_64/use-split-usr-path.patch (from rev 90161, lib32-systemd/trunk/use-split-usr-path.patch)
===================================================================
--- multilib-testing-x86_64/use-split-usr-path.patch	                        (rev 0)
+++ multilib-testing-x86_64/use-split-usr-path.patch	2013-05-07 15:54:57 UTC (rev 90162)
@@ -0,0 +1,14 @@
+--- a/src/core/main.c	2012-09-20 23:02:54.000000000 -0400
++++ b/src/core/main.c	2012-09-20 23:03:13.000000000 -0400
+@@ -1487,11 +1487,7 @@ int main(int argc, char *argv[]) {
+ 
+         /* Set up PATH unless it is already set */
+         setenv("PATH",
+-#ifdef HAVE_SPLIT_USR
+                "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
+-#else
+-               "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin",
+-#endif
+                arg_running_as == SYSTEMD_SYSTEM);
+ 
+         if (arg_running_as == SYSTEMD_SYSTEM) {




More information about the arch-commits mailing list