[Bug 1065641] Review Request: libhttpserver - Library embedding RESTful HTTP server functionality

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1065641



--- Comment #7 from Christopher Meng <cickumqt@xxxxxxxxx> ---
Package Review
==============

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




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

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: ldconfig called in %post and %postun if required.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.
[x]: Development (unversioned) .so files in -devel subpackage, if present.

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.
[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 %doc.
[!]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses found:
     "LGPL (v2.1 or later)", "GPL (v3 or later)", "Unknown or generated". 5
     files have unknown license. Detailed output of licensecheck:

GPL (v3 or later)
-----------------
libhttpserver-0.7.0/src/gettext.h

LGPL (v2.1 or later)
--------------------
libhttpserver-0.7.0/src/http_endpoint.cpp
libhttpserver-0.7.0/src/http_request.cpp
libhttpserver-0.7.0/src/http_resource.cpp
libhttpserver-0.7.0/src/http_response.cpp
libhttpserver-0.7.0/src/http_utils.cpp
libhttpserver-0.7.0/src/httpserver/binders.hpp
libhttpserver-0.7.0/src/httpserver/create_webserver.hpp
libhttpserver-0.7.0/src/httpserver/details/cache_entry.hpp
libhttpserver-0.7.0/src/httpserver/details/event_tuple.hpp
libhttpserver-0.7.0/src/httpserver/details/http_endpoint.hpp
libhttpserver-0.7.0/src/httpserver/details/http_resource_mirror.hpp
libhttpserver-0.7.0/src/httpserver/details/http_response_ptr.hpp
libhttpserver-0.7.0/src/httpserver/details/modded_request.hpp
libhttpserver-0.7.0/src/httpserver/event_supplier.hpp
libhttpserver-0.7.0/src/httpserver/http_request.hpp
libhttpserver-0.7.0/src/httpserver/http_resource.hpp
libhttpserver-0.7.0/src/httpserver/http_response.hpp
libhttpserver-0.7.0/src/httpserver/http_utils.hpp
libhttpserver-0.7.0/src/httpserver/string_utilities.hpp
libhttpserver-0.7.0/src/httpserver/webserver.hpp
libhttpserver-0.7.0/src/string_utilities.cpp
libhttpserver-0.7.0/src/webserver.cpp
libhttpserver-0.7.0/test/littletest.hpp

Unknown or generated
--------------------
libhttpserver-0.7.0/examples/Test.cpp
libhttpserver-0.7.0/examples/Test.hpp
libhttpserver-0.7.0/examples/hello_world.cpp
libhttpserver-0.7.0/src/httpserver.hpp
libhttpserver-0.7.0/test/basic.cpp

[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.
[x]: Package contains systemd file(s) if in need.
[x]: Useful -debuginfo package or justification otherwise.
[x]: Package is not known to require an ExcludeArch tag.
[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]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[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]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package use %makeinstall only when make install' ' DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package do not use a name that already exist
[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]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 0 bytes in 0 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

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

Generic:
[!]: Dist tag is present (not strictly required in GL).
[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).
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: Scriptlets must be sane, if used.
[x]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: 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]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[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]: Fully versioned dependency in subpackages if applicable.
[x]: Uses parallel make %{?_smp_mflags} macro.
[x]: The placement of pkgconfig(.pc) files are correct.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

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

Generic:
[!]: Package should not use obsolete m4 macros
     Note: Some obsoleted macros found, see the attachment.
     See: https://fedorahosted.org/FedoraReview/wiki/AutoTools
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Large data in /usr/share should live in a noarch subpackage if package is
     arched.


Rpmlint
-------
Checking: libhttpserver-0.7.0-4.fc21.i686.rpm
          libhttpserver-devel-0.7.0-4.fc21.i686.rpm
          libhttpserver-0.7.0-4.fc21.src.rpm
libhttpserver.i686: W: no-documentation
libhttpserver-devel.i686: W: no-documentation
3 packages and 0 specfiles checked; 0 errors, 2 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint libhttpserver libhttpserver-devel
libhttpserver.i686: W: unused-direct-shlib-dependency
/usr/lib/libhttpserver.so.0.7.0 /lib/libm.so.6
libhttpserver.i686: W: no-documentation
libhttpserver-devel.i686: W: no-documentation
2 packages and 0 specfiles checked; 0 errors, 3 warnings.
# echo 'rpmlint-done:'



Requires
--------
libhttpserver (rpmlib, GLIBC filtered):
    /sbin/ldconfig
    libc.so.6
    libgcc_s.so.1
    libgcc_s.so.1(GCC_3.0)
    libm.so.6
    libmicrohttpd.so.10
    libstdc++.so.6
    libstdc++.so.6(CXXABI_1.3)
    rtld(GNU_HASH)

libhttpserver-devel (rpmlib, GLIBC filtered):
    /usr/bin/pkg-config
    libhttpserver(x86-32)
    libhttpserver.so.0
    libmicrohttpd-devel(x86-32)
    pkgconfig(libmicrohttpd)



Provides
--------
libhttpserver:
    libhttpserver
    libhttpserver(x86-32)
    libhttpserver.so.0

libhttpserver-devel:
    libhttpserver-devel
    libhttpserver-devel(x86-32)
    pkgconfig(libhttpserver)



Source checksums
----------------
https://github.com/etr/libhttpserver/archive/v0.7.0.tar.gz :
  CHECKSUM(SHA256) this package     :
268f44734d0407c219fe127d135f68c0ed55498ad2cef7b80614158399ce4d9f
  CHECKSUM(SHA256) upstream package :
268f44734d0407c219fe127d135f68c0ed55498ad2cef7b80614158399ce4d9f


AutoTools: Obsoleted m4s found
------------------------------
  AC_PROG_LIBTOOL found in: libhttpserver-0.7.0/configure.ac:34


Generated by fedora-review 0.5.1 (bb9bf27) last change: 2013-12-13
Command line :/usr/bin/fedora-review -rvn libhttpserver-0.7.0-4.fc20.src.rpm
Buildroot used: fedora-rawhide-i386
Active plugins: Generic, Shell-api, C/C++
Disabled plugins: Java, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R,
PHP, Ruby
Disabled flags: EXARCH, EPEL5, BATCH, DISTTAG

-------------------------------
1. License should be LGPLv2+

2. Release:        4%{dist}

-->

Release:        4%{?dist}

3. Fix the rpmlint issue via:

https://fedoraproject.org/wiki/Common_Rpmlint_issues#unused-direct-shlib-dependency

4. Is it possible for you to add a %check section to test this package?

5. https://fedorahosted.org/FedoraReview/wiki/AutoTools

Please tell upstream to change.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]