Date: Sunday, August 25, 2019 @ 09:57:51 Author: mtorromeo Revision: 501661
archrelease: copy trunk to community-x86_64 Added: sysdig/repos/community-x86_64/PKGBUILD (from rev 501660, sysdig/trunk/PKGBUILD) sysdig/repos/community-x86_64/bashcomp-location.patch (from rev 501660, sysdig/trunk/bashcomp-location.patch) sysdig/repos/community-x86_64/glibc.patch (from rev 501660, sysdig/trunk/glibc.patch) Deleted: sysdig/repos/community-x86_64/PKGBUILD sysdig/repos/community-x86_64/bashcomp-location.patch sysdig/repos/community-x86_64/glibc.patch -------------------------+ PKGBUILD | 106 +++++++++++++++++++++++----------------------- bashcomp-location.patch | 26 +++++------ glibc.patch | 24 +++++----- 3 files changed, 78 insertions(+), 78 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-08-25 09:57:36 UTC (rev 501660) +++ PKGBUILD 2019-08-25 09:57:51 UTC (rev 501661) @@ -1,53 +0,0 @@ -# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> -# Contribuitor: Alfredo Palhares <masterk...@masterkorp.net> -# Contribuitor: Christian Babeux <christian.bab...@0x80.ca> - -pkgname=sysdig -pkgver=0.26.2 -pkgrel=1 -pkgdesc="Open source system-level exploration and troubleshooting tool" -arch=('x86_64') -url="https://www.sysdig.com/" -license=('GPL2' 'Apache' 'MIT') -depends=('dkms' 'jsoncpp' 'luajit' 'curl' '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=('6f4f5b7b187c3774b6c374c1728b3f905ac18a945bde15151dcfb24c79abb441' - '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_EXE_LINKER_FLAGS="-ltbb -lcurl" \ - -DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations" \ - -DCMAKE_BUILD_TYPE=Release \ - -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-x86_64/PKGBUILD (from rev 501660, sysdig/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-08-25 09:57:51 UTC (rev 501661) @@ -0,0 +1,53 @@ +# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> +# Contribuitor: Alfredo Palhares <masterk...@masterkorp.net> +# Contribuitor: Christian Babeux <christian.bab...@0x80.ca> + +pkgname=sysdig +pkgver=0.26.4 +pkgrel=1 +pkgdesc="Open source system-level exploration and troubleshooting tool" +arch=('x86_64') +url="https://www.sysdig.com/" +license=('GPL2' 'Apache' 'MIT') +depends=('dkms' 'jsoncpp' 'luajit' 'curl' '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_EXE_LINKER_FLAGS="-ltbb -lcurl" \ + -DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations" \ + -DCMAKE_BUILD_TYPE=Release \ + -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" +} Deleted: bashcomp-location.patch =================================================================== --- bashcomp-location.patch 2019-08-25 09:57:36 UTC (rev 501660) +++ bashcomp-location.patch 2019-08-25 09:57:51 UTC (rev 501661) @@ -1,13 +0,0 @@ -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-x86_64/bashcomp-location.patch (from rev 501660, sysdig/trunk/bashcomp-location.patch) =================================================================== --- bashcomp-location.patch (rev 0) +++ bashcomp-location.patch 2019-08-25 09:57:51 UTC (rev 501661) @@ -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) Deleted: glibc.patch =================================================================== --- glibc.patch 2019-08-25 09:57:36 UTC (rev 501660) +++ glibc.patch 2019-08-25 09:57:51 UTC (rev 501661) @@ -1,12 +0,0 @@ -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 <sys/stat.h> - #include <sys/types.h> -+#include <sys/sysmacros.h> - #include <fcntl.h> - #include "uthash.h" - #ifdef _WIN32 Copied: sysdig/repos/community-x86_64/glibc.patch (from rev 501660, sysdig/trunk/glibc.patch) =================================================================== --- glibc.patch (rev 0) +++ glibc.patch 2019-08-25 09:57:51 UTC (rev 501661) @@ -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 <sys/stat.h> + #include <sys/types.h> ++#include <sys/sysmacros.h> + #include <fcntl.h> + #include "uthash.h" + #ifdef _WIN32