public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/pacman/, sys-apps/pacman/files/
@ 2017-08-07 17:04 Amy Liffey
  0 siblings, 0 replies; 2+ messages in thread
From: Amy Liffey @ 2017-08-07 17:04 UTC (permalink / raw
  To: gentoo-commits

commit:     aa655378e457e47abd9c358df124e2bc754231f7
Author:     Nils Freydank <holgersson <AT> posteo <DOT> de>
AuthorDate: Mon Aug  7 15:42:53 2017 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Mon Aug  7 17:03:06 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa655378

sys-apps/pacman-4.x: Security cleanup wrt Gentoo bug #585940.

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 sys-apps/pacman/Manifest                       |  2 -
 sys-apps/pacman/files/pacman-4.0.0-gpgme.patch | 45 --------------
 sys-apps/pacman/pacman-4.0.1.ebuild            | 82 ------------------------
 sys-apps/pacman/pacman-4.0.3-r1.ebuild         | 86 --------------------------
 sys-apps/pacman/pacman-4.0.3.ebuild            | 82 ------------------------
 5 files changed, 297 deletions(-)

diff --git a/sys-apps/pacman/Manifest b/sys-apps/pacman/Manifest
index 679b00ebe9d..c2e540aa814 100644
--- a/sys-apps/pacman/Manifest
+++ b/sys-apps/pacman/Manifest
@@ -1,3 +1 @@
-DIST pacman-4.0.1.tar.gz 1897685 SHA256 04f6822b31022100de6cd0a1905b199bbd1eaf878ef0726b6242ee032f3c33b1 SHA512 3508fd4ef02c1b6ed5220946a9b7a54ebc24b4b5444c0fd58ada5e4bae9486be2aa38043c313bc2c82d485b03f7283f7754244a944c8529649fb4edbc0851de9 WHIRLPOOL 429e5c59f116d1d053c597f0fa186ece6bd5c042c58a257c5bf75ed4cd8eec11bdd282bb4ec2900c79b5f0aabe6dd2accebea71355fbb315d2d9522745d7d58d
-DIST pacman-4.0.3.tar.gz 1961839 SHA256 a48696ae51aaccf31a69ea7916ba9b06e7836eb933b8a281c666729c9d55ce25 SHA512 a1c7607470f0c54affe09a1b0491cdc310f37accaf782489439fd80f85b7b0ae313c477f5f3075ddef86234364b2b317e9f6abe618722b603cc9808fbba2b326 WHIRLPOOL f01c0ee89e471fbf08d71abe6e1413d7102ce6b20d20a1658a88f4600df01e9485420975ef698765b2f358e83dffe84d68df0891a6d888a35826254db33856ed
 DIST pacman-5.0.2.tar.gz 3361701 SHA256 dfd36086ad68564bcd977f4a1fafe51dd328acd4a95093ac4bf1249be9c41f0e SHA512 94a8cce1a52d2365a993c72f16537f4dbea6100feb8f22e8782cc7d2c1ef8a525a63f3c40bb183294c0faedcc743e3d806d2fc3c50a21ab9b03df2910039d628 WHIRLPOOL 2419486287d1ce26d97b3ad53513b4699d876cf5823f65b10d60d8f1df6b2150bc1b742677a60891dccc32bb2105a9a9bb10b58950f5403d0bd64859b0b8640b

diff --git a/sys-apps/pacman/files/pacman-4.0.0-gpgme.patch b/sys-apps/pacman/files/pacman-4.0.0-gpgme.patch
deleted file mode 100644
index ab0f57c7a16..00000000000
--- a/sys-apps/pacman/files/pacman-4.0.0-gpgme.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From fc732def0944aac5c7b18860b4f46444e6d50044 Mon Sep 17 00:00:00 2001
-From: Nathan Phillip Brink <binki@gentoo.org>
-Date: Mon, 17 Oct 2011 21:01:22 +0000
-Subject: [PATCH] Use AM_GPGME_PATH macro from gpgme instead of home-built gpgme detection.
-
-Fixes compilation on Gentoo, where CPPFLAGS=-I/usr/include/gpgme is
-necessary.
----
- configure.ac |   20 ++++++++++++--------
- 1 files changed, 12 insertions(+), 8 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index c23da75..87cd359 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -161,14 +161,18 @@ AM_CONDITIONAL([HAVE_LIBSSL], [test "x$with_openssl" = "xyes"])
- # Check for gpgme
- AC_MSG_CHECKING(whether to link with libgpgme)
- AS_IF([test "x$with_gpgme" != "xno"],
--	[AC_MSG_RESULT(yes)
--	AC_CHECK_LIB([gpgme], [gpgme_check_version], ,
--	[if test "x$with_gpgme" != "xcheck"; then
--		AC_MSG_FAILURE([--with-ggpme was given, but -lgpgme was not found])
--	fi],
--	[-lgpgme])
--	with_gpgme=$ac_cv_lib_gpgme_gpgme_check_version],
--	AC_MSG_RESULT(no))
-+	[AC_MSG_RESULT([yes])],
-+	[AC_MSG_RESULT([no])])
-+AS_IF([test "x$with_gpgme" != "xno"],
-+	[AM_PATH_GPGME([],
-+		[LIBS="$LIBS $GPGME_LIBS"
-+		CPPFLAGS="$CPPFLAGS $GPGME_CPPFLAGS"
-+		CFLAGS="$CFLAGS $GPGME_CFLAGS"
-+		with_gpgme=yes
-+		AC_DEFINE([HAVE_LIBGPGME], [1], [Define if gpgme should be used to provide GPG signature support.])],
-+		[AS_IF([test "x$with_gpgme" != "xcheck"],
-+			[AC_MSG_FAILURE([--with-gpgme was given, but gpgme was not found])])
-+		with_gpgme=no])])
- AM_CONDITIONAL([HAVE_LIBGPGME], [test "x$with_gpgme" = "xyes"])
- 
- # Checks for header files.
--- 
-1.7.3.4
-

diff --git a/sys-apps/pacman/pacman-4.0.1.ebuild b/sys-apps/pacman/pacman-4.0.1.ebuild
deleted file mode 100644
index 44c51197f16..00000000000
--- a/sys-apps/pacman/pacman-4.0.1.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit autotools autotools-utils bash-completion-r1 eutils
-
-DESCRIPTION="Archlinux's binary package manager"
-HOMEPAGE="http://archlinux.org/pacman/"
-SRC_URI="ftp://ftp.archlinux.org/other/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="curl debug doc gpg test"
-
-COMMON_DEPEND="app-arch/libarchive
-	dev-libs/openssl
-	virtual/libiconv
-	virtual/libintl
-	sys-devel/gettext
-	curl? ( net-misc/curl )
-	gpg? ( app-crypt/gpgme )"
-RDEPEND="${COMMON_DEPEND}
-	app-arch/xz-utils"
-# autoconf macros from gpgme requied unconditionally
-DEPEND="${COMMON_DEPEND}
-	app-crypt/gpgme
-	doc? ( app-doc/doxygen
-		app-text/asciidoc )
-	test? ( dev-lang/python )"
-
-RESTRICT="test"
-
-src_prepare() {
-	# Adds AM_GPGME_PATH call which requires app-crypt/gpgme to be
-	# DEPENDed on unconditionally:
-	epatch "${FILESDIR}"/${PN}-4.0.0-gpgme.patch
-
-	# Remove a line that adds -Werror in ./configure when --enable-debug
-	# is passed:
-	sed -i -e '/-Werror/d' configure.ac || die "-Werror"
-
-	# autopoint is unwilling to replace m4/gettext.m4 with the correct
-	# version even though it'll gladly replace */po/Makefile.in.in,
-	# creating an inconsistency between gettext m4 macros and
-	# Makefile.in.in. Also, AM_MKINSTALLDIRS apparently doesn't exist
-	# anymore, so we need newer gettext macros. #420469
-	rm m4/gettext.m4 || die
-	sed -i -e '/AM_GNU_GETTEXT_VERSION/s/0\.13\.1/0.18.1/' configure.ac || die
-
-	eautoreconf
-}
-
-src_configure() {
-	local myeconfargs=(
-		--localstatedir=/var
-		--disable-git-version
-		--with-openssl
-		# Help protect user from shooting his/her Gentoo installation in
-		# its foot.
-		--with-root-dir="${EPREFIX}"/var/chroot/archlinux
-		$(use_enable debug)
-		$(use_enable doc)
-		$(use_enable doc doxygen)
-		$(use_with curl libcurl)
-		$(use_with gpg gpgme)
-	)
-	autotools-utils_src_configure
-}
-
-src_install() {
-	autotools-utils_src_install
-
-	dodir /etc/pacman.d
-	newbashcomp "${AUTOTOOLS_BUILD_DIR}"/contrib/bash_completion pacman
-}
-
-pkg_postinst() {
-	einfo "Please see http://ohnopub.net/~ohnobinki/gentoo/arch/ for information"
-	einfo "about setting up an archlinux chroot."
-}

diff --git a/sys-apps/pacman/pacman-4.0.3-r1.ebuild b/sys-apps/pacman/pacman-4.0.3-r1.ebuild
deleted file mode 100644
index c7ff22ff936..00000000000
--- a/sys-apps/pacman/pacman-4.0.3-r1.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-PYTHON_COMPAT=( python2_7 )
-inherit autotools autotools-utils bash-completion-r1 eutils python-any-r1
-
-DESCRIPTION="Archlinux's binary package manager"
-HOMEPAGE="http://archlinux.org/pacman/"
-SRC_URI="ftp://ftp.archlinux.org/other/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="curl debug doc gpg test"
-
-COMMON_DEPEND="app-arch/libarchive
-	dev-libs/openssl
-	virtual/libiconv
-	virtual/libintl
-	sys-devel/gettext
-	curl? ( net-misc/curl )
-	gpg? ( app-crypt/gpgme )"
-RDEPEND="${COMMON_DEPEND}
-	app-arch/xz-utils"
-# autoconf macros from gpgme requied unconditionally
-# makepkg collision with old bash-completion
-DEPEND="${COMMON_DEPEND}
-	app-crypt/gpgme
-	doc? ( app-doc/doxygen
-		app-text/asciidoc )
-	test? ( ${PYTHON_DEPS} )
-	!<=app-shells/bash-completion-2.1-r90"
-
-RESTRICT="test"
-
-src_prepare() {
-	# Adds AM_GPGME_PATH call which requires app-crypt/gpgme to be
-	# DEPENDed on unconditionally:
-	epatch "${FILESDIR}"/${PN}-4.0.0-gpgme.patch
-
-	# Remove a line that adds -Werror in ./configure when --enable-debug
-	# is passed:
-	sed -i -e '/-Werror/d' configure.ac || die "-Werror"
-
-	# autopoint is unwilling to replace m4/gettext.m4 with the correct
-	# version even though it'll gladly replace */po/Makefile.in.in,
-	# creating an inconsistency between gettext m4 macros and
-	# Makefile.in.in. Also, AM_MKINSTALLDIRS apparently doesn't exist
-	# anymore, so we need newer gettext macros. #420469
-	rm m4/gettext.m4 || die
-	sed -i -e '/AM_GNU_GETTEXT_VERSION/s/0\.13\.1/0.18.1/' configure.ac || die
-
-	eautoreconf
-}
-
-src_configure() {
-	local myeconfargs=(
-		--localstatedir=/var
-		--disable-git-version
-		--with-openssl
-		# Help protect user from shooting his/her Gentoo installation in
-		# its foot.
-		--with-root-dir="${EPREFIX}"/var/chroot/archlinux
-		$(use_enable debug)
-		$(use_enable doc)
-		$(use_enable doc doxygen)
-		$(use_with curl libcurl)
-		$(use_with gpg gpgme)
-	)
-	autotools-utils_src_configure
-}
-
-src_install() {
-	autotools-utils_src_install
-
-	dodir /etc/pacman.d
-	newbashcomp "${AUTOTOOLS_BUILD_DIR}"/contrib/bash_completion pacman
-	bashcomp_alias pacman pacman-key makepkg
-}
-
-pkg_postinst() {
-	einfo "Please see http://ohnopub.net/~ohnobinki/gentoo/arch/ for information"
-	einfo "about setting up an archlinux chroot."
-}

diff --git a/sys-apps/pacman/pacman-4.0.3.ebuild b/sys-apps/pacman/pacman-4.0.3.ebuild
deleted file mode 100644
index 44c51197f16..00000000000
--- a/sys-apps/pacman/pacman-4.0.3.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit autotools autotools-utils bash-completion-r1 eutils
-
-DESCRIPTION="Archlinux's binary package manager"
-HOMEPAGE="http://archlinux.org/pacman/"
-SRC_URI="ftp://ftp.archlinux.org/other/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="curl debug doc gpg test"
-
-COMMON_DEPEND="app-arch/libarchive
-	dev-libs/openssl
-	virtual/libiconv
-	virtual/libintl
-	sys-devel/gettext
-	curl? ( net-misc/curl )
-	gpg? ( app-crypt/gpgme )"
-RDEPEND="${COMMON_DEPEND}
-	app-arch/xz-utils"
-# autoconf macros from gpgme requied unconditionally
-DEPEND="${COMMON_DEPEND}
-	app-crypt/gpgme
-	doc? ( app-doc/doxygen
-		app-text/asciidoc )
-	test? ( dev-lang/python )"
-
-RESTRICT="test"
-
-src_prepare() {
-	# Adds AM_GPGME_PATH call which requires app-crypt/gpgme to be
-	# DEPENDed on unconditionally:
-	epatch "${FILESDIR}"/${PN}-4.0.0-gpgme.patch
-
-	# Remove a line that adds -Werror in ./configure when --enable-debug
-	# is passed:
-	sed -i -e '/-Werror/d' configure.ac || die "-Werror"
-
-	# autopoint is unwilling to replace m4/gettext.m4 with the correct
-	# version even though it'll gladly replace */po/Makefile.in.in,
-	# creating an inconsistency between gettext m4 macros and
-	# Makefile.in.in. Also, AM_MKINSTALLDIRS apparently doesn't exist
-	# anymore, so we need newer gettext macros. #420469
-	rm m4/gettext.m4 || die
-	sed -i -e '/AM_GNU_GETTEXT_VERSION/s/0\.13\.1/0.18.1/' configure.ac || die
-
-	eautoreconf
-}
-
-src_configure() {
-	local myeconfargs=(
-		--localstatedir=/var
-		--disable-git-version
-		--with-openssl
-		# Help protect user from shooting his/her Gentoo installation in
-		# its foot.
-		--with-root-dir="${EPREFIX}"/var/chroot/archlinux
-		$(use_enable debug)
-		$(use_enable doc)
-		$(use_enable doc doxygen)
-		$(use_with curl libcurl)
-		$(use_with gpg gpgme)
-	)
-	autotools-utils_src_configure
-}
-
-src_install() {
-	autotools-utils_src_install
-
-	dodir /etc/pacman.d
-	newbashcomp "${AUTOTOOLS_BUILD_DIR}"/contrib/bash_completion pacman
-}
-
-pkg_postinst() {
-	einfo "Please see http://ohnopub.net/~ohnobinki/gentoo/arch/ for information"
-	einfo "about setting up an archlinux chroot."
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/pacman/, sys-apps/pacman/files/
@ 2020-07-29 11:31 Mikle Kolyada
  0 siblings, 0 replies; 2+ messages in thread
From: Mikle Kolyada @ 2020-07-29 11:31 UTC (permalink / raw
  To: gentoo-commits

commit:     1229b2908e47bb2fed9cf77013f0440a421e1708
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 29 11:29:19 2020 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Wed Jul 29 11:31:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1229b290

sys-apps/pacman: remove last-rited pkg

Closes: https://bugs.gentoo.org/659474
Closes: https://bugs.gentoo.org/627342
Closes: https://bugs.gentoo.org/627348
Closes: https://bugs.gentoo.org/711134

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 sys-apps/pacman/Manifest                           |   1 -
 .../pacman/files/pacman-5.0.2-CVE-2016-5434.patch  | 136 ---------------------
 sys-apps/pacman/metadata.xml                       |  17 ---
 sys-apps/pacman/pacman-5.0.2-r2.ebuild             | 117 ------------------
 4 files changed, 271 deletions(-)

diff --git a/sys-apps/pacman/Manifest b/sys-apps/pacman/Manifest
deleted file mode 100644
index 39c12c13579..00000000000
--- a/sys-apps/pacman/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pacman-5.0.2.tar.gz 3361701 BLAKE2B 499041cb9914991c12c21383aaf36465189ced456ca8b2908d3c036acc3ef9dde0fba1efd823580c12e6d8dbdcaa5e53a7b1329cac347208d1de21702e8f3efa SHA512 94a8cce1a52d2365a993c72f16537f4dbea6100feb8f22e8782cc7d2c1ef8a525a63f3c40bb183294c0faedcc743e3d806d2fc3c50a21ab9b03df2910039d628

diff --git a/sys-apps/pacman/files/pacman-5.0.2-CVE-2016-5434.patch b/sys-apps/pacman/files/pacman-5.0.2-CVE-2016-5434.patch
deleted file mode 100644
index c245cb78dcb..00000000000
--- a/sys-apps/pacman/files/pacman-5.0.2-CVE-2016-5434.patch
+++ /dev/null
@@ -1,136 +0,0 @@
-From bf84fd00d3ac1ae2a43dac57f7ef689ef2e8b8aa Mon Sep 17 00:00:00 2001
-From: Nils Freydank <holgersson@posteo.de>
-Date: Fri, 20 Oct 2017 22:30:33 +0200
-Subject: [PATCH] Fix CVE-2016-5434 (DoS/loop and out of boundary read)
-
-This is a rewrite of Tobias Stoeckmann’s patch from June 2016[1] using
-functions instead of macros. (Thanks to Tobias for explanations of his patch.)
-A short question on Freenode IRC showed that macros are generally discouraged
-and functions should be used.
-
-The patch introduces a static size_t length_check() in libalpm/signing.c.
-
-[1] Original patch:
-https://lists.archlinux.org/pipermail/pacman-dev/2016-June/021148.html
-CVE request (and assignment):
-http://seclists.org/oss-sec/2016/q2/526
----
- This patch is provided to upstream, but not merged (2017-10-25).
-
- lib/libalpm/signing.c | 48 ++++++++++++++++++++++++++++++++++++++++++++----
- 1 file changed, 44 insertions(+), 4 deletions(-)
-
-diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c
-index 95cb3280..51b11df6 100644
---- a/lib/libalpm/signing.c
-+++ b/lib/libalpm/signing.c
-@@ -986,6 +986,19 @@ int SYMEXPORT alpm_siglist_cleanup(alpm_siglist_t *siglist)
- 	return 0;
- }
- 
-+/* Check to avoid out of boundary reads */
-+static size_t length_check(size_t length, size_t position, size_t a,
-+		alpm_handle_t *handle, const char *identifier)
-+{
-+	if( a == 0 || length - position <= a) {
-+		_alpm_log(handle, ALPM_LOG_ERROR,
-+		_("%s: signature format error"), identifier);
-+		return -1;
-+	} else {
-+		return 0;
-+	}
-+}
-+
- /**
-  * Extract the Issuer Key ID from a signature
-  * @param sig PGP signature
-@@ -1022,16 +1035,25 @@ int SYMEXPORT alpm_extract_keyid(alpm_handle_t *handle, const char *identifier,
- 
- 		switch(sig[pos] & 0x03) {
- 			case 0:
-+				if(length_check(len, pos, 2, handle, identifier) != 0) {
-+					return -1;
-+				}
- 				blen = sig[pos + 1];
- 				pos = pos + 2;
- 				break;
- 
- 			case 1:
-+				if(length_check(len, pos, 3, handle, identifier)) {
-+					return -1;
-+				}
- 				blen = (sig[pos + 1] << 8) | sig[pos + 2];
- 				pos = pos + 3;
- 				break;
- 
- 			case 2:
-+				if(length_check(len, pos, 5, handle, identifier)) {
-+					return -1;
-+				}
- 				blen = (sig[pos + 1] << 24) | (sig[pos + 2] << 16) | (sig[pos + 3] << 8) | sig[pos + 4];
- 				pos = pos + 5;
- 				break;
-@@ -1059,7 +1081,16 @@ int SYMEXPORT alpm_extract_keyid(alpm_handle_t *handle, const char *identifier,
- 
- 		pos = pos + 4;
- 
-+		/* pos got changed above, so an explicit check is necessary
-+		 * check for 2 as that catches another some lines down */
-+		if(length_check(len, pos, 2, handle, identifier)) {
-+			return -1;
-+		}
- 		hlen = (sig[pos] << 8) | sig[pos + 1];
-+
-+		if(length_check(len, pos, hlen + 2, handle, identifier)) {
-+			return -1;
-+		}
- 		pos = pos + hlen + 2;
- 
- 		ulen = (sig[pos] << 8) | sig[pos + 1];
-@@ -1072,30 +1103,39 @@ int SYMEXPORT alpm_extract_keyid(alpm_handle_t *handle, const char *identifier,
- 				slen = sig[spos];
- 				spos = spos + 1;
- 			} else if(sig[spos] < 255) {
-+				if(length_check(pos + ulen, spos, 2, handle, identifier)){
-+					return -1;
-+				}
- 				slen = (sig[spos] << 8) | sig[spos + 1];
- 				spos = spos + 2;
- 			} else {
-+				/* check for pos and spos, as spos is still pos */
-+				if(length_check(len, pos, 5, handle, identifier)) {
-+					return -1;
-+				}
- 				slen = (sig[spos + 1] << 24) | (sig[spos + 2] << 16) | (sig[spos + 3] << 8) | sig[spos + 4];
- 				spos = spos + 5;
- 			}
--
- 			if(sig[spos] == 16) {
- 				/* issuer key ID */
- 				char key[17];
- 				size_t i;
-+				if(length_check(pos + ulen, spos, 8, handle, identifier)) {
-+					return -1;
-+				}
- 				for (i = 0; i < 8; i++) {
- 					sprintf(&key[i * 2], "%02X", sig[spos + i + 1]);
- 				}
- 				*keys = alpm_list_add(*keys, strdup(key));
- 				break;
- 			}
--
-+			if(length_check(pos + ulen + 1, spos, slen, handle, identifier)) {
-+				return -1;
-+			}
- 			spos = spos + slen;
- 		}
--
- 		pos = pos + (blen - hlen - 8);
- 	}
--
- 	return 0;
- }
- 
--- 
-2.14.2
-

diff --git a/sys-apps/pacman/metadata.xml b/sys-apps/pacman/metadata.xml
deleted file mode 100644
index 0a733cd836d..00000000000
--- a/sys-apps/pacman/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<upstream>
-		<bugs-to>mailto:pacman-dev@archlinux.org</bugs-to>
-		<changelog>https://git.archlinux.org/pacman.git/tree/NEWS</changelog>
-		<doc>https://www.archlinux.org/pacman/</doc>
-	</upstream>
-	<!-- maintainer-needed -->
-	<slots>
-		<subslots>Reflect major ABI of libalpm.so.</subslots>
-	</slots>
-	<use>
-		<flag name="doc">Install extended documentation using <pkg>app-doc/doxygen</pkg>. (Man pages are included by default.)</flag>
-		<flag name="gpg">Enable GPG signature verification using <pkg>app-crypt/gpgme</pkg></flag>
-	</use>
-</pkgmetadata>

diff --git a/sys-apps/pacman/pacman-5.0.2-r2.ebuild b/sys-apps/pacman/pacman-5.0.2-r2.ebuild
deleted file mode 100644
index 59c23752551..00000000000
--- a/sys-apps/pacman/pacman-5.0.2-r2.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools
-
-DESCRIPTION="Archlinux's binary package manager"
-HOMEPAGE="https://archlinux.org/pacman/"
-
-PATCHES=()
-
-if [[ ${PV} == "9999" ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://git.archlinux.org/pacman.git"
-else
-	SRC_URI="https://sources.archlinux.org/other/pacman/${P}.tar.gz"
-	# Do *not* re-add ~x86!
-	# https://www.archlinux.org/news/phasing-out-i686-support/
-	KEYWORDS="-* ~amd64"
-
-	PATCHES+=( "${FILESDIR}"/${PN}-5.0.2-CVE-2016-5434.patch )
-fi
-
-LICENSE="GPL-2"
-SLOT="0/10"
-
-IUSE="curl debug doc +gpg libressl test"
-COMMON_DEPEND="
-	app-arch/libarchive:=[lzma]
-	gpg? ( >=app-crypt/gpgme-1.4.0:= )
-	curl? ( net-misc/curl )
-	!libressl? ( dev-libs/openssl:0= )
-	libressl? ( dev-libs/libressl:0= )
-	virtual/libiconv
-	virtual/libintl
-"
-RDEPEND="${COMMON_DEPEND}"
-
-DEPEND="${COMMON_DEPEND}
-	app-text/asciidoc
-	doc? ( app-doc/doxygen )
-	test? (
-		sys-apps/fakeroot
-		sys-apps/fakechroot
-	)
-"
-
-# workaround until tests are fixed/sorted out
-RESTRICT="test"
-
-src_prepare() {
-	# Remove a line that adds "-Werror" in ./configure when
-	# "--enable-debug" is passed:
-	sed -i -e '/-Werror/d' configure.ac || die
-
-	default
-	eautoreconf
-}
-
-src_configure() {
-	local myeconfargs=(
-		--disable-static
-		--localstatedir=/var
-		--disable-git-version
-		--with-openssl
-		# Help protect user from shooting his/her Gentoo installation
-		# in its foot.
-		--with-root-dir="${EPREFIX}/var/chroot/archlinux"
-		$(use_enable debug)
-		# full doc with doxygen
-		$(use_enable doc doxygen)
-		$(use_with curl libcurl)
-		$(use_with gpg gpgme)
-	)
-	econf "${myeconfargs[@]}"
-}
-
-src_compile() {
-	default
-
-	emake -C contrib
-}
-
-src_install() {
-	dodir /etc/pacman.d/
-	# contributed parts, i.e. not pacman itself, but useful helpers and some templates and basic docs
-	dobin "${S}"/contrib/{bacman,checkupdates,pac{cache,diff,list,log-pkglist,scripts,search},rankmirrors,updpkgsums}
-	newdoc "${S}"/contrib/README contrib-README
-	dodoc "${S}"/contrib/PKGBUILD.vim
-	# create /var/chroot/archlinux
-	# see bug #631754
-	dodir /var/chroot/archlinux
-	keepdir /var/chroot/archlinux /var/lib/pacman
-
-	default
-	find "${D}" -name '*.la' -delete || die
-
-	# avoid creating stuff inside /var/cache/
-	# see bug #633742 for more information
-	rm -r "${D}"/var/cache/pacman
-	rmdir "${D}"/var/cache
-}
-
-pkg_postinst() {
-	einfo ""
-	einfo "The default root dir was set to ${EPREFIX}/var/chroot/archlinux"
-	einfo "to avoid breaking Gentoo systems due to oscitancy."
-	einfo "If you prefer another directory, take a look at"
-	einfo "pacman's parameter -r|--root)."
-	einfo ""
-	einfo "You will need to setup at least one mirror in /etc/pacman.d/mirrorlist."
-	einfo "Please generate it manually according to the Archlinux documentation:"
-	einfo "https://wiki.archlinux.org/index.php/Mirror"
-	einfo ""
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-29 11:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-29 11:31 [gentoo-commits] repo/gentoo:master commit in: sys-apps/pacman/, sys-apps/pacman/files/ Mikle Kolyada
  -- strict thread matches above, loose matches on Subject: below --
2017-08-07 17:04 Amy Liffey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox