diff options
author | Choong YinThong <yin.thong.choong@intel.com> | 2017-04-18 19:57:05 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-18 13:07:33 +0100 |
commit | 7391de7bf6bc96c6f21f4a23e7e2de421d2627dc (patch) | |
tree | d929b8060bec9937b4348493281e48f062b9cb79 /meta | |
parent | 017b38fc783125a251004ffb14d1e7264b486a71 (diff) | |
download | poky-7391de7bf6bc96c6f21f4a23e7e2de421d2627dc.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: b935c1e9dd17afa85a9ffe213d5f94051f585529)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 5f1a601aeb..5bd338117e 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 ?= "\ | 31 | PACKAGECONFIG ?= "\ |
23 | ${@bb.utils.contains('DISTRO_FEATURES', 'acl', 'acl', '', d)} \ | 32 | ${@bb.utils.contains('DISTRO_FEATURES', 'acl', 'acl', '', d)} \ |