Date: Tuesday, June 13, 2017 @ 19:08:33 Author: eworm Revision: 236677
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 236676, lldpd/trunk/LICENSE) lldpd/repos/community-staging-i686/PKGBUILD (from rev 236676, lldpd/trunk/PKGBUILD) lldpd/repos/community-staging-i686/lldpd.service (from rev 236676, lldpd/trunk/lldpd.service) lldpd/repos/community-staging-i686/lldpd.sysusers (from rev 236676, lldpd/trunk/lldpd.sysusers) lldpd/repos/community-staging-i686/lldpd.tmpfiles (from rev 236676, lldpd/trunk/lldpd.tmpfiles) lldpd/repos/community-staging-x86_64/ lldpd/repos/community-staging-x86_64/LICENSE (from rev 236676, lldpd/trunk/LICENSE) lldpd/repos/community-staging-x86_64/PKGBUILD (from rev 236676, lldpd/trunk/PKGBUILD) lldpd/repos/community-staging-x86_64/lldpd.service (from rev 236676, lldpd/trunk/lldpd.service) lldpd/repos/community-staging-x86_64/lldpd.sysusers (from rev 236676, lldpd/trunk/lldpd.sysusers) lldpd/repos/community-staging-x86_64/lldpd.tmpfiles (from rev 236676, lldpd/trunk/lldpd.tmpfiles) -----------------------------------------+ community-staging-i686/LICENSE | 11 ++++ community-staging-i686/PKGBUILD | 67 ++++++++++++++++++++++++++++++ community-staging-i686/lldpd.service | 28 ++++++++++++ community-staging-i686/lldpd.sysusers | 2 community-staging-i686/lldpd.tmpfiles | 1 community-staging-x86_64/LICENSE | 11 ++++ community-staging-x86_64/PKGBUILD | 67 ++++++++++++++++++++++++++++++ community-staging-x86_64/lldpd.service | 28 ++++++++++++ community-staging-x86_64/lldpd.sysusers | 2 community-staging-x86_64/lldpd.tmpfiles | 1 10 files changed, 218 insertions(+) Copied: lldpd/repos/community-staging-i686/LICENSE (from rev 236676, lldpd/trunk/LICENSE) =================================================================== --- community-staging-i686/LICENSE (rev 0) +++ community-staging-i686/LICENSE 2017-06-13 19:08:33 UTC (rev 236677) @@ -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 236676, lldpd/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-06-13 19:08:33 UTC (rev 236677) @@ -0,0 +1,67 @@ +# $Id$ +# Maintainer: Sébastien "Seblu" Luttringer +# Contributor: Brian Bidulock <bidul...@openss7.org> + +pkgname=lldpd +pkgver=0.9.7 +pkgrel=3 +pkgdesc='802.1ab implementation (LLDP) to help you locate neighbors' +arch=('i686' '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') +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" + 'LICENSE' + 'lldpd.service' + 'lldpd.sysusers' + 'lldpd.tmpfiles') +validpgpkeys=('AEF2348766F371C689A7360095A42FE8353525F9') # Vincent Bernat <ber...@luffy.cx> +md5sums=('202300ab6ec23c8e60b7c71f098ad69a' + '47335710dbef7b76e7d7994f1c461f01' + '8ae98663bac55afe5d989919d296f28a' + 'fc660a94c6dda3146ea7932685434bc8' + '1d3a5451d44f67e3786d082c150639a4' + '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.service (from rev 236676, lldpd/trunk/lldpd.service) =================================================================== --- community-staging-i686/lldpd.service (rev 0) +++ community-staging-i686/lldpd.service 2017-06-13 19:08:33 UTC (rev 236677) @@ -0,0 +1,28 @@ +[Unit] +Description=LLDP daemon +Documentation=man:lldpd(8) +After=network.target +RequiresMountsFor=/run/lldpd + +[Service] +Type=notify +NotifyAccess=main +ExecStartPre=/usr/bin/mkdir -p /run/lldpd/chroot +ExecStart=/usr/bin/lldpd +Restart=on-failure +PrivateTmp=yes +# systemd >= 211 +RestrictAddressFamilies=AF_INET AF_INET6 AF_PACKET AF_NETLINK AF_UNIX +# systemd >= 214 +ProtectHome=yes +ProtectSystem=yes +# systemd >= 231 +ReadWritePaths=/run/lldpd/ +# systemd >= 232 +ProtectSystem=strict +ProtectKernelTunables=yes +ProtectControlGroups=yes +ProtectKernelModules=yes + +[Install] +WantedBy=multi-user.target Copied: lldpd/repos/community-staging-i686/lldpd.sysusers (from rev 236676, lldpd/trunk/lldpd.sysusers) =================================================================== --- community-staging-i686/lldpd.sysusers (rev 0) +++ community-staging-i686/lldpd.sysusers 2017-06-13 19:08:33 UTC (rev 236677) @@ -0,0 +1,2 @@ +# https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database +u lldpd 127 - - Copied: lldpd/repos/community-staging-i686/lldpd.tmpfiles (from rev 236676, lldpd/trunk/lldpd.tmpfiles) =================================================================== --- community-staging-i686/lldpd.tmpfiles (rev 0) +++ community-staging-i686/lldpd.tmpfiles 2017-06-13 19:08:33 UTC (rev 236677) @@ -0,0 +1 @@ +d /run/lldpd 0750 lldpd lldpd Copied: lldpd/repos/community-staging-x86_64/LICENSE (from rev 236676, lldpd/trunk/LICENSE) =================================================================== --- community-staging-x86_64/LICENSE (rev 0) +++ community-staging-x86_64/LICENSE 2017-06-13 19:08:33 UTC (rev 236677) @@ -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 236676, lldpd/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-06-13 19:08:33 UTC (rev 236677) @@ -0,0 +1,67 @@ +# $Id$ +# Maintainer: Sébastien "Seblu" Luttringer +# Contributor: Brian Bidulock <bidul...@openss7.org> + +pkgname=lldpd +pkgver=0.9.7 +pkgrel=3 +pkgdesc='802.1ab implementation (LLDP) to help you locate neighbors' +arch=('i686' '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') +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" + 'LICENSE' + 'lldpd.service' + 'lldpd.sysusers' + 'lldpd.tmpfiles') +validpgpkeys=('AEF2348766F371C689A7360095A42FE8353525F9') # Vincent Bernat <ber...@luffy.cx> +md5sums=('202300ab6ec23c8e60b7c71f098ad69a' + '47335710dbef7b76e7d7994f1c461f01' + '8ae98663bac55afe5d989919d296f28a' + 'fc660a94c6dda3146ea7932685434bc8' + '1d3a5451d44f67e3786d082c150639a4' + '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.service (from rev 236676, lldpd/trunk/lldpd.service) =================================================================== --- community-staging-x86_64/lldpd.service (rev 0) +++ community-staging-x86_64/lldpd.service 2017-06-13 19:08:33 UTC (rev 236677) @@ -0,0 +1,28 @@ +[Unit] +Description=LLDP daemon +Documentation=man:lldpd(8) +After=network.target +RequiresMountsFor=/run/lldpd + +[Service] +Type=notify +NotifyAccess=main +ExecStartPre=/usr/bin/mkdir -p /run/lldpd/chroot +ExecStart=/usr/bin/lldpd +Restart=on-failure +PrivateTmp=yes +# systemd >= 211 +RestrictAddressFamilies=AF_INET AF_INET6 AF_PACKET AF_NETLINK AF_UNIX +# systemd >= 214 +ProtectHome=yes +ProtectSystem=yes +# systemd >= 231 +ReadWritePaths=/run/lldpd/ +# systemd >= 232 +ProtectSystem=strict +ProtectKernelTunables=yes +ProtectControlGroups=yes +ProtectKernelModules=yes + +[Install] +WantedBy=multi-user.target Copied: lldpd/repos/community-staging-x86_64/lldpd.sysusers (from rev 236676, lldpd/trunk/lldpd.sysusers) =================================================================== --- community-staging-x86_64/lldpd.sysusers (rev 0) +++ community-staging-x86_64/lldpd.sysusers 2017-06-13 19:08:33 UTC (rev 236677) @@ -0,0 +1,2 @@ +# https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database +u lldpd 127 - - Copied: lldpd/repos/community-staging-x86_64/lldpd.tmpfiles (from rev 236676, lldpd/trunk/lldpd.tmpfiles) =================================================================== --- community-staging-x86_64/lldpd.tmpfiles (rev 0) +++ community-staging-x86_64/lldpd.tmpfiles 2017-06-13 19:08:33 UTC (rev 236677) @@ -0,0 +1 @@ +d /run/lldpd 0750 lldpd lldpd