mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Avahi: New package. Can be used as mdns-responder for airplay.
Libdaemon: New package. Needed for avahi.
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..."
|
||||
killproc /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>
|
||||
200
config/rootfiles/packages/avahi
Normal file
200
config/rootfiles/packages/avahi
Normal file
@@ -0,0 +1,200 @@
|
||||
etc/init.d/avahi
|
||||
etc/avahi/services/smb.service
|
||||
bin/avahi-browse
|
||||
bin/avahi-browse-domains
|
||||
bin/avahi-publish
|
||||
bin/avahi-publish-address
|
||||
bin/avahi-publish-service
|
||||
bin/avahi-resolve
|
||||
bin/avahi-resolve-address
|
||||
bin/avahi-resolve-host-name
|
||||
bin/avahi-set-host-name
|
||||
etc/avahi/avahi-autoipd.action
|
||||
etc/avahi/avahi-daemon.conf
|
||||
etc/avahi/avahi-dnsconfd.action
|
||||
etc/avahi/hosts
|
||||
etc/avahi/services/sftp-ssh.service
|
||||
etc/avahi/services/smb.service
|
||||
etc/avahi/services/ssh.service
|
||||
etc/dbus-1/system.d/avahi-dbus.conf
|
||||
include/avahi-client/client.h
|
||||
include/avahi-client/lookup.h
|
||||
include/avahi-client/publish.h
|
||||
include/avahi-common/address.h
|
||||
include/avahi-common/alternative.h
|
||||
include/avahi-common/cdecl.h
|
||||
include/avahi-common/defs.h
|
||||
include/avahi-common/domain.h
|
||||
include/avahi-common/error.h
|
||||
include/avahi-common/gccmacro.h
|
||||
include/avahi-common/llist.h
|
||||
include/avahi-common/malloc.h
|
||||
include/avahi-common/rlist.h
|
||||
include/avahi-common/simple-watch.h
|
||||
include/avahi-common/strlst.h
|
||||
include/avahi-common/thread-watch.h
|
||||
include/avahi-common/timeval.h
|
||||
include/avahi-common/watch.h
|
||||
include/avahi-core/core.h
|
||||
include/avahi-core/log.h
|
||||
include/avahi-core/lookup.h
|
||||
include/avahi-core/publish.h
|
||||
include/avahi-core/rr.h
|
||||
include/avahi-glib/glib-malloc.h
|
||||
include/avahi-glib/glib-watch.h
|
||||
include/avahi-gobject/ga-client.h
|
||||
include/avahi-gobject/ga-entry-group.h
|
||||
include/avahi-gobject/ga-enums.h
|
||||
include/avahi-gobject/ga-error.h
|
||||
include/avahi-gobject/ga-record-browser.h
|
||||
include/avahi-gobject/ga-service-browser.h
|
||||
include/avahi-gobject/ga-service-resolver.h
|
||||
lib/avahi/service-types.db
|
||||
lib/libavahi-client.a
|
||||
lib/libavahi-client.la
|
||||
lib/libavahi-client.so
|
||||
lib/libavahi-client.so.3
|
||||
lib/libavahi-client.so.3.2.9
|
||||
lib/libavahi-common.a
|
||||
lib/libavahi-common.la
|
||||
lib/libavahi-common.so
|
||||
lib/libavahi-common.so.3
|
||||
lib/libavahi-common.so.3.5.3
|
||||
lib/libavahi-core.a
|
||||
lib/libavahi-core.la
|
||||
lib/libavahi-core.so
|
||||
lib/libavahi-core.so.7
|
||||
lib/libavahi-core.so.7.0.2
|
||||
lib/libavahi-glib.a
|
||||
lib/libavahi-glib.la
|
||||
lib/libavahi-glib.so
|
||||
lib/libavahi-glib.so.1
|
||||
lib/libavahi-glib.so.1.0.2
|
||||
lib/libavahi-gobject.a
|
||||
lib/libavahi-gobject.la
|
||||
lib/libavahi-gobject.so
|
||||
lib/libavahi-gobject.so.0
|
||||
lib/libavahi-gobject.so.0.0.4
|
||||
lib/pkgconfig/avahi-client.pc
|
||||
lib/pkgconfig/avahi-core.pc
|
||||
lib/pkgconfig/avahi-glib.pc
|
||||
lib/pkgconfig/avahi-gobject.pc
|
||||
lib/python2.7/site-packages
|
||||
lib/python2.7/site-packages/avahi
|
||||
lib/python2.7/site-packages/avahi/ServiceTypeDatabase.py
|
||||
sbin/avahi-autoipd
|
||||
sbin/avahi-daemon
|
||||
sbin/avahi-dnsconfd
|
||||
share/applications
|
||||
share/avahi/avahi-service.dtd
|
||||
share/avahi/service-types
|
||||
share/dbus-1/interfaces
|
||||
share/dbus-1/interfaces/org.freedesktop.Avahi.AddressResolver.xml
|
||||
share/dbus-1/interfaces/org.freedesktop.Avahi.DomainBrowser.xml
|
||||
share/dbus-1/interfaces/org.freedesktop.Avahi.EntryGroup.xml
|
||||
share/dbus-1/interfaces/org.freedesktop.Avahi.HostNameResolver.xml
|
||||
share/dbus-1/interfaces/org.freedesktop.Avahi.RecordBrowser.xml
|
||||
share/dbus-1/interfaces/org.freedesktop.Avahi.Server.xml
|
||||
share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceBrowser.xml
|
||||
share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceResolver.xml
|
||||
share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceTypeBrowser.xml
|
||||
share/dbus-1/system-services
|
||||
share/locale/bg
|
||||
share/locale/bg/LC_MESSAGES
|
||||
share/locale/bg/LC_MESSAGES/avahi.mo
|
||||
share/locale/ca
|
||||
share/locale/ca/LC_MESSAGES
|
||||
share/locale/ca/LC_MESSAGES/avahi.mo
|
||||
share/locale/cs
|
||||
share/locale/cs/LC_MESSAGES
|
||||
share/locale/cs/LC_MESSAGES/avahi.mo
|
||||
share/locale/da
|
||||
share/locale/da/LC_MESSAGES
|
||||
share/locale/da/LC_MESSAGES/avahi.mo
|
||||
share/locale/de
|
||||
share/locale/de/LC_MESSAGES
|
||||
share/locale/de/LC_MESSAGES/avahi.mo
|
||||
share/locale/el
|
||||
share/locale/el/LC_MESSAGES
|
||||
share/locale/el/LC_MESSAGES/avahi.mo
|
||||
share/locale/en_AU
|
||||
share/locale/en_AU/LC_MESSAGES
|
||||
share/locale/en_AU/LC_MESSAGES/avahi.mo
|
||||
share/locale/en_CA
|
||||
share/locale/en_CA/LC_MESSAGES
|
||||
share/locale/en_CA/LC_MESSAGES/avahi.mo
|
||||
share/locale/en_GB
|
||||
share/locale/en_GB/LC_MESSAGES
|
||||
share/locale/en_GB/LC_MESSAGES/avahi.mo
|
||||
share/locale/en_NZ
|
||||
share/locale/en_NZ/LC_MESSAGES
|
||||
share/locale/en_NZ/LC_MESSAGES/avahi.mo
|
||||
share/locale/es
|
||||
share/locale/es/LC_MESSAGES
|
||||
share/locale/es/LC_MESSAGES/avahi.mo
|
||||
share/locale/fi
|
||||
share/locale/fi/LC_MESSAGES
|
||||
share/locale/fi/LC_MESSAGES/avahi.mo
|
||||
share/locale/fo
|
||||
share/locale/fo/LC_MESSAGES
|
||||
share/locale/fo/LC_MESSAGES/avahi.mo
|
||||
share/locale/fr
|
||||
share/locale/fr/LC_MESSAGES
|
||||
share/locale/fr/LC_MESSAGES/avahi.mo
|
||||
share/locale/gl
|
||||
share/locale/gl/LC_MESSAGES
|
||||
share/locale/gl/LC_MESSAGES/avahi.mo
|
||||
share/locale/he
|
||||
share/locale/he/LC_MESSAGES
|
||||
share/locale/he/LC_MESSAGES/avahi.mo
|
||||
share/locale/hu
|
||||
share/locale/hu/LC_MESSAGES
|
||||
share/locale/hu/LC_MESSAGES/avahi.mo
|
||||
share/locale/id
|
||||
share/locale/id/LC_MESSAGES
|
||||
share/locale/id/LC_MESSAGES/avahi.mo
|
||||
share/locale/it
|
||||
share/locale/it/LC_MESSAGES
|
||||
share/locale/it/LC_MESSAGES/avahi.mo
|
||||
share/locale/ja
|
||||
share/locale/ja/LC_MESSAGES
|
||||
share/locale/ja/LC_MESSAGES/avahi.mo
|
||||
share/locale/ms
|
||||
share/locale/ms/LC_MESSAGES
|
||||
share/locale/ms/LC_MESSAGES/avahi.mo
|
||||
share/locale/nl
|
||||
share/locale/nl/LC_MESSAGES
|
||||
share/locale/nl/LC_MESSAGES/avahi.mo
|
||||
share/locale/pl
|
||||
share/locale/pl/LC_MESSAGES
|
||||
share/locale/pl/LC_MESSAGES/avahi.mo
|
||||
share/locale/pt_BR
|
||||
share/locale/pt_BR/LC_MESSAGES
|
||||
share/locale/pt_BR/LC_MESSAGES/avahi.mo
|
||||
share/locale/ro
|
||||
share/locale/ro/LC_MESSAGES
|
||||
share/locale/ro/LC_MESSAGES/avahi.mo
|
||||
share/locale/ru
|
||||
share/locale/ru/LC_MESSAGES
|
||||
share/locale/ru/LC_MESSAGES/avahi.mo
|
||||
share/locale/sl
|
||||
share/locale/sl/LC_MESSAGES
|
||||
share/locale/sl/LC_MESSAGES/avahi.mo
|
||||
share/locale/sr
|
||||
share/locale/sr/LC_MESSAGES
|
||||
share/locale/sr/LC_MESSAGES/avahi.mo
|
||||
share/locale/sr@latin
|
||||
share/locale/sr@latin/LC_MESSAGES
|
||||
share/locale/sr@latin/LC_MESSAGES/avahi.mo
|
||||
share/locale/sv
|
||||
share/locale/sv/LC_MESSAGES
|
||||
share/locale/sv/LC_MESSAGES/avahi.mo
|
||||
share/locale/uk
|
||||
share/locale/uk/LC_MESSAGES
|
||||
share/locale/uk/LC_MESSAGES/avahi.mo
|
||||
share/locale/zh_CN
|
||||
share/locale/zh_CN/LC_MESSAGES
|
||||
share/locale/zh_CN/LC_MESSAGES/avahi.mo
|
||||
share/locale/zh_TW
|
||||
share/locale/zh_TW/LC_MESSAGES
|
||||
share/locale/zh_TW/LC_MESSAGES/avahi.mo
|
||||
17
config/rootfiles/packages/libdaemon
Normal file
17
config/rootfiles/packages/libdaemon
Normal file
@@ -0,0 +1,17 @@
|
||||
usr/include/libdaemon
|
||||
usr/include/libdaemon/daemon.h
|
||||
usr/include/libdaemon/dexec.h
|
||||
usr/include/libdaemon/dfork.h
|
||||
usr/include/libdaemon/dlog.h
|
||||
usr/include/libdaemon/dnonblock.h
|
||||
usr/include/libdaemon/dpid.h
|
||||
usr/include/libdaemon/dsignal.h
|
||||
usr/lib/libdaemon.a
|
||||
usr/lib/libdaemon.la
|
||||
usr/lib/libdaemon.so
|
||||
usr/lib/libdaemon.so.0
|
||||
usr/lib/libdaemon.so.0.5.0
|
||||
usr/lib/pkgconfig/libdaemon.pc
|
||||
#+usr/share/doc/libdaemon
|
||||
#+usr/share/doc/libdaemon/README.html
|
||||
#+usr/share/doc/libdaemon/style.css
|
||||
87
lfs/avahi
Normal file
87
lfs/avahi
Normal file
@@ -0,0 +1,87 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# 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.31
|
||||
|
||||
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 = 1
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 2f22745b8f7368ad5a0a3fddac343f2d
|
||||
|
||||
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=/ --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)
|
||||
82
lfs/libdaemon
Normal file
82
lfs/libdaemon
Normal file
@@ -0,0 +1,82 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# 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.14
|
||||
|
||||
THISAPP = libdaemon-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = libdaemon
|
||||
PAK_VER = 1
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 509dc27107c21bcd9fbf2f95f5669563
|
||||
|
||||
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
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
30
src/paks/avahi/install.sh
Normal file
30
src/paks/avahi/install.sh
Normal file
@@ -0,0 +1,30 @@
|
||||
#!/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
|
||||
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
|
||||
25
src/paks/libdaemon/install.sh
Normal file
25
src/paks/libdaemon/install.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/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
|
||||
extract_files
|
||||
26
src/paks/libdaemon/uninstall.sh
Normal file
26
src/paks/libdaemon/uninstall.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
|
||||
make_backup ${NAME}
|
||||
remove_files
|
||||
26
src/paks/libdaemon/update.sh
Normal file
26
src/paks/libdaemon/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