9 Commits
3 changed files with 32 additions and 12 deletions
+4 -4
View File
@@ -1,6 +1,6 @@
pkgbase = fritz-tls pkgbase = fritz-tls
pkgdesc = Automate TLS certificate installation for AVM FRITZ!Box pkgdesc = Automate TLS certificate installation for AVM FRITZ!Box
pkgver = 0.23.0 pkgver = 0.27.0
pkgrel = 1 pkgrel = 1
url = https://github.com/tisba/fritz-tls url = https://github.com/tisba/fritz-tls
arch = armv7h arch = armv7h
@@ -8,8 +8,8 @@ pkgbase = fritz-tls
arch = x86_64 arch = x86_64
license = MIT license = MIT
makedepends = go makedepends = go
source = https://github.com/tisba/fritz-tls/archive/refs/tags/v0.23.0.zip source = fritz-tls-v0.27.0.zip::https://github.com/tisba/fritz-tls/archive/refs/tags/v0.27.0.zip
sha512sums = ec392a949ce34333869a2c633aa11bf298027842fd448cf1e249b35efc194e60c94c5126ab56bb81fbe85ef0a88ebe4d6f71042ea96d106db74cb76ebbe8e2ce sha512sums = 6a7b94557b1f507477ce5fc27842f61ee0158b4f7bd8394016bb8e896ba91ea696f523c2ed5329904d9526c562362b1bd95721fbfae2f4cc3b088ce838749391
b2sums = 0ffd9263f00db8870297a98fb293f9a018aa95237f33dc567b6cd0fc745aa09301d418a2124d09d7e1915121096e81e49b0b6e74781fe43e5d01cc59eaa70b31 b2sums = 95b1b274f0acaa31c19b8e84813f95dba3c2f52f1c6004736b92c064ab5ac7534a3b20ae4cee0e9801e30e288e52129dd0b0ca3ec97ed7bb334264c1ef419a45
pkgname = fritz-tls pkgname = fritz-tls
+23 -5
View File
@@ -1,7 +1,7 @@
# Maintainer: Markus Pesch <markus.pesch plus apps at cryptic.systems> # Maintainer: Markus Pesch <markus.pesch plus apps at cryptic.systems>
pkgname=fritz-tls pkgname=fritz-tls
pkgver=0.23.0 # renovate: datasource=github-releases depName=tisba/fritz-tls pkgver=0.28.0 # renovate: datasource=github-releases depName=tisba/fritz-tls
pkgrel=1 pkgrel=1
pkgdesc="Automate TLS certificate installation for AVM FRITZ!Box " pkgdesc="Automate TLS certificate installation for AVM FRITZ!Box "
arch=('armv7h' 'aarch64' 'x86_64') arch=('armv7h' 'aarch64' 'x86_64')
@@ -10,10 +10,22 @@ license=('MIT')
makedepends=('go') makedepends=('go')
source=( source=(
"$url/archive/refs/tags/v$pkgver.zip" ${pkgname}-v${pkgver}.zip::"$url/archive/refs/tags/v${pkgver}.zip"
) )
sha512sums=('ec392a949ce34333869a2c633aa11bf298027842fd448cf1e249b35efc194e60c94c5126ab56bb81fbe85ef0a88ebe4d6f71042ea96d106db74cb76ebbe8e2ce') sha512sums=('6a7b94557b1f507477ce5fc27842f61ee0158b4f7bd8394016bb8e896ba91ea696f523c2ed5329904d9526c562362b1bd95721fbfae2f4cc3b088ce838749391')
b2sums=('0ffd9263f00db8870297a98fb293f9a018aa95237f33dc567b6cd0fc745aa09301d418a2124d09d7e1915121096e81e49b0b6e74781fe43e5d01cc59eaa70b31') b2sums=('95b1b274f0acaa31c19b8e84813f95dba3c2f52f1c6004736b92c064ab5ac7534a3b20ae4cee0e9801e30e288e52129dd0b0ca3ec97ed7bb334264c1ef419a45')
prepare() {
cd ${pkgname}-${pkgver}
export GONOSUMDB="${GONOSUMDB}"
export GOPATH="${srcdir}"
export GOPROXY="${GOPROXY}"
env | sort | grep -E '^C?GO'
go mod download -modcacherw
}
build() { build() {
cd "$pkgname-$pkgver" cd "$pkgname-$pkgver"
@@ -24,6 +36,12 @@ build() {
export CGO_CXXFLAGS="${CXXFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}" export CGO_LDFLAGS="${LDFLAGS}"
export GONOSUMDB="${GONOSUMDB}"
export GOPATH="${srcdir}"
export GOPROXY="${GOPROXY}"
env | sort | grep -E '^C?GO'
go build -v \ go build -v \
-trimpath \ -trimpath \
-buildmode=pie \ -buildmode=pie \
@@ -39,5 +57,5 @@ package() {
install -D --mode 0755 --target-directory "$pkgdir/usr/bin" "$pkgname-$pkgver/$pkgname" install -D --mode 0755 --target-directory "$pkgdir/usr/bin" "$pkgname-$pkgver/$pkgname"
# license # license
install -D --mode 0755 --target-directory "$pkgdir/usr/share/licenses/$pkgname" "$pkgname-$pkgver/LICENSE" install -D --mode 0644 --target-directory "$pkgdir/usr/share/licenses/$pkgname" "$pkgname-$pkgver/LICENSE"
} }
+5 -3
View File
@@ -4,8 +4,8 @@
![AUR votes](https://img.shields.io/aur/votes/fritz-tls) ![AUR votes](https://img.shields.io/aur/votes/fritz-tls)
This repository contains build files to build the Arch Linux package `fritz-tls`. Instead of This repository contains build files to build the Arch Linux package `fritz-tls`. Instead of
building the package yourself, it can also be obtained from the following private repository. More detailed are building the package yourself, it can also be obtained from the following private repository. The section [*Obtaining pre-built
described [here](#obtaining-pre-built-packages-from-a-repository). packages from a repository*](#obtaining-pre-built-packages-from-a-repository) describes all necessary steps.
## Build ## Build
@@ -51,7 +51,9 @@ EOF
sudo pacman-key --keyserver hkps://keys.openpgp.org --recv-keys 9B146D11A9ED6CA7E279EB1A852BCC170D81A982 sudo pacman-key --keyserver hkps://keys.openpgp.org --recv-keys 9B146D11A9ED6CA7E279EB1A852BCC170D81A982
# Extend existing pacman configuration of the repository 'volker.raschek' # Extend existing pacman configuration of the repository 'volker.raschek'
sudo echo "Include = /etc/pacman.d/repos/*.conf" >> /etc/pacman.conf sudo tee -a /etc/pacman.conf > /dev/null <<EOF
Include = /etc/pacman.d/repos/*.conf
EOF
# Update pacman cache # Update pacman cache
sudo pacman --sync --refresh sudo pacman --sync --refresh