Compare commits
No commits in common. "a66a4a7981e3fd931b67deb644df325e42b87ad6" and "1e6cbc9974880c4d2d65f126c32ee6c01957025a" have entirely different histories.
a66a4a7981
...
1e6cbc9974
9 changed files with 131 additions and 54 deletions
|
@ -1,7 +1,7 @@
|
|||
pkgbase = discord-electron-openasar
|
||||
pkgdesc = Discord packaged with OpenAsar using system provided electron (v33) for increased security and performance
|
||||
pkgver = 0.0.72+830
|
||||
pkgrel = 1
|
||||
pkgver = 0.0.71+830
|
||||
pkgrel = 2
|
||||
url = https://discord.com
|
||||
install = discord-electron-openasar.install
|
||||
arch = x86_64
|
||||
|
@ -21,11 +21,11 @@ pkgbase = discord-electron-openasar
|
|||
provides = discord
|
||||
conflicts = discord
|
||||
options = !strip
|
||||
source = https://dl.discordapp.net/apps/linux/0.0.72/discord-0.0.72.tar.gz
|
||||
source = https://dl.discordapp.net/apps/linux/0.0.71/discord-0.0.71.tar.gz
|
||||
source = discord-launcher.sh
|
||||
source = krisp-patcher.py
|
||||
source = git+https://github.com/goosemod/openasar.git#commit=f92ee8c3dc6b6ff9829f69a1339e0f82a877929c
|
||||
sha512sums = ddb791e1a92a30f2cab24fd7a686b621be33d51c2a7c0a0eed3293b4edd05f814ea850cbf43c9910f4576b17dc9e9c1367960f3d1536e7ec1ede372904c6c424
|
||||
sha512sums = c4042a56e8ad170901367ed562831d0f8933d8f0babf246639f8b5b17d7b437b58d6cf696f3c3d6a30674c041567115d0419a3e4c00de7064db58a4c77a61a93
|
||||
sha512sums = 4497ff3df7e2c1e72eea09d6f36a80cabeabfd43bb03b0966795d45e10a02ea6b4c10407661092d057435e0d69d75e958a3dbb1dc5971a215ce09547ec56f666
|
||||
sha512sums = 42cef68c1f7d574b4fbe859a4dc616e8994c7d16f62bcae3ff1f88e1edc58ac37b39c238d7defa9c97ceda417fcd6224cf0a0fd2608b8d18d0877e3c1befa59c
|
||||
sha512sums = 4befe9f30b7d11da966692242353becca3f86f7d5b3eb73c48b6f42073b88f7c8a21141d3f84ee2ff10f74a4596d1391f0b200134599a36c9589074bec298573
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
pkgname=discord-electron-openasar
|
||||
_pkgname=discord
|
||||
pkgver=0.0.72+830
|
||||
pkgver=0.0.71+830
|
||||
_pkgver=${pkgver%%+*}
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
_electronver=33
|
||||
_electronname="electron${_electronver}"
|
||||
pkgdesc="Discord packaged with OpenAsar using system provided electron (v${_electronver}) for increased security and performance"
|
||||
|
@ -28,7 +28,7 @@ source=("https://dl.discordapp.net/apps/linux/${_pkgver}/${_pkgname}-${_pkgver}.
|
|||
'discord-launcher.sh'
|
||||
'krisp-patcher.py' # original: https://github.com/sersorrel/sys/blob/main/hm/discord/krisp-patcher.py
|
||||
"git+https://github.com/goosemod/openasar.git#commit=f92ee8c3dc6b6ff9829f69a1339e0f82a877929c")
|
||||
sha512sums=('ddb791e1a92a30f2cab24fd7a686b621be33d51c2a7c0a0eed3293b4edd05f814ea850cbf43c9910f4576b17dc9e9c1367960f3d1536e7ec1ede372904c6c424'
|
||||
sha512sums=('c4042a56e8ad170901367ed562831d0f8933d8f0babf246639f8b5b17d7b437b58d6cf696f3c3d6a30674c041567115d0419a3e4c00de7064db58a4c77a61a93'
|
||||
'4497ff3df7e2c1e72eea09d6f36a80cabeabfd43bb03b0966795d45e10a02ea6b4c10407661092d057435e0d69d75e958a3dbb1dc5971a215ce09547ec56f666'
|
||||
'42cef68c1f7d574b4fbe859a4dc616e8994c7d16f62bcae3ff1f88e1edc58ac37b39c238d7defa9c97ceda417fcd6224cf0a0fd2608b8d18d0877e3c1befa59c'
|
||||
'4befe9f30b7d11da966692242353becca3f86f7d5b3eb73c48b6f42073b88f7c8a21141d3f84ee2ff10f74a4596d1391f0b200134599a36c9589074bec298573')
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = discord-electron
|
||||
pkgdesc = Discord using system provided electron (v33) for increased security and performance
|
||||
pkgver = 0.0.72
|
||||
pkgrel = 1
|
||||
pkgver = 0.0.71
|
||||
pkgrel = 2
|
||||
url = https://discord.com
|
||||
install = discord-electron.install
|
||||
arch = x86_64
|
||||
|
@ -18,10 +18,10 @@ pkgbase = discord-electron
|
|||
provides = discord
|
||||
conflicts = discord
|
||||
options = !strip
|
||||
source = https://dl.discordapp.net/apps/linux/0.0.72/discord-0.0.72.tar.gz
|
||||
source = https://dl.discordapp.net/apps/linux/0.0.71/discord-0.0.71.tar.gz
|
||||
source = discord-launcher.sh
|
||||
source = krisp-patcher.py
|
||||
sha512sums = ddb791e1a92a30f2cab24fd7a686b621be33d51c2a7c0a0eed3293b4edd05f814ea850cbf43c9910f4576b17dc9e9c1367960f3d1536e7ec1ede372904c6c424
|
||||
sha512sums = c4042a56e8ad170901367ed562831d0f8933d8f0babf246639f8b5b17d7b437b58d6cf696f3c3d6a30674c041567115d0419a3e4c00de7064db58a4c77a61a93
|
||||
sha512sums = 4497ff3df7e2c1e72eea09d6f36a80cabeabfd43bb03b0966795d45e10a02ea6b4c10407661092d057435e0d69d75e958a3dbb1dc5971a215ce09547ec56f666
|
||||
sha512sums = 42cef68c1f7d574b4fbe859a4dc616e8994c7d16f62bcae3ff1f88e1edc58ac37b39c238d7defa9c97ceda417fcd6224cf0a0fd2608b8d18d0877e3c1befa59c
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
pkgname=discord-electron
|
||||
_pkgname=discord
|
||||
pkgver=0.0.72
|
||||
pkgrel=1
|
||||
pkgver=0.0.71
|
||||
pkgrel=2
|
||||
_electronver=33
|
||||
_electronname="electron${_electronver}"
|
||||
pkgdesc="Discord using system provided electron (v${_electronver}) for increased security and performance"
|
||||
|
@ -24,7 +24,7 @@ optdepends=(
|
|||
source=("https://dl.discordapp.net/apps/linux/${pkgver}/${_pkgname}-${pkgver}.tar.gz"
|
||||
'discord-launcher.sh'
|
||||
'krisp-patcher.py') # original: https://github.com/sersorrel/sys/blob/main/hm/discord/krisp-patcher.py
|
||||
sha512sums=('ddb791e1a92a30f2cab24fd7a686b621be33d51c2a7c0a0eed3293b4edd05f814ea850cbf43c9910f4576b17dc9e9c1367960f3d1536e7ec1ede372904c6c424'
|
||||
sha512sums=('c4042a56e8ad170901367ed562831d0f8933d8f0babf246639f8b5b17d7b437b58d6cf696f3c3d6a30674c041567115d0419a3e4c00de7064db58a4c77a61a93'
|
||||
'4497ff3df7e2c1e72eea09d6f36a80cabeabfd43bb03b0966795d45e10a02ea6b4c10407661092d057435e0d69d75e958a3dbb1dc5971a215ce09547ec56f666'
|
||||
'42cef68c1f7d574b4fbe859a4dc616e8994c7d16f62bcae3ff1f88e1edc58ac37b39c238d7defa9c97ceda417fcd6224cf0a0fd2608b8d18d0877e3c1befa59c')
|
||||
|
||||
|
|
23
systemtap/.SRCINFO
Normal file
23
systemtap/.SRCINFO
Normal file
|
@ -0,0 +1,23 @@
|
|||
pkgbase = systemtap
|
||||
pkgdesc = Infrastructure to simplify the gathering of information about the running Linux system
|
||||
pkgver = 5.1
|
||||
pkgrel = 1
|
||||
url = https://sourceware.org/systemtap/
|
||||
install = systemtap.install
|
||||
arch = x86_64
|
||||
license = GPL-2.0-or-later
|
||||
makedepends = python-setuptools
|
||||
makedepends = xmlto
|
||||
depends = elfutils
|
||||
depends = nss
|
||||
depends = python
|
||||
depends = cpio
|
||||
optdepends = sqlite3: for storing results in a database
|
||||
options = !emptydirs
|
||||
source = https://sourceware.org/ftp/systemtap/releases/systemtap-5.1.tar.gz
|
||||
source = https://sourceware.org/ftp/systemtap/releases/systemtap-5.1.tar.gz.asc
|
||||
validpgpkeys = 41A0C11274B1E87FE28E4C53E3D77E1F95161991
|
||||
sha512sums = da0fe237d2124031a5786d1221dbb420d90da5497376715fd43a7a9f61a354a229c1128e67ce6becbc012aa3796dc5d337149e239e3c1def0651b179e5bf199f
|
||||
sha512sums = SKIP
|
||||
|
||||
pkgname = systemtap
|
52
systemtap/PKGBUILD
Normal file
52
systemtap/PKGBUILD
Normal file
|
@ -0,0 +1,52 @@
|
|||
# Maintainer: Manuel Hüsers <aur@huesers.de>
|
||||
# Contributor: Christian Pellegrin (chripell) <chripell@fsfe.org>
|
||||
# Contributor: An Nguyen (stk) <an@linux.com>
|
||||
# Contributor: George Angelopoulos <george@usermod.net>
|
||||
# Contributor: Christian Rebischke <Chris.Rebischke@archlinux.org>
|
||||
# Contributor: dront78 <dront78@gmail.com>
|
||||
|
||||
pkgname=systemtap
|
||||
pkgver=5.1
|
||||
pkgrel=1
|
||||
pkgdesc="Infrastructure to simplify the gathering of information about the running Linux system"
|
||||
url="https://sourceware.org/systemtap/"
|
||||
arch=('x86_64')
|
||||
license=('GPL-2.0-or-later')
|
||||
depends=('elfutils' 'nss' 'python' 'cpio')
|
||||
makedepends=('python-setuptools' 'xmlto')
|
||||
optdepends=('sqlite3: for storing results in a database')
|
||||
options=('!emptydirs')
|
||||
install="${pkgname}.install"
|
||||
source=("https://sourceware.org/ftp/${pkgname}/releases/${pkgname}-${pkgver}.tar.gz"{,.asc})
|
||||
sha512sums=('da0fe237d2124031a5786d1221dbb420d90da5497376715fd43a7a9f61a354a229c1128e67ce6becbc012aa3796dc5d337149e239e3c1def0651b179e5bf199f'
|
||||
'SKIP')
|
||||
|
||||
validpgpkeys=('41A0C11274B1E87FE28E4C53E3D77E1F95161991')
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--libexecdir=/usr/lib/"${pkgname}" \
|
||||
--libdir=/usr/lib/"${pkgname}" \
|
||||
--mandir=/usr/share/man/ \
|
||||
--sbindir=/usr/bin \
|
||||
--localstatedir=/var \
|
||||
--enable-pie \
|
||||
--disable-docs \
|
||||
--enable-htmldocs \
|
||||
--with-python3
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
rm -r "${pkgdir}/usr/include/sys"
|
||||
}
|
18
systemtap/systemtap.install
Normal file
18
systemtap/systemtap.install
Normal file
|
@ -0,0 +1,18 @@
|
|||
post_install() {
|
||||
getent group stapusr >/dev/null || groupadd -g 156 -r stapusr 2>/dev/null || groupadd -r stapusr
|
||||
getent group stapsys >/dev/null || groupadd -g 157 -r stapsys 2>/dev/null || groupadd -r stapsys
|
||||
getent group stapdev >/dev/null || groupadd -g 158 -r stapdev 2>/dev/null || groupadd -r stapdev
|
||||
|
||||
getent group stapusr >/dev/null && chgrp stapusr /usr/bin/stapbpf
|
||||
chmod 04110 /usr/bin/stapbpf
|
||||
|
||||
getent group stapusr >/dev/null && chgrp stapusr /usr/bin/staprun
|
||||
chmod 04110 /usr/bin/staprun
|
||||
|
||||
echo "CONFIG_DEBUG_INFO is disabled on default. You need to recompile"
|
||||
echo "the kernel with CONFIG_DEBUG_INFO enabled."
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
|
@ -1,12 +1,11 @@
|
|||
pkgbase = tuned-git
|
||||
pkgbase = tuned
|
||||
pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system
|
||||
pkgver = 2.24.0.r6.g35eed3c
|
||||
pkgrel = 1
|
||||
pkgver = 2.24.0
|
||||
pkgrel = 3
|
||||
url = https://github.com/redhat-performance/tuned
|
||||
arch = any
|
||||
license = GPL-2.0-or-later
|
||||
makedepends = desktop-file-utils
|
||||
makedepends = git
|
||||
depends = dbus-glib
|
||||
depends = ethtool
|
||||
depends = gawk
|
||||
|
@ -18,16 +17,14 @@ pkgbase = tuned-git
|
|||
depends = python-linux-procfs
|
||||
depends = python-perf
|
||||
depends = python-pyudev
|
||||
source = git+https://github.com/redhat-performance/tuned.git
|
||||
sha512sums = SKIP
|
||||
source = https://github.com/redhat-performance/tuned/archive/v2.24.0/tuned-2.24.0.tar.gz
|
||||
sha512sums = d004cd621e26195fff14b39f29b2143cf47de09641454acd3029d61142c3d000a452f018356c84c32772bd99fc766f6ee847d2a8eddbde8ae34aaa0ecefa644e
|
||||
|
||||
pkgname = tuned-git
|
||||
pkgname = tuned
|
||||
optdepends = virt-what: virtual machine detection
|
||||
optdepends = systemtap: detailed system monitoring
|
||||
optdepends = tuned-ppd: power-profiles-daemon api translation
|
||||
optdepends = wireless_tools: wireless device power management
|
||||
provides = tuned
|
||||
conflicts = tuned
|
||||
backup = etc/tuned/active_profile
|
||||
backup = etc/tuned/bootcmdline
|
||||
backup = etc/tuned/cpu-partitioning-powersave-variables.conf
|
||||
|
@ -39,12 +36,10 @@ pkgname = tuned-git
|
|||
backup = etc/tuned/realtime-virtual-host-variables.conf
|
||||
backup = etc/tuned/tuned-main.conf
|
||||
|
||||
pkgname = tuned-ppd-git
|
||||
pkgname = tuned-ppd
|
||||
pkgdesc = Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD)
|
||||
depends = tuned
|
||||
provides = tuned-ppd
|
||||
provides = power-profiles-daemon
|
||||
conflicts = tuned-ppd
|
||||
conflicts = power-profiles-daemon
|
||||
options = !emptydirs
|
||||
backup = etc/tuned/ppd.conf
|
|
@ -1,32 +1,23 @@
|
|||
# Maintainer: Manuel Hüsers <aur@huesers.de>
|
||||
# Contributor: Wes Jackson <icebal dot 7 at gmail dot com>
|
||||
# Contributor: Iwan Timmer <irtimmer@gmail.com>
|
||||
# Contributor: Timothée Ravier <tim at siosm dot fr>
|
||||
# Contributor: Tom <reztho at archlinux dot org>
|
||||
|
||||
_pkgbase=tuned
|
||||
pkgbase="${_pkgbase}-git"
|
||||
pkgname=("${_pkgbase}-git" "${_pkgbase}-ppd-git")
|
||||
pkgver=2.24.0.r6.g35eed3c
|
||||
pkgrel=1
|
||||
pkgbase=tuned
|
||||
pkgname=("${pkgbase}" "${pkgbase}-ppd")
|
||||
pkgver=2.24.0
|
||||
pkgrel=3
|
||||
pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system'
|
||||
arch=('any')
|
||||
url="https://github.com/redhat-performance/${_pkgbase}"
|
||||
url="https://github.com/redhat-performance/${pkgbase}"
|
||||
license=('GPL-2.0-or-later')
|
||||
depends=('dbus-glib' 'ethtool' 'gawk' 'hdparm' 'polkit' 'python-configobj'
|
||||
'python-dbus' 'python-gobject' 'python-linux-procfs' 'python-perf'
|
||||
'python-pyudev')
|
||||
makedepends=('desktop-file-utils' 'git')
|
||||
source=("git+${url}.git")
|
||||
sha512sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "${_pkgbase}"
|
||||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/^v//g;s/-/./g'
|
||||
}
|
||||
depends=('dbus-glib' 'ethtool' 'gawk' 'hdparm' 'polkit' 'python-configobj' 'python-dbus' 'python-gobject' 'python-linux-procfs' 'python-perf' 'python-pyudev')
|
||||
makedepends=('desktop-file-utils')
|
||||
source=("https://github.com/redhat-performance/${pkgbase}/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz")
|
||||
sha512sums=('d004cd621e26195fff14b39f29b2143cf47de09641454acd3029d61142c3d000a452f018356c84c32772bd99fc766f6ee847d2a8eddbde8ae34aaa0ecefa644e')
|
||||
|
||||
prepare() {
|
||||
cd "${_pkgbase}"
|
||||
cd "${pkgbase}-${pkgver}"
|
||||
mv libexec lib
|
||||
|
||||
sed -i 's|/libexec/|/lib/|g' Makefile
|
||||
|
@ -34,13 +25,11 @@ prepare() {
|
|||
sed -i 's|install-ppd: install$|install-ppd: install-dirs|' Makefile
|
||||
}
|
||||
|
||||
package_tuned-git() {
|
||||
package_tuned() {
|
||||
optdepends=('virt-what: virtual machine detection'
|
||||
'systemtap: detailed system monitoring'
|
||||
'tuned-ppd: power-profiles-daemon api translation'
|
||||
'wireless_tools: wireless device power management')
|
||||
provides=("${_pkgbase}")
|
||||
conflicts=("${_pkgbase}")
|
||||
backup=('etc/tuned/active_profile'
|
||||
'etc/tuned/bootcmdline'
|
||||
'etc/tuned/cpu-partitioning-powersave-variables.conf'
|
||||
|
@ -52,7 +41,7 @@ package_tuned-git() {
|
|||
'etc/tuned/realtime-virtual-host-variables.conf'
|
||||
'etc/tuned/tuned-main.conf')
|
||||
|
||||
cd "${_pkgbase}"
|
||||
cd "${pkgbase}-${pkgver}"
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
rm -rv "${pkgdir}"/{run,var}
|
||||
|
@ -61,15 +50,15 @@ package_tuned-git() {
|
|||
python -O -m compileall -d /usr/lib "${pkgdir}/usr/lib"
|
||||
}
|
||||
|
||||
package_tuned-ppd-git() {
|
||||
package_tuned-ppd() {
|
||||
pkgdesc='Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD)'
|
||||
depends=("${_pkgbase}")
|
||||
provides=("${_pkgbase}-ppd" 'power-profiles-daemon')
|
||||
conflicts=("${_pkgbase}-ppd" 'power-profiles-daemon')
|
||||
depends=('tuned')
|
||||
provides=('power-profiles-daemon')
|
||||
conflicts=('power-profiles-daemon')
|
||||
backup=('etc/tuned/ppd.conf')
|
||||
options=('!emptydirs')
|
||||
|
||||
cd "${_pkgbase}"
|
||||
cd "${pkgbase}-${pkgver}"
|
||||
|
||||
make DESTDIR="${pkgdir}" install-ppd
|
||||
}
|
Loading…
Reference in a new issue