summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/shadow/shadow-4.2.1-r2.ebuild')
-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