added my Recipes

This commit is contained in:
2024-07-11 14:16:35 +02:00
parent 38bc4f53ac
commit 09b621d929
7118 changed files with 525762 additions and 3 deletions

View File

@@ -0,0 +1,31 @@
From 12d1cc9da14b0cd0265bca3c4289a335ddf2e357 Mon Sep 17 00:00:00 2001
From: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Date: Mon, 8 Apr 2019 21:00:20 +0200
Subject: [PATCH] Fix musl build
Fixes compilation error on musl:
| ../macchanger-1.7.0/src/netinfo.c:116:26: error: expected ';' before 'epa'
| req.ifr_data = (caddr_t)epa;
Missing data type is defined in <sys/types.h>.
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
---
src/netinfo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/netinfo.c b/src/netinfo.c
index 3525123..1aa3293 100644
--- a/src/netinfo.c
+++ b/src/netinfo.c
@@ -28,6 +28,7 @@
#include <string.h>
#include <unistd.h>
#include <sys/ioctl.h>
+#include <sys/types.h>
#include <linux/ethtool.h>
#include <linux/sockios.h>
--
2.17.1

View File

@@ -0,0 +1,25 @@
SUMMARY = "Tool to view/change network interface MAC addresses"
DESCRIPTION = "A GNU/Linux utility for viewing/manipulating the MAC address of network interfaces."
HOMEPAGE = "https://github.com/alobbs/macchanger"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
SECTION = "net"
SRC_URI = "https://github.com/alobbs/macchanger/releases/download/${PV}/${BPN}-${PV}.tar.gz \
file://0001-Fix-musl-build.patch \
"
SRC_URI[md5sum] = "ca56f16142914337391dac91603eb332"
SRC_URI[sha256sum] = "dae2717c270fd5f62d790dbf80c19793c651b1b26b62c101b82d5fdf25a845bf"
FILES:${PN} = " \
${bindir}/${BPN} \
${datadir}/${BPN}/wireless.list \
${datadir}/${BPN}/OUI.list \
"
FILES:${PN}-doc = " \
${datadir}/info \
${datadir}/man \
"
inherit autotools