From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2806513888F for ; Fri, 9 Oct 2015 15:42:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD93B21C020; Fri, 9 Oct 2015 15:42:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CCFE521C003 for ; Fri, 9 Oct 2015 15:42:26 +0000 (UTC) Received: from pomiot (77-254-165-0.adsl.inetia.pl [77.254.165.0]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id A16143406C2; Fri, 9 Oct 2015 15:42:23 +0000 (UTC) Date: Fri, 9 Oct 2015 17:42:08 +0200 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: hasufell Cc: gentoo-dev@lists.gentoo.org, Richard Farina Subject: Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasploit-payloads/ Message-ID: <20151009174208.20b6d59d.mgorny@gentoo.org> In-Reply-To: <5617DF53.9020508@gentoo.org> References: <1444338280.8fe8aa173945158ebd3bd849b6304992eb29ddeb.zerochaos@gentoo> <5617DF53.9020508@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/2SmsYTIjlCIO2Ls4AKazxt/"; protocol="application/pgp-signature" X-Archives-Salt: 00425392-0a64-4bee-a033-a50fee93dada X-Archives-Hash: a6f15bd12a6688eb2961d71cede44889 --Sig_/2SmsYTIjlCIO2Ls4AKazxt/ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Dnia 2015-10-09, o godz. 17:37:55 hasufell napisa=C5=82(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 +0000 > > Commit: Richard Farina gentoo org> > > CommitDate: Thu Oct 8 21:04:40 2015 +0000 > > URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3D8fe8= aa17 > >=20 > > dev-ruby/metasploit-payloads: import version bump from pentoo > >=20 > > Package-Manager: portage-2.2.22 > >=20 > > dev-ruby/metasploit-payloads/Manifest | 1 + > > .../metasploit-payloads-1.0.15.ebuild | 45 ++++++++++++++= ++++++++ > > 2 files changed, 46 insertions(+) > >=20 > > diff --git a/dev-ruby/metasploit-payloads/Manifest b/dev-ruby/metasploi= t-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 8d186c3bcf8a4537b9a= 96301e8cc0d847335d3cfa87ca5b2e88a6b2980eab240 SHA512 58afa5c4bc191a05e3ec00= 9d94d40f2d9fc5a025962088845db14aefc410340fdc7b1e30f17c75936495a43fc99576d18= 8960bc5755dbec434d7428fbbdd495a WHIRLPOOL d136642c1de9b18e652c421ad3b9fd859= b8d8850dd539d66d4c8b410e09064d7872bc06c505b01d5389d1e2ebe22ed6b3c88aa3a0f08= a1578f204201c24b3438 > > DIST metasploit-payloads-1.0.9.gem 5248000 SHA256 bd9eec335158dd25e579= c680856f8c48aa9ba081a5d51d87a05dbb1e511087a3 SHA512 4c08284d4b1d667f545d97e= 879b2581830f34d42560ba6d6ed7adf32312adc841d5fdd8b55ab4e06a196d1e313fb44fbb8= 61ccac7790e50f88260e2def0a76ed WHIRLPOOL a398dcad94b38626d4bd3d9980d05a24cc= dbc12bbd2e902dd4f78c9bcd2cf4a26c76645d989a00aec69d041d9203c5ff31e0b0f948028= ac6cd06ae724d573950 > >=20 > > diff --git a/dev-ruby/metasploit-payloads/metasploit-payloads-1.0.15.eb= uild b/dev-ruby/metasploit-payloads/metasploit-payloads-1.0.15.ebuild > > new file mode 100644 > > index 0000000..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/meterpret= er_bins-0.0.10.ebuild,v 1.1 2014/10/19 23:24:24 zerochaos Exp $ > > + > > +EAPI=3D5 > > + > > +USE_RUBY=3D"ruby19 ruby20 ruby21" > > + > > +RUBY_FAKEGEM_TASK_DOC=3D"" > > + > > +RUBY_FAKEGEM_EXTRAINSTALL=3D"data" > > + > > +inherit ruby-fakegem > > + > > +DESCRIPTION=3D"Compiled binaries for Metasploit's Meterpreter" > > +HOMEPAGE=3D"https://rubygems.org/gems/metasploit-payloads" > > + > > +LICENSE=3D"BSD" > > + > > +SLOT=3D"${PV}" > > +KEYWORDS=3D"~amd64 ~arm ~x86" > > +IUSE=3D"" > > + > > +#no tests > > +RESTRICT=3D"test strip" > > + > > +QA_PREBUILT=3D" > > + usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/msf= linker_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/ar= meabi/libndkstager.so > > + usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/mi= ps/libndkstager.so > > + usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/x8= 6/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=3D"/usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/an= droid/libs" > > + EOF > > +} > >=20 >=20 > 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 --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/2SmsYTIjlCIO2Ls4AKazxt/ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJWF+BRXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOzfgP/izOfCHkhTnyfVh27dMrukr/ EThBkl+EfrAxyPHruUv9NPcaS5KxNfm2wOxsrKryXc02nQjhr8dRRFSYzGe2ND/c EdVoluW/v/F7YmQ2bfBzC9JxPsrluBJDzKjKCXsOrH2UyDbFcVha9bTNZ8nx3b0t nnyeDXgX9CkjQDU0huuyEjNfhBeGQttT7ssVaUAb5+NZnMir2pxYH/4rHBFrg2Wa TtZ/Iedw8fqD345iYyDlhjeKhRFdlX+a3mIEHJiSgRJvEW3dfWhcfoloEYdPbfhT RQceZ6kS+NVJEW/v/+eHm8yGmKnfYpAfEVxtYR9cnHUUNwhJ2+H7BZtD0+/ybHnv Ikj+/KSpzaA/OL0PeI2as+EZfSIrdH8mZXgWTzgVjTTZth8dHDgFeosZaN7IxUD3 mbWpPoht8NdRg2LNsVmV31SyzCj2se5QehenA68zduSnPbe4Aq5Ie2MW7/Krbr3y 0oTssi1OwRNePnH6v8D0TXC0jeR9fIGbVbwctjIAVS81MVzzdxgcg1HC45u+4iPG HoToSSPsezU8Om06+u506O31gD/5m6To9wxrDC6PsLRde6Ynr33USvIoG+0jx8YS d2frtTwchY6bV77TfNpvAB7DzhDdNozOr4F5zNjsZLXuyFdyeGm2nHQIKluR5NW/ ItXfeR5PPIOns+8Ev2CU =o9hm -----END PGP SIGNATURE----- --Sig_/2SmsYTIjlCIO2Ls4AKazxt/--