[arch-commits] Commit in kconfig-hardened-check/repos/community-any (2 files)

Levente Polyak anthraxx at gemini.archlinux.org
Sat Apr 30 13:00:04 UTC 2022


    Date: Saturday, April 30, 2022 @ 13:00:03
  Author: anthraxx
Revision: 1191941

archrelease: copy trunk to community-any

Added:
  kconfig-hardened-check/repos/community-any/PKGBUILD
    (from rev 1191939, kconfig-hardened-check/trunk/PKGBUILD)
Deleted:
  kconfig-hardened-check/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++++----------------------
 1 file changed, 26 insertions(+), 22 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-30 13:00:03 UTC (rev 1191940)
+++ PKGBUILD	2022-04-30 13:00:03 UTC (rev 1191941)
@@ -1,22 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-
-pkgname=kconfig-hardened-check
-pkgver=0.5.10
-pkgrel=2
-pkgdesc='a script for checking the hardening options in the Linux kernel config'
-url="https://github.com/a13xp0p0v/kconfig-hardened-check"
-arch=(any)
-license=(GPL3)
-depends=(python python-setuptools)
-source=($pkgname-$pkgver::https://github.com/a13xp0p0v/kconfig-hardened-check/archive/v$pkgver.tar.gz)
-sha256sums=('f2f0b4399d6d99c091d2351f63d2a576d4211e52c81a7c0d04bb1dd3e16c5bf6')
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install -O1 --root="${pkgdir}" --skip-build
-}

Copied: kconfig-hardened-check/repos/community-any/PKGBUILD (from rev 1191939, kconfig-hardened-check/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-30 13:00:03 UTC (rev 1191941)
@@ -0,0 +1,26 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=kconfig-hardened-check
+pkgver=0.5.17
+pkgrel=1
+pkgdesc='Tool for checking the security hardening options of the Linux kernel'
+url="https://github.com/a13xp0p0v/kconfig-hardened-check"
+arch=(any)
+license=(GPL3)
+depends=(python)
+makedepends=(python-setuptools python-build python-installer python-wheel)
+source=(https://github.com/a13xp0p0v/kconfig-hardened-check/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('1bd47dc7a3ab38ac87496d7af31d7cbd301b44e455c3c55df1333e4c3e2e2abd')
+b2sums=('4cc1212fa98742cd195e6ea2e0d1804f7b5ac98357723db88956d9c48813e2c2c3a8215c284e9a9cd5a44f6555f68532d06f047345f106ab0f99e7cd7109d770')
+
+build() {
+  cd "$pkgname-$pkgver"
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm 644 README.md -t "$pkgdir/usr/share/docs/$pkgname"
+}



More information about the arch-commits mailing list