[gentoo-commits] proj/openrc:0.35.x commit in: init.d/

2018-03-14 Thread William Hubbs
commit: d3f419900504b37aeda79b1bca68ac150d81efd6
Author: William Hubbs  gmail  com>
AuthorDate: Thu Mar 15 01:37:02 2018 +
Commit: William Hubbs  gentoo  org>
CommitDate: Thu Mar 15 02:26:07 2018 +
URL:https://gitweb.gentoo.org/proj/openrc.git/commit/?id=d3f41990

agetty.in: allow status to be displayed

 init.d/agetty.in | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/init.d/agetty.in b/init.d/agetty.in
index 390b1317..971ee86c 100644
--- a/init.d/agetty.in
+++ b/init.d/agetty.in
@@ -16,7 +16,6 @@ term_type="${term_type:-linux}"
 command=/sbin/agetty
 command_args_foreground="${agetty_options} ${port} ${baud} ${term_type}"
 pidfile="/run/${RC_SVCNAME}.pid"
-export EINFO_QUIET="${quiet:-yes}"
 
 depend() {
after local
@@ -29,5 +28,12 @@ start_pre() {
eerror "symbolic links to it for the ports you want to start"
eerror "agetty on and add those to the appropriate runlevels."
return 1
+   else
+   export EINFO_QUIET="${quiet:-yes}"
fi
 }
+
+stop_pre()
+{
+   export EINFO_QUIET="${quiet:-yes}"
+}



[gentoo-commits] proj/openrc:0.35.x commit in: /

2018-03-14 Thread William Hubbs
commit: 42cd8115b94525cad2f70a14cc14862e88c779be
Author: William Hubbs  gmail  com>
AuthorDate: Thu Mar 15 02:02:14 2018 +
Commit: William Hubbs  gentoo  org>
CommitDate: Thu Mar 15 02:02:14 2018 +
URL:https://gitweb.gentoo.org/proj/openrc.git/commit/?id=42cd8115

version 0.35.5

 Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.inc b/Makefile.inc
index 704ae004..f5ccaf41 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
 NAME=  openrc
-VERSION=   0.35.4
+VERSION=   0.35.5
 PKG=   ${NAME}-${VERSION}



[gentoo-commits] proj/openrc:0.35.x commit in: src/rc/

2018-03-14 Thread William Hubbs
commit: dc071dfacd23686dd3ae7168c60193618e36f0fa
Author: William Hubbs  gmail  com>
AuthorDate: Thu Mar 15 01:05:45 2018 +
Commit: William Hubbs  gentoo  org>
CommitDate: Thu Mar 15 02:26:07 2018 +
URL:https://gitweb.gentoo.org/proj/openrc.git/commit/?id=dc071dfa

supervise-daemon: fix off-by-one error

 src/rc/supervise-daemon.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/rc/supervise-daemon.c b/src/rc/supervise-daemon.c
index 669db3a2..952c610b 100644
--- a/src/rc/supervise-daemon.c
+++ b/src/rc/supervise-daemon.c
@@ -232,8 +232,8 @@ static char *make_cmdline(char **argv)
 
for (c = argv; c && *c; c++)
len += (strlen(*c) + 1);
-   cmdline = xmalloc(len);
-   memset(cmdline, 0, len);
+   cmdline = xmalloc(len+1);
+   memset(cmdline, 0, len+1);
for (c = argv; c && *c; c++) {
strcat(cmdline, *c);
strcat(cmdline, " ");



[gentoo-commits] proj/openrc:0.35.x commit in: /

2018-03-14 Thread William Hubbs
commit: 9d201d55bc02ec372a161e315e5f73a6ed20
Author: William Hubbs  gmail  com>
AuthorDate: Thu Mar 15 02:27:24 2018 +
Commit: William Hubbs  gentoo  org>
CommitDate: Thu Mar 15 02:27:24 2018 +
URL:https://gitweb.gentoo.org/proj/openrc.git/commit/?id=9d201d55

Update ChangeLog

 ChangeLog | 36 
 1 file changed, 24 insertions(+), 12 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 67ec5999..240df3b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,27 @@
+commit d3f419900504b37aeda79b1bca68ac150d81efd6
+Author: William Hubbs 
+Commit: William Hubbs 
+
+agetty.in: allow status to be displayed
+
+commit dc071dfacd23686dd3ae7168c60193618e36f0fa
+Author: William Hubbs 
+Commit: William Hubbs 
+
+supervise-daemon: fix off-by-one error
+
+commit 42cd8115b94525cad2f70a14cc14862e88c779be
+Author: William Hubbs 
+Commit: William Hubbs 
+
+version 0.35.5
+
+commit d46beb28c4fec99253542442ecacf59499e3159f
+Author: William Hubbs 
+Commit: William Hubbs 
+
+Update ChangeLog
+
 commit f1c9d8429a484b4f37930998e82ef18e8657
 Author: William Hubbs 
 Commit: William Hubbs 
@@ -1878,15 +1902,3 @@ Author: William Hubbs 
 Commit: William Hubbs 
 
 update news file
-
-commit c333707cba356f4cacfd58a6fcc78f7c073dddcd
-Author: William Hubbs 
-Commit: William Hubbs 
-
-Remove all occurances of 'before *' from dependencies
-
-Using wildcards in dependencies causes issues when rc_parallel is set to
-yes because it can lead to deadlocks.
-All dependencies need to be explicit rather than implicit.
-
-This is the first stage of moving this direction.



[gentoo-commits] proj/openrc:0.35.x commit in: /

2018-03-14 Thread William Hubbs
commit: d46beb28c4fec99253542442ecacf59499e3159f
Author: William Hubbs  gmail  com>
AuthorDate: Wed Mar 14 19:10:01 2018 +
Commit: William Hubbs  gentoo  org>
CommitDate: Wed Mar 14 19:10:01 2018 +
URL:https://gitweb.gentoo.org/proj/openrc.git/commit/?id=d46beb28

Update ChangeLog

 ChangeLog | 54 --
 1 file changed, 36 insertions(+), 18 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 81a45de4..67ec5999 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,39 @@
+commit f1c9d8429a484b4f37930998e82ef18e8657
+Author: William Hubbs 
+Commit: William Hubbs 
+
+Use _BSD_SOURCE on FreeBSD
+
+commit c2a90b832685f9abdf710ab740181a8b935f862a
+Author: William Hubbs 
+Commit: William Hubbs 
+
+Remove _XOPEN_SOURCE macros from builds
+
+commit 53f5b6d894723d034ba520853a9e5484488a2294
+Author: William Hubbs 
+Commit: William Hubbs 
+
+man: document default retry specification for supervise-daemon
+
+commit 0a50cc494a6e743712102c705e404faffcbcb110
+Author: William Hubbs 
+Commit: William Hubbs 
+
+man: document default retry sppecification for start-stop-daemon
+
+commit f2a9891d7f7f01cb9d9e9cffa36cdfc8116f8295
+Author: William Hubbs 
+Commit: William Hubbs 
+
+version 0.35.4
+
+commit 5df7ee056458f849626b7a2c30ad0e27e62d8d33
+Author: William Hubbs 
+Commit: William Hubbs 
+
+Update ChangeLog
+
 commit b731c02a389303dfba30a4b6c44efd0c2540bf66
 Author: William Hubbs 
 Commit: William Hubbs 
@@ -1854,21 +1890,3 @@ Commit: William Hubbs 
 All dependencies need to be explicit rather than implicit.
 
 This is the first stage of moving this direction.
-
-commit 5f5b1f7cbefd0bc14352e86a9c33260266f98d9b
-Author: William Hubbs 
-Commit: William Hubbs 
-
-init.d/sysfs.in: efivarfs tweaks
-
-Since we check for /sys/firmware/efi/efivars, we do not need to check
-for /sys/firmware/efi
-
-Since Failing to mount efivarfs is not critical, we silence the error
-message from mount.
-
-commit cfdf56475e600f79a433cd721cadf39114c6c58d
-Author: William Hubbs 
-Commit: William Hubbs 
-
-version 0.25



[gentoo-commits] proj/openrc:0.35.x commit in: /

2018-03-14 Thread William Hubbs
commit: f2a9891d7f7f01cb9d9e9cffa36cdfc8116f8295
Author: William Hubbs  gmail  com>
AuthorDate: Wed Mar 14 18:55:58 2018 +
Commit: William Hubbs  gentoo  org>
CommitDate: Wed Mar 14 18:55:58 2018 +
URL:https://gitweb.gentoo.org/proj/openrc.git/commit/?id=f2a9891d

version 0.35.4

 Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.inc b/Makefile.inc
index 11484de6..704ae004 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
 NAME=  openrc
-VERSION=   0.35.3
+VERSION=   0.35.4
 PKG=   ${NAME}-${VERSION}



[gentoo-commits] proj/openrc:0.35.x commit in: man/

2018-03-14 Thread William Hubbs
commit: 0a50cc494a6e743712102c705e404faffcbcb110
Author: William Hubbs  gmail  com>
AuthorDate: Mon Mar 12 23:15:06 2018 +
Commit: William Hubbs  gentoo  org>
CommitDate: Wed Mar 14 19:01:52 2018 +
URL:https://gitweb.gentoo.org/proj/openrc.git/commit/?id=0a50cc49

man: document default retry sppecification for start-stop-daemon

 man/start-stop-daemon.8 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/man/start-stop-daemon.8 b/man/start-stop-daemon.8
index 1506a1a5..706a12ed 100644
--- a/man/start-stop-daemon.8
+++ b/man/start-stop-daemon.8
@@ -151,6 +151,7 @@ These options are only used for stopping daemons:
 .It Fl R , -retry Ar timeout | Ar signal Ns / Ns Ar timeout
 The retry specification can be either a timeout in seconds or multiple
 signal/timeout pairs (like SIGTERM/5).
+If this option is not given, the default is SIGTERM/5.
 .El
 .Sh ENVIRONMENT
 .Va SSD_IONICELEVEL



[gentoo-commits] proj/openrc:0.35.x commit in: mk/

2018-03-14 Thread William Hubbs
commit: f1c9d8429a484b4f37930998e82ef18e8657
Author: William Hubbs  gmail  com>
AuthorDate: Wed Mar 14 18:07:46 2018 +
Commit: William Hubbs  gentoo  org>
CommitDate: Wed Mar 14 19:04:54 2018 +
URL:https://gitweb.gentoo.org/proj/openrc.git/commit/?id=f1c9

Use _BSD_SOURCE on FreeBSD

 mk/os-FreeBSD.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mk/os-FreeBSD.mk b/mk/os-FreeBSD.mk
index 4bd1a33a..a4b2bfd3 100644
--- a/mk/os-FreeBSD.mk
+++ b/mk/os-FreeBSD.mk
@@ -12,4 +12,4 @@
 
 include ${MK}/os-BSD.mk
 
-CPPFLAGS+= -D_WITH_GETLINE
+CPPFLAGS+= -D_BSD_SOURCE



[gentoo-commits] proj/openrc:0.35.x commit in: mk/

2018-03-14 Thread William Hubbs
commit: c2a90b832685f9abdf710ab740181a8b935f862a
Author: William Hubbs  gmail  com>
AuthorDate: Tue Mar 13 23:14:39 2018 +
Commit: William Hubbs  gentoo  org>
CommitDate: Wed Mar 14 19:02:43 2018 +
URL:https://gitweb.gentoo.org/proj/openrc.git/commit/?id=c2a90b83

Remove _XOPEN_SOURCE macros from builds

 mk/os-GNU-kFreeBSD.mk | 2 +-
 mk/os-GNU.mk  | 2 +-
 mk/os-Linux.mk| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/mk/os-GNU-kFreeBSD.mk b/mk/os-GNU-kFreeBSD.mk
index 4fc934e0..93b48291 100644
--- a/mk/os-GNU-kFreeBSD.mk
+++ b/mk/os-GNU-kFreeBSD.mk
@@ -13,6 +13,6 @@
 SFX=   .GNU-kFreeBSD.in
 PKG_PREFIX?=   /usr
 
-CPPFLAGS+= -D_BSD_SOURCE -D_XOPEN_SOURCE=700
+CPPFLAGS+= -D_BSD_SOURCE
 LIBDL= -Wl,-Bdynamic -ldl
 LIBKVM?=

diff --git a/mk/os-GNU.mk b/mk/os-GNU.mk
index d5c4172f..adaefd44 100644
--- a/mk/os-GNU.mk
+++ b/mk/os-GNU.mk
@@ -11,5 +11,5 @@
 SFX=   .GNU.in
 PKG_PREFIX?=   /usr
 
-CPPFLAGS+= -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -DMAXPATHLEN=4096 
-DPATH_MAX=4096
+CPPFLAGS+= -D_DEFAULT_SOURCE -DMAXPATHLEN=4096 -DPATH_MAX=4096
 LIBDL= -Wl,-Bdynamic -ldl

diff --git a/mk/os-Linux.mk b/mk/os-Linux.mk
index 3a3c5167..2479ff5b 100644
--- a/mk/os-Linux.mk
+++ b/mk/os-Linux.mk
@@ -11,7 +11,7 @@
 SFX=   .Linux.in
 PKG_PREFIX?=   /usr
 
-CPPFLAGS+= -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700
+CPPFLAGS+= -D_DEFAULT_SOURCE
 LIBDL= -Wl,-Bdynamic -ldl
 
 ifeq (${MKSELINUX},yes)



[gentoo-commits] proj/openrc:0.35.x commit in: man/

2018-03-14 Thread William Hubbs
commit: 53f5b6d894723d034ba520853a9e5484488a2294
Author: William Hubbs  gmail  com>
AuthorDate: Mon Mar 12 23:22:05 2018 +
Commit: William Hubbs  gentoo  org>
CommitDate: Wed Mar 14 19:01:52 2018 +
URL:https://gitweb.gentoo.org/proj/openrc.git/commit/?id=53f5b6d8

man: document default retry specification for supervise-daemon

 man/supervise-daemon.8 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/man/supervise-daemon.8 b/man/supervise-daemon.8
index 0d34a249..af06ee31 100644
--- a/man/supervise-daemon.8
+++ b/man/supervise-daemon.8
@@ -120,6 +120,7 @@ description of --respawn-max for more information.
 .It Fl R , -retry Ar timeout | Ar signal Ns / Ns Ar timeout
 The retry specification can be either a timeout in seconds or multiple
 signal/timeout pairs (like SIGTERM/5).
+If this option is not given, the default is SIGTERM/5.
 .It Fl r , -chroot Ar path
 chroot to this directory before starting the daemon. All other paths, such
 as the path to the daemon, chdir and pidfile, should be relative to the chroot.



[gentoo-commits] proj/openrc:0.35.x commit in: /

2018-03-11 Thread William Hubbs
commit: f973354ccdcf4d94b19f08c68a14b2a004668c72
Author: William Hubbs  gmail  com>
AuthorDate: Mon Mar 12 04:16:45 2018 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Mar 12 04:16:45 2018 +
URL:https://gitweb.gentoo.org/proj/openrc.git/commit/?id=f973354c

version 0.35.3

 Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.inc b/Makefile.inc
index 9ad77d3f..11484de6 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
 NAME=  openrc
-VERSION=   0.35.2
+VERSION=   0.35.3
 PKG=   ${NAME}-${VERSION}



[gentoo-commits] proj/openrc:0.35.x commit in: init.d/

2018-03-11 Thread William Hubbs
commit: c42916ea199c0eab35c6c0a72d9a9f2a326144b0
Author: Scall  users  noreply  github  com>
AuthorDate: Tue Mar  6 01:16:26 2018 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Mar 12 04:16:51 2018 +
URL:https://gitweb.gentoo.org/proj/openrc.git/commit/?id=c42916ea

init.d: swap should always be started after root

Otherwise if a swap file is being used, and swap is started before
root, swapon may fail because of a read-only filesystem.

 init.d/swap.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init.d/swap.in b/init.d/swap.in
index 546cb5f5..c40b263d 100644
--- a/init.d/swap.in
+++ b/init.d/swap.in
@@ -11,7 +11,7 @@
 
 depend()
 {
-   after clock
+   after clock root
before localmount
keyword -docker -jail -lxc -openvz -prefix -systemd-nspawn -vserver
 }



[gentoo-commits] proj/openrc:0.35.x commit in: /

2018-03-11 Thread William Hubbs
commit: 5df7ee056458f849626b7a2c30ad0e27e62d8d33
Author: William Hubbs  gmail  com>
AuthorDate: Mon Mar 12 04:50:38 2018 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Mar 12 04:50:38 2018 +
URL:https://gitweb.gentoo.org/proj/openrc.git/commit/?id=5df7ee05

Update ChangeLog

 ChangeLog | 64 ++-
 1 file changed, 30 insertions(+), 34 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d01c0ed6..81a45de4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,33 @@
+commit b731c02a389303dfba30a4b6c44efd0c2540bf66
+Author: William Hubbs 
+Commit: William Hubbs 
+
+Clean up cgroups v2 code
+
+Remove the IFS manipulation and simplify the loop that processes the
+settings.
+
+commit c42916ea199c0eab35c6c0a72d9a9f2a326144b0
+Author: Scall 
+Commit: William Hubbs 
+
+init.d: swap should always be started after root
+
+Otherwise if a swap file is being used, and swap is started before
+root, swapon may fail because of a read-only filesystem.
+
+commit f973354ccdcf4d94b19f08c68a14b2a004668c72
+Author: William Hubbs 
+Commit: William Hubbs 
+
+version 0.35.3
+
+commit 69349f7b57116572b95874c754b2ef87c552cf0d
+Author: William Hubbs 
+Commit: William Hubbs 
+
+Update ChangeLog
+
 commit 1b1a70ecca43034cb0770e18e287ccbca9f1eb52
 Author: William Hubbs 
 Commit: William Hubbs 
@@ -1842,37 +1872,3 @@ Author: William Hubbs 
 Commit: William Hubbs 
 
 version 0.25
-
-commit fde3902d069dfdce9c59555186a5541d6d99c8aa
-Author: William Hubbs 
-Commit: William Hubbs 
-
-update ChangeLog
-
-commit d7bbb0f5830e1ec4df1ec52714d70ac6b0a81878
-Author: William Hubbs 
-Commit: William Hubbs 
-
-add agetty service
-
-The agetty service is an alternate way to manage gettys with agetty
-under Linux which is separate from an external init system.
-
-commit 21ca2b746cce67e2b3578fb7015c9d4c243e3a0c
-Author: William Hubbs 
-Commit: William Hubbs 
-
-init.d/sysfs: drop modules completely from the dependencies
-
-This is for #112.
-
-commit 6a79aef0159d7035778fd852b26ecfac903cd029
-Author: William Hubbs 
-Commit: William Hubbs 
-
-init.d/sysfs: Do not load efivarfs module
-
-My understanding is that the kernel can autoload this module. If it
-doesn't, the module should be built in or loaded from an initramfs.
-
-This fixes https://github.com/openrc/openrc/pulls/112.



[gentoo-commits] proj/openrc:0.35.x commit in: sh/

2018-03-11 Thread William Hubbs
commit: b731c02a389303dfba30a4b6c44efd0c2540bf66
Author: William Hubbs  gmail  com>
AuthorDate: Mon Mar 12 02:40:57 2018 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Mar 12 04:16:51 2018 +
URL:https://gitweb.gentoo.org/proj/openrc.git/commit/?id=b731c02a

Clean up cgroups v2 code

Remove the IFS manipulation and simplify the loop that processes the
settings.

 sh/rc-cgroup.sh.in | 19 +--
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/sh/rc-cgroup.sh.in b/sh/rc-cgroup.sh.in
index 5bc7db54..d4b68ada 100644
--- a/sh/rc-cgroup.sh.in
+++ b/sh/rc-cgroup.sh.in
@@ -184,18 +184,17 @@ cgroup2_set_limits()
cgroup_path="$(cgroup2_find_path)"
[ -d "${cgroup_path}" ] || return 0
rc_cgroup_path="${cgroup_path}/${RC_SVCNAME}"
-   local OIFS="$IFS"
-   IFS="
-"
[ ! -d "${rc_cgroup_path}" ] && mkdir "${rc_cgroup_path}"
-   printf "%d" 0 > "${rc_cgroup_path}/cgroup.procs"
-   echo "${rc_cgroup_settings}" | while IFS="$OIFS" read -r key value; do
-   [ -z "${key}" ] || [ -z "${value}" ] && continue
-   [ ! -e "${rc_cgroup_path}/${key}" ] && continue
-   veinfo "${RC_SVCNAME}: cgroups: ${key} ${value}"
-   printf "%s" "${value}" > "${rc_cgroup_path}/${key}"
+   [ -f "${rc_cgroup_path}"/cgroup.procs ] &&
+   printf 0 > "${rc_cgroup_path}"/cgroup.procs
+   [ -z "${rc_cgroup_settings}" ] && return 0
+   echo "${rc_cgroup_settings}" | while read -r key value; do
+   [ -z "${key}" ] && continue
+   [ -z "${value}" ] && continue
+   [ ! -f "${rc_cgroup_path}/${key}" ] && continue
+   veinfo "${RC_SVCNAME}: cgroups: setting ${key} to ${value}"
+   printf "%s\n" "${value}" > "${rc_cgroup_path}/${key}"
done
-   IFS="$OIFS"
return 0
 }
 



[gentoo-commits] proj/openrc:0.35.x commit in: /

2018-03-01 Thread William Hubbs
commit: 69349f7b57116572b95874c754b2ef87c552cf0d
Author: William Hubbs  gmail  com>
AuthorDate: Fri Mar  2 01:29:17 2018 +
Commit: William Hubbs  gentoo  org>
CommitDate: Fri Mar  2 01:29:17 2018 +
URL:https://gitweb.gentoo.org/proj/openrc.git/commit/?id=69349f7b

Update ChangeLog

 ChangeLog | 20 
 1 file changed, 20 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index ee6dbf79..d01c0ed6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+commit 1b1a70ecca43034cb0770e18e287ccbca9f1eb52
+Author: William Hubbs 
+Commit: William Hubbs 
+
+version 0.35.2
+
+commit 05cfbb8348cf92bcc2edd922af1dc0a4c4c2e1f4
+Author: Chris Cromer 
+Commit: Doug Freed 
+
+openrc-run: fix memory size (#213)
+
+Fixes #212
+
+commit a70b65f851c4f79e4fd43440d500d23cbf4b4a89
+Author: William Hubbs 
+Commit: William Hubbs 
+
+Update ChangeLog
+
 commit 0660d2455d461d648cf45076cf63b1c03e8e24c0
 Author: William Hubbs 
 Commit: William Hubbs 



[gentoo-commits] proj/openrc:0.35.x commit in: src/rc/

2018-03-01 Thread William Hubbs
commit: 05cfbb8348cf92bcc2edd922af1dc0a4c4c2e1f4
Author: Chris Cromer  users  noreply  github  
com>
AuthorDate: Fri Mar  2 00:31:33 2018 +
Commit: William Hubbs  gentoo  org>
CommitDate: Fri Mar  2 00:33:02 2018 +
URL:https://gitweb.gentoo.org/proj/openrc.git/commit/?id=05cfbb83

openrc-run: fix memory size (#213)

Fixes #212 

 src/rc/openrc-run.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rc/openrc-run.c b/src/rc/openrc-run.c
index daeafc52..73def8fb 100644
--- a/src/rc/openrc-run.c
+++ b/src/rc/openrc-run.c
@@ -1152,7 +1152,7 @@ int main(int argc, char **argv)
}
lnk = xmalloc(4096);
memset(lnk, 0, 4096);
-   if (readlink(argv[1], lnk, sizeof(lnk)-1)) {
+   if (readlink(argv[1], lnk, 4096)) {
dir = dirname(path);
if (strchr(lnk, '/')) {
save = xstrdup(dir);



[gentoo-commits] proj/openrc:0.35.x commit in: /

2018-03-01 Thread William Hubbs
commit: 1b1a70ecca43034cb0770e18e287ccbca9f1eb52
Author: William Hubbs  gmail  com>
AuthorDate: Fri Mar  2 01:00:34 2018 +
Commit: William Hubbs  gentoo  org>
CommitDate: Fri Mar  2 01:00:34 2018 +
URL:https://gitweb.gentoo.org/proj/openrc.git/commit/?id=1b1a70ec

version 0.35.2

 Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.inc b/Makefile.inc
index 3aa81b0a..9ad77d3f 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
 NAME=  openrc
-VERSION=   0.35.1
+VERSION=   0.35.2
 PKG=   ${NAME}-${VERSION}



[gentoo-commits] proj/openrc:0.35.x commit in: /

2018-03-01 Thread William Hubbs
commit: a70b65f851c4f79e4fd43440d500d23cbf4b4a89
Author: William Hubbs  gmail  com>
AuthorDate: Thu Mar  1 19:47:21 2018 +
Commit: William Hubbs  gentoo  org>
CommitDate: Thu Mar  1 19:47:21 2018 +
URL:https://gitweb.gentoo.org/proj/openrc.git/commit/?id=a70b65f8

Update ChangeLog

 ChangeLog | 24 ++--
 1 file changed, 18 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 59ead5ca..ee6dbf79 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+commit 0660d2455d461d648cf45076cf63b1c03e8e24c0
+Author: William Hubbs 
+Commit: William Hubbs 
+
+fix build on FreeBSD
+
+commit 01c5b98d3842c8142891d4b88f21823f4042f594
+Author: William Hubbs 
+Commit: William Hubbs 
+
+version 0.35.1
+
+commit f62975a1f8c4d5d4abdf78d8cad5509216138f03
+Author: William Hubbs 
+Commit: William Hubbs 
+
+Update ChangeLog
+
 commit 5bb6f9aa318a6d0507971b74d88c3fd2803bae4b
 Author: Jason Zaman 
 Commit: William Hubbs 
@@ -1838,9 +1856,3 @@ Commit: William Hubbs 
 doesn't, the module should be built in or loaded from an initramfs.
 
 This fixes https://github.com/openrc/openrc/pulls/112.
-
-commit 4a269674b765e5267f024fa55c8644480a7304ea
-Author: William Hubbs 
-Commit: William Hubbs 
-
-make sure netmount and localmount start after root