upg dhcpcd debugedit

This commit is contained in:
joborun linux 2023-05-05 00:13:12 +03:00
parent d0eee6fa12
commit 3ea249ac1d
5 changed files with 46 additions and 33 deletions

View file

@ -7,36 +7,38 @@
pkgname=debugedit
pkgver=5.0
pkgrel=04
pkgrel=05
pkgdesc='Tool to mangle source locations in .debug files'
arch=('x86_64')
url='https://sourceware.org/debugedit/'
depends=('libelf')
groups=('base-devel')
source=("https://sourceware.org/ftp/debugedit/${pkgver}/debugedit-${pkgver}.tar.xz"{,.sig})
prepare() {
cd "debugedit-${pkgver}"
autoreconf -fiv
}
build() {
cd "${srcdir}/debugedit-${pkgver}"
autoreconf -i -f
cd "debugedit-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/debugedit-${pkgver}"
cd "debugedit-${pkgver}"
make DESTDIR="${pkgdir}" install
}
#---- license gpg-key sha256sums ----
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('LGPL2.1')
validpgpkeys=('EC3CFE88F6CA0788774F5C1D1AA44BE649DE760A')
sha512sums=('7e7f529eafe41b53f0b5bfc58282fdbfa0dfa93ed7908b70e81942d6d2b6f80fc9c6bff2ed9674fd98947e5750b615f4c8b222544989e2900c5f8ff5ae0efb92'
'SKIP')
sha256sums=(e9ecd7d350bebae1f178ce6776ca19a648b6fe8fa22f5b3044b38d7899aa553e # debugedit-5.0.tar.xz
4fd8c44986d734196103ed2b630928949ed2ea48e0757c7a9e3d6f3b87cf00a7) # debugedit-5.0.tar.xz.sig
## 0a4da524d6979b6bbc223e23b5823ce01f2f5d459eb96d5b95a68d8a5b62d3e9 debugedit-5.0-05-x86_64.pkg.tar.lz

View file

@ -4,26 +4,29 @@
pkgname=debugedit
pkgver=5.0
pkgrel=4
pkgrel=5
pkgdesc='Tool to mangle source locations in .debug files'
arch=('x86_64')
url='https://sourceware.org/debugedit/'
license=('LGPL2.1')
depends=('libelf')
groups=('base-devel')
depends=('glibc' 'libelf')
source=("https://sourceware.org/ftp/debugedit/${pkgver}/debugedit-${pkgver}.tar.xz"{,.sig})
validpgpkeys=('EC3CFE88F6CA0788774F5C1D1AA44BE649DE760A')
sha512sums=('7e7f529eafe41b53f0b5bfc58282fdbfa0dfa93ed7908b70e81942d6d2b6f80fc9c6bff2ed9674fd98947e5750b615f4c8b222544989e2900c5f8ff5ae0efb92'
'SKIP')
prepare() {
cd "debugedit-${pkgver}"
autoreconf -fiv
}
build() {
cd "${srcdir}/debugedit-${pkgver}"
autoreconf -i -f
cd "debugedit-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/debugedit-${pkgver}"
cd "debugedit-${pkgver}"
make DESTDIR="${pkgdir}" install
}

View file

@ -1,2 +1,4 @@
autoconf
automake

View file

@ -6,27 +6,24 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=dhcpcd
pkgver=9.4.1
pkgver=10.0.1
pkgrel=01
pkgdesc="RFC2131 compliant DHCP client daemon w/o systemd"
url="https://roy.marples.name/projects/dhcpcd/"
arch=('x86_64')
#url="https://roy.marples.name/projects/dhcpcd/"
url="https://github.com/NetworkConfiguration/dhcpcd/releases/download/v"
depends=('glibc' 'sh' 'libeudev')
optdepends=('openresolv: resolvconf support')
provides=('dhcp-client')
backup=('etc/dhcpcd.conf')
install='dhcpcd.install'
options=('emptydirs') # We Need the Empty /var/lib/dhcpcd Directory
source=("https://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.xz"
# "https://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.xz.distinfo"
# "https://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.xz.distinfo.asc"
#source=(https://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.xz
#https://github.com/NetworkConfiguration/dhcpcd/releases/download/v10.0.1/dhcpcd-10.0.1.tar.xz
source=($url$pkgver/$pkgname-$pkgver.tar.xz{,.asc}
dhcpcd.install
dhcpcd.sysusers
dhcpcd.tmpfiles)
curl "https://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.xz.distinfo.asc" "$pkgname-$pkgver.tar.xz.distinfo.asc" -o "$pkgname-$pkgver.tar.xz.asc"
curl "https://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.xz.distinfo.asc" "$pkgname-$pkgver.tar.xz.distinfo" -o "$pkgname-$pkgver.tar.xz.sha256"
# prepare () {
# cd ${pkgname}-${pkgver}
# }
@ -70,15 +67,21 @@ package() {
install -Dm644 "${srcdir}/dhcpcd.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/dhcpcd.conf"
}
#---- license gpg-key sha256sums ----
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('BSD')
validpgpkeys=('A785ED2755955D9E93EA59F6597F97EA9AD45549') # Roy Marples (NetBSD) <roy@NetBSD.org>
sha256sums=(819357634efed1ea5cf44ec01b24d3d3f8852fec8b4249925dcc5667c54e376c # dhcpcd-9.4.1.tar.xz
d40d51367fcf7e9596e42cd2bab59404633bedbab4d0a3183e7246b4677937b7 # dhcpcd.install
06788ad9f5f7ccb5d2a2da6f0322ff5771f8de82cfbe8b9ad954f2c38265e21b # dhcpcd.sysusers
#https://github.com/NetworkConfiguration/dhcpcd/releases
#SHA256 (dhcpcd-10.0.1.tar.xz) = 6e9f6a5c47fcd8a763cfa26f1ca6eedf1e534992224a01d6c1ab8abb154af972
sha256sums=(6e9f6a5c47fcd8a763cfa26f1ca6eedf1e534992224a01d6c1ab8abb154af972 # dhcpcd-10.0.1.tar.xz
4680cda528512b877022df36a58368b09a6566472f9b0ccba482ee79c1c502e2 # dhcpcd-10.0.1.tar.xz.asc
d40d51367fcf7e9596e42cd2bab59404633bedbab4d0a3183e7246b4677937b7 # dhcpcd.install
06788ad9f5f7ccb5d2a2da6f0322ff5771f8de82cfbe8b9ad954f2c38265e21b # dhcpcd.sysusers
55d57b958f6b7e4d4a538ee88b0fcc1a522050c2d38efb5d680139f618234b35) # dhcpcd.tmpfiles
## c6ff04ebf84004b89d48414ecf71291fb8fa539d43e934a080a82e72a80ca855 dhcpcd-10.0.1-01-x86_64.pkg.tar.lz

View file

@ -1,3 +1,6 @@
real 0m7.256s
user 0m16.655s
sys 0m1.076s
real 0m13.638s
user 0m12.591s
sys 0m1.398s