summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-08-27build: fix factor build failure on aarch64tizen_3.0_ivi_releasetizen_3.0.m14.3_ivi_releasetizen_3.0.2014.q3_common_releasesubmit/tizen_mobile/20141120.000000submit/tizen/20140827.063843accepted/tizen/ivi/20140901.103750accepted/tizen/common/20140827.101013tizen_3.0_ivitizen_3.0.m14.3_ivitizen_3.0.2014.q3_commonaccepted/tizen_iviaccepted/tizen_3.0_iviaccepted/tizen_3.0.m14.3_iviaccepted/tizen_3.0.2014.q3_commonTorbjörn Granlund2-14/+12
* src/longlong.h (__aarch64__): Make add_ssaaaa and sub_ddmmss work. * NEWS: Mention the build fix. Reported at https://bugzilla.redhat.com/917735 Change-Id: Id8e1373521fdf43935b4fdd5147a4461a0d1ca29 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2013-09-11do not package info files twicetizen_3.0.m14.2_ivi_releasesubmit/tizen_ivi_panda/20140321.224104submit/tizen_ivi_genivi/20140131.015913submit/tizen/20130912.075644ivi_oct_m2accepted/tizen/ivi/panda/20140321.223726accepted/tizen/ivi/genivi/20140131.020203accepted/tizen/20130912.093457accepted/tizen/20130912.085348accepted/tizen/20130912.082348tizen_ivi_pandatizen_ivi_genivitizen_3.0.m14.2_iviaccepted/tizen_ivi_pandaaccepted/tizen_genericaccepted/tizen/ivi/stableaccepted/tizen/ivi/geniviAnas Nashif1-1/+0
Change-Id: I246de6bad6e92dbf3e2670826926845d01c149d4 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2013-08-27fix .gbs.confsubmit/tizen/20130827.223131Anas Nashif1-2/+2
2013-08-27Now reset the .gbs.confsubmit/tizen/20130827.192801Graydon, Tracy1-0/+3
2013-08-27Ditch the .gbs.confsubmit/tizen/20130827.192521Graydon, Tracy1-3/+0
2013-08-27Update the tag formatsubmit/tizen/20130827.192356Graydon, Tracy1-1/+1
2013-08-16Merge "Enable smack build configuration option on commandline fix rpmlint ↵submit/tizen/20130827.181306Ryan Ware1-1/+3
errors from incorrect group" into tizen
2013-08-16Fix bad merge for NEWs fileMichael Demeter1-69/+0
Change-Id: I210360086212685b609cc6eb68da957ce0f2455d Signed-off-by: Michael Demeter <michael.demeter@intel.com>
2013-08-13Enable smack build configuration option on commandlineMichael Demeter1-1/+3
fix rpmlint errors from incorrect group Change-Id: Iffc8cb2910229463850f2a236b3efe6b0218b9d8 Signed-off-by: Michael Demeter <michael.demeter@intel.com>
2013-08-12maint: refactor SMACK interface to a separate modulePádraig Brady9-66/+105
Consolidate all smack routines and checks in a module. We replace and wrap the most commonly used smack routines, which allows removing ifdefs throughout the code. * gl/lib/smack.h: A new header containing the implementation of the wrapped and replacement routines. Note the is_smack_enabled() routine should be optimized out at compile time when compiled on a system without libsmack. * gl/modules/smack: Describe the new module and move the configure time code here from ... * m4/jm-macros.m4: ... here. * bootstrap.conf: Reference the new module. * src/id.c: Use the routines without ifdefs where possible. * src/ls.c: Likewise. * src/mkdir.c: Likewise. * src/mkfifo.c: Likewise. * src/mknod.c: Likewise.
2013-08-12id: don't show SMACK errors unless -Z is specifiedPádraig Brady1-2/+3
* src/id.c (main): Be consistent with the SELinux case, and only show errors in getting the security context when -Z is specified.
2013-08-12mkdir,mkfifo,mknod: with -Z, create SMACK security contextJarkko Sakkinen5-6/+122
Enable creation of SMACK security context with -Z command-line switch if SMACK is enabled. * mkdir.c (main): Set process security context to given SMACK label. * mkfifo.c (main): Likewise. * mknod.c (main): Likewise. * src/local.mk: link mk{dir, fifo, nod} with libsmack. * NEWS: Mention the new feature. Signed-off-by: Michael Demeter <michael.demeter@intel.com> Conflicts: NEWS Change-Id: Ib65d0891db7968dd7da06653e244579b4f943785
2013-08-12ls: with -Z, show SMACK security contextJarkko Sakkinen4-8/+37
Enable showing of file SMACK security with '-Z' command-line switch if SMACK is enabled. Showing SMACK context of a file does not strictly require SMACK to be enabled but this required to make choice whether to show SELinux or SMACK security context. * src/ls.c (getfilecon_cache): Retrieve SMACK context if available. (gobble_file): Handle SMACK context similarly to SELinux context. * src/local.mk: Link lsl with libsmack. * NEWS: Mention the new feature. * .mailmap: Merge the Author's 2 email addresses. Signed-off-by: Michael Demeter <michael.demeter@intel.com> Conflicts: NEWS Change-Id: I888bc3b0f08dfe8a9eae9a244c91c9ab6b1d9c08
2013-08-12id: adjust/restrict smack support to newer versions of libsmackJarkko Sakkinen2-6/+8
There was slight change to libsmack such that positive values are reserved for returning length of the label for smack_new_label_from_* functions. * m4/jm-macros.m4: Set HAVE_SMACK when both smack_new_label_from_self() and recently added smack_new_label_from_path() are present. The latter's presence indicates the newer API of the former. * src/id.c (main): Check that smack_new_label_from_self() < 0, and not just non-zero.
2013-08-12id: with -Z, show SMACK security contextJarkko Sakkinen4-4/+43
Adds an optional dependency on libsmack. * m4/jm-macros.m4: Look for the smack library/header. * src/id.c (main): Output the smack context if available. * src/local.mk: Link with libsmack if available. * NEWS: Mention the new feature. Signed-off-by: Michael Demeter <michael.demeter@intel.com> Conflicts: NEWS Change-Id: I1f6bb85309245b8172e2106f3102e040562109a9
2013-08-12Some of the po files were iso-8859 encoded coverted to utf-8Michael Demeter2-0/+3
and converted one file containing EUC-KC to utf-8. Change-Id: I1e74f47e2bc458c953c9f0bcc948d08c75fea349 Signed-off-by: Michael Demeter <michael.demeter@intel.com>
2013-08-12build from gitAnas Nashif6-5/+18
Signed-off-by: Anas Nashif <anas.nashif@intel.com> Change-Id: Ie48185f2a445fbdbbf2248aa4285d51b0b659d3c
2013-08-09Update to 8.21Anas Nashif1-8/+2
2013-08-09resetting manifest requested domain to floorAlexandru Cornea2-0/+8
2013-08-09packaging: provide several more binaries in /binPatrick McCarty2-3/+12
Change-Id: Ic8aa777159017c4944a5fd64038b26396bf2d8ed Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
2013-08-09packaging: provide /bin/basename as wellPatrick McCarty2-1/+10
Change-Id: I2be7e98e7708f3730e2de1d6eab51ad9d79b357a Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
2013-08-09Fix conflict with procps-ng packagePatrick McCarty2-0/+4
/usr/bin/uptime is part of the procps-ng package, so it must be excluded from this package for procps-ng to install cleanly. Change-Id: I97ecd8335d4d6e5288ed34eb73d4f4479f499400
2013-08-09Fixed package groupsAnas Nashif2-1/+4
2013-08-09Provide /bin/catAnas Nashif2-1/+4
2013-08-09provide /bin/touch to satisfy old specsAnas Nashif2-0/+4
2013-08-09remove .changesAnas Nashif1-2179/+0
2013-08-09add packagingAnas Nashif3-35/+4
2013-08-09add packagingAnas Nashif1-1/+1
2013-08-09add packagingAnas Nashif1-1/+1
2013-08-09add packagingAnas Nashif1-1/+1
2013-08-09add packagingAnas Nashif1-1/+1
2013-08-09add packagingAnas Nashif1-1/+0
2013-08-09add packagingAnas Nashif5-0/+2298
2013-02-14version 8.21v8.21Pádraig Brady1-1/+1
* NEWS: Record release date.
2013-02-14tests: avoid non portable sed use of \tPádraig Brady1-2/+2
* tests/du/threshold.sh: use `cut` rather than sed to avoid using the non portable \t which fails on sed on openbsd 5 at least. Also remove a redundant call to `tr` and avoid explicit setting of LANG=C which is done globally.
2013-02-14build: avoid link failure in devmsg() on older linkersPádraig Brady3-19/+35
On linkers that don't remove unused functions, there will be a reference to a missing dev_debug symbol in the devmsg() function. So for now ... * src/system.h: ... move devmsg() from here ... * src/numfmt.c: ... to here, and document future cleanup. * src/factor.c: Likewise.
2013-02-13numfmt: fix strtol() return code handlingAssaf Gordon1-1/+1
src/numfmt.c (parse_format_string): On some systems, strtol() returns EINVAL if no conversion was performed. So only handle ERANGE here, and handle other format errors directly.
2013-02-11maint: avoid running check-root tests in gnulibBernhard Voelker1-1/+1
* tests/local.mk (check-root): Restrict to SUBDIRS=. as traversing into gnulib-tests induces a false failure.
2013-02-11doc: improve the numfmt man page formatPádraig Brady1-11/+11
* src/numfmt.c (usage): Keep a single space between the "K = 1000", so that it's not displayed on a separate line. Also place ',' between each unit entry to improve readability.
2013-02-10doc: standardize helptext of numfmt and slice into single optionsBenno Schulenberg2-131/+151
* src/numfmt.c (usage): Correct synopsis and make command description clearer. Start option descriptions with lowercase letter; use semicolon instead of period where needed; indent continuation lines; gettextize single options for ease of translation and maintenance; sort options alphabetically. * doc/coreutils.texi (numfmt invocation): Sort numfmt options alphabetically. Enforce double-blank-after-period style. This addresses http://bugs.gnu.org/13681. Improved-by: Bernhard Voelker
2013-02-10maint: consolidate developer debug messagesPádraig Brady5-102/+83
Both factor and numfmt recently introduced debug messages for developers, enabled by --verbose and ---devdebug respectively. There were a few issues though: 1. They used different mechanisms to enable these messages. 2. factor used --verbose which might be needed for something else 3. They used different methods to output the messages, and numfmt used error() which added an unwanted newline 4. numfmt marked all these messages for translation and factor marked a couple. We really don't need these translated. So we fix the above issues here while renaming the enabling option for both commands to ---debug (still undocumented). * src/factor.c (verbose): Rename to dev_debug and change from int to bool as it's just a toggle flag. (long_options): Rename --verbose to ---debug. * src/system.h (devmsg): A new inline function to output a message if enabled by a global dev_debug variable in the compilation unit. * src/numfmt.c: Use devmsg() rather than error(). Also remove the translation tags from these messages. Also change debug flag to bool from int. * tests/misc/numfmt.pl: Adjust for the ---devdebug to ---debug change. * cfg.mk (sc_marked_devdiagnostics): Add a syntax check to ensure translations are not added to devmsg calls. Reported by Göran Uddeborg in http://bugs.gnu.org/13665
2013-02-10tests: tail-2/inotify-rotate: fix a false failure on NFSPádraig Brady1-1/+3
* tests/tail-2/inotify-rotate.sh: Avoid a subshell with bash, which in turn causes the `kill` to be ineffective to the tail processes (as the SIGTERM is sent to the subshell which doesn't propagate the signal on to its children). On NFS the test cleanup will then fail as there will be .nfs files maintained in the directory for the files still opened by the tail processes. Reported by Bernhard Voelker.
2013-02-10tests: skip numfmt grouping tests on some systemsPádraig Brady1-1/+15
* tests/misc/numfmt.pl: When the system locale grouping doesn't match our expected format for grouping 1234 in the fr_FR locale, reset the locale to 'C' so as to skip all locale tests.
2013-02-07tests: avoid actual/expected mismatch due to changed diagnosticJim Meyering3-2/+3
* tests/cp/fail-perm.sh: Adjust expected diagnostic to match just-changed cp diagnostic. * tests/ln/hard-to-sym.sh: Likewise. * .mailmap: Also map my new address.
2013-02-07build: update gnulib submodule; also bootstrap to latestPádraig Brady2-73/+93
Notes tests/init.sh is still in sync with gnulib * bootstrap: update to latest * gnulib: update avoiding secure_getenv and subsequent patches as these are reported to fail on FreeBSD at least.
2013-02-06maint: improve error messages upon failed read, write, access, closeBenno Schulenberg9-23/+28
Note we use "failed to {access,close}" for those single operations, and "error {read,writ}ing" for those partial operation failures. * src/copy.c: Improve error messages for failing read, write and close. * src/cp.c: Improve error messages for failing access. * src/dd.c: Improve error messages for failing read, write and open. * src/head.c: Improve error message for failing close. * src/install.c: Improve error messages for failing access. * src/ln.c: Likewise. * src/mv.c: Likewise. * src/touch.c: Improve error message for failing close. * src/truncate.c: Likewise.
2013-02-05doc: fix a numfmt help section typoAssaf Gordon1-5/+5
* src/numfmt.c (usage): Change erroneous "G" to "M".
2013-02-05stty: add support for DTR/DSR hardware control flowOndřej Vašík4-1/+13
Originally requested in Red Hat bugzilla #445213. * src/stty.c (mode_info): Add support for DTR/DSR hardware flow control, if available. * doc/coreutils.texi: Document it. * tests/misc/stty.sh: Add it to the list of serial options to avoid. * NEWS: Mention the improvement.
2013-02-05numfmt: correct a printf formatPádraig Brady1-1/+1
Prompted by the continuous integration build failure at: http://hydra.nixos.org/build/4010493 * src/numfmt.c (parse_format_string): Correct both sign and size of a printf format, which only gives a warning on 32 bit builds.
2013-02-04numfmt: a new command to format numbersAssaf Gordon14-6/+2803
* AUTHORS: Add my name. * NEWS: Mention the new program. * README: Reference the new program. * src/numfmt.c: New file. * src/.gitignore: Ignore the new binary. * build-aux/gen-lists-of-programs.sh: Update. * scripts/git-hooks/commit-msg: Allow numfmt: commit prefix. * po/POTFILES.in: Add new c file. * tests/misc/numfmt.pl: A new test file giving >93% coverage. * tests/local.mk: Reference the new test. * man/.gitignore: Ignore the new man page. * man/local.mk: Reference the new man page. * man/numfmt.x: A new template. * doc/coreutils.texi: Document the new command.