[arch-commits] Commit in lxc/repos (10 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon Mar 17 10:01:02 UTC 2014


    Date: Monday, March 17, 2014 @ 11:01:01
  Author: spupykin
Revision: 107398

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  lxc/repos/community-staging-i686/
  lxc/repos/community-staging-i686/PKGBUILD
    (from rev 107397, lxc/trunk/PKGBUILD)
  lxc/repos/community-staging-i686/lxc.install
    (from rev 107397, lxc/trunk/lxc.install)
  lxc/repos/community-staging-i686/lxc.tmpfiles.d
    (from rev 107397, lxc/trunk/lxc.tmpfiles.d)
  lxc/repos/community-staging-i686/lxc at .service
    (from rev 107397, lxc/trunk/lxc at .service)
  lxc/repos/community-staging-x86_64/
  lxc/repos/community-staging-x86_64/PKGBUILD
    (from rev 107397, lxc/trunk/PKGBUILD)
  lxc/repos/community-staging-x86_64/lxc.install
    (from rev 107397, lxc/trunk/lxc.install)
  lxc/repos/community-staging-x86_64/lxc.tmpfiles.d
    (from rev 107397, lxc/trunk/lxc.tmpfiles.d)
  lxc/repos/community-staging-x86_64/lxc at .service
    (from rev 107397, lxc/trunk/lxc at .service)

-----------------------------------------+
 community-staging-i686/PKGBUILD         |   61 ++++++++++++++++++++++++++++++
 community-staging-i686/lxc.install      |    8 +++
 community-staging-i686/lxc.tmpfiles.d   |    1 
 community-staging-i686/lxc at .service     |   11 +++++
 community-staging-x86_64/PKGBUILD       |   61 ++++++++++++++++++++++++++++++
 community-staging-x86_64/lxc.install    |    8 +++
 community-staging-x86_64/lxc.tmpfiles.d |    1 
 community-staging-x86_64/lxc at .service   |   11 +++++
 8 files changed, 162 insertions(+)

Copied: lxc/repos/community-staging-i686/PKGBUILD (from rev 107397, lxc/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2014-03-17 10:01:01 UTC (rev 107398)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Andrea Zucchelli <zukka77 at gmail.com>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Jonathan Liu <net147 at gmail.com>
+# Contributor: Jon Nordby <jononor at gmail.com>
+
+pkgname=lxc
+pkgver=1.0.1
+epoch=1
+pkgrel=2
+pkgdesc="Linux Containers"
+arch=('i686' 'x86_64')
+url="http://linuxcontainers.org"
+depends=('bash' 'perl' 'libseccomp' 'libcap' 'python')
+makedepends=('docbook2x')
+optdepends=('arch-install-scripts: for archlinux template')
+license=('LGPL')
+install=lxc.install
+options=('emptydirs')
+source=("http://linuxcontainers.org/downloads/$pkgname-${pkgver}.tar.gz"
+	"lxc.tmpfiles.d"
+	"lxc at .service")
+md5sums=('3c7379891e45713817ec873a167070b0'
+         'df94c9fb8a753011c86ee664e9f521ff'
+         '32db4ef06b27f36e15ff4b67c049dfeb')
+
+prepare() {
+  cd "$srcdir/$pkgname-${pkgver/_/-}"
+  sed -i \
+    -e 's|"\\"-//Davenport//DTD DocBook V3.0//EN\\""|"\\"-//OASIS//DTD DocBook XML\\" \\"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd\\""|' \
+    configure.ac
+}
+
+build() {
+  cd "$srcdir/$pkgname-${pkgver/_/-}"
+  ./autogen.sh
+  ./configure \
+    --prefix=/usr \
+    --localstatedir=/var \
+    --libexecdir=/usr/lib \
+    --sysconfdir=/etc \
+    --disable-apparmor \
+    --enable-seccomp
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-${pkgver/_/-}"
+
+  make DESTDIR="$pkgdir" install
+  install -d -m755 "$pkgdir/var/lib/lxc"
+  install -d -m755 "$pkgdir/usr/lib/lxc/rootfs/dev"
+  install -D -m644 ${srcdir}/lxc at .service ${pkgdir}/usr/lib/systemd/system/lxc at .service
+  install -D -m644 ${srcdir}/lxc.tmpfiles.d ${pkgdir}/usr/lib/tmpfiles.d/lxc.conf
+
+  cd doc
+  find . -type f -name '*.1' -exec install -D -m644 "{}" "$pkgdir/usr/share/man/man1/{}" \;
+  find . -type f -name '*.5' -exec install -D -m644 "{}" "$pkgdir/usr/share/man/man5/{}" \;
+  find . -type f -name '*.7' -exec install -D -m644 "{}" "$pkgdir/usr/share/man/man7/{}" \;
+}

Copied: lxc/repos/community-staging-i686/lxc.install (from rev 107397, lxc/trunk/lxc.install)
===================================================================
--- community-staging-i686/lxc.install	                        (rev 0)
+++ community-staging-i686/lxc.install	2014-03-17 10:01:01 UTC (rev 107398)
@@ -0,0 +1,8 @@
+post_upgrade() {
+  [[ $(vercmp "$1" 1:1) -le 0 ]] && return 0
+  cat << EOF
+* Since v1.0, lxc-shutdown(1) is gone and its functionality is provided by
+* lxc-stop(1) by default. The old lxc-stop(1) behavior can be recovered
+* with 'lxc-stop --kill'.
+EOF
+}

Copied: lxc/repos/community-staging-i686/lxc.tmpfiles.d (from rev 107397, lxc/trunk/lxc.tmpfiles.d)
===================================================================
--- community-staging-i686/lxc.tmpfiles.d	                        (rev 0)
+++ community-staging-i686/lxc.tmpfiles.d	2014-03-17 10:01:01 UTC (rev 107398)
@@ -0,0 +1 @@
+w /sys/fs/cgroup/memory/memory.use_hierarchy - - - - 1

Copied: lxc/repos/community-staging-i686/lxc at .service (from rev 107397, lxc/trunk/lxc at .service)
===================================================================
--- community-staging-i686/lxc at .service	                        (rev 0)
+++ community-staging-i686/lxc at .service	2014-03-17 10:01:01 UTC (rev 107398)
@@ -0,0 +1,11 @@
+[Unit]
+Description=%i LXC
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/lxc-start -d -n %i
+ExecStop=/usr/bin/lxc-stop -n %i
+
+[Install]
+WantedBy=multi-user.target

Copied: lxc/repos/community-staging-x86_64/PKGBUILD (from rev 107397, lxc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2014-03-17 10:01:01 UTC (rev 107398)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Andrea Zucchelli <zukka77 at gmail.com>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Jonathan Liu <net147 at gmail.com>
+# Contributor: Jon Nordby <jononor at gmail.com>
+
+pkgname=lxc
+pkgver=1.0.1
+epoch=1
+pkgrel=2
+pkgdesc="Linux Containers"
+arch=('i686' 'x86_64')
+url="http://linuxcontainers.org"
+depends=('bash' 'perl' 'libseccomp' 'libcap' 'python')
+makedepends=('docbook2x')
+optdepends=('arch-install-scripts: for archlinux template')
+license=('LGPL')
+install=lxc.install
+options=('emptydirs')
+source=("http://linuxcontainers.org/downloads/$pkgname-${pkgver}.tar.gz"
+	"lxc.tmpfiles.d"
+	"lxc at .service")
+md5sums=('3c7379891e45713817ec873a167070b0'
+         'df94c9fb8a753011c86ee664e9f521ff'
+         '32db4ef06b27f36e15ff4b67c049dfeb')
+
+prepare() {
+  cd "$srcdir/$pkgname-${pkgver/_/-}"
+  sed -i \
+    -e 's|"\\"-//Davenport//DTD DocBook V3.0//EN\\""|"\\"-//OASIS//DTD DocBook XML\\" \\"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd\\""|' \
+    configure.ac
+}
+
+build() {
+  cd "$srcdir/$pkgname-${pkgver/_/-}"
+  ./autogen.sh
+  ./configure \
+    --prefix=/usr \
+    --localstatedir=/var \
+    --libexecdir=/usr/lib \
+    --sysconfdir=/etc \
+    --disable-apparmor \
+    --enable-seccomp
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-${pkgver/_/-}"
+
+  make DESTDIR="$pkgdir" install
+  install -d -m755 "$pkgdir/var/lib/lxc"
+  install -d -m755 "$pkgdir/usr/lib/lxc/rootfs/dev"
+  install -D -m644 ${srcdir}/lxc at .service ${pkgdir}/usr/lib/systemd/system/lxc at .service
+  install -D -m644 ${srcdir}/lxc.tmpfiles.d ${pkgdir}/usr/lib/tmpfiles.d/lxc.conf
+
+  cd doc
+  find . -type f -name '*.1' -exec install -D -m644 "{}" "$pkgdir/usr/share/man/man1/{}" \;
+  find . -type f -name '*.5' -exec install -D -m644 "{}" "$pkgdir/usr/share/man/man5/{}" \;
+  find . -type f -name '*.7' -exec install -D -m644 "{}" "$pkgdir/usr/share/man/man7/{}" \;
+}

Copied: lxc/repos/community-staging-x86_64/lxc.install (from rev 107397, lxc/trunk/lxc.install)
===================================================================
--- community-staging-x86_64/lxc.install	                        (rev 0)
+++ community-staging-x86_64/lxc.install	2014-03-17 10:01:01 UTC (rev 107398)
@@ -0,0 +1,8 @@
+post_upgrade() {
+  [[ $(vercmp "$1" 1:1) -le 0 ]] && return 0
+  cat << EOF
+* Since v1.0, lxc-shutdown(1) is gone and its functionality is provided by
+* lxc-stop(1) by default. The old lxc-stop(1) behavior can be recovered
+* with 'lxc-stop --kill'.
+EOF
+}

Copied: lxc/repos/community-staging-x86_64/lxc.tmpfiles.d (from rev 107397, lxc/trunk/lxc.tmpfiles.d)
===================================================================
--- community-staging-x86_64/lxc.tmpfiles.d	                        (rev 0)
+++ community-staging-x86_64/lxc.tmpfiles.d	2014-03-17 10:01:01 UTC (rev 107398)
@@ -0,0 +1 @@
+w /sys/fs/cgroup/memory/memory.use_hierarchy - - - - 1

Copied: lxc/repos/community-staging-x86_64/lxc at .service (from rev 107397, lxc/trunk/lxc at .service)
===================================================================
--- community-staging-x86_64/lxc at .service	                        (rev 0)
+++ community-staging-x86_64/lxc at .service	2014-03-17 10:01:01 UTC (rev 107398)
@@ -0,0 +1,11 @@
+[Unit]
+Description=%i LXC
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/lxc-start -d -n %i
+ExecStop=/usr/bin/lxc-stop -n %i
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list