* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. e7fe1adfce68c3418690b4f48a4fa6eb8f3c9b21
@ 2018-01-09 14:15 git
0 siblings, 0 replies; only message in thread
From: git @ 2018-01-09 14:15 UTC (permalink / raw)
To: ipfire-scm
[-- Attachment #1: Type: text/plain, Size: 30008 bytes --]
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 <michael.tremer(a)ipfire.org>
Date: Tue Jan 9 14:14:10 2018 +0000
core118: Ship updated hdparm
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
commit 20367d5f2427cc2199c164ebb3ef100f3cb32f3c
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Tue Jan 9 14:06:30 2018 +0000
Update translations
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
commit 80908b44b709c7d47e120dd1b4ffaa99aa69b80a
Author: Matthias Fischer <matthias.fischer(a)ipfire.org>
Date: Tue Jan 9 14:11:33 2018 +0100
Fixed missing 'Captive' localization string for 'logs.dat'
Added 'Captive' localization string in 'de/en.pl'.
After a fresh install of Core 117, the system log shows a blank line
for 'Captive Portal' entries.
Deleted translation for 'Captive menu' and changed '30-network.menu' accordingly
to avoid duplicate translation strings.
Best,
Matthias
Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
commit 35c4e2a30267e75b22700fc38b4cfac3597c1cd2
Author: Matthias Fischer <matthias.fischer(a)ipfire.org>
Date: Mon Jan 8 17:55:05 2018 +0100
hdparm: Update to 9.53
Changes from 9.52 to 9.53:
- Read Drive Capacity fixes from Iestyn Walters.
- SET MAX ADDRESS fixes from Tom Yan <tom.ty89(a)gmail.com>.
- added --security-prompt-for-password to --security-help output.
- fwdownload changes from Jihoon Lee.
Best,
Matthias
Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
commit 24d31a006552f6d1a8ddbee70c44f4bac88c948f
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Tue Jan 9 14:04:58 2018 +0000
core118: Ship updated gzip
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
commit 4d54015eb5b06bd47561250965a7423ad126abd1
Author: Matthias Fischer <matthias.fischer(a)ipfire.org>
Date: Mon Jan 8 18:14:30 2018 +0100
gzip: Update to 1.9
Excerpt from 'NEWS':
"* Noteworthy changes in release 1.9 (2018-01-07) [stable]
** Bug fixes
gzip -d -S SUFFIX file.SUFFIX would fail for any upper-case byte in SUFFIX.
E.g., before, this command would fail:
$ :|gzip > kT && gzip -d -S T kT
gzip: kT: unknown suffix -- ignored
[bug present since the beginning]
When decompressing data in 'pack' format, gzip no longer mishandles
leading zeros in the end-of-block code. [bug introduced in gzip-1.6]
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]
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]
Support for VMS and Amiga has been removed. It was not working anyway,
and it reportedly caused file name glitches on MS-Windowsish platforms."
Best,
Matthias
Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
commit ddcd60f7dc3853f9087659cc2dcb70be8be62a99
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Tue Jan 9 14:03:39 2018 +0000
mdns-repeater: New package
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
-----------------------------------------------------------------------
Summary of changes:
config/menu/30-network.menu | 4 +-
.../{oldcore/111 => core/118}/filelists/gzip | 0
.../{oldcore/107 => 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 => mdns-repeater} | 19 +++++----
make.sh | 1 +
src/initscripts/packages/mdns-repeater | 48 ++++++++++++++++++++++
src/paks/{xinetd => mdns-repeater}/install.sh | 11 +++--
.../{transmission => mdns-repeater}/uninstall.sh | 2 +-
src/paks/{transmission => mdns-repeater}/update.sh | 0
23 files changed, 93 insertions(+), 27 deletions(-)
copy config/rootfiles/{oldcore/111 => core/118}/filelists/gzip (100%)
copy config/rootfiles/{oldcore/107 => core/118}/filelists/hdparm (100%)
copy lfs/{ebtables => mdns-repeater} (90%)
create mode 100644 src/initscripts/packages/mdns-repeater
copy src/paks/{xinetd => mdns-repeater}/install.sh (87%)
copy src/paks/{transmission => mdns-repeater}/uninstall.sh (97%)
copy src/paks/{transmission => 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' => "$Lang::tr{'dhcp server'}",
'enabled' => 1,
};
- $subnetwork->{'32.captive'} = {'caption' => $Lang::tr{'Captive menu'},
+ $subnetwork->{'32.captive'} = {'caption' => $Lang::tr{'Captive'},
'uri' => '/cgi-bin/captive.cgi',
- 'title' => $Lang::tr{'Captive menu'},
+ 'title' => $Lang::tr{'Captive'},
'enabled' => 1,
};
$subnetwork->{'40.scheduler'} = {
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/core/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' => 'Regel hinzufügen',
'Add a route' => 'Eine Route hinzufügen',
'Async logging enabled' => 'Aktiviere asynchrones Schreiben des Syslogs',
+'Captive' => 'Captive-Portal',
'Captive 1day' => '1 Tag',
'Captive 1month' => '1 Monat',
'Captive 1week' => '1 Woche',
@@ -43,7 +44,6 @@
'Captive logo_upload' => 'Logo hochladen',
'Captive logo_upload1' => '(PNG, min. 1280x400, max. 1920x800)',
'Captive mac' => 'MAC-Adresse',
-'Captive menu' => 'Captive-Portal',
'Captive noexpiretime' => 'Es wurde kein gültiger Verbindungszeitraum angegeben',
'Captive nolimit' => 'Unbegrenzt',
'Captive nr' => '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' => 'Add rule',
'Add a route' => 'Add a route',
'Async logging enabled' => 'Enable asynchronous writing of the syslog file',
+'Captive' => 'Captive Portal',
'Captive 1day' => '1 day',
'Captive 1month' => '1 month',
'Captive 1week' => '1 week',
@@ -42,7 +43,6 @@
'Captive logo uploaded' => 'Logo uploaded',
'Captive logo_set' => 'Current Logo',
'Captive mac' => 'MAC Address',
-'Captive menu' => 'Captive Portal',
'Captive noexpiretime' => 'No valid connection time range given',
'Captive nolimit' => 'unlimited',
'Captive nr' => 'Number',
diff --git a/lfs/gzip b/lfs/gzip
index 233c6ce40..2318338cf 100644
--- a/lfs/gzip
+++ b/lfs/gzip
@@ -24,7 +24,7 @@
include Config
-VER = 1.8
+VER = 1.9
THISAPP = gzip-$(VER)
DL_FILE = $(THISAPP).tar.xz
@@ -49,7 +49,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = f7caabb65cddc1a4165b398009bd05b9
+$(DL_FILE)_MD5 = 9492c6ccb2239ff679a5475a7bb543ed
install : $(TARGET)
diff --git a/lfs/hdparm b/lfs/hdparm
index c26131eaa..68620bd6e 100644
--- a/lfs/hdparm
+++ b/lfs/hdparm
@@ -24,7 +24,7 @@
include Config
-VER = 9.52
+VER = 9.53
THISAPP = hdparm-$(VER)
DL_FILE = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 410539d0bf3cc247181594581edbfb53
+$(DL_FILE)_MD5 = 1e54b52e0c8cb79389d4d47eacba411d
install : $(TARGET)
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 <http://www.gnu.org/licenses/>. #
+# #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER = 1.10
+
+THISAPP = mdns-repeater-$(VER)
+DL_FILE = $(THISAPP).tar.gz
+DL_FROM = $(URL_IPFIRE)
+DIR_APP = $(DIR_SRC)/$(THISAPP)
+TARGET = $(DIR_INFO)/$(THISAPP)
+PROG = mdns-repeater
+PAK_VER = 1
+
+DEPS = ""
+
+CFLAGS += -DHGVERSION='\"$(VER)\"'
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 6dba5f891b50c2267f45a7760894fcb6
+
+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) && make $(MAKETUNING) CFLAGS="$(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
}
buildinstaller() {
diff --git a/src/initscripts/packages/mdns-repeater b/src/initscripts/packages/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=
+
+if [ -n "${GREEN_DEV}" ]; then
+ INTERFACES="${INTERFACES} ${GREEN_DEV}"
+fi
+
+if [ -n "${BLUE_DEV}" ]; then
+ INTERFACES="${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/install.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 <info(a)ipfire.org>. #
+# #
+############################################################################
+#
+. /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/uninstall.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 <info(a)ipfire.org>. #
+# #
+############################################################################
+#
+. /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 <info(a)ipfire.org>. #
+# #
+############################################################################
+#
+. /opt/pakfire/lib/functions.sh
+
+./uninstall.sh
+./install.sh
hooks/post-receive
--
IPFire 2.x development tree
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-09 14:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-09 14:15 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. e7fe1adfce68c3418690b4f48a4fa6eb8f3c9b21 git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox