Bug 967153 - Review Request: phrel - Per Host RatE Limiter
Summary: Review Request: phrel - Per Host RatE Limiter
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Douglas Schilling Landgraf
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-25 01:27 UTC by Christopher Meng
Modified: 2014-07-18 12:39 UTC (History)
3 users (show)

Fixed In Version: phrel-1.0.2-1.el6
Clone Of:
Environment:
Last Closed: 2013-06-07 23:53:37 UTC
Type: ---
Embargoed:
dougsland: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Christopher Meng 2013-05-25 01:27:12 UTC
Spec URL: http://cicku.me/phrel.spec
SRPM URL: http://cicku.me/phrel-1.0.1-1.fc20.src.rpm
Description: PHREL is a Per Host RatE Limiter written in C to efficiently track the rate 
of incoming traffic on a per host basis and insert a chain into iptables when 
a configured threshold is crossed. The inserted chain may either rate limit 
or completely block the offending host for a period of time and will be 
automatically removed when the offending host's traffic levels return to 
normal. PHREL can be used with any type of traffic, but it is particularly 
well suited to protecting name servers from random hosts that flood DNS 
requests and preventing SSH brute force login attempts.
 
PHREL now supports IPv6 and syncronization between instances of PHREL via a 
MySQL database. The syncronization feature is designed to work in load 
balanced server farm environments or to simply provide database access to the 
hosts that PHREL is currently monitoring.
Fedora Account System Username: cicku

Comment 1 Douglas Schilling Landgraf 2013-05-26 22:15:14 UTC
Package reviewed manually + fedora-review tool.

[OK] MUST: rpmlint must be run on the source rpm and all binary rpms the build produces. The output should be posted in the review.

Checking: phrel-1.0.1-1.fc18.x86_64.rpm
phrel.x86_64: W: spelling-error %description -l en_US login -> loin, logic, lo gin
phrel.x86_64: W: spelling-error %description -l en_US syncronization -> synchronization, systematization
phrel.x86_64: W: only-non-binary-in-usr-lib
phrel.x86_64: E: incorrect-fsf-address /usr/share/doc/phrel-1.0.1/COPYING
phrel.x86_64: E: incorrect-fsf-address /usr/share/doc/phrel-1.0.1/README
1 packages and 0 specfiles checked; 2 errors, 3 warnings.

Rpmlint (installed packages)
----------------------------
# rpmlint phrel
phrel.x86_64: W: spelling-error %description -l en_US login -> loin, logic, lo gin
phrel.x86_64: W: spelling-error %description -l en_US syncronization -> synchronization, systematization
phrel.x86_64: W: only-non-binary-in-usr-lib
phrel.x86_64: E: incorrect-fsf-address /usr/share/doc/phrel-1.0.1/COPYING
phrel.x86_64: E: incorrect-fsf-address /usr/share/doc/phrel-1.0.1/README
1 packages and 0 specfiles checked; 2 errors, 3 warnings.

*********** Please see my suggestion in the end of this review.

[OK] MUST: The package must be named according to the Package Naming Guidelines .
[OK] MUST: The spec file name must match the base package %{name}, in the format %{name}.spec unless your package has an exemption

[OK] MUST: The package must meet the Packaging Guidelines .

[OK] MUST: The package must be licensed with a Fedora approved license and meet the Licensing Guidelines .

[OK] MUST: The License field in the package spec file must match the actual license. 

[OK] MUST: The spec file must be written in American English. 

[OK] MUST: The spec file for the package MUST be legible.

[OK] MUST: The sources used to build the package must match the upstream source, as provided in the spec URL. Reviewers should use sha256sum for this task as it is used by the sources file once imported into git. If no upstream URL can be specified for this package, please see the Source URL Guidelines for how to deal with this.

[OK] MUST: The package MUST successfully compile and build into binary rpms on at least one primary architecture. 

[OK] MUST: All build dependencies must be listed in BuildRequires, except for any that are listed in the exceptions section of the Packaging Guidelines ; inclusion of those as BuildRequires is optional. Apply common sense.

[OK] MUST: Packages must NOT bundle copies of system libraries.

[OK] MUST: A package must own all directories that it creates. If it does not create a directory that it uses, then it should require a package which does create that directory.

[OK] MUST: A Fedora package must not list a file more than once in the spec file's %files listings. (Notable exception: license texts in specific situations

[OK] MUST: Each package must consistently use macros

[OK] MUST: The package must contain code, or permissable content.

[OK] MUST: Packages must NOT contain any .la libtool archives, these must be removed in the spec if they are built

[OK] MUST: All filenames in rpm packages must be valid UTF-8. 

Should
=========
[OK]: Latest version is packaged.
[OK]: Package does not include license text files separate from upstream.
[OK]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[OK]: Sources can be downloaded from URI in Source: tag
[OK]: Reviewer should test that the package builds in mock.
[OK]: Buildroot is not present
[OK]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[OK]: Dist tag is present.
[OK]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[OK]: Uses parallel make.
[OK]: SourceX tarball generation or download is documented.
[OK]: SourceX is a working URL.
[OK]: Spec use %global instead of %define.


Just a minor comment:
Can you please notify upstream to update FSF address?
phrel.x86_64: E: incorrect-fsf-address /usr/share/doc/phrel-1.0.1/README

For more info:
http://fedoraproject.org/wiki/Common_Rpmlint_issues#incorrect-fsf-address

The above minor comment can be fixed in parallel of packaging.

Status: APPROVED.

Comment 2 Christopher Meng 2013-05-27 00:59:43 UTC
New Package SCM Request
=======================
Package Name: phrel
Short Description: Per Host RatE Limiter
Owners: cicku
Branches: f18 f19 el6
InitialCC:

Comment 3 Gwyn Ciesla 2013-05-28 15:47:11 UTC
Git done (by process-git-requests).

Comment 4 Fedora Update System 2013-05-29 05:54:01 UTC
phrel-1.0.1-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/phrel-1.0.1-1.fc19

Comment 5 Fedora Update System 2013-05-29 06:11:18 UTC
phrel-1.0.1-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/phrel-1.0.1-1.fc18

Comment 6 Fedora Update System 2013-05-29 17:44:07 UTC
phrel-1.0.1-1.fc19 has been pushed to the Fedora 19 testing repository.

Comment 7 Fedora Update System 2013-06-07 14:18:38 UTC
phrel-1.0.2-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/phrel-1.0.2-1.el6

Comment 8 Fedora Update System 2013-06-07 23:53:37 UTC
phrel-1.0.1-1.fc18 has been pushed to the Fedora 18 stable repository.

Comment 9 Fedora Update System 2013-06-08 03:43:56 UTC
phrel-1.0.1-1.fc19 has been pushed to the Fedora 19 stable repository.

Comment 10 Fedora Update System 2013-06-24 21:03:07 UTC
phrel-1.0.2-1.el6 has been pushed to the Fedora EPEL 6 stable repository.

Comment 11 Christopher Meng 2014-07-18 05:56:09 UTC
Package Change Request
======================
Package Name: phrel
New Branches: epel7
Owners: cicku

Comment 12 Gwyn Ciesla 2014-07-18 12:39:09 UTC
Git done (by process-git-requests).


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