upg cpio ethtool gperf lirc lua nftables ntp

correct postfix deps
This commit is contained in:
joborun linux 2022-12-27 23:10:04 +02:00
parent 5c7b329e20
commit ec7d1f1b1a
27 changed files with 263 additions and 39 deletions

View File

@ -7,7 +7,7 @@
pkgname=cpio
pkgver=2.13
pkgrel=02
pkgrel=03
pkgdesc="A tool to copy files into or out of a cpio or tar archive"
arch=(x86_64)
url="https://www.gnu.org/software/cpio"
@ -44,3 +44,8 @@ validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff <g
sha256sums=(e87470d9c984317f658567c03bfefb6b0c829ff17dbf6b0de48d71a4c8f3db88 # cpio-2.13.tar.gz
5f55dd5ad92437464f65f3a123fecda059606bbe506c2c6b76cd9c02c7967381) # cpio-2.13.tar.gz.sig
## 3735e045f8d91161eccf356305e89a62fe07c54056ee3427dc7b1dca564e93cb cpio-2.13-03-x86_64.pkg.tar.xz

View File

@ -1,15 +1,15 @@
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=cpio
pkgver=2.13
pkgrel=2
pkgrel=3
pkgdesc="A tool to copy files into or out of a cpio or tar archive"
arch=(x86_64)
license=('GPL')
url="https://www.gnu.org/software/cpio"
depends=('glibc')
source=(https://ftp.gnu.org/gnu/cpio/cpio-${pkgver}.tar.gz{,.sig})
md5sums=('389c5452d667c23b5eceb206f5000810'
'SKIP')
sha256sums=('e87470d9c984317f658567c03bfefb6b0c829ff17dbf6b0de48d71a4c8f3db88'
'SKIP')
validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff <gray@gnu.org>
build() {

View File

@ -1 +1,2 @@

View File

@ -7,7 +7,7 @@
pkgname=ethtool
pkgver=6.0
pkgrel=01
pkgrel=02
epoch=1
pkgdesc="Utility for controlling network drivers and hardware"
arch=('x86_64')
@ -40,3 +40,7 @@ validpgpkeys=(CE4A4D080F0D304F23B9EBDD972D5BF4DC613806 # John W. Linville <linv
sha256sums=(d5446c93de570ce68f3b1ea69dbfa12fcfd67fc19897f655d3f18231e2b818d6 # ethtool-6.0.tar.xz
434766551c76e7dfc1b24fc0b14eb7278b3ae772b1b81d7d0c91ca250997afda) # ethtool-6.0.tar.sign
# 77f6cf7f459e93e6cd3de21d43f0da2a2c14609cf76faffe6c4620e88b14db1e ethtool-1:6.0-02-x86_64.pkg.tar.xz

View File

@ -4,7 +4,7 @@
pkgname=ethtool
pkgver=6.0
pkgrel=1
pkgrel=2
epoch=1
pkgdesc="Utility for controlling network drivers and hardware"
arch=('x86_64')
@ -12,8 +12,8 @@ url="https://www.kernel.org/pub/software/network/ethtool/"
license=('GPL')
depends=('glibc' 'libmnl')
source=(https://www.kernel.org/pub/software/network/$pkgname/$pkgname-$pkgver.tar.{xz,sign})
sha1sums=('ea1f37d788b6f6b516919c1f46fbc4c55ade1b4a'
'SKIP')
sha256sums=('d5446c93de570ce68f3b1ea69dbfa12fcfd67fc19897f655d3f18231e2b818d6'
'SKIP')
validpgpkeys=(CE4A4D080F0D304F23B9EBDD972D5BF4DC613806 # John W. Linville <linville@kernel.org>
D2CB120AB45957B721CD9596F4554567B91DE934) # Michal Kubecek <mkubecek@suse.cz>

View File

@ -1,3 +1,2 @@

View File

@ -1,12 +1,13 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=gperf
pkgver=3.1
pkgrel=03
pkgrel=04
pkgdesc="Perfect hash function generator"
arch=('x86_64')
url="https://www.gnu.org/software/gperf/"
@ -42,3 +43,7 @@ sha1sums=('e3c0618c2d2e5586eda9498c867d5e4858a3b0e2'
sha256sums=(588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2 # gperf-3.1.tar.gz
0554c9102d257d266bb4d9fb4bf76737abcecfc84a06884de84f8f8ff21c23e0) # gperf-3.1.tar.gz.sig
## 683c54f5a560cc80f677070c40ccd7a4a648c377ab6691d459cf96b445884ce6 gperf-3.1-04-x86_64.pkg.tar.xz

View File

@ -3,15 +3,15 @@
pkgname=gperf
pkgver=3.1
pkgrel=3
pkgrel=4
pkgdesc="Perfect hash function generator"
arch=('x86_64')
url="https://www.gnu.org/software/gperf/"
license=('GPL3')
depends=('gcc-libs' 'texinfo')
source=("https://ftp.gnu.org/pub/gnu/gperf/${pkgname}-${pkgver}.tar.gz"{,.sig})
sha1sums=('e3c0618c2d2e5586eda9498c867d5e4858a3b0e2'
'SKIP')
sha256sums=('588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2'
'SKIP')
options=('!makeflags')
validpgpkeys=('EDEB87A500CC0A211677FBFD93C08C88471097CD') # Marcel Schaible <marcel.schaible@studium.fernuni-hagen.de>

View File

@ -1 +1,3 @@

View File

@ -8,7 +8,7 @@
pkgname=lirc
_pkgver=0.10.2
[[ $_pkgver =~ [a-z]$ ]] && pkgver="${_pkgver:0:-1}.${_pkgver: -1}" || pkgver="$_pkgver"
pkgrel=01
pkgrel=02
epoch=1
pkgdesc="Linux Infrared Remote Control utilities"
arch=('x86_64')
@ -61,4 +61,7 @@ sha256sums=(3d44ec8274881cf262f160805641f0827ffcc20ade0d85e7e6f3b90e0d3d222a #
bd13ca00e30d85ff9166c03b8f7a20195ef89794e66d7e54f04ba1d014a73e7d # lirc.logrotate
b8eb6ff2a542a9a3b20fe259fe36aece941db8d309598d2eeb1815b779e2f838) # lirc.tmpfiles
# a3dc63cd90223ada593548b7b22dcaf2872799944d98fec0660928e4e1b0e955 lirc-1:0.10.2-02-x86_64.pkg.tar.xz

View File

@ -4,7 +4,7 @@
pkgname=lirc
_pkgver=0.10.2
[[ $_pkgver =~ [a-z]$ ]] && pkgver="${_pkgver:0:-1}.${_pkgver: -1}" || pkgver="$_pkgver"
pkgrel=1
pkgrel=2
epoch=1
pkgdesc="Linux Infrared Remote Control utilities"
arch=('x86_64')
@ -23,9 +23,9 @@ backup=('etc/lirc/lirc_options.conf' 'etc/lirc/lircd.conf' 'etc/lirc/lircmd.conf
source=("https://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.bz2"
lirc.logrotate
lirc.tmpfiles)
sha1sums=('02092890205891b6de5a699294485a1eedba46c5'
'4342b004eb53d51fcbb9af2cf136bb4990874608'
'5cd3f206e6e60632d9bea2ce9d22dbe5283eb129')
sha256sums=('3d44ec8274881cf262f160805641f0827ffcc20ade0d85e7e6f3b90e0d3d222a'
'bd13ca00e30d85ff9166c03b8f7a20195ef89794e66d7e54f04ba1d014a73e7d'
'b8eb6ff2a542a9a3b20fe259fe36aece941db8d309598d2eeb1815b779e2f838')
build() {
cd lirc-${_pkgver}

View File

@ -10,3 +10,4 @@ python
python-setuptools
python-yaml

View File

@ -8,7 +8,7 @@
pkgname=lua
pkgver=5.4.4
_majorver=${pkgver%.*}
pkgrel=02
pkgrel=03
pkgdesc='Powerful lightweight programming language designed for extending applications'
arch=('x86_64')
url='https://www.lua.org/'
@ -70,3 +70,6 @@ sha256sums=(164c7849653b80ae67bec4b7473b884bf5cc8d2dca05653475ec2ed27b9ebf61 # l
ca9252633e782b8f85d6a94ea4f6babd4fe30bd759085b373160b1878e36ff78 # lua.pc
142fb08b41a807b192b4b2c166696a1830a1c97967e5099ad0e579bf500e1da4) # LICENSE
# 24215f2fe961b53509d65d25942e560c7bc8c83bbb8a5dc14235a291902fe867 lua-5.4.4-03-x86_64.pkg.tar.xz

View File

@ -5,7 +5,7 @@
pkgname=lua
pkgver=5.4.4
_majorver=${pkgver%.*}
pkgrel=2
pkgrel=3
pkgdesc='Powerful lightweight programming language designed for extending applications'
arch=('x86_64')
url='https://www.lua.org/'
@ -16,10 +16,10 @@ source=(https://www.lua.org/ftp/lua-$pkgver.tar.gz
liblua.so.patch
lua.pc
LICENSE)
sha1sums=('03c27684b9d5d9783fb79a7c836ba1cdc5f309cd'
'cdfa66057f43aaf4b5914496aa6a4556f3a6e7a0'
'1aee8d1a219639d0efc534e483ffa1ee236fb393'
'05f5f3b7bef0258bd617c505b8992de639af4551')
sha256sums=('164c7849653b80ae67bec4b7473b884bf5cc8d2dca05653475ec2ed27b9ebf61'
'a8a7f89ab0c03b4bc1d58a935c54df792ad628edb4d1788c5ac66e4fc2d9f800'
'ca9252633e782b8f85d6a94ea4f6babd4fe30bd759085b373160b1878e36ff78'
'142fb08b41a807b192b4b2c166696a1830a1c97967e5099ad0e579bf500e1da4')
prepare() {
cd lua-$pkgver

View File

@ -1,11 +1,7 @@
meson-0.61.0.tar.gz
meson-0.61.0.tar.gz.asc
81fbcd1df48f669b6b23b9dd0752d6d366cc9bf2.patch
bcfb4d0f46608db46cd8881e2a02ba6c33ff066e.patch
704e9802c9f424a57c32d9e63ececfece807529a.patch
63593a55288ee5b89fc9c298dbc300f9c6adaba9.patch
bda11fe25d1efe688d251148cb7cf7939cd50433.patch
9952446a2a28ea2b009f4b8b2a14ad50f0878bdd.patch
skip-test.diff
meson-1.0.0.tar.gz
meson-1.0.0.tar.gz.asc
meson-reference-1.0.0.3
meson-reference-1.0.0.json
0001-Skip-broken-tests.patch
arch-meson
jobo-meson

71
nftables/PKGBUILD Normal file
View File

@ -0,0 +1,71 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=nftables
epoch=1
pkgver=1.0.6
pkgrel=01
pkgdesc='Netfilter tables userspace tools w/o systemd'
arch=('x86_64')
url='https://netfilter.org/projects/nftables/'
depends=('libmnl' 'libnftnl' 'gmp' 'readline' 'ncurses' 'jansson')
optdepends=('python: Python bindings')
makedepends=('asciidoc' 'python')
backup=('etc/nftables.conf')
validpgpkeys=('37D964ACC04981C75500FB9BD55D978A8A1420E4') # Netfilter Core Team
source=("https://netfilter.org/projects/nftables/files/nftables-$pkgver.tar.xz"{,.sig}
'nftables.conf')
# 'nftables.service')
install=nftables.install
prepare() {
cd $pkgname-$pkgver
# apply patch from the source array (should be a pacman feature)
local src
for src in "${source[@]}"; do
src="${src%%::*}"
src="${src##*/}"
[[ $src = *.patch ]] || continue
msg2 "Applying patch $src..."
patch -Np1 < "../$src"
done
:
}
build() {
cd $pkgname-$pkgver
autoreconf -fi #FIXME: To remove with 01.patch
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/usr/share \
--with-json \
--with-cli=readline \
--disable-debug
make
}
package() {
pushd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
popd
# basic safe firewall config
install -Dm644 nftables.conf "$pkgdir/etc/nftables.conf"
# # systemd
# install -Dm644 nftables.service "$pkgdir/usr/lib/systemd/system/nftables.service"
}
#---- license gpg-key sha256sums ----
license=('GPL2')
sha256sums=(2407430ddd82987670e48dc2fda9e280baa8307abec04ab18d609df3db005e4c # nftables-1.0.6.tar.xz
8bfb46d049eed2b7c52ad180dcb4649afea60fd3b24ead331a5abf4b84eaf197 # nftables-1.0.6.tar.xz.sig
2aff88019097d21dbfa4713f5b54c184751c86376e458b683f8d90f3abd232a8) # nftables.conf

62
nftables/PKGBUILD-arch Normal file
View File

@ -0,0 +1,62 @@
# Maintainer: Sébastien "Seblu" Luttringer <seblu@archlinux.org>
pkgname=nftables
epoch=1
pkgver=1.0.6
pkgrel=1
pkgdesc='Netfilter tables userspace tools'
arch=('x86_64')
url='https://netfilter.org/projects/nftables/'
license=('GPL2')
depends=('libmnl' 'libnftnl' 'gmp' 'readline' 'ncurses' 'jansson')
optdepends=('python: Python bindings')
makedepends=('asciidoc' 'python')
backup=('etc/nftables.conf')
validpgpkeys=('37D964ACC04981C75500FB9BD55D978A8A1420E4') # Netfilter Core Team
source=("https://netfilter.org/projects/nftables/files/nftables-$pkgver.tar.xz"{,.sig}
'nftables.conf'
'nftables.service')
install=nftables.install
sha256sums=('2407430ddd82987670e48dc2fda9e280baa8307abec04ab18d609df3db005e4c'
'SKIP'
'2aff88019097d21dbfa4713f5b54c184751c86376e458b683f8d90f3abd232a8'
'deffeef36fe658867dd9203ec13dec85047a6d224ea63334dcf60db97e1809ea')
prepare() {
cd $pkgname-$pkgver
# apply patch from the source array (should be a pacman feature)
local src
for src in "${source[@]}"; do
src="${src%%::*}"
src="${src##*/}"
[[ $src = *.patch ]] || continue
msg2 "Applying patch $src..."
patch -Np1 < "../$src"
done
:
}
build() {
cd $pkgname-$pkgver
autoreconf -fi #FIXME: To remove with 01.patch
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/usr/share \
--with-json \
--with-cli=readline \
--disable-debug
make
}
package() {
pushd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
popd
# basic safe firewall config
install -Dm644 nftables.conf "$pkgdir/etc/nftables.conf"
# systemd
install -Dm644 nftables.service "$pkgdir/usr/lib/systemd/system/nftables.service"
}
# vim:set ts=2 sw=2 et:

1
nftables/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,nft*tar.xz*}

7
nftables/deps Normal file
View File

@ -0,0 +1,7 @@
asciidoc
python
autoconf
automake

27
nftables/nftables.conf Normal file
View File

@ -0,0 +1,27 @@
#!/usr/bin/nft -f
# vim:set ts=2 sw=2 et:
# IPv4/IPv6 Simple & Safe firewall ruleset.
# More examples in /usr/share/nftables/ and /usr/share/doc/nftables/examples/.
table inet filter
delete table inet filter
table inet filter {
chain input {
type filter hook input priority filter
policy drop
ct state invalid drop comment "early drop of invalid connections"
ct state {established, related} accept comment "allow tracked connections"
iifname lo accept comment "allow from loopback"
ip protocol icmp accept comment "allow icmp"
meta l4proto ipv6-icmp accept comment "allow icmp v6"
tcp dport ssh accept comment "allow sshd"
pkttype host limit rate 5/second counter reject with icmpx type admin-prohibited
counter
}
chain forward {
type filter hook forward priority filter
policy drop
}
}

10
nftables/nftables.install Normal file
View File

@ -0,0 +1,10 @@
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
(( $(vercmp "$2" '1:0.9.9-1') > 0 )) || cat <<EOF
==> Stopping/restarting the nftables service does NOT flush the ruleset anymore.
==> The nftables.conf file requires a delete/flush directive to be restarted.
==> See examples in /usr/share/nftables/ and /usr/share/doc/nftables/examples.
==> The nftables service reload has been removed as it is now equivalent to a restart.
EOF
}

12
nftables/nftables.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=Netfilter Tables
Documentation=man:nft(8)
Wants=network-pre.target
Before=network-pre.target
[Service]
Type=oneshot
ExecStart=/usr/bin/nft -f /etc/nftables.conf
[Install]
WantedBy=multi-user.target

6
nftables/time Normal file
View File

@ -0,0 +1,6 @@
real 0m29.555s
user 0m27.712s
sys 0m1.761s

View File

@ -9,7 +9,7 @@ pkgname=ntp
_pkgname=ntp #-dev
_pkgver=4.2.8p15
pkgver=${_pkgver/p/.p}
pkgrel=02
pkgrel=03
pkgdesc='Network Time Protocol reference implementation w/o ipv6 & systemd'
url='http://www.ntp.org/'
arch=('x86_64')
@ -68,5 +68,7 @@ sha256sums=(f65840deab68614d5d7ceb2d0bb9304ff70dcdedd09abb79754a87536b849c19 #
1809cd2be7ce7d16a3321f84cc469024624db70806c7229071cfa7951e8b4770 # ntp-4.2.8_p15-glibc-2.34.patch
abccefe0b3a65cd375d5071ce780be8d2d205439aa6d34bcd3c56de6e80ba821 # ntp.conf
f839a3b6d8e64fcd9332274131b4d5aa0b2c272db072dc310af1735ef286746a) # ntp.sysusers
# 298457dc5bf038026950ff8f80f021958bfcbae976fb9bd6e70f20718ca5ea71 ntp-4.2.8.p15-03-x86_64.pkg.tar.xz

View File

@ -6,7 +6,7 @@ pkgname=ntp
_pkgname=ntp #-dev
_pkgver=4.2.8p15
pkgver=${_pkgver/p/.p}
pkgrel=2
pkgrel=3
pkgdesc='Network Time Protocol reference implementation'
url='http://www.ntp.org/'
license=('custom')

8
ntp/time Normal file
View File

@ -0,0 +1,8 @@
real 1m24.934s
user 1m7.167s
sys 0m8.337s

View File

@ -5,4 +5,3 @@ lmdb
mariadb-libs
db