File: epm.list.5

package info (click to toggle)
epm 3.0-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,020 kB
  • ctags: 371
  • sloc: ansic: 6,199; cpp: 1,188; makefile: 201; perl: 134
file content (330 lines) | stat: -rw-r--r-- 10,971 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330



epm.list(5)           Easy Software Products          epm.list(5)


NNAAMMEE
       epm.list - epm list file format.

DDEESSCCRRIIPPTTIIOONN
       Each   _E_P_M  product  has  an  associated  list  file  that
       describes the files to include with the  product.  Comment
       lines  begin  with  the "#" character and are ignored. All
       other non-blank lines must begin  with  a  letter,  dollar
       sign ("$"), or the percent sign ("%") as follows:

       $name=value
            Sets the named variable to _v_a_l_u_e. NNoottee:: Variables set
            in the list file are overridden by  variables  speci-
            fied  on  the command-line or in the current environ-
            ment.

       %copyright _c_o_p_y_r_i_g_h_t _n_o_t_i_c_e
            Sets the copyright notice for the file.

       %description _d_e_s_c_r_i_p_t_i_o_n _t_e_x_t
            Adds a line of descriptive text to the  distribution.
            Multiple lines are supported.

       %format _f_o_r_m_a_t _[_._._. _f_o_r_m_a_t_]
            Uses  following files and directives only if the dis-
            tribution format is the same as _f_o_r_m_a_t.

       %format !_f_o_r_m_a_t _[_._._. _f_o_r_m_a_t_]
            Uses following files and directives only if the  dis-
            tribution format is not the same as _f_o_r_m_a_t.

       %include _f_i_l_e_n_a_m_e
            Includes files listed in _f_i_l_e_n_a_m_e.

       %incompat _p_r_o_d_u_c_t

       %incompat _f_i_l_e_n_a_m_e
            Indicates  that this product is incompatible with the
            named product or file.

       %install _s_c_r_i_p_t _o_r _p_r_o_g_r_a_m
            Specifies a script or program to  be  run  after  all
            files are installed.  (This has been obsoleted by the
            %postinstall directive)

       %license _l_i_c_e_n_s_e _f_i_l_e
            Specifies  the  file  to  display  as  the   software
            license.

       %packager _n_a_m_e _o_f _p_a_c_k_a_g_e_r
            Specifies the name of the packager.

       %patch _s_c_r_i_p_t _o_r _p_r_o_g_r_a_m
            Specifies  a  script  or  program to be run after all



20 June 2001           ESP Package Manager                      1





epm.list(5)           Easy Software Products          epm.list(5)


            files are patched.  (This has been obsoleted  by  the
            %postpatch directive)

       %postinstall _s_c_r_i_p_t _o_r _p_r_o_g_r_a_m
            Specifies  a  script  or  program to be run after all
            files are installed.

       %postpatch _s_c_r_i_p_t _o_r _p_r_o_g_r_a_m
            Specifies a script or program to  be  run  after  all
            files are patched.

       %postremove _s_c_r_i_p_t _o_r _p_r_o_g_r_a_m
            Specifies  a script or program to be run after remov-
            ing files.

       %preinstall _s_c_r_i_p_t _o_r _p_r_o_g_r_a_m
            Specifies a script or program to be  run  before  all
            files are installed.

       %prepatch _s_c_r_i_p_t _o_r _p_r_o_g_r_a_m
            Specifies  a  script  or program to be run before all
            files are patched.

       %preremove _s_c_r_i_p_t _o_r _p_r_o_g_r_a_m
            Specifies a script or program to be run before remov-
            ing files.

       %product _p_r_o_d_u_c_t _n_a_m_e
            Specifies the product name.

       %readme _r_e_a_d_m_e _f_i_l_e
            Specifies a README file to be included in the distri-
            bution.

       %remove _s_c_r_i_p_t _o_r _p_r_o_g_r_a_m
            Specifies a script or program to be run before remov-
            ing  files.   (This has been obsoleted by the %prere-
            move directive)

       %release _n_u_m_b_e_r
            Specifies the release or build number  of  a  product
            (defaults to 0).

       %replaces _p_r_o_d_u_c_t
            Indicates  that this product replaces the named prod-
            uct.

       %requires _p_r_o_d_u_c_t

       %requires _f_i_l_e_n_a_m_e
            Indicates that this product requires the named  prod-
            uct or file.





20 June 2001           ESP Package Manager                      2





epm.list(5)           Easy Software Products          epm.list(5)


       %vendor _v_e_n_d_o_r _o_r _a_u_t_h_o_r _n_a_m_e
            Specifies the vendor or author of the product.

       %version _v_e_r_s_i_o_n _n_u_m_b_e_r
            Specifies the version number of the product.

       %system _s_y_s_t_e_m_[_-_r_e_l_e_a_s_e_] _[_._._. _s_y_s_t_e_m_[_-_r_e_l_e_a_s_e_]_]
            Specifies  that  the  following  files should only be
            used  for  the  specified   operating   systems   and
            releases.

       %system !_s_y_s_t_e_m_[_-_r_e_l_e_a_s_e_] _[_._._. _s_y_s_t_e_m_[_-_r_e_l_e_a_s_e_]_]
            Specifies that the following files should not be used
            for the specified operating systems and releases.

       %system all
            Specifies that the following files are applicable  to
            all operating systems.

       c _m_o_d_e _u_s_e_r _g_r_o_u_p _d_e_s_t_i_n_a_t_i_o_n _s_o_u_r_c_e

       C _m_o_d_e _u_s_e_r _g_r_o_u_p _d_e_s_t_i_n_a_t_i_o_n _s_o_u_r_c_e
            Specifies  a configuration file for installation. The
            second form specifies that the file has changed or is
            new  and  should be included as part of a patch. Con-
            figuration files are installed as "destination.N"  if
            the destination already exists.

       d _m_o_d_e _u_s_e_r _g_r_o_u_p _d_e_s_t_i_n_a_t_i_o_n _-

       D _m_o_d_e _u_s_e_r _g_r_o_u_p _d_e_s_t_i_n_a_t_i_o_n _-
            Specifies   a   directory   should  be  created  when
            installing the software. The  second  form  specifies
            that  the  directory is new and should be included as
            part of a patch.

       f _m_o_d_e _u_s_e_r _g_r_o_u_p _d_e_s_t_i_n_a_t_i_o_n _s_o_u_r_c_e

       F _m_o_d_e _u_s_e_r _g_r_o_u_p _d_e_s_t_i_n_a_t_i_o_n _s_o_u_r_c_e
            Specifies a file for installation.  The  second  form
            specifies  that  the  file  has changed or is new and
            should be included as part of a patch.

       f _m_o_d_e _u_s_e_r _g_r_o_u_p _d_e_s_t_i_n_a_t_i_o_n _s_o_u_r_c_e_/_p_a_t_t_e_r_n

       F _m_o_d_e _u_s_e_r _g_r_o_u_p _d_e_s_t_i_n_a_t_i_o_n _s_o_u_r_c_e_/_p_a_t_t_e_r_n
            Specifies one or more files  for  installation  using
            shell  wildcard  patterns.  The second form specifies
            that the files have changed or are new and should  be
            included as part of a patch.

       i _m_o_d_e _u_s_e_r _g_r_o_u_p _s_e_r_v_i_c_e_-_n_a_m_e _s_o_u_r_c_e





20 June 2001           ESP Package Manager                      3





epm.list(5)           Easy Software Products          epm.list(5)


       I _m_o_d_e _u_s_e_r _g_r_o_u_p _s_e_r_v_i_c_e_-_n_a_m_e _s_o_u_r_c_e
            Specifies  an initialization script for installation.
            The second form specifies that the file  has  changed
            or  is new and should be included as part of a patch.
            Initialization  scripts  are  stored  in   /etc/soft-
            ware/init.d and are linked to the appropriate system-
            specific directories for run levels 0, 2, 3,  and  5.
            Initialization scripts mmuusstt accept at least the _s_t_a_r_t
            and _s_t_o_p commands.

       l _m_o_d_e _u_s_e_r _g_r_o_u_p _d_e_s_t_i_n_a_t_i_o_n _s_o_u_r_c_e

       L _m_o_d_e _u_s_e_r _g_r_o_u_p _d_e_s_t_i_n_a_t_i_o_n _s_o_u_r_c_e
            Specifies a symbolic link in  the  installation.  The
            second form specifies that the link has changed or is
            new and should be included as part of a patch.

       R _m_o_d_e _u_s_e_r _g_r_o_u_p _d_e_s_t_i_n_a_t_i_o_n
            Specifies that the file is to be removed upon  patch-
            ing.   The  _u_s_e_r  and  _g_r_o_u_p fields are ignored.  The
            _m_o_d_e field is only  used  to  determine  if  a  check
            should be made for a previous version of the file.

LLIISSTT VVAARRIIAABBLLEESS
       _E_P_M  maintains  a list of variables and their values which
       can be used to substitute values in the list  file.  These
       variables  are  imported  from the current environment and
       taken from the command-line and  list  file  as  provided.
       Substitutions  occur  when the variable name is referenced
       with the dollar sign ($):

           %install echo What is your name:
           %install read $$name
           %install echo Your name is $$name

           f 0555 root sys ${bindir}/foo foo
           f 0555 root sys $datadir/foo/foo.dat foo.dat

       Variable  names  can  be  surrounded  by  curley  brackets
       (${name})  or  alone ($name); without brackets the name is
       terminated by the first slash (/), dash  (-),  or  whites-
       pace. The dollar sign can be inserted using $$.

SSEEEE AALLSSOO
       epm(1) - create software packages
       epminstall(1)  -  add  a  directory, file, or symlink to a
       list file
       mkepmlist(1) - make an epm list file from a directory

CCOOPPYYRRIIGGHHTT
       Copyright 1999-2001 by Easy Software Products, All  Rights
       Reserved.

       This  program  is  free  software; you can redistribute it



20 June 2001           ESP Package Manager                      4





epm.list(5)           Easy Software Products          epm.list(5)


       and/or modify it under the terms of the GNU General Public
       License  as  published  by  the  Free Software Foundation;
       either version 2, or (at your option) any later version.

       This program is distributed in the hope that  it  will  be
       useful, but WITHOUT ANY WARRANTY; without even the implied
       warranty of MERCHANTABILITY or FITNESS  FOR  A  PARTICULAR
       PURPOSE.   See  the  GNU  General  Public License for more
       details.
















































20 June 2001           ESP Package Manager                      5