Bug 484931

Summary: Renaming Review Request: hosts3d - 3D real-time network visualiser
Product: [Fedora] Fedora Reporter: Simon <cassmodiah>
Component: Package ReviewAssignee: Jochen Schmitt <jochen>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora-package-review, jochen, notting, pahan, susi.lehtola
Target Milestone: ---Flags: jochen: fedora-review+
kevin: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-22 17:23:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to get honor %{optflags}
none
Suggested SPEC file with include proposal Patch none

Description Simon 2009-02-10 18:48:07 UTC
Spec URL: 
http://cassmodiah.fedorapeople.org/hosts3d-0.97/hosts3d.spec

SRPM URL: 
http://cassmodiah.fedorapeople.org/hosts3d-0.97/hosts3d-0.97-1.fc10.src.rpm

Description: 
Hosts3D is a 3D real-time network visualizer, displaying 
hosts and packet traffic. Features include support for 
multiple sensors, analysis of packets to gather hostnames 
and services, configurable layout of subnetworks, 
recording/replaying of packet traffic, and the ability 
to filter packets by host, protocol or port. 
hsen (Hosts3D Sensor) is a packet capture daemon which
reads and sends packet header information to Hosts3D, 
locally or remotely. hsen also equates hostname to IP 
by reading DNS packets (UDP type A class IN standard 
query response). The relationship between hsen to Hosts3D 
can be one-to-one, one-to-many, many-to-one or many-to-many 
(many Hosts3Ds would be on multiple computers on the 
same subnet, receiving packet header information 
from hsen via broadcast).

Info:
Upstream named Homestead in Hosts3D because there is a commercial application called Homestead.

Comment 1 Susi Lehtola 2009-02-11 08:06:42 UTC
Now the package
Provides:        homestead = 0.95-1
Obsoletes:       homestead < 0.95-1

but the current version in F10 is homestead-0.95-1, which won't be obsoleted. 

Change this to
Provides:        homestead = %{version}-%{release}
Obsoletes:       homestead < %{version}-%{release}

or just remove the versioning from Provides & Obsoletes?

Comment 2 Jochen Schmitt 2009-02-11 21:20:17 UTC
I think, you should wrote

Provides:        homestead = %{version}-%{release}
Obsoletes:       homestead < 0.95-1

Comment 3 Simon 2009-02-11 21:29:30 UTC
-
Provides:        homestead = %{version}-%{release}
Obsoletes:       homestead < 0.95-1
-

Perhaps THIS way?! This looks correct and make sense (to me)!

Comment 4 Jochen Schmitt 2009-02-11 21:41:20 UTC
Review will be done tomorrow.

Comment 5 Jochen Schmitt 2009-02-12 16:38:17 UTC
Good:

+ Base name of the SPEC file metches with package name.
+ Package name fullfill the naming guidelines
+ Package contains current release of the application
+ Could download sources from upstream
+ Packaged souces metches with upstream one.
(md5sum: 260c55fe010520cbe894c97b224f996b)
+ Package contains valid license tag
+ License tag contains GPLv2+ as an valid OSS license
+ License on the license tag fit with copyright note of 
the included source files
+ Package contains verbatin copy of the license text
+ Proper use of the %{?dist] tag
+ Proper defintion of the Buildroot
+ Buildroot will been cleaned on the beginning of %clean and %install
+ Consistently rpm macro usage
+ Package use parallel build
+ Local build works fine.
+ Koji build works fine.
+ Rpmlint is quite on source rpm
+ Rpmlint is quite on binary rpm
+ Rpmlint is quite on debuginfo package
+ Files hat proper files permissions
+ %files stanza has no duplicated entries
+ All packaged files are owned by the package
+ %doc stanza is small, so we need no deparate subpackage
+ package contains desktop entry file.
+ Proper %changelog


Bad:
- Please change Provides of the main package and the subpackage as 
discussed in comment #3
- Package doesn't honor $RPM_OPT_FLAGS
- Please remove the -p switch on make install
- Debuginfo package contains no sources

Question:
* Does the sampler subpackage not requires the main subpackage?

Comment 6 Jochen Schmitt 2009-02-12 18:48:14 UTC
Created attachment 331728 [details]
Patch to get honor %{optflags}

Comment 7 Jochen Schmitt 2009-02-12 18:51:01 UTC
Created attachment 331729 [details]
Suggested SPEC file with include proposal Patch

This SPEC file use a patch attached to this review request to patch the configure script. this is required, because the configure script overwrites the CXXFLAGS.

Comment 8 Simon 2009-02-13 10:56:24 UTC
Thank you, i emailed this patch to upstream. I'm in a good contact with him :-)

I will continue today and i hope we finished it soon. 

Thank you

Comment 9 Jochen Schmitt 2009-02-15 19:50:03 UTC
An additional change: It may be nice, if you can add the autoreconf command before the %configure statemant.

The task of the autoreconf command is to make sure, that the configure.in file may be generated on the base of the configure.ac file, which will be patched by my suggested patch.

Comment 11 Jochen Schmitt 2009-02-15 20:44:51 UTC
Good:
+ autoconf was added as an BR.
+ autoreconf was called before %configure
+ Local build works fine
+ Local install works fine
+ Local uninstall works fine
+ Start of the application works without a crash

Bad:
- Build fails on koji:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1128556

Comment 12 Simon 2009-02-16 20:46:12 UTC
mh, replace autoreconf with autoconf for a better "koji-compatibility"

Spec URL: 
http://cassmodiah.fedorapeople.org/hosts3d-0.97/hosts3d.spec

SRPM URL: 
http://cassmodiah.fedorapeople.org/hosts3d-0.97/hosts3d-0.97-3.fc10.src.rpm

Comment 13 Jochen Schmitt 2009-02-16 20:54:19 UTC
Good:
+ Koji build works fine.

*** APPROVED ***

Comment 14 Simon 2009-02-16 20:58:04 UTC
thank you Jochen.

New Package CVS Request
=======================
Package Name: hosts3d
Short Description: 3D real-time network visualiser
Owners: cassmodiah
Branches: F-10 EL-5

Comment 15 Kevin Fenzi 2009-02-16 21:16:09 UTC
cvs done.

Comment 16 Simon 2009-02-22 17:23:33 UTC
Included in F-10 devel and epel-5

i forgot to close the bug via bodhi