upg cmake enchant rhash samba

add 9base
This commit is contained in:
joborun linux 2023-10-17 20:11:43 +03:00
parent b9b59af353
commit cd34b5cea2
17 changed files with 182 additions and 31 deletions

13
9base/9 Normal file
View File

@ -0,0 +1,13 @@
#!/bin/sh
PLAN9=${PLAN9:-/opt/plan9}
export PLAN9
case "$PATH" in
$PLAN9/bin:*) ;;
*) export PATH=$PLAN9/bin:$PATH ;;
esac
if [ $# -gt 0 ]; then
exec "$@"
fi

78
9base/PKGBUILD Normal file
View File

@ -0,0 +1,78 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=9base
pkgver=6
pkgrel=08
pkgdesc="Port of various original Plan9 tools to unix"
url="https://tools.suckless.org/9base"
depends=(sh)
conflicts=('plan9port' 'plan9port-git')
provides=('plan9')
source=(https://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz
9
plan9.sh)
build() {
cd $pkgname-$pkgver
CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
case $CARCH in
i686) sed -i 's#^OBJTYPE\s.*$#OBJTYPE = 386#' config.mk ;;
x86_64) sed -i 's#^OBJTYPE\s.*$#OBJTYPE = x86_64#' config.mk ;;
esac
sed -i 's#^PREFIX\s.*$#PREFIX = /opt/plan9#' config.mk
sed -i 's#^CFLAGS\s*+=#CFLAGS += -DPLAN9PORT #' config.mk
# Force dynamic linking. Several of the programs in 9base won't work
# when statically linked against the latest glibc.
sed -i '/-static/d' config.mk
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -m755 ../9 "$pkgdir/opt/plan9/bin/"
install -D -m755 ../plan9.sh "$pkgdir/etc/profile.d/plan9.sh"
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/9base/LICENSE"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('custom')
md5sums=('5a4684c13fe19b00a50c2cf926d5cafc'
'ae7108b9f26bed388e9055f35eef2986'
'62a9e52043d9c32967fcae9018fffb56')
sha256sums=('2997480eb5b4cf3092c0896483cd2de625158bf51c501aea2dc5cf74176d6de9'
'1da13555dc798787a73bfdfe44ded76bc007b8a0ab5fd5f8fea88cd4ae870b1e'
'c494f86e428cf6c9d3b349e04e26e5cc3fc5c4443ec7901a1497f28939d3d4d4')
sha256sums=(a)
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('custom')
md5sums=('5a4684c13fe19b00a50c2cf926d5cafc'
'ae7108b9f26bed388e9055f35eef2986'
'62a9e52043d9c32967fcae9018fffb56')
sha256sums=(2997480eb5b4cf3092c0896483cd2de625158bf51c501aea2dc5cf74176d6de9 # 9base-6.tar.gz
1da13555dc798787a73bfdfe44ded76bc007b8a0ab5fd5f8fea88cd4ae870b1e # 9
c494f86e428cf6c9d3b349e04e26e5cc3fc5c4443ec7901a1497f28939d3d4d4) # plan9.sh
## 2c93f8c61c1dc43b1ff2c986f983be3e2e3df4c9d3add5bc7e9a9a13ba0e76b4 9base-6-08-x86_64.pkg.tar.lz

52
9base/PKGBUILD-arch Normal file
View File

@ -0,0 +1,52 @@
# Maintainer: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: Jeff Mickey <j@codemac.net>
# Contributor: Aaron, phrakture, Griffin <aaron@archlinux.org>
# Contributor: Jeffrey 'jf' Lim <jfs.world@gmail.com>
pkgname=9base
pkgver=6
pkgrel=8
pkgdesc="Port of various original Plan9 tools to unix"
url="https://tools.suckless.org/9base"
depends=(sh)
conflicts=('plan9port' '9rc-devel')
provides=('plan9')
arch=('x86_64')
license=('custom')
source=(https://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz
9
plan9.sh)
md5sums=('5a4684c13fe19b00a50c2cf926d5cafc'
'ae7108b9f26bed388e9055f35eef2986'
'62a9e52043d9c32967fcae9018fffb56')
sha256sums=('2997480eb5b4cf3092c0896483cd2de625158bf51c501aea2dc5cf74176d6de9'
'1da13555dc798787a73bfdfe44ded76bc007b8a0ab5fd5f8fea88cd4ae870b1e'
'c494f86e428cf6c9d3b349e04e26e5cc3fc5c4443ec7901a1497f28939d3d4d4')
build() {
cd $pkgname-$pkgver
CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
case $CARCH in
i686) sed -i 's#^OBJTYPE\s.*$#OBJTYPE = 386#' config.mk ;;
x86_64) sed -i 's#^OBJTYPE\s.*$#OBJTYPE = x86_64#' config.mk ;;
esac
sed -i 's#^PREFIX\s.*$#PREFIX = /opt/plan9#' config.mk
sed -i 's#^CFLAGS\s*+=#CFLAGS += -DPLAN9PORT #' config.mk
# Force dynamic linking. Several of the programs in 9base won't work
# when statically linked against the latest glibc.
sed -i '/-static/d' config.mk
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -m755 ../9 "$pkgdir/opt/plan9/bin/"
install -D -m755 ../plan9.sh "$pkgdir/etc/profile.d/plan9.sh"
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/9base/LICENSE"
}

1
9base/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,9base*.tar.gz}

4
9base/plan9.sh Normal file
View File

@ -0,0 +1,4 @@
export PLAN9=/opt/plan9
export PATH=$PATH:$PLAN9/bin
export MANPATH=$MANPATH:$PLAN9/man

6
9base/time Normal file
View File

@ -0,0 +1,6 @@
real 0m42.153s
user 0m38.276s
sys 0m4.625s

View File

@ -1,3 +1,5 @@
ISC License modified:
Copyleft (c) 2021-2023 by joborun-linux joborun@disroot.org
@ -9,4 +11,3 @@ to corporations or other "legal entities" with or without fee is hereby granted,
Any corporations or other "legal entities" must seek written approval for using, copying, modifying, and/or distributing, this software.
THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

View File

@ -7,7 +7,7 @@
pkgname=cmake
pkgver=3.27.7
pkgrel=01
pkgrel=02
pkgdesc='A cross-platform open-source make system w/o zstd or qt-gui '
url="https://www.cmake.org/"
depends=('curl' 'libarchive' 'hicolor-icon-theme' 'jsoncpp' 'libuv' 'rhash' 'cppdap')
@ -67,4 +67,4 @@ sha256sums=(08f71a106036bf051f692760ef9558c0577c42ac39e96ba097e7662bd4158d8e #
5bb3f53db3f3f8fa0c8a4af6e555a38dbc232b81021971fa9c16fa142377224a # cmake-3.27.7-SHA-256.txt
4444e94e311fe690e0d529e7a12f6eb694b003907be0cc49268a7f35bf4f808c) # cmake-3.27.7-SHA-256.txt.asc
## 9152b95f111142abcb736984a9c18a796d1322a49accd32dec9937282d6e04f1 cmake-3.27.7-01-x86_64.pkg.tar.lz
## 940273e2e6a1b7df85a0cf7fd7f0f55d2d01ead0b37f3d7eb0b1c133e1461ff1 cmake-3.27.7-02-x86_64.pkg.tar.lz

View File

@ -4,7 +4,7 @@
pkgname=cmake
pkgver=3.27.7
pkgrel=1
pkgrel=2
pkgdesc='A cross-platform open-source make system'
arch=('x86_64')
url="https://www.cmake.org/"

View File

@ -9,4 +9,3 @@ cppdap
nlohmann-json
python-typing_extensions

View File

@ -1,6 +1,6 @@
real 24m21.278s
user 33m40.604s
sys 1m25.095s
real 20m58.083s
user 30m6.956s
sys 1m37.556s

View File

@ -6,7 +6,7 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=enchant
pkgver=2.6.0
pkgver=2.6.1
pkgrel=01
pkgdesc="A wrapper library for generic spell checking"
url="https://abiword.github.io/enchant/"
@ -51,6 +51,6 @@ arch=(x86_64)
license=(LGPL)
sha256sums=(3357ea93a1744ffbcd730223cc8366135d40ff59881ae0591d51d3ee8ff9ae6f) # enchant-2.6.0.tar.gz91ab934cac48f833029ba78dd779fc1ed91341fe')
## 6adfce745575fa7b01296ccf43af1a4deddc169065f1fb86ea34fe3c42a0ed87 enchant-2.6.0-01-x86_64.pkg.tar.lz
sha256sums=(f24e12469137ae1d03140bb9032a47a5947c36f4d1e2f12b929061005eb15279) # enchant-2.6.1.tar.gz
## 05ff3258fc63755097d4700d9040adfa37a389ec274f294f6bdc6282ae99ad6d enchant-2.6.1-01-x86_64.pkg.tar.lz

View File

@ -3,7 +3,7 @@
# Contributor: dorphell <dorphell@archlinux.org>
pkgname=enchant
pkgver=2.6.0
pkgver=2.6.1
pkgrel=1
pkgdesc="A wrapper library for generic spell checking"
arch=('x86_64')
@ -19,7 +19,7 @@ optdepends=('aspell: for aspell based spell checking support'
'nuspell: for nuspell based spell checking support')
provides=('libenchant-2.so') # enchant_voikko.so enchant_nuspell.so enchant_hunspell.so enchant_hspell.so enchant_aspell.so)
source=("https://github.com/AbiWord/enchant/releases/download/v$pkgver/enchant-$pkgver.tar.gz")
sha512sums=('04dce2fc9fe00978824039e9db09d3c39aeb2dddd682a58e7f2f8e1bdf5213e59e6fc84418339ce61e3e69ad8679d87fb1d960c34f5c1e838cea7d96ca32bde0')
sha512sums=('e2faabeb6a4edc7237a0a279b210512100fb1662b097cd23f0fc07a3519e48632e5527b0d393793a7623667011eae7e11f15fcddcaa155c4abd26ab6981ddf44')
prepare() {
cd $pkgname-$pkgver

View File

@ -6,7 +6,7 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=rhash
pkgver=1.4.3
pkgver=1.4.4
pkgrel=01
pkgdesc='Utility for verifying hash sums of files'
url='https://github.com/rhash/RHash'
@ -51,11 +51,8 @@ license=('BSD')
# https://sourceforge.net/p/rhash/wiki/PublicKey/
validpgpkeys=('2875F6B1C2D27A4F0C8AF60B2A714497E37363AE')
sha256sums=(1e40fa66966306920f043866cbe8612f4b939b033ba5e2708c3f41be257c8a3e # rhash-1.4.3.tar.gz
b6eae72cfb6d984b165a7e6c527fa92b6b7c93663c6e1c208c73a2d9091c5d90) # rhash-1.4.3.tar.gz.asc
sha512sums=('d87ffcde28d8f25cf775c279fed457e52d24523ed9b695629dae694b3c22372247d18f6032f8ce13a0b70fa2953be408982e46659daaa7c4ab227ae89eaed9c7'
'SKIP')
sha256sums=(8e7d1a8ccac0143c8fe9b68ebac67d485df119ea17a613f4038cda52f84ef52a # rhash-1.4.4.tar.gz
80811247c615276acc6b76fd84f96244d121337998063e29d2c09a4f9272130e) # rhash-1.4.4.tar.gz.asc
## fa28af341b46ffb339cf168835eca9f79f884007ee76493e6d5222844f8effd1 rhash-1.4.4-01-x86_64.pkg.tar.lz

View File

@ -5,7 +5,7 @@
# Contributor: reMiND <detanator@gmail.com>
pkgname=rhash
pkgver=1.4.3
pkgver=1.4.4
pkgrel=1
pkgdesc='Utility for verifying hash sums of files'
@ -20,7 +20,7 @@ backup=('etc/rhashrc')
source=(rhash-$pkgver.tar.gz::https://github.com/rhash/RHash/archive/v$pkgver.tar.gz
rhash-$pkgver.tar.gz.asc::https://github.com/rhash/RHash/releases/download/v$pkgver/v$pkgver.tar.gz.asc)
sha512sums=('d87ffcde28d8f25cf775c279fed457e52d24523ed9b695629dae694b3c22372247d18f6032f8ce13a0b70fa2953be408982e46659daaa7c4ab227ae89eaed9c7'
sha512sums=('00a7e5e058b53ce20ae79509815452ed9cb699d1322b678220b72c61dea3ea2f8fa131acfade8bb6d9f6af913f0c3c472330841181b22314b8755166310c946f'
'SKIP')
# https://sourceforge.net/p/rhash/wiki/PublicKey/
validpgpkeys=('2875F6B1C2D27A4F0C8AF60B2A714497E37363AE')

View File

@ -7,7 +7,7 @@
pkgbase=samba
pkgname=('libwbclient' 'smbclient' 'samba')
pkgver=4.19.1
pkgver=4.19.2
pkgrel=01
url="https://www.samba.org"
makedepends=('python' 'python-markdown' 'python-dnspython' 'docbook-xsl' 'pkg-config' 'libbsd' 'popt' 'libcups'
@ -212,14 +212,14 @@ license=('GPL-3.0-or-later')
validpgpkeys=('81F5E2832BD2545A1897B713AA99442FB680B620') #Samba Distribution Verification Key <samba-bugs@samba.org>
sha256sums=(ce3b7f0d18bf91aa5fd646e8bb385a3b35375b703c6e5123b02b85a1abc81879 # samba-4.19.1.tar.gz
9b2ffd720f72feb616b69766808e54791be399ba39ed055ea236cf1a584f2662 # samba-4.19.1.tar.asc
sha256sums=(9e63f0505e1c631f1db0b7a9349a51e925c026ca03af3fd5d812228bb597d393 # samba-4.19.2.tar.gz
cd90457022879fda9376969609847529999c5fade625c2cb0518177e41eca8d5 # samba-4.19.2.tar.asc
0b570570ea49f82e6f9da47b1cce3b441859f52de105b54d4d79b873b924623f # samba.logrotate
57dfd072fd7ef0018c6b0a798367aac1abb5979060ff3f9df22d1048bb71c0d5 # samba.pam
f2d11032015ef917f4af50f3933d432fa744b5f846ab4d980247e329e52d34bc # samba.sysconfig
5398a42ccb36ac3b87cfa42c8050b535efc2ca38ab3b9354a52f4e0fe71b5800) # samba.tmpfiles
## 78cd43ed50a92cf414d3a08d610ff1e81ed688ba27798e26891aab955d9ad188 libwbclient-4.19.1-01-x86_64.pkg.tar.lz
## a0ef0a276aaff66c7b1b68b3426e604c1950cc31e5366b7cf74e22baad9158d7 samba-4.19.1-01-x86_64.pkg.tar.lz
## 889f565319b21d6d7824e65df13b081468c8dacfa224fe16de3376faa3f47e3d smbclient-4.19.1-01-x86_64.pkg.tar.lz
## d27027a326c350df3a4bf323902ccff7812bb8d6897ad9639099799c9d134e5b libwbclient-4.19.2-01-x86_64.pkg.tar.lz
## 44081206cb00ed76b3ba7abb01e6282dd34d9cac58bf289d0427640a2101cbd5 samba-4.19.2-01-x86_64.pkg.tar.lz
## 42aaeed97e89700cb23dd1a278f002f1ded6bf338f44091da1cccc86e2ee3cb8 smbclient-4.19.2-01-x86_64.pkg.tar.lz

View File

@ -9,7 +9,7 @@
pkgbase=samba
pkgname=('libwbclient' 'smbclient' 'samba')
pkgver=4.19.1
pkgver=4.19.2
pkgrel=1
arch=(x86_64)
url="https://www.samba.org"
@ -29,7 +29,7 @@ source=(https://us1.samba.org/samba/ftp/stable/${pkgbase}-${pkgver}.tar{.gz,.asc
samba.pam
samba.conf)
validpgpkeys=('81F5E2832BD2545A1897B713AA99442FB680B620') #Samba Distribution Verification Key <samba-bugs@samba.org>
sha512sums=('838d1529c06bc636fbc3a1c10d5b6bea6389acf992d16c0fd44c51170a6c09de9ccc6e76b789740113851d8c9092bcbe974617b39bbae001e0395f7e127b1670'
sha512sums=('d2fb64013e77d138a52b100377a042951c132884936b2b6dbf60506355e3f6882d5f3008a6bb855dd19b8981f7dc14da4f91ddbea7458978c1c4ab009608faf5'
'SKIP'
'2ba0691ded467e4d6e40821f6de58c00f8962209efe2e60284c0c87756ab471c22c3d63b77d506e48c90ed0d852a2a24e41be1d499cf74a73cb99da0b503c858'
'1e6183ab0eb812b3ef687ac2c26ce78f7cb30540f606d20023669ac00ba04075487fb72e4dc89cc05dab0269ff6aca98fc1167cc75669c225b88b592482fbf67'