since i'm putting in some work related to bug 53269 and needed to make a move to shadow trunk, i thought i'd note my findings down here. most of the previous patches don't apply, i haven't looked into how badly. only bug 22920 patch applies cleanly as of today. src_unpack() { unpack ${A} cd "${S}" #epatch "${FILESDIR}"/${PN}-4.1.4.3-dup-install-targets.patch #epatch "${FILESDIR}"/${PN}-4.1.4.2-env-reset-keep-locale.patch #283725 epatch "${FILESDIR}"/${PN}-4.1.3-dots-in-usernames.patch #22920 #epatch "${FILESDIR}"/${PN}-4.1.4.2-groupmod-pam-check.patch #300790 #epatch "${FILESDIR}"/${PN}-4.1.4.2-su_no_sanitize_env.patch #301957 #epatch "${FILESDIR}"/${PN}-4.1.4.2-fix-etc-gshadow-reading.patch #327605 elibtoolize epunt_cxx } secondly, ebuild needed adding src_compile() { ... --enable-man=yes \ ... } third, libmisc/copydir.c fails with "undefined reference va_start" needed adding [1] ... #include <stdarg.h> ... [1]: http://oss.sgi.com/archives/xfs/2001-02/msg01159.html after this, current trunk compiled and utilities have the new --root option: $ sudo useradd --help Usage: useradd [options] LOGIN useradd -D useradd -D [options] Options: ... -R, --root CHROOT_DIR directory to chroot into ... Reproducible: Always
above is based on shadow-4.1.4.3.ebuild
4.1.5 is in the tree. if you have changes for that, please attach a diff.
emerged, everything looks good. i made no additional changes besides just getting .499 to build at the time.