diff options
| -rw-r--r-- | meta-oe/recipes-connectivity/krb5/krb5_1.11.bb | 39 | ||||
| -rw-r--r-- | meta/recipes-connectivity/krb5/krb5_1.8.5.bb | 39 |
2 files changed, 39 insertions, 39 deletions
diff --git a/meta-oe/recipes-connectivity/krb5/krb5_1.11.bb b/meta-oe/recipes-connectivity/krb5/krb5_1.11.bb new file mode 100644 index 0000000000..b1bb32a471 --- /dev/null +++ b/meta-oe/recipes-connectivity/krb5/krb5_1.11.bb | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | DESCRIPTION = "A network authentication protocol" | ||
| 2 | HOMEPAGE = "http://web.mit.edu/Kerberos/" | ||
| 3 | SECTION = "console/network" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | LIC_FILES_CHKSUM = "file://${S}/../NOTICE;md5=e8fad1d174de32f8da0ddc56b67b6941" | ||
| 6 | DEPENDS = "ncurses util-linux e2fsprogs-native" | ||
| 7 | |||
| 8 | inherit autotools binconfig perlnative | ||
| 9 | |||
| 10 | SRC_URI = "http://web.mit.edu/kerberos/dist/${PN}/${PV}/${P}-signed.tar" | ||
| 11 | SRC_URI[md5sum] = "1a13c53899806c4da99a798a04d25545" | ||
| 12 | SRC_URI[sha256sum] = "fe37fb93b398db98a1b23f814673ea2ae4b90138f85e1a4027ef639456a78651" | ||
| 13 | |||
| 14 | S = "${WORKDIR}/${P}/src/" | ||
| 15 | |||
| 16 | EXTRA_OECONF += " --without-tcl --with-system-et --disable-rpath" | ||
| 17 | CACHED_CONFIGUREVARS += "krb5_cv_attr_constructor_destructor=yes ac_cv_func_regcomp=yes \ | ||
| 18 | ac_cv_printf_positional=yes ac_cv_file__etc_environment=yes \ | ||
| 19 | ac_cv_file__etc_TIMEZONE=no" | ||
| 20 | |||
| 21 | CFLAGS_append += "-DDESTRUCTOR_ATTR_WORKS=1 -I${STAGING_INCDIR}/et" | ||
| 22 | LDFLAGS_append += "-lpthread" | ||
| 23 | |||
| 24 | FILES_${PN}-doc += "${datadir}/examples" | ||
| 25 | FILES_${PN} += "${datadir}/gnats" | ||
| 26 | |||
| 27 | krb5_do_unpack() { | ||
| 28 | # ${P}-signed.tar contains ${P}.tar.gz.asc and ${P}.tar.gz | ||
| 29 | tar xzf ${WORKDIR}/${P}.tar.gz -C ${WORKDIR}/ | ||
| 30 | } | ||
| 31 | |||
| 32 | python do_unpack() { | ||
| 33 | bb.build.exec_func('base_do_unpack', d) | ||
| 34 | bb.build.exec_func('krb5_do_unpack', d) | ||
| 35 | } | ||
| 36 | |||
| 37 | do_configure() { | ||
| 38 | oe_runconf | ||
| 39 | } | ||
diff --git a/meta/recipes-connectivity/krb5/krb5_1.8.5.bb b/meta/recipes-connectivity/krb5/krb5_1.8.5.bb deleted file mode 100644 index 2f497a3ced..0000000000 --- a/meta/recipes-connectivity/krb5/krb5_1.8.5.bb +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | DESCRIPTION = "A network authentication protocol" | ||
| 2 | HOMEPAGE = "http://web.mit.edu/Kerberos/" | ||
| 3 | SECTION = "console/network" | ||
| 4 | PR = "r0" | ||
| 5 | LICENSE = "MIT" | ||
| 6 | LIC_FILES_CHKSUM = "file://${S}/../README;md5=5595a75ae6fab5f825f579a817baa618" | ||
| 7 | DEPENDS = "ncurses util-linux e2fsprogs-native" | ||
| 8 | |||
| 9 | inherit autotools binconfig perlnative | ||
| 10 | |||
| 11 | SRC_URI = "http://web.mit.edu/kerberos/dist/krb5/1.8/krb5-1.8.5-signed.tar" | ||
| 12 | |||
| 13 | S = "${WORKDIR}/${PN}-${PV}/src/" | ||
| 14 | |||
| 15 | EXTRA_OECONF += " --without-tcl --with-system-et" | ||
| 16 | CACHED_CONFIGUREVARS += "krb5_cv_attr_constructor_destructor=yes ac_cv_func_regcomp=yes \ | ||
| 17 | ac_cv_printf_positional=yes ac_cv_file__etc_environment=yes \ | ||
| 18 | ac_cv_file__etc_TIMEZONE=no" | ||
| 19 | |||
| 20 | CFLAGS_append += "-DDESTRUCTOR_ATTR_WORKS=1 -I${STAGING_INCDIR}/et" | ||
| 21 | LDFLAGS_append += "-lpthread" | ||
| 22 | |||
| 23 | FILES_${PN}-doc += ${datadir}/examples | ||
| 24 | |||
| 25 | krb5_do_unpack() { | ||
| 26 | tar xzf ${WORKDIR}/krb5-1.8.5.tar.gz -C ${WORKDIR}/ | ||
| 27 | } | ||
| 28 | |||
| 29 | python do_unpack() { | ||
| 30 | bb.build.exec_func('base_do_unpack', d) | ||
| 31 | bb.build.exec_func('krb5_do_unpack', d) | ||
| 32 | } | ||
| 33 | |||
| 34 | do_configure() { | ||
| 35 | oe_runconf | ||
| 36 | } | ||
| 37 | |||
| 38 | SRC_URI[md5sum] = "48b17caedf19d07d714a8d7a25422c95" | ||
| 39 | SRC_URI[sha256sum] = "7d6989efaaf0b3330ce5b329edb1d0bf33250ca78b789fdd117e02c49c238812" | ||
