Bug 478432 - Review Request: dwscan - Displays access point information
Summary: Review Request: dwscan - Displays access point information
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jason Tibbitts
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 478300
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-29 23:01 UTC by Fabian Affolter
Modified: 2009-04-09 16:16 UTC (History)
4 users (show)

Fixed In Version: 0.2-3.fc10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-04-09 16:16:17 UTC
Type: ---
Embargoed:
j: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Fabian Affolter 2008-12-29 23:01:16 UTC
Spec URL: http://fab.fedorapeople.org/packages/SRPMS/dwscan.spec
SRPM URL: http://fab.fedorapeople.org/packages/SRPMS/dwscan-0.2-1.fc9.src.rpm

Project URL: http://dag.wieers.com/home-made/dwscan/

Description:
Dwscan displays access point information in a useful manner.

Koji scratch build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1025373

rpmlint output:
[fab@laptop024 noarch]$ rpmlint dwscan-0.2-1.fc9.noarch.rpm 
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

[fab@laptop024 SRPMS]$ rpmlint dwscan-0.2-1.fc9.src.rpm 
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

Comment 1 Ralf Corsepius 2008-12-30 09:23:40 UTC
Some remarks:

- Your patch is superfluous.
  Overriding at make-time:
  make install bindir=%{_bindir}
  has the same effect without hacking the code.

- The Makefile doesn't honor INSTALL 
  => make INSTALL="install -p"
  is non-functional

Furthermore:
- I am having strong doubts if installing this tool to %{_bindir} is a good idea.

Comment 2 Fabian Affolter 2008-12-30 10:12:59 UTC
Thanks Ralf for your inputs.

(In reply to comment #1)
> - Your patch is superfluous.
>   Overriding at make-time:
>   make install bindir=%{_bindir}
>   has the same effect without hacking the code.

It's much smarter.  Changed
 
> - The Makefile doesn't honor INSTALL 
>   => make INSTALL="install -p"
>   is non-functional

fixed
 
> Furthermore:
> - I am having strong doubts if installing this tool to %{_bindir} is a good
> idea.

What location do you have in mind?

Here are the updated files.

Spec URL: http://fab.fedorapeople.org/packages/SRPMS/dwscan.spec
SRPM URL: http://fab.fedorapeople.org/packages/SRPMS/dwscan-0.2-2.fc9.src.rpm

Comment 3 Jason Tibbitts 2009-03-10 01:51:12 UTC
I'm guessing that Ralf's concern was that the program needs privilege to run and so should be installed in /usr/sbin.  Of course, the current default path kind of eliminates the difference, but upstream seems to agree.  Do you have any thoughts on this?

The software seems confused about its license.  The actual program clearly indicates LGPLv2 (only) but COPYING and the included spec say GPLv2.  The software itself overrides, of course, but then I don't see the value in packaging the useless COPYING file.  Could you ping upstream and see if you can get them to clarify?

Are you sure this really needs python to build?  It doesn't seem to me like it does.

* source files match upstream.  sha256sum:
   84d2161d1b9714d4517cef811a35fe53fdddfd5b22a2693811ccae02ed1ef779  
   dwscan-0.2.tar.bz2
* package meets naming and versioning guidelines.
 specfile is properly named, is cleanly written and uses macros consistently.
* summary is OK.
* description is OK.
* dist tag is present.
* build root is OK.
X license field does not match the actual license.
* license is open source-compatible.
* latest version is being packaged.
X BuildRequires
* %clean is present.
* package builds in mock (rawhide, x86_64).
* package installs properly.
* rpmlint is silent.
* final provides and requires are sane:
   dwscan = 0.2-2.fc11
  =
   /usr/bin/python
   python-wifi

* owns the directory it creates.
* doesn't own any directories it shouldn't.
* no duplicates in %files.
* file permissions are appropriate.
* no generically named files
* code, not content.
* documentation is small, so no -doc subpackage is necessary.
* %docs are not necessary for the proper functioning of the package.


The package review process needs reviewers!  If you haven't done any package
reviews recently, please consider doing one.

Comment 4 Ralf Corsepius 2009-03-10 05:56:49 UTC
(In reply to comment #3)
> I'm guessing that Ralf's concern was that the program needs privilege to run
> and so should be installed in /usr/sbin.
Right.

> Of course, the current default path
> kind of eliminates the difference, 
Well, I guess my opinion on this is known: I consider it to be a severe mistake. 

> but upstream seems to agree.
I am not familiar with this particular package's upstream, however many upstreams simply tend to not taking "system integration" consideration into account.

Comment 5 Jason Tibbitts 2009-03-10 14:35:15 UTC
My evidence that upstream seems to agree is simply that the makefile installs the binary into "sbindir".  Only the passing of sbindir="%{_bindir} in the make call gets the executable into /usr/bin.

Comment 6 Fabian Affolter 2009-03-15 14:37:26 UTC
(In reply to comment #3)
> I'm guessing that Ralf's concern was that the program needs privilege to run
> and so should be installed in /usr/sbin.  Of course, the current default path
> kind of eliminates the difference, but upstream seems to agree.  Do you have
> any thoughts on this?

I will leave the path untouched.

> The software seems confused about its license.  The actual program clearly
> indicates LGPLv2 (only) but COPYING and the included spec say GPLv2.  The
> software itself overrides, of course, but then I don't see the value in
> packaging the useless COPYING file.  Could you ping upstream and see if you can
> get them to clarify?

COPYING removed and LGPLv2 added as license tag for now till upstream release a new source tarball.

> X license field does not match the actual license.

LGPLv2 for now.

> X BuildRequires

fixed


Updated files:
Spec URL: http://fab.fedorapeople.org/packages/SRPMS/dwscan.spec
SRPM URL: http://fab.fedorapeople.org/packages/SRPMS/dwscan-0.2-3.fc10.src.rpm

Comment 7 Jason Tibbitts 2009-03-24 21:15:45 UTC
Could you explain in the spec why you wish to override upstream's placement of the binary in /usr/sbin, then?  I'm not sure there's really any reasonable justification for it, but if you have one then I'll be happy to approve the package.

Comment 8 Fabian Affolter 2009-03-24 21:30:07 UTC
(In reply to comment #7)
> Could you explain in the spec why you wish to override upstream's placement of
> the binary in /usr/sbin, then?  I'm not sure there's really any reasonable
> justification for it, but if you have one then I'll be happy to approve the
> package.  


I will not override the placement of the binary.  I reversed this in Release 3 of the package.

Comment 9 Jason Tibbitts 2009-03-24 22:28:48 UTC
Sorry, I must have misunderstood your comment.  Everything looks fine to me now.

APPROVED

Comment 10 Fabian Affolter 2009-03-24 22:37:54 UTC
Thanks again for your review.

Comment 11 Fabian Affolter 2009-03-24 22:38:43 UTC
New Package CVS Request
=======================
Package Name: dwscan 
Short Description: Displays access point information
Owners: fab
Branches: F-9 F-10
InitialCC:

Comment 12 Kevin Fenzi 2009-03-27 20:31:22 UTC
cvs done.

Comment 13 Fedora Update System 2009-03-28 21:36:24 UTC
shtool-2.0.8-2.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/shtool-2.0.8-2.fc9

Comment 14 Fedora Update System 2009-03-28 21:36:30 UTC
shtool-2.0.8-2.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/shtool-2.0.8-2.fc10

Comment 15 Fedora Update System 2009-03-28 21:38:31 UTC
dwscan-0.2-3.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/dwscan-0.2-3.fc9

Comment 16 Fedora Update System 2009-03-28 21:38:36 UTC
dwscan-0.2-3.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/dwscan-0.2-3.fc10

Comment 17 Fedora Update System 2009-03-31 20:35:41 UTC
dwscan-0.2-3.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update dwscan'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-3162

Comment 18 Fedora Update System 2009-03-31 20:36:28 UTC
dwscan-0.2-3.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing-newkey update dwscan'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2009-3119

Comment 19 Fedora Update System 2009-04-09 16:16:11 UTC
dwscan-0.2-3.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2009-04-09 16:16:23 UTC
dwscan-0.2-3.fc10 has been pushed to the Fedora 10 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.