Bug 2323979 - Review Request: dnsjit - Engine for capturing, parsing and replaying DNS
Summary: Review Request: dnsjit - Engine for capturing, parsing and replaying DNS
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/DNS-OARC/dnsjit
Whiteboard:
Depends On: 2323980
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-05 19:11 UTC by Petr Menšík
Modified: 2025-11-23 02:02 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-11-14 10:04:31 UTC
Type: ---
Embargoed:
jskarvad: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 8215106 to 9783637 (15.17 KB, patch)
2025-11-10 11:38 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 9783637 to 9795449 (1.36 KB, patch)
2025-11-13 16:03 UTC, Fedora Review Service
no flags Details | Diff

Description Petr Menšík 2024-11-05 19:11:31 UTC
Spec URL: https://pemensik.fedorapeople.org/srpm/dnsjit.spec
SRPM URL: https://pemensik.fedorapeople.org/srpm/dnsjit-1.4.0-2.fc42.src.rpm

Description:
dnsjit is a combination of parts taken from dsc, dnscap, drool,
and put together around Lua to create a script-based engine for easy
capturing, parsing and statistics gathering of DNS message while also
providing facilities for replaying DNS traffic.

Fedora Account System Username: pemensik

Comment 1 Petr Menšík 2024-11-05 19:11:34 UTC
This package built on koji:  https://koji.fedoraproject.org/koji/taskinfo?taskID=125533621

Comment 2 Petr Menšík 2024-11-05 19:14:36 UTC
I have found issues with s390x build, although it should work. Reported in bug #2323980

Comment 3 Fedora Review Service 2024-11-05 19:20:09 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8215106
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2323979-dnsjit/fedora-rawhide-x86_64/08215106-dnsjit/fedora-review/review.txt

Found issues:

- No gcc, gcc-c++ or clang found in BuildRequires
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/C_and_C++/

Please know that there can be false-positives.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 4 Petr Dancak 2024-11-07 13:06:24 UTC
Notes:
when package is build the warning for already existent README.md and CHANGES is shown. I think that the %doc README.md and %doc CHANGES is not needed, because the makefile AFAIK creates the files by itself.

Package Review
==============

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


Issues:
=======
- If your application is a C or C++ application you must list a
  BuildRequires against gcc, gcc-c++ or clang.
  Note: No gcc, gcc-c++ or clang found in BuildRequires
  See: https://docs.fedoraproject.org/en-US/packaging-guidelines/C_and_C++/


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

C/C++:
[x]: Package does not contain kernel modules.
[x]: Header files in -devel subpackage, if present.
[x]: Package does not contain any libtool archives (.la)
[x]: Package contains no static executables.
[x]: Rpath absent or only used for internal libs.

Generic:
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
     Note: Using prebuilt packages
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[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", "GNU General Public License v3.0 or
     later", "FSF All Permissive License", "*No copyright* GNU General
     Public License, Version 3". 87 files have unknown license. Detailed
     output of licensecheck in /var/lib/copr-
     rpmbuild/results/dnsjit/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[x]: %build honors applicable compiler flags or justifies otherwise.
[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.
[x]: 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]: Useful -debuginfo package or justification otherwise.
[!]: Package is not known to require an ExcludeArch tag.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 89394 bytes in 14 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: 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]: The License field must be a valid SPDX expression.
[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:
[x]: Reviewer should test that the package builds in mock.
[x]: 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).
[ ]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[ ]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[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]: Fully versioned dependency in subpackages if applicable.
[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 debuginfo package(s).
     Note: There are rpmlint messages (see attachment).
[x]: Rpmlint is run on all installed packages.
     Note: No rpmlint messages.
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.
[x]: Package should not use obsolete m4 macros


Rpmlint
-------
============================================================== rpmlint session starts ==============================================================
rpmlint: 2.5.0
configuration:
    /usr/lib/python3.13/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 32, packages: 1

dnsjit.x86_64: E: spelling-error ('dsc', '%description -l en_US dsc -> dc, disc, doc')
dnsjit.x86_64: E: spelling-error ('dnscap', '%description -l en_US dnscap -> landscape')
dnsjit.x86_64: W: files-duplicate /usr/share/licenses/dnsjit/LICENSE /usr/share/doc/dnsjit/LICENSE
========================= 1 packages and 0 specfiles checked; 2 errors, 1 warnings, 2 filtered, 2 badness; has taken 0.2 s =========================


Rpmlint (debuginfo)
-------------------
Cannot parse rpmlint output:



Rpmlint (installed packages)
----------------------------
============================================================== rpmlint session starts ==============================================================
rpmlint: 2.5.0
configuration:
    /usr/lib/python3.13/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 32, packages: 3

dnsjit.x86_64: E: spelling-error ('dsc', '%description -l en_US dsc -> dc, disc, doc')
dnsjit.x86_64: E: spelling-error ('dnscap', '%description -l en_US dnscap -> landscape')
dnsjit-devel.x86_64: E: spelling-error ('dsc', '%description -l en_US dsc -> dc, disc, doc')
dnsjit-devel.x86_64: E: spelling-error ('dnscap', '%description -l en_US dnscap -> landscape')
dnsjit-devel.x86_64: W: no-documentation
dnsjit.x86_64: W: files-duplicate /usr/share/licenses/dnsjit/LICENSE /usr/share/doc/dnsjit/LICENSE
======================== 3 packages and 0 specfiles checked; 4 errors, 2 warnings, 10 filtered, 4 badness; has taken 0.4 s =========================




Source checksums
----------------
https://github.com/DNS-OARC/dnsjit/archive/v1.4.0/dnsjit-1.4.0.tar.gz :
  CHECKSUM(SHA256) this package     : 21c560a974761fc8d34c52ec3b94863657163e3ad112830bf212d327b5407504
  CHECKSUM(SHA256) upstream package : 21c560a974761fc8d34c52ec3b94863657163e3ad112830bf212d327b5407504


Requires
--------
dnsjit (rpmlib, GLIBC filtered):
    libc.so.6()(64bit)
    libgcc_s.so.1()(64bit)
    libgcc_s.so.1(GCC_3.0)(64bit)
    libgcc_s.so.1(GCC_3.3.1)(64bit)
    libgnutls.so.30()(64bit)
    libgnutls.so.30(GNUTLS_3_4)(64bit)
    liblmdb.so.0.0.0()(64bit)
    libluajit-5.1.so.2()(64bit)
    liblz4.so.1()(64bit)
    liblzma.so.5()(64bit)
    liblzma.so.5(XZ_5.0)(64bit)
    libpcap.so.1()(64bit)
    libz.so.1()(64bit)
    libz.so.1(ZLIB_1.2.9)(64bit)
    libzstd.so.1()(64bit)
    rtld(GNU_HASH)

dnsjit-devel (rpmlib, GLIBC filtered):
    ck-devel
    dnsjit(x86-64)
    gnutls-devel
    libpcap-devel
    libzstd-devel
    lmdb-devel
    luajit-devel
    lz4-devel
    xz-devel
    zlib-devel

dnsjit-debuginfo (rpmlib, GLIBC filtered):

dnsjit-debugsource (rpmlib, GLIBC filtered):



Provides
--------
dnsjit:
    dnsjit
    dnsjit(x86-64)

dnsjit-devel:
    dnsjit-devel
    dnsjit-devel(x86-64)

dnsjit-debuginfo:
    debuginfo(build-id)
    dnsjit-debuginfo
    dnsjit-debuginfo(x86-64)

dnsjit-debugsource:
    dnsjit-debugsource
    dnsjit-debugsource(x86-64)

Comment 5 Jaroslav Škarvada 2024-11-07 13:38:34 UTC
Thanks Petr for the proxy review.

@pmensik:
- please add build requires for the compiler, it seems gcc is used.
- if you plan to use this SPEC only on Fedora/RHEL you may to drop the SUSE macros
- you may package the included examples, it may be useful for somebody

Comment 6 Jaroslav Škarvada 2024-11-07 14:09:34 UTC
(In reply to Jaroslav Škarvada from comment #5)
> Thanks Petr for the proxy review.
> 
> @pmensik:
> - please add build requires for the compiler, it seems gcc is used.
> - if you plan to use this SPEC only on Fedora/RHEL you may to drop the SUSE
> macros
> - you may package the included examples, it may be useful for somebody

There are some examples how to create own modules in the examples/modules, but I am not sure whether it makes sense to package it.

Comment 7 Package Review 2025-11-08 00:45:25 UTC
This is an automatic check from review-stats script.

This review request ticket hasn't been updated for some time. We're sorry
it is taking so long. If you're still interested in packaging this software
into Fedora repositories, please respond to this comment clearing the
NEEDINFO flag.

You may want to update the specfile and the src.rpm to the latest version
available and to propose a review swap on Fedora devel mailing list to increase
chances to have your package reviewed. If this is your first package and you
need a sponsor, you may want to post some informal reviews. Read more at
https://fedoraproject.org/wiki/How_to_get_sponsored_into_the_packager_group.

Without any reply, this request will shortly be considered abandoned
and will be closed.
Thank you for your patience.

Comment 8 Petr Menšík 2025-11-10 11:32:18 UTC
Spec URL: https://pemensik.fedorapeople.org/srpm/dnsjit.spec
SRPM URL: https://pemensik.fedorapeople.org/srpm/dnsjit-1.5.0-1.fc44.src.rpm

Updated to last version.

Added examples into %_libexecdir/%name, because they are executable. They were added into doc directory, but executables do not belong there IMO.
That also solved duplicity of doc files.

Jardo, can I ask re-review again?

Comment 9 Fedora Review Service 2025-11-10 11:38:48 UTC
Created attachment 2113679 [details]
The .spec file difference from Copr build 8215106 to 9783637

Comment 10 Fedora Review Service 2025-11-10 11:38:50 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9783637
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2323979-dnsjit/fedora-rawhide-x86_64/09783637-dnsjit/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 11 Jaroslav Škarvada 2025-11-13 14:01:37 UTC
Testuite is failing on s390x:
FAIL: test-ipsplit.sh
=====================
core critical: ./test_ipsplit.lua: ./test_ipsplit.lua:122: assertion failed!
FAIL test-ipsplit.sh (exit status: 1)
============================================================================

@pemensik please fix it or drop the s390x support until fixed upstream.

Comment 13 Fedora Review Service 2025-11-13 16:03:18 UTC
Created attachment 2114269 [details]
The .spec file difference from Copr build 9783637 to 9795449

Comment 14 Fedora Review Service 2025-11-13 16:03:21 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9795449
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2323979-dnsjit/fedora-rawhide-x86_64/09795449-dnsjit/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 15 Jaroslav Škarvada 2025-11-13 17:45:47 UTC
LGTM.

Comment 16 Fedora Admin user for bugzilla script actions 2025-11-13 19:13:57 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/dnsjit

Comment 17 Fedora Update System 2025-11-14 09:58:29 UTC
FEDORA-2025-0c832b833c (dnsjit-1.5.0-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-0c832b833c

Comment 18 Fedora Update System 2025-11-14 10:04:31 UTC
FEDORA-2025-0c832b833c (dnsjit-1.5.0-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2025-11-14 13:26:16 UTC
FEDORA-2025-177ad3e755 (dnsjit-1.5.0-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-177ad3e755

Comment 20 Fedora Update System 2025-11-14 14:50:24 UTC
FEDORA-EPEL-2025-6a756450ff (dnsjit-1.5.0-2.el10_2) has been submitted as an update to Fedora EPEL 10.2.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-6a756450ff

Comment 21 Fedora Update System 2025-11-14 14:50:49 UTC
FEDORA-2025-26eff44cd7 (dnsjit-1.5.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-26eff44cd7

Comment 22 Fedora Update System 2025-11-14 14:51:20 UTC
FEDORA-EPEL-2025-f3f84b68da (dnsjit-1.5.0-2.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-f3f84b68da

Comment 23 Fedora Update System 2025-11-15 01:49:28 UTC
FEDORA-2025-26eff44cd7 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-26eff44cd7 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-26eff44cd7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 24 Fedora Update System 2025-11-15 02:18:55 UTC
FEDORA-EPEL-2025-6a756450ff has been pushed to the Fedora EPEL 10.2 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-6a756450ff

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 25 Fedora Update System 2025-11-15 02:24:33 UTC
FEDORA-EPEL-2025-f3f84b68da has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-f3f84b68da

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 26 Fedora Update System 2025-11-15 02:34:31 UTC
FEDORA-2025-177ad3e755 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-177ad3e755 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-177ad3e755

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 27 Fedora Update System 2025-11-23 00:56:11 UTC
FEDORA-2025-177ad3e755 (dnsjit-1.5.0-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 28 Fedora Update System 2025-11-23 01:35:32 UTC
FEDORA-EPEL-2025-f3f84b68da (dnsjit-1.5.0-2.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 29 Fedora Update System 2025-11-23 01:54:57 UTC
FEDORA-EPEL-2025-6a756450ff (dnsjit-1.5.0-2.el10_2) has been pushed to the Fedora EPEL 10.2 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 30 Fedora Update System 2025-11-23 02:02:06 UTC
FEDORA-2025-26eff44cd7 (dnsjit-1.5.0-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, 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.