#6 Move management utilities to opendkim-tools
Closed 2 years ago by mdomsch. Opened 2 years ago by mikep.
rpms/ mikep/opendkim rawhide  into  rawhide

file modified
+27 -3
@@ -6,7 +6,7 @@ 

  Summary: A DomainKeys Identified Mail (DKIM) milter to sign and/or verify mail

  Name: opendkim

  Version: 2.11.0

- Release: 0.20%{?dist}

+ Release: 0.21%{?dist}

  License: BSD and Sendmail

  URL: http://%{name}.org/

  Source0: https://github.com/trusteddomainproject/OpenDKIM/archive/%{full_version}.tar.gz
@@ -40,6 +40,12 @@ 

  application that can plug in to any milter-aware MTA, including sendmail,

  Postfix, or any other MTA that supports the milter protocol.

  

+ %package -n %{name}-tools

+ Summary: An open source DKIM library

+ 

+ %description -n %{name}-tools

+ This package contains the tools necessary to create artifacts needed by opendkim.

+ 

  %package -n lib%{name}

  Summary: An open source DKIM library

  Obsoletes: %{name}-sysvinit < 2.10.1-5
@@ -154,8 +160,12 @@ 

  %config(noreplace) %attr(0640,%{name},%{name}) %{_sysconfdir}/%{name}/TrustedHosts

  %config(noreplace) %{_sysconfdir}/sysconfig/%{name}

  %{_bindir}/miltertest

- %{_sbindir}/*

- %{_mandir}/*/*

+ %{_sbindir}/opendkim

+ %{_sbindir}/opendkim-reportstats

+ %{_mandir}/man3/*

+ %{_mandir}/man5/*

+ %{_mandir}/man8/miltertest.8.gz

+ %{_mandir}/man8/opendkim.8.gz

  %dir %attr(-,%{name},%{name}) %{_localstatedir}/spool/%{name}

  %dir %attr(0750,%{name},%{name}) %{_rundir}/%{name}

  %dir %attr(-,root,%{name}) %{_sysconfdir}/%{name}
@@ -169,6 +179,17 @@ 

  %doc README

  %{_libdir}/lib%{name}.so.*

  

+ %files -n opendkim-tools

+ %license LICENSE LICENSE.Sendmail

+ %{_mandir}/man8/opendkim-genkey.8.gz

+ %{_mandir}/man8/opendkim-genzone.8.gz

+ %{_mandir}/man8/opendkim-testkey.8.gz

+ %{_mandir}/man8/opendkim-testmsg.8.gz

+ %{_sbindir}/opendkim-genkey

+ %{_sbindir}/opendkim-genzone

+ %{_sbindir}/opendkim-testkey

+ %{_sbindir}/opendkim-testmsg

+ 

  %files -n libopendkim-devel

  %license LICENSE LICENSE.Sendmail

  %doc lib%{name}/docs/*.html
@@ -177,6 +198,9 @@ 

  %{_libdir}/pkgconfig/*.pc

  

  %changelog

+ * Wed May 19 2021 W. Michael Petullo <mike@flyn.org> - 2.11.0-0.21

+ - Move management utilities to opendkim-tools

+ 

  * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.11.0-0.20

  - Rebuilt for updated systemd-rpm-macros

    See https://pagure.io/fesco/issue/2583.

This moves the management utilities to a sub-package, opendkim-tools. This allows the tools to exist on a management workstation without the OpenDKIM service.

Signed-off-by: W. Michael Petullo mike@flyn.org

Mike - thanks for the patch. I'm not hugely opposed, but I don't see a huge benefit to it either. The base package is 559kb on disk, and has about the same dependencies as -tools. In fact, tools requires perl which base doesn't, so that's a better argument. Do you have other reasons for needing this change?

Should opendkim-reportstats be in the base package instead?

The thing that motivated me was avoiding the installation of a daemon on a management workstation. I would be happy to look into moving opendkim-reportstats to the base package if you would prefer that.

rebased onto ca1c8b6

2 years ago

I just moved opendkim-reportstats as requested.

Pull-Request has been closed by mdomsch

2 years ago
Metadata