]> git.ipfire.org Git - ipfire-3.x.git/blob - filesystem/filesystem.nm
openvswitch: Update to 1.7.0.
[ipfire-3.x.git] / filesystem / filesystem.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = filesystem
7 version = 001
8 release = 3
9
10 maintainer = Michael Tremer <michael.tremer@ipfire.org>
11 groups = Base Build System/Base
12 url =
13 license = Public Domain
14 summary = The basic directory layout for a Linux system.
15
16 description
17 The filesystem package is one of the basic packages that is installed
18 on a Linux system. Filesystem contains the basic directory layout
19 for a Linux operating system, including the correct permissions for
20 the directories.
21 end
22
23 # No tarball.
24 sources =
25
26 build
27 DIR_APP = %{DIR_SRC}
28
29 build
30 : # Nothing to do
31 end
32
33 install
34 cd %{BUILDROOT}
35 mkdir -pv \
36 bin \
37 boot \
38 dev \
39 etc/pki \
40 etc/skel \
41 etc/sysconfig \
42 home \
43 lib \
44 %{lib} \
45 lib/modules \
46 media \
47 mnt \
48 opt \
49 proc \
50 root \
51 run/lock \
52 sbin \
53 srv \
54 sys \
55 tmp \
56 usr/bin \
57 usr/include \
58 usr/lib \
59 usr/%{lib} \
60 usr/lib/locale \
61 usr/sbin \
62 usr/share/{aclocal,dict,doc,empty,info,mime-info,misc} \
63 usr/share/man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p} \
64 usr/src \
65 usr/local/bin \
66 usr/local/etc \
67 usr/local/lib \
68 usr/local/sbin \
69 usr/local/share \
70 usr/local/share/man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x} \
71 usr/local/share/info \
72 usr/local/include \
73 var/empty \
74 var/lib \
75 var/local \
76 var/lock/subsys \
77 var/log \
78 var/nis \
79 var/preserve \
80 var/run \
81 var/spool/{mail,lpd} \
82 var/tmp \
83 var/db \
84 var/cache
85
86 ln -snf ../var/tmp usr/tmp
87 ln -snf spool/mail var/mail
88
89 # Setting correct permissions.
90 chmod 1777 %{BUILDROOT}/{,var/}tmp
91 chown root:mail %{BUILDROOT}/var/spool/mail
92 chmod 775 %{BUILDROOT}/var/spool/mail
93 end
94
95 # XXX not implemented at the moment
96 export QUALITY_AGENT_NO_DIRECTORY_CHECK = yes
97 export QUALITY_AGENT_NO_DIRECTORY_PRUNE = yes
98 end
99
100 packages
101 package %{name}
102 prerequires = setup
103 end
104
105 # Although this package is not noarch, it does not
106 # contain any binary data and thus has no debuginfo package.
107 end