Commit graph

21 commits

Author SHA1 Message Date
shattered
02dcf45d24 On some operating systems (Linux, FreeBSD -- see their problem report
82430) ps might list process names in square brackets.  Fix regex in
_find_processes() accordingly.

OK by wiz@.
2009-01-18 22:35:35 +00:00
adrianp
9e164864f6 Make this work on OpenSolaris 2008-12-21 00:03:32 +00:00
sketch
7c52a96f97 Support alternate ${PREFIX}. 2008-06-04 13:34:46 +00:00
joerg
bb41ea3344 Use id -un for whoami on QNX. 2008-04-23 18:04:03 +00:00
joerg
a58e43c67f rc.subr-20080423: Add QNX support.
From Christian Leutloff on tech-pkg.
2008-04-23 11:54:53 +00:00
schmonz
6793f1e87c Permit installation on "FreeBSD-[0-4].*-*". 2007-06-02 07:49:18 +00:00
rillig
c71e131798 This package cannot use CHECK_FILES because it is one of the two that
sets PREFIX=/.
2006-10-05 08:51:59 +00:00
sketch
5d3597ae2e Solaris su(1) does not have an -m argument; re-work so that this can be
supported.
2006-02-17 15:15:56 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
5946936ffc Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
2005-09-28 20:52:18 +00:00
jlam
e46a9dd380 Create directories before installing files into them. 2005-06-17 03:50:19 +00:00
tv
049d18c583 Don't "cp -p" for *source* files. Builds are usually done as an unprivileged
user, so it's not nice to try to use an option that will try to chown if
the repository isn't owned by the builder.

(Some OS's do in fact cause an error when the chown in "cp -p" fails.)
2005-01-06 05:32:29 +00:00
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00
tv
5456502166 Add real Interix support for _RC*_* variables; bump datestamp to today. 2004-10-11 19:32:14 +00:00
tv
76b8b5a570 Enable on Interix. 2004-10-11 18:52:56 +00:00
schmonz
cc44d60978 This appears to work on Darwin as well. Respect RCD_SCRIPTS_DIR. 2004-08-01 08:56:10 +00:00
grant
fdcd21c7e4 update to 20030706. sync with -current:
----------------------------
revision 1.59
date: 2003/07/04 14:14:10;  author: lukem;  state: Exp;  lines: +1 -7
Revert previous; the "return" if rc.subr had already loaded had issues
in some circumstances where run_rc_script()'s sourcing of an rc.d file
which then sourced rc.subr, the `optimisation' in rc.subr to "return as
we're already loaded" would finish more than just the inner-most sourcing.
I haven't tracked down the exact issue, but removing the `optimisation'
fixes the problem I noticed in starting up certain rc.d scripts, and
may fix [bin/22053] as well.
2003-07-06 20:40:34 +00:00
grant
ba4e3cdfa5 update to 20030627. sync with -current:
----------------------------
revision 1.58
date: 2003/06/27 05:01:21;  author: lukem;  state: Exp;  lines: +7 -1
If _rc_subr_loaded=true, "return" immediately, otherwise set that var
and continue as normal.
Gains ~ 2 seconds on 110 runs of ". rc.subr" on a shark.
Suggested by Andrew Cagney in [bin/18400]
----------------------------
revision 1.57
date: 2003/06/27 04:06:01;  author: lukem;  state: Exp;  lines: +2 -2
run_rc_command(): when checking if ${command} exists before executing it,
be sure to check under ${name_chroot} (if set).
Fix from Ed Ravin in [bin/18523]
----------------------------
revision 1.56
date: 2003/06/03 14:00:45;  author: christos;  state: Exp;  lines: +4 -4
Use more concise shell syntax:
1. for i in $* -> for i
2. foo=$* -> foo="$@"
2003-06-28 07:15:27 +00:00
grant
5d281c2397 Allow this to work on Linux (at least Slackware 8.1). 2003-06-23 07:03:49 +00:00
grant
a850c7421b no need for defaults/rc.conf.
minor whitespace fix.

bump to 20030622.
2003-06-23 07:02:16 +00:00
grant
b4e9a3b74b Initial import of rc.subr into The NetBSD Packages Collection.
This package allows you to use rc.subr-style rc scripts (such as
those included in pkgsrc) on other operating systems.
2003-06-19 16:07:10 +00:00