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

Last change on this file since 1562 was 1507, checked in by mitchb, 13 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
RevLine 
[1507]1--- shadow-utils.spec.orig      2010-03-12 00:48:00.000000000 -0500
2+++ shadow-utils.spec   2010-03-12 00:55:36.000000000 -0500
3@@ -1,7 +1,7 @@
4 Summary: Utilities for managing accounts and shadow password files
5 Name: shadow-utils
6 Version: 4.1.4.1
7-Release: 5%{?dist}
8+Release: 5.scripts.%{scriptsversion}%{?dist}
9 Epoch: 2
10 URL: http://pkg-shadow.alioth.debian.org/
11 Source0: ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/shadow-%{version}.tar.bz2
12@@ -21,6 +21,7 @@
13 Requires: audit-libs >= 1.6.5
14 Requires: setup
15 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
16+Provides: scripts-shadow-utils
17 
18 %description
19 The shadow-utils package includes the necessary programs for
20@@ -60,7 +61,8 @@
21         --with-selinux \
22         --without-libcrack \
23         --without-libpam \
24-        --disable-shared
25+        --disable-shared \
26+        --with-group-name-max-length=32
27 make
28 
29 %install
30@@ -182,6 +184,9 @@
31 %{_mandir}/man8/vigr.8*
32 
33 %changelog
34+* Fri Mar 12 2010 Mitchell Berger <mitchb@mit.edu> 2:4.1.4.1-5.scripts
35+- change max group name length back to 32
36+
37 * Wed Aug 05 2009 Peter Vrabec <pvrabec@redhat.com> 2:4.1.4.1-5
38 - increase threshold for uid/gid reservations to 200 (#515667)
39 
Note: See TracBrowser for help on using the repository browser.