Compare commits

..

15 Commits

Author SHA1 Message Date
Daniel Robbins
7cd9ea5eff merging latest gentoo stuff 2011-07-02 20:31:33 -06:00
Christian Ruppert
70a3a3cf39 Add --startas/-a back to the optstring
X-Gentoo-Bug: 373609
X-Gentoo-Bug-URL: https://bugs.gentoo.org/373609
2011-06-30 20:21:48 +02:00
Mike Frysinger
d0bc4f20ad drop useless "All rights reserved" notice
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-29 19:46:31 -04:00
Christian Ruppert
b6766c2544 Use RC_CONF instead of the hardcoded /etc/rc.conf 2011-06-28 18:45:39 +02:00
Mike Frysinger
c427d3c1fe net: ccwgroup: smooth up/down process
We need to bring the link up ourselves after we've properly configured
the device.  The common code tries to bring the link up itself, but it
does so before things are configured, and so it ends up failing.

When shutting down, we need to wait for the kernel to finish destroying
the interface.  Otherwise, when doing a restart, openrc is quick enough
to tell the kernel to destroy things, but then start trying to bring it
back up before the kernel has finished.

X-Gentoo-Bug: 367467
X-Gentoo-Bug-URL: http://bugs.gentoo.org/367467
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-28 00:02:11 -04:00
Joe Harvell
24ba795563 Only print the deprecation warning for --chuid/-c when using it
The deprecation warning has been printed when using the replecement functions as
well, bug 373243.
2011-06-27 23:20:47 +02:00
William Hubbs
e8413733c1 Revert "remove functions.sh symbolic link in init.d"
This reverts commit f4407ac83d.
2011-06-27 12:11:01 -05:00
William Hubbs
f4407ac83d remove functions.sh symbolic link in init.d 2011-06-27 11:56:12 -05:00
William Hubbs
512c69a106 update bug reporting information in README 2011-06-24 12:47:04 -05:00
Kirill Elagin
2050e67911 localmount: make OIFS and CIFS local in stop function
X-Gentoo-Bug: 371141
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=371141
2011-06-24 12:13:28 -05:00
William Hubbs
013e7fb9fc allow options to be passed to killall5
This allows options to be passed to killall5 by the killprocs script.
This was added so that certain processes will not be killed during
shutdown.

x-Gentoo-Bug: 371625
x-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=371625
2011-06-23 21:52:44 -05:00
William Hubbs
e152199860 release openrc-0.8.3 2011-06-19 21:37:55 -05:00
William Hubbs
d4bdd32897 fix comment in conf.d/consolefont
X-Gentoo-Bug: 368277
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=368277
2011-06-19 18:39:12 -05:00
Mike Frysinger
8947c00204 sysctl: do not make unknown keys fatal
If unknown keys are found, currently sysctl would add all of its valid
settings, but then leave itself marked as "stopped".  Since this is not
really what we want, make unknown keys a non-fatal error.

Reported-by: Christian Ruppert <idl0r@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-18 10:06:41 -05:00
Christian Ruppert
4eb37f67cf Warn if deprecated commandline options are used for start-stop-daemon 2011-06-05 16:49:12 +02:00
170 changed files with 193 additions and 209 deletions

View File

@@ -1,6 +1,6 @@
# OpenRC Makefile # OpenRC Makefile
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
include Makefile.inc include Makefile.inc

View File

@@ -1,3 +1,3 @@
NAME= openrc NAME= openrc
VERSION= 0.8.2 VERSION= 0.8.3
PKG= ${NAME}-${VERSION} PKG= ${NAME}-${VERSION}

4
README
View File

@@ -80,8 +80,8 @@ History - by Daniel Robbins
The Gentoo modular network scripts were created by Daniel Robbins for The Gentoo modular network scripts were created by Daniel Robbins for
Gentoo Linux 1.0_rc6, in development during most of 2001 and released Gentoo Linux 1.0_rc6, in development during most of 2001 and released
in September 2001. After their development, the dependency-based initscript in September 2001. After their development, the dependency-based initscript
system was maintained by a number of senior developers (add names here.... system was maintained by a number of senior developers, primarily Martin
need to look at baselayout cvs logs.) Schlemmer (azarah).
excerpt from http://www.gentoo.org/news/en/gwn/20040426-newsletter.xml excerpt from http://www.gentoo.org/news/en/gwn/20040426-newsletter.xml
by Grant Goodyear: by Grant Goodyear:

View File

@@ -1,2 +1,2 @@
CONF+= consolefont dmesg hwclock keymaps modules CONF+= consolefont dmesg hwclock keymaps killprocs modules
SOS= Linux SOS= Linux

View File

@@ -3,7 +3,7 @@
# you shouldn't specify the trailing ".psf.gz", just the font name below. # you shouldn't specify the trailing ".psf.gz", just the font name below.
# To use the default console font, comment out the CONSOLEFONT setting below. # To use the default console font, comment out the CONSOLEFONT setting below.
# This setting is used by the /etc/init.d/consolefont script (NOTE: if you do # This setting is used by the /etc/init.d/consolefont script (NOTE: if you do
# not want to use it, run "rc-update del consolefont" as root). # not want to use it, run "rc-update del consolefont boot" as root).
consolefont="default8x16" consolefont="default8x16"
# consoletranslation is the charset map file to use. Leave commented to use # consoletranslation is the charset map file to use. Leave commented to use

3
conf.d/killprocs Normal file
View File

@@ -0,0 +1,3 @@
# If you wish to pass any options to killall5 during shutdown,
# you should do so here.
killall5_opts=""

View File

@@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
# Inform RC that we are in the background and hotplugged # Inform RC that we are in the background and hotplugged
export IN_BACKGROUND=yes export IN_BACKGROUND=yes

View File

@@ -1,6 +1,6 @@
#!@SHELL@ #!@SHELL@
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
# If $TERM is not set then assume default of @TERM@ # If $TERM is not set then assume default of @TERM@
# This gives us a nice colour boot :) # This gives us a nice colour boot :)

View File

@@ -1,6 +1,6 @@
#!@SHELL@ #!@SHELL@
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
# Handle interrupts # Handle interrupts
trap : SIGINT SIGQUIT trap : SIGINT SIGQUIT

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
command=@PKG_PREFIX@/sbin/avahi-dnsconfd command=@PKG_PREFIX@/sbin/avahi-dnsconfd
command_args="$avahi_dnsconfd_args -D" command_args="$avahi_dnsconfd_args -D"

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
command=@PKG_PREFIX@/sbin/avahi-daemon command=@PKG_PREFIX@/sbin/avahi-daemon
command_args="$avahid_args -D" command_args="$avahid_args -D"

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
command=@PKG_PREFIX@/bin/dbus-daemon command=@PKG_PREFIX@/bin/dbus-daemon
pidfile=@VARBASE@/run/dbus/pid pidfile=@VARBASE@/run/dbus/pid

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2009 Roy Marples <roy@marples.name> # Copyright (c) 2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
command=/sbin/dhcpcd command=/sbin/dhcpcd
pidfile=/var/run/dhcpcd.pid pidfile=/var/run/dhcpcd.pid

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
command=@PKG_PREFIX@/sbin/dnsmasq command=@PKG_PREFIX@/sbin/dnsmasq
command_args=$dnsmasq_args command_args=$dnsmasq_args

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
command=@PKG_PREFIX@/sbin/hald command=@PKG_PREFIX@/sbin/hald
pidfile=@VARBASE@/run/hald/hald.pid pidfile=@VARBASE@/run/hald/hald.pid

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
command=/usr/sbin/named command=/usr/sbin/named
command_args=$named_args command_args=$named_args

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
: ${ntpd_config:=/etc/ntp.conf} : ${ntpd_config:=/etc/ntp.conf}
: ${ntpd_drift:=/var/db/ntpd.drift} : ${ntpd_drift:=/var/db/ntpd.drift}

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
vpn=${RC_SVCNAME#*.} vpn=${RC_SVCNAME#*.}
name="OpenVPN" name="OpenVPN"

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
command=@PKG_PREFIX@/sbin/polkitd command=@PKG_PREFIX@/sbin/polkitd
pidfile=@VARBASE@/run/polkitd/polkitd.pid pidfile=@VARBASE@/run/polkitd/polkitd.pid

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
command=/usr/sbin/sshd command=/usr/sbin/sshd
command_args=$sshd_args command_args=$sshd_args

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2009 Roy Marples <roy@marples.name> # Copyright (c) 2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
command=/usr/sbin/wpa_supplicant command=/usr/sbin/wpa_supplicant
: ${wpa_supplicant_conf:=/etc/wpa_supplicant.conf} : ${wpa_supplicant_conf:=/etc/wpa_supplicant.conf}

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
extra_commands="save" extra_commands="save"

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
depend() depend()
{ {

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Sets a font for the consoles." description="Sets a font for the consoles."

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
command=/sbin/devd command=/sbin/devd
command_args=$devd_args command_args=$devd_args

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2008 Roy Marples <roy@marples.name> # Copyright (c) 2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Creates the dev database" description="Creates the dev database"

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Mount system critical filesystems in /dev." description="Mount system critical filesystems in /dev."

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Set the dmesg level for a cleaner boot" description="Set the dmesg level for a cleaner boot"

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Configures a specific kernel dump device." description="Configures a specific kernel dump device."

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Check and repair filesystems according to /etc/fstab" description="Check and repair filesystems according to /etc/fstab"
_IFS=" _IFS="

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
extra_commands="reset" extra_commands="reset"
: ${hostid_file:=/etc/hostid} : ${hostid_file:=/etc/hostid}

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Sets the hostname of the machine." description="Sets the hostname of the machine."

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
extra_commands="save show" extra_commands="save show"

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
# This is based on /etc/rc.firewall and /etc/rc.firewall6 from FreeBSD # This is based on /etc/rc.firewall and /etc/rc.firewall6 from FreeBSD

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Applies a keymap for the consoles." description="Applies a keymap for the consoles."

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Kill all processes so we can unmount disks cleanly." description="Kill all processes so we can unmount disks cleanly."
@@ -12,11 +12,11 @@ depend()
start() start()
{ {
ebegin "Terminating remaining processes" ebegin "Terminating remaining processes"
killall5 -15 killall5 -15 ${killall5_opts}
sleep 1 sleep 1
eend 0 eend 0
ebegin "Killing remaining processes" ebegin "Killing remaining processes"
killall5 -9 killall5 -9 ${killall5_opts}
sleep 1 sleep 1
eend 0 eend 0
} }

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Executes user programs in @SYSCONFDIR@/local.d" description="Executes user programs in @SYSCONFDIR@/local.d"

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Mounts disks and swap according to /etc/fstab." description="Mounts disks and swap according to /etc/fstab."
@@ -37,7 +37,7 @@ stop()
local x= no_umounts_r="/|/dev|/dev/.*|${RC_SVCDIR}" local x= no_umounts_r="/|/dev|/dev/.*|${RC_SVCDIR}"
no_umounts_r="${no_umounts_r}|/bin|/sbin|/lib|/libexec" no_umounts_r="${no_umounts_r}|/bin|/sbin|/lib|/libexec"
# RC_NO_UMOUNTS is an env var that can be set by plugins # RC_NO_UMOUNTS is an env var that can be set by plugins
OIFS=$IFS SIFS=${IFS-y} local OIFS=$IFS SIFS=${IFS-y}
IFS=$IFS: IFS=$IFS:
for x in $no_umounts $RC_NO_UMOUNTS; do for x in $no_umounts $RC_NO_UMOUNTS; do
no_umounts_r="$no_umounts_r|$x" no_umounts_r="$no_umounts_r|$x"

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
extra_commands="restore" extra_commands="restore"

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Loads a user defined list of kernel modules." description="Loads a user defined list of kernel modules."

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Re-mount filesytems read-only for a clean reboot." description="Re-mount filesytems read-only for a clean reboot."

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
mouse=${RC_SVCNAME##*.} mouse=${RC_SVCNAME##*.}
if [ -n "$mouse" -a "$mouse" != "moused" ]; then if [ -n "$mouse" -a "$mouse" != "moused" ]; then

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Update /etc/mtab to match what the kernel knows about" description="Update /etc/mtab to match what the kernel knows about"

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
MODULESDIR="${RC_LIBEXECDIR}/net" MODULESDIR="${RC_LIBEXECDIR}/net"
MODULESLIST="${RC_SVCDIR}/nettree" MODULESLIST="${RC_SVCDIR}/nettree"

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Mounts network shares according to /etc/fstab." description="Mounts network shares according to /etc/fstab."

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2009 Roy Marples <roy@marples.name> # Copyright (c) 2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
# This script was inspired by the equivalent rc.d network from NetBSD. # This script was inspired by the equivalent rc.d network from NetBSD.

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
required_files="/etc/newsyslog.conf" required_files="/etc/newsyslog.conf"

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
command=/usr/sbin/nscd command=/usr/sbin/nscd
command_args=$nscd_args command_args=$nscd_args

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Turns numlock on for the consoles." description="Turns numlock on for the consoles."

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
name="Packet Filter" name="Packet Filter"
: ${pf_conf:=${pf_rules:-/etc/pf.conf}} : ${pf_conf:=${pf_rules:-/etc/pf.conf}}

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
command=/usr/sbin/powerd command=/usr/sbin/powerd
command_args=$powerd_args command_args=$powerd_args

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Mounts misc filesystems in /proc." description="Mounts misc filesystems in /proc."

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
command=/usr/sbin/rarpd command=/usr/sbin/rarpd
command_args="-f $rarpd_args" command_args="-f $rarpd_args"

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
depend() depend()
{ {

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Mount the root fs read/write" description="Mount the root fs read/write"

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
command=/usr/sbin/rpcbind command=/usr/sbin/rpcbind
command_args=$rpcbind_args command_args=$rpcbind_args

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Saves the caches OpenRC uses to non volatile storage" description="Saves the caches OpenRC uses to non volatile storage"

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Saves a kernel dump." description="Saves a kernel dump."

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2009 Roy Marples <roy@marples.name> # Copyright (c) 2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
# This script was inspired by the equivalent rc.d staticroute from NetBSD. # This script was inspired by the equivalent rc.d staticroute from NetBSD.

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
depend() depend()
{ {

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
depend() depend()
{ {

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2009 Roy Marples <roy@marples.name> # Copyright (c) 2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Sets the local clock to the mtime of a given file." description="Sets the local clock to the mtime of a given file."

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
depend() { depend() {
need localmount need localmount

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
depend() depend()
{ {

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
depend() depend()
{ {
@@ -10,16 +10,25 @@ depend()
start() start()
{ {
local conf= retval=0 local conf= retval=0 err errs
ebegin "Configuring kernel parameters" ebegin "Configuring kernel parameters"
eindent eindent
for conf in /etc/sysctl.d/*.conf /etc/sysctl.conf; do for conf in /etc/sysctl.d/*.conf /etc/sysctl.conf; do
if [ -r "$conf" ]; then if [ -r "$conf" ]; then
vebegin "applying $conf" vebegin "applying $conf"
sysctl -p "$conf" >/dev/null if ! err=$(sysctl -q -p "$conf" 2>&1) ; then
errs="${errs} ${err}"
sysctl -q -e -p "${conf}"
fi
veend $? || retval=1 veend $? || retval=1
fi fi
done done
eoutdent eoutdent
eend $retval "Some errors were encountered" if [ ${retval} -eq 0 ] && [ -n "${errs}" ] ; then
ewarn "Unknown keys:${errs}"
fi
eend $retval "Some errors were encountered: ${errs}"
} }

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Mount the sys filesystem." description="Mount the sys filesystem."

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
command=/usr/sbin/syslogd command=/usr/sbin/syslogd
command_args=$syslogd_args command_args=$syslogd_args

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2008-2009 Roy Marples <roy@marples.name> # Copyright (c) 2008-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
description="Configures terminal encoding." description="Configures terminal encoding."

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2008 Roy Marples <roy@marples.name> # Copyright (c) 2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
depend() depend()
{ {

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name> # Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
: ${urandom_seed:=${URANDOM_SEED:-/var/run/random-seed}} : ${urandom_seed:=${URANDOM_SEED:-/var/run/random-seed}}
description="Initializes the random number generator." description="Initializes the random number generator."

View File

@@ -1,6 +1,6 @@
#!@PREFIX@/sbin/runscript #!@PREFIX@/sbin/runscript
# Copyright (c) 2008-2009 Roy Marples <roy@marples.name> # Copyright (c) 2008-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
depend() depend()
{ {

View File

@@ -1,5 +1,4 @@
.\" Copyright (c) 2007-2008 Roy Marples .\" Copyright (c) 2007-2008 Roy Marples
.\" All rights reserved
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions .\" modification, are permitted provided that the following conditions

View File

@@ -1,5 +1,4 @@
.\" Copyright (c) 2008-2009 Roy Marples .\" Copyright (c) 2008-2009 Roy Marples
.\" All rights reserved
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions .\" modification, are permitted provided that the following conditions

View File

@@ -1,5 +1,4 @@
.\" Copyright (c) 2007-2009 Roy Marples .\" Copyright (c) 2007-2009 Roy Marples
.\" All rights reserved
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions .\" modification, are permitted provided that the following conditions

View File

@@ -1,5 +1,4 @@
.\" Copyright (c) 2007-2009 Roy Marples .\" Copyright (c) 2007-2009 Roy Marples
.\" All rights reserved
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions .\" modification, are permitted provided that the following conditions

View File

@@ -1,5 +1,4 @@
.\" Copyright (c) 2007-2009 Roy Marples .\" Copyright (c) 2007-2009 Roy Marples
.\" All rights reserved
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions .\" modification, are permitted provided that the following conditions

View File

@@ -1,5 +1,4 @@
.\" Copyright (c) 2007-2008 Roy Marples .\" Copyright (c) 2007-2008 Roy Marples
.\" All rights reserved
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions .\" modification, are permitted provided that the following conditions

View File

@@ -1,5 +1,4 @@
.\" Copyright (c) 2007-2008 Roy Marples .\" Copyright (c) 2007-2008 Roy Marples
.\" All rights reserved
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions .\" modification, are permitted provided that the following conditions

View File

@@ -1,5 +1,4 @@
.\" Copyright (c) 2007-2008 Roy Marples .\" Copyright (c) 2007-2008 Roy Marples
.\" All rights reserved
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions .\" modification, are permitted provided that the following conditions

View File

@@ -1,5 +1,4 @@
.\" Copyright (c) 2007-2008 Roy Marples .\" Copyright (c) 2007-2008 Roy Marples
.\" All rights reserved
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions .\" modification, are permitted provided that the following conditions

View File

@@ -1,5 +1,4 @@
.\" Copyright (c) 2007-2008 Roy Marples .\" Copyright (c) 2007-2008 Roy Marples
.\" All rights reserved
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions .\" modification, are permitted provided that the following conditions

View File

@@ -1,5 +1,4 @@
.\" Copyright (c) 2007-2008 Roy Marples .\" Copyright (c) 2007-2008 Roy Marples
.\" All rights reserved
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions .\" modification, are permitted provided that the following conditions

View File

@@ -1,5 +1,4 @@
.\" Copyright (c) 2007-2008 Roy Marples .\" Copyright (c) 2007-2008 Roy Marples
.\" All rights reserved
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions .\" modification, are permitted provided that the following conditions

View File

@@ -1,5 +1,4 @@
.\" Copyright (c) 2007-2009 Roy Marples .\" Copyright (c) 2007-2009 Roy Marples
.\" All rights reserved
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions .\" modification, are permitted provided that the following conditions

View File

@@ -1,5 +1,4 @@
.\" Copyright (c) 2007-2009 Roy Marples .\" Copyright (c) 2007-2009 Roy Marples
.\" All rights reserved
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions .\" modification, are permitted provided that the following conditions

View File

@@ -1,6 +1,6 @@
# rules to enable debugging support # rules to enable debugging support
# Copyright (c) 2008 Roy Marples <roy@marples.name> # Copyright (c) 2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
_RC_DEBUG_SH= case "${DEBUG}" in "") echo "";; *) echo "-DRC_DEBUG";; esac _RC_DEBUG_SH= case "${DEBUG}" in "") echo "";; *) echo "-DRC_DEBUG";; esac
_RC_DEBUG:= $(shell ${_RC_DEBUG_SH}) _RC_DEBUG:= $(shell ${_RC_DEBUG_SH})

View File

@@ -1,6 +1,6 @@
# rules to make a distribution tarball from a git repo # rules to make a distribution tarball from a git repo
# Copyright (c) 2008 Roy Marples <roy@marples.name> # Copyright (c) 2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
GITREF?= HEAD GITREF?= HEAD
DISTPREFIX?= ${NAME}-${VERSION} DISTPREFIX?= ${NAME}-${VERSION}

View File

@@ -1,6 +1,6 @@
# rules to make .gitignore files # rules to make .gitignore files
# Copyright (c) 2008 Roy Marples <roy@marples.name> # Copyright (c) 2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
IGNOREFILES+= ${CLEANFILES} IGNOREFILES+= ${CLEANFILES}

View File

@@ -2,7 +2,7 @@
# based on FreeBSD's bsd.lib.mk # based on FreeBSD's bsd.lib.mk
# Copyright (c) 2008 Roy Marples <roy@marples.name> # Copyright (c) 2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
SHLIB_NAME= lib${LIB}.so.${SHLIB_MAJOR} SHLIB_NAME= lib${LIB}.so.${SHLIB_MAJOR}
SHLIB_LINK= lib${LIB}.so SHLIB_LINK= lib${LIB}.so

View File

@@ -1,5 +1,5 @@
# Copyright (c) 2008 Roy Marples <roy@marples.name> # Copyright (c) 2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
# Generic definitions # Generic definitions

View File

@@ -1,5 +1,5 @@
# Copyright (c) 2008 Roy Marples <roy@marples.name> # Copyright (c) 2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
# Generic definitions # Generic definitions

View File

@@ -1,5 +1,5 @@
# Copyright (c) 2008 Roy Marples <roy@marples.name> # Copyright (c) 2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
CPPFLAGS+= -D_BSD_SOURCE -D_XOPEN_SOURCE=600 CPPFLAGS+= -D_BSD_SOURCE -D_XOPEN_SOURCE=600
LIBDL= -Wl,-Bdynamic -ldl LIBDL= -Wl,-Bdynamic -ldl

View File

@@ -1,5 +1,5 @@
# Copyright (c) 2008 Roy Marples <roy@marples.name> # Copyright (c) 2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
# Generic definitions # Generic definitions

View File

@@ -1,5 +1,5 @@
# Copyright (c) 2008 Roy Marples <roy@marples.name> # Copyright (c) 2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
# Generic definitions # Generic definitions

View File

@@ -2,7 +2,7 @@
# based on FreeBSD's bsd.prog.mk # based on FreeBSD's bsd.prog.mk
# Copyright (c) 2008 Roy Marples <roy@marples.name> # Copyright (c) 2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
OBJS+= ${SRCS:.c=.o} OBJS+= ${SRCS:.c=.o}

View File

@@ -1,6 +1,6 @@
# Install rules for our scripts # Install rules for our scripts
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
include ${MK}/sys.mk include ${MK}/sys.mk
include ${MK}/os.mk include ${MK}/os.mk

View File

@@ -1,7 +1,7 @@
# Recursive rules # Recursive rules
# Adapted from FreeBSDs bsd.subdir.mk # Adapted from FreeBSDs bsd.subdir.mk
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
_+_ ?= + _+_ ?= +
ECHODIR ?= echo ECHODIR ?= echo

View File

@@ -1,6 +1,6 @@
# Generic system definitions # Generic system definitions
# Copyright (c) 2008 Roy Marples <roy@marples.name> # Copyright (c) 2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
AR?= ar AR?= ar
CP?= cp CP?= cp

View File

@@ -1,6 +1,6 @@
# Copyright (c) 2004-2007 Gentoo Foundation # Copyright (c) 2004-2007 Gentoo Foundation
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
adsl_depend() adsl_depend()
{ {

View File

@@ -1,5 +1,5 @@
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
apipa_depend() apipa_depend()
{ {

Some files were not shown because too many files have changed in this diff Show More