[arch-commits] Commit in sysdig/repos (6 files)

Allan McRae allan at archlinux.org
Thu Sep 10 05:54:53 UTC 2015


    Date: Thursday, September 10, 2015 @ 07:54:53
  Author: allan
Revision: 139765

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

Added:
  sysdig/repos/community-staging-i686/
  sysdig/repos/community-staging-i686/PKGBUILD
    (from rev 139764, sysdig/trunk/PKGBUILD)
  sysdig/repos/community-staging-i686/sysdig.install
    (from rev 139764, sysdig/trunk/sysdig.install)
  sysdig/repos/community-staging-x86_64/
  sysdig/repos/community-staging-x86_64/PKGBUILD
    (from rev 139764, sysdig/trunk/PKGBUILD)
  sysdig/repos/community-staging-x86_64/sysdig.install
    (from rev 139764, sysdig/trunk/sysdig.install)

-----------------------------------------+
 community-staging-i686/PKGBUILD         |   41 ++++++++++++++++++++++++++++++
 community-staging-i686/sysdig.install   |   21 +++++++++++++++
 community-staging-x86_64/PKGBUILD       |   41 ++++++++++++++++++++++++++++++
 community-staging-x86_64/sysdig.install |   21 +++++++++++++++
 4 files changed, 124 insertions(+)

Copied: sysdig/repos/community-staging-i686/PKGBUILD (from rev 139764, sysdig/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-10 05:54:53 UTC (rev 139765)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contribuitor: Alfredo Palhares <masterkorp at masterkorp.net>
+# Contribuitor: Christian Babeux <christian.babeux at 0x80.ca>
+
+pkgname=sysdig
+pkgver=0.1.104
+pkgrel=2
+pkgdesc="Open source system-level exploration and troubleshooting tool"
+arch=('i686' 'x86_64')
+url="http://www.sysdig.org/"
+license=('GPL2')
+depends=('dkms' 'jsoncpp' 'luajit')
+makedepends=('cmake')
+source=("https://github.com/draios/sysdig/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('05a7ed95a1b73053cae0a77de199e84d7c9804014166527e3b211ed637c3fbab')
+install=$pkgname.install
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  rm -rf build
+  mkdir build
+  cd build
+  cmake .. \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DDIR_ETC=/etc \
+        -DSYSDIG_VERSION=$pkgver \
+        -DUSE_BUNDLED_LUAJIT=OFF \
+        -DUSE_BUNDLED_JSONCPP=OFF \
+        -DUSE_BUNDLED_ZLIB=OFF \
+        -DUSE_BUNDLED_NCURSES=OFF \
+        -DBUILD_DRIVER=OFF
+  make
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  cd build
+  make install DESTDIR="$pkgdir"
+}

Copied: sysdig/repos/community-staging-i686/sysdig.install (from rev 139764, sysdig/trunk/sysdig.install)
===================================================================
--- community-staging-i686/sysdig.install	                        (rev 0)
+++ community-staging-i686/sysdig.install	2015-09-10 05:54:53 UTC (rev 139765)
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+post_install() {
+    dkms add sysdig/${1%%-*}
+  cat << EOF
+==> To build and install the necessary module run: dkms install sysdig/${1%%-*}
+==> To do this automatically at startup run: systemctl enable dkms.service
+EOF
+}
+
+pre_upgrade() {
+    pre_remove "$2"
+}
+
+post_upgrade() {
+    post_install "$1"
+}
+
+pre_remove() {
+    [ -n "${1%-*}" ] && dkms remove sysdig/${1%%-*} --all &>/dev/null || true
+}

Copied: sysdig/repos/community-staging-x86_64/PKGBUILD (from rev 139764, sysdig/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-10 05:54:53 UTC (rev 139765)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contribuitor: Alfredo Palhares <masterkorp at masterkorp.net>
+# Contribuitor: Christian Babeux <christian.babeux at 0x80.ca>
+
+pkgname=sysdig
+pkgver=0.1.104
+pkgrel=2
+pkgdesc="Open source system-level exploration and troubleshooting tool"
+arch=('i686' 'x86_64')
+url="http://www.sysdig.org/"
+license=('GPL2')
+depends=('dkms' 'jsoncpp' 'luajit')
+makedepends=('cmake')
+source=("https://github.com/draios/sysdig/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('05a7ed95a1b73053cae0a77de199e84d7c9804014166527e3b211ed637c3fbab')
+install=$pkgname.install
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  rm -rf build
+  mkdir build
+  cd build
+  cmake .. \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DDIR_ETC=/etc \
+        -DSYSDIG_VERSION=$pkgver \
+        -DUSE_BUNDLED_LUAJIT=OFF \
+        -DUSE_BUNDLED_JSONCPP=OFF \
+        -DUSE_BUNDLED_ZLIB=OFF \
+        -DUSE_BUNDLED_NCURSES=OFF \
+        -DBUILD_DRIVER=OFF
+  make
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  cd build
+  make install DESTDIR="$pkgdir"
+}

Copied: sysdig/repos/community-staging-x86_64/sysdig.install (from rev 139764, sysdig/trunk/sysdig.install)
===================================================================
--- community-staging-x86_64/sysdig.install	                        (rev 0)
+++ community-staging-x86_64/sysdig.install	2015-09-10 05:54:53 UTC (rev 139765)
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+post_install() {
+    dkms add sysdig/${1%%-*}
+  cat << EOF
+==> To build and install the necessary module run: dkms install sysdig/${1%%-*}
+==> To do this automatically at startup run: systemctl enable dkms.service
+EOF
+}
+
+pre_upgrade() {
+    pre_remove "$2"
+}
+
+post_upgrade() {
+    post_install "$1"
+}
+
+pre_remove() {
+    [ -n "${1%-*}" ] && dkms remove sysdig/${1%%-*} --all &>/dev/null || true
+}



More information about the arch-commits mailing list