upg emacs-git libblockdev lua os-prober

This commit is contained in:
joborun linux 2023-09-20 12:32:30 +03:00
parent 0b2ff35725
commit cbcc76731b
11 changed files with 136 additions and 130 deletions

0
emacs-git/BROWSE Normal file
View File

View File

@ -7,7 +7,7 @@
pkgname=libblockdev
pkgver=3.0.3
pkgrel=03
pkgrel=04
pkgdesc="A library for manipulating block devices w/o systemd BEWARE OF TROJANS ISSUED BY SYSTEMD"
#url="https://github.com/rhinstaller/libblockdev"
url="https://github.com/storaged-project/libblockdev"
@ -22,7 +22,7 @@ optdepends=('btrfs-progs: BTRFS plugin'
'gobject-introspection-runtime: for Python integration'
'lvm2: LVM plugin'
'ndctl: NVDIMM plugin'
'nilfs-tools: for nilfs filesystem support'
'nilfs-utils: for nilfs filesystem support'
'ntfs-3g: NTFS filesystem support'
'python: for Python integration'
'udftools: for UDF filesystem support'
@ -63,4 +63,5 @@ license=('LGPL')
sha256sums=(0f2872830293f3e222832903d80de4c38e06a9c3ea18915b3263272a72095ea8) # libblockdev-3.0.3.tar.gz
## a34b4f753ff5b99b1f7006e797e1b0b3b1e5def0db49eeca869cfdda3b2bba2a libblockdev-3.0.3-03-x86_64.pkg.tar.lz
## 11b225079bb02699e01c12261f2bfb3e26b577617ad74e0057e73de60649ca5f libblockdev-3.0.3-04-x86_64.pkg.tar.lz

View File

@ -2,7 +2,7 @@
pkgname=libblockdev
pkgver=3.0.3
pkgrel=3
pkgrel=4
pkgdesc="A library for manipulating block devices"
arch=('x86_64')
url="https://github.com/storaged-project/libblockdev"
@ -41,7 +41,7 @@ optdepends=(
'gobject-introspection-runtime: for Python integration'
'lvm2: LVM plugin'
'ndctl: NVDIMM plugin'
'nilfs-tools: for nilfs filesystem support'
'nilfs-utils: for nilfs filesystem support'
'ntfs-3g: NTFS filesystem support'
'python: for Python integration'
'udftools: for UDF filesystem support'

View File

@ -8,7 +8,7 @@
pkgname=lua
pkgver=5.4.6
_majorver=${pkgver%.*}
pkgrel=01
pkgrel=02
pkgdesc='Powerful lightweight programming language designed for extending applications'
url='https://www.lua.org/'
depends=('readline')
@ -25,7 +25,6 @@ prepare() {
sed "s/%VER%/$_majorver/g;s/%REL%/$pkgver/g" lua.pc > lua-$pkgver/lua.pc
sed "s/%VER%/$_majorver/g;s/%REL%/$pkgver/g;s/-llua/-llua++/g" lua.pc > lua++-$pkgver/lua++.pc
}
build() {
@ -42,7 +41,7 @@ package() {
cd lua-$pkgver
make \
TO_LIB="liblua.a liblua.so liblua.so.$_majorver liblua.so.$pkgver" \
TO_LIB="liblua.so liblua.so.$_majorver liblua.so.$pkgver" \
INSTALL_DATA='cp -d' \
INSTALL_TOP="$pkgdir"/usr \
INSTALL_MAN="$pkgdir"/usr/share/man/man1 \
@ -62,7 +61,7 @@ package() {
cd ../lua++-$pkgver
make \
TO_LIB="liblua++.a liblua++.so liblua++.so.$_majorver liblua++.so.$pkgver" \
TO_LIB="liblua++.so liblua++.so.$_majorver liblua++.so.$pkgver" \
INSTALL_BIN=null INSTALL_INC=null INSTALL_MAN=../null \
INSTALL_DATA='cp -d' \
INSTALL_TOP="$pkgdir"/usr \
@ -73,7 +72,6 @@ package() {
ln -sf lua++54.pc "$pkgdir"/usr/lib/pkgconfig/lua++.pc
ln -sf lua++54.pc "$pkgdir"/usr/lib/pkgconfig/lua++5.4.pc
ln -sf lua++54.pc "$pkgdir"/usr/lib/pkgconfig/lua++-5.4.pc
}
#---- arch license gpg-key & sha256sums ----
@ -87,5 +85,5 @@ sha256sums=(7d5ea1b9cb6aa0b59ca3dde1c6adcb57ef83a1ba8e5432c0ecd06bf439b3ad88 #
ca9252633e782b8f85d6a94ea4f6babd4fe30bd759085b373160b1878e36ff78 # lua.pc
142fb08b41a807b192b4b2c166696a1830a1c97967e5099ad0e579bf500e1da4) # LICENSE
## 3a9174b720cd09bef99d0d297365d32617fdc708d90eb9693e3d716365c99421 lua-5.4.6-01-x86_64.pkg.tar.lz
## 3cc0ea406ce707e378b80613d1ea5bc6e7947bcdbe9c7e0c14bb9ca5eb567cd5 lua-5.4.6-02-x86_64.pkg.tar.lz

View File

@ -1,11 +1,12 @@
# Maintainer: Sébastien Luttringer <seblu@archlinux.org>
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
pkgname=lua
pkgver=5.4.6
_majorver=${pkgver%.*}
pkgrel=1
pkgrel=2
pkgdesc='Powerful lightweight programming language designed for extending applications'
arch=('x86_64')
url='https://www.lua.org/'
@ -43,7 +44,7 @@ package() {
cd lua-$pkgver
make \
TO_LIB="liblua.a liblua.so liblua.so.$_majorver liblua.so.$pkgver" \
TO_LIB="liblua.so liblua.so.$_majorver liblua.so.$pkgver" \
INSTALL_DATA='cp -d' \
INSTALL_TOP="$pkgdir"/usr \
INSTALL_MAN="$pkgdir"/usr/share/man/man1 \
@ -63,7 +64,7 @@ package() {
cd ../lua++-$pkgver
make \
TO_LIB="liblua++.a liblua++.so liblua++.so.$_majorver liblua++.so.$pkgver" \
TO_LIB="liblua++.so liblua++.so.$_majorver liblua++.so.$pkgver" \
INSTALL_BIN=null INSTALL_INC=null INSTALL_MAN=../null \
INSTALL_DATA='cp -d' \
INSTALL_TOP="$pkgdir"/usr \

View File

@ -1,3 +1,2 @@

View File

@ -5,21 +5,25 @@
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgbase=os-prober-patched
pkgname=os-prober
pkgver=1.81
pkgrel=01
pkgdesc="Utility to detect other OSes on a set of drives)"
url='https://joeyh.name/code/os-prober/'
#url="http://joey.kitenet.net/code/os-prober/"
arch=('x86_64')
provides=('os-prober' 'os-prober-garuda')
conflicts=('os-prober-btrfs' 'os-prober-garuda')
replaces=('os-prober-garuda')
source=(http://http.debian.net/debian/pool/main/o/${pkgname}/${pkgname}_${pkgver}.tar.xz)
pkgver=1.81.r5.g13be421
pkgrel=02
pkgdesc="Tool to detect other filesystems with operating systems on them"
url="https://tracker.debian.org/pkg/os-prober"
depends=('glibc' 'sh')
makedepends=('git')
provides=("$pkgname=$pkgver")
conflicts=('os-prober-git' 'os-prober-btrfs' 'os-prober-garuda')
source=("git+https://salsa.debian.org/installer-team/$pkgname.git")
pkgver() {
cd $pkgname
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd ${pkgname}-${pkgver}
cd ${pkgname}
# adjust lib dir to allow detection of 64-bit distros
sed -i -e "s:/lib/ld\*\.so\*:/lib*/ld*.so*:g" os-probes/mounted/common/90linux-distro
@ -27,30 +31,34 @@ prepare() {
}
build() {
cd ${pkgname}-${pkgver}
cd $pkgname
make newns
}
package() {
cd ${pkgname}-${pkgver}
cd $pkgname
depends=(sh which)
install -Dm 755 os-prober linux-boot-prober -t "${pkgdir}/usr/bin"
install -Dm 755 newns -t "${pkgdir}/usr/lib/os-prober"
install -Dm 755 common.sh -t "${pkgdir}/usr/share/os-prober"
for dir in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted; do
install -dm 755 "${pkgdir}/usr/lib/${dir}"
install -m 755 -t "${pkgdir}/usr/lib/${dir}" "${dir}"/common/*
[[ -d "${dir}"/x86 ]] && cp -r "${dir}"/x86/* "${pkgdir}/usr/lib/${dir}"
install -Dm755 {linux-boot-prober,$pkgname} -t "$pkgdir/usr/bin"
install -Dm755 "newns" -t "$pkgdir/usr/lib/$pkgname"
install -Dm755 "common.sh" -t "$pkgdir/usr/share/$pkgname"
for dir in linux-boot-probes linux-boot-probes/mounted os-probes os-probes/init os-probes/mounted; do
install -Dm755 "$dir/common"/* -t "$pkgdir/usr/lib/$dir"
[[ -d "$dir/x86" ]] && cp -r "$dir/x86"/* "$pkgdir/usr/lib/$dir"
done
install -Dm 755 os-probes/mounted/powerpc/20macosx "${pkgdir}"/usr/lib/os-probes/mounted/20macosx
install -dm 755 "${pkgdir}"/var/lib/os-prober
install -Dm755 "os-probes/mounted/powerpc/20macosx" -t "$pkgdir/usr/lib/os-probes/mounted"
install -dm755 "$pkgdir/var/lib/$pkgname"
}
#---- license gpg-key sha256sums ----
#---- arch license gpg-key & sha256sums ----
license=('GPL3')
arch=(x86_64)
sha256sums=(2fd928ec86538227711e2adf49cfd6a1ef74f6bb3555c5dad4e0425ccd978883) # os-prober_1.81.tar.xz
license=(GPL)
sha256sums=(SKIP)
## 124062c10b406a14617234bda3e08b097e7c2634c019f490ae938d6857ccbbad os-prober-1.81.r5.g13be421-02-x86_64.pkg.tar.lz

56
os-prober/PKGBUILD-0 Normal file
View File

@ -0,0 +1,56 @@
#!/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 |---------------------------------------
pkgbase=os-prober-patched
pkgname=os-prober
pkgver=1.81
pkgrel=01
pkgdesc="Utility to detect other OSes on a set of drives)"
url='https://joeyh.name/code/os-prober/'
#url="http://joey.kitenet.net/code/os-prober/"
arch=('x86_64')
provides=('os-prober' 'os-prober-garuda')
conflicts=('os-prober-btrfs' 'os-prober-garuda')
replaces=('os-prober-garuda')
source=(http://http.debian.net/debian/pool/main/o/${pkgname}/${pkgname}_${pkgver}.tar.xz)
prepare() {
cd ${pkgname}-${pkgver}
# adjust lib dir to allow detection of 64-bit distros
sed -i -e "s:/lib/ld\*\.so\*:/lib*/ld*.so*:g" os-probes/mounted/common/90linux-distro
rm -f Makefile
}
build() {
cd ${pkgname}-${pkgver}
make newns
}
package() {
cd ${pkgname}-${pkgver}
depends=(sh which)
install -Dm 755 os-prober linux-boot-prober -t "${pkgdir}/usr/bin"
install -Dm 755 newns -t "${pkgdir}/usr/lib/os-prober"
install -Dm 755 common.sh -t "${pkgdir}/usr/share/os-prober"
for dir in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted; do
install -dm 755 "${pkgdir}/usr/lib/${dir}"
install -m 755 -t "${pkgdir}/usr/lib/${dir}" "${dir}"/common/*
[[ -d "${dir}"/x86 ]] && cp -r "${dir}"/x86/* "${pkgdir}/usr/lib/${dir}"
done
install -Dm 755 os-probes/mounted/powerpc/20macosx "${pkgdir}"/usr/lib/os-probes/mounted/20macosx
install -dm 755 "${pkgdir}"/var/lib/os-prober
}
#---- license gpg-key sha256sums ----
license=('GPL3')
sha256sums=(2fd928ec86538227711e2adf49cfd6a1ef74f6bb3555c5dad4e0425ccd978883) # os-prober_1.81.tar.xz

View File

@ -1,102 +1,44 @@
# Maintainer: Librewish <librewish@gail.com>
# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: darkcoder <mario_vazq@hotmail.com>
pkgname=os-prober-btrfs
_pkgname=os-prober
pkgver=1.79
pkgrel=3
pkgdesc="Utility to detect other OSes on a set of drives (with additional patches to detect btrfs systems and other systems)"
url="http://joey.kitenet.net/code/os-prober/"
arch=('x86_64')
license=('GPL3')
depends=('sh')
provides=('os-prober' 'os-prober-garuda')
conflicts=('os-prober' 'os-prober-garuda')
replaces=('os-prober-garuda')
source=(http://http.debian.net/debian/pool/main/o/${_pkgname}/${_pkgname}_${pkgver}.tar.xz
os-prober-frugalware.diff
os-prober-mdraidfix.patch
os-prober-btrfsfix.patch
os-prober-bootpart-name-fix.patch
os-prober-mounted-partitions-fix.patch
os-prober-factor-out-logger.patch
os-prober-factored-logger-efi-fix.patch
os-prober-umount-fix.patch
os-prober-grub2-parsefix.patch
os-prober-grub2-multiple-images.patch
os-prober-grepfix.patch
os-prober-gentoo-fix.patch
fix-blkid-path.patch)
md5sums=('08d3bfff00f1f7c068ce509656728eba'
'2ae284a2fc6cafb6ec4af0f44d3c3e48'
'fa2c878cbb8af6b6dc57b6cd966520ec'
'b71e32f69569f8ad693a19c7129cadf2'
'672f301022bdb4a2962e9c7f8af05f21'
'3c15707f9abbf2867d44886a77dbf74a'
'7e4c8f98ff7763472bc46adb4f9119c2'
'1a09f769d1e966c773b8885a9b0be44e'
'69e5e23a35a2756fcb9d649d0ae2eea5'
'b81bdf05173269ccce91c9a81ce4bfe8'
'2ac73c1c9f3ff32c4c5670f5fbda9f0d'
'ed3242f992b525a4af0a9df9af51e334'
'ec05aaa35c83ab669291e8895c252cc8'
'20dc42ef9b69f79b920380cd95191ed3')
sha256sums=('abe6317d078c4e51e322e62036b6df4a698bfe80c5be110a08894841179810ee'
'9a6c22c91ea5955d665bc20d85d899f6721875a6216862d59a1b7f3f4241fd02'
'092b0caef6fff45560531c0735e9449cb05a677e2296d72b5a0b4fb568fa4476'
'0ebfd75cfc82cfba2d239986ad68213dc8ee92943a1c68111b34e3fefc360232'
'c3d094f02b8a00026af10fdfe2ea9286cd1af6a1e25afcc82f3b234bdb64b86f'
'7a9c4a0f5bba4053b1bbf1640c854aee83f526fd086c94bc7691e1d3cb28afb7'
'b5c41ac1bc1a4544dd2d9efdcf190d6e5c2f0822b6d0e5fc8f7e6e5222da1d8d'
'08bf632e4716a3a63bd8f20e729c540754b676b23f4f82ff9156c448910c6f94'
'81a5ce0c5e784480dff7520bdfada8f80dfe96b101e14e41bca2d0992e863e68'
'afc201d4d71525b73ffa365f7c667148e007836567be4c8ec25ea661d43b43f8'
'07b919c7559ce6c5a8d8907d752366fc97ccf40b7ad54cbb2de904a9dd373efd'
'a9331117892dd9876b346d941969f70da96d54ce122d7a5ff40d9efe36aded42'
'02741e0edbc46327501be5d74977ff2bffa5ddaffe6a55a689e38ce4b8372444'
'87bbb0f69ebb47f5136291d6851967fba791db4f27d8883b35fc5be1653ff7a6')
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
prepare() {
cd ${_pkgname}
pkgname=os-prober-git
pkgver=1.81.r4.g7875f73
pkgrel=1
pkgdesc="Tool to detect other filesystems with operating systems on them"
arch=('i686' 'x86_64')
url="https://tracker.debian.org/pkg/os-prober"
license=('GPL')
depends=('glibc' 'sh')
makedepends=('git')
provides=("os-prober=$pkgver")
conflicts=('os-prober')
source=("git+https://salsa.debian.org/installer-team/os-prober.git")
sha256sums=('SKIP')
patch -p1 -i "$srcdir"/os-prober-frugalware.diff
patch -p1 -i "$srcdir"/os-prober-mdraidfix.patch
patch -p1 -i "$srcdir"/os-prober-btrfsfix.patch
patch -p1 -i "$srcdir"/os-prober-bootpart-name-fix.patch
patch -p1 -i "$srcdir"/os-prober-mounted-partitions-fix.patch
patch -p1 -i "$srcdir"/os-prober-factor-out-logger.patch
patch -p1 -i "$srcdir"/os-prober-factored-logger-efi-fix.patch
patch -p1 -i "$srcdir"/os-prober-umount-fix.patch
patch -p1 -i "$srcdir"/os-prober-grub2-parsefix.patch
patch -p1 -i "$srcdir"/os-prober-grub2-multiple-images.patch
patch -p1 -i "$srcdir"/os-prober-grepfix.patch
patch -p1 -i "$srcdir"/os-prober-gentoo-fix.patch
patch -p1 -i "$srcdir"/fix-blkid-path.patch
# adjust lib dir to allow detection of 64-bit distros
sed -i -e "s:/lib/ld\*\.so\*:/lib*/ld*.so*:g" os-probes/mounted/common/90linux-distro
rm -f Makefile
pkgver() {
cd "os-prober"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd ${_pkgname}
make newns
cd "os-prober"
make
}
package() {
cd ${_pkgname}
cd "os-prober"
install -Dm 755 os-prober linux-boot-prober -t "${pkgdir}/usr/bin"
install -Dm 755 newns -t "${pkgdir}/usr/lib/os-prober"
install -Dm 755 common.sh -t "${pkgdir}/usr/share/os-prober"
install -Dm755 {linux-boot-prober,os-prober} -t "$pkgdir/usr/bin"
install -Dm755 "newns" -t "$pkgdir/usr/lib/os-prober"
install -Dm755 "common.sh" -t "$pkgdir/usr/share/os-prober"
for dir in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted; do
install -dm 755 "${pkgdir}/usr/lib/${dir}"
install -m 755 -t "${pkgdir}/usr/lib/${dir}" "${dir}"/common/*
[[ -d "${dir}"/x86 ]] && cp -r "${dir}"/x86/* "${pkgdir}/usr/lib/${dir}"
for dir in linux-boot-probes linux-boot-probes/mounted os-probes os-probes/init os-probes/mounted; do
install -Dm755 "$dir/common"/* -t "$pkgdir/usr/lib/$dir"
[[ -d "$dir/x86" ]] && cp -r "$dir/x86"/* "$pkgdir/usr/lib/$dir"
done
install -Dm 755 os-probes/mounted/powerpc/20macosx "${pkgdir}"/usr/lib/os-probes/mounted/20macosx
install -dm 755 "${pkgdir}"/var/lib/os-prober
install -Dm755 "os-probes/mounted/powerpc/20macosx" -t "$pkgdir/usr/lib/os-probes/mounted"
install -dm755 "$pkgdir/var/lib/os-prober"
}

View File

@ -1 +1 @@
rm -rf {src,pkg,os-pr*.tar.xz}
rm -rf {src,pkg,os-pr*.tar.xz,os-prober}

View File

@ -1,2 +1,3 @@
git