> On Nov 25, 2016, at 4:16 PM, Martin Jansa <[email protected]> wrote: > > On Wed, Nov 23, 2016 at 01:21:43AM -0800, Khem Raj wrote: >> Signed-off-by: Khem Raj <[email protected]> >> --- >> .../miniupnpd/miniupnpd_2.0.bb | 38 >> ++++++++++++++++++++++ >> 1 file changed, 38 insertions(+) >> create mode 100644 >> meta-multimedia/recipes-connectivity/miniupnpd/miniupnpd_2.0.bb >> >> diff --git a/meta-multimedia/recipes-connectivity/miniupnpd/miniupnpd_2.0.bb >> b/meta-multimedia/recipes-connectivity/miniupnpd/miniupnpd_2.0.bb >> new file mode 100644 >> index 0000000..dfa3fed >> --- /dev/null >> +++ b/meta-multimedia/recipes-connectivity/miniupnpd/miniupnpd_2.0.bb >> @@ -0,0 +1,38 @@ >> +SUMMARY = "Lightweight UPnP IGD daemon" >> +DESCRIPTION = "The miniUPnP daemon is an UPnP IGD (internet gateway device) >> \ >> +which provide NAT traversal services to any UPnP enabled client on \ >> +the network." >> + >> +SECTION = "networking" >> +LICENSE = "BSD-3-Clause" >> +LIC_FILES_CHKSUM = "file://LICENSE;md5=aa71c78c373ccfe0ff207af0cd966d91" >> + >> +inherit autotools gettext pkgconfig >> + >> +DEPENDS += "iptables net-tools util-linux" > > Autodetects bunch of dependencies: > http://lists.openembedded.org/pipermail/openembedded-devel/2016-November/110050.html > > <http://lists.openembedded.org/pipermail/openembedded-devel/2016-November/110050.html>
will send a v2 > >> + >> +SRC_URI = >> "http://miniupnp.tuxfamily.org/files/download.php?file=${P}.tar.gz \ >> +" >> +SRC_URI[md5sum] = "1c07a215dd9b362e75a9efc05e2fb3b4" >> +SRC_URI[sha256sum] = >> "d96aa3a00e0f5490826bba3cb97e68cd27479e5839adac4b9bcb66eae786bfb7" >> + >> +IPV6 = "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', '--ipv6', '', d)}" >> + >> +do_compile() { >> + cd ${S} >> + CONFIG_OPTIONS="${IPV6} --leasefile" ./genconfig.sh >> + oe_runmake -f Makefile.linux >> +} >> + >> +do_install() { >> + install -d ${D}/${sbindir} >> + install ${S}/miniupnpd ${D}/${sbindir} >> + install -d ${D}/${sysconfdir}/${BPN} >> + install ${S}/netfilter/iptables_init.sh ${D}/${sysconfdir}/${BPN} >> + install ${S}/netfilter/iptables_removeall.sh ${D}/${sysconfdir}/${BPN} >> + install ${S}/netfilter/ip6tables_init.sh ${D}/${sysconfdir}/${BPN} >> + install ${S}/netfilter/ip6tables_removeall.sh ${D}/${sysconfdir}/${BPN} >> + install -m 0644 -b ${S}/miniupnpd.conf ${D}/${sysconfdir}/${BPN} >> + install -d ${D}/${sysconfdir}/init.d >> + install ${S}/linux/miniupnpd.init.d.script >> ${D}/${sysconfdir}/init.d/miniupnpd >> +} >> -- >> 2.10.2 >> >> -- >> _______________________________________________ >> Openembedded-devel mailing list >> [email protected] >> <mailto:[email protected]> >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel >> <http://lists.openembedded.org/mailman/listinfo/openembedded-devel> > > -- > Martin 'JaMa' Jansa jabber: [email protected] > <mailto:[email protected]> > -- > _______________________________________________ > Openembedded-devel mailing list > [email protected] > <mailto:[email protected]> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel > <http://lists.openembedded.org/mailman/listinfo/openembedded-devel> -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
