From: Siddharth Doshi <[email protected]>

Updated SRC_URI, Homepage, BugTracker, UPSTREAM_CHECK_URI to point to
github page of log4cplus instead of sourceforge as per:
[1] https://github.com/log4cplus/log4cplus/wiki#download

For detailed information, see the link below:
[1] https://github.com/log4cplus/log4cplus/compare/REL_2_1_2...REL_2_2_0_1
[2] https://github.com/log4cplus/log4cplus/blob/REL_2_2_0_1/ChangeLog

Signed-off-by: Siddharth Doshi <[email protected]>
---
 .../log4cplus/log4cplus_2.1.2.bb              | 19 -----------------
 .../log4cplus/log4cplus_2.2.0.1.bb            | 21 +++++++++++++++++++
 2 files changed, 21 insertions(+), 19 deletions(-)
 delete mode 100644 meta/recipes-devtools/log4cplus/log4cplus_2.1.2.bb
 create mode 100644 meta/recipes-devtools/log4cplus/log4cplus_2.2.0.1.bb

diff --git a/meta/recipes-devtools/log4cplus/log4cplus_2.1.2.bb 
b/meta/recipes-devtools/log4cplus/log4cplus_2.1.2.bb
deleted file mode 100644
index 9a3c31e887..0000000000
--- a/meta/recipes-devtools/log4cplus/log4cplus_2.1.2.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-SUMMARY = "log4cplus provides a simple C++ logging API for log management"
-SECTION = "libs"
-HOMEPAGE = "http://sourceforge.net/projects/log4cplus/";
-DESCRIPTION = "log4cplus is a simple to use C++ logging API providing 
thread-safe, flexible, and arbitrarily granular control over log management and 
configuration. It is modelled after the Java log4j API."
-BUGTRACKER = "http://sourceforge.net/p/log4cplus/bugs/";
-
-LICENSE = "Apache-2.0 & BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=41e8e060c26822886b592ab4765c756b"
-
-SRC_URI = 
"${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}-stable/${PV}/${BP}.tar.gz \
-          "
-SRC_URI[sha256sum] = 
"e2673815ea34886f29b2213fff19cc1a6707a7e65099927a19ea49b4eb018822"
-
-UPSTREAM_CHECK_URI = 
"https://sourceforge.net/projects/log4cplus/files/log4cplus-stable/";
-UPSTREAM_CHECK_REGEX = "log4cplus-stable/(?P<pver>\d+(\.\d+)+)/"
-
-inherit autotools pkgconfig
-
-BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/log4cplus/log4cplus_2.2.0.1.bb 
b/meta/recipes-devtools/log4cplus/log4cplus_2.2.0.1.bb
new file mode 100644
index 0000000000..9ba83d8d64
--- /dev/null
+++ b/meta/recipes-devtools/log4cplus/log4cplus_2.2.0.1.bb
@@ -0,0 +1,21 @@
+SUMMARY = "log4cplus provides a simple C++ logging API for log management"
+SECTION = "libs"
+HOMEPAGE = "https://github.com/log4cplus/log4cplus";
+DESCRIPTION = "log4cplus is a simple to use C++ logging API providing 
thread-safe, flexible, and arbitrarily granular control over log management and 
configuration. It is modelled after the Java log4j API."
+BUGTRACKER = "https://github.com/log4cplus/log4cplus/issues";
+
+LICENSE = "Apache-2.0 & BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=41e8e060c26822886b592ab4765c756b"
+
+# Replace dots with underscores to match GitHub's tag format (e.g., 2.2.0.1 -> 
REL_2_2_0_1)
+GITHUB_TAG = "REL_${@d.getVar('PV').replace('.', '_')}"
+
+SRC_URI = 
"https://github.com/log4cplus/log4cplus/releases/download/${GITHUB_TAG}/log4cplus-${PV}.tar.gz";
+SRC_URI[sha256sum] = 
"374175c22fabe752eb1c20138e732b69ae191e641f92d32c9432985cd860a2df"
+
+UPSTREAM_CHECK_URI = "https://github.com/log4cplus/log4cplus/releases";
+UPSTREAM_CHECK_REGEX = "log4cplus-(?P<pver>\d+(\.\d+)+)\.tar"
+
+inherit autotools pkgconfig
+
+BBCLASSEXTEND = "native"
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#240447): 
https://lists.openembedded.org/g/openembedded-core/message/240447
Mute This Topic: https://lists.openembedded.org/mt/120170723/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to