-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fc0c181
commit ac6346b
Showing
2 changed files
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|