Date: Tuesday, April 10, 2018 @ 17:18:21 Author: seblu Revision: 315623
archrelease: copy trunk to community-x86_64 Added: lldpd/repos/community-x86_64/LICENSE (from rev 315622, lldpd/trunk/LICENSE) lldpd/repos/community-x86_64/PKGBUILD (from rev 315622, lldpd/trunk/PKGBUILD) lldpd/repos/community-x86_64/lldpd.service (from rev 315622, lldpd/trunk/lldpd.service) lldpd/repos/community-x86_64/lldpd.sysusers (from rev 315622, lldpd/trunk/lldpd.sysusers) lldpd/repos/community-x86_64/lldpd.tmpfiles (from rev 315622, lldpd/trunk/lldpd.tmpfiles) Deleted: lldpd/repos/community-x86_64/LICENSE lldpd/repos/community-x86_64/PKGBUILD lldpd/repos/community-x86_64/lldpd.service lldpd/repos/community-x86_64/lldpd.sysusers lldpd/repos/community-x86_64/lldpd.tmpfiles ----------------+ LICENSE | 22 ++++----- PKGBUILD | 132 +++++++++++++++++++++++++++---------------------------- lldpd.service | 56 +++++++++++------------ lldpd.sysusers | 6 +- lldpd.tmpfiles | 2 5 files changed, 109 insertions(+), 109 deletions(-) Deleted: LICENSE =================================================================== --- LICENSE 2018-04-10 17:17:32 UTC (rev 315622) +++ LICENSE 2018-04-10 17:18:21 UTC (rev 315623) @@ -1,11 +0,0 @@ -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-x86_64/LICENSE (from rev 315622, lldpd/trunk/LICENSE) =================================================================== --- LICENSE (rev 0) +++ LICENSE 2018-04-10 17:18:21 UTC (rev 315623) @@ -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. Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-04-10 17:17:32 UTC (rev 315622) +++ PKGBUILD 2018-04-10 17:18:21 UTC (rev 315623) @@ -1,66 +0,0 @@ -# $Id$ -# Maintainer: Sébastien "Seblu" Luttringer -# Contributor: Brian Bidulock <bidul...@openss7.org> - -pkgname=lldpd -pkgver=0.9.9 -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') -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=('d028de260f63eb8eac92e2414c0b3f8a' - 'c0e4dbc5924735e6c9e1b29e1f84ac32' - '8ae98663bac55afe5d989919d296f28a' - 'fc660a94c6dda3146ea7932685434bc8' - '8c9fee704ce84afe51930fc73484ab66' - '00a82f466404aec01b074503633d12ba') - -build() { - cd $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 $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-x86_64/PKGBUILD (from rev 315622, lldpd/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-04-10 17:18:21 UTC (rev 315623) @@ -0,0 +1,66 @@ +# $Id$ +# Maintainer: Sébastien "Seblu" Luttringer +# Contributor: Brian Bidulock <bidul...@openss7.org> + +pkgname=lldpd +pkgver=1.0.1 +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') +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=('91de961bfccfa8790e0514a5dc6eafb3' + '368a231641559d4d16db0b7b699d5896' + '8ae98663bac55afe5d989919d296f28a' + 'fc660a94c6dda3146ea7932685434bc8' + '8c9fee704ce84afe51930fc73484ab66' + '00a82f466404aec01b074503633d12ba') + +build() { + cd $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 $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: Deleted: lldpd.service =================================================================== --- lldpd.service 2018-04-10 17:17:32 UTC (rev 315622) +++ lldpd.service 2018-04-10 17:18:21 UTC (rev 315623) @@ -1,28 +0,0 @@ -[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-x86_64/lldpd.service (from rev 315622, lldpd/trunk/lldpd.service) =================================================================== --- lldpd.service (rev 0) +++ lldpd.service 2018-04-10 17:18:21 UTC (rev 315623) @@ -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 Deleted: lldpd.sysusers =================================================================== --- lldpd.sysusers 2018-04-10 17:17:32 UTC (rev 315622) +++ lldpd.sysusers 2018-04-10 17:18:21 UTC (rev 315623) @@ -1,3 +0,0 @@ -# https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database -u lldpd 127 - - -m lldpd lldpd Copied: lldpd/repos/community-x86_64/lldpd.sysusers (from rev 315622, lldpd/trunk/lldpd.sysusers) =================================================================== --- lldpd.sysusers (rev 0) +++ lldpd.sysusers 2018-04-10 17:18:21 UTC (rev 315623) @@ -0,0 +1,3 @@ +# https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database +u lldpd 127 - - +m lldpd lldpd Deleted: lldpd.tmpfiles =================================================================== --- lldpd.tmpfiles 2018-04-10 17:17:32 UTC (rev 315622) +++ lldpd.tmpfiles 2018-04-10 17:18:21 UTC (rev 315623) @@ -1 +0,0 @@ -d /run/lldpd 0750 lldpd lldpd Copied: lldpd/repos/community-x86_64/lldpd.tmpfiles (from rev 315622, lldpd/trunk/lldpd.tmpfiles) =================================================================== --- lldpd.tmpfiles (rev 0) +++ lldpd.tmpfiles 2018-04-10 17:18:21 UTC (rev 315623) @@ -0,0 +1 @@ +d /run/lldpd 0750 lldpd lldpd