]> git.ipfire.org Git - ipfire-3.x.git/blob - setup/setup.nm
Add a -debuginfo for every package that is not noarch.
[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 = 3
9
10 groups = Base Build System/Base
11 url =
12 license = Public Domain
13 summary = A set of system configuration and setup files.
14
15 description
16 The setup package contains a set of important system configuration and
17 setup files, such as passwd, group, and profile.
18 end
19
20 # No tarball.
21 sources =
22
23 build
24 DIR_APP = %{DIR_SOURCE}
25
26 build
27 ./shadowconvert.sh
28 end
29
30 test
31 make check
32 end
33
34 install
35 mkdir -pv %{BUILDROOT}/etc/profile.d %{BUILDROOT}/var/log
36
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
42
43 touch %{BUILDROOT}/etc/{environment,fstab}
44 chmod -v 0400 %{BUILDROOT}/etc/{,g}shadow
45 end
46 end
47
48 packages
49 package %{name}
50 requires = iana-etc
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
68 end
69
70 package %{name}-debuginfo
71 template DEBUGINFO
72 end
73 end