upg cryptsetup openssl

rebuild sudo
This commit is contained in:
joborun linux 2024-09-04 03:13:41 +03:00
parent 94992bd6f6
commit 19fd2d91b6
8 changed files with 40 additions and 36 deletions

View file

@ -6,7 +6,7 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=cryptsetup
pkgver=2.7.4
pkgver=2.7.5
pkgrel=01
pkgdesc='Userspace setup tool for transparent encryption of block devices using dm-crypt w/o systemd'
url='https://gitlab.com/cryptsetup/cryptsetup/'
@ -58,8 +58,8 @@ license=('GPL')
validpgpkeys=('2A2918243FDE46648D0686F9D9B0577BD93E98FC') # Milan Broz <gmazyland@gmail.com>
sha256sums=(dce29903a58f7b774fe61191e7e6de955de0f40d9e27b0028ffcf3438c0e9480 # cryptsetup-2.7.4.tar.xz
289d07ae44392938ea06f45ccd13ad99960d69b7c14139b5f600a8df8d89214b) # cryptsetup-2.7.4.tar.sign
sha256sums=(d2be4395b8f503b0ebf4b2d81db90c35a97050a358ee21fe62a0dfb66e5d5522 # cryptsetup-2.7.5.tar.xz
5748d07e9cd81cb0d67e9b496bf915539e17e5b0f620c016e68fd15ed8d49288) # cryptsetup-2.7.5.tar.sign
## abccea87a9d01532ab3868086fff0f9cdcb83de5312c3c274db414ed3c98797f cryptsetup-2.7.4-01-x86_64.pkg.tar.lz
## 3a43f66f68db6448d981f0fabc7c56a48f7c682c371b569e61bf5a45836a580c cryptsetup-2.7.5-01-x86_64.pkg.tar.lz

View file

@ -2,7 +2,7 @@
# Contributor: Thomas Bächler <thomas@archlinux.org>
pkgname=cryptsetup
pkgver=2.7.4
pkgver=2.7.5
pkgrel=1
pkgdesc='Userspace setup tool for transparent encryption of block devices using dm-crypt'
arch=(x86_64)
@ -16,7 +16,7 @@ provides=('libcryptsetup.so')
options=('!emptydirs')
validpgpkeys=('2A2918243FDE46648D0686F9D9B0577BD93E98FC') # Milan Broz <gmazyland@gmail.com>
source=("https://www.kernel.org/pub/linux/utils/cryptsetup/v${pkgver%.*}/${pkgname}-${pkgver}.tar."{xz,sign})
sha256sums=('dce29903a58f7b774fe61191e7e6de955de0f40d9e27b0028ffcf3438c0e9480'
sha256sums=('d2be4395b8f503b0ebf4b2d81db90c35a97050a358ee21fe62a0dfb66e5d5522'
'SKIP')
build() {

View file

@ -6,7 +6,7 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=openssl
pkgver=3.3.1
pkgver=3.3.2
pkgrel=01
pkgdesc='The Open Source toolkit for Secure Sockets Layer and Transport Layer Security'
url='https://www.openssl.org'
@ -16,7 +16,8 @@ optdepends=('ca-certificates' 'perl')
replaces=('openssl-perl' 'openssl-doc')
provides=('libcrypto.so' 'libssl.so')
backup=('etc/ssl/openssl.cnf')
source=("https://www.openssl.org/source/${pkgname}-${pkgver}.tar.gz"{,.asc}
#source=("https://www.openssl.org/source/${pkgname}-${pkgver}.tar.gz"{,.asc}
source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.asc}
'ca-dir.patch')
prepare() {
@ -40,13 +41,11 @@ build() {
make
}
#Test Summary Report 3.3.1-01
#Test Summary Report 3.3.2-01
#-------------------
#04-test_bio_dgram.t (Wstat: 256 (exited 1) Tests: 1 Failed: 1)
# Failed test: 1
# Non-zero exit status: 1
#Files=312, Tests=3675, 161 wallclock secs (11.77 usr 0.96 sys + 488.06 cusr 56.01 csys = 556.80 CPU)
#Result: FAIL
check() {
cd "$srcdir/$pkgbase-$pkgver"
@ -78,13 +77,12 @@ arch=(x86_64)
license=('Apache-2.0')
validpgpkeys=(8657ABB260F056B1E5190839D9C4D26D0E604491
7953AC1FBC3DC8B3B292393ED5E9E43F7DF9EE8C
A21FAB74B0088AA361152586B8EF1A6BA9DA2D5C
EFC0A467D613CB83C7ED6D30D894E2CE8B3D79F5)
validpgpkeys=('EFC0A467D613CB83C7ED6D30D894E2CE8B3D79F5'
'BA5473A2B0587B07FB27CF2D216094DFD0CB81EF')
sha256sums=(777cd596284c883375a2a7a11bf5d2786fc5413255efab20c50d6ffe6d020b7e # openssl-3.3.1.tar.gz
a1ca1547057b75e1750717d69a35a5373544cb42f671a1a7f672c4237aab1248 # openssl-3.3.1.tar.gz.asc
sha256sums=(2e8a40b01979afe8be0bbfb3de5dc1c6709fedb46d6c89c10da114ab5fc3d281 # openssl-3.3.2.tar.gz
8a9ba21af0d770b3f9ee098269cfeb220a8b296639e6ad5d0593ffb7a15a742b # openssl-3.3.2.tar.gz.asc
0a32d9ca68e8d985ce0bfef6a4c20b46675e06178cc2d0bf6d91bd6865d648b7) # ca-dir.patch
##
## b151a6bc98e42ab4e82fd9229caf7073ade43ff64b1a4f542d2644637147c24b openssl-3.3.2-01-x86_64.pkg.tar.lz

View file

@ -1,7 +1,7 @@
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgname=openssl
pkgver=3.3.1
pkgver=3.3.2
pkgrel=1
pkgdesc='The Open Source toolkit for Secure Sockets Layer and Transport Layer Security'
arch=('x86_64')
@ -13,15 +13,13 @@ optdepends=('ca-certificates' 'perl')
replaces=('openssl-perl' 'openssl-doc')
provides=('libcrypto.so' 'libssl.so')
backup=('etc/ssl/openssl.cnf')
source=("https://www.openssl.org/source/${pkgname}-${pkgver}.tar.gz"{,.asc}
source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.asc}
'ca-dir.patch')
sha256sums=('777cd596284c883375a2a7a11bf5d2786fc5413255efab20c50d6ffe6d020b7e'
sha256sums=('2e8a40b01979afe8be0bbfb3de5dc1c6709fedb46d6c89c10da114ab5fc3d281'
'SKIP'
'0a32d9ca68e8d985ce0bfef6a4c20b46675e06178cc2d0bf6d91bd6865d648b7')
validpgpkeys=('8657ABB260F056B1E5190839D9C4D26D0E604491'
'7953AC1FBC3DC8B3B292393ED5E9E43F7DF9EE8C'
'A21FAB74B0088AA361152586B8EF1A6BA9DA2D5C'
'EFC0A467D613CB83C7ED6D30D894E2CE8B3D79F5')
validpgpkeys=('EFC0A467D613CB83C7ED6D30D894E2CE8B3D79F5'
'BA5473A2B0587B07FB27CF2D216094DFD0CB81EF')
prepare() {
cd "$srcdir/$pkgname-$pkgver"

View file

@ -1,4 +1,2 @@
gpg -v --recv-keys D9C4D26D0E604491
gpg -v --recv-keys D5E9E43F7DF9EE8C
gpg -v --recv-keys 527466A21CA79E6D
gpg -v --recv-keys 216094DFD0CB81EF
gpg -v --recv-keys D894E2CE8B3D79F5

View file

@ -1,4 +1,4 @@
tests take about an hour to complete
real 14m4.277s
user 16m15.805s

View file

@ -7,7 +7,7 @@
pkgname=sudo
_sudover=1.9.16
pkgrel=02
pkgrel=03
pkgver=${_sudover/p/.p}
pkgdesc="Give certain users the ability to run some commands as root w/o systemd"
url="https://www.sudo.ws/sudo/"
@ -19,11 +19,11 @@ backup=('etc/pam.d/sudo'
'etc/sudoers')
install=$pkgname.install
source=(https://www.sudo.ws/sudo/dist/$pkgname-$_sudover.tar.gz{,.sig}
sudo.pam)
sudo.pam
sudo.tmpfiles)
prepare() {
cd $pkgname-$_sudover
}
build() {
@ -67,11 +67,13 @@ package() {
# Remove /run/sudo directory; we create it using systemd-tmpfiles
## useless as well in joborun-pkg
# rmdir "$pkgdir/run/sudo"
# rmdir "$pkgdir/run"
rmdir "$pkgdir/run/sudo"
rmdir "$pkgdir/run"
install -Dm644 "$srcdir/sudo.pam" "$pkgdir/etc/pam.d/sudo"
install -Dm644 LICENSE.md -t "$pkgdir/usr/share/licenses/sudo"
install -Dm644 "$srcdir/sudo.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/sudo.conf"
}
#---- arch license gpg-key & sha256sums ----
@ -84,6 +86,8 @@ validpgpkeys=('59D1E9CCBA2B376704FDD35BA9F4C021CEA470FB') # "Todd C. Miller <Tod
sha256sums=(c0d84d797f06b732fc573d0b798ae83128c2bc33052057f05b560ec6bcbfa03d # sudo-1.9.16.tar.gz
ae9f83924ea7c79b2a388a9c0840272b072fe0261e660d75f99a3bf18cdd1b98 # sudo-1.9.16.tar.gz.sig
d1738818070684a5d2c9b26224906aad69a4fea77aabd960fc2675aee2df1fa2) # sudo.pam
d1738818070684a5d2c9b26224906aad69a4fea77aabd960fc2675aee2df1fa2 # sudo.pam
8b5ca911b7e0db3ca947da704ebd5acd95ae3f12832a3a2569082600600008be) # sudo.tmpfiles
## 03fb99b682bf77bb4aa2d02175d248a9ce6705b8f8956e3f0cff7f600281af56 sudo-1.9.16-03-x86_64.pkg.tar.lz
## 8b29565651bf1f7f15e4cd36a49efb1331839fb1b8d3c16635107882e58a4246 sudo-1.9.16-02-x86_64.pkg.tar.lz

6
sudo/sudo.tmpfiles Normal file
View file

@ -0,0 +1,6 @@
# Create an empty sudo time stamp directory on OSes using systemd.
# Sudo will create the directory itself but this can cause problems
# on systems that have SELinux enabled since the directories will be
# created with the user's security context.
d /run/sudo 0711 root root
D /run/sudo/ts 0700 root root