From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/hardened-dev:musl commit in: app-portage/portage-utils/files/, app-portage/portage-utils/
Date: Thu, 11 Jun 2015 21:01:36 +0000 (UTC) [thread overview]
Message-ID: <1434056579.69a6424a439e68194f5f7046852d3d4e80ffc5c0.blueness@gentoo> (raw)
commit: 69a6424a439e68194f5f7046852d3d4e80ffc5c0
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 11 21:02:59 2015 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Thu Jun 11 21:02:59 2015 +0000
URL: https://gitweb.gentoo.org/proj/hardened-dev.git/commit/?id=69a6424a
app-portage/portage-utils: in tree version works.
.../portage-utils-0.53-fallback-S_BLKSIZE.patch | 13 ----
app-portage/portage-utils/files/post_sync | 8 ---
app-portage/portage-utils/files/q-reinitialize | 3 -
app-portage/portage-utils/metadata.xml | 7 --
.../portage-utils/portage-utils-0.53-r99.ebuild | 77 ----------------------
5 files changed, 108 deletions(-)
diff --git a/app-portage/portage-utils/files/portage-utils-0.53-fallback-S_BLKSIZE.patch b/app-portage/portage-utils/files/portage-utils-0.53-fallback-S_BLKSIZE.patch
deleted file mode 100644
index d5b2986..0000000
--- a/app-portage/portage-utils/files/portage-utils-0.53-fallback-S_BLKSIZE.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -Naur portage-utils-0.53.orig/libq/compat.c portage-utils-0.53/libq/compat.c
---- portage-utils-0.53.orig/libq/compat.c 2014-03-22 01:17:29.000000000 -0400
-+++ portage-utils-0.53/libq/compat.c 2014-11-17 08:02:57.478373438 -0500
-@@ -51,3 +51,9 @@
- #ifdef __hpux
- # define S_BLKSIZE st.st_blksize
- #endif
-+
-+/* Fall back for libcs that don't define S_BLKSIZE */
-+#ifndef S_BLKSIZE
-+# define S_BLKSIZE 512
-+#endif
-+#
diff --git a/app-portage/portage-utils/files/post_sync b/app-portage/portage-utils/files/post_sync
deleted file mode 100755
index e94ea5d..0000000
--- a/app-portage/portage-utils/files/post_sync
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-# Copyright 2006-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-for f in /etc/portage/postsync.d/* ; do
- [ -x "${f}" ] && "${f}"
-done
-:
diff --git a/app-portage/portage-utils/files/q-reinitialize b/app-portage/portage-utils/files/q-reinitialize
deleted file mode 100644
index 7bca1a8..0000000
--- a/app-portage/portage-utils/files/q-reinitialize
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-[ -x /usr/bin/q ] && /usr/bin/q -r ${PORTAGE_QUIET:+-q}
-:
diff --git a/app-portage/portage-utils/metadata.xml b/app-portage/portage-utils/metadata.xml
deleted file mode 100644
index 5480650..0000000
--- a/app-portage/portage-utils/metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer>
- <email>portage-utils@gentoo.org</email>
-</maintainer>
-</pkgmetadata>
diff --git a/app-portage/portage-utils/portage-utils-0.53-r99.ebuild b/app-portage/portage-utils/portage-utils-0.53-r99.ebuild
deleted file mode 100644
index cffeea6..0000000
--- a/app-portage/portage-utils/portage-utils-0.53-r99.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/portage-utils-0.53.ebuild,v 1.2 2014/04/26 21:32:12 vapier Exp $
-
-EAPI="4"
-
-inherit flag-o-matic toolchain-funcs eutils
-
-DESCRIPTION="small and fast portage helper tools written in C"
-HOMEPAGE="http://www.gentoo.org/doc/en/portage-utils.xml"
-SRC_URI="mirror://gentoo/${P}.tar.xz
- http://dev.gentoo.org/~vapier/dist/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm ~mips ppc x86"
-IUSE="nls static"
-
-DEPEND="app-arch/xz-utils"
-RDEPEND=""
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-fallback-S_BLKSIZE.patch"
- epatch_user
-}
-
-src_configure() {
- use static && append-ldflags -static
-
- # Avoid slow configure+gnulib+make if on an up-to-date Linux system
- if use prefix || ! use kernel_linux || \
- has_version '<sys-libs/glibc-2.10'
- then
- econf --with-eprefix="${EPREFIX}"
- else
- tc-export CC
- fi
-}
-
-src_compile() {
- emake NLS=$(usex nls)
-}
-
-src_install() {
- default
-
- exeinto /etc/portage/bin
- doexe "${FILESDIR}"/post_sync
- insinto /etc/portage/postsync.d
- doins "${FILESDIR}"/q-reinitialize
-
- # Portage fixes shebangs, we just need to fix the paths in the files
- sed -i \
- -e "s:\(/etc/portage/postsync.d\|/usr/bin/q\):${EPREFIX}&:g" \
- "${ED}"/etc/portage/bin/post_sync \
- "${ED}"/etc/portage/postsync.d/q-reinitialize || die
-}
-
-pkg_preinst() {
- # preserve +x bit on postsync files #301721
- local x
- pushd "${ED}" >/dev/null
- for x in etc/portage/postsync.d/* ; do
- [[ -x ${EROOT}/${x} ]] && chmod +x "${x}"
- done
-}
-
-pkg_postinst() {
- if [[ -z ${REPLACING_VERSIONS} ]] ; then
- elog "${EPREFIX}/etc/portage/postsync.d/q-reinitialize has been installed for convenience"
- elog "If you wish for it to be automatically run at the end of every --sync:"
- elog " # chmod +x ${EPREFIX}/etc/portage/postsync.d/q-reinitialize"
- elog "Normally this should only take a few seconds to run but file systems"
- elog "such as ext3 can take a lot longer. To disable, simply do:"
- elog " # chmod -x ${EPREFIX}/etc/portage/postsync.d/q-reinitialize"
- fi
-}
next reply other threads:[~2015-06-11 21:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-11 21:01 Anthony G. Basile [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-11-17 13:04 [gentoo-commits] proj/hardened-dev:musl commit in: app-portage/portage-utils/files/, app-portage/portage-utils/ Anthony G. Basile
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1434056579.69a6424a439e68194f5f7046852d3d4e80ffc5c0.blueness@gentoo \
--to=blueness@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox