Skip to content

Commit

Permalink
docker: use AxoSyslog tarball
Browse files Browse the repository at this point in the history
Signed-off-by: László Várady <laszlo.varady@axoflow.com>
  • Loading branch information
MrAnno committed May 16, 2024
1 parent 24b11a7 commit 87c14fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker/alpine.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN mkdir packages \
&& printf 'export JOBS=$(nproc)\nexport MAKEFLAGS=-j$JOBS\n' >> .abuild/abuild.conf \
&& cd axoflow/axosyslog \
&& if [ "$PKG_TYPE" = "nightly" ]; then \
tarball_filename="$(ls syslog-ng-*.tar.*)"; \
tarball_filename="$(ls axosyslog-*.tar.*)"; \
[ -z "$tarball_filename" ] && echo "Tarball for nightly can not be found" && exit 1; \
tarball_name="${tarball_filename/\.tar.*}"; \
sed -i -e "s|^pkgver=.*|pkgver=$SNAPSHOT_VERSION|" -e "s|^builddir=.*|builddir=\"\$srcdir/$tarball_name\"|" APKBUILD; \
Expand Down
6 changes: 3 additions & 3 deletions docker/apkbuild/axoflow/axosyslog/APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ subpackages="
$pkgname-python3:_python3
$pkgname-grpc:_grpc
"
source="https://github.com/syslog-ng/syslog-ng/releases/download/syslog-ng-$pkgver/syslog-ng-$pkgver.tar.gz
source="https://github.com/axoflow/axosyslog/releases/download/axosyslog-$pkgver/axosyslog-$pkgver.tar.gz
python-modules.tar.gz
"
builddir="$srcdir/syslog-ng-$pkgver"
builddir="$srcdir/axosyslog-$pkgver"

_modules="
add-contextual-data
Expand Down Expand Up @@ -178,6 +178,6 @@ _submv() {
}

sha512sums="
2f1e0dea4c0ecfc3c77df7e6ac231ee8436c9c78fcb4df8ccdc417fea7d56791fdeb0844ac35f0342ce7c2bea5618d8723b6b54319c556120099eb809873082e syslog-ng-4.7.1.tar.gz
2f1e0dea4c0ecfc3c77df7e6ac231ee8436c9c78fcb4df8ccdc417fea7d56791fdeb0844ac35f0342ce7c2bea5618d8723b6b54319c556120099eb809873082e axosyslog-4.7.1.tar.gz
SKIP python-modules.tar.gz
"

0 comments on commit 87c14fa

Please sign in to comment.