Commit Graph

55 Commits

Author SHA1 Message Date
Jesse 08866634ff Updated readme. 2022-02-08 15:10:41 -04:00
Jesse Smith 82e0bc62a0 Updated Makefile 2020-06-08 15:59:40 -03:00
Jesse Smith 04001256cd Adjusted makefile and testsuite to use PREFIX variable
to make location of startpar and insserv executables more flexible.
2019-09-12 17:58:11 -03:00
Jesse Smith 4b951cf26b Made sure output lines from parallel jobs end with a newline character. 2019-08-30 16:05:26 -03:00
Jesse Smith a3da0ecf84 Added optimization to Makefile. 2019-08-29 17:16:28 -03:00
Jesse Smith efd0dc47f1 Added new test files for checking job output.
Made sure "make check" gets error code if a test fails.
2019-08-27 14:38:35 -03:00
Jesse Smith 1af26507de Added manual page entry for the -n flag. 2019-08-26 13:39:31 -03:00
Jesse Smith b926447976 Added -n flag which prefixes output from jobs with the name
of the program being run.
2019-08-26 13:36:20 -03:00
Jesse Smith 2811c174f1 Fixed regression which could cause jobs to run in serial (interactive
mode) instead of parallel when devpts check failed.
Should greatly increase performance on affected systems.
2019-08-25 19:52:28 -03:00
Jesse Smith 7fdb8138a1 Updated version number in Makefile. 2019-08-18 20:24:57 -03:00
Jesse Smith b9c2e850fe Updated testsuite to work with insserv 1.20.0. 2019-08-17 11:59:57 -03:00
Jesse Smith 14c0383fe3 * Fixed handing of overriding location of init.d on the command line.
* Fixed testsuite script to give better results to tests. Numbered
  tests so mixed "success" and "failure" messages would be more clear.
2019-07-21 19:45:43 -03:00
Jesse Smith cdbb31c8b1 Make sure we do not try to use unallocated memory
when detecting consoles. Closes Debian bug #931977.
2019-07-17 19:34:52 -03:00
Jesse Smith 2a98597777 Added sys/sysmacros.h header on non-FreeBSD systems to
make it possible to use makedev().

Fixed typos in manual page. Patches provided by Dmitry Bogatov.
2019-07-17 18:56:46 -03:00
Jesse Smith 523051dab3 Reverted change which allows Makefile-style fiels to be found
in /var/lib/insserv or /lib/insserv as these changes are
technically likely tocause problems and/or do not conform
to FHS.
2019-05-25 14:26:30 -03:00
Jesse Smith d93d095e72 Move default install location from /sbin to /bin since
startpar can be used to run any programs in parallel.
2019-05-23 13:38:16 -03:00
Jesse Smith db9926f546 Changes new dependency data location from /var/lib/insserv to
/lib/insserv to avoid not being able to read data if /var has
not been mounted.
2019-05-21 19:49:49 -03:00
Jesse Smith 8d353dc8d0 Swapped out startpar.8 for startpar.1 2019-05-17 19:19:22 -03:00
Jesse Smith 87fdb5159e Changed location of startpar manual page from
section 8 to section 1. It can be used as a general
purpose command.
2019-04-06 17:24:29 -03:00
Jesse Smith c9bfee9c5d * startpar now looks for Makefile-style dependency scripts in
/var/lib/insserv/ by default. If no scripts are found there
  it will fall back to using the legacy /etc/init.d/ location.
  If no scripts are found there, startpar will print an error
  and exit.

* Added -l flag to modify -M. When -l is used, startpar skips looking
  in the /var/lib/insserv/ directory for Makefile-style scripts. The
  -l flag jumps straight to looking in the /etc/init.d/ directory.

* Used constants for some strings instead of checking sizeof().

* Made makefile parsing more fault talerant so the parsing function
  returns an error instead of immediately calling exit().

* Updated manual page with new Makefile-style flag and location
  information.
2019-03-04 20:57:40 -04:00
Jesse Smith 535e5d7443 Added the CHANGELOG to the tarball. 2019-02-19 19:16:47 -04:00
Jesse Smith e20cba80e9 Minor code clean-up to remove duplicate instructions in
makeboot.c
2019-01-26 18:56:45 -04:00
Jesse Smith ddc4eabacd Applied Debian patches 81_timeout and 83_hardening upstream. 2018-11-30 20:12:24 -04:00
Jesse Smith b3f53f64c6 Fixed typos in startpar.c error messages.
Moves Debian patch 99 upstream.
2018-11-26 13:33:07 -04:00
Jesse Smith 0e3489fbfd Updated startpar.c and makeboot.c to allow startpar to compile
on FreeBSD 11.
2018-11-17 14:51:13 -04:00
Jesse Smith 1eac46323a Documented -e flag for changing location of /etc. 2018-11-17 12:02:15 -04:00
Jesse Smith dec417c819 * Removed undocumented and unused -e flag.
* Documented -f flag.
  Should address Debian bug #763703.
2018-11-17 11:42:22 -04:00
Jesse Smith 3304abe230 Applied patch from Francis Russell which should greatly speed up
make-style dependency checking in startpar (Fracis's test
suggest patch causes just 0.25% number of loop/dependency checks
compared to original.)
This should close Debian bugs which report startpar is bailing
out when checking dependencies.
Addresses Debian bugs #609959 and #696359.
2018-11-16 21:08:56 -04:00
Jesse Smith 1b92de5e0e Added changelog file to track updates. 2018-11-16 20:48:53 -04:00
Jesse Smith 1587e1b81f Applied signal patch from Petter Heinholdtsen which shoudl avoid
masking SIGINT to services.
Addresses Debian bug #679630
2018-11-16 20:46:42 -04:00
Jesse Smith d0928ef9f4 Updated manual page with new copyright.
Updated Makefile to work with GCC or Clang.
Updated Makefile to no longer use SVN, we use git now.
Fixed package building and signing in Makefile.
Added short description of startpar to README file.
Cleaned up unused temp/defines in Makefile.
2018-09-07 15:36:10 -03:00
Petter Reinholdtsen ab41cb1516 Second try. 2014-04-19 12:46:24 +00:00
Petter Reinholdtsen c6da6b1c00 Correct file name. 2014-04-19 12:42:56 +00:00
Petter Reinholdtsen 3d291845da Test code. 2014-04-19 12:37:06 +00:00
Petter Reinholdtsen 2d21354ee4 Adjust test suite to not output to stderr. 2014-04-17 07:11:38 +00:00
Petter Reinholdtsen d92cd3c1f3 Next release is version 0.60. 2014-04-15 10:10:50 +00:00
Petter Reinholdtsen b35d2e8007 Apply patch from Debian to make it easier to add hardening flags during build. 2014-04-15 10:08:36 +00:00
Petter Reinholdtsen 3c4caa96bb Make sure to check return value from fcntl(,F_SETFL,). 2014-04-14 14:23:09 +00:00
Petter Reinholdtsen b5004362d5 More warnings. 2014-04-10 21:38:24 +00:00
Petter Reinholdtsen c2973a0ab2 Fix typo in upload target. 2014-04-10 09:01:20 +00:00
Petter Reinholdtsen 05156a370d Release version 0.59. 2014-04-10 08:54:29 +00:00
Petter Reinholdtsen d6bb8e582d Add upload target. 2014-04-10 08:51:47 +00:00
Petter Reinholdtsen 094ef1c641 Make it possible to control which startpar binary the testsuite is running. 2014-04-10 08:30:20 +00:00
Petter Reinholdtsen cdca069db2 Add distclean target. 2014-04-10 08:16:42 +00:00
Petter Reinholdtsen aa09fe9568 Make sure test script exit on first error. 2014-04-10 08:15:37 +00:00
Petter Reinholdtsen c400ed5c73 Make makefile mode testable, and add testsuite test to verify that it work. 2014-04-10 08:15:05 +00:00
Petter Reinholdtsen f6cff98628 SuSe uses systemd. No longer build with SUSE configuration by default. 2014-04-10 08:14:33 +00:00
Petter Reinholdtsen 89ffcf210e Transform timerdiff macro to static function, to avoid requiring GCC extentions to build. Fixes clang build problem. 2014-04-10 07:45:50 +00:00
Petter Reinholdtsen 46ccaf32d8 Add the output from getconf LFS_CFLAGS to CFLAGS to get large file support on Hurd. Patch from Roger Leigh and Debian. 2014-04-07 20:40:11 +00:00
Petter Reinholdtsen 26b21274cd Start on README. 2014-04-07 20:18:26 +00:00