CVS log for pkgsrc/pkgtools/rc.subr/Makefile
Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / rc.subr
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Apr 21 21:12:57 2025 UTC (18 months, 3 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base,
pkgsrc-2026Q3,
pkgsrc-2026Q2-base,
pkgsrc-2026Q2,
pkgsrc-2026Q1-base,
pkgsrc-2026Q1,
pkgsrc-2025Q4-base,
pkgsrc-2025Q4,
pkgsrc-2025Q3-base,
pkgsrc-2025Q3,
pkgsrc-2025Q2-base,
pkgsrc-2025Q2
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -4
lines
rc.subr: update to 20250421.
Remove Interix support.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Aug 30 21:45:02 2021 UTC (5 years, 2 months ago) by khorben
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base,
pkgsrc-2025Q1,
pkgsrc-2024Q4-base,
pkgsrc-2024Q4,
pkgsrc-2024Q3-base,
pkgsrc-2024Q3,
pkgsrc-2024Q2-base,
pkgsrc-2024Q2,
pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2
lines
rc.subr: update to version 20210830
This introduces the function load_rc_config_var(), as provided by NetBSD's own
rc.subr.
Tested on NetBSD/amd64 (unprivileged).
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun May 30 23:46:26 2021 UTC (5 years, 5 months ago) by khorben
Branches: MAIN
CVS tags: pkgsrc-2021Q2-base,
pkgsrc-2021Q2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +15 -8
lines
rc.subr: update to version 20210517
This is part 2 to support additional platforms with the RC scripts provided in
pkgsrc, in privileged as well as in unprivileged mode, including on NetBSD.
These changes:
- install rc.subr to PKG_SYSCONFDIR if SYSCONFBASE is not /etc
- let RC scripts source rc.subr in PKG_SYSCONFDIR
- effectively allow unprivileged setups to run RC scripts easily
- in addition, give a chance for more platforms to run RC scripts
Tested in privileged and unprivileged modes on NetBSD/amd64, and unprivileged
mode on Darwin/amd64; submitted for review on tech-pkg@.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Mar 22 13:21:05 2020 UTC (6 years, 7 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -1
lines
rc.subr: mark as not for unprivileged, because of PREFIX:=/ abuse
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Jan 18 23:33:27 2020 UTC (6 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2
lines
all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F
With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.
This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Dec 26 00:29:07 2018 UTC (7 years, 10 months ago) by schmonz
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -4
lines
Add OpenBSD support. Mostly just works, except that we disagree on the
meaning of "rc.conf" (it's their "defaults/rc.conf", not to be edited).
If we're on OpenBSD and there's an /etc/rc.conf.local, source it.
Bump version.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Oct 24 14:07:59 2017 UTC (9 years ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2
lines
rc.subr: Fix SERVERS rc.d script to not REQUIRE mountcritremote.
The distributed rc.d scripts are "barrier" scripts that are used
by other rc.d scripts to hook into different points of the startup
process by either using REQUIRE or BEFORE. The barrier scripts
should not depend on other, non-barrier scripts. This change makes
the distributed scripts usable by a simple "rcorder /etc/rc.d/*",
whereas it was failing before due to lack of "mountcritremote".
Bump the package version to 20171024.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Oct 17 01:11:30 2016 UTC (10 years, 1 month ago) by dholland
Branches: MAIN
CVS tags: pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3
lines
Add IRIX support from Stuart Shelton in PR 38656.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun May 10 19:20:09 2015 UTC (11 years, 6 months ago) by bsiegert
Branches: MAIN
CVS tags: pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2,
pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4,
pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2
lines
Use /bin/echo on Darwin, as the builtin does not have the -n option.
Bump version.
Patch from Jason White in PR pkg/49724.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Jun 4 14:16:00 2014 UTC (12 years, 5 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2
lines
Update to 20140604
* Enable for CentOS/RHEL, fix su(1) path.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Mar 3 05:12:35 2014 UTC (12 years, 8 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2014Q1-base,
pkgsrc-2014Q1
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -1
lines
LICENSE=original-bsd
Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Mar 3 03:30:55 2014 UTC (12 years, 8 months ago) by obache
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -4
lines
Just define PKGNAME and use it.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Sep 11 23:19:39 2012 UTC (14 years, 2 months ago) by asau
Branches: MAIN
CVS tags: pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2,
pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
pkgsrc-2012Q3-base,
pkgsrc-2012Q3
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +1 -3
lines
"user-destdir" is default these days
Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Mar 23 00:27:11 2010 UTC (16 years, 7 months ago) by sbd
Branches: MAIN
CVS tags: pkgsrc-2012Q2-base,
pkgsrc-2012Q2,
pkgsrc-2012Q1-base,
pkgsrc-2012Q1,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1,
pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2
lines
Takeover maintainership.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Mar 21 16:29:42 2010 UTC (16 years, 8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2
lines
Reset maintainer, developer lost his commit bit.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Dec 13 07:49:55 2009 UTC (16 years, 11 months ago) by martti
Branches: MAIN
CVS tags: pkgsrc-2009Q4-base,
pkgsrc-2009Q4
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -3
lines
Fix problems detected in my Slackware installation.
http://mail-index.netbsd.org/pkgsrc-users/2009/09/09/msg010660.html
http://mail-index.netbsd.org/pkgsrc-users/2009/09/09/msg010664.html
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Feb 10 00:26:26 2009 UTC (17 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q3-base,
pkgsrc-2009Q3,
pkgsrc-2009Q2-base,
pkgsrc-2009Q2,
pkgsrc-2009Q1-base,
pkgsrc-2009Q1
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -4
lines
Restore ONLY_FOR_*.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Feb 10 00:25:00 2009 UTC (17 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +13 -14
lines
DESTDIR support.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Jan 18 22:35:35 2009 UTC (17 years, 10 months ago) by shattered
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2
lines
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@.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Dec 21 00:03:32 2008 UTC (17 years, 10 months ago) by adrianp
Branches: MAIN
CVS tags: pkgsrc-2008Q4-base,
pkgsrc-2008Q4
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
Make this work on OpenSolaris
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Jun 4 13:34:46 2008 UTC (18 years, 5 months ago) by sketch
Branches: MAIN
CVS tags: pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
cwrapper-base,
cwrapper,
cube-native-xorg-base,
cube-native-xorg
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +6 -6
lines
Support alternate ${PREFIX}.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Apr 23 11:54:53 2008 UTC (18 years, 6 months ago) by joerg
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3
lines
rc.subr-20080423: Add QNX support.
From Christian Leutloff on tech-pkg.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Jun 2 07:49:18 2007 UTC (19 years, 5 months ago) by schmonz
Branches: MAIN
CVS tags: pkgsrc-2008Q1-base,
pkgsrc-2008Q1,
pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
pkgsrc-2007Q3-base,
pkgsrc-2007Q3,
pkgsrc-2007Q2-base,
pkgsrc-2007Q2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -2
lines
Permit installation on "FreeBSD-[0-4].*-*".
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Oct 5 08:51:59 2006 UTC (20 years, 1 month ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2007Q1-base,
pkgsrc-2007Q1,
pkgsrc-2006Q4-base,
pkgsrc-2006Q4
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -1
lines
This package cannot use CHECK_FILES because it is one of the two that
sets PREFIX=/.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Dec 29 06:22:06 2005 UTC (20 years, 10 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2006Q3-base,
pkgsrc-2006Q3,
pkgsrc-2006Q2-base,
pkgsrc-2006Q2,
pkgsrc-2006Q1-base,
pkgsrc-2006Q1
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -2
lines
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.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Sep 28 20:52:25 2005 UTC (21 years, 1 month ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2005Q4-base,
pkgsrc-2005Q4
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -5
lines
Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Jun 17 03:50:30 2005 UTC (21 years, 5 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2005Q3-base,
pkgsrc-2005Q3,
pkgsrc-2005Q2-base,
pkgsrc-2005Q2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -1
lines
Create directories before installing files into them.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jan 6 05:32:30 2005 UTC (21 years, 10 months ago) by tv
Branches: MAIN
CVS tags: pkgsrc-2005Q1-base,
pkgsrc-2005Q1
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2
lines
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.)
Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Dec 28 02:47:48 2004 UTC (21 years, 10 months ago) by reed
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -1
lines
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).
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Oct 11 19:32:14 2004 UTC (22 years, 1 month ago) by tv
Branches: MAIN
CVS tags: pkgsrc-2004Q4-base,
pkgsrc-2004Q4
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2
lines
Add real Interix support for _RC*_* variables; bump datestamp to today.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Oct 11 18:52:56 2004 UTC (22 years, 1 month ago) by tv
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2
lines
Enable on Interix.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Aug 1 08:56:10 2004 UTC (22 years, 3 months ago) by schmonz
Branches: MAIN
CVS tags: pkgsrc-2004Q3-base,
pkgsrc-2004Q3
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +9 -7
lines
This appears to work on Darwin as well. Respect RCD_SCRIPTS_DIR.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jul 6 20:40:35 2003 UTC (23 years, 4 months ago) by grant
Branches: MAIN
CVS tags: pkgsrc-2004Q2-base,
pkgsrc-2004Q2,
pkgsrc-2004Q1-base,
pkgsrc-2004Q1,
pkgsrc-2003Q4-base,
pkgsrc-2003Q4
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2
lines
update to 20030706. sync with -current:
Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Jul 4 14:14:10 2003 UTC (23 years, 4 months ago) by lukem
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +1 -7
lines
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.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jun 28 07:15:27 2003 UTC (23 years, 4 months ago) by grant
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2
lines
update to 20030627. sync with -current:
Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Jun 27 05:01:21 2003 UTC (23 years, 4 months ago) by lukem
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +7 -1
lines
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: download - view: text, markup, annotated - select for diffs
Fri Jun 27 04:06:01 2003 UTC (23 years, 4 months ago) by lukem
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -2
lines
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.3: download - view: text, markup, annotated - select for diffs
Mon Jun 23 07:03:49 2003 UTC (23 years, 5 months ago) by grant
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -1
lines
Allow this to work on Linux (at least Slackware 8.1).
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jun 23 07:02:16 2003 UTC (23 years, 5 months ago) by grant
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -7
lines
no need for defaults/rc.conf.
minor whitespace fix.
bump to 20030622.
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Thu Jun 19 16:07:10 2003 UTC (23 years, 5 months ago) by grant
Branches: TNF
CVS tags: pkgsrc-base
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
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.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Jun 19 16:07:10 2003 UTC (23 years, 5 months ago) by grant
Branches: MAIN
Initial revision
Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue Jun 3 14:00:45 2003 UTC (23 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -4
lines
Use more concise shell syntax:
1. for i in $* -> for i
2. foo=$* -> foo="$@"
CVSweb <webmaster@jp.NetBSD.org>