Commit Graph

36 Commits

Author SHA1 Message Date
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
Petter Reinholdtsen 60d286ab8f Add all target. 2014-04-07 20:17:04 +00:00
Petter Reinholdtsen c13648e1f0 Fix compilation on platforms not having PATH_MAX such as GNU/Hurd. Patch from Roger Leigh and Debian. 2014-04-07 20:07:24 +00:00
Petter Reinholdtsen 4d0efd95ea Create testsuite framework. Only one test so far. 2014-04-07 20:03:28 +00:00
Werner Fink 8b1b5753d0 Initial version of startpar 2012-10-26 13:15:37 +00:00
Werner Fink 3159bfa64f trunk 2012-10-26 12:47:21 +00:00