diff options
Diffstat (limited to 'system/openrc/openrc.SlackBuild')
-rw-r--r-- | system/openrc/openrc.SlackBuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/system/openrc/openrc.SlackBuild b/system/openrc/openrc.SlackBuild index 088f1cbe06e2a..556197b760e4f 100644 --- a/system/openrc/openrc.SlackBuild +++ b/system/openrc/openrc.SlackBuild @@ -24,8 +24,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=openrc -VERSION=${VERSION:-0.35.5} -BUILD=${BUILD:-3} +VERSION=${VERSION:-0.39.2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -74,7 +74,8 @@ MAKEARGS+=(PREFIX=/usr) MAKEARGS+=(LIBNAME=lib${LIBDIRSUFFIX}) MAKEARGS+=(LIBDIR=/usr/lib${LIBDIRSUFFIX}) MAKEARGS+=(LIBEXECDIR=/usr/libexec/rc) -MAKEARGS+=(SYSCONFDIR=/etc) +#MAKEARGS+=(SYSCONFDIR=/etc) +MAKEARGS+=(SYSCONFDIR=/etc/openrc) MAKEARGS+=(SBINDIR=/sbin) MAKEARGS+=(MANDIR=/usr/man) MAKEARGS+=(DOCDIR=/usr/doc/$PRGNAM-$VERSION) @@ -86,15 +87,13 @@ make "${MAKEARGS[@]}" make install "${MAKEARGS[@]}" DESTDIR=$PKG -# Install inittab and logrotate files -install -m 644 support/sysvinit/inittab "$PKG"/etc/inittab.new install -Dm 0644 "$CWD/$PRGNAM.logrotate" "$PKG/etc/logrotate.d/${PRGNAM}.new" # Backup rc.conf -mv "$PKG/etc/rc.conf" "$PKG/etc/rc.conf.new" +mv "$PKG/etc/openrc/rc.conf" "$PKG/etc/openrc/rc.conf.new" # Backup config files -for file in "$PKG"/etc/conf.d/*; do +for file in "$PKG"/etc/openrc/conf.d/*; do mv "${file}" "${file}.new" done |