* [gentoo-dev] Re: gentoo-x86 commit in app-forensics/memdump: memdump-1.0.1.ebuild ChangeLog
[not found] <E1LJcf9-00025P-UZ@stork.gentoo.org>
@ 2009-01-05 0:07 ` Torsten Veller
2009-01-05 8:25 ` Nirbheek Chauhan
2009-01-05 11:15 ` list purpose. was: " Daniel Black
0 siblings, 2 replies; 6+ messages in thread
From: Torsten Veller @ 2009-01-05 0:07 UTC (permalink / raw
To: gentoo-dev, patrick
* "Patrick Lauer (patrick)" <patrick@gentoo.org>:
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-forensics/memdump/memdump-1.0.1.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-forensics/memdump/memdump-1.0.1.ebuild?rev=1.1&content-type=text/plain
>
> Index: memdump-1.0.1.ebuild
> ===================================================================
> # Copyright 1999-2009 Gentoo Foundation
> # Distributed under the terms of the GNU General Public License v2
> # $Header: /var/cvsroot/gentoo-x86/app-forensics/memdump/memdump-1.0.1.ebuild,v 1.1 2009/01/04 23:45:43 patrick Exp $
>
> DESCRIPTION="Simple memory dumper for UNIX-Like systems"
> HOMEPAGE="http://www.porcupine.org/forensics"
> SRC_URI="http://www.porcupine.org/forensics/${PN}-1.01.tar.gz"
~~~~
> LICENSE="IBM"
> SLOT="0"
> KEYWORDS="~amd64 ~ppc ~x86"
> DEPEND="sys-apps/sed
> sys-apps/grep"
> RDEPEND="virtual/libc"
^^^^^^^^^^^^^^^^^^^^^^
> IUSE=""
>
>
> S=${WORKDIR}/${PN}-1.01
~~~~
> src_compile() {
> cd ${S}/memdump-1.01
" " ~~~~
> emake XFLAGS="${CFLAGS}" OPT= DEBUG= || die
> }
>
> src_test() {
> if has userpriv ${FEATURES};
~~~~~~~~~~~
not in pms afair
> then
> einfo "Cannot test with FEATURES=userpriv"
> elif [ -x /bin/wc ];
> then
> einfo "testing"
> if [ "`./memdump -s 344 | wc -c`" = "344" ];
> then
> einfo "passed test"
> else
> die "failed test"
> fi
> fi
> }
>
> src_install() {
> dosbin memdump
|| die
> dodoc README LICENSE
> doman memdump.1
> }
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] Re: gentoo-x86 commit in app-forensics/memdump: memdump-1.0.1.ebuild ChangeLog
2009-01-05 0:07 ` [gentoo-dev] Re: gentoo-x86 commit in app-forensics/memdump: memdump-1.0.1.ebuild ChangeLog Torsten Veller
@ 2009-01-05 8:25 ` Nirbheek Chauhan
2009-01-06 9:08 ` Peter Volkov
2009-01-05 11:15 ` list purpose. was: " Daniel Black
1 sibling, 1 reply; 6+ messages in thread
From: Nirbheek Chauhan @ 2009-01-05 8:25 UTC (permalink / raw
To: gentoo-dev, patrick
On Mon, Jan 5, 2009 at 5:37 AM, Torsten Veller <ml-en@veller.net> wrote:
> * "Patrick Lauer (patrick)" <patrick@gentoo.org>:
>> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-forensics/memdump/memdump-1.0.1.ebuild?rev=1.1&view=markup
>> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-forensics/memdump/memdump-1.0.1.ebuild?rev=1.1&content-type=text/plain
>>
>> Index: memdump-1.0.1.ebuild
>> ===================================================================
>> # Copyright 1999-2009 Gentoo Foundation
>> # Distributed under the terms of the GNU General Public License v2
>> # $Header: /var/cvsroot/gentoo-x86/app-forensics/memdump/memdump-1.0.1.ebuild,v 1.1 2009/01/04 23:45:43 patrick Exp $
>>
>> DESCRIPTION="Simple memory dumper for UNIX-Like systems"
>> HOMEPAGE="http://www.porcupine.org/forensics"
>> SRC_URI="http://www.porcupine.org/forensics/${PN}-1.01.tar.gz"
> ~~~~
Missing MY_PV I presume?
>> LICENSE="IBM"
>> SLOT="0"
>> KEYWORDS="~amd64 ~ppc ~x86"
>> DEPEND="sys-apps/sed
>> sys-apps/grep"
>> RDEPEND="virtual/libc"
> ^^^^^^^^^^^^^^^^^^^^^^
Useless deps which are already in @system?
>
>> IUSE=""
>>
>>
>> S=${WORKDIR}/${PN}-1.01
> ~~~~
Quotes and ${MY_PV} missing?
>> src_compile() {
>> cd ${S}/memdump-1.01
> " " ~~~~
Quotes, and ${PN}-${MY_PV} ?
Although, should this even be required since ${S} is already set correctly?
Does the tarball have a folder inside a folder?
>> einfo "testing"
>> if [ "`./memdump -s 344 | wc -c`" = "344" ];
>> then
>> einfo "passed test"
>> else
>> die "failed test"
>> fi
Here, why not use
einfo "testing"
[ "`./memdump -s 344 | wc -c`" = "344" ] || die "failed test"
einfo "passed test"
--
~Nirbheek Chauhan
^ permalink raw reply [flat|nested] 6+ messages in thread
* list purpose. was: Re: [gentoo-dev] Re: gentoo-x86 commit in app-forensics/memdump: memdump-1.0.1.ebuild ChangeLog
2009-01-05 0:07 ` [gentoo-dev] Re: gentoo-x86 commit in app-forensics/memdump: memdump-1.0.1.ebuild ChangeLog Torsten Veller
2009-01-05 8:25 ` Nirbheek Chauhan
@ 2009-01-05 11:15 ` Daniel Black
2009-01-05 16:29 ` Mark Loeser
1 sibling, 1 reply; 6+ messages in thread
From: Daniel Black @ 2009-01-05 11:15 UTC (permalink / raw
To: gentoo-dev, Torsten Veller, Nirbheek Chauhan
[-- Attachment #1: Type: text/plain, Size: 359 bytes --]
I'm not sure I want to see this list being a QA list for commits.
If there is a commit that raises an interesting question for everyone sure put
it here.
Otherwise please take up QA faults with the author or devrel if you think they
are consistantly under-standard.
just my 2c.
--
Daniel Black <dragonheart@gentoo.org>
Gentoo Foundation
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: list purpose. was: Re: [gentoo-dev] Re: gentoo-x86 commit in app-forensics/memdump: memdump-1.0.1.ebuild ChangeLog
2009-01-05 11:15 ` list purpose. was: " Daniel Black
@ 2009-01-05 16:29 ` Mark Loeser
2009-01-05 23:50 ` [gentoo-dev] Re: list purpose. was: " Duncan
0 siblings, 1 reply; 6+ messages in thread
From: Mark Loeser @ 2009-01-05 16:29 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 831 bytes --]
Daniel Black <dragonheart@gentoo.org> said:
> I'm not sure I want to see this list being a QA list for commits.
>
> If there is a commit that raises an interesting question for everyone sure put
> it here.
>
> Otherwise please take up QA faults with the author or devrel if you think they
> are consistantly under-standard.
I'm pretty sure this has come up before... The developer list is the
best place for us to do peer review, since it not only helps the person
that is being reviewed, but also helps other developers at the same
time since they can see issues and how to correct them.
My 2c would be that if you don't want to see them to set up a filter.
--
Mark Loeser
email - halcy0n AT gentoo DOT org
email - mark AT halcy0n DOT com
web - http://www.halcy0n.com
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-dev] Re: list purpose. was: Re: Re: gentoo-x86 commit in app-forensics/memdump: memdump-1.0.1.ebuild ChangeLog
2009-01-05 16:29 ` Mark Loeser
@ 2009-01-05 23:50 ` Duncan
0 siblings, 0 replies; 6+ messages in thread
From: Duncan @ 2009-01-05 23:50 UTC (permalink / raw
To: gentoo-dev
Mark Loeser <halcy0n@gentoo.org> posted
20090105162921.GA15481@aerie.halcy0n.com, excerpted below, on Mon, 05 Jan
2009 11:29:21 -0500:
> Daniel Black <dragonheart@gentoo.org> said:
>> I'm not sure I want to see this list being a QA list for commits.
>>
>> If there is a commit that raises an interesting question for everyone
>> sure put it here.
>>
>> Otherwise please take up QA faults with the author or devrel if you
>> think they are consistantly under-standard.
>
> I'm pretty sure this has come up before... The developer list is the
> best place for us to do peer review, since it not only helps the person
> that is being reviewed, but also helps other developers at the same time
> since they can see issues and how to correct them.
>
> My 2c would be that if you don't want to see them to set up a filter.
Seconded. This is specifically a technical list (project is otherwise),
and I'm not a dev but learn a lot from those posts, which are after all
technical and you couldn't get more gentoo-dev topic-wise.
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] Re: gentoo-x86 commit in app-forensics/memdump: memdump-1.0.1.ebuild ChangeLog
2009-01-05 8:25 ` Nirbheek Chauhan
@ 2009-01-06 9:08 ` Peter Volkov
0 siblings, 0 replies; 6+ messages in thread
From: Peter Volkov @ 2009-01-06 9:08 UTC (permalink / raw
To: gentoo-dev
Daniel, answering you in this mail... Yes, probably sometimes we have to
discuss basic things in this mailing list but since developers do this
basic errors we have to. Technical problems in our portage tree are
perfectly valid for this mailing list.
В Пнд, 05/01/2009 в 13:55 +0530, Nirbheek Chauhan пишет:
> >> SRC_URI="http://www.porcupine.org/forensics/${PN}-1.01.tar.gz" ~~~~
>
> Missing MY_PV I presume?
Hardcoded version makes version bumps harder. I'm not sure why ebuild
was versioned differently from tarbal but yes, in this case it's better
to use versionator eclass define PV.
> >> RDEPEND="virtual/libc"
> > ^^^^^^^^^^^^^^^^^^^^^^
>
> Useless deps which are already in @system?
Dependency on libc is completely useless since every usable system have
C library.
> >> S=${WORKDIR}/${PN}-1.01
> > ~~~~
>
> Quotes and ${MY_PV} missing?
You don't need quotes in assignments. It hardcoded version again.
> >> src_compile() {
> >> cd ${S}/memdump-1.01
> > " " ~~~~
>
> Quotes, and ${PN}-${MY_PV} ?
> Although, should this even be required since ${S} is already set correctly?
src_compile initial working directory is S so this line could (and
should) be just dropped.
> >> einfo "testing"
> >> if [ "`./memdump -s 344 | wc -c`" = "344" ];
> >> then
> >> einfo "passed test"
> >> else
> >> die "failed test"
> >> fi
>
> Here, why not use
>
> einfo "testing"
> [ "`./memdump -s 344 | wc -c`" = "344" ] || die "failed test"
> einfo "passed test"
Yup. It's shorter and does same thing.
--
Peter.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-01-06 9:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E1LJcf9-00025P-UZ@stork.gentoo.org>
2009-01-05 0:07 ` [gentoo-dev] Re: gentoo-x86 commit in app-forensics/memdump: memdump-1.0.1.ebuild ChangeLog Torsten Veller
2009-01-05 8:25 ` Nirbheek Chauhan
2009-01-06 9:08 ` Peter Volkov
2009-01-05 11:15 ` list purpose. was: " Daniel Black
2009-01-05 16:29 ` Mark Loeser
2009-01-05 23:50 ` [gentoo-dev] Re: list purpose. was: " Duncan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox