[arch-commits] Commit in radvd/repos (6 files)
Sébastien Luttringer
seblu at archlinux.org
Sun Jan 25 19:52:50 UTC 2015
Date: Sunday, January 25, 2015 @ 20:52:49
Author: seblu
Revision: 229994
archrelease: copy trunk to community-i686, community-x86_64
Added:
radvd/repos/community-i686/
radvd/repos/community-i686/PKGBUILD
(from rev 229993, radvd/trunk/PKGBUILD)
radvd/repos/community-i686/radvd.service
(from rev 229993, radvd/trunk/radvd.service)
radvd/repos/community-x86_64/
radvd/repos/community-x86_64/PKGBUILD
(from rev 229993, radvd/trunk/PKGBUILD)
radvd/repos/community-x86_64/radvd.service
(from rev 229993, radvd/trunk/radvd.service)
--------------------------------+
community-i686/PKGBUILD | 55 +++++++++++++++++++++++++++++++++++++++
community-i686/radvd.service | 9 ++++++
community-x86_64/PKGBUILD | 55 +++++++++++++++++++++++++++++++++++++++
community-x86_64/radvd.service | 9 ++++++
4 files changed, 128 insertions(+)
Copied: radvd/repos/community-i686/PKGBUILD (from rev 229993, radvd/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-01-25 19:52:49 UTC (rev 229994)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Mark Smith <markzzzsmith at yahoo.com.au>
+
+pkgname=radvd
+pkgver=2.10
+pkgrel=1
+pkgdesc='IPv6 Router Advertisement Daemon'
+url='http://www.litech.org/radvd/'
+license=('custom')
+depends=('glibc')
+makedepends=('check')
+arch=('i686' 'x86_64')
+backup=('etc/radvd.conf')
+validpgpkeys=('B11F2EED32FB6728F700337C411FA8C112D91A31') # Reuben Hawkins
+source=("http://www.litech.org/radvd/dist/$pkgname-$pkgver.tar.xz"{,.asc}
+ "$pkgname.service")
+sha1sums=('a6b41df6ccc3ecc704809f6072baa5dc1c92dc54'
+ 'SKIP'
+ '2fdba3b0ed28c67dc1c04bfd1439fa4dece88bbc')
+
+#prepare() {
+# patch -p1 -d $pkgname-$pkgver < '01-fix-rdnssinfo-length-fix.patch'
+#}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --with-pidfile=/run/radvd.pid \
+ --mandir=/usr/share/man
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $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 ../$pkgname.service \
+ "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: radvd/repos/community-i686/radvd.service (from rev 229993, radvd/trunk/radvd.service)
===================================================================
--- community-i686/radvd.service (rev 0)
+++ community-i686/radvd.service 2015-01-25 19:52:49 UTC (rev 229994)
@@ -0,0 +1,9 @@
+[Unit]
+Description=IPv6 Router Advertisement Daemon
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/radvd --nodaemon --logmethod=stderr
+
+[Install]
+WantedBy=multi-user.target
Copied: radvd/repos/community-x86_64/PKGBUILD (from rev 229993, radvd/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-01-25 19:52:49 UTC (rev 229994)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Mark Smith <markzzzsmith at yahoo.com.au>
+
+pkgname=radvd
+pkgver=2.10
+pkgrel=1
+pkgdesc='IPv6 Router Advertisement Daemon'
+url='http://www.litech.org/radvd/'
+license=('custom')
+depends=('glibc')
+makedepends=('check')
+arch=('i686' 'x86_64')
+backup=('etc/radvd.conf')
+validpgpkeys=('B11F2EED32FB6728F700337C411FA8C112D91A31') # Reuben Hawkins
+source=("http://www.litech.org/radvd/dist/$pkgname-$pkgver.tar.xz"{,.asc}
+ "$pkgname.service")
+sha1sums=('a6b41df6ccc3ecc704809f6072baa5dc1c92dc54'
+ 'SKIP'
+ '2fdba3b0ed28c67dc1c04bfd1439fa4dece88bbc')
+
+#prepare() {
+# patch -p1 -d $pkgname-$pkgver < '01-fix-rdnssinfo-length-fix.patch'
+#}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --with-pidfile=/run/radvd.pid \
+ --mandir=/usr/share/man
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $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 ../$pkgname.service \
+ "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: radvd/repos/community-x86_64/radvd.service (from rev 229993, radvd/trunk/radvd.service)
===================================================================
--- community-x86_64/radvd.service (rev 0)
+++ community-x86_64/radvd.service 2015-01-25 19:52:49 UTC (rev 229994)
@@ -0,0 +1,9 @@
+[Unit]
+Description=IPv6 Router Advertisement Daemon
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/radvd --nodaemon --logmethod=stderr
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list