Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458922 - net-analyzer/pypacker - A network packet parser/creator
Summary: net-analyzer/pypacker - A network packet parser/creator
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2013-02-23 22:54 UTC by mike
Modified: 2013-08-31 12:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
pypacker 1.8 ebuild (pypacker-1.8.ebuild,978 bytes, text/plain)
2013-02-23 22:54 UTC, mike
Details
pypacker-1.8.ebuild (file_458922.txt,845 bytes, text/plain)
2013-02-25 22:27 UTC, Tom Wijsman (TomWij) (RETIRED)
Details
pypacker 1.9 ebuild (pypacker-1.9.ebuild,809 bytes, text/plain)
2013-03-18 21:34 UTC, mike
Details
Fixed ebuild for v1.8 (pypacker-1.8.ebuild,809 bytes, text/plain)
2013-03-18 21:38 UTC, mike
Details
update for ebuild to pypacker v1.9 (pypacker-1.9.ebuild,768 bytes, text/plain)
2013-03-19 01:18 UTC, mike
Details
Version bump to v2.0 (pypacker-2.0.ebuild,768 bytes, text/plain)
2013-04-11 20:31 UTC, mike
Details
Version bump to v2.2 (pypacker-2.2.ebuild,818 bytes, text/plain)
2013-08-12 19:55 UTC, mike
Details
Version bumb to pypacker v2.3 (pypacker-2.3.ebuild,818 bytes, text/plain)
2013-08-30 13:30 UTC, mike
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mike 2013-02-23 22:54:56 UTC
Created attachment 339876 [details]
pypacker 1.8 ebuild

Hi!

Please find attached pypacker-1.8.ebuild that will
compile against python-3.x.

pypacker is a network packet parser/creator similar to scapy but much faster, easier to extend and python 3.x compatible. It follows the one-job/one-tool philosophy so in contrast to scapy it's not capable of doing neat things like fingerprinting, port scanning etc. The code is hosted at: https://github.com/mike01/pypacker. I suggest dev-python/pypacker, there are no dependencies to other packages.

mike
Comment 1 mike 2013-02-23 23:19:01 UTC
Comment on attachment 339876 [details]
pypacker 1.8 ebuild

># Copyright 1999-2010 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: /var/cvsroot/gentoo-x86/dev-python/pypacker/pypacker-1.3.ebuild,v 1.0 2013/01/02 01:01:01 arfrever Exp $
>
>EAPI="3"
>
>PYTHON_DEPEND="3"
>SUPPORT_PYTHON_ABIS=1
>RESTRICT_PYTHON_ABIS="2.*"
>
>inherit distutils eutils vcs-snapshot
>
>DESCRIPTION="Fast and simple packet creating / parsing supporting various protocols."
>HOMEPAGE="https://github.com/mike01/pypacker"
>SRC_URI="https://github.com/mike01/${PN}/tarball/v${PV} -> ${P}.tar.gz"
>
>LICENSE="BSD"
>SLOT="0"
>KEYWORDS="~amd64 ~arm ~x86"
>IUSE="examples"
>
>DEPEND=""
>RDEPEND=""
>
>DOCS="AUTHORS CHANGES HACKING README"
>
>#src_compile() {
>#	distutils_src_compile
>#}
>
>src_test() {
>	testing() {
>		PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" tests/test_pypacker.py
>	}
>	python_execute_function testing
>}
>
>
>src_install() {
>	distutils_src_install
>
>	if use examples; then
>		insinto /usr/share/doc/${PF}
>		doins -r examples
>	fi
>}
Comment 2 mike 2013-02-23 23:20:03 UTC
~ was missing on arm and x86
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-02-25 22:27:10 UTC
Created attachment 340116 [details]
pypacker-1.8.ebuild

Some small changes made:

1. Cleaned header to use 2013.
2. Using EAPI 5.
3. Removed empty variables, commented out code.

Next time, if you want to correct an attachment, you need to attach it again and place the code in the "File" field and not in the "Comment" field. Also mark the previous attachment as "Obsolete" before you click "Submit"; don't worry, it's alright, thank you for your contribution. :)
Comment 4 mike 2013-02-25 23:10:24 UTC
(In reply to comment #3)
sorry, seemed like hitting the save button would create a new attachemant instead of pasting it.
Comment 5 mike 2013-03-18 21:34:44 UTC
Created attachment 342590 [details]
pypacker 1.9 ebuild

Version bump to v1.9
Comment 6 mike 2013-03-18 21:38:48 UTC
Created attachment 342592 [details]
Fixed ebuild for v1.8

Ebuild changed by Tom contained "CRLF" which doesn't work with portage. This is a fixed version.
Comment 7 mike 2013-03-19 01:18:20 UTC
Created attachment 342596 [details]
update for ebuild to pypacker v1.9

Upgraded Version of the previous ebuild to use distutils-r1
Comment 8 mike 2013-04-11 20:31:13 UTC
Created attachment 345274 [details]
Version bump to v2.0

Updated version for pypacker. Nothing changed in ebuild from v1.9 but the filename.
Comment 9 Sergey Popov gentoo-dev 2013-04-20 06:46:25 UTC
+  20 Apr 2013; Sergey Popov <pinkbyte@gentoo.org> +pypacker-2.0.ebuild,
+  +metadata.xml:
+  Initial commit, wrt bug #458922. Thanks to mike <michael.stahn.42 AT
+  googlemail.com> for ebuild

Netmon will take care of this package
Comment 10 mike 2013-08-12 19:55:20 UTC
Created attachment 355810 [details]
Version bump to v2.2

Version bump of pypacker to v2.2
Comment 11 mike 2013-08-30 13:30:15 UTC
Created attachment 357426 [details]
Version bumb to pypacker v2.3

Version bumb to pypacker v2.3
Comment 12 Sergey Popov gentoo-dev 2013-08-31 12:23:40 UTC
(In reply to mike from comment #11)
> Created attachment 357426 [details]
> Version bumb to pypacker v2.3
> 
> Version bumb to pypacker v2.3

File version bump request in separate bug, please. This bug is fixed.