Commit Graph

2253 Commits

Author SHA1 Message Date
279f487ca4 scripts/functions: export LC_ALL=C
A lot of code relies on C collation, C messages and so on.
Do not pretend it is expected to work with a non-C locale.
2013-01-10 22:38:52 +00:00
1fe269bb6c scripts: cleanup readelf(1) invocations
Prefer long options to short options.
Constistently use --wide option.
2013-01-10 22:04:19 +00:00
cbaa813035 4.0.4-alt100.59
- set.c: fixed sentinel allocation (by Alexey Tourbin).
2012-12-24 14:09:56 +00:00
Alexey Tourbin
f25f962fe6 set.c: fixed sentinel allocation 2012-12-24 16:24:15 +04:00
1c20dacd0f 4.0.4-alt100.58
- rpmrc.in: changed to use -mtune=generic for all x86 flavours.
- pkgconfig.req.files: changed to ignore file type and treat
  all non-symlinks the same way.
- Added %getenv builtin macro.
- Added %_tmpdir builtin macro,
  changed default %_tmppath value to %_tmpdir (closes: #25117).
2012-12-23 23:10:25 +00:00
a538345515 Change default %_tmppath value to %_tmpdir 2012-12-22 17:07:17 +00:00
120ce7358f Add %_tmpdir builtin macro 2012-12-22 16:52:35 +00:00
0f27ba59eb Add %getenv builtin macro 2012-12-22 16:20:47 +00:00
7ac394b01f rpmrc.in: use -mtune=generic for other x86 flavours 2012-12-22 15:02:31 +00:00
b6b5de93b3 Revert "rpmrc.in: Use -mtune=i686 instead of -mtune=generic for i[3456]86"
This reverts commit 94a5f49889, which is
almost 6 year old, and the rationale for it is no longer relevant.
2012-12-22 14:57:30 +00:00
5a8fdc10de pkgconfig.req.files: ignore file type, treat all non-symlinks the same way
Stop relying on file(1) output for obvious reasons (see e.g. ALT#28261),
assume that all non-symlinks in pkgconfig directories are valid input.
2012-12-22 14:41:22 +00:00
bd8eb51d08 4.0.4-alt100.57
- Build selinux support in dynamically linked objects only.
- %configure: export -m* part of %optflags as ASFLAGS (for assembler)
  along with other *FLAGS exported for compilers.
2012-10-28 23:48:23 +00:00
0f3f8af1f6 Run the same setcmp test in --without-profile mode as well 2012-10-28 23:48:20 +00:00
1949b7d5df platform.in (%configure): Export -m* part of %optflags as ASFLAGS
Some of %optflags options, -m* in particular, have to be passed to
assembler so that the output it produces would be consistent with the
output made by compilers.
2012-10-28 23:48:09 +00:00
8aa38ccc49 Build selinux support in dynamically linked objects only 2012-10-09 00:21:33 +00:00
8666efb7ff 4.0.4-alt100.56
- Removed obsolete getdate.y.
2012-08-31 20:25:22 +00:00
427a26e82a Remove getdate.y
Removal of rollback support by 4.0.4-alt100.35-1-g9e15c26 made
getdate obsolete.
2012-08-31 20:11:21 +00:00
6838569328 4.0.4-alt100.55
- %patch: added -F<N> support (by Igor Vlasenko; closes: #27662).
- 0ldconfig.filetrigger: execute "telinit u" if appropriate
  (see: #27666).
2012-08-30 23:08:53 +00:00
7d84f7da5a 0ldconfig.filetrigger: execute telinit if appropriate 2012-08-30 23:05:00 +00:00
Igor Vlasenko
8468c6fb06 build/parsePrep.c: add %patch -F<N> support (ALT#27662)
In modern rpms both %patch -F <N> and %patch -F<N> are valid option
calls whereas old -F implementation supported -F <N> syntax only.
This patch adds support for %patch -F<N> syntax.
2012-08-24 08:30:44 +00:00
f83f47f6f1 4.0.4-alt100.54
- Added armh arch support (by Sergey Bolshakov; closes: #26253).
- GROUPS: added Graphical desktop/MATE (by Igor Vlasenko; closes: #27626).
- %patch: added -F/-d options and appropriate macros for better
  spec file compatibility (by Igor Vlasenko; closes: #27627).
- %configure: update config.sub and config.guess right before configure.
- debugedit: backported DWARF-4 support from rpm.org.
2012-08-17 16:41:30 +00:00
Sergey Bolshakov
56d12e6708 platform.in: add hook to update config.sub and config.guess right before configure 2012-08-17 16:37:18 +00:00
Panu Matilainen
ca9831743b Teach debugedit about .debug_macro dwarf section (RhBug:759272) 2012-08-17 16:36:15 +00:00
Jakub Jelinek
0bed5fc55d Add DWARF-4 support to debugedit (RhBug:707677)
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2012-08-17 16:34:56 +00:00
Panu Matilainen
be7b36d39b Warn but dont fail the build on STABS debuginfo (RhBug:725378, others)
- debugedit doesn't support STABS but there are some crazy cases
  like PPC Linux kernel which contains both STABS and DWARF debuginfo
  sections, manually added. A better fix would be erroring out
  if we didn't find any usable debuginfo and warning otherwise but
  this at least folks get their kernels built.
2012-08-17 16:32:02 +00:00
Panu Matilainen
a2b0166bb3 Bail out of debuginfo if stabs format encountered (RhBug:453506)
The previous "silently ignore" policy produces bogus debuginfo packages
on some architectures and fails with other mysterious errors on others,
better just fail hard until (if ever) somebody adds stabs support.
2012-08-17 16:31:18 +00:00
06e9e6e9cc Add gnu-config to rpm-build requirements 2012-08-17 01:43:55 +00:00
c4a3fcd4ca Cleanup previous commit 2012-08-16 23:16:57 +00:00
Igor Vlasenko
f1e0f83d55 build/parsePrep.c: %patch -F, -d options and macros (ALT#27627)
Backport from rpm 4.10:
%patch -F <fuzz>
%patch -d <destdir>
support for macros:
%{_default_patch_fuzz}  Default fuzz level for %patch in spec file.
%{_default_patch_flags} Default patch flags
2012-08-16 22:57:17 +00:00
Igor Vlasenko
3ad21f4eb2 GROUPS: add Graphical desktop/MATE (ALT#27626) 2012-08-16 22:56:05 +00:00
Sergey Bolshakov
d289faa950 rpmrc.in, macros.in, installplatform: introduce armh arch 2012-08-14 13:20:54 +04:00
dd6ab30865 4.0.4-alt100.53
- brp-fix-perms: fixed "find -perm" syntax.
2012-08-08 13:16:07 +00:00
d78a04e393 brp-fix-perms: fix "find -perm" syntax 2012-08-08 13:15:41 +00:00
Panu Matilainen
31d64932f7 "prereq" is not a valid qualifier to regular Requires
(cherry picked from commit cce0fb4387089db4b860a042bf0a163fd3ea7b6f)
2012-08-07 05:24:57 +00:00
6ce84ceff3 4.0.4-alt100.52
- 0common-files.req.list: added /etc/sudoers.d directory.
2012-07-12 10:03:37 +00:00
8d16b4186d 0common-files.req.list: add /etc/sudoers.d 2012-07-12 10:02:33 +00:00
4af3824e1b 4.0.4-alt100.51
- find-lang: added --all-name option (by Igor Vlasenko; closes: #27284).
2012-05-24 17:50:40 +00:00
Igor Vlasenko
da9e0cf514 scripts/find-lang.in: add --all-name option (ALT#27284)
Add PLD/Fedora compatible --all-name option (by mkochano,pascalek@PLD).
2012-05-24 13:44:54 +00:00
cacba087ef 4.0.4-alt100.50
- Fixed build with ld --no-copy-dt-needed-entries.
2012-05-21 01:33:43 +00:00
787f805585 Fix build with ld --no-copy-dt-needed-entries 2012-05-21 00:41:34 +00:00
8c1ee3ba41 4.0.4-alt100.49
- platform.in: Added %_unitdir macro.
- Fixed build with new automake.
2012-05-10 21:31:58 +00:00
e7cd0f8ed2 platform.in: add %_unitdir 2012-05-10 11:37:08 +00:00
8d06e06fbc Makefile.am: fix build with new automake 2012-04-13 17:09:14 +00:00
f9b82ab936 python/Makefile.am: fix typo 2012-04-13 16:54:02 +00:00
552f5329c9 4.0.4-alt100.48
- parseSpec:
  + fixed long lines processing;
  + made size of line buffer configurable via %_spec_line_buffer_size.
2012-03-19 16:19:55 +00:00
12538e4010 parseSpec: use getline() to fix long line processing
* build/rpmspec.h (OpenFileInfo): Change readBuf to a pointer,
add readBufSize.
(freeOpenFileInfo): New prototype.
* build/spec.c (freeSpec): Initialize readBuf and readBufSize.
(freeOpenFileInfo): New function.
* build/parseSpec.c (readLine): Use getline and freeOpenFileInfo.
(closeSpec): Use freeOpenFileInfo.
2012-03-19 19:02:25 +00:00
e870902a7b build: make size of line buffer for .spec parsing configurable via %_spec_line_buffer_size
Based on http://rpm5.org/cvs/chngview?cn=9215

In the meantime, decrease this default line buffer size from 80K to 64K.
2012-03-19 01:29:03 +00:00
a470a11bac parseSpec: enhance line buffer overflow diagnostics 2012-03-19 18:18:03 +00:00
060fd2e340 parseSpec: implement line buffer overflow protection
* build/parseSpec.c (copyNextLine): Protect spec->lbuf line buffer
from overflow.
2012-03-19 01:13:13 +00:00
Alexey Tourbin
b20a5248ea 4.0.4-alt100.47
- set.c: Reimplemented base62+golomb decoder using Knuth's coroutines.
- set.c: Increased cache size from 160 to 256 slots, 75% hit ratio.
- set.c: Implemented 4-byte and 8-byte steppers for rpmsetcmp main loop.
2012-03-15 07:34:01 +04:00