547 Commits

Author SHA1 Message Date
Alexey Tourbin
3cc4ba3448 4.0.4-alt100.21
- build/files.c: Fixed RPMTAG_SIZE for src.rpm packages (broken in alt100.16).
2011-02-09 14:17:15 +03:00
Alexey Tourbin
5fe2c17ec3 4.0.4-alt100.20
- find-requires, shell.req: improved support for 'buildreq -bi'.
2011-02-09 07:20:36 +03:00
Alexey Tourbin
d549b5b04d 4.0.4-alt100.19
- build/interdep.c: Diagnose mssing Epoch in subpackage dependencies.
- build/interdep.c: Diagnose non-strict dependencies between subpackages.
2011-02-08 09:07:10 +03:00
Alexey Tourbin
622fd8f698 4.0.4-alt100.18
- lib.req: Indirect functions need dependency on rtld(GNU_IFUNC).
- build/interdep.c: Prune already required deps between dependent subpackages.
2011-02-07 07:45:18 +03:00
Alexey Tourbin
d2457ebf7b 4.0.4-alt100.17
- build/files.c: Missing error check resulted in "Bad CSA data" error.
- build/checkFiles.c: Disabled intersection check for /usr/src/debug.
2011-02-06 01:02:06 +03:00
Alexey Tourbin
a421d99177 4.0.4-alt100.16
- find-debuginfo-files: Create /usr/lib/debug/.build-id links.
- build/pack.c: Added support for %_debuginfo_payload macro.
- brp-debuginfo, platfrom.in: Impelemnted %brp_strip_{debug,none} macros.
- debuginfo.{req,prov}: Implemented soname-based debug dependencies.
- build/interdep.c: Prune extra deps between dependent subpackages.
- build/files.c: Calculate RPMTAG_SIZE after build/interdep.c optimizations.
2011-02-05 07:28:59 +03:00
Alexey Tourbin
83147e6c03 implemented debuginfo.req and debuginfo.prov 2011-02-04 02:55:25 +03:00
Alexey Tourbin
3132ca2851 4.0.4-alt100.15
- build/files.c (runPkgScript): New helper function for autodep-like scripts.
- build/files.c (makeDebugInfo): Implemented automatic *-debuginfo packages.
- find-debuginfo-files: Initial revision, makes *-debuginfo %files list.
- GROUPS: added Development/Debug.
- build/interdep.c: Initial revision, inter-package analysis and optimizations.
- build/interdep.c: Prune /usr/src/debug dups among dependent subpackages.
2011-01-31 07:34:46 +03:00
Alexey Tourbin
88e69e89fd find-debuginfo-files: initial revision 2011-01-31 03:24:01 +03:00
Alexey Tourbin
0f284964f3 4.0.4-alt100.14
- debugedit.c: Imported from rpm.org.
- brp-debuginfo: Initial revision, replaces brp-strip.
- verify-elf: Do not descend into /usr/lib/debug.
- build/checkFiles.c: Skip /usr/lib/debug and /usr/src/debug for now.
- platform.in: Always use -g in %optflags.
2011-01-30 04:20:31 +03:00
Alexey Tourbin
d8fb5d17cb spec, tools/Makefile.am: enabled /usr/lib/rpm/debugedit 2011-01-30 03:06:17 +03:00
Alexey Tourbin
351e5f71be 4.0.4-alt100.13
- Removed --fileid query selector and Filemd5s rpmdb index (rpm.org).
- Removed ancient dependency loop whiteout mechanism (rpm.org).
- rpmdb.c: Do not exclude Requires(pre) dependencies from rpmdb index.
- Implemented %__find_{requires,provides}_filter macros (lower-level) and
  %filter_from_{requires,provides} (higher-level, compatible with Fedora).
2011-01-23 02:31:53 +03:00
Alexey Tourbin
ed41c1738f 4.0.4-alt100.12
- build/checkFiles.c: Fixed %exclude vs unpackaged regression.
- header.c: Optimized header loading and access routines.
2011-01-21 21:13:40 +03:00
Alexey Tourbin
e80861fd52 4.0.4-alt100.11
- build/files.c (addFile): Replaced myftw() with fts(3).
- build/checkFiles.c: Reimplemented check for unpackaged files using fts(3).
- python: Backported forceArray changes from rpm5.org (Alexander Myltsev).
2011-01-16 10:26:25 +03:00
Alexey Tourbin
d3c57d3ee4 build/checkFiles.c: reimplemented checkFiles() using fts(3) 2011-01-15 11:48:33 +03:00
Alexey Tourbin
1db852bde4 4.0.4-alt100.10
- platform.in: fixed %configure options for noarch packages.
2011-01-11 17:01:07 +03:00
Alexey Tourbin
342aef732d 4.0.4-alt100.9
- set.c: Tweak LRU first-time insertion policy.
2011-01-07 07:00:15 +03:00
Alexey Tourbin
cc5cafb9d7 4.0.4-alt100.8
- macro.c: Replaced repeated bsearch+qsort calls with custom
  bsearch+memmove-like routine; rpm startup time is now 10x faster.
2011-01-06 06:04:23 +03:00
Alexey Tourbin
96d67572ce 4.0.4-alt100.7
- set.c: Reverted Kirill's changes.
- set.c: Applied aggressive optimization techniques (30% speed-up).
2011-01-04 11:14:18 +03:00
Alexey Tourbin
0f99bd9e13 spec: compile set.c with -fprofile-* options
callgrind results for "apt-cache unmet", 4.0.4-alt100.6:
2,215,614,910  PROGRAM TOTALS
1,126,021,045  ???:decode_set
  486,259,420  ???:rpmsetcmp
  147,177,041  ???:strcmp
   79,769,617  ???:strlen
   61,764,819  ???:0x0000000000033080'2
   54,573,169  ???:memcpy
   31,477,402  ???:strcpy
   24,471,167  ???:pkgCache::DepIterator::AllTargets()

callgrind results for "apt-cache unmet", this commit (built in hasher):
1,502,995,357  PROGRAM TOTALS
625,132,308  ???:decode_base62_golomb
374,940,745  ???:rpmsetcmp
 91,031,162  ???:strcmp
 69,615,481  ???:strlen
 61,764,819  ???:0x0000000000033080'2
 30,928,154  ???:memcpy
 26,108,178  ???:strcpy
 24,471,167  ???:pkgCache::DepIterator::AllTargets()

Average user time for "apt-shell <<<unmet", 4.0.4-alt100.6:
2.55s

Average user time for "apt-shell <<<unmet", this commit (built in hasher):
1.72s
2011-01-04 10:51:34 +03:00
676a19a7af 4.0.4-alt100.6
- rpmRangesOverlap: Optimized out unneeded calls to printDepend().
- set.c: Cleaned up and optimized (Kirill Shutemov).
2010-12-07 17:43:44 +00:00
Alexey Tourbin
b7503c5d27 4.0.4-alt100.5
- set.c: Implemented LRU caching (2x speed-up, 1M footprint).
2010-12-04 13:34:18 +03:00
b1e16e7d9b 4.0.4-alt100.4
- Compiled set.c with -O3.
2010-11-23 22:00:39 +00:00
6104dfe0c2 Compile set.c with -O3
Proposed by Alexey Tourbin.
2010-11-23 15:59:15 +00:00
7872a77c89 4.0.4-alt100.3
- Rebuilt with liblzma.so.5.
2010-11-17 22:05:17 +00:00
f8528f791c 4.0.4-alt100.2
- pkgconfig.req: pass --print-requires-private to pkg-config.
- find-lang: support manpage paths with more than one symbol after dot
  (closes: #24466).
2010-11-01 22:37:38 +00:00
2fc9a40da8 pkgconfig.req: pass --print-requires-private to pkg-config 2010-11-01 20:53:06 +00:00
f501d403f0 4.0.4-alt100.1
- Changed release numeration:
  alt99.M51 series is for branch 5.1, alt100 is for Sisyphus (Alexey Tourbin).
- rpmrc: Updated for ARM (Mihail Yakushin).
2010-10-20 09:39:05 +00:00
Alexey Tourbin
707fd783cc 4.0.4-alt98.49
- lib.req: Implemented set-versions for soname dependencies.
- build/parseReqs.c: Enabled dependencies on rpmlib(SetVersions).
2010-10-04 03:54:21 +04:00
271952beb7 4.0.4-alt98.48
- 0common-files.req.list: Added /etc/sysctl.d, /lib/udev/rules.d,
  /lib64/udev and /lib64/udev/rules.d entries.
2010-09-24 11:16:50 +00:00
Alexey Tourbin
fc1578bf5b 4.0.4-alt98.47
- set.c (rpmsetcmp): Fixed check for set2 decoding error.
- brp-cleanup: Updated for /usr/lib64/perl5 and /usr/share/perl5.
2010-09-20 21:47:22 +04:00
Alexey Tourbin
6dc4825087 4.0.4-alt98.46
- set.c: Implemented base62, golomb, and set-string routines.
- depends.c (rpmRangesOverlap): Added support for set-versions.
- rpmlibprov.c: Added rpmlib(SetVersions) feature.
- %_rpmlibdir/mkset: Command-line helper for making set-versions.
- lib.prov: Implemented soname set-versioning with exported symbols.
2010-09-11 02:48:56 +04:00
Alexey Tourbin
e70027f478 lib.prov: implemented soname set-versioning with exported symbols 2010-09-11 02:32:12 +04:00
Alexey Tourbin
5e8118e213 tools/mkset.c, tools/setcmp.c: command-line helpers 2010-09-11 02:09:55 +04:00
2e0c9f4f43 4.0.4-alt98.45
- Added SELinux support (by Mikhail Efremov and me).
2010-08-25 16:03:28 +00:00
Mikhail Efremov
e35b78cf6f Update specfile for SELinux support 2010-08-24 16:59:19 +00:00
Alexey Tourbin
df21cab192 4.0.4-alt98.44
- depends.c: Permit self-conflicting packages.
- verify.c: Updated verifyDependencies() for self-conflicting packages.
2010-08-22 03:26:42 +04:00
Alexey Tourbin
1fde6a24b4 4.0.4-alt98.43
- depends.c: A better solution to dbProvCache dangling pointers without
  resorting to strdup (ALT#23811).
2010-08-18 15:12:31 +04:00
Alexey Tourbin
9a2de051e3 4.0.4-alt98.42
- Added .gitignore file, improved support for in-tree building.
- Removed %__ccache* macros (rpm will use default ccache settings).
2010-08-17 19:22:39 +04:00
Alexey Tourbin
202244526d added .gitignore, improved support for in-tree building
Here is how to run configure within the source tree:
$ rpm -bE --enable debug *.spec |sed -n '/^%build$/,/^%install$/{/^%build$/d;/^%install$/d;p}' |sh -ex

There's still problem: po/Makefile.in is getting added to
configure.ac:AC_OUTPUT, and when running autoreconf for the second time,
it will die as follows.

    autoreconf-default: running: aclocal -I m4 --force -I m4
    configure.in:896: error: `po/Makefile.in' is already registered with AC_CONFIG_FILES.
    ../../lib/autoconf/status.m4:290: AC_CONFIG_FILES is expanded from...
    configure.in:896: the top level
    autom4te-2.60: /usr/bin/m4 failed with exit status: 1
2010-08-17 19:20:40 +04:00
c6b62ae933 4.0.4-alt98.41
- Migrated to beecrypt-4.2.1 (by Kirill A. Shutemov).
2010-08-12 21:01:34 +00:00
Kirill A. Shutemov
0ed9eed845 Migrate to new libbeecrypt
Let's try to use recent libbeectypt in our World Best RPM.

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2010-08-12 20:41:06 +00:00
Alexey Tourbin
74183e0ce3 4.0.4-alt98.40
- build/files.c (parseForSimple): Fix potential NULL pointer dereference
  (Dmitry V. Levin, ALT#23813).
- depends.c (dbSatisfiesDepend): Use strdup for dbProvCache keys
  to avoid dangling pointers (ALT#23811).
2010-08-05 19:17:58 +04:00
Alexey Tourbin
0e7d2dcb99 4.0.4-alt98.39
- depends.c: Introduced ts->erasedPackages list of headers.
- depends.c: Replaced dbi-based dependes cache with rpmhash-based
  providename cache (based on rpm.org changes by Panu Matilainen).
2010-07-12 11:41:51 +04:00
7b541b7cf0 4.0.4-alt98.38
- shebang.req (ShebangReq): fixed the check for absolute pathname
  introduced in previous release (closes: #23716).
2010-07-03 00:24:42 +00:00
76cd0e9f4d 4.0.4-alt98.37
- shebang.req (ShebangReq): Ensure that interpreter is specified
  as an absolute pathname (closes: #20096).
- platform.in: Enabled %check in buildreq mode (closes: #23030).
- pkgconfig.req (PkgconfigReqProv): Relaxed version check.
2010-07-01 16:21:02 +00:00
Alexey Tourbin
e90c978e68 4.0.4-alt98.36
- rpmdb.c: Make rpmdb index list hard-wired, remove unused require-
  and provideversion indexes (Panu Matilainen).
2010-04-21 12:04:08 +04:00
09aefe4229 4.0.4-alt98.35
- brp-verify_elf: Disabled lint check on ARM.
2010-04-14 14:40:56 +00:00
Alexey Tourbin
f5a5902d0c 4.0.4-alt98.34
- find-package: Introduced FINDPACKAGE-COMMANDS output.
2010-04-08 11:27:02 +04:00
Alexey Tourbin
f477104d48 4.0.4-alt98.33
- brp-strip: Speed up by optimizing file(1) invocations.
2010-03-27 01:55:29 +03:00