aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* perl-mail-spamassassin: update to version 4.0.0Daniel Golle2022-12-20
| | | | | | | Apache SpamAssassin -- Version 4.0.0 See https://lwn.net/Articles/918145/ for details Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* postgresql: update to version 14.6Daniel Golle2022-12-20
| | | | | | | | This release contains a variety of fixes from 14.5. See https://www.postgresql.org/docs/release/14.6/ for details. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* gawk: update to version 5.2.1Daniel Golle2022-12-20
| | | | | | | | | | | | | | | | | | | | | | | | | | Changes from 5.2.0 to 5.2.1 --------------------------- 1. Infrastructure upgrades: PMA version Avon 8. 2. Issues related to the sign of NaN and Inf values on RiscV have been fixed; gawk now gives identical results on that platform as it does on others. 3. A few issues with the debugger have been fixed. 4. More subtle issues with untyped array elements being passed to functions have been fixed. 5. The rwarray extension's readall() function has had some bugs fixed. 6. The PMA allocator is now supported on FreeBSD, OpenBSD and Linux on S/390x. Is is now supported also on both Intel and M1 macOS systems. 7. There have been several minor code cleanups and bug fixes. See the ChangeLog for details. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* cni-plugins: update to version 1.1.1Daniel Golle2022-12-20
| | | | | | For details see https://github.com/containernetworking/plugins/releases Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* cni: update to version 1.1.2Daniel Golle2022-12-20
| | | | | | For details see https://github.com/containernetworking/cni/releases Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ccid: update to version 1.5.1Daniel Golle2022-12-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.5.1 - 14 November 2022, Ludovic Rousseau Add support of Access IS ATR220 with idProduct: 0x0184 Alcor Link AK9567 Alcor Link AK9572 BLUTRONICS TAURUS NFC CHERRY SmartTerminal ST-1144 CREATOR CRT-603(CZ1) CCR Dexon Tecnologias Digitais LTDA DXToken ESMART Reader ER433x ICC ESMART Reader ER773x Dual & 1S Flight system consulting Incredist Ledger Nano S Ledger Nano S Plus Ledger Nano SP Ledger Nano X SafeNet eToken Fusion Sensyl SSC-NFC Reader Adjust USB drivers path at run-time via environment variable PCSCLITE_HP_DROPDIR configure.ac: add --enable-strict option Fix a problem with AUTO PPS readers and ATR convention inverse cards examples/scardcontrol: - add support of 6A xx error codes - check WinSCard error early - parse wLcdLayout & bEntryValidationCondition macOS: log non sensitive strings as "%{public}s" Some other minor improvements What's Changed Fix debug logging of lang in ccid.c in LudovicRousseau/CCID#96 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* cryptsetup: update to version 2.6.0Daniel Golle2022-12-20
| | | | | | | | | Update to new major release of cryptsetup. For details, please see the release notes[1]. [1]: https://cdn.kernel.org/pub/linux/utils/cryptsetup/v2.6/v2.6.0-ReleaseNotes Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* lvm2: update LVM2 to 2.03.17 and DM to 1.02.187Daniel Golle2022-12-20
| | | | | | | | | | | | | | | | | | | | | | | | | | Version 2.03.17 - 10th November 2022 ==================================== Add new options (--fs, --fsmode) for FS handling when resizing LVs. Fix 'lvremove -S|--select LV' to not also remove its historical LV right away. Fix lv_active field type to binary so --select and --binary applies properly. Switch to use mallinfo2 and use it only with glibc. Error out in lvm shell if using a cmd argument not supported in the shell. Fix lvm shell's lastlog command to report previous pre-command failures. Extend VDO and VDOPOOL without flushing and locking fs. Add --valuesonly option to lvmconfig to print only values without keys. Updates configure with recent autoconf tooling. Fix lvconvert --test --type vdo-pool execution. Add json_std output format for more JSON standard compliant version of output. Fix vdo_slab_size_mb value for converted VDO volume. Fix many corner cases in device_id, including handling of S/N duplicates. Fix various issues in lvmdbusd. libdm changes: Version 1.02.187 - 10th November 2022 ===================================== Add DM_REPORT_GROUP_JSON_STD for more JSON standard compliant output format. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* libowfat: update to version 0.33Daniel Golle2022-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove no longer needed downstream patches. Changes since 0.32: add byte_start, byte_starts add a man page for byte_equal_notimingattack buffer_seek is no longer limited to the current buffer contents add automated way to run unit test: make check add parse.h add bytestream abstraction for parsing data from a buffer or a file add compiler.h to abstract gcc attributes add fmt_strm_malloc add cross references to open_* and mmap_* man pages add fmt_strm_alloca and fmt_strm_malloc man pages add buffer_init_allocbuf, buffer_init_read, buffer_init_write, buffer_init_read_allocbuf, buffer_init_write_allocbuf fix buffer overread for len=0 in scan_longn (Martin Castillo) add iob_write2 with sendfile callback so caller can use OpenSSL's SSL_sendfile Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* exfatprogs: update to version 1.2.0Daniel Golle2022-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CHANGES: * fsck.exfat: Keep traveling files even if there is a corrupted directory entry set. * fsck.exfat: Introduce the option "b" to recover a boot sector even if an exFAT filesystem is not found. * fsck.exfat: Introduce the option "s" to create files in "/LOST+FOUND", which have clusters allocated but was not belonged to any files. * fsck.exfat: Rename '.' and '..' entry name to the one user want. NEW FEATURES: * fsck.exfat: Repair corruptions of an exFAT filesystem. Please refer to fsck.exfat manpage to see what kind of corruptions can be repaired. * exfat2img: Dump metadata of an exFAT filesystem. Please refer to exfat2img manpage to see how to use it. BUG FIXES: * fsck.exfat: Fix an infinite loop while traveling files. * tune.exfat: Fix bitmap entry corruption when adding new volume lablel. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* Merge pull request #20108 from stangri/master-pbrStan Grishin2022-12-19
|\ | | | | pbr: update to 1.0.1-1
| * pbr: update to 1.0.1-1Stan Grishin2022-12-19
| | | | | | | | | | | | | | | | | | | | * add more error/warning messages * better return statements from ips/nftset functions * better error/warning handling when inserting policies * comment out unnecessary nft set/ipst clean ups * shellchecked status functions Signed-off-by: Stan Grishin <stangri@melmac.ca>
* | Merge pull request #20099 from tohojo/fix-flent-pkgToke Høiland-Jørgensen2022-12-19
|\ \ | | | | | | flent: fixup flent package
| * | flent: Integrate flent-tools into the flent packageToke Høiland-Jørgensen2022-12-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we're packaging flent itself, there's no reason to have a completely separate flent-tools package. So integrate the flent-tools package specification into the main flent package so it's always kept in sync. Also add a dependency from flent itself on flent-tools, as the shell versions of those utilities that Flent uses when running tests doesn't work on the busybox shell included with openwrt. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
| * | flent: Rename and update packageToke Høiland-Jørgensen2022-12-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the Flent package and move it to net/, renaming it to just 'flent' instead of python3-flent (it's not a library, having the python3- prefix makes no sense). Also add python3-defusedxml as a dependency to protect against XML bombs if using the one of the backends that use XML-RPC, and trim the dependencies to those used directly by Flent. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
* | | Merge pull request #20103 from graysky2/libdaq3Florian Eckert2022-12-19
|\ \ \ | | | | | | | | libdaq3: update to 3.0.10
| * | | libdaq3: update to 3.0.10John Audia2022-12-18
| | | | | | | | | | | | | | | | | | | | | | | | Upstream bump Signed-off-by: John Audia <therealgraysky@proton.me>
* | | | mwan3: make mwan3.user executableFlorian Eckert2022-12-19
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a fix for the the following change: https://github.com/openwrt/packages/commit/3d824ea288d907a31729c3629e884ea122c30da0 Before the change, it was only possible to execute a shell script. To remove this restriction, a binary or other script language can now also be used for 'mwan3.user'. Unfortunately, the old shell script was not executable for older mwan3 version. During a sysupgrade with config transfer, this 'mwan3.user' script could not be executed for newer mwan3 versions. To fix this, the calling script checks whether the 'mwan3.user' is executable, and if not, this executable bit is now set. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | | tor: bump to 0.4.7.12 stableRui Salvaterra2022-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quoting the changelog: Changes in version 0.4.7.12 - 2022-12-06 This version contains a major change that is a new key for moria1. Also, new metrics are exported on the MetricsPort for the congestion control subsystem. o Directory authority changes (moria1): - Rotate the relay identity key and v3 identity key for moria1. They have been online for more than a decade and refreshing keys periodically is good practice. Advertise new ports too, to avoid confusion. Closes ticket 40722. o Minor feature (Congestion control metrics): - Add additional metricsport relay metrics for congestion control. Closes ticket 40724. o Minor features (fallbackdir): - Regenerate fallback directories generated on December 06, 2022. o Minor features (geoip data): - Update the geoip files to match the IPFire Location Database, as retrieved on 2022/12/06. o Minor bugfixes (cpuworker, relay): - Fix an off by one overload calculation on the number of CPUs being used by our thread pool. Fixes bug 40719; bugfix on 0.3.5.1-alpha. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
* | | tor: bump to 0.4.7.11 stableRui Salvaterra2022-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quoting the changelog: Changes in version 0.4.7.11 - 2022-11-10 This version contains several major fixes aimed at helping defend against network denial of service. It is also extending drastically the MetricsPort for relays to help us gather more internal data to investigate performance and attacks. We strongly recommend to upgrade to this version especially for Exit relays in order to help the network defend against this ongoing DDoS. o Directory authority changes (dizum, Faravahar): - Change dizum IP address. Closes ticket 40687. - Remove Faravahar until its operator, Sina, set it back up online outside of Team Cymru network. Closes ticket 40688. o Major bugfixes (geoip data): - IPFire informed us on August 12th that databases generated after (including) August 10th did not have proper ARIN network allocations. We are updating the database to use the one generated on August 9th, 2022. Fixes bug 40658; bugfix on 0.4.5.13. o Major bugfixes (onion service): - Set a much higher circuit build timeout for opened client rendezvous circuit. Before this, tor would time them out very quickly leading to unnecessary retries meaning more load on the network. Fixes bug 40694; bugfix on 0.3.5.1-alpha. o Major bugfixes (OSX): - Fix coarse-time computation on Apple platforms (like Mac M1) where the Mach absolute time ticks do not correspond directly to nanoseconds. Previously, we computed our shift value wrong, which led us to give incorrect timing results. Fixes bug 40684; bugfix on 0.3.3.1-alpha. o Major bugfixes (relay): - Improve security of our DNS cache by randomly clipping the TTL value. TROVE-2021-009. Fixes bug 40674; bugfix on 0.3.5.1-alpha. o Minor feature (Mac and iOS build): - Change how combine_libs works on Darwin like platforms to make sure we don't include any `__.SYMDEF` and `__.SYMDEF SORTED` symbols on the archive before we repack and run ${RANLIB} on the archive. This fixes a build issue with recent Xcode versions on Mac Silicon and iOS. Closes ticket 40683. o Minor feature (metrics): - Add various congestion control counters to the MetricsPort. Closes ticket 40708. o Minor feature (performance): - Bump the maximum amount of CPU that can be used from 16 to 128. Note that NumCPUs torrc option overrides this hardcoded maximum. Fixes bug 40703; bugfix on 0.3.5.1-alpha. o Minor feature (relay): - Make an hardcoded value for the maximum of per CPU tasks into a consensus parameter. - Two new consensus parameters are added to control the wait time in queue of the onionskins. One of them is the torrc MaxOnionQueueDelay options which supersedes the consensus parameter. Closes ticket 40704. o Minor feature (relay, DoS): - Apply circuit creation anti-DoS defenses if the outbound circuit max cell queue size is reached too many times. This introduces two new consensus parameters to control the queue size limit and number of times allowed to go over that limit. Closes ticket 40680. o Minor feature (relay, metrics): - Add DoS defenses counter to MetricsPort. - Add congestion control RTT reset counter to MetricsPort. - Add counters to the MetricsPort how many connections, per type, are currently opened and how many were created. - Add relay flags from the consensus to the MetricsPort. - Add total number of opened circuits to MetricsPort. - Add total number of streams seen by an Exit to the MetricsPort. - Add traffic stats as in number of read/written bytes in total. - Related to ticket 40194. o Minor features (fallbackdir): - Regenerate fallback directories generated on November 10, 2022. o Minor features (geoip data): - Update the geoip files to match the IPFire Location Database, as retrieved on 2022/11/10. o Minor bugfixes (authorities, sandbox): - Allow to write file my-consensus-<flavor-name> to disk when sandbox is activated. Fixes bug 40663; bugfix on 0.3.5.1-alpha. o Minor bugfixes (dirauth): - Directory authorities stop voting a consensus "Measured" weight for relays with the Authority flag. Now these relays will be considered unmeasured, which should reserve their bandwidth for their dir auth role and minimize distractions from other roles. In place of the "Measured" weight, they now include a "MeasuredButAuthority" weight (not used by anything) so the bandwidth authority's opinion on this relay can be recorded for posterity. Lastly, remove the AuthDirDontVoteOnDirAuthBandwidth torrc option which never worked right. Fixes bugs 40698 and 40700; bugfix on 0.4.7.2-alpha. o Minor bugfixes (onion service client): - A collapsing onion service circuit should be seen as an "unreachable" error so it can be retried. Fixes bug 40692; bugfix on 0.3.5.1-alpha. o Minor bugfixes (onion service): - Make the service retry a rendezvous if the circuit is being repurposed for measurements. Fixes bug 40696; bugfix on 0.3.5.1-alpha. o Minor bugfixes (relay overload statistics): - Count total create cells vs dropped create cells properly, when assessing if our fraction of dropped cells is too high. We only count non-client circuits in the denominator, but we would include client circuits in the numerator, leading to surprising log lines claiming that we had dropped more than 100% of incoming create cells. Fixes bug 40673; bugfix on 0.4.7.1-alpha. o Code simplification and refactoring (bridges): - Remove unused code related to ExtPort connection ID. Fixes bug 40648; bugfix on 0.3.5.1-alpha. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
* | | smcroute: update to 2.5.6Alexey Smirnov2022-12-19
| | | | | | | | | | | | Signed-off-by: Alexey Smirnov <s.alexey@gmail.com>
* | | postfix: Fix compile against glibc 2.36Hauke Mehrtens2022-12-19
| | | | | | | | | | | | | | | | | | | | | | | | This backports a change from postfix 3.8, I do not know exactly why it detects Linux 6 here, but this is needed to fix compilation with glibc 2.36. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* | | boost: Reset Package Release versionCarlos Miguel Ferreira2022-12-18
| | | | | | | | | | | | Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
* | | boost: Updates package to version 1.81.0Carlos Miguel Ferreira2022-12-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit updates boost to version 1.81.0 A new library is available: - URL [1]: A library for parsing, modifying, and printing URLs using only C++11, from Vinnie Falco and Alan de Freitas. Features include fast compilation, strong invariants, and strict compliance using a memory-friendly approach. More info about Boost 1.81.0 can be found at the usual place [2]. [1]: https://www.boost.org/doc/libs/1_81_0/libs/url/doc/html/index.html [2]: https://www.boost.org/users/history/version_1_81_0.html Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
* | | dos2unix: Deactivate NLS supportHauke Mehrtens2022-12-19
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | By default the dos2unix build uses the msgfmt application which is provided by the host tool gettext in OpenWrt. Instead of adding the dependency to gettext deactivate NLS support. This fixes the following build error: ------------------------------------------- msgfmt -c po/da.po -o po/da.mo make[4]: msgfmt: No such file or directory make[4]: *** [Makefile:472: po/da.mo] Error 127 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* | Merge pull request #20075 from mhei/php8-update-8.2.0Michael Heimpold2022-12-18
|\ \ | |/ |/| php8: update to 8.2.0
| * php8-pecl-redis: bump package releaseMichael Heimpold2022-12-15
| | | | | | | | | | | | | | We need to bump the package release number to force a rebuild against new PHP ABI version. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
| * php8-pecl-raphf: bump package releaseMichael Heimpold2022-12-15
| | | | | | | | | | | | | | We need to bump the package release number to force a rebuild against new PHP ABI version. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
| * php8-pecl-krb5: bump package releaseMichael Heimpold2022-12-15
| | | | | | | | | | | | | | We need to bump the package release number to force a rebuild against new PHP ABI version. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
| * php8-pecl-imagick: bump package releaseMichael Heimpold2022-12-15
| | | | | | | | | | | | | | We need to bump the package release number to force a rebuild against new PHP ABI version. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
| * php8-pecl-http: bump package releaseMichael Heimpold2022-12-15
| | | | | | | | | | | | | | We need to bump the package release number to force a rebuild against new PHP ABI version. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
| * php8-pecl-dio: bump package releaseMichael Heimpold2022-12-15
| | | | | | | | | | | | | | We need to bump the package release number to force a rebuild against new PHP ABI version. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
| * php8-pecl-mcrypt: update to 1.0.5Michael Heimpold2022-12-15
| | | | | | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
| * php8-pecl-xdebug: update to 3.2.0Michael Heimpold2022-12-12
| | | | | | | | | | | | This update brings support for PHP 8.2.0. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
| * php8: update to 8.2.0Michael Heimpold2022-12-12
| | | | | | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* | igmpproxy: update to version 0.4.0Oli Ze2022-12-16
| | | | | | | | Signed-off-by: Oli Ze <olze@trustserv.de>
* | apr-util: disable parallel buildMichal Vasilek2022-12-16
| | | | | | | | | | | | | | | | | | | | | | Build reliably fails with -j20 crypto/apr_passwd.c:200:1: fatal error: error closing -: Broken pipe 200 | } | ^ compilation terminated. Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
* | dosfstools: fix PKG_SOURCEStijn Tintel2022-12-16
| | | | | | | | | | | | | | Both mirrors provided in the Makefile only serve gzipped tarballs. Fixes: dcd7fcfa5b4e ("dosfstools: update to v4.0") Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* | docker-compose: Update to version 2.14.1Javier Marcet2022-12-17
| | | | | | | | Signed-off-by: Javier Marcet <javier@marcet.info>
* | python3-pytz: bump to version 2022.6Alexandru Ardelean2022-12-16
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | AdGuardHome: update to v0.107.21YiZhen Choo2022-12-16
| | | | | | | | Signed-off-by: YiZhen Choo <yizhen.c02@gmail.com>
* | OpenAppID: add new packageJohn Audia2022-12-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Traditionally, Snort rules are based upon packet analysis. OpenAppID enables detection of applications/cloud applications on the network. This package provides OpenAppID and signature files used by OpenAppID to detect network traffic from certain applications can be used to identify rogue application use, detect malicious applications and implement various application policies, such as application blacklisting, limiting application usage, and enforcing conditional controls. To use, for example, edit /etc/snort/local.lua and add the following section at a minimum: appid = { app_detector_dir = '/usr/lib/openappid', log_stats = true, app_stats_period = 60, } Signed-off-by: John Audia <therealgraysky@proton.me>
* | nano: update to 7.1Hannu Nyman2022-12-15
| | | | | | | | | | | | | | | | | | Update nano editor to version 7.1 * drop the backported upstream fix for 7.0 * drop AUTORELEASE * disable justify from 'plus'. Rarely needed with OpenWrt Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* | pdns-recursor: update to 4.8.0Peter van Dijk2022-12-15
| | | | | | | | Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
* | Merge pull request #20083 from paper42/miniflux-2.0.41Tianling Shen2022-12-15
|\ \ | | | | | | miniflux: update to 2.0.41
| * | miniflux: update to 2.0.41Michal Vasilek2022-12-13
| | | | | | | | | | | | Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
* | | Merge pull request #20088 from tohojo/acme-pathsToke Høiland-Jørgensen2022-12-14
|\ \ \ | | | | | | | | acme: Export the canonical paths for certificates and challenges
| * | | acme-acmesh: Provide a 'combined' certificate bundle as wellToke Høiland-Jørgensen2022-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The haproxy hotplug script creates a 'combined' certificate bundle that contains both the certificate chain and the private key. However, having a daemon hotplug script write into CERT_DIR is not great; so let's provide the bundle as part of the main acme framework, keeping it in $domain_dir and just linking it into CERT_DIR. That way we can keep CERT_DIR as just a collection of links for everything, that no consumers should need to write into. Also make sure to set the umask correctly so the combined file is not world-readable (since it contains the private key). Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
| * | | acme-acmesh: Don't hard-code certificate directoryToke Høiland-Jørgensen2022-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The acme-acmesh package hardcoded the certificate path in its hook script. Now that we export it as a variable we can avoid hard-coding and use the variable version instead. Also factor out the linking of certificates into a function so it's not repeated. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
| * | | acme-common: Export canonical paths for storing certificates and challengesToke Høiland-Jørgensen2022-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The contract between the acme-common framework and consumers and hook scripts is that certificates can be consumed from /etc/ssl/acme and that web challenges are stored in /var/run/acme/challenge. Make this explicit by exporting $CERT_DIR and $CHALLENGE_DIR as environment variables as well, instead of having knowledge of those paths depend on out-of-band information. We already exported $challenge_dir, but let's change it to upper-case to make it clear that it's not a user configuration variable. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>