[arch-commits] Commit in lldpd/repos (14 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Mon Nov 7 18:07:08 UTC 2016
Date: Monday, November 7, 2016 @ 18:07:08
Author: bpiotrowski
Revision: 194961
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
lldpd/repos/community-staging-i686/
lldpd/repos/community-staging-i686/LICENSE
(from rev 194960, lldpd/trunk/LICENSE)
lldpd/repos/community-staging-i686/PKGBUILD
(from rev 194960, lldpd/trunk/PKGBUILD)
lldpd/repos/community-staging-i686/lldpd.install
(from rev 194960, lldpd/trunk/lldpd.install)
lldpd/repos/community-staging-i686/lldpd.service
(from rev 194960, lldpd/trunk/lldpd.service)
lldpd/repos/community-staging-i686/lldpd.sysusers
(from rev 194960, lldpd/trunk/lldpd.sysusers)
lldpd/repos/community-staging-i686/lldpd.tmpfiles
(from rev 194960, lldpd/trunk/lldpd.tmpfiles)
lldpd/repos/community-staging-x86_64/
lldpd/repos/community-staging-x86_64/LICENSE
(from rev 194960, lldpd/trunk/LICENSE)
lldpd/repos/community-staging-x86_64/PKGBUILD
(from rev 194960, lldpd/trunk/PKGBUILD)
lldpd/repos/community-staging-x86_64/lldpd.install
(from rev 194960, lldpd/trunk/lldpd.install)
lldpd/repos/community-staging-x86_64/lldpd.service
(from rev 194960, lldpd/trunk/lldpd.service)
lldpd/repos/community-staging-x86_64/lldpd.sysusers
(from rev 194960, lldpd/trunk/lldpd.sysusers)
lldpd/repos/community-staging-x86_64/lldpd.tmpfiles
(from rev 194960, lldpd/trunk/lldpd.tmpfiles)
-----------------------------------------+
community-staging-i686/LICENSE | 11 +++++
community-staging-i686/PKGBUILD | 65 ++++++++++++++++++++++++++++++
community-staging-i686/lldpd.install | 11 +++++
community-staging-i686/lldpd.service | 12 +++++
community-staging-i686/lldpd.sysusers | 1
community-staging-i686/lldpd.tmpfiles | 1
community-staging-x86_64/LICENSE | 11 +++++
community-staging-x86_64/PKGBUILD | 65 ++++++++++++++++++++++++++++++
community-staging-x86_64/lldpd.install | 11 +++++
community-staging-x86_64/lldpd.service | 12 +++++
community-staging-x86_64/lldpd.sysusers | 1
community-staging-x86_64/lldpd.tmpfiles | 1
12 files changed, 202 insertions(+)
Copied: lldpd/repos/community-staging-i686/LICENSE (from rev 194960, lldpd/trunk/LICENSE)
===================================================================
--- community-staging-i686/LICENSE (rev 0)
+++ community-staging-i686/LICENSE 2016-11-07 18:07:08 UTC (rev 194961)
@@ -0,0 +1,11 @@
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Copied: lldpd/repos/community-staging-i686/PKGBUILD (from rev 194960, lldpd/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-11-07 18:07:08 UTC (rev 194961)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Sébastien "Seblu" Luttringer
+# Contributor: Brian Bidulock <bidulock at openss7.org>
+
+pkgname=lldpd
+pkgver=0.9.5
+pkgrel=2
+pkgdesc='802.1ab implementation (LLDP) to help you locate neighbors'
+arch=('i686' 'x86_64')
+url='http://vincentbernat.github.io/lldpd/'
+license=('custom:ISC' 'GPL')
+depends=('glibc' 'libevent' 'libbsd' 'zlib' 'openssl' 'pciutils' 'perl'
+ 'libxml2' 'net-snmp' 'jansson')
+backup=('etc/lldpd.conf')
+install=$pkgname.install
+source=("http://media.luffy.cx/files/lldpd/lldpd-$pkgver.tar.gz"
+ 'LICENSE'
+ 'lldpd.service'
+ 'lldpd.sysusers'
+ 'lldpd.tmpfiles')
+md5sums=('b44f8858f54d702f8a4a8f9a3f8ae2eb'
+ '8ae98663bac55afe5d989919d296f28a'
+ 'a650af7390db0632480184f9f2e7ee4a'
+ '8623610442a9d553de764b50046cd6d3'
+ '00a82f466404aec01b074503633d12ba')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --sbindir=/usr/bin \
+ --with-snmp \
+ --with-xml \
+ --with-json \
+ --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 $pkgname-$pkgver
+ make check
+}
+
+package() {
+ # config stuff
+ install -D -m 644 /dev/null "$pkgdir/etc/lldpd.conf"
+ install -d -m 755 "$pkgdir/etc/lldpd.d"
+ # systemd stuff
+ install -D -m 644 lldpd.service "$pkgdir/usr/lib/systemd/system/lldpd.service"
+ install -D -m 644 lldpd.sysusers "$pkgdir/usr/lib/sysusers.d/lldpd.conf"
+ install -D -m 644 lldpd.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/lldpd.conf"
+ # license
+ install -D -m 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
Copied: lldpd/repos/community-staging-i686/lldpd.install (from rev 194960, lldpd/trunk/lldpd.install)
===================================================================
--- community-staging-i686/lldpd.install (rev 0)
+++ community-staging-i686/lldpd.install 2016-11-07 18:07:08 UTC (rev 194961)
@@ -0,0 +1,11 @@
+#/bin/bash
+
+# arg 1: the new package version
+post_install() {
+ # https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database
+ systemd-sysusers lldpd.conf
+ systemd-tmpfiles --create lldpd.conf
+ true
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
Copied: lldpd/repos/community-staging-i686/lldpd.service (from rev 194960, lldpd/trunk/lldpd.service)
===================================================================
--- community-staging-i686/lldpd.service (rev 0)
+++ community-staging-i686/lldpd.service 2016-11-07 18:07:08 UTC (rev 194961)
@@ -0,0 +1,12 @@
+[Unit]
+Description=LLDP daemon
+Documentation=man:lldpd(8)
+After=network.target
+
+[Service]
+Type=notify
+NotifyAccess=main
+ExecStart=/usr/bin/lldpd
+
+[Install]
+WantedBy=multi-user.target
Copied: lldpd/repos/community-staging-i686/lldpd.sysusers (from rev 194960, lldpd/trunk/lldpd.sysusers)
===================================================================
--- community-staging-i686/lldpd.sysusers (rev 0)
+++ community-staging-i686/lldpd.sysusers 2016-11-07 18:07:08 UTC (rev 194961)
@@ -0,0 +1 @@
+u lldpd 127 - -
Copied: lldpd/repos/community-staging-i686/lldpd.tmpfiles (from rev 194960, lldpd/trunk/lldpd.tmpfiles)
===================================================================
--- community-staging-i686/lldpd.tmpfiles (rev 0)
+++ community-staging-i686/lldpd.tmpfiles 2016-11-07 18:07:08 UTC (rev 194961)
@@ -0,0 +1 @@
+d /run/lldpd 0750 lldpd lldpd
Copied: lldpd/repos/community-staging-x86_64/LICENSE (from rev 194960, lldpd/trunk/LICENSE)
===================================================================
--- community-staging-x86_64/LICENSE (rev 0)
+++ community-staging-x86_64/LICENSE 2016-11-07 18:07:08 UTC (rev 194961)
@@ -0,0 +1,11 @@
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Copied: lldpd/repos/community-staging-x86_64/PKGBUILD (from rev 194960, lldpd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-11-07 18:07:08 UTC (rev 194961)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Sébastien "Seblu" Luttringer
+# Contributor: Brian Bidulock <bidulock at openss7.org>
+
+pkgname=lldpd
+pkgver=0.9.5
+pkgrel=2
+pkgdesc='802.1ab implementation (LLDP) to help you locate neighbors'
+arch=('i686' 'x86_64')
+url='http://vincentbernat.github.io/lldpd/'
+license=('custom:ISC' 'GPL')
+depends=('glibc' 'libevent' 'libbsd' 'zlib' 'openssl' 'pciutils' 'perl'
+ 'libxml2' 'net-snmp' 'jansson')
+backup=('etc/lldpd.conf')
+install=$pkgname.install
+source=("http://media.luffy.cx/files/lldpd/lldpd-$pkgver.tar.gz"
+ 'LICENSE'
+ 'lldpd.service'
+ 'lldpd.sysusers'
+ 'lldpd.tmpfiles')
+md5sums=('b44f8858f54d702f8a4a8f9a3f8ae2eb'
+ '8ae98663bac55afe5d989919d296f28a'
+ 'a650af7390db0632480184f9f2e7ee4a'
+ '8623610442a9d553de764b50046cd6d3'
+ '00a82f466404aec01b074503633d12ba')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --sbindir=/usr/bin \
+ --with-snmp \
+ --with-xml \
+ --with-json \
+ --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 $pkgname-$pkgver
+ make check
+}
+
+package() {
+ # config stuff
+ install -D -m 644 /dev/null "$pkgdir/etc/lldpd.conf"
+ install -d -m 755 "$pkgdir/etc/lldpd.d"
+ # systemd stuff
+ install -D -m 644 lldpd.service "$pkgdir/usr/lib/systemd/system/lldpd.service"
+ install -D -m 644 lldpd.sysusers "$pkgdir/usr/lib/sysusers.d/lldpd.conf"
+ install -D -m 644 lldpd.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/lldpd.conf"
+ # license
+ install -D -m 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
Copied: lldpd/repos/community-staging-x86_64/lldpd.install (from rev 194960, lldpd/trunk/lldpd.install)
===================================================================
--- community-staging-x86_64/lldpd.install (rev 0)
+++ community-staging-x86_64/lldpd.install 2016-11-07 18:07:08 UTC (rev 194961)
@@ -0,0 +1,11 @@
+#/bin/bash
+
+# arg 1: the new package version
+post_install() {
+ # https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database
+ systemd-sysusers lldpd.conf
+ systemd-tmpfiles --create lldpd.conf
+ true
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
Copied: lldpd/repos/community-staging-x86_64/lldpd.service (from rev 194960, lldpd/trunk/lldpd.service)
===================================================================
--- community-staging-x86_64/lldpd.service (rev 0)
+++ community-staging-x86_64/lldpd.service 2016-11-07 18:07:08 UTC (rev 194961)
@@ -0,0 +1,12 @@
+[Unit]
+Description=LLDP daemon
+Documentation=man:lldpd(8)
+After=network.target
+
+[Service]
+Type=notify
+NotifyAccess=main
+ExecStart=/usr/bin/lldpd
+
+[Install]
+WantedBy=multi-user.target
Copied: lldpd/repos/community-staging-x86_64/lldpd.sysusers (from rev 194960, lldpd/trunk/lldpd.sysusers)
===================================================================
--- community-staging-x86_64/lldpd.sysusers (rev 0)
+++ community-staging-x86_64/lldpd.sysusers 2016-11-07 18:07:08 UTC (rev 194961)
@@ -0,0 +1 @@
+u lldpd 127 - -
Copied: lldpd/repos/community-staging-x86_64/lldpd.tmpfiles (from rev 194960, lldpd/trunk/lldpd.tmpfiles)
===================================================================
--- community-staging-x86_64/lldpd.tmpfiles (rev 0)
+++ community-staging-x86_64/lldpd.tmpfiles 2016-11-07 18:07:08 UTC (rev 194961)
@@ -0,0 +1 @@
+d /run/lldpd 0750 lldpd lldpd
More information about the arch-commits
mailing list