#5944 closed defect (fixed)
NEW: pylibpcap-0.5.1
Reported by: | chris.owen@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | yeled@… | |
Port: | pylibpcap |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
pylibpcap-0.5.1
The portfile follows:
# $Id: $ PortSystem 1.0 PortGroup python24 1.0 name pylibpcap version 0.5.1 categories python net maintainers chris.owen@consault.com description A python module for the libpcap packet capture library. long_description \ Pylibpcap is a Python extension module that interfaces with the libpcap \ packet capture library. Pylibpcap enables python scripts to capture \ packets on the network. homepage http://pylibpcap.sourceforge.net/ master_sites http://puzzle.dl.sourceforge.net/sourceforge/pylibpcap/ sourceforge checksums md5 85adbefd87be3a3a32bed899974fe3dc checksums sha1 c8e85258b3b3f79d629531856cfb3242c07f5796 checksums rmd160 f1e2309fbaf0878e6b4fb87b626686377c6c105a depends_lib-append port:libpcap port:swig post-destroot { xinstall -m 644 -W ${worksrcpath} COPYING PKG-INFO README \ ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath}/examples findalldevs.py sniff.py \ ${destroot}${prefix}/share/doc/${name}/examples }
Description: pylibpcap is a python extension module for interfacing with the libpcap packet capture library.
Homepage: http://pylibpcap.sf.net
Comments: Thanks to everyone who helped me along.
Christopher Owen
e: chris.owen@…
c: 604.306.0704
Attachments (1)
Change History (8)
comment:1 Changed 19 years ago by yeled@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 19 years ago by chris.owen@…
Cc: | yeled@… added |
---|---|
op_sys: | Mac OS X 10.0 → Mac OS X 10.4 |
Resolution: | fixed |
severity: | normal → trivial |
Status: | closed → reopened |
When I broke the long_description into multiple lines, I broke the Portfile.
Here is a working Portfile:
# $Id: Portfile,v 1.1 2005/12/05 11:58:21 yeled Exp $ PortSystem 1.0 PortGroup python24 1.0 name py-libpcap version 0.5.1 distname pylibpcap-${version} categories python net maintainers chris.owen@consault.com description A python module for the libpcap packet capture library. long_description Pylibpcap is a Python extension module that interfaces with the libpcap packet capture library. Pylibpcap enables python scripts to capture packets on the network. homepage http://pylibpcap.sourceforge.net/ master_sites sourceforge:pylibpcap checksums md5 85adbefd87be3a3a32bed899974fe3dc checksums sha1 c8e85258b3b3f79d629531856cfb3242c07f5796 checksums rmd160 f1e2309fbaf0878e6b4fb87b626686377c6c105a depends_lib-append port:libpcap port:swig post-destroot { xinstall -m 644 -W ${worksrcpath} COPYING PKG-INFO README \ ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath}/examples findalldevs.py sniff.py \ ${destroot}${prefix}/share/doc/${name}/examples }
Furthermore,
I believe the appropriate name of the module may be py-pylibpcap.
Christopher Owen
e: chris.owen@…
c: 604.306.0704
comment:3 Changed 19 years ago by chris.owen@…
A patch:
diff -Naur py-libpcap/Portfile py-pylibpcap/Portfile --- py-libpcap/Portfile 2005-12-05 03:58:21.000000000 -0800 +++ py-pylibpcap/Portfile 2005-12-05 05:15:13.000000000 -0800 @@ -8,10 +8,7 @@ categories python net maintainers chris.owen@consault.com description A python module for the libpcap packet capture library. -long_description \ -Pylibpcap is a Python extension module that interfaces with the libpcap \ - packet capture library. Pylibpcap enables python scripts to capture \ - packets on the network. +long_description Pylibpcap is a Python extension module that interfaces with the libpcap packet capture library. Pylibpcap enables python scripts to capture packets on the network. homepage http://pylibpcap.sourceforge.net/ master_sites sourceforge:pylibpcap checksums md5 85adbefd87be3a3a32bed899974fe3dc
comment:4 Changed 19 years ago by chris.owen@…
attachments.isobsolete: | 0 → 1 |
---|
(From update of attachment 4961) This is unnecessary.
comment:5 Changed 19 years ago by chris.owen@…
The port works smashingly, however, I believe it should be renamed to py-pylibpcap.
Also, the PortIndex will need regeneration.
Christopher Owen
e: chris.owen@…
c: 604.306.0704
comment:6 Changed 19 years ago by jmpp@…
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Name change committed, closing bug. Thanks for this work Chris... now where's that updated ReadMe.rtf file you promised me?? ;-)
-jmpp
comment:7 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Port: | pylibpcap added |
thanks.
I have committed it with 2 small changes. adding a hyphen to match our other py ports, and using the handy sourceforge notation.