]> git.ipfire.org Git - ipfire-3.x.git/blob - setup/setup.nm
Merge remote-tracking branch 'stevee/rc.local-fix'
[ipfire-3.x.git] / setup / setup.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = setup
7 version = 3.0
8 release = 5
9 arch = noarch
10
11 groups = Base Build System/Base
12 url =
13 license = Public Domain
14 summary = A set of system configuration and setup files.
15
16 description
17 The setup package contains a set of important system configuration and
18 setup files, such as passwd, group, and profile.
19 end
20
21 # No tarball.
22 sources =
23
24 build
25 DIR_APP = %{DIR_SOURCE}
26
27 build
28 ./shadowconvert.sh
29 end
30
31 test
32 make check
33 end
34
35 install
36 mkdir -pv %{BUILDROOT}/etc/profile.d %{BUILDROOT}/var/log
37
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
43
44 touch %{BUILDROOT}/etc/{environment,fstab}
45 chmod -v 0400 %{BUILDROOT}/etc/{,g}shadow
46 end
47 end
48
49 packages
50 package %{name}
51 requires = iana-etc
52
53 conflicts
54 filesystem < 002
55 end
56
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
73 end
74 end