upg intel-ucode kismet python-pytest
add plocate
This commit is contained in:
parent
5591f8402e
commit
616a3057ac
17 changed files with 181 additions and 24 deletions
|
@ -6,8 +6,8 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=intel-ucode
|
||||
pkgver=20240813
|
||||
pkgrel=02
|
||||
pkgver=20240910
|
||||
pkgrel=01
|
||||
pkgdesc='Microcode update files for Intel CPUs'
|
||||
url='https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files'
|
||||
replaces=('microcode_ctl')
|
||||
|
@ -37,7 +37,7 @@ arch=(x86_64)
|
|||
|
||||
license=('custom')
|
||||
|
||||
sha256sums=(f46cfe1d8be8d3c2c5a0fb63fc4d48c7dd1444f34346f0e42ad92c706cb90e79) # intel-ucode-20240813.tar.gz
|
||||
sha256sums=(8b7582eac7e9a691356e18b3bdcbc7b2db09494e040ec980a4a5fb6d0da261bf) # intel-ucode-20240910.tar.gz
|
||||
|
||||
## f272d6dc79631e91cd69e198894c89b6aa8a7eedf03521dd975144f5efebe3bc intel-ucode-20240813-02-x86_64.pkg.tar.lz
|
||||
## 68c274c25739a5ec6c691f2ea3f00a2e2edefb43844508fb36141ec9e9f7e881 intel-ucode-20240910-01-x86_64.pkg.tar.lz
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
# Contributor: Thomas Bächler <thomas@archlinux.org>
|
||||
|
||||
pkgname=intel-ucode
|
||||
pkgver=20240813
|
||||
pkgrel=2
|
||||
pkgver=20240910
|
||||
pkgrel=1
|
||||
pkgdesc='Microcode update files for Intel CPUs'
|
||||
arch=('any')
|
||||
url='https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files'
|
||||
|
@ -12,7 +12,7 @@ replaces=('microcode_ctl')
|
|||
makedepends=('iucode-tool')
|
||||
license=('custom')
|
||||
source=("${pkgname}-${pkgver/./}.tar.gz::https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-${pkgver/./}.tar.gz")
|
||||
sha256sums=('f46cfe1d8be8d3c2c5a0fb63fc4d48c7dd1444f34346f0e42ad92c706cb90e79')
|
||||
sha256sums=('8b7582eac7e9a691356e18b3bdcbc7b2db09494e040ec980a4a5fb6d0da261bf')
|
||||
|
||||
build() {
|
||||
cd Intel-Linux-Processor-Microcode-Data-Files-microcode-${pkgver/./}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
pkgname=kismet
|
||||
pkgver=2023_07_R1
|
||||
_realver="${pkgver//_/-}"
|
||||
pkgrel=010
|
||||
pkgrel=011
|
||||
pkgdesc="802.11 layer2 wireless network detector, sniffer, and intrusion detection system w/o systemd"
|
||||
url="https://www.kismetwireless.net/"
|
||||
depends=('libpcap' 'pcre2' 'bluez-libs' 'libcap' 'protobuf-c' 'libprotobuf-c.so'
|
||||
|
@ -80,4 +80,5 @@ sha256sums=(f08548e26ca65fa1e567b1debbea1ca4d0e7206bddb96a4f639c90171873e8f7 #
|
|||
0ac08bf5016e00596e2fc0bc89e7907c2186b811ed8d8a2bffe6b95b42e147a3 # kismet.sysusers
|
||||
4431efac511cc3d383c8a8da7758658a05655cc301cea5a2cd2139f942a73bf7) # python-install-flags.patch
|
||||
|
||||
## f31da9925116360140e74ab652fc9964b623ed39af452d0c93dfe8552bdb44c0 kismet-2023_07_R1-010-x86_64.pkg.tar.lz
|
||||
## b2ca58ac89fd0eb239c892559d028242b336ee14a6c476811cf7d6ef80973178 kismet-2023_07_R1-011-x86_64.pkg.tar.lz
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
pkgname=kismet
|
||||
pkgver=2023_07_R1
|
||||
_realver="${pkgver//_/-}"
|
||||
pkgrel=10
|
||||
pkgrel=11
|
||||
pkgdesc="802.11 layer2 wireless network detector, sniffer, and intrusion detection system"
|
||||
url="https://www.kismetwireless.net/"
|
||||
arch=('x86_64')
|
||||
|
|
|
@ -14,3 +14,4 @@ automake
|
|||
python-typing_extensions
|
||||
python-websockets
|
||||
|
||||
|
||||
|
|
69
plocate/PKGBUILD
Normal file
69
plocate/PKGBUILD
Normal file
|
@ -0,0 +1,69 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://git.disroot.org/joborun-pkg/jobextra/src/branch/main/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=plocate
|
||||
pkgver=1.1.22
|
||||
pkgrel=03
|
||||
pkgdesc="Alternative to locate, faster and compatible with mlocate's database w/o systemd"
|
||||
url="https://plocate.sesse.net"
|
||||
makedepends=('meson')
|
||||
conflicts=('mlocate')
|
||||
provides=('mlocate' 'locate')
|
||||
replaces=('mlocate')
|
||||
backup=('etc/updatedb.conf')
|
||||
source=("${url}/download/${pkgname}-${pkgver}.tar.gz"
|
||||
# 'plocate-fix-updatedb.timer.patch'
|
||||
'plocate.sysusers'
|
||||
'plocate.tmpfiles'
|
||||
'updatedb.conf')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
# patch -Np1 < "$srcdir/plocate-fix-updatedb.timer.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
arch-meson \
|
||||
-Dinstall_cron=false \
|
||||
-Dinstall_systemd=false \
|
||||
-Dlocategroup=locate \
|
||||
../build
|
||||
meson compile -C ../build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
depends=('liburing')
|
||||
DESTDIR="$pkgdir" meson install -C ../build
|
||||
|
||||
chgrp 21 "${pkgdir}/usr/bin/plocate"
|
||||
chmod 2755 "${pkgdir}/usr/bin/plocate"
|
||||
|
||||
install -Dm644 ../plocate.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/plocate.conf"
|
||||
install -Dm644 ../plocate.sysusers "$pkgdir/usr/lib/sysusers.d/plocate.conf"
|
||||
install -Dm644 ../updatedb.conf "${pkgdir}/etc/updatedb.conf"
|
||||
ln -sf /usr/bin/plocate "$pkgdir/usr/bin/mlocate"
|
||||
ln -sf /usr/bin/plocate "$pkgdir/usr/bin/locate"
|
||||
|
||||
# install -d "${pkgdir}/usr/lib/systemd/system/timers.target.wants"
|
||||
# ln -s ../plocate-updatedb.timer "${pkgdir}/usr/lib/systemd/system/timers.target.wants/plocate-updatedb.timer"
|
||||
}
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=(x86_64)
|
||||
|
||||
license=('GPL-2.0-or-later' 'GPL-2.0-only')
|
||||
|
||||
sha256sums=(3b7e4741b4aa2ec044e53eff06474a32a3fb1e928b9382351fe79d4c27fb0049 # plocate-1.1.22.tar.gz
|
||||
# f519c901e2fb4195e25025a745db41c4167156be698738b198cbd5651cd9d9e6 # plocate-fix-updatedb.timer.patch
|
||||
1713a8fc8b81f4a390bf8597c4c0e917474379002dcc984aad2f44218d10c82a # plocate.sysusers
|
||||
adda399ac42f0faa002caab5bf932777c0006ae7c4387add859c9f77321b4202 # plocate.tmpfiles
|
||||
d00796741e2194032d0185b40de70ff5c8a11fda416a70434eb0aa2020981f91) # updatedb.conf
|
||||
|
||||
## 455788a450c0be960a03ff3126dba0345c5f5542a8941202d51bbc536f730b91 plocate-1.1.22-03-x86_64.pkg.tar.lz
|
59
plocate/PKGBUILD-arch
Normal file
59
plocate/PKGBUILD-arch
Normal file
|
@ -0,0 +1,59 @@
|
|||
# Maintainer: Morten Linderud <foxboron@archlinux.org>
|
||||
# Contributor: Hans-Nikolai Viessmann <hans AT viess DOT mn>
|
||||
|
||||
pkgname=plocate
|
||||
pkgver=1.1.22
|
||||
pkgrel=3
|
||||
pkgdesc="Alternative to locate, faster and compatible with mlocate's database."
|
||||
arch=('x86_64')
|
||||
url="https://plocate.sesse.net"
|
||||
license=('GPL-2.0-or-later' 'GPL-2.0-only')
|
||||
depends=('zstd' 'liburing' 'systemd')
|
||||
makedepends=('meson')
|
||||
conflicts=('mlocate')
|
||||
provides=('mlocate' 'locate')
|
||||
replaces=('mlocate')
|
||||
backup=('etc/updatedb.conf')
|
||||
source=("${url}/download/${pkgname}-${pkgver}.tar.gz"
|
||||
'plocate-fix-updatedb.timer.patch'
|
||||
'plocate.sysusers'
|
||||
'plocate.tmpfiles'
|
||||
'updatedb.conf')
|
||||
sha256sums=('3b7e4741b4aa2ec044e53eff06474a32a3fb1e928b9382351fe79d4c27fb0049'
|
||||
'f519c901e2fb4195e25025a745db41c4167156be698738b198cbd5651cd9d9e6'
|
||||
'1713a8fc8b81f4a390bf8597c4c0e917474379002dcc984aad2f44218d10c82a'
|
||||
'adda399ac42f0faa002caab5bf932777c0006ae7c4387add859c9f77321b4202'
|
||||
'd00796741e2194032d0185b40de70ff5c8a11fda416a70434eb0aa2020981f91')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
patch -Np1 < "$srcdir/plocate-fix-updatedb.timer.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
arch-meson \
|
||||
-Dinstall_cron=false \
|
||||
-Dinstall_systemd=true\
|
||||
-Dlocategroup=locate \
|
||||
../build
|
||||
meson compile -C ../build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
DESTDIR="$pkgdir" meson install -C ../build
|
||||
|
||||
chgrp 21 "${pkgdir}/usr/bin/plocate"
|
||||
chmod 2755 "${pkgdir}/usr/bin/plocate"
|
||||
|
||||
install -Dm644 ../plocate.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/plocate.conf"
|
||||
install -Dm644 ../plocate.sysusers "$pkgdir/usr/lib/sysusers.d/plocate.conf"
|
||||
install -Dm644 ../updatedb.conf "${pkgdir}/etc/updatedb.conf"
|
||||
ln -sf /usr/bin/plocate "$pkgdir/usr/bin/mlocate"
|
||||
ln -sf /usr/bin/plocate "$pkgdir/usr/bin/locate"
|
||||
|
||||
install -d "${pkgdir}/usr/lib/systemd/system/timers.target.wants"
|
||||
ln -s ../plocate-updatedb.timer "${pkgdir}/usr/lib/systemd/system/timers.target.wants/plocate-updatedb.timer"
|
||||
}
|
||||
##
|
1
plocate/clean
Normal file
1
plocate/clean
Normal file
|
@ -0,0 +1 @@
|
|||
rm -rf {src,pkg,plocate-*.tar.gz}
|
1
plocate/deps
Normal file
1
plocate/deps
Normal file
|
@ -0,0 +1 @@
|
|||
meson
|
11
plocate/plocate-fix-updatedb.timer.patch
Normal file
11
plocate/plocate-fix-updatedb.timer.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
diff --git a/plocate-updatedb.timer b/plocate-updatedb.timer
|
||||
index 1d25abb..c6fa40c 100644
|
||||
--- a/plocate-updatedb.timer
|
||||
+++ b/plocate-updatedb.timer
|
||||
@@ -6,6 +6,3 @@ OnCalendar=daily
|
||||
RandomizedDelaySec=1h
|
||||
AccuracySec=6h
|
||||
Persistent=true
|
||||
-
|
||||
-[Install]
|
||||
-WantedBy=timers.target
|
1
plocate/plocate.sysusers
Normal file
1
plocate/plocate.sysusers
Normal file
|
@ -0,0 +1 @@
|
|||
g locate 21 - -
|
1
plocate/plocate.tmpfiles
Normal file
1
plocate/plocate.tmpfiles
Normal file
|
@ -0,0 +1 @@
|
|||
f /var/lib/plocate/plocate.db 0750 root locate
|
6
plocate/time
Normal file
6
plocate/time
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
|
||||
real 0m15.107s
|
||||
user 0m40.880s
|
||||
sys 0m2.425s
|
||||
|
4
plocate/updatedb.conf
Normal file
4
plocate/updatedb.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
PRUNE_BIND_MOUNTS = "yes"
|
||||
PRUNEFS = "9p afs anon_inodefs auto autofs bdev binfmt_misc cgroup cifs coda configfs cpuset cramfs debugfs devpts devtmpfs ecryptfs exofs ftpfs fuse fuse.encfs fuse.s3fs fuse.sshfs fusectl gfs gfs2 hugetlbfs inotifyfs iso9660 jffs2 lustre mqueue ncpfs nfs nfs4 nfsd pipefs proc ramfs rootfs rpc_pipefs securityfs selinuxfs sfs shfs smbfs sockfs sshfs sysfs tmpfs ubifs udf usbfs vboxsf"
|
||||
PRUNENAMES = ".git .hg .svn"
|
||||
PRUNEPATHS = "/afs /media /mnt /net /sfs /tmp /udev /var/cache /var/lib/pacman/local /var/lock /var/run /var/spool /var/tmp"
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
pkgname=python-pytest
|
||||
_name=${pkgname#python-}
|
||||
pkgver=8.3.2
|
||||
pkgver=8.3.3
|
||||
pkgrel=01
|
||||
epoch=1
|
||||
pkgdesc="Simple powerful testing with Python"
|
||||
|
@ -82,14 +82,14 @@ check() {
|
|||
}
|
||||
|
||||
package() {
|
||||
cd "$_name"
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
|
||||
# Symlink license file
|
||||
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
||||
install -d "$pkgdir"/usr/share/licenses/$pkgname
|
||||
ln -s "$site_packages"/$_name-$pkgver.dist-info/LICENSE \
|
||||
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
|
||||
cd "$_name"
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
|
||||
}
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
@ -98,10 +98,12 @@ arch=(x86_64)
|
|||
|
||||
license=('MIT')
|
||||
|
||||
b2sums=('bef53479cf4ccc74ffd06a7c75a019a6b97d2f8a7dec003f99396fa28a249ce38b37e52949166ac36664b4bb76d63a0c1cddeb291ab7e4ef192e43c9a1db05f4')
|
||||
b2sums=('34f6b3dee29bba474080ee21a58c9b968eb4704631946509d15ada2320a80c83e5a8c5ebe25fce69e65af0556ab5b6ce6a502ffad010c2986c36e5d823caeb73')
|
||||
|
||||
sha256sums=(2d43e2028581c432c15d3ac7b5bedcd1f9fcca86c32ff4fddc00fdd08a5b8338) # pytest
|
||||
sha256sums=(ee5c3073528e0793a9f46375b113f6b3714ad96da8041389cc091a8bed801ed7) # pytest $pkgver
|
||||
|
||||
## ALERT fix the epoch before you upload to sourceforge NTFS server
|
||||
|
||||
## 3636401ad8b774de337f6442f187190d716d1116bfb37e0edb630c0f3689b248 python-pytest-1_8.3.2-01-x86_64.pkg.tar.lz
|
||||
## f9ab9d6ee723aa92835a812be2d41ee9ebc3b42a5a47df285ac68ee995f462bc python-pytest-1_8.3.3-01-x86_64.pkg.tar.lz
|
||||
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
pkgname=python-pytest
|
||||
_name=${pkgname#python-}
|
||||
pkgver=8.3.2
|
||||
pkgver=8.3.3
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
pkgdesc="Simple powerful testing with Python"
|
||||
|
@ -42,7 +42,7 @@ checkdepends=(
|
|||
python-twisted
|
||||
)
|
||||
source=("git+https://github.com/$_name-dev/$_name.git#tag=$pkgver")
|
||||
b2sums=('bef53479cf4ccc74ffd06a7c75a019a6b97d2f8a7dec003f99396fa28a249ce38b37e52949166ac36664b4bb76d63a0c1cddeb291ab7e4ef192e43c9a1db05f4')
|
||||
b2sums=('34f6b3dee29bba474080ee21a58c9b968eb4704631946509d15ada2320a80c83e5a8c5ebe25fce69e65af0556ab5b6ce6a502ffad010c2986c36e5d823caeb73')
|
||||
|
||||
build() {
|
||||
cd "$_name"
|
||||
|
@ -56,12 +56,11 @@ check() {
|
|||
}
|
||||
|
||||
package() {
|
||||
cd "$_name"
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
|
||||
# Symlink license file
|
||||
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
||||
install -d "$pkgdir"/usr/share/licenses/$pkgname
|
||||
ln -s "$site_packages"/"$_name"-$pkgver.dist-info/LICENSE \
|
||||
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
|
||||
cd "$_name"
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
}
|
||||
|
|
|
@ -22,3 +22,4 @@ python-pexpect
|
|||
python-pytest-xdist
|
||||
python-twisted
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue