* [meta-security][PATCH 1/2] libwhisker2-perl: fix build issue
@ 2015-01-01 22:55 Armin Kuster
2015-01-01 22:55 ` [meta-security][PATCH 2/2] nikto: fix launching errors Armin Kuster
0 siblings, 1 reply; 2+ messages in thread
From: Armin Kuster @ 2015-01-01 22:55 UTC (permalink / raw)
To: yocto
minor formating clean ups.
add "ssl" depend packageconf option
Change inherit perlnative to BBCLASSEXTEND = "native" to fix build issue
error: Can't install libwhisker2-perl-2.5-r0@i586: no package provides /home/akuster/oss/maint/security/poky/build/tmp/sysroots/x86_64-linux/usr/bin/perl-native/perl.real
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
recipes-perl/perl/libwhisker2-perl_2.5.bb | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/recipes-perl/perl/libwhisker2-perl_2.5.bb b/recipes-perl/perl/libwhisker2-perl_2.5.bb
index a98bde0..d9af430 100644
--- a/recipes-perl/perl/libwhisker2-perl_2.5.bb
+++ b/recipes-perl/perl/libwhisker2-perl_2.5.bb
@@ -5,8 +5,6 @@ LICENSE = "Artistic-1.0 | GPL-1.0+"
LIC_FILES_CHKSUM = "file://LICENSE;md5=254b8e29606fce6d1c1a4c9e32354573"
-DEPENDS = "perl"
-
SRC_URI = "http://sourceforge.net/projects/whisker/files/libwhisker/${PV}/libwhisker2-${PV}.tar.gz \
file://libwhisker2.patch"
@@ -15,10 +13,15 @@ SRC_URI[sha256sum] = "f45a1cf2ad2637b29dd1b13d7221ea12e3923ea09d107ced446400f190
S = "${WORKDIR}/libwhisker2-2.5"
-inherit cpan-base perlnative
+inherit cpan-base
+
+PACKAGEGROUP ??=""
+PACKAGEGROUP[ssl] = ", , libnet-ssleay-perl, libnet-ssleay-perl"
do_install() {
- install -d 755 ${D}${PERLLIBDIRS}/vendor_perl/${PERLVERSION}
- install -d 755 ${D}${datadir}/perl/${PERLVERSION}
- oe_runmake install DESTDIR=${D} INSTALLDIR=${PERLLIBDIRS}/vendor_perl/${PERLVERSION} MANDIR=${datadir}/perl/${PERLVERSION}
+ install -d 755 ${D}${PERLLIBDIRS}/vendor_perl/${PERLVERSION}
+ install -d 755 ${D}${datadir}/perl/${PERLVERSION}
+ oe_runmake install DESTDIR=${D} INSTALLDIR=${PERLLIBDIRS}/vendor_perl/${PERLVERSION} MANDIR=${datadir}/perl/${PERLVERSION}
}
+
+BBCLASSEXTEND = "native"
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [meta-security][PATCH 2/2] nikto: fix launching errors
2015-01-01 22:55 [meta-security][PATCH 1/2] libwhisker2-perl: fix build issue Armin Kuster
@ 2015-01-01 22:55 ` Armin Kuster
0 siblings, 0 replies; 2+ messages in thread
From: Armin Kuster @ 2015-01-01 22:55 UTC (permalink / raw)
To: yocto
add several missing perl package depends so app can launch
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
recipes-security/nikto/nikto_2.1.5.bb | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/recipes-security/nikto/nikto_2.1.5.bb b/recipes-security/nikto/nikto_2.1.5.bb
index 4708191..40b5b72 100644
--- a/recipes-security/nikto/nikto_2.1.5.bb
+++ b/recipes-security/nikto/nikto_2.1.5.bb
@@ -3,8 +3,8 @@ DESCRIPTION = "Nikto is an Open Source (GPL) web server scanner which performs c
files/CGIs, checks for outdated versions of over 1250 servers, and version specific problems on over 270 servers."
SECTION = "security"
LICENSE = "GPLv2"
+
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-RDEPENDS_${PN} = "perl libnet-ssleay-perl libwhisker2-perl perl-module-getopt-long perl-module-time-local perl-module-io-socket nikto-doc"
SRC_URI = "http://cirt.net/nikto/${PN}-${PV}.tar.gz \
file://location.patch"
@@ -99,3 +99,9 @@ do_install() {
install -m 0644 docs/nikto.dtd ${D}${datadir}/doc/nikto
install -m 0644 docs/nikto_manual.html ${D}${datadir}/doc/nikto
}
+
+RDEPENDS_${PN} = "perl libnet-ssleay-perl libwhisker2-perl \
+ perl-module-getopt-long perl-module-time-local \
+ perl-module-io-socket perl-module-overloading \
+ perl-module-base perl-module-b perl-module-bytes \
+ nikto-doc"
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-01 22:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-01 22:55 [meta-security][PATCH 1/2] libwhisker2-perl: fix build issue Armin Kuster
2015-01-01 22:55 ` [meta-security][PATCH 2/2] nikto: fix launching errors Armin Kuster
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.