[arch-commits] Commit in lldpd/repos (3 files)

Christian Hesse eworm at archlinux.org
Mon Jun 17 10:00:34 UTC 2019


    Date: Monday, June 17, 2019 @ 10:00:33
  Author: eworm
Revision: 481915

archrelease: copy trunk to community-testing-x86_64

Added:
  lldpd/repos/community-testing-x86_64/
  lldpd/repos/community-testing-x86_64/PKGBUILD
    (from rev 481914, lldpd/trunk/PKGBUILD)
  lldpd/repos/community-testing-x86_64/lldpd.tmpfiles.conf
    (from rev 481914, lldpd/trunk/lldpd.tmpfiles.conf)

---------------------+
 PKGBUILD            |   64 ++++++++++++++++++++++++++++++++++++++++++++++++++
 lldpd.tmpfiles.conf |    2 +
 2 files changed, 66 insertions(+)

Copied: lldpd/repos/community-testing-x86_64/PKGBUILD (from rev 481914, lldpd/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-06-17 10:00:33 UTC (rev 481915)
@@ -0,0 +1,64 @@
+# Maintainer: Sébastien "Seblu" Luttringer
+# Contributor: Brian Bidulock <bidulock at openss7.org>
+
+pkgname=lldpd
+pkgver=1.0.4
+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"
+        'lldpd.tmpfiles.conf')
+sha256sums=('5319bc032fabf1008d5d91e280276aa7f1bbfbb70129d8526cd4526d7c22724f'
+            'SKIP'
+            'df64ebadacb832c4a9dcbdd531848ae70c21d67d309c7397163ba8db7e31248b')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}/"
+
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --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
+
+  # re-introduce tmpfiles file untill resolved upstream...
+  # https://github.com/vincentbernat/lldpd/pull/311
+  install -D -m 0644 "${srcdir}/lldpd.tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/lldpd.conf"
+
+  # 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-testing-x86_64/lldpd.tmpfiles.conf (from rev 481914, lldpd/trunk/lldpd.tmpfiles.conf)
===================================================================
--- community-testing-x86_64/lldpd.tmpfiles.conf	                        (rev 0)
+++ community-testing-x86_64/lldpd.tmpfiles.conf	2019-06-17 10:00:33 UTC (rev 481915)
@@ -0,0 +1,2 @@
+d /run/lldpd 0750 lldpd lldpd
+d /run/lldpd/chroot 0750 lldpd lldpd



More information about the arch-commits mailing list