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

Levente Polyak anthraxx at archlinux.org
Thu Oct 6 20:26:54 UTC 2016


    Date: Thursday, October 6, 2016 @ 20:26:54
  Author: anthraxx
Revision: 191515

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 191514, sysdig/trunk/PKGBUILD)
  sysdig/repos/community-staging-i686/sysdig.install
    (from rev 191514, sysdig/trunk/sysdig.install)
  sysdig/repos/community-staging-x86_64/
  sysdig/repos/community-staging-x86_64/PKGBUILD
    (from rev 191514, sysdig/trunk/PKGBUILD)
  sysdig/repos/community-staging-x86_64/sysdig.install
    (from rev 191514, sysdig/trunk/sysdig.install)

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

Copied: sysdig/repos/community-staging-i686/PKGBUILD (from rev 191514, sysdig/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-10-06 20:26:54 UTC (rev 191515)
@@ -0,0 +1,46 @@
+# $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.11.0
+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' 'curl')
+makedepends=('cmake' 'pandoc')
+source=("https://github.com/draios/sysdig/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('59ae661c8eb33d00f31d33d48a908261bb4b0e2d001e1f40e16b5855fe46103b')
+install=$pkgname.install
+
+prepare() {
+  cd "$srcdir"/$pkgname-$pkgver
+  sed 's|${DIR_ETC}/bash_completion.d|share/bash-completion/completions/|' \
+      -i scripts/CMakeLists.txt
+}
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  rm -rf build
+  mkdir build
+  cd build
+  cmake .. \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DSYSDIG_VERSION=$pkgver \
+        -DUSE_BUNDLED_DEPS=OFF \
+        -DUSE_BUNDLED_JSONCPP=OFF \
+        -DUSE_BUNDLED_JQ=ON \
+        -DUSE_BUNDLED_B64=ON \
+        -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 191514, sysdig/trunk/sysdig.install)
===================================================================
--- community-staging-i686/sysdig.install	                        (rev 0)
+++ community-staging-i686/sysdig.install	2016-10-06 20:26:54 UTC (rev 191515)
@@ -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 191514, sysdig/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-10-06 20:26:54 UTC (rev 191515)
@@ -0,0 +1,46 @@
+# $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.11.0
+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' 'curl')
+makedepends=('cmake' 'pandoc')
+source=("https://github.com/draios/sysdig/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('59ae661c8eb33d00f31d33d48a908261bb4b0e2d001e1f40e16b5855fe46103b')
+install=$pkgname.install
+
+prepare() {
+  cd "$srcdir"/$pkgname-$pkgver
+  sed 's|${DIR_ETC}/bash_completion.d|share/bash-completion/completions/|' \
+      -i scripts/CMakeLists.txt
+}
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  rm -rf build
+  mkdir build
+  cd build
+  cmake .. \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DSYSDIG_VERSION=$pkgver \
+        -DUSE_BUNDLED_DEPS=OFF \
+        -DUSE_BUNDLED_JSONCPP=OFF \
+        -DUSE_BUNDLED_JQ=ON \
+        -DUSE_BUNDLED_B64=ON \
+        -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 191514, sysdig/trunk/sysdig.install)
===================================================================
--- community-staging-x86_64/sysdig.install	                        (rev 0)
+++ community-staging-x86_64/sysdig.install	2016-10-06 20:26:54 UTC (rev 191515)
@@ -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