]>
Commit | Line | Data |
---|---|---|
714e50f5 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
714e50f5 MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = shadow-utils |
0553af48 AB |
7 | version = 4.14.0 |
8 | release = 1 | |
d1c9beb3 | 9 | thisapp = shadow-%{version} |
714e50f5 | 10 | |
bf2a8b13 | 11 | groups = System/Base |
fadae9ad | 12 | url = https://github.com/shadow-maint/shadow/ |
802ea3af MT |
13 | license = GPLv2+ |
14 | summary = Utilities to deal with user accounts. | |
714e50f5 | 15 | |
802ea3af MT |
16 | description |
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. | |
20 | end | |
714e50f5 | 21 | |
fadae9ad | 22 | source_dl = https://github.com/shadow-maint/shadow/archive/%{version}.tar.gz#/ |
714e50f5 | 23 | |
802ea3af MT |
24 | build |
25 | requires | |
fadae9ad SS |
26 | autoconf |
27 | automake | |
d1d527f8 | 28 | bison |
fadae9ad | 29 | docbook-xsl |
d1d527f8 | 30 | flex |
fadae9ad | 31 | gettext-devel |
4ca9f4ac | 32 | gnome-doc-utils |
d1d527f8 MT |
33 | libacl-devel |
34 | libattr-devel | |
802ea3af | 35 | libcap-devel |
fadae9ad | 36 | libtool |
14dd43f7 MT |
37 | libxcrypt-devel |
38 | pam-devel | |
802ea3af | 39 | end |
714e50f5 | 40 | |
802ea3af | 41 | prepare_cmds |
fadae9ad | 42 | autoreconf -vfi |
14dd43f7 | 43 | end |
fadae9ad | 44 | |
14dd43f7 MT |
45 | configure_options += \ |
46 | --disable-account-tools-setuid \ | |
47 | --enable-man \ | |
48 | --with-libpam \ | |
49 | --with-group-name-max-length=32 \ | |
50 | --with-bcrypt \ | |
51 | --with-yescrypt \ | |
52 | --without-audit \ | |
53 | --without-selinux \ | |
85964a3c | 54 | --without-su \ |
0553af48 AB |
55 | --with-fcaps \ |
56 | --without-libbsd | |
bd15364e | 57 | |
802ea3af | 58 | install_cmds |
14dd43f7 | 59 | rm -vf \ |
85964a3c | 60 | %{BUILDROOT}/{%{bindir},%{sbindir},%{mandir}/*}/{chage,chfn,chsh,expiry,login,logoutd,newgrp,nologin,sg,vigr,vipw}* |
802ea3af MT |
61 | end |
62 | end | |
a4de5755 | 63 | |
802ea3af MT |
64 | packages |
65 | package %{name} | |
d1c9beb3 | 66 | conflicts |
14dd43f7 | 67 | pam < 1.1.0-4 |
d1c9beb3 | 68 | end |
7b28d8be MT |
69 | |
70 | configfiles | |
71 | /etc/default/useradd | |
72 | end | |
802ea3af | 73 | end |
1f9bc2f0 | 74 | |
14dd43f7 MT |
75 | package %{name}-devel |
76 | template DEVEL | |
77 | end | |
78 | ||
1f9bc2f0 MT |
79 | package %{name}-debuginfo |
80 | template DEBUGINFO | |
81 | end | |
802ea3af | 82 | end |