upg jobo66

rm obarun and skarnet subdirectories  s6 and 66 stacks moved to jobcomm/66-EOL
This commit is contained in:
joborun linux 2024-02-26 23:19:49 +02:00
parent eb35ee61f8
commit c9e13abba7
113 changed files with 9 additions and 2861 deletions

View file

@ -6,9 +6,9 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=jobo66
pkgdesc="installs minimal s6 & 66 needed software equivalent to the runit setup on joborun to boot w/ s6/66 and provide user level service supervision"
pkgdesc="installs minimal s6 & 66 pre-0.7.0 edition needed software equivalent to the runit setup on joborun to boot w/ s6/66 and provide user level service supervision"
pkgver=0.1.1
pkgrel=04
pkgrel=05
makedepends=(glibc sh)
groups=('66-EOL')
conflicts=(opensysusers) # obsysusers takes over what opensysusers does with runit alone
@ -21,10 +21,10 @@ install=jobo66.install
package() {
depends=(skalibs execline s6 s6-dns s6-linux-utils s6-networking s6-portable-utils s6-rc
oblibs 66 66-tools boot-66serv boot@-66serv ntpd-66serv dhclient-66serv
oblibs 66 66-tools boot-66serv boot@-66serv ntpd-66serv dhclient-66serv modules
wpa_supplicant-66serv tty@-66serv joborun66 obsysusers opentmpfiles
boot-user@-66serv dbus-66serv xdg-user-dirs-66serv consolekit-66serv
console-tracker@-66serv consolekit2 )
console-tracker@-66serv consolekit2)
install -Dm 0644 $srcdir/jobo66.txt $pkgdir/etc/66/jobo66.txt
mkdir -p $pkgdir/usr/bin
@ -49,5 +49,4 @@ license=('ISC')
sha256sums=(39c75848713bb50f782844bb790dc2ec76b104fe15c2e272ee622a559319220e) # jobo66.txt
## 2d8b3816e91b3d9199666ff8f217e4ee8feabbb3cb44887e8e7bb7e225435d98 jobo66-0.1.1-04-x86_64.pkg.tar.lz
## 25ee6df12a36aae4c7092a440774f48c10a801e7a0baa2b17efaa669192181d0 jobo66-0.1.1-05-x86_64.pkg.tar.lz

2
obarun Normal file
View file

@ -0,0 +1,2 @@
moved to jobcomm/66-EOL

View file

@ -1,51 +0,0 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/obarun/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
# Maintainer : Eric Vidal <eric@obarun.org>
pkgname=66-tools
pkgver=0.0.8.0
pkgrel=07
pkgdesc="small tools and helpers for service scripts execution"
url='https://git.obarun.org/Obarun/66-tools.git'
source=("${pkgname}::git+${url}#tag=v$pkgver")
makedepends=('git' 'skalibs>=2.13.1.1' 'execline>=2.9.3.0' 'oblibs>=0.1.4.0' 'lowdown')
depends=('skalibs>=2.13.1.1' 'execline>=2.9.3.0' 'oblibs>=0.1.4.0')
groups=('s6-suite')
_flags=(
--bindir=/usr/bin
--with-lib=/usr/lib/skalibs
--with-lib=/usr/lib/execline
--with-lib=/usr/lib/oblibs
--with-ns-rule=/usr/lib/66/script/ns
--disable-shared
)
build() {
cd $pkgname
./configure "${_flags[@]}"
make
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install install-ns-rule
install -Dm 0644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(ISC)
sha256sums=(SKIP)
## e293ee65788b417d9f732ada37ba7bacc8624528b24db74936322c1a1352d870 66-tools-0.0.8.0-07-x86_64.pkg.tar.lz

View file

@ -1,87 +0,0 @@
# Distribution : Obarun S6/66
#-----------------------------
# Maintainer : Eric Vidal <eric@obarun.org>
# Maintainer : Jean-Michel T.Dydak <jean-michel@obarun.org>
#----------------
# Obarun PkgSrc : https://git.obarun.org/pkg/obcore/66-tools
#--------------------------------------------------------------------------------
# DESCRIPTION ]
pkgname=66-tools
pkgver=0.0.8.0
pkgrel=1
pkgdesc="small tools and helpers for service scripts execution"
url='https://framagit.org/Obarun/66-tools.git'
track="tag"
target="v$pkgver"
source=(
"${pkgname}::git+${url}#${track}=${target}"
)
#----------------------
# BUILD CONFIGURATION ]
makedepends=(
'git'
'skalibs>=2.11.0.0'
'execline>=2.8.1.0'
'oblibs>=0.1.4.0'
'lowdown'
)
#------------------------
# INSTALL CONFIGURATION ]
depends=(
'skalibs>=2.11.0.0'
'execline>=2.8.1.0'
'oblibs>=0.1.4.0'
)
groups=(
'base'
's6-suite'
)
#----------------
# BUILD CONTROL ]
_flags=(
--bindir=/usr/bin
--with-lib=/usr/lib/skalibs
--with-lib=/usr/lib/execline
--with-lib=/usr/lib/oblibs
--with-ns-rule=/usr/lib/66/script/ns
--disable-shared
)
#--------
# BUILD ]
build() {
cd $pkgname
./configure "${_flags[@]}"
make
}
#----------
# PACKAGE ]
package() {
cd $pkgname
make DESTDIR="$pkgdir" install install-ns-rule
install -Dm 0644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}
#--------------------
# ARCH LICENSE AUTH ]
arch=(x86_64)
license=(ISC)
sha512sums=('')

View file

@ -1 +0,0 @@
rm -rf {src,pkg,66-tools}

View file

@ -1,5 +0,0 @@
git
skalibs
execline
oblibs
lowdown

View file

@ -1,5 +0,0 @@
real 0m5.982s
user 0m5.524s
sys 0m0.816s

View file

@ -1,23 +0,0 @@
post_install() {
if ! getent group log >/dev/null; then
groupadd -r -g 19 log
fi
if ! getent passwd s6log >/dev/null; then
useradd -u 19 -g 19 -d / -c "S6 log user" -s /usr/bin/nologin s6log
fi
mkdir -m 0755 /var/log/66 2>/dev/null
}
post_upgrade() {
post_install
printf "%s\n" "==> WARNING: According to the skarnet recommendations about the s6-svscan and skalibs library changes, you need to reboot after your 66 package upgrade."
}
pre_remove() {
echo "/var/log/66 66's logging directory will now ne removed and s6log user removed"
rm -rf /var/log/66
userdel s6log
}

View file

@ -1,25 +0,0 @@
post_install() {
if ! getent group log >/dev/null; then
groupadd -r -g 19 log
fi
if ! getent passwd s6log >/dev/null; then
useradd -u 919 -g 19 -d / -c "S6 log user" -s /usr/bin/nologin s6log
fi
if ! ls -l /var/log | grep 66 1>/dev/null; then
mkdir -m 0755 /var/log/66
fi
}
post_upgrade() {
post_install
printf "%s\n" "==> WARNING: According to the skarnet recommendations about the s6-svscan and skalibs library changes, you need to reboot after your 66 package upgrade."
}
pre_remove() {
echo "/var/log/66 66's logging directory will now ne removed and s6log user removed"
rm -rf /var/log/66
userdel s6log
}

View file

@ -1,74 +0,0 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/obarun/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
# Maintainer : Eric Vidal <eric@obarun.org>
pkgname=66
pkgver=0.6.2.0
pkgrel=08
# change in uid for s6log
pkgdesc="Small tools built around s6 and s6-rc programs"
url='https://git.obarun.org/Obarun/66.git'
source=("${pkgname}::git+${url}#tag=v$pkgver"
66.install)
# direct: https://git.obarun.org/pkg/obcore/66/-/raw/master/trunk/66.install
depends=( 'skalibs>=2.13.1.1' 'execline>=2.9.3.0' 's6>=2.11.3.2' 's6-rc>=0.5.4.1' 'oblibs>=0.1.4.0')
makedepends=('git' 'skalibs>=2.13.1.1' 'execline>=2.9.3.0' 's6>=2.11.3.2' 's6-rc>=0.5.4.1' 'oblibs>=0.1.4.0' 'lowdown' 'linux-api-headers')
backup=('etc/66/init.conf'
'etc/66/rc.init'
'etc/66/rc.init.container'
'etc/66/rc.shutdown'
'etc/66/rc.shutdown.final'
'usr/bin/init')
conflicts=('s6-linux-init')
groups=('s6-suite')
install=66.install
build() {
cd $pkgname
./configure --bindir=/usr/bin \
--shebangdir=/usr/bin \
--with-system-service=/usr/lib/66/service \
--with-system-module=/usr/lib/66/module \
--with-system-script=/usr/lib/66/script \
--with-s6-log-timestamp=iso \
--with-s6-log-user=s6log \
--with-lib=/usr/lib/skalibs \
--with-lib=/usr/lib/execline \
--with-lib=/usr/lib/s6 \
--with-lib=/usr/lib/s6-rc \
--with-lib=/usr/lib/oblibs \
--disable-shared
make
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
## copy wrapper at the correct place
cp "$pkgdir"/etc/66/init "$pkgdir"/usr/bin
mkdir -p "$pkgdir"/usr/bin/s6
## move powerfunctions according to joborun66 ##
mv "$pkgdir"/etc/66/{halt,poweroff,reboot,shutdown} "$pkgdir"/usr/bin/s6
## 66 License ##
install -Dm 0644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(ISC)
sha256sums=(SKIP
2560ad31407cf17fbec2e52526cb1515424b9436cb4c1664e64578b5d78326a3) # 66.install
## 7abba5ffe815e5f6fecb13581cdcd9196502ad5896a50be1a18ca2db49bd32f8 66-0.6.2.0-08-x86_64.pkg.tar.lz

View file

@ -1,117 +0,0 @@
# Distribution : Obarun S6/66
#-----------------------------
# Maintainer : Eric Vidal <eric@obarun.org>
# Maintainer : Jean-Michel T.Dydak <jean-michel@obarun.org>
#----------------
# Obarun PkgSrc : https://git.obarun.org/pkg/obcore/66
#--------------------------------------------------------------------------------
# DESCRIPTION ]
pkgname=66
pkgver=0.6.2.0
pkgrel=1
pkgdesc="Small tools built around s6 and s6-rc programs"
url='https://framagit.org/Obarun/66.git'
track="tag"
target="v$pkgver"
source=(
"${pkgname}::git+${url}#${track}=${target}"
)
#----------------------
# BUILD CONFIGURATION ]
makedepends=(
'git'
'skalibs>=2.11.0.0'
'execline>=2.8.1.0'
's6>=2.11.0.0'
's6-rc>=0.5.2.3'
'oblibs>=0.1.4.0'
'lowdown'
'linux-api-headers'
)
#------------------------
# INSTALL CONFIGURATION ]
depends=(
'skalibs>=2.11.0.0'
'execline>=2.8.1.0'
's6>=2.11.0.0'
's6-rc>=0.5.2.3'
'oblibs>=0.1.4.0'
)
backup=(
'etc/66/init.conf'
'etc/66/rc.init'
'etc/66/rc.init.container'
'etc/66/rc.shutdown'
'etc/66/rc.shutdown.final'
'usr/bin/init'
)
conflicts=(
's6-linux-init'
)
groups=(
'base'
's6-suite'
)
install=66.install
#----------------
# BUILD CONTROL ]
_flags=(
--bindir=/usr/bin
--shebangdir=/usr/bin
--with-system-service=/usr/lib/66/service
--with-system-module=/usr/lib/66/module
--with-system-script=/usr/lib/66/script
--with-s6-log-timestamp=iso
--with-s6-log-user=s6log
--with-lib=/usr/lib/skalibs
--with-lib=/usr/lib/execline
--with-lib=/usr/lib/s6
--with-lib=/usr/lib/s6-rc
--with-lib=/usr/lib/oblibs
--disable-shared
)
#--------
# BUILD ]
build() {
cd $pkgname
./configure "${_flags[@]}"
make
}
#----------
# PACKAGE ]
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
## move wrapper at the correct place
mv "$pkgdir"/etc/66/{halt,init,poweroff,reboot,shutdown} "$pkgdir"/usr/bin
install -Dm 0644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}
#--------------------
# ARCH LICENSE AUTH ]
arch=(x86_64)
license=(ISC)
sha512sums=('')

View file

@ -1 +0,0 @@
rm -rf {src,pkg,66}

View file

@ -1,7 +0,0 @@
skalibs
execline
s6
s6-rc
oblibs
lowdown
git

View file

@ -1,4 +0,0 @@
real 0m22.586s
user 0m23.507s
sys 0m2.132s

View file

@ -1,48 +0,0 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/obarun/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
# Maintainer : Eric Vidal <eric@obarun.org>
pkgname=boot-66serv
pkgdesc="Complete and portable set of services to properly boot a machine with 66 tools"
pkgver=2.4.1
_pkgver=v2.4.1
pkgrel=06
groups=('s6-suite')
backup=('etc/66/rc.local')
url="https://git.obarun.org/obmods/${pkgname}"
source=("${pkgname}::git+${url}#tag=${_pkgver}"
boot.install)
install=boot.install
makedepends=('git')
build() {
cd "${pkgname}"
./configure \
--bindir=/usr/bin \
--with-system-service=/usr/lib/66/service \
--with-system-module=/usr/lib/66/module \
--with-system-script=/usr/lib/66/script
}
package() {
cd "${pkgname}"
depends=('66>=0.6.1.3' '66-tools>=0.0.7.3' 's6-linux-utils' 's6-portable-utils' 'util-linux' 'iproute2' 'kmod' 'opentmpfiles' 'obsysusers' 'modules' 'iptables') # Obarun has this as optional but it is part of base and boot crashes without it
optdepends=('nftables: nftables support' 'ebtables: ebtables support' 'arptables: arptables support' 'dmraid: dmraid support' 'lvm2: lvm support' 'btrfs-progs: btrfs support' 'cryptsetup: encryption support')
make DESTDIR="${pkgdir}" install
}
#---- arch license gpg-key & sha256sums ----
arch=('x86_64')
license=('0BSD')
sha256sums=(SKIP
f7e81047005998f6db00c187835c9aa3248d73c2f50b97617e48851825f65ad6) # boot.install
## 1a265b56499e3f63d7d511c497e3f60a51dd98b938503c6e8c24656eafe57ab6 boot-66serv-2.4.1-06-x86_64.pkg.tar.lz

View file

@ -1,92 +0,0 @@
# Obarun : 66 init/supervisor
# Maintainer : Eric Vidal <eric@obarun.org>
# Maintainer : Jean-Michel T.Dydak <jean-michel@obarun.org>
# PkgSource : url="https://git.obarun.org/pkg/observice/boot-66serv"
#-----------------------------------------------------------------------------------------------
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgbase=boot-66serv
pkgname=boot@-66serv
pkgdesc="Complete and portable set of services to properly boot a machine with 66 tools"
pkgver=2.4.1
pkgrel=2
url="https://git.obarun.org/obmods/${pkgbase}"
track="tag"
target="v${pkgver}"
source=("${pkgbase}::git+${url}#${track}=${target}")
#-------------------------------------| BUILD CONFIGURATION |-----------------------------------
makedepends=(
'git')
#--------------------------------------------| BUILD |-------------------------------------------
build() {
cd "${pkgbase}"
./configure \
--bindir=/usr/bin \
--with-system-service=/usr/lib/66/service \
--with-system-module=/usr/lib/66/module \
--with-system-script=/usr/lib/66/script
}
#-------------------------------------------| PACKAGE |------------------------------------------
package() {
cd "${pkgbase}"
make DESTDIR="${pkgdir}" install
}
#------------------------------------| INSTALL CONFIGURATION |----------------------------------
arch=('x86_64')
install=boot.install
groups=(
'base'
's6-suite')
backup=(
'etc/66/rc.local')
depends=(
'66>=0.6.1.3'
'66-tools>=0.0.7.3'
's6-linux-utils'
's6-portable-utils'
'util-linux'
'iproute2'
'kmod'
'opentmpfiles'
'modules')
optdepends=(
'iptables: iptables support'
'nftables: nftables support'
'ebtables: ebtables support'
'arptables: arptables support'
'dmraid: dmraid support'
'lvm2: lvm support'
'btrfs-progs: btrfs support'
'zfs: zfs support'
'cryptsetup: encryption support')
replaces=('boot-66serv')
conflicts=('boot-66serv')
provides=('boot-66serv')
#-------------------------------------| SECURITY AND LICENCE |----------------------------------
sha512sums=('SKIP')
license=('0BSD')

View file

@ -1,8 +0,0 @@
post_install() {
66-yeller -zcp boot@ -W Please enable again your boot@sys service by using the following command as root %rbefore rebooting%n:
66-yeller -zicp boot@ " %w66-enable -t boot -F boot@sys%n"
}
post_upgrade() {
post_install
}

View file

@ -1 +0,0 @@
rm -rf {src,pkg,boot-66serv}

View file

@ -1,9 +0,0 @@
66
66-tools
s6-linux-utils
s6-portable-utils
opentmpfiles
modules
git
boot@-66serv
obsysusers

View file

@ -1,3 +0,0 @@
real 0m3.091s
user 0m2.468s
sys 0m0.357s

View file

@ -1,14 +0,0 @@
skalibs/skalibs-2.13.1.1-01-x86_64.pkg.tar.lz
execline/execline-2.9.3.0-02-x86_64.pkg.tar.lz
mdevd/mdevd-0.1.6.2-02-x86_64.pkg.tar.lz
s6-portable-utils/s6-portable-utils-2.3.0.2-01-x86_64.pkg.tar.lz
s6/s6-2.11.3.2-01-x86_64.pkg.tar.lz
s6-rc/s6-rc-0.5.4.1-01-x86_64.pkg.tar.lz
s6-linux-utils/s6-linux-utils-2.6.1.2-01-x86_64.pkg.tar.lz
s6-dns/s6-dns-2.3.5.5-02-x86_64.pkg.tar.lz
s6-networking/s6-networking-2.5.1.3-02-x86_64.pkg.tar.lz
oblibs/oblibs-0.1.4.0-06-x86_64.pkg.tar.lz
66/66-0.6.2.0-08-x86_64.pkg.tar.lz
66-tools/66-tools-0.0.8.0-07-x86_64.pkg.tar.lz
boot-66serv/boot-66serv-2.4.1-06-x86_64.pkg.tar.lz

View file

@ -1,20 +0,0 @@
- 66 -> https://git.obarun.org/Obarun/66.git
- 66-tools -> https://git.obarun.org/Obarun/66-tools.git
- oblibs -> https://git.obarun.org/Obarun/oblibs.git
- boot-66serv -> https://git.obarun.org/obmods/boot-66serv.git
- boot-user-66serv -> https://git.obarun.org/obmods/boot-user-66serv.git
- console-tracker-66serv -> https://git.obarun.org/obmods/console-tracker-66serv.git
- display-manager-66serv -> https://git.obarun.org/obmods/display-manager-66serv.git
- scandir-66serv -> https://git.obarun.org/obmods/scandir-66serv.git
- obysusers -> https://git.obarun.org/obdev/obsysusers.git
- modules -> https://git.obarun.org/obdev/modules.git

View file

@ -1,45 +0,0 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/obarun/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
# Maintainer : Eric Vidal <eric@obarun.org>
pkgname=oblibs
pkgdesc='Obarun C library'
pkgver=0.1.4.0
pkgrel=06
url='https://git.obarun.org/Obarun/oblibs.git'
track=tag
groups=(s6-suite)
depends=("skalibs>=2.13.1.1" "execline>=2.9.3.0")
makedepends=(git "skalibs>=2.13.1.1" "execline>=2.9.3.0")
target="v${pkgver}"
source=("$pkgname::git+https://git.obarun.org/Obarun/${pkgname}#${track}=${target}")
build() {
cd "$pkgname"
./configure \
--prefix=/usr \
--enable-static \
--disable-shared
make
}
package() {
cd "$pkgname"
make DESTDIR="$pkgdir" install
install -Dm 0644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('ISC')
sha256sums=(SKIP)
## 54aacf87c190eb5610aef44bdd0d6ee1724fa16051881089caad3b9d4297f152 oblibs-0.1.4.0-06-x86_64.pkg.tar.lz

View file

@ -1,68 +0,0 @@
# Obarun : 66 init/supervisor
# Maintainer : Eric Vidal <eric@obarun.org>
# Maintainer : Jean-Michel T.Dydak <jean-michel@obarun.org>
# PkgSource : url="https://git.obarun.org/pkg/obcore/oblibs"
#-----------------------------------------------------------------------------------------------
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=oblibs
pkgdesc='Obarun C library'
pkgver=0.1.4.0
pkgrel=1
url='https://framagit.org/Obarun/oblibs.git'
track=tag
target="v${pkgver}"
source=("$pkgname::git+https://framagit.org/Obarun/${pkgname}#${track}=${target}")
#-------------------------------------| BUILD CONFIGURATION |-----------------------------------
makedepends=(
'git'
'skalibs>=2.11.0.0'
'execline>=2.8.1.0')
#--------------------------------------------| BUILD |------------------------------------------
build() {
cd "$pkgname"
./configure \
--prefix=/usr \
--enable-static \
--disable-shared
make
}
#-------------------------------------------| PACKAGE |-----------------------------------------
package() {
cd "$pkgname"
make DESTDIR="$pkgdir" install
install -Dm 0644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
}
#------------------------------------| INSTALL CONFIGURATION |----------------------------------
arch=(x86_64)
groups=(
'base'
's6-suite')
depends=(
'skalibs>=2.11.0.0'
'execline>=2.8.1.0')
#-------------------------------------| SECURITY AND LICENCE |----------------------------------
license=('ISC')
sha1sums=('SKIP')

View file

@ -1 +0,0 @@
rm -rf {src,pkg,oblibs}

View file

@ -1 +0,0 @@
git execline skalibs

View file

@ -1 +0,0 @@
ref: refs/heads/master

View file

@ -1,8 +0,0 @@
[core]
repositoryformatversion = 0
filemode = true
bare = true
[remote "origin"]
url = https://git.obarun.org/Obarun/oblibs
fetch = +refs/*:refs/*
mirror = true

View file

@ -1 +0,0 @@
Unnamed repository; edit this file 'description' to name the repository.

View file

@ -1,15 +0,0 @@
#!/bin/sh
#
# An example hook script to check the commit log message taken by
# applypatch from an e-mail message.
#
# The hook should exit with non-zero status after issuing an
# appropriate message if it wants to stop the commit. The hook is
# allowed to edit the commit message file.
#
# To enable this hook, rename this file to "applypatch-msg".
. git-sh-setup
commitmsg="$(git rev-parse --git-path hooks/commit-msg)"
test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"}
:

View file

@ -1,24 +0,0 @@
#!/bin/sh
#
# An example hook script to check the commit log message.
# Called by "git commit" with one argument, the name of the file
# that has the commit message. The hook should exit with non-zero
# status after issuing an appropriate message if it wants to stop the
# commit. The hook is allowed to edit the commit message file.
#
# To enable this hook, rename this file to "commit-msg".
# Uncomment the below to add a Signed-off-by line to the message.
# Doing this in a hook is a bad idea in general, but the prepare-commit-msg
# hook is more suited to it.
#
# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"
# This example catches duplicate Signed-off-by lines.
test "" = "$(grep '^Signed-off-by: ' "$1" |
sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || {
echo >&2 Duplicate Signed-off-by lines.
exit 1
}

View file

@ -1,174 +0,0 @@
#!/usr/bin/perl
use strict;
use warnings;
use IPC::Open2;
# An example hook script to integrate Watchman
# (https://facebook.github.io/watchman/) with git to speed up detecting
# new and modified files.
#
# The hook is passed a version (currently 2) and last update token
# formatted as a string and outputs to stdout a new update token and
# all files that have been modified since the update token. Paths must
# be relative to the root of the working tree and separated by a single NUL.
#
# To enable this hook, rename this file to "query-watchman" and set
# 'git config core.fsmonitor .git/hooks/query-watchman'
#
my ($version, $last_update_token) = @ARGV;
# Uncomment for debugging
# print STDERR "$0 $version $last_update_token\n";
# Check the hook interface version
if ($version ne 2) {
die "Unsupported query-fsmonitor hook version '$version'.\n" .
"Falling back to scanning...\n";
}
my $git_work_tree = get_working_dir();
my $retry = 1;
my $json_pkg;
eval {
require JSON::XS;
$json_pkg = "JSON::XS";
1;
} or do {
require JSON::PP;
$json_pkg = "JSON::PP";
};
launch_watchman();
sub launch_watchman {
my $o = watchman_query();
if (is_work_tree_watched($o)) {
output_result($o->{clock}, @{$o->{files}});
}
}
sub output_result {
my ($clockid, @files) = @_;
# Uncomment for debugging watchman output
# open (my $fh, ">", ".git/watchman-output.out");
# binmode $fh, ":utf8";
# print $fh "$clockid\n@files\n";
# close $fh;
binmode STDOUT, ":utf8";
print $clockid;
print "\0";
local $, = "\0";
print @files;
}
sub watchman_clock {
my $response = qx/watchman clock "$git_work_tree"/;
die "Failed to get clock id on '$git_work_tree'.\n" .
"Falling back to scanning...\n" if $? != 0;
return $json_pkg->new->utf8->decode($response);
}
sub watchman_query {
my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty')
or die "open2() failed: $!\n" .
"Falling back to scanning...\n";
# In the query expression below we're asking for names of files that
# changed since $last_update_token but not from the .git folder.
#
# To accomplish this, we're using the "since" generator to use the
# recency index to select candidate nodes and "fields" to limit the
# output to file names only. Then we're using the "expression" term to
# further constrain the results.
my $last_update_line = "";
if (substr($last_update_token, 0, 1) eq "c") {
$last_update_token = "\"$last_update_token\"";
$last_update_line = qq[\n"since": $last_update_token,];
}
my $query = <<" END";
["query", "$git_work_tree", {$last_update_line
"fields": ["name"],
"expression": ["not", ["dirname", ".git"]]
}]
END
# Uncomment for debugging the watchman query
# open (my $fh, ">", ".git/watchman-query.json");
# print $fh $query;
# close $fh;
print CHLD_IN $query;
close CHLD_IN;
my $response = do {local $/; <CHLD_OUT>};
# Uncomment for debugging the watch response
# open ($fh, ">", ".git/watchman-response.json");
# print $fh $response;
# close $fh;
die "Watchman: command returned no output.\n" .
"Falling back to scanning...\n" if $response eq "";
die "Watchman: command returned invalid output: $response\n" .
"Falling back to scanning...\n" unless $response =~ /^\{/;
return $json_pkg->new->utf8->decode($response);
}
sub is_work_tree_watched {
my ($output) = @_;
my $error = $output->{error};
if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) {
$retry--;
my $response = qx/watchman watch "$git_work_tree"/;
die "Failed to make watchman watch '$git_work_tree'.\n" .
"Falling back to scanning...\n" if $? != 0;
$output = $json_pkg->new->utf8->decode($response);
$error = $output->{error};
die "Watchman: $error.\n" .
"Falling back to scanning...\n" if $error;
# Uncomment for debugging watchman output
# open (my $fh, ">", ".git/watchman-output.out");
# close $fh;
# Watchman will always return all files on the first query so
# return the fast "everything is dirty" flag to git and do the
# Watchman query just to get it over with now so we won't pay
# the cost in git to look up each individual file.
my $o = watchman_clock();
$error = $output->{error};
die "Watchman: $error.\n" .
"Falling back to scanning...\n" if $error;
output_result($o->{clock}, ("/"));
$last_update_token = $o->{clock};
eval { launch_watchman() };
return 0;
}
die "Watchman: $error.\n" .
"Falling back to scanning...\n" if $error;
return 1;
}
sub get_working_dir {
my $working_dir;
if ($^O =~ 'msys' || $^O =~ 'cygwin') {
$working_dir = Win32::GetCwd();
$working_dir =~ tr/\\/\//;
} else {
require Cwd;
$working_dir = Cwd::cwd();
}
return $working_dir;
}

View file

@ -1,8 +0,0 @@
#!/bin/sh
#
# An example hook script to prepare a packed repository for use over
# dumb transports.
#
# To enable this hook, rename this file to "post-update".
exec git update-server-info

View file

@ -1,14 +0,0 @@
#!/bin/sh
#
# An example hook script to verify what is about to be committed
# by applypatch from an e-mail message.
#
# The hook should exit with non-zero status after issuing an
# appropriate message if it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-applypatch".
. git-sh-setup
precommit="$(git rev-parse --git-path hooks/pre-commit)"
test -x "$precommit" && exec "$precommit" ${1+"$@"}
:

View file

@ -1,49 +0,0 @@
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git commit" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message if
# it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-commit".
if git rev-parse --verify HEAD >/dev/null 2>&1
then
against=HEAD
else
# Initial commit: diff against an empty tree object
against=$(git hash-object -t tree /dev/null)
fi
# If you want to allow non-ASCII filenames set this variable to true.
allownonascii=$(git config --type=bool hooks.allownonascii)
# Redirect output to stderr.
exec 1>&2
# Cross platform projects tend to avoid non-ASCII filenames; prevent
# them from being added to the repository. We exploit the fact that the
# printable range starts at the space character and ends with tilde.
if [ "$allownonascii" != "true" ] &&
# Note that the use of brackets around a tr range is ok here, (it's
# even required, for portability to Solaris 10's /usr/bin/tr), since
# the square bracket bytes happen to fall in the designated range.
test $(git diff --cached --name-only --diff-filter=A -z $against |
LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0
then
cat <<\EOF
Error: Attempt to add a non-ASCII file name.
This can cause problems if you want to work with people on other platforms.
To be portable it is advisable to rename the file.
If you know what you are doing you can disable this check using:
git config hooks.allownonascii true
EOF
exit 1
fi
# If there are whitespace errors, print the offending file names and fail.
exec git diff-index --check --cached $against --

View file

@ -1,13 +0,0 @@
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git merge" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message to
# stderr if it wants to stop the merge commit.
#
# To enable this hook, rename this file to "pre-merge-commit".
. git-sh-setup
test -x "$GIT_DIR/hooks/pre-commit" &&
exec "$GIT_DIR/hooks/pre-commit"
:

View file

@ -1,53 +0,0 @@
#!/bin/sh
# An example hook script to verify what is about to be pushed. Called by "git
# push" after it has checked the remote status, but before anything has been
# pushed. If this script exits with a non-zero status nothing will be pushed.
#
# This hook is called with the following parameters:
#
# $1 -- Name of the remote to which the push is being done
# $2 -- URL to which the push is being done
#
# If pushing without using a named remote those arguments will be equal.
#
# Information about the commits which are being pushed is supplied as lines to
# the standard input in the form:
#
# <local ref> <local oid> <remote ref> <remote oid>
#
# This sample shows how to prevent push of commits where the log message starts
# with "WIP" (work in progress).
remote="$1"
url="$2"
zero=$(git hash-object --stdin </dev/null | tr '[0-9a-f]' '0')
while read local_ref local_oid remote_ref remote_oid
do
if test "$local_oid" = "$zero"
then
# Handle delete
:
else
if test "$remote_oid" = "$zero"
then
# New branch, examine all commits
range="$local_oid"
else
# Update to existing branch, examine new commits
range="$remote_oid..$local_oid"
fi
# Check for WIP commit
commit=$(git rev-list -n 1 --grep '^WIP' "$range")
if test -n "$commit"
then
echo >&2 "Found WIP commit in $local_ref, not pushing"
exit 1
fi
fi
done
exit 0

View file

@ -1,169 +0,0 @@
#!/bin/sh
#
# Copyright (c) 2006, 2008 Junio C Hamano
#
# The "pre-rebase" hook is run just before "git rebase" starts doing
# its job, and can prevent the command from running by exiting with
# non-zero status.
#
# The hook is called with the following parameters:
#
# $1 -- the upstream the series was forked from.
# $2 -- the branch being rebased (or empty when rebasing the current branch).
#
# This sample shows how to prevent topic branches that are already
# merged to 'next' branch from getting rebased, because allowing it
# would result in rebasing already published history.
publish=next
basebranch="$1"
if test "$#" = 2
then
topic="refs/heads/$2"
else
topic=`git symbolic-ref HEAD` ||
exit 0 ;# we do not interrupt rebasing detached HEAD
fi
case "$topic" in
refs/heads/??/*)
;;
*)
exit 0 ;# we do not interrupt others.
;;
esac
# Now we are dealing with a topic branch being rebased
# on top of master. Is it OK to rebase it?
# Does the topic really exist?
git show-ref -q "$topic" || {
echo >&2 "No such branch $topic"
exit 1
}
# Is topic fully merged to master?
not_in_master=`git rev-list --pretty=oneline ^master "$topic"`
if test -z "$not_in_master"
then
echo >&2 "$topic is fully merged to master; better remove it."
exit 1 ;# we could allow it, but there is no point.
fi
# Is topic ever merged to next? If so you should not be rebasing it.
only_next_1=`git rev-list ^master "^$topic" ${publish} | sort`
only_next_2=`git rev-list ^master ${publish} | sort`
if test "$only_next_1" = "$only_next_2"
then
not_in_topic=`git rev-list "^$topic" master`
if test -z "$not_in_topic"
then
echo >&2 "$topic is already up to date with master"
exit 1 ;# we could allow it, but there is no point.
else
exit 0
fi
else
not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"`
/usr/bin/perl -e '
my $topic = $ARGV[0];
my $msg = "* $topic has commits already merged to public branch:\n";
my (%not_in_next) = map {
/^([0-9a-f]+) /;
($1 => 1);
} split(/\n/, $ARGV[1]);
for my $elem (map {
/^([0-9a-f]+) (.*)$/;
[$1 => $2];
} split(/\n/, $ARGV[2])) {
if (!exists $not_in_next{$elem->[0]}) {
if ($msg) {
print STDERR $msg;
undef $msg;
}
print STDERR " $elem->[1]\n";
}
}
' "$topic" "$not_in_next" "$not_in_master"
exit 1
fi
<<\DOC_END
This sample hook safeguards topic branches that have been
published from being rewound.
The workflow assumed here is:
* Once a topic branch forks from "master", "master" is never
merged into it again (either directly or indirectly).
* Once a topic branch is fully cooked and merged into "master",
it is deleted. If you need to build on top of it to correct
earlier mistakes, a new topic branch is created by forking at
the tip of the "master". This is not strictly necessary, but
it makes it easier to keep your history simple.
* Whenever you need to test or publish your changes to topic
branches, merge them into "next" branch.
The script, being an example, hardcodes the publish branch name
to be "next", but it is trivial to make it configurable via
$GIT_DIR/config mechanism.
With this workflow, you would want to know:
(1) ... if a topic branch has ever been merged to "next". Young
topic branches can have stupid mistakes you would rather
clean up before publishing, and things that have not been
merged into other branches can be easily rebased without
affecting other people. But once it is published, you would
not want to rewind it.
(2) ... if a topic branch has been fully merged to "master".
Then you can delete it. More importantly, you should not
build on top of it -- other people may already want to
change things related to the topic as patches against your
"master", so if you need further changes, it is better to
fork the topic (perhaps with the same name) afresh from the
tip of "master".
Let's look at this example:
o---o---o---o---o---o---o---o---o---o "next"
/ / / /
/ a---a---b A / /
/ / / /
/ / c---c---c---c B /
/ / / \ /
/ / / b---b C \ /
/ / / / \ /
---o---o---o---o---o---o---o---o---o---o---o "master"
A, B and C are topic branches.
* A has one fix since it was merged up to "next".
* B has finished. It has been fully merged up to "master" and "next",
and is ready to be deleted.
* C has not merged to "next" at all.
We would want to allow C to be rebased, refuse A, and encourage
B to be deleted.
To compute (1):
git rev-list ^master ^topic next
git rev-list ^master next
if these match, topic has not merged in next at all.
To compute (2):
git rev-list master..topic
if this is empty, it is fully merged to "master".
DOC_END

View file

@ -1,24 +0,0 @@
#!/bin/sh
#
# An example hook script to make use of push options.
# The example simply echoes all push options that start with 'echoback='
# and rejects all pushes when the "reject" push option is used.
#
# To enable this hook, rename this file to "pre-receive".
if test -n "$GIT_PUSH_OPTION_COUNT"
then
i=0
while test "$i" -lt "$GIT_PUSH_OPTION_COUNT"
do
eval "value=\$GIT_PUSH_OPTION_$i"
case "$value" in
echoback=*)
echo "echo from the pre-receive-hook: ${value#*=}" >&2
;;
reject)
exit 1
esac
i=$((i + 1))
done
fi

View file

@ -1,42 +0,0 @@
#!/bin/sh
#
# An example hook script to prepare the commit log message.
# Called by "git commit" with the name of the file that has the
# commit message, followed by the description of the commit
# message's source. The hook's purpose is to edit the commit
# message file. If the hook fails with a non-zero status,
# the commit is aborted.
#
# To enable this hook, rename this file to "prepare-commit-msg".
# This hook includes three examples. The first one removes the
# "# Please enter the commit message..." help message.
#
# The second includes the output of "git diff --name-status -r"
# into the message, just before the "git status" output. It is
# commented because it doesn't cope with --amend or with squashed
# commits.
#
# The third example adds a Signed-off-by line to the message, that can
# still be edited. This is rarely a good idea.
COMMIT_MSG_FILE=$1
COMMIT_SOURCE=$2
SHA1=$3
/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE"
# case "$COMMIT_SOURCE,$SHA1" in
# ,|template,)
# /usr/bin/perl -i.bak -pe '
# print "\n" . `git diff --cached --name-status -r`
# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;;
# *) ;;
# esac
# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE"
# if test -z "$COMMIT_SOURCE"
# then
# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE"
# fi

View file

@ -1,78 +0,0 @@
#!/bin/sh
# An example hook script to update a checked-out tree on a git push.
#
# This hook is invoked by git-receive-pack(1) when it reacts to git
# push and updates reference(s) in its repository, and when the push
# tries to update the branch that is currently checked out and the
# receive.denyCurrentBranch configuration variable is set to
# updateInstead.
#
# By default, such a push is refused if the working tree and the index
# of the remote repository has any difference from the currently
# checked out commit; when both the working tree and the index match
# the current commit, they are updated to match the newly pushed tip
# of the branch. This hook is to be used to override the default
# behaviour; however the code below reimplements the default behaviour
# as a starting point for convenient modification.
#
# The hook receives the commit with which the tip of the current
# branch is going to be updated:
commit=$1
# It can exit with a non-zero status to refuse the push (when it does
# so, it must not modify the index or the working tree).
die () {
echo >&2 "$*"
exit 1
}
# Or it can make any necessary changes to the working tree and to the
# index to bring them to the desired state when the tip of the current
# branch is updated to the new commit, and exit with a zero status.
#
# For example, the hook can simply run git read-tree -u -m HEAD "$1"
# in order to emulate git fetch that is run in the reverse direction
# with git push, as the two-tree form of git read-tree -u -m is
# essentially the same as git switch or git checkout that switches
# branches while keeping the local changes in the working tree that do
# not interfere with the difference between the branches.
# The below is a more-or-less exact translation to shell of the C code
# for the default behaviour for git's push-to-checkout hook defined in
# the push_to_deploy() function in builtin/receive-pack.c.
#
# Note that the hook will be executed from the repository directory,
# not from the working tree, so if you want to perform operations on
# the working tree, you will have to adapt your code accordingly, e.g.
# by adding "cd .." or using relative paths.
if ! git update-index -q --ignore-submodules --refresh
then
die "Up-to-date check failed"
fi
if ! git diff-files --quiet --ignore-submodules --
then
die "Working directory has unstaged changes"
fi
# This is a rough translation of:
#
# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX
if git cat-file -e HEAD 2>/dev/null
then
head=HEAD
else
head=$(git hash-object -t tree --stdin </dev/null)
fi
if ! git diff-index --quiet --cached --ignore-submodules $head --
then
die "Working directory has staged changes"
fi
if ! git read-tree -u -m "$commit"
then
die "Could not update working tree to new HEAD"
fi

View file

@ -1,128 +0,0 @@
#!/bin/sh
#
# An example hook script to block unannotated tags from entering.
# Called by "git receive-pack" with arguments: refname sha1-old sha1-new
#
# To enable this hook, rename this file to "update".
#
# Config
# ------
# hooks.allowunannotated
# This boolean sets whether unannotated tags will be allowed into the
# repository. By default they won't be.
# hooks.allowdeletetag
# This boolean sets whether deleting tags will be allowed in the
# repository. By default they won't be.
# hooks.allowmodifytag
# This boolean sets whether a tag may be modified after creation. By default
# it won't be.
# hooks.allowdeletebranch
# This boolean sets whether deleting branches will be allowed in the
# repository. By default they won't be.
# hooks.denycreatebranch
# This boolean sets whether remotely creating branches will be denied
# in the repository. By default this is allowed.
#
# --- Command line
refname="$1"
oldrev="$2"
newrev="$3"
# --- Safety check
if [ -z "$GIT_DIR" ]; then
echo "Don't run this script from the command line." >&2
echo " (if you want, you could supply GIT_DIR then run" >&2
echo " $0 <ref> <oldrev> <newrev>)" >&2
exit 1
fi
if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then
echo "usage: $0 <ref> <oldrev> <newrev>" >&2
exit 1
fi
# --- Config
allowunannotated=$(git config --type=bool hooks.allowunannotated)
allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch)
denycreatebranch=$(git config --type=bool hooks.denycreatebranch)
allowdeletetag=$(git config --type=bool hooks.allowdeletetag)
allowmodifytag=$(git config --type=bool hooks.allowmodifytag)
# check for no description
projectdesc=$(sed -e '1q' "$GIT_DIR/description")
case "$projectdesc" in
"Unnamed repository"* | "")
echo "*** Project description file hasn't been set" >&2
exit 1
;;
esac
# --- Check types
# if $newrev is 0000...0000, it's a commit to delete a ref.
zero=$(git hash-object --stdin </dev/null | tr '[0-9a-f]' '0')
if [ "$newrev" = "$zero" ]; then
newrev_type=delete
else
newrev_type=$(git cat-file -t $newrev)
fi
case "$refname","$newrev_type" in
refs/tags/*,commit)
# un-annotated tag
short_refname=${refname##refs/tags/}
if [ "$allowunannotated" != "true" ]; then
echo "*** The un-annotated tag, $short_refname, is not allowed in this repository" >&2
echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2
exit 1
fi
;;
refs/tags/*,delete)
# delete tag
if [ "$allowdeletetag" != "true" ]; then
echo "*** Deleting a tag is not allowed in this repository" >&2
exit 1
fi
;;
refs/tags/*,tag)
# annotated tag
if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1
then
echo "*** Tag '$refname' already exists." >&2
echo "*** Modifying a tag is not allowed in this repository." >&2
exit 1
fi
;;
refs/heads/*,commit)
# branch
if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then
echo "*** Creating a branch is not allowed in this repository" >&2
exit 1
fi
;;
refs/heads/*,delete)
# delete branch
if [ "$allowdeletebranch" != "true" ]; then
echo "*** Deleting a branch is not allowed in this repository" >&2
exit 1
fi
;;
refs/remotes/*,commit)
# tracking branch
;;
refs/remotes/*,delete)
# delete tracking branch
if [ "$allowdeletebranch" != "true" ]; then
echo "*** Deleting a tracking branch is not allowed in this repository" >&2
exit 1
fi
;;
*)
# Anything else (is there anything else?)
echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2
exit 1
;;
esac
# --- Finished
exit 0

View file

@ -1,6 +0,0 @@
# git ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~

View file

@ -1,29 +0,0 @@
# pack-refs with: peeled fully-peeled sorted
afeaf4cb6dfda3abf84e36e9bf36f8142a01958c refs/heads/dev
defa7fc34b9ad0e503a2ba3112361f2ad7332d57 refs/heads/master
f00654e861acd824ae0fadf852fb1eda589628a9 refs/tags/v0.0.0.1
b41cc03f40ecf51e36cde7bf52d9ada8a1fb9cdc refs/tags/v0.0.0.2
94cb838642fffde778a668df5d325fc38ec687c1 refs/tags/v0.0.0.3
9d225eee4b8c1c52dcea1a5f4485bd150985a4f7 refs/tags/v0.0.1.0
d082ebdf94a61fb3dedbe76b9fd4db8cdc5ea746 refs/tags/v0.0.1.1
22e8bc13f56b64345499762ba0560dc04f294168 refs/tags/v0.0.1.2
84e4c21ec2fdfb96faab864bffd2bf42de69e1ce refs/tags/v0.0.1.3
1ca57f06f745148ee7fc265c6a7e2b80c3f9e550 refs/tags/v0.0.2.0
24e253b12fdb93013c99dc00e5eea9dad96f55f3 refs/tags/v0.0.2.1
d7ac051d257b9a1cf8e1f2434aafff2d7f757694 refs/tags/v0.0.3.0
8298c6e785daedae4cb89c7871ead219c4b3a5f4 refs/tags/v0.0.3.1
f71778e6bdec97d79f55ba8b0c9f6752ee92af5a refs/tags/v0.0.3.2
71cd7c593353762464daf9a4f857a6cadd5ed568 refs/tags/v0.0.4.0
d5d38eb21f231cd550803d2d1ab1ee69ca9fd568 refs/tags/v0.0.5.0
ba106fe76f6d722b0051d19adb591543a9e0a1d5 refs/tags/v0.0.5.1
f3b3d0c31f508696bc66643a0cd8b6ec675cc6a8 refs/tags/v0.0.6.0
fab4f4183a7a9da1fecefee0198681d265ff0a60 refs/tags/v0.0.6.1
bbfa553c76867f6775f4c7b6bc6a576cbefa4817 refs/tags/v0.0.7.0
48623ac1ffbda547aba955bb742952c0bd2fc3b8 refs/tags/v0.0.8.0
1b93f91cb492293ffa6d0885867ccfdaa9f2800d refs/tags/v0.0.9.0
dca71aa86aca934428285e9fd95991faf0301e8a refs/tags/v0.1.0.0
b3f44c138fe495178f649cee9b05b0cabea960f3 refs/tags/v0.1.1.0
07d68f1772237c8cdf7495a227782b6a4262f735 refs/tags/v0.1.1.1
10ec0338809317393656f852531a8b7b22823a35 refs/tags/v0.1.2.0
085c996d3f2236fcdd20f55357e31261aa979d7c refs/tags/v0.1.3.0
7d81196db058b12d548f7e5cbf046422fbf176b8 refs/tags/v0.1.4.0

View file

@ -1,5 +0,0 @@
real 0m10.966s
user 0m5.525s
sys 0m1.134s

View file

@ -1,17 +0,0 @@
[*] skalibs-2.13.1.0_1 General purpose libraries for building software from skarnet.org
[*] execline-2.9.2.0_1 Non-interactive scripting language
[*] s6-2.11.3.0_1 Small suite of programs for UNIX, designed to allow process supervision
[*] s6-dns-2.3.5.5_1 Suite of DNS client programs and libraries for Unix systems
[*] s6-linux-utils-2.6.1.0_1 Minimalistic Linux-specific system utilities (s6-chroot, s6-mount etc.)
[*] s6-networking-2.5.1.3_1 Suite of small network utilities for Unix systems
[*] s6-portable-utils-2.3.0.0_1 Tiny portable generic utilities (s6-cat, s6-chmod, etc.)
[*] s6-rc-0.5.4.1_1 Service manager of the s6 init system
[*] oblibs-0.1.4.0_3 Obarun library
[*] 66-0.6.2.0_4 Small tools built around s6 and s6-rc programs
[*] 66-devel-0.6.2.0_4 Small tools built around s6 and s6-rc programs - development files
[*] 66-0.6.2.0_4 Small tools built around s6 and s6-rc programs
[*] 66-devel-0.6.2.0_4 Small tools built around s6 and s6-rc programs - development files
[*] 66-tools-0.0.8.0_3 Small tools and helpers for service scripts execution
[*] boot-66serv-2.4.1.20230311_1 Stage 1 boot for 66

2
skarnet Normal file
View file

@ -0,0 +1,2 @@
moved to jobcomm/66-EOL

View file

@ -1,28 +0,0 @@
#!/usr/bin/bash
#export pkg=none
for pkg in $(cat skalist) ; do
echo $pkg
cd $pkg
sudo pacman -S $(cat deps) --noconfirm
/usr/local/bin/mkpkg
read
ls -altr /var/cache/jobcore | grep $pkg
read
echo compare our version with latest in source
grep pkgver PKGBUILD
cat $pkg/packed-refs
read
sudo mv *.pkg.tar.xz /var/cache/jobcore/
ls -altr /var/cache/jobcore | grep $pkg
read
sh clean
sudo pacman -Rnsu $(cat deps) --noconfirm
/usr/local/bin/ckchroot
read
pwd
ls -altr
cd ..
/usr/local/bin/repojobcore
read
echo next
done

View file

@ -1,33 +0,0 @@
#!/usr/bin/bash
#export pkg=none
mkdir /tmp/ska
sudo pacman -S git --noconfirm
for pkg in $(cat skalist) ; do
echo $pkg
cd $pkg
sudo pacman -U /tmp/ska/$(cat deps | grep -v git)* --noconfirm 2>/dev/null
/usr/local/bin/mkpkg
## read
# ls -altr /var/cache/jobcore | grep $pkg
ls -altr /tmp/ska | grep $pkg
## read
echo compare our version with latest in source
grep pkgver PKGBUILD
cat $pkg/packed-refs
## read
sudo pacman -U *.pkg.tar.xz --noconfirm
sudo mv *.pkg.tar.xz /tmp/ska/
ls -altr /tmp/ska | grep $pkg
# read
sh clean2
## read
pwd
ls -altr
cd ..
# /usr/local/bin/repojobcore
## read
echo next
done
sudo pacman -Rnsu git $(cat skalist) --noconfirm
ckchroot
ls -altr /tmp/ska

View file

@ -1,36 +0,0 @@
#!/usr/bin/bash
#export pkg=none
for pkg in $(cat skalist3) ; do
echo $pkg
cd $pkg
sudo pacman -S $(cat deps) --noconfirm
#sudo pacman -U /tmp/s6/$(cat deps | grep -v git)
# nano PKGBUILD
rm -rf {src,pkg}
/usr/local/bin/mkpkg
# grep $(grep _pkgver=v PKGBUILD | cut -b 10-) $pkg/packed-refs >>PKGBUILD
# nano PKGBUILD
# read
ls -altr /var/cache/jobcore/$pkg*
ls -altr *.pkg.tar.xz
read
echo compare our version with latest in source
# grep pkgver PKGBUILD
# cat $pkg/packed-refs
read
sudo mv *.pkg.tar.xz /tmp/s6/
ls -altr /tmp/s6/$pkg*
read
# sh clean
sudo pacman -Rnsu $(cat deps) --noconfirm
/usr/local/bin/ckchroot
read
pwd
rm -rf {src,pkg}
ls -altr
cd ..
# sudo mv *pkg.tar.xz /var/cache/jobcore/
# /usr/local/bin/repojobcore
# read
echo next
done

View file

@ -1,13 +0,0 @@
#!/usr/bin/bash
#export pkg=none
for pkg in $(cat skalist) ; do
echo $pkg
cd $pkg
sh clean
ls -lh
cd ..
# sudo mv *pkg.tar.xz /var/cache/jobcore/
# /usr/local/bin/repojobcore
read
echo next
done

View file

@ -1,57 +0,0 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/skarnet/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=execline
pkgver=2.9.3.0
_pkgver=v2.9.3.0
pkgrel=03
pkgdesc="An interpreter-less scripting language - Last ver that works with 66-EOL"
url="http://skarnet.org/software/execline/"
groups=(66-EOL)
depends=('skalibs=2.13.1.1')
makedepends=('git' 'skalibs=2.13.1.1')
# a0b46c927ebb2c60ac850964aa0b3cb28f6c8d74 refs/tags/v2.9.1.0 ## if you wanted a specific tag
source=("$pkgname::git+git://git.skarnet.org/execline#tag=${_pkgver}")
_pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
build() {
cd "$srcdir/$pkgname"
./configure --prefix=/usr \
--libexecdir=/usr/libexec \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--shebangdir=/usr/bin \
--disable-shared \
--with-lib=/usr/lib/skalibs
make
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install
# add doc
install -dm 0755 $pkgdir/usr/share/doc/$pkgname/
cp -R doc/* $pkgdir/usr/share/doc/$pkgname/
install -Dm644 COPYING "$pkgdir/usr/share/licenses/${pkgname%-*}/COPYING"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('ISC')
sha256sums=(SKIP)
## d14e8223dc98b0fec8049d8521826be202c8aa7cf966c326dcea18b0456ca269 execline-2.9.3.0-03-x86_64.pkg.tar.lz

View file

@ -1,42 +0,0 @@
# Maintainer: Eric Vidal <eric@obarun.org>
pkgname=execline
pkgver=2.8.1.0
pkgrel=1
pkgdesc="An interpreter-less scripting language."
arch=(x86_64)
url="http://skarnet.org/software/execline/"
license=('ISC')
groups=(s6-suite)
groups=('base' 's6-suite')
makedepends=('git' 'skalibs>=2.11.0.0')
source=("$pkgname::git+git://git.skarnet.org/execline#tag=v${pkgver}")
md5sums=('SKIP')
#pkgver() {
# cd $pkgbase
# git describe --tags | sed 's/-/+/g'
#}
build() {
cd "$srcdir/$pkgname"
./configure --prefix=/usr \
--libexecdir=/usr/libexec \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--shebangdir=/usr/bin \
--disable-shared \
--with-lib=/usr/lib/skalibs
make
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install
# add doc
install -dm 0755 $pkgdir/usr/share/doc/$pkgname/
cp -R doc/* $pkgdir/usr/share/doc/$pkgname/
install -Dm644 COPYING "$pkgdir/usr/share/licenses/${pkgname%-*}/COPYING"
}

View file

@ -1 +0,0 @@
rm -rf {src,pkg,execline}

View file

@ -1 +0,0 @@
rm -rf {src,pkg}

View file

@ -1,2 +0,0 @@
git
skalibs

View file

@ -1,6 +0,0 @@
real 0m10.267s
user 0m7.311s
sys 0m1.659s

View file

@ -1,50 +0,0 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/skarnet/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=mdevd
pkgver=0.1.6.2
pkgrel=03
pkgdesc="a mdev-compatible hotplug manager daemon - Last ver that works with 66-EOL"
url="http://skarnet.org/software/mdevd/"
makedepends=('git' 'skalibs=2.13.1.1')
depends=('skalibs=2.13.1.1')
groups=('66-EOL')
#commit=0838e7bd13c9f847c06d015d86a8a1ff403a2e8f # refs/tags/v0.1.6.1
source=("$pkgname::git+git://git.skarnet.org/mdevd#tag=v${pkgver}")
build() {
cd ${srcdir}/${pkgname}
./configure --prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--datadir=/etc \
--disable-shared \
--with-lib=/usr/lib/skalibs
make
}
package() {
cd ${srcdir}/${pkgname}
DESTDIR=${pkgdir} make install
# add doc
install -dm 0755 $pkgdir/usr/share/doc/$pkgname/
cp -R doc/* $pkgdir/usr/share/doc/$pkgname/
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(ISC)
sha256sums=(SKIP)
## d9ae98a579840709fa52eb1aa25d287c50509c47c691efa3327fcda35552f823 mdevd-0.1.6.2-03-x86_64.pkg.tar.lz

View file

@ -1,23 +0,0 @@
pkgname=mdevd
pkgver=0.1.5.2
pkgrel=1
pkgdesc="A small daemon managing kernel hotplug events, similarly to udevd."
arch=('x86_64')
url=https://skarnet.org/software/mdevd/
license=('ISC')
depends=('skalibs>=2.11.0.0')
optdepends=('execline')
source=("https://skarnet.org/software/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('460372b3d3bac9f3574156ed7e48618f9f4a361cb52c4494ad9063248ab4a4ff')
build() {
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

View file

@ -1,41 +0,0 @@
# Maintainer: Eric Vidal <eric@obarun.org>
pkgname=mdevd
pkgver=0.1.5.0
pkgrel=1
pkgdesc="a mdev-compatible hotplug manager daemon"
arch=(x86_64)
url="http://skarnet.org/software/mdevd/"
license=('ISC')
makedepends=('git' 'skalibs>=2.11.0.0')
depends=('skalibs>=2.11.0.0')
groups=('s6-suite')
source=("$pkgname::git+git://git.skarnet.org/mdevd#tag=v${pkgver}")
#source=("$pkgname::git+git://git.skarnet.org/mdevd#commit=$_commit")
#_commit= # tag
sha256sums=('SKIP')
build() {
cd ${srcdir}/${pkgname}
./configure --prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--datadir=/etc \
--disable-shared \
--with-lib=/usr/lib/skalibs
make
}
package() {
cd ${srcdir}/${pkgname}
DESTDIR=${pkgdir} make install
# add doc
install -dm 0755 $pkgdir/usr/share/doc/$pkgname/
cp -R doc/* $pkgdir/usr/share/doc/$pkgname/
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:ft=sh ts=2 sw=2 et:

View file

@ -1,2 +0,0 @@
rm -rf {src,pkg,mdevd}

View file

@ -1,2 +0,0 @@
skalibs
git

View file

@ -1,5 +0,0 @@
real 0m8.877s
user 0m2.293s
sys 0m0.418s

View file

@ -1,13 +0,0 @@
skalibs/skalibs-2.13.1.1-01-x86_64.pkg.tar.lz
execline/execline-2.9.3.0-02-x86_64.pkg.tar.lz
mdevd/mdevd-0.1.6.2-02-x86_64.pkg.tar.lz
s6-portable-utils/s6-portable-utils-2.3.0.2-01-x86_64.pkg.tar.lz
s6/s6-2.11.3.2-01-x86_64.pkg.tar.lz
s6-rc/s6-rc-0.5.4.1-01-x86_64.pkg.tar.lz
s6-linux-utils/s6-linux-utils-2.6.1.2-01-x86_64.pkg.tar.lz
s6-dns/s6-dns-2.3.5.5-02-x86_64.pkg.tar.lz
s6-networking/s6-networking-2.5.1.3-02-x86_64.pkg.tar.lz
oblibs/oblibs-0.1.4.0-06-x86_64.pkg.tar.lz
66/66-0.6.2.0-08-x86_64.pkg.tar.lz
66-tools/66-tools-0.0.8.0-07-x86_64.pkg.tar.lz
boot-66serv/boot-66serv-2.4.1-06-x86_64.pkg.tar.lz

View file

@ -1,36 +0,0 @@
This is the final version suite of s6/skalibs that 66 could be built
before the new 66 2024 release which will be based on the latest
skarnet stack. We are making adjustments for those who may dislike
the new version and want to keep the older.
We are also placing the old version of s6 and 66 in jobcomm as
secondary in importance software while runit is kept in jobcore.
Please note that all trees and service structure formed on the
early version of 66 will be lost once moving to the new and
vice versa if you move back to the early one.
We are calling this suite of s6 + 66 the (66-EOL) for End Of Life
while the next version will be called (66-NL) for Next Life
Coexistence with runit will remain unaffected with either suites.
66-EOL versions are as follows:
jobcore/skalibs 2.13.1.1-02 (66-EOL)
jobcore/s6 2.11.3.2-02 (66-EOL)
jobcore/s6-rc 0.5.4.1-02 (66-EOL)
jobcore/mdevd 0.1.6.2-03 (66-EOL)
jobcore/s6-dns 2.3.5.5-03 (66-EOL)
jobcore/s6-linux-utils 2.6.1.2-02 (66-EOL)
jobcore/s6-networking 2.5.1.3-03 (66-EOL)
jobcore/s6-portable-utils 2.3.0.2-02 (66-EOL)
jobcore/oblibs 0.1.4.0-07 (66-EOL)
jobcore/66 0.6.2.0-09 (66-EOL)
jobcore/66-tools 0.0.8.0-08 (66-EOL)
jobcore/boot-66serv 2.4.1-07 (66-EOL)
jobcore/boot@-66serv 99.99-02 (66-EOL)
jobcore/execline 2.9.3.0-03 (66-EOL)
jobcore/jobo66 0.1.1-04 (66-EOL)

View file

@ -1,58 +0,0 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/skarnet/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=s6-dns
pkgver=2.3.5.5
_pkgver=v2.3.5.5
pkgrel=03
pkgdesc="A suite of DNS client programs and libraries for Unix systems - Last ver that works with 66-EOL"
url="http://skarnet.org/software/s6/"
makedepends=('git' 'skalibs=2.13.1.1')
depends=('skalibs=2.13.1.1')
groups=(66-EOL)
source=("$pkgname::git+git://git.skarnet.org/s6-dns#tag=${_pkgver}")
#_commit=070fb7154e7d0d0065b701ff6c41682b5f6ab2d9 # refs/tags/v2.3.5.5
#source=("$pkgname::git+git://git.skarnet.org/s6-dns#commit=$_commit")
_pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
build() {
cd ${srcdir}/${pkgname}
./configure --prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--datadir=/etc \
--disable-shared \
--with-lib=/usr/lib/skalibs
make
}
package() {
cd ${srcdir}/${pkgname}
DESTDIR=${pkgdir} make install
# add doc
install -dm 0755 $pkgdir/usr/share/doc/$pkgname/
cp -R doc/* $pkgdir/usr/share/doc/$pkgname/
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(ISC)
sha256sums=(SKIP)
## 29162bb899da3944cb8b41440505e7f22877ba7c1548f8fb102c45083c7ebfd0 s6-dns-2.3.5.5-03-x86_64.pkg.tar.lz

View file

@ -1,46 +0,0 @@
# Maintainer: Eric Vidal <eric@obarun.org>
pkgname=s6-dns
pkgver=2.3.5.2
pkgrel=1
pkgdesc="A suite of DNS client programs and libraries for Unix systems"
arch=(x86_64)
url="http://skarnet.org/software/s6/"
license=('ISC')
makedepends=('git' 'skalibs>=2.11.0.0')
depends=('skalibs>=2.11.0.0')
groups=(s6-suite)
source=("$pkgname::git+git://git.skarnet.org/s6-dns#tag=v${pkgver}")
#_commit=129a05f5a6a60be4b2037f2b6d72711cfdbb1908 # tag 2.2.0.1
#source=("$pkgname::git+git://git.skarnet.org/s6-dns#commit=$_commit")
sha256sums=('SKIP')
#pkgver() {
# cd $pkgbase
# git describe --tags | sed 's/-/+/g'
#}
build() {
cd ${srcdir}/${pkgname}
./configure --prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--datadir=/etc \
--disable-shared \
--with-lib=/usr/lib/skalibs
make
}
package() {
cd ${srcdir}/${pkgname}
DESTDIR=${pkgdir} make install
# add doc
install -dm 0755 $pkgdir/usr/share/doc/$pkgname/
cp -R doc/* $pkgdir/usr/share/doc/$pkgname/
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

View file

@ -1 +0,0 @@
rm -rf {src,pkg,s6-dns}

View file

@ -1 +0,0 @@
rm -rf {src,pkg}

View file

@ -1,2 +0,0 @@
git
skalibs

View file

@ -1,5 +0,0 @@
real 0m3.638s
user 0m2.937s
sys 0m0.456s

View file

@ -1,56 +0,0 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=s6-linux-utils
pkgdesc="A set of tiny Linux-specific utilities - Last ver that works with 66-EOL"
_pkgver=v2.6.1.2
pkgver=2.6.1.2
pkgrel=02
url="http://skarnet.org/software/${pkgname}/"
depends=('skalibs=2.13.1.1')
makedepends=(git 'skalibs=2.13.1.1')
groups=('66-EOL')
source=("$pkgname::git+git://git.skarnet.org/s6-linux-utils#tag=$_pkgver")
_pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
build() {
cd ${srcdir}/${pkgname}
./configure --prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--datadir=/etc \
--disable-shared \
--with-lib=/usr/lib/skalibs
make
}
package() {
cd ${srcdir}/${pkgname}
DESTDIR=${pkgdir} make install
# add doc
install -dm 0755 $pkgdir/usr/share/doc/$pkgname/
cp -R doc/* $pkgdir/usr/share/doc/$pkgname/
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(ISC)
sha256sums=(SKIP)
## 987efdc4f9ae1483c97e313e6a25a455843460c77fbdfa7cbe857f6810821dc0 s6-linux-utils-2.6.1.2-02-x86_64.pkg.tar.lz

View file

@ -1,77 +0,0 @@
# Obarun : 66 init/supervisor
# Maintainer : Eric Vidal <eric@obarun.org>
# Maintainer : Jean-Michel T.Dydak <jean-michel@obarun.org>
# Source : url="https://git.obarun.org/pkg/obcore/s6-linux-utils.git"
#-----------------------------------------------------------------------
pkgdesc="A set of tiny Linux-specific utilities"
pkgname=s6-linux-utils
pkgver=2.5.1.6
pkgrel=1
url="http://skarnet.org/software/${pkgname}/"
track=tag
target="v${pkgver}"
source=(
"$pkgname::git+git://git.skarnet.org/s6-linux-utils#${track}=${target}"
)
#------------------------------BUILD PREPARATION------------------------
makedepends=(
'git'
'skalibs>=2.11.0.0'
)
#pkgver() {
# cd $pkgbase
# git describe --tags | sed 's/-/+/g'
#}
#------------------------------BUILD------------------------------------
build() {
cd ${srcdir}/${pkgname}
./configure --prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--datadir=/etc \
--disable-shared \
--with-lib=/usr/lib/skalibs
make
}
#------------------------------PACKAGE----------------------------------
package() {
cd ${srcdir}/${pkgname}
DESTDIR=${pkgdir} make install
# add doc
install -dm 0755 $pkgdir/usr/share/doc/$pkgname/
cp -R doc/* $pkgdir/usr/share/doc/$pkgname/
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
#------------------------------INSTALL CONFIGURATION--------------------
arch=(x86_64)
depends=(
'skalibs>=2.11.0.0'
)
groups=(
'base'
's6-suite'
)
#-------------------------------SECURITY AND LICENCE--------------------
sha256sums=('SKIP')
license=('ISC')

View file

@ -1 +0,0 @@
rm -rf {src,pkg,s6-linux-utils}

View file

@ -1 +0,0 @@
rm -rf {src,pkg}

View file

@ -1,2 +0,0 @@
git
skalibs

View file

@ -1,6 +0,0 @@
real 0m5.241s
user 0m3.172s
sys 0m0.689s

View file

@ -1,61 +0,0 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/skarnet/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=s6-networking
_pkgver=v2.5.1.3
pkgver=2.5.1.3
pkgrel=03
pkgdesc="Small network and client-server tools - Last ver that works with 66-EOL"
url="http://skarnet.org/software/s6/"
makedepends=(git 'skalibs=2.13.1.1' 'execline=2.9.3.0' 's6=2.11.3.2' 's6-dns=2.3.5.5' )
depends=('skalibs=2.13.1.1' 'execline=2.9.3.0' 's6=2.11.3.2' 's6-dns=2.3.5.5' )
optdepends=('libressl: For build a secure communication tools')
groups=(66-EOL)
#_commit=4cf18919482e3495810c8e3693ea368bdc5753a1 # refs/tags/v2.5.1.2
#source=("$pkgname::git+git://git.skarnet.org/s6-networking#commit=$_commit")
source=("$pkgname::git+git://git.skarnet.org/s6-networking#tag=${_pkgver}")
_pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
build() {
cd ${srcdir}/${pkgname}
./configure --prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--datadir=/etc \
--disable-shared \
--with-lib=/usr/lib/skalibs \
--with-lib=/usr/lib/s6 \
--with-lib=/usr/lib/s6-dns
make
}
package() {
cd ${srcdir}/${pkgname}
DESTDIR=${pkgdir} make install
# add doc
install -dm 0755 $pkgdir/usr/share/doc/$pkgname/
cp -R doc/* $pkgdir/usr/share/doc/$pkgname/
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('ISC')
sha256sums=(SKIP)
## eab1cbc2725ed15144cbcdea42fc5102bd9c5a59e70a28e91769c314e54099e7 s6-networking-2.5.1.3-03-x86_64.pkg.tar.lz

View file

@ -1,49 +0,0 @@
# Maintainer: Eric Vidal <eric@obarun.org>
pkgname=s6-networking
pkgver=2.5.0.0
pkgrel=1
pkgdesc="Small network and client-server tools"
arch=(x86_64)
url="http://skarnet.org/software/s6/"
license=('ISC')
makedepends=('git' 'skalibs>=2.11.0.0' 'execline>=2.8.1.0' 's6>=2.11.0.0' 's6-dns>=2.3.5.2' )
depends=('skalibs>=2.11.0.0' 'execline>=2.8.1.0' 's6>=2.11.0.0' 's6-dns>=2.3.5.2' )
#optdepends=('libressl: For build a secure communication tools')
groups=(s6-suite)
#_commit=61da214808d289f1521a5bd421e105828229b818 # tag 2.3.0.2
#source=("$pkgname::git+git://git.skarnet.org/s6-networking#commit=$_commit")
source=("$pkgname::git+git://git.skarnet.org/s6-networking#tag=v${pkgver}")
sha256sums=('SKIP')
#pkgver() {
# cd $pkgbase
# git describe --tags | sed 's/-/+/g'
#}
build() {
cd ${srcdir}/${pkgname}
./configure --prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--datadir=/etc \
--disable-shared \
--with-lib=/usr/lib/skalibs \
--with-lib=/usr/lib/s6 \
--with-lib=/usr/lib/s6-dns
make
}
package() {
cd ${srcdir}/${pkgname}
DESTDIR=${pkgdir} make install
# add doc
install -dm 0755 $pkgdir/usr/share/doc/$pkgname/
cp -R doc/* $pkgdir/usr/share/doc/$pkgname/
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

View file

@ -1 +0,0 @@
rm -rf {src,pkg,s6-networking}

View file

@ -1 +0,0 @@
rm -rf {src,pkg}

View file

@ -1,5 +0,0 @@
git
skalibs
execline
s6
s6-dns

View file

@ -1,5 +0,0 @@
real 0m9.483s
user 0m4.983s
sys 0m0.809s

View file

@ -1,60 +0,0 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/sharnet/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=s6-portable-utils
_pkgver=v2.3.0.2
pkgver=2.3.0.2
pkgrel=02
pkgdesc="A set of tiny general Unix utilities - Last ver that works with 66-EOL"
url="http://skarnet.org/software/${pkgname}/"
depends=('git' 'skalibs=2.13.1.1')
depends=('skalibs=2.13.1.1')
groups=(66-EOL)
#source=("$pkgname::git+git://git.skarnet.org/s6-portable-utils#commit=$_commit")
source=("$pkgname::git+git://git.skarnet.org/s6-portable-utils#tag=${_pkgver}")
_pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
build() {
cd ${srcdir}/${pkgname}
./configure --prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--datadir=/etc \
--disable-shared \
--with-lib=/usr/lib/skalibs
make
}
package() {
cd ${srcdir}/${pkgname}
DESTDIR=${pkgdir} make install
# add doc
install -dm 0755 $pkgdir/usr/share/doc/$pkgname/
cp -R doc/* $pkgdir/usr/share/doc/$pkgname/
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
ln -sf /usr/bin/eltest $pkgdir/usr/bin/s6-test
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(ISC)
sha256sums=(SKIP)
#sudo sed -i 's/s6-test/test/' /usr/lib/66/module/boot@/service/system/system-fsck
## 12b41c15b678c24dbed4ff9f1357e19ed33b541e0e4a3191bba511891a851eb4 s6-portable-utils-2.3.0.2-02-x86_64.pkg.tar.lz

View file

@ -1,47 +0,0 @@
# Maintainer: Eric Vidal <eric@obarun.org>
pkgname=s6-portable-utils
pkgver=2.2.3.3
pkgrel=1
pkgdesc="A set of tiny general Unix utilities"
arch=(x86_64)
url="http://skarnet.org/software/${pkgname}/"
license=('ISC')
depends=('git' 'skalibs>=2.11.0.0')
depends=('skalibs>=2.11.0.0')
groups=(s6-suite)
#_commit=8e32ad68593aeb3c9ffd664aabc421d2eddc0467 # tag 2.2.1.1
#source=("$pkgname::git+git://git.skarnet.org/s6-portable-utils#commit=$_commit")
source=("$pkgname::git+git://git.skarnet.org/s6-portable-utils#tag=v${pkgver}")
sha256sums=('SKIP')
#pkgver() {
# cd $pkgbase
# git describe --tags | sed 's/-/+/g'
#}
build() {
cd ${srcdir}/${pkgname}
./configure --prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--datadir=/etc \
--disable-shared \
--with-lib=/usr/lib/skalibs
make
}
package() {
cd ${srcdir}/${pkgname}
DESTDIR=${pkgdir} make install
# add doc
install -dm 0755 $pkgdir/usr/share/doc/$pkgname/
cp -R doc/* $pkgdir/usr/share/doc/$pkgname/
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:ft=sh ts=2 sw=2 et:

View file

@ -1 +0,0 @@
rm -rf {src,pkg,s6-portable-utils}

View file

@ -1 +0,0 @@
rm -rf {src,pkg}

View file

@ -1,2 +0,0 @@
git
skalibs

View file

@ -1,6 +0,0 @@
real 0m8.427s
user 0m5.206s
sys 0m1.366s

View file

@ -1,59 +0,0 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/skarnet/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=s6-rc
_pkgver=v0.5.4.1
pkgver=0.5.4.1
pkgrel=02
pkgdesc="A dependency-based init script management system - Last ver that works with 66-EOL"
url="http://skarnet.org/software/${pkgname}/"
#install=s6-rc.install
makedepends=('git' 'skalibs=2.13.1.1' 'execline=2.9.3.0' 's6=2.11.3.2')
depends=('skalibs=2.13.1.1' 'execline=2.9.3.0' 's6=2.11.3.2')
groups=('66-EOL')
source=("$pkgname::git+git://git.skarnet.org/s6-rc#tag=${_pkgver}")
#source=("$pkgname::git+git://git.skarnet.org/s6-rc#commit=$_commit")
_pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
build() {
cd ${srcdir}/${pkgname}
./configure --prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--datadir=/etc \
--disable-shared \
--with-lib=/usr/lib/skalibs \
--with-lib=/usr/lib/execline \
--with-lib=/usr/lib/s6
make
}
package() {
cd ${srcdir}/${pkgname}
DESTDIR=${pkgdir} make install
# add doc
install -dm 0755 $pkgdir/usr/share/doc/$pkgname/
cp -R doc/* $pkgdir/usr/share/doc/$pkgname/
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(ISC)
sha256sums=(SKIP)
## 44de64a167906d243c79c8ca80c606e261b228b234c9e266378676681adaf88b s6-rc-0.5.4.1-02-x86_64.pkg.tar.lz

View file

@ -1,49 +0,0 @@
# Maintainer: Eric Vidal <eric@obarun.org>
pkgname=s6-rc
pkgver=0.5.2.3
pkgrel=1
pkgdesc="A dependency-based init script management system"
arch=(x86_64)
url="http://skarnet.org/software/${pkgname}/"
license=('ISC')
#install=s6-rc.install
depends=('git' 'skalibs>=2.11.0.0' 'execline>=2.8.1.0' 's6>=2.11.0.0')
depends=('skalibs>=2.11.0.0' 'execline>=2.8.1.0' 's6>=2.11.0.0')
groups=('base' 's6-suite')
source=("$pkgname::git+git://git.skarnet.org/s6-rc#tag=v${pkgver}")
#_commit=f01bb649f33d9005e30ec2e82fef05f25b9a8dff # tag 0.3.0.1
#source=("$pkgname::git+git://git.skarnet.org/s6-rc#commit=$_commit")
sha256sums=('SKIP')
#pkgver() {
# cd $pkgbase
# git describe --tags | sed 's/-/+/g'
#}
build() {
cd ${srcdir}/${pkgname}
./configure --prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--datadir=/etc \
--disable-shared \
--with-lib=/usr/lib/skalibs \
--with-lib=/usr/lib/execline \
--with-lib=/usr/lib/s6
make
}
package() {
cd ${srcdir}/${pkgname}
DESTDIR=${pkgdir} make install
# add doc
install -dm 0755 $pkgdir/usr/share/doc/$pkgname/
cp -R doc/* $pkgdir/usr/share/doc/$pkgname/
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:ft=sh ts=2 sw=2 et:

View file

@ -1 +0,0 @@
rm -rf {src,pkg,s6-rc}

View file

@ -1 +0,0 @@
rm -rf {src,pkg}

View file

@ -1,5 +0,0 @@
git
skalibs
execline
s6
s6-portable-utils

View file

@ -1,5 +0,0 @@
real 0m4.057s
user 0m6.396s
sys 0m0.727s

View file

@ -1,58 +0,0 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/skarnet/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=s6
_pkgver=v2.11.3.2
pkgver=2.11.3.2
pkgrel=02
pkgdesc="A process supervision suite - Last ver that works with 66-EOL"
url="http://skarnet.org/software/s6/"
makedepends=('git' 'skalibs=2.13.1.1' 'execline=2.9.3.0')
depends=('skalibs=2.13.1.1' 'execline=2.9.3.0')
groups=('66-EOL')
#source=("$pkgname::git+git://git.skarnet.org/s6#commit=$_commit")
source=("$pkgname::git+git://git.skarnet.org/s6#tag=${_pkgver}")
_pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
build() {
cd ${srcdir}/${pkgname}
./configure --prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--datadir=/etc \
--disable-shared \
--with-lib=/usr/lib/skalibs \
--with-lib=/usr/lib/execline
make
}
package() {
cd ${srcdir}/${pkgname}
DESTDIR=${pkgdir} make install
# add doc
install -dm 0755 $pkgdir/usr/share/doc/$pkgname/
cp -R doc/* $pkgdir/usr/share/doc/$pkgname/
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(ISC)
sha256sums=(SKIP)
## 2faa9d423378e8f0e1d741c2e65eef7d28a749539dea337bfdf6a904287598a4 s6-2.11.3.2-02-x86_64.pkg.tar.lz

View file

@ -1,48 +0,0 @@
# Maintainer: Eric Vidal <eric@obarun.org>
pkgname=s6
pkgver=2.11.0.0
pkgrel=1
pkgdesc="A process supervision suite"
arch=(x86_64)
url="http://skarnet.org/software/s6/"
license=('ISC')
makedepends=('git' 'skalibs>=2.11.0.0' 'execline>=2.8.1.0')
depends=('skalibs>=2.11.0.0' 'execline>=2.8.1.0')
groups=('base' 's6-suite')
#_commit=6c65c3dd94ce2e6a054d9358795ba1f17de03cad # tag 2.8.0.0
#source=("$pkgname::git+git://git.skarnet.org/s6#commit=$_commit")
source=("$pkgname::git+git://git.skarnet.org/s6#tag=v${pkgver}")
sha256sums=('SKIP')
#pkgver() {
# cd $pkgbase
# git describe --tags | sed 's/-/+/g'
#}
build() {
cd ${srcdir}/${pkgname}
./configure --prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--datadir=/etc \
--disable-shared \
--with-lib=/usr/lib/skalibs \
--with-lib=/usr/lib/execline
make
}
package() {
cd ${srcdir}/${pkgname}
DESTDIR=${pkgdir} make install
# add doc
install -dm 0755 $pkgdir/usr/share/doc/$pkgname/
cp -R doc/* $pkgdir/usr/share/doc/$pkgname/
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:ft=sh ts=2 sw=2 et:

View file

@ -1 +0,0 @@
rm -rf {src,pkg,s6}

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