[arch-commits] Commit in radvd/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 7 19:45:25 UTC 2020


    Date: Tuesday, July 7, 2020 @ 19:45:24
  Author: foutrelis
Revision: 660181

archrelease: copy trunk to community-staging-x86_64

Added:
  radvd/repos/community-staging-x86_64/
  radvd/repos/community-staging-x86_64/PKGBUILD
    (from rev 660180, radvd/trunk/PKGBUILD)
  radvd/repos/community-staging-x86_64/radvd.service
    (from rev 660180, radvd/trunk/radvd.service)

---------------+
 PKGBUILD      |   57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 radvd.service |    9 ++++++++
 2 files changed, 66 insertions(+)

Copied: radvd/repos/community-staging-x86_64/PKGBUILD (from rev 660180, radvd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 19:45:24 UTC (rev 660181)
@@ -0,0 +1,57 @@
+# Maintainer: Sébastien Luttringer
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Mark Smith <markzzzsmith at yahoo.com.au>
+
+pkgname=radvd
+pkgver=2.18
+pkgrel=2
+pkgdesc='IPv6 Router Advertisement Daemon'
+url='http://www.litech.org/radvd/'
+license=('custom')
+depends=('glibc')
+makedepends=('check')
+arch=('x86_64')
+backup=('etc/radvd.conf')
+validpgpkeys=('10E2511038172B516DCA5BD36FE19F21451C9A2B') # Reuben Hawkins
+source=("http://www.litech.org/radvd/dist/${pkgname}-${pkgver}.tar.xz"{,.asc}
+        "${pkgname}.service")
+sha512sums=('f45a600d63a93fc58cc3d1c33545ed641337a82281dbeca2f98a9fee224d38e7c547c1624e02682df007e0215b39b5756f60093bae9264d54e4b388f89b6d108'
+            'SKIP'
+            'f8abe3e0233c33313e768c45b2873bfc70b6461337c57ae6e07196d3e9d23338fdec56b1c92d3fa1a2a691f83fd850588095352570ce3d2c0cc32ac07862f426')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  :
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --with-pidfile=/run/radvd.pid \
+    --with-check \
+    --mandir=/usr/share/man
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  # default config
+  install -D -m 644 radvd.conf.example "${pkgdir}/etc/radvd.conf"
+  # license
+  install -D -m 644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
+  # systemd
+  install -D -m 644 "${srcdir}/${pkgname}.service" \
+    "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: radvd/repos/community-staging-x86_64/radvd.service (from rev 660180, radvd/trunk/radvd.service)
===================================================================
--- community-staging-x86_64/radvd.service	                        (rev 0)
+++ community-staging-x86_64/radvd.service	2020-07-07 19:45:24 UTC (rev 660181)
@@ -0,0 +1,9 @@
+[Unit]
+Description=IPv6 Router Advertisement Daemon
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/radvd --nodaemon
+
+[Install]
+WantedBy=multi-user.target


More information about the arch-commits mailing list