From a2fd324e6d5e591acbb3c509c31b5e8a1d47df60 Mon Sep 17 00:00:00 2001 From: Ben Schweikert Date: Mon, 14 Jan 2013 21:46:22 +0100 Subject: [PATCH] Avahi: New package. Can be used as mdns-responder for airplay. Libdaemon: New package. Needed for avahi. --- config/avahi/avahi | 45 +++++++ config/avahi/smb.service | 9 ++ config/rootfiles/packages/avahi | 200 ++++++++++++++++++++++++++++ config/rootfiles/packages/libdaemon | 17 +++ lfs/avahi | 87 ++++++++++++ lfs/libdaemon | 82 ++++++++++++ src/paks/avahi/install.sh | 30 +++++ src/paks/avahi/uninstall.sh | 28 ++++ src/paks/avahi/update.sh | 26 ++++ src/paks/libdaemon/install.sh | 25 ++++ src/paks/libdaemon/uninstall.sh | 26 ++++ src/paks/libdaemon/update.sh | 26 ++++ 12 files changed, 601 insertions(+) create mode 100755 config/avahi/avahi create mode 100644 config/avahi/smb.service create mode 100644 config/rootfiles/packages/avahi create mode 100644 config/rootfiles/packages/libdaemon create mode 100644 lfs/avahi create mode 100644 lfs/libdaemon create mode 100644 src/paks/avahi/install.sh create mode 100644 src/paks/avahi/uninstall.sh create mode 100644 src/paks/avahi/update.sh create mode 100644 src/paks/libdaemon/install.sh create mode 100644 src/paks/libdaemon/uninstall.sh create mode 100644 src/paks/libdaemon/update.sh diff --git a/config/avahi/avahi b/config/avahi/avahi new file mode 100755 index 0000000000..206146aa2f --- /dev/null +++ b/config/avahi/avahi @@ -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 diff --git a/config/avahi/smb.service b/config/avahi/smb.service new file mode 100644 index 0000000000..d89535438a --- /dev/null +++ b/config/avahi/smb.service @@ -0,0 +1,9 @@ + + + + Samba Shares on %h + + _smb._tcp + 139 + + diff --git a/config/rootfiles/packages/avahi b/config/rootfiles/packages/avahi new file mode 100644 index 0000000000..c62d1d5456 --- /dev/null +++ b/config/rootfiles/packages/avahi @@ -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 diff --git a/config/rootfiles/packages/libdaemon b/config/rootfiles/packages/libdaemon new file mode 100644 index 0000000000..9556ef5d1c --- /dev/null +++ b/config/rootfiles/packages/libdaemon @@ -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 diff --git a/lfs/avahi b/lfs/avahi new file mode 100644 index 0000000000..c13f3ca514 --- /dev/null +++ b/lfs/avahi @@ -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 . # +# # +############################################################################### + +############################################################################### +# 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) diff --git a/lfs/libdaemon b/lfs/libdaemon new file mode 100644 index 0000000000..0804b453c5 --- /dev/null +++ b/lfs/libdaemon @@ -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 . # +# # +############################################################################### + +############################################################################### +# 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) diff --git a/src/paks/avahi/install.sh b/src/paks/avahi/install.sh new file mode 100644 index 0000000000..bcbb63168b --- /dev/null +++ b/src/paks/avahi/install.sh @@ -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 . # +# # +############################################################################ +# +. /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} diff --git a/src/paks/avahi/uninstall.sh b/src/paks/avahi/uninstall.sh new file mode 100644 index 0000000000..1c8e67c9a6 --- /dev/null +++ b/src/paks/avahi/uninstall.sh @@ -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 . # +# # +############################################################################ +# +. /opt/pakfire/lib/functions.sh +stop_service ${NAME} +make_backup ${NAME} +remove_files +rm -rf /etc/rc.d/rc*.d/*avahi diff --git a/src/paks/avahi/update.sh b/src/paks/avahi/update.sh new file mode 100644 index 0000000000..89c40d0d7c --- /dev/null +++ b/src/paks/avahi/update.sh @@ -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 . # +# # +############################################################################ +# +. /opt/pakfire/lib/functions.sh +./uninstall.sh +./install.sh diff --git a/src/paks/libdaemon/install.sh b/src/paks/libdaemon/install.sh new file mode 100644 index 0000000000..2df1ecdc8e --- /dev/null +++ b/src/paks/libdaemon/install.sh @@ -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 . # +# # +############################################################################ +# +. /opt/pakfire/lib/functions.sh +extract_files diff --git a/src/paks/libdaemon/uninstall.sh b/src/paks/libdaemon/uninstall.sh new file mode 100644 index 0000000000..66f4344eb1 --- /dev/null +++ b/src/paks/libdaemon/uninstall.sh @@ -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 . # +# # +############################################################################ +# +. /opt/pakfire/lib/functions.sh +make_backup ${NAME} +remove_files diff --git a/src/paks/libdaemon/update.sh b/src/paks/libdaemon/update.sh new file mode 100644 index 0000000000..89c40d0d7c --- /dev/null +++ b/src/paks/libdaemon/update.sh @@ -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 . # +# # +############################################################################ +# +. /opt/pakfire/lib/functions.sh +./uninstall.sh +./install.sh -- 2.39.2