]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blame - setup/setup.nm
Add a -debuginfo for every package that is not noarch.
[people/pmueller/ipfire-3.x.git] / setup / setup.nm
CommitLineData
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
6name = setup
7version = 3.0
0d1a903f 8release = 3
03bb3da9 9
802ea3af
MT
10groups = Base Build System/Base
11url =
12license = Public Domain
13summary = A set of system configuration and setup files.
03bb3da9 14
802ea3af 15description
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
18end
19
20# No tarball.
21sources =
22
23build
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
46end
03bb3da9 47
802ea3af
MT
48packages
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 68 end
1f9bc2f0
MT
69
70 package %{name}-debuginfo
71 template DEBUGINFO
72 end
802ea3af 73end