summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrumeet <yuuta@yuuta.moe>2023-03-19 14:51:18 -0700
committerTrumeet <yuuta@yuuta.moe>2023-03-19 14:51:18 -0700
commite1a3e886bf36da6fc49b52ed5f24e8b193dadc4d (patch)
tree260895f9793117dd1194f95f105ba7dace3c0332
parent4389fe029f51e8ae24f3e68ad46a1064d822a8f6 (diff)
downloadksyxbot-e1a3e886bf36da6fc49b52ed5f24e8b193dadc4d.tar
ksyxbot-e1a3e886bf36da6fc49b52ed5f24e8b193dadc4d.tar.gz
ksyxbot-e1a3e886bf36da6fc49b52ed5f24e8b193dadc4d.tar.bz2
ksyxbot-e1a3e886bf36da6fc49b52ed5f24e8b193dadc4d.zip
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
-rw-r--r--arch/PKGBUILD8
1 files 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 <yuuta@yuuta.moe>
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() {