From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 3037bccd0f73c7cdc09b66da0fcc363e5a895a1c
Date: Fri, 14 Jun 2013 13:18:22 +0200 [thread overview]
Message-ID: <20130614111823.74A83208BB@argus.ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 19695 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 3037bccd0f73c7cdc09b66da0fcc363e5a895a1c (commit)
via 97f0fdd5f3a9fc93c01be9e48b16090bc4559191 (commit)
via 3de19c87ca94bbfd7b9d7b0b693628cfc5339483 (commit)
via 0a21ce42e113f6c75f992d4ad1b88812ecc6b150 (commit)
from ad4ce45ae29bfa931ba5fb88bc99dccaccc48303 (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 3037bccd0f73c7cdc09b66da0fcc363e5a895a1c
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Fri Jun 14 13:13:36 2013 +0200
core 70: Add updated VLAN script.
commit 97f0fdd5f3a9fc93c01be9e48b16090bc4559191
Merge: 3de19c8 0a21ce4
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Fri Jun 14 13:12:47 2013 +0200
Merge remote-tracking branch 'jlentfer/multicat' into next
Conflicts:
make.sh
commit 3de19c87ca94bbfd7b9d7b0b693628cfc5339483
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Fri Jun 14 13:10:46 2013 +0200
vlans: Allow RED to be a virtual network device.
commit 0a21ce42e113f6c75f992d4ad1b88812ecc6b150
Author: Jan Lentfer <Jan.Lentfer(a)ipfire.org>
Date: Fri Jun 14 11:46:22 2013 +0200
multicat: add a new addon package "multicat" - The multicast swiss knife
Very useful for analyzing multicast traffic directly on the router/
firewall without the need for a large software like vlc or the like.
http://www.videolan.org/projects/multicat.html
Simple and efficient multicast and transport stream manipulation
The multicat package contains a set of tools designed to easily and
efficiently manipulate multicast streams in general, and MPEG-2
Transport Streams (ISO/IEC 13818-1) in particular.
The multicat suite of applications is very lightweight and designed
to operate in tight environments. Memory and CPU usages are kept to
a minimum, and they feature only one thread of execution.
multicat needs bitstream as a build dependency
http://www.videolan.org/developers/bitstream.html
-----------------------------------------------------------------------
Summary of changes:
config/rootfiles/core/70/filelists/files | 1 +
config/rootfiles/packages/bitstream | 138 +++++++++++++++++++++++++++++++
config/rootfiles/packages/multicat | 13 +++
lfs/{libassuan => bitstream} | 10 +--
lfs/{libassuan => multicat} | 12 +--
make.sh | 2 +
src/initscripts/init.d/network-vlans | 7 +-
src/patches/bitstream-makefile.patch | 7 ++
src/patches/multicat-makefile.patch | 12 +++
9 files changed, 190 insertions(+), 12 deletions(-)
create mode 100644 config/rootfiles/packages/bitstream
create mode 100644 config/rootfiles/packages/multicat
copy lfs/{libassuan => bitstream} (93%)
copy lfs/{libassuan => multicat} (93%)
create mode 100644 src/patches/bitstream-makefile.patch
create mode 100644 src/patches/multicat-makefile.patch
Difference in files:
diff --git a/config/rootfiles/core/70/filelists/files b/config/rootfiles/core/70/filelists/files
index 151f284..fe92558 100644
--- a/config/rootfiles/core/70/filelists/files
+++ b/config/rootfiles/core/70/filelists/files
@@ -1,5 +1,6 @@
etc/system-release
etc/issue
+etc/rc.d/init.d/network-vlans
etc/rc.d/init.d/squid
usr/local/bin/openvpnctrl
etc/init.d/firewall
diff --git a/config/rootfiles/packages/bitstream b/config/rootfiles/packages/bitstream
new file mode 100644
index 0000000..583d8f2
--- /dev/null
+++ b/config/rootfiles/packages/bitstream
@@ -0,0 +1,138 @@
+#usr/include/bitstream
+#usr/include/bitstream/common.h
+#usr/include/bitstream/dvb
+#usr/include/bitstream/dvb/ci.h
+#usr/include/bitstream/dvb/si
+#usr/include/bitstream/dvb/si.h
+#usr/include/bitstream/dvb/si/bat.h
+#usr/include/bitstream/dvb/si/bat_print.h
+#usr/include/bitstream/dvb/si/datetime.h
+#usr/include/bitstream/dvb/si/desc_40.h
+#usr/include/bitstream/dvb/si/desc_41.h
+#usr/include/bitstream/dvb/si/desc_42.h
+#usr/include/bitstream/dvb/si/desc_43.h
+#usr/include/bitstream/dvb/si/desc_44.h
+#usr/include/bitstream/dvb/si/desc_45.h
+#usr/include/bitstream/dvb/si/desc_46.h
+#usr/include/bitstream/dvb/si/desc_47.h
+#usr/include/bitstream/dvb/si/desc_48.h
+#usr/include/bitstream/dvb/si/desc_49.h
+#usr/include/bitstream/dvb/si/desc_4a.h
+#usr/include/bitstream/dvb/si/desc_4b.h
+#usr/include/bitstream/dvb/si/desc_4c.h
+#usr/include/bitstream/dvb/si/desc_4d.h
+#usr/include/bitstream/dvb/si/desc_4e.h
+#usr/include/bitstream/dvb/si/desc_4f.h
+#usr/include/bitstream/dvb/si/desc_50.h
+#usr/include/bitstream/dvb/si/desc_51.h
+#usr/include/bitstream/dvb/si/desc_52.h
+#usr/include/bitstream/dvb/si/desc_53.h
+#usr/include/bitstream/dvb/si/desc_54.h
+#usr/include/bitstream/dvb/si/desc_55.h
+#usr/include/bitstream/dvb/si/desc_56.h
+#usr/include/bitstream/dvb/si/desc_57.h
+#usr/include/bitstream/dvb/si/desc_58.h
+#usr/include/bitstream/dvb/si/desc_59.h
+#usr/include/bitstream/dvb/si/desc_5a.h
+#usr/include/bitstream/dvb/si/desc_5b.h
+#usr/include/bitstream/dvb/si/desc_5c.h
+#usr/include/bitstream/dvb/si/desc_5d.h
+#usr/include/bitstream/dvb/si/desc_5e.h
+#usr/include/bitstream/dvb/si/desc_5f.h
+#usr/include/bitstream/dvb/si/desc_60.h
+#usr/include/bitstream/dvb/si/desc_61.h
+#usr/include/bitstream/dvb/si/desc_62.h
+#usr/include/bitstream/dvb/si/desc_63.h
+#usr/include/bitstream/dvb/si/desc_64.h
+#usr/include/bitstream/dvb/si/desc_65.h
+#usr/include/bitstream/dvb/si/desc_66.h
+#usr/include/bitstream/dvb/si/desc_67.h
+#usr/include/bitstream/dvb/si/desc_68.h
+#usr/include/bitstream/dvb/si/desc_69.h
+#usr/include/bitstream/dvb/si/desc_6a.h
+#usr/include/bitstream/dvb/si/desc_6b.h
+#usr/include/bitstream/dvb/si/desc_6c.h
+#usr/include/bitstream/dvb/si/desc_6d.h
+#usr/include/bitstream/dvb/si/desc_6e.h
+#usr/include/bitstream/dvb/si/desc_7a.h
+#usr/include/bitstream/dvb/si/desc_7b.h
+#usr/include/bitstream/dvb/si/desc_7c.h
+#usr/include/bitstream/dvb/si/desc_83p28.h
+#usr/include/bitstream/dvb/si/desc_88p28.h
+#usr/include/bitstream/dvb/si/descs_list.h
+#usr/include/bitstream/dvb/si/dit.h
+#usr/include/bitstream/dvb/si/dit_print.h
+#usr/include/bitstream/dvb/si/eit.h
+#usr/include/bitstream/dvb/si/eit_print.h
+#usr/include/bitstream/dvb/si/nit.h
+#usr/include/bitstream/dvb/si/nit_print.h
+#usr/include/bitstream/dvb/si/numbers.h
+#usr/include/bitstream/dvb/si/rst.h
+#usr/include/bitstream/dvb/si/rst_print.h
+#usr/include/bitstream/dvb/si/sdt.h
+#usr/include/bitstream/dvb/si/sdt_print.h
+#usr/include/bitstream/dvb/si/sit.h
+#usr/include/bitstream/dvb/si/sit_print.h
+#usr/include/bitstream/dvb/si/st.h
+#usr/include/bitstream/dvb/si/strings.h
+#usr/include/bitstream/dvb/si/tdt.h
+#usr/include/bitstream/dvb/si/tdt_print.h
+#usr/include/bitstream/dvb/si/tot.h
+#usr/include/bitstream/dvb/si/tot_print.h
+#usr/include/bitstream/dvb/si_print.h
+#usr/include/bitstream/dvb/sim.h
+#usr/include/bitstream/ietf
+#usr/include/bitstream/ietf/rtp.h
+#usr/include/bitstream/mpeg
+#usr/include/bitstream/mpeg/aac.h
+#usr/include/bitstream/mpeg/pes.h
+#usr/include/bitstream/mpeg/psi
+#usr/include/bitstream/mpeg/psi.h
+#usr/include/bitstream/mpeg/psi/cat.h
+#usr/include/bitstream/mpeg/psi/cat_print.h
+#usr/include/bitstream/mpeg/psi/desc_02.h
+#usr/include/bitstream/mpeg/psi/desc_03.h
+#usr/include/bitstream/mpeg/psi/desc_04.h
+#usr/include/bitstream/mpeg/psi/desc_05.h
+#usr/include/bitstream/mpeg/psi/desc_06.h
+#usr/include/bitstream/mpeg/psi/desc_07.h
+#usr/include/bitstream/mpeg/psi/desc_08.h
+#usr/include/bitstream/mpeg/psi/desc_09.h
+#usr/include/bitstream/mpeg/psi/desc_0a.h
+#usr/include/bitstream/mpeg/psi/desc_0b.h
+#usr/include/bitstream/mpeg/psi/desc_0c.h
+#usr/include/bitstream/mpeg/psi/desc_0d.h
+#usr/include/bitstream/mpeg/psi/desc_0e.h
+#usr/include/bitstream/mpeg/psi/desc_0f.h
+#usr/include/bitstream/mpeg/psi/desc_10.h
+#usr/include/bitstream/mpeg/psi/desc_11.h
+#usr/include/bitstream/mpeg/psi/desc_12.h
+#usr/include/bitstream/mpeg/psi/desc_1b.h
+#usr/include/bitstream/mpeg/psi/desc_1c.h
+#usr/include/bitstream/mpeg/psi/desc_1d.h
+#usr/include/bitstream/mpeg/psi/desc_1e.h
+#usr/include/bitstream/mpeg/psi/desc_1f.h
+#usr/include/bitstream/mpeg/psi/desc_20.h
+#usr/include/bitstream/mpeg/psi/desc_21.h
+#usr/include/bitstream/mpeg/psi/desc_22.h
+#usr/include/bitstream/mpeg/psi/desc_23.h
+#usr/include/bitstream/mpeg/psi/desc_24.h
+#usr/include/bitstream/mpeg/psi/desc_25.h
+#usr/include/bitstream/mpeg/psi/desc_26.h
+#usr/include/bitstream/mpeg/psi/desc_27.h
+#usr/include/bitstream/mpeg/psi/desc_28.h
+#usr/include/bitstream/mpeg/psi/desc_2a.h
+#usr/include/bitstream/mpeg/psi/desc_2b.h
+#usr/include/bitstream/mpeg/psi/desc_2c.h
+#usr/include/bitstream/mpeg/psi/descriptors.h
+#usr/include/bitstream/mpeg/psi/descs_list.h
+#usr/include/bitstream/mpeg/psi/descs_print.h
+#usr/include/bitstream/mpeg/psi/pat.h
+#usr/include/bitstream/mpeg/psi/pat_print.h
+#usr/include/bitstream/mpeg/psi/pmt.h
+#usr/include/bitstream/mpeg/psi/pmt_print.h
+#usr/include/bitstream/mpeg/psi/psi.h
+#usr/include/bitstream/mpeg/psi/tsdt.h
+#usr/include/bitstream/mpeg/psi/tsdt_print.h
+#usr/include/bitstream/mpeg/psi_print.h
+#usr/include/bitstream/mpeg/ts.h
diff --git a/config/rootfiles/packages/multicat b/config/rootfiles/packages/multicat
new file mode 100644
index 0000000..8d06000
--- /dev/null
+++ b/config/rootfiles/packages/multicat
@@ -0,0 +1,13 @@
+usr/bin/aggregartp
+usr/bin/ingests
+usr/bin/lasts
+usr/bin/multicat
+usr/bin/multicat_validate
+usr/bin/offsets
+usr/bin/reordertp
+#usr/share/man/man1/aggregartp.1
+#usr/share/man/man1/ingests.1
+#usr/share/man/man1/lasts.1
+#usr/share/man/man1/multicat.1
+#usr/share/man/man1/offsets.1
+#usr/share/man/man1/reordertp.1
diff --git a/lfs/bitstream b/lfs/bitstream
new file mode 100644
index 0000000..2985f55
--- /dev/null
+++ b/lfs/bitstream
@@ -0,0 +1,84 @@
+###############################################################################
+# #
+# 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.0
+
+THISAPP = bitstream-$(VER)
+DL_FILE = $(THISAPP).tar.bz2
+DL_FROM = $(URL_IPFIRE)
+DIR_APP = $(DIR_SRC)/$(THISAPP)
+TARGET = $(DIR_INFO)/$(THISAPP)
+PROG = bitstream
+PAK_VER = 1
+
+DEPS = ""
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 5ba0c96d6c7c9131ba60a9a8fc147556
+
+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 jxf $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_APP) && patch -Np0 < $(DIR_SRC)/src/patches/bitstream-makefile.patch
+ cd $(DIR_APP) && make $(MAKETUNING)
+ cd $(DIR_APP) && make install
+ @rm -rf $(DIR_APP)
+ @$(POSTBUILD)
diff --git a/lfs/multicat b/lfs/multicat
new file mode 100644
index 0000000..e2b6c04
--- /dev/null
+++ b/lfs/multicat
@@ -0,0 +1,84 @@
+###############################################################################
+# #
+# 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 = 2.0
+
+THISAPP = multicat-$(VER)
+DL_FILE = $(THISAPP).tar.bz2
+DL_FROM = $(URL_IPFIRE)
+DIR_APP = $(DIR_SRC)/$(THISAPP)
+TARGET = $(DIR_INFO)/$(THISAPP)
+PROG = multicat
+PAK_VER = 1
+
+DEPS = "bitstream"
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 3aaa226a421c378c2ede0c8db8fd609c
+
+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 jxf $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_APP) && patch -Np0 < $(DIR_SRC)/src/patches/multicat-makefile.patch
+ cd $(DIR_APP) && make $(MAKETUNING)
+ cd $(DIR_APP) && make install
+ @rm -rf $(DIR_APP)
+ @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 939a04e..af515bf 100755
--- a/make.sh
+++ b/make.sh
@@ -768,6 +768,8 @@ buildipfire() {
ipfiremake strace
ipfiremake ipfire-netboot
ipfiremake lcdproc
+ ipfiremake bitstream
+ ipfiremake multicat
echo Build on $HOSTNAME > $BASEDIR/build/var/ipfire/firebuild
cat /proc/version >> $BASEDIR/build/var/ipfire/firebuild
echo >> $BASEDIR/build/var/ipfire/firebuild
diff --git a/src/initscripts/init.d/network-vlans b/src/initscripts/init.d/network-vlans
index 2fdfe9e..c31f3e1 100644
--- a/src/initscripts/init.d/network-vlans
+++ b/src/initscripts/init.d/network-vlans
@@ -31,13 +31,18 @@ eval $(/usr/local/bin/readhash ${CONFIG_FILE})
# This is start or stop.
action=${1}
-for interface in green0 blue0 orange0; do
+for interface in green0 red0 blue0 orange0; do
case "${interface}" in
green*)
PARENT_DEV=${GREEN_PARENT_DEV}
VLAN_ID=${GREEN_VLAN_ID}
MAC_ADDRESS=${GREEN_MAC_ADDRESS}
;;
+ red*)
+ PARENT_DEV=${RED_PARENT_DEV}
+ VLAN_ID=${RED_VLAN_ID}
+ MAC_ADDRESS=${RED_MAC_ADDRESS}
+ ;;
blue*)
PARENT_DEV=${BLUE_PARENT_DEV}
VLAN_ID=${BLUE_VLAN_ID}
diff --git a/src/patches/bitstream-makefile.patch b/src/patches/bitstream-makefile.patch
new file mode 100644
index 0000000..35aeac8
--- /dev/null
+++ b/src/patches/bitstream-makefile.patch
@@ -0,0 +1,7 @@
+--- Makefile.org 2013-06-14 12:59:46.000000000 +0200
++++ Makefile 2013-06-14 13:00:01.000000000 +0200
+@@ -1,4 +1,4 @@
+-PREFIX ?= /usr/local
++PREFIX ?= /usr
+ INCLUDE = $(subst //,/,$(DESTDIR)/$(PREFIX)/include/bitstream)
+ VERSION = 1.0
diff --git a/src/patches/multicat-makefile.patch b/src/patches/multicat-makefile.patch
new file mode 100644
index 0000000..60a987b
--- /dev/null
+++ b/src/patches/multicat-makefile.patch
@@ -0,0 +1,12 @@
+--- Makefile.orig 2013-06-14 12:39:11.000000000 +0200
++++ Makefile 2013-06-14 12:39:20.000000000 +0200
+@@ -13,7 +13,7 @@
+ OBJ_LASTS = lasts.o
+ OBJ_MULTICAT_VALIDATE = multicat_validate.o util.o
+
+-PREFIX ?= /usr/local
++PREFIX ?= /usr
+ BIN = $(DESTDIR)/$(PREFIX)/bin
+ MAN = $(DESTDIR)/$(PREFIX)/share/man/man1
+
+
hooks/post-receive
--
IPFire 2.x development tree
reply other threads:[~2013-06-14 11:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130614111823.74A83208BB@argus.ipfire.org \
--to=git@ipfire.org \
--cc=ipfire-scm@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox