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 75A4E1384B4 for ; Wed, 18 Nov 2015 11:13:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ACC6EE079D; Wed, 18 Nov 2015 11:13:13 +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 4711AE079D for ; Wed, 18 Nov 2015 11:13:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E3D6F34092D for ; Wed, 18 Nov 2015 11:13:10 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 03F791A8 for ; Wed, 18 Nov 2015 11:13:09 +0000 (UTC) From: "Sergey Popov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergey Popov" Message-ID: <1447845183.ef57bc87b6e20084ee342b327c28d50626368407.pinkbyte@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/uudeview/files/, app-text/uudeview/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/uudeview/files/uudeview-0.5.20-makefile.patch app-text/uudeview/uudeview-0.5.20-r2.ebuild X-VCS-Directories: app-text/uudeview/files/ app-text/uudeview/ X-VCS-Committer: pinkbyte X-VCS-Committer-Name: Sergey Popov X-VCS-Revision: ef57bc87b6e20084ee342b327c28d50626368407 X-VCS-Branch: master Date: Wed, 18 Nov 2015 11:13:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: deff7272-7136-4c60-88e2-b4ccdefe65c6 X-Archives-Hash: bdc4fe879bf075738d8a3eb821b67d62 commit: ef57bc87b6e20084ee342b327c28d50626368407 Author: Sergey Popov gentoo org> AuthorDate: Wed Nov 18 11:06:08 2015 +0000 Commit: Sergey Popov gentoo org> CommitDate: Wed Nov 18 11:13:03 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef57bc87 app-text/uudeview: revision bump EAPI 5, add support for user patches, do not use deprecated einstall in src_install Package-Manager: portage-2.2.23 .../uudeview/files/uudeview-0.5.20-makefile.patch | 29 ++++++++++++++ app-text/uudeview/uudeview-0.5.20-r2.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/app-text/uudeview/files/uudeview-0.5.20-makefile.patch b/app-text/uudeview/files/uudeview-0.5.20-makefile.patch new file mode 100644 index 0000000..ed3cdf6 --- /dev/null +++ b/app-text/uudeview/files/uudeview-0.5.20-makefile.patch @@ -0,0 +1,29 @@ +--- Makefile.in.orig 2015-11-18 13:52:44.173432349 +0300 ++++ Makefile.in 2015-11-18 13:53:39.244429093 +0300 +@@ -183,22 +183,22 @@ + + install: $(DOINST) + -for d in $(MPAGES) ; do \ +- $(INSTALL_DATA) $(srcdir)/man/$$d $(MANDIR)/man1/$$d ; \ ++ $(INSTALL_DATA) $(srcdir)/man/$$d $(DESTDIR)$(MANDIR)/man1/$$d ; \ + done + + install-uudeview: uudeview + for d in uudeview uuenview ; do \ +- $(INSTALL_PROGRAM) unix/$$d $(BINDIR)/$$d ; \ ++ $(INSTALL_PROGRAM) unix/$$d $(DESTDIR)$(BINDIR)/$$d ; \ + done + + install-tcl: xdeview + for d in xdeview uuwish ; do \ +- $(INSTALL_PROGRAM) tcl/$$d $(BINDIR)/$$d ; \ ++ $(INSTALL_PROGRAM) tcl/$$d $(DESTDIR)$(BINDIR)/$$d ; \ + done + + install-minews: minews + for d in minews ; do \ +- $(INSTALL_PROGRAM) inews/$$d $(BINDIR)/$$d ; \ ++ $(INSTALL_PROGRAM) inews/$$d $(DESTDIR)$(BINDIR)/$$d ; \ + done + + links: tcl/config.h unix/config.h uulib/config.h diff --git a/app-text/uudeview/uudeview-0.5.20-r2.ebuild b/app-text/uudeview/uudeview-0.5.20-r2.ebuild new file mode 100644 index 0000000..5964696 --- /dev/null +++ b/app-text/uudeview/uudeview-0.5.20-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils autotools + +DESCRIPTION="uu, xx, base64, binhex decoder" +HOMEPAGE="http://www.fpx.de/fp/Software/UUDeview/" +SRC_URI="http://www.fpx.de/fp/Software/UUDeview/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="tk" + +RDEPEND="tk? ( dev-lang/tk:0 )" +DEPEND="${RDEPEND}" + +DOCS=( HISTORY INSTALL README ) + +PATCHES=( + "${FILESDIR}/${P}-bugfixes.patch" + "${FILESDIR}/${P}-CVE-2004-2265.patch" + "${FILESDIR}/${P}-CVE-2008-2266.patch" + "${FILESDIR}/${P}-man.patch" + "${FILESDIR}/${P}-rename.patch" + "${FILESDIR}/${P}-makefile.patch" +) + +src_prepare() { + epatch ${PATCHES[@]} + + mv configure.in configure.ac || die + + epatch_user + eautoreconf +} + +src_configure() { + econf \ + $(use_enable tk tcl) \ + $(use_enable tk) +}