summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/logrotate
diff options
context:
space:
mode:
authorChoong YinThong <yin.thong.choong@intel.com>2017-04-09 16:33:18 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-11 18:10:17 +0100
commite1eea200b8ff7bb89b89fd62d824e9bb95aea561 (patch)
treeb3193d3d4edb530cd4fd067cb04fb3ea619334d9 /meta/recipes-extended/logrotate
parent874a46b6a76adc34a24655a975ca65dbb1ad7f06 (diff)
downloadpoky-e1eea200b8ff7bb89b89fd62d824e9bb95aea561.tar.gz
logrotate: replace fedorahosted.org SRC_URI with github.com source
fedorahosted.org was retired on March 1st, 2017. This is to update the SRC_URI to point to github.com. Update the ${PN} to ${BPN} in order to pass the autobuilder mulitlib enable configuration. [YOCTO #11226] (From OE-Core rev: 73a358bdef99771b493fefb5114a936138cb78ce) Signed-off-by: Choong YinThong <yin.thong.choong@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/logrotate')
-rw-r--r--meta/recipes-extended/logrotate/logrotate_3.9.1.bb17
1 files changed, 13 insertions, 4 deletions
diff --git a/meta/recipes-extended/logrotate/logrotate_3.9.1.bb b/meta/recipes-extended/logrotate/logrotate_3.9.1.bb
index 9c2dfe0a13..c938d9f65e 100644
--- a/meta/recipes-extended/logrotate/logrotate_3.9.1.bb
+++ b/meta/recipes-extended/logrotate/logrotate_3.9.1.bb
@@ -1,6 +1,6 @@
1SUMMARY = "Rotates, compresses, removes and mails system log files" 1SUMMARY = "Rotates, compresses, removes and mails system log files"
2SECTION = "console/utils" 2SECTION = "console/utils"
3HOMEPAGE = "https://fedorahosted.org/logrotate/" 3HOMEPAGE = "https://github.com/logrotate/logrotate/issues"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5 5
6# TODO: logrotate 3.8.8 adds autotools/automake support, update recipe to use it. 6# TODO: logrotate 3.8.8 adds autotools/automake support, update recipe to use it.
@@ -10,14 +10,23 @@ DEPENDS="coreutils popt"
10 10
11LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" 11LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760"
12 12
13SRC_URI = "https://fedorahosted.org/releases/l/o/logrotate/logrotate-${PV}.tar.gz \ 13# When updating logrotate to latest upstream, SRC_URI should point to
14# a proper release tarball from https://github.com/logrotate/logrotate/releases
15# and we have to take the snapshot for now because there is no such
16# tarball available for 3.9.1.
17
18S = "${WORKDIR}/${BPN}-r3-9-1"
19
20UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
21
22SRC_URI = "https://github.com/${BPN}/${BPN}/archive/r3-9-1.tar.gz \
14 file://act-as-mv-when-rotate.patch \ 23 file://act-as-mv-when-rotate.patch \
15 file://update-the-manual.patch \ 24 file://update-the-manual.patch \
16 file://disable-check-different-filesystems.patch \ 25 file://disable-check-different-filesystems.patch \
17 " 26 "
18 27
19SRC_URI[md5sum] = "4492b145b6d542e4a2f41e77fa199ab0" 28SRC_URI[md5sum] = "8572b7c2cf9ade09a8a8e10098500fb3"
20SRC_URI[sha256sum] = "022769e3288c80981559a8421703c88e8438b447235e36dd3c8e97cd94c52545" 29SRC_URI[sha256sum] = "5bf8e478c428e7744fefa465118f8296e7e771c981fb6dffb7527856a0ea3617"
21 30
22PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)}" 31PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)}"
23 32