diff options
author | Choong YinThong <yin.thong.choong@intel.com> | 2017-04-09 16:33:18 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-11 18:10:17 +0100 |
commit | e1eea200b8ff7bb89b89fd62d824e9bb95aea561 (patch) | |
tree | b3193d3d4edb530cd4fd067cb04fb3ea619334d9 /meta/recipes-extended | |
parent | 874a46b6a76adc34a24655a975ca65dbb1ad7f06 (diff) | |
download | poky-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')
-rw-r--r-- | meta/recipes-extended/logrotate/logrotate_3.9.1.bb | 17 |
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 @@ | |||
1 | SUMMARY = "Rotates, compresses, removes and mails system log files" | 1 | SUMMARY = "Rotates, compresses, removes and mails system log files" |
2 | SECTION = "console/utils" | 2 | SECTION = "console/utils" |
3 | HOMEPAGE = "https://fedorahosted.org/logrotate/" | 3 | HOMEPAGE = "https://github.com/logrotate/logrotate/issues" |
4 | LICENSE = "GPLv2" | 4 | LICENSE = "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 | ||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" | 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" |
12 | 12 | ||
13 | SRC_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 | |||
18 | S = "${WORKDIR}/${BPN}-r3-9-1" | ||
19 | |||
20 | UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" | ||
21 | |||
22 | SRC_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 | ||
19 | SRC_URI[md5sum] = "4492b145b6d542e4a2f41e77fa199ab0" | 28 | SRC_URI[md5sum] = "8572b7c2cf9ade09a8a8e10098500fb3" |
20 | SRC_URI[sha256sum] = "022769e3288c80981559a8421703c88e8438b447235e36dd3c8e97cd94c52545" | 29 | SRC_URI[sha256sum] = "5bf8e478c428e7744fefa465118f8296e7e771c981fb6dffb7527856a0ea3617" |
21 | 30 | ||
22 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)}" | 31 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)}" |
23 | 32 | ||