Commit graph

205 commits

Author SHA1 Message Date
Mikhail Novosyolov
3f663fb185 %%_rpm, %%rpm4 and %%rpm5 were in an incorrect file
Fixes: 655bdca877
2020-02-25 07:03:41 +03:00
Mikhail Novosyolov
15ecbd08f5 Fix missing line break in %%autopatch macro
e.g.

%prep
%setup -q
%autopatch -p1
sed -i -e 's,\[libcrypto,\[libressl-libcrypto,g' configure.ac

resulted to:

/usr/bin/patch -p1 -s --fuzz=0 -s -Used -i -e 's,\[libcrypto,\[libressl-libcrypto,g' configure.ac
2020-02-25 06:13:34 +03:00
Mikhail Novosyolov
655bdca877 Added macros to recognize RPM derivative: %%_rpm, %%rpm4, %%rpm5 2020-02-20 20:04:26 +03:00
Mikhail Novosyolov
be587a2aa7 Force libgcrypt update/install before librpm to prevent RPM DB corruption 2020-01-27 15:11:38 +03:00
Mikhail Novosyolov
979d26c34a - Workaround incorrect length count of MD5 digests in RPM4 RPMs
Fixes: https://bugzilla.rosalinux.ru/show_bug.cgi?id=10204
- Add %%getconfdir, %%_rpmconfigdir, fix %%_rpmmacrodir
2020-01-11 21:35:50 +03:00
Mikhail Novosyolov
0f35a7b672 Add %%install_macro which has been invented by us as a common macro installation method for both rpm5 and rpm4 2020-01-09 23:54:47 +03:00
Mikhail Novosyolov
f5d99a7367 Map RPM 4 alternatives of deps/provs filters to RPM 5 ones 2020-01-05 18:03:09 +03:00
Mikhail Novosyolov
982ed8ebe4 Forward compatibility with macros from rpm4 in rosa2019.1+ 2020-01-04 17:52:02 +03:00
Mikhail Novosyolov
9af278242d Map Recommends to Suggests for compatibility with RPM 4 specs in rosa2019.1, minor adjustment of GOST 2020-01-04 17:31:25 +03:00
Mikhail Novosyolov
ba933d047d Switch GOST R 34.11-94 hashsumming to CryptoPro-A S-Box
We found out that hashes calculated by GCRY_MD_GOSTR3411_94 were
different than the ones by other industry-common tools.

GCRY_MD_GOSTR3411_94 in libgcrypt uses another S-Box
than GCRY_MD_GOSTR3411_CP (which is the same GOST R 34.11-94 but with
CryptoPro-A S-Box).
GCRY_MD_GOSTR3411_CP is standartized in RFC4357 and the same S-Box is used by
gostsum, OpenSSL gost-engine and LibreSSL. Switch to GCRY_MD_GOSTR3411_CP.

See https://github.com/gost-engine/engine/issues/189
2019-12-03 01:29:34 +03:00
Mikhail Novosyolov
da3f192507 Added GOST R 3411-94 and 3411-12 hashing algos
Example of enabling Stribog-256 to calculate file hashes:
%_build_file_digest_algo 99
%_build_source_file_digest_algo 99

98 - GOST R 3411-94 (256 bit)
99 - GOST R 3411-12, Stribog-256
100 - GOST R 3411-12, Stribog-512

To verify hashes use:
rpm -qp --dump ./package.rpm

Known issue:
https://github.com/gost-engine/engine/issues/189
2019-11-28 16:32:14 +03:00
Mikhail Novosyolov
6be2ae3bc3 Revert beecrypt->openssl: --with-usecrypto=XXX DOES NOTHING in RPM5! Beecrypt is still used!
Revert "Switch to OpenSSL instead of beecrypt: experimental switch to test how it will work; OpenSSL will probably be needed to use GOST checksumming algorithms"
This reverts commit 065c29d87c.
2019-10-03 23:41:28 +03:00
Mikhail Novosyolov
065c29d87c Switch to OpenSSL instead of beecrypt: experimental switch to test how it will work; OpenSSL will probably be needed to use GOST checksumming algorithms 2019-10-03 21:36:44 +03:00
Mikhail Novosyolov
9d45895bd5 Merge branch 'rosa2019.1' into rosa2019.0 2019-09-03 19:29:07 +03:00
Mikhail Novosyolov
d8d869402e xzdio: Add line break to warning 2019-09-03 19:28:08 +03:00
Mikhail Novosyolov
5ea65167e7 Merge branch 'rosa2019.1' into rosa2019.0 2019-08-31 00:09:27 +03:00
Mikhail Novosyolov
601320f55c Fix CVE-2013-6435, CVE-2014-8118 2019-08-31 00:04:11 +03:00
Alexander Stefanov
41f0004ec3 bump rel 2019-07-27 15:39:17 +00:00
Alexander Stefanov
cd89a82b13 more build requires 2019-07-27 15:23:51 +00:00
Alexander Stefanov
363a82d9d7 selinux-devel requires if option enabled 2019-07-27 15:13:15 +00:00
Mikhail Novosyolov
cc99a6c798 Fix detecting cookie functions in glibc 2.28+ 2019-06-16 23:57:44 +03:00
Mikhail Novosyolov
c868109363 Fixed typo 2019-06-14 18:35:02 +03:00
Mikhail Novosyolov
66a068fa55 More debug when building RPM with --with debug 2019-06-14 17:42:13 +03:00
Mikhail Novosyolov
fca84f830f Revert new find-debuginfo.sh (more work is required) 2019-06-11 05:13:49 +03:00
Mikhail Novosyolov
e4a0e1c62b Ported some things from RPM4, run ./autogen.sh in %%build 2019-06-11 01:08:46 +03:00
Mikhail Novosyolov
c2410aefe9 Fixed fix for new glibc 2019-05-13 17:06:33 +03:00
Mikhail Novosyolov
500f77f0ed Fixed building with glibc 2.29 on i586 2019-04-30 02:36:03 +03:00
Mikhail Novosyolov
99f1afc05f libnsl.so was removed from glibc-devel, BR pkgconfig(libnsl) 2019-04-30 01:45:22 +03:00
Mikhail Novosyolov
6d9b5a53e6 Fixed building with glibc >= 2.28 2019-04-29 22:57:22 +03:00
Mikhail Novosyolov
0ece870c36 Merged patches to new git https://abf.io/soft/rpm5, build directly from git
Old packaging has been saved in the branch "patch-history", it can be handy for e.g. git blame / git history of patches.
2019-04-29 22:03:42 +03:00
Mikhail Novosyolov
e7c58a5354 Revert "Patch: allow forcing AutoReq on top of %%__noautoreq"
This reverts commit 92afe09f91.
2019-04-29 21:39:16 +03:00
Mikhail Novosyolov
92afe09f91 Patch: allow forcing AutoReq on top of %%__noautoreq 2019-04-16 10:10:51 +03:00
Mikhail Novosyolov
5e882d4ae7 Rediff patch 2019-04-07 17:35:05 +03:00
Mikhail Novosyolov
0b729be01e Disable Patch69 rpm-5.4.4-drop-useless-auto-generated-pkgconfig-dependency.patch 2019-04-07 17:32:14 +03:00
Mikhail Novosyolov
c2a813e5b5 Parsing private dependencies from pkgconfig files in new platform rosa2019.1
This reverts commit 8b1543c3c1.
2019-04-07 17:10:13 +03:00
Mikhail Novosyolov
12256ec829 Don't ignore dependencies from /bin/sh to fix initial bootstrapping of chroot 2019-03-11 11:04:26 +03:00
Mikhail Novosyolov
8b1543c3c1 Revert "Parse private dependencies from pkgconfig files"
This reverts commit e49da0b732.
2019-03-11 10:52:10 +03:00
Mikhail Novosyolov
e49da0b732 Parse private dependencies from pkgconfig files 2019-02-21 20:27:52 +03:00
Mikhail Novosyolov
d18cb76b8d xz -2 is the most optimal to recompress tarballs into .src.rpm 2018-12-28 19:20:23 +03:00
Mikhail Novosyolov
01fdf67249 w6T0.xzdio -> w6T.xzdio
w6T0.xzdio results into 1 thread, w6T.xzdio - into multiple threads

See also:
https://patchwork.openembedded.org/patch/140380/
https://patchwork.openembedded.org/patch/140381/
2018-12-25 05:25:43 +03:00
Mikhail Novosyolov
ddb5ae1420 Port of multithreaded XZ memory limit on 32 bit 2018-12-25 03:53:12 +03:00
Mikhail Novosyolov
ffa4655caf Use multithreaded XZ by default for both binary and source packages 2018-12-25 02:04:33 +03:00
Mikhail Novosyolov
867efd5b06 Port of multithreaded XZ 2018-12-25 01:30:09 +03:00
Victor Ryzhikh
c0acc85fcc Enable rpm-5.4.10-speed_rpm.patch 2018-09-26 16:25:57 +03:00
Victor Ryzhikh
a2c299bad1 Disable rpm-5.4.10-speed_rpm.patch 2018-09-26 13:35:53 +03:00
Denis Silakov
de1aebc5aa Recognize 'too many notes' in 'file' output - met this when building new java-1.8.0 2018-09-18 18:05:37 +03:00
Andrey Bondrov
43213f186d Always detect Python egg-info files as text for pythonegg(xxx) Provides generation 2018-06-21 16:58:10 +10:00
Andrey Bondrov
b8044820df Don't try to apply dropped patches 2018-06-21 16:45:34 +10:00
Алзим
4fb14f47db Speed RPM 2018-05-29 13:21:47 +03:00
st
ce9cb35ebc Merge pull request #5 from st/rpm:rosa2016.1
Fixed stack overflow on RPM with 121 008 objects
2017-12-06 19:15:00 +03:00