mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Revert "avahi: Drop package"
This reverts commit aa6ee515c5.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
45
config/avahi/avahi
Executable file
45
config/avahi/avahi
Executable file
@@ -0,0 +1,45 @@
|
||||
#!/bin/sh
|
||||
# Begin $rc_base/init.d/avahi
|
||||
|
||||
# Based on sysklogd script from LFS-3.1 and earlier.
|
||||
# Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
|
||||
|
||||
#$LastChangedBy: bdubbs $
|
||||
#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
|
||||
|
||||
. /etc/sysconfig/rc
|
||||
. $rc_functions
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
boot_mesg "Starting avahi..."
|
||||
loadproc /usr/sbin/avahi-daemon -f /etc/avahi/avahi-daemon.conf -D
|
||||
;;
|
||||
|
||||
stop)
|
||||
boot_mesg "Stopping avahi..."
|
||||
/usr/sbin/avahi-daemon -k
|
||||
;;
|
||||
|
||||
reload)
|
||||
boot_mesg "Reloading avahi..."
|
||||
reloadproc /usr/sbin/avahi-daemon -f /etc/avahi/avahi-daemon.conf -D
|
||||
;;
|
||||
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
|
||||
status)
|
||||
statusproc /usr/sbin/avahi-daemon -c
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Usage: $0 {start|stop|reload|restart|status}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# End $rc_base/init.d/avahi
|
||||
9
config/avahi/smb.service
Normal file
9
config/avahi/smb.service
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" standalone='no'?>
|
||||
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
|
||||
<service-group>
|
||||
<name replace-wildcards="yes">Samba Shares on %h</name>
|
||||
<service>
|
||||
<type>_smb._tcp</type>
|
||||
<port>139</port>
|
||||
</service>
|
||||
</service-group>
|
||||
1
config/backup/includes/avahi
Normal file
1
config/backup/includes/avahi
Normal file
@@ -0,0 +1 @@
|
||||
/etc/avahi/avahi-daemon.conf
|
||||
172
config/rootfiles/packages/avahi
Normal file
172
config/rootfiles/packages/avahi
Normal file
@@ -0,0 +1,172 @@
|
||||
etc/avahi
|
||||
etc/avahi/avahi-autoipd.action
|
||||
etc/avahi/avahi-daemon.conf
|
||||
etc/avahi/avahi-dnsconfd.action
|
||||
etc/avahi/hosts
|
||||
etc/avahi/services
|
||||
etc/avahi/services/sftp-ssh.service
|
||||
etc/avahi/services/smb.service
|
||||
etc/avahi/services/ssh.service
|
||||
etc/dbus-1/system.d/avahi-dbus.conf
|
||||
etc/rc.d/init.d/avahi
|
||||
usr/bin/avahi-browse
|
||||
usr/bin/avahi-browse-domains
|
||||
usr/bin/avahi-publish
|
||||
usr/bin/avahi-publish-address
|
||||
usr/bin/avahi-publish-service
|
||||
usr/bin/avahi-resolve
|
||||
usr/bin/avahi-resolve-address
|
||||
usr/bin/avahi-resolve-host-name
|
||||
usr/bin/avahi-set-host-name
|
||||
#usr/include/avahi-client
|
||||
#usr/include/avahi-client/client.h
|
||||
#usr/include/avahi-client/lookup.h
|
||||
#usr/include/avahi-client/publish.h
|
||||
#usr/include/avahi-common
|
||||
#usr/include/avahi-common/address.h
|
||||
#usr/include/avahi-common/alternative.h
|
||||
#usr/include/avahi-common/cdecl.h
|
||||
#usr/include/avahi-common/defs.h
|
||||
#usr/include/avahi-common/domain.h
|
||||
#usr/include/avahi-common/error.h
|
||||
#usr/include/avahi-common/gccmacro.h
|
||||
#usr/include/avahi-common/llist.h
|
||||
#usr/include/avahi-common/malloc.h
|
||||
#usr/include/avahi-common/rlist.h
|
||||
#usr/include/avahi-common/simple-watch.h
|
||||
#usr/include/avahi-common/strlst.h
|
||||
#usr/include/avahi-common/thread-watch.h
|
||||
#usr/include/avahi-common/timeval.h
|
||||
#usr/include/avahi-common/watch.h
|
||||
#usr/include/avahi-core
|
||||
#usr/include/avahi-core/core.h
|
||||
#usr/include/avahi-core/log.h
|
||||
#usr/include/avahi-core/lookup.h
|
||||
#usr/include/avahi-core/publish.h
|
||||
#usr/include/avahi-core/rr.h
|
||||
#usr/include/avahi-glib
|
||||
#usr/include/avahi-glib/glib-malloc.h
|
||||
#usr/include/avahi-glib/glib-watch.h
|
||||
#usr/include/avahi-gobject
|
||||
#usr/include/avahi-gobject/ga-client.h
|
||||
#usr/include/avahi-gobject/ga-entry-group.h
|
||||
#usr/include/avahi-gobject/ga-enums.h
|
||||
#usr/include/avahi-gobject/ga-error.h
|
||||
#usr/include/avahi-gobject/ga-record-browser.h
|
||||
#usr/include/avahi-gobject/ga-service-browser.h
|
||||
#usr/include/avahi-gobject/ga-service-resolver.h
|
||||
#usr/lib/avahi
|
||||
usr/lib/avahi/service-types.db
|
||||
#usr/lib/libavahi-client.a
|
||||
#usr/lib/libavahi-client.la
|
||||
#usr/lib/libavahi-client.so
|
||||
usr/lib/libavahi-client.so.3
|
||||
usr/lib/libavahi-client.so.3.2.9
|
||||
#usr/lib/libavahi-common.a
|
||||
#usr/lib/libavahi-common.la
|
||||
#usr/lib/libavahi-common.so
|
||||
usr/lib/libavahi-common.so.3
|
||||
usr/lib/libavahi-common.so.3.5.3
|
||||
#usr/lib/libavahi-core.a
|
||||
#usr/lib/libavahi-core.la
|
||||
#usr/lib/libavahi-core.so
|
||||
usr/lib/libavahi-core.so.7
|
||||
usr/lib/libavahi-core.so.7.0.2
|
||||
#usr/lib/libavahi-glib.a
|
||||
#usr/lib/libavahi-glib.la
|
||||
#usr/lib/libavahi-glib.so
|
||||
usr/lib/libavahi-glib.so.1
|
||||
usr/lib/libavahi-glib.so.1.0.2
|
||||
#usr/lib/libavahi-gobject.a
|
||||
#usr/lib/libavahi-gobject.la
|
||||
#usr/lib/libavahi-gobject.so
|
||||
usr/lib/libavahi-gobject.so.0
|
||||
usr/lib/libavahi-gobject.so.0.0.4
|
||||
#usr/lib/pkgconfig/avahi-client.pc
|
||||
#usr/lib/pkgconfig/avahi-core.pc
|
||||
#usr/lib/pkgconfig/avahi-glib.pc
|
||||
#usr/lib/pkgconfig/avahi-gobject.pc
|
||||
usr/lib/python2.7/site-packages/avahi
|
||||
usr/lib/python2.7/site-packages/avahi/ServiceTypeDatabase.py
|
||||
usr/sbin/avahi-autoipd
|
||||
usr/sbin/avahi-daemon
|
||||
usr/sbin/avahi-dnsconfd
|
||||
usr/share/avahi
|
||||
usr/share/avahi/avahi-service.dtd
|
||||
usr/share/avahi/service-types
|
||||
#usr/share/dbus-1/interfaces
|
||||
usr/share/dbus-1/interfaces/org.freedesktop.Avahi.AddressResolver.xml
|
||||
usr/share/dbus-1/interfaces/org.freedesktop.Avahi.DomainBrowser.xml
|
||||
usr/share/dbus-1/interfaces/org.freedesktop.Avahi.EntryGroup.xml
|
||||
usr/share/dbus-1/interfaces/org.freedesktop.Avahi.HostNameResolver.xml
|
||||
usr/share/dbus-1/interfaces/org.freedesktop.Avahi.RecordBrowser.xml
|
||||
usr/share/dbus-1/interfaces/org.freedesktop.Avahi.Server.xml
|
||||
usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceBrowser.xml
|
||||
usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceResolver.xml
|
||||
usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceTypeBrowser.xml
|
||||
#usr/share/locale/ach
|
||||
#usr/share/locale/ach/LC_MESSAGES
|
||||
#usr/share/locale/ach/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/ar/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/bg/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/ca/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/cs/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/da/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/de/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/el/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/en_AU/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/en_CA/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/en_GB/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/en_NZ
|
||||
#usr/share/locale/en_NZ/LC_MESSAGES
|
||||
#usr/share/locale/en_NZ/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/eo/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/es/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/et/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/fa/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/fi/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/fo
|
||||
#usr/share/locale/fo/LC_MESSAGES
|
||||
#usr/share/locale/fo/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/fr/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/gl/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/he/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/hu/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/id/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/it/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/ja/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/ko/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/lv/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/ms/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/nl/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/pl/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/pt_BR/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/ro/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/ru/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/sk/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/sl/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/sr/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/sr@latin/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/sv/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/tr/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/uk/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/zh_CN/LC_MESSAGES/avahi.mo
|
||||
#usr/share/locale/zh_TW/LC_MESSAGES/avahi.mo
|
||||
#usr/share/man/man1/avahi-bookmarks.1
|
||||
#usr/share/man/man1/avahi-browse-domains.1
|
||||
#usr/share/man/man1/avahi-browse.1
|
||||
#usr/share/man/man1/avahi-publish-address.1
|
||||
#usr/share/man/man1/avahi-publish-service.1
|
||||
#usr/share/man/man1/avahi-publish.1
|
||||
#usr/share/man/man1/avahi-resolve-address.1
|
||||
#usr/share/man/man1/avahi-resolve-host-name.1
|
||||
#usr/share/man/man1/avahi-resolve.1
|
||||
#usr/share/man/man1/avahi-set-host-name.1
|
||||
#usr/share/man/man5/avahi-daemon.conf.5
|
||||
#usr/share/man/man5/avahi.hosts.5
|
||||
#usr/share/man/man5/avahi.service.5
|
||||
#usr/share/man/man8/avahi-autoipd.8
|
||||
#usr/share/man/man8/avahi-autoipd.action.8
|
||||
#usr/share/man/man8/avahi-daemon.8
|
||||
#usr/share/man/man8/avahi-dnsconfd.8
|
||||
#usr/share/man/man8/avahi-dnsconfd.action.8
|
||||
@@ -17,6 +17,7 @@ usr/bin/cancel
|
||||
#usr/bin/cups-config
|
||||
usr/bin/cupstestdsc
|
||||
usr/bin/cupstestppd
|
||||
usr/bin/ippfind
|
||||
usr/bin/ipptool
|
||||
usr/bin/lp
|
||||
usr/bin/lpoptions
|
||||
@@ -47,6 +48,7 @@ usr/bin/ppdpo
|
||||
#usr/include/cups/versioning.h
|
||||
usr/lib/cups
|
||||
usr/lib/cups/backend
|
||||
usr/lib/cups/backend/dnssd
|
||||
usr/lib/cups/backend/http
|
||||
usr/lib/cups/backend/https
|
||||
usr/lib/cups/backend/ipp
|
||||
@@ -721,6 +723,7 @@ usr/share/locale/ru/cups_ru.po
|
||||
#usr/share/man/man1/cups.1.gz
|
||||
#usr/share/man/man1/cupstestdsc.1.gz
|
||||
#usr/share/man/man1/cupstestppd.1.gz
|
||||
#usr/share/man/man1/ippfind.1.gz
|
||||
#usr/share/man/man1/ipptool.1.gz
|
||||
#usr/share/man/man1/lp.1.gz
|
||||
#usr/share/man/man1/lpoptions.1.gz
|
||||
|
||||
99
lfs/avahi
Normal file
99
lfs/avahi
Normal file
@@ -0,0 +1,99 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
|
||||
# #
|
||||
# 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 <http://www.gnu.org/licenses/>. #
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
# Definitions
|
||||
###############################################################################
|
||||
|
||||
include Config
|
||||
|
||||
VER = 0.6.32
|
||||
|
||||
THISAPP = avahi-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = avahi
|
||||
PAK_VER = 4
|
||||
|
||||
DEPS = "dbus libdaemon"
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 22b5e705d3eabb31d26f2e1e7b074013
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
|
||||
|
||||
download :$(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
md5 : $(subst %,%_MD5,$(objects))
|
||||
|
||||
dist:
|
||||
@$(PAK)
|
||||
|
||||
###############################################################################
|
||||
# Downloading, checking, md5sum
|
||||
###############################################################################
|
||||
|
||||
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
|
||||
@$(CHECK)
|
||||
|
||||
$(patsubst %,$(DIR_DL)/%,$(objects)) :
|
||||
@$(LOAD)
|
||||
|
||||
$(subst %,%_MD5,$(objects)) :
|
||||
@$(MD5)
|
||||
|
||||
###############################################################################
|
||||
# Installation Details
|
||||
###############################################################################
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && ./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--with-avahi-user=avahi \
|
||||
--disable-qt3 \
|
||||
--disable-qt4 \
|
||||
--disable-gtk \
|
||||
--disable-gtk3 \
|
||||
--disable-pygtk \
|
||||
--disable-python-dbus \
|
||||
--disable-mono \
|
||||
--disable-monodoc \
|
||||
--with-distro=none
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
cp -avf $(DIR_SRC)/config/avahi/avahi /etc/init.d/
|
||||
cp -avf $(DIR_SRC)/config/avahi/smb.service /etc/avahi/services/smb.service
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
8
lfs/cups
8
lfs/cups
@@ -32,9 +32,9 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/cups-$(VER)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = cups
|
||||
PAK_VER = 16
|
||||
PAK_VER = 15
|
||||
|
||||
DEPS = "cups-filters dbus ghostscript krb5 libtiff"
|
||||
DEPS = "avahi cups-filters dbus ghostscript krb5 libtiff"
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
@@ -83,10 +83,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
--sysconfdir=/var/ipfire \
|
||||
--localstatedir=/var \
|
||||
--enable-debug \
|
||||
--enable-avahi \
|
||||
--enable-dbus \
|
||||
--enable-gnutls \
|
||||
--enable-libusb \
|
||||
--disable-avahi
|
||||
--enable-libusb
|
||||
|
||||
cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
|
||||
cd $(DIR_APP) && make install
|
||||
|
||||
1
make.sh
1
make.sh
@@ -1329,6 +1329,7 @@ buildipfire() {
|
||||
lfsmake2 dbus
|
||||
lfsmake2 intltool
|
||||
lfsmake2 libdaemon
|
||||
lfsmake2 avahi
|
||||
lfsmake2 cups
|
||||
lfsmake2 lcms2
|
||||
lfsmake2 ghostscript
|
||||
|
||||
37
src/paks/avahi/install.sh
Normal file
37
src/paks/avahi/install.sh
Normal file
@@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
############################################################################
|
||||
# #
|
||||
# This file is part of the IPFire Firewall. #
|
||||
# #
|
||||
# IPFire 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 2 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# IPFire 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 IPFire; if not, write to the Free Software #
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
# #
|
||||
# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
|
||||
# Create Username and group.
|
||||
getent group avahi >/dev/null || groupadd -r avahi
|
||||
getent passwd avahi >/dev/null || \
|
||||
useradd -r -g avahi -d /var/run/avahi-daemon -s /sbin/nologin \
|
||||
-c "Avahi mDNS daemon" avahi
|
||||
|
||||
extract_files
|
||||
ln -svf ../init.d/avahi /etc/rc.d/rc3.d/S65avahi
|
||||
ln -svf ../init.d/avahi /etc/rc.d/rc0.d/K35avahi
|
||||
ln -svf ../init.d/avahi /etc/rc.d/rc6.d/K35avahi
|
||||
restore_backup ${NAME}
|
||||
start_service --background ${NAME}
|
||||
28
src/paks/avahi/uninstall.sh
Normal file
28
src/paks/avahi/uninstall.sh
Normal file
@@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
############################################################################
|
||||
# #
|
||||
# This file is part of the IPFire Firewall. #
|
||||
# #
|
||||
# IPFire 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 2 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# IPFire 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 IPFire; if not, write to the Free Software #
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
# #
|
||||
# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
stop_service ${NAME}
|
||||
make_backup ${NAME}
|
||||
remove_files
|
||||
rm -rf /etc/rc.d/rc*.d/*avahi
|
||||
26
src/paks/avahi/update.sh
Normal file
26
src/paks/avahi/update.sh
Normal file
@@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
############################################################################
|
||||
# #
|
||||
# This file is part of the IPFire Firewall. #
|
||||
# #
|
||||
# IPFire 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 2 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# IPFire 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 IPFire; if not, write to the Free Software #
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
# #
|
||||
# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
./uninstall.sh
|
||||
./install.sh
|
||||
Reference in New Issue
Block a user