Added gpt-telegramus

This commit is contained in:
Kevin Muñoz 2024-03-31 11:38:05 -05:00
parent e64702bef7
commit 39453ba3a6
No known key found for this signature in database
GPG Key ID: 3CA0B9DF1BE7CE09
8 changed files with 62 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
*/*.tzg
*/*.git */*.git
*/*.tar.xz */*.tar.xz
*/*.tar.gz */*.tar.gz

1
gpt-telegramus/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.tar.gz

Binary file not shown.

39
gpt-telegramus/PKGBUILD Normal file
View File

@ -0,0 +1,39 @@
# Maintainer: MrHacker <david.munozm@proton.me>
pkgname=gpt-telegramus
pkgver=5.0.3
pkgrel=1
pkgdesc="GPT-Telegramus is a Telegram bot that allows you to interact with various large language models (LLMs), including ChatGPT, Bing AI (also known as Sidney or EdgeGPT), and Gemini."
arch=('x86_64')
url="https://github.com/F33RNI/GPT-Telegramus"
license=('AGPL-3.0-only')
depends=(
'python'
'python-virtualenv'
)
provides=(GPT-Telegramus)
backup=(
"opt/gpt-telegramus/config.json"
)
source_x86_64=(
"https://github.com/F33RNI/GPT-Telegramus/archive/refs/tags/${pkgver}.tar.gz"
"gpt-telegramus.service"
"${pkgver}.tar.gz.sig"
)
validpgpkeys=(
'2B9D22B41F2AF1042BFCE73A3CA0B9DF1BE7CE09' #MrHacker GPGKey
)
sha256sums_x86_64=('026a6b7a2b3552d6c04a0f1657e1a379dbc56802ea3467bf3c45d1cc0b31c978'
'248424fe9c6d049786befbee00ebc270189d8afe16a2a4190d3cd127b3874156'
'SKIP')
package() {
# cd "$srcdir/$pkgname-$pkgver"
mkdir -p "$pkgdir/opt"
tar xf "${pkgver}.tar.gz" -C "$pkgdir/opt/"
mv "$pkgdir/opt/GPT-Telegramus-$pkgver" "$pkgdir/opt/gpt-telegramus"
install -Dm644 "gpt-telegramus.service" "$pkgdir/usr/lib/systemd/system/gpt-telegramus.service"
cd "$pkgdir/opt/gpt-telegramus"
chmod +x run.sh
python -m venv venv
}

View File

@ -0,0 +1,15 @@
[Unit]
Description=GPT-Telegramus service
After=multi-user.target
[Service]
Type=simple
Restart=on-failure
RestartSec=5
WorkingDirectory=/opt/gpt-telegramus
ExecStart=/opt/gpt-telegramus/run.sh
[Install]
WantedBy=multi-user.target

View File

@ -1,6 +1,6 @@
pkgbase = splunk pkgbase = splunk
pkgdesc = Statistical analysis and search tool for logs and machine data pkgdesc = Statistical analysis and search tool for logs and machine data
pkgver = 9.1.1.0 pkgver = 9.2.0.0
pkgrel = 1 pkgrel = 1
epoch = 3 epoch = 3
url = https://www.splunk.com/ url = https://www.splunk.com/
@ -14,7 +14,7 @@ pkgbase = splunk
sha256sums = f4e831e3b281f1e677a3597fc85162cd347803ea3b41605f990347000e5caff9 sha256sums = f4e831e3b281f1e677a3597fc85162cd347803ea3b41605f990347000e5caff9
sha256sums = 236deb352218f9551df894efd613aad201afb20713ac563ab381f68b6ffce853 sha256sums = 236deb352218f9551df894efd613aad201afb20713ac563ab381f68b6ffce853
sha256sums = 56b70a2395270fc038987241504df11c390f3234d5be640bbc6a311b978e8475 sha256sums = 56b70a2395270fc038987241504df11c390f3234d5be640bbc6a311b978e8475
source_x86_64 = https://download.splunk.com/products/splunk/releases/9.1.1/linux/splunk-9.1.1-64e843ea36b1-Linux-x86_64.tgz source_x86_64 = https://download.splunk.com/products/splunk/releases/9.2.0/linux/splunk-9.2.0-1fff88043d5f-Linux-x86_64.tgz
sha256sums_x86_64 = 99f8c71b8279b10a788a933590b10b47f79fb30e286b69d27bdec249733fbe09 sha256sums_x86_64 = b5ba92a2123a21e02f52f632271aa955e59a257e92d3503466de5f24d3e0ce7b
pkgname = splunk pkgname = splunk

View File

@ -1,7 +1,7 @@
# Maintainer: L. Bradley LaBoon <me@bradleylaboon.com> # Maintainer: L. Bradley LaBoon <me@bradleylaboon.com>
pkgname=splunk pkgname=splunk
basever=9.1.1 basever=9.2.0
splunkver=${basever}-64e843ea36b1 splunkver=${basever}-1fff88043d5f
# Splunk is inconsistent with the length of their version numbers # Splunk is inconsistent with the length of their version numbers
if [ ${#basever} -gt 5 ]; then if [ ${#basever} -gt 5 ]; then
pkgver=${basever} pkgver=${basever}
@ -20,7 +20,7 @@ source_x86_64=("https://download.splunk.com/products/splunk/releases/$basever/li
sha256sums=('f4e831e3b281f1e677a3597fc85162cd347803ea3b41605f990347000e5caff9' sha256sums=('f4e831e3b281f1e677a3597fc85162cd347803ea3b41605f990347000e5caff9'
'236deb352218f9551df894efd613aad201afb20713ac563ab381f68b6ffce853' '236deb352218f9551df894efd613aad201afb20713ac563ab381f68b6ffce853'
'56b70a2395270fc038987241504df11c390f3234d5be640bbc6a311b978e8475') '56b70a2395270fc038987241504df11c390f3234d5be640bbc6a311b978e8475')
sha256sums_x86_64=('99f8c71b8279b10a788a933590b10b47f79fb30e286b69d27bdec249733fbe09') sha256sums_x86_64=('b5ba92a2123a21e02f52f632271aa955e59a257e92d3503466de5f24d3e0ce7b')
options=(!strip) options=(!strip)
package() { package() {

Binary file not shown.