Compare commits

...

4 commits

Author SHA1 Message Date
7ad0778608
upgpkg: discord-electron-openasar 0.0.27+810-1
Update to latest OpenAsar commit
Unset not needed variables in launch script
Rewording install file text
2023-06-08 21:57:27 +02:00
8689b4a782
upgpkg: gvisor-git 20230605.0-1 2023-06-08 21:42:39 +02:00
3924a50336
upgpkg: gvisor-bin 20230605.0-1
upstream release
2023-06-08 21:41:09 +02:00
a7a20b9fd0
upgpkg: clonezilla-unstable 5.4.9-1
upstream release
2023-06-08 21:40:39 +02:00
10 changed files with 42 additions and 39 deletions

View file

@ -1,6 +1,6 @@
pkgbase = clonezilla-unstable
pkgdesc = ncurses partition and disk imaging/cloning program
pkgver = 5.4.8
pkgver = 5.4.9
pkgrel = 1
url = https://clonezilla.org
arch = any
@ -29,9 +29,9 @@ pkgbase = clonezilla-unstable
provides = clonezilla
conflicts = clonezilla
backup = etc/drbl/drbl-ocs.conf
source = https://free.nchc.org.tw/drbl-core/src/unstable/clonezilla-5.4.8.tar.xz
source = https://free.nchc.org.tw/drbl-core/src/unstable/clonezilla-5.4.9.tar.xz
source = usrbin.patch
sha256sums = 07c71b197a1105ae28f664a58e394ab3acb9223ca884f03d03efca594192bfba
sha256sums = 059d6fdb859b6ac9089a788e78abb697277125580ff116720058cdc109e89cbd
sha256sums = 9340f18b27a1b3b41c4935c5831f6503e4cadf333f03433769906da40a6e38e6
pkgname = clonezilla-unstable

View file

@ -2,7 +2,7 @@
pkgname=clonezilla-unstable
_pkgname=clonezilla
pkgver=5.4.8
pkgver=5.4.9
pkgrel=1
pkgdesc="ncurses partition and disk imaging/cloning program"
arch=('any')
@ -16,7 +16,7 @@ conflicts=("${_pkgname}")
provides=("${_pkgname}")
source=("https://free.nchc.org.tw/drbl-core/src/unstable/${_pkgname}-${pkgver}.tar.xz"
'usrbin.patch')
sha256sums=('07c71b197a1105ae28f664a58e394ab3acb9223ca884f03d03efca594192bfba'
sha256sums=('059d6fdb859b6ac9089a788e78abb697277125580ff116720058cdc109e89cbd'
'9340f18b27a1b3b41c4935c5831f6503e4cadf333f03433769906da40a6e38e6')
prepare() {

View file

@ -1,7 +1,7 @@
pkgbase = discord-electron-openasar
pkgdesc = Discord packaged with OpenAsar using system provided electron (v22) for increased security and performance
pkgver = 0.0.27+809
pkgrel = 5
pkgver = 0.0.27+810
pkgrel = 1
url = https://discord.com
install = discord-electron-openasar.install
arch = x86_64
@ -21,9 +21,9 @@ pkgbase = discord-electron-openasar
options = !strip
source = https://dl.discordapp.net/apps/linux/0.0.27/discord-0.0.27.tar.gz
source = discord-launcher.sh
source = git+https://github.com/goosemod/openasar.git#commit=a8b07392808032f95ac3a7c5856e76d2619c91ae
source = git+https://github.com/goosemod/openasar.git#commit=cd443572e5df630c446a5956ade19c4fc065aca9
sha512sums = 285a0119b4740402a3fa94d3679a52bc8d883413ee32187e90087960a4d34aaf316788d2708bbccafe3f995c2b99767b45bc4b7c731704ef887a8de1b3d3926f
sha512sums = 1da218eb240901ed48c392c154d061b02024daeb02ee7d991cdbc97ecba30a6f06af25abb602880872d89dcc63a8cd4d149c12414086b081035938deff8fe26d
sha512sums = 4bbe010c28926ca898ac33da15ce8373060af44e0583e6956671fa2ee8a2a379a88a6ff9b4f886806fc05117428834852ba2e81a9163381c678c240067b7abd0
sha512sums = SKIP
pkgname = discord-electron-openasar

View file

@ -7,9 +7,9 @@
pkgname=discord-electron-openasar
_pkgname=discord
_electron=22
pkgver=0.0.27+809
pkgver=0.0.27+810
_pkgver=${pkgver%%+*}
pkgrel=5
pkgrel=1
pkgdesc="Discord packaged with OpenAsar using system provided electron (v${_electron}) for increased security and performance"
arch=('x86_64')
provides=("${_pkgname}")
@ -27,9 +27,9 @@ optdepends=(
)
source=("https://dl.discordapp.net/apps/linux/${_pkgver}/discord-${_pkgver}.tar.gz"
'discord-launcher.sh'
"git+https://github.com/goosemod/openasar.git#commit=a8b07392808032f95ac3a7c5856e76d2619c91ae")
"git+https://github.com/goosemod/openasar.git#commit=cd443572e5df630c446a5956ade19c4fc065aca9")
sha512sums=('285a0119b4740402a3fa94d3679a52bc8d883413ee32187e90087960a4d34aaf316788d2708bbccafe3f995c2b99767b45bc4b7c731704ef887a8de1b3d3926f'
'1da218eb240901ed48c392c154d061b02024daeb02ee7d991cdbc97ecba30a6f06af25abb602880872d89dcc63a8cd4d149c12414086b081035938deff8fe26d'
'4bbe010c28926ca898ac33da15ce8373060af44e0583e6956671fa2ee8a2a379a88a6ff9b4f886806fc05117428834852ba2e81a9163381c678c240067b7abd0'
'SKIP')
_krisp_b2sum='592f55259500afc0d7fd334a10d3c1991fae05db870bf12437edc43cf693988195341f2cb827aba333c0e65fb4cb40dccfcc5d6a84dea4a1645f9563505b6496'

View file

@ -1,27 +1,25 @@
post_upgrade() {
# return if old package version is greater than or equal to 0.0.27-5...
# return if old package version is greater than or equal to 0.0.27+809-5...
(( $(vercmp $2 '0.0.27+809-5') >= 0 )) && return
cat <<EOF
==> The launch script will now patch Krisp noise suppression support
if 'rizin' is installed. Restart your Discord client after update
to apply the patch
to apply the patch.
EOF
# return if old package version is greater than or equal to 0.0.27+809-2...
(( $(vercmp $2 '0.0.27+809-2') >= 0 )) && return
cat <<EOF
==> You can now add or uncomment additional Electron flags in
'~/.config/discord-flags.conf' (if XDG_CONFIG_HOME is not set)
==> You can now set additional Electron flags in '~/.config/discord-flags.conf'.
EOF
}
post_install() {
cat <<EOF
==> For Krisp noise suppression support consider installing 'rizin'. Restart
your Discord client after installation or update to apply the patch
==> In case of performance problems consider adding or uncommenting Electron
flags in '~/.config/discord-flags.conf' (if XDG_CONFIG_HOME is not set)
your Discord client after installation or update to apply the patch.
==> Additional Electron flags can be set in '~/.config/discord-flags.conf'.
EOF
}

View file

@ -2,14 +2,16 @@
set -euo pipefail
declare -a flags
flags_file="${XDG_CONFIG_HOME:-$HOME/.config}/@PKGNAME@-flags.conf"
krisp_bin="${XDG_CONFIG_HOME:-$HOME/.config}/@PKGNAME@/@PKGVER@/modules/@PKGNAME@_krisp/@PKGNAME@_krisp.node"
declare -a flags
krisp_b2=@KRISPB2@
if hash rizin &> /dev/null; then
# Patch Krisp binary to ignore signature check
if [[ -f "${krisp_bin}" && $(b2sum "${krisp_bin}" | head -c 128) == @KRISPB2@ ]]; then
if [[ -f "${krisp_bin}" && $(b2sum "${krisp_bin}" | head -c 128) == $krisp_b2 ]]; then
addr=$(rz-find -x '4889dfe8........4889dfe8' "${krisp_bin}" | head -n1)
rizin -q -w -c "s $addr + 0x12 ; wao nop" "${krisp_bin}" &> /dev/null
fi
@ -34,6 +36,9 @@ for line in "${MAPFILE[@]}"; do
fi
done
unset flags_file krisp_bin krisp_b2
exec /usr/bin/electron@ELECTRON@ \
/usr/lib/@PKGNAME@/app.asar \
--ozone-platform-hint=auto \

View file

@ -1,6 +1,6 @@
pkgbase = gvisor-bin
pkgdesc = OCI container sandbox runtime focused on security, efficiency, and ease of use
pkgver = 20230501.0
pkgver = 20230605.0
pkgrel = 1
url = https://gvisor.dev
arch = x86_64
@ -9,13 +9,13 @@ pkgbase = gvisor-bin
optdepends = docker: for Docker runtime support
provides = gvisor
conflicts = gvisor
source_x86_64 = runsc-x86_64-20230501.0::https://storage.googleapis.com/gvisor/releases/release/20230501.0/x86_64/runsc
source_x86_64 = containerd-shim-runsc-v1-x86_64-20230501.0::https://storage.googleapis.com/gvisor/releases/release/20230501.0/x86_64/containerd-shim-runsc-v1
sha512sums_x86_64 = a4f745195a5040d33a1b2583bb455fbb417e4ad08a117b88db630e2158ffb067cf6de83d2481d0126b39f73ba77a440373500075860ce33c44dc1bb396f873e0
sha512sums_x86_64 = 036b102b62fd8e932b2e7da9919597d4b541ec62cd691d57241658ed156aa62743c1ab648903d317d74a22dbb5d2a922f8d067e86af2cb436ce5eb55c7cf4f93
source_aarch64 = runsc-aarch64-20230501.0::https://storage.googleapis.com/gvisor/releases/release/20230501.0/aarch64/runsc
source_aarch64 = containerd-shim-runsc-v1-aarch64-20230501.0::https://storage.googleapis.com/gvisor/releases/release/20230501.0/aarch64/containerd-shim-runsc-v1
sha512sums_aarch64 = 18bac7c31934d705b226ca2a897f32247dbaacd51652c3b7d6a07bbcb4b18be61ff6253abe873325ed974ae7c254c689eeedaf26fff400f21391778f06b36290
sha512sums_aarch64 = c051ce23a0dffbd520ae3f85da918cb120fd36cb33e6043a99f7f6ac942eea471b8d3b68a6688a9c7e23a0c6692565dcce2746aa0eca5cd5b486a14a6caa4824
source_x86_64 = runsc-x86_64-20230605.0::https://storage.googleapis.com/gvisor/releases/release/20230605.0/x86_64/runsc
source_x86_64 = containerd-shim-runsc-v1-x86_64-20230605.0::https://storage.googleapis.com/gvisor/releases/release/20230605.0/x86_64/containerd-shim-runsc-v1
sha512sums_x86_64 = b96374f8b5a13c5fd51097cc16032b55241e2a0c6d286657d9a1ca7198be2b587d85aa595b69527858121cda63e1cde5cfb49fb57864d2c320ce356c4271f4f6
sha512sums_x86_64 = e3555d7be221a855148e1a4aec81a9ba217c31cd2d83bb35108eeb98b332f1df22eca2fdaaeff82a6cd452046aa72ccc8800890b2ee1a85497862ffd2c8158fb
source_aarch64 = runsc-aarch64-20230605.0::https://storage.googleapis.com/gvisor/releases/release/20230605.0/aarch64/runsc
source_aarch64 = containerd-shim-runsc-v1-aarch64-20230605.0::https://storage.googleapis.com/gvisor/releases/release/20230605.0/aarch64/containerd-shim-runsc-v1
sha512sums_aarch64 = d959d727e78769d4f1bb2b7c15a557df02611b3bc7349fae02416d206403c5f5e442bcbd60389498fe5bcce4eb7d23385294bacfbd845eeda3746e4cdd681de2
sha512sums_aarch64 = a1f7288e8d6301ccfe97f4d28aa44d429535e3a577c6b9db32553f2b82b27eb08763ba8232b92c77445418c474d0df7fbf06f6fd24b3da82a7e0ecfc455e3f11
pkgname = gvisor-bin

View file

@ -4,7 +4,7 @@
pkgname='gvisor-bin'
_pkgbin='runsc'
_pkgshim='containerd-shim-runsc-v1'
pkgver=20230501.0
pkgver=20230605.0
pkgrel=1
pkgdesc='OCI container sandbox runtime focused on security, efficiency, and ease of use'
arch=('x86_64' 'aarch64')
@ -25,10 +25,10 @@ source_aarch64=(
"$_pkgbin-aarch64-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/$pkgver/aarch64/$_pkgbin"
"$_pkgshim-aarch64-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/$pkgver/aarch64/$_pkgshim"
)
sha512sums_x86_64=('a4f745195a5040d33a1b2583bb455fbb417e4ad08a117b88db630e2158ffb067cf6de83d2481d0126b39f73ba77a440373500075860ce33c44dc1bb396f873e0'
'036b102b62fd8e932b2e7da9919597d4b541ec62cd691d57241658ed156aa62743c1ab648903d317d74a22dbb5d2a922f8d067e86af2cb436ce5eb55c7cf4f93')
sha512sums_aarch64=('18bac7c31934d705b226ca2a897f32247dbaacd51652c3b7d6a07bbcb4b18be61ff6253abe873325ed974ae7c254c689eeedaf26fff400f21391778f06b36290'
'c051ce23a0dffbd520ae3f85da918cb120fd36cb33e6043a99f7f6ac942eea471b8d3b68a6688a9c7e23a0c6692565dcce2746aa0eca5cd5b486a14a6caa4824')
sha512sums_x86_64=('b96374f8b5a13c5fd51097cc16032b55241e2a0c6d286657d9a1ca7198be2b587d85aa595b69527858121cda63e1cde5cfb49fb57864d2c320ce356c4271f4f6'
'e3555d7be221a855148e1a4aec81a9ba217c31cd2d83bb35108eeb98b332f1df22eca2fdaaeff82a6cd452046aa72ccc8800890b2ee1a85497862ffd2c8158fb')
sha512sums_aarch64=('d959d727e78769d4f1bb2b7c15a557df02611b3bc7349fae02416d206403c5f5e442bcbd60389498fe5bcce4eb7d23385294bacfbd845eeda3746e4cdd681de2'
'a1f7288e8d6301ccfe97f4d28aa44d429535e3a577c6b9db32553f2b82b27eb08763ba8232b92c77445418c474d0df7fbf06f6fd24b3da82a7e0ecfc455e3f11')
package() {
install -Dm 755 "$_pkgbin-$CARCH-$pkgver" "$pkgdir/usr/bin/$_pkgbin"

View file

@ -1,6 +1,6 @@
pkgbase = gvisor-git
pkgdesc = OCI container sandbox runtime focused on security, efficiency, and ease of use
pkgver = 20230501.0
pkgver = 20230605.0
pkgrel = 1
url = https://gvisor.dev
arch = x86_64

View file

@ -4,7 +4,7 @@
pkgname='gvisor-git'
_pkgbin='runsc'
_pkgshim='containerd-shim-runsc-v1'
pkgver=20230501.0
pkgver=20230605.0
pkgrel=1
pkgdesc='OCI container sandbox runtime focused on security, efficiency, and ease of use'
arch=('x86_64' 'aarch64')