Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 114597
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Michal Januszewski <spock@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Meethune Bhowmick <meethune@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
nmap-3.93.ebuild Ebuild for gtk2 enabled nmap application/octet-stream Meethune Bhowmick 2005-12-05 21:55 0000 2.44 KB Details
nmap-3.93-gcc41.patch gcc4 patch that is already in portage patch Meethune Bhowmick 2005-12-05 21:56 0000 509 bytes Details | Diff
nmap-3.93-nmapfe-gtk2.patch Patch add Gtk2 support to nmapfe patch Meethune Bhowmick 2005-12-05 21:59 0000 20.39 KB Details | Diff
nmap-logo-64.png Nmap logo from the Ubuntu package image/png Meethune Bhowmick 2005-12-05 22:00 0000 3.21 KB Details
nmap-3.94_pre3.ebuild Ebuild for the current development version for nmap. My patch has been merged upstream. text/plain Meethune Bhowmick 2005-12-06 16:29 0000 2.00 KB Details
nmap-3.95.ebuild Ebuild for the latest Stable that includes GTK2 frontend text/plain Meethune Bhowmick 2005-12-08 11:26 0000 1.97 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 114597 depends on: Show dependency tree
Bug 114597 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-12-05 21:51 0000
Starting with this article (http://www.mikesplanet.net/?p=5), I generated a
patch and ebuild that allows for building nmap with a gtk2 enabled nmapfe. I
also added support for launching nmapfe with root privilege via x11-libs/gksu 

Reproducible: Always
Steps to Reproduce:
1. mkdir -p ${OVERLAYDIR}/net-analyzer/nmap/files
2. cp nmap-3.93.ebuild ${OVERLAYDIR}/net-analyzer/nmap/
3. cp *.patch ${OVERLAYDIR}/net-analyzer/nmap/files/
4. cd ${OVERLAYDIR}
5. ebuild nmap-3.93.ebuild digest
6. emerge nmap

Actual Results:  
Now I have a slick gtk2 enabled nmapfe, running as root via gksudo. Screenshots
and a brief article are located at 
http://spg-kush.blogspot.com/2005/12/gtk2-enabled-frontend-for-nmap-in.html


I added a "gksu" USE flag to toggle the gksudo functionality. Any suggestions on
improvements would be appreciated

------- Comment #1 From Meethune Bhowmick 2005-12-05 21:55:12 0000 -------
Created an attachment (id=74129) [details]
Ebuild for gtk2  enabled nmap

This ebuild will enable gtk2 and gksudo launching support for nmapfe. This
ebuild also fixes some minor bugs with the .desktop file as well (no ;\n at the
end of the Categories field).

------- Comment #2 From Meethune Bhowmick 2005-12-05 21:56:35 0000 -------
Created an attachment (id=74130) [details]
gcc4 patch that is already in portage

------- Comment #3 From Meethune Bhowmick 2005-12-05 21:59:40 0000 -------
Created an attachment (id=74131) [details]
Patch add Gtk2 support to nmapfe

This patch allows you to build nmapfe with Gtk2. I originally got the sources
from this article (http://www.mikesplanet.net/?p=5) and adjusted it to work
with Gentoo.

------- Comment #4 From Meethune Bhowmick 2005-12-05 22:00:50 0000 -------
Created an attachment (id=74132) [details]
Nmap logo from the Ubuntu package

put this in ${FILESDIR}

------- Comment #5 From Meethune Bhowmick 2005-12-05 22:04:39 0000 -------
(In reply to comment #0)
I forgot in the Steps to Reproduce...
<snip>
> Reproducible: Always
> Steps to Reproduce:
> 1. mkdir -p ${OVERLAYDIR}/net-analyzer/nmap/files
> 2. cp nmap-3.93.ebuild ${OVERLAYDIR}/net-analyzer/nmap/
> 3. cp *.patch ${OVERLAYDIR}/net-analyzer/nmap/files/
3a. cp nmap-logo-64.png ${OVERLAYDIR}/net-analyzer/nmap/files/
> 4. cd ${OVERLAYDIR}
> 5. ebuild nmap-3.93.ebuild digest
> 6. emerge nmap

------- Comment #6 From Meethune Bhowmick 2005-12-06 15:11:48 0000 -------
(In reply to comment #0)
I just got word from the FreeBSD maintainer of nmapfe that this patch has been
accepted upstream for the next release of nmap.

rom: Mark Linimon <linimon@FreeBSD.org>
Date: December 6, 2005 11:07:21 PM CST
To: meethune@oss-institute.org, linimon@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Subject: Re: ports/90013: [PATCH] Patch to build nmapfe against Gtk2

Synopsis: [PATCH] Patch to build nmapfe against Gtk2

State-Changed-From-To: feedback->closed
State-Changed-By: linimon
State-Changed-When: Tue Dec 6 23:06:23 GMT 2005
State-Changed-Why: 
Maintainer reports this will be incorporated into the next upstream
version and requests the PR be closed.

http://www.freebsd.org/cgi/query-pr.cgi?pr=90013

------- Comment #7 From Meethune Bhowmick 2005-12-06 15:52:02 0000 -------
(In reply to comment #0)
Here is the release info on the new alpha with my gtk2 patch incorporated.
http://seclists.org/lists/nmap-dev/2005/Oct-Dec/0148.html

I will write an ebuild for it and post it here.

------- Comment #8 From Meethune Bhowmick 2005-12-06 16:29:25 0000 -------
Created an attachment (id=74188) [details]
Ebuild for the current development version for nmap. My patch has been merged
upstream.

Fyodor has merged my patch into the current development version of nmap. This
ebuild will install the current development version.

------- Comment #9 From Meethune Bhowmick 2005-12-08 11:26:51 0000 -------
Created an attachment (id=74323) [details]
Ebuild for the latest Stable that includes GTK2 frontend

The new stable version of nmap is out today. I have updated my ebuild
accordingly.

------- Comment #10 From Michal Januszewski 2005-12-10 09:51:07 0000 -------
Thanks for your work on the getting the frontend working with GTK2. I've just
committed an updated version of the ebuild to the CVS. It includes your .desktop
file fixes. I decided to drop the gksu stuff though, as it would break
dependencies for quite a few arches.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug