From e1a3e886bf36da6fc49b52ed5f24e8b193dadc4d Mon Sep 17 00:00:00 2001 From: Trumeet Date: Sun, 19 Mar 2023 14:51:18 -0700 Subject: Use git submodule update --init to clone td.git in prepare() Due to https://vielmetti.typepad.com/logbook/2022/10/git-security-fixes-lead-to-fatal-transport-file-not-allowed-error-in-ci-systems-cve-2022-39253.html --- arch/PKGBUILD | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/PKGBUILD b/arch/PKGBUILD index 5527768..6b9996c 100644 --- a/arch/PKGBUILD +++ b/arch/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Yuuta Liang pkgname=ksyxbot-git -pkgver=r2.395fa06 +pkgver=r28.4389fe0 pkgrel=1 pkgdesc="ksyx ksyx ksyx" arch=(x86_64) @@ -16,14 +16,12 @@ backup=(etc/ksyxbot/botd.conf) options=() install= source=('ksyxbot::git+https://git.yuuta.moe/ksyxbot.git' -'td::git+https://github.com/tdlib/td.git' 'ksyxbotd.service' 'sysusers.conf' 'tmpfiles.conf' 'botd.conf') noextract=() md5sums=('SKIP' - 'SKIP' '08c096fa39e5176f0a5c4e200c41b7ad' '8f50f9e10547707cf58dc58872574f33' '056c095972ce0ee849cf8730719d1301' @@ -36,9 +34,7 @@ pkgver() { prepare() { cd "$srcdir/${pkgname%-git}" - git submodule init - git config submodule.td.url $srcdir/td - git submodule update + git submodule update --init } build() { -- cgit v1.2.3