initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

64
gkrellm/PKGBUILD Normal file
View File

@@ -0,0 +1,64 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=gkrellm
pkgver=2.3.11
_debver=$pkgver
_debrel=2
pkgrel=2
pkgdesc="System monitor package for GTK2+"
arch=('i686' 'x86_64')
url='http://gkrellm.srcbox.net/'
license=('GPL-3')
depends=('gtk2' 'libsm' 'libressl')
makedepends=('quilt')
backup=('etc/gkrellmd.conf')
source=("${pkgname}-${pkgver}.tar.xz::https://deb.debian.org/debian/pool/main/g/gkrellm/gkrellm_2.3.11.orig.tar.xz"
"https://deb.debian.org/debian/pool/main/g/gkrellm/gkrellm_${_debver}-${_debrel}.debian.tar.xz"
"add-libressl-support.patch"
"gkrellmd.initd"
"gkrellmd.confd"
"gkrellmd.run")
sha512sums=('f4160edd55d42ec91f47495d6e98703cba69c17ee08eae1a1d2791c800e0014752a98bbdce2621712f2fb52f5f4f8290a70ff3158bc514e7cc2c7cdf9bf3a38f'
'3cbad5999a313372ff3dc7864330ad46b3bf7e8f087f0c09a6e25acf067466ed8a1d0f54109471da99aca853a3ff43b90543697ed5ec2b222c68555652c372c6'
'8727306d0e3ef38bf50519d9e46cc8603eefdd1bc4b15b5beeb44cef69719eb5686278cc314e0e34ef7bd3856bba9eca04b9706c85ad56475c96d2f5facc4a34'
'403431a0bfe8264ccdaf3c7e361e363a18a5e2deda8b2287919030c746c7caf80571b1a2dda407c113a9f878253078e67202017a026d83dec43bc5ca0389cc06'
'257e13405bc5ce7b61b7a18e7456d1ae22d6fc2052e0e65e3b53c352a43aad2bedb4660dfd7cb95709b51f54b8949f6ff114de310be1ce49d70b074b3b8f8ef5'
'af3e7714050a1c5f9aef978fb9d3b8eb70973d68d5ad8944bd878ddee268a38a2add927bfcc91b22776fc4f23e791930df63ce34854d8f42224c5b3fe0342712')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
# Debian patches
export QUILT_PATCHES=debian/patches
export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index'
export QUILT_DIFF_ARGS='--no-timestamps'
rm -rf ./debian
mv "$srcdir"/debian .
quilt push -av
fi
patch -Np1 -i ${srcdir}/add-libressl-support.patch
sed -i 's/m 644/Dm 644/' Makefile
}
build() {
cd "$srcdir/$pkgname-$pkgver"
make LOCALEDIR=/usr/share/locale
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" PREFIX=/usr install
# initial configuration
install -Dm644 "server/gkrellmd.conf" -t "$pkgdir/etc"
# services
install -Dm755 "${srcdir}"/gkrellmd.initd "${pkgdir}"/etc/init.d/gkrellmd
install -Dm644 "${srcdir}"/gkrellmd.confd "${pkgdir}"/etc/conf.d/gkrellmd
install -Dm755 "${srcdir}"/gkrellmd.run "${pkgdir}"/etc/sv/gkrellmd/run
# license
install -Dm644 COPYING COPYRIGHT -t "${pkgdir}/usr/share/licenses/$pkgname"
}

View File

@@ -0,0 +1,11 @@
--- a/src/mail.c 2019-07-25 15:49:59.000000000 +0200
+++ b/src/mail.c 2023-01-25 11:50:14.329437479 +0100
@@ -4399,7 +4399,7 @@
ssl_locks[i] = g_new(GMutex, 1);
g_mutex_init(ssl_locks[i]);
}
- CRYPTO_set_locking_callback(ssl_locking_cb);
+ CRYPTO_set_locking_callback(ssl_locks);
#endif
#endif

8
gkrellm/gkrellmd.confd Normal file
View File

@@ -0,0 +1,8 @@
# Config file for gkrellmd init script
# If you need to pass extra options to gkrellmd, you may set them here.
# See 'gkrellmd --help' for a list of options.
#
# Note: Many options can be configured in /etc/gkrellmd.conf as well
#
#GKRELLMD_OPTS=""

15
gkrellm/gkrellmd.initd Normal file
View File

@@ -0,0 +1,15 @@
#!/sbin/openrc-run
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
description="gkrell system monitor daemon"
pidfile="/run/gkrellmd.pid"
command="/usr/bin/gkrellmd"
command_args="${GKRELLMD_OPTS}"
command_background="true"
depend() {
need net
after lm_sensors
after hddtemp
}

3
gkrellm/gkrellmd.run Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
/usr/bin/gkrellmd
exec pause