]>
Commit | Line | Data |
---|---|---|
03bb3da9 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
03bb3da9 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = setup |
7 | version = 3.0 | |
9233291e | 8 | release = 6 |
08dba517 | 9 | arch = noarch |
03bb3da9 | 10 | |
802ea3af MT |
11 | groups = Base Build System/Base |
12 | url = | |
13 | license = Public Domain | |
14 | summary = A set of system configuration and setup files. | |
03bb3da9 | 15 | |
802ea3af | 16 | description |
03bb3da9 MT |
17 | The setup package contains a set of important system configuration and |
18 | setup files, such as passwd, group, and profile. | |
802ea3af MT |
19 | end |
20 | ||
21 | # No tarball. | |
22 | sources = | |
23 | ||
24 | build | |
25 | DIR_APP = %{DIR_SOURCE} | |
03bb3da9 | 26 | |
802ea3af MT |
27 | build |
28 | ./shadowconvert.sh | |
29 | end | |
03bb3da9 | 30 | |
802ea3af MT |
31 | test |
32 | make check | |
33 | end | |
03bb3da9 | 34 | |
802ea3af MT |
35 | install |
36 | mkdir -pv %{BUILDROOT}/etc/profile.d %{BUILDROOT}/var/log | |
03bb3da9 | 37 | |
802ea3af MT |
38 | for i in aliases bashrc exports filesystems group gshadow host.conf \ |
39 | hosts hosts.allow hosts.deny inputrc motd passwd printcap \ | |
40 | profile securetty shadow shells; do \ | |
41 | cp -vf %{DIR_APP}/${i} %{BUILDROOT}/etc || exit 1; \ | |
42 | done | |
03bb3da9 | 43 | |
b77bd93e | 44 | touch %{BUILDROOT}/etc/{environment,fstab} |
802ea3af MT |
45 | chmod -v 0400 %{BUILDROOT}/etc/{,g}shadow |
46 | end | |
47 | end | |
03bb3da9 | 48 | |
802ea3af MT |
49 | packages |
50 | package %{name} | |
51 | requires = iana-etc | |
0d1a903f | 52 | |
53938620 MT |
53 | conflicts |
54 | filesystem < 002 | |
55 | end | |
56 | ||
0d1a903f MT |
57 | configfiles |
58 | /etc/aliases | |
59 | /etc/exports | |
60 | /etc/fstab | |
61 | /etc/group | |
62 | /etc/gshadow | |
63 | /etc/host.conf | |
64 | /etc/hosts | |
65 | /etc/hosts.allow | |
66 | /etc/hosts.deny | |
67 | /etc/motd | |
68 | /etc/passwd | |
69 | /etc/printcap | |
70 | /etc/shadow | |
71 | /etc/shells | |
72 | end | |
802ea3af MT |
73 | end |
74 | end |