[arch-commits] Commit in sysdig/repos (6 files)
Massimiliano Torromeo
mtorromeo at archlinux.org
Tue Jan 17 13:53:42 UTC 2017
Date: Tuesday, January 17, 2017 @ 13:53:42
Author: mtorromeo
Revision: 207733
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
sysdig/repos/community-testing-i686/
sysdig/repos/community-testing-i686/PKGBUILD
(from rev 207732, sysdig/trunk/PKGBUILD)
sysdig/repos/community-testing-i686/sysdig.install
(from rev 207732, sysdig/trunk/sysdig.install)
sysdig/repos/community-testing-x86_64/
sysdig/repos/community-testing-x86_64/PKGBUILD
(from rev 207732, sysdig/trunk/PKGBUILD)
sysdig/repos/community-testing-x86_64/sysdig.install
(from rev 207732, sysdig/trunk/sysdig.install)
-----------------------------------------+
community-testing-i686/PKGBUILD | 47 ++++++++++++++++++++++++++++++
community-testing-i686/sysdig.install | 21 +++++++++++++
community-testing-x86_64/PKGBUILD | 47 ++++++++++++++++++++++++++++++
community-testing-x86_64/sysdig.install | 21 +++++++++++++
4 files changed, 136 insertions(+)
Copied: sysdig/repos/community-testing-i686/PKGBUILD (from rev 207732, sysdig/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-01-17 13:53:42 UTC (rev 207733)
@@ -0,0 +1,47 @@
+# $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.13.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' 'jq')
+makedepends=('cmake' 'pandoc')
+source=("https://github.com/draios/sysdig/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+ "linux-4.9.1.patch::https://github.com/draios/sysdig/commit/ded1f7b24b1cbc1425257b1dda22c4a1d04f4971.patch")
+sha256sums=('2a5e744cef11348aa36d88bff9974557727e3b632a41e4b3b5e1903d0e911d3e'
+ 'cb73fbe316d41a52696bdf575c5f58079dc06cf4b2dc4b6d8f4d98d177d9ceca')
+install=$pkgname.install
+
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+ patch -p1 -i "$srcdir"/linux-4.9.1.patch
+ 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_B64=ON \
+ -DBUILD_DRIVER=OFF
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ cd build
+ make install DESTDIR="$pkgdir"
+}
Copied: sysdig/repos/community-testing-i686/sysdig.install (from rev 207732, sysdig/trunk/sysdig.install)
===================================================================
--- community-testing-i686/sysdig.install (rev 0)
+++ community-testing-i686/sysdig.install 2017-01-17 13:53:42 UTC (rev 207733)
@@ -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-testing-x86_64/PKGBUILD (from rev 207732, sysdig/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2017-01-17 13:53:42 UTC (rev 207733)
@@ -0,0 +1,47 @@
+# $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.13.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' 'jq')
+makedepends=('cmake' 'pandoc')
+source=("https://github.com/draios/sysdig/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+ "linux-4.9.1.patch::https://github.com/draios/sysdig/commit/ded1f7b24b1cbc1425257b1dda22c4a1d04f4971.patch")
+sha256sums=('2a5e744cef11348aa36d88bff9974557727e3b632a41e4b3b5e1903d0e911d3e'
+ 'cb73fbe316d41a52696bdf575c5f58079dc06cf4b2dc4b6d8f4d98d177d9ceca')
+install=$pkgname.install
+
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+ patch -p1 -i "$srcdir"/linux-4.9.1.patch
+ 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_B64=ON \
+ -DBUILD_DRIVER=OFF
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ cd build
+ make install DESTDIR="$pkgdir"
+}
Copied: sysdig/repos/community-testing-x86_64/sysdig.install (from rev 207732, sysdig/trunk/sysdig.install)
===================================================================
--- community-testing-x86_64/sysdig.install (rev 0)
+++ community-testing-x86_64/sysdig.install 2017-01-17 13:53:42 UTC (rev 207733)
@@ -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