summaryrefslogtreecommitdiff
path: root/bareos/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-01-04 22:45:33 +0100
committerErich Eckner <git@eckner.net>2023-01-04 22:58:48 +0100
commit8943985b87586d5c563b8d3327ea79e4e0e54cbb (patch)
tree7c7dfa7ae523f6ee1a53bdac42955ed76fe3e823 /bareos/PKGBUILD
parentd4a36018f5158371843a670a34647b9a7e6d2eb2 (diff)
downloadarchlinuxewe-8943985b87586d5c563b8d3327ea79e4e0e54cbb.tar.xz
bareosbareos: 21.1.2-20 -> 22.0.1-1
Diffstat (limited to 'bareos/PKGBUILD')
-rw-r--r--bareos/PKGBUILD50
1 files changed, 21 insertions, 29 deletions
diff --git a/bareos/PKGBUILD b/bareos/PKGBUILD
index b851ce117..cf9da3af2 100644
--- a/bareos/PKGBUILD
+++ b/bareos/PKGBUILD
@@ -20,8 +20,8 @@ pkgname=("${pkgbase}-common"
"${pkgbase}-storage-python-plugin"
"${pkgbase}-webui")
-pkgver=21.1.2
-pkgrel=20
+pkgver=22.0.1
+pkgrel=1
arch=(x86_64 i486 i686 pentium4 armv6h armv7h aarch64)
groups=('bareos')
pkgdesc="Bareos - Backup Archiving REcovery Open Sourced"
@@ -32,11 +32,11 @@ _pinned_dependencies=(
'glibc>=2.31'
'jansson=2.14'
'libacl.so=1'
+ 'libcrypto.so=3'
'libpam.so=0'
'libpq.so=5'
'libreadline.so=8'
'lzo=2.10'
- 'openssl-1.1=1.1.1.s'
'zlib=1:1.2.13'
)
_pinned_dependencies_libmariadbclient=(
@@ -50,20 +50,10 @@ makedepends_armv6h=("${_pinned_dependencies_libmariadbclient[@]}")
makedepends_armv7h=("${_pinned_dependencies_libmariadbclient[@]}")
makedepends_aarch64=(ceph "${_pinned_dependencies_libmariadbclient[@]}")
source=("$pkgbase-$pkgver.tar.gz::https://github.com/$pkgbase/$pkgbase/archive/Release/$pkgver.tar.gz"
-'ce3339d28623b8bb771e5e0aa139168df5963c4b.patch'
-'xattr.patch'
'check-if-bareos-backup-is-running')
-sha512sums=('acdc787ff828add93c81b2b7d293dec90f2aa22aa3aee3002662bd30e88dc0dc58b753bb63ca7c111fac6c7eeea888938236c1169f92ed6cec27941036c7b6b1'
- '9c5b3ff610d50d0aef5de8ca0f2ed49bb72817a5a044013b87762139b048382b9a0949129ecf1788443363ef1dd4e70e773c985490dda1fae12212a4170da5aa'
- 'c535f89866816669208d56e21ffb13f70aa962e578847bc7bcc76a3e8ad54b252c8e09b745b500064d6f02cb5497cb81b62dd1c156d2e907c393aaa091aa5f0e'
+sha512sums=('0cb3af444710e8ef6e40b3fd83cbd7787ac81fcf290433102b33d5279f391d34047242229729af60be4a34bd42ac3ca8371e948071724ae2cbe02492ad17653c'
'0235763891f368c13931f0fc43e3ae2d7ec796b7ef35896b6b9c048345d539308abe4a9bafda4e95221a89231d2f373ac3cfc2098d572d4068a1c068d27452f6')
-prepare() {
- cd $pkgbase-Release-$pkgver
- patch -p1 -i ../ce3339d28623b8bb771e5e0aa139168df5963c4b.patch
- patch -p1 -i ../xattr.patch
-}
-
build() {
cd $pkgbase-Release-$pkgver
mkdir build
@@ -136,8 +126,8 @@ package_bareos-common() {
'glibc>=2.31'
'jansson=2.14'
'libacl.so=1'
+ 'libcrypto.so=3'
'lzo=2.10'
- 'openssl-1.1=1.1.1.s'
'zlib=1:1.2.13'
)
depends=('bash' "${_pinned_dependencies[@]}")
@@ -148,11 +138,11 @@ package_bareos-common() {
# usr/lib/bareos/libbareossd.so
install -Dm755 \
- "$srcdir/install/usr/lib/bareos"/libbareos.so* \
- "$srcdir/install/usr/lib/bareos"/libbareosfind.so* \
- "$srcdir/install/usr/lib/bareos"/libbareoslmdb.so* \
- "$srcdir/install/usr/lib/bareos"/libbareossd.so* \
- "$srcdir/install/usr/lib/bareos"/libbareosfastlz.so* \
+ "$srcdir/install/usr/lib/bareos/libbareos.so.$pkgver" \
+ "$srcdir/install/usr/lib/bareos/libbareosfind.so.$pkgver" \
+ "$srcdir/install/usr/lib/bareos/libbareoslmdb.so.$pkgver" \
+ "$srcdir/install/usr/lib/bareos/libbareossd.so.$pkgver" \
+ "$srcdir/install/usr/lib/bareos/libbareosfastlz.so.$pkgver" \
-t "$pkgdir/usr/lib/bareos"
install -Dm755 \
@@ -211,11 +201,11 @@ package_bareos-database-common() {
'gcc-libs=12.2.0'
'glibc>=2.31'
)
- depends=("bareos-common=$pkgver" 'libcap' 'lzo' 'zlib' 'openssl-1.1' 'bash' 'jansson' "${_pinned_dependencies[@]}")
+ depends=("bareos-common=$pkgver" 'libcap' 'lzo' 'zlib' 'bash' 'jansson' "${_pinned_dependencies[@]}")
install -Dm755 \
- "$srcdir/install/usr/lib/bareos"/libbareoscats.so* \
- "$srcdir/install/usr/lib/bareos"/libbareossql.so* \
+ "$srcdir/install/usr/lib/bareos/libbareoscats.so.$pkgver" \
+ "$srcdir/install/usr/lib/bareos/libbareossql.so.$pkgver" \
-t "$pkgdir/usr/lib/bareos"
install -Dm755 \
@@ -269,7 +259,7 @@ package_bareos-database-tools() {
'gcc-libs=12.2.0'
'glibc>=2.31'
'jansson=2.14'
- 'openssl-1.1=1.1.1.s'
+ 'libcrypto.so=3'
)
depends=("bareos-common=$pkgver" "bareos-database-common=$pkgver" "${_pinned_dependencies[@]}")
@@ -297,8 +287,8 @@ package_bareos-director() {
'gcc-libs=12.2.0'
'glibc>=2.31'
'jansson=2.14'
+ 'libcrypto.so=3'
'libpam.so=0'
- 'openssl-1.1=1.1.1.s'
)
depends=("bareos-common=$pkgver" "bareos-database=$pkgver" "bareos-database-common=$pkgver" 'bash' "${_pinned_dependencies[@]}")
install=bareos-director.install
@@ -404,7 +394,7 @@ package_bareos-storage-fifo() {
'gcc-libs=12.2.0'
'glibc>=2.31'
)
- depends=("bareos-storage=$pkgver" 'libcap' 'openssl-1.1' 'jansson' 'lzo' "${_pinned_dependencies[@]}")
+ depends=("bareos-storage=$pkgver" 'libcap' 'jansson' 'lzo' "${_pinned_dependencies[@]}")
install=bareos-storage-fifo.install
install -Dm755 \
"$srcdir/install/usr/lib/bareos/backends/libbareossd-fifo.so" \
@@ -504,7 +494,7 @@ package_bareos-storage() {
'gcc-libs=12.2.0'
'glibc>=2.31'
)
- depends=("bareos-common=$pkgver" 'lzo' 'jansson' 'openssl-1.1' 'libcap' "${_pinned_dependencies[@]}")
+ depends=("bareos-common=$pkgver" 'lzo' 'jansson' 'libcap' "${_pinned_dependencies[@]}")
install=bareos-storage.install
install -Dm755 \
@@ -553,7 +543,7 @@ package_bareos-storage-tape() {
'gcc-libs=12.2.0'
'glibc>=2.31'
)
- depends=("bareos-common=$pkgver" "bareos-storage=$pkgver" 'libcap' 'bash' 'openssl-1.1' 'jansson' 'lzo' 'mtx' "${_pinned_dependencies[@]}")
+ depends=("bareos-common=$pkgver" "bareos-storage=$pkgver" 'libcap' 'bash' 'jansson' 'lzo' 'mtx' "${_pinned_dependencies[@]}")
install=bareos-storage-tape.install
backup=(
'etc/bareos/mtx-changer.conf'
@@ -574,7 +564,6 @@ package_bareos-storage-tape() {
"$srcdir/install/usr/share/bareos/config/bareos-sd.d/device/tapedrive-0.conf.example" \
-t "$pkgdir/etc/bareos/bareos-sd.d/device"
install -Dm755 \
- "$srcdir/install/usr/lib/bareos/backends/libbareossd-gentape.so" \
"$srcdir/install/usr/lib/bareos/backends/libbareossd-tape.so" \
-t "$pkgdir/usr/lib/bareos/backends"
install -Dm755 \
@@ -604,6 +593,9 @@ package_bareos-director-python-plugin() {
"$srcdir/install/usr/lib/bareos/plugins/BareosDirPluginBaseclass.py" \
"$srcdir/install/usr/lib/bareos/plugins/bareos-dir-class-plugin.py" \
-t "$pkgdir/usr/lib/bareos/plugins"
+ install -Dm755 \
+ "$srcdir/install/usr/lib/python3.10/site-packages"/* \
+ -t "$pkgdir/usr/lib/python3.10/site-packages"
}
package_bareos-filedaemon-python-plugin() {