Re: [gentoo-dev] tcltk herd empty

2015-10-09 Thread Daniel Campbell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 10/04/2015 01:15 AM, Justin Lecher (jlec) wrote:
> On 30/09/15 15:02, Justin (jlec) wrote:
>> Hi,
> 
>> is no active maintainer for tcltk in Gentoo anymore.
> 
>> Please stand up or try to remove tcltk support from your
>> packages.
> 
>> Justin
> 
> 
> 
> Hi,
> 
> so it seems there is some interest.
> 
> Following things are to be done:
> 
> 1. Stable tcl/tk-8.6 There have been some API changes, so packages
> exhibit needed to be adopted.
> 
> https://bugs.gentoo.org/show_bug.cgi?id=tcltk-8.6
> 
> But there are only 5 bugs left.
> 
> 2. General package maintenance tcltk is maintaining quite some
> packages which have open bugs from time to time. Nothing serious
> (except for tkimg, which is bundling tiff, jpeg, png ...)
> 
> https://bugs.gentoo.org/buglist.cgi?bug_status=UNCONFIRMED_status=
CO
>
> 
NFIRMED_status=IN_PROGRESS=tcltk%40gentoo.org_t
> o1=1=substring_id=2929948_format=advanced
ti
>
> 
on=---
> 
> 
> I joined the herd because lot's of science packages are depending
> on tcl/tk, but I need to cut down a little. So hopefully we will
> find someone else. In case there are question, feel free to contact
> me.
> 
> Justin
> 
> 
> 

I'll join the herd as well, if the packages seem to be somewhat
low-maintenance. I'm looking for a job closer to home, so when I get
one I'll have more time to work on Gentoo. I'll add myself to herd and
alias, if we have one. When I get the chance, I'll learn more about
tcl/tk.
- -- 
Daniel Campbell - Gentoo Developer
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJWF360AAoJEAEkDpRQOeFw/FAP/30LXe7+K1setxCKWbw3CQyv
JFt/9bYIfQLRx7I9cphMZNiAX77gtJZmnjTa2mjDx+6gEUgDcGZGND0E26l87mcZ
FrkN/WGa1pK97kmjxoM57HYSP/dLYUvOMS4x2NpjCr7g0H0naN9wgPhvRLnurNDP
jChucsiWL7kavtpDf4uqcxzqad7zdiSFiJrCKaJcFNXiBjGWHgwnxnpoIBgQ1DDk
xxiQ5PF5gwrnBDjp3seHBcNDTC0Coj0GLAj9miaH62omFecUT421fu4poGigly1X
ONXUMqj0e4mvaAqe0r6Go7ct7EOpNPoBSc531Z154YuW07l+jepfWgzSNjGcFvOB
ZV1qgUpUNPBwIQCkwHAlHk0vE59u1ka5PDWYj/q8JBp6CRm0h6hRFnJTioHkhsKu
lJnvezuTuy0/2368YsLeThSEo1s/BCHtKWdwN++BDBKqjM/RcITvBmh0dv/lu7kK
TEu5potzXMRyVwtXpXVfRXSfiW3PjXJXbiJ1qkDIr62b+KimrIgT7ySuUs4a5Wki
PYLlccMCSlSrSQRJnRpwHnhJg4VneeMzfNHU+vFH/JUgtz0WF4hNXvocZbaNYP2P
vapjVnxMH8zYywOqueSCBVleQ5wRAMYyT+m5TEe1s3k9nidM6/pH3Y1tD+tC3Bdp
HZQwoQdgGyktAhP8GEw4
=nIdT
-END PGP SIGNATURE-



[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-java/bcprov/

2015-10-09 Thread Michał Górny
Dnia 2015-10-08, o godz. 22:11:12
"Patrice Clement"  napisał(a):

> commit: 82be4dfc08bacbac9814583a840bb1d2fd59
> Author: Patrice Clement  gentoo  org>
> AuthorDate: Thu Oct  8 22:02:48 2015 +
> Commit: Patrice Clement  gentoo  org>
> CommitDate: Thu Oct  8 22:06:19 2015 +
> URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82be4dfc
> 
> dev-java/bcprov: Clean up old.
> 
> Package-Manager: portage-2.2.20.1
> Signed-off-by: Patrice Clement  gentoo.org>
> 
>  dev-java/bcprov/Manifest  |  3 --
>  dev-java/bcprov/bcprov-1.38-r2.ebuild | 57 
>  dev-java/bcprov/bcprov-1.38-r3.ebuild | 57 
>  dev-java/bcprov/bcprov-1.40-r1.ebuild | 59 
>  dev-java/bcprov/bcprov-1.45-r1.ebuild | 59 
>  dev-java/bcprov/bcprov-1.45.ebuild| 59 
>  dev-java/bcprov/bcprov-1.48-r1.ebuild | 64 --
>  dev-java/bcprov/bcprov-1.49-r2.ebuild | 81 -
>  dev-java/bcprov/bcprov-1.49-r3.ebuild | 81 -
>  dev-java/bcprov/bcprov-1.50-r1.ebuild | 58 
>  dev-java/bcprov/bcprov-1.50.ebuild| 81 -
>  dev-java/bcprov/bcprov-1.52.ebuild| 84 
> ---
>  12 files changed, 743 deletions(-)

Replying to one of the particularly influential commits in long batch
of wrongdoing.

So here you remove all of the ebuild which have SLOT="0", effectively
breaking *stable* dev-java/bcmail, dev-java/bcpkix, dev-java/itext:

https://qa-reports.gentoo.org/output/gentoo-ci/62d6c0c/6.html#l59
https://qa-reports.gentoo.org/output/gentoo-ci/62d6c0c/6.html#l153
https://qa-reports.gentoo.org/output/gentoo-ci/62d6c0c/6.html#l249
https://qa-reports.gentoo.org/output/gentoo-ci/62d6c0c/6.html#l343
https://qa-reports.gentoo.org/output/gentoo-ci/62d6c0c/6.html#l710

What's even worse, you instantly stabilize new dev-java/bcmail ebuilds
which have the same issue.

As a side issue, why the hell do you stabilize a number of random old
versions? This does not like a sane solution, instantly adding dozen
of poorly-tested middle versions into the stable tree.

-- 
Best regards,
Michał Górny



pgpOnbWIVggMa.pgp
Description: OpenPGP digital signature


[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-java/bcprov/

2015-10-09 Thread Patrice Clement
Friday 09 Oct 2015 08:28:06, Michał Górny wrote :
> Dnia 2015-10-08, o godz. 22:11:12
> "Patrice Clement"  napisał(a):
> 
> > commit: 82be4dfc08bacbac9814583a840bb1d2fd59
> > Author: Patrice Clement  gentoo  org>
> > AuthorDate: Thu Oct  8 22:02:48 2015 +
> > Commit: Patrice Clement  gentoo  org>
> > CommitDate: Thu Oct  8 22:06:19 2015 +
> > URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82be4dfc
> > 
> > dev-java/bcprov: Clean up old.
> > 
> > Package-Manager: portage-2.2.20.1
> > Signed-off-by: Patrice Clement  gentoo.org>
> > 
> >  dev-java/bcprov/Manifest  |  3 --
> >  dev-java/bcprov/bcprov-1.38-r2.ebuild | 57 
> >  dev-java/bcprov/bcprov-1.38-r3.ebuild | 57 
> >  dev-java/bcprov/bcprov-1.40-r1.ebuild | 59 
> >  dev-java/bcprov/bcprov-1.45-r1.ebuild | 59 
> >  dev-java/bcprov/bcprov-1.45.ebuild| 59 
> >  dev-java/bcprov/bcprov-1.48-r1.ebuild | 64 --
> >  dev-java/bcprov/bcprov-1.49-r2.ebuild | 81 
> > -
> >  dev-java/bcprov/bcprov-1.49-r3.ebuild | 81 
> > -
> >  dev-java/bcprov/bcprov-1.50-r1.ebuild | 58 
> >  dev-java/bcprov/bcprov-1.50.ebuild| 81 
> > -
> >  dev-java/bcprov/bcprov-1.52.ebuild| 84 
> > ---
> >  12 files changed, 743 deletions(-)
> 
> Replying to one of the particularly influential commits in long batch
> of wrongdoing.
> 
> So here you remove all of the ebuild which have SLOT="0", effectively
> breaking *stable* dev-java/bcmail, dev-java/bcpkix, dev-java/itext:
> 
> https://qa-reports.gentoo.org/output/gentoo-ci/62d6c0c/6.html#l59
> https://qa-reports.gentoo.org/output/gentoo-ci/62d6c0c/6.html#l153
> https://qa-reports.gentoo.org/output/gentoo-ci/62d6c0c/6.html#l249
> https://qa-reports.gentoo.org/output/gentoo-ci/62d6c0c/6.html#l343
> https://qa-reports.gentoo.org/output/gentoo-ci/62d6c0c/6.html#l710
> 
> What's even worse, you instantly stabilize new dev-java/bcmail ebuilds
> which have the same issue.
> 
> As a side issue, why the hell do you stabilize a number of random old
> versions? This does not like a sane solution, instantly adding dozen
> of poorly-tested middle versions into the stable tree.
> 
> -- 
> Best regards,
> Michał Górny
> 

bcprov ebuilds were a clusterfuck that I was trying to fix and obviously I
failed. Taking a look at it right now. Fix underway.

-- 
Patrice Clement
Gentoo Linux developer
http://www.gentoo.org


signature.asc
Description: PGP signature


[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-keystoneclient/

2015-10-09 Thread Michał Górny
Dnia 2015-10-08, o godz. 21:45:13
"Matt Thode"  napisał(a):

> commit: 69258e0492d0b0625097a51825a29512aa5968cd
> Author: Matthew Thode  gentoo  org>
> AuthorDate: Thu Oct  8 21:44:37 2015 +
> Commit: Matt Thode  gentoo  org>
> CommitDate: Thu Oct  8 21:44:37 2015 +
> URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69258e04
> 
> dev-python/python-keystoneclient: updating deps for bug 562510
> 
> Package-Manager: portage-2.2.20.1
> 
>  ...toneclient-1.7.2.ebuild => python-keystoneclient-1.7.2-r1.ebuild} | 5 
> +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git 
> a/dev-python/python-keystoneclient/python-keystoneclient-1.7.2.ebuild 
> b/dev-python/python-keystoneclient/python-keystoneclient-1.7.2-r1.ebuild
> similarity index 95%
> rename from 
> dev-python/python-keystoneclient/python-keystoneclient-1.7.2.ebuild
> rename to 
> dev-python/python-keystoneclient/python-keystoneclient-1.7.2-r1.ebuild
> index 29dfb25..9809b08 100644
> --- a/dev-python/python-keystoneclient/python-keystoneclient-1.7.2.ebuild
> +++ b/dev-python/python-keystoneclient/python-keystoneclient-1.7.2-r1.ebuild
> @@ -3,7 +3,7 @@
>  # $Id$
>  
>  EAPI=5
> -PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
> +PYTHON_COMPAT=( python2_7 python3_4 )

And here you removed last version supporting python3.3, breaking
numerous reverse dependencies that still support python3.3:

https://qa-reports.gentoo.org/output/gentoo-ci/fae6922/1.html#l330
https://qa-reports.gentoo.org/output/gentoo-ci/fae6922/1.html#l366
https://qa-reports.gentoo.org/output/gentoo-ci/fae6922/1.html#l443
https://qa-reports.gentoo.org/output/gentoo-ci/fae6922/1.html#l477
https://qa-reports.gentoo.org/output/gentoo-ci/fae6922/1.html#l504
https://qa-reports.gentoo.org/output/gentoo-ci/fae6922/1.html#l556
https://qa-reports.gentoo.org/output/gentoo-ci/fae6922/1.html#l611

You either need to:

1. keep old implementations until they're masked for removal,

2. remove them consistently from all revdeps,

3. or keep an old version that supports the old implementation.

>  
>  inherit distutils-r1
>  
> @@ -25,9 +25,10 @@ TCDEPEND="
>   >=dev-python/lxml-2.3[${PYTHON_USEDEP}]
>   >=dev-python/mock-1.2[${PYTHON_USEDEP}]
>   >=dev-python/requests-mock-0.6.0[${PYTHON_USEDEP}]
> - >=dev-python/tempest-lib-0.6.1[${PYTHON_USEDEP}]
> + >=dev-python/tempest-lib-0.8.0[${PYTHON_USEDEP}]
>   >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
>   >=dev-python/webob-1.2.3[${PYTHON_USEDEP}]
> + >=dev-python/bandit-0.13.2[${PYTHON_USEDEP}]
>  "
>  DEPEND="
>   dev-python/setuptools[${PYTHON_USEDEP}]
> 



-- 
Best regards,
Michał Górny



pgpGsQRkuI0RU.pgp
Description: OpenPGP digital signature


[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: media-sound/karlyriceditor/files/, media-sound/karlyriceditor/

2015-10-09 Thread hasufell
On 10/09/2015 08:52 PM, Michael Palimaka wrote:
> commit: 8db5c61ec2b1d9d5b37f1b14434f32342b4f0803
> Author: Michael Palimaka  gentoo  org>
> AuthorDate: Fri Oct  9 18:50:13 2015 +
> Commit: Michael Palimaka  gentoo  org>
> CommitDate: Fri Oct  9 18:51:51 2015 +
> URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8db5c61e
> 
> media-sound/karlyriceditor: version bump
> 
> Package-Manager: portage-2.2.20.1
> 

[...]

> diff --git a/media-sound/karlyriceditor/karlyriceditor-1.11.ebuild 
> b/media-sound/karlyriceditor/karlyriceditor-1.11.ebuild
> new file mode 100644
> index 000..358c3c9
> --- /dev/null
> +++ b/media-sound/karlyriceditor/karlyriceditor-1.11.ebuild
> @@ -0,0 +1,37 @@
> +# Copyright 1999-2015 Gentoo Foundation
> +# Distributed under the terms of the GNU General Public License v2
> +# $Id$
> +
> +EAPI=5
> +
> +inherit eutils qt4-r2
> +
> +DESCRIPTION="Application to edit and synchronize lyrics with karaoke songs 
> in various formats"
> +HOMEPAGE="http://www.ulduzsoft.com/linux/karaoke-lyrics-editor/;
> +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
> +
> +LICENSE="GPL-3+"
> +SLOT="0"
> +KEYWORDS="~amd64 ~x86"
> +IUSE="libav"
> +
> +RDEPEND="
> + dev-libs/openssl:0
> + dev-qt/qtcore:4
> + dev-qt/qtgui:4
> + media-libs/libsdl

This is missing the 'sound' USE flag on libsdl.

> + libav? ( media-video/libav:= )
> + !libav? ( media-video/ffmpeg:= )
> +"
> +DEPEND="${RDEPEND}
> + virtual/pkgconfig
> +"
> +

[...]




Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/metasploit/

2015-10-09 Thread hasufell
On 10/09/2015 05:42 PM, hasufell wrote:
>> +
>> +QA_PREBUILT="
>> +usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x86_linux.bin
>> +usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_armle_linux.bin
>> +usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x86_solaris.bin
>> +usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x64_linux.bin
>> +usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x64_linux_dll.bin
>> +usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x86_bsd.bin
>> +usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x64_bsd.bin
>> +usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_mipsbe_linux.bin
>> +usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_mipsle_linux.bin
>> +usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/msflinker_linux_x86.bin
>> +usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/ext_server_sniffer.lso
>> +
>> usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/ext_server_networkpug.lso
>> +usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/ext_server_stdapi.lso
>> +usr/$(get_libdir)/${PN}${SLOT}/data/exploits/CVE-2013-2171.bin
>> +usr/$(get_libdir)/${PN}${SLOT}/data/exploits/CVE-2014-3153.elf
>> +usr/$(get_libdir)/${PN}${SLOT}/data/android/libs/x86/libndkstager.so
>> +usr/$(get_libdir)/${PN}${SLOT}/data/android/libs/mips/libndkstager.so
>> +usr/$(get_libdir)/${PN}${SLOT}/data/android/libs/armeabi/libndkstager.so
>> +"
>> +
> 
> I think $(get_libdir) is not allowed in global scope and breaks metadata.
> 
> You can use probably 'usr/lib*/...'
> 
> [...]
> 

And this is the same in dev-ruby/metasploit-payloads ebuild



Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasm/

2015-10-09 Thread Patrick Lauer


On 10/09/15 17:42, Davide Pesavento wrote:
> On Fri, Oct 9, 2015 at 5:35 PM, hasufell  wrote:
>> On 10/08/2015 11:04 PM, Richard Farina wrote:
>>
>> +all_ruby_prepare() {
>> + [ -f Gemfile.lock ] && rm Gemfile.lock
>> missing "|| die" afais, should probably be
>>
>> [ -f Gemfile.lock ] && { rm Gemfile.lock || die ; }
>>
> Or simply:
>
> rm -f Gemfile.lock || die
>
With -f it always succeeds, so the ||die is redundant  ...



[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: x11-wm/jwm/

2015-10-09 Thread hasufell
On 10/09/2015 04:45 PM, Ian Delaney wrote:
> commit: 9a94bb3a771b84ec44d2359aa9af6e2fe9e9433d
> Author: Ian Delaney  gentoo  org>
> AuthorDate: Fri Oct  9 14:43:33 2015 +
> Commit: Ian Delaney  gentoo  org>
> CommitDate: Fri Oct  9 14:44:52 2015 +
> URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a94bb3a
> 
> x11-wm/jwm:  bump to -2.3.2
> 
> patch to bump submitted in gentoo bug by 'wraeth' added as
> proxy maintainer under the proxy-maintainers herd in metadata
> 
> Gentoo bug: #562462
> 
> Package-Manager: portage-2.2.20.1
> 
>  x11-wm/jwm/Manifest |  1 +
>  x11-wm/jwm/jwm-2.3.2.ebuild | 66 
> +
>  x11-wm/jwm/metadata.xml |  7 -
>  3 files changed, 73 insertions(+), 1 deletion(-)

[...]

> diff --git a/x11-wm/jwm/jwm-2.3.2.ebuild b/x11-wm/jwm/jwm-2.3.2.ebuild
> new file mode 100644
> index 000..6263aef
> --- /dev/null
> +++ b/x11-wm/jwm/jwm-2.3.2.ebuild
> @@ -0,0 +1,66 @@
> +# Copyright 1999-2013 Gentoo Foundation
> +# Distributed under the terms of the GNU General Public License v2
> +# $Id$
> +

Incorrect header

> +EAPI=4

Why not EAPI=5?

> +inherit eutils
> +
> +DESCRIPTION="Very fast and lightweight still powerful window manager for X"
> +HOMEPAGE="http://joewing.net/programs/jwm/;
> +SRC_URI="http://joewing.net/programs/jwm/releases/${P}.tar.xz;
> +
> +LICENSE="GPL-2"
> +SLOT="0"
> +KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~x86-fbsd"
> +IUSE="bidi debug jpeg png truetype xinerama xpm"
> +
> +RDEPEND="xpm? ( x11-libs/libXpm )
> + xinerama? ( x11-libs/libXinerama )
> + x11-libs/libXext
> + x11-libs/libXrender
> + x11-libs/libXau
> + x11-libs/libXdmcp
> + truetype? ( x11-libs/libXft )
> + png? ( media-libs/libpng )

missng slot

> + jpeg? ( virtual/jpeg )

missing slot

> + bidi? ( dev-libs/fribidi )
> + dev-libs/expat"
> +DEPEND="${RDEPEND}
> + x11-proto/xproto
> + x11-proto/xextproto
> + xinerama? ( x11-proto/xineramaproto )"
> +

[...]

> +
> +src_install() {
> + dodir /usr/bin
> + dodir /etc
> + dodir /usr/share/man
> + emake BINDIR="${D}/usr/bin" SYSCONF="${D}/etc" \
> + MANDIR="${D}/usr/share/man" install
> + rm "${D}"/etc/system.jwmrc
> +
> + echo "#!/bin/sh" > jwm
> + echo "exec /usr/bin/jwm" >> jwm

looks like you want 'make_wrapper' from eutils.eclass

[...]



Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasm/

2015-10-09 Thread Davide Pesavento
On Fri, Oct 9, 2015 at 5:35 PM, hasufell  wrote:
> On 10/08/2015 11:04 PM, Richard Farina wrote:
>> commit: f05eda22c275381c669e6f2a88dabd1356a3541f
>> Author: Zero_Chaos  gentoo  org>
>> AuthorDate: Thu Oct  8 20:45:33 2015 +
>> Commit: Richard Farina  gentoo  org>
>> CommitDate: Thu Oct  8 21:04:37 2015 +
>> URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f05eda22
>>
>> dev-ruby/metasm: import from pentoo
>>
>> Package-Manager: portage-2.2.22
>>
>>  dev-ruby/metasm/Manifest   |  1 +
>>  dev-ruby/metasm/metadata.xml   | 10 +++
>>  dev-ruby/metasm/metasm-1.0.2-r1.ebuild | 52 
>> ++
>>  3 files changed, 63 insertions(+)
>>
>
> [...]
>
>> --- /dev/null
>> +++ b/dev-ruby/metasm/metasm-1.0.2-r1.ebuild
>> @@ -0,0 +1,52 @@
>> +# Copyright 1999-2015 Gentoo Foundation
>> +# Distributed under the terms of the GNU General Public License v2
>> +# $Id$
>> +
>> +EAPI=5
>> +USE_RUBY="ruby19 ruby20 ruby21"
>> +
>> +inherit ruby-fakegem
>> +
>> +RUBY_FAKEGEM_EXTRAINSTALL="metasm metasm.rb misc samples"
>> +
>> +DESCRIPTION="cross-architecture assembler, disassembler, linker, and 
>> debugger"
>> +HOMEPAGE="http://metasm.cr0.org/;
>> +SRC_URI="mirror://rubygems/${P}.gem"
>> +
>> +LICENSE="BSD"
>> +SLOT="${PV}"
>> +KEYWORDS="~amd64 ~arm ~x86"
>> +#IUSE="development test"
>> +RESTRICT=test
>> +IUSE=""
>> +
>> +RDEPEND="${RDEPEND} !dev-ruby/metasploit-model:0"
>> +
>> +ruby_add_rdepend ">=dev-ruby/railties-4.0.9:4.0
>> + >=dev-ruby/activesupport-4.0.9:4.0
>> + >=dev-ruby/activemodel-4.0.9:4.0"
>> +ruby_add_bdepend "dev-ruby/bundler"
>> +
>> +all_ruby_prepare() {
>> + [ -f Gemfile.lock ] && rm Gemfile.lock
>
> missing "|| die" afais, should probably be
>
> [ -f Gemfile.lock ] && { rm Gemfile.lock || die ; }
>

Or simply:

rm -f Gemfile.lock || die

>> + #For now, we don't support development or testing at all
>> + #if ! use development; then
>> + sed -i -e "/^group :development do/,/^end$/d" Gemfile || die
>> + sed -i -e "/s.add_development_dependency/d" "${PN}".gemspec || 
>> die
>> + sed -i -e "/spec.add_development_dependency/d" "${PN}".gemspec 
>> || die
>> + #fi
>> + #if ! use test; then
>> + sed -i -e "/^group :test do/,/^end$/d" Gemfile || die
>> + #fi
>> + #if ! use test && ! use development; then
>> + sed -i -e "/^group :development, :test do/,/^end$/d" Gemfile 
>> || die
>> + #fi
>> +}
>> +
>> +each_ruby_prepare() {
>> + if [ -f Gemfile ]
>> + then
>> + BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install 
>> --local || die
>> + BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
>> + fi
>> +}
>>
>
>



[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/metasploit/

2015-10-09 Thread hasufell
On 10/08/2015 11:04 PM, Richard Farina wrote:
> commit: 408bb337f1207a7c844d99b70a0f5a164f0b990d
> Author: Zero_Chaos  gentoo  org>
> AuthorDate: Thu Oct  8 21:04:12 2015 +
> Commit: Richard Farina  gentoo  org>
> CommitDate: Thu Oct  8 21:04:48 2015 +
> URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=408bb337
> 
> net-analyzer/metasploit: I thought keeping the live ebuild in my overlay 
> would decrease the work but it looks like the ruby team and I are duplicating 
> each other and causing more work so moving it back into gentoo
> 

Commit message is over-long, please give a short summary and a more
detailed description after a newline.

>  net-analyzer/metasploit/metasploit-.ebuild | 298 
> +
>  1 file changed, 298 insertions(+)
> 
> diff --git a/net-analyzer/metasploit/metasploit-.ebuild 
> b/net-analyzer/metasploit/metasploit-.ebuild
> new file mode 100644
> index 000..d07ff32
> --- /dev/null
> +++ b/net-analyzer/metasploit/metasploit-.ebuild
> @@ -0,0 +1,298 @@
> +# Copyright 1999-2015 Gentoo Foundation
> +# Distributed under the terms of the GNU General Public License v2
> +# $Header: $
> +

Incorrect header

[...]

> +
> +QA_PREBUILT="
> + usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x86_linux.bin
> + usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_armle_linux.bin
> + usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x86_solaris.bin
> + usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x64_linux.bin
> + usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x64_linux_dll.bin
> + usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x86_bsd.bin
> + usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x64_bsd.bin
> + usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_mipsbe_linux.bin
> + usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_mipsle_linux.bin
> + usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/msflinker_linux_x86.bin
> + usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/ext_server_sniffer.lso
> + 
> usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/ext_server_networkpug.lso
> + usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/ext_server_stdapi.lso
> + usr/$(get_libdir)/${PN}${SLOT}/data/exploits/CVE-2013-2171.bin
> + usr/$(get_libdir)/${PN}${SLOT}/data/exploits/CVE-2014-3153.elf
> + usr/$(get_libdir)/${PN}${SLOT}/data/android/libs/x86/libndkstager.so
> + usr/$(get_libdir)/${PN}${SLOT}/data/android/libs/mips/libndkstager.so
> + usr/$(get_libdir)/${PN}${SLOT}/data/android/libs/armeabi/libndkstager.so
> + "
> +

I think $(get_libdir) is not allowed in global scope and breaks metadata.

You can use probably 'usr/lib*/...'

[...]



[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: net-im/dianara/

2015-10-09 Thread hasufell
On 10/09/2015 03:26 PM, Michael Palimaka wrote:
> commit: 40ef80d0fd08b05a21ca217310859f6d30b60ac2
> Author: Michael Palimaka  gentoo  org>
> AuthorDate: Fri Oct  9 13:25:45 2015 +
> Commit: Michael Palimaka  gentoo  org>
> CommitDate: Fri Oct  9 13:26:07 2015 +
> URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40ef80d0
> 
> net-im/dianara: add missing USE dependencies
> 
> Gentoo-bug: 560624
> 
> Package-Manager: portage-2.2.20.1
> 
>  net-im/dianara/dianara-1.3.1.ebuild | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/net-im/dianara/dianara-1.3.1.ebuild 
> b/net-im/dianara/dianara-1.3.1.ebuild
> index 9ff4e3d..37dad4c 100644
> --- a/net-im/dianara/dianara-1.3.1.ebuild
> +++ b/net-im/dianara/dianara-1.3.1.ebuild
> @@ -17,10 +17,10 @@ KEYWORDS="~amd64 ~x86"
>  IUSE=""
>  
>  RDEPEND="
> - >=app-crypt/qca-2.1.0.3:2[qt4]
> + >=app-crypt/qca-2.1.0.3:2[openssl,qt4]
>   dev-libs/qjson
>   dev-libs/qoauth
> - dev-qt/qtcore:4
> + dev-qt/qtcore:4[ssl]
>   dev-qt/qtdbus:4
>   dev-qt/qtgui:4
>   sys-apps/file"
> 

Remember to revbump packages if fixing non-trivial runtime dependencies,
otherwise users VDB might be inconsistent.

I already did it for you in c15d52d9d17b0ec9d5967ba8d0ca720a25fa2e97



Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasm/

2015-10-09 Thread Alexander Tsoy
On Fri, 9 Oct 2015 17:48:08 +0200
Patrick Lauer  wrote:

> 
> 
> On 10/09/15 17:42, Davide Pesavento wrote:
> > On Fri, Oct 9, 2015 at 5:35 PM, hasufell  wrote:
> >> On 10/08/2015 11:04 PM, Richard Farina wrote:
> >>
> >> +all_ruby_prepare() {
> >> + [ -f Gemfile.lock ] && rm Gemfile.lock
> >> missing "|| die" afais, should probably be
> >>
> >> [ -f Gemfile.lock ] && { rm Gemfile.lock || die ; }
> >>
> > Or simply:
> >
> > rm -f Gemfile.lock || die
> >
> With -f it always succeeds, so the ||die is redundant  ...
> 

$ touch foo1
$ sudo chattr +i foo1 
$ rm -f foo1 || echo FAIL
rm: cannot remove 'foo1': Operation not permitted
FAIL

-- 
Alexander Tsoy



[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs-kmod/

2015-10-09 Thread Michał Górny
Dnia 2015-10-09, o godz. 15:40:32
"Richard Yao"  napisał(a):

> commit: 050bf38afc93a98c5176c95b3c4ffc01212bf46b
> Author: Richard Yao  gentoo  org>
> AuthorDate: Fri Oct  9 15:38:56 2015 +
> Commit: Richard Yao  gentoo  org>
> CommitDate: Fri Oct  9 15:38:56 2015 +
> URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=050bf38a
> 
> sys-fs/zfs-kmod: Remove outdated ebuilds
> 
> Package-Manager: portage-2.2.20.1
> Signed-off-by: Richard Yao  gentoo.org>
> 
>  sys-fs/zfs-kmod/zfs-kmod-0.6.2-r4.ebuild | 129 ---
>  sys-fs/zfs-kmod/zfs-kmod-0.6.2-r5.ebuild | 129 ---
>  sys-fs/zfs-kmod/zfs-kmod-0.6.3.ebuild| 138 -
>  sys-fs/zfs-kmod/zfs-kmod-0.6.4.ebuild| 142 --
>  sys-fs/zfs-kmod/zfs-kmod-0.6.5.2.ebuild  | 146 
> ---

You removed 0.6.5.2 but kept the respective sys-fs/zfs version,
therefore breaking the dependency graph:

https://qa-reports.gentoo.org/output/gentoo-ci/96dc8cd/12.html#l657

-- 
Best regards,
Michał Górny



pgp6ZDPxssZNw.pgp
Description: OpenPGP digital signature


Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: eclass/

2015-10-09 Thread Alexis Ballier
On Fri, 9 Oct 2015 17:32:22 +0200
hasufell  wrote:

> On 10/09/2015 01:17 PM, Alexis Ballier wrote:
> > commit: 5220bb29741e1685b42a6312c0b7bf2821672040
> > Author: Alexis Ballier  gentoo  org>
> > AuthorDate: Fri Oct  9 11:16:38 2015 +
> > Commit: Alexis Ballier  gentoo  org>
> > CommitDate: Fri Oct  9 11:16:52 2015 +
> > URL:
> > https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5220bb29
> > 
> > eclass: ros-catkin.eclass: Use cmake-utils_src_make instead of
> > plain emake for src_test so that it works with ninja too.
> > 
> 
> 
> Please try to use short summary lines and put more detailed
> description into the commit message after a newline, also see
> https://wiki.gentoo.org/wiki/Gentoo_git_workflow#Example
> 
> The prefix is also a bit uncommon, see
> https://wiki.gentoo.org/wiki/Gentoo_git_workflow#Commit_message_format

yeah, got that wrong; thx; i tried to remember it as '$dir: message',
which works in all but this case it seems :)

> Ofc, I will expect people to jump in and say "the council hasn't
> decided on that yet", but well... it mostly works fine and is not
> really controversial.

not sure if council approval is needed; uniformity and consistency is
way more important than whatever syntax is used



Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: eclass/

2015-10-09 Thread hasufell
On 10/09/2015 06:21 PM, Alexis Ballier wrote:
>> Ofc, I will expect people to jump in and say "the council hasn't
>> decided on that yet", but well... it mostly works fine and is not
>> really controversial.
> 
> not sure if council approval is needed; uniformity and consistency is
> way more important than whatever syntax is used
> 

I agree.

There is https://bugs.gentoo.org/show_bug.cgi?id=561190 and
https://wiki.gentoo.org/wiki/User:Dilfridge/GLEP:66 but as you can see
it is mostly empty.



Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasploit-payloads/

2015-10-09 Thread Alexis Ballier
On Fri, 9 Oct 2015 18:30:53 +0200
hasufell  wrote:

> On 10/09/2015 06:23 PM, Alexis Ballier wrote:
> >>> +# Copyright 1999-2015 Gentoo Foundation
> >>> +# Distributed under the terms of the GNU General Public License
> >>> v2 +#
> >>> $Header: 
> >>> /var/cvsroot/gentoo-x86/dev-ruby/meterpreter_bins/meterpreter_bins-0.0.10.ebuild,v
> >>> 1.1 2014/10/19 23:24:24 zerochaos Exp $ +
> >>
> >> Incorrect header
> > 
> > 
> > this one annoys me a lot; can't we get repoman to automagically fix
> > it ?
> > 
> 
> repoman is already broken in that regard as it expects overlay
> maintainers to add gentoo copyright, which really makes no sense.
> 
> So we would first have to fix that and afair this is blocked by the
> API rewrite dol-sen is doing.
> 
> Then, a --switch to automagically fix the header could make sense.


from man repoman:
  fixFix simple QA issues (stray digests, missing digests)


sounds like a match :)

(ewww digests)



Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasm/

2015-10-09 Thread Michał Górny
Dnia 2015-10-09, o godz. 17:48:08
Patrick Lauer  napisał(a):

> On 10/09/15 17:42, Davide Pesavento wrote:
> > On Fri, Oct 9, 2015 at 5:35 PM, hasufell  wrote:
> >> On 10/08/2015 11:04 PM, Richard Farina wrote:
> >>
> >> +all_ruby_prepare() {
> >> + [ -f Gemfile.lock ] && rm Gemfile.lock
> >> missing "|| die" afais, should probably be
> >>
> >> [ -f Gemfile.lock ] && { rm Gemfile.lock || die ; }
> >>
> > Or simply:
> >
> > rm -f Gemfile.lock || die
> >
> With -f it always succeeds, so the ||die is redundant  ...

No, it doesn't.

  $ rm -f ; echo $?
  rm: cannot remove '': Operation not permitted
  1

-- 
Best regards,
Michał Górny



pgp_UdkCM2L6a.pgp
Description: OpenPGP digital signature


Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasm/

2015-10-09 Thread Davide Pesavento
On Fri, Oct 9, 2015 at 5:48 PM, Patrick Lauer  wrote:
>
>
> On 10/09/15 17:42, Davide Pesavento wrote:
>> On Fri, Oct 9, 2015 at 5:35 PM, hasufell  wrote:
>>> On 10/08/2015 11:04 PM, Richard Farina wrote:
>>>
>>> +all_ruby_prepare() {
>>> + [ -f Gemfile.lock ] && rm Gemfile.lock
>>> missing "|| die" afais, should probably be
>>>
>>> [ -f Gemfile.lock ] && { rm Gemfile.lock || die ; }
>>>
>> Or simply:
>>
>> rm -f Gemfile.lock || die
>>
> With -f it always succeeds, so the ||die is redundant  ...
>

No, -f only ignores nonexistent files and doesn't prompt. Other kinds
of error still cause rm to fail.



Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasploit-payloads/

2015-10-09 Thread Alexis Ballier
On Fri, 9 Oct 2015 17:37:10 +0200
hasufell  wrote:

> On 10/08/2015 11:04 PM, Richard Farina wrote:
> > commit: 8fe8aa173945158ebd3bd849b6304992eb29ddeb
> > Author: Zero_Chaos  gentoo  org>
> > AuthorDate: Thu Oct  8 20:48:03 2015 +
> > Commit: Richard Farina  gentoo  org>
> > CommitDate: Thu Oct  8 21:04:40 2015 +
> > URL:
> > https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fe8aa17
> > 
> > dev-ruby/metasploit-payloads: import version bump from pentoo
> > 
> > Package-Manager: portage-2.2.22
> > 
> >  dev-ruby/metasploit-payloads/Manifest  |  1 +
> >  .../metasploit-payloads-1.0.15.ebuild  | 45
> > ++ 2 files changed, 46 insertions(+)
> > 
> > diff --git a/dev-ruby/metasploit-payloads/Manifest
> > b/dev-ruby/metasploit-payloads/Manifest index f16e5c6..9450c38
> > 100644 --- a/dev-ruby/metasploit-payloads/Manifest
> > +++ b/dev-ruby/metasploit-payloads/Manifest
> > @@ -1 +1,2 @@
> > +DIST metasploit-payloads-1.0.15.gem 5249536 SHA256
> > 8d186c3bcf8a4537b9a96301e8cc0d847335d3cfa87ca5b2e88a6b2980eab240
> > SHA512
> > 58afa5c4bc191a05e3ec009d94d40f2d9fc5a025962088845db14aefc410340fdc7b1e30f17c75936495a43fc99576d188960bc5755dbec434d7428fbbdd495a
> > WHIRLPOOL
> > d136642c1de9b18e652c421ad3b9fd859b8d8850dd539d66d4c8b410e09064d7872bc06c505b01d5389d1e2ebe22ed6b3c88aa3a0f08a1578f204201c24b3438
> > DIST metasploit-payloads-1.0.9.gem 5248000 SHA256
> > bd9eec335158dd25e579c680856f8c48aa9ba081a5d51d87a05dbb1e511087a3
> > SHA512
> > 4c08284d4b1d667f545d97e879b2581830f34d42560ba6d6ed7adf32312adc841d5fdd8b55ab4e06a196d1e313fb44fbb861ccac7790e50f88260e2def0a76ed
> > WHIRLPOOL
> > a398dcad94b38626d4bd3d9980d05a24ccdbc12bbd2e902dd4f78c9bcd2cf4a26c76645d989a00aec69d041d9203c5ff31e0b0f948028ac6cd06ae724d573950
> > 
> > diff --git
> > a/dev-ruby/metasploit-payloads/metasploit-payloads-1.0.15.ebuild
> > b/dev-ruby/metasploit-payloads/metasploit-payloads-1.0.15.ebuild
> > new file mode 100644 index 000..87598a1 --- /dev/null
> > +++ b/dev-ruby/metasploit-payloads/metasploit-payloads-1.0.15.ebuild
> > @@ -0,0 +1,45 @@
> > +# Copyright 1999-2015 Gentoo Foundation
> > +# Distributed under the terms of the GNU General Public License v2
> > +#
> > $Header: 
> > /var/cvsroot/gentoo-x86/dev-ruby/meterpreter_bins/meterpreter_bins-0.0.10.ebuild,v
> > 1.1 2014/10/19 23:24:24 zerochaos Exp $ +
> 
> Incorrect header


this one annoys me a lot; can't we get repoman to automagically fix it ?



Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/metasploit/

2015-10-09 Thread Alexis Ballier
On Fri, 9 Oct 2015 17:42:23 +0200
hasufell  wrote:


> > +
> > +QA_PREBUILT="
[...]
> I think $(get_libdir) is not allowed in global scope and breaks
> metadata.

I don't think QA_PREBUILT is part of metadata.

> You can use probably 'usr/lib*/...'

But this is probably better, e.g. if these are x86 binaries installed
on amd64, I don't think the above (snipped) QA_PREBUILT will match.



Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasploit-payloads/

2015-10-09 Thread hasufell
On 10/09/2015 06:23 PM, Alexis Ballier wrote:
>>> +# Copyright 1999-2015 Gentoo Foundation
>>> +# Distributed under the terms of the GNU General Public License v2
>>> +#
>>> $Header: 
>>> /var/cvsroot/gentoo-x86/dev-ruby/meterpreter_bins/meterpreter_bins-0.0.10.ebuild,v
>>> 1.1 2014/10/19 23:24:24 zerochaos Exp $ +
>>
>> Incorrect header
> 
> 
> this one annoys me a lot; can't we get repoman to automagically fix it ?
> 

repoman is already broken in that regard as it expects overlay
maintainers to add gentoo copyright, which really makes no sense.

So we would first have to fix that and afair this is blocked by the API
rewrite dol-sen is doing.

Then, a --switch to automagically fix the header could make sense.



[gentoo-dev] Last rites: app-crypt/qca-*

2015-10-09 Thread Michael Palimaka
# Michael Palimaka =app-crypt/qca-2.1
# Masked for removal in 30 days


[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: media-sound/musique/files/, media-sound/musique/

2015-10-09 Thread hasufell
On 10/09/2015 04:42 PM, Michael Palimaka wrote:
> commit: 2f9b36011ada0104883275fad335084922f5c9c6
> Author: Michael Palimaka  gentoo  org>
> AuthorDate: Fri Oct  9 14:40:56 2015 +
> Commit: Michael Palimaka  gentoo  org>
> CommitDate: Fri Oct  9 14:42:22 2015 +
> URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f9b3601
> 
> media-sound/musique: version bump
> 

reformatted, because email reviews are broken

diff --git a/media-sound/musique/musique-1.4.ebuild
b/media-sound/musique/musique-1.4.ebuild
new file mode 100644
index 000..6e40cbb
--- /dev/null
+++ b/media-sound/musique/musique-1.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils qt4-r2
+
+DESCRIPTION="Qt4 music player"
+HOMEPAGE="http://flavio.tordini.org/musique;
+SRC_URI="http://flavio.tordini.org/files/${PN}/${P}.tar.gz;
+
+LICENSE="GPL-3"

It seems this can be GPL-3+, see
https://github.com/flaviotordini/musique#legal-stuff

+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+   dev-qt/qtcore:4
+   dev-qt/qtdbus:4
+   dev-qt/qtgui:4
+   dev-qt/qtsingleapplication[qt4,X]
+   dev-qt/qtsql:4[sqlite]
+   || ( dev-qt/qtphonon:4 media-libs/phonon[qt4] )
+   media-libs/taglib
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+DOCS=( CHANGES TODO )
+
+src_prepare () {
+   epatch "${FILESDIR}"/${P}-unbundle-qtsingleapplication.patch
+   rm -r src/qtsingleapplication || die
+   qt4-r2_src_prepare
+}
+
+src_configure() {
+   eqmake4 ${PN}.pro PREFIX="/usr"
+}
+
+src_install() {
+   qt4-r2_src_install
+   doicon data/${PN}.svg

is this icon referenced in a hardcoded way? Otherwise, you can do:
doicon -s scalable data/${PN}.svg

which will install it into /usr/share/icons/hicolor/scalable/apps
which is the more modern location.

doicon also allows -c and -t switches, see
https://devmanual.gentoo.org/eclass-reference/eutils.eclass/index.html

If you go for that location, you also need to update icon cache for
users who run qt applications inside a gtk based DE via gnome2-utils.eclass.

Maybe these cache updates should be replaced by PM hooks, but I'm not
sure if portage hooks support is good enough for that.



[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-ros/compressed_image_transport/

2015-10-09 Thread hasufell
On 10/09/2015 06:37 PM, Alexis Ballier wrote:
> commit: 4440cc9d950795eaae8f8b049bbf37c073ef5ea0
> Author: Alexis Ballier  gentoo  org>
> AuthorDate: Fri Oct  9 16:37:18 2015 +
> Commit: Alexis Ballier  gentoo  org>
> CommitDate: Fri Oct  9 16:37:18 2015 +
> URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4440cc9d
> 
> dev-ros/compressed_image_transport: Add PYTHON_COMPAT and PYTHON_USEDEP on 
> dynamic_reconfigure. Bug #562664.
> 
> Package-Manager: portage-2.2.23
> 

[...]

> --- 
> a/dev-ros/compressed_image_transport/compressed_image_transport-1.9.2.ebuild
> +++ 
> b/dev-ros/compressed_image_transport/compressed_image_transport-1.9.2-r1.ebuild
> @@ -6,6 +6,7 @@ EAPI=5
>  ROS_REPO_URI="https://github.com/ros-perception/image_transport_plugins;
>  KEYWORDS="~amd64 ~arm"
>  ROS_SUBDIR=${PN}
> +PYTHON_COMPAT=( python2_7 )
>  
>  inherit ros-catkin
>  
> @@ -16,7 +17,7 @@ IUSE=""
>  
>  RDEPEND="
>   dev-ros/cv_bridge
> - dev-ros/dynamic_reconfigure
> + dev-ros/dynamic_reconfigure[${PYTHON_USEDEP}]
>   dev-ros/image_transport
>   dev-ros/tf
>   media-libs/opencv
> 
> diff --git 
> a/dev-ros/compressed_image_transport/compressed_image_transport-.ebuild 
> b/dev-ros/compressed_image_transport/compressed_image_transport-.ebuild
> index f7a387a..144fac9 100644
> --- 
> a/dev-ros/compressed_image_transport/compressed_image_transport-.ebuild
> +++ 
> b/dev-ros/compressed_image_transport/compressed_image_transport-.ebuild
> @@ -6,6 +6,7 @@ EAPI=5
>  ROS_REPO_URI="https://github.com/ros-perception/image_transport_plugins;
>  KEYWORDS="~amd64 ~arm"
>  ROS_SUBDIR=${PN}
> +PYTHON_COMPAT=( python2_7 )
>  
>  inherit ros-catkin
>  
> @@ -16,7 +17,7 @@ IUSE=""
>  
>  RDEPEND="
>   dev-ros/cv_bridge
> - dev-ros/dynamic_reconfigure
> + dev-ros/dynamic_reconfigure[${PYTHON_USEDEP}]
>   dev-ros/image_transport
>   dev-ros/tf
>   media-libs/opencv
> 

Maybe I am missing something, but ${PYTHON_DEPS} seems missing here and
I cannot find it in ros-catkin.eclass either. It's only an indirect dep
which is inappropriate.

Maybe other ros packages are affected as well.



Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-ros/compressed_image_transport/

2015-10-09 Thread Alexis Ballier
On Fri, 9 Oct 2015 19:28:32 +0200
hasufell  wrote:

> On 10/09/2015 07:22 PM, Alexis Ballier wrote:
> > Doesn't python-r1 add this ? It seems not...
> > It should be added to ros-catkin.eclass when PYTHON_COMPAT is set.
> > Any hint on how to proceed ?
> > 
> 
> distutils-r1 adds it, python-r1 is a "low-level" eclass and not
> supposed to do a lot of magic.
> 
> Technically, you would have to revbump all packages, but since the
> indirect dep-graph will pull in python anyway, I guess we can skip
> that.

yeah, fortunately dev-python/empy[] is mandatory

> I guess you can add it with a if-PYTHON_COMPAT-conditional somewhere
> around line 68 where you already modify python related deps
> (python-exec).

done that, thanks



Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs-kmod/

2015-10-09 Thread Jason Zaman
On Fri, Oct 09, 2015 at 06:20:58PM +0200, Michał Górny wrote:
> Dnia 2015-10-09, o godz. 15:40:32
> "Richard Yao"  napisał(a):
> 
> > commit: 050bf38afc93a98c5176c95b3c4ffc01212bf46b
> > Author: Richard Yao  gentoo  org>
> > AuthorDate: Fri Oct  9 15:38:56 2015 +
> > Commit: Richard Yao  gentoo  org>
> > CommitDate: Fri Oct  9 15:38:56 2015 +
> > URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=050bf38a
> > 
> > sys-fs/zfs-kmod: Remove outdated ebuilds
> > 
> > Package-Manager: portage-2.2.20.1
> > Signed-off-by: Richard Yao  gentoo.org>
> > 
> >  sys-fs/zfs-kmod/zfs-kmod-0.6.2-r4.ebuild | 129 ---
> >  sys-fs/zfs-kmod/zfs-kmod-0.6.2-r5.ebuild | 129 ---
> >  sys-fs/zfs-kmod/zfs-kmod-0.6.3.ebuild| 138 
> > -
> >  sys-fs/zfs-kmod/zfs-kmod-0.6.4.ebuild| 142 
> > --
> >  sys-fs/zfs-kmod/zfs-kmod-0.6.5.2.ebuild  | 146 
> > ---
> 
> You removed 0.6.5.2 but kept the respective sys-fs/zfs version,
> therefore breaking the dependency graph:
> 
> https://qa-reports.gentoo.org/output/gentoo-ci/96dc8cd/12.html#l657
> 
I re-added this. Also forgot to remove the distfiles from the Manifest.




Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-ros/compressed_image_transport/

2015-10-09 Thread hasufell
On 10/09/2015 07:22 PM, Alexis Ballier wrote:
> Doesn't python-r1 add this ? It seems not...
> It should be added to ros-catkin.eclass when PYTHON_COMPAT is set. Any
> hint on how to proceed ?
> 

distutils-r1 adds it, python-r1 is a "low-level" eclass and not supposed
to do a lot of magic.

Technically, you would have to revbump all packages, but since the
indirect dep-graph will pull in python anyway, I guess we can skip that.

I guess you can add it with a if-PYTHON_COMPAT-conditional somewhere
around line 68 where you already modify python related deps (python-exec).



[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: x11-misc/screengrab/

2015-10-09 Thread hasufell
On 10/09/2015 07:17 PM, Michael Palimaka wrote:
> commit: b55a3b89d938b403255a86329f364b8e4a5b5d72
> Author: Michael Palimaka  gentoo  org>
> AuthorDate: Fri Oct  9 17:16:25 2015 +
> Commit: Michael Palimaka  gentoo  org>
> CommitDate: Fri Oct  9 17:17:29 2015 +
> URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b55a3b89
> 
> x11-misc/screengrab: version bump
> 
> Gentoo-bug: 553094
> 
> Package-Manager: portage-2.2.20.1
> 
>  x11-misc/screengrab/Manifest|  1 +
>  x11-misc/screengrab/screengrab-1.2.1.ebuild | 37 
> +
>  2 files changed, 38 insertions(+)
> 
> diff --git a/x11-misc/screengrab/Manifest b/x11-misc/screengrab/Manifest
> index 65e448d..0f10856 100644
> --- a/x11-misc/screengrab/Manifest
> +++ b/x11-misc/screengrab/Manifest
> @@ -1 +1,2 @@
>  DIST screengrab-1.0.tar.gz 152250 SHA256 
> 40babc5c1afc32e4f413ec56bfd2bf39bdb894ac32465b6cceec21520e60563f SHA512 
> e34e1fa907ccb105e1b37db40c2dfc22d19b8cdf517a73f4df11f3dffc2cdb0c6ed204d2d1c5bd8efeaa5326f52907fb4b364c84be510d392d7ff882f8d44a7e
>  WHIRLPOOL 
> cefb28f7d4ef29683389e4f4a2e12bb15af049e3c0834f6d53d04650b7b5128090defe5d0849bfdb417e534ccdac12ace73f72a70852f02681a58d35a4032f6b
> +DIST screengrab-1.2.1.tar.gz 156692 SHA256 
> 48cdaf66e6eff3ef0db89cb09b7c5757f07b99dd1cd05321e33b04a14c670d3b SHA512 
> 12892eaf33fe48875c1d0dccdc631cc64c246ba2ba10432539099b35e75c36f19c8ff8b97dee959575f214ea852d1afaa9cf46476f98e0978b379a05df101805
>  WHIRLPOOL 
> dc2a41981a7a0b569d0dac55d1bc16531c64e0e2dbe69330a1ff5a6511b28b0e2b6f8330e50805bf5c5b432afa3ac05aab93bfd398a26d8ff729276d6ccb1bfb
> 
> diff --git a/x11-misc/screengrab/screengrab-1.2.1.ebuild 
> b/x11-misc/screengrab/screengrab-1.2.1.ebuild
> new file mode 100644
> index 000..e3e928b
> --- /dev/null
> +++ b/x11-misc/screengrab/screengrab-1.2.1.ebuild
> @@ -0,0 +1,37 @@
> +# Copyright 1999-2015 Gentoo Foundation
> +# Distributed under the terms of the GNU General Public License v2
> +# $Id$
> +
> +EAPI=5
> +
> +inherit cmake-utils
> +
> +DESCRIPTION="Qt application for getting screenshots"
> +HOMEPAGE="http://screengrab.doomer.org;
> +SRC_URI="https://github.com/DOOMer/screengrab/archive/1.2.1.tar.gz -> 
> ${P}.tar.gz"
> +
> +LICENSE="GPL-2"
> +SLOT="0"
> +KEYWORDS="~amd64 ~x86"
> +IUSE=""
> +
> +DEPEND="
> + dev-qt/qtcore:4
> + dev-qt/qtgui:4
> + x11-libs/libX11
> +"
> +RDEPEND="${DEPEND}"
> +
> +src_prepare() {
> + sed -i -e "/LICENSE.txt/d" CMakeLists.txt || die
> +
> + cmake-utils_src_prepare
> +}
> +
> +src_configure() {
> + local mycmakeargs=(
> + -DSG_DOCDIR=${PF}
> + )
> +
> + cmake-utils_src_configure
> +}
> 

It seems this package bundles x11-libs/libqxt, see
https://github.com/DOOMer/screengrab/tree/531af39ef2563c9ae801bf6cffb441cc8e87b2e7/src/3rdparty/qxt
and
https://github.com/DOOMer/screengrab/tree/531af39ef2563c9ae801bf6cffb441cc8e87b2e7#build-requirements

(the hash is from the 1.2.1 release)



Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs-kmod/

2015-10-09 Thread Matt Turner
On Fri, Oct 9, 2015 at 10:03 AM, Jason Zaman  wrote:
> On Fri, Oct 09, 2015 at 06:20:58PM +0200, Michał Górny wrote:
>> Dnia 2015-10-09, o godz. 15:40:32
>> "Richard Yao"  napisał(a):
>>
>> > commit: 050bf38afc93a98c5176c95b3c4ffc01212bf46b
>> > Author: Richard Yao  gentoo  org>
>> > AuthorDate: Fri Oct  9 15:38:56 2015 +
>> > Commit: Richard Yao  gentoo  org>
>> > CommitDate: Fri Oct  9 15:38:56 2015 +
>> > URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=050bf38a
>> >
>> > sys-fs/zfs-kmod: Remove outdated ebuilds
>> >
>> > Package-Manager: portage-2.2.20.1
>> > Signed-off-by: Richard Yao  gentoo.org>
>> >
>> >  sys-fs/zfs-kmod/zfs-kmod-0.6.2-r4.ebuild | 129 ---
>> >  sys-fs/zfs-kmod/zfs-kmod-0.6.2-r5.ebuild | 129 ---
>> >  sys-fs/zfs-kmod/zfs-kmod-0.6.3.ebuild| 138 
>> > -
>> >  sys-fs/zfs-kmod/zfs-kmod-0.6.4.ebuild| 142 
>> > --
>> >  sys-fs/zfs-kmod/zfs-kmod-0.6.5.2.ebuild  | 146 
>> > ---
>>
>> You removed 0.6.5.2 but kept the respective sys-fs/zfs version,
>> therefore breaking the dependency graph:
>>
>> https://qa-reports.gentoo.org/output/gentoo-ci/96dc8cd/12.html#l657
>>
> I re-added this. Also forgot to remove the distfiles from the Manifest.

Likely because he just used git commit instead of repoman commit. I've
been doing that to avoid the Package-Manager: noise added to the git
log...



Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs-kmod/

2015-10-09 Thread hasufell
On 10/09/2015 07:48 PM, Matt Turner wrote:
> On Fri, Oct 9, 2015 at 10:03 AM, Jason Zaman  wrote:
>> On Fri, Oct 09, 2015 at 06:20:58PM +0200, Michał Górny wrote:
>>> Dnia 2015-10-09, o godz. 15:40:32
>>> "Richard Yao"  napisał(a):
>>>
 commit: 050bf38afc93a98c5176c95b3c4ffc01212bf46b
 Author: Richard Yao  gentoo  org>
 AuthorDate: Fri Oct  9 15:38:56 2015 +
 Commit: Richard Yao  gentoo  org>
 CommitDate: Fri Oct  9 15:38:56 2015 +
 URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=050bf38a

 sys-fs/zfs-kmod: Remove outdated ebuilds

 Package-Manager: portage-2.2.20.1
 Signed-off-by: Richard Yao  gentoo.org>

  sys-fs/zfs-kmod/zfs-kmod-0.6.2-r4.ebuild | 129 ---
  sys-fs/zfs-kmod/zfs-kmod-0.6.2-r5.ebuild | 129 ---
  sys-fs/zfs-kmod/zfs-kmod-0.6.3.ebuild| 138 
 -
  sys-fs/zfs-kmod/zfs-kmod-0.6.4.ebuild| 142 
 --
  sys-fs/zfs-kmod/zfs-kmod-0.6.5.2.ebuild  | 146 
 ---
>>>
>>> You removed 0.6.5.2 but kept the respective sys-fs/zfs version,
>>> therefore breaking the dependency graph:
>>>
>>> https://qa-reports.gentoo.org/output/gentoo-ci/96dc8cd/12.html#l657
>>>
>> I re-added this. Also forgot to remove the distfiles from the Manifest.
> 
> Likely because he just used git commit instead of repoman commit. I've
> been doing that to avoid the Package-Manager: noise added to the git
> log...
> 

It's fine to not use repoman commit. The only thing to keep in mind then
is to run 'repoman full' _after_ you have staged your files and _before_
they are committed.

That has practically the same effect and allows you to use your own tools.



Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-ros/compressed_image_transport/

2015-10-09 Thread Alexis Ballier
On Fri, 9 Oct 2015 19:18:49 +0200
hasufell  wrote:

> On 10/09/2015 06:37 PM, Alexis Ballier wrote:
> > commit: 4440cc9d950795eaae8f8b049bbf37c073ef5ea0
> > Author: Alexis Ballier  gentoo  org>
> > AuthorDate: Fri Oct  9 16:37:18 2015 +
> > Commit: Alexis Ballier  gentoo  org>
> > CommitDate: Fri Oct  9 16:37:18 2015 +
> > URL:
> > https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4440cc9d
> > 
> > dev-ros/compressed_image_transport: Add PYTHON_COMPAT and
> > PYTHON_USEDEP on dynamic_reconfigure. Bug #562664.
> > 
> > Package-Manager: portage-2.2.23
> > 
> 
> [...]
> 
> > ---
> > a/dev-ros/compressed_image_transport/compressed_image_transport-1.9.2.ebuild
> > +++
> > b/dev-ros/compressed_image_transport/compressed_image_transport-1.9.2-r1.ebuild
> > @@ -6,6 +6,7 @@ EAPI=5
> > ROS_REPO_URI="https://github.com/ros-perception/image_transport_plugins;
> > KEYWORDS="~amd64 ~arm" ROS_SUBDIR=${PN} +PYTHON_COMPAT=( python2_7 )
> >  
> >  inherit ros-catkin
> >  
> > @@ -16,7 +17,7 @@ IUSE=""
> >  
> >  RDEPEND="
> > dev-ros/cv_bridge
> > -   dev-ros/dynamic_reconfigure
> > +   dev-ros/dynamic_reconfigure[${PYTHON_USEDEP}]
> > dev-ros/image_transport
> > dev-ros/tf
> > media-libs/opencv
> > 
> > diff --git
> > a/dev-ros/compressed_image_transport/compressed_image_transport-.ebuild
> > b/dev-ros/compressed_image_transport/compressed_image_transport-.ebuild
> > index f7a387a..144fac9 100644 ---
> > a/dev-ros/compressed_image_transport/compressed_image_transport-.ebuild
> > +++
> > b/dev-ros/compressed_image_transport/compressed_image_transport-.ebuild
> > @@ -6,6 +6,7 @@ EAPI=5
> > ROS_REPO_URI="https://github.com/ros-perception/image_transport_plugins;
> > KEYWORDS="~amd64 ~arm" ROS_SUBDIR=${PN} +PYTHON_COMPAT=( python2_7
> > ) inherit ros-catkin
> >  
> > @@ -16,7 +17,7 @@ IUSE=""
> >  
> >  RDEPEND="
> > dev-ros/cv_bridge
> > -   dev-ros/dynamic_reconfigure
> > +   dev-ros/dynamic_reconfigure[${PYTHON_USEDEP}]
> > dev-ros/image_transport
> > dev-ros/tf
> > media-libs/opencv
> > 
> 
> Maybe I am missing something, but ${PYTHON_DEPS} seems missing here
> and I cannot find it in ros-catkin.eclass either. It's only an
> indirect dep which is inappropriate.


Doesn't python-r1 add this ? It seems not...
It should be added to ros-catkin.eclass when PYTHON_COMPAT is set. Any
hint on how to proceed ?



Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: x11-misc/screengrab/

2015-10-09 Thread Alexis Ballier
On Fri, 9 Oct 2015 19:40:33 +0200
hasufell  wrote:
> 
> It seems this package bundles x11-libs/libqxt, see
> https://github.com/DOOMer/screengrab/tree/531af39ef2563c9ae801bf6cffb441cc8e87b2e7/src/3rdparty/qxt
> and
> https://github.com/DOOMer/screengrab/tree/531af39ef2563c9ae801bf6cffb441cc8e87b2e7#build-requirements
> 
> (the hash is from the 1.2.1 release)


that kind of things is better tracked with a bug

(and iirc, sec team likes to be notified too)



[gentoo-dev] Last rites: dev-libs/libhash

2015-10-09 Thread Michael Palimaka
# Michael Palimaka 

[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: eclass/

2015-10-09 Thread hasufell
On 10/09/2015 01:17 PM, Alexis Ballier wrote:
> commit: 5220bb29741e1685b42a6312c0b7bf2821672040
> Author: Alexis Ballier  gentoo  org>
> AuthorDate: Fri Oct  9 11:16:38 2015 +
> Commit: Alexis Ballier  gentoo  org>
> CommitDate: Fri Oct  9 11:16:52 2015 +
> URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5220bb29
> 
> eclass: ros-catkin.eclass: Use cmake-utils_src_make instead of plain emake 
> for src_test so that it works with ninja too.
> 


Please try to use short summary lines and put more detailed description
into the commit message after a newline, also see
https://wiki.gentoo.org/wiki/Gentoo_git_workflow#Example

The prefix is also a bit uncommon, see
https://wiki.gentoo.org/wiki/Gentoo_git_workflow#Commit_message_format

Ofc, I will expect people to jump in and say "the council hasn't decided
on that yet", but well... it mostly works fine and is not really
controversial.



[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasm/

2015-10-09 Thread hasufell
On 10/08/2015 11:04 PM, Richard Farina wrote:
> commit: f05eda22c275381c669e6f2a88dabd1356a3541f
> Author: Zero_Chaos  gentoo  org>
> AuthorDate: Thu Oct  8 20:45:33 2015 +
> Commit: Richard Farina  gentoo  org>
> CommitDate: Thu Oct  8 21:04:37 2015 +
> URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f05eda22
> 
> dev-ruby/metasm: import from pentoo
> 
> Package-Manager: portage-2.2.22
> 
>  dev-ruby/metasm/Manifest   |  1 +
>  dev-ruby/metasm/metadata.xml   | 10 +++
>  dev-ruby/metasm/metasm-1.0.2-r1.ebuild | 52 
> ++
>  3 files changed, 63 insertions(+)
> 

[...]

> --- /dev/null
> +++ b/dev-ruby/metasm/metasm-1.0.2-r1.ebuild
> @@ -0,0 +1,52 @@
> +# Copyright 1999-2015 Gentoo Foundation
> +# Distributed under the terms of the GNU General Public License v2
> +# $Id$
> +
> +EAPI=5
> +USE_RUBY="ruby19 ruby20 ruby21"
> +
> +inherit ruby-fakegem
> +
> +RUBY_FAKEGEM_EXTRAINSTALL="metasm metasm.rb misc samples"
> +
> +DESCRIPTION="cross-architecture assembler, disassembler, linker, and 
> debugger"
> +HOMEPAGE="http://metasm.cr0.org/;
> +SRC_URI="mirror://rubygems/${P}.gem"
> +
> +LICENSE="BSD"
> +SLOT="${PV}"
> +KEYWORDS="~amd64 ~arm ~x86"
> +#IUSE="development test"
> +RESTRICT=test
> +IUSE=""
> +
> +RDEPEND="${RDEPEND} !dev-ruby/metasploit-model:0"
> +
> +ruby_add_rdepend ">=dev-ruby/railties-4.0.9:4.0
> + >=dev-ruby/activesupport-4.0.9:4.0
> + >=dev-ruby/activemodel-4.0.9:4.0"
> +ruby_add_bdepend "dev-ruby/bundler"
> +
> +all_ruby_prepare() {
> + [ -f Gemfile.lock ] && rm Gemfile.lock

missing "|| die" afais, should probably be

[ -f Gemfile.lock ] && { rm Gemfile.lock || die ; }

> + #For now, we don't support development or testing at all
> + #if ! use development; then
> + sed -i -e "/^group :development do/,/^end$/d" Gemfile || die
> + sed -i -e "/s.add_development_dependency/d" "${PN}".gemspec || 
> die
> + sed -i -e "/spec.add_development_dependency/d" "${PN}".gemspec 
> || die
> + #fi
> + #if ! use test; then
> + sed -i -e "/^group :test do/,/^end$/d" Gemfile || die
> + #fi
> + #if ! use test && ! use development; then
> + sed -i -e "/^group :development, :test do/,/^end$/d" Gemfile || 
> die
> + #fi
> +}
> +
> +each_ruby_prepare() {
> + if [ -f Gemfile ]
> + then
> + BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install 
> --local || die
> + BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
> + fi
> +}
> 




[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasploit-payloads/

2015-10-09 Thread hasufell
On 10/08/2015 11:04 PM, Richard Farina wrote:
> commit: 8fe8aa173945158ebd3bd849b6304992eb29ddeb
> Author: Zero_Chaos  gentoo  org>
> AuthorDate: Thu Oct  8 20:48:03 2015 +
> Commit: Richard Farina  gentoo  org>
> CommitDate: Thu Oct  8 21:04:40 2015 +
> URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fe8aa17
> 
> dev-ruby/metasploit-payloads: import version bump from pentoo
> 
> Package-Manager: portage-2.2.22
> 
>  dev-ruby/metasploit-payloads/Manifest  |  1 +
>  .../metasploit-payloads-1.0.15.ebuild  | 45 
> ++
>  2 files changed, 46 insertions(+)
> 
> diff --git a/dev-ruby/metasploit-payloads/Manifest 
> b/dev-ruby/metasploit-payloads/Manifest
> index f16e5c6..9450c38 100644
> --- a/dev-ruby/metasploit-payloads/Manifest
> +++ b/dev-ruby/metasploit-payloads/Manifest
> @@ -1 +1,2 @@
> +DIST metasploit-payloads-1.0.15.gem 5249536 SHA256 
> 8d186c3bcf8a4537b9a96301e8cc0d847335d3cfa87ca5b2e88a6b2980eab240 SHA512 
> 58afa5c4bc191a05e3ec009d94d40f2d9fc5a025962088845db14aefc410340fdc7b1e30f17c75936495a43fc99576d188960bc5755dbec434d7428fbbdd495a
>  WHIRLPOOL 
> d136642c1de9b18e652c421ad3b9fd859b8d8850dd539d66d4c8b410e09064d7872bc06c505b01d5389d1e2ebe22ed6b3c88aa3a0f08a1578f204201c24b3438
>  DIST metasploit-payloads-1.0.9.gem 5248000 SHA256 
> bd9eec335158dd25e579c680856f8c48aa9ba081a5d51d87a05dbb1e511087a3 SHA512 
> 4c08284d4b1d667f545d97e879b2581830f34d42560ba6d6ed7adf32312adc841d5fdd8b55ab4e06a196d1e313fb44fbb861ccac7790e50f88260e2def0a76ed
>  WHIRLPOOL 
> a398dcad94b38626d4bd3d9980d05a24ccdbc12bbd2e902dd4f78c9bcd2cf4a26c76645d989a00aec69d041d9203c5ff31e0b0f948028ac6cd06ae724d573950
> 
> diff --git a/dev-ruby/metasploit-payloads/metasploit-payloads-1.0.15.ebuild 
> b/dev-ruby/metasploit-payloads/metasploit-payloads-1.0.15.ebuild
> new file mode 100644
> index 000..87598a1
> --- /dev/null
> +++ b/dev-ruby/metasploit-payloads/metasploit-payloads-1.0.15.ebuild
> @@ -0,0 +1,45 @@
> +# Copyright 1999-2015 Gentoo Foundation
> +# Distributed under the terms of the GNU General Public License v2
> +# $Header: 
> /var/cvsroot/gentoo-x86/dev-ruby/meterpreter_bins/meterpreter_bins-0.0.10.ebuild,v
>  1.1 2014/10/19 23:24:24 zerochaos Exp $
> +

Incorrect header

[...]



[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasploit-payloads/

2015-10-09 Thread hasufell
On 10/08/2015 11:04 PM, Richard Farina wrote:
> commit: 8fe8aa173945158ebd3bd849b6304992eb29ddeb
> Author: Zero_Chaos  gentoo  org>
> AuthorDate: Thu Oct  8 20:48:03 2015 +
> Commit: Richard Farina  gentoo  org>
> CommitDate: Thu Oct  8 21:04:40 2015 +
> URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fe8aa17
> 
> dev-ruby/metasploit-payloads: import version bump from pentoo
> 
> Package-Manager: portage-2.2.22
> 
>  dev-ruby/metasploit-payloads/Manifest  |  1 +
>  .../metasploit-payloads-1.0.15.ebuild  | 45 
> ++
>  2 files changed, 46 insertions(+)
> 
> diff --git a/dev-ruby/metasploit-payloads/Manifest 
> b/dev-ruby/metasploit-payloads/Manifest
> index f16e5c6..9450c38 100644
> --- a/dev-ruby/metasploit-payloads/Manifest
> +++ b/dev-ruby/metasploit-payloads/Manifest
> @@ -1 +1,2 @@
> +DIST metasploit-payloads-1.0.15.gem 5249536 SHA256 
> 8d186c3bcf8a4537b9a96301e8cc0d847335d3cfa87ca5b2e88a6b2980eab240 SHA512 
> 58afa5c4bc191a05e3ec009d94d40f2d9fc5a025962088845db14aefc410340fdc7b1e30f17c75936495a43fc99576d188960bc5755dbec434d7428fbbdd495a
>  WHIRLPOOL 
> d136642c1de9b18e652c421ad3b9fd859b8d8850dd539d66d4c8b410e09064d7872bc06c505b01d5389d1e2ebe22ed6b3c88aa3a0f08a1578f204201c24b3438
>  DIST metasploit-payloads-1.0.9.gem 5248000 SHA256 
> bd9eec335158dd25e579c680856f8c48aa9ba081a5d51d87a05dbb1e511087a3 SHA512 
> 4c08284d4b1d667f545d97e879b2581830f34d42560ba6d6ed7adf32312adc841d5fdd8b55ab4e06a196d1e313fb44fbb861ccac7790e50f88260e2def0a76ed
>  WHIRLPOOL 
> a398dcad94b38626d4bd3d9980d05a24ccdbc12bbd2e902dd4f78c9bcd2cf4a26c76645d989a00aec69d041d9203c5ff31e0b0f948028ac6cd06ae724d573950
> 
> diff --git a/dev-ruby/metasploit-payloads/metasploit-payloads-1.0.15.ebuild 
> b/dev-ruby/metasploit-payloads/metasploit-payloads-1.0.15.ebuild
> new file mode 100644
> index 000..87598a1
> --- /dev/null
> +++ b/dev-ruby/metasploit-payloads/metasploit-payloads-1.0.15.ebuild
> @@ -0,0 +1,45 @@
> +# Copyright 1999-2015 Gentoo Foundation
> +# Distributed under the terms of the GNU General Public License v2
> +# $Header: 
> /var/cvsroot/gentoo-x86/dev-ruby/meterpreter_bins/meterpreter_bins-0.0.10.ebuild,v
>  1.1 2014/10/19 23:24:24 zerochaos Exp $
> +
> +EAPI=5
> +
> +USE_RUBY="ruby19 ruby20 ruby21"
> +
> +RUBY_FAKEGEM_TASK_DOC=""
> +
> +RUBY_FAKEGEM_EXTRAINSTALL="data"
> +
> +inherit ruby-fakegem
> +
> +DESCRIPTION="Compiled binaries for Metasploit's Meterpreter"
> +HOMEPAGE="https://rubygems.org/gems/metasploit-payloads;
> +
> +LICENSE="BSD"
> +
> +SLOT="${PV}"
> +KEYWORDS="~amd64 ~arm ~x86"
> +IUSE=""
> +
> +#no tests
> +RESTRICT="test strip"
> +
> +QA_PREBUILT="
> + 
> usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/msflinker_linux_x86.bin
> + 
> usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_sniffer.lso
> + 
> usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_networkpug.lso
> + 
> usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_stdapi.lso
> + 
> usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/armeabi/libndkstager.so
> + 
> usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/mips/libndkstager.so
> + 
> usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/x86/libndkstager.so
> + "
> +
> +src_install() {
> + ruby-ng_src_install
> + #tell revdep-rebuild to ignore binaries meant for the target
> + dodir /etc/revdep-rebuild
> + cat <<-EOF > "${ED}"/etc/revdep-rebuild/99-${PN}-${SLOT}
> + #These dirs contain prebuilt binaries for running on the TARGET 
> not the HOST
> + 
> SEARCH_DIRS_MASK="/usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs"
> + EOF
> +}
> 

technically, 'cat' can fail too (e.g. if directory does not exist), so
it should '|| die' at the end of this line




[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasploit-credential/

2015-10-09 Thread hasufell
On 10/08/2015 11:04 PM, Richard Farina wrote:
> commit: 7c78113940300a9ca123133d2eb69647d5220300
> Author: Zero_Chaos  gentoo  org>
> AuthorDate: Thu Oct  8 20:58:11 2015 +
> Commit: Richard Farina  gentoo  org>
> CommitDate: Thu Oct  8 21:04:44 2015 +
> URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c781139
> 
> dev-ruby/metasploit-credential: bump and fix deps
> 
> Metasploit::Credential::SSHKey depends on 'net/ssh', but 
> metasploit-credential does not declare the net-ssh gem as a runtime 
> dependency because metasploit-framework includes its own
> version of 'net/ssh' which would conflict with the gem.
> 
> Package-Manager: portage-2.2.22
> 
>  dev-ruby/metasploit-credential/Manifest|  1 +
>  .../metasploit-credential-1.0.1.ebuild | 27 
> ++
>  2 files changed, 28 insertions(+)
> 
> diff --git a/dev-ruby/metasploit-credential/Manifest 
> b/dev-ruby/metasploit-credential/Manifest
> index 948e652..208f07e 100644
> --- a/dev-ruby/metasploit-credential/Manifest
> +++ b/dev-ruby/metasploit-credential/Manifest
> @@ -1 +1,2 @@
>  DIST metasploit-credential-1.0.0.gem 101888 SHA256 
> 086cb65295f1294c213138bd2a9f2f727d945b90837a7e877b22bc6a47fe33f6 SHA512 
> 4af09458a83d9425c5bfd744bc3f366c08d9175b4c303fa9ff53dd3f2163ba654748ea883d22f069e3b3be1218b57afe909f7ba31feb54c0b7ff781af8d5e631
>  WHIRLPOOL 
> 506c707f3e1be0e90fad02397a34c70e44d1f423b5909d9f61152e2a4e929eadccf0736ec607c569fe75fff24c6003243d0a9a288979450b8c52d5f1feba1f6d
> +DIST metasploit-credential-1.0.1.gem 101888 SHA256 
> e37e02d962a00733f8a82d486ee8b38aa287503d61812fba9cca05e834d873ca SHA512 
> e2d77cf1af9b9f7c09c3b98fc61c032dd5890bc019d09e208706ea93560402c82abc5a3dbc178442fbc1597d9e43e8a98f76bdb71fe470e7091d5e79bb30660f
>  WHIRLPOOL 
> 15b568fa61f64d895df9a7c5c04ae22232f9d805fca71c565fc2db871b4c443c163a922d52faa1953b3fadb157d71a6ea1866d2f740eff0db3262d78066c812e
> 
> diff --git 
> a/dev-ruby/metasploit-credential/metasploit-credential-1.0.1.ebuild 
> b/dev-ruby/metasploit-credential/metasploit-credential-1.0.1.ebuild
> new file mode 100644
> index 000..1537643
> --- /dev/null
> +++ b/dev-ruby/metasploit-credential/metasploit-credential-1.0.1.ebuild
> @@ -0,0 +1,27 @@
> +# Copyright 1999-2015 Gentoo Foundation
> +# Distributed under the terms of the GNU General Public License v2
> +# $Header: Exp $
> +
>

Incorrect header.




Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasploit-payloads/

2015-10-09 Thread Michał Górny
Dnia 2015-10-09, o godz. 17:37:55
hasufell  napisał(a):

> On 10/08/2015 11:04 PM, Richard Farina wrote:
> > commit: 8fe8aa173945158ebd3bd849b6304992eb29ddeb
> > Author: Zero_Chaos  gentoo  org>
> > AuthorDate: Thu Oct  8 20:48:03 2015 +
> > Commit: Richard Farina  gentoo  org>
> > CommitDate: Thu Oct  8 21:04:40 2015 +
> > URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fe8aa17
> > 
> > dev-ruby/metasploit-payloads: import version bump from pentoo
> > 
> > Package-Manager: portage-2.2.22
> > 
> >  dev-ruby/metasploit-payloads/Manifest  |  1 +
> >  .../metasploit-payloads-1.0.15.ebuild  | 45 
> > ++
> >  2 files changed, 46 insertions(+)
> > 
> > diff --git a/dev-ruby/metasploit-payloads/Manifest 
> > b/dev-ruby/metasploit-payloads/Manifest
> > index f16e5c6..9450c38 100644
> > --- a/dev-ruby/metasploit-payloads/Manifest
> > +++ b/dev-ruby/metasploit-payloads/Manifest
> > @@ -1 +1,2 @@
> > +DIST metasploit-payloads-1.0.15.gem 5249536 SHA256 
> > 8d186c3bcf8a4537b9a96301e8cc0d847335d3cfa87ca5b2e88a6b2980eab240 SHA512 
> > 58afa5c4bc191a05e3ec009d94d40f2d9fc5a025962088845db14aefc410340fdc7b1e30f17c75936495a43fc99576d188960bc5755dbec434d7428fbbdd495a
> >  WHIRLPOOL 
> > d136642c1de9b18e652c421ad3b9fd859b8d8850dd539d66d4c8b410e09064d7872bc06c505b01d5389d1e2ebe22ed6b3c88aa3a0f08a1578f204201c24b3438
> >  DIST metasploit-payloads-1.0.9.gem 5248000 SHA256 
> > bd9eec335158dd25e579c680856f8c48aa9ba081a5d51d87a05dbb1e511087a3 SHA512 
> > 4c08284d4b1d667f545d97e879b2581830f34d42560ba6d6ed7adf32312adc841d5fdd8b55ab4e06a196d1e313fb44fbb861ccac7790e50f88260e2def0a76ed
> >  WHIRLPOOL 
> > a398dcad94b38626d4bd3d9980d05a24ccdbc12bbd2e902dd4f78c9bcd2cf4a26c76645d989a00aec69d041d9203c5ff31e0b0f948028ac6cd06ae724d573950
> > 
> > diff --git a/dev-ruby/metasploit-payloads/metasploit-payloads-1.0.15.ebuild 
> > b/dev-ruby/metasploit-payloads/metasploit-payloads-1.0.15.ebuild
> > new file mode 100644
> > index 000..87598a1
> > --- /dev/null
> > +++ b/dev-ruby/metasploit-payloads/metasploit-payloads-1.0.15.ebuild
> > @@ -0,0 +1,45 @@
> > +# Copyright 1999-2015 Gentoo Foundation
> > +# Distributed under the terms of the GNU General Public License v2
> > +# $Header: 
> > /var/cvsroot/gentoo-x86/dev-ruby/meterpreter_bins/meterpreter_bins-0.0.10.ebuild,v
> >  1.1 2014/10/19 23:24:24 zerochaos Exp $
> > +
> > +EAPI=5
> > +
> > +USE_RUBY="ruby19 ruby20 ruby21"
> > +
> > +RUBY_FAKEGEM_TASK_DOC=""
> > +
> > +RUBY_FAKEGEM_EXTRAINSTALL="data"
> > +
> > +inherit ruby-fakegem
> > +
> > +DESCRIPTION="Compiled binaries for Metasploit's Meterpreter"
> > +HOMEPAGE="https://rubygems.org/gems/metasploit-payloads;
> > +
> > +LICENSE="BSD"
> > +
> > +SLOT="${PV}"
> > +KEYWORDS="~amd64 ~arm ~x86"
> > +IUSE=""
> > +
> > +#no tests
> > +RESTRICT="test strip"
> > +
> > +QA_PREBUILT="
> > +   
> > usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/msflinker_linux_x86.bin
> > +   
> > usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_sniffer.lso
> > +   
> > usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_networkpug.lso
> > +   
> > usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_stdapi.lso
> > +   
> > usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/armeabi/libndkstager.so
> > +   
> > usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/mips/libndkstager.so
> > +   
> > usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/x86/libndkstager.so
> > +   "
> > +
> > +src_install() {
> > +   ruby-ng_src_install
> > +   #tell revdep-rebuild to ignore binaries meant for the target
> > +   dodir /etc/revdep-rebuild
> > +   cat <<-EOF > "${ED}"/etc/revdep-rebuild/99-${PN}-${SLOT}
> > +   #These dirs contain prebuilt binaries for running on the TARGET 
> > not the HOST
> > +   
> > SEARCH_DIRS_MASK="/usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs"
> > +   EOF
> > +}
> > 
> 
> technically, 'cat' can fail too (e.g. if directory does not exist), so
> it should '|| die' at the end of this line

Before someone gets confused, the correct bash syntax here is:

  cat <<-EOF > "${ED}"/etc/revdep-rebuild/99-${PN}-${SLOT} || die
...
  EOF

-- 
Best regards,
Michał Górny



pgpdERYOuhGtk.pgp
Description: OpenPGP digital signature