]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - setup/setup.nm
ppp: Re-add ifname patch
[people/ms/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
c5ceffad 8release = 7
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
c5ceffad
MT
27 requires
28 perl
29 end
30
802ea3af
MT
31 build
32 ./shadowconvert.sh
33 end
03bb3da9 34
802ea3af
MT
35 test
36 make check
37 end
03bb3da9 38
802ea3af
MT
39 install
40 mkdir -pv %{BUILDROOT}/etc/profile.d %{BUILDROOT}/var/log
03bb3da9 41
802ea3af
MT
42 for i in aliases bashrc exports filesystems group gshadow host.conf \
43 hosts hosts.allow hosts.deny inputrc motd passwd printcap \
c5ceffad 44 profile protocols securetty services shadow shells; do \
802ea3af
MT
45 cp -vf %{DIR_APP}/${i} %{BUILDROOT}/etc || exit 1; \
46 done
03bb3da9 47
b77bd93e 48 touch %{BUILDROOT}/etc/{environment,fstab}
802ea3af
MT
49 chmod -v 0400 %{BUILDROOT}/etc/{,g}shadow
50 end
51end
03bb3da9 52
802ea3af
MT
53packages
54 package %{name}
53938620
MT
55 conflicts
56 filesystem < 002
57 end
58
c5ceffad
MT
59 obsoletes
60 iana-etc <= 2.30
61 end
62
63 provides
64 iana-etc = 2.31
65 end
66
0d1a903f
MT
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
c5ceffad
MT
80 /etc/protocols
81 /etc/services
0d1a903f
MT
82 /etc/shadow
83 /etc/shells
84 end
802ea3af
MT
85 end
86end