1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 maintainer = Michael Tremer <michael.tremer@ipfire.org>
11 groups = Base System/Base
12 url = http://pkg-shadow.alioth.debian.org/
14 summary = Utilities to deal with user accounts.
17 The shadow-utils package includes the necessary programs
18 for converting UNIX password files to the shadow password
19 format, plus programs for managing user and group accounts.
23 thisapp = shadow-%{version}
25 source_dl = http://pkg-shadow.alioth.debian.org/releases/
26 sources = %{thisapp}.tar.bz2
35 configure_options += \
45 # Do not build these files:
46 for i in nologin chfn chgpasswd chpasswd chsh expiry gpasswd groups login \
47 logoutd passwd su; do \
48 sed -i "s/$$i\$%{EXEEXT}//" src/Makefile.in; \
49 find man -name Makefile.in -exec sed -i "s/$$i\.1/ /" {} \;; \
52 sed -i src/Makefile.in \
53 -e "s/^suidbins.*/# &/" -e "s/^suidubins.*/# &/"
55 # Do not install korean and zh man pages
56 sed -i -e 's/ ko//' -e 's/ zh_CN zh_TW//' man/Makefile.in
58 # Do not install russion man pages - was broken in 4.1.4.3
59 sed -i -e 's/ ru//' man/Makefile.in
63 # Remove man pages in other languages
64 rm -rfv %{BUILDROOT}/usr/share/man/{cs,de,fi,fr,hu,id,it,ja,pl,pt_BR,ru,sv,tr}