Skip to contentSkip to conversation

thttpd: remove outdated package

PATCH New Denys Dmytriyenko 1 participant 1 message Mar 16, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 thttpd: remove outdated package

From: Denys Dmytriyenko <[email protected]>

thttpd has been outdated and not supported upstream for many years, which could pose a major security risk. There is a supported fork of thttpd, called sthttpd, and OE/Yocto provides a recipe in meta-webserver layer of meta-openembedded, which can be added. Alternatively, lighttpd is a preferred Web server provided by openembedded-core and is already used by Matrix.

---
 .../packagegroups/packagegroup-arago-console.bb    |   1 -
 .../recipes-extended/thttpd/thttpd/init            |  47 ------
 .../recipes-extended/thttpd/thttpd_%.bbappend      |   4 -
 .../thttpd/thttpd-2.28/acinclude.m4                | 188 ---------------------
 .../thttpd/thttpd-2.28/htpasswd_getline.diff       |  30 ----
 .../thttpd/thttpd-2.28/htpasswd_shared.diff        |  21 ---
 .../recipes-extended/thttpd/thttpd-2.28/init       |  47 ------
 .../thttpd/thttpd-2.28/install.patch               | 103 -----------
 .../recipes-extended/thttpd/thttpd_2.28.bb         |  45 -----
 9 files changed, 486 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-extended/thttpd/thttpd/init
 delete mode 100644 meta-arago-distro/recipes-extended/thttpd/thttpd_%.bbappend
 delete mode 100644 meta-arago-extras/recipes-extended/thttpd/thttpd-2.28/acinclude.m4
 delete mode 100644 meta-arago-extras/recipes-extended/thttpd/thttpd-2.28/htpasswd_getline.diff
 delete mode 100644 meta-arago-extras/recipes-extended/thttpd/thttpd-2.28/htpasswd_shared.diff
 delete mode 100644 meta-arago-extras/recipes-extended/thttpd/thttpd-2.28/init
 delete mode 100644 meta-arago-extras/recipes-extended/thttpd/thttpd-2.28/install.patch
 delete mode 100644 meta-arago-extras/recipes-extended/thttpd/thttpd_2.28.bb
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-console.bb +0 -1
index c3c2a2c..5c348fa 100644
@@ -63,7 +63,6 @@ ARAGO_SDK_PREREQ = "\
     jpeg \
     jpeg-tools \
     freetype \
-    thttpd \
     "
 
 ARAGO_CONSOLE = "\
meta-arago-distro/recipes-extended/thttpd/thttpd/init deleted +0 -47

47 lines not on this page · raw message

meta-arago-distro/recipes-extended/thttpd/thttpd_%.bbappend deleted +0 -4
deleted file mode 100644
index d66b008..0000000
@@ -1,4 +0,0 @@
-# look for files in this layer first
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-
-PR_append = ".arago0"
meta-arago-extras/recipes-extended/thttpd/thttpd-2.28/acinclude.m4 deleted +0 -188

188 lines not on this page · raw message

meta-arago-extras/recipes-extended/thttpd/thttpd-2.28/htpasswd_getline.diff deleted +0 -30
deleted file mode 100644
index 0a0ec32..0000000
@@ -1,30 +0,0 @@
-From f12ba2a4e43e764fb0d352e5423e30de192dedef Mon Sep 17 00:00:00 2001
-From: "Franklin S. Cooper Jr" <[email protected]>
-Date: Fri, 7 Sep 2012 18:36:24 -0500
-
----
- extras/htpasswd.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/extras/htpasswd.c b/extras/htpasswd.c
-index 31ac769..dfe4c15 100644
---- a/extras/htpasswd.c
-+++ b/extras/htpasswd.c
-@@ -47,7 +47,7 @@ static void getword(char *word, char *line, char stop) {
-     while((line[y++] = line[x++]));
- }
- 
--static int my_getline(char *s, int n, FILE *f) {
-+static int ht_getline(char *s, int n, FILE *f) {
-     int i=0;
- 
-     while(1) {
-@@ -188,7 +188,7 @@ int main(int argc, char *argv[]) {
-     user[sizeof(user)-1] = '\0';
- 
-     found = 0;
--    while(!(my_getline(line,MAX_STRING_LEN,f))) {
-+    while(!(ht_getline(line,MAX_STRING_LEN,f))) {
-         if(found || (line[0] == '#') || (!line[0])) {
-             putline(tfp,line);
-             continue;
meta-arago-extras/recipes-extended/thttpd/thttpd-2.28/htpasswd_shared.diff deleted +0 -21
deleted file mode 100644
index 8d5a4f9..0000000
@@ -1,21 +0,0 @@
-From f49b3d41e74f953825f234258c1a33a5e3b914fc Mon Sep 17 00:00:00 2001
-From: "Franklin S. Cooper Jr" <[email protected]>
-Date: Fri, 7 Sep 2012 18:36:24 -0500
-
----
- extras/Makefile.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/extras/Makefile.in b/extras/Makefile.in
-index 56942db..f174e3f 100644
---- a/extras/Makefile.in
-+++ b/extras/Makefile.in
-@@ -36,7 +36,7 @@ CCOPT =		@V_CCOPT@
- DEFS =		@DEFS@
- INCLS =		-I..
- CFLAGS =	$(CCOPT) $(DEFS) $(INCLS)
--STATICFLAG =	@V_STATICFLAG@
-+STATICFLAG =	
- LDFLAGS =	@LDFLAGS@
- LIBS =		@LIBS@
- NETLIBS =	@V_NETLIBS@
meta-arago-extras/recipes-extended/thttpd/thttpd-2.28/init deleted +0 -47

47 lines not on this page · raw message

meta-arago-extras/recipes-extended/thttpd/thttpd-2.28/install.patch deleted +0 -103

103 lines not on this page · raw message

meta-arago-extras/recipes-extended/thttpd/thttpd_2.28.bb deleted +0 -45

45 lines not on this page · raw message

Signature · 1 line
2.7.4