Summary: | net-voip/sngrep-1.0.0 - SIP Messages flow viewer | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kaian <kaian> |
Component: | New packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | Keywords: | EBUILD |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/irontec/sngrep | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
sngrep-0.2.0.ebuild
sngrep-0.2.0.ebuild sngrep-0.2.1.ebuild sngrep-0.3.0.ebuild new ebuild for upcoming version. sngrep-1.0.0.ebuild |
Description
Kaian
2015-01-05 13:26:57 UTC
Created attachment 393230 [details]
sngrep-0.2.0.ebuild
Comment on attachment 393230 [details] sngrep-0.2.0.ebuild >MY_V="0.2.0" You don't need $MY_V when it's the same as $PV. >MY_P="${PN}-${MY_V}" That's $P. >DESCRIPTION="SIP Messages flow viewer" >HOMEPAGE="https://github.com/irontec/sngrep" >SRC_URI="${HOMEPAGE}/archive/v${MY_V}.tar.gz" That needs a "SRC_URI arrow": SRC_URI="<someURL>/v${PV}.tar.gz - > ${P}.tar.gz" so that it's stored with a somewhat more unique name in DISTDIR. >LICENSE="GPL-3+openssl" There is no such license. With a space in between it would be two valid ones. >SLOT="0" >KEYWORDS="amd64 ~arm ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" You have tested on all those platforms? >src_install() { > emake DESTDIR="${D}" install > dodoc ChangeLog COPYING README AUTHORS You can replace emake DESTDIR="${D}" install with default And if you write DOCS=( ChangeLog COPYING README AUTHORS ) in the global scope, then you don't need to define src_install() at all. Hi Jeroen, Thanks a lot for the support and also filling the bug fields properly. I'm kinda new writing ebuilds, so its based on an existing one. I have updated the ebuild with the changes you suggested me. This software can be compiled with SSL support using openssl 0.9.8 or 1.0.0 so I've updated the DEPENDS removing the "-1" from openssl, that I guess refers to the slot number. Is this correct? Thanks again! Kaian Created attachment 393316 [details]
sngrep-0.2.0.ebuild
Created attachment 394606 [details]
sngrep-0.2.1.ebuild
Created attachment 398152 [details]
sngrep-0.3.0.ebuild
A new version of sngrep has been released so I've updated the ebuild with the new use flags (unicode and pcre). Created attachment 406728 [details]
new ebuild for upcoming version.
net-analyzer/sngrep/sngrep-0.4.1.ebuild
ready to be added to main portage of gentoo. thanks!
Created attachment 413926 [details]
sngrep-1.0.0.ebuild
Would it be possible to add an optional dependancy to libressl as a choice to replace openssl ? Thanks ! (In reply to Gled from comment #10) > Would it be possible to add an optional dependancy to libressl as a choice > to replace openssl ? > > Thanks ! Hi! If we update the ebuild to latest stable version (1.3.1) it would be possible to use openssl or libressl (--with-openssl configure flag) or even gnuTLS (--with-gnutls configure flag), but not both at the same time. I think It should't be hard to update the ebuild to change versions and dependencies. Best regards Hi Jeroen, Thanks for including sngrep in the tree. I'm the software developer and also gentoo user, so don't hesitate to request any help or support you would need. We can review any required patches to check if we can include them in upstream if you want. Regards |