diff options
Diffstat (limited to 'repos/extra/dhcpcd/abuild')
| -rw-r--r-- | repos/extra/dhcpcd/abuild | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/repos/extra/dhcpcd/abuild b/repos/extra/dhcpcd/abuild new file mode 100644 index 00000000..4a23530e --- /dev/null +++ b/repos/extra/dhcpcd/abuild @@ -0,0 +1,14 @@ +name=dhcpcd +version=10.2.2 +release=1 +source="https://github.com/NetworkConfiguration/$name/releases/download/v$version/$name-$version.tar.xz + run" +sv="run" +build_opt="--without-udev" + +prebuild() { + # fix when using libressl + if [ -f $SPM_PKGDB/libressl ]; then + sed -i 's/RAND_priv_bytes/RAND_pseudo_bytes/g' compat/arc4random.c + fi +} |