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 --- /dev/null 2007-11-07 17:05:30.000000000 +0200
44 +++ util-vserver-0.30.214/distrib/defaults/poldek/poldek.conf 2008-03-25 19:36:58.721331962 +0200
46 +# poldek configuration file.
51 +particle install = no
52 +choose equivalents manually = yes
53 +unique package names = yes
56 +ignore = kernel* udev devfs
57 --- util-vserver-0.30.214.org/distrib/pld-ac/pkgs/01 1970-01-01 01:00:00.000000000 +0100
58 +++ util-vserver-0.30.214/distrib/pld-ac/pkgs/01 2007-11-15 23:20:48.181172125 +0100
65 --- util-vserver-0.30.214.org/distrib/pld-ac/poldek/pld-source.conf 1970-01-01 01:00:00.000000000 +0100
66 +++ util-vserver-0.30.214/distrib/pld-ac/poldek/pld-source.conf 2007-11-15 23:20:48.181172125 +0100
69 +# PLD <http://www.pld-linux.org/>
72 +_pld_prefix = ftp://ftp.ac.pld-linux.org/dists/ac
74 +## You can use them if you have better connection there
76 +#_pld_prefix = ftp://ftp.task.pld-linux.org/dists/ac
83 +type = %{_ac_idxtype}
85 +path = %{_pld_prefix}/PLD/%{_pld_arch}/PLD/RPMS/
89 +type = %{_ac_idxtype}
91 +path = %{_pld_prefix}/updates/%{_pld_arch}/
95 +type = %{_ac_idxtype}
97 +path = %{_pld_prefix}/supported/%{_pld_arch}/
102 +type = %{_ac_idxtype}
104 +path = %{_pld_prefix}/ready/%{_pld_arch}/
108 +type = %{_ac_idxtype}
110 +path = %{_pld_prefix}/test/%{_pld_arch}/
112 --- util-vserver-0.30.214.org/distrib/pld-ac/poldek/poldek.conf 1970-01-01 01:00:00.000000000 +0100
113 +++ util-vserver-0.30.214/distrib/pld-ac/poldek/poldek.conf 2007-11-15 23:20:48.181172125 +0100
115 +# poldek main configuration file.
117 +# Some macros. Macros are local, they are not visible in included files
118 +# and macros declared in them are not visible to includer.
119 +# Macros names starts with underscore '_'.
123 +# Both local and remote files may be included. Included files may not contain
124 +# [global] section, it will be ignored anyway.
125 +%include %{_distro}-source.conf
128 +%include source.conf
130 +# External downloaders configuration, not necessary in most cases, cause
131 +# to internal HTTP and FTP client.
132 +#%include fetch.conf
137 +# This parameter allows to configure the default repository index type.
138 +#default index type = pndir
140 +# Cache directory for downloaded files. NOTE: that parent directory of cachedir
142 +#cachedir = $HOME/.poldek-cache
144 +# Switch to ordinary user at startup when executed by root
147 +# Permits using root privileges for installation only. Automatically turned
148 +# on when poldek executed as ordinary user.
151 +# Load /etc/apt/sources.list.
152 +#load apt sources list = no
154 +# Handle gzipped indexes externally (needed on RedHat 9 and Fedora Core 1 and 2).
155 +# This option is a workaround for broken zlib linked into librpm; with enabled
156 +# 'auto zlib in rpm' poldek tries to detect such case and then enables external
157 +# *.gz handling automatically.
158 +#vfile external compress = no
160 +# Auto detection of zlib linked into librpm. See 'vfile external compress'
162 +#auto zlib in rpm = yes
164 +# Automatically download whole index if incremental update fails.
167 +# Do not save given paths into created indexes. This option may significantly
168 +# reduce index size. Example (notice missing starting '/'):
169 +# exclude path = usr/share/doc:usr/share/man:usr/src
172 +# Full path name to a PM (rpm for now) binary.
173 +#pm command = /bin/rpm
175 +# Full path name to sudo binary.
176 +#sudo command = /usr/bin/sudo
179 +### File downloaders configuration
181 +# Send ${USER}@${HOSTNAME} as anonymous FTP password (by default
182 +# 'poldek@znienacka.net' is sent)
183 +#vfile ftp sysuser as anon passwd = no
185 +# File getters configuration parameter. By this option URL handlers may be configured.
186 +# To get file from HTTP and FTP servers poldek uses its internal client (what is
187 +# recommended), although it can be changedby this option. Others protocols handled
188 +# by external utilities can be configured also. The syntax is:
189 +# default fetcher = PROTOCOL[,PROTOCOL...]:FETCHER_NAME
191 +# where FETCHER_NAME is a name of one of the fetcher preconfigured in [fetch]
192 +# sections (placed in fetch.conf in default configuration).
194 +# default fetcher = ftp,http:internal
195 +# default fetcher = https:wget
196 +# default fetcher = cdrom:vfjuggle
197 +# vfjuggle is a cdrom getter supplied with poldek.
198 +#default fetcher = http,ftp: internal
200 +# Proxies for internal FTP and HTTP client may be configured in usual
201 +# way, by environment variables ftp_proxy and http_proxy, or by this option.
202 +# Its syntax is similar to "default fetcher" one:
203 +# proxy = PROTOCOL[,PROTOCOL...]:PROXY_URL
205 +# proxy = http: http://w3cache.foo.org:8080
208 +# Comma separated list of hosts or domains which will not be accessed via proxy.
209 +# Option overrides no_proxy environment variable.
211 +# noproxy = localhost, .pl, ftp.foo.bar.org
214 +# Internal HTTP and FTP client is stubborn, it retries to retrive
215 +# file if connection breaks. This option tells it how many times
217 +#vfile retries = 128
220 +### Installation options
222 +# Install packages in small groups instead of doing all-or-nothing
224 +particle install = no
226 +# Do not remove downloaded packages after its successful installation.
227 +#keep downloads = no
229 +# Controls visibility of multiple package instances with different EVR.
230 +# If on, only one, highest version will be visible.
231 +#unique package names = no
233 +# Epoch autopromotion during dependency comparision. RPM specific.
234 +# Set it up if you are using system with rpm prior to 4.2.1 version.
237 +# Confirm packages installation.
238 +#confirm installation = no
240 +# Confirm packages removal.
241 +#confirm removal = yes
243 +# Let the user select package among equivalents.
244 +choose equivalents manually = yes
246 +# Prevent package listed from being upgraded if they are already installed.
247 +# hold = kernel* dev
250 +# Ignore package list - packages fits given mask will be invisible.
251 +# ignore = *-smp-* foo*
252 +ignore = kernel* udev devfs
254 +# Conflicts with already installed packages are treated as resolved
255 +# if at least one of multiple-installed package satisfies conflict.
256 +# rpm doesn't support such cases, so --pm-nodeps is needed (use with
258 +#allow duplicates = yes
261 +### RPM specific options
263 +# rpm macros can be set by this option. Examples:
264 +# rpmdef = _install_langs pl:pl_PL:lt:lt_LT
265 +# Do not install any documentation:
266 +# rpmdef = _netsharedpath /usr/share/info:/usr/share/man
267 +# rpmdef = _excludedocs 1
271 +### Dependency processing settings
272 +# Subtle dependency processing options, they should not be changed
273 +# unless you know what you are doing
275 +# Automatically install packages required by installed ones.
278 +# Greedy upgrades, i.e. upgrade packages which dependencies are broken
279 +# by being uninstalled ones.
282 +# Be yet more greedy; if successor of orphaned package found, and this
283 +# successor drags no packages then upgrade the package instead of process
284 +# its dependencies. Option value is implied by 'greedy' one by defalut.
285 +#aggressive greedy = yes
287 +# Be tolerant for unmatched versioned dependencies which rpm tolerates, e.g.
288 +# package A requires capability foo >= 1.0 while package B provides "foo"
289 +# without any version. Use with care, it may cause weird dependency errors.
292 +# Taking into account package Obsoletes.
295 +# Taking into account package Conflicts.
297 --- util-vserver-0.30.214.org/distrib/pld-ac/rpm/macros 1970-01-01 01:00:00.000000000 +0100
298 +++ util-vserver-0.30.214/distrib/pld-ac/rpm/macros 2007-11-15 23:20:48.181172125 +0100
300 +# Because of https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=52725
301 +# you have to use at least one language beside 'C'
302 +%_install_langs C:en:pl
303 +%_netsharedpath /dev
304 --- util-vserver-0.30.214.org/distrib/pld-th/pkgs/01 1970-01-01 01:00:00.000000000 +0100
305 +++ util-vserver-0.30.214/distrib/pld-th/pkgs/01 2007-11-15 23:20:48.181172125 +0100
312 --- util-vserver-0.30.214.org/distrib/pld-th/poldek/pld-source.conf 1970-01-01 01:00:00.000000000 +0100
313 +++ util-vserver-0.30.214/distrib/pld-th/poldek/pld-source.conf 2007-11-15 23:20:48.181172125 +0100
315 +# PLD <http://www.pld-linux.org/>
318 +_pld_prefix = ftp://ftp.th.pld-linux.org/dists/th
320 +## You can use them if you have better connection there
322 +#_pld_prefix = ftp://ftp.task.pld-linux.org/dists/th
329 +type = %{_th_idxtype}
331 +path = %{_pld_prefix}/PLD/%{_pld_arch}/RPMS/
334 +type = %{_th_idxtype}
336 +path = %{_pld_prefix}/PLD/noarch/RPMS/
339 +type = %{_th_idxtype}
340 +name = th-updates-security
341 +path = %{_pld_prefix}/updates-security/%{_pld_arch}/RPMS/
344 +type = %{_th_idxtype}
345 +name = th-updates-general
346 +path = %{_pld_prefix}/updates-general/%{_pld_arch}/RPMS/
350 +#type = %{_th_idxtype}
351 +#name = th-supported
352 +#path = %{_pld_prefix}/supported/%{_pld_arch}/RPMS/
356 +type = %{_th_idxtype}
358 +path = %{_pld_prefix}/ready/%{_pld_arch}/RPMS/
362 +type = %{_th_idxtype}
364 +path = %{_pld_prefix}/test/%{_pld_arch}/RPMS/
366 --- util-vserver-0.30.214.org/distrib/pld-th/poldek/poldek.conf 1970-01-01 01:00:00.000000000 +0100
367 +++ util-vserver-0.30.214/distrib/pld-th/poldek/poldek.conf 2007-11-15 23:20:48.184505622 +0100
369 +# poldek main configuration file.
371 +# Some macros. Macros are local, they are not visible in included files
372 +# and macros declared in them are not visible to includer.
373 +# Macros names starts with underscore '_'.
377 +# Both local and remote files may be included. Included files may not contain
378 +# [global] section, it will be ignored anyway.
379 +%include %{_distro}-source.conf
382 +%include source.conf
384 +# External downloaders configuration, not necessary in most cases, cause
385 +# to internal HTTP and FTP client.
386 +#%include fetch.conf
391 +# This parameter allows to configure the default repository index type.
392 +#default index type = pndir
394 +# Cache directory for downloaded files. NOTE: that parent directory of cachedir
396 +#cachedir = $HOME/.poldek-cache
398 +# Switch to ordinary user at startup when executed by root
401 +# Permits using root privileges for installation only. Automatically turned
402 +# on when poldek executed as ordinary user.
405 +# Load /etc/apt/sources.list.
406 +#load apt sources list = no
408 +# Handle gzipped indexes externally (needed on RedHat 9 and Fedora Core 1 and 2).
409 +# This option is a workaround for broken zlib linked into librpm; with enabled
410 +# 'auto zlib in rpm' poldek tries to detect such case and then enables external
411 +# *.gz handling automatically.
412 +#vfile external compress = no
414 +# Auto detection of zlib linked into librpm. See 'vfile external compress'
416 +#auto zlib in rpm = yes
418 +# Automatically download whole index if incremental update fails.
421 +# Do not save given paths into created indexes. This option may significantly
422 +# reduce index size. Example (notice missing starting '/'):
423 +# exclude path = usr/share/doc:usr/share/man:usr/src
426 +# Full path name to a PM (rpm for now) binary.
427 +#pm command = /bin/rpm
429 +# Full path name to sudo binary.
430 +#sudo command = /usr/bin/sudo
433 +### File downloaders configuration
435 +# Send ${USER}@${HOSTNAME} as anonymous FTP password (by default
436 +# 'poldek@znienacka.net' is sent)
437 +#vfile ftp sysuser as anon passwd = no
439 +# File getters configuration parameter. By this option URL handlers may be configured.
440 +# To get file from HTTP and FTP servers poldek uses its internal client (what is
441 +# recommended), although it can be changedby this option. Others protocols handled
442 +# by external utilities can be configured also. The syntax is:
443 +# default fetcher = PROTOCOL[,PROTOCOL...]:FETCHER_NAME
445 +# where FETCHER_NAME is a name of one of the fetcher preconfigured in [fetch]
446 +# sections (placed in fetch.conf in default configuration).
448 +# default fetcher = ftp,http:internal
449 +# default fetcher = https:wget
450 +# default fetcher = cdrom:vfjuggle
451 +# vfjuggle is a cdrom getter supplied with poldek.
452 +#default fetcher = http,ftp: internal
454 +# Proxies for internal FTP and HTTP client may be configured in usual
455 +# way, by environment variables ftp_proxy and http_proxy, or by this option.
456 +# Its syntax is similar to "default fetcher" one:
457 +# proxy = PROTOCOL[,PROTOCOL...]:PROXY_URL
459 +# proxy = http: http://w3cache.foo.org:8080
462 +# Comma separated list of hosts or domains which will not be accessed via proxy.
463 +# Option overrides no_proxy environment variable.
465 +# noproxy = localhost, .pl, ftp.foo.bar.org
468 +# Internal HTTP and FTP client is stubborn, it retries to retrive
469 +# file if connection breaks. This option tells it how many times
471 +#vfile retries = 128
474 +### Installation options
476 +# Install packages in small groups instead of doing all-or-nothing
478 +particle install = no
480 +# Do not remove downloaded packages after its successful installation.
481 +#keep downloads = no
483 +# Controls visibility of multiple package instances with different EVR.
484 +# If on, only one, highest version will be visible.
485 +#unique package names = no
487 +# Epoch autopromotion during dependency comparision. RPM specific.
488 +# Set it up if you are using system with rpm prior to 4.2.1 version.
491 +# Confirm packages installation.
492 +#confirm installation = no
494 +# Confirm packages removal.
495 +#confirm removal = yes
497 +# Let the user select package among equivalents.
498 +choose equivalents manually = yes
500 +# Prevent package listed from being upgraded if they are already installed.
501 +# hold = kernel* dev
504 +# Ignore package list - packages fits given mask will be invisible.
505 +# ignore = *-smp-* foo*
506 +ignore = kernel* udev devfs
508 +# Conflicts with already installed packages are treated as resolved
509 +# if at least one of multiple-installed package satisfies conflict.
510 +# rpm doesn't support such cases, so --pm-nodeps is needed (use with
512 +#allow duplicates = yes
515 +### RPM specific options
517 +# rpm macros can be set by this option. Examples:
518 +# rpmdef = _install_langs pl:pl_PL:lt:lt_LT
519 +# Do not install any documentation:
520 +# rpmdef = _netsharedpath /usr/share/info:/usr/share/man
521 +# rpmdef = _excludedocs 1
525 +### Dependency processing settings
526 +# Subtle dependency processing options, they should not be changed
527 +# unless you know what you are doing
529 +# Automatically install packages required by installed ones.
532 +# Greedy upgrades, i.e. upgrade packages which dependencies are broken
533 +# by being uninstalled ones.
536 +# Be yet more greedy; if successor of orphaned package found, and this
537 +# successor drags no packages then upgrade the package instead of process
538 +# its dependencies. Option value is implied by 'greedy' one by defalut.
539 +#aggressive greedy = yes
541 +# Be tolerant for unmatched versioned dependencies which rpm tolerates, e.g.
542 +# package A requires capability foo >= 1.0 while package B provides "foo"
543 +# without any version. Use with care, it may cause weird dependency errors.
546 +# Taking into account package Obsoletes.
549 +# Taking into account package Conflicts.
551 --- util-vserver-0.30.214.org/distrib/pld-th/rpm/macros 1970-01-01 01:00:00.000000000 +0100
552 +++ util-vserver-0.30.214/distrib/pld-th/rpm/macros 2007-11-15 23:20:48.184505622 +0100
554 +# Because of https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=52725
555 +# you have to use at least one language beside 'C'
556 +%_install_langs C:en:pl
557 +%_netsharedpath /dev
558 --- util-vserver-0.30.214.org/distrib/pld-ti/pkgs/01 1970-01-01 01:00:00.000000000 +0100
559 +++ util-vserver-0.30.214/distrib/pld-ti/pkgs/01 2007-11-15 23:20:48.217840583 +0100
566 --- util-vserver-0.30.214.org/distrib/pld-ti/poldek/pld-source.conf 1970-01-01 01:00:00.000000000 +0100
567 +++ util-vserver-0.30.214/distrib/pld-ti/poldek/pld-source.conf 2007-11-15 23:20:48.217840583 +0100
570 +# Unofficial version of PLD Linux Distribution
571 +# http://www.pld-linux.org/Titanium
574 +_prefix = ftp://ftp.titanium.pld-linux.org/branches/titanium
581 +path = %{_prefix}/PLD/%{_arch}/RPMS/
586 +path = %{_prefix}/PLD/noarch/RPMS/
590 +name = titanium-ready
591 +path = %{_prefix}/ready/%{_arch}/RPMS/
597 +name = titanium-ready
598 +path = %{_prefix}/ready/noarch/RPMS/
604 +name = titanium-test
605 +path = %{_prefix}/test/%{_arch}/RPMS/
611 +name = titanium-test
612 +path = %{_prefix}/test/noarch/RPMS/
615 --- util-vserver-0.30.214.org/distrib/pld-ti/poldek/poldek.conf 1970-01-01 01:00:00.000000000 +0100
616 +++ util-vserver-0.30.214/distrib/pld-ti/poldek/poldek.conf 2007-11-15 23:20:48.217840583 +0100
618 +# poldek main configuration file.
620 +# Some macros. Macros are local, they are not visible in included files
621 +# and macros declared in them are not visible to includer.
622 +# Macros names starts with underscore '_'.
626 +# Both local and remote files may be included. Included files may not contain
627 +# [global] section, it will be ignored anyway.
628 +%include %{_distro}-source.conf
631 +%include source.conf
633 +# External downloaders configuration, not necessary in most cases, cause
634 +# to internal HTTP and FTP client.
635 +#%include fetch.conf
640 +# This parameter allows to configure the default repository index type.
641 +#default index type = pndir
643 +# Cache directory for downloaded files. NOTE: that parent directory of cachedir
645 +#cachedir = $HOME/.poldek-cache
647 +# Switch to ordinary user at startup when executed by root
650 +# Permits using root privileges for installation only. Automatically turned
651 +# on when poldek executed as ordinary user.
654 +# Load /etc/apt/sources.list.
655 +#load apt sources list = no
657 +# Handle gzipped indexes externally (needed on RedHat 9 and Fedora Core 1 and 2).
658 +# This option is a workaround for broken zlib linked into librpm; with enabled
659 +# 'auto zlib in rpm' poldek tries to detect such case and then enables external
660 +# *.gz handling automatically.
661 +#vfile external compress = no
663 +# Auto detection of zlib linked into librpm. See 'vfile external compress'
665 +#auto zlib in rpm = yes
667 +# Automatically download whole index if incremental update fails.
670 +# Do not save given paths into created indexes. This option may significantly
671 +# reduce index size. Example (notice missing starting '/'):
672 +# exclude path = usr/share/doc:usr/share/man:usr/src
675 +# Full path name to a PM (rpm for now) binary.
676 +#pm command = /bin/rpm
678 +# Full path name to sudo binary.
679 +#sudo command = /usr/bin/sudo
682 +### File downloaders configuration
684 +# Send ${USER}@${HOSTNAME} as anonymous FTP password (by default
685 +# 'poldek@znienacka.net' is sent)
686 +#vfile ftp sysuser as anon passwd = no
688 +# File getters configuration parameter. By this option URL handlers may be configured.
689 +# To get file from HTTP and FTP servers poldek uses its internal client (what is
690 +# recommended), although it can be changedby this option. Others protocols handled
691 +# by external utilities can be configured also. The syntax is:
692 +# default fetcher = PROTOCOL[,PROTOCOL...]:FETCHER_NAME
694 +# where FETCHER_NAME is a name of one of the fetcher preconfigured in [fetch]
695 +# sections (placed in fetch.conf in default configuration).
697 +# default fetcher = ftp,http:internal
698 +# default fetcher = https:wget
699 +# default fetcher = cdrom:vfjuggle
700 +# vfjuggle is a cdrom getter supplied with poldek.
701 +#default fetcher = http,ftp: internal
703 +# Proxies for internal FTP and HTTP client may be configured in usual
704 +# way, by environment variables ftp_proxy and http_proxy, or by this option.
705 +# Its syntax is similar to "default fetcher" one:
706 +# proxy = PROTOCOL[,PROTOCOL...]:PROXY_URL
708 +# proxy = http: http://w3cache.foo.org:8080
711 +# Comma separated list of hosts or domains which will not be accessed via proxy.
712 +# Option overrides no_proxy environment variable.
714 +# noproxy = localhost, .pl, ftp.foo.bar.org
717 +# Internal HTTP and FTP client is stubborn, it retries to retrive
718 +# file if connection breaks. This option tells it how many times
720 +#vfile retries = 128
723 +### Installation options
725 +# Install packages in small groups instead of doing all-or-nothing
727 +particle install = no
729 +# Do not remove downloaded packages after its successful installation.
730 +#keep downloads = no
732 +# Controls visibility of multiple package instances with different EVR.
733 +# If on, only one, highest version will be visible.
734 +#unique package names = no
736 +# Epoch autopromotion during dependency comparision. RPM specific.
737 +# Set it up if you are using system with rpm prior to 4.2.1 version.
740 +# Confirm packages installation.
741 +#confirm installation = no
743 +# Confirm packages removal.
744 +#confirm removal = yes
746 +# Let the user select package among equivalents.
747 +choose equivalents manually = yes
749 +# Prevent package listed from being upgraded if they are already installed.
750 +# hold = kernel* dev
753 +# Ignore package list - packages fits given mask will be invisible.
754 +# ignore = *-smp-* foo*
755 +ignore = kernel* udev devfs
757 +# Conflicts with already installed packages are treated as resolved
758 +# if at least one of multiple-installed package satisfies conflict.
759 +# rpm doesn't support such cases, so --pm-nodeps is needed (use with
761 +#allow duplicates = yes
764 +### RPM specific options
766 +# rpm macros can be set by this option. Examples:
767 +# rpmdef = _install_langs pl:pl_PL:lt:lt_LT
768 +# Do not install any documentation:
769 +# rpmdef = _netsharedpath /usr/share/info:/usr/share/man
770 +# rpmdef = _excludedocs 1
774 +### Dependency processing settings
775 +# Subtle dependency processing options, they should not be changed
776 +# unless you know what you are doing
778 +# Automatically install packages required by installed ones.
781 +# Greedy upgrades, i.e. upgrade packages which dependencies are broken
782 +# by being uninstalled ones.
785 +# Be yet more greedy; if successor of orphaned package found, and this
786 +# successor drags no packages then upgrade the package instead of process
787 +# its dependencies. Option value is implied by 'greedy' one by defalut.
788 +#aggressive greedy = yes
790 +# Be tolerant for unmatched versioned dependencies which rpm tolerates, e.g.
791 +# package A requires capability foo >= 1.0 while package B provides "foo"
792 +# without any version. Use with care, it may cause weird dependency errors.
795 +# Taking into account package Obsoletes.
798 +# Taking into account package Conflicts.
800 --- util-vserver-0.30.214.org/distrib/pld-ti/rpm/macros 1970-01-01 01:00:00.000000000 +0100
801 +++ util-vserver-0.30.214/distrib/pld-ti/rpm/macros 2007-11-15 23:20:48.221174080 +0100
803 +# Because of https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=52725
804 +# you have to use at least one language beside 'C'
805 +%_install_langs C:en:pl
806 +%_netsharedpath /dev
807 --- util-vserver-0.30.214.org/scripts/functions 2007-09-02 22:06:41.000000000 +0200
808 +++ util-vserver-0.30.214/scripts/functions 2007-11-15 23:20:48.221174080 +0100
813 +function _pkgSetVarsPoldek
815 + if test -n "$PKGDIR"; then
816 + findDir POLDEKETCDIR $PKGDIR/poldeketc $PKGDIR/base/poldek/etc /etc/poldek
817 + findDir POLDEKCACHEDIR $PKGDIR/poldek-cache $PKGDIR/base/poldek/cache
819 + findDir POLDEKETCDIR "$VDIR"/etc/poldek /etc/poldek
820 + findDir POLDEKCACHEDIR "$VDIR"/var/tmp/poldek-cache
823 + findFile POLDEK_CONFIG "$POLDEKETCDIR"/poldek.conf ""
824 + test -z "$POLDEK_CONFIG" || export POLDEK_CONFIG
828 function _pkgMountBase
831 rpm) _pkgSetVarsRPM;;
832 apt) _pkgSetVarsApt;;
833 yum) _pkgSetVarsYum;;
834 + poldek) _pkgSetVarsPoldek;;
835 *) echo "Unknown packaging flavor" >&2; exit 1;;
840 elif test -e "$_pgs_vdir"/etc/mandrake-release; then
842 + elif test -e "$_pgs_vdir"/etc/pld-release; then
844 elif test -e "$_pgs_vdir"/etc/debian_version; then
846 elif test -e "$_pgs_vdir"/etc/SuSE-release; then
848 test -n "$have_yum" && return 0 || return 1
851 +## Usage: pkgmgmt.isPoldekAvailable <cfgdir> <vdir> [<is-internal>]
852 +function pkgmgmt.isPoldekAvailable
856 + local is_internal="$3"
858 + local have_poldek i
859 + if test -n "$is_internal"; then
861 + test -d "$cfgdir"/base/poldek -o -d "$cfgdir"/poldeketc || have_poldek=
864 + for i in /bin /usr/bin /usr/local/bin; do
865 + test ! -x "$vdir$i"/poldek || { have_poldek=1; break; }
869 + test -n "$have_poldek" && return 0 || return 1
873 function vshelper.doSanityCheck
875 --- util-vserver-0.30.214.org/scripts/Makefile-files 2007-09-02 22:06:41.000000000 +0200
876 +++ util-vserver-0.30.214/scripts/Makefile-files 2007-11-15 23:20:48.221174080 +0100
878 scripts/vapt-get-worker \
879 scripts/vrpm-worker \
880 scripts/vyum-worker \
881 + scripts/vpoldek-worker \
882 scripts/vrpm-preload \
883 scripts/save_s_context \
884 scripts/vservers.grabinfo.sh \
886 scripts/vserver-build.template \
887 scripts/vserver-build.rsync \
888 scripts/vserver-build.clone \
889 + scripts/vserver-build.poldek \
890 scripts/vserver-build.functions \
891 scripts/vserver-build.functions.apt \
892 scripts/vserver-build.functions.rpm \
893 scripts/vserver-build.functions.pkgmgmt \
894 scripts/vserver-build.functions.yum \
895 + scripts/vserver-build.functions.poldek \
896 scripts/vserver-setup.functions \
897 scripts/vserver.functions \
898 scripts/vserver.start \
900 scripts_pkglib_src_SCRPTS = scripts/pkgmgmt \
901 scripts/vapt-get-worker \
903 + scripts/vpoldek-worker \
904 scripts/vrpm-worker \
905 scripts/vrpm-preload \
906 scripts/start-vservers \
908 scripts_sbin_src_PRGS = scripts/chbind \
912 scripts/vdispatch-conf \
915 --- util-vserver-0.30.214.org/scripts/pkgmgmt 2007-09-02 22:06:41.000000000 +0200
916 +++ util-vserver-0.30.214/scripts/pkgmgmt 2007-11-15 23:20:48.221174080 +0100
921 - (RH) pkgs=$(vrpm "$1" -- -q --qf '---%{NAME}---\n' rpm apt yum "${YUM_RELEASEPKGS[@]}")
922 + (RH) pkgs=$(vrpm "$1" -- -q --qf '---%{NAME}---\n' rpm apt yum poldek "${YUM_RELEASEPKGS[@]}")
923 hasSubstring "$pkgs" ---rpm--- || {
925 * The vserver does not seem to have the 'rpm' package which is required
930 - hasSubstring "$pkgs" ---apt--- ---yum--- || {
931 + hasSubstring "$pkgs" ---apt--- ---yum--- ---poldek--- || {
933 -* The vserver does not seem to have a depsolver like 'apt' or 'yum'
934 +* The vserver does not seem to have a depsolver like 'apt', 'yum' or 'poldek'
935 installed. It is suggested to install such a program before setting
936 up internal package management."
938 @@ -368,6 +368,131 @@
942 +function processVserver_PLD()
945 + local is_internalize=$2
949 + cfgdir=$($_VSERVER_INFO "$vserver" APPDIR pkgmgmt) || \
950 + cfgdir=$($_VSERVER_INFO "$vserver" APPDIR)/pkgmgmt
952 + ## Figure out the environment....
953 + pkgmgmt.isPoldekAvailable "$cfgdir" "$vdir" "$is_internalize" || have_poldek=
955 + local POLDEKETCDIR=
956 + local POLDEKCACHEDIR=
960 + ## Create directories and assign variables where configuration
961 + ## can/will be found on the host
962 + if test -n "$is_internalize"; then
963 + verifyInternalPackages "$vserver" RH || test -n "$IS_FORCE" ||
965 +Can not continue; use '--force' to override this check"
967 + pushd "$vdir" >/dev/null
969 + test ! -L var/lib/rpm || {
970 + $_EXEC_CD /var/lib $_RM rpm &&
971 + $_EXEC_CD /var/lib $_MKDIR -m755 rpm &&
972 + $_EXEC_CD /var/lib $_CHOWN rpm:rpm rpm ||
974 + } </dev/null 2>/dev/null
976 + for i in var/tmp/poldek-cache etc/rpm etc/poldek; do
978 + $_EXEC_CD /$(dirname "$i") $_MKDIR -m755 $(basename "$i") || :
983 + if test -n "$have_poldek"; then
984 + findDir POLDEKETCDIR "$cfgdir"/poldeketc "$cfgdir"/base/poldek/etc /etc/poldek
987 + findDir RPMETCDIR "$cfgdir"/rpmetc "$cfgdir"/base/rpm/etc /etc/rpm /
988 + findDir RPMSTATEDIR "$cfgdir"/rpmstate "$cfgdir"/base/rpm/state
990 + mkdir -m755 -p "$cfgdir"
993 + if test -n "$have_poldek"; then
994 + findDir POLDEKETCDIR "$cfgdir"/poldeketc "$cfgdir"/base/poldek/etc /
995 + findDir POLDEKCACHEDIR "$cfgdir"/poldek-cache "$cfgdir"/base/poldek/cache /
997 + test "$POLDEKETCDIR" != / || POLDEKETCDIR=$cfgdir/base/poldek/etc
998 + test "$POLDEKCACHEDIR" != / || POLDEKCACHEDIR=$cfgdir/base/poldek/cache
1000 + test -d "$cfgdir"/poldeketc -a -d "$cfgdir"/poldek-cache || need_base=1
1003 + findDir RPMETCDIR "$cfgdir"/rpmetc "$cfgdir"/base/rpm/etc /
1004 + findDir RPMSTATEDIR "$cfgdir"/rpmstate "$cfgdir"/base/rpm/state /
1006 + test "$RPMETCDIR" != / || RPMETCDIR=$cfgdir/base/rpm/etc
1007 + test "$RPMSTATEDIR" != / || RPMSTATEDIR=$cfgdir/base/rpm/state
1009 + test -d "$cfgdir"/rpmetc -a -d "$cfgdir"/rpmstate || need_base=1
1010 + test ! -e "$cfgdir"/base || need_base=
1012 + test -z "$need_base" || ln -s "$PKGCFGDIR" "$cfgdir"/base
1014 + mkdir -m755 -p "$PKGCFGDIR"
1015 + _createDirs "$POLDEKETCDIR" "$POLDEKCACHEDIR" \
1016 + "$RPMETCDIR" "$RPMSTATEDIR"
1019 + ## Copy the files...
1020 + if test -n "$is_internalize"; then
1021 + if test -n "$have_poldek"; then
1022 + _copySecure "$vdir" "$POLDEKETCDIR" /etc/poldek
1023 + pushd "$vdir" >/dev/null
1024 + _hashAuto /etc/poldek.conf '/'
1028 + _copySecure "$vdir" "$RPMETCDIR" /etc/rpm
1029 + _copySecure "$vdir" "$RPMSTATEDIR" /var/lib/rpm
1031 + pushd "$vdir" >/dev/null
1032 + ## remove %_dbpath settings
1033 + _substFile /etc/rpm/macros '/^%_dbpath[ \t].*/D'
1036 + if test -n "$have_poldek"; then
1037 + _copySecureRev "$vdir" /etc/poldek "$POLDEKETCDIR"
1038 + _unhashAuto "$POLDEKETCDIR"/poldek.conf '/'
1041 + _copySecureRev "$vdir" /etc/rpm "$RPMETCDIR"
1042 + _copySecureRev "$vdir" /var/lib/rpm "$RPMSTATEDIR"
1044 + echo -e "%_dbpath\t\t$rpmdb_mntpoint" >>$RPMETCDIR/macros
1048 + if test -n "$is_internalize"; then
1051 + tmpdir=$($_MKTEMPDIR -p /var/tmp pgmgmt.XXXXXX)
1052 + trap "$_RM -rf $tmpdir" EXIT
1053 + pushd "$vdir" >/dev/null
1054 + $_EXEC_CD /var/lib $_MV rpm $tmpdir/
1055 + $_EXEC_CD /var/lib $_LN_S "$rpmdb_mntpoint" rpm
1060 + if test -n "$is_internalize"; then
1061 + $_TOUCH "$cfgdir"/internal
1063 + $_RM -f "$cfgdir"/internal
1067 function processVserver_Debian()
1073 (redhat|mandrake) processVserver_RH "$vserver" "$IS_INTERNALIZE";;
1074 + (pld) processVserver_PLD "$vserver" "$IS_INTERNALIZE";;
1075 (debian) processVserver_Debian "$vserver" "$IS_INTERNALIZE";;
1077 echo $"Vserver style '$style' is not supported for packagemanagment" >&2
1078 --- util-vserver-0.30.214.org/scripts/util-vserver-vars.pathsubst 2007-09-02 22:06:41.000000000 +0200
1079 +++ util-vserver-0.30.214/scripts/util-vserver-vars.pathsubst 2007-11-15 23:20:48.221174080 +0100
1081 _LIB_VSERVER_BUILD_FUNCTIONS_RPM="$__PKGLIBDIR/vserver-build.functions.rpm"
1082 _LIB_VSERVER_BUILD_FUNCTIONS_YUM="$__PKGLIBDIR/vserver-build.functions.yum"
1083 _LIB_VSERVER_BUILD_FUNCTIONS_PKGMGMT="$__PKGLIBDIR/vserver-build.functions.pkgmgmt"
1084 +_LIB_VSERVER_BUILD_FUNCTIONS_POLDEK="$__PKGLIBDIR/vserver-build.functions.poldek"
1085 _LISTDEVIP="$__LEGACYDIR/listdevip"
1086 _LOCKFILE="$__PKGLIBDIR/lockfile"
1087 _MASK2PREFIX="$__PKGLIBDIR/mask2prefix"
1089 _VUNIFY="$__PKGLIBDIR/vunify"
1090 _VYUM="$__SBINDIR/vyum"
1091 _VYUM_WORKER="$__PKGLIBDIR/vyum-worker"
1092 +_VPOLDEK="$__SBINDIR/vpoldek"
1093 +_VPOLDEK_WORKER="$__PKGLIBDIR/vpoldek-worker"
1097 --- util-vserver-0.30.214.org/scripts/vpkg 2007-09-02 22:06:41.000000000 +0200
1098 +++ util-vserver-0.30.214/scripts/vpkg 2007-11-15 23:20:48.221174080 +0100
1099 @@ -115,6 +115,44 @@
1107 + ## rpm outputs sometimes '(contains no files)', so return
1108 + ## only the valid output
1110 + rpm_param=( -qac --pipe "$_SED '\!^/!p;d'" );;
1112 + rpm_param=( -Uvh "$@" )
1113 + poldek_param=( --install -v "$@" )
1117 + if test -n "$is_external"; then
1119 + test -d "$cfgdir"/base/poldek -o -d "$cfgdir"/poldeketc || have_poldek=
1122 + for i in /bin /usr/bin /usr/local/bin; do
1123 + test ! -x "$vdir$i"/poldek || { have_poldek=1; break; }
1127 + if test -n "$is_external"; then
1128 + if test "$have_poldek" -a "$poldek_param"; then
1129 + cmd=( "$_VPOLDEK" "$vserver" -- "${poldek_param[@]}" )
1131 + cmd=( "$_VRPM" "$vserver" -- "${rpm_param[@]}" )
1134 + if test "$have_poldek" -a "$poldek_param"; then
1135 + cmd=( "$_VSERVER" --silent "$vserver" exec poldek "${poldek_param[@]}" )
1137 + cmd=( "$_VSERVER" --silent "$vserver" exec rpm "${rpm_param[@]}" )
1144 --- util-vserver-0.30.214.org/scripts/vpoldek 1970-01-01 01:00:00.000000000 +0100
1145 +++ util-vserver-0.30.214/scripts/vpoldek 2007-11-15 22:00:24.000000000 +0100
1150 +# Copyright (C) 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
1152 +# This program is free software; you can redistribute it and/or modify
1153 +# it under the terms of the GNU General Public License as published by
1154 +# the Free Software Foundation; version 2 of the License.
1156 +# This program is distributed in the hope that it will be useful,
1157 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1158 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1159 +# GNU General Public License for more details.
1161 +# You should have received a copy of the GNU General Public License
1162 +# along with this program; if not, write to the Free Software
1163 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1165 +: ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars}
1166 +test -e "$UTIL_VSERVER_VARS" || {
1167 + echo $"Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2
1170 +. "$UTIL_VSERVER_VARS"
1171 +. "$_LIB_FUNCTIONS"
1174 +function showHelp()
1177 +$"Usage: $0 <vserver-name>* [--all] -- <params>+
1179 +Report bugs to <$PACKAGE_BUGREPORT>."
1183 +function showVersion()
1186 +$"vpoldek $PACKAGE_VERSION -- poldek for vservers
1187 +This program is part of $PACKAGE_STRING
1189 +Copyright (C) 2007 Enrico Scholz
1190 +This program is free software; you may redistribute it under the terms of
1191 +the GNU General Public License. This program has absolutely no warranty."
1195 +tmp=$(getopt -o +q --long help,version,debug,quiet,all -n "$0" -- "$@") || exit 1
1198 +declare -a send_through poldek_opts
1202 + (--help) showHelp $0 ;;
1203 + (--version) showVersion ;;
1204 + (--debug) send_through=( "${send_through[@]}" "$1" ); set -x;;
1205 + (--quiet|-q) send_through=( "${send_through[@]}" "$1" );;
1206 + (--all) poldek_opts=( "${poldek_opts[@]}" "$1" );;
1207 + (--) shift; break;;
1208 + (*) echo $"vpoldek: internal error; arg=='$1'" >&2; exit 1;;
1213 +VSOMETHING_TITLE=vpoldek
1214 +VSOMETHING_WORKER=$_VPOLDEK_WORKER
1215 +VSOMETHING_PKGMGMT=1
1217 +export VSOMETHING_TITLE VSOMETHING_WORKER VSOMETHING_PKGMGMT
1219 +test ${#poldek_opts[@]} -eq 0 || poldek_opts=( "${poldek_opts[@]}" -- )
1220 +exec $_VSOMETHING "${send_through[@]}" poldek "${poldek_opts[@]}" "$@"
1221 --- util-vserver-0.30.214.org/scripts/vpoldek-worker 1970-01-01 01:00:00.000000000 +0100
1222 +++ util-vserver-0.30.214/scripts/vpoldek-worker 2007-11-15 22:58:23.000000000 +0100
1227 +# Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
1229 +# This program is free software; you can redistribute it and/or modify
1230 +# it under the terms of the GNU General Public License as published by
1231 +# the Free Software Foundation; version 2 of the License.
1233 +# This program is distributed in the hope that it will be useful,
1234 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1235 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1236 +# GNU General Public License for more details.
1238 +# You should have received a copy of the GNU General Public License
1239 +# along with this program; if not, write to the Free Software
1240 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1244 +: ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars}
1245 +test -e "$UTIL_VSERVER_VARS" || {
1246 + echo $"Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2
1249 +. "$UTIL_VSERVER_VARS"
1250 +. "$_LIB_FUNCTIONS"
1256 +pkgInit "$vserver" rpm poldek
1258 +test -z "$_POLDEK" || {
1259 + warning $"The environment variable \$_POLDEK is not supported anymore; please use \$POLDEK instead of"
1260 + ${POLDEK:=$_POLDEK}
1263 +exec ${_POLDEK:-poldek} \
1265 + --cachedir=$POLDEKCACHEDIR \
1266 + --conf=$POLDEK_CONFIG \
1267 + --pmcmd=$RPM_BINARY \
1269 --- util-vserver-0.30.214.org/scripts/vserver-build 2007-09-02 22:06:41.000000000 +0200
1270 +++ util-vserver-0.30.214/scripts/vserver-build 2007-11-15 23:20:48.224507577 +0100
1272 yum ... -- -d <distribution>
1273 ... installs the base-packages of the given distribution with
1275 + poldek ... -- -d <distribution>
1276 + ... installs the base-packages of the given distribution with
1278 rpm ... -- [-d <distribution>] --empty|([--force] [--nodeps] <manifest>)+
1279 ... installs lists of rpm-packages
1280 skeleton ... -- [<cmd> <args>*]
1284 (xlegacy) exec $_VSERVER_LEGACY "$VSERVER_NAME" build "$@" ;;
1285 - (xapt-rpm|xcopy|xskeleton|xdebootstrap|xyum|xrpm|xtemplate|xfai|xrsync|xclone)
1286 + (xapt-rpm|xcopy|xskeleton|xdebootstrap|xyum|xrpm|xtemplate|xfai|xrsync|xclone|xpoldek)
1287 . $__PKGLIBDIR/vserver-build.$method
1289 (x) panic $"No build-method specified";;
1290 --- util-vserver-0.30.214.org/scripts/vserver-build.functions 2007-09-02 22:06:41.000000000 +0200
1291 +++ util-vserver-0.30.214/scripts/vserver-build.functions 2007-11-15 23:20:48.224507577 +0100
1292 @@ -167,6 +167,12 @@
1293 elif test -e /etc/slackware-version; then
1294 set -- $(cat /etc/slackware-version)
1295 DISTRIBUTION=slackware$2
1296 + elif test -e /etc/pld-release; then
1299 + set -- $(cat /etc/pld-release)
1300 + DISTRIBUTION=pld-$(echo $2 | tr A-Z a-z)
1302 elif test -n "$1"; then
1305 --- util-vserver-0.30.214/scripts/vserver-build.functions.poldek 2008-03-25 19:20:07.685144000 +0200
1306 +++ util-vserver-0.30.214/scripts/vserver-build.functions.poldek 2008-03-25 20:37:09.000000000 +0200
1308 +# $Id$ --*- sh -*--
1310 +# Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
1312 +# This program is free software; you can redistribute it and/or modify
1313 +# it under the terms of the GNU General Public License as published by
1314 +# the Free Software Foundation; version 2 of the License.
1316 +# This program is distributed in the hope that it will be useful,
1317 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1318 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1319 +# GNU General Public License for more details.
1321 +# You should have received a copy of the GNU General Public License
1322 +# along with this program; if not, write to the Free Software
1323 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1325 +function poldek.installBasePackages
1330 + test "$dir" != / || return 0
1331 + for filelist in "$dir"/*; do
1332 + isRegularFile "$filelist" || continue
1334 + local can_fail=false
1335 + local flags='--install'
1337 + set -- $(<$filelist)
1338 + while test "$#" -gt 0; do
1340 + --reinstall) flags='--reinstall';;
1341 + --can-fail) can_fail=true;;
1346 + "$_VPOLDEK" "$name" -- $flags $* || $can_fail
1350 +function poldek.initVariables
1352 + findFile POLDEKCONFDEFAULT \
1353 + "$__CONFDIR/.distributions/$DISTRIBUTION/poldek/poldek.conf" \
1354 + "$__CONFDIR/.defaults/apps/pkgmgmt/poldek/poldek.conf" \
1355 + "$__DISTRIBDIR/$DISTRIBUTION/poldek/poldek.conf" \
1356 + "$__DISTRIBDIR/defaults/poldek/poldek.conf" \
1360 +function poldek.initFilesystem
1362 + mkdir -p "$PKGCFGDIR"/poldek/etc/repos.d
1363 + mkdir -p "$PKGCFGBASE"/poldek-cache
1365 + $_LN_S "$PKGCFGBASE"/poldek-cache "$PKGCFGDIR"/poldek/cache
1367 + populateDirectory "$PKGCFGDIR/poldek/etc" \
1368 + "$__DISTRIBDIR/defaults/poldek" \
1369 + "$__DISTRIBDIR/$DISTRIBUTION/poldek" \
1370 + "$__CONFDIR/.distributions/$DISTRIBUTION/poldek"
1372 + populateDirectory "$PKGCFGDIR/poldek/etc/repos.d" \
1373 + "$__DISTRIBDIR/defaults/poldek/repos.d" \
1374 + "$__DISTRIBDIR/$DISTRIBUTION/poldek/repos.d" \
1375 + "$__CONFDIR/.distributions/$DISTRIBUTION/poldek/repos.d"
1377 + if [ -n "$SETUP_MACHINE" ]; then
1378 + say "Using $SETUP_MACHINE as machine"
1379 + sed -i -e "s#^\(_pld_arch\s*\)=.*#\1= $SETUP_MACHINE#" "$PKGCFGDIR"/poldek/etc/repos.d/pld.conf
1382 + if [ -n "$MIRROR" ]; then
1383 + say "Using $MIRROR as mirror URL"
1384 + sed -i -e "s#^\(_pld_prefix\s*\)=.*#\1= $MIRROR#" "$PKGCFGDIR"/poldek/etc/repos.d/pld.conf
1387 +# test -z "$POLDEKCONFDEFAULT" || \
1388 +# $_LN_S "$POLDEKCONFDEFAULT" "$PKGCFGDIR"/poldek/etc/
1390 --- util-vserver-0.30.214/scripts/vserver-build.poldek 2007-11-15 23:20:48.224507577 +0100
1391 +++ util-vserver-0.30.214/scripts/vserver-build.poldek 2008-03-25 20:25:23.000000000 +0200
1393 +# $Id$ --*- sh -*--
1395 +# Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
1397 +# This program is free software; you can redistribute it and/or modify
1398 +# it under the terms of the GNU General Public License as published by
1399 +# the Free Software Foundation; version 2 of the License.
1401 +# This program is distributed in the hope that it will be useful,
1402 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1403 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1404 +# GNU General Public License for more details.
1406 +# You should have received a copy of the GNU General Public License
1407 +# along with this program; if not, write to the Free Software
1408 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1410 +tmp=$(getopt -o +d:,m: --long debug -n "$0" -- "$@") || exit 1
1413 +. "$_LIB_VSERVER_BUILD_FUNCTIONS_RPM"
1414 +. "$_LIB_VSERVER_BUILD_FUNCTIONS_POLDEK"
1415 +. "$_LIB_VSERVER_BUILD_FUNCTIONS_PKGMGMT"
1419 + (-d) DISTRIBUTION=$2; shift;;
1420 + (-m) MIRROR=$2; shift;;
1421 + (--debug) set -x;;
1422 + (--) shift; break ;;
1423 + (*) echo "vserver-build.poldek: internal error: unrecognized option '$1'" >&2
1434 +pkgmgmt.initVariables
1436 +poldek.initVariables
1438 +base.initFilesystem "$OPTION_FORCE"
1439 +pkgmgmt.initFilesystem "$OPTION_FORCE"
1441 +poldek.initFilesystem
1443 +setup_writeOption "$VSERVER_NAME"
1444 +setup_writeInitialFstab
1446 +test -z "$BUILD_INITPRE" || "$BUILD_INITPRE" "$SETUP_CONFDIR" "$UTIL_VSERVER_VARS"
1447 +rpm.initDB "$SETUP_CONFDIR"
1448 +rpm.importGPGPubKeys "$SETUP_CONFDIR" \
1449 + "$__CONFDIR/.distributions/$DISTRIBUTION/pubkeys" \
1450 + "$__CONFDIR/.distributions/.common/pubkeys" \
1451 + "$__DISTRIBDIR/$DISTRIBUTION/pubkeys"
1453 +$_VPOLDEK "$SETUP_CONFDIR" -- --update-whole
1454 +poldek.installBasePackages "$SETUP_CONFDIR" "$PKGINSTALLDIR"
1455 +test -z "$BUILD_INITPOST" || "$BUILD_INITPOST" "$SETUP_CONFDIR" "$UTIL_VSERVER_VARS"