]> git.ipfire.org Git - ipfire-3.x.git/blame - setup/setup.nm
libtirpc: New package.
[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
9233291e 8release = 6
08dba517 9arch = noarch
03bb3da9 10
802ea3af
MT
11groups = Base Build System/Base
12url =
13license = Public Domain
14summary = A set of system configuration and setup files.
03bb3da9 15
802ea3af 16description
03bb3da9
MT
17 The setup package contains a set of important system configuration and
18 setup files, such as passwd, group, and profile.
802ea3af
MT
19end
20
21# No tarball.
22sources =
23
24build
25 DIR_APP = %{DIR_SOURCE}
03bb3da9 26
802ea3af
MT
27 build
28 ./shadowconvert.sh
29 end
03bb3da9 30
802ea3af
MT
31 test
32 make check
33 end
03bb3da9 34
802ea3af
MT
35 install
36 mkdir -pv %{BUILDROOT}/etc/profile.d %{BUILDROOT}/var/log
03bb3da9 37
802ea3af
MT
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
03bb3da9 43
b77bd93e 44 touch %{BUILDROOT}/etc/{environment,fstab}
802ea3af
MT
45 chmod -v 0400 %{BUILDROOT}/etc/{,g}shadow
46 end
47end
03bb3da9 48
802ea3af
MT
49packages
50 package %{name}
51 requires = iana-etc
0d1a903f 52
53938620
MT
53 conflicts
54 filesystem < 002
55 end
56
0d1a903f
MT
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
802ea3af
MT
73 end
74end