diff options
-rw-r--r-- | ebtables/ebtables_2.0.6.oe | 22 | ||||
-rw-r--r-- | resolvconf/resolvconf_1.21.oe | 26 |
2 files changed, 48 insertions, 0 deletions
diff --git a/ebtables/ebtables_2.0.6.oe b/ebtables/ebtables_2.0.6.oe index e69de29bb2..1150f57a6c 100644 --- a/ebtables/ebtables_2.0.6.oe +++ b/ebtables/ebtables_2.0.6.oe @@ -0,0 +1,22 @@ +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION = "Utility that enables basic Ethernet frame filtering on a Linux bridge, MAC NAT and brouting." +PRIORITY = "optional" +SRC_URI = "${SOURCEFORGE_MIRROR}/ebtables/ebtables-v${PV}.tar.gz \ + file://gcc34.patch;patch=1 \ + file://installnonroot.patch;patch=1 \ + file://installcreatedirs.patch;patch=1" +S = "${WORKDIR}/ebtables-v${PV}" +MAINTAINER = "Ned Ludd <solar@gentoo.org>" +LICENSE = "GPL" +SECTION = "net" + +do_compile () { + oe_runmake 'BINPATH=/sbin/' 'MANDIR=${mandir}/' \ + 'ETHERTYPESPATH=${sysconfdir}/' 'KERNEL_INCLUDES=${STAGING_INCDIR}' +} + +do_install () { + oe_runmake 'BINPATH=${D}/sbin/' 'MANDIR=${D}/${mandir}/' \ + 'ETHERTYPESPATH=${D}/${sysconfdir}/' install +} diff --git a/resolvconf/resolvconf_1.21.oe b/resolvconf/resolvconf_1.21.oe index e69de29bb2..a39e3537a6 100644 --- a/resolvconf/resolvconf_1.21.oe +++ b/resolvconf/resolvconf_1.21.oe @@ -0,0 +1,26 @@ +DESCRIPTION = "Resolvconf is a framework for keeping track of the system's \ +information about currently available nameservers. It sets \ +itself up as the intermediary between programs that supply \ +nameserver information and programs that need nameserver \ +information." +SECTIO = "net" +LICENSE = "GPL" +AUTHOR = "Thomas Hood" +HOMEPAGE = "http://packages.debian.org/resolvconf" +DEPENDS = "bash" +RDEPENDS = "bash" + +SRC_URI = "${DEBIAN_MIRROR}/main/r/resolvconf/resolvconf_${PV}.tar.gz" + +do_compile () { + : +} + +do_install () { + install -d ${D}/${sysconfdir} ${D}/${sbindir} ${D}/sbin ${D}/var/run/resolvconf/interface + install -d ${D}/${mandir}/man8 ${D}/${datadir}/doc/${P} + cp -a etc/* ${D}/${sysconfdir}/ + install -m 0755 bin/resolvconf ${D}/sbin/ + install -m 0644 README ${D}/${datadir}/doc/${P}/ + install -m 0644 man/resolvconf.8 ${D}/${mandir}/man8/ +} |