source: trunk/server/fedora/specs/shadow-utils.spec.patch @ 1586

Last change on this file since 1586 was 1507, checked in by mitchb, 15 years ago
Temporarily scriptsify shadow-utils to fix max length of group names The upstream shadow-utils package used to hardcode the max length of a group name to 16 characters, and Fedora patched it to make that length match utmpx.ut_name's length (32) and documented it as being 32. The last upstream update that Fedora took changed the code to default to 16, but allow a nondefault value via a --with flag to configure. Fedora's patch thus no longer applied and they dropped the relevant hunk, but neglected to add the --with flag in the spec file, so the max group name length dropped back to 16, causing packages that install groups with names longer than 16 characters to begin failing to install properly mid-release. We'll be pursuing this issue with Fedora.
File size: 1.2 KB
  • shadow-utils.spec

    old new  
    11Summary: Utilities for managing accounts and shadow password files
    22Name: shadow-utils
    33Version: 4.1.4.1
    4 Release: 5%{?dist}
     4Release: 5.scripts.%{scriptsversion}%{?dist}
    55Epoch: 2
    66URL: http://pkg-shadow.alioth.debian.org/
    77Source0: ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/shadow-%{version}.tar.bz2
     
    2121Requires: audit-libs >= 1.6.5
    2222Requires: setup
    2323Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
     24Provides: scripts-shadow-utils
    2425
    2526%description
    2627The shadow-utils package includes the necessary programs for
     
    6061        --with-selinux \
    6162        --without-libcrack \
    6263        --without-libpam \
    63         --disable-shared
     64        --disable-shared \
     65        --with-group-name-max-length=32
    6466make
    6567
    6668%install
     
    182184%{_mandir}/man8/vigr.8*
    183185
    184186%changelog
     187* Fri Mar 12 2010 Mitchell Berger <mitchb@mit.edu> 2:4.1.4.1-5.scripts
     188- change max group name length back to 32
     189
    185190* Wed Aug 05 2009 Peter Vrabec <pvrabec@redhat.com> 2:4.1.4.1-5
    186191- increase threshold for uid/gid reservations to 200 (#515667)
    187192
Note: See TracBrowser for help on using the repository browser.