summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* mail-filter/opendkim: Fix build on muslWynn Wolf Arbor2020-06-102-0/+41
| | | | | | | | | | | | | | | | | | The build of libvbr, which is included in opendkim and enabled by default in the ebuild, fails on musl because the '__P' macro is not defined. glibc defines it along with '__PMT' in cdefs.h, but notes that they are kept "only because some other projects expect the macros to be defined". Since cdefs.h is not included in musl, patch vbr.h to include this particular macro definition. See also: https://github.com/trusteddomainproject/OpenDKIM/pull/74 Closes: https://github.com/gentoo/gentoo/pull/16140 Signed-off-by: Wynn Wolf Arbor <wolf@oriole.systems> Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* mail-filter/opendkim: new revision to fix liblua detection.Michael Orlitzky2020-01-282-0/+402
| | | | | | | | | | | | | | | | | The ./configure script for OpenDKIM is all kinds of crazy when it comes to detecting liblua. First, the PKG_CHECK_MODULES call was looking for the wrong module, and I had to add the correct name to the list. But then, once pkg-config could find liblua, it was doing the wrong thing -- none of the "I have Lua support" commands were being executed. So in a way it was fortunate that the old PKG_CHECK_MODULES was failing. In any case, I've patched configure.ac to fix everything, and will be sending a PR upstream. This new revision adds that patch. Closes: https://bugs.gentoo.org/704556 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* mail-filter/opendkim: Removed obsolete buildRalph Seichter2019-12-182-234/+0
| | | | | | | | | | | Ebuild revision 17 has been stabilized. This commit removes both revision 16 and the now obsolete 'query_cache' USE flag, which has been replaced with 'querycache'. Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Ralph Seichter <gentoo@seichter.de> Closes: https://github.com/gentoo/gentoo/pull/14030 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* mail-filter/opendkim: x86 stable wrt bug #702754Agostino Sarubbo2019-12-151-1/+1
| | | | | | Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
* mail-filter/opendkim: amd64 stable wrt bug #702754Agostino Sarubbo2019-12-151-1/+1
| | | | | | Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
* */*: [QA] Fix trivial cases of MissingTestRestrictMichał Górny2019-12-111-0/+1
| | | | | | | | | | | | | | | | | | The result was achieved via the following pipeline: pkgcheck scan -c RestrictTestCheck -R FormatReporter \ --format '{category}/{package}/{package}-{version}.ebuild' | xargs -n32 grep -L RESTRICT | xargs -n32 sed -i -e '/^IUSE=.*test/aRESTRICT="!test? ( test )"' The resulting metadata was compared before and after the change. Few Go ebuilds had to be fixed manually due to implicit RESTRICT=strip added by the eclass. Two ebuilds have to be fixed because of multiline IUSE. Suggested-by: Robin H. Johnson <robbat2@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/13942 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* mail-filter/opendkim: Migrate user+group to GLEP81Ralph Seichter2019-10-082-0/+230
| | | | | | | | | | | Use acct-group/opendkim and acct-user/opendkim as requested by QA, replace mirror://sourceforge in SRC_URI with proper URL, move test dependencies from DEPEND to BDEPEND, replace USE flag "query_cache" with "querycache". Signed-off-by: Ralph Seichter <gentoo@seichter.de> Bug: https://bugs.gentoo.org/694638 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* mail-filter/opendkim: Remove obsolete ebuildsRalph Seichter2019-07-239-794/+0
| | | | | | | | Removed obsolete ebuild versions and their supporting files. Signed-off-by: Ralph Seichter <gentoo@seichter.de> Package-Manager: Portage-2.3.66, Repoman-2.3.11 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* mail-filter/opendkim: amd64 stable wrt bug #688966Mikle Kolyada2019-07-221-1/+1
| | | | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 RepoMan-Options: --include-arches="amd64"
* mail-filter/opendkim: x86 stable (bug #688966)Thomas Deutschmann2019-07-181-1/+1
| | | | | Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* mail-filter/opendkim: Added query_cache and stats USE flagsRalph Seichter2019-07-032-0/+236
| | | | | | | | | | | Added new USE flags "query_cache" to enable query caching and "stats" to enable statistics. In previous ebuild versions, these features were always enabled. Closes: https://bugs.gentoo.org/687972 Signed-off-by: Ralph Seichter <gentoo@seichter.de> Package-Manager: Portage-2.3.66, Repoman-2.3.11 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* mail-filter/opendkim: drop --enable-popauth flag.Michael Orlitzky2019-06-141-1/+0
| | | | | | | | | | | | | The "--enable-popauth" flag was enabled automatically when USE=berkdb was set, which already doesn't make any sense. This was noticed while investigating bug 684958. However, "popauth" refers to POP-before-SMTP, which is an outdated and altogether ridiculous way of authenticating. No one competent has used it since the 1990s. Instead of converting it to an independent local USE flag, this new -r15 just drops it. Bug: https://bugs.gentoo.org/687972 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
* mail-filter/opendkim: fix building against BerkeleyDB.Michael Orlitzky2019-06-141-2/+1
| | | | | | | | | | | | | | | | | | | | | Our ebuild was doing something strange with USE=berkdb set, and as a result, the ./configure script for OpenDKIM was not being passed the correct location for the BerkeleyDB headers. This seems like a simple fix; to set --with-db-incdir="$(db_includedir)" in the ebuild. I've made that change in a new revision, and tested that the OpenDKIM build system can pick up the right version of BerkeleyDB: checking for BerkeleyDB db.h... /usr/include/db6.0 Seems to work. Closes: https://bugs.gentoo.org/684958 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
* mail-filter/opendkim: remove unused filesMichael Mair-Keimberger2019-05-062-93/+0
| | | | | Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* mail-filter/opendkim: fix @runstatedir@ -> @RUNSTATEDIR@ in a patch.Michael Orlitzky2019-05-061-1/+1
| | | | | | Bug: https://bugs.gentoo.org/684956 Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* mail-filter/opendkim: remove old "unused" -r9 and -r10 ebuilds.Michael Orlitzky2019-04-302-456/+0
| | | | | Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: new revision with missing test dependency.Michael Orlitzky2019-04-301-10/+14
| | | | | | | | | | | | The OpenDKIM test suite won't be run if the user doesn't have Lua installed. The (R)DEPEND variables have been refactored to add that missing build-time dependency. In addition, a hacky sed line that relocated the unix socket in the test suite has been replaced, by the --with-test-socket ./configure flag. Bug: https://bugs.gentoo.org/682290 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: new revision to set sysconfdir consistently.Michael Orlitzky2019-04-242-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | In the previous revision -r11, we tried to unite the configuration for OpenRC and systemd. But, I made a mistake: the upstream location for e.g. the main configuration file is @sysconfdir@/opendkim.conf, but in Gentoo we install it to @sysconfdir@/opendkim/opendkim.conf. That path is overridden in the OpenRC service script, but not in the systemd service, which now crashes upon starting. The error, however, is in the OpenRC script (and in our ebuild). The correct way to relocate the configuration files is to pass a different value to --sysconfdir in src_configure(). This new revision does that, and updates the OpenRC service script to use the built-in location, rather than a custom Gentoo-defined one. That's how it should have been all along. This also fixes an unreported bug, wherein all of the installed documentation like opendkim.conf(5) pointed to the wrong path. Thanks to Ralph Seichter who built a systemd virtual machine in order to test everything. Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: OPENSSL_thread_stop reference fixRalph Seichter2019-04-242-1/+171
| | | | | | | | | | | | | dev-libs/libressl lacks support for OPENSSL_thread_stop which was used by the patch adding support for dev-libs/openssl-1.1.1 In order to address this problem we modify the patch to default to the old deinitialization code when dev-libs/libressl is used. Closes: https://bugs.gentoo.org/669612 Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* mail-filter/opendkim: Improved OpenRC and systemd supportRalph Seichter2019-04-242-0/+525
| | | | | | | | | | | | | | | | | | | | | | | | | | | Michael Orlitzky and I have been working on improved OpenRC support for OpenDKIM. Our pull request has not yet been accepted upstream (not even acknowledged, in fact). The multi-file patch adds our changes to the existing Gentoo ebuild. Changes to the upstream build files include: * configure.ac: Added workaround to support @runstatedir@. On modern systems /run replaces /var/run, so using @runstatedir@ instead of @localstatedir@/run is preferable. Autoconf 2.70 will support @runstatedir@ , but it has not been released yet, so a workaround is required for version 2.61. * contrib/systemd: Use @runstatedir@ in opendkim.service.in, enable full @VARIABLE@ substitution, fix inconsistencies in the systemd service file, add tmpfiles.d configuration file (https://bugs.gentoo.org/606978). * opendkim/opendkim.conf.*.in: Use @runstatedir@ in PidFile paths, enable full @VARIABLE@ substitution. Bug: https://bugs.gentoo.org/606978 Signed-off-by: Ralph Seichter <gentoo@seichter.de> Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* mail-filter/opendkim: remove unused filesMichael Mair-Keimberger2019-04-222-70/+0
| | | | | Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* mail-filter/opendkim: Removed 'gnutls' support, added enewgroupRalph Seichter2019-04-161-0/+227
| | | | | | | | | | | Removed support for the 'gnutls' use flag. Added missing enewgroup statement. These modifications address the two bugs listed below. Closes: https://bugs.gentoo.org/682906 Closes: https://bugs.gentoo.org/683338 Signed-off-by: Ralph Seichter <gentoo@seichter.de> Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* mail-filter/opendkim: remove old vulnerable revision.Michael Orlitzky2019-04-061-204/+0
| | | | | | | Bug: https://bugs.gentoo.org/629914 Bug: https://bugs.gentoo.org/629888 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: x86 stable (bug #629914)Thomas Deutschmann2019-04-021-1/+1
| | | | | Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* mail-filter/opendkim: add "UMask 0117" to the config by default.Michael Orlitzky2019-03-311-1/+7
| | | | | | | | | | | | | | | Ralph and I have been discussing the best way to handle a local UNIX socket. One thing that we both agree on is that, regardless of the other details, the daemon should be running with a UMask of 0117 to create the socket group-writable but otherwise private. And since the opendkim(8) man page says that the UMask is used only for the socket, there's no reason we shouldn't add it to the default configuration. In other words, it doesn't hurt anything if you're *not* using a local socket. This is one fewer thing that we need to document. Bug: https://bugs.gentoo.org/575666 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: Added pre-start configuration checksRalph Seichter2019-03-313-0/+316
| | | | | | | | | Added pre-start configuration checks for OpenRC and systemd. Signed-off-by: Ralph Seichter <gentoo@seichter.de> Closes: https://bugs.gentoo.org/622604 Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* mail-filter/opendkim: amd64 stable wrt bug #629914Agostino Sarubbo2019-03-301-1/+1
| | | | | | Signed-off-by: Agostino Sarubbo <ago@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 RepoMan-Options: --include-arches="amd64"
* mail-filter/opendkim: remove some no-op sed lines.Michael Orlitzky2019-03-271-3/+0
| | | | | | | | | Looking through the upstream example config files, I don't see any of the expressions that the "sed" script in src_prepare is supposed to replace. Huh. This commit removes those "sed" commands. Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: add Ralph Seichter and klondike as maintainers.Michael Orlitzky2019-03-271-0/+16
| | | | | | | | These two people expressed interest (on the -dev mailing list) in maintaining this package. Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: use /var/lib/opendkim in pkg_config.Michael Orlitzky2019-03-271-12/+16
| | | | | | | | | | | The keys that are generated by opendkim-genkey are data, in a sense, and not configuration files. As a result, I think it's more appropriate to store them in /var/lib/opendkim than in /etc/opendkim where they were previously stored. This commit moves the keys, and also tightens the permissions on them a bit so that the "opendkim" user can only read them. Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: new revision with a consistent config file.Michael Orlitzky2019-03-271-9/+11
| | | | | | | | | | | The previous revisions installed a variable config file, and only did so conditionally, based on the state of the live filesystem. The new revision always installs the same config file. This should be simpler and more predictable. In addition, the temporary directory "${T}" is now used as "scratch space" while mangling that config file. Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: add a TODO question about a sed line.Michael Orlitzky2019-03-271-2/+2
| | | | | | | | | | | | There's a sed line in src_prepare that messes with some *.lua test files. I've changed the action of that script to use "${T}" rather than "/tmp" for security reasons... but I'm unable to figure out when those test files are actuallty used. So, I've left a TODO comment to figure it out in the future (or maybe just delete that sed line entirely). Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: add an elog about sharing a local socket.Michael Orlitzky2019-03-271-0/+12
| | | | | | | | | | | | Sharing a local OpenDKIM socket with an MTA is far too tricky. This commit adds an elog with some vague hints, but we really need a decent wiki page with some step-by-step instructions. This is progress towards bug 575666, but I won't consider that resolved until we have a wiki page. Bug: https://bugs.gentoo.org/575666 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: add a trailing slash to the HOMEPAGE.Michael Orlitzky2019-03-271-1/+1
| | | | | Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: new revision to overhaul service scripts.Michael Orlitzky2019-03-276-67/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OpenRC service script has been largely rewritten in this revision, to solve a number of problems: * The PID file is now stored securely (bug 629914). * Different PID files are used for multiple instances (bug 536162). * The detection of boolean options in the config file is more robust, allowing "1", "0", "yes", "false", et cetera. * The socket is now located in a conf.d file, rather than parsed from the config file. The service script ensures that the directory containing the socket has the correct permissions, and the conf.d file comes with a big warning to that effect. Note that the (commented- out) example directory IS NOT shared with the PID file. * An error is thrown if we can't remove a stale socket. * Modern OpenRC service script standards have been adopted. Some minor changes have been made to the systemd service for consistency, but none of them have been tested. More work needs to be done here anyway; for example, we most likely want a tmpfiles.d entry for the local socket directory if the user configures one. This should be documented in opendkim.service.conf, and tested by someone who uses systemd. Closes: https://bugs.gentoo.org/536162 Bug: https://bugs.gentoo.org/629914 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: combine two neighboring sed expressions.Michael Orlitzky2019-03-271-2/+3
| | | | | Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: remove two commented econf lines.Michael Orlitzky2019-03-271-2/+0
| | | | | Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: simplify and shorten the DESCRIPTION.Michael Orlitzky2019-03-271-1/+1
| | | | | Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: new revision with a dedicated "opendkim" user.Michael Orlitzky2019-03-273-15/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this revision, the OpenDKIM daemon would run as the "milter" user, which is a username shared by a few other related packages. However, that user has the ability to read your private DKIM signing keys, and no other services should have access to those. Thus, sharing the user account creates a security risk. In the new revision, a dedicated "opendkim" user is created for the OpenDKIM daemon. The configuration, OpenRC service script, and systemd service files have all been updated with the new user name. In addition, the permissions on /var/lib/opendkim have been tightened so members of the "opendkim" group can only read it by default. The daemon does not need to modify your keys, in particular, and should not be able to. One downside to this is that the "Statistics" configuration directive that was enabled by default with USE=berkdb will no longer work out-of-the-box. It will still work, but the administrator will need to grant write access to the file that he designates for the statistics data. But since it won't work without some extra fiddling, it has been removed from the configuration file that we install. An ewarn notifies users who are upgrading of the account name change. Closes: https://bugs.gentoo.org/629888 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: remove dangerous elog suggesting "umask 000".Michael Orlitzky2019-03-271-4/+0
| | | | | Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: new revision to fix a dodir->keepdir usage.Michael Orlitzky2019-03-271-1/+2
| | | | | | | | | | The data directory /var/lib/opendkim is installed empty by default, and therefore needs to be created with keepdir (and not dodir). This changes the installed image, and thus is cause for a new revision. Closes: https://bugs.gentoo.org/666334 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: add GPL-2 to LICENSE for OpenRC service script.Michael Orlitzky2019-03-271-1/+2
| | | | | | | | | | Our init script is a critical out-of-tree piece of code that gets installed, and it's licensed GPL-2. So, we should include that in the LICENSE variable for the package. Closes: https://bugs.gentoo.org/425960 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: remove commented code at top of -r4 ebuild.Michael Orlitzky2019-03-271-10/+5
| | | | | | | | | | There were a few commented variables at the top of the -r4 ebuild that were used for beta releases. However, this package hasn't seen a release in three years -- much less a beta release -- so I think they're just wasting space at this point. Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* mail-filter/opendkim: add myself as a maintainer; whitespace cleanup.Michael Orlitzky2019-03-271-27/+46
| | | | | Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* */*: Remove net-mail@ from maintainersMichał Górny2019-03-261-4/+1
| | | | | Bug: https://bugs.gentoo.org/681680 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* mail-filter/opendkim: Removed old.Lars Wendler2019-01-072-393/+0
| | | | | Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* mail-filter/opendkim: Fix building with OpenSSL 1.1.1Craig Andrews2018-10-252-0/+375
| | | | | | Closes: https://bugs.gentoo.org/669512 Signed-off-by: Craig Andrews <candrews@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
* mail-filter/opendkim: add sub slot operator on net-dns/unbound atomThomas Deutschmann2018-09-153-6/+6
| | | | Package-Manager: Portage-2.3.49, Repoman-2.3.10
* mail-filter/*: Update Manifest hashesMichał Górny2017-12-101-1/+1
|
* mail-filter/opendkim: x86 stable wrt bug #612360Agostino Sarubbo2017-04-011-1/+1
| | | | | | Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>