From: Michael Tremer Date: Tue, 2 Jun 2026 08:59:14 +0000 (+0100) Subject: nss-myhostname: Drop package X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e1d6ebc66da5a8d03e2c10b8bbd9d328d210782;p=ipfire-2.x.git nss-myhostname: Drop package This does not have any effect because we configured it after dns. Therefore we can drop the entire package as we don't use any of its functionality. Signed-off-by: Michael Tremer --- diff --git a/config/etc/nsswitch.conf b/config/etc/nsswitch.conf index 468fd1c88..067e63b48 100644 --- a/config/etc/nsswitch.conf +++ b/config/etc/nsswitch.conf @@ -4,7 +4,7 @@ passwd: files group: files shadow: files -hosts: files dns myhostname +hosts: files dns networks: files protocols: files diff --git a/config/rootfiles/common/nss-myhostname b/config/rootfiles/common/nss-myhostname deleted file mode 100644 index 13f38ae42..000000000 --- a/config/rootfiles/common/nss-myhostname +++ /dev/null @@ -1,4 +0,0 @@ -lib/libnss_myhostname.so.2 -#usr/share/doc/nss-myhostname -#usr/share/doc/nss-myhostname/README.html -#usr/share/doc/nss-myhostname/style.css diff --git a/config/rootfiles/core/203/filelists/files b/config/rootfiles/core/203/filelists/files index 316e67e26..993756d86 100644 --- a/config/rootfiles/core/203/filelists/files +++ b/config/rootfiles/core/203/filelists/files @@ -1,3 +1,4 @@ +etc/nsswitch.conf etc/rc.d/helper/aws-setup etc/rc.d/init.d/cleanfs etc/rc.d/init.d/dhcp diff --git a/config/rootfiles/core/203/update.sh b/config/rootfiles/core/203/update.sh index e8d9b2a37..0b1bcfa66 100644 --- a/config/rootfiles/core/203/update.sh +++ b/config/rootfiles/core/203/update.sh @@ -94,6 +94,10 @@ rm -rfv \ rm -vf \ /usr/lib/libboost*.so.1.89.0 +# Remove nss-myhostname +rm -vf \ + /lib/libnss_myhostname.so.2 + # update linker config ldconfig diff --git a/lfs/nss-myhostname b/lfs/nss-myhostname deleted file mode 100644 index 91c802b4d..000000000 --- a/lfs/nss-myhostname +++ /dev/null @@ -1,78 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007-2018 IPFire Team # -# # -# This program is free software: you can redistribute it and/or modify # -# it under the terms of the GNU General Public License as published by # -# the Free Software Foundation, either version 3 of the License, or # -# (at your option) any later version. # -# # -# This program is distributed in the hope that it will be useful, # -# but WITHOUT ANY WARRANTY; without even the implied warranty of # -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # -# GNU General Public License for more details. # -# # -# You should have received a copy of the GNU General Public License # -# along with this program. If not, see . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -VER = 0.3 - -THISAPP = nss-myhostname-$(VER) -DL_FILE = $(THISAPP).tar.gz -DL_FROM = $(URL_IPFIRE) -DIR_APP = $(DIR_SRC)/$(THISAPP) -TARGET = $(DIR_INFO)/$(THISAPP) - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -$(DL_FILE) = $(DL_FROM)/$(DL_FILE) - -$(DL_FILE)_BLAKE2 = 99b9cc42c8dc5a73afe9dddfad6c05d175246ffb7985fb90b3f1bab96c8b5afde012e41f5770d2671eefd1f86be81b576637994bffb5e00adab7ac2c986c09b7 - -install : $(TARGET) - -check : $(patsubst %,$(DIR_CHK)/%,$(objects)) - -download :$(patsubst %,$(DIR_DL)/%,$(objects)) - -b2 : $(subst %,%_BLAKE2,$(objects)) - -############################################################################### -# Downloading, checking, b2sum -############################################################################### - -$(patsubst %,$(DIR_CHK)/%,$(objects)) : - @$(CHECK) - -$(patsubst %,$(DIR_DL)/%,$(objects)) : - @$(LOAD) - -$(subst %,%_BLAKE2,$(objects)) : - @$(B2SUM) - -############################################################################### -# Installation Details -############################################################################### - -$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) - $(UPDATE_AUTOMAKE) - cd $(DIR_APP) && ./configure --prefix=/usr --libdir=/lib - cd $(DIR_APP) && make $(MAKETUNING) - cd $(DIR_APP) && make install - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/make.sh b/make.sh index b7fe2869d..b317d0418 100755 --- a/make.sh +++ b/make.sh @@ -2120,7 +2120,6 @@ build_system() { lfsmake2 iftop lfsmake2 mdns-repeater lfsmake2 i2c-tools - lfsmake2 nss-myhostname lfsmake2 dehydrated lfsmake2 libplist lfsmake2 nqptp