]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - setup/setup.nm
libxkbfile: Update to 1.0.8.
[people/ms/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 = 7
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 requires
28 perl
29 end
30
31 build
32 ./shadowconvert.sh
33 end
34
35 test
36 make check
37 end
38
39 install
40 mkdir -pv %{BUILDROOT}/etc/profile.d %{BUILDROOT}/var/log
41
42 for i in aliases bashrc exports filesystems group gshadow host.conf \
43 hosts hosts.allow hosts.deny inputrc motd passwd printcap \
44 profile protocols securetty services shadow shells; do \
45 cp -vf %{DIR_APP}/${i} %{BUILDROOT}/etc || exit 1; \
46 done
47
48 touch %{BUILDROOT}/etc/{environment,fstab}
49 chmod -v 0400 %{BUILDROOT}/etc/{,g}shadow
50 end
51 end
52
53 packages
54 package %{name}
55 conflicts
56 filesystem < 002
57 end
58
59 obsoletes
60 iana-etc <= 2.30
61 end
62
63 provides
64 iana-etc = 2.31
65 end
66
67 configfiles
68 /etc/aliases
69 /etc/exports
70 /etc/fstab
71 /etc/group
72 /etc/gshadow
73 /etc/host.conf
74 /etc/hosts
75 /etc/hosts.allow
76 /etc/hosts.deny
77 /etc/motd
78 /etc/passwd
79 /etc/printcap
80 /etc/protocols
81 /etc/services
82 /etc/shadow
83 /etc/shells
84 end
85 end
86 end