Commit Graph

88 Commits

Author SHA1 Message Date
Alexey Tourbin
cfd2cddf4a 0.5.15lorg2-alt32
- acquire-item.cc: added support for xz-compressed pkglists
2010-05-27 00:21:42 +04:00
Alexey Tourbin
3d0bd9350a acquire-item.cc: added support for xz-compressed pkglists 2010-05-27 00:12:32 +04:00
Alexey I. Froloff
62198fabdc 0.5.15lorg2-alt31.1
- NMU:
  + RecordParser::Changelog(), SrcRecordParser::Changelog(): access to
    raw changelog data
2009-12-21 15:19:11 +03:00
Alexey Tourbin
01ac47bcaf 0.5.15lorg2-alt31
- rpmversion.cc (CheckDep): optimize out rpmRangesOverlap() call
- pkgcache.cc (AllTargets): optimize out CheckDep() calls
- luaiface.cc: added "savestate" and "restorestate"
2009-12-17 00:47:59 +03:00
Alexey Tourbin
262da2edf5 0.5.15lorg2-alt30
- added support for changelogs in "apt-cache show"
2009-11-20 07:09:56 +03:00
Alexey Tourbin
df0f099e6a 0.5.15lorg2-alt29
- apt-utils no longer packaged, replaced with apt-repo-tools
2009-09-27 16:51:25 +04:00
Alexey Tourbin
ff9b1fea10 spec: disabled apt-utils (replaced with apt-repo-tools) 2009-09-27 16:51:12 +04:00
Alexey Tourbin
ff8d494599 0.5.15lorg2-alt28
- apt-cache.cc: fixed "whatdepends" for versioned virtual dependencies
2009-08-03 16:04:26 +04:00
Alexey Tourbin
bdb4cdf341 0.5.15lorg2-alt27
- depcache.cc: fixed for gcc-4.4
- buildlib/tools.m4: hackaround glibc soname change
- apt-cache.cc: added APT::Cache::DumpPackages option
2009-07-13 03:28:27 +04:00
Alexey Tourbin
94f9c0dd62 0.5.15lorg2-alt26
- rpmpm.cc: try hard to fix package removal
2009-03-31 03:44:49 +04:00
Alexey Tourbin
9e09c9f733 0.5.15lorg2-alt25
- rpmpm.cc: fixed removal of i586-*.32bit packages (Panu Matilainen)
2009-03-26 13:53:16 +03:00
Alexey Tourbin
a583517439 0.5.15lorg2-alt24
- depcache.cc (MarkInstall): mark unambiguous dependencies first
2009-03-24 10:21:39 +03:00
Alexey Tourbin
b609c9f7e6 apt-%version-%release.patch 2009-03-23 08:52:06 +03:00
Stanislav Ievlev
a04c3dc823 0.5.15lorg2-alt23
- open rpm database with O_CREAT flag
2009-01-19 17:38:14 +03:00
Slava Semushin
e7409ecffb 0.5.15lorg2-alt22.2
- apt-shell: print newline symbol during quit by Ctrl+D
  (Based on feedback for bug #18343 from Ivan A. Melnikov aka iv@)
2009-01-10 00:00:08 +06:00
Slava Semushin
644f9d78d8 0.5.15lorg2-alt22.1
- apt-shell: show up "list" command by completion (#5953)
- apt-shell: quit from shell by Ctrl+D (#6264, #18343)
- apt-shell: describe -G and -g options in "help list" output (#18256)
2009-01-02 00:50:47 +06:00
52275b373d Rename apt-shell patches according to the policy 2008-12-30 20:45:12 +00:00
Slava Semushin
7956d444db apt-shell: quit from shell by Ctrl+D (#18343) 2008-12-31 02:11:46 +06:00
Slava Semushin
1c7245aad0 apt-shell: show up "list" command by completion (#5953)
And also added it to help output.
2008-12-31 02:02:29 +06:00
ecfa3c0fb8 0.5.15lorg2-alt22
- Fixed build with g++-4.3.x (Stanislav Ievlev).
2008-12-12 15:31:20 +00:00
Stanislav Ievlev
d20fc76a4d - fix build with gcc-4.3 2008-12-12 16:43:56 +03:00
dcb817f3ff Merge branch 'master' of git.alt:/people/avm/packages/apt 2008-11-27 22:42:25 +00:00
Alex V. Myltsev
d6ac8fcdfa 0.5.15lorg2-alt21
- fix by led@: change type of Package.ID to int (fixes #16900)
- fixes by raorn@:
 - apt-get.cc: protect VerTag (fixes #16311)
 - apt-get.cc: fix memory corruption (fixes #14929)
 - fileutl.cc: change semantics of flExtension() (fixes #15909)
2008-09-01 22:41:45 +04:00
06b3e692bd apt.spec: s/repositaries/repositories/ (ALT#14775) 2008-05-11 22:49:08 +00:00
Alexey Tourbin
92b2ba1c36 0.5.15lorg2-alt20
- genpkglist.cc: RPMTAG_FILEFLAGS should not be copied into header list
- lorg-cache-limit.patch: increase cache size limit
- removed old triggers, updated dependencies
2008-05-11 19:12:59 +04:00
Alexey Tourbin
b3abb08b99 spec (apt-utils): removed comment 2008-05-11 19:11:26 +04:00
Alexey Tourbin
1351d4a75c spec: removed URL part in Source0 2008-05-11 19:10:49 +04:00
Alexey Tourbin
ecbb921870 spec: removed *apt-0.5* obsoletes 2008-05-11 19:09:13 +04:00
Alexey Tourbin
f8e8cd00c6 spec: dropped very old triggers (Master 2.4 has apt-0.5.15cnc6-alt6) 2008-05-11 19:07:20 +04:00
Alexey Tourbin
d5ff215628 lorg-cache-limit.patch: increase cache size limit 2008-05-11 18:58:35 +04:00
Alexey Tourbin
ab496886f6 genpkglist.cc: RPMTAG_FILEFLAGS should not be copied into header list
(Or, at least, RPMTAG_FILEFLAGS should be copiled consistently with
RPMTAG_BASENAMES, RPMTAG_DIRNAMES, and RPMTAG_DIRINDEXES.)
2008-05-11 17:40:09 +04:00
Alexey Tourbin
6ba7ec5518 0.5.15lorg2-alt19
- lorg-pkgcachegen-selfprov.patch: allow self-referencing provides,
  so that e.g. ocaml-runtime#3.10.2-alt2 can provide ocaml-runtime = 3.10
2008-03-30 06:08:07 +04:00
Alexey Tourbin
c8750effef spec: buildreq (bzlib-devel and zlib-devel were missing) 2008-03-30 05:01:46 +04:00
Alexey Tourbin
818a9d5ff8 lorg-pkgcachegen-selfprov.patch: allow self-referencing provides
E.g. ocaml-runtime#3.10.2-alt1 can provide ocaml-runtime = 3.10.
2008-03-30 01:30:43 +03:00
Alex V. Myltsev
b8a9615897 0.5.15lorg2-alt18
- algorithms.cc: better package name comparison
  (now automake_1.10 > automake_1.9)
2007-12-17 17:58:41 +03:00
Alex V. Myltsev
94df084ec5 Better pkgname comparison: now automake_1.10 > automake_1.9.
Before this patch, strcmp(3) would be used to select
the best package. This was sometimes counter-intuitive
(for example, APT would choose autoconf_2.5 over
autoconf_2.13).

[NB: fixing this can break some packages that rely
on the historic sort order; e.g. postgresql74
may be preferred to postgresql8.2.]

We considered using rpmvercmp() for package name
comparison, but chose to write a specially-crafted
function that's mostly compatible with strcmp(3),
except for numeric fragments in the names.

As a matter of fact, strtoull usage is suboptimal here.
It may overflow the returned long long, leading to an
incorrect comparison. Fixing the code to avoid strtoull
is, however, left as an exercise to the diligent
maintenance programmer (and you are insane anyway
if you need package names that trigger the overflow).
2007-12-17 17:58:41 +03:00
Alexey Tourbin
71740d9f91 0.5.15lorg2-alt17
- genpkglist.cc: rewrite copyStrippedFileList() to avoid inplace
  dirnames edit bug
2007-12-03 10:49:31 +03:00
Alexey Tourbin
42f65df4d9 0.5.15lorg2-alt16
- genpkglist: removed very bad piece of code which could break
  my fine-grained file list stripping algorithm
- genbasedir: made silent by default, added --verbose and --silent
  options (Alex V. Myltsev)
2007-11-23 14:43:15 +03:00
bed9545e2a 0.5.15lorg2-alt15
- apt-get: Fixed manifest file support (Stanislav Ievlev).
2007-10-30 12:02:46 +00:00
Alexey Tourbin
67ca1fb77f 0.5.15lorg2-alt14
- genpkglist: don't strip paths that are owned by 2 or more packages,
  to deal with cross-arch semi-unmets like /usr/share/wallpapers
- apt-get: added support of manifest file (Stanislav Ievlev)
2007-10-24 18:36:51 +04:00
Stanislav Ievlev
c8560f7ff1 - add support of manifest file 2007-10-22 16:29:28 +04:00
Alexey Tourbin
341bcecf1e 0.5.15lorg2-alt13
- Updated file list stripping algorithm in genpkglist (apt-utils);
  now it keeps files which can resolve file-level dependencies.
2007-08-11 23:36:16 +04:00
Alexey Tourbin
30e27b0f1c apt-0.5.15lorg2-alt-genpkglist-reqfiles.patch
genpkglist strips file lists by default (without --bloat option).
It keeps only some "useful files" by using a few ad hoc patterns.

This can break file-level dependencies.  Consider pkgA requires
/usr/lib/foo1/bar, and pkgB owns this file without explicitly
providing it.  Now if genpkglist strips /usr/lib/foo1/bar
from pkgB file list, this is going to be an unmet dependency.

This patch changes genpkglist behaviour, so that, when genpkglist
is invoked without --bloat option, it first finds all file-level
dependencies (something like "rpm -qaR |grep ^/").  This requires
a separate pass.  The list of file-level dependencies is saved into
"reqfiles" global variable.  And on the second (normal) pass, the
function usefulFile() is modified to check the "reqfiles" variable;
that is, it should keep a file in the file list if it's been required
by some package in the repo.

(Unfortunately, this patch does not solve all of the problems
I want it to solve; we have separate repos for i586 and noarch --
inter-repo file-level dependencies cannot be resolved this way.)
2007-08-11 20:01:05 +04:00
Alexey Tourbin
fe9628abf2 0.5.15lorg2-alt12
- Fixed apt-get exit status (#11527)
2007-08-01 00:29:36 +04:00
Alexey Tourbin
aaa4540dd6 spec: updated URL 2007-08-01 00:29:06 +04:00
Alexey Tourbin
1b13c64d1d git-mv apt-0.5.15lorg3-alt-exit-status.patch apt-0.5.15lorg3-alt-exit-status.patch 2007-08-01 00:28:32 +04:00
Slava Semushin
d4f21fc971 0.5.15lorg2-alt11.1
- Fixed typo in output of help command in apt-shell (#5400)
- Fixed wrong message during remove package(s) in apt-shell (#7618)
2007-08-01 00:59:13 +07:00
Slava Semushin
2485721f59 Fixed wrong message during remove package(s) in apt-shell (#7618) 2007-07-31 23:46:03 +07:00
Slava Semushin
e6ba1a5631 Fixed typo in output of help command in apt-shell (#5400) 2007-07-31 23:22:22 +07:00
Alexey Tourbin
50c8f0252e fixed apt-get exit status (#11527) 2007-04-19 01:24:13 +04:00