[arch-commits] Commit in sysdig/repos (4 files)
Date: Monday, March 30, 2020 @ 09:52:11 Author: mtorromeo Revision: 606719 archrelease: copy trunk to community-staging-x86_64 Added: sysdig/repos/community-staging-x86_64/ sysdig/repos/community-staging-x86_64/PKGBUILD (from rev 606718, sysdig/trunk/PKGBUILD) sysdig/repos/community-staging-x86_64/bashcomp-location.patch (from rev 606718, sysdig/trunk/bashcomp-location.patch) sysdig/repos/community-staging-x86_64/glibc.patch (from rev 606718, sysdig/trunk/glibc.patch) -+ PKGBUILD| 54 ++ bashcomp-location.patch | 13 +++ glibc.patch | 12 ++ 3 files changed, 79 insertions(+) Copied: sysdig/repos/community-staging-x86_64/PKGBUILD (from rev 606718, sysdig/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-03-30 09:52:11 UTC (rev 606719) @@ -0,0 +1,54 @@ +# Maintainer: Massimiliano Torromeo +# Contribuitor: Alfredo Palhares +# Contribuitor: Christian Babeux + +pkgname=sysdig +pkgver=0.26.4 +pkgrel=5 +pkgdesc="Open source system-level exploration and troubleshooting tool" +arch=('x86_64') +url="https://www.sysdig.com/; +license=('GPL2' 'Apache' 'MIT') +depends=('dkms' 'jsoncpp' 'libjsoncpp.so' 'luajit' 'curl' 'libcurl.so' 'jq' 'libb64' 'intel-tbb' 'grpc') +makedepends=('cmake' 'pandoc') +source=("https://github.com/draios/sysdig/archive/$pkgver/$pkgname-$pkgver.tar.gz; +"bashcomp-location.patch" +"glibc.patch") +sha256sums=('7c15ee25abf6cca850eaf6f4e42e25a1d9ad2b775ae794028f94afbd1ce9d271' +'aaee8a0ff414a24c5d5a479229324be1667bc5eb70702838f5d617fd986f947b' +'9d9ee715500cb5c3709cf6a77e95421edaaae5f15dbb1c7c8ad2147cc9637939') + +prepare() { + cd "$srcdir"/$pkgname-$pkgver + patch -p1 -i "$srcdir"/bashcomp-location.patch + patch -p1 -i "$srcdir"/glibc.patch +} + +build() { + cd "$srcdir"/$pkgname-$pkgver + rm -rf build + mkdir build + cd build + + cmake .. \ +-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ +-DCMAKE_BUILD_TYPE=Release \ +-DCMAKE_CXX_FLAGS="${CXXFLAGS} ${CPPFLAGS} -Wno-deprecated-declarations" \ +-DCMAKE_C_FLAGS="${CFLAGS} ${CPPFLAGS} -Wno-deprecated-declarations" \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DSYSDIG_VERSION=$pkgver \ +-DUSE_BUNDLED_DEPS=OFF \ +-DBUILD_DRIVER=OFF \ +-DBUILD_LIBSCAP_EXAMPLES=OFF + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + + install -dm755 "$pkgdir"/usr/share/licenses/$pkgname + install -m644 NOTICES COPYING "$pkgdir"/usr/share/licenses/$pkgname + + cd build + make install DESTDIR="$pkgdir" +} Copied: sysdig/repos/community-staging-x86_64/bashcomp-location.patch (from rev 606718, sysdig/trunk/bashcomp-location.patch) === --- community-staging-x86_64/bashcomp-location.patch (rev 0) +++ community-staging-x86_64/bashcomp-location.patch2020-03-30 09:52:11 UTC (rev 606719) @@ -0,0 +1,13 @@ +diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt +index ded65e9..fd2a59b 100644 +--- a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt +@@ -2,7 +2,7 @@ configure_file(debian/postinst.in debian/postinst) + configure_file(debian/prerm.in debian/prerm) + + install(FILES completions/bash/sysdig +- DESTINATION "${DIR_ETC}/bash_completion.d") ++ DESTINATION "share/bash-completion/completions/") + + install(FILES completions/zsh/_sysdig + DESTINATION share/zsh/vendor-completions) Copied: sysdig/repos/community-staging-x86_64/glibc.patch (from rev 606718, sysdig/trunk/glibc.patch) === --- community-staging-x86_64/glibc.patch(rev 0) +++ community-staging-x86_64/glibc.patch2020-03-30 09:52:11 UTC (rev 606719) @@ -0,0 +1,12 @@ +diff --git a/userspace/libscap/scap_fds.c b/userspace/libscap/scap_fds.c +index 452353a..c1e38b1 100644 +--- a/userspace/libscap/scap_fds.c b/userspace/libscap/scap_fds.c +@@ -25,6 +25,7 @@ limitations under the License. + #include "scap_savefile.h" + #include + #include ++#include + #include + #include "uthash.h" + #ifdef _WIN32
[arch-commits] Commit in sysdig/repos (4 files)
Date: Tuesday, December 10, 2019 @ 08:38:53 Author: mtorromeo Revision: 536487 archrelease: copy trunk to community-staging-x86_64 Added: sysdig/repos/community-staging-x86_64/ sysdig/repos/community-staging-x86_64/PKGBUILD (from rev 536485, sysdig/trunk/PKGBUILD) sysdig/repos/community-staging-x86_64/bashcomp-location.patch (from rev 536485, sysdig/trunk/bashcomp-location.patch) sysdig/repos/community-staging-x86_64/glibc.patch (from rev 536485, sysdig/trunk/glibc.patch) -+ PKGBUILD| 54 ++ bashcomp-location.patch | 13 +++ glibc.patch | 12 ++ 3 files changed, 79 insertions(+) Copied: sysdig/repos/community-staging-x86_64/PKGBUILD (from rev 536485, sysdig/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-12-10 08:38:53 UTC (rev 536487) @@ -0,0 +1,54 @@ +# Maintainer: Massimiliano Torromeo +# Contribuitor: Alfredo Palhares +# Contribuitor: Christian Babeux + +pkgname=sysdig +pkgver=0.26.4 +pkgrel=4 +pkgdesc="Open source system-level exploration and troubleshooting tool" +arch=('x86_64') +url="https://www.sysdig.com/; +license=('GPL2' 'Apache' 'MIT') +depends=('dkms' 'jsoncpp' 'libjsoncpp.so' 'luajit' 'curl' 'libcurl.so' 'jq' 'libb64' 'intel-tbb' 'grpc') +makedepends=('cmake' 'pandoc') +source=("https://github.com/draios/sysdig/archive/$pkgver/$pkgname-$pkgver.tar.gz; +"bashcomp-location.patch" +"glibc.patch") +sha256sums=('7c15ee25abf6cca850eaf6f4e42e25a1d9ad2b775ae794028f94afbd1ce9d271' +'aaee8a0ff414a24c5d5a479229324be1667bc5eb70702838f5d617fd986f947b' +'9d9ee715500cb5c3709cf6a77e95421edaaae5f15dbb1c7c8ad2147cc9637939') + +prepare() { + cd "$srcdir"/$pkgname-$pkgver + patch -p1 -i "$srcdir"/bashcomp-location.patch + patch -p1 -i "$srcdir"/glibc.patch +} + +build() { + cd "$srcdir"/$pkgname-$pkgver + rm -rf build + mkdir build + cd build + + cmake .. \ +-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ +-DCMAKE_BUILD_TYPE=Release \ +-DCMAKE_CXX_FLAGS="${CXXFLAGS} ${CPPFLAGS} -Wno-deprecated-declarations" \ +-DCMAKE_C_FLAGS="${CFLAGS} ${CPPFLAGS} -Wno-deprecated-declarations" \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DSYSDIG_VERSION=$pkgver \ +-DUSE_BUNDLED_DEPS=OFF \ +-DBUILD_DRIVER=OFF \ +-DBUILD_LIBSCAP_EXAMPLES=OFF + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + + install -dm755 "$pkgdir"/usr/share/licenses/$pkgname + install -m644 NOTICES COPYING "$pkgdir"/usr/share/licenses/$pkgname + + cd build + make install DESTDIR="$pkgdir" +} Copied: sysdig/repos/community-staging-x86_64/bashcomp-location.patch (from rev 536485, sysdig/trunk/bashcomp-location.patch) === --- community-staging-x86_64/bashcomp-location.patch (rev 0) +++ community-staging-x86_64/bashcomp-location.patch2019-12-10 08:38:53 UTC (rev 536487) @@ -0,0 +1,13 @@ +diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt +index ded65e9..fd2a59b 100644 +--- a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt +@@ -2,7 +2,7 @@ configure_file(debian/postinst.in debian/postinst) + configure_file(debian/prerm.in debian/prerm) + + install(FILES completions/bash/sysdig +- DESTINATION "${DIR_ETC}/bash_completion.d") ++ DESTINATION "share/bash-completion/completions/") + + install(FILES completions/zsh/_sysdig + DESTINATION share/zsh/vendor-completions) Copied: sysdig/repos/community-staging-x86_64/glibc.patch (from rev 536485, sysdig/trunk/glibc.patch) === --- community-staging-x86_64/glibc.patch(rev 0) +++ community-staging-x86_64/glibc.patch2019-12-10 08:38:53 UTC (rev 536487) @@ -0,0 +1,12 @@ +diff --git a/userspace/libscap/scap_fds.c b/userspace/libscap/scap_fds.c +index 452353a..c1e38b1 100644 +--- a/userspace/libscap/scap_fds.c b/userspace/libscap/scap_fds.c +@@ -25,6 +25,7 @@ limitations under the License. + #include "scap_savefile.h" + #include + #include ++#include + #include + #include "uthash.h" + #ifdef _WIN32
[arch-commits] Commit in sysdig/repos (4 files)
Date: Monday, October 7, 2019 @ 12:40:27 Author: mtorromeo Revision: 513733 archrelease: copy trunk to community-staging-x86_64 Added: sysdig/repos/community-staging-x86_64/ sysdig/repos/community-staging-x86_64/PKGBUILD (from rev 513732, sysdig/trunk/PKGBUILD) sysdig/repos/community-staging-x86_64/bashcomp-location.patch (from rev 513732, sysdig/trunk/bashcomp-location.patch) sysdig/repos/community-staging-x86_64/glibc.patch (from rev 513732, sysdig/trunk/glibc.patch) -+ PKGBUILD| 54 ++ bashcomp-location.patch | 13 +++ glibc.patch | 12 ++ 3 files changed, 79 insertions(+) Copied: sysdig/repos/community-staging-x86_64/PKGBUILD (from rev 513732, sysdig/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-10-07 12:40:27 UTC (rev 513733) @@ -0,0 +1,54 @@ +# Maintainer: Massimiliano Torromeo +# Contribuitor: Alfredo Palhares +# Contribuitor: Christian Babeux + +pkgname=sysdig +pkgver=0.26.4 +pkgrel=3 +pkgdesc="Open source system-level exploration and troubleshooting tool" +arch=('x86_64') +url="https://www.sysdig.com/; +license=('GPL2' 'Apache' 'MIT') +depends=('dkms' 'jsoncpp' 'libjsoncpp.so' 'luajit' 'curl' 'libcurl.so' 'jq' 'libb64' 'intel-tbb' 'grpc') +makedepends=('cmake' 'pandoc') +source=("https://github.com/draios/sysdig/archive/$pkgver/$pkgname-$pkgver.tar.gz; +"bashcomp-location.patch" +"glibc.patch") +sha256sums=('7c15ee25abf6cca850eaf6f4e42e25a1d9ad2b775ae794028f94afbd1ce9d271' +'aaee8a0ff414a24c5d5a479229324be1667bc5eb70702838f5d617fd986f947b' +'9d9ee715500cb5c3709cf6a77e95421edaaae5f15dbb1c7c8ad2147cc9637939') + +prepare() { + cd "$srcdir"/$pkgname-$pkgver + patch -p1 -i "$srcdir"/bashcomp-location.patch + patch -p1 -i "$srcdir"/glibc.patch +} + +build() { + cd "$srcdir"/$pkgname-$pkgver + rm -rf build + mkdir build + cd build + + cmake .. \ +-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ +-DCMAKE_BUILD_TYPE=Release \ +-DCMAKE_CXX_FLAGS="${CXXFLAGS} ${CPPFLAGS} -Wno-deprecated-declarations" \ +-DCMAKE_C_FLAGS="${CFLAGS} ${CPPFLAGS} -Wno-deprecated-declarations" \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DSYSDIG_VERSION=$pkgver \ +-DUSE_BUNDLED_DEPS=OFF \ +-DBUILD_DRIVER=OFF \ +-DBUILD_LIBSCAP_EXAMPLES=OFF + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + + install -dm755 "$pkgdir"/usr/share/licenses/$pkgname + install -m644 NOTICES COPYING "$pkgdir"/usr/share/licenses/$pkgname + + cd build + make install DESTDIR="$pkgdir" +} Copied: sysdig/repos/community-staging-x86_64/bashcomp-location.patch (from rev 513732, sysdig/trunk/bashcomp-location.patch) === --- community-staging-x86_64/bashcomp-location.patch (rev 0) +++ community-staging-x86_64/bashcomp-location.patch2019-10-07 12:40:27 UTC (rev 513733) @@ -0,0 +1,13 @@ +diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt +index ded65e9..fd2a59b 100644 +--- a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt +@@ -2,7 +2,7 @@ configure_file(debian/postinst.in debian/postinst) + configure_file(debian/prerm.in debian/prerm) + + install(FILES completions/bash/sysdig +- DESTINATION "${DIR_ETC}/bash_completion.d") ++ DESTINATION "share/bash-completion/completions/") + + install(FILES completions/zsh/_sysdig + DESTINATION share/zsh/vendor-completions) Copied: sysdig/repos/community-staging-x86_64/glibc.patch (from rev 513732, sysdig/trunk/glibc.patch) === --- community-staging-x86_64/glibc.patch(rev 0) +++ community-staging-x86_64/glibc.patch2019-10-07 12:40:27 UTC (rev 513733) @@ -0,0 +1,12 @@ +diff --git a/userspace/libscap/scap_fds.c b/userspace/libscap/scap_fds.c +index 452353a..c1e38b1 100644 +--- a/userspace/libscap/scap_fds.c b/userspace/libscap/scap_fds.c +@@ -25,6 +25,7 @@ limitations under the License. + #include "scap_savefile.h" + #include + #include ++#include + #include + #include "uthash.h" + #ifdef _WIN32
[arch-commits] Commit in sysdig/repos (4 files)
Date: Saturday, September 14, 2019 @ 10:28:02 Author: anthraxx Revision: 510514 archrelease: copy trunk to community-staging-x86_64 Added: sysdig/repos/community-staging-x86_64/ sysdig/repos/community-staging-x86_64/PKGBUILD (from rev 510513, sysdig/trunk/PKGBUILD) sysdig/repos/community-staging-x86_64/bashcomp-location.patch (from rev 510513, sysdig/trunk/bashcomp-location.patch) sysdig/repos/community-staging-x86_64/glibc.patch (from rev 510513, sysdig/trunk/glibc.patch) -+ PKGBUILD| 54 ++ bashcomp-location.patch | 13 +++ glibc.patch | 12 ++ 3 files changed, 79 insertions(+) Copied: sysdig/repos/community-staging-x86_64/PKGBUILD (from rev 510513, sysdig/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-09-14 10:28:02 UTC (rev 510514) @@ -0,0 +1,54 @@ +# Maintainer: Massimiliano Torromeo +# Contribuitor: Alfredo Palhares +# Contribuitor: Christian Babeux + +pkgname=sysdig +pkgver=0.26.4 +pkgrel=2 +pkgdesc="Open source system-level exploration and troubleshooting tool" +arch=('x86_64') +url="https://www.sysdig.com/; +license=('GPL2' 'Apache' 'MIT') +depends=('dkms' 'jsoncpp' 'libjsoncpp.so' 'luajit' 'curl' 'libcurl.so' 'jq' 'libb64' 'intel-tbb' 'grpc') +makedepends=('cmake' 'pandoc') +source=("https://github.com/draios/sysdig/archive/$pkgver/$pkgname-$pkgver.tar.gz; +"bashcomp-location.patch" +"glibc.patch") +sha256sums=('7c15ee25abf6cca850eaf6f4e42e25a1d9ad2b775ae794028f94afbd1ce9d271' +'aaee8a0ff414a24c5d5a479229324be1667bc5eb70702838f5d617fd986f947b' +'9d9ee715500cb5c3709cf6a77e95421edaaae5f15dbb1c7c8ad2147cc9637939') + +prepare() { + cd "$srcdir"/$pkgname-$pkgver + patch -p1 -i "$srcdir"/bashcomp-location.patch + patch -p1 -i "$srcdir"/glibc.patch +} + +build() { + cd "$srcdir"/$pkgname-$pkgver + rm -rf build + mkdir build + cd build + + cmake .. \ +-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ +-DCMAKE_BUILD_TYPE=Release \ +-DCMAKE_CXX_FLAGS="${CXXFLAGS} ${CPPFLAGS} -Wno-deprecated-declarations" \ +-DCMAKE_C_FLAGS="${CFLAGS} ${CPPFLAGS} -Wno-deprecated-declarations" \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DSYSDIG_VERSION=$pkgver \ +-DUSE_BUNDLED_DEPS=OFF \ +-DBUILD_DRIVER=OFF \ +-DBUILD_LIBSCAP_EXAMPLES=OFF + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + + install -dm755 "$pkgdir"/usr/share/licenses/$pkgname + install -m644 NOTICES COPYING "$pkgdir"/usr/share/licenses/$pkgname + + cd build + make install DESTDIR="$pkgdir" +} Copied: sysdig/repos/community-staging-x86_64/bashcomp-location.patch (from rev 510513, sysdig/trunk/bashcomp-location.patch) === --- community-staging-x86_64/bashcomp-location.patch (rev 0) +++ community-staging-x86_64/bashcomp-location.patch2019-09-14 10:28:02 UTC (rev 510514) @@ -0,0 +1,13 @@ +diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt +index ded65e9..fd2a59b 100644 +--- a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt +@@ -2,7 +2,7 @@ configure_file(debian/postinst.in debian/postinst) + configure_file(debian/prerm.in debian/prerm) + + install(FILES completions/bash/sysdig +- DESTINATION "${DIR_ETC}/bash_completion.d") ++ DESTINATION "share/bash-completion/completions/") + + install(FILES completions/zsh/_sysdig + DESTINATION share/zsh/vendor-completions) Copied: sysdig/repos/community-staging-x86_64/glibc.patch (from rev 510513, sysdig/trunk/glibc.patch) === --- community-staging-x86_64/glibc.patch(rev 0) +++ community-staging-x86_64/glibc.patch2019-09-14 10:28:02 UTC (rev 510514) @@ -0,0 +1,12 @@ +diff --git a/userspace/libscap/scap_fds.c b/userspace/libscap/scap_fds.c +index 452353a..c1e38b1 100644 +--- a/userspace/libscap/scap_fds.c b/userspace/libscap/scap_fds.c +@@ -25,6 +25,7 @@ limitations under the License. + #include "scap_savefile.h" + #include + #include ++#include + #include + #include "uthash.h" + #ifdef _WIN32
[arch-commits] Commit in sysdig/repos (4 files)
Date: Thursday, June 18, 2015 @ 10:01:17 Author: mtorromeo Revision: 135546 archrelease: copy trunk to community-i686, community-x86_64 Added: sysdig/repos/community-i686/PKGBUILD (from rev 135545, sysdig/trunk/PKGBUILD) sysdig/repos/community-i686/sysdig.install (from rev 135545, sysdig/trunk/sysdig.install) sysdig/repos/community-x86_64/PKGBUILD (from rev 135545, sysdig/trunk/PKGBUILD) sysdig/repos/community-x86_64/sysdig.install (from rev 135545, sysdig/trunk/sysdig.install) -+ community-i686/PKGBUILD | 41 ++ community-i686/sysdig.install | 21 +++ community-x86_64/PKGBUILD | 41 ++ community-x86_64/sysdig.install | 21 +++ 4 files changed, 124 insertions(+) Copied: sysdig/repos/community-i686/PKGBUILD (from rev 135545, sysdig/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2015-06-18 08:01:17 UTC (rev 135546) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo massimiliano.torro...@gmail.com +# Contribuitor: Alfredo Palhares masterk...@masterkorp.net +# Contribuitor: Christian Babeux christian.bab...@0x80.ca + +pkgname=sysdig +pkgver=0.1.101 +pkgrel=1 +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=('6995e39be565514901b5cb587689ee2efbf8359293e4e597362382cccf0e9db6') +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-i686/sysdig.install (from rev 135545, sysdig/trunk/sysdig.install) === --- community-i686/sysdig.install (rev 0) +++ community-i686/sysdig.install 2015-06-18 08:01:17 UTC (rev 135546) @@ -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-x86_64/PKGBUILD (from rev 135545, sysdig/trunk/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2015-06-18 08:01:17 UTC (rev 135546) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo massimiliano.torro...@gmail.com +# Contribuitor: Alfredo Palhares masterk...@masterkorp.net +# Contribuitor: Christian Babeux christian.bab...@0x80.ca + +pkgname=sysdig +pkgver=0.1.101 +pkgrel=1 +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=('6995e39be565514901b5cb587689ee2efbf8359293e4e597362382cccf0e9db6') +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-x86_64/sysdig.install (from rev 135545, sysdig/trunk/sysdig.install) === --- community-x86_64/sysdig.install (rev 0) +++ community-x86_64/sysdig.install 2015-06-18 08:01:17 UTC (rev 135546) @@ -0,0 +1,21 @@ +#!/bin/sh + +post_install() { +dkms add sysdig/${1%%-*} + cat EOF +== To build and install the necessary module run: dkms install