Commit Graph

650 Commits

Author SHA1 Message Date
Pádraig Brady
5fb9bc4700 split package and provide coreutils-single
Notes about coreutils:

 - Drops from 14.2MB to 5.5MB.
 - Still requires coreutils-common, though being separated
   allows for easier removal if required.
 - Explicitly conflicts with coreutils-single to avoid errant installs

Notes about coreutils-single:

 - Contains a single multicall binary which is 1.2MB
 - Have to force install over any existing coreutils package
    so best used for initial install without existing coreutils package
 - Doesn't require (but suggests) coreutils-common
    so install that manually for docs, translations, and colors etc.

Notes about coreutils-common:

 - 8.7MB
 - Having this split out gives an easy way to remove all
   docs and translations.

Note RemovePathPostfixes: introduced with rpm 4.13
is used to facilitate producing the two sets of conflicting binaries
from the same build, while maintaining appropriate --fileprovide
in each generated rpm.
2015-11-20 08:56:09 +01:00
Pádraig Brady
f0951fecac clean stale parts of the spec file 2015-11-20 08:56:09 +01:00
Kamil Dudka
c7c3ee3fab Resolves: #1259942 - fix memory leak in sort/I18N
Patches written by Pádraig.

Note that the corresponding i18n/sort-month test was not included
because it breaks unless sort is compiled -Dlint and we do not want
to decrease performance of the resulting RPMs (and valgrind is not
installed in production buildroots anyway).
2015-09-16 20:09:55 +02:00
Ondřej Vašík
2ad92d25c0 fix one still existing occurance of non-full path in colorls.sh 2015-09-12 08:00:58 +02:00
Pádraig Brady
cfbfd8c490 avoid check failure on glibc 2.22
glibc 2.22 introduces two extra stat() calls per opendir(),
which induces a false failure in a test counting stat() calls.
2015-09-01 17:32:54 +01:00
Ondřej Vašík
7b7a0554fb use newer version of sort/I18N fix for CVE-2015-4041 and CVE-2015-4042 2015-07-16 10:35:36 +02:00
Ondřej Vašík
3775f446fe new upstream release 8.24 2015-07-05 09:17:02 +02:00
Peter Robinson
1f9b908a99 Disable failing test-update-copyright to fix FTBFS 2015-07-04 11:25:51 +01:00
Dennis Gilmore
42e4196fc0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 03:15:59 +00:00
Jaromir Capik
1b318dd805 Adding STAGE1 bootstrap recipe 2015-06-11 15:15:44 +02:00
Ondřej Vašík
138c00f55f Oops, forgot to git pull, merging 2015-06-04 10:48:30 +02:00
Ondřej Vašík
58ee24949f call utilities in colorls.* scripts with full path (#1222140) 2015-06-04 10:47:11 +02:00
Kamil Dudka
e2395bc17f run 'make check' in parallel to speed up the build 2015-05-14 14:04:44 +02:00
Ondrej Oprala
7adccbb026 sort - fix buffer overflow in some case conversions
- patch by Pádraig Brady
2015-05-13 10:53:55 +02:00
Pádraig Brady
0ea2ae6357 sync/adjust LS_COLORS
* coreutils-DIR_COLORS: sync with upstream
(remove old Xiph formats, add m4a audio format).
* coreutils-DIR_COLORS.256color: Likewise.
Also sync with 8 color mode above, by removing
the specific MULTIHARDLINK coloring, and
giving MISSING symlink targets a red background.
Also lighten the DIR and EXEC color a little
(as discussed in bug 1196642)
* coreutils-DIR_COLORS.lightbgcolor: Sync terminal
types with other 2 databases above.
2015-04-20 15:29:29 +01:00
Peter Robinson
75d03ceef1 drop ChangeLog (covered in enough detail in news for averge users), drop ancient docs 2015-03-22 11:52:47 +00:00
Till Maas
0006fec2f3 Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
2015-02-21 22:22:06 +01:00
Ondřej Vašík
ac62214984 have the LC_TIME subdirs with lang macro (#1169027) 2014-12-01 11:59:25 +01:00
Ondřej Vašík
2f8deb0379 handle situation with ro /tmp in colorls scripts (#1149761) 2014-10-15 09:43:08 +02:00
Ondřej Vašík
cae27396ec fix the sorting in multibyte locales (NUL-terminate sort keys) - patch by Andreas Schwab (#1146185) 2014-10-01 14:49:30 +02:00
Peter Robinson
89879aa209 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 01:18:19 +00:00
Ondřej Vašík
f7c8684e5e enable smp_flags again (by B.Voelker), fix regression in chroot 2014-08-05 12:29:51 +02:00
Ondřej Vašík
734e24e1b2 disable _smp_mflags for a while- build failure 2014-07-24 16:08:28 +02:00
Ondřej Vašík
f5e87bdc05 skip df/skip-duplicates.sh test for now (passing locally, failing in koji) 2014-07-24 15:56:12 +02:00
Ondřej Vašík
df0e53f22d Fix merge conflicts 2014-07-22 14:02:48 +02:00
Ondřej Vašík
9c33d82fb4 new upstream release 8.23, synchronize the old differences in ls SELinux options with upstream 2014-07-22 14:01:39 +02:00
Tom Callaway
8246976bb3 fix license handling 2014-07-11 16:44:33 -04:00
Jakub Čajka
2af6179bec Fixed gnulib tests on ppc64(le) 2014-06-24 12:34:04 +02:00
Dennis Gilmore
8d24562387 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 00:55:53 -05:00
Ondřej Vašík
136250677d fix dd sparse test failure on xfs filesystem(#1085727,by P.Brady) 2014-04-12 20:38:09 -07:00
Ondřej Vašík
1240520fa1 drop the util-linux requirements (smaller docker images), drop ancient obsoletes of -libs subpackage 2014-03-05 13:52:27 +01:00
Ondřej Vašík
156e6cc237 Temporarily disable nohup.sh test, strange /dev/tty issue fail 2014-03-02 21:53:37 +01:00
Ondřej Vašík
d700b52311 fix the date crash or infloop in TZ= parsing (#1069657, from upstream) 2014-03-02 20:45:06 +01:00
Ondřej Vašík
55f7ecdd4a cp/mv/install: do not crash when getfscreatecon() is returning a NULL context 2014-01-13 16:26:44 +01:00
Ondřej Vašík
72a0b599c4 Fix the i18n cut optimization restriction (we need UTF8 to grant uniqueness of characters and using strchr() approach), unset the unnecessary envvars after colorls scripts(#1051703) 2014-01-13 12:49:45 +01:00
Ondrej Oprala
be3c926a11 Limit the cut optimizations to UTF-8 locales only 2014-01-10 16:06:15 +01:00
Ondřej Vašík
b3c0c98841 Add changelog comment 2014-01-08 15:27:56 +01:00
Ondřej Vašík
02d5a162e7 Adjust the patch 2014-01-08 14:55:05 +01:00
Bernhard Voelker
dc1142233b i18n patch: simplify multi-byte handling in uniq
* src/uniq.c (check_file): Instead of copying the whole code, simply
determine the value of 'new_group' by invoking different_multi in
the multi-byte case.
2014-01-08 14:54:22 +01:00
Bernhard Voelker
e241867dd1 i18n patch: avoid test failure for uniq's 145-mb test case
* tests.misc/uniq.pl: For comparing the stderr message with the
expected result, all multibyte-typical ‘...’ must be replaced
by '...'.  Add a ERR_SUBST expression to do that.
2014-01-08 13:59:00 +01:00
Ondřej Vašík
ff51f0cc5e Rediff the changes 2014-01-08 13:58:02 +01:00
Bernhard Voelker
ef63c71412 maint: avoid compiler warnings introduced by i18n patch
* src/cut.c (convfail,CONVFAIL): Change to bool to avoid a GCC
warning about signed vs. unsigned.  Also avoid "set but not used"
of convfail in cut_characters_or_cut_bytes_no_split.
(cut_fields_mb): Fix indentation.

* src/expand.c: Add include for wctype.h to declare isblank().

* src/fold.c (fold_file): Add "const" attribute to 'filename' parameter
to avoid "const cast away" in call in main().

* src/join.c (xfields_multibyte): Remove unused variable 't'.
(keycmp): Evaluate the return value of wcrtomb().  Furthermore,
when copying 'beg' to 'copy' array elements, remove the unnecessary
cast to unsigned.
(main): When assigning the newline string to 'newtab', cast away the
implicit const.

* src/pr.c: Remove the unneeded include of wctype.h and the define
of iswprint().
(print_stored): Add the unsigned qualifier to 'first' and 'last' to
avoid a signedness warning.

* src/sort.c (getmonth_mb): Cast away the 'const' qualifier of 's'
when assigning to *ea.

* src/uniq.c (different_multi): Evaluate the return result of wcrtomb();
Add the include of assert.h for that.
2014-01-08 13:48:41 +01:00
Bernhard Voelker
963813cd96 i18n patch: fix wrongly merged code in cut.c
* src/cut.c (cut_characters_or_cut_bytes_no_split): Move setting
of print_delimiter into the correct scope.
2014-01-08 13:17:10 +01:00
Ondřej Vašík
40bc313160 Add Fedora bug reference 2014-01-08 13:03:41 +01:00
Ondrej Oprala
45bd042713 Related:#1021403 - Don't use cut mb path if not necessary 2014-01-08 13:01:49 +01:00
Ondrej Oprala
9b303ebcee Fix sorting by non-first field (#1003544) 2014-01-06 11:49:31 +01:00
Ondřej Vašík
31d3fdd040 do not modify SELinux contexts of existing parent directories when copying files (fix by P.Brady, #1045122) 2014-01-03 08:38:06 +01:00
Ondrej Oprala
d6d7448c6a reverted an old change and constricted it's condition, turned off two multibyte tests (wrong strcoll return value) 2014-01-02 21:29:29 +01:00
Ondřej Vašík
83c13991c9 Disable wrong selinux handling in cp -a, document SELinux related deprecated downstream options 2014-01-02 11:39:46 +01:00
Ondřej Vašík
7a1c1f8975 skip even the ls aliases in noninteractive mode (suggested by T. Cordes, #988152) 2013-12-23 10:50:56 +01:00