GPG fixes, crontab fixes, additional packages and permissions script for container startup.
ci/woodpecker/tag/build Pipeline was successful

This commit is contained in:
2026-08-11 09:34:34 +05:00
parent 14d19a949f
commit f1a7e365bc
5 changed files with 33 additions and 2 deletions
+13
View File
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) but do not follows semantic versioning as it is useless in this type of project. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) but do not follows semantic versioning as it is useless in this type of project.
## [2.7.4-7] - 2026-08-10
### Added
* GPG configuration for news user to skip keyboxd.
* Permission set script for /inn2.
* busybox-suid and nano packages installing.
### Changed
* norotate added to news.daily for proper statistics generation.
## [2.7.4-6] - 2026-08-09 ## [2.7.4-6] - 2026-08-09
### Added ### Added
@@ -64,6 +76,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
Initial container release with inn 2.7.4 built with perl/python/sqlite support. Initial container release with inn 2.7.4 built with perl/python/sqlite support.
[2.7.4-7]: https://code.pztrn.name/containers/inn2/compare/2.7.4-6...2.7.4-7
[2.7.4-6]: https://code.pztrn.name/containers/inn2/compare/2.7.4-5...2.7.4-6 [2.7.4-6]: https://code.pztrn.name/containers/inn2/compare/2.7.4-5...2.7.4-6
[2.7.4-5]: https://code.pztrn.name/containers/inn2/compare/2.7.4-4...2.7.4-5 [2.7.4-5]: https://code.pztrn.name/containers/inn2/compare/2.7.4-4...2.7.4-5
[2.7.4-4]: https://code.pztrn.name/containers/inn2/compare/2.7.4-3...2.7.4-4 [2.7.4-4]: https://code.pztrn.name/containers/inn2/compare/2.7.4-3...2.7.4-4
+2
View File
@@ -4,6 +4,7 @@ ENV PERL_MM_USE_DEFAULT=1
RUN apk add --no-cache \ RUN apk add --no-cache \
bison \ bison \
build-base \ build-base \
busybox-suid \
bzip2 \ bzip2 \
curl \ curl \
diffutils \ diffutils \
@@ -13,6 +14,7 @@ RUN apk add --no-cache \
gnupg \ gnupg \
libgd \ libgd \
krb5-dev \ krb5-dev \
nano \
openssl \ openssl \
openssl-dev \ openssl-dev \
perl \ perl \
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
chown -R news:news /inn2
+14 -1
View File
@@ -6,4 +6,17 @@ fi
rm -rf /etc/gpg || exit 0 rm -rf /etc/gpg || exit 0
mkdir -p /etc/gpg mkdir -p /etc/gpg
echo "use-keyboxd 0" > /etc/gpg/gpg.conf echo "#use-keyboxd" > /etc/gpg/gpg.conf
rm -rf /inn2/.gnupg
mkdir -p /inn2/.gnupg
echo "#use-keyboxd" > /inn2/.gnupg/common.conf
chown -R news:news /inn2/.gnupg
chmod 0700 /inn2/.gnupg
chmod 0600 /inn2/.gnupg/common.conf
rm -rf /root/.gnupg
mkdir -p /root/.gnupg
echo "#use-keyboxd" > /root/.gnupg/common.conf
chmod 0700 /root/.gnupg
chmod 0600 /root/.gnupg/common.conf
+1 -1
View File
@@ -1,5 +1,5 @@
# min hour day month weekday command # min hour day month weekday command
0 5 * * * cd /inn2; /inn2/bin/news.daily expireover lowmark delayrm 0 5 * * * cd /inn2; /inn2/bin/news.daily expireover lowmark delayrm norotate
15 * * * * cd /inn2; /inn2/bin/rnews -U 15 * * * * cd /inn2; /inn2/bin/rnews -U
0 4 * * * cd /inn2; /inn2/bin/ctlinnd -t 120 -s reload incoming.conf 'flush cache' 0 4 * * * cd /inn2; /inn2/bin/ctlinnd -t 120 -s reload incoming.conf 'flush cache'
*/10 * * * * cd /inn2; /inn2/bin/nntpsend */10 * * * * cd /inn2; /inn2/bin/nntpsend