Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 393073 - sys-apps/shadow-4.1.4.499.ebuild: preparation for next release
Summary: sys-apps/shadow-4.1.4.499.ebuild: preparation for next release
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo's Team for Core System packages
URL: http://pkg-shadow.alioth.debian.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-04 00:50 UTC by Leho Kraav (:macmaN @lkraav)
Modified: 2012-02-26 17:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leho Kraav (:macmaN @lkraav) 2011-12-04 00:50:05 UTC
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
Comment 1 Leho Kraav (:macmaN @lkraav) 2011-12-04 00:51:04 UTC
above is based on shadow-4.1.4.3.ebuild
Comment 2 SpanKY gentoo-dev 2012-02-26 17:35:19 UTC
4.1.5 is in the tree.  if you have changes for that, please attach a diff.
Comment 3 Leho Kraav (:macmaN @lkraav) 2012-02-26 17:53:18 UTC
emerged, everything looks good. i made no additional changes besides just getting .499 to build at the time.