mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>
Subject: Re: [ptxdist] [APPLIED] thttpd: Remove leftovers from package removal
Date: Fri, 12 Dec 2025 15:52:17 +0100	[thread overview]
Message-ID: <20251212145217.3033754-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20251211092628.1227497-1-ada@thorsis.com>

Thanks, applied as 5e1afb07c9633cc7942f70c5fffb3ca1cedfb6bf.

Michael

[sent from post-receive hook]

On Fri, 12 Dec 2025 15:52:17 +0100, Alexander Dahl <ada@thorsis.com> wrote:
> Those files were installed to target by old rules/thttpd.make,
> but that is long gone.
> 
> Fixes: e9c62e81d29f ("thttpd: remove old package")
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> Message-Id: <20251211092628.1227497-1-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/projectroot/etc/init.d/thttpd b/projectroot/etc/init.d/thttpd
> deleted file mode 100644
> index 51102b9d0f60..000000000000
> --- a/projectroot/etc/init.d/thttpd
> +++ /dev/null
> @@ -1,52 +0,0 @@
> -#!/bin/sh
> -#
> -# thttpd
> -#
> -
> -PREFIX="thttpd: "
> -THISFILE=$0
> -DOCUMENTROOT="/var/www"
> -thttpd="/usr/sbin/thttpd"
> -PIDFILE="/var/run/thttpd.pid"
> -LOGFILE="/var/log/thttpd.log"
> -
> -usage() {
> -	echo "${PREFIX}usage: $THISFILE [start|stop]"
> -}
> -
> -case $1 in
> -
> -	start)
> -		echo "${PREFIX} starting"
> -		if [ -e "$PIDFILE" ]; then
> -			echo "${PREFIX} warning: another thttpd seems to be running, trying to kill it"
> -			kill -9 `cat $PIDFILE`
> -			rm -f $PIDFILE
> -		fi
> -		$thttpd -d $DOCUMENTROOT -u www -nor -nos -p 80 -c '**.cgi' -i $PIDFILE -l $LOGFILE
> -		if [ "$?" != "0" ]; then
> -			echo "${PREFIX} error, could not start server"
> -			rm -f $PIDFILE
> -		else
> -			echo "${PREFIX} done"
> -		fi
> -		;;
> -
> -	stop)
> -		if [ -e "$PIDFILE" ]; then
> -			echo "${PREFIX} stopping"
> -			kill -USR1 `cat $PIDFILE`
> -			rm -f $PIDFILE
> -			echo "${PREFIX} done"
> -		else
> -			echo "${PREFIX} not running"
> -		fi
> -		;;
> -
> -	*)
> -
> -		usage
> -		exit 1
> -		;;
> -
> -esac
> diff --git a/projectroot/var/www/thttpd.html b/projectroot/var/www/thttpd.html
> deleted file mode 100644
> index 78d520e931dc..000000000000
> --- a/projectroot/var/www/thttpd.html
> +++ /dev/null
> @@ -1,17 +0,0 @@
> -<!-- This is a small demo to show thttpd is running on your system -->
> -<HTML>
> -<HEAD><TITLE>thttpd is running</TITLE></HEAD>
> -<BODY BGCOLOR="#99cc99" TEXT="#000000" LINK="#2020ff" VLINK="#4040cc">
> -
> -<H3>thttpd is running</H3>
> -
> -<P>
> -Looks like you got it working.  Congrats.
> -</P>
> -
> -<P>
> -Here's a link to the <A HREF="http://www.acme.com/software/thttpd/">thttpd web pages</A>.
> -</P>
> -
> -</BODY>
> -</HTML>



      reply	other threads:[~2025-12-12 14:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-11  9:26 [ptxdist] [PATCH] " Alexander Dahl via ptxdist
2025-12-12 14:52 ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251212145217.3033754-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ada@thorsis.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox