Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages /
lldpd
Commits:
ed236e41 by Christian Hesse at 2026-01-27T22:26:20+01:00
upgpkg: 1.0.20-3: build from git sources
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,11 +1,12 @@
pkgbase = lldpd
pkgdesc = 802.1ab implementation (LLDP) to help you locate neighbors
pkgver = 1.0.20
- pkgrel = 2
+ pkgrel = 3
url = https://vincentbernat.github.io/lldpd/
arch = x86_64
license = custom:ISC
license = GPL
+ makedepends = git
makedepends = systemd
depends = glibc
depends = libevent
@@ -18,13 +19,11 @@ pkgbase = lldpd
depends = net-snmp
depends = jansson
backup = etc/lldpd.conf
- source = https://media.luffy.cx/files/lldpd/lldpd-1.0.20.tar.gz
- source =
lldpd-1.0.20.tar.gz.sig::https://media.luffy.cx/files/lldpd/lldpd-1.0.20.tar.gz.gpg
+ source = git+https://github.com/lldpd/lldpd.git#tag=1.0.20
source = 0001-create-a-fully-locked-system-account.patch
source = lldpd.tmpfiles
validpgpkeys = AEF2348766F371C689A7360095A42FE8353525F9
- sha256sums =
61b8cb22d4879e68f7825a2fb8e1e92abb4aba4773977cf0258bc32ed9f55450
- sha256sums = SKIP
+ sha256sums =
1ba0f3cff641510425fc6e26c11fcdc09a6dfb91631e4da70d4c22270cae1e09
sha256sums =
1347be34f137cac2838a834b9ec9a8e111f73dbc5c27a2c6556920f1787619bc
sha256sums =
df64ebadacb832c4a9dcbdd531848ae70c21d67d309c7397163ba8db7e31248b
=====================================
PKGBUILD
=====================================
@@ -3,33 +3,33 @@
pkgname=lldpd
pkgver=1.0.20
-pkgrel=2
+pkgrel=3
pkgdesc='802.1ab implementation (LLDP) to help you locate neighbors'
arch=('x86_64')
url='https://vincentbernat.github.io/lldpd/'
license=('custom:ISC' 'GPL')
depends=('glibc' 'libevent' 'libbsd' 'zlib' 'openssl' 'pciutils' 'perl'
'libxml2' 'net-snmp' 'jansson')
-makedepends=('systemd')
+makedepends=('git' 'systemd')
backup=('etc/lldpd.conf')
validpgpkeys=('AEF2348766F371C689A7360095A42FE8353525F9') # Vincent Bernat
<[email protected]>
-source=("https://media.luffy.cx/files/lldpd/lldpd-${pkgver}.tar.gz"
-
"lldpd-${pkgver}.tar.gz.sig::https://media.luffy.cx/files/lldpd/lldpd-${pkgver}.tar.gz.gpg"
+source=("git+https://github.com/lldpd/lldpd.git#tag=${pkgver}"
'0001-create-a-fully-locked-system-account.patch'
'lldpd.tmpfiles')
-sha256sums=('61b8cb22d4879e68f7825a2fb8e1e92abb4aba4773977cf0258bc32ed9f55450'
- 'SKIP'
+sha256sums=('1ba0f3cff641510425fc6e26c11fcdc09a6dfb91631e4da70d4c22270cae1e09'
'1347be34f137cac2838a834b9ec9a8e111f73dbc5c27a2c6556920f1787619bc'
'df64ebadacb832c4a9dcbdd531848ae70c21d67d309c7397163ba8db7e31248b')
prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}/"
+ cd "${pkgname}/"
patch -Np1 < ../0001-create-a-fully-locked-system-account.patch
+
+ autoreconf -fi
}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}/"
+ cd "${pkgname}/"
./configure \
--prefix=/usr \
@@ -49,13 +49,13 @@ build() {
}
check() {
- cd "${srcdir}/${pkgname}-${pkgver}/"
+ cd "${pkgname}/"
make check
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}/"
+ cd "${pkgname}/"
make DESTDIR="${pkgdir}" install
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/lldpd/-/commit/ed236e41cbc32da2ede7760a9c97d1eb03846d14
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/lldpd/-/commit/ed236e41cbc32da2ede7760a9c97d1eb03846d14
You're receiving this email because of your account on gitlab.archlinux.org.