Skip to contentSkip to conversation

chkconfig: remove the recipe

PATCH New Alexander Kanavin 1 participant 1 message Jan 31, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 chkconfig: remove the recipe

chkconfig is one of the options for virtual/update-alternatives, however opkg-utils have been used as the default for a very long time, while chkconfig isn't anymore tested in any way, and is stuck at a very old version due to newer versions requiring selinux.

[YOCTO #11264]

---
 meta/conf/distro/include/maintainers.inc      |  2 -
 .../packagegroups/packagegroup-self-hosted.bb |  1 -
 .../chkconfig-alternatives-native_1.3.59.bb   | 44 ------------
 .../chkconfig/chkconfig/replace_caddr_t.patch | 33 ---------
 .../chkconfig/chkconfig_1.3.58.bb             | 71 -------------------
 5 files changed, 151 deletions(-)
 delete mode 100644 meta/recipes-extended/chkconfig/chkconfig-alternatives-native_1.3.59.bb
 delete mode 100644 meta/recipes-extended/chkconfig/chkconfig/replace_caddr_t.patch
 delete mode 100644 meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb
meta/conf/distro/include/maintainers.inc +0 -2
index a80e85a2f60..c68e9edf634 100644
@@ -94,8 +94,6 @@ RECIPE_MAINTAINER_pn-cairo = "Anuj Mittal <[email protected]>"
 RECIPE_MAINTAINER_pn-cantarell-fonts = "Alexander Kanavin <[email protected]>"
 RECIPE_MAINTAINER_pn-ccache = "Robert Yang <[email protected]>"
 RECIPE_MAINTAINER_pn-cdrtools-native = "Yi Zhao <[email protected]>"
-RECIPE_MAINTAINER_pn-chkconfig = "Yi Zhao <[email protected]>"
-RECIPE_MAINTAINER_pn-chkconfig-alternatives-native = "Yi Zhao <[email protected]>"
 RECIPE_MAINTAINER_pn-chrpath = "Yi Zhao <[email protected]>"
 RECIPE_MAINTAINER_pn-clutter-1.0 = "Ross Burton <[email protected]>"
 RECIPE_MAINTAINER_pn-clutter-gst-3.0 = "Ross Burton <[email protected]>"
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +0 -1
index ea6d567301c..9a70b189a43 100644
@@ -108,7 +108,6 @@ RDEPENDS_packagegroup-self-hosted-debug = " \
 
 RDEPENDS_packagegroup-self-hosted-extended = "\
     bzip2 \
-    chkconfig \
     chrpath \
     cpio \
     curl \
meta/recipes-extended/chkconfig/chkconfig-alternatives-native_1.3.59.bb deleted +0 -44

44 lines not on this page · raw message

meta/recipes-extended/chkconfig/chkconfig/replace_caddr_t.patch deleted +0 -33
deleted file mode 100644
index 96d19387910..00000000000
@@ -1,33 +0,0 @@
-caddr_t is a legacy BSD type which was rejected by the POSIX standard.
-Use void * instead.
-
-sys/unitstd.h is not needed and moreover its not available on all C library
-implementations e.g. musl
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <[email protected]>
-Index: chkconfig-1.3.58/alternatives.c
-===================================================================
---- chkconfig-1.3.58.orig/alternatives.c
-+++ chkconfig-1.3.58/alternatives.c
-@@ -22,7 +22,6 @@
- #include <stdio.h>
- #include <string.h>
- #include <sys/stat.h>
--#include <sys/unistd.h>
- #include <unistd.h>
- 
- #define	FLAGS_TEST	(1 << 0)
-Index: chkconfig-1.3.58/leveldb.c
-===================================================================
---- chkconfig-1.3.58.orig/leveldb.c
-+++ chkconfig-1.3.58/leveldb.c
-@@ -442,7 +442,7 @@ int parseServiceInfo(int fd, char * name
-     fstat(fd, &sb);
- 
-     bufstart = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, fd, 0);
--    if (bufstart == ((caddr_t) -1)) {
-+    if (bufstart == ((void*) -1)) {
- 	close(fd);
- 	return -1;
-     }
meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb deleted +0 -71

71 lines not on this page · raw message

Signature · 1 line
2.25.0