1 --- util-vserver-0.30.214.org/distrib/Makefile.am 2007-09-02 22:06:42.000000000 +0200
2 +++ util-vserver-0.30.214/distrib/Makefile.am 2007-11-15 23:20:48.177838628 +0100
4 breezy/debootstrap.script dapper/debootstrap.script \
5 edgy/debootstrap.script feisty/debootstrap.script \
6 gutsy/debootstrap.script hoary/debootstrap.script \
7 - warty/debootstrap.script
8 + warty/debootstrap.script \
9 + pld-ac/pkgs/01 pld-ac/rpm/macros \
10 + pld-ac/rpmlist.d/00.lst \
11 + pld-th/pkgs/01 pld-th/rpm/macros \
12 + pld-th/rpmlist.d/00.lst \
13 + pld-ti/pkgs/01 pld-ti/rpm/macros \
14 + pld-ti/rpmlist.d/00.lst
16 nobase_confdistrib_DATA = rh9/apt/sources.list \
17 fc1/apt/sources.list \
19 fc5/apt/sources.list \
20 fc6/apt/sources.list \
22 - suse91/apt/sources.list
23 + suse91/apt/sources.list \
24 + pld-ac/poldek/aliases.conf \
25 + pld-ac/poldek/fetch.conf \
26 + pld-ac/poldek/pld-source.conf \
27 + pld-ac/poldek/poldek.conf \
28 + pld-ac/poldek/source.conf \
29 + pld-th/poldek/aliases.conf \
30 + pld-th/poldek/fetch.conf \
31 + pld-th/poldek/pld-source.conf \
32 + pld-th/poldek/poldek.conf \
33 + pld-th/poldek/source.conf \
34 + pld-ti/poldek/aliases.conf \
35 + pld-ti/poldek/fetch.conf \
36 + pld-ti/poldek/pld-source.conf \
37 + pld-ti/poldek/poldek.conf \
38 + pld-ti/poldek/source.conf
41 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT \
42 = $(nobase_distrib_SCRIPTS)
43 --- util-vserver-0.30.214.org/distrib/pld-ac/pkgs/01 1970-01-01 01:00:00.000000000 +0100
44 +++ util-vserver-0.30.214/distrib/pld-ac/pkgs/01 2007-11-15 23:20:48.181172125 +0100
51 --- util-vserver-0.30.214.org/distrib/pld-ac/poldek/pld-source.conf 1970-01-01 01:00:00.000000000 +0100
52 +++ util-vserver-0.30.214/distrib/pld-ac/poldek/pld-source.conf 2007-11-15 23:20:48.181172125 +0100
55 +# PLD <http://www.pld-linux.org/>
58 +_pld_prefix = ftp://ftp.ac.pld-linux.org/dists/ac
60 +## You can use them if you have better connection there
62 +#_pld_prefix = ftp://ftp.task.pld-linux.org/dists/ac
69 +type = %{_ac_idxtype}
71 +path = %{_pld_prefix}/PLD/%{_pld_arch}/PLD/RPMS/
75 +type = %{_ac_idxtype}
77 +path = %{_pld_prefix}/updates/%{_pld_arch}/
81 +type = %{_ac_idxtype}
83 +path = %{_pld_prefix}/supported/%{_pld_arch}/
88 +type = %{_ac_idxtype}
90 +path = %{_pld_prefix}/ready/%{_pld_arch}/
94 +type = %{_ac_idxtype}
96 +path = %{_pld_prefix}/test/%{_pld_arch}/
98 --- util-vserver-0.30.214.org/distrib/pld-ac/poldek/poldek.conf 1970-01-01 01:00:00.000000000 +0100
99 +++ util-vserver-0.30.214/distrib/pld-ac/poldek/poldek.conf 2007-11-15 23:20:48.181172125 +0100
101 +# poldek main configuration file.
103 +# Some macros. Macros are local, they are not visible in included files
104 +# and macros declared in them are not visible to includer.
105 +# Macros names starts with underscore '_'.
109 +# Both local and remote files may be included. Included files may not contain
110 +# [global] section, it will be ignored anyway.
111 +%include %{_distro}-source.conf
114 +%include source.conf
116 +# External downloaders configuration, not necessary in most cases, cause
117 +# to internal HTTP and FTP client.
118 +#%include fetch.conf
123 +# This parameter allows to configure the default repository index type.
124 +#default index type = pndir
126 +# Cache directory for downloaded files. NOTE: that parent directory of cachedir
128 +#cachedir = $HOME/.poldek-cache
130 +# Switch to ordinary user at startup when executed by root
133 +# Permits using root privileges for installation only. Automatically turned
134 +# on when poldek executed as ordinary user.
137 +# Load /etc/apt/sources.list.
138 +#load apt sources list = no
140 +# Handle gzipped indexes externally (needed on RedHat 9 and Fedora Core 1 and 2).
141 +# This option is a workaround for broken zlib linked into librpm; with enabled
142 +# 'auto zlib in rpm' poldek tries to detect such case and then enables external
143 +# *.gz handling automatically.
144 +#vfile external compress = no
146 +# Auto detection of zlib linked into librpm. See 'vfile external compress'
148 +#auto zlib in rpm = yes
150 +# Automatically download whole index if incremental update fails.
153 +# Do not save given paths into created indexes. This option may significantly
154 +# reduce index size. Example (notice missing starting '/'):
155 +# exclude path = usr/share/doc:usr/share/man:usr/src
158 +# Full path name to a PM (rpm for now) binary.
159 +#pm command = /bin/rpm
161 +# Full path name to sudo binary.
162 +#sudo command = /usr/bin/sudo
165 +### File downloaders configuration
167 +# Send ${USER}@${HOSTNAME} as anonymous FTP password (by default
168 +# 'poldek@znienacka.net' is sent)
169 +#vfile ftp sysuser as anon passwd = no
171 +# File getters configuration parameter. By this option URL handlers may be configured.
172 +# To get file from HTTP and FTP servers poldek uses its internal client (what is
173 +# recommended), although it can be changedby this option. Others protocols handled
174 +# by external utilities can be configured also. The syntax is:
175 +# default fetcher = PROTOCOL[,PROTOCOL...]:FETCHER_NAME
177 +# where FETCHER_NAME is a name of one of the fetcher preconfigured in [fetch]
178 +# sections (placed in fetch.conf in default configuration).
180 +# default fetcher = ftp,http:internal
181 +# default fetcher = https:wget
182 +# default fetcher = cdrom:vfjuggle
183 +# vfjuggle is a cdrom getter supplied with poldek.
184 +#default fetcher = http,ftp: internal
186 +# Proxies for internal FTP and HTTP client may be configured in usual
187 +# way, by environment variables ftp_proxy and http_proxy, or by this option.
188 +# Its syntax is similar to "default fetcher" one:
189 +# proxy = PROTOCOL[,PROTOCOL...]:PROXY_URL
191 +# proxy = http: http://w3cache.foo.org:8080
194 +# Comma separated list of hosts or domains which will not be accessed via proxy.
195 +# Option overrides no_proxy environment variable.
197 +# noproxy = localhost, .pl, ftp.foo.bar.org
200 +# Internal HTTP and FTP client is stubborn, it retries to retrive
201 +# file if connection breaks. This option tells it how many times
203 +#vfile retries = 128
206 +### Installation options
208 +# Install packages in small groups instead of doing all-or-nothing
210 +particle install = no
212 +# Do not remove downloaded packages after its successful installation.
213 +#keep downloads = no
215 +# Controls visibility of multiple package instances with different EVR.
216 +# If on, only one, highest version will be visible.
217 +#unique package names = no
219 +# Epoch autopromotion during dependency comparision. RPM specific.
220 +# Set it up if you are using system with rpm prior to 4.2.1 version.
223 +# Confirm packages installation.
224 +#confirm installation = no
226 +# Confirm packages removal.
227 +#confirm removal = yes
229 +# Let the user select package among equivalents.
230 +choose equivalents manually = yes
232 +# Prevent package listed from being upgraded if they are already installed.
233 +# hold = kernel* dev
236 +# Ignore package list - packages fits given mask will be invisible.
237 +# ignore = *-smp-* foo*
238 +ignore = kernel* udev devfs
240 +# Conflicts with already installed packages are treated as resolved
241 +# if at least one of multiple-installed package satisfies conflict.
242 +# rpm doesn't support such cases, so --pm-nodeps is needed (use with
244 +#allow duplicates = yes
247 +### RPM specific options
249 +# rpm macros can be set by this option. Examples:
250 +# rpmdef = _install_langs pl:pl_PL:lt:lt_LT
251 +# Do not install any documentation:
252 +# rpmdef = _netsharedpath /usr/share/info:/usr/share/man
253 +# rpmdef = _excludedocs 1
257 +### Dependency processing settings
258 +# Subtle dependency processing options, they should not be changed
259 +# unless you know what you are doing
261 +# Automatically install packages required by installed ones.
264 +# Greedy upgrades, i.e. upgrade packages which dependencies are broken
265 +# by being uninstalled ones.
268 +# Be yet more greedy; if successor of orphaned package found, and this
269 +# successor drags no packages then upgrade the package instead of process
270 +# its dependencies. Option value is implied by 'greedy' one by defalut.
271 +#aggressive greedy = yes
273 +# Be tolerant for unmatched versioned dependencies which rpm tolerates, e.g.
274 +# package A requires capability foo >= 1.0 while package B provides "foo"
275 +# without any version. Use with care, it may cause weird dependency errors.
278 +# Taking into account package Obsoletes.
281 +# Taking into account package Conflicts.
283 --- util-vserver-0.30.214.org/distrib/pld-ac/rpm/macros 1970-01-01 01:00:00.000000000 +0100
284 +++ util-vserver-0.30.214/distrib/pld-ac/rpm/macros 2007-11-15 23:20:48.181172125 +0100
286 +# Because of https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=52725
287 +# you have to use at least one language beside 'C'
288 +%_install_langs C:en:pl
289 +%_netsharedpath /dev
290 --- util-vserver-0.30.214.org/distrib/pld-th/pkgs/01 1970-01-01 01:00:00.000000000 +0100
291 +++ util-vserver-0.30.214/distrib/pld-th/pkgs/01 2007-11-15 23:20:48.181172125 +0100
298 --- util-vserver-0.30.214.org/distrib/pld-th/poldek/pld-source.conf 1970-01-01 01:00:00.000000000 +0100
299 +++ util-vserver-0.30.214/distrib/pld-th/poldek/pld-source.conf 2007-11-15 23:20:48.181172125 +0100
301 +# PLD <http://www.pld-linux.org/>
304 +_pld_prefix = ftp://ftp.th.pld-linux.org/dists/th
306 +## You can use them if you have better connection there
308 +#_pld_prefix = ftp://ftp.task.pld-linux.org/dists/th
315 +type = %{_th_idxtype}
317 +path = %{_pld_prefix}/PLD/%{_pld_arch}/RPMS/
320 +type = %{_th_idxtype}
322 +path = %{_pld_prefix}/PLD/noarch/RPMS/
325 +type = %{_th_idxtype}
326 +name = th-updates-security
327 +path = %{_pld_prefix}/updates-security/%{_pld_arch}/RPMS/
330 +type = %{_th_idxtype}
331 +name = th-updates-general
332 +path = %{_pld_prefix}/updates-general/%{_pld_arch}/RPMS/
336 +#type = %{_th_idxtype}
337 +#name = th-supported
338 +#path = %{_pld_prefix}/supported/%{_pld_arch}/RPMS/
342 +type = %{_th_idxtype}
344 +path = %{_pld_prefix}/ready/%{_pld_arch}/RPMS/
348 +type = %{_th_idxtype}
350 +path = %{_pld_prefix}/test/%{_pld_arch}/RPMS/
352 --- util-vserver-0.30.214.org/distrib/pld-th/poldek/poldek.conf 1970-01-01 01:00:00.000000000 +0100
353 +++ util-vserver-0.30.214/distrib/pld-th/poldek/poldek.conf 2007-11-15 23:20:48.184505622 +0100
355 +# poldek main configuration file.
357 +# Some macros. Macros are local, they are not visible in included files
358 +# and macros declared in them are not visible to includer.
359 +# Macros names starts with underscore '_'.
363 +# Both local and remote files may be included. Included files may not contain
364 +# [global] section, it will be ignored anyway.
365 +%include %{_distro}-source.conf
368 +%include source.conf
370 +# External downloaders configuration, not necessary in most cases, cause
371 +# to internal HTTP and FTP client.
372 +#%include fetch.conf
377 +# This parameter allows to configure the default repository index type.
378 +#default index type = pndir
380 +# Cache directory for downloaded files. NOTE: that parent directory of cachedir
382 +#cachedir = $HOME/.poldek-cache
384 +# Switch to ordinary user at startup when executed by root
387 +# Permits using root privileges for installation only. Automatically turned
388 +# on when poldek executed as ordinary user.
391 +# Load /etc/apt/sources.list.
392 +#load apt sources list = no
394 +# Handle gzipped indexes externally (needed on RedHat 9 and Fedora Core 1 and 2).
395 +# This option is a workaround for broken zlib linked into librpm; with enabled
396 +# 'auto zlib in rpm' poldek tries to detect such case and then enables external
397 +# *.gz handling automatically.
398 +#vfile external compress = no
400 +# Auto detection of zlib linked into librpm. See 'vfile external compress'
402 +#auto zlib in rpm = yes
404 +# Automatically download whole index if incremental update fails.
407 +# Do not save given paths into created indexes. This option may significantly
408 +# reduce index size. Example (notice missing starting '/'):
409 +# exclude path = usr/share/doc:usr/share/man:usr/src
412 +# Full path name to a PM (rpm for now) binary.
413 +#pm command = /bin/rpm
415 +# Full path name to sudo binary.
416 +#sudo command = /usr/bin/sudo
419 +### File downloaders configuration
421 +# Send ${USER}@${HOSTNAME} as anonymous FTP password (by default
422 +# 'poldek@znienacka.net' is sent)
423 +#vfile ftp sysuser as anon passwd = no
425 +# File getters configuration parameter. By this option URL handlers may be configured.
426 +# To get file from HTTP and FTP servers poldek uses its internal client (what is
427 +# recommended), although it can be changedby this option. Others protocols handled
428 +# by external utilities can be configured also. The syntax is:
429 +# default fetcher = PROTOCOL[,PROTOCOL...]:FETCHER_NAME
431 +# where FETCHER_NAME is a name of one of the fetcher preconfigured in [fetch]
432 +# sections (placed in fetch.conf in default configuration).
434 +# default fetcher = ftp,http:internal
435 +# default fetcher = https:wget
436 +# default fetcher = cdrom:vfjuggle
437 +# vfjuggle is a cdrom getter supplied with poldek.
438 +#default fetcher = http,ftp: internal
440 +# Proxies for internal FTP and HTTP client may be configured in usual
441 +# way, by environment variables ftp_proxy and http_proxy, or by this option.
442 +# Its syntax is similar to "default fetcher" one:
443 +# proxy = PROTOCOL[,PROTOCOL...]:PROXY_URL
445 +# proxy = http: http://w3cache.foo.org:8080
448 +# Comma separated list of hosts or domains which will not be accessed via proxy.
449 +# Option overrides no_proxy environment variable.
451 +# noproxy = localhost, .pl, ftp.foo.bar.org
454 +# Internal HTTP and FTP client is stubborn, it retries to retrive
455 +# file if connection breaks. This option tells it how many times
457 +#vfile retries = 128
460 +### Installation options
462 +# Install packages in small groups instead of doing all-or-nothing
464 +particle install = no
466 +# Do not remove downloaded packages after its successful installation.
467 +#keep downloads = no
469 +# Controls visibility of multiple package instances with different EVR.
470 +# If on, only one, highest version will be visible.
471 +#unique package names = no
473 +# Epoch autopromotion during dependency comparision. RPM specific.
474 +# Set it up if you are using system with rpm prior to 4.2.1 version.
477 +# Confirm packages installation.
478 +#confirm installation = no
480 +# Confirm packages removal.
481 +#confirm removal = yes
483 +# Let the user select package among equivalents.
484 +choose equivalents manually = yes
486 +# Prevent package listed from being upgraded if they are already installed.
487 +# hold = kernel* dev
490 +# Ignore package list - packages fits given mask will be invisible.
491 +# ignore = *-smp-* foo*
492 +ignore = kernel* udev devfs
494 +# Conflicts with already installed packages are treated as resolved
495 +# if at least one of multiple-installed package satisfies conflict.
496 +# rpm doesn't support such cases, so --pm-nodeps is needed (use with
498 +#allow duplicates = yes
501 +### RPM specific options
503 +# rpm macros can be set by this option. Examples:
504 +# rpmdef = _install_langs pl:pl_PL:lt:lt_LT
505 +# Do not install any documentation:
506 +# rpmdef = _netsharedpath /usr/share/info:/usr/share/man
507 +# rpmdef = _excludedocs 1
511 +### Dependency processing settings
512 +# Subtle dependency processing options, they should not be changed
513 +# unless you know what you are doing
515 +# Automatically install packages required by installed ones.
518 +# Greedy upgrades, i.e. upgrade packages which dependencies are broken
519 +# by being uninstalled ones.
522 +# Be yet more greedy; if successor of orphaned package found, and this
523 +# successor drags no packages then upgrade the package instead of process
524 +# its dependencies. Option value is implied by 'greedy' one by defalut.
525 +#aggressive greedy = yes
527 +# Be tolerant for unmatched versioned dependencies which rpm tolerates, e.g.
528 +# package A requires capability foo >= 1.0 while package B provides "foo"
529 +# without any version. Use with care, it may cause weird dependency errors.
532 +# Taking into account package Obsoletes.
535 +# Taking into account package Conflicts.
537 --- util-vserver-0.30.214.org/distrib/pld-th/rpm/macros 1970-01-01 01:00:00.000000000 +0100
538 +++ util-vserver-0.30.214/distrib/pld-th/rpm/macros 2007-11-15 23:20:48.184505622 +0100
540 +# Because of https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=52725
541 +# you have to use at least one language beside 'C'
542 +%_install_langs C:en:pl
543 +%_netsharedpath /dev
544 --- util-vserver-0.30.214.org/distrib/pld-ti/pkgs/01 1970-01-01 01:00:00.000000000 +0100
545 +++ util-vserver-0.30.214/distrib/pld-ti/pkgs/01 2007-11-15 23:20:48.217840583 +0100
552 --- util-vserver-0.30.214.org/distrib/pld-ti/poldek/pld-source.conf 1970-01-01 01:00:00.000000000 +0100
553 +++ util-vserver-0.30.214/distrib/pld-ti/poldek/pld-source.conf 2007-11-15 23:20:48.217840583 +0100
556 +# Unofficial version of PLD Linux Distribution
557 +# http://www.pld-linux.org/Titanium
560 +_prefix = ftp://ftp.titanium.pld-linux.org/branches/titanium
567 +path = %{_prefix}/PLD/%{_arch}/RPMS/
572 +path = %{_prefix}/PLD/noarch/RPMS/
576 +name = titanium-ready
577 +path = %{_prefix}/ready/%{_arch}/RPMS/
583 +name = titanium-ready
584 +path = %{_prefix}/ready/noarch/RPMS/
590 +name = titanium-test
591 +path = %{_prefix}/test/%{_arch}/RPMS/
597 +name = titanium-test
598 +path = %{_prefix}/test/noarch/RPMS/
601 --- util-vserver-0.30.214.org/distrib/pld-ti/poldek/poldek.conf 1970-01-01 01:00:00.000000000 +0100
602 +++ util-vserver-0.30.214/distrib/pld-ti/poldek/poldek.conf 2007-11-15 23:20:48.217840583 +0100
604 +# poldek main configuration file.
606 +# Some macros. Macros are local, they are not visible in included files
607 +# and macros declared in them are not visible to includer.
608 +# Macros names starts with underscore '_'.
612 +# Both local and remote files may be included. Included files may not contain
613 +# [global] section, it will be ignored anyway.
614 +%include %{_distro}-source.conf
617 +%include source.conf
619 +# External downloaders configuration, not necessary in most cases, cause
620 +# to internal HTTP and FTP client.
621 +#%include fetch.conf
626 +# This parameter allows to configure the default repository index type.
627 +#default index type = pndir
629 +# Cache directory for downloaded files. NOTE: that parent directory of cachedir
631 +#cachedir = $HOME/.poldek-cache
633 +# Switch to ordinary user at startup when executed by root
636 +# Permits using root privileges for installation only. Automatically turned
637 +# on when poldek executed as ordinary user.
640 +# Load /etc/apt/sources.list.
641 +#load apt sources list = no
643 +# Handle gzipped indexes externally (needed on RedHat 9 and Fedora Core 1 and 2).
644 +# This option is a workaround for broken zlib linked into librpm; with enabled
645 +# 'auto zlib in rpm' poldek tries to detect such case and then enables external
646 +# *.gz handling automatically.
647 +#vfile external compress = no
649 +# Auto detection of zlib linked into librpm. See 'vfile external compress'
651 +#auto zlib in rpm = yes
653 +# Automatically download whole index if incremental update fails.
656 +# Do not save given paths into created indexes. This option may significantly
657 +# reduce index size. Example (notice missing starting '/'):
658 +# exclude path = usr/share/doc:usr/share/man:usr/src
661 +# Full path name to a PM (rpm for now) binary.
662 +#pm command = /bin/rpm
664 +# Full path name to sudo binary.
665 +#sudo command = /usr/bin/sudo
668 +### File downloaders configuration
670 +# Send ${USER}@${HOSTNAME} as anonymous FTP password (by default
671 +# 'poldek@znienacka.net' is sent)
672 +#vfile ftp sysuser as anon passwd = no
674 +# File getters configuration parameter. By this option URL handlers may be configured.
675 +# To get file from HTTP and FTP servers poldek uses its internal client (what is
676 +# recommended), although it can be changedby this option. Others protocols handled
677 +# by external utilities can be configured also. The syntax is:
678 +# default fetcher = PROTOCOL[,PROTOCOL...]:FETCHER_NAME
680 +# where FETCHER_NAME is a name of one of the fetcher preconfigured in [fetch]
681 +# sections (placed in fetch.conf in default configuration).
683 +# default fetcher = ftp,http:internal
684 +# default fetcher = https:wget
685 +# default fetcher = cdrom:vfjuggle
686 +# vfjuggle is a cdrom getter supplied with poldek.
687 +#default fetcher = http,ftp: internal
689 +# Proxies for internal FTP and HTTP client may be configured in usual
690 +# way, by environment variables ftp_proxy and http_proxy, or by this option.
691 +# Its syntax is similar to "default fetcher" one:
692 +# proxy = PROTOCOL[,PROTOCOL...]:PROXY_URL
694 +# proxy = http: http://w3cache.foo.org:8080
697 +# Comma separated list of hosts or domains which will not be accessed via proxy.
698 +# Option overrides no_proxy environment variable.
700 +# noproxy = localhost, .pl, ftp.foo.bar.org
703 +# Internal HTTP and FTP client is stubborn, it retries to retrive
704 +# file if connection breaks. This option tells it how many times
706 +#vfile retries = 128
709 +### Installation options
711 +# Install packages in small groups instead of doing all-or-nothing
713 +particle install = no
715 +# Do not remove downloaded packages after its successful installation.
716 +#keep downloads = no
718 +# Controls visibility of multiple package instances with different EVR.
719 +# If on, only one, highest version will be visible.
720 +#unique package names = no
722 +# Epoch autopromotion during dependency comparision. RPM specific.
723 +# Set it up if you are using system with rpm prior to 4.2.1 version.
726 +# Confirm packages installation.
727 +#confirm installation = no
729 +# Confirm packages removal.
730 +#confirm removal = yes
732 +# Let the user select package among equivalents.
733 +choose equivalents manually = yes
735 +# Prevent package listed from being upgraded if they are already installed.
736 +# hold = kernel* dev
739 +# Ignore package list - packages fits given mask will be invisible.
740 +# ignore = *-smp-* foo*
741 +ignore = kernel* udev devfs
743 +# Conflicts with already installed packages are treated as resolved
744 +# if at least one of multiple-installed package satisfies conflict.
745 +# rpm doesn't support such cases, so --pm-nodeps is needed (use with
747 +#allow duplicates = yes
750 +### RPM specific options
752 +# rpm macros can be set by this option. Examples:
753 +# rpmdef = _install_langs pl:pl_PL:lt:lt_LT
754 +# Do not install any documentation:
755 +# rpmdef = _netsharedpath /usr/share/info:/usr/share/man
756 +# rpmdef = _excludedocs 1
760 +### Dependency processing settings
761 +# Subtle dependency processing options, they should not be changed
762 +# unless you know what you are doing
764 +# Automatically install packages required by installed ones.
767 +# Greedy upgrades, i.e. upgrade packages which dependencies are broken
768 +# by being uninstalled ones.
771 +# Be yet more greedy; if successor of orphaned package found, and this
772 +# successor drags no packages then upgrade the package instead of process
773 +# its dependencies. Option value is implied by 'greedy' one by defalut.
774 +#aggressive greedy = yes
776 +# Be tolerant for unmatched versioned dependencies which rpm tolerates, e.g.
777 +# package A requires capability foo >= 1.0 while package B provides "foo"
778 +# without any version. Use with care, it may cause weird dependency errors.
781 +# Taking into account package Obsoletes.
784 +# Taking into account package Conflicts.
786 --- util-vserver-0.30.214.org/distrib/pld-ti/rpm/macros 1970-01-01 01:00:00.000000000 +0100
787 +++ util-vserver-0.30.214/distrib/pld-ti/rpm/macros 2007-11-15 23:20:48.221174080 +0100
789 +# Because of https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=52725
790 +# you have to use at least one language beside 'C'
791 +%_install_langs C:en:pl
792 +%_netsharedpath /dev
793 --- util-vserver-0.30.214.org/scripts/functions 2007-09-02 22:06:41.000000000 +0200
794 +++ util-vserver-0.30.214/scripts/functions 2007-11-15 23:20:48.221174080 +0100
799 +function _pkgSetVarsPoldek
801 + if test -n "$PKGDIR"; then
802 + findDir POLDEKETCDIR $PKGDIR/poldeketc $PKGDIR/base/poldek/etc /etc/poldek
803 + findDir POLDEKCACHEDIR $PKGDIR/poldek-cache $PKGDIR/base/poldek/cache
805 + findDir POLDEKETCDIR "$VDIR"/etc/poldek /etc/poldek
806 + findDir POLDEKCACHEDIR "$VDIR"/var/tmp/poldek-cache
809 + findFile POLDEK_CONFIG "$POLDEKETCDIR"/poldek.conf ""
810 + test -z "$POLDEK_CONFIG" || export POLDEK_CONFIG
814 function _pkgMountBase
817 rpm) _pkgSetVarsRPM;;
818 apt) _pkgSetVarsApt;;
819 yum) _pkgSetVarsYum;;
820 + poldek) _pkgSetVarsPoldek;;
821 *) echo "Unknown packaging flavor" >&2; exit 1;;
826 elif test -e "$_pgs_vdir"/etc/mandrake-release; then
828 + elif test -e "$_pgs_vdir"/etc/pld-release; then
830 elif test -e "$_pgs_vdir"/etc/debian_version; then
832 elif test -e "$_pgs_vdir"/etc/SuSE-release; then
834 test -n "$have_yum" && return 0 || return 1
837 +## Usage: pkgmgmt.isPoldekAvailable <cfgdir> <vdir> [<is-internal>]
838 +function pkgmgmt.isPoldekAvailable
842 + local is_internal="$3"
844 + local have_poldek i
845 + if test -n "$is_internal"; then
847 + test -d "$cfgdir"/base/poldek -o -d "$cfgdir"/poldeketc || have_poldek=
850 + for i in /bin /usr/bin /usr/local/bin; do
851 + test ! -x "$vdir$i"/poldek || { have_poldek=1; break; }
855 + test -n "$have_poldek" && return 0 || return 1
859 function vshelper.doSanityCheck
861 --- util-vserver-0.30.214.org/scripts/Makefile-files 2007-09-02 22:06:41.000000000 +0200
862 +++ util-vserver-0.30.214/scripts/Makefile-files 2007-11-15 23:20:48.221174080 +0100
864 scripts/vapt-get-worker \
865 scripts/vrpm-worker \
866 scripts/vyum-worker \
867 + scripts/vpoldek-worker \
868 scripts/vrpm-preload \
869 scripts/save_s_context \
870 scripts/vservers.grabinfo.sh \
872 scripts/vserver-build.template \
873 scripts/vserver-build.rsync \
874 scripts/vserver-build.clone \
875 + scripts/vserver-build.poldek \
876 scripts/vserver-build.functions \
877 scripts/vserver-build.functions.apt \
878 scripts/vserver-build.functions.rpm \
879 scripts/vserver-build.functions.pkgmgmt \
880 scripts/vserver-build.functions.yum \
881 + scripts/vserver-build.functions.poldek \
882 scripts/vserver-setup.functions \
883 scripts/vserver.functions \
884 scripts/vserver.start \
886 scripts_pkglib_src_SCRPTS = scripts/pkgmgmt \
887 scripts/vapt-get-worker \
889 + scripts/vpoldek-worker \
890 scripts/vrpm-worker \
891 scripts/vrpm-preload \
892 scripts/start-vservers \
894 scripts_sbin_src_PRGS = scripts/chbind \
898 scripts/vdispatch-conf \
901 --- util-vserver-0.30.214.org/scripts/pkgmgmt 2007-09-02 22:06:41.000000000 +0200
902 +++ util-vserver-0.30.214/scripts/pkgmgmt 2007-11-15 23:20:48.221174080 +0100
907 - (RH) pkgs=$(vrpm "$1" -- -q --qf '---%{NAME}---\n' rpm apt yum "${YUM_RELEASEPKGS[@]}")
908 + (RH) pkgs=$(vrpm "$1" -- -q --qf '---%{NAME}---\n' rpm apt yum poldek "${YUM_RELEASEPKGS[@]}")
909 hasSubstring "$pkgs" ---rpm--- || {
911 * The vserver does not seem to have the 'rpm' package which is required
916 - hasSubstring "$pkgs" ---apt--- ---yum--- || {
917 + hasSubstring "$pkgs" ---apt--- ---yum--- ---poldek--- || {
919 -* The vserver does not seem to have a depsolver like 'apt' or 'yum'
920 +* The vserver does not seem to have a depsolver like 'apt', 'yum' or 'poldek'
921 installed. It is suggested to install such a program before setting
922 up internal package management."
924 @@ -368,6 +368,131 @@
928 +function processVserver_PLD()
931 + local is_internalize=$2
935 + cfgdir=$($_VSERVER_INFO "$vserver" APPDIR pkgmgmt) || \
936 + cfgdir=$($_VSERVER_INFO "$vserver" APPDIR)/pkgmgmt
938 + ## Figure out the environment....
939 + pkgmgmt.isPoldekAvailable "$cfgdir" "$vdir" "$is_internalize" || have_poldek=
941 + local POLDEKETCDIR=
942 + local POLDEKCACHEDIR=
946 + ## Create directories and assign variables where configuration
947 + ## can/will be found on the host
948 + if test -n "$is_internalize"; then
949 + verifyInternalPackages "$vserver" RH || test -n "$IS_FORCE" ||
951 +Can not continue; use '--force' to override this check"
953 + pushd "$vdir" >/dev/null
955 + test ! -L var/lib/rpm || {
956 + $_EXEC_CD /var/lib $_RM rpm &&
957 + $_EXEC_CD /var/lib $_MKDIR -m755 rpm &&
958 + $_EXEC_CD /var/lib $_CHOWN rpm:rpm rpm ||
960 + } </dev/null 2>/dev/null
962 + for i in var/tmp/poldek-cache etc/rpm etc/poldek; do
964 + $_EXEC_CD /$(dirname "$i") $_MKDIR -m755 $(basename "$i") || :
969 + if test -n "$have_poldek"; then
970 + findDir POLDEKETCDIR "$cfgdir"/poldeketc "$cfgdir"/base/poldek/etc /etc/poldek
973 + findDir RPMETCDIR "$cfgdir"/rpmetc "$cfgdir"/base/rpm/etc /etc/rpm /
974 + findDir RPMSTATEDIR "$cfgdir"/rpmstate "$cfgdir"/base/rpm/state
976 + mkdir -m755 -p "$cfgdir"
979 + if test -n "$have_poldek"; then
980 + findDir POLDEKETCDIR "$cfgdir"/poldeketc "$cfgdir"/base/poldek/etc /
981 + findDir POLDEKCACHEDIR "$cfgdir"/poldek-cache "$cfgdir"/base/poldek/cache /
983 + test "$POLDEKETCDIR" != / || POLDEKETCDIR=$cfgdir/base/poldek/etc
984 + test "$POLDEKCACHEDIR" != / || POLDEKCACHEDIR=$cfgdir/base/poldek/cache
986 + test -d "$cfgdir"/poldeketc -a -d "$cfgdir"/poldek-cache || need_base=1
989 + findDir RPMETCDIR "$cfgdir"/rpmetc "$cfgdir"/base/rpm/etc /
990 + findDir RPMSTATEDIR "$cfgdir"/rpmstate "$cfgdir"/base/rpm/state /
992 + test "$RPMETCDIR" != / || RPMETCDIR=$cfgdir/base/rpm/etc
993 + test "$RPMSTATEDIR" != / || RPMSTATEDIR=$cfgdir/base/rpm/state
995 + test -d "$cfgdir"/rpmetc -a -d "$cfgdir"/rpmstate || need_base=1
996 + test ! -e "$cfgdir"/base || need_base=
998 + test -z "$need_base" || ln -s "$PKGCFGDIR" "$cfgdir"/base
1000 + mkdir -m755 -p "$PKGCFGDIR"
1001 + _createDirs "$POLDEKETCDIR" "$POLDEKCACHEDIR" \
1002 + "$RPMETCDIR" "$RPMSTATEDIR"
1005 + ## Copy the files...
1006 + if test -n "$is_internalize"; then
1007 + if test -n "$have_poldek"; then
1008 + _copySecure "$vdir" "$POLDEKETCDIR" /etc/poldek
1009 + pushd "$vdir" >/dev/null
1010 + _hashAuto /etc/poldek.conf '/'
1014 + _copySecure "$vdir" "$RPMETCDIR" /etc/rpm
1015 + _copySecure "$vdir" "$RPMSTATEDIR" /var/lib/rpm
1017 + pushd "$vdir" >/dev/null
1018 + ## remove %_dbpath settings
1019 + _substFile /etc/rpm/macros '/^%_dbpath[ \t].*/D'
1022 + if test -n "$have_poldek"; then
1023 + _copySecureRev "$vdir" /etc/poldek "$POLDEKETCDIR"
1024 + _unhashAuto "$POLDEKETCDIR"/poldek.conf '/'
1027 + _copySecureRev "$vdir" /etc/rpm "$RPMETCDIR"
1028 + _copySecureRev "$vdir" /var/lib/rpm "$RPMSTATEDIR"
1030 + echo -e "%_dbpath\t\t$rpmdb_mntpoint" >>$RPMETCDIR/macros
1034 + if test -n "$is_internalize"; then
1037 + tmpdir=$($_MKTEMPDIR -p /var/tmp pgmgmt.XXXXXX)
1038 + trap "$_RM -rf $tmpdir" EXIT
1039 + pushd "$vdir" >/dev/null
1040 + $_EXEC_CD /var/lib $_MV rpm $tmpdir/
1041 + $_EXEC_CD /var/lib $_LN_S "$rpmdb_mntpoint" rpm
1046 + if test -n "$is_internalize"; then
1047 + $_TOUCH "$cfgdir"/internal
1049 + $_RM -f "$cfgdir"/internal
1053 function processVserver_Debian()
1059 (redhat|mandrake) processVserver_RH "$vserver" "$IS_INTERNALIZE";;
1060 + (pld) processVserver_PLD "$vserver" "$IS_INTERNALIZE";;
1061 (debian) processVserver_Debian "$vserver" "$IS_INTERNALIZE";;
1063 echo $"Vserver style '$style' is not supported for packagemanagment" >&2
1064 --- util-vserver-0.30.214.org/scripts/util-vserver-vars.pathsubst 2007-09-02 22:06:41.000000000 +0200
1065 +++ util-vserver-0.30.214/scripts/util-vserver-vars.pathsubst 2007-11-15 23:20:48.221174080 +0100
1067 _LIB_VSERVER_BUILD_FUNCTIONS_RPM="$__PKGLIBDIR/vserver-build.functions.rpm"
1068 _LIB_VSERVER_BUILD_FUNCTIONS_YUM="$__PKGLIBDIR/vserver-build.functions.yum"
1069 _LIB_VSERVER_BUILD_FUNCTIONS_PKGMGMT="$__PKGLIBDIR/vserver-build.functions.pkgmgmt"
1070 +_LIB_VSERVER_BUILD_FUNCTIONS_POLDEK="$__PKGLIBDIR/vserver-build.functions.poldek"
1071 _LISTDEVIP="$__LEGACYDIR/listdevip"
1072 _LOCKFILE="$__PKGLIBDIR/lockfile"
1073 _MASK2PREFIX="$__PKGLIBDIR/mask2prefix"
1075 _VUNIFY="$__PKGLIBDIR/vunify"
1076 _VYUM="$__SBINDIR/vyum"
1077 _VYUM_WORKER="$__PKGLIBDIR/vyum-worker"
1078 +_VPOLDEK="$__SBINDIR/vpoldek"
1079 +_VPOLDEK_WORKER="$__PKGLIBDIR/vpoldek-worker"
1083 --- util-vserver-0.30.214.org/scripts/vpkg 2007-09-02 22:06:41.000000000 +0200
1084 +++ util-vserver-0.30.214/scripts/vpkg 2007-11-15 23:20:48.221174080 +0100
1085 @@ -115,6 +115,44 @@
1093 + ## rpm outputs sometimes '(contains no files)', so return
1094 + ## only the valid output
1096 + rpm_param=( -qac --pipe "$_SED '\!^/!p;d'" );;
1098 + rpm_param=( -Uvh "$@" )
1099 + poldek_param=( --install -v "$@" )
1103 + if test -n "$is_external"; then
1105 + test -d "$cfgdir"/base/poldek -o -d "$cfgdir"/poldeketc || have_poldek=
1108 + for i in /bin /usr/bin /usr/local/bin; do
1109 + test ! -x "$vdir$i"/poldek || { have_poldek=1; break; }
1113 + if test -n "$is_external"; then
1114 + if test "$have_poldek" -a "$poldek_param"; then
1115 + cmd=( "$_VPOLDEK" "$vserver" -- "${poldek_param[@]}" )
1117 + cmd=( "$_VRPM" "$vserver" -- "${rpm_param[@]}" )
1120 + if test "$have_poldek" -a "$poldek_param"; then
1121 + cmd=( "$_VSERVER" --silent "$vserver" exec poldek "${poldek_param[@]}" )
1123 + cmd=( "$_VSERVER" --silent "$vserver" exec rpm "${rpm_param[@]}" )
1130 --- util-vserver-0.30.214.org/scripts/vpoldek 1970-01-01 01:00:00.000000000 +0100
1131 +++ util-vserver-0.30.214/scripts/vpoldek 2007-11-15 22:00:24.000000000 +0100
1136 +# Copyright (C) 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
1138 +# This program is free software; you can redistribute it and/or modify
1139 +# it under the terms of the GNU General Public License as published by
1140 +# the Free Software Foundation; version 2 of the License.
1142 +# This program is distributed in the hope that it will be useful,
1143 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1144 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1145 +# GNU General Public License for more details.
1147 +# You should have received a copy of the GNU General Public License
1148 +# along with this program; if not, write to the Free Software
1149 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1151 +: ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars}
1152 +test -e "$UTIL_VSERVER_VARS" || {
1153 + echo $"Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2
1156 +. "$UTIL_VSERVER_VARS"
1157 +. "$_LIB_FUNCTIONS"
1160 +function showHelp()
1163 +$"Usage: $0 <vserver-name>* [--all] -- <params>+
1165 +Report bugs to <$PACKAGE_BUGREPORT>."
1169 +function showVersion()
1172 +$"vpoldek $PACKAGE_VERSION -- poldek for vservers
1173 +This program is part of $PACKAGE_STRING
1175 +Copyright (C) 2007 Enrico Scholz
1176 +This program is free software; you may redistribute it under the terms of
1177 +the GNU General Public License. This program has absolutely no warranty."
1181 +tmp=$(getopt -o +q --long help,version,debug,quiet,all -n "$0" -- "$@") || exit 1
1184 +declare -a send_through poldek_opts
1188 + (--help) showHelp $0 ;;
1189 + (--version) showVersion ;;
1190 + (--debug) send_through=( "${send_through[@]}" "$1" ); set -x;;
1191 + (--quiet|-q) send_through=( "${send_through[@]}" "$1" );;
1192 + (--all) poldek_opts=( "${poldek_opts[@]}" "$1" );;
1193 + (--) shift; break;;
1194 + (*) echo $"vpoldek: internal error; arg=='$1'" >&2; exit 1;;
1199 +VSOMETHING_TITLE=vpoldek
1200 +VSOMETHING_WORKER=$_VPOLDEK_WORKER
1201 +VSOMETHING_PKGMGMT=1
1203 +export VSOMETHING_TITLE VSOMETHING_WORKER VSOMETHING_PKGMGMT
1205 +test ${#poldek_opts[@]} -eq 0 || poldek_opts=( "${poldek_opts[@]}" -- )
1206 +exec $_VSOMETHING "${send_through[@]}" poldek "${poldek_opts[@]}" "$@"
1207 --- util-vserver-0.30.214.org/scripts/vpoldek-worker 1970-01-01 01:00:00.000000000 +0100
1208 +++ util-vserver-0.30.214/scripts/vpoldek-worker 2007-11-15 22:58:23.000000000 +0100
1213 +# Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
1215 +# This program is free software; you can redistribute it and/or modify
1216 +# it under the terms of the GNU General Public License as published by
1217 +# the Free Software Foundation; version 2 of the License.
1219 +# This program is distributed in the hope that it will be useful,
1220 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1221 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1222 +# GNU General Public License for more details.
1224 +# You should have received a copy of the GNU General Public License
1225 +# along with this program; if not, write to the Free Software
1226 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1230 +: ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars}
1231 +test -e "$UTIL_VSERVER_VARS" || {
1232 + echo $"Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2
1235 +. "$UTIL_VSERVER_VARS"
1236 +. "$_LIB_FUNCTIONS"
1242 +pkgInit "$vserver" rpm poldek
1244 +test -z "$_POLDEK" || {
1245 + warning $"The environment variable \$_POLDEK is not supported anymore; please use \$POLDEK instead of"
1246 + ${POLDEK:=$_POLDEK}
1249 +exec ${_POLDEK:-poldek} \
1251 + --cachedir=$POLDEKCACHEDIR \
1252 + --conf=$POLDEK_CONFIG \
1253 + --pmcmd=$RPM_BINARY \
1255 --- util-vserver-0.30.214.org/scripts/vserver-build 2007-09-02 22:06:41.000000000 +0200
1256 +++ util-vserver-0.30.214/scripts/vserver-build 2007-11-15 23:20:48.224507577 +0100
1258 yum ... -- -d <distribution>
1259 ... installs the base-packages of the given distribution with
1261 + poldek ... -- -d <distribution>
1262 + ... installs the base-packages of the given distribution with
1264 rpm ... -- [-d <distribution>] --empty|([--force] [--nodeps] <manifest>)+
1265 ... installs lists of rpm-packages
1266 skeleton ... -- [<cmd> <args>*]
1270 (xlegacy) exec $_VSERVER_LEGACY "$VSERVER_NAME" build "$@" ;;
1271 - (xapt-rpm|xcopy|xskeleton|xdebootstrap|xyum|xrpm|xtemplate|xfai|xrsync|xclone)
1272 + (xapt-rpm|xcopy|xskeleton|xdebootstrap|xyum|xrpm|xtemplate|xfai|xrsync|xclone|xpoldek)
1273 . $__PKGLIBDIR/vserver-build.$method
1275 (x) panic $"No build-method specified";;
1276 --- util-vserver-0.30.214.org/scripts/vserver-build.functions 2007-09-02 22:06:41.000000000 +0200
1277 +++ util-vserver-0.30.214/scripts/vserver-build.functions 2007-11-15 23:20:48.224507577 +0100
1278 @@ -167,6 +167,12 @@
1279 elif test -e /etc/slackware-version; then
1280 set -- $(cat /etc/slackware-version)
1281 DISTRIBUTION=slackware$2
1282 + elif test -e /etc/pld-release; then
1285 + set -- $(cat /etc/pld-release)
1286 + DISTRIBUTION=pld-$(echo $2 | tr A-Z a-z)
1288 elif test -n "$1"; then
1291 --- util-vserver-0.30.214/scripts/vserver-build.functions.poldek 2007-11-15 23:20:48.224507577 +0100
1292 +++ util-vserver-0.30.214/scripts/vserver-build.functions.poldek 2008-03-25 19:20:07.685144000 +0200
1294 +# $Id$ --*- sh -*--
1296 +# Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
1298 +# This program is free software; you can redistribute it and/or modify
1299 +# it under the terms of the GNU General Public License as published by
1300 +# the Free Software Foundation; version 2 of the License.
1302 +# This program is distributed in the hope that it will be useful,
1303 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1304 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1305 +# GNU General Public License for more details.
1307 +# You should have received a copy of the GNU General Public License
1308 +# along with this program; if not, write to the Free Software
1309 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1311 +function poldek.installBasePackages
1316 + test "$dir" != / || return 0
1317 + for filelist in "$dir"/*; do
1318 + isRegularFile "$filelist" || continue
1320 + local can_fail=false
1321 + local flags='--install'
1323 + set -- $(<$filelist)
1324 + while test "$#" -gt 0; do
1326 + --reinstall) flags='--reinstall';;
1327 + --can-fail) can_fail=true;;
1332 + "$_VPOLDEK" "$name" -- $flags $* || $can_fail
1336 +function poldek.initVariables
1338 + findFile POLDEKCONFDEFAULT \
1339 + "$__CONFDIR/.distributions/$DISTRIBUTION/poldek/poldek.conf" \
1340 + "$__CONFDIR/.defaults/apps/pkgmgmt/poldek/poldek.conf" \
1341 + "$__DISTRIBDIR/$DISTRIBUTION/poldek/poldek.conf" \
1342 + "$__DISTRIBDIR/defaults/poldek/poldek.conf" \
1346 +function poldek.initFilesystem
1348 + mkdir -p "$PKGCFGDIR"/poldek/etc/repos.d
1349 + mkdir -p "$PKGCFGBASE"/poldek-cache
1351 + $_LN_S "$PKGCFGBASE"/poldek-cache "$PKGCFGDIR"/poldek/cache
1353 + populateDirectory "$PKGCFGDIR/poldek/etc" \
1354 + "$__DISTRIBDIR/defaults/poldek" \
1355 + "$__DISTRIBDIR/$DISTRIBUTION/poldek" \
1356 + "$__CONFDIR/.distributions/$DISTRIBUTION/poldek"
1358 + populateDirectory "$PKGCFGDIR/poldek/etc/repos.d" \
1359 + "$__DISTRIBDIR/defaults/poldek/repos.d" \
1360 + "$__DISTRIBDIR/$DISTRIBUTION/poldek/repos.d" \
1361 + "$__CONFDIR/.distributions/$DISTRIBUTION/poldek/repos.d"
1363 +# test -z "$POLDEKCONFDEFAULT" || \
1364 +# $_LN_S "$POLDEKCONFDEFAULT" "$PKGCFGDIR"/poldek/etc/
1366 --- util-vserver-0.30.214.org/scripts/vserver-build.poldek 1970-01-01 01:00:00.000000000 +0100
1367 +++ util-vserver-0.30.214/scripts/vserver-build.poldek 2007-11-15 23:20:48.224507577 +0100
1369 +# $Id$ --*- sh -*--
1371 +# Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
1373 +# This program is free software; you can redistribute it and/or modify
1374 +# it under the terms of the GNU General Public License as published by
1375 +# the Free Software Foundation; version 2 of the License.
1377 +# This program is distributed in the hope that it will be useful,
1378 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1379 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1380 +# GNU General Public License for more details.
1382 +# You should have received a copy of the GNU General Public License
1383 +# along with this program; if not, write to the Free Software
1384 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1386 +tmp=$(getopt -o +d: --long debug -n "$0" -- "$@") || exit 1
1389 +. "$_LIB_VSERVER_BUILD_FUNCTIONS_RPM"
1390 +. "$_LIB_VSERVER_BUILD_FUNCTIONS_POLDEK"
1391 +. "$_LIB_VSERVER_BUILD_FUNCTIONS_PKGMGMT"
1395 + (-d) DISTRIBUTION=$2; shift;;
1396 + (--debug) set -x;;
1397 + (--) shift; break ;;
1398 + (*) echo "vserver-build.poldek: internal error: unrecognized option '$1'" >&2
1409 +pkgmgmt.initVariables
1411 +poldek.initVariables
1413 +base.initFilesystem "$OPTION_FORCE"
1414 +pkgmgmt.initFilesystem "$OPTION_FORCE"
1416 +poldek.initFilesystem
1418 +setup_writeOption "$VSERVER_NAME"
1419 +setup_writeInitialFstab
1421 +test -z "$BUILD_INITPRE" || "$BUILD_INITPRE" "$SETUP_CONFDIR" "$UTIL_VSERVER_VARS"
1422 +rpm.initDB "$SETUP_CONFDIR"
1423 +rpm.importGPGPubKeys "$SETUP_CONFDIR" \
1424 + "$__CONFDIR/.distributions/$DISTRIBUTION/pubkeys" \
1425 + "$__CONFDIR/.distributions/.common/pubkeys" \
1426 + "$__DISTRIBDIR/$DISTRIBUTION/pubkeys"
1428 +$_VPOLDEK "$SETUP_CONFDIR" -- --update-whole
1429 +poldek.installBasePackages "$SETUP_CONFDIR" "$PKGINSTALLDIR"
1430 +test -z "$BUILD_INITPOST" || "$BUILD_INITPOST" "$SETUP_CONFDIR" "$UTIL_VSERVER_VARS"