upgrade
This commit is contained in:
parent
423e53ea0c
commit
d73f6728dc
|
@ -0,0 +1,15 @@
|
|||
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
|
||||
}
|
||||
|
||||
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."
|
||||
}
|
|
@ -0,0 +1,68 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=66
|
||||
pkgver=0.6.2.0
|
||||
pkgrel=01
|
||||
pkgdesc="Small tools built around s6 and s6-rc programs"
|
||||
url='https://framagit.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
|
||||
|
||||
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')
|
||||
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')
|
||||
arch=(x86_64)
|
||||
|
||||
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
|
||||
|
||||
## move wrapper at the correct place
|
||||
mv "$pkgdir"/etc/66/init "$pkgdir"/usr/bin
|
||||
mkdir -p "$pkgdir"/usr/bin/s6
|
||||
mv "$pkgdir"/etc/66/{halt,poweroff,reboot,shutdown} "$pkgdir"/usr/bin/s6
|
||||
install -Dm 0644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=(ISC)
|
||||
|
||||
sha256sums=(SKIP
|
||||
a8ccf4276e7ccedbc32244e50e0df802c81cb8ef13b18a6e214e9ddae15dd2c3) # 66.install
|
|
@ -0,0 +1,117 @@
|
|||
# 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=('')
|
|
@ -0,0 +1,12 @@
|
|||
skalibs
|
||||
execline
|
||||
s6
|
||||
s6-rc
|
||||
oblibs
|
||||
skalibs
|
||||
execline
|
||||
s6
|
||||
s6-rc
|
||||
oblibs
|
||||
lowdown
|
||||
git
|
|
@ -0,0 +1,46 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=acl
|
||||
pkgver=2.3.1
|
||||
pkgrel=02
|
||||
pkgdesc='Access control list utilities, libraries and headers'
|
||||
arch=('x86_64')
|
||||
url='https://savannah.nongnu.org/projects/acl'
|
||||
depends=('attr' 'libattr.so')
|
||||
replaces=('xfsacl')
|
||||
provides=('xfsacl' 'libacl.so')
|
||||
# options=('debug')
|
||||
conflicts=('xfsacl')
|
||||
source=("https://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig})
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
./configure \
|
||||
--libdir=/usr/lib \
|
||||
--libexecdir=/usr/lib \
|
||||
--prefix=/usr
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=('LGPL')
|
||||
|
||||
validpgpkeys=('600CD204FBCEA418BD2CA74F154343260542DF34' # Brandon Philips <brandon@ifup.co>
|
||||
'B902B5271325F892AC251AD441633B9FE837F581' # Frysinger <vapier@gentoo.org>
|
||||
'259B3792B3D6D319212CC4DCD5BF9FEB0313653A') # Andreas Gruenbacher <andreas.gruenbacher@gmail.com>
|
||||
|
||||
sha256sums=(760c61c68901b37fdd5eefeeaf4c0c7a26bdfdd8ac747a1edff1ce0e243c11af # acl-2.3.1.tar.gz
|
||||
ecf0fa46c83d1794eaddba7b5e284bca3f8928b55da24b03142277439239913c) # acl-2.3.1.tar.gz.sig
|
|
@ -0,0 +1,37 @@
|
|||
# Maintainer: Thomas Bächler <thomas@archlinux.org>
|
||||
|
||||
pkgname=acl
|
||||
pkgver=2.3.1
|
||||
pkgrel=2
|
||||
pkgdesc='Access control list utilities, libraries and headers'
|
||||
arch=('x86_64')
|
||||
url='https://savannah.nongnu.org/projects/acl'
|
||||
license=('LGPL')
|
||||
depends=('attr' 'libattr.so')
|
||||
replaces=('xfsacl')
|
||||
provides=('xfsacl' 'libacl.so')
|
||||
conflicts=('xfsacl')
|
||||
options=('debug')
|
||||
validpgpkeys=('600CD204FBCEA418BD2CA74F154343260542DF34' # Brandon Philips <brandon@ifup.co>
|
||||
'B902B5271325F892AC251AD441633B9FE837F581' # Frysinger <vapier@gentoo.org>
|
||||
'259B3792B3D6D319212CC4DCD5BF9FEB0313653A') # Andreas Gruenbacher <andreas.gruenbacher@gmail.com>
|
||||
source=("https://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig})
|
||||
sha256sums=('760c61c68901b37fdd5eefeeaf4c0c7a26bdfdd8ac747a1edff1ce0e243c11af'
|
||||
'SKIP')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
./configure \
|
||||
--libdir=/usr/lib \
|
||||
--libexecdir=/usr/lib \
|
||||
--prefix=/usr
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=argon2
|
||||
pkgver=20190702
|
||||
pkgrel=04
|
||||
pkgdesc='A password-hashing function (reference C implementation)'
|
||||
arch=('x86_64')
|
||||
url='https://github.com/P-H-C/phc-winner-argon2'
|
||||
depends=('glibc')
|
||||
provides=('libargon2.so')
|
||||
source=("https://github.com/P-H-C/phc-winner-argon2/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
||||
|
||||
build() {
|
||||
cd "$srcdir/phc-winner-$pkgname-$pkgver"
|
||||
|
||||
make ARGON2_VERSION="${pkgver}" OPTTARGET='none' LIBRARY_REL='lib'
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$srcdir/phc-winner-$pkgname-$pkgver"
|
||||
|
||||
make ARGON2_VERSION="${pkgver}" OPTTARGET='none' LIBRARY_REL='lib' test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/phc-winner-$pkgname-$pkgver"
|
||||
|
||||
make ARGON2_VERSION="${pkgver}" OPTTARGET='none' LIBRARY_REL='lib' DESTDIR="$pkgdir" install
|
||||
|
||||
install -D -m0644 LICENSE "${pkgdir}/usr/share/licenses/argon2/LICENSE"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
||||
license=('Apache' 'custom:CC0')
|
||||
|
||||
sha256sums=('daf972a89577f8772602bf2eb38b6a3dd3d922bf5724d45e7f9589b5e830442c')
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
|
||||
|
||||
pkgname=argon2
|
||||
pkgver=20190702
|
||||
pkgrel=4
|
||||
pkgdesc='A password-hashing function (reference C implementation)'
|
||||
arch=('x86_64')
|
||||
url='https://github.com/P-H-C/phc-winner-argon2'
|
||||
license=('Apache' 'custom:CC0')
|
||||
depends=('glibc')
|
||||
provides=('libargon2.so')
|
||||
source=("https://github.com/P-H-C/phc-winner-argon2/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
||||
sha256sums=('daf972a89577f8772602bf2eb38b6a3dd3d922bf5724d45e7f9589b5e830442c')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/phc-winner-$pkgname-$pkgver"
|
||||
|
||||
make ARGON2_VERSION="${pkgver}" OPTTARGET='none' LIBRARY_REL='lib'
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$srcdir/phc-winner-$pkgname-$pkgver"
|
||||
|
||||
make ARGON2_VERSION="${pkgver}" OPTTARGET='none' LIBRARY_REL='lib' test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/phc-winner-$pkgname-$pkgver"
|
||||
|
||||
make ARGON2_VERSION="${pkgver}" OPTTARGET='none' LIBRARY_REL='lib' DESTDIR="$pkgdir" install
|
||||
|
||||
install -D -m0644 LICENSE "${pkgdir}/usr/share/licenses/argon2/LICENSE"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
|
@ -0,0 +1 @@
|
|||
rm -rvf {src,pkg,argo*.gz}
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,48 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/attr"
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=attr
|
||||
pkgver=2.5.1
|
||||
pkgrel=02
|
||||
pkgdesc='Extended attribute support library for ACL support'
|
||||
arch=('x86_64')
|
||||
url='https://savannah.nongnu.org/projects/attr'
|
||||
depends=('glibc')
|
||||
makedepends=('gettext')
|
||||
replaces=('xfsattr')
|
||||
provides=('xfsattr' 'libattr.so')
|
||||
#options=('debug')
|
||||
conflicts=('xfsattr')
|
||||
backup=('etc/xattr.conf')
|
||||
source=("https://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
./configure \
|
||||
--libdir=/usr/lib \
|
||||
--libexecdir=/usr/lib \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
||||
#---- license gpg-key sha512sums ----
|
||||
|
||||
license=('LGPL')
|
||||
|
||||
validpgpkeys=('600CD204FBCEA418BD2CA74F154343260542DF34' # Brandon Philips <brandon@ifup.co>
|
||||
'B902B5271325F892AC251AD441633B9FE837F581' # Frysinger <vapier@gentoo.org>
|
||||
'259B3792B3D6D319212CC4DCD5BF9FEB0313653A') # Andreas Gruenbacher <andreas.gruenbacher@gmail.com>
|
||||
|
||||
sha256sums=(db448a626f9313a1a970d636767316a8da32aede70518b8050fa0de7947adc32 # attr-2.5.1.tar.xz
|
||||
31357441f6fe2e8e8ab9c36746b2d3885d153dc88b33930c62eefed12f800954) # attr-2.5.1.tar.xz.sig
|
|
@ -0,0 +1,39 @@
|
|||
# Maintainer: Thomas Bächler <thomas@archlinux.org>
|
||||
|
||||
pkgname=attr
|
||||
pkgver=2.5.1
|
||||
pkgrel=2
|
||||
pkgdesc='Extended attribute support library for ACL support'
|
||||
arch=('x86_64')
|
||||
url='https://savannah.nongnu.org/projects/attr'
|
||||
license=('LGPL')
|
||||
depends=('glibc')
|
||||
makedepends=('gettext')
|
||||
replaces=('xfsattr')
|
||||
provides=('xfsattr' 'libattr.so')
|
||||
conflicts=('xfsattr')
|
||||
options=('debug')
|
||||
backup=('etc/xattr.conf')
|
||||
validpgpkeys=('600CD204FBCEA418BD2CA74F154343260542DF34' # Brandon Philips <brandon@ifup.co>
|
||||
'B902B5271325F892AC251AD441633B9FE837F581' # Frysinger <vapier@gentoo.org>
|
||||
'259B3792B3D6D319212CC4DCD5BF9FEB0313653A') # Andreas Gruenbacher <andreas.gruenbacher@gmail.com>
|
||||
source=("https://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
||||
sha256sums=('db448a626f9313a1a970d636767316a8da32aede70518b8050fa0de7947adc32'
|
||||
'SKIP')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
./configure \
|
||||
--libdir=/usr/lib \
|
||||
--libexecdir=/usr/lib \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
rm -rvf {pkg,src,*xz*}
|
|
@ -0,0 +1,75 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgbase=audit
|
||||
pkgname=('audit' 'python-audit')
|
||||
pkgver=3.0.7
|
||||
pkgrel=01
|
||||
pkgdesc='Userspace components of the audit framework w/o systemd'
|
||||
url='https://people.redhat.com/sgrubb/audit'
|
||||
arch=('x86_64')
|
||||
makedepends=('glibc' 'krb5' 'libcap-ng' 'libldap' 'swig' 'linux-lts-headers' 'python')
|
||||
options=(emptydirs)
|
||||
#options=('emptydirs' 'debug')
|
||||
source=(${url}/${pkgname}-${pkgver}.tar.gz)
|
||||
|
||||
build() {
|
||||
cd ${pkgbase}-${pkgver}
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sbindir=/usr/bin \
|
||||
--sysconfdir=/etc \
|
||||
--libexecdir=/usr/lib/audit \
|
||||
--enable-gssapi-krb5=yes \
|
||||
--enable-systemd=no \
|
||||
--with-libcap-ng=yes
|
||||
make
|
||||
[ -n "${SOURCE_DATE_EPOCH}" ] && touch -h -d @$SOURCE_DATE_EPOCH bindings/swig/python/audit.py
|
||||
}
|
||||
|
||||
package_audit() {
|
||||
depends=('glibc' 'krb5' libkrb5.so libgssapi_krb5.so 'libcap-ng' libcap-ng.so)
|
||||
provides=('libaudit.so' 'libauparse.so')
|
||||
backup=(
|
||||
etc/libaudit.conf
|
||||
etc/audit/audit-stop.rules
|
||||
etc/audit/auditd.conf
|
||||
etc/audit/audisp-remote.conf
|
||||
etc/audit/zos-remote.conf
|
||||
etc/audit/plugins.d/af_unix.conf
|
||||
etc/audit/plugins.d/au-remote.conf
|
||||
etc/audit/plugins.d/audispd-zos-remote.conf
|
||||
etc/audit/plugins.d/syslog.conf
|
||||
)
|
||||
|
||||
cd ${pkgbase}-${pkgver}
|
||||
make DESTDIR="${pkgdir}" INSTALL='install -p' install
|
||||
|
||||
cd "${pkgdir}"
|
||||
install -d -m 0700 var/log/audit
|
||||
rm -rf etc/rc.d \
|
||||
etc/sysconfig \
|
||||
usr/lib/audit \
|
||||
usr/lib/python*
|
||||
|
||||
sed -ri 's|/sbin|/usr/bin|' \
|
||||
etc/audit/*.conf \
|
||||
etc/audit/plugins.d/*.conf
|
||||
}
|
||||
|
||||
package_python-audit() {
|
||||
depends=('python' 'audit')
|
||||
pkgdesc+=' (python bindings)'
|
||||
cd ${pkgbase}-${pkgver}
|
||||
make -C bindings DESTDIR="${pkgdir}" INSTALL='install -p' install
|
||||
}
|
||||
|
||||
#---- license gpg-key sha512sums ----
|
||||
|
||||
license=('GPL')
|
||||
|
||||
sha256sums=(8b4c78632a9301a1c7f859b0e38fc0b9c260b8214d6b7c771bf28b3d73a62597) # audit-3.0.7.tar.gz
|
|
@ -0,0 +1,82 @@
|
|||
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
||||
# Maintainer : Christian Rebischke <Chris.Rebischke@archlinux.org>
|
||||
# Contributor: Daniel Micay <danielmicay@gmail.com>
|
||||
# Contributor: <kang@insecure.ws>
|
||||
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
|
||||
# Contributor: Connor Behan <connor.behan@gmail.com>
|
||||
# Contributor: henning mueller <henning@orgizm.net>
|
||||
|
||||
pkgbase=audit
|
||||
pkgname=('audit' 'python-audit')
|
||||
pkgver=3.0.7
|
||||
pkgrel=1
|
||||
pkgdesc='Userspace components of the audit framework'
|
||||
url='https://people.redhat.com/sgrubb/audit'
|
||||
arch=('x86_64')
|
||||
makedepends=('glibc' 'krb5' 'libcap-ng' 'libldap' 'swig' 'linux-headers' 'python')
|
||||
license=('GPL')
|
||||
options=('emptydirs' 'debug')
|
||||
source=(https://people.redhat.com/sgrubb/audit/${pkgname}-${pkgver}.tar.gz)
|
||||
sha512sums=('b5662b32082fc2ac54e247aa0db5442d76afa30134ebba1d624a17004e9ccf6856bb75344af4ce9d9a0a66c03e1c6f18b7d45658d7df13ea71af0c8362e08d70')
|
||||
b2sums=('706db746fb779913619da794bab24a9e890e1655bbd0abb007cbc909b32ab1d643e93953a23ef864d5e189f3447a7ddb4dca1478144cdc226f5a5594545bd28f')
|
||||
|
||||
prepare() {
|
||||
cd ${pkgbase}-${pkgver}
|
||||
sed 's|/var/run/auditd.pid|/run/auditd.pid|' -i init.d/auditd.service
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${pkgbase}-${pkgver}
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sbindir=/usr/bin \
|
||||
--sysconfdir=/etc \
|
||||
--libexecdir=/usr/lib/audit \
|
||||
--enable-gssapi-krb5=yes \
|
||||
--enable-systemd=yes \
|
||||
--with-libcap-ng=yes
|
||||
make
|
||||
[ -n "${SOURCE_DATE_EPOCH}" ] && touch -h -d @$SOURCE_DATE_EPOCH bindings/swig/python/audit.py
|
||||
}
|
||||
|
||||
package_audit() {
|
||||
depends=('glibc' 'krb5' libkrb5.so libgssapi_krb5.so 'libcap-ng' libcap-ng.so)
|
||||
provides=('libaudit.so' 'libauparse.so')
|
||||
backup=(
|
||||
etc/libaudit.conf
|
||||
etc/audit/audit-stop.rules
|
||||
etc/audit/auditd.conf
|
||||
etc/audit/audisp-remote.conf
|
||||
etc/audit/zos-remote.conf
|
||||
etc/audit/plugins.d/af_unix.conf
|
||||
etc/audit/plugins.d/au-remote.conf
|
||||
etc/audit/plugins.d/audispd-zos-remote.conf
|
||||
etc/audit/plugins.d/syslog.conf
|
||||
)
|
||||
|
||||
cd ${pkgbase}-${pkgver}
|
||||
make DESTDIR="${pkgdir}" INSTALL='install -p' install
|
||||
|
||||
cd "${pkgdir}"
|
||||
install -d -m 0700 var/log/audit
|
||||
rm -rf etc/rc.d \
|
||||
etc/sysconfig \
|
||||
usr/lib/audit \
|
||||
usr/lib/python*
|
||||
|
||||
sed -ri 's|/sbin|/usr/bin|' \
|
||||
etc/audit/*.conf \
|
||||
etc/audit/plugins.d/*.conf \
|
||||
usr/lib/systemd/system/auditd.service
|
||||
|
||||
chmod 644 usr/lib/systemd/system/auditd.service
|
||||
}
|
||||
|
||||
package_python-audit() {
|
||||
depends=('python' 'audit')
|
||||
pkgdesc+=' (python bindings)'
|
||||
cd ${pkgbase}-${pkgver}
|
||||
make -C bindings DESTDIR="${pkgdir}" INSTALL='install -p' install
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 et:
|
|
@ -0,0 +1 @@
|
|||
rm -rvf {pkg,src,*gz*}
|
|
@ -0,0 +1,3 @@
|
|||
swig
|
||||
linux-lts-headers
|
||||
python
|
|
@ -0,0 +1 @@
|
|||
rebuilt on openldap 2.6.1
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
real 0m39.426s
|
||||
user 1m5.944s
|
||||
sys 0m5.032s
|
|
@ -0,0 +1,49 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=autoconf
|
||||
pkgver=2.71
|
||||
pkgrel=01
|
||||
pkgdesc="A GNU tool for automatically configuring source code"
|
||||
arch=('any')
|
||||
url="https://www.gnu.org/software/autoconf"
|
||||
groups=('base-devel')
|
||||
depends=('awk' 'm4' 'diffutils' 'perl' 'sh')
|
||||
checkdepends=('gcc-fortran')
|
||||
source=("https://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
|
||||
# test 310 is a false positive due to warning outputted with our build flags
|
||||
make check || true
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
# license exception
|
||||
install -Dm644 COPYING.EXCEPTION "$pkgdir"/usr/share/licenses/autoconf/COPYING.EXCEPTION
|
||||
|
||||
# remove unwanted file
|
||||
rm -f "$pkgdir"/usr/share/info/standards.info
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=('GPL2' 'GPL3' 'custom')
|
||||
|
||||
validpgpkeys=('82F854F3CE73174B8B63174091FCC32B6769AA64') # Zack Weinberg
|
||||
|
||||
sha256sums=(f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4 # autoconf-2.71.tar.xz
|
||||
f33796ff686c45ee946d5862f46b776cf69cad68bf6861ce20847459a3a18a44) # autoconf-2.71.tar.xz.sig
|
|
@ -0,0 +1,43 @@
|
|||
# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
|
||||
# Contributor: Allan McRae <allan@archlinux.org>
|
||||
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
pkgname=autoconf
|
||||
pkgver=2.71
|
||||
pkgrel=1
|
||||
pkgdesc="A GNU tool for automatically configuring source code"
|
||||
arch=('any')
|
||||
license=('GPL2' 'GPL3' 'custom')
|
||||
url="https://www.gnu.org/software/autoconf"
|
||||
groups=('base-devel')
|
||||
depends=('awk' 'm4' 'diffutils' 'perl' 'sh')
|
||||
checkdepends=('gcc-fortran')
|
||||
source=("https://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
||||
md5sums=('12cfa1687ffa2606337efe1a64416106'
|
||||
'SKIP')
|
||||
validpgpkeys=('82F854F3CE73174B8B63174091FCC32B6769AA64') # Zack Weinberg
|
||||
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
|
||||
# test 310 is a false positive due to warning outputted with our build flags
|
||||
make check || true
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
# license exception
|
||||
install -Dm644 COPYING.EXCEPTION "$pkgdir"/usr/share/licenses/autoconf/COPYING.EXCEPTION
|
||||
|
||||
# remove unwanted file
|
||||
rm -f "$pkgdir"/usr/share/info/standards.info
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
rm -rvf {src,pkg,autoco*tar.xz*}
|
|
@ -0,0 +1,3 @@
|
|||
gcc-fortran
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
gpg -v --recv-key 91FCC32B6769AA64
|
|
@ -0,0 +1,4 @@
|
|||
real 15m50.056s
|
||||
user 13m31.633s
|
||||
sys 1m51.727s
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=automake
|
||||
pkgver=1.16.5
|
||||
pkgrel=01
|
||||
pkgdesc="A GNU tool for automatically creating Makefiles"
|
||||
arch=('any')
|
||||
url="https://www.gnu.org/software/automake"
|
||||
groups=('base-devel')
|
||||
depends=('perl' 'bash')
|
||||
makedepends=('autoconf')
|
||||
checkdepends=('dejagnu' 'gcc-fortran' 'java-environment' 'vala' 'emacs' 'cscope'
|
||||
'expect' 'ncompress' 'gettext' 'lzip' 'zip' 'sharutils' 'help2man'
|
||||
# disable TeX tests for now, lots of them fail and need upstream
|
||||
# fixes for current texlive release
|
||||
#'texlive-bin' 'texinfo'
|
||||
'python' 'python-virtualenv')
|
||||
source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
./configure --build=$CHOST --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=('GPL')
|
||||
|
||||
validpgpkeys=('E1622F96D2BB4E58018EEF9860F906016E407573' # Stefano Lattarini
|
||||
'F2A38D7EEB2B66405761070D0ADEE10094604D37' # Mathieu Lirzin
|
||||
'155D3FC500C834486D1EEA677FD9FCCB000BEEEE') # Jim Meyering
|
||||
|
||||
sha256sums=(f01d58cd6d9d77fbdca9eb4bbd5ead1988228fdb73d6f7a201f5f8d6b118b469 # automake-1.16.5.tar.xz
|
||||
3a161ab65921eed55e1a94251d97c8451d4ba3431b55ca560e95a951b5f1d73a) # automake-1.16.5.tar.xz.sig
|
|
@ -0,0 +1,42 @@
|
|||
# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
|
||||
# Contributor: Allan McRae <allan@archlinux.org>
|
||||
# Contributor: judd <jvinet@zeroflux.org>
|
||||
|
||||
pkgname=automake
|
||||
pkgver=1.16.5
|
||||
pkgrel=1
|
||||
pkgdesc="A GNU tool for automatically creating Makefiles"
|
||||
arch=('any')
|
||||
license=('GPL')
|
||||
url="https://www.gnu.org/software/automake"
|
||||
groups=('base-devel')
|
||||
depends=('perl' 'bash')
|
||||
makedepends=('autoconf')
|
||||
checkdepends=('dejagnu' 'gcc-fortran' 'java-environment' 'vala' 'emacs' 'cscope'
|
||||
'expect' 'ncompress' 'gettext' 'lzip' 'zip' 'sharutils' 'help2man'
|
||||
# disable TeX tests for now, lots of them fail and need upstream
|
||||
# fixes for current texlive release
|
||||
#'texlive-bin' 'texinfo'
|
||||
'python' 'python-virtualenv')
|
||||
source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
||||
sha512sums=('3084ae543aa3fb5a05104ffb2e66cfa9a53080f2343c44809707fd648516869511500dba50dae67ff10f92a1bf3b5a92b2a0fa01cda30adb69b9da03994d9d88'
|
||||
'SKIP')
|
||||
validpgpkeys=('E1622F96D2BB4E58018EEF9860F906016E407573' # Stefano Lattarini
|
||||
'F2A38D7EEB2B66405761070D0ADEE10094604D37' # Mathieu Lirzin
|
||||
'155D3FC500C834486D1EEA677FD9FCCB000BEEEE') # Jim Meyering
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
./configure --build=$CHOST --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
rm -rvf {src,pkg,automa*tar.xz*}
|
|
@ -0,0 +1,15 @@
|
|||
ncompress
|
||||
gettext
|
||||
lzip
|
||||
zip
|
||||
sharutils
|
||||
help2man
|
||||
python-virtualenv
|
||||
autoconf
|
||||
dejagnu
|
||||
gcc-fortran
|
||||
vala
|
||||
emacs-git
|
||||
cscope
|
||||
ttf-liberation
|
||||
jdk-openjdk
|
|
@ -0,0 +1,4 @@
|
|||
real 19m47.926s
|
||||
user 41m53.887s
|
||||
sys 5m17.968s
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=b43-fwcutter
|
||||
pkgver=019
|
||||
pkgrel=03
|
||||
pkgdesc="firmware extractor for the b43 kernel module"
|
||||
url="https://wireless.wiki.kernel.org/en/users/Drivers/b43"
|
||||
depends=('glibc')
|
||||
arch=('x86_64')
|
||||
source=("https://bues.ch/b43/fwcutter/${pkgname}-${pkgver}.tar.bz2"{,.asc})
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
install -D -m755 b43-fwcutter "$pkgdir"/usr/bin/b43-fwcutter
|
||||
install -D -m644 b43-fwcutter.1 "$pkgdir"/usr/share/man/man1/b43-fwcutter.1
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=('GPL')
|
||||
|
||||
validpgpkeys=('757FAB7CED1814AE15B4836E5FB027474203454C') # Michael Büsch (Git tag signing key) <m@bues.ch>
|
||||
|
||||
md5sums=('19d1f4226a625756726bdf7ed5dc2a0a'
|
||||
'SKIP')
|
||||
|
||||
sha256sums=(d6ea85310df6ae08e7f7e46d8b975e17fc867145ee249307413cfbe15d7121ce # b43-fwcutter-019.tar.bz2
|
||||
f4dc7a63e6fc858058c5ce38bd36d0ead45c5e9710648c702dea2cccf7e0f32b) # b43-fwcutter-019.tar.bz2.asc
|
|
@ -0,0 +1,25 @@
|
|||
# Maintainer: Thomas Baechler <thomas@archlinux.org>
|
||||
|
||||
pkgname=b43-fwcutter
|
||||
pkgver=019
|
||||
pkgrel=3
|
||||
pkgdesc="firmware extractor for the b43 kernel module"
|
||||
url="https://wireless.wiki.kernel.org/en/users/Drivers/b43"
|
||||
depends=('glibc')
|
||||
license=('GPL')
|
||||
arch=('x86_64')
|
||||
source=("https://bues.ch/b43/fwcutter/${pkgname}-${pkgver}.tar.bz2"{,.asc})
|
||||
md5sums=('19d1f4226a625756726bdf7ed5dc2a0a'
|
||||
'SKIP')
|
||||
validpgpkeys=('757FAB7CED1814AE15B4836E5FB027474203454C') # Michael Büsch (Git tag signing key) <m@bues.ch>
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
install -D -m755 b43-fwcutter "$pkgdir"/usr/bin/b43-fwcutter
|
||||
install -D -m644 b43-fwcutter.1 "$pkgdir"/usr/share/man/man1/b43-fwcutter.1
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
rm -rvf {src,pkg,*.tar.bz2*}
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
gpg -v --recv-key 5FB027474203454C
|
|
@ -0,0 +1,3 @@
|
|||
real 0m1.797s
|
||||
user 0m1.778s
|
||||
sys 0m0.239s
|
|
@ -0,0 +1,61 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=base
|
||||
pkgdesc='Minimal set of packages to define a basic JOBORun Linux installation'
|
||||
pkgver=0.1
|
||||
pkgrel=06
|
||||
groups=( jobbase )
|
||||
arch=(x86_64)
|
||||
source=( README.txt )
|
||||
depends=(
|
||||
# very very core
|
||||
'filesystem' 'gcc-libs' 'glibc' 'bash'
|
||||
|
||||
# distro defined requirements
|
||||
'licenses' 'pacman' 'nano' 'zsh' 'jobo-setup' 'arch-install-scripts'
|
||||
|
||||
# keyrings GnuPG keys of repo and pkg signatures
|
||||
'archlinux-keyring' 'obarun-keyring' 'joborun-keyring'
|
||||
|
||||
# POSIX tools
|
||||
'coreutils' 'file' 'findutils' 'gawk' 'grep' 'procps-ng' 'sed' 'tar'
|
||||
|
||||
# standard linux toolset
|
||||
'pciutils' 'psmisc' 'shadow' 'util-linux' 'bzip2' 'gzip' 'xz' 'sudo'
|
||||
|
||||
# init, service supervisors, mdev
|
||||
'runit' 'runit-rc' 'joborun66' 'eudev'
|
||||
|
||||
# networking, ping, etc
|
||||
'inetutils' 'iputils' 'iproute2' 'net-tools' 'dhclient' 'wpa_supplicant' 'ntp'
|
||||
|
||||
# service scripts - no dependencies
|
||||
'runit-service-scripts'
|
||||
|
||||
# fonts for console
|
||||
'terminus-font'
|
||||
)
|
||||
|
||||
optdepends=('linux-lts: recommended kernel'
|
||||
'linux: alternative latest lts kernel'
|
||||
's6-suite: s6 and 66 system and basic booting necessities'
|
||||
'grub: bootloader capable of a multiboot system of various OSes'
|
||||
'syslinux: alternative bootloader lighter than grub' )
|
||||
|
||||
makedepends=('sh' 'glibc')
|
||||
|
||||
package() {
|
||||
cd "$pkgdir"
|
||||
install -Dm644 "$srcdir"/README.txt "$pkgdir"/src/README.txt
|
||||
}
|
||||
|
||||
#---- license gpg-key sha512sums ----
|
||||
|
||||
license=('ISC')
|
||||
|
||||
sha256sums=(3acf5ee17f5970920a25021bc5d3a6372a0c395f95788bd43e88784bffa2beef) # README.txt
|
|
@ -0,0 +1,28 @@
|
|||
# Maintainer: Arch Linux Team
|
||||
# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
||||
# Contributor: Eli Schwartz <eschwartz@archlinux.org>
|
||||
|
||||
pkgname=base
|
||||
pkgver=2
|
||||
pkgrel=2
|
||||
pkgdesc='Minimal package set to define a basic Arch Linux installation'
|
||||
url='https://www.archlinux.org'
|
||||
arch=('any')
|
||||
license=('GPL')
|
||||
depends=(
|
||||
# very very base
|
||||
'filesystem' 'gcc-libs' 'glibc' 'bash'
|
||||
|
||||
# POSIX tools
|
||||
'coreutils' 'file' 'findutils' 'gawk' 'grep' 'procps-ng' 'sed' 'tar'
|
||||
|
||||
# standard linux toolset
|
||||
'gettext' 'pciutils' 'psmisc' 'shadow' 'util-linux' 'bzip2' 'gzip' 'xz'
|
||||
|
||||
# distro defined requirements
|
||||
'licenses' 'pacman' 'systemd' 'systemd-sysvcompat'
|
||||
|
||||
# networking, ping, etc
|
||||
'iputils' 'iproute2'
|
||||
)
|
||||
optdepends=('linux: bare metal support')
|
|
@ -0,0 +1,46 @@
|
|||
# Distribution : Obarun S6/66
|
||||
#-----------------------------
|
||||
# Maintainer : Eric Vidal <eric@obarun.org>
|
||||
#----------------
|
||||
# Obarun PkgSrc : https://git.obarun.org/pkg/obcore/base
|
||||
#--------------------------------------------------------------------------------
|
||||
# DESCRIPTION ]
|
||||
pkgname=base
|
||||
pkgver=7
|
||||
pkgrel=1
|
||||
pkgdesc="Minimal package set to define a basic Obarun Linux installation"
|
||||
|
||||
url='https://web.obarun.org'
|
||||
|
||||
depends=(
|
||||
# very very base
|
||||
'filesystem' 'gcc-libs' 'glibc' 'bash'
|
||||
|
||||
# POSIX tools
|
||||
'coreutils' 'file' 'findutils' 'gawk' 'grep' 'procps-ng' 'sed' 'tar'
|
||||
|
||||
# standard linux toolset
|
||||
'gettext' 'pciutils' 'psmisc' 'shadow' 'util-linux' 'bzip2' 'gzip' 'xz'
|
||||
|
||||
# distro defined requirements
|
||||
'licenses' 'pacman' 'obsysusers'
|
||||
|
||||
#init
|
||||
'skalibs' 'execline' 'oblibs' '66' '66-tools' 's6-linux-utils'
|
||||
's6-portable-utils' 's6' 's6-rc' 'eudev' 'libeudev'
|
||||
|
||||
# networking, ping, etc
|
||||
'iputils' 'iproute2'
|
||||
|
||||
#service
|
||||
'boot@-66serv'
|
||||
)
|
||||
|
||||
optdepends=(
|
||||
'linux: bare metal support'
|
||||
)
|
||||
|
||||
arch=(x86_64)
|
||||
license=(ISC)
|
||||
|
||||
sha512sums=('')
|
|
@ -0,0 +1,28 @@
|
|||
This is the base package for the minimal joborun installation.
|
||||
Make sure you choose a kernel and bootloader before you attempt your first boot and also run
|
||||
jobo-setup as root to ensure proper minimal configuration.
|
||||
|
||||
________
|
||||
|
||||
For a minimal chroot pkg building environment install jobbot.
|
||||
________
|
||||
|
||||
What you initially get is a console non graphic system, but we have a setup script that you can
|
||||
choose between an openbox or Jwm bundle if you this is what you like. Of course you are free to
|
||||
install whatever environment you like from Obarun, Arch, OUR and AUR repositories. It is just
|
||||
that we are not willing to support and assist in anything beyond the minimalistic installation of
|
||||
a window manager and this without a Display Manager and its complications.
|
||||
________
|
||||
|
||||
As other distros condition their users with a ton of packages and graphic eye candy we will try
|
||||
to de-condition our users by showing an alternative route of doing what you really want to do
|
||||
with the least possible complications.
|
||||
|
||||
######## delete the empty spaces from the addresses below ########
|
||||
joborun @ disroot . org reddit . com / r / joborun
|
||||
######## delete the empty spaces from the above addresses ########
|
||||
|
||||
We are always open to constructive criticism, suggestions, recommendations, complaints,... We are
|
||||
here to discuss, not just one on one, but collectively, all that we have an interest in improving
|
||||
this system.
|
||||
|
|
@ -0,0 +1 @@
|
|||
rm -rvf {src,pkg}
|
|
@ -0,0 +1,13 @@
|
|||
runit
|
||||
runit-rc
|
||||
joborun66
|
||||
eudev
|
||||
net-tools
|
||||
dhclient
|
||||
wpa_supplicant
|
||||
runit-service-scripts
|
||||
terminus-font
|
||||
jobo-setup
|
||||
arch-install-scripts
|
||||
inetutils
|
||||
ntp
|
|
@ -0,0 +1,125 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=bash
|
||||
_basever=5.1
|
||||
_patchlevel=016
|
||||
pkgver=${_basever}.${_patchlevel}
|
||||
pkgrel=01
|
||||
pkgdesc='The GNU Bourne Again shell'
|
||||
arch=(x86_64)
|
||||
_url='https://www.gnu.org/software/bash/bash.html'
|
||||
url="https://ftp.gnu.org/gnu"
|
||||
backup=(etc/bash.bash{rc,_logout} etc/skel/.bash{rc,_profile,_logout})
|
||||
depends=(readline libreadline.so glibc ncurses)
|
||||
optdepends=('bash-completion: for tab completion')
|
||||
provides=('sh')
|
||||
source=($url/$pkgname/bash-$_basever.tar.gz{,.sig}
|
||||
dot.bashrc
|
||||
dot.bash_profile
|
||||
dot.bash_logout
|
||||
system.bashrc
|
||||
system.bash_logout)
|
||||
|
||||
if [[ $((10#${_patchlevel})) -gt 0 ]]; then
|
||||
for (( _p=1; _p<=$((10#${_patchlevel})); _p++ )); do
|
||||
source=(${source[@]} $url/$pkgname/$pkgname-$_basever-patches/bash${_basever//.}-$(printf "%03d" $_p){,.sig})
|
||||
done
|
||||
fi
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$_basever
|
||||
|
||||
for (( _p=1; _p<=$((10#${_patchlevel})); _p++ )); do
|
||||
echo "applying patch bash${_basever//.}-$(printf "%03d" $_p)"
|
||||
patch -p0 -i ../bash${_basever//.}-$(printf "%03d" $_p)
|
||||
done
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$_basever
|
||||
|
||||
_bashconfig=(-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/bin\"\'
|
||||
-DSTANDARD_UTILS_PATH=\'\"/usr/bin\"\'
|
||||
-DSYS_BASHRC=\'\"/etc/bash.bashrc\"\'
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash.bash_logout\"\'
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS)
|
||||
export CFLAGS="${CFLAGS} ${_bashconfig[@]}"
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--with-curses \
|
||||
--enable-readline \
|
||||
--without-bash-malloc \
|
||||
--with-installed-readline
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
make -C $pkgname-$_basever check
|
||||
}
|
||||
|
||||
package() {
|
||||
make -C $pkgname-$_basever DESTDIR="$pkgdir" install
|
||||
ln -s bash "$pkgdir/usr/bin/sh"
|
||||
|
||||
# system-wide configuration files
|
||||
install -Dm644 system.bashrc "$pkgdir/etc/bash.bashrc"
|
||||
install -Dm644 system.bash_logout "$pkgdir/etc/bash.bash_logout"
|
||||
|
||||
# user configuration file skeletons
|
||||
install -dm755 "$pkgdir/etc/skel/"
|
||||
install -m644 dot.bashrc "$pkgdir/etc/skel/.bashrc"
|
||||
install -m644 dot.bash_profile "$pkgdir/etc/skel/.bash_profile"
|
||||
install -m644 dot.bash_logout "$pkgdir/etc/skel/.bash_logout"
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=(GPL)
|
||||
|
||||
validpgpkeys=('7C0135FB088AAF6C66C650B9BB5869F064EA74AB') # Chet Ramey
|
||||
|
||||
sha256sums=(cc012bc860406dcf42f64431bcd3d2fa7560c02915a601aba9cd597a39329baa # bash-5.1.tar.gz
|
||||
d532da06303b4127bcc09dd0175d2b04c949a0dfef0420a921698300828d593b # bash-5.1.tar.gz.sig
|
||||
3e22bf86ae6708df7a6bceb88c67a00118275f9c0b5268f453dd388af7c43b53 # dot.bashrc
|
||||
e149407c2bee17779caec70a7edd3d0000d172e7e4347429b80cb4d55bcec9c2 # dot.bash_profile
|
||||
4330edf340394d0dae50afb04ac2a621f106fe67fb634ec81c4bfb98be2a1eb5 # dot.bash_logout
|
||||
5fdc20c44bc9058f728d11111327f4dbb5598fec4d948dd5265211598667f9f0 # system.bashrc
|
||||
025bccfb374a3edce0ff8154d990689f30976b78f7a932dc9a6fcef81821811e # system.bash_logout
|
||||
ebb07b3dbadd98598f078125d0ae0d699295978a5cdaef6282fe19adef45b5fa # bash51-001
|
||||
8f8725a5c52f53d3ef185492e09eaacd92c791e24cad4c75bb5ea8a3b1d302b8 # bash51-001.sig
|
||||
15ea6121a801e48e658ceee712ea9b88d4ded022046a6147550790caf04f5dbe # bash51-002
|
||||
44053017c4a1c5242f8585019a8b44c9af6507b41369535e7040205d4573762c # bash51-002.sig
|
||||
22f2cc262f056b22966281babf4b0a2f84cb7dd2223422e5dcd013c3dcbab6b1 # bash51-003
|
||||
acaf4a21d10805c32beebca835c600add4119d33ce3dad01c201ef504b4d27f2 # bash51-003.sig
|
||||
9aaeb65664ef0d28c0067e47ba5652b518298b3b92d33327d84b98b28d873c86 # bash51-004
|
||||
51faca8a8799da8bf815d5488394b6d0c1e3d6ebe3956bfb729b0015e445368f # bash51-004.sig
|
||||
cccbb5e9e6763915d232d29c713007a62b06e65126e3dd2d1128a0dc5ef46da5 # bash51-005
|
||||
ed1a3d0165faacc89b3fd6aec2250bf01a584ee3e0a65ff031ebb70d661b0dba # bash51-005.sig
|
||||
75e17d937de862615c6375def40a7574462210dce88cf741f660e2cc29473d14 # bash51-006
|
||||
0914536dee00241945a6d4323982283d9a9b5e2a4356c2623b9a6d8e71595499 # bash51-006.sig
|
||||
acfcb8c7e9f73457c0fb12324afb613785e0c9cef3315c9bbab4be702f40393a # bash51-007
|
||||
b8f248ca4dcd42144ddd5e3a8ebb72a38313f201685a0c72b886987c6283a3d2 # bash51-007.sig
|
||||
f22cf3c51a28f084a25aef28950e8777489072628f972b12643b4534a17ed2d1 # bash51-008
|
||||
3a0591328d5853a5e3f31ba77bda56b4104a681aa49c825cfba11fa99430e4e3 # bash51-008.sig
|
||||
e45cda953ab4b4b4bde6dc34d0d8ca40d1cc502046eb28070c9ebcd47e33c3ee # bash51-009
|
||||
08ef22908e2dc942a94bcdf32f4e4bd4846601e0087aea6ff357f3a0d2fa508e # bash51-009.sig
|
||||
a2c8d7b2704eeceff7b1503b7ad9500ea1cb6e9393faebdb3acd2afdd7aeae2a # bash51-010
|
||||
d99ce7ff8caf724ad64484caeb4f7300cd79c0c773bcf7429e391538f8c7fc80 # bash51-010.sig
|
||||
58191f164934200746f48459a05bca34d1aec1180b08ca2deeee3bb29622027b # bash51-011
|
||||
842161b382c59fa4214f012f8df40bc7e504157fe2ed34652dc8aa1ec1a4fb29 # bash51-011.sig
|
||||
10f189c8367c4a15c7392e7bf70d0ff6953f78c9b312ed7622303a779273ab98 # bash51-012
|
||||
37cc1746a5ca0ca3c299cb130efd6062a71b300f95c11e3e8d5f092a28c85911 # bash51-012.sig
|
||||
c7acb66df435d284304c16ca83a5265f9edd9368612095b01a733d45c77ed5ad # bash51-013
|
||||
0ddca62d8df55ef4e9a408baaf13acbd422074798093515b8e76c16c05a63565 # bash51-013.sig
|
||||
6a4ee0c81b437b96279a792c1efcec4ba56f009195a318083db6b53b096f83d0 # bash51-014
|
||||
4ef42bb84993ebb3c44344ee2ee43824271627688401937f7812080fd5d0aa8a # bash51-014.sig
|
||||
1b37692ef1f6cc3dcec246773443276066e6b1379868f8c14e01f4dfd4df80f0 # bash51-015
|
||||
379a451a66271bae61d11c2c06f207292790b693ad19209ea267da4cee133b02 # bash51-015.sig
|
||||
8899144f76a5db1fb41a89ed881c9f19add95728dd71db324f772ef225c5384f # bash51-016
|
||||
4434cf0bdcfb49cb203373121122be9718f25b51eaf71d0dd3d31d1f9d621201) # bash51-016.sig
|
||||
|
|
@ -0,0 +1,121 @@
|
|||
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
||||
# Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
|
||||
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
||||
# Contributor: Allan McRae <allan@archlinux.org>
|
||||
# Contributor: Aaron Griffin <aaron@archlinux.org>
|
||||
|
||||
pkgname=bash
|
||||
_basever=5.1
|
||||
_patchlevel=016
|
||||
pkgver=${_basever}.${_patchlevel}
|
||||
pkgrel=1
|
||||
pkgdesc='The GNU Bourne Again shell'
|
||||
arch=(x86_64)
|
||||
license=(GPL)
|
||||
url='https://www.gnu.org/software/bash/bash.html'
|
||||
backup=(etc/bash.bash{rc,_logout} etc/skel/.bash{rc,_profile,_logout})
|
||||
depends=(readline libreadline.so glibc ncurses)
|
||||
optdepends=('bash-completion: for tab completion')
|
||||
provides=('sh')
|
||||
source=(https://ftp.gnu.org/gnu/bash/bash-$_basever.tar.gz{,.sig}
|
||||
dot.bashrc
|
||||
dot.bash_profile
|
||||
dot.bash_logout
|
||||
system.bashrc
|
||||
system.bash_logout)
|
||||
validpgpkeys=('7C0135FB088AAF6C66C650B9BB5869F064EA74AB') # Chet Ramey
|
||||
|
||||
if [[ $((10#${_patchlevel})) -gt 0 ]]; then
|
||||
for (( _p=1; _p<=$((10#${_patchlevel})); _p++ )); do
|
||||
source=(${source[@]} https://ftp.gnu.org/gnu/bash/bash-$_basever-patches/bash${_basever//.}-$(printf "%03d" $_p){,.sig})
|
||||
done
|
||||
fi
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$_basever
|
||||
|
||||
for (( _p=1; _p<=$((10#${_patchlevel})); _p++ )); do
|
||||
echo "applying patch bash${_basever//.}-$(printf "%03d" $_p)"
|
||||
patch -p0 -i ../bash${_basever//.}-$(printf "%03d" $_p)
|
||||
done
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$_basever
|
||||
|
||||
_bashconfig=(-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/bin\"\'
|
||||
-DSTANDARD_UTILS_PATH=\'\"/usr/bin\"\'
|
||||
-DSYS_BASHRC=\'\"/etc/bash.bashrc\"\'
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash.bash_logout\"\'
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS)
|
||||
export CFLAGS="${CFLAGS} ${_bashconfig[@]}"
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--with-curses \
|
||||
--enable-readline \
|
||||
--without-bash-malloc \
|
||||
--with-installed-readline
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
make -C $pkgname-$_basever check
|
||||
}
|
||||
|
||||
package() {
|
||||
make -C $pkgname-$_basever DESTDIR="$pkgdir" install
|
||||
ln -s bash "$pkgdir/usr/bin/sh"
|
||||
|
||||
# system-wide configuration files
|
||||
install -Dm644 system.bashrc "$pkgdir/etc/bash.bashrc"
|
||||
install -Dm644 system.bash_logout "$pkgdir/etc/bash.bash_logout"
|
||||
|
||||
# user configuration file skeletons
|
||||
install -dm755 "$pkgdir/etc/skel/"
|
||||
install -m644 dot.bashrc "$pkgdir/etc/skel/.bashrc"
|
||||
install -m644 dot.bash_profile "$pkgdir/etc/skel/.bash_profile"
|
||||
install -m644 dot.bash_logout "$pkgdir/etc/skel/.bash_logout"
|
||||
}
|
||||
|
||||
sha256sums=('cc012bc860406dcf42f64431bcd3d2fa7560c02915a601aba9cd597a39329baa'
|
||||
'SKIP'
|
||||
'3e22bf86ae6708df7a6bceb88c67a00118275f9c0b5268f453dd388af7c43b53'
|
||||
'e149407c2bee17779caec70a7edd3d0000d172e7e4347429b80cb4d55bcec9c2'
|
||||
'4330edf340394d0dae50afb04ac2a621f106fe67fb634ec81c4bfb98be2a1eb5'
|
||||
'5fdc20c44bc9058f728d11111327f4dbb5598fec4d948dd5265211598667f9f0'
|
||||
'025bccfb374a3edce0ff8154d990689f30976b78f7a932dc9a6fcef81821811e'
|
||||
'ebb07b3dbadd98598f078125d0ae0d699295978a5cdaef6282fe19adef45b5fa'
|
||||
'SKIP'
|
||||
'15ea6121a801e48e658ceee712ea9b88d4ded022046a6147550790caf04f5dbe'
|
||||
'SKIP'
|
||||
'22f2cc262f056b22966281babf4b0a2f84cb7dd2223422e5dcd013c3dcbab6b1'
|
||||
'SKIP'
|
||||
'9aaeb65664ef0d28c0067e47ba5652b518298b3b92d33327d84b98b28d873c86'
|
||||
'SKIP'
|
||||
'cccbb5e9e6763915d232d29c713007a62b06e65126e3dd2d1128a0dc5ef46da5'
|
||||
'SKIP'
|
||||
'75e17d937de862615c6375def40a7574462210dce88cf741f660e2cc29473d14'
|
||||
'SKIP'
|
||||
'acfcb8c7e9f73457c0fb12324afb613785e0c9cef3315c9bbab4be702f40393a'
|
||||
'SKIP'
|
||||
'f22cf3c51a28f084a25aef28950e8777489072628f972b12643b4534a17ed2d1'
|
||||
'SKIP'
|
||||
'e45cda953ab4b4b4bde6dc34d0d8ca40d1cc502046eb28070c9ebcd47e33c3ee'
|
||||
'SKIP'
|
||||
'a2c8d7b2704eeceff7b1503b7ad9500ea1cb6e9393faebdb3acd2afdd7aeae2a'
|
||||
'SKIP'
|
||||
'58191f164934200746f48459a05bca34d1aec1180b08ca2deeee3bb29622027b'
|
||||
'SKIP'
|
||||
'10f189c8367c4a15c7392e7bf70d0ff6953f78c9b312ed7622303a779273ab98'
|
||||
'SKIP'
|
||||
'c7acb66df435d284304c16ca83a5265f9edd9368612095b01a733d45c77ed5ad'
|
||||
'SKIP'
|
||||
'6a4ee0c81b437b96279a792c1efcec4ba56f009195a318083db6b53b096f83d0'
|
||||
'SKIP'
|
||||
'1b37692ef1f6cc3dcec246773443276066e6b1379868f8c14e01f4dfd4df80f0'
|
||||
'SKIP'
|
||||
'8899144f76a5db1fb41a89ed881c9f19add95728dd71db324f772ef225c5384f'
|
||||
'SKIP')
|
||||
|
||||
# vim: ts=2 sw=2 et:
|
|
@ -0,0 +1 @@
|
|||
rm -rvf {src,pkg,bash*tar.gz*,bash51-0*}
|
|
@ -0,0 +1,3 @@
|
|||
#
|
||||
# ~/.bash_logout
|
||||
#
|
|
@ -0,0 +1,5 @@
|
|||
#
|
||||
# ~/.bash_profile
|
||||
#
|
||||
|
||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
|
@ -0,0 +1,9 @@
|
|||
#
|
||||
# ~/.bashrc
|
||||
#
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
alias ls='ls --color=auto'
|
||||
PS1='[\u@\h \W]\$ '
|
|
@ -0,0 +1,31 @@
|
|||
bash-5.1.tar.gz
|
||||
bash-5.1.tar.gz.sig
|
||||
dot.bashrc
|
||||
dot.bash_profile
|
||||
dot.bash_logout
|
||||
system.bashrc
|
||||
system.bash_logout
|
||||
bash51-001
|
||||
bash51-001.sig
|
||||
bash51-002
|
||||
bash51-002.sig
|
||||
bash51-003
|
||||
bash51-003.sig
|
||||
bash51-004
|
||||
bash51-004.sig
|
||||
bash51-005
|
||||
bash51-005.sig
|
||||
bash51-006
|
||||
bash51-006.sig
|
||||
bash51-007
|
||||
bash51-007.sig
|
||||
bash51-008
|
||||
bash51-008.sig
|
||||
bash51-009
|
||||
bash51-009.sig
|
||||
bash51-010
|
||||
bash51-010.sig
|
||||
bash51-011
|
||||
bash51-011.sig
|
||||
bash51-012
|
||||
bash51-012.sig
|
|
@ -0,0 +1,3 @@
|
|||
#
|
||||
# /etc/bash.bash_logout
|
||||
#
|
|
@ -0,0 +1,22 @@
|
|||
#
|
||||
# /etc/bash.bashrc
|
||||
#
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
[[ $DISPLAY ]] && shopt -s checkwinsize
|
||||
|
||||
PS1='[\u@\h \W]\$ '
|
||||
|
||||
case ${TERM} in
|
||||
xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
|
||||
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
|
||||
|
||||
;;
|
||||
screen*)
|
||||
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
|
||||
;;
|
||||
esac
|
||||
|
||||
[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
|
|
@ -0,0 +1,117 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/attr"
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
#
|
||||
# toolchain build order: linux-api-headers->glibc->binutils->gcc->glibc->binutils->gcc
|
||||
|
||||
pkgname=binutils
|
||||
pkgver=2.38
|
||||
pkgrel=03
|
||||
pkgdesc='A set of programs to assemble and manipulate binary and object files'
|
||||
arch=(x86_64)
|
||||
url='https://www.gnu.org/software/binutils/'
|
||||
#url='https://ftp.gnu.org/gnu/binutils'
|
||||
groups=( jobbot )
|
||||
depends=(glibc zlib libelf)
|
||||
checkdepends=(dejagnu debuginfod bc)
|
||||
optdepends=('debuginfod: for debuginfod server/client functionality')
|
||||
conflicts=(binutils-multilib)
|
||||
replaces=(binutils-multilib)
|
||||
options=(staticlibs !distcc !ccache)
|
||||
#options=(staticlibs !distcc !ccache debug)
|
||||
#_commit=cb5f6a3e146cc70bc2d864989386df80acec5d3e
|
||||
#source=(git+https://sourceware.org/git/binutils-gdb.git#commit=$_commit)
|
||||
source=($url/$pkgname-$pkgver.tar.xz{,.sig}
|
||||
fix-incorrect-undefined-symbol.patch)
|
||||
|
||||
prepare() {
|
||||
[[ ! -d binutils-gdb ]] && ln -s binutils-$pkgver binutils-gdb
|
||||
mkdir -p binutils-build
|
||||
|
||||
cd binutils-gdb
|
||||
|
||||
# Turn off development mode (-Werror, gas run-time checks, date in sonames)
|
||||
sed -i '/^development=/s/true/false/' bfd/development.sh
|
||||
|
||||
# hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
|
||||
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
|
||||
|
||||
# fix incorrect "undefined reference" errors
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=28879
|
||||
patch -Np1 -i "${srcdir}"/fix-incorrect-undefined-symbol.patch
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
cd binutils-build
|
||||
|
||||
"$srcdir/binutils-gdb/configure" \
|
||||
--prefix=/usr \
|
||||
--with-lib-path=/usr/lib:/usr/local/lib \
|
||||
--with-bugurl=https://bugs.archlinux.org/ \
|
||||
--enable-cet \
|
||||
--enable-deterministic-archives \
|
||||
--enable-gold \
|
||||
--enable-install-libiberty \
|
||||
--enable-ld=default \
|
||||
--enable-lto \
|
||||
--enable-pgo-build=lto \
|
||||
--enable-plugins \
|
||||
--enable-relro \
|
||||
--enable-shared \
|
||||
--enable-targets=x86_64-pep \
|
||||
--enable-threads \
|
||||
--disable-gdb \
|
||||
--disable-gdbserver \
|
||||
--disable-libdecnumber \
|
||||
--disable-readline \
|
||||
--disable-sim \
|
||||
--disable-werror \
|
||||
--with-debuginfod \
|
||||
--with-pic \
|
||||
--with-system-zlib
|
||||
|
||||
make -O tooldir=/usr
|
||||
}
|
||||
|
||||
#check() {
|
||||
# cd binutils-build
|
||||
#
|
||||
## # current testsuite failure in debuginfod (objdump)
|
||||
## # https://sourceware.org/bugzilla/show_bug.cgi?id=28029
|
||||
## sed -i '/test_fetch_debuglink $OBJDUMP/d' \
|
||||
## $srcdir/binutils-gdb/binutils/testsuite/binutils-all/debuginfod.exp
|
||||
# # Use minimal flags for testsuite
|
||||
# # ld testsuite uses CFLAGS_FOR_TARGET and requires -g
|
||||
# # gold testsuite requires CXXFLAGS/CFLAGS with default PIE/PIC disabled
|
||||
# make -O CFLAGS_FOR_TARGET="-O2 -g" \
|
||||
# CXXFLAGS="-O2 -no-pie -fno-PIC" \
|
||||
# CFLAGS="-O2 -no-pie" \
|
||||
# LDFLAGS="" \
|
||||
# check
|
||||
#}
|
||||
|
||||
package() {
|
||||
cd binutils-build
|
||||
make prefix="$pkgdir/usr" tooldir="$pkgdir/usr" install
|
||||
|
||||
# Remove unwanted files
|
||||
rm -f "$pkgdir"/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
|
||||
|
||||
# No shared linking to these files outside binutils
|
||||
rm -f "$pkgdir"/usr/lib/lib{bfd,opcodes}.so
|
||||
echo 'INPUT( /usr/lib/libbfd.a -liberty -lz -ldl )' > "$pkgdir/usr/lib/libbfd.so"
|
||||
echo 'INPUT( /usr/lib/libopcodes.a -lbfd )' > "$pkgdir/usr/lib/libopcodes.so"
|
||||
}
|
||||
|
||||
#---- license gpg-key sha512sums ----
|
||||
|
||||
license=(GPL)
|
||||
|
||||
validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
|
||||
|
||||
sha256sums=(e316477a914f567eccc34d5d29785b8b0f5a10208d36bbacedcc39048ecfe024 # binutils-2.38.tar.xz
|
||||
41301d67da78df1ad6df04aefe9e7bea8235484b0323cee52caa8f7435385014 # binutils-2.38.tar.xz.sig
|
||||
fd33b2f8cac7561cecf3fdbb5a50fd2f2dfa6420516cbe57c47784a06fa16bf6) # fix-incorrect-undefined-symbol.patch
|
|
@ -0,0 +1,102 @@
|
|||
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
||||
# Contributor: Allan McRae <allan@archlinux.org>
|
||||
|
||||
# toolchain build order: linux-api-headers->glibc->binutils->gcc->glibc->binutils->gcc
|
||||
|
||||
pkgname=binutils
|
||||
pkgver=2.38
|
||||
pkgrel=3
|
||||
pkgdesc='A set of programs to assemble and manipulate binary and object files'
|
||||
arch=(x86_64)
|
||||
url='https://www.gnu.org/software/binutils/'
|
||||
license=(GPL)
|
||||
groups=(base-devel)
|
||||
depends=(glibc zlib libelf)
|
||||
checkdepends=(dejagnu debuginfod bc)
|
||||
optdepends=('debuginfod: for debuginfod server/client functionality')
|
||||
conflicts=(binutils-multilib)
|
||||
replaces=(binutils-multilib)
|
||||
options=(staticlibs !distcc !ccache debug)
|
||||
#_commit=cb5f6a3e146cc70bc2d864989386df80acec5d3e
|
||||
#source=(git+https://sourceware.org/git/binutils-gdb.git#commit=$_commit)
|
||||
source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig}
|
||||
fix-incorrect-undefined-symbol.patch)
|
||||
sha256sums=('e316477a914f567eccc34d5d29785b8b0f5a10208d36bbacedcc39048ecfe024'
|
||||
'SKIP'
|
||||
'fd33b2f8cac7561cecf3fdbb5a50fd2f2dfa6420516cbe57c47784a06fa16bf6')
|
||||
validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
|
||||
|
||||
prepare() {
|
||||
[[ ! -d binutils-gdb ]] && ln -s binutils-$pkgver binutils-gdb
|
||||
mkdir -p binutils-build
|
||||
|
||||
cd binutils-gdb
|
||||
|
||||
# Turn off development mode (-Werror, gas run-time checks, date in sonames)
|
||||
sed -i '/^development=/s/true/false/' bfd/development.sh
|
||||
|
||||
# hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
|
||||
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
|
||||
|
||||
# fix incorrect "undefined reference" errors
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=28879
|
||||
patch -Np1 -i "${srcdir}"/fix-incorrect-undefined-symbol.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd binutils-build
|
||||
|
||||
"$srcdir/binutils-gdb/configure" \
|
||||
--prefix=/usr \
|
||||
--with-lib-path=/usr/lib:/usr/local/lib \
|
||||
--with-bugurl=https://bugs.archlinux.org/ \
|
||||
--enable-cet \
|
||||
--enable-deterministic-archives \
|
||||
--enable-gold \
|
||||
--enable-install-libiberty \
|
||||
--enable-ld=default \
|
||||
--enable-lto \
|
||||
--enable-pgo-build=lto \
|
||||
--enable-plugins \
|
||||
--enable-relro \
|
||||
--enable-shared \
|
||||
--enable-targets=x86_64-pep \
|
||||
--enable-threads \
|
||||
--disable-gdb \
|
||||
--disable-gdbserver \
|
||||
--disable-libdecnumber \
|
||||
--disable-readline \
|
||||
--disable-sim \
|
||||
--disable-werror \
|
||||
--with-debuginfod \
|
||||
--with-pic \
|
||||
--with-system-zlib
|
||||
|
||||
make -O tooldir=/usr
|
||||
}
|
||||
|
||||
check() {
|
||||
cd binutils-build
|
||||
|
||||
# Use minimal flags for testsuite
|
||||
# ld testsuite uses CFLAGS_FOR_TARGET and requires -g
|
||||
# gold testsuite requires CXXFLAGS/CFLAGS with default PIE/PIC disabled
|
||||
make -O CFLAGS_FOR_TARGET="-O2 -g" \
|
||||
CXXFLAGS="-O2 -no-pie -fno-PIC" \
|
||||
CFLAGS="-O2 -no-pie" \
|
||||
LDFLAGS="" \
|
||||
check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd binutils-build
|
||||
make prefix="$pkgdir/usr" tooldir="$pkgdir/usr" install
|
||||
|
||||
# Remove unwanted files
|
||||
rm -f "$pkgdir"/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
|
||||
|
||||
# No shared linking to these files outside binutils
|
||||
rm -f "$pkgdir"/usr/lib/lib{bfd,opcodes}.so
|
||||
echo 'INPUT( /usr/lib/libbfd.a -liberty -lz -ldl )' > "$pkgdir/usr/lib/libbfd.so"
|
||||
echo 'INPUT( /usr/lib/libopcodes.a -lbfd )' > "$pkgdir/usr/lib/libopcodes.so"
|
||||
}
|
|
@ -0,0 +1,84 @@
|
|||
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
||||
# Contributor: Allan McRae <allan@archlinux.org>
|
||||
|
||||
# toolchain build order: linux-api-headers->glibc->binutils->gcc->glibc->binutils->gcc
|
||||
|
||||
pkgname=binutils
|
||||
pkgver=2.38
|
||||
pkgrel=1
|
||||
pkgdesc='A set of programs to assemble and manipulate binary and object files'
|
||||
arch=(x86_64)
|
||||
url='https://www.gnu.org/software/binutils/'
|
||||
license=(GPL)
|
||||
groups=(base-devel)
|
||||
depends=(glibc zlib elfutils)
|
||||
makedepends=(elfutils git)
|
||||
conflicts=(binutils-multilib)
|
||||
replaces=(binutils-multilib)
|
||||
options=(staticlibs !distcc !ccache)
|
||||
#_commit=cb5f6a3e146cc70bc2d864989386df80acec5d3e
|
||||
#source=(git+https://sourceware.org/git/binutils-gdb.git#commit=$_commit)
|
||||
source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig})
|
||||
sha256sums=('e316477a914f567eccc34d5d29785b8b0f5a10208d36bbacedcc39048ecfe024'
|
||||
'SKIP')
|
||||
validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
|
||||
|
||||
prepare() {
|
||||
[[ ! -d binutils-gdb ]] && ln -s binutils-$pkgver binutils-gdb
|
||||
mkdir -p binutils-build
|
||||
|
||||
cd binutils-gdb
|
||||
|
||||
# Turn off development mode (-Werror, gas run-time checks, date in sonames)
|
||||
sed -i '/^development=/s/true/false/' bfd/development.sh
|
||||
|
||||
# hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
|
||||
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
|
||||
}
|
||||
|
||||
build() {
|
||||
cd binutils-build
|
||||
|
||||
"$srcdir/binutils-gdb/configure" \
|
||||
--prefix=/usr \
|
||||
--with-lib-path=/usr/lib:/usr/local/lib \
|
||||
--with-bugurl=https://bugs.archlinux.org/ \
|
||||
--enable-cet \
|
||||
--enable-deterministic-archives \
|
||||
--enable-gold \
|
||||
--enable-ld=default \
|
||||
--enable-lto \
|
||||
--enable-plugins \
|
||||
--enable-relro \
|
||||
--enable-targets=x86_64-pep \
|
||||
--enable-threads \
|
||||
--disable-gdb \
|
||||
--disable-werror \
|
||||
--with-debuginfod \
|
||||
--with-pic \
|
||||
--with-system-zlib
|
||||
|
||||
make -O configure-host
|
||||
make -O tooldir=/usr
|
||||
}
|
||||
|
||||
check() {
|
||||
cd binutils-build
|
||||
|
||||
# unset LDFLAGS as testsuite makes assumptions about which ones are active
|
||||
# ignore failures in gold testsuite...
|
||||
make -O -k LDFLAGS="" check || true
|
||||
}
|
||||
|
||||
package() {
|
||||
cd binutils-build
|
||||
make prefix="$pkgdir/usr" tooldir="$pkgdir/usr" install
|
||||
|
||||
# Remove unwanted files
|
||||
rm -f "$pkgdir"/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
|
||||
|
||||
# No shared linking to these files outside binutils
|
||||
rm -f "$pkgdir"/usr/lib/lib{bfd,opcodes}.so
|
||||
echo 'INPUT( /usr/lib/libbfd.a -liberty -lz -ldl )' > "$pkgdir/usr/lib/libbfd.so"
|
||||
echo 'INPUT( /usr/lib/libopcodes.a -lbfd )' > "$pkgdir/usr/lib/libopcodes.so"
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
rm -rvf {pkg,src,*tar.xz*}
|
|
@ -0,0 +1,3 @@
|
|||
dejagnu
|
||||
debuginfod
|
||||
bc
|
|
@ -0,0 +1,114 @@
|
|||
From 20ea3acc727f3be6322dfbd881e506873535231d Mon Sep 17 00:00:00 2001
|
||||
From: "H.J. Lu" <hjl.tools@gmail.com>
|
||||
Date: Fri, 11 Feb 2022 15:13:19 -0800
|
||||
Subject: [PATCH] ld: Keep indirect symbol from IR if referenced from shared
|
||||
object
|
||||
|
||||
Don't change indirect symbol defined in IR to undefined if it is
|
||||
referenced from shared object.
|
||||
|
||||
bfd/
|
||||
|
||||
PR ld/28879
|
||||
* elflink.c (_bfd_elf_merge_symbol): Don't change indirect
|
||||
symbol defined in IR to undefined if it is referenced from
|
||||
shared object.
|
||||
|
||||
ld/
|
||||
|
||||
PR ld/28879
|
||||
* testsuite/ld-plugin/lto.exp: Run PR ld/28879 tests.
|
||||
* testsuite/ld-plugin/pr28879a.cc: New file.
|
||||
* testsuite/ld-plugin/pr28879b.cc: Likewise.
|
||||
---
|
||||
bfd/elflink.c | 5 ++---
|
||||
ld/testsuite/ld-plugin/lto.exp | 26 ++++++++++++++++++++++++++
|
||||
ld/testsuite/ld-plugin/pr28879a.cc | 7 +++++++
|
||||
ld/testsuite/ld-plugin/pr28879b.cc | 8 ++++++++
|
||||
4 files changed, 43 insertions(+), 3 deletions(-)
|
||||
create mode 100644 ld/testsuite/ld-plugin/pr28879a.cc
|
||||
create mode 100644 ld/testsuite/ld-plugin/pr28879b.cc
|
||||
|
||||
diff --git a/bfd/elflink.c b/bfd/elflink.c
|
||||
index 6fa18d92007..f8521426cad 100644
|
||||
--- a/bfd/elflink.c
|
||||
+++ b/bfd/elflink.c
|
||||
@@ -1294,9 +1294,8 @@ _bfd_elf_merge_symbol (bfd *abfd,
|
||||
h->root.non_ir_ref_dynamic = true;
|
||||
hi->root.non_ir_ref_dynamic = true;
|
||||
}
|
||||
-
|
||||
- if ((oldbfd->flags & BFD_PLUGIN) != 0
|
||||
- && hi->root.type == bfd_link_hash_indirect)
|
||||
+ else if ((oldbfd->flags & BFD_PLUGIN) != 0
|
||||
+ && hi->root.type == bfd_link_hash_indirect)
|
||||
{
|
||||
/* Change indirect symbol from IR to undefined. */
|
||||
hi->root.type = bfd_link_hash_undefined;
|
||||
diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp
|
||||
index a70a84562b8..64b880265ee 100644
|
||||
--- a/ld/testsuite/ld-plugin/lto.exp
|
||||
+++ b/ld/testsuite/ld-plugin/lto.exp
|
||||
@@ -471,6 +471,32 @@ set lto_link_elf_tests [list \
|
||||
[list {pr27441c.so} \
|
||||
{-shared -fPIC -Wl,--as-needed tmpdir/pr27441c.o tmpdir/pr27441b.so tmpdir/pr27441a.so} {-fPIC} \
|
||||
{dummy.c} {{readelf {-dW} pr27441c.d}} {pr27441c.so}] \
|
||||
+ [list \
|
||||
+ "Build libpr28879a.so" \
|
||||
+ "-shared" \
|
||||
+ "-O0 -fpic" \
|
||||
+ {pr28879a.cc} \
|
||||
+ {} \
|
||||
+ "libpr28879a.so" \
|
||||
+ "c++" \
|
||||
+ ] \
|
||||
+ [list \
|
||||
+ "Build libpr28879b.so" \
|
||||
+ "-shared -Wl,--no-as-needed tmpdir/libpr28879a.so" \
|
||||
+ "-O2 -fpic" \
|
||||
+ {dummy.c} \
|
||||
+ {} \
|
||||
+ "libpr28879b.so" \
|
||||
+ ] \
|
||||
+ [list \
|
||||
+ "Build pr28879" \
|
||||
+ "-Wl,--no-as-needed tmpdir/libpr28879b.so -Wl,-rpath-link,." \
|
||||
+ "-O0 -flto -D_GLIBCXX_ASSERTIONS" \
|
||||
+ {pr28879b.cc} \
|
||||
+ {} \
|
||||
+ "pr28879" \
|
||||
+ "c++" \
|
||||
+ ] \
|
||||
]
|
||||
|
||||
# PR 14918 checks that libgcc is not spuriously included in a shared link of
|
||||
diff --git a/ld/testsuite/ld-plugin/pr28879a.cc b/ld/testsuite/ld-plugin/pr28879a.cc
|
||||
new file mode 100644
|
||||
index 00000000000..8307a42e2fb
|
||||
--- /dev/null
|
||||
+++ b/ld/testsuite/ld-plugin/pr28879a.cc
|
||||
@@ -0,0 +1,7 @@
|
||||
+#include <string>
|
||||
+
|
||||
+void
|
||||
+func (std::string *s)
|
||||
+{
|
||||
+ delete s;
|
||||
+}
|
||||
diff --git a/ld/testsuite/ld-plugin/pr28879b.cc b/ld/testsuite/ld-plugin/pr28879b.cc
|
||||
new file mode 100644
|
||||
index 00000000000..02fc351366c
|
||||
--- /dev/null
|
||||
+++ b/ld/testsuite/ld-plugin/pr28879b.cc
|
||||
@@ -0,0 +1,8 @@
|
||||
+#include <string>
|
||||
+
|
||||
+int
|
||||
+main (void)
|
||||
+{
|
||||
+ std::string header;
|
||||
+ return 0;
|
||||
+}
|
||||
--
|
||||
2.35.1
|
||||
|
|
@ -0,0 +1 @@
|
|||
gpg -v --recv-key 13FCEF89DD9E3C4F
|
|
@ -0,0 +1,9 @@
|
|||
real 2m47.361s
|
||||
user 9m4.310s
|
||||
sys 0m34.455s
|
||||
|
||||
|
||||
real 2m47.361s
|
||||
user 9m4.310s
|
||||
sys 0m34.455s
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=bison
|
||||
pkgver=3.8.2
|
||||
pkgrel=03
|
||||
pkgdesc="The GNU general-purpose parser generator"
|
||||
arch=('x86_64')
|
||||
url="https://www.gnu.org/software/bison/bison.html"
|
||||
depends=('glibc' 'm4' 'sh' 'gettext')
|
||||
groups=('base-devel')
|
||||
source=("https://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
./configure --prefix=/usr --datadir=/usr/share
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=('GPL3')
|
||||
|
||||
validpgpkeys=('7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E') # Akim Demaille
|
||||
|
||||
sha512sums=('d4d23af6671406e97257892f90651b67f2ab95219831372be032190b7156c10a3435d457857e677445df8b2327aacccc15344acbbc3808a6f332a93cce23b444'
|
||||
'SKIP')
|
||||
|
||||
sha256sums=(9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2 # bison-3.8.2.tar.xz
|
||||
aeff6fd7d7d7cad905ba3bc5228a2ccb95500c0f51fb4483e229c47c7c50f835) # bison-3.8.2.tar.xz.sig
|
|
@ -0,0 +1,34 @@
|
|||
# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
|
||||
# Contributor: Allan McRae <allan@archlinux.org>
|
||||
# Contributor: Eric Belanger <eric@archlinux.org>
|
||||
|
||||
pkgname=bison
|
||||
pkgver=3.8.2
|
||||
pkgrel=3
|
||||
pkgdesc="The GNU general-purpose parser generator"
|
||||
arch=('x86_64')
|
||||
license=('GPL3')
|
||||
url="https://www.gnu.org/software/bison/bison.html"
|
||||
depends=('glibc' 'm4' 'sh' 'gettext')
|
||||
groups=('base-devel')
|
||||
source=("https://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
||||
sha512sums=('d4d23af6671406e97257892f90651b67f2ab95219831372be032190b7156c10a3435d457857e677445df8b2327aacccc15344acbbc3808a6f332a93cce23b444'
|
||||
'SKIP')
|
||||
validpgpkeys=('7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E') # Akim Demaille
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
./configure --prefix=/usr --datadir=/usr/share
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
rm -rvf {src,pkg,bison*tar.xz*}
|
|
@ -0,0 +1 @@
|
|||
gettext
|
|
@ -0,0 +1,3 @@
|
|||
real 8m28.387s
|
||||
user 30m32.463s
|
||||
sys 1m33.920s
|
|
@ -0,0 +1,64 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=boot-66serv
|
||||
pkgdesc="Complete and portable set of services to properly boot a machine with 66 tools"
|
||||
pkgver=2.4.1
|
||||
pkgrel=04
|
||||
arch=('x86_64')
|
||||
url="https://git.obarun.org/obmods/${pkgname}"
|
||||
source=("${pkgname}::git+${url}#tag=v${pkgver}"
|
||||
boot.install)
|
||||
|
||||
makedepends=('git')
|
||||
|
||||
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() {
|
||||
cd "${pkgbase}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
||||
install=boot.install
|
||||
|
||||
groups=('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'
|
||||
'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')
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=('0BSD')
|
||||
|
||||
sha256sums=(SKIP
|
||||
f7e81047005998f6db00c187835c9aa3248d73c2f50b97617e48851825f65ad6) # boot.install
|
|
@ -0,0 +1,92 @@
|
|||
# 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')
|
|
@ -0,0 +1,8 @@
|
|||
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
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
rm -rvf {src,pkg,boot-66serv}
|
|
@ -0,0 +1,9 @@
|
|||
66
|
||||
66-tools
|
||||
s6-linux-utils
|
||||
s6-portable-utils
|
||||
opentmpfiles
|
||||
modules
|
||||
git
|
||||
boot@-66serv
|
||||
obsysusers
|
|
@ -0,0 +1,3 @@
|
|||
real 0m3.091s
|
||||
user 0m2.468s
|
||||
sys 0m0.357s
|
|
@ -0,0 +1,42 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=boot@-66serv
|
||||
pkgdesc="Dummy pkg to block Obarun's boot@-66serv which breaks runit setup"
|
||||
pkgver=99.99
|
||||
pkgrel=01
|
||||
arch=('x86_64')
|
||||
source=(README.txt install)
|
||||
|
||||
makedepends=(glibc)
|
||||
|
||||
prepare() {
|
||||
mkdir -p $pkgname
|
||||
cd $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}"
|
||||
install -Dm 0644 $srcdir/README.txt $pkgdir/etc/66/README.txt
|
||||
}
|
||||
|
||||
install=install
|
||||
|
||||
groups=('s6-suite')
|
||||
|
||||
backup=('etc/66/README.txt')
|
||||
|
||||
depends=(boot-66serv) # Ensures our version of boot-66serv is installed instead of Obarun's boot@-66serv
|
||||
|
||||
optdepends=(runit runit-rc runit-service-scripts joborun66)
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=('ISC')
|
||||
|
||||
sha256sums=(333d7ce7f5dc1cfe0ee796aea4f3ded01cdbd2ff4e3994ce26d64385cd7ceec9 # README.txt
|
||||
c768fe5ed7d8262a4f628d0de8a24fed0817a6a1ef219bc5af45a7af650f03b2) # install
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
This pkg was created with the sole purpose of blocking Obarun's boot@-66serv replaced by our own
|
||||
boot-66serv. If you were to install the authentic Obarun boot@-66serv you would break the system,
|
||||
unless you are saying goodbye to runit and want it permanently removed, thus switching to the
|
||||
full Obarun setup. The reason we rebuild boot-66serv as our own is so the conflicting files
|
||||
with runit/runit-rc do not conflict and can be located separately, while the 4 power functions
|
||||
(reboot, poweroff, halt, shutdown) can operate either one of the two systems (runit s6).
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
rm -rf {src,pkg}
|
|
@ -0,0 +1 @@
|
|||
boot-66serv
|
|
@ -0,0 +1,7 @@
|
|||
post_install() {
|
||||
echo "This is a metapackage for joborun's boot-66serv to replace boot@-66serv by Obarun"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
real 0m1.488s
|
||||
user 0m1.430s
|
||||
sys 0m0.230s
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=bootlogd
|
||||
pkgver=2.89
|
||||
pkgrel=03
|
||||
arch=('x86_64')
|
||||
pkgdesc='Bootlogd extracted from sysvinit'
|
||||
url='https://github.com/artix-linux/bootlogd'
|
||||
depends=('glibc' 'logrotate')
|
||||
makedepends=('git')
|
||||
source=("git+$url.git")
|
||||
|
||||
build() {
|
||||
cd ${pkgname}
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=('GPL')
|
||||
|
||||
sha256sums=(SKIP) # bootlogd
|
|
@ -0,0 +1,23 @@
|
|||
# Maintainer: artoo <artoo@artixlinux.org>
|
||||
|
||||
pkgname=bootlogd
|
||||
pkgver=2.89
|
||||
pkgrel=3
|
||||
arch=('x86_64')
|
||||
pkgdesc='Bootlogd extracted from sysvinit'
|
||||
license=('GPL')
|
||||
url='https://github.com/artix-linux/bootlogd'
|
||||
depends=('glibc' 'logrotate')
|
||||
makedepends=('git')
|
||||
source=("git+$url.git")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd ${pkgname}
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
rm -rvf {src,pkg,bootlogd}
|
|
@ -0,0 +1,2 @@
|
|||
git
|
||||
logrotate
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
real 0m2.380s
|
||||
user 0m1.446s
|
||||
sys 0m0.286s
|
|
@ -0,0 +1,81 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/attr"
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgbase=brotli
|
||||
pkgname=('brotli' 'python-brotli' 'brotli-testdata')
|
||||
_gitcommit=e61745a6b7add50d380cfd7d3883dd6c62fc2c71
|
||||
pkgver=1.0.9
|
||||
pkgrel=07
|
||||
pkgdesc='Generic-purpose lossless compression algorithm'
|
||||
url='https://github.com/google/brotli'
|
||||
arch=('x86_64')
|
||||
makedepends=('git' 'glibc' 'gcc-libs' 'cmake' 'python-setuptools')
|
||||
source=(${pkgname}::"git+${url}#commit=${_gitcommit}")
|
||||
|
||||
prepare() {
|
||||
cd ${pkgbase}
|
||||
git cherry-pick -n 09b0992b6acb7faa6fd3b23f9bc036ea117230fc # Fix broken Libs: in pc file
|
||||
}
|
||||
|
||||
pkgver() {
|
||||
cd ${pkgbase}
|
||||
git describe --tags --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${pkgbase}
|
||||
python setup.py build
|
||||
cmake -B build \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DBUILD_SHARED_LIBS=True
|
||||
make -C build VERBOSE=1
|
||||
}
|
||||
|
||||
check() {
|
||||
cd ${pkgbase}
|
||||
make test
|
||||
python setup.py test
|
||||
}
|
||||
|
||||
package_brotli() {
|
||||
depends=('gcc-libs' 'glibc')
|
||||
provides=(libbrotlicommon.so libbrotlidec.so libbrotlienc.so)
|
||||
|
||||
cd ${pkgbase}
|
||||
make -C build DESTDIR="$pkgdir" install
|
||||
local man;
|
||||
for man in docs/*.?; do
|
||||
install -Dm 644 "$man" "$pkgdir/usr/share/man/man${man##*.}/${man##*/}"
|
||||
done
|
||||
install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
||||
package_python-brotli() {
|
||||
pkgdesc+=' - python library'
|
||||
depends=('python' 'glibc' 'gcc-libs')
|
||||
|
||||
cd ${pkgbase}
|
||||
python setup.py install --skip-build -O1 --root="$pkgdir"
|
||||
install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
||||
package_brotli-testdata() {
|
||||
pkgdesc+=' - test data'
|
||||
depends=()
|
||||
|
||||
cd ${pkgbase}
|
||||
install -dm755 "$pkgdir"/usr/share/brotli
|
||||
cp -a tests/testdata "$pkgdir"/usr/share/brotli/
|
||||
install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
||||
#---- license gpg-key sha512sums ----
|
||||
|
||||
license=('MIT')
|
||||
|
||||
sha256sums=('SKIP')
|
|
@ -0,0 +1,77 @@
|
|||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
||||
# Contributor: Lex Black <autumn-wind at web dot de>
|
||||
# Contributor: TingPing <tingping@tingping.se>
|
||||
# Contributor: Guillaume Horel <guillaume.horel@gmail.com>
|
||||
|
||||
pkgbase=brotli
|
||||
pkgname=('brotli' 'python-brotli' 'brotli-testdata')
|
||||
_gitcommit=e61745a6b7add50d380cfd7d3883dd6c62fc2c71
|
||||
pkgver=1.0.9
|
||||
pkgrel=7
|
||||
pkgdesc='Generic-purpose lossless compression algorithm'
|
||||
url='https://github.com/google/brotli'
|
||||
arch=('x86_64')
|
||||
license=('MIT')
|
||||
makedepends=('git' 'glibc' 'gcc-libs' 'cmake' 'python-setuptools')
|
||||
source=(${pkgname}::"git+${url}#commit=${_gitcommit}")
|
||||
sha512sums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd ${pkgbase}
|
||||
git cherry-pick -n 09b0992b6acb7faa6fd3b23f9bc036ea117230fc # Fix broken Libs: in pc file
|
||||
}
|
||||
|
||||
pkgver() {
|
||||
cd ${pkgbase}
|
||||
git describe --tags --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${pkgbase}
|
||||
python setup.py build
|
||||
cmake -B build \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DBUILD_SHARED_LIBS=True
|
||||
make -C build VERBOSE=1
|
||||
}
|
||||
|
||||
check() {
|
||||
cd ${pkgbase}
|
||||
make test
|
||||
python setup.py test
|
||||
}
|
||||
|
||||
package_brotli() {
|
||||
depends=('gcc-libs' 'glibc')
|
||||
provides=(libbrotlicommon.so libbrotlidec.so libbrotlienc.so)
|
||||
|
||||
cd ${pkgbase}
|
||||
make -C build DESTDIR="$pkgdir" install
|
||||
local man;
|
||||
for man in docs/*.?; do
|
||||
install -Dm 644 "$man" "$pkgdir/usr/share/man/man${man##*.}/${man##*/}"
|
||||
done
|
||||
install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
||||
package_python-brotli() {
|
||||
pkgdesc+=' - python library'
|
||||
depends=('python' 'glibc' 'gcc-libs')
|
||||
|
||||
cd ${pkgbase}
|
||||
python setup.py install --skip-build -O1 --root="$pkgdir"
|
||||
install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
||||
package_brotli-testdata() {
|
||||
pkgdesc+=' - test data'
|
||||
depends=()
|
||||
|
||||
cd ${pkgbase}
|
||||
install -dm755 "$pkgdir"/usr/share/brotli
|
||||
cp -a tests/testdata "$pkgdir"/usr/share/brotli/
|
||||
install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
rm -rvf {pkg,src,brotli}
|
|
@ -0,0 +1 @@
|
|||
git cmake python-setuptools
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue