Репозитории ALT
S: | 1.7.2-alt1 |
5.1: | 1.3.16-alt1 |
4.1: | 1.3.6-alt1 |
4.0: | 1.3.6-alt1 |
3.0: | 1.0.23-alt1 |
+backports: | 1.2.4-alt1.M30.1 |
Группа :: Разработка/Прочее
Пакет: hasher
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
9 сентября 2009 Dmitry V. Levin <ldv at altlinux.org> 1.3.16-alt1
- hsh-rebuild: Call rpmbuild with stdout redirected to stderr.
- hsh-sh-cache-contents-functions: Adjusted for
/usr/lib/kde4bin -> /usr/lib/kde4/bin migration.
- hsh-rpmi-print-files: New helper program, to replace 'apt-get --print-uris'
with 'apt-get -o RPM::PM=external -o Dir::Bin::rpm=hsh-rpmi-print-files'. - hsh-sh-functions.in (print_uris): Updated for hsh-rpmi-print-files.
- FAQ, README: Discarded remote repo limitations.
- mkaptbox: Eliminated read_apt_config() usage.
- hsh-sh-functions.in (read_apt_config): Removed.
- hsh-sh-cache-contents-functions: Set pkglists_dir from Dir::State::lists.
- hsh-sh-cache-contents-functions: Reimplemented contents index routines.
- Contents index is now generated from apt pkglist files.
- Added /usr/lib/kde4bin to contents_index_bin directories.
- Disabled contents_index_all.
- hsh-sh-functions.in: Pass --bloat option to genbasedir (Alexey Tourbin).
- hsh-install: Calculate and apply mountpoints (closes: #16645).
- mkaptbox: Pass --bloat option to genbasedir, to avoid
semi-unmet dependencies (patch by Alexey Tourbin). - FAQ:
+ Fixed syntax errors (patch by Mikhail Gusarov).
+ Described where to add hasher-priv config lines (reported by Taras Ablamsky).
- hsh-sh-functions.in (chrootuid1, chrootuid2): Changed to
tolerate setarch wrapper absence (closes: #18823).
- Extended --number option semantics to allow zero subconfig identifier.
- mkaptbox: Added setarch wrapper.
- hsh-sh-functions.in: Changed to use setarch wrapper.
- hsh (cleanup_workdir, handle_package): Changed to remove chroot
before removing aptbox.
- mkaptbox: Define APT::Architecture in aptbox's apt.conf (Alexey Froloff).
- hsh-sh-cache-chroot-functions: Use lzop(1) to compress
chroot.cpio (Alexey Tourbin). - hsh(1): Make clear that some options can be controlled from
config file (Mikhail Gusarov; closes: #16709). - Redirected stdout to stderr for all verbose coreutils invocations.
- hsh-rmchroot: Workaround nodev /dev/null when deleting
files inside chroot. - hsh-sh-cache-chroot-functions (unpack_chroot_cache,
create_chroot): Always preserve modification time.
- Do not pass -h/-v options to chrooted rpmi,
information from syslog should be enough. - hsh-sh-functions.in (noinstall_pattern_list): Added dev-minimal.
- hsh-sh-functions.in (copy_chroot_incoming):
Show the whole list of missing files (Alexey Tourbin) - hsh-sh-rebuild-functions (make_srpm_from_pkgtar, install_source_package):
Redirect verbose output to stderr.
- hsh-sh-cache-chroot-functions (archive_chroot_cache): Do not use ls.
- hsh-initroot: Do not create /dev/log socket, this is not our business.
- Use shell-error, shell-quote and shell-args from libshell >= 0:0.0.2-alt4,
to replace several functions originally developed within hasher project. - Avoid potential argument list overflow in hsh-install
and similar places (#14107).
- Alex V. Myltsev:
hsh: Clearer diagnostic if the workdir does not exist (#13476).
mkaptbox: Support absolute def_repo.
mkaptbox: Use `getconf SLIB` instead of hardcoded "lib". - Alexey Tourbin:
hsh-sh-cache-contents-functions (contents_index_bin_dirs): Added /usr/games.
hsh-rebuild, rebuild-prog.sh: Removed nice(1).
cache-chroot-functions: Don't break early, show the whole list of missing RPMs. - Dmitry V. Levin:
mkaptbox: Fixed typo which made --apt-prefix option unusable.
hsh-sh-cache-chroot-functions (unpack_chroot_cache, create_chroot):
Pass --preserve-modification-time option to cpio --extract.
- Packaged functions files without execute permissions set.
- hsh, hsh-mkchroot: Extended --number option syntax:
When --number argument starts with slash character, it
specifies a directory to deduce hasher config number from.
- Changed utilities to lock workdir by default.
- Changed utilities which operate with prepared chroot to
deduce subconfig identifier from chroot directory ownership. - Changed workdir locking algorithm to lock workdir itself.
- Implemented hasher-priv locking.
- hsh, hsh-mkchroot: Choose subconfig identifier randomly
unless --number option is used. - Enabled wait-for-lock behavior by default.
Added --wait-lock/--no-wait-lock options to control wait mode.
- hsh-sh-functions.in (lock_workdir, hasher_exit_handler):
Do not remove pid file.
- hsh-sh-functions.in (lock_workdir):
Rewritten locking using lockf bash builtin. - hsh, hsh-fakedev, hsh-install, hsh-run, hsh-sh-functions.in:
Added --wait-lock/--no-wait-lock options.
- mkaptbox: If setarch does not support given arch, do not use setarch.
- hsh-rebuild: Added --source-only and --install-only options.
- Redirected chrootuid{1,2} stdin to /dev/null where appropriate.
- hsh-initroot: Replaced non-portable rpminit with raw initialization (#11586).
- hsh-fakedev, hsh-sh-functions.in, mkaptbox:
Secured readlink(1) usage (ldv). - Added qemu support (kas).
- mkaptbox:
Added setarch to apt wrappers (ldv). - cache-contents-functions:
Refactored; introduced contents_index_all (at). - Implemented alternative cache directory support (legion, ldv).
- hsh-sh-functions.in (lock_workdir):
Rewritten locking using lock files (ldv). - Run grep in C locale to speedup grep calls (ldv).
- hsh-sh-rebuild-functions:
Fixed pkg.tar build deps filter (legion, ldv).
- hsh-initroot: Do not pass --nodeps option to rpmi
unless some packages were filtered out (avm). - hasher.7.in: Fixed man section number (#11613).
- hsh-initroot: Fixed --pkg-{init,build}-list=+ support
(Sergey Kurakin, #11827). - hsh-fakedev: Implemented fifo support (#11811).
- hsh-fakedev: Fixed typo in -g option support (sbolshakov, #11489).
- mkaptbox: When copying files from Dir::State::lists,
take only readable files into account.
- mkaptbox: If cdroms.list is not empty,
copy it and apt indices into aptbox.
- hsh-fakedev:
+ Enhanced error diagnostics.
+ Fixed hsh-run(1) invocation to propagate --number and --hasher-priv-dir options. - hsh-sh-functions.in (opt_check_number):
+ Disallowed numbers starting with zero.
+ Optimized check to avoid execution of extra processes.
Suggested by Sergey Vlasov.
- Fixed build to use plain "cp -a" for better portability.
- hsh-fakedev: New utility, creates fake device files.
- mkaptbox:
Disabled creation of internal repository in --without-stuff mode.
- mkaptbox: Implemented absolute repository path support in --repo
(Alex Myltsev). - Fixed required mountpoints calculation regression introduced in
previous release.
- Removed boldface from the NAME section of man pages;
suggested by Sergey Vlasov. - Made all hasher utilities available for external use.
- Moved hasher function files to /usr/bin/ as well.
- hsh-rebuild:
Factored out rebuild functions to hsh-sh-rebuild-functions file. - hsh-sh-cache-contents-functions (create_contents):
Ignore missing cache/contents/list.new/index file (#9844). - hsh-shell: Removed redundant --execute and --pty options.
- hsh-install, hsh-rebuild, hsh-run, hsh-shell:
Deprecated --save-fakeroot option. - Changed set_workdir() and utilities to allow $workdir to be
defined in config file instead of command argument, and
changed default $workdir value to $HOME/hasher;
suggested by Mikhail Yakshin. - Updated documentation to reflect these changes.
- apt.conf: Use C-style comments (#10158).
- FAQ: Updated section about remote repositories (#10167).
- functions (create_entry_fakeroot_header): Load/save fakeroot state
iff /.fakedata exists, regardless of --save-fakeroot value (#10313).
- rebuild:
+ Pass --target option to "rpmbuild -bE" and "rpmbuild -bs" invocations.
+ Honor "rpmbuild -bE" exit code. - cache_chroot:
+ Invalidate chroot cache in case of fakeroot options change. - functions, hsh, mkaptbox, rebuild:
+ New options: --repo-bin, --repo-src (legion@).
- functions, mkaptbox:
+ Changed def_target and current_arch values to whatever rpm decides.
- hsh, initroot: Implemented --packager option.
- rebuild: Enhanced srpm detection.
- Changed code to use aptbox wrappers instead of direct apt commands.
- rebuild: make_srpm_from_pkgtar: filter_spec_buildreq: Ignore deps with % symbol.
- mkaptbox: Create aptbox version of ~/.rpmrc if necessary.
- mkaptbox: Create regenbasedir wrapper.
- Enhanced $hasher_dir initialization, to make execution of
hasher placed to exotic custom directory work as designed. - rebuild: Handle tar packages made by gear utility.
- rebuild:
+ Do not export $target variable in default rebuild script. - mkaptbox:
+ When creating internal apt.conf, place user apt config after
internal Dir::State and Dir::Cache, to let users override
these directories (legion@).
+ Cleanup apt wrappers (legion@). - Removed keywords used for CVS keyword substitution.
- functions (print_uris): Fixed package download implementation
to support mixed repos (see #8902).
- cache_chroot: Use find and cpio from host system
if native tools are not available. - initroot: Added --pkg-{init,build}-list=+ syntax (closes #9102).
- hsh-run: Added optional argument to --shell option (closes #9103).
- Enhanced manpages, based on idea and implementation
from George Kouryachy. - Parametrized default values for most of program options,
see manpages for details. - Parametrized rpmi: use $rpmi to override default rpmi.
- rebuild --query-repackage: allow undefined rpm macros
during repackage. - hsh-install: honor noinstall_pattern_list parameter like
in initroot stage. - Added example apt.conf file to documentation.
- initroot: Adopted "prepare /proc and /sys for potential mount"
code to work in --save-fakeroot mode. - hsh: New options: --eager-cleanup/--lazy-cleanup
(option names suggested by Alexey Rusakov).
Changed default operation mode to --eager-cleanup.
- rebuild: s/--reply=yes/-f/ (closes #8325).
- cache_chroot, hsh-install: Corrected check for
adjust_kernel_headers presense before execution. - Fixed hasher_dir initialization, to make execution of hasher
placed to custom directory work as designed. - functions (print_uris): Implemented package download using
APT::Get::PrintLocalFile option (closes #8121). - rebuild: Pass target to /.host/rebuild.
- initroot: new option: --pkg-noinstall-pattern-list.
- cache_chroot: fixed workaround for the dev package,
implemented new initroot's option support.
- Changed default target to $(uname -m).
- Made the package noarch again.
- Updated FSF postal address.
- hsh-run: new options: --pty, --shell.
- hsh-shell: obsoleted by "hsh-run --shell".
- Fixed --number option support which was broken as result of
previous cleanup.
- hsh-run(1): changed usage semantics.
- functions:
new functions: parse_xauth_entry, prepare_x11_forwarding. - hsh-run(1), hsh-shell(1):
added options to control X11 forwarding. - Fixed build with make-3.81beta3.
- Cleaned up options parser.
- cache_chroot (create_chroot):
Fixed grave chroot initialization bug introduced in 1.0.17.
- cache_chroot, cache_contents: save cache validation data
after cache regeneration. - mkchroot: create /dev symlinks.
- hsh(1), hsh-shell(1), cache_chroot, initroot, install,
rebuild, rmchroot: implemented --save-fakeroot option. - hsh-install(1), hsh-run(1): New programs.
- rebuild: pass sources as arguments to query-req-prog script.
- cache_chroot: caller user and/or group may exist,
do not fail when unable to create them. - Added query-req-prog and rebuild-prog examples.
- hsh(1): new option: --cleanup-only.
- hsh(1), rebuild: new option: --query-repackage.
- initroot: copy /etc/skel contents to the builder's homedir.
- cache_chroot: create group and passwd entries for caller
and pseudoroot users. - functions: new function: show_usage.
- Reduced size of usage messages to necessary minimum.
- Enforced policy on messages format.
- hsh-shell(1): new program.
- FAQ: updated.
- rebuild: really handle --mountpoints as comma-separated list
[take 3]. - functions,hsh,mkaptbox,rebuild:
+ new option: --repo (Ivan Fedorov, closes #6739). - hsh,initroot:
+ new option: --no-repackage-source;
+ repackage source by default.
- Fixed handling of options with file or dir arguments.
- rebuild: really handle --mountpoints as comma-separated list.
- Documented --without-stuff instead of --no-stuff as preferred
way to build without internal package repository.
- mkaptbox: fixed regression introduced by previous change.
- hsh: handle traps in more portable way.
- rmchroot: chgrp chroot directory itself, too.
- functions/{get_apt_config,read_apt_config}: new functions.
- mkaptbox: use them.
- functions: removed no longer needed "am I root?" sanity check
(fixes #5869). - hsh(1), rebuild: implemented --query-req-prog option.
- Changed hasher-priv helper directory to /usr/libexec/hasher-priv,
updated package dependencies. - install: export RPM_EXCLUDEDOCS=1 if $exclude_docs is set.
- functions: source user config from ~/.hasher/config if any.
- hsh,initroot,install,rebuild: added --excludedocs option.
- Unhardcoded work limits (fixes #5804).
- Updated documentation:
+ hasher(7): applied fixes from Egor Grebnev;
+ hsh(1), mkaptbox(1): added NAME section.
+ hsh(1): document ~/.hasher/config and ~/.hasher/install/post.
- hsh: enhanced early diagnostics for invalid source files.
- cache_contents: fixed find warning.
- mkaptbox: create wrapper for genbasedir.
- rebuild: enhanced --mountpoints implementation.
- rmchroot: fixed bug introduced in previous release.
- rmchroot:
+ increased time limits;
+ when verbose mode is set, be more verbose. - Updated package dependencies.
- initroot,install,mkchroot,rebuild,rmchroot:
+ implemented --version parameter. - rebuild:
+ calculate required mountpoints from installed file dependencies. - Updated FAQ.
- rebuild: run rebuild script as login shell.
- Added multilib support.
- Added libdir, deftarget variables to makefile
- initroot:
+ removed --no-build option, use --pkg-build-list= instead. - hsh, initroot:
+ handle comma as package name delimiter in values of the
--pkg-init-list and --pkg-build-list options. - hsh:
+ new option: --initroot-only. - archive_chroot_cache:
+ optimized find/cpio.
- Added hasher(7) manpage.
- Added more docs to hsh(1) manpage.
- Updated FAQ.
- Implemented mount/umount support.
- rebuild:
+ execute sisyphus_check for source package
before analysis of its build dependencies;
+ execute all sisyphus_check calls inside chroot;
+ execute query for packager inside chroot. - initroot: added sisyphus_check>=0:0.7.3 to build list.
- README: described this change.
- cache_chroot,initroot,rebuild,rmchroot:
+ Added wlimit hints for each chrootuid call.
- cache_chroot: recognize dev_* as dev-*, too.
- functions/print_uris, rebuild, hsh:
+ separate user-defined arguments from command options.
- cache_contents, initroot: fix potential breakage
introduced in previous release.
- all:
+ fixed "echo" usage;
+ fixed error handling in "while read" constructions. - initroot:
+ added support for exotic package filenames.
- mkaptbox: include custom apt.conf (if any) to header
of the generated apt.conf file. - Minor changes:
+ mkchroot: create chroot/.out with mode 1770 and group gid2.
+ rmchroot: chmod chroot/.out, too.
+ copy_chroot_incoming(): call purge_chroot_in() before copying.
+ do not call purge_chroot_in() before copy_chroot_incoming().
- hsh,rebuild: implemented --rebuild-prog option.
- hsh,install: implemented --pkg-init-list/--pkg-build-list options.
- Added: FAQ, QUICKSTART.
- mkaptbox:
+ added --no-uptdate option;
+ enabled --update mode by default;
+ implemented creation of the apt wrappers in aptbox;
+ added mkaptbox(1) manpage;
+ added /usr/bin/mkaptbox symlink. - Optimized getopt handling code.
- Updated README.
- functions: fixed bug introduced by apt_prefix support.
- create_contents: optimize --no-contents-indices case.
- initroot,cache_chroot: implemented --no-build option.
- functions/print_uris: enhanced error diagnostics.
- functions,mkaptbox,hsh: implemented apt_prefix support.
- functions,initroot,install,rebuild:
define and export TMPDIR="$HOME/tmp" inside build chroot,
to ease tracking of illegal /tmp use issues. - Added hsh(1) manpage.
- mkchroot:
+ install postin program ($HOME/.hasher/install/post
if available) into /.host/; - install: execute /.host/postin if available.
- Make use of new rpm-build-4.0.4-alt28 features:
+ initroot: define %_rpmbuild_clean to 0 in .rpmmacros.
+ initroot,hsh: new option: --repackage-source.
- Extended sisyphus_check support.
- Updated README.
- initroot: changed default packager to hasher@localhost.
- rebuild: pass packager through .rpmmacros.
- Include files inside /etc/ in content index.
- Fixed Usage() in all scripts.
- Added sisyphus_check support and enabled it by default.
- initroot: install all locales by default.
- Updated README.
- install: call ldconfig after install.
- initroot: be more verbose about filelist generation errors.
- Added -q/--quiet option.
- install,cache_chroot: be more verbose by default.
- initroot: manifest hasher via defining __BTE macro
to "hasher" (#3008). - Spelling fixes (s/indeces/indices/g).
- Implemented initial chroot caching.
- Implemented contents indices caching.
- Implemented support of several contents indices.
Content indeces are enabled by default, use
--no-contents-indices option to disable this feature.
- Enhanced --no-stuff support.
- Fixed --number support.
- hsh:
+ implemented locking. - mkaptbox:
+ implemented more rigorous apt-config error checking. - initroot:
+ create /dev/log socket.
- functions:
+ relaxed umask: 077 -> 022. - initroot:
+ fixed nprocs initialization (#0002861, imz).
- rmchroot:
+ install .host programs if required;
+ use "find -delete" instead of "rm -rf". - mkaptbox:
+ added --target option (#0002817);
+ added --apt-config option. - hsh:
+ pass --target and --apt-config to mkaptbox.
- Added "adjust_kernel_headers --first" support.
- rmchroot:
+ explicitly remove /var/lib/texmf/ as well. - Updated README.
- functions: unset CDPATH.
- rmchroot:
+ explicitly remove /var/tmp/ and /usr/src/ as well as /*/. - Updated README.
- Added apt "copy" source method support.
- Enhanced error diagnostics.
- Initial revision.