Bug 1748012 - Review Request: mkrdns - Automatic reverse DNS zone generator
Summary: Review Request: mkrdns - Automatic reverse DNS zone generator
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Petr Menšík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-02 13:23 UTC by Spike
Modified: 2019-10-03 02:01 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-09-26 00:01:33 UTC
Type: ---
Embargoed:
pemensik: fedora-review+


Attachments (Terms of Use)

Description Spike 2019-09-02 13:23:04 UTC
Spec URL: https://spike.fedorapeople.org/mkrdns/mkrdns.spec

SRPM URL: https://spike.fedorapeople.org/mkrdns/mkrdns-3.3-1.20190902git6b3f3a4.fc30.src.rpm

Description: 
mkrdns automates the tedious procedure of editing both forward and reverse 
zones when making changes to your zones with likely no changes to your current 
configuration file.

mkrdns does this by reading through all of the primary/secondary (master/slave) 
zones in your configuration file (either named.boot or named.conf). It will 
then automatically generate the reverse zone entries (IN PTR) for the networks 
for which you are the primary/master. It is now possible to simply edit the 
forward map, run mkrdns, and reload the zone. Clean, simple, and best of all, 
automatic.

mkrdns also acts as a limited lint-like program, issuing warnings and errors if 
there are problems with your configuration or zone files.

Fedora Account System Username: spike

copr build: https://copr.fedorainfracloud.org/coprs/spike/mkrdns/builds/

Comment 1 Petr Menšík 2019-09-10 17:38:59 UTC
Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed



===== MUST items =====

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[!]: If (and only if) the source package includes the text of the
     license(s) in its own file, then that file, containing the text of the
     license(s) for the package is included in %license.
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Unknown or generated", "GPL (v2 or later) (with incorrect FSF
     address)". 1 files have unknown license. Detailed output of
     licensecheck in
     /home/reviewer/fedora/rawhide/1748012-mkrdns/licensecheck.txt
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
     names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 10240 bytes in 1 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package must not depend on deprecated() packages.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[!]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[-]: Package should compile and build into binary rpms on all supported
     architectures.
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: mkrdns-3.3-1.20190902git6b3f3a4.fc32.noarch.rpm
          mkrdns-3.3-1.20190902git6b3f3a4.fc32.src.rpm
mkrdns.noarch: W: spelling-error %description -l en_US conf -> con, cone, cons
mkrdns.src: W: spelling-error %description -l en_US conf -> con, cone, cons
2 packages and 0 specfiles checked; 0 errors, 2 warnings.




Rpmlint (installed packages)
----------------------------
mkrdns.noarch: W: spelling-error %description -l en_US conf -> con, cone, cons
mkrdns.noarch: W: invalid-url URL: https://github.com/oasys/mkrdns <urlopen error [Errno -2] Name or service not known>
1 packages and 0 specfiles checked; 0 errors, 2 warnings.



Source checksums
----------------
https://github.com/oasys/mkrdns/archive/6b3f3a40e2d5607e04edb6d1954c068c3b1a693f/mkrdns-6b3f3a4.tar.gz :
  CHECKSUM(SHA256) this package     : 180837ba47ef386cf7b681a23dd7065f7346471576cdaafd849f112a29f4880c
  CHECKSUM(SHA256) upstream package : 180837ba47ef386cf7b681a23dd7065f7346471576cdaafd849f112a29f4880c


Requires
--------
mkrdns (rpmlib, GLIBC filtered):
    /usr/bin/perl
    perl-Getopt-Long



Provides
--------
mkrdns:
    mkrdns



Generated by fedora-review 0.7.2 (65d36bb) last change: 2019-04-09
Command line :/usr/bin/fedora-review -b 1748012
Buildroot used: fedora-rawhide-x86_64
Active plugins: Shell-api, Generic
Disabled plugins: C/C++, Ocaml, PHP, fonts, Haskell, Java, Perl, Python, SugarActivity, R
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH

Comment 2 Petr Menšík 2019-09-10 17:44:59 UTC
I am missing license file inside the source package. Do you think it is feasible to add it into the release?

Also, licensecheck complains about incorrect FSF address. Do you think this could be fixed upstream?

Correct text should be on [1]

GPL (v2 or later) (with incorrect FSF address)
----------------------------------------------
mkrdns-6b3f3a40e2d5607e04edb6d1954c068c3b1a693f/mkrdns
mkrdns-6b3f3a40e2d5607e04edb6d1954c068c3b1a693f/mkrdns.dist

Unknown or generated
--------------------
mkrdns-6b3f3a40e2d5607e04edb6d1954c068c3b1a693f/README.md

1. https://www.gnu.org/licenses/old-licenses/gpl-2.0.html

Comment 3 Petr Menšík 2019-09-10 17:48:23 UTC
Nice packaging though, I have nothing else to comment. Great work Spike!

Comment 4 Spike 2019-09-11 23:09:52 UTC
Thanks a lot Petr for the review!

Since https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text states that

> If the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package must be included in %license. If the source package does not include the text of the license(s), the packager should contact upstream and encourage them to correct this mistake.

I went ahead and did exactly that: https://github.com/oasys/mkrdns/pull/5
This PR would also update the FSF's address.

Comment 5 Petr Menšík 2019-09-16 09:41:14 UTC
Thank you! I think this package is suitable to be included in Fedora, giving it a plus.

It seems upstream is not responding. No active development should not block acceptance.

Comment 6 Gwyn Ciesla 2019-09-16 13:35:19 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/mkrdns

Comment 7 Fedora Update System 2019-09-17 00:47:43 UTC
FEDORA-EPEL-2019-a336bc3b34 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-a336bc3b34

Comment 8 Fedora Update System 2019-09-17 00:48:14 UTC
FEDORA-2019-75352e4f4a has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-75352e4f4a

Comment 9 Fedora Update System 2019-09-17 00:48:35 UTC
FEDORA-2019-fe99c88ed2 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-fe99c88ed2

Comment 10 Fedora Update System 2019-09-17 14:22:10 UTC
FEDORA-EPEL-2019-fa3fec14e3 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-fa3fec14e3

Comment 11 Fedora Update System 2019-09-18 01:20:21 UTC
mkrdns-3.3-1.20190902git6b3f3a4.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-75352e4f4a

Comment 12 Fedora Update System 2019-09-18 02:00:02 UTC
mkrdns-3.3-1.20190902git6b3f3a4.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-fe99c88ed2

Comment 13 Fedora Update System 2019-09-18 03:01:13 UTC
mkrdns-3.3-1.20190902git6b3f3a4.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-a336bc3b34

Comment 14 Fedora Update System 2019-09-18 04:31:07 UTC
mkrdns-3.3-1.20190902git6b3f3a4.el8 has been pushed to the Fedora EPEL 8 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-fa3fec14e3

Comment 15 Fedora Update System 2019-09-26 00:01:33 UTC
mkrdns-3.3-1.20190902git6b3f3a4.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2019-09-26 01:07:04 UTC
mkrdns-3.3-1.20190902git6b3f3a4.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2019-10-03 00:34:15 UTC
mkrdns-3.3-1.20190902git6b3f3a4.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2019-10-03 02:01:26 UTC
mkrdns-3.3-1.20190902git6b3f3a4.el8 has been pushed to the Fedora EPEL 8 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.