[arch-commits] Commit in lldpd/repos/community-x86_64 (4 files)
Date: Monday, September 7, 2020 @ 09:34:40 Author: eworm Revision: 699515 archrelease: copy trunk to community-x86_64 Added: lldpd/repos/community-x86_64/PKGBUILD (from rev 699514, lldpd/trunk/PKGBUILD) lldpd/repos/community-x86_64/lldpd.tmpfiles.conf (from rev 699514, lldpd/trunk/lldpd.tmpfiles.conf) Deleted: lldpd/repos/community-x86_64/PKGBUILD lldpd/repos/community-x86_64/lldpd.tmpfiles.conf -+ PKGBUILD| 132 +- lldpd.tmpfiles.conf |4 - 2 files changed, 68 insertions(+), 68 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-09-07 09:34:38 UTC (rev 699514) +++ PKGBUILD2020-09-07 09:34:40 UTC (rev 699515) @@ -1,66 +0,0 @@ -# Maintainer: Sébastien "Seblu" Luttringer -# Contributor: Brian Bidulock - -pkgname=lldpd -pkgver=1.0.6 -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' 'libseccomp') -makedepends=('systemd') -backup=('etc/lldpd.conf') -validpgpkeys=('AEF2348766F371C689A7360095A42FE8353525F9') # Vincent Bernat -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=('25e15bc3407c1cbf2d0b2f21993561a57b7e2fdc5cebfcf6df4ce5ce376aaeec' -'SKIP' -'df64ebadacb832c4a9dcbdd531848ae70c21d67d309c7397163ba8db7e31248b') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}/" - - ./configure \ ---prefix=/usr \ ---sbindir=/usr/bin \ ---sysconfdir=/etc \ ---localstatedir=/var \ ---with-lldpd-ctl-socket=/run/lldpd/socket \ ---with-lldpd-pid-file=/run/lldpd/pid \ ---with-privsep-chroot=/run/lldpd/chroot \ ---with-privsep-group=lldpd \ ---with-privsep-user=lldpd \ ---with-readline \ ---with-seccomp \ ---with-snmp \ ---with-xml - 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-x86_64/PKGBUILD (from rev 699514, lldpd/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-09-07 09:34:40 UTC (rev 699515) @@ -0,0 +1,66 @@ +# Maintainer: Sébastien "Seblu" Luttringer +# Contributor: Brian Bidulock + +pkgname=lldpd +pkgver=1.0.6 +pkgrel=2 +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') +backup=('etc/lldpd.conf') +validpgpkeys=('AEF2348766F371C689A7360095A42FE8353525F9') # Vincent Bernat +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=('25e15bc3407c1cbf2d0b2f21993561a57b7e2fdc5cebfcf6df4ce5ce376aaeec' +'SKIP' +'df64ebadacb832c4a9dcbdd531848ae70c21d67d309c7397163ba8db7e31248b') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}/" + + ./configure \ +--prefix=/usr \ +--sbindir=/usr/bin \ +--sysconfdir=/etc \ +--localstatedir=/var \ +--with-lldpd-ctl-socket=/run/lldpd/socket \ +--with-lldpd-pid-file=/run/lldpd/pid \ +--with-privsep-chroot=/run/lldpd/chroot \ +--with-privsep-group=lldpd \ +--with-privsep-user=lldpd \ +--with-readline \ +--with-snmp \ +--with-xml \ +--without-seccomp + 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"
[arch-commits] Commit in lldpd/repos/community-x86_64 (4 files)
Date: Monday, September 7, 2020 @ 09:27:50 Author: eworm Revision: 699513 archrelease: copy trunk to community-x86_64 Added: lldpd/repos/community-x86_64/PKGBUILD (from rev 699512, lldpd/trunk/PKGBUILD) lldpd/repos/community-x86_64/lldpd.tmpfiles.conf (from rev 699512, lldpd/trunk/lldpd.tmpfiles.conf) Deleted: lldpd/repos/community-x86_64/PKGBUILD lldpd/repos/community-x86_64/lldpd.tmpfiles.conf -+ PKGBUILD| 130 +- lldpd.tmpfiles.conf |4 - 2 files changed, 68 insertions(+), 66 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-09-07 09:27:47 UTC (rev 699512) +++ PKGBUILD2020-09-07 09:27:50 UTC (rev 699513) @@ -1,64 +0,0 @@ -# Maintainer: Sébastien "Seblu" Luttringer -# Contributor: Brian Bidulock - -pkgname=lldpd -pkgver=1.0.5 -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 -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=('2dd3b212f4dbabfcbb2794c0010b245f9f8e74b387984e757be6243a74c6cb99' -'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-x86_64/PKGBUILD (from rev 699512, lldpd/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-09-07 09:27:50 UTC (rev 699513) @@ -0,0 +1,66 @@ +# Maintainer: Sébastien "Seblu" Luttringer +# Contributor: Brian Bidulock + +pkgname=lldpd +pkgver=1.0.6 +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' 'libseccomp') +makedepends=('systemd') +backup=('etc/lldpd.conf') +validpgpkeys=('AEF2348766F371C689A7360095A42FE8353525F9') # Vincent Bernat +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=('25e15bc3407c1cbf2d0b2f21993561a57b7e2fdc5cebfcf6df4ce5ce376aaeec' +'SKIP' +'df64ebadacb832c4a9dcbdd531848ae70c21d67d309c7397163ba8db7e31248b') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}/" + + ./configure \ +--prefix=/usr \ +--sbindir=/usr/bin \ +--sysconfdir=/etc \ +--localstatedir=/var \ +--with-lldpd-ctl-socket=/run/lldpd/socket \ +--with-lldpd-pid-file=/run/lldpd/pid \ +--with-privsep-chroot=/run/lldpd/chroot \ +--with-privsep-group=lldpd \ +--with-privsep-user=lldpd \ +--with-readline \ +--with-seccomp \ +--with-snmp \ +--with-xml + 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 "${pk
[arch-commits] Commit in lldpd/repos/community-x86_64 (4 files)
Date: Sunday, February 2, 2020 @ 20:28:15 Author: eworm Revision: 561785 archrelease: copy trunk to community-x86_64 Added: lldpd/repos/community-x86_64/PKGBUILD (from rev 561784, lldpd/trunk/PKGBUILD) lldpd/repos/community-x86_64/lldpd.tmpfiles.conf (from rev 561784, lldpd/trunk/lldpd.tmpfiles.conf) Deleted: lldpd/repos/community-x86_64/PKGBUILD lldpd/repos/community-x86_64/lldpd.tmpfiles.conf -+ PKGBUILD| 128 +- lldpd.tmpfiles.conf |4 - 2 files changed, 66 insertions(+), 66 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-02-02 20:28:09 UTC (rev 561784) +++ PKGBUILD2020-02-02 20:28:15 UTC (rev 561785) @@ -1,64 +0,0 @@ -# Maintainer: Sébastien "Seblu" Luttringer -# Contributor: Brian Bidulock - -pkgname=lldpd -pkgver=1.0.4 -pkgrel=2 -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 -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-x86_64/PKGBUILD (from rev 561784, lldpd/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-02-02 20:28:15 UTC (rev 561785) @@ -0,0 +1,64 @@ +# Maintainer: Sébastien "Seblu" Luttringer +# Contributor: Brian Bidulock + +pkgname=lldpd +pkgver=1.0.5 +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 +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=('2dd3b212f4dbabfcbb2794c0010b245f9f8e74b387984e757be6243a74c6cb99' +'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
[arch-commits] Commit in lldpd/repos/community-x86_64 (4 files)
Date: Monday, December 10, 2018 @ 23:24:02 Author: eworm Revision: 414519 archrelease: copy trunk to community-x86_64 Added: lldpd/repos/community-x86_64/PKGBUILD (from rev 414518, lldpd/trunk/PKGBUILD) lldpd/repos/community-x86_64/lldpd.tmpfiles.conf (from rev 414518, lldpd/trunk/lldpd.tmpfiles.conf) Deleted: lldpd/repos/community-x86_64/PKGBUILD lldpd/repos/community-x86_64/lldpd.tmpfiles.conf -+ PKGBUILD| 128 +- lldpd.tmpfiles.conf |4 - 2 files changed, 66 insertions(+), 66 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-12-10 23:23:59 UTC (rev 414518) +++ PKGBUILD2018-12-10 23:24:02 UTC (rev 414519) @@ -1,64 +0,0 @@ -# Maintainer: Sébastien "Seblu" Luttringer -# Contributor: Brian Bidulock - -pkgname=lldpd -pkgver=1.0.2 -pkgrel=2 -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 -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=('b0382a2aa5c7a0a4feea0b999f68dd0ebdf673435022cf97f174bcab8a0dae2a' -'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-x86_64/PKGBUILD (from rev 414518, lldpd/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-12-10 23:24:02 UTC (rev 414519) @@ -0,0 +1,64 @@ +# Maintainer: Sébastien "Seblu" Luttringer +# Contributor: Brian Bidulock + +pkgname=lldpd +pkgver=1.0.3 +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 +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=('39fced395168015416bfe78b95414facf066f841f349024433aa20ab54e4c360' +'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