[arch-commits] Commit in lldpd/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Hesse
eworm at archlinux.org
Sat Dec 1 22:52:40 UTC 2018
Date: Saturday, December 1, 2018 @ 22:52:40
Author: eworm
Revision: 410738
archrelease: copy trunk to community-x86_64
Added:
lldpd/repos/community-x86_64/PKGBUILD
(from rev 410737, lldpd/trunk/PKGBUILD)
Deleted:
lldpd/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-01 22:52:33 UTC (rev 410737)
+++ PKGBUILD 2018-12-01 22:52:40 UTC (rev 410738)
@@ -1,57 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Contributor: Brian Bidulock <bidulock at openss7.org>
-
-pkgname=lldpd
-pkgver=1.0.1
-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')
-backup=('etc/lldpd.conf')
-validpgpkeys=('AEF2348766F371C689A7360095A42FE8353525F9') # Vincent Bernat <bernat at luffy.cx>
-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")
-sha512sums=('61b2a7a3a78276c613c6d0b34eb625e69e5c8a206b6658a167d6a09ac6d0e1c943e46c0ff6fc3538a791d9947f193185b65848da581b3d6ecb9bc0befadde8dd'
- 'SKIP')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}/"
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --sbindir=/usr/bin \
- --with-snmp \
- --with-xml \
- --with-readline \
- --with-privsep-user=lldpd \
- --with-privsep-group=lldpd \
- --with-privsep-chroot=/run/lldpd/chroot \
- --with-lldpd-ctl-socket=/run/lldpd/socket \
- --with-lldpd-pid-file=/run/lldpd/pid
- make
-}
-
-check() {
- cd "${srcdir}/${pkgname}-${pkgver}/"
-
- make check
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}/"
-
- make DESTDIR="${pkgdir}" install
-
- # config stuff
- install -D -m 0644 /dev/null "${pkgdir}/etc/lldpd.conf"
- install -d -m 0755 "${pkgdir}/etc/lldpd.d"
-
- # license
- install -D -m 0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: lldpd/repos/community-x86_64/PKGBUILD (from rev 410737, lldpd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-12-01 22:52:40 UTC (rev 410738)
@@ -0,0 +1,57 @@
+# Maintainer: Sébastien "Seblu" Luttringer
+# Contributor: Brian Bidulock <bidulock at openss7.org>
+
+pkgname=lldpd
+pkgver=1.0.2
+pkgrel=1
+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')
+backup=('etc/lldpd.conf')
+validpgpkeys=('AEF2348766F371C689A7360095A42FE8353525F9') # Vincent Bernat <bernat at luffy.cx>
+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")
+sha256sums=('b0382a2aa5c7a0a4feea0b999f68dd0ebdf673435022cf97f174bcab8a0dae2a'
+ 'SKIP')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}/"
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --sbindir=/usr/bin \
+ --with-snmp \
+ --with-xml \
+ --with-readline \
+ --with-privsep-user=lldpd \
+ --with-privsep-group=lldpd \
+ --with-privsep-chroot=/run/lldpd/chroot \
+ --with-lldpd-ctl-socket=/run/lldpd/socket \
+ --with-lldpd-pid-file=/run/lldpd/pid
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}/"
+
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}/"
+
+ make DESTDIR="${pkgdir}" install
+
+ # config stuff
+ install -D -m 0644 /dev/null "${pkgdir}/etc/lldpd.conf"
+ install -d -m 0755 "${pkgdir}/etc/lldpd.d"
+
+ # license
+ install -D -m 0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list