Bug 179844 - [NEW PORT] net/py-gtknetcat: GTK GUI for netcat
Summary: [NEW PORT] net/py-gtknetcat: GTK GUI for netcat
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rusmir Dusko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-22 17:40 UTC by nemysis
Modified: 2013-10-07 01:00 UTC (History)
0 users

See Also:


Attachments
file.shar (3.38 KB, text/plain)
2013-06-22 17:40 UTC, nemysis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2013-06-22 17:40:00 UTC
GtkNetCat is a Graphic User Interface for netcat. Netcat provides system
functions as a computer networking utility for reading from and writing
to network connections on either TCP or UDP.

WWW: http://wiki.lxde.org/en/GtkNetCat

Fix: Please add attachment as net/py-gtknetcat

Shar is also on

https://github.com/nemysis/FreeBSD_Ports/blob/master/pr/net/py-gtknetcat.shar

Patch attached with submission follows:
How-To-Repeat: Build log

https://redports.org/buildarchive/20130622152700-3817/
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-06-22 17:40:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2013-06-23 10:57:27 UTC
Responsible Changed
From-To: freebsd-python->miwi

I'll take it.
Comment 3 Bryan Drewery freebsd_committer freebsd_triage 2013-09-22 15:09:35 UTC
Responsible Changed
From-To: miwi->freebsd-ports-bugs

Back to the heap due to timeout
Comment 4 Rusmir Dusko freebsd_committer freebsd_triage 2013-10-03 08:29:28 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nemysis

I'll take it.
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-10-07 00:52:34 UTC
Author: nemysis
Date: Sun Oct  6 23:52:26 2013
New Revision: 329644
URL: http://svnweb.freebsd.org/changeset/ports/329644

Log:
  GtkNetCat is a Graphic User Interface for netcat. Netcat provides system
  functions as a computer networking utility for reading from and writing
  to network connections on either TCP or UDP.
  
  WWW: http://wiki.lxde.org/en/GtkNetCat
  
  PR:		ports/179844
  Submitted by:	nemysis (self)
  Approved by:	wg/pawel (mentors)

Added:
  head/net/gtknetcat/
  head/net/gtknetcat/Makefile   (contents, props changed)
  head/net/gtknetcat/distinfo   (contents, props changed)
  head/net/gtknetcat/pkg-descr   (contents, props changed)
  head/net/gtknetcat/pkg-plist   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Sun Oct  6 23:44:25 2013	(r329643)
+++ head/net/Makefile	Sun Oct  6 23:52:26 2013	(r329644)
@@ -196,6 +196,7 @@
     SUBDIR += gstreamer1-plugins-libmms
     SUBDIR += gtic
     SUBDIR += gtk-vnc
+    SUBDIR += gtknetcat
     SUBDIR += gupnp
     SUBDIR += gupnp-av
     SUBDIR += gupnp-igd

Added: head/net/gtknetcat/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/gtknetcat/Makefile	Sun Oct  6 23:52:26 2013	(r329644)
@@ -0,0 +1,52 @@
+# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	gtknetcat
+PORTVERSION=	0.1
+CATEGORIES=	net
+MASTER_SITES=	SF/lxde/GtkNetCat%20%28GUI%20for%20netcat%29/GtkNetCat%20${PORTVERSION}/ \
+		SF/nemysisfreebsdp/:icons
+DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
+		${PORTNAME}.png:icons
+EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
+
+MAINTAINER=	nemysis@FreeBSD.org
+COMMENT=	GTK GUI for netcat
+
+LICENSE=	GPLv3
+
+BUILD_DEPENDS=	p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
+
+USES=		gmake
+USE_GNOME=	intlhack pygtk2
+USE_PYTHON=	yes
+GNU_CONFIGURE=	yes
+
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
+PORTDOCS=	AUTHORS README
+
+OPTIONS_DEFINE=	DOCS NLS
+OPTIONS_SUB=	yes
+
+NLS_USES=	gettext
+
+.include <bsd.port.options.mk>
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|Icon=|Icon=${PORTNAME}|' \
+		${WRKSRC}/${PORTNAME}.desktop
+
+.if ! ${PORT_OPTIONS:MNLS}
+	@${REINPLACE_CMD} -e 's|src po|src|' \
+		${WRKSRC}/Makefile.in
+.endif
+
+post-install:
+	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/
+
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/net/gtknetcat/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/gtknetcat/distinfo	Sun Oct  6 23:52:26 2013	(r329644)
@@ -0,0 +1,4 @@
+SHA256 (gtknetcat-0.1.tar.gz) = 7d59d82410a5e466f9a81425f234591c083ff6495b38430fa683884029542c45
+SIZE (gtknetcat-0.1.tar.gz) = 107278
+SHA256 (gtknetcat.png) = d5c17193bfe1f4c0e65e55d93f5b1a9e66da7faeda1799ca1bf3dd1abfd8a5d7
+SIZE (gtknetcat.png) = 3538

Added: head/net/gtknetcat/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/gtknetcat/pkg-descr	Sun Oct  6 23:52:26 2013	(r329644)
@@ -0,0 +1,5 @@
+GtkNetCat is a Graphic User Interface for netcat. Netcat provides system
+functions as a computer networking utility for reading from and writing
+to network connections on either TCP or UDP.
+
+WWW: http://wiki.lxde.org/en/GtkNetCat

Added: head/net/gtknetcat/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/gtknetcat/pkg-plist	Sun Oct  6 23:52:26 2013	(r329644)
@@ -0,0 +1,18 @@
+bin/gtknetcat
+%%PYTHON_SITELIBDIR%%/gtknetcat/__init__.py
+%%PYTHON_SITELIBDIR%%/gtknetcat/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gtknetcat/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gtknetcat/globals.py
+%%PYTHON_SITELIBDIR%%/gtknetcat/globals.pyc
+%%PYTHON_SITELIBDIR%%/gtknetcat/globals.pyo
+%%PYTHON_SITELIBDIR%%/gtknetcat/gtknetcat.py
+%%PYTHON_SITELIBDIR%%/gtknetcat/gtknetcat.pyc
+%%PYTHON_SITELIBDIR%%/gtknetcat/gtknetcat.pyo
+libexec/gtknetcat.py
+share/applications/gtknetcat.desktop
+share/gtknetcat/wizard.glade
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/gtknetcat.mo
+share/pixmaps/gtknetcat.png
+@dirrm share/gtknetcat
+@dirrmtry share/applications
+@dirrm %%PYTHON_SITELIBDIR%%/gtknetcat
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 6 Rusmir Dusko freebsd_committer freebsd_triage 2013-10-07 00:52:52 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!