upg apparmor at-spi2-core

add glib-networking haveged net-snmp
This commit is contained in:
joborun linux 2022-07-17 01:08:29 +03:00
parent 8f3e32f9c5
commit 479c07cf01
22 changed files with 380 additions and 12 deletions

View File

@ -7,7 +7,7 @@
pkgname=apparmor
pkgver=3.0.4
pkgrel=02
pkgrel=03
pkgdesc="Mandatory Access Control (MAC) using Linux Security Module (LSM) w/o systemd"
arch=(x86_64)
url="https://gitlab.com/apparmor/apparmor"
@ -146,6 +146,9 @@ package() {
# backup array modification and adding remaining configuration files
[[ /usr/bin/true ]] && backup=( ${backup[@]} $(find "etc/${pkgname}.d/" -type f | LC_ALL=C sort) )
rm -rf $pkgdir/usr/lib/systemd
rm -rf $pkgdir/etc/apparmor.d/abstractions/nss-systemd
rm -rf $pkgdir/etc/apparmor.d/abstractions/libpam-systemd
}
#---- license gpg-key sha256sums ----
@ -154,12 +157,6 @@ license=(GPL2 LGPL2.1)
validpgpkeys=('3ECDCBA5FB34D254961CC53F6689E64E3D3664BB') # AppArmor Development Team (AppArmor signing key) <apparmor@lists.ubuntu.com>
sha512sums=('1edd800771f46fab9bc5274842e64482b7fd4a5ba4de9855d621baf1d08c8236bfa7752dd9ab3dee095f8e0798129241a9aebf68ed1c994ae5597086a4a1a8ca'
'SKIP')
b2sums=('831ea65ed0972ad8a6e335e438e7b0a8a2a3977dc4360ad1923d48cc7b21b1941ec011d3894d8bdc98934b953a3f1d89a859fc27ec2530f5dd9b3cc850fe66f0'
'SKIP')
sha256sums=(09bf48d7a171f9790c39a1404bad105a788934cfe77b7490c7f5c63c2576b725 # apparmor-3.0.4.tar.gz
fc5d5cfb71dd48e8e8a5321f84359e3131f9e5780804d154ea769d543c35be61) # apparmor-3.0.4.tar.gz.asc

View File

@ -11,6 +11,3 @@ autoconf
automake
bison

View File

@ -7,7 +7,7 @@
pkgname=at-spi2-core
pkgver=2.44.1
pkgrel=01
pkgrel=02
# Arch replaced makedependency from libsystemd to systemd, the reason for the rerun 2.44.0-2
# Let's see if it makes a difference to us :) :P
pkgdesc="Protocol definitions and daemon for D-Bus at-spi w/o systemd"
@ -44,6 +44,7 @@ check() {
package() {
meson install -C build --destdir "$pkgdir"
rm -rf $pkgdir/usr/lib/systemd/user/at-spi-dbus-bus.service
}
#---- license gpg-key sha256sums ----
@ -51,3 +52,4 @@ package() {
license=(GPL2)
sha256sums=('SKIP')

View File

@ -4,4 +4,3 @@ git
gtk-doc
meson

50
glib-networking/PKGBUILD Normal file
View File

@ -0,0 +1,50 @@
#!/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=glib-networking
pkgver=2.72.1
pkgrel=01
epoch=1
pkgdesc="Network extensions for GLib w/o systemd"
url="https://gitlab.gnome.org/GNOME/glib-networking"
arch=(x86_64)
depends=(glib2 libproxy gnutls gsettings-desktop-schemas)
makedepends=(meson git)
checkdepends=(ca-certificates)
# options=(debug) ## uncomment this line to have the debug pkg produced
_commit=ef728aeac99f8f0338d9691afa3c1534140ffd14 # tags/2.72.1^0
source=("git+https://gitlab.gnome.org/GNOME/glib-networking.git#commit=$_commit")
pkgver() {
cd $pkgname
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $pkgname
}
build() {
arch-meson $pkgname build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
rm -rf $pkgdir/usr/lib/systemd
}
#---- license gpg-key sha256sums ----
license=(GPL2)
sha256sums=(SKIP)

View File

@ -0,0 +1,41 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
pkgname=glib-networking
pkgver=2.72.1
pkgrel=1
epoch=1
pkgdesc="Network extensions for GLib"
url="https://gitlab.gnome.org/GNOME/glib-networking"
arch=(x86_64)
license=(GPL2)
depends=(glib2 libproxy gnutls gsettings-desktop-schemas)
makedepends=(meson git)
checkdepends=(ca-certificates)
options=(debug)
_commit=ef728aeac99f8f0338d9691afa3c1534140ffd14 # tags/2.72.1^0
source=("git+https://gitlab.gnome.org/GNOME/glib-networking.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $pkgname
}
build() {
arch-meson $pkgname build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
}
# vim:set sw=2 et:

1
glib-networking/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,glib-networking}

5
glib-networking/deps Normal file
View File

@ -0,0 +1,5 @@
libproxy
gsettings-desktop-schemas
git
meson
gettext

5
glib-networking/time Normal file
View File

@ -0,0 +1,5 @@
real 0m13.367s
user 0m20.236s
sys 0m2.154s

56
haveged/PKGBUILD Normal file
View File

@ -0,0 +1,56 @@
#!/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=haveged
pkgver=1.9.18
pkgrel=01
pkgdesc='Entropy harvesting daemon using CPU timings w/o systemd'
arch=('x86_64')
url='https://github.com/jirka-h/haveged'
depends=('glibc')
# options=('debug') ## uncomment this line to have haveged-debug produced
source=("$pkgname-$pkgver.tar.gz::https://github.com/jirka-h/$pkgname/archive/v$pkgver.tar.gz"
'initcpio-hook')
prepare() {
cd $pkgname-$pkgver
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin
make
}
check() {
cd ${pkgname}-${pkgver}
make check
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
# install -D -m0644 contrib/Fedora/haveged.service "$pkgdir"/usr/lib/systemd/system/haveged.service
# install -D -m0644 contrib/Fedora/haveged-once.service "$pkgdir"/usr/lib/systemd/system/haveged-once.service
install -D -m0644 "${srcdir}/initcpio-hook" "$pkgdir"/usr/lib/initcpio/hooks/haveged
# install -D -m0644 "${srcdir}/initcpio-install" "$pkgdir"/usr/lib/initcpio/install/haveged
}
#---- license gpg-key sha256sums ----
license=('GPL')
validpgpkeys=('8F6B7293B03E5AC5762B65CE2E2F252B05CCA168') # Jirka Hladky <hladky.jiri@gmail.com>
sha256sums=(b835fa02b52ee7d06276e028571cadcb14d08f5e5a4b5767adf81451f70561c7 # haveged-1.9.18.tar.gz
a59ff95d521a860031693d1e1d65d37ffba58412f0199b029bd340e2f7f52a0b) # initcpio-hook

53
haveged/PKGBUILD-arch Normal file
View File

@ -0,0 +1,53 @@
# Maintainer: Christian Hesse <mail@eworm.de>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: kfgz <kfgz at interia dot pl>
# Contributor: pootzko <pootzko at gmail dot com>
pkgname=haveged
pkgver=1.9.18
pkgrel=1
pkgdesc='Entropy harvesting daemon using CPU timings'
arch=('x86_64')
url='https://github.com/jirka-h/haveged'
license=('GPL')
depends=('glibc')
options=('debug')
validpgpkeys=('8F6B7293B03E5AC5762B65CE2E2F252B05CCA168') # Jirka Hladky <hladky.jiri@gmail.com>
source=("$pkgname-$pkgver.tar.gz::https://github.com/jirka-h/$pkgname/archive/v$pkgver.tar.gz"
'initcpio-hook'
'initcpio-install')
sha256sums=('b835fa02b52ee7d06276e028571cadcb14d08f5e5a4b5767adf81451f70561c7'
'a59ff95d521a860031693d1e1d65d37ffba58412f0199b029bd340e2f7f52a0b'
'befb42d418d13c832da6d67f50417f6bca9a1c754dbdc63175f1e2546ea29b51')
prepare() {
cd $pkgname-$pkgver
sed -i 's/@SBIN_DIR@/\/usr\/bin/' contrib/Fedora/haveged*.service
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin
make
}
check() {
cd ${pkgname}-${pkgver}
make check
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -D -m0644 contrib/Fedora/haveged.service "$pkgdir"/usr/lib/systemd/system/haveged.service
install -D -m0644 contrib/Fedora/haveged-once.service "$pkgdir"/usr/lib/systemd/system/haveged-once.service
install -D -m0644 "${srcdir}/initcpio-hook" "$pkgdir"/usr/lib/initcpio/hooks/haveged
install -D -m0644 "${srcdir}/initcpio-install" "$pkgdir"/usr/lib/initcpio/install/haveged
}

1
haveged/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,haveged*.tar.gz}

5
haveged/initcpio-hook Normal file
View File

@ -0,0 +1,5 @@
#!/usr/bin/ash
run_earlyhook() {
haveged --once
}

1
haveged/key Normal file
View File

@ -0,0 +1 @@
gpg --recv-keys 2E2F252B05CCA168

5
haveged/time Normal file
View File

@ -0,0 +1,5 @@
real 0m16.992s
user 0m24.284s
sys 0m2.096s

63
net-snmp/PKGBUILD Normal file
View File

@ -0,0 +1,63 @@
#!/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=net-snmp
pkgver=5.9.1
pkgrel=04
pkgdesc="A suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using IPv4 w/o systemd & ipv6"
arch=('x86_64')
url="http://www.net-snmp.org/"
depends=('libnsl' 'libpcap' 'lm_sensors' 'pciutils' 'pcre')
makedepends=('python-setuptools')
optdepends=('perl-term-readkey: for snmpcheck application'
'perl-tk: for snmpcheck and tkmib applications'
'python: for the python modules')
options=('!emptydirs' '!makeflags')
source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc})
# removed crap snmpd.service snmptrapd.service)
prepare() {
cd ${pkgname}-${pkgver}
autoreconf -i
}
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--sysconfdir=/etc --sbindir=/usr/bin \
--mandir=/usr/share/man \
--enable-ucd-snmp-compatibility \
--disable-ipv6 \
--with-python-modules \
--with-default-snmp-version="3" \
--with-sys-contact="root@localhost" \
--with-sys-location="Unknown" \
--with-logfile="/var/log/snmpd.log" \
--with-mib-modules="host misc/ipfwacc ucd-snmp/diskio tunnel ucd-snmp/dlmod ucd-snmp/lmsensorsMib" \
--with-persistent-directory="/var/net-snmp"
make NETSNMP_DONT_CHECK_VERSION=1
}
package() {
cd ${pkgname}-${pkgver}
sed -i -e "s:install --basedir=\$\$dir:install --basedir=\$\$dir --root=${pkgdir}:" Makefile
make DESTDIR="${pkgdir}" INSTALL_PREFIX="${pkgdir}" INSTALLDIRS=vendor install
# install -D -m644 "${srcdir}/snmpd.service" "${pkgdir}/usr/lib/systemd/system/snmpd.service"
# install -D -m644 "${srcdir}/snmptrapd.service" "${pkgdir}/usr/lib/systemd/system/snmptrapd.service"
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
#---- license gpg-key sha256sums ----
license=('BSD')
validpgpkeys=('8AAA779B597B405BBC329B6376CF47B8A77C5329'
'27CAA4A32E371383A33ED0587D5F9576E0F81533'
'D0F8F495DA6160C44EFFBF10F07B9D2DACB19FD6') # Net-SNMP Administrators
sha256sums=(eb7fd4a44de6cddbffd9a92a85ad1309e5c1054fb9d5a7dd93079c8953f48c3f # net-snmp-5.9.1.tar.gz
d464edc9d62f1683f10fd3182b055fa2f7befc66912e33125ec11d17d2ad4a08) # net-snmp-5.9.1.tar.gz.asc

56
net-snmp/PKGBUILD-arch Normal file
View File

@ -0,0 +1,56 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Dale Blount <dale@archlinux.org>
pkgname=net-snmp
pkgver=5.9.1
pkgrel=4
pkgdesc="A suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6"
arch=('x86_64')
url="http://www.net-snmp.org/"
license=('BSD')
depends=('libnsl' 'libpcap' 'lm_sensors' 'pciutils' 'pcre')
makedepends=('python-setuptools')
optdepends=('perl-term-readkey: for snmpcheck application'
'perl-tk: for snmpcheck and tkmib applications'
'python: for the python modules')
options=('!emptydirs' '!makeflags')
source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}
snmpd.service snmptrapd.service)
sha512sums=('30989e43034e17433b885854490f2f37470a532cb7cab0d2a3beb37f5f3c2b10e803af125a5177d87fc0a36cecc266fefc016b609427b558f36567c2f1a84b20'
'SKIP'
'802057d08f4fe69fa9fafed349d37c0f8a6092002b933292563568db274890ae8932a000ecb60c5db0db792ecca30723fc803c0af6da147d148bf059b7f137eb'
'82b05b805db5f6870242ea4dfaa58de2865c367208cacfa4fc543c9f2a310d7229dee94ea6054d35c4bab69393f33fd367551727279da4411052589ed37bb4a4')
validpgpkeys=('8AAA779B597B405BBC329B6376CF47B8A77C5329'
'27CAA4A32E371383A33ED0587D5F9576E0F81533'
'D0F8F495DA6160C44EFFBF10F07B9D2DACB19FD6') # Net-SNMP Administrators
prepare() {
cd ${pkgname}-${pkgver}
autoreconf -i
}
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--sysconfdir=/etc --sbindir=/usr/bin \
--mandir=/usr/share/man \
--enable-ucd-snmp-compatibility \
--enable-ipv6 \
--with-python-modules \
--with-default-snmp-version="3" \
--with-sys-contact="root@localhost" \
--with-sys-location="Unknown" \
--with-logfile="/var/log/snmpd.log" \
--with-mib-modules="host misc/ipfwacc ucd-snmp/diskio tunnel ucd-snmp/dlmod ucd-snmp/lmsensorsMib" \
--with-persistent-directory="/var/net-snmp"
make NETSNMP_DONT_CHECK_VERSION=1
}
package() {
cd ${pkgname}-${pkgver}
sed -i -e "s:install --basedir=\$\$dir:install --basedir=\$\$dir --root=${pkgdir}:" Makefile
make DESTDIR="${pkgdir}" INSTALL_PREFIX="${pkgdir}" INSTALLDIRS=vendor install
install -D -m644 "${srcdir}/snmpd.service" "${pkgdir}/usr/lib/systemd/system/snmpd.service"
install -D -m644 "${srcdir}/snmptrapd.service" "${pkgdir}/usr/lib/systemd/system/snmptrapd.service"
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

1
net-snmp/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,net-snmp*.tar.gz}

5
net-snmp/deps Normal file
View File

@ -0,0 +1,5 @@
libnsl
lm_sensors
python-setuptools
autoconf
automake

1
net-snmp/key Normal file
View File

@ -0,0 +1 @@
gpg --recv-keys F07B9D2DACB19FD6

12
net-snmp/snmpd.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=Simple Network Management Protocol (SNMP) Daemon
After=syslog.target network.target
[Service]
Type=forking
PIDFile=/run/snmpd.pid
ExecStart=/usr/bin/snmpd -p /run/snmpd.pid
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,12 @@
[Unit]
Description=Simple Network Management Protocol (SNMP) TRAP Daemon
After=syslog.target network.target
[Service]
Type=forking
PIDFile=/run/snmptrapd.pid
ExecStart=/usr/bin/snmptrapd -p /run/snmptrapd.pid
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target