summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@gentoo.org>2013-08-29 23:19:01 +0000
committerGreg Kroah-Hartman <gregkh@gentoo.org>2013-08-29 23:19:01 +0000
commitb052b1a5f0d9cc820d9ee579d30cd91289f1ca52 (patch)
treec277ece60b7a57bd69c1c8bae02b6d3ff6011f0a /app-crypt/pesign
parentamd64/ppc/ppc64/x86 stable wrt bug #482926 (diff)
downloadhistorical-b052b1a5f0d9cc820d9ee579d30cd91289f1ca52.tar.gz
historical-b052b1a5f0d9cc820d9ee579d30cd91289f1ca52.tar.bz2
historical-b052b1a5f0d9cc820d9ee579d30cd91289f1ca52.zip
0.108 pesign added
Package-Manager: portage-2.2.1/cvs/Linux x86_64
Diffstat (limited to 'app-crypt/pesign')
-rw-r--r--app-crypt/pesign/ChangeLog9
-rw-r--r--app-crypt/pesign/Manifest5
-rw-r--r--app-crypt/pesign/files/destdir.patch10
-rw-r--r--app-crypt/pesign/metadata.xml8
-rw-r--r--app-crypt/pesign/pesign-0.108.ebuild53
5 files changed, 85 insertions, 0 deletions
diff --git a/app-crypt/pesign/ChangeLog b/app-crypt/pesign/ChangeLog
new file mode 100644
index 000000000000..b397e94b6370
--- /dev/null
+++ b/app-crypt/pesign/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-crypt/pesign
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pesign/ChangeLog,v 1.1 2013/08/29 23:18:55 gregkh Exp $
+
+*pesign-0.108 (29 Aug 2013)
+
+ 29 Aug 2013; Greg Kroah-Hartman <gregkh@gentoo.org> +files/destdir.patch,
+ +metadata.xml, +pesign-0.108.ebuild:
+ 0.108 pesign added
diff --git a/app-crypt/pesign/Manifest b/app-crypt/pesign/Manifest
new file mode 100644
index 000000000000..d2e759e14eed
--- /dev/null
+++ b/app-crypt/pesign/Manifest
@@ -0,0 +1,5 @@
+AUX destdir.patch 249 SHA256 75aae3e3b4c009ab5ac039203cd6cfb382d2c8d0e670df62b6a8c64a34971449 SHA512 dc35c71d6143c164d17723bfbb5f899c863abb4ca46a96356054e46fcedf9d708f9f4ef3345bd5966b9e492cbfa9dd5e3e85545853799859315ed57640c03ee4 WHIRLPOOL bf0fc9403299166fe9dfebe46628417e069697e261c0bd17b74043497b1bc1e5b27662725980b3108da63ddbbf3adaca5a859bd93f728d60f47d76c29ca42404
+DIST 0.108.tar.gz 96838 SHA256 2019882be0286df1c58efa8c588332106b89418a6bd0fce3de8da4ca16636986 SHA512 f72fb9c3e843341300b68e06bb153690734f6e506cdd9f0d9362c760ff48194ed1ed29e0b58a5050e7331069ad47a9902cc9e34bf616667baf84208f2b69a918 WHIRLPOOL 0af005d0b6dbdff23787c009153cae07c6907d111f57831611e85c49656e29e150ffd71683f349880cfb8975547ea3a3e655cdce31b047b355ecf097e7c7ba77
+EBUILD pesign-0.108.ebuild 1290 SHA256 2d9a121989069d960c76bc548f7fbdf601b3a306bb33595a8243193bfac5f054 SHA512 ad8ee75edffeb19a9e05f57a81e3b4c711253ba0ac08f7d1a12886d6f79fa9b6235fbbbc84c25f133b73470d763a19804ad5822a9436a22a44ff79482fb8ea3e WHIRLPOOL f5a17f023674af27cfd715385265497923627fc5e62a894fb09d09be0b8dac3759e352eef5298cfbdbbd066cffa3566bba769878186558a4acd6b3a07bd23d7e
+MISC ChangeLog 370 SHA256 cb55b2d04ee9f5ddf3cf6eaed2a3ba7e975538a05fe40b2fff6f57baa418c019 SHA512 d99ff90a4b2ee4a99ffedbfc7ef5a84ffd787fbb965cbab5b3218de047264b28ea26d556fafa76779f4bc3bee0593f146437cbd9e965f9ed2ced10f68cd157c3 WHIRLPOOL 83c89288e05a2471c0aaec029e372b467d0c90491eedea24c459d97c62039bb2158513c143219630422d7290cbbdbd18e70e5cd34dc371cb2bff40f2fbec94a3
+MISC metadata.xml 240 SHA256 060d4d570194ff567e10d66246f85d4b9fee1efb17d111aeb9f03345f6e20efd SHA512 41a5c4b9e67d814937a0524714617a059c1351a00ac12d9344373f43b41d074e24fab5598e44c8a22f1848bfa12b8fc76cd5674ca62cd1f917b3235c77721971 WHIRLPOOL da0b560d9528cfe4fcff409de2d9749cf9ae8b7a04468b42463e8097b89e152a67a0da0ea7e6db1186f852687979c2e843e487a5eb76e663717148a796aa093d
diff --git a/app-crypt/pesign/files/destdir.patch b/app-crypt/pesign/files/destdir.patch
new file mode 100644
index 000000000000..70332410a3c8
--- /dev/null
+++ b/app-crypt/pesign/files/destdir.patch
@@ -0,0 +1,10 @@
+diff --git a/Make.defaults b/Make.defaults
+index 864f98b..e2c967b 100644
+--- a/Make.defaults
++++ b/Make.defaults
+@@ -1,4 +1,4 @@
+-INSTALLROOT:= /
++INSTALLROOT:= $(DESTDIR)
+ PREFIX := /usr
+
+ HOSTARCH = $(shell uname -m | sed s,i[3456789]86,ia32,)
diff --git a/app-crypt/pesign/metadata.xml b/app-crypt/pesign/metadata.xml
new file mode 100644
index 000000000000..0947421cbd38
--- /dev/null
+++ b/app-crypt/pesign/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>vapier@gentoo.org</email>
+ <description>do whatever</description>
+</maintainer>
+</pkgmetadata>
diff --git a/app-crypt/pesign/pesign-0.108.ebuild b/app-crypt/pesign/pesign-0.108.ebuild
new file mode 100644
index 000000000000..f8ea85373db1
--- /dev/null
+++ b/app-crypt/pesign/pesign-0.108.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pesign/pesign-0.108.ebuild,v 1.1 2013/08/29 23:18:55 gregkh Exp $
+
+EAPI="4"
+inherit eutils multilib
+
+DESCRIPTION="Tools for manipulating signed PE-COFF binaries"
+HOMEPAGE="https://github.com/vathpela/pesign"
+SRC_URI="https://github.com/vathpela/${PN}/archive/${PV}.tar.gz"
+
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/openssl
+ sys-apps/util-linux"
+DEPEND="${RDEPEND}
+ sys-apps/help2man
+ sys-boot/gnu-efi
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/destdir.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+ dodoc README COPYING TODO || die
+
+ # remove some files that don't make sense for Gentoo installs
+ rm -rf ${D}/etc/
+ rm -rf ${D}/usr/share/doc/pesign/
+
+ # create .so symlink
+ cd ${D}/usr/$(get_libdir)/
+ #cd ${D}/lib64/
+ ln -s libdpe.so libdpe.so.0
+}
+#
+#src_prepare() {
+# local iarch
+# case ${ARCH} in
+# ia64) iarch=ia64 ;;
+# x86) iarch=ia32 ;;
+# amd64) iarch=x86_64 ;;
+# *) die "unsupported architecture: ${ARCH}" ;;
+# esac
+# sed -i "/^EFI_ARCH=/s:=.*:=${iarch}:" configure || die
+# sed -i 's/-m64$/& -march=x86-64/' tests/Makefile.in || die
+#}