Commit Graph

10065 Commits

Author SHA1 Message Date
Jonatan Schlag
96aeacd808 Change the default qemu user and group of libvirt
Changes the libvirt user to nobody and the group to kvm this is a bit
safer as to use root for both.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-20 16:25:31 +01:00
Jonatan Schlag
5cc7ae0926 Qemu: add a group kvm to access /dev/kvm eaiser
As a normal user, it is not possible to use qemu with KVM. This is bad
because it is better when it is possible to start the machine with a
less privileged user. To achieve this a group KVM is created and the
access to /dev/kvm is allowed for this group. So every user in this
group can use qemu with KVM.
This change is also useful for libvirt because the VMs can be started
with user nobody and group kvm.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-20 16:25:29 +01:00
Michael Tremer
1dd61e0594 Rootfile update
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-19 09:54:32 +01:00
Michael Tremer
0204a3c5bf core104: Ship updated shadow-utils and remove old files
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-17 13:07:10 +01:00
Marcel Lorenz
4787315b6e shadow: update to 4.2.1
The "groups" from the coreutils package is used (/usr/bin/groups)

Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-17 13:03:34 +01:00
Michael Tremer
1bddfa5abf core104: Ship updated pakfire functions.sh
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-16 09:34:24 +01:00
Jonatan Schlag
e6fd1f2d38 Fix in pakfire functions.sh
The if statement in line 89 and 99 are useless with the -e
conditional expression because it returns true if the path ist a
regular file or a directory.
So "/etc/init.d/ " returns true and "/etc/init.d/avahi" return also true,
but the statement should return only true if we have a regular file.
So -f if the right conditional expression, and we only try to execute
the init script if the path "/etc/init.d/${1}" points to a regular file.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-16 09:33:26 +01:00
Jonatan Schlag
77d989a667 Change the default libvirt remote user to libvirt-remote
It is possible to communicate per ssh via a socket with libvirt. It is
not a good idea to do this as root, so the remote user is now
libvirt-remote. Only this user or users in the group libvirt-remote can
communicate with the socket.
The user libvirt-remote is created without a password. The users have to
set a password for this user after installation.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-16 09:32:49 +01:00
Michael Tremer
6c2720cac6 core104: Add ntp update
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-16 09:28:34 +01:00
Matthias Fischer
6ce32b1d84 ntp: Update to 4.2.8p8
It addresses 1 high- and 4 low--severity security issues, 4 bugfixes,
and contains other improvements over 4.2.8p7.

For a complete list, see:
http://support.ntp.org/bin/view/Main/SecurityNotice#Recent_Vulnerabilities

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-16 09:27:56 +01:00
Matthias Fischer
51f69a4653 ntp: Update to 4.2.8p7
It addresses 11 low- and medium-severity security issues, 16 bugfixes,
and contains other improvements over 4.2.8p6.

For a complete list, see:
http://support.ntp.org/bin/view/Main/SecurityNotice#Recent_Vulnerabilities

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-16 09:27:53 +01:00
Matthias Fischer
2e45b1125b ntp: Update to 4.2.8p6
"...addresses 9 low- and medium-severity security issues, 10 bugfixes,
and contains other improvements over 4.2.8p5."

For a complete list, see:
http://support.ntp.org/bin/view/Main/SecurityNotice#Recent_Vulnerabilities

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-16 09:27:50 +01:00
Michael Tremer
44285d92a2 core104: Add wget update
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-16 09:26:55 +01:00
Matthias Fischer
e072f094e6 wget: Update to 1.18
Excerpt from annoncement:

"This version fixes a security vulnerability (CVE-2016-4971) present in
all old versions of wget.  The vulnerability was discovered by Dawid
Golunski which were reported to us by Beyond Security's SecuriTeam.

On a server redirect from HTTP to a FTP resource, wget would trust the
HTTP server and uses the name in the redirected URL as the destination
filename.
This behaviour was changed and now it works similarly as a redirect from
HTTP to another HTTP resource so the original name is used as
the destination file.  To keep the previous behaviour the user must
provide --trust-server-names."

Best,
Mat-backfromholidays-thias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-16 09:26:35 +01:00
Matthias Fischer
6118218c19 wget: Update to 1.17.1
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-16 09:26:31 +01:00
Michael Tremer
b6c0145236 Start Core Update 104
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-16 09:24:22 +01:00
Michael Tremer
6bff907d71 core103: Restart squid and rebuild cache
The swap.state file may be broken and so we delete this here and
let squid rebuild the cache at the next start.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-15 18:47:29 +01:00
Arne Fitzenreiter
0953c087cf finish core 103
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-06-13 21:40:00 +02:00
Arne Fitzenreiter
6621f8bb27 rootfile updates: newt, linux-rpi
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-06-13 21:37:11 +02:00
Arne Fitzenreiter
48c8961a4f libvirt: move initskript to package.
this also fix build on arm.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-06-13 07:19:05 +02:00
Arne Fitzenreiter
45b0b91e76 expect: fix toolchain build on arm.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-06-11 16:02:34 +02:00
Arne Fitzenreiter
fe8ecc26d2 core103: forgot to add the packages
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-06-11 16:00:50 +02:00
Arne Fitzenreiter
e2dbe078fe core103: Ship more updated files and packages.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-06-11 09:19:10 +02:00
Michael Tremer
3855b7d33f core103: Ship updated files and packages
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-03 16:42:01 +01:00
Michael Tremer
363e358f19 Bump toolchain version
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-03 16:23:59 +01:00
Heino Gutschmidt
ecc9c73bb5 BUG11131: fix errormessage when more ipsec subnets defined
When having more than one subnet in an ipsec connection it is not
possible to create a new openvpn static subnet.

Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
Signed-off-by: Heino Gutschmidt <heino.gutschmidt@managedhosting.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-03 16:19:49 +01:00
Marcel Lorenz
ec149ba026 ncurses: update to 6.0 and rename 5.9 to ncurses-compat v3
This patch updates the ncurses to 6.0. The old 5.9 are renamed to ncurses-compat.
The compat makes the old libs maintainable and the compat rootfile is cleaned up.
The 6.0 is build after 5.9 and all IPFire componentes will build with 6.0
In version 6 only the wide-character libraries are build. The are usable
in both multibyte and traditional 8-bit locales while normal libraries work
properly only in 8-bit locales. The toolchain is only bild with 6.0.

Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-03 16:19:36 +01:00
Marcel Lorenz
bed16caeb9 pkg-config: update lfs to build in toolchain
This is needed by ncureses 6.0

Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-03 16:19:34 +01:00
Marcel Lorenz
c935a26988 igmpproxy: fix build fail and move binary to /usr/sbin
Add "--prefix=/usr" to lfs file

Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-02 15:34:11 +01:00
Matthias Fischer
40ede5ecb0 log.dat: Fix identation for clamav
Fixes unneeded tabs in 'log.dat'.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-01 22:48:28 +01:00
Marcel Lorenz
55118ae9aa findutils: update to 4.6.0
Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-01 22:46:10 +01:00
Marcel Lorenz
17e1edad4c expect: update to 5.45
Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-01 22:43:47 +01:00
Marcel Lorenz
7cf3a80b47 coreutils: update to 8.25 v3
Coreutils 8.25 needs the automake 1.15
I have send this patch earlier.
Plaese merge automake before coreutils 8.25

Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-01 22:40:05 +01:00
Marcel Lorenz
4900fdc963 automake: update to 1.15
Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-01 22:40:00 +01:00
Michael Tremer
104fd18530 libyajl: Fix broken syntax
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-01 22:32:33 +01:00
Jonatan Schlag
272ac1b454 New package libvirt
Libvirt is buidl only on i585 and x86_64 because qemu is build only
on this arches.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-01 22:26:01 +01:00
Jonatan Schlag
15c80cec1b New package libyajl
libyajl is a dependency of libvirt

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-01 22:25:06 +01:00
Jonatan Schlag
10c47fc9e4 Ship gettext, gettext.sh, envsubst
Libvirt needs gettest.sh gettext and envsubst for the libvirt-guests
init script.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-01 22:22:34 +01:00
Jonatan Schlag
534199c289 New package libpciaccess
libpciacces is a dependdency of libvirt

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-01 22:22:33 +01:00
Jonatan Schlag
7e39a89312 New package util-macros
This package is a build dependency of libpciaccess, we do not need this
as a package. That's why the rootfiles goes into common and all lines
are excluded.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-01 22:22:31 +01:00
Jonatan Schlag
7b616db4e2 Network: add macvtap mode
This change make it possible to use a macvtap interface as a
standard interface (green0).
This is required by libvirt, because libvirt adds macvtap interfaces to
the physical interface, but this causes a problem. A VM  with this
configuration can communicate with the whole network,
but not with the Host (IPFire).
To solve this problem, the host interface must be also a macvtap interface.
This is achieved by:
1. In /var/ipfire/ethernet/settings the mode of a interface could set
with GREEN_MODE= ...
When the mode is macvtap the physical interface is renamed to green0phys
instead of green0. If the mode is not set the normal configuration is
applied .
2. The  network-hotplug-macvtap script checks if a physical nic ends
with "phys".
When the interface ends with "phys", the script adds a macvtap interface
to the physical nic which is named green0. The MAC address of this
interface is set to the MAC address of the physical nic. The MAC address
of the physical is set to a random value. We do this because the MAC
address of green0 should not change.
All services, IP addresses then binds to the macvatap interface, the
physical nic is not used.
PS.:  The script works also with the orange or blue interface, just
replace green with orange or blue.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-01 22:22:29 +01:00
Michael Tremer
48396bdffe buildsystem: Escape curly brackets
Newer versions of perl complain about using unescaped
left curly brackets.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-01 22:17:10 +01:00
Matthias Fischer
9b39654d9e log.dat: Added 'squid' and 'snort' plus translations
Added 'squid' and 'snort' to section dropdown in LOGS / SYSTEM LOGS,
added translations.

Added translation string for 'web proxy' in '30-network.menu'.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-01 22:16:12 +01:00
Matthias Fischer
9494c6112a log.dat: fix missing quotation marks for 'ddns'
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-01 22:16:10 +01:00
Matthias Fischer
b78a8742ae squid 3.5.19: latest patches from upstream
For details, see:
http://www.squid-cache.org/Versions/v3/3.5/changesets/

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-01 22:12:15 +01:00
Marcel Lorenz
7f5cdd2bfd flex: update rootfile
Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-01 22:07:51 +01:00
Arne Fitzenreiter
55c645ba48 samba: import updated rpc security patchset from red hat.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-05-23 23:08:01 +02:00
Arne Fitzenreiter
43d91dad51 gcc: fix bootstrap with gcc-6
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-05-22 10:56:57 +02:00
Matthias Fischer
3fffbe09e2 dnsmasq: Update to 2.76
Final version.

For a detailed changelog, see:
http://www.thekelleys.org.uk/dnsmasq/CHANGELOG

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-05-19 18:25:21 +01:00
Matthias Fischer
0d9f821661 Midnight Commander: Update to 4.8.17
For Details see:
http://www.midnight-commander.org/wiki/NEWS-4.8.17

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-05-18 22:23:53 +01:00