mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
radvd: update to 2.20.
This commit is contained in:
parent
fc0c1812fd
commit
ac6346b36b
2 changed files with 23 additions and 5 deletions
14
srcpkgs/radvd/patches/strlcpy.patch
Normal file
14
srcpkgs/radvd/patches/strlcpy.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
strlcpy is in glibc and musl nowadays.
|
||||||
|
|
||||||
|
--- a/includes.h
|
||||||
|
+++ b/includes.h
|
||||||
|
@@ -26,9 +26,6 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
-#ifndef __FreeBSD__
|
||||||
|
-#include <bsd/string.h> // strlcpy
|
||||||
|
-#endif
|
||||||
|
#include <syslog.h>
|
||||||
|
#include <time.h>
|
||||||
|
#include <unistd.h>
|
|
@ -1,18 +1,22 @@
|
||||||
# Template file for 'radvd'
|
# Template file for 'radvd'
|
||||||
pkgname=radvd
|
pkgname=radvd
|
||||||
version=2.19
|
version=2.20
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="flex"
|
hostmakedepends="flex pkg-config"
|
||||||
|
checkdepends="check-devel"
|
||||||
short_desc="IPv6 Router Advertisement Daemon"
|
short_desc="IPv6 Router Advertisement Daemon"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="custom"
|
license="radvd"
|
||||||
homepage="http://www.litech.org/radvd/"
|
homepage="http://www.litech.org/radvd/"
|
||||||
distfiles="http://www.litech.org/radvd/dist/${pkgname}-${version}.tar.xz"
|
distfiles="http://www.litech.org/radvd/dist/${pkgname}-${version}.tar.xz"
|
||||||
checksum=564e04597f71a9057d02290da0dd21b592d277ceb0e7277550991d788213e240
|
checksum=25d2960fb977ac35c45a8d85b71db22ed8af325db7dbf4a562fb03eab2848dcd
|
||||||
|
|
||||||
conf_files="/etc/radvd.conf"
|
conf_files="/etc/radvd.conf"
|
||||||
|
|
||||||
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
||||||
|
configure_args+=" --with-check"
|
||||||
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vsv radvd
|
vsv radvd
|
||||||
vconf radvd.conf.example radvd.conf
|
vconf radvd.conf.example radvd.conf
|
||||||
|
|
Loading…
Add table
Reference in a new issue