summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-11-17 14:04:03 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-11-17 14:05:33 +0000
commit1a5e7b8fb58f1f4e3bdfc5351c28985407100590 (patch)
tree6873f47612724ce7e8e901c0e8a579d8a890ef90 /sys-apps/shadow
parentMerge remote-tracking branch 'github/pr/218'. (diff)
downloadgentoo-1a5e7b8fb58f1f4e3bdfc5351c28985407100590.tar.gz
gentoo-1a5e7b8fb58f1f4e3bdfc5351c28985407100590.tar.bz2
gentoo-1a5e7b8fb58f1f4e3bdfc5351c28985407100590.zip
sys-apps/shadow: Gather patches in PATCHES array.
Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'sys-apps/shadow')
-rw-r--r--sys-apps/shadow/shadow-4.2.1-r2.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys-apps/shadow/shadow-4.2.1-r2.ebuild b/sys-apps/shadow/shadow-4.2.1-r2.ebuild
index 32acfbc02963..c376f1e08915 100644
--- a/sys-apps/shadow/shadow-4.2.1-r2.ebuild
+++ b/sys-apps/shadow/shadow-4.2.1-r2.ebuild
@@ -35,10 +35,14 @@ DEPEND="${RDEPEND}
RDEPEND="${RDEPEND}
pam? ( >=sys-auth/pambase-20150213 )"
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.1.3-dots-in-usernames.patch
+ "${FILESDIR}"/${P}-cross-size-checks.patch
+ "${FILESDIR}"/${P}-verbose-error-when-uid-doesnt-match.patch
+)
+
src_prepare() {
- epatch "${FILESDIR}"/${PN}-4.1.3-dots-in-usernames.patch #22920
- epatch "${FILESDIR}"/${P}-cross-size-checks.patch
- epatch "${FILESDIR}"/${P}-verbose-error-when-uid-doesnt-match.patch
+ epatch "${PATCHES[@]}"
epatch_user
# https://github.com/shadow-maint/shadow/pull/5
mv configure.{in,ac} || die