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