335 Commits

Author SHA1 Message Date
73491b2351 User 'nobody' is changed with 'root' according NobodySubjectPolicy (see wiki) 2024-11-20 12:49:18 +03:00
95ce87b365 Spec file update:
- now it provides 'virtual' package 'cron-subsystem';
- more packages added to conflicts;
- paths patch added;
- commands in build and install sections were replaced with macros;
- files section big update
2024-11-20 12:48:59 +03:00
c8fa3e4215 Fix paths for:
- touch;
- run-parts;
- and all files needed to install.
2024-11-20 11:42:41 +03:00
c2a6c57951 Delete -g flag from install section of Makefile. We cannot change group to cron or to root in install 2024-11-13 13:06:44 +03:00
eef10f8535 Fix spec for patch for rustc-serialize deprecation 2024-11-13 12:31:13 +03:00
3697e063c9 Re-vendoring was made with Cargo.lock updating to update rustc-serialize dependency to 0.3.25 version 2024-11-13 11:55:52 +03:00
e2462cf4ad Update rustc-serialize in Cargo.toml to 0.3.25 version. You need to do cargo vendor only with this fix, otherwise build process will stuck with lifetimes problem 2024-11-13 11:49:14 +03:00
656a7e6ff6 Patch to allow soft unstable for deprecated serializer 2024-11-13 10:52:01 +03:00
37a922014e Add --offline and --no-track to install section of Makefile 2024-11-12 18:48:46 +03:00
ae6a11b3eb Cargo config was added 2024-11-12 18:06:14 +03:00
9eef18a86f Changes:
+ spec-file in .gear;
+ rules in .gear;
+ upstream and tag
2024-11-12 18:05:39 +03:00
bf5488fad1 Cargo vendor 2024-11-12 15:03:58 +03:00
Konstantin Stepanov
fe1f4a64f0
fix kernlog init 2023-12-13 03:06:56 +02:00
Konstantin Stepanov
50018af20d
fix log level 2023-12-13 03:02:11 +02:00
Konstantin Stepanov
69a9985ddf
update kernlog version 2023-12-13 03:00:41 +02:00
Konstantin Stepanov
3956314871
implement timezone support 2023-12-13 02:55:26 +02:00
Konstantin Stepanov
d69afa94b0
Merge pull request #50 from agrover/edition-2018
Update to Edition 2018 and fix Clippy warnings
2023-04-04 10:30:58 +03:00
Andy Grover
2ab0d30c11 Update to Edition 2018 and fix Clippy warnings
Also:
* Use nix crate instead of libc directly
* rustfmt

Signed-off-by: Andy Grover <andy@groveronline.com>
2020-05-16 21:37:32 -07:00
Konstantin Stepanov
a4c2de7b7e
Merge pull request #49 from cjmayo/end_matches
replace deprecated trim_right_matches with trim_end_matches
2019-10-13 20:16:45 +03:00
Chris Mayo
9a456fe570 replace deprecated trim_right_matches with trim_end_matches
trim_end_matches introduced in Rust 1.30.0, deprecation warnings
emitted since 1.33.0.

https://doc.rust-lang.org/std/primitive.str.html#method.trim_end_matches
2019-08-23 19:18:24 +01:00
Konstantin Stepanov
d3d48f3e7c
Merge pull request #47 from cjmayo/rustc-serialize
depend on rustc-serialize 0.3.20 to fix build failures
2018-10-30 16:52:42 +03:00
Chris Mayo
16e2e60da0 depend on rustc-serialize 0.3.20 to fix build failures
Newer versions of rust halt compilation with:

  error[E0642]: patterns aren't allowed in methods without bodies

  rustc-serialize-0.3.19/src/serialize.rs:147:45
      |
  147 |                                             &f_name: &str,
      |                                             ^^^^^^^

Issue: https://github.com/systemd-cron/systemd-cron-next/issues/46
2018-09-22 20:41:09 +01:00
Konstantin Stepanov
bc710dfe4a Merge pull request #44 from tpo/patch-1
grammar and spelling fix
2017-08-24 13:02:27 +03:00
Tomáš Pospíšek
250c357a5b grammar and spelling fix
translate something from to
2017-08-19 11:07:10 +02:00
Konstantin Stepanov
6a89e2028a Merge pull request #43 from cjmayo/defaults
fix default features not disabled by --enable-<feature>=no
2017-03-22 08:42:48 +02:00
Chris Mayo
62df04fd87 fix default features not disabled by --enable-<feature>=no 2017-03-21 19:13:51 +00:00
Konstantin Stepanov
12511bafb2 Merge pull request #42 from cjmayo/strip
make stripping binaries optional
2017-03-20 09:07:10 +02:00
Chris Mayo
aafc3f57a4 make stripping binaries optional
Support package managers that do this themselves.
2017-03-19 13:17:57 +00:00
Konstantin Stepanov
c45f0a444a Merge pull request #39 from cjmayo/bufread
fix warning: unused import: `BufRead`
2017-03-16 23:48:18 +02:00
Chris Mayo
d646012d2d fix warning: unused import: BufRead 2017-03-16 19:57:52 +00:00
Konstantin Stepanov
27d53d8b0e Merge pull request #38 from yegorius/master
run command in user home directory
2017-02-13 11:35:54 +02:00
yegorius
5f16f8ebcd run command in user home directory 2017-02-12 19:17:09 +02:00
Alexandre Detiste
ff02cd6bfb typo 2017-01-07 20:34:56 +01:00
Alexandre Detiste
1367c1a2a7 fix little glitch mentioned in issue #37 2016-10-29 17:42:24 +02:00
Konstantin Stepanov
3a28dfc8d5 dependencies update 2016-06-08 16:08:22 +03:00
Konstantin Stepanov
8830185368 bump version to 1.0.1 2016-04-21 12:13:51 +03:00
Konstantin Stepanov
3924addfd6 fix invalid crontab user lookup logic 2016-04-21 12:13:51 +03:00
Konstantin Stepanov
4173335771 fixed typos and grammar errors 2016-04-20 17:55:27 +03:00
Konstantin Stepanov
a088f2b9f6 set version to 1.0.0 2016-04-19 18:10:20 +03:00
Konstantin Stepanov
33216b6ed1 use pgs_files to parse passwd file 2016-04-19 18:09:22 +03:00
Konstantin Stepanov
bc9acd1263 update version in pkgbuild 2016-04-17 20:58:30 +03:00
Konstantin Stepanov
417e6bccc2 fix broken links in readme 2016-04-17 20:58:30 +03:00
Konstantin Stepanov
a6fb5ea28f fix #35: add configurable randomized delay flag and behavior 2016-04-17 20:58:23 +03:00
Konstantin Stepanov
3c4f3b777b comment out unused method for now 2016-04-13 16:18:53 +03:00
Konstantin Stepanov
431464e6f6 rustfmt 2016-04-13 16:16:14 +03:00
Konstantin Stepanov
42bb127d15 use fgetpwent_r in generator due to getpwent slowness 2016-04-13 16:15:23 +03:00
Konstantin Stepanov
8e825728ae fix #33: skip temporary files (with starting dots) 2016-03-28 20:10:33 +03:00
Konstantin Stepanov
27aabe1ee7 fix #34: incorrect special schedule experssions 2016-03-28 19:37:08 +03:00
Konstantin Stepanov
fe56d387b9 Merge pull request #32 from naufraghi/issue-30-error-if-spoll-non-writable
Issue #30: error if spool non writable
2016-02-23 11:44:37 +03:00
Matteo Bertini
cfc7899b8b Fix issue #30: exit with error instead of panic in case of wrong permissions
in USERS_CRONTAB_DIR
2016-02-22 23:06:18 +01:00