Gentoo Archives: gentoo-dev

From: hasufell <hasufell@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/metasploit/
Date: Fri, 09 Oct 2015 15:48:15
Message-Id: 5617E1B3.8090806@gentoo.org
In Reply to: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/metasploit/ by hasufell
1 On 10/09/2015 05:42 PM, hasufell wrote:
2 >> +
3 >> +QA_PREBUILT="
4 >> + usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x86_linux.bin
5 >> + usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_armle_linux.bin
6 >> + usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x86_solaris.bin
7 >> + usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x64_linux.bin
8 >> + usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x64_linux_dll.bin
9 >> + usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x86_bsd.bin
10 >> + usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x64_bsd.bin
11 >> + usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_mipsbe_linux.bin
12 >> + usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_mipsle_linux.bin
13 >> + usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/msflinker_linux_x86.bin
14 >> + usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/ext_server_sniffer.lso
15 >> + usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/ext_server_networkpug.lso
16 >> + usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/ext_server_stdapi.lso
17 >> + usr/$(get_libdir)/${PN}${SLOT}/data/exploits/CVE-2013-2171.bin
18 >> + usr/$(get_libdir)/${PN}${SLOT}/data/exploits/CVE-2014-3153.elf
19 >> + usr/$(get_libdir)/${PN}${SLOT}/data/android/libs/x86/libndkstager.so
20 >> + usr/$(get_libdir)/${PN}${SLOT}/data/android/libs/mips/libndkstager.so
21 >> + usr/$(get_libdir)/${PN}${SLOT}/data/android/libs/armeabi/libndkstager.so
22 >> + "
23 >> +
24 >
25 > I think $(get_libdir) is not allowed in global scope and breaks metadata.
26 >
27 > You can use probably 'usr/lib*/...'
28 >
29 > [...]
30 >
31
32 And this is the same in dev-ruby/metasploit-payloads ebuild