upg autoconf iputils libcap-ng
This commit is contained in:
parent
6a3c50e227
commit
99bd055d32
|
@ -6,19 +6,19 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=autoconf
|
||||
pkgver=2.71
|
||||
pkgrel=04
|
||||
pkgver=2.72
|
||||
pkgrel=01
|
||||
pkgdesc="A GNU tool for automatically configuring source code"
|
||||
url="https://www.gnu.org/software/autoconf"
|
||||
depends=('awk' 'm4' 'diffutils' 'perl' 'sh')
|
||||
checkdepends=('gcc-fortran')
|
||||
source=("https://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig}
|
||||
$pkgname-2.71-bash5.2.patch::https://github.com/autotools-mirror/autoconf/commit/412166e185c00d6eacbe67dfcb0326f622ec4020.patch )
|
||||
source=("https://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
||||
# $pkgname-2.71-bash5.2.patch::https://github.com/autotools-mirror/autoconf/commit/412166e185c00d6eacbe67dfcb0326f622ec4020.patch )
|
||||
|
||||
prepare() {
|
||||
# fix build for bash >= 5.2
|
||||
patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-2.71-bash5.2.patch
|
||||
}
|
||||
#prepare() {
|
||||
# # fix build for bash >= 5.2
|
||||
# patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-2.71-bash5.2.patch
|
||||
#}
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
|
@ -54,8 +54,5 @@ license=('GPL2' 'GPL3' 'custom')
|
|||
|
||||
validpgpkeys=('82F854F3CE73174B8B63174091FCC32B6769AA64') # Zack Weinberg
|
||||
|
||||
sha256sums=(f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4 # autoconf-2.71.tar.xz
|
||||
f33796ff686c45ee946d5862f46b776cf69cad68bf6861ce20847459a3a18a44 # autoconf-2.71.tar.xz.sig
|
||||
ee07bb3f9692bed2b7689bd361ae4e2e9a1bd852864a0c98f90b7b4c8beddfe4) # autoconf-2.71-bash5.2.patch
|
||||
|
||||
## 8738cb25e4d5a97cf20f62ffedf5c8d00a60dda11165f2510651c9e9b98370d2 autoconf-2.71-04-x86_64.pkg.tar.lz
|
||||
sha256sums=(ba885c1319578d6c94d46e9b0dceb4014caafe2490e437a0dbca3f270a223f5a # autoconf-2.72.tar.xz
|
||||
66930207a5e2e5edf7a135aca43c2f38a98333717d4b10be3f0b96566aadaa55) # autoconf-2.72.tar.xz.sig
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
pkgname=autoconf
|
||||
pkgver=2.71
|
||||
pkgrel=4
|
||||
pkgver=2.72
|
||||
pkgrel=1
|
||||
pkgdesc="A GNU tool for automatically configuring source code"
|
||||
arch=('any')
|
||||
license=('GPL2' 'GPL3' 'custom')
|
||||
|
@ -13,18 +13,11 @@ depends=('awk' 'm4' 'diffutils' 'perl' 'sh')
|
|||
checkdepends=('gcc-fortran')
|
||||
source=(
|
||||
"https://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig}
|
||||
$pkgname-2.71-bash5.2.patch::https://github.com/autotools-mirror/autoconf/commit/412166e185c00d6eacbe67dfcb0326f622ec4020.patch
|
||||
)
|
||||
sha256sums=('f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4'
|
||||
'SKIP'
|
||||
'ee07bb3f9692bed2b7689bd361ae4e2e9a1bd852864a0c98f90b7b4c8beddfe4')
|
||||
sha256sums=('ba885c1319578d6c94d46e9b0dceb4014caafe2490e437a0dbca3f270a223f5a'
|
||||
'SKIP')
|
||||
validpgpkeys=('82F854F3CE73174B8B63174091FCC32B6769AA64') # Zack Weinberg
|
||||
|
||||
prepare() {
|
||||
# fix build for bash >= 5.2
|
||||
patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-2.71-bash5.2.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
./configure --prefix=/usr
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
|
||||
pkgname=iputils
|
||||
# Commit date + git rev-parse --short origin/master
|
||||
_rev=23c3782a
|
||||
pkgver=20221126
|
||||
pkgrel=02
|
||||
_rev=84cdf26
|
||||
pkgver=20231222
|
||||
pkgrel=01
|
||||
pkgdesc="Network monitoring tools, including ping w/o systemd"
|
||||
#url="http://www.skbuff.net/iputils/"
|
||||
url="https://github.com/iputils/iputils"
|
||||
|
@ -38,10 +38,11 @@ package() {
|
|||
|
||||
arch=(x86_64)
|
||||
|
||||
license=('GPL')
|
||||
license=('GPL-2.0-or-later' 'BSD-3-Clause' 'GPL-2.0-or-later')
|
||||
|
||||
validpgpkeys=('2016FEA4858B1C36B32E833AC0DEC2EE72F33A5F') # Petr Vorel
|
||||
|
||||
sha256sums=(SKIP)
|
||||
|
||||
## 8394fedbb0edc5f1b788f3f0e7fbecd4603468f0af40fc508ff03310d01048fe iputils-20221126-02-x86_64.pkg.tar.lz
|
||||
## 42af8953de4a55644a4e06f783159b16a75d046338cd943d10354769150b32da iputils-20231222-01-x86_64.pkg.tar.lz
|
||||
|
||||
|
|
|
@ -4,12 +4,12 @@
|
|||
|
||||
pkgname=iputils
|
||||
# Commit date + git rev-parse --short origin/master
|
||||
_rev=23c3782a
|
||||
pkgver=20221126
|
||||
pkgrel=2
|
||||
_rev=84cdf26
|
||||
pkgver=20231222
|
||||
pkgrel=1
|
||||
pkgdesc="Network monitoring tools, including ping"
|
||||
arch=('x86_64')
|
||||
license=('GPL')
|
||||
license=('GPL-2.0-or-later' 'BSD-3-Clause' 'GPL-2.0-or-later')
|
||||
url="https://github.com/iputils/iputils"
|
||||
depends=('libcap' 'libidn2')
|
||||
makedepends=('perl-sgmls' 'git' 'docbook-xsl' 'meson' 'systemd' 'iproute')
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
pkgbase=libcap-ng
|
||||
pkgname=(libcap-ng python-capng)
|
||||
pkgver=0.8.3
|
||||
pkgrel=02
|
||||
pkgver=0.8.4
|
||||
pkgrel=01
|
||||
pkgdesc='A library for Linux that makes using posix capabilities easy'
|
||||
url='https://people.redhat.com/sgrubb/libcap-ng/'
|
||||
depends=(glibc)
|
||||
|
@ -28,6 +28,8 @@ _pick() {
|
|||
|
||||
prepare() {
|
||||
cd $pkgbase-$pkgver
|
||||
# make stupid autotools happy -_-
|
||||
touch NEWS
|
||||
autoreconf -fiv
|
||||
}
|
||||
|
||||
|
@ -68,9 +70,6 @@ package_python-capng() {
|
|||
|
||||
arch=(x86_64)
|
||||
|
||||
license=(LGPL2.1)
|
||||
license=(GPL-2.0-or-later LGPL-2.1-or-later)
|
||||
|
||||
sha256sums=(e542e9139961f0915ab5878427890cdc7762949fbe216bd0cb4ceedb309bb854) # libcap-ng-0.8.3.tar.gz
|
||||
|
||||
## 409494ba727660112f086f36a265f9b5e7db0ac44c7d272b22728cef77a2f74e libcap-ng-0.8.3-02-x86_64.pkg.tar.lz
|
||||
## a168587e66d65cae8854424e3f8361874618506038247ae2b9f04aa21872b752 python-capng-0.8.3-02-x86_64.pkg.tar.lz
|
||||
sha256sums=(5615c76a61039e283a6bd107c4faf345ae5ad4dcd45907defe5e474d8fdb6fd2) # libcap-ng-0.8.4.tar.gz
|
||||
|
|
|
@ -4,19 +4,27 @@
|
|||
# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
|
||||
|
||||
pkgbase=libcap-ng
|
||||
pkgname=(libcap-ng python-capng)
|
||||
pkgver=0.8.3
|
||||
pkgname=(
|
||||
libcap-ng
|
||||
python-capng
|
||||
)
|
||||
pkgver=0.8.4
|
||||
pkgrel=1
|
||||
pkgdesc='A library for Linux that makes using posix capabilities easy'
|
||||
arch=(x86_64)
|
||||
url='https://people.redhat.com/sgrubb/libcap-ng/'
|
||||
license=(LGPL2.1)
|
||||
license=(
|
||||
GPL-2.0-or-later
|
||||
LGPL-2.1-or-later
|
||||
)
|
||||
depends=(glibc)
|
||||
makedepends=(python swig)
|
||||
options=(debug)
|
||||
makedepends=(
|
||||
python
|
||||
swig
|
||||
)
|
||||
source=(https://github.com/stevegrubb/libcap-ng/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
||||
sha512sums=('5b078164a9e7475349f3143e1f3ee219df09252185726aec92f1e20386e14d1c708f54aea986600078bd5851f6103e43624f8a3527140ebb955601820e2e4c89')
|
||||
b2sums=('166d4addeea96db2ed9e0f1cb1284af5a2dd690a46ae5fd598e16ea2058adbf94ba523ba594e006eea2a0a6a2f3232f8fb2d4716e749ac3383012af7b0034522')
|
||||
sha512sums=('3e640ba4bfa2d5b5d0eb463abca3b2c745b10e929571c0ec32eb068bdc41fd95e19f7131893a22ceebb4d1f1083d3d87d9a32f0808442d594ac5940791152acf')
|
||||
b2sums=('f4ea9780b87cdd4f9fa85d4ad3960afe654bc8aa6f5aa298ec87b7d90c87dd981f81577e5113ed76d83aa39c959160bf4deee57be9b458a98f8715e6f7b8dd33')
|
||||
|
||||
_pick() {
|
||||
local p="$1" f d; shift
|
||||
|
@ -30,16 +38,21 @@ _pick() {
|
|||
|
||||
prepare() {
|
||||
cd $pkgbase-$pkgver
|
||||
# make stupid autotools happy -_-
|
||||
touch NEWS
|
||||
autoreconf -fiv
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgbase-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-static=no \
|
||||
--without-python \
|
||||
local configure_options=(
|
||||
--enable-static=no
|
||||
--prefix=/usr
|
||||
--with-python3
|
||||
--without-python
|
||||
)
|
||||
|
||||
cd $pkgbase-$pkgver
|
||||
./configure "${configure_options[@]}"
|
||||
make
|
||||
}
|
||||
|
||||
|
@ -48,7 +61,10 @@ check() {
|
|||
}
|
||||
|
||||
package_libcap-ng() {
|
||||
provides=(libcap-ng.so libdrop_ambient.so)
|
||||
provides=(
|
||||
libcap-ng.so
|
||||
libdrop_ambient.so
|
||||
)
|
||||
|
||||
make DESTDIR="$pkgdir" install -C $pkgbase-$pkgver
|
||||
|
||||
|
@ -60,8 +76,13 @@ package_libcap-ng() {
|
|||
|
||||
package_python-capng() {
|
||||
pkgdesc+=' (Python bindings)'
|
||||
depends+=(libcap-ng.so)
|
||||
provides=(python-libcap-ng)
|
||||
depends+=(
|
||||
libcap-ng libcap-ng.so
|
||||
python
|
||||
)
|
||||
provides=(
|
||||
python-libcap-ng
|
||||
)
|
||||
|
||||
mv -v python-capng/* "$pkgdir"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue