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/aliases.conf 1970-01-01 01:00:00.000000000 +0100
52 +++ util-vserver-0.30.214/distrib/pld-ac/poldek/aliases.conf 2007-11-15 23:20:48.181172125 +0100
54 +# System wide aliases
62 +freshen = install -FN
65 +# for backward compatybility, greedy is on by default now
66 +greedy-upgrade = install -FG
68 +just-install = install -IN
71 +what-requires = search -r
72 +what-provides = search -p
73 +rsearch = search --perlre
78 +#ls = uninstall kernel
84 --- util-vserver-0.30.214.org/distrib/pld-ac/poldek/fetch.conf 1970-01-01 01:00:00.000000000 +0100
85 +++ util-vserver-0.30.214/distrib/pld-ac/poldek/fetch.conf 2007-11-15 23:20:48.181172125 +0100
87 +# Configuration of poldek external file getters. Each [fetcher] section
88 +# declares one external downloader. The syntax is:
91 +# proto = PROTOCOL[ ,PROTOCOL... ]
92 +# cmd = CMD [OPTION...] DESTINATION-MACRO URL-MACRO
93 +# Possible parameters are:
96 +# Unique name of the fetcher. This is an optional parameter, if not set then
97 +# name is taken from the "cmd" parameter value as "$(basename $cmd)".
100 +# Protocol or protocols supported by fetcher. Name of the protocol can be
101 +# completely arbitrary, i.e. if you can handle protocol "foo" by writing
102 +# a script which takes URLs in form 'foo://'.
105 +# Parameter specifies an external command and its invoking syntax.
106 +# The syntax of "cmd" is:
107 +# cmd = COMMAND [ OPTION... ] {%d,%D} {%p,%P}[n]
108 +# Where COMMAND is the name or full path of command, OPTION is command specific
109 +# options. Macro '%d' is replaced with cache directory, '%D' is replaced with
110 +# 'cache directory/file basename', and '%p' with file basename, %P with file full
111 +# path (URL). Optional suffix 'n' with %p and %P means that command can be
112 +# invoked with multiple files at once.
113 +#cmd = foogetter.sh -N %D %Pn
115 +##Configured fetchers
118 +cmd = vfjuggle %d %Pn
121 +proto = http,ftp,https
122 +cmd = wget -N --dot-style=binary -P %d %Pn
134 +cmd = rsync -v %P %d
138 +cmd = vfsmb -v %P %d
142 +#cmd = vfssh.sh %d %Pn
146 +#cmd = foo.sh %d %Pn
149 --- util-vserver-0.30.214.org/distrib/pld-ac/poldek/pld-source.conf 1970-01-01 01:00:00.000000000 +0100
150 +++ util-vserver-0.30.214/distrib/pld-ac/poldek/pld-source.conf 2007-11-15 23:20:48.181172125 +0100
153 +# PLD <http://www.pld-linux.org/>
156 +_pld_prefix = ftp://ftp.ac.pld-linux.org/dists/ac
158 +## You can use them if you have better connection there
160 +#_pld_prefix = ftp://ftp.task.pld-linux.org/dists/ac
167 +type = %{_ac_idxtype}
169 +path = %{_pld_prefix}/PLD/%{_pld_arch}/PLD/RPMS/
173 +type = %{_ac_idxtype}
175 +path = %{_pld_prefix}/updates/%{_pld_arch}/
179 +type = %{_ac_idxtype}
181 +path = %{_pld_prefix}/supported/%{_pld_arch}/
186 +type = %{_ac_idxtype}
188 +path = %{_pld_prefix}/ready/%{_pld_arch}/
192 +type = %{_ac_idxtype}
194 +path = %{_pld_prefix}/test/%{_pld_arch}/
196 --- util-vserver-0.30.214.org/distrib/pld-ac/poldek/poldek.conf 1970-01-01 01:00:00.000000000 +0100
197 +++ util-vserver-0.30.214/distrib/pld-ac/poldek/poldek.conf 2007-11-15 23:20:48.181172125 +0100
199 +# poldek main configuration file.
201 +# Some macros. Macros are local, they are not visible in included files
202 +# and macros declared in them are not visible to includer.
203 +# Macros names starts with underscore '_'.
207 +# Both local and remote files may be included. Included files may not contain
208 +# [global] section, it will be ignored anyway.
209 +%include %{_distro}-source.conf
212 +%include source.conf
214 +# External downloaders configuration, not necessary in most cases, cause
215 +# to internal HTTP and FTP client.
216 +#%include fetch.conf
221 +# This parameter allows to configure the default repository index type.
222 +#default index type = pndir
224 +# Cache directory for downloaded files. NOTE: that parent directory of cachedir
226 +#cachedir = $HOME/.poldek-cache
228 +# Switch to ordinary user at startup when executed by root
231 +# Permits using root privileges for installation only. Automatically turned
232 +# on when poldek executed as ordinary user.
235 +# Load /etc/apt/sources.list.
236 +#load apt sources list = no
238 +# Handle gzipped indexes externally (needed on RedHat 9 and Fedora Core 1 and 2).
239 +# This option is a workaround for broken zlib linked into librpm; with enabled
240 +# 'auto zlib in rpm' poldek tries to detect such case and then enables external
241 +# *.gz handling automatically.
242 +#vfile external compress = no
244 +# Auto detection of zlib linked into librpm. See 'vfile external compress'
246 +#auto zlib in rpm = yes
248 +# Automatically download whole index if incremental update fails.
251 +# Do not save given paths into created indexes. This option may significantly
252 +# reduce index size. Example (notice missing starting '/'):
253 +# exclude path = usr/share/doc:usr/share/man:usr/src
256 +# Full path name to a PM (rpm for now) binary.
257 +#pm command = /bin/rpm
259 +# Full path name to sudo binary.
260 +#sudo command = /usr/bin/sudo
263 +### File downloaders configuration
265 +# Send ${USER}@${HOSTNAME} as anonymous FTP password (by default
266 +# 'poldek@znienacka.net' is sent)
267 +#vfile ftp sysuser as anon passwd = no
269 +# File getters configuration parameter. By this option URL handlers may be configured.
270 +# To get file from HTTP and FTP servers poldek uses its internal client (what is
271 +# recommended), although it can be changedby this option. Others protocols handled
272 +# by external utilities can be configured also. The syntax is:
273 +# default fetcher = PROTOCOL[,PROTOCOL...]:FETCHER_NAME
275 +# where FETCHER_NAME is a name of one of the fetcher preconfigured in [fetch]
276 +# sections (placed in fetch.conf in default configuration).
278 +# default fetcher = ftp,http:internal
279 +# default fetcher = https:wget
280 +# default fetcher = cdrom:vfjuggle
281 +# vfjuggle is a cdrom getter supplied with poldek.
282 +#default fetcher = http,ftp: internal
284 +# Proxies for internal FTP and HTTP client may be configured in usual
285 +# way, by environment variables ftp_proxy and http_proxy, or by this option.
286 +# Its syntax is similar to "default fetcher" one:
287 +# proxy = PROTOCOL[,PROTOCOL...]:PROXY_URL
289 +# proxy = http: http://w3cache.foo.org:8080
292 +# Comma separated list of hosts or domains which will not be accessed via proxy.
293 +# Option overrides no_proxy environment variable.
295 +# noproxy = localhost, .pl, ftp.foo.bar.org
298 +# Internal HTTP and FTP client is stubborn, it retries to retrive
299 +# file if connection breaks. This option tells it how many times
301 +#vfile retries = 128
304 +### Installation options
306 +# Install packages in small groups instead of doing all-or-nothing
308 +particle install = no
310 +# Do not remove downloaded packages after its successful installation.
311 +#keep downloads = no
313 +# Controls visibility of multiple package instances with different EVR.
314 +# If on, only one, highest version will be visible.
315 +#unique package names = no
317 +# Epoch autopromotion during dependency comparision. RPM specific.
318 +# Set it up if you are using system with rpm prior to 4.2.1 version.
321 +# Confirm packages installation.
322 +#confirm installation = no
324 +# Confirm packages removal.
325 +#confirm removal = yes
327 +# Let the user select package among equivalents.
328 +choose equivalents manually = yes
330 +# Prevent package listed from being upgraded if they are already installed.
331 +# hold = kernel* dev
334 +# Ignore package list - packages fits given mask will be invisible.
335 +# ignore = *-smp-* foo*
336 +ignore = kernel* udev devfs
338 +# Conflicts with already installed packages are treated as resolved
339 +# if at least one of multiple-installed package satisfies conflict.
340 +# rpm doesn't support such cases, so --pm-nodeps is needed (use with
342 +#allow duplicates = yes
345 +### RPM specific options
347 +# rpm macros can be set by this option. Examples:
348 +# rpmdef = _install_langs pl:pl_PL:lt:lt_LT
349 +# Do not install any documentation:
350 +# rpmdef = _netsharedpath /usr/share/info:/usr/share/man
351 +# rpmdef = _excludedocs 1
355 +### Dependency processing settings
356 +# Subtle dependency processing options, they should not be changed
357 +# unless you know what you are doing
359 +# Automatically install packages required by installed ones.
362 +# Greedy upgrades, i.e. upgrade packages which dependencies are broken
363 +# by being uninstalled ones.
366 +# Be yet more greedy; if successor of orphaned package found, and this
367 +# successor drags no packages then upgrade the package instead of process
368 +# its dependencies. Option value is implied by 'greedy' one by defalut.
369 +#aggressive greedy = yes
371 +# Be tolerant for unmatched versioned dependencies which rpm tolerates, e.g.
372 +# package A requires capability foo >= 1.0 while package B provides "foo"
373 +# without any version. Use with care, it may cause weird dependency errors.
376 +# Taking into account package Obsoletes.
379 +# Taking into account package Conflicts.
381 --- util-vserver-0.30.214.org/distrib/pld-ac/poldek/source.conf 1970-01-01 01:00:00.000000000 +0100
382 +++ util-vserver-0.30.214/distrib/pld-ac/poldek/source.conf 2007-11-15 23:20:48.181172125 +0100
384 +# Sample poldek sources configuration
385 +# Every source is configured in his own [source] section.
386 +# Possible parameters are:
389 +# Unique name of the repository.
392 +# Type of repository index. Permitted values are 'pndir', 'pdir', 'apt', 'yum'
393 +# and 'dir' as listed by --stl switch.
396 +# This parameter sets index original type i.e type of repository
397 +# from what this repository is created. Default is 'dir' - means
398 +# that directory of packages is scanned.
399 +#original type = dir
401 +# Unique name of the repository. May be either path or URL.
402 +#path = /some/url/or/dir
404 +# If package index and packages are stored in different locations then
405 +# prefix stands for packages path.
406 +#prefix = /some/url/or/dir
408 +# Controls visibility of multiple package instances with different EVR.
409 +# If on, only one, highest version will be visible.
412 +# Repository priority. If the same packages (equal names and EVR)
413 +# are available in more than one source then package from highest
414 +# prioritized source are taken. Priority is numeric value. Lower number
415 +# means higher priority, and negative priorities are allowed.
416 +# Priority is numeric value.
419 +# Controling if repository index will be implicit loaded. Set it off if
420 +# the index should be loaded on demand only, i.e. if specified directly
424 +# Controls if repository index will be implicit updated. Set it off if
425 +# the index should be updated on demand only, i.e. if specified directly
429 +# Packages PGP/GPG signatures (if any) will be verified before their
433 +# Have the same meaning as [global] parameter. Example:
434 +# hold = kernel* dev
437 +# Have the same meaning as [global] parameter. Example:
438 +# ignore = kernel*smp* dev
441 +# Parameter have the same meaning as [global] parameter.
442 +# exclude path = usr/share/doc:usr/share/man:usr/src
445 +# Preferred language of package descriptions. If not set, taken from locale
446 +# settings. Example:
447 +# lang = pl_PL:lt_LT
453 +path = $HOME/rpm/RPMS
460 +#path = ftp://ftp.foo.bar.org/RPMS/
466 +#ignore = kernel*-smp-*
469 --- util-vserver-0.30.214.org/distrib/pld-ac/rpm/macros 1970-01-01 01:00:00.000000000 +0100
470 +++ util-vserver-0.30.214/distrib/pld-ac/rpm/macros 2007-11-15 23:20:48.181172125 +0100
472 +# Because of https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=52725
473 +# you have to use at least one language beside 'C'
474 +%_install_langs C:en:pl
475 +%_netsharedpath /dev
476 --- util-vserver-0.30.214.org/distrib/pld-ac/rpmlist.d/00.lst 1970-01-01 01:00:00.000000000 +0100
477 +++ util-vserver-0.30.214/distrib/pld-ac/rpmlist.d/00.lst 2007-11-15 23:20:48.181172125 +0100
488 +vserver-packages-*.rpm
489 --- util-vserver-0.30.214.org/distrib/pld-th/pkgs/01 1970-01-01 01:00:00.000000000 +0100
490 +++ util-vserver-0.30.214/distrib/pld-th/pkgs/01 2007-11-15 23:20:48.181172125 +0100
497 --- util-vserver-0.30.214.org/distrib/pld-th/poldek/aliases.conf 1970-01-01 01:00:00.000000000 +0100
498 +++ util-vserver-0.30.214/distrib/pld-th/poldek/aliases.conf 2007-11-15 23:20:48.181172125 +0100
500 +# System wide aliases
508 +freshen = install -FN
509 +upgrade = install -F
511 +# for backward compatybility, greedy is on by default now
512 +greedy-upgrade = install -FG
514 +just-install = install -IN
517 +what-requires = search -r
518 +what-provides = search -p
519 +rsearch = search --perlre
524 +#ls = uninstall kernel
530 --- util-vserver-0.30.214.org/distrib/pld-th/poldek/fetch.conf 1970-01-01 01:00:00.000000000 +0100
531 +++ util-vserver-0.30.214/distrib/pld-th/poldek/fetch.conf 2007-11-15 23:20:48.181172125 +0100
533 +# Configuration of poldek external file getters. Each [fetcher] section
534 +# declares one external downloader. The syntax is:
537 +# proto = PROTOCOL[ ,PROTOCOL... ]
538 +# cmd = CMD [OPTION...] DESTINATION-MACRO URL-MACRO
539 +# Possible parameters are:
542 +# Unique name of the fetcher. This is an optional parameter, if not set then
543 +# name is taken from the "cmd" parameter value as "$(basename $cmd)".
546 +# Protocol or protocols supported by fetcher. Name of the protocol can be
547 +# completely arbitrary, i.e. if you can handle protocol "foo" by writing
548 +# a script which takes URLs in form 'foo://'.
551 +# Parameter specifies an external command and its invoking syntax.
552 +# The syntax of "cmd" is:
553 +# cmd = COMMAND [ OPTION... ] {%d,%D} {%p,%P}[n]
554 +# Where COMMAND is the name or full path of command, OPTION is command specific
555 +# options. Macro '%d' is replaced with cache directory, '%D' is replaced with
556 +# 'cache directory/file basename', and '%p' with file basename, %P with file full
557 +# path (URL). Optional suffix 'n' with %p and %P means that command can be
558 +# invoked with multiple files at once.
559 +#cmd = foogetter.sh -N %D %Pn
561 +##Configured fetchers
564 +cmd = vfjuggle %d %Pn
567 +proto = http,ftp,https
568 +cmd = wget -N --dot-style=binary -P %d %Pn
580 +cmd = rsync -v %P %d
584 +cmd = vfsmb -v %P %d
588 +#cmd = vfssh.sh %d %Pn
592 +#cmd = foo.sh %d %Pn
595 --- util-vserver-0.30.214.org/distrib/pld-th/poldek/pld-source.conf 1970-01-01 01:00:00.000000000 +0100
596 +++ util-vserver-0.30.214/distrib/pld-th/poldek/pld-source.conf 2007-11-15 23:20:48.181172125 +0100
598 +# PLD <http://www.pld-linux.org/>
601 +_pld_prefix = ftp://ftp.th.pld-linux.org/dists/th
603 +## You can use them if you have better connection there
605 +#_pld_prefix = ftp://ftp.task.pld-linux.org/dists/th
612 +type = %{_th_idxtype}
614 +path = %{_pld_prefix}/PLD/%{_pld_arch}/RPMS/
617 +type = %{_th_idxtype}
619 +path = %{_pld_prefix}/PLD/noarch/RPMS/
622 +type = %{_th_idxtype}
623 +name = th-updates-security
624 +path = %{_pld_prefix}/updates-security/%{_pld_arch}/RPMS/
627 +type = %{_th_idxtype}
628 +name = th-updates-general
629 +path = %{_pld_prefix}/updates-general/%{_pld_arch}/RPMS/
633 +#type = %{_th_idxtype}
634 +#name = th-supported
635 +#path = %{_pld_prefix}/supported/%{_pld_arch}/RPMS/
639 +type = %{_th_idxtype}
641 +path = %{_pld_prefix}/ready/%{_pld_arch}/RPMS/
645 +type = %{_th_idxtype}
647 +path = %{_pld_prefix}/test/%{_pld_arch}/RPMS/
649 --- util-vserver-0.30.214.org/distrib/pld-th/poldek/poldek.conf 1970-01-01 01:00:00.000000000 +0100
650 +++ util-vserver-0.30.214/distrib/pld-th/poldek/poldek.conf 2007-11-15 23:20:48.184505622 +0100
652 +# poldek main configuration file.
654 +# Some macros. Macros are local, they are not visible in included files
655 +# and macros declared in them are not visible to includer.
656 +# Macros names starts with underscore '_'.
660 +# Both local and remote files may be included. Included files may not contain
661 +# [global] section, it will be ignored anyway.
662 +%include %{_distro}-source.conf
665 +%include source.conf
667 +# External downloaders configuration, not necessary in most cases, cause
668 +# to internal HTTP and FTP client.
669 +#%include fetch.conf
674 +# This parameter allows to configure the default repository index type.
675 +#default index type = pndir
677 +# Cache directory for downloaded files. NOTE: that parent directory of cachedir
679 +#cachedir = $HOME/.poldek-cache
681 +# Switch to ordinary user at startup when executed by root
684 +# Permits using root privileges for installation only. Automatically turned
685 +# on when poldek executed as ordinary user.
688 +# Load /etc/apt/sources.list.
689 +#load apt sources list = no
691 +# Handle gzipped indexes externally (needed on RedHat 9 and Fedora Core 1 and 2).
692 +# This option is a workaround for broken zlib linked into librpm; with enabled
693 +# 'auto zlib in rpm' poldek tries to detect such case and then enables external
694 +# *.gz handling automatically.
695 +#vfile external compress = no
697 +# Auto detection of zlib linked into librpm. See 'vfile external compress'
699 +#auto zlib in rpm = yes
701 +# Automatically download whole index if incremental update fails.
704 +# Do not save given paths into created indexes. This option may significantly
705 +# reduce index size. Example (notice missing starting '/'):
706 +# exclude path = usr/share/doc:usr/share/man:usr/src
709 +# Full path name to a PM (rpm for now) binary.
710 +#pm command = /bin/rpm
712 +# Full path name to sudo binary.
713 +#sudo command = /usr/bin/sudo
716 +### File downloaders configuration
718 +# Send ${USER}@${HOSTNAME} as anonymous FTP password (by default
719 +# 'poldek@znienacka.net' is sent)
720 +#vfile ftp sysuser as anon passwd = no
722 +# File getters configuration parameter. By this option URL handlers may be configured.
723 +# To get file from HTTP and FTP servers poldek uses its internal client (what is
724 +# recommended), although it can be changedby this option. Others protocols handled
725 +# by external utilities can be configured also. The syntax is:
726 +# default fetcher = PROTOCOL[,PROTOCOL...]:FETCHER_NAME
728 +# where FETCHER_NAME is a name of one of the fetcher preconfigured in [fetch]
729 +# sections (placed in fetch.conf in default configuration).
731 +# default fetcher = ftp,http:internal
732 +# default fetcher = https:wget
733 +# default fetcher = cdrom:vfjuggle
734 +# vfjuggle is a cdrom getter supplied with poldek.
735 +#default fetcher = http,ftp: internal
737 +# Proxies for internal FTP and HTTP client may be configured in usual
738 +# way, by environment variables ftp_proxy and http_proxy, or by this option.
739 +# Its syntax is similar to "default fetcher" one:
740 +# proxy = PROTOCOL[,PROTOCOL...]:PROXY_URL
742 +# proxy = http: http://w3cache.foo.org:8080
745 +# Comma separated list of hosts or domains which will not be accessed via proxy.
746 +# Option overrides no_proxy environment variable.
748 +# noproxy = localhost, .pl, ftp.foo.bar.org
751 +# Internal HTTP and FTP client is stubborn, it retries to retrive
752 +# file if connection breaks. This option tells it how many times
754 +#vfile retries = 128
757 +### Installation options
759 +# Install packages in small groups instead of doing all-or-nothing
761 +particle install = no
763 +# Do not remove downloaded packages after its successful installation.
764 +#keep downloads = no
766 +# Controls visibility of multiple package instances with different EVR.
767 +# If on, only one, highest version will be visible.
768 +#unique package names = no
770 +# Epoch autopromotion during dependency comparision. RPM specific.
771 +# Set it up if you are using system with rpm prior to 4.2.1 version.
774 +# Confirm packages installation.
775 +#confirm installation = no
777 +# Confirm packages removal.
778 +#confirm removal = yes
780 +# Let the user select package among equivalents.
781 +choose equivalents manually = yes
783 +# Prevent package listed from being upgraded if they are already installed.
784 +# hold = kernel* dev
787 +# Ignore package list - packages fits given mask will be invisible.
788 +# ignore = *-smp-* foo*
789 +ignore = kernel* udev devfs
791 +# Conflicts with already installed packages are treated as resolved
792 +# if at least one of multiple-installed package satisfies conflict.
793 +# rpm doesn't support such cases, so --pm-nodeps is needed (use with
795 +#allow duplicates = yes
798 +### RPM specific options
800 +# rpm macros can be set by this option. Examples:
801 +# rpmdef = _install_langs pl:pl_PL:lt:lt_LT
802 +# Do not install any documentation:
803 +# rpmdef = _netsharedpath /usr/share/info:/usr/share/man
804 +# rpmdef = _excludedocs 1
808 +### Dependency processing settings
809 +# Subtle dependency processing options, they should not be changed
810 +# unless you know what you are doing
812 +# Automatically install packages required by installed ones.
815 +# Greedy upgrades, i.e. upgrade packages which dependencies are broken
816 +# by being uninstalled ones.
819 +# Be yet more greedy; if successor of orphaned package found, and this
820 +# successor drags no packages then upgrade the package instead of process
821 +# its dependencies. Option value is implied by 'greedy' one by defalut.
822 +#aggressive greedy = yes
824 +# Be tolerant for unmatched versioned dependencies which rpm tolerates, e.g.
825 +# package A requires capability foo >= 1.0 while package B provides "foo"
826 +# without any version. Use with care, it may cause weird dependency errors.
829 +# Taking into account package Obsoletes.
832 +# Taking into account package Conflicts.
834 --- util-vserver-0.30.214.org/distrib/pld-th/poldek/source.conf 1970-01-01 01:00:00.000000000 +0100
835 +++ util-vserver-0.30.214/distrib/pld-th/poldek/source.conf 2007-11-15 23:20:48.184505622 +0100
837 +# Sample poldek sources configuration
838 +# Every source is configured in his own [source] section.
839 +# Possible parameters are:
842 +# Unique name of the repository.
845 +# Type of repository index. Permitted values are 'pndir', 'pdir', 'apt', 'yum'
846 +# and 'dir' as listed by --stl switch.
849 +# This parameter sets index original type i.e type of repository
850 +# from what this repository is created. Default is 'dir' - means
851 +# that directory of packages is scanned.
852 +#original type = dir
854 +# Unique name of the repository. May be either path or URL.
855 +#path = /some/url/or/dir
857 +# If package index and packages are stored in different locations then
858 +# prefix stands for packages path.
859 +#prefix = /some/url/or/dir
861 +# Controls visibility of multiple package instances with different EVR.
862 +# If on, only one, highest version will be visible.
865 +# Repository priority. If the same packages (equal names and EVR)
866 +# are available in more than one source then package from highest
867 +# prioritized source are taken. Priority is numeric value. Lower number
868 +# means higher priority, and negative priorities are allowed.
869 +# Priority is numeric value.
872 +# Controling if repository index will be implicit loaded. Set it off if
873 +# the index should be loaded on demand only, i.e. if specified directly
877 +# Controls if repository index will be implicit updated. Set it off if
878 +# the index should be updated on demand only, i.e. if specified directly
882 +# Packages PGP/GPG signatures (if any) will be verified before their
886 +# Have the same meaning as [global] parameter. Example:
887 +# hold = kernel* dev
890 +# Have the same meaning as [global] parameter. Example:
891 +# ignore = kernel*smp* dev
894 +# Parameter have the same meaning as [global] parameter.
895 +# exclude path = usr/share/doc:usr/share/man:usr/src
898 +# Preferred language of package descriptions. If not set, taken from locale
899 +# settings. Example:
900 +# lang = pl_PL:lt_LT
906 +path = $HOME/rpm/RPMS
913 +#path = ftp://ftp.foo.bar.org/RPMS/
919 +#ignore = kernel*-smp-*
922 --- util-vserver-0.30.214.org/distrib/pld-th/rpm/macros 1970-01-01 01:00:00.000000000 +0100
923 +++ util-vserver-0.30.214/distrib/pld-th/rpm/macros 2007-11-15 23:20:48.184505622 +0100
925 +# Because of https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=52725
926 +# you have to use at least one language beside 'C'
927 +%_install_langs C:en:pl
928 +%_netsharedpath /dev
929 --- util-vserver-0.30.214.org/distrib/pld-th/rpmlist.d/00.lst 1970-01-01 01:00:00.000000000 +0100
930 +++ util-vserver-0.30.214/distrib/pld-th/rpmlist.d/00.lst 2007-11-15 23:20:48.184505622 +0100
941 +vserver-packages-*.rpm
942 --- util-vserver-0.30.214.org/distrib/pld-ti/pkgs/01 1970-01-01 01:00:00.000000000 +0100
943 +++ util-vserver-0.30.214/distrib/pld-ti/pkgs/01 2007-11-15 23:20:48.217840583 +0100
950 --- util-vserver-0.30.214.org/distrib/pld-ti/poldek/aliases.conf 1970-01-01 01:00:00.000000000 +0100
951 +++ util-vserver-0.30.214/distrib/pld-ti/poldek/aliases.conf 2007-11-15 23:20:48.217840583 +0100
953 +# System wide aliases
961 +freshen = install -FN
962 +upgrade = install -F
964 +# for backward compatybility, greedy is on by default now
965 +greedy-upgrade = install -FG
967 +just-install = install -IN
970 +what-requires = search -r
971 +what-provides = search -p
972 +rsearch = search --perlre
977 +#ls = uninstall kernel
983 --- util-vserver-0.30.214.org/distrib/pld-ti/poldek/fetch.conf 1970-01-01 01:00:00.000000000 +0100
984 +++ util-vserver-0.30.214/distrib/pld-ti/poldek/fetch.conf 2007-11-15 23:20:48.217840583 +0100
986 +# Configuration of poldek external file getters. Each [fetcher] section
987 +# declares one external downloader. The syntax is:
990 +# proto = PROTOCOL[ ,PROTOCOL... ]
991 +# cmd = CMD [OPTION...] DESTINATION-MACRO URL-MACRO
992 +# Possible parameters are:
995 +# Unique name of the fetcher. This is an optional parameter, if not set then
996 +# name is taken from the "cmd" parameter value as "$(basename $cmd)".
999 +# Protocol or protocols supported by fetcher. Name of the protocol can be
1000 +# completely arbitrary, i.e. if you can handle protocol "foo" by writing
1001 +# a script which takes URLs in form 'foo://'.
1004 +# Parameter specifies an external command and its invoking syntax.
1005 +# The syntax of "cmd" is:
1006 +# cmd = COMMAND [ OPTION... ] {%d,%D} {%p,%P}[n]
1007 +# Where COMMAND is the name or full path of command, OPTION is command specific
1008 +# options. Macro '%d' is replaced with cache directory, '%D' is replaced with
1009 +# 'cache directory/file basename', and '%p' with file basename, %P with file full
1010 +# path (URL). Optional suffix 'n' with %p and %P means that command can be
1011 +# invoked with multiple files at once.
1012 +#cmd = foogetter.sh -N %D %Pn
1014 +##Configured fetchers
1017 +cmd = vfjuggle %d %Pn
1020 +proto = http,ftp,https
1021 +cmd = wget -N --dot-style=binary -P %d %Pn
1029 +cmd = curl %P -o %D
1033 +cmd = rsync -v %P %d
1037 +cmd = vfsmb -v %P %d
1041 +#cmd = vfssh.sh %d %Pn
1045 +#cmd = foo.sh %d %Pn
1048 --- util-vserver-0.30.214.org/distrib/pld-ti/poldek/pld-source.conf 1970-01-01 01:00:00.000000000 +0100
1049 +++ util-vserver-0.30.214/distrib/pld-ti/poldek/pld-source.conf 2007-11-15 23:20:48.217840583 +0100
1052 +# Unofficial version of PLD Linux Distribution
1053 +# http://www.pld-linux.org/Titanium
1056 +_prefix = ftp://ftp.titanium.pld-linux.org/branches/titanium
1063 +path = %{_prefix}/PLD/%{_arch}/RPMS/
1068 +path = %{_prefix}/PLD/noarch/RPMS/
1072 +name = titanium-ready
1073 +path = %{_prefix}/ready/%{_arch}/RPMS/
1079 +name = titanium-ready
1080 +path = %{_prefix}/ready/noarch/RPMS/
1086 +name = titanium-test
1087 +path = %{_prefix}/test/%{_arch}/RPMS/
1093 +name = titanium-test
1094 +path = %{_prefix}/test/noarch/RPMS/
1097 --- util-vserver-0.30.214.org/distrib/pld-ti/poldek/poldek.conf 1970-01-01 01:00:00.000000000 +0100
1098 +++ util-vserver-0.30.214/distrib/pld-ti/poldek/poldek.conf 2007-11-15 23:20:48.217840583 +0100
1100 +# poldek main configuration file.
1102 +# Some macros. Macros are local, they are not visible in included files
1103 +# and macros declared in them are not visible to includer.
1104 +# Macros names starts with underscore '_'.
1108 +# Both local and remote files may be included. Included files may not contain
1109 +# [global] section, it will be ignored anyway.
1110 +%include %{_distro}-source.conf
1113 +%include source.conf
1115 +# External downloaders configuration, not necessary in most cases, cause
1116 +# to internal HTTP and FTP client.
1117 +#%include fetch.conf
1122 +# This parameter allows to configure the default repository index type.
1123 +#default index type = pndir
1125 +# Cache directory for downloaded files. NOTE: that parent directory of cachedir
1127 +#cachedir = $HOME/.poldek-cache
1129 +# Switch to ordinary user at startup when executed by root
1132 +# Permits using root privileges for installation only. Automatically turned
1133 +# on when poldek executed as ordinary user.
1136 +# Load /etc/apt/sources.list.
1137 +#load apt sources list = no
1139 +# Handle gzipped indexes externally (needed on RedHat 9 and Fedora Core 1 and 2).
1140 +# This option is a workaround for broken zlib linked into librpm; with enabled
1141 +# 'auto zlib in rpm' poldek tries to detect such case and then enables external
1142 +# *.gz handling automatically.
1143 +#vfile external compress = no
1145 +# Auto detection of zlib linked into librpm. See 'vfile external compress'
1147 +#auto zlib in rpm = yes
1149 +# Automatically download whole index if incremental update fails.
1152 +# Do not save given paths into created indexes. This option may significantly
1153 +# reduce index size. Example (notice missing starting '/'):
1154 +# exclude path = usr/share/doc:usr/share/man:usr/src
1157 +# Full path name to a PM (rpm for now) binary.
1158 +#pm command = /bin/rpm
1160 +# Full path name to sudo binary.
1161 +#sudo command = /usr/bin/sudo
1164 +### File downloaders configuration
1166 +# Send ${USER}@${HOSTNAME} as anonymous FTP password (by default
1167 +# 'poldek@znienacka.net' is sent)
1168 +#vfile ftp sysuser as anon passwd = no
1170 +# File getters configuration parameter. By this option URL handlers may be configured.
1171 +# To get file from HTTP and FTP servers poldek uses its internal client (what is
1172 +# recommended), although it can be changedby this option. Others protocols handled
1173 +# by external utilities can be configured also. The syntax is:
1174 +# default fetcher = PROTOCOL[,PROTOCOL...]:FETCHER_NAME
1176 +# where FETCHER_NAME is a name of one of the fetcher preconfigured in [fetch]
1177 +# sections (placed in fetch.conf in default configuration).
1179 +# default fetcher = ftp,http:internal
1180 +# default fetcher = https:wget
1181 +# default fetcher = cdrom:vfjuggle
1182 +# vfjuggle is a cdrom getter supplied with poldek.
1183 +#default fetcher = http,ftp: internal
1185 +# Proxies for internal FTP and HTTP client may be configured in usual
1186 +# way, by environment variables ftp_proxy and http_proxy, or by this option.
1187 +# Its syntax is similar to "default fetcher" one:
1188 +# proxy = PROTOCOL[,PROTOCOL...]:PROXY_URL
1190 +# proxy = http: http://w3cache.foo.org:8080
1193 +# Comma separated list of hosts or domains which will not be accessed via proxy.
1194 +# Option overrides no_proxy environment variable.
1196 +# noproxy = localhost, .pl, ftp.foo.bar.org
1199 +# Internal HTTP and FTP client is stubborn, it retries to retrive
1200 +# file if connection breaks. This option tells it how many times
1202 +#vfile retries = 128
1205 +### Installation options
1207 +# Install packages in small groups instead of doing all-or-nothing
1209 +particle install = no
1211 +# Do not remove downloaded packages after its successful installation.
1212 +#keep downloads = no
1214 +# Controls visibility of multiple package instances with different EVR.
1215 +# If on, only one, highest version will be visible.
1216 +#unique package names = no
1218 +# Epoch autopromotion during dependency comparision. RPM specific.
1219 +# Set it up if you are using system with rpm prior to 4.2.1 version.
1222 +# Confirm packages installation.
1223 +#confirm installation = no
1225 +# Confirm packages removal.
1226 +#confirm removal = yes
1228 +# Let the user select package among equivalents.
1229 +choose equivalents manually = yes
1231 +# Prevent package listed from being upgraded if they are already installed.
1232 +# hold = kernel* dev
1235 +# Ignore package list - packages fits given mask will be invisible.
1236 +# ignore = *-smp-* foo*
1237 +ignore = kernel* udev devfs
1239 +# Conflicts with already installed packages are treated as resolved
1240 +# if at least one of multiple-installed package satisfies conflict.
1241 +# rpm doesn't support such cases, so --pm-nodeps is needed (use with
1243 +#allow duplicates = yes
1246 +### RPM specific options
1248 +# rpm macros can be set by this option. Examples:
1249 +# rpmdef = _install_langs pl:pl_PL:lt:lt_LT
1250 +# Do not install any documentation:
1251 +# rpmdef = _netsharedpath /usr/share/info:/usr/share/man
1252 +# rpmdef = _excludedocs 1
1256 +### Dependency processing settings
1257 +# Subtle dependency processing options, they should not be changed
1258 +# unless you know what you are doing
1260 +# Automatically install packages required by installed ones.
1263 +# Greedy upgrades, i.e. upgrade packages which dependencies are broken
1264 +# by being uninstalled ones.
1267 +# Be yet more greedy; if successor of orphaned package found, and this
1268 +# successor drags no packages then upgrade the package instead of process
1269 +# its dependencies. Option value is implied by 'greedy' one by defalut.
1270 +#aggressive greedy = yes
1272 +# Be tolerant for unmatched versioned dependencies which rpm tolerates, e.g.
1273 +# package A requires capability foo >= 1.0 while package B provides "foo"
1274 +# without any version. Use with care, it may cause weird dependency errors.
1277 +# Taking into account package Obsoletes.
1280 +# Taking into account package Conflicts.
1282 --- util-vserver-0.30.214.org/distrib/pld-ti/poldek/source.conf 1970-01-01 01:00:00.000000000 +0100
1283 +++ util-vserver-0.30.214/distrib/pld-ti/poldek/source.conf 2007-11-15 23:20:48.217840583 +0100
1285 +# Sample poldek sources configuration
1286 +# Every source is configured in his own [source] section.
1287 +# Possible parameters are:
1290 +# Unique name of the repository.
1293 +# Type of repository index. Permitted values are 'pndir', 'pdir', 'apt', 'yum'
1294 +# and 'dir' as listed by --stl switch.
1297 +# This parameter sets index original type i.e type of repository
1298 +# from what this repository is created. Default is 'dir' - means
1299 +# that directory of packages is scanned.
1300 +#original type = dir
1302 +# Unique name of the repository. May be either path or URL.
1303 +#path = /some/url/or/dir
1305 +# If package index and packages are stored in different locations then
1306 +# prefix stands for packages path.
1307 +#prefix = /some/url/or/dir
1309 +# Controls visibility of multiple package instances with different EVR.
1310 +# If on, only one, highest version will be visible.
1313 +# Repository priority. If the same packages (equal names and EVR)
1314 +# are available in more than one source then package from highest
1315 +# prioritized source are taken. Priority is numeric value. Lower number
1316 +# means higher priority, and negative priorities are allowed.
1317 +# Priority is numeric value.
1320 +# Controling if repository index will be implicit loaded. Set it off if
1321 +# the index should be loaded on demand only, i.e. if specified directly
1325 +# Controls if repository index will be implicit updated. Set it off if
1326 +# the index should be updated on demand only, i.e. if specified directly
1330 +# Packages PGP/GPG signatures (if any) will be verified before their
1334 +# Have the same meaning as [global] parameter. Example:
1335 +# hold = kernel* dev
1338 +# Have the same meaning as [global] parameter. Example:
1339 +# ignore = kernel*smp* dev
1342 +# Parameter have the same meaning as [global] parameter.
1343 +# exclude path = usr/share/doc:usr/share/man:usr/src
1346 +# Preferred language of package descriptions. If not set, taken from locale
1347 +# settings. Example:
1348 +# lang = pl_PL:lt_LT
1354 +path = $HOME/rpm/RPMS
1361 +#path = ftp://ftp.foo.bar.org/RPMS/
1367 +#ignore = kernel*-smp-*
1370 --- util-vserver-0.30.214.org/distrib/pld-ti/rpm/macros 1970-01-01 01:00:00.000000000 +0100
1371 +++ util-vserver-0.30.214/distrib/pld-ti/rpm/macros 2007-11-15 23:20:48.221174080 +0100
1373 +# Because of https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=52725
1374 +# you have to use at least one language beside 'C'
1375 +%_install_langs C:en:pl
1376 +%_netsharedpath /dev
1377 --- util-vserver-0.30.214.org/distrib/pld-ti/rpmlist.d/00.lst 1970-01-01 01:00:00.000000000 +0100
1378 +++ util-vserver-0.30.214/distrib/pld-ti/rpmlist.d/00.lst 2007-11-15 23:20:48.221174080 +0100
1389 +vserver-packages-*.rpm
1390 --- util-vserver-0.30.214.org/scripts/functions 2007-09-02 22:06:41.000000000 +0200
1391 +++ util-vserver-0.30.214/scripts/functions 2007-11-15 23:20:48.221174080 +0100
1392 @@ -403,6 +403,20 @@
1396 +function _pkgSetVarsPoldek
1398 + if test -n "$PKGDIR"; then
1399 + findDir POLDEKETCDIR $PKGDIR/poldeketc $PKGDIR/base/poldek/etc /etc/poldek
1400 + findDir POLDEKCACHEDIR $PKGDIR/poldek-cache $PKGDIR/base/poldek/cache
1402 + findDir POLDEKETCDIR "$VDIR"/etc/poldek /etc/poldek
1403 + findDir POLDEKCACHEDIR "$VDIR"/var/tmp/poldek-cache
1406 + findFile POLDEK_CONFIG "$POLDEKETCDIR"/poldek.conf ""
1407 + test -z "$POLDEK_CONFIG" || export POLDEK_CONFIG
1411 function _pkgMountBase
1414 rpm) _pkgSetVarsRPM;;
1415 apt) _pkgSetVarsApt;;
1416 yum) _pkgSetVarsYum;;
1417 + poldek) _pkgSetVarsPoldek;;
1418 *) echo "Unknown packaging flavor" >&2; exit 1;;
1423 elif test -e "$_pgs_vdir"/etc/mandrake-release; then
1425 + elif test -e "$_pgs_vdir"/etc/pld-release; then
1427 elif test -e "$_pgs_vdir"/etc/debian_version; then
1429 elif test -e "$_pgs_vdir"/etc/SuSE-release; then
1430 @@ -831,6 +848,27 @@
1431 test -n "$have_yum" && return 0 || return 1
1434 +## Usage: pkgmgmt.isPoldekAvailable <cfgdir> <vdir> [<is-internal>]
1435 +function pkgmgmt.isPoldekAvailable
1439 + local is_internal="$3"
1441 + local have_poldek i
1442 + if test -n "$is_internal"; then
1444 + test -d "$cfgdir"/base/poldek -o -d "$cfgdir"/poldeketc || have_poldek=
1447 + for i in /bin /usr/bin /usr/local/bin; do
1448 + test ! -x "$vdir$i"/poldek || { have_poldek=1; break; }
1452 + test -n "$have_poldek" && return 0 || return 1
1456 function vshelper.doSanityCheck
1458 --- util-vserver-0.30.214.org/scripts/Makefile-files 2007-09-02 22:06:41.000000000 +0200
1459 +++ util-vserver-0.30.214/scripts/Makefile-files 2007-11-15 23:20:48.221174080 +0100
1461 scripts/vapt-get-worker \
1462 scripts/vrpm-worker \
1463 scripts/vyum-worker \
1464 + scripts/vpoldek-worker \
1465 scripts/vrpm-preload \
1466 scripts/save_s_context \
1467 scripts/vservers.grabinfo.sh \
1469 scripts/vserver-build.template \
1470 scripts/vserver-build.rsync \
1471 scripts/vserver-build.clone \
1472 + scripts/vserver-build.poldek \
1473 scripts/vserver-build.functions \
1474 scripts/vserver-build.functions.apt \
1475 scripts/vserver-build.functions.rpm \
1476 scripts/vserver-build.functions.pkgmgmt \
1477 scripts/vserver-build.functions.yum \
1478 + scripts/vserver-build.functions.poldek \
1479 scripts/vserver-setup.functions \
1480 scripts/vserver.functions \
1481 scripts/vserver.start \
1483 scripts_pkglib_src_SCRPTS = scripts/pkgmgmt \
1484 scripts/vapt-get-worker \
1486 + scripts/vpoldek-worker \
1487 scripts/vrpm-worker \
1488 scripts/vrpm-preload \
1489 scripts/start-vservers \
1491 scripts_sbin_src_PRGS = scripts/chbind \
1495 scripts/vdispatch-conf \
1498 --- util-vserver-0.30.214.org/scripts/pkgmgmt 2007-09-02 22:06:41.000000000 +0200
1499 +++ util-vserver-0.30.214/scripts/pkgmgmt 2007-11-15 23:20:48.221174080 +0100
1504 - (RH) pkgs=$(vrpm "$1" -- -q --qf '---%{NAME}---\n' rpm apt yum "${YUM_RELEASEPKGS[@]}")
1505 + (RH) pkgs=$(vrpm "$1" -- -q --qf '---%{NAME}---\n' rpm apt yum poldek "${YUM_RELEASEPKGS[@]}")
1506 hasSubstring "$pkgs" ---rpm--- || {
1508 * The vserver does not seem to have the 'rpm' package which is required
1513 - hasSubstring "$pkgs" ---apt--- ---yum--- || {
1514 + hasSubstring "$pkgs" ---apt--- ---yum--- ---poldek--- || {
1516 -* The vserver does not seem to have a depsolver like 'apt' or 'yum'
1517 +* The vserver does not seem to have a depsolver like 'apt', 'yum' or 'poldek'
1518 installed. It is suggested to install such a program before setting
1519 up internal package management."
1521 @@ -368,6 +368,131 @@
1525 +function processVserver_PLD()
1528 + local is_internalize=$2
1532 + cfgdir=$($_VSERVER_INFO "$vserver" APPDIR pkgmgmt) || \
1533 + cfgdir=$($_VSERVER_INFO "$vserver" APPDIR)/pkgmgmt
1535 + ## Figure out the environment....
1536 + pkgmgmt.isPoldekAvailable "$cfgdir" "$vdir" "$is_internalize" || have_poldek=
1538 + local POLDEKETCDIR=
1539 + local POLDEKCACHEDIR=
1541 + local RPMSTATEDIR=
1543 + ## Create directories and assign variables where configuration
1544 + ## can/will be found on the host
1545 + if test -n "$is_internalize"; then
1546 + verifyInternalPackages "$vserver" RH || test -n "$IS_FORCE" ||
1548 +Can not continue; use '--force' to override this check"
1550 + pushd "$vdir" >/dev/null
1552 + test ! -L var/lib/rpm || {
1553 + $_EXEC_CD /var/lib $_RM rpm &&
1554 + $_EXEC_CD /var/lib $_MKDIR -m755 rpm &&
1555 + $_EXEC_CD /var/lib $_CHOWN rpm:rpm rpm ||
1557 + } </dev/null 2>/dev/null
1559 + for i in var/tmp/poldek-cache etc/rpm etc/poldek; do
1561 + $_EXEC_CD /$(dirname "$i") $_MKDIR -m755 $(basename "$i") || :
1566 + if test -n "$have_poldek"; then
1567 + findDir POLDEKETCDIR "$cfgdir"/poldeketc "$cfgdir"/base/poldek/etc /etc/poldek
1570 + findDir RPMETCDIR "$cfgdir"/rpmetc "$cfgdir"/base/rpm/etc /etc/rpm /
1571 + findDir RPMSTATEDIR "$cfgdir"/rpmstate "$cfgdir"/base/rpm/state
1573 + mkdir -m755 -p "$cfgdir"
1576 + if test -n "$have_poldek"; then
1577 + findDir POLDEKETCDIR "$cfgdir"/poldeketc "$cfgdir"/base/poldek/etc /
1578 + findDir POLDEKCACHEDIR "$cfgdir"/poldek-cache "$cfgdir"/base/poldek/cache /
1580 + test "$POLDEKETCDIR" != / || POLDEKETCDIR=$cfgdir/base/poldek/etc
1581 + test "$POLDEKCACHEDIR" != / || POLDEKCACHEDIR=$cfgdir/base/poldek/cache
1583 + test -d "$cfgdir"/poldeketc -a -d "$cfgdir"/poldek-cache || need_base=1
1586 + findDir RPMETCDIR "$cfgdir"/rpmetc "$cfgdir"/base/rpm/etc /
1587 + findDir RPMSTATEDIR "$cfgdir"/rpmstate "$cfgdir"/base/rpm/state /
1589 + test "$RPMETCDIR" != / || RPMETCDIR=$cfgdir/base/rpm/etc
1590 + test "$RPMSTATEDIR" != / || RPMSTATEDIR=$cfgdir/base/rpm/state
1592 + test -d "$cfgdir"/rpmetc -a -d "$cfgdir"/rpmstate || need_base=1
1593 + test ! -e "$cfgdir"/base || need_base=
1595 + test -z "$need_base" || ln -s "$PKGCFGDIR" "$cfgdir"/base
1597 + mkdir -m755 -p "$PKGCFGDIR"
1598 + _createDirs "$POLDEKETCDIR" "$POLDEKCACHEDIR" \
1599 + "$RPMETCDIR" "$RPMSTATEDIR"
1602 + ## Copy the files...
1603 + if test -n "$is_internalize"; then
1604 + if test -n "$have_poldek"; then
1605 + _copySecure "$vdir" "$POLDEKETCDIR" /etc/poldek
1606 + pushd "$vdir" >/dev/null
1607 + _hashAuto /etc/poldek.conf '/'
1611 + _copySecure "$vdir" "$RPMETCDIR" /etc/rpm
1612 + _copySecure "$vdir" "$RPMSTATEDIR" /var/lib/rpm
1614 + pushd "$vdir" >/dev/null
1615 + ## remove %_dbpath settings
1616 + _substFile /etc/rpm/macros '/^%_dbpath[ \t].*/D'
1619 + if test -n "$have_poldek"; then
1620 + _copySecureRev "$vdir" /etc/poldek "$POLDEKETCDIR"
1621 + _unhashAuto "$POLDEKETCDIR"/poldek.conf '/'
1624 + _copySecureRev "$vdir" /etc/rpm "$RPMETCDIR"
1625 + _copySecureRev "$vdir" /var/lib/rpm "$RPMSTATEDIR"
1627 + echo -e "%_dbpath\t\t$rpmdb_mntpoint" >>$RPMETCDIR/macros
1631 + if test -n "$is_internalize"; then
1634 + tmpdir=$($_MKTEMPDIR -p /var/tmp pgmgmt.XXXXXX)
1635 + trap "$_RM -rf $tmpdir" EXIT
1636 + pushd "$vdir" >/dev/null
1637 + $_EXEC_CD /var/lib $_MV rpm $tmpdir/
1638 + $_EXEC_CD /var/lib $_LN_S "$rpmdb_mntpoint" rpm
1643 + if test -n "$is_internalize"; then
1644 + $_TOUCH "$cfgdir"/internal
1646 + $_RM -f "$cfgdir"/internal
1650 function processVserver_Debian()
1656 (redhat|mandrake) processVserver_RH "$vserver" "$IS_INTERNALIZE";;
1657 + (pld) processVserver_PLD "$vserver" "$IS_INTERNALIZE";;
1658 (debian) processVserver_Debian "$vserver" "$IS_INTERNALIZE";;
1660 echo $"Vserver style '$style' is not supported for packagemanagment" >&2
1661 --- util-vserver-0.30.214.org/scripts/util-vserver-vars.pathsubst 2007-09-02 22:06:41.000000000 +0200
1662 +++ util-vserver-0.30.214/scripts/util-vserver-vars.pathsubst 2007-11-15 23:20:48.221174080 +0100
1664 _LIB_VSERVER_BUILD_FUNCTIONS_RPM="$__PKGLIBDIR/vserver-build.functions.rpm"
1665 _LIB_VSERVER_BUILD_FUNCTIONS_YUM="$__PKGLIBDIR/vserver-build.functions.yum"
1666 _LIB_VSERVER_BUILD_FUNCTIONS_PKGMGMT="$__PKGLIBDIR/vserver-build.functions.pkgmgmt"
1667 +_LIB_VSERVER_BUILD_FUNCTIONS_POLDEK="$__PKGLIBDIR/vserver-build.functions.poldek"
1668 _LISTDEVIP="$__LEGACYDIR/listdevip"
1669 _LOCKFILE="$__PKGLIBDIR/lockfile"
1670 _MASK2PREFIX="$__PKGLIBDIR/mask2prefix"
1672 _VUNIFY="$__PKGLIBDIR/vunify"
1673 _VYUM="$__SBINDIR/vyum"
1674 _VYUM_WORKER="$__PKGLIBDIR/vyum-worker"
1675 +_VPOLDEK="$__SBINDIR/vpoldek"
1676 +_VPOLDEK_WORKER="$__PKGLIBDIR/vpoldek-worker"
1680 --- util-vserver-0.30.214.org/scripts/vpkg 2007-09-02 22:06:41.000000000 +0200
1681 +++ util-vserver-0.30.214/scripts/vpkg 2007-11-15 23:20:48.221174080 +0100
1682 @@ -115,6 +115,44 @@
1690 + ## rpm outputs sometimes '(contains no files)', so return
1691 + ## only the valid output
1693 + rpm_param=( -qac --pipe "$_SED '\!^/!p;d'" );;
1695 + rpm_param=( -Uvh "$@" )
1696 + poldek_param=( --install -v "$@" )
1700 + if test -n "$is_external"; then
1702 + test -d "$cfgdir"/base/poldek -o -d "$cfgdir"/poldeketc || have_poldek=
1705 + for i in /bin /usr/bin /usr/local/bin; do
1706 + test ! -x "$vdir$i"/poldek || { have_poldek=1; break; }
1710 + if test -n "$is_external"; then
1711 + if test "$have_poldek" -a "$poldek_param"; then
1712 + cmd=( "$_VPOLDEK" "$vserver" -- "${poldek_param[@]}" )
1714 + cmd=( "$_VRPM" "$vserver" -- "${rpm_param[@]}" )
1717 + if test "$have_poldek" -a "$poldek_param"; then
1718 + cmd=( "$_VSERVER" --silent "$vserver" exec poldek "${poldek_param[@]}" )
1720 + cmd=( "$_VSERVER" --silent "$vserver" exec rpm "${rpm_param[@]}" )
1727 --- util-vserver-0.30.214.org/scripts/vpoldek 1970-01-01 01:00:00.000000000 +0100
1728 +++ util-vserver-0.30.214/scripts/vpoldek 2007-11-15 22:00:24.000000000 +0100
1733 +# Copyright (C) 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
1735 +# This program is free software; you can redistribute it and/or modify
1736 +# it under the terms of the GNU General Public License as published by
1737 +# the Free Software Foundation; version 2 of the License.
1739 +# This program is distributed in the hope that it will be useful,
1740 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1741 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1742 +# GNU General Public License for more details.
1744 +# You should have received a copy of the GNU General Public License
1745 +# along with this program; if not, write to the Free Software
1746 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1748 +: ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars}
1749 +test -e "$UTIL_VSERVER_VARS" || {
1750 + echo $"Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2
1753 +. "$UTIL_VSERVER_VARS"
1754 +. "$_LIB_FUNCTIONS"
1757 +function showHelp()
1760 +$"Usage: $0 <vserver-name>* [--all] -- <params>+
1762 +Report bugs to <$PACKAGE_BUGREPORT>."
1766 +function showVersion()
1769 +$"vpoldek $PACKAGE_VERSION -- poldek for vservers
1770 +This program is part of $PACKAGE_STRING
1772 +Copyright (C) 2007 Enrico Scholz
1773 +This program is free software; you may redistribute it under the terms of
1774 +the GNU General Public License. This program has absolutely no warranty."
1778 +tmp=$(getopt -o +q --long help,version,debug,quiet,all -n "$0" -- "$@") || exit 1
1781 +declare -a send_through poldek_opts
1785 + (--help) showHelp $0 ;;
1786 + (--version) showVersion ;;
1787 + (--debug) send_through=( "${send_through[@]}" "$1" ); set -x;;
1788 + (--quiet|-q) send_through=( "${send_through[@]}" "$1" );;
1789 + (--all) poldek_opts=( "${poldek_opts[@]}" "$1" );;
1790 + (--) shift; break;;
1791 + (*) echo $"vpoldek: internal error; arg=='$1'" >&2; exit 1;;
1796 +VSOMETHING_TITLE=vpoldek
1797 +VSOMETHING_WORKER=$_VPOLDEK_WORKER
1798 +VSOMETHING_PKGMGMT=1
1800 +export VSOMETHING_TITLE VSOMETHING_WORKER VSOMETHING_PKGMGMT
1802 +test ${#poldek_opts[@]} -eq 0 || poldek_opts=( "${poldek_opts[@]}" -- )
1803 +exec $_VSOMETHING "${send_through[@]}" poldek "${poldek_opts[@]}" "$@"
1804 --- util-vserver-0.30.214.org/scripts/vpoldek-worker 1970-01-01 01:00:00.000000000 +0100
1805 +++ util-vserver-0.30.214/scripts/vpoldek-worker 2007-11-15 22:58:23.000000000 +0100
1810 +# Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
1812 +# This program is free software; you can redistribute it and/or modify
1813 +# it under the terms of the GNU General Public License as published by
1814 +# the Free Software Foundation; version 2 of the License.
1816 +# This program is distributed in the hope that it will be useful,
1817 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1818 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1819 +# GNU General Public License for more details.
1821 +# You should have received a copy of the GNU General Public License
1822 +# along with this program; if not, write to the Free Software
1823 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1827 +: ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars}
1828 +test -e "$UTIL_VSERVER_VARS" || {
1829 + echo $"Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2
1832 +. "$UTIL_VSERVER_VARS"
1833 +. "$_LIB_FUNCTIONS"
1839 +pkgInit "$vserver" rpm poldek
1841 +test -z "$_POLDEK" || {
1842 + warning $"The environment variable \$_POLDEK is not supported anymore; please use \$POLDEK instead of"
1843 + ${POLDEK:=$_POLDEK}
1846 +exec ${_POLDEK:-poldek} \
1848 + --cachedir=$POLDEKCACHEDIR \
1849 + --conf=$POLDEK_CONFIG \
1850 + --pmcmd=$RPM_BINARY \
1852 --- util-vserver-0.30.214.org/scripts/vserver-build 2007-09-02 22:06:41.000000000 +0200
1853 +++ util-vserver-0.30.214/scripts/vserver-build 2007-11-15 23:20:48.224507577 +0100
1855 yum ... -- -d <distribution>
1856 ... installs the base-packages of the given distribution with
1858 + poldek ... -- -d <distribution>
1859 + ... installs the base-packages of the given distribution with
1861 rpm ... -- [-d <distribution>] --empty|([--force] [--nodeps] <manifest>)+
1862 ... installs lists of rpm-packages
1863 skeleton ... -- [<cmd> <args>*]
1867 (xlegacy) exec $_VSERVER_LEGACY "$VSERVER_NAME" build "$@" ;;
1868 - (xapt-rpm|xcopy|xskeleton|xdebootstrap|xyum|xrpm|xtemplate|xfai|xrsync|xclone)
1869 + (xapt-rpm|xcopy|xskeleton|xdebootstrap|xyum|xrpm|xtemplate|xfai|xrsync|xclone|xpoldek)
1870 . $__PKGLIBDIR/vserver-build.$method
1872 (x) panic $"No build-method specified";;
1873 --- util-vserver-0.30.214.org/scripts/vserver-build.functions 2007-09-02 22:06:41.000000000 +0200
1874 +++ util-vserver-0.30.214/scripts/vserver-build.functions 2007-11-15 23:20:48.224507577 +0100
1875 @@ -167,6 +167,12 @@
1876 elif test -e /etc/slackware-version; then
1877 set -- $(cat /etc/slackware-version)
1878 DISTRIBUTION=slackware$2
1879 + elif test -e /etc/pld-release; then
1882 + set -- $(cat /etc/pld-release)
1883 + DISTRIBUTION=pld-$(echo $2 | tr A-Z a-z)
1885 elif test -n "$1"; then
1888 --- util-vserver-0.30.214/scripts/vserver-build.functions.poldek 2007-11-15 23:20:48.224507577 +0100
1889 +++ util-vserver-0.30.214/scripts/vserver-build.functions.poldek 2008-03-25 19:20:07.685144000 +0200
1891 +# $Id$ --*- sh -*--
1893 +# Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
1895 +# This program is free software; you can redistribute it and/or modify
1896 +# it under the terms of the GNU General Public License as published by
1897 +# the Free Software Foundation; version 2 of the License.
1899 +# This program is distributed in the hope that it will be useful,
1900 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1901 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1902 +# GNU General Public License for more details.
1904 +# You should have received a copy of the GNU General Public License
1905 +# along with this program; if not, write to the Free Software
1906 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1908 +function poldek.installBasePackages
1913 + test "$dir" != / || return 0
1914 + for filelist in "$dir"/*; do
1915 + isRegularFile "$filelist" || continue
1917 + local can_fail=false
1918 + local flags='--install'
1920 + set -- $(<$filelist)
1921 + while test "$#" -gt 0; do
1923 + --reinstall) flags='--reinstall';;
1924 + --can-fail) can_fail=true;;
1929 + "$_VPOLDEK" "$name" -- $flags $* || $can_fail
1933 +function poldek.initVariables
1935 + findFile POLDEKCONFDEFAULT \
1936 + "$__CONFDIR/.distributions/$DISTRIBUTION/poldek/poldek.conf" \
1937 + "$__CONFDIR/.defaults/apps/pkgmgmt/poldek/poldek.conf" \
1938 + "$__DISTRIBDIR/$DISTRIBUTION/poldek/poldek.conf" \
1939 + "$__DISTRIBDIR/defaults/poldek/poldek.conf" \
1943 +function poldek.initFilesystem
1945 + mkdir -p "$PKGCFGDIR"/poldek/etc/repos.d
1946 + mkdir -p "$PKGCFGBASE"/poldek-cache
1948 + $_LN_S "$PKGCFGBASE"/poldek-cache "$PKGCFGDIR"/poldek/cache
1950 + populateDirectory "$PKGCFGDIR/poldek/etc" \
1951 + "$__DISTRIBDIR/defaults/poldek" \
1952 + "$__DISTRIBDIR/$DISTRIBUTION/poldek" \
1953 + "$__CONFDIR/.distributions/$DISTRIBUTION/poldek"
1955 + populateDirectory "$PKGCFGDIR/poldek/etc/repos.d" \
1956 + "$__DISTRIBDIR/defaults/poldek/repos.d" \
1957 + "$__DISTRIBDIR/$DISTRIBUTION/poldek/repos.d" \
1958 + "$__CONFDIR/.distributions/$DISTRIBUTION/poldek/repos.d"
1960 +# test -z "$POLDEKCONFDEFAULT" || \
1961 +# $_LN_S "$POLDEKCONFDEFAULT" "$PKGCFGDIR"/poldek/etc/
1963 --- util-vserver-0.30.214.org/scripts/vserver-build.poldek 1970-01-01 01:00:00.000000000 +0100
1964 +++ util-vserver-0.30.214/scripts/vserver-build.poldek 2007-11-15 23:20:48.224507577 +0100
1966 +# $Id$ --*- sh -*--
1968 +# Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
1970 +# This program is free software; you can redistribute it and/or modify
1971 +# it under the terms of the GNU General Public License as published by
1972 +# the Free Software Foundation; version 2 of the License.
1974 +# This program is distributed in the hope that it will be useful,
1975 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1976 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1977 +# GNU General Public License for more details.
1979 +# You should have received a copy of the GNU General Public License
1980 +# along with this program; if not, write to the Free Software
1981 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1983 +tmp=$(getopt -o +d: --long debug -n "$0" -- "$@") || exit 1
1986 +. "$_LIB_VSERVER_BUILD_FUNCTIONS_RPM"
1987 +. "$_LIB_VSERVER_BUILD_FUNCTIONS_POLDEK"
1988 +. "$_LIB_VSERVER_BUILD_FUNCTIONS_PKGMGMT"
1992 + (-d) DISTRIBUTION=$2; shift;;
1993 + (--debug) set -x;;
1994 + (--) shift; break ;;
1995 + (*) echo "vserver-build.poldek: internal error: unrecognized option '$1'" >&2
2006 +pkgmgmt.initVariables
2008 +poldek.initVariables
2010 +base.initFilesystem "$OPTION_FORCE"
2011 +pkgmgmt.initFilesystem "$OPTION_FORCE"
2013 +poldek.initFilesystem
2015 +setup_writeOption "$VSERVER_NAME"
2016 +setup_writeInitialFstab
2018 +test -z "$BUILD_INITPRE" || "$BUILD_INITPRE" "$SETUP_CONFDIR" "$UTIL_VSERVER_VARS"
2019 +rpm.initDB "$SETUP_CONFDIR"
2020 +rpm.importGPGPubKeys "$SETUP_CONFDIR" \
2021 + "$__CONFDIR/.distributions/$DISTRIBUTION/pubkeys" \
2022 + "$__CONFDIR/.distributions/.common/pubkeys" \
2023 + "$__DISTRIBDIR/$DISTRIBUTION/pubkeys"
2025 +$_VPOLDEK "$SETUP_CONFDIR" -- --update-whole
2026 +poldek.installBasePackages "$SETUP_CONFDIR" "$PKGINSTALLDIR"
2027 +test -z "$BUILD_INITPOST" || "$BUILD_INITPOST" "$SETUP_CONFDIR" "$UTIL_VSERVER_VARS"