Skip to content

Commit

Permalink
radvd: update to 2.20.
Browse files Browse the repository at this point in the history
  • Loading branch information
leahneukirchen committed Jan 2, 2025
1 parent fc0c181 commit ac6346b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
14 changes: 14 additions & 0 deletions srcpkgs/radvd/patches/strlcpy.patch
Original file line number Diff line number Diff line change
@@ -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>
14 changes: 9 additions & 5 deletions srcpkgs/radvd/template
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"
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
Expand Down

0 comments on commit ac6346b

Please sign in to comment.