Remove last angstrom relicts never used/tested

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2022-03-11 01:01:28 +01:00
parent 0c5b1b1419
commit 2fb64d8ea2
5 changed files with 0 additions and 106 deletions

View File

@@ -1,21 +0,0 @@
SUMMARY = "Provide random MAC address for devices with 00:00:00:00:00 as MAC address"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "file://fixmac.sh \
file://fixmac.rules"
do_install() {
install -d ${D}${sysconfdir}/udev/rules.d
install -m 0644 ${WORKDIR}/fixmac.rules ${D}${sysconfdir}/udev/rules.d
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/fixmac.sh ${D}${bindir}
sed -i -e s:/sbin:${base_sbindir}:g -e s:/etc:${sysconfdir}:g ${D}${bindir}/fixmac.sh
}
RDEPENDS:${PN} = "ranpwd"

View File

@@ -1 +0,0 @@
KERNEL=="eth*", ACTION=="add", ATTR{address}=="00:00:00:00:00:00", RUN += "/usr/bin/fixmac.sh %k"

View File

@@ -1,10 +0,0 @@
#!/bin/sh
if [ -e /etc/ethernetmac.$1 ] ; then
MACADDRESS="$(cat /etc/ethernetmac.$1)"
else
MACADDRESS="$(ranpwd -m)"
echo ${MACADDRESS} > /etc/ethernetmac.$1
fi
/sbin/ifconfig $1 hw ether ${MACADDRESS} && /sbin/ifconfig $1 up

View File

@@ -1,45 +0,0 @@
Fix configure errors e.g.
| /home/kraj/work/angstrom-repo/build/tmp-angstrom_next-eglibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/ranpwd/1.2+gitAUTOINC+b62aab579e-r0/git/configure: line 2866: syntax error near unexpected token `-Wall'
| /home/kraj/work/angstrom-repo/build/tmp-angstrom_next-eglibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/ranpwd/1.2+gitAUTOINC+b62aab579e-r0/git/configure: line 2866: `PA_ADD_CFLAGS(-Wall)'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream-Status: Pending
Index: git/Makefile.am
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ git/Makefile.am 2014-04-25 10:39:58.217987489 -0700
@@ -0,0 +1,4 @@
+bin_PROGRAMS = ranpwd
+man_MANS = ranpwd.1
+ranpwd_SOURCES = ranpwd.c
+TESTS = ranpwd
Index: git/configure.in
===================================================================
--- git.orig/configure.in 2014-04-25 10:28:04.544650560 -0700
+++ git/configure.in 2014-04-25 10:39:58.217987489 -0700
@@ -12,23 +12,10 @@
AC_INIT(ranpwd, 1.2)
AC_PREREQ(2.59)
+AM_INIT_AUTOMAKE
AC_PROG_CC
-PA_ADD_CFLAGS(-Wall)
-PA_ADD_CFLAGS(-W)
-PA_ADD_CFLAGS(-Wpointer-arith)
-PA_ADD_CFLAGS(-Wbad-function-cast)
-PA_ADD_CFLAGS(-Wcast-equal)
-PA_ADD_CFLAGS(-Wstrict-prototypes)
-PA_ADD_CFLAGS(-Wmissing-prototypes)
-PA_ADD_CFLAGS(-Wmissing-declarations)
-PA_ADD_CFLAGS(-Wnested-externs)
-PA_ADD_CFLAGS(-Winline)
-PA_ADD_CFLAGS(-Wshadow)
-PA_ADD_CFLAGS(-Wcast-align)
-PA_ADD_CFLAGS(-pipe)
-
AC_CHECK_HEADERS(getopt.h)
AC_CHECK_FUNCS(getopt_long)

View File

@@ -1,29 +0,0 @@
DESCRIPTION = "Random password generator"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://ranpwd.c;beginline=1;endline=11;md5=0e8585e19117526efedfaeb50c345d7a"
SECTION = "console/utils"
PV = "1.2+git${SRCPV}"
inherit autotools
SRC_URI = "git://github.com/koenkooi/ranpwd.git;protocol=https;branch=master \
file://ranpwd_confgure.patch \
"
SRCREV = "b62aab579e288715b82d5575befaa2b8ff210c2b"
S="${WORKDIR}/git"
do_configure:prepend () {
( cd ${S}
touch NEWS README AUTHORS ChangeLog
if [ ! -e acinclude.m4 -a -e aclocal.m4 ]; then
cp aclocal.m4 acinclude.m4
fi )
}
do_install() {
install -d ${D}/${bindir}
install -m 0755 ${B}/ranpwd ${D}/${bindir}/ranpwd
}