radvd: update to 2.20.

This commit is contained in:
Leah Neukirchen 2025-01-02 17:43:23 +01:00
parent fc0c1812fd
commit ac6346b36b
2 changed files with 23 additions and 5 deletions

View 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>

View File

@ -1,18 +1,22 @@
# Template file for 'radvd'
pkgname=radvd
version=2.19
version=2.20
revision=1
build_style=gnu-configure
hostmakedepends="flex"
hostmakedepends="flex pkg-config"
checkdepends="check-devel"
short_desc="IPv6 Router Advertisement Daemon"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="custom"
license="radvd"
homepage="http://www.litech.org/radvd/"
distfiles="http://www.litech.org/radvd/dist/${pkgname}-${version}.tar.xz"
checksum=564e04597f71a9057d02290da0dd21b592d277ceb0e7277550991d788213e240
checksum=25d2960fb977ac35c45a8d85b71db22ed8af325db7dbf4a562fb03eab2848dcd
conf_files="/etc/radvd.conf"
if [ "$XBPS_CHECK_PKGS" ]; then
configure_args+=" --with-check"
fi
post_install() {
vsv radvd
vconf radvd.conf.example radvd.conf