diff options
author | Greg Kroah-Hartman <gregkh@gentoo.org> | 2013-08-29 23:18:56 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@gentoo.org> | 2013-08-29 23:18:56 +0000 |
commit | f8f42874493609b2dc85a42e457fb853ff256a40 (patch) | |
tree | a339b52d406e6bdc1b5400f43375d612bd36e779 /app-crypt | |
parent | amd64/ppc/ppc64/x86 stable wrt bug #482926 (diff) | |
download | gentoo-2-f8f42874493609b2dc85a42e457fb853ff256a40.tar.gz gentoo-2-f8f42874493609b2dc85a42e457fb853ff256a40.tar.bz2 gentoo-2-f8f42874493609b2dc85a42e457fb853ff256a40.zip |
0.108 pesign added
(Portage version: 2.2.1/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/pesign/ChangeLog | 9 | ||||
-rw-r--r-- | app-crypt/pesign/files/destdir.patch | 10 | ||||
-rw-r--r-- | app-crypt/pesign/metadata.xml | 8 | ||||
-rw-r--r-- | app-crypt/pesign/pesign-0.108.ebuild | 53 |
4 files changed, 80 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/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 +#} |