mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 01:42:56 +02:00
66: update to 0.8.2.1.
This commit is contained in:
parent
00a17d6936
commit
53d25102cc
4 changed files with 18 additions and 53 deletions
1
srcpkgs/66-init
Symbolic link
1
srcpkgs/66-init
Symbolic link
|
@ -0,0 +1 @@
|
|||
66
|
|
@ -1,5 +0,0 @@
|
|||
CAUTION: package revision 0.6.1.1_2 changes the default system-dir
|
||||
from /var/lib/66 to /etc/66/lib. The change requires user intervention.
|
||||
Users who upgrade from an earlier version should re-create all trees
|
||||
and re-enable services in them. That should be done before rebooting/halting
|
||||
the system.
|
|
@ -1,27 +0,0 @@
|
|||
diff --git a/skel/shutdown b/skel/shutdown
|
||||
index 0f59623855bc8e8ad260eeeb57a090f88b26b5d1..b39f0f0decb9b8e27c65ba59b3891482f326a876 100755
|
||||
--- a/skel/shutdown
|
||||
+++ b/skel/shutdown
|
||||
@@ -28,18 +28,18 @@ Time must be one of these formats: [ now | [+]mins | hh:mm ] where:
|
||||
mins or +mins : relative time; triggers the shutdown sequence after mins minutes.
|
||||
hh:mm : absolute time; triggers the shutdown sequence when the time hh:mm occurs.
|
||||
|
||||
-See also 66-shutdown program to more features.
|
||||
+See also 66-shutdown program for more features.
|
||||
EOF
|
||||
exit 111
|
||||
}
|
||||
|
||||
die() {
|
||||
- printf "${PROG}:fatal: options must be set first\n" >&1
|
||||
+ printf "%s:fatal: options must be set first\n" "${PROG}" >&1
|
||||
usage
|
||||
}
|
||||
|
||||
-[ -z ${1} ] && die
|
||||
+[ -z "${1}" ] && die
|
||||
|
||||
-[ ${1:0:1} != '-' ] && die
|
||||
+[ "${1%%"${1#?}"}" != '-' ] && die
|
||||
|
||||
66-shutdown "${@}"
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for '66'
|
||||
pkgname=66
|
||||
version=0.6.2.0
|
||||
revision=4
|
||||
version=0.8.2.1
|
||||
revision=1
|
||||
build_style=configure
|
||||
configure_args="--prefix=/usr
|
||||
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
|
||||
|
@ -10,35 +10,31 @@ configure_args="--prefix=/usr
|
|||
--with-s6-log-user=_s6log
|
||||
--with-system-dir=/etc/66/lib"
|
||||
hostmakedepends="pkg-config lowdown"
|
||||
makedepends="oblibs-devel skalibs-devel execline-devel s6-devel s6-rc-devel"
|
||||
depends="s6-rc"
|
||||
makedepends="oblibs-devel skalibs-devel execline-devel s6-devel"
|
||||
depends="s6"
|
||||
short_desc="Small tools built around s6 and s6-rc programs"
|
||||
maintainer="mobinmob <mobinmob@disroot.org>"
|
||||
license="ISC"
|
||||
homepage="http://web.obarun.org/software/"
|
||||
changelog="https://git.obarun.org/Obarun/66/-/raw/master/doc/upgrade.md"
|
||||
distfiles="https://git.obarun.org/Obarun/66/-/archive/v${version}/66-v${version}.tar.bz2"
|
||||
checksum=f63600e9f8e53211e421707aae7f98d2fa9d1b0d0b4b39162cf180df12b99c28
|
||||
patch_args="-Np1"
|
||||
|
||||
conf_files="/etc/66/init.conf"
|
||||
|
||||
system_accounts="_s6log"
|
||||
|
||||
make_dirs="/var/log/66 0750 _s6log _s6log"
|
||||
|
||||
pre_configure() {
|
||||
|
||||
# Clean the default $PATH for service scripts
|
||||
vsed -i "s@PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin@PATH=/usr/bin:/usr/sbin@" \
|
||||
"${wrksrc}/skel/init.conf"
|
||||
}
|
||||
changelog="https://git.obarun.org/Obarun/66/-/raw/master/doc/66-upgrade.md"
|
||||
distfiles="https://git.obarun.org/Obarun/66/-/archive/${version}/66-${version}.tar.bz2"
|
||||
checksum=89e45665e44e0d20d623283448ed52cd1377ce04e84081a6a831b36ac5a18d51
|
||||
|
||||
post_install() {
|
||||
vdoc README.md
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
66-init_package() {
|
||||
short_desc+=" - init system"
|
||||
depends="${sourcepkg}-${version}_${revision}"
|
||||
conflicts="s6-linux-init s6-rc runit-void"
|
||||
pkg_install() {
|
||||
vmove usr/bin/init
|
||||
vmove etc/66
|
||||
}
|
||||
}
|
||||
|
||||
66-doc_package() {
|
||||
short_desc+=" - documentation"
|
||||
depends="${sourcepkg}-${version}_${revision}"
|
||||
|
|
Loading…
Add table
Reference in a new issue