From mboxrd@z Thu Jan 1 00:00:00 1970 From: git@ipfire.org To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. e7fe1adfce68c3418690b4f48a4fa6eb8f3c9b21 Date: Tue, 09 Jan 2018 14:15:35 +0000 Message-ID: <20180109141536.35DC51081BD8@git01.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5578300970163324626==" List-Id: --===============5578300970163324626== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree". The branch, next has been updated via e7fe1adfce68c3418690b4f48a4fa6eb8f3c9b21 (commit) via 20367d5f2427cc2199c164ebb3ef100f3cb32f3c (commit) via 80908b44b709c7d47e120dd1b4ffaa99aa69b80a (commit) via 35c4e2a30267e75b22700fc38b4cfac3597c1cd2 (commit) via 24d31a006552f6d1a8ddbee70c44f4bac88c948f (commit) via 4d54015eb5b06bd47561250965a7423ad126abd1 (commit) via ddcd60f7dc3853f9087659cc2dcb70be8be62a99 (commit) from ab8464f4a25196b00cfd838502bef576c56884a2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit e7fe1adfce68c3418690b4f48a4fa6eb8f3c9b21 Author: Michael Tremer Date: Tue Jan 9 14:14:10 2018 +0000 core118: Ship updated hdparm =20 Signed-off-by: Michael Tremer commit 20367d5f2427cc2199c164ebb3ef100f3cb32f3c Author: Michael Tremer Date: Tue Jan 9 14:06:30 2018 +0000 Update translations =20 Signed-off-by: Michael Tremer commit 80908b44b709c7d47e120dd1b4ffaa99aa69b80a Author: Matthias Fischer Date: Tue Jan 9 14:11:33 2018 +0100 Fixed missing 'Captive' localization string for 'logs.dat' =20 Added 'Captive' localization string in 'de/en.pl'. =20 After a fresh install of Core 117, the system log shows a blank line for 'Captive Portal' entries. =20 Deleted translation for 'Captive menu' and changed '30-network.menu' acco= rdingly to avoid duplicate translation strings. =20 Best, Matthias =20 Signed-off-by: Matthias Fischer Signed-off-by: Michael Tremer commit 35c4e2a30267e75b22700fc38b4cfac3597c1cd2 Author: Matthias Fischer Date: Mon Jan 8 17:55:05 2018 +0100 hdparm: Update to 9.53 =20 Changes from 9.52 to 9.53: =20 - Read Drive Capacity fixes from Iestyn Walters. - SET MAX ADDRESS fixes from Tom Yan . - added --security-prompt-for-password to --security-help output. - fwdownload changes from Jihoon Lee. =20 Best, Matthias =20 Signed-off-by: Matthias Fischer Signed-off-by: Michael Tremer commit 24d31a006552f6d1a8ddbee70c44f4bac88c948f Author: Michael Tremer Date: Tue Jan 9 14:04:58 2018 +0000 core118: Ship updated gzip =20 Signed-off-by: Michael Tremer commit 4d54015eb5b06bd47561250965a7423ad126abd1 Author: Matthias Fischer Date: Mon Jan 8 18:14:30 2018 +0100 gzip: Update to 1.9 =20 Excerpt from 'NEWS': =20 "* Noteworthy changes in release 1.9 (2018-01-07) [stable] =20 ** Bug fixes =20 gzip -d -S SUFFIX file.SUFFIX would fail for any upper-case byte in SUF= FIX. E.g., before, this command would fail: $ :|gzip > kT && gzip -d -S T kT gzip: kT: unknown suffix -- ignored [bug present since the beginning] =20 When decompressing data in 'pack' format, gzip no longer mishandles leading zeros in the end-of-block code. [bug introduced in gzip-1.6] =20 When converting from system-dependent time_t format to the 32-bit unsigned MTIME format used in gzip files, if a timestamp does not fit gzip now substitutes zero instead of the timestamp's low-order 32 bits, as per Internet RFC 1952. When converting from MTIME to time_t format, if a timestamp does not fit gzip now warns and substitutes the nearest in-range value instead of crashing or silently substituting an implementation-defined value (typically, the timestamp's low-order bits). This affects timestamps before 1970 and after 2106, and timestamps after 2038 on platforms with 32-bit signed time_t. [bug present since the beginning] =20 Commands implemented via shell scripts are now more consistent about failure status. For example, 'gunzip --help >/dev/full' now consistently exits with status 1 (error), instead of with status 2 (warning) on some platforms. [bug present since the beginning] =20 Support for VMS and Amiga has been removed. It was not working anyway, and it reportedly caused file name glitches on MS-Windowsish platforms." =20 Best, Matthias =20 Signed-off-by: Matthias Fischer Signed-off-by: Michael Tremer commit ddcd60f7dc3853f9087659cc2dcb70be8be62a99 Author: Michael Tremer Date: Tue Jan 9 14:03:39 2018 +0000 mdns-repeater: New package =20 Signed-off-by: Michael Tremer ----------------------------------------------------------------------- Summary of changes: config/menu/30-network.menu | 4 +- .../{oldcore/111 =3D> core/118}/filelists/gzip | 0 .../{oldcore/107 =3D> core/118}/filelists/hdparm | 0 doc/language_issues.de | 1 + doc/language_issues.en | 1 + doc/language_issues.es | 1 + doc/language_issues.fr | 1 + doc/language_issues.it | 1 + doc/language_issues.nl | 1 + doc/language_issues.pl | 1 + doc/language_issues.ru | 1 + doc/language_issues.tr | 1 + doc/language_missings | 14 +++---- langs/de/cgi-bin/de.pl | 2 +- langs/en/cgi-bin/en.pl | 2 +- lfs/gzip | 4 +- lfs/hdparm | 4 +- lfs/{ebtables =3D> mdns-repeater} | 19 +++++---- make.sh | 1 + src/initscripts/packages/mdns-repeater | 48 ++++++++++++++++++++= ++ src/paks/{xinetd =3D> mdns-repeater}/install.sh | 11 +++-- .../{transmission =3D> mdns-repeater}/uninstall.sh | 2 +- src/paks/{transmission =3D> mdns-repeater}/update.sh | 0 23 files changed, 93 insertions(+), 27 deletions(-) copy config/rootfiles/{oldcore/111 =3D> core/118}/filelists/gzip (100%) copy config/rootfiles/{oldcore/107 =3D> core/118}/filelists/hdparm (100%) copy lfs/{ebtables =3D> mdns-repeater} (90%) create mode 100644 src/initscripts/packages/mdns-repeater copy src/paks/{xinetd =3D> mdns-repeater}/install.sh (87%) copy src/paks/{transmission =3D> mdns-repeater}/uninstall.sh (97%) copy src/paks/{transmission =3D> mdns-repeater}/update.sh (100%) Difference in files: diff --git a/config/menu/30-network.menu b/config/menu/30-network.menu index 137fd686c..9b27de872 100644 --- a/config/menu/30-network.menu +++ b/config/menu/30-network.menu @@ -23,9 +23,9 @@ 'title' =3D> "$Lang::tr{'dhcp server'}", 'enabled' =3D> 1, }; - $subnetwork->{'32.captive'} =3D {'caption' =3D> $Lang::tr{'Captive menu'}, + $subnetwork->{'32.captive'} =3D {'caption' =3D> $Lang::tr{'Captive'}, 'uri' =3D> '/cgi-bin/captive.cgi', - 'title' =3D> $Lang::tr{'Captive menu'}, + 'title' =3D> $Lang::tr{'Captive'}, 'enabled' =3D> 1, }; $subnetwork->{'40.scheduler'} =3D { diff --git a/config/rootfiles/core/118/filelists/gzip b/config/rootfiles/core= /118/filelists/gzip new file mode 120000 index 000000000..aebcccd87 --- /dev/null +++ b/config/rootfiles/core/118/filelists/gzip @@ -0,0 +1 @@ +../../../common/gzip \ No newline at end of file diff --git a/config/rootfiles/core/118/filelists/hdparm b/config/rootfiles/co= re/118/filelists/hdparm new file mode 120000 index 000000000..b6447518a --- /dev/null +++ b/config/rootfiles/core/118/filelists/hdparm @@ -0,0 +1 @@ +../../../common/hdparm \ No newline at end of file diff --git a/doc/language_issues.de b/doc/language_issues.de index 5118dc7ad..42aefd2e7 100644 --- a/doc/language_issues.de +++ b/doc/language_issues.de @@ -687,6 +687,7 @@ WARNING: translation string unused: xtaccess all error WARNING: translation string unused: xtaccess bad transfert WARNING: translation string unused: year-graph WARNING: translation string unused: yearly firewallhits +WARNING: untranslated string: Captive menu WARNING: untranslated string: Scan for Songs WARNING: untranslated string: addons WARNING: untranslated string: bytes diff --git a/doc/language_issues.en b/doc/language_issues.en index 48a85d003..892965ba0 100644 --- a/doc/language_issues.en +++ b/doc/language_issues.en @@ -725,6 +725,7 @@ WARNING: translation string unused: xtaccess bad transfert WARNING: translation string unused: year-graph WARNING: translation string unused: yearly firewallhits WARNING: untranslated string: Captive clients +WARNING: untranslated string: Captive menu WARNING: untranslated string: Scan for Songs WARNING: untranslated string: bytes WARNING: untranslated string: captive diff --git a/doc/language_issues.es b/doc/language_issues.es index 6df324159..3008a1340 100644 --- a/doc/language_issues.es +++ b/doc/language_issues.es @@ -621,6 +621,7 @@ WARNING: translation string unused: xtaccess bad transfert WARNING: translation string unused: year-graph WARNING: translation string unused: yearly firewallhits WARNING: untranslated string: 24 hours +WARNING: untranslated string: Captive WARNING: untranslated string: Captive ACTIVATE WARNING: untranslated string: Captive GAIN ACCESS WARNING: untranslated string: Captive WiFi coupon diff --git a/doc/language_issues.fr b/doc/language_issues.fr index f8360f3b6..c4e7b7d8e 100644 --- a/doc/language_issues.fr +++ b/doc/language_issues.fr @@ -630,6 +630,7 @@ WARNING: translation string unused: xtaccess bad transfert WARNING: translation string unused: year-graph WARNING: translation string unused: yearly firewallhits WARNING: untranslated string: 24 hours +WARNING: untranslated string: Captive WARNING: untranslated string: Captive ACTIVATE WARNING: untranslated string: Captive GAIN ACCESS WARNING: untranslated string: Captive WiFi coupon diff --git a/doc/language_issues.it b/doc/language_issues.it index abd7da4a0..d7d11bad6 100644 --- a/doc/language_issues.it +++ b/doc/language_issues.it @@ -698,6 +698,7 @@ WARNING: translation string unused: xtaccess bad transfert WARNING: translation string unused: year-graph WARNING: translation string unused: yearly firewallhits WARNING: untranslated string: 24 hours +WARNING: untranslated string: Captive WARNING: untranslated string: Captive ACTIVATE WARNING: untranslated string: Captive GAIN ACCESS WARNING: untranslated string: Captive WiFi coupon diff --git a/doc/language_issues.nl b/doc/language_issues.nl index 005fdcd85..51c63b9fa 100644 --- a/doc/language_issues.nl +++ b/doc/language_issues.nl @@ -694,6 +694,7 @@ WARNING: translation string unused: xtaccess bad transfert WARNING: translation string unused: year-graph WARNING: translation string unused: yearly firewallhits WARNING: untranslated string: 24 hours +WARNING: untranslated string: Captive WARNING: untranslated string: Captive ACTIVATE WARNING: untranslated string: Captive GAIN ACCESS WARNING: untranslated string: Captive WiFi coupon diff --git a/doc/language_issues.pl b/doc/language_issues.pl index 6df324159..3008a1340 100644 --- a/doc/language_issues.pl +++ b/doc/language_issues.pl @@ -621,6 +621,7 @@ WARNING: translation string unused: xtaccess bad transfert WARNING: translation string unused: year-graph WARNING: translation string unused: yearly firewallhits WARNING: untranslated string: 24 hours +WARNING: untranslated string: Captive WARNING: untranslated string: Captive ACTIVATE WARNING: untranslated string: Captive GAIN ACCESS WARNING: untranslated string: Captive WiFi coupon diff --git a/doc/language_issues.ru b/doc/language_issues.ru index 2b4c9385d..e54d87a2b 100644 --- a/doc/language_issues.ru +++ b/doc/language_issues.ru @@ -623,6 +623,7 @@ WARNING: translation string unused: xtaccess bad transfert WARNING: translation string unused: yearly firewallhits WARNING: untranslated string: 24 hours WARNING: untranslated string: Add a route +WARNING: untranslated string: Captive WARNING: untranslated string: Captive ACTIVATE WARNING: untranslated string: Captive GAIN ACCESS WARNING: untranslated string: Captive WiFi coupon diff --git a/doc/language_issues.tr b/doc/language_issues.tr index a6aa99f90..75e7432bf 100644 --- a/doc/language_issues.tr +++ b/doc/language_issues.tr @@ -706,6 +706,7 @@ WARNING: translation string unused: xtaccess bad transfert WARNING: translation string unused: year-graph WARNING: translation string unused: yearly firewallhits WARNING: untranslated string: 24 hours +WARNING: untranslated string: Captive WARNING: untranslated string: Captive ACTIVATE WARNING: untranslated string: Captive GAIN ACCESS WARNING: untranslated string: Captive WiFi coupon diff --git a/doc/language_missings b/doc/language_missings index c9b3b455d..218770f33 100644 --- a/doc/language_missings +++ b/doc/language_missings @@ -83,6 +83,7 @@ < bit < block < capabilities +< Captive < Captive 1day < Captive 1month < Captive 1week @@ -116,7 +117,6 @@ < Captive logo_set < Captive logo uploaded < Captive mac -< Captive menu < Captive noexpiretime < Captive nolimit < Captive nr @@ -793,6 +793,7 @@ < bit < block < capabilities +< Captive < Captive 1day < Captive 1month < Captive 1week @@ -826,7 +827,6 @@ < Captive logo_set < Captive logo uploaded < Captive mac -< Captive menu < Captive noexpiretime < Captive nolimit < Captive nr @@ -1504,6 +1504,7 @@ < advproxy group required < application layer gateways < block +< Captive < Captive 1day < Captive 1month < Captive 1week @@ -1537,7 +1538,6 @@ < Captive logo_set < Captive logo uploaded < Captive mac -< Captive menu < Captive noexpiretime < Captive nolimit < Captive nr @@ -1705,6 +1705,7 @@ < atm device < block < capabilities +< Captive < Captive 1day < Captive 1month < Captive 1week @@ -1738,7 +1739,6 @@ < Captive logo_set < Captive logo uploaded < Captive mac -< Captive menu < Captive noexpiretime < Captive nolimit < Captive nr @@ -1974,6 +1974,7 @@ < bit < block < capabilities +< Captive < Captive 1day < Captive 1month < Captive 1week @@ -2007,7 +2008,6 @@ < Captive logo_set < Captive logo uploaded < Captive mac -< Captive menu < Captive noexpiretime < Captive nolimit < Captive nr @@ -2672,6 +2672,7 @@ < bit < block < capabilities +< Captive < Captive 1day < Captive 1month < Captive 1week @@ -2705,7 +2706,6 @@ < Captive logo_set < Captive logo uploaded < Captive mac -< Captive menu < Captive noexpiretime < Captive nolimit < Captive nr @@ -3351,6 +3351,7 @@ ############################################################################ < 24 hours < application layer gateways +< Captive < Captive 1day < Captive 1month < Captive 1week @@ -3384,7 +3385,6 @@ < Captive logo_set < Captive logo uploaded < Captive mac -< Captive menu < Captive noexpiretime < Captive nolimit < Captive nr diff --git a/langs/de/cgi-bin/de.pl b/langs/de/cgi-bin/de.pl index 7c1074edd..07bef906b 100644 --- a/langs/de/cgi-bin/de.pl +++ b/langs/de/cgi-bin/de.pl @@ -8,6 +8,7 @@ 'Add Rule' =3D> 'Regel hinzuf=C3=BCgen', 'Add a route' =3D> 'Eine Route hinzuf=C3=BCgen', 'Async logging enabled' =3D> 'Aktiviere asynchrones Schreiben des Syslogs', +'Captive' =3D> 'Captive-Portal', 'Captive 1day' =3D> '1 Tag', 'Captive 1month' =3D> '1 Monat', 'Captive 1week' =3D> '1 Woche', @@ -43,7 +44,6 @@ 'Captive logo_upload' =3D> 'Logo hochladen', 'Captive logo_upload1' =3D> '(PNG, min. 1280x400, max. 1920x800)', 'Captive mac' =3D> 'MAC-Adresse', -'Captive menu' =3D> 'Captive-Portal', 'Captive noexpiretime' =3D> 'Es wurde kein g=C3=BCltiger Verbindungszeitraum= angegeben', 'Captive nolimit' =3D> 'Unbegrenzt', 'Captive nr' =3D> 'Nummer', diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl index 3940d7b7c..a22c4b566 100644 --- a/langs/en/cgi-bin/en.pl +++ b/langs/en/cgi-bin/en.pl @@ -8,6 +8,7 @@ 'Add Rule' =3D> 'Add rule', 'Add a route' =3D> 'Add a route', 'Async logging enabled' =3D> 'Enable asynchronous writing of the syslog file= ', +'Captive' =3D> 'Captive Portal', 'Captive 1day' =3D> '1 day', 'Captive 1month' =3D> '1 month', 'Captive 1week' =3D> '1 week', @@ -42,7 +43,6 @@ 'Captive logo uploaded' =3D> 'Logo uploaded', 'Captive logo_set' =3D> 'Current Logo', 'Captive mac' =3D> 'MAC Address', -'Captive menu' =3D> 'Captive Portal', 'Captive noexpiretime' =3D> 'No valid connection time range given', 'Captive nolimit' =3D> 'unlimited', 'Captive nr' =3D> 'Number', diff --git a/lfs/gzip b/lfs/gzip index 233c6ce40..2318338cf 100644 --- a/lfs/gzip +++ b/lfs/gzip @@ -24,7 +24,7 @@ =20 include Config =20 -VER =3D 1.8 +VER =3D 1.9 =20 THISAPP =3D gzip-$(VER) DL_FILE =3D $(THISAPP).tar.xz @@ -49,7 +49,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_MD5 =3D f7caabb65cddc1a4165b398009bd05b9 +$(DL_FILE)_MD5 =3D 9492c6ccb2239ff679a5475a7bb543ed =20 install : $(TARGET) =20 diff --git a/lfs/hdparm b/lfs/hdparm index c26131eaa..68620bd6e 100644 --- a/lfs/hdparm +++ b/lfs/hdparm @@ -24,7 +24,7 @@ =20 include Config =20 -VER =3D 9.52 +VER =3D 9.53 =20 THISAPP =3D hdparm-$(VER) DL_FILE =3D $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_MD5 =3D 410539d0bf3cc247181594581edbfb53 +$(DL_FILE)_MD5 =3D 1e54b52e0c8cb79389d4d47eacba411d =20 install : $(TARGET) =20 diff --git a/lfs/mdns-repeater b/lfs/mdns-repeater new file mode 100644 index 000000000..4b3d3a784 --- /dev/null +++ b/lfs/mdns-repeater @@ -0,0 +1,89 @@ +############################################################################= ### +# = # +# 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 =3D 1.10 + +THISAPP =3D mdns-repeater-$(VER) +DL_FILE =3D $(THISAPP).tar.gz +DL_FROM =3D $(URL_IPFIRE) +DIR_APP =3D $(DIR_SRC)/$(THISAPP) +TARGET =3D $(DIR_INFO)/$(THISAPP) +PROG =3D mdns-repeater +PAK_VER =3D 1 + +DEPS =3D "" + +CFLAGS +=3D -DHGVERSION=3D'\"$(VER)\"' + +############################################################################= ### +# Top-level Rules +############################################################################= ### + +objects =3D $(DL_FILE) + +$(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 =3D 6dba5f891b50c2267f45a7760894fcb6 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist:=20 + @$(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) && make $(MAKETUNING) CFLAGS=3D"$(CFLAGS)" + cd $(DIR_APP) && install -v -m 755 mdns-repeater /usr/bin + + # install initscripts + $(call INSTALL_INITSCRIPT,mdns-repeater) + + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 213ecd4f6..690a611f0 100755 --- a/make.sh +++ b/make.sh @@ -1516,6 +1516,7 @@ buildipfire() { lfsmake2 perl-Net-IP lfsmake2 wio lfsmake2 iftop + lfsmake2 mdns-repeater } =20 buildinstaller() { diff --git a/src/initscripts/packages/mdns-repeater b/src/initscripts/package= s/mdns-repeater new file mode 100644 index 000000000..49717a1a1 --- /dev/null +++ b/src/initscripts/packages/mdns-repeater @@ -0,0 +1,48 @@ +#!/bin/sh +######################################################################## +# Begin $rc_base/init.d/mdns-repeater +######################################################################## + +. /etc/sysconfig/rc +. ${rc_functions} + +eval $(/usr/local/bin/readhash /var/ipfire/ethernet/settings) + +INTERFACES=3D + +if [ -n "${GREEN_DEV}" ]; then + INTERFACES=3D"${INTERFACES} ${GREEN_DEV}" +fi + +if [ -n "${BLUE_DEV}" ]; then + INTERFACES=3D"${INTERFACES} ${BLUE_DEV}" +fi + +case "${1}" in + start) + boot_mesg "Starting Multicast DNS Repeater..." + loadproc /usr/bin/mdns-repeater ${INTERFACES} + ;; + + stop) + boot_mesg "Stopping Multicast DNS Repeater..." + killproc /usr/bin/mdns-repeater + ;; + + restart) + ${0} stop + sleep 1 + ${0} start + ;; + + status) + statusproc /usr/bin/mdns-repeater + ;; + + *) + echo "Usage: ${0} {start|stop|restart|status}" + exit 1 + ;; +esac + +# End $rc_base/init.d/mdns-repeater diff --git a/src/paks/mdns-repeater/install.sh b/src/paks/mdns-repeater/insta= ll.sh new file mode 100644 index 000000000..233f6a88e --- /dev/null +++ b/src/paks/mdns-repeater/install.sh @@ -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 . = # +# # +############################################################################ +# +. /opt/pakfire/lib/functions.sh + +extract_files +restore_backup ${NAME} + +# create startlinks +ln -sf ../init.d/mdns-repeater /etc/rc.d/rc0.d/K20mdns-repeater +ln -sf ../init.d/mdns-repeater /etc/rc.d/rc3.d/S99mdns-repeater +ln -sf ../init.d/mdns-repeater /etc/rc.d/rc6.d/K20mdns-repeater + +# Start the service. +start_service --background ${NAME} + +exit 0 diff --git a/src/paks/mdns-repeater/uninstall.sh b/src/paks/mdns-repeater/uni= nstall.sh new file mode 100644 index 000000000..91e77623c --- /dev/null +++ b/src/paks/mdns-repeater/uninstall.sh @@ -0,0 +1,32 @@ +#!/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 + +# Remove all start links. +rm -rf /etc/rc.d/rc*.d/*mdns-repeater + +exit 0 diff --git a/src/paks/mdns-repeater/update.sh b/src/paks/mdns-repeater/update= .sh new file mode 100644 index 000000000..c6485bf0a --- /dev/null +++ b/src/paks/mdns-repeater/update.sh @@ -0,0 +1,27 @@ +#!/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 hooks/post-receive -- IPFire 2.x development tree --===============5578300970163324626==--