From 1a5e7b8fb58f1f4e3bdfc5351c28985407100590 Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Tue, 17 Nov 2015 14:04:03 +0000 Subject: sys-apps/shadow: Gather patches in PATCHES array. Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement --- sys-apps/shadow/shadow-4.2.1-r2.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'sys-apps/shadow') 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 -- cgit v1.2.3-65-gdbad