diff mbox series

[meta-arago,master/kirkstone,1/2] initscript-telnetd: Remove this package

Message ID 20231016211840.23815-1-afd@ti.com
State New
Headers show
Series [meta-arago,master/kirkstone,1/2] initscript-telnetd: Remove this package | expand

Commit Message

Andrew Davis Oct. 16, 2023, 9:18 p.m. UTC
Signed-off-by: Andrew Davis <afd@ti.com>
---
 .../initscript-telnetd/initscript-telnetd.bb  | 18 ---------
 .../initscript-telnetd/telnetd                | 40 -------------------
 .../packagegroups/packagegroup-arago-base.bb  |  1 -
 3 files changed, 59 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd.bb
 delete mode 100644 meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd/telnetd

Comments

Ryan Eatmon Oct. 24, 2023, 8:03 p.m. UTC | #1
Someone brought up a good point on another patch.  Even though we 
configure Arago to be systemd BY DEFAULT.  The user can always choose 
switch over to sysvinit.  So we should probably leave this in until we 
decide not not support telnet anymore.


On 10/16/2023 4:18 PM, Andrew Davis wrote:
> Signed-off-by: Andrew Davis <afd@ti.com>
> ---
>   .../initscript-telnetd/initscript-telnetd.bb  | 18 ---------
>   .../initscript-telnetd/telnetd                | 40 -------------------
>   .../packagegroups/packagegroup-arago-base.bb  |  1 -
>   3 files changed, 59 deletions(-)
>   delete mode 100644 meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd.bb
>   delete mode 100644 meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd/telnetd
> 
> diff --git a/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd.bb b/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd.bb
> deleted file mode 100644
> index e492119b..00000000
> --- a/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd.bb
> +++ /dev/null
> @@ -1,18 +0,0 @@
> -DESCRIPTION = "Initscripts for telnetd"
> -LICENSE = "MIT"
> -LIC_FILES_CHKSUM = "file://telnetd;beginline=2;endline=18;md5=d134d0d385c53f9201a270fef8448f29"
> -PR ="r1"
> -
> -SRC_URI = "file://telnetd"
> -
> -S = "${WORKDIR}"
> -
> -INITSCRIPT_NAME = "telnetd"
> -INITSCRIPT_PARAMS = "defaults 10"
> -
> -inherit update-rc.d
> -
> -do_install () {
> -	install -d ${D}${sysconfdir}/init.d/
> -	install -c -m 755 ${S}/telnetd ${D}${sysconfdir}/init.d/telnetd
> -}
> diff --git a/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd/telnetd b/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd/telnetd
> deleted file mode 100644
> index a99f23ef..00000000
> --- a/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd/telnetd
> +++ /dev/null
> @@ -1,40 +0,0 @@
> -#! /bin/sh
> -#Permission is hereby granted, free of charge, to any person obtaining a copy
> -#of this software and associated documentation files (the "Software"), to deal
> -#in the Software without restriction, including without limitation the rights
> -#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> -#copies of the Software, and to permit persons to whom the Software is
> -#furnished to do so, subject to the following conditions:
> -#
> -#The above copyright notice and this permission notice shall be included in
> -#all copies or substantial portions of the Software.
> -#
> -#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> -#IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> -#FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> -#AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> -#LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> -#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
> -#THE SOFTWARE.
> -
> -telnetd=/usr/sbin/telnetd
> -
> -test -x "$telnetd" || exit 0
> -
> -case "$1" in
> -  start)
> -    echo -n "Starting telnet daemon"
> -    start-stop-daemon --start --quiet --exec $telnetd
> -    echo "."
> -    ;;
> -  stop)
> -    echo -n "Stopping telnet daemon"
> -    start-stop-daemon --stop --quiet --exec $telnetd
> -    echo "."
> -    ;;
> -  *)
> -    echo "Usage: /etc/init.d/telnetd {start|stop}"
> -    exit 1
> -esac
> -
> -exit 0
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb
> index 1f63a7d0..5e528846 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb
> @@ -16,7 +16,6 @@ ARAGO_BASE = "\
>       mtd-utils \
>       mtd-utils-ubifs \
>       curl \
> -    initscript-telnetd \
>       ethtool \
>       thermal-init \
>       bash \
diff mbox series

Patch

diff --git a/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd.bb b/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd.bb
deleted file mode 100644
index e492119b..00000000
--- a/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd.bb
+++ /dev/null
@@ -1,18 +0,0 @@ 
-DESCRIPTION = "Initscripts for telnetd"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://telnetd;beginline=2;endline=18;md5=d134d0d385c53f9201a270fef8448f29"
-PR ="r1"
-
-SRC_URI = "file://telnetd"
-
-S = "${WORKDIR}"
-
-INITSCRIPT_NAME = "telnetd"
-INITSCRIPT_PARAMS = "defaults 10"
-
-inherit update-rc.d
-
-do_install () {
-	install -d ${D}${sysconfdir}/init.d/
-	install -c -m 755 ${S}/telnetd ${D}${sysconfdir}/init.d/telnetd
-}
diff --git a/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd/telnetd b/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd/telnetd
deleted file mode 100644
index a99f23ef..00000000
--- a/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd/telnetd
+++ /dev/null
@@ -1,40 +0,0 @@ 
-#! /bin/sh
-#Permission is hereby granted, free of charge, to any person obtaining a copy
-#of this software and associated documentation files (the "Software"), to deal
-#in the Software without restriction, including without limitation the rights
-#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-#copies of the Software, and to permit persons to whom the Software is
-#furnished to do so, subject to the following conditions:
-#
-#The above copyright notice and this permission notice shall be included in
-#all copies or substantial portions of the Software.
-#
-#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-#IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-#FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-#AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-#LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-#THE SOFTWARE.
-
-telnetd=/usr/sbin/telnetd
-
-test -x "$telnetd" || exit 0
-
-case "$1" in
-  start)
-    echo -n "Starting telnet daemon"
-    start-stop-daemon --start --quiet --exec $telnetd
-    echo "."
-    ;;
-  stop)
-    echo -n "Stopping telnet daemon"
-    start-stop-daemon --stop --quiet --exec $telnetd
-    echo "."
-    ;;
-  *)
-    echo "Usage: /etc/init.d/telnetd {start|stop}"
-    exit 1
-esac
-
-exit 0
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb
index 1f63a7d0..5e528846 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb
@@ -16,7 +16,6 @@  ARAGO_BASE = "\
     mtd-utils \
     mtd-utils-ubifs \
     curl \
-    initscript-telnetd \
     ethtool \
     thermal-init \
     bash \