Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: lldpd-1.0.5
@ 2020-05-30  5:18 zdykstra
  2020-05-30 18:53 ` abenson
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: zdykstra @ 2020-05-30  5:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 309 bytes --]

There is a new pull request by zdykstra against master on the void-packages repository

https://github.com/zdykstra/void-packages lldpd
https://github.com/void-linux/void-packages/pull/22419

New package: lldpd-1.0.5


A patch file from https://github.com/void-linux/void-packages/pull/22419.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lldpd-22419.patch --]
[-- Type: text/x-diff, Size: 1553 bytes --]

From 72ff600b4b40e4174e041d77a108a9ae528f14e5 Mon Sep 17 00:00:00 2001
From: Zach Dykstra <dykstra.zachary@gmail.com>
Date: Sat, 30 May 2020 00:18:04 -0500
Subject: [PATCH] New package: lldpd-1.0.5

---
 srcpkgs/lldpd/files/lldpd/run |  3 +++
 srcpkgs/lldpd/template        | 22 ++++++++++++++++++++++
 2 files changed, 25 insertions(+)
 create mode 100755 srcpkgs/lldpd/files/lldpd/run
 create mode 100644 srcpkgs/lldpd/template

diff --git a/srcpkgs/lldpd/files/lldpd/run b/srcpkgs/lldpd/files/lldpd/run
new file mode 100755
index 00000000000..fea4ca1348a
--- /dev/null
+++ b/srcpkgs/lldpd/files/lldpd/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+[ -r conf ] && . ./conf
+exec lldpd ${OPTS:- -d}
diff --git a/srcpkgs/lldpd/template b/srcpkgs/lldpd/template
new file mode 100644
index 00000000000..eab6698c45a
--- /dev/null
+++ b/srcpkgs/lldpd/template
@@ -0,0 +1,22 @@
+# Template file for 'lldpd'
+pkgname=lldpd
+version=1.0.5
+revision=1
+build_style=gnu-configure
+configure_args="--with-privsep-chroot=/var/empty"
+hostmakedepends="pkg-config"
+makedepends="libpcap-devel libcap-devel libevent-devel readline-devel"
+short_desc="Broadcast 802.1AB neighbor announcements"
+maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
+license="ISC"
+homepage="https://vincentbernat.github.io/lldpd/index.html"
+distfiles="https://media.luffy.cx/files/lldpd/${pkgname}-${version}.tar.gz"
+checksum=2dd3b212f4dbabfcbb2794c0010b245f9f8e74b387984e757be6243a74c6cb99
+
+system_groups="_lldpd"
+system_accounts="_lldpd"
+
+post_install() {
+	vsv lldpd
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New package: lldpd-1.0.5
  2020-05-30  5:18 [PR PATCH] New package: lldpd-1.0.5 zdykstra
@ 2020-05-30 18:53 ` abenson
  2020-05-30 18:54 ` zdykstra
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: abenson @ 2020-05-30 18:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 203 bytes --]

New comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/22419#issuecomment-636370301

Comment:
Does it need to be told somewhere to use the created accounts?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New package: lldpd-1.0.5
  2020-05-30  5:18 [PR PATCH] New package: lldpd-1.0.5 zdykstra
  2020-05-30 18:53 ` abenson
@ 2020-05-30 18:54 ` zdykstra
  2020-05-30 19:10 ` zdykstra
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: zdykstra @ 2020-05-30 18:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1039 bytes --]

New comment by zdykstra on void-packages repository

https://github.com/void-linux/void-packages/pull/22419#issuecomment-636370500

Comment:
> Does it need to be told somewhere to use the created accounts?

It automagically privseps to that account by default. 

```
ps auwx | grep lldpd
root      2282  0.0  0.0   2616   920 ?        Ss   May25   0:03 runsvdir -P /run/runit/runsvdir/current log: ] protocol CDPv2 enabled 2020-05-30T00:15:01 [INFO/main] protocol SONMP disabled 2020-05-30T00:15:01 [INFO/main] protocol EDP disabled 2020-05-30T00:15:01 [INFO/main] protocol FDP disabled 2020-05-30T00:15:01 [INFO/event] libevent 2.1.11-stable initialized with epoll method 2020-05-30T00:15:01 [INFO/lldpctl] lldpd should resume operations ......................................................
root     27464  0.0  0.0   2464   648 ?        Ss   00:14   0:00 runsv lldpd
_lldpd   28630  0.0  0.0   4344  2296 ?        S    00:15   0:00 lldpd -d -c
_lldpd   28632  0.0  0.0   3928  1408 ?        S    00:15   0:00 lldpd -d -c
```

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New package: lldpd-1.0.5
  2020-05-30  5:18 [PR PATCH] New package: lldpd-1.0.5 zdykstra
  2020-05-30 18:53 ` abenson
  2020-05-30 18:54 ` zdykstra
@ 2020-05-30 19:10 ` zdykstra
  2020-06-01  2:17 ` [PR PATCH] [Updated] " zdykstra
  2020-07-10 14:28 ` [PR PATCH] [Merged]: " ahesford
  4 siblings, 0 replies; 6+ messages in thread
From: zdykstra @ 2020-05-30 19:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1123 bytes --]

New comment by zdykstra on void-packages repository

https://github.com/void-linux/void-packages/pull/22419#issuecomment-636370500

Comment:
> Does it need to be told somewhere to use the created accounts?

It automagically privseps to that account by default. 

```
ps auwx | grep lldpd
root      2282  0.0  0.0   2616   920 ?        Ss   May25   0:03 runsvdir -P /run/runit/runsvdir/current log: ] protocol CDPv2 enabled 2020-05-30T00:15:01 [INFO/main] protocol SONMP disabled 2020-05-30T00:15:01 [INFO/main] protocol EDP disabled 2020-05-30T00:15:01 [INFO/main] protocol FDP disabled 2020-05-30T00:15:01 [INFO/event] libevent 2.1.11-stable initialized with epoll method 2020-05-30T00:15:01 [INFO/lldpctl] lldpd should resume operations ......................................................
root     27464  0.0  0.0   2464   648 ?        Ss   00:14   0:00 runsv lldpd
_lldpd   28630  0.0  0.0   4344  2296 ?        S    00:15   0:00 lldpd -d -c
_lldpd   28632  0.0  0.0   3928  1408 ?        S    00:15   0:00 lldpd -d -c
```

https://travis-ci.org/github/void-linux/void-packages/jobs/692810372#L4675-L4678

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Updated] New package: lldpd-1.0.5
  2020-05-30  5:18 [PR PATCH] New package: lldpd-1.0.5 zdykstra
                   ` (2 preceding siblings ...)
  2020-05-30 19:10 ` zdykstra
@ 2020-06-01  2:17 ` zdykstra
  2020-07-10 14:28 ` [PR PATCH] [Merged]: " ahesford
  4 siblings, 0 replies; 6+ messages in thread
From: zdykstra @ 2020-06-01  2:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 314 bytes --]

There is an updated pull request by zdykstra against master on the void-packages repository

https://github.com/zdykstra/void-packages lldpd
https://github.com/void-linux/void-packages/pull/22419

New package: lldpd-1.0.5


A patch file from https://github.com/void-linux/void-packages/pull/22419.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lldpd-22419.patch --]
[-- Type: text/x-diff, Size: 1911 bytes --]

From 30b005b6b773b367070ed36fca4aacfca74df2a8 Mon Sep 17 00:00:00 2001
From: Zach Dykstra <dykstra.zachary@gmail.com>
Date: Sat, 30 May 2020 00:18:04 -0500
Subject: [PATCH] New package: lldpd-1.0.5

---
 srcpkgs/lldpd/files/lldpd/log/run |  1 +
 srcpkgs/lldpd/files/lldpd/run     |  3 +++
 srcpkgs/lldpd/template            | 22 ++++++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 120000 srcpkgs/lldpd/files/lldpd/log/run
 create mode 100755 srcpkgs/lldpd/files/lldpd/run
 create mode 100644 srcpkgs/lldpd/template

diff --git a/srcpkgs/lldpd/files/lldpd/log/run b/srcpkgs/lldpd/files/lldpd/log/run
new file mode 120000
index 00000000000..3a5b4a58605
--- /dev/null
+++ b/srcpkgs/lldpd/files/lldpd/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/lldpd/files/lldpd/run b/srcpkgs/lldpd/files/lldpd/run
new file mode 100755
index 00000000000..79ec74814ea
--- /dev/null
+++ b/srcpkgs/lldpd/files/lldpd/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+[ -r conf ] && . ./conf
+exec lldpd ${OPTS:- -d} 2>&1
diff --git a/srcpkgs/lldpd/template b/srcpkgs/lldpd/template
new file mode 100644
index 00000000000..eab6698c45a
--- /dev/null
+++ b/srcpkgs/lldpd/template
@@ -0,0 +1,22 @@
+# Template file for 'lldpd'
+pkgname=lldpd
+version=1.0.5
+revision=1
+build_style=gnu-configure
+configure_args="--with-privsep-chroot=/var/empty"
+hostmakedepends="pkg-config"
+makedepends="libpcap-devel libcap-devel libevent-devel readline-devel"
+short_desc="Broadcast 802.1AB neighbor announcements"
+maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
+license="ISC"
+homepage="https://vincentbernat.github.io/lldpd/index.html"
+distfiles="https://media.luffy.cx/files/lldpd/${pkgname}-${version}.tar.gz"
+checksum=2dd3b212f4dbabfcbb2794c0010b245f9f8e74b387984e757be6243a74c6cb99
+
+system_groups="_lldpd"
+system_accounts="_lldpd"
+
+post_install() {
+	vsv lldpd
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Merged]: New package: lldpd-1.0.5
  2020-05-30  5:18 [PR PATCH] New package: lldpd-1.0.5 zdykstra
                   ` (3 preceding siblings ...)
  2020-06-01  2:17 ` [PR PATCH] [Updated] " zdykstra
@ 2020-07-10 14:28 ` ahesford
  4 siblings, 0 replies; 6+ messages in thread
From: ahesford @ 2020-07-10 14:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 158 bytes --]

There's a merged pull request on the void-packages repository

New package: lldpd-1.0.5
https://github.com/void-linux/void-packages/pull/22419

Description:


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-10 14:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-30  5:18 [PR PATCH] New package: lldpd-1.0.5 zdykstra
2020-05-30 18:53 ` abenson
2020-05-30 18:54 ` zdykstra
2020-05-30 19:10 ` zdykstra
2020-06-01  2:17 ` [PR PATCH] [Updated] " zdykstra
2020-07-10 14:28 ` [PR PATCH] [Merged]: " ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).