View | Details | Raw Unified | Return to bug 8994
Collapse All | Expand All

(-)debian/univention-mobile-client.dirs (-1 / +2 lines)
Lines 1-6 Link Here
1
etc/init.d
1
etc/init.d
2
usr/bin
2
usr/bin
3
etc/ifplugd/action.d/
3
etc/network/if-up.d/
4
etc/network/if-down.d/
4
etc/bootsplash/themes/mobileclient
5
etc/bootsplash/themes/mobileclient
5
etc/bootsplash/themes/mobileclient/images
6
etc/bootsplash/themes/mobileclient/images
6
etc/bootsplash/themes/mobileclient/config
7
etc/bootsplash/themes/mobileclient/config
(-)debian/control (-3 / +2 lines)
Lines 61-67 Link Here
61
Architecture: all
61
Architecture: all
62
Pre-Depends: univention-config-registry (>=0.06), univention-pam
62
Pre-Depends: univention-config-registry (>=0.06), univention-pam
63
Conflicts: univention-application-server
63
Conflicts: univention-application-server
64
Depends: openssh-server, univention-policy-tools, univention-updater, ldap-utils, ntp | ntp-server, univention-x-core, univention-join, libnss-passwdcache, libpam-passwdcache, menu, univention-directory-listener, univention-heimdal-member, univention-ldap-client, nscd, vim, bind9-host, strace, anacron, ifplugd, univention-mail-postfix-forward, nfs-common, univention-directory-policy, univention-printclient, univention-pkgdb-tools, univention-gdm-sessions, python-univention-directory-manager, univention-firewall, univention-lilo | univention-grub, univention-system-setup, hibernate, acpid, univention-archive-key
64
Depends: openssh-server, univention-policy-tools, univention-updater, ldap-utils, ntp | ntp-server, univention-x-core, univention-join, libnss-passwdcache, libpam-passwdcache, menu, univention-directory-listener, univention-heimdal-member, univention-ldap-client, nscd, vim, bind9-host, strace, anacron, ifplugd | network-manager, univention-mail-postfix-forward, nfs-common, univention-directory-policy, univention-printclient, univention-pkgdb-tools, univention-gdm-sessions, python-univention-directory-manager, univention-firewall, univention-lilo | univention-grub, univention-system-setup, hibernate, acpid, univention-archive-key
65
Description: UCS - Mobile Client
65
Description: UCS - Mobile Client
66
 This is a Meta-package, that sets up a UCS mobile client
66
 This is a Meta-package, that sets up a UCS mobile client
67
 .
67
 .
Lines 76-82 Link Here
76
Conflicts: univention-application-server, univention-fat-client, univention-fat-client-small
76
Conflicts: univention-application-server, univention-fat-client, univention-fat-client-small
77
Replaces: univention-fat-client, univention-fat-client-small
77
Replaces: univention-fat-client, univention-fat-client-small
78
Provides: univention-fat-client, univention-fat-client-small
78
Provides: univention-fat-client, univention-fat-client-small
79
Depends: openssh-server, univention-policy-tools, univention-updater, ldap-utils, ntp | ntp-server, univention-x-core, univention-join, libnss-passwdcache, libpam-passwdcache, menu, univention-directory-listener, univention-heimdal-member, univention-ldap-client, nscd, vim, bind9-host, strace, anacron, ifplugd, univention-mail-postfix-forward, nfs-common, univention-directory-policy, univention-printclient, univention-pkgdb-tools, univention-gdm-sessions, python2.4-univention-admin | python2.4-univention-admin-2005, univention-firewall, univention-lilo | univention-grub, univention-system-setup, acpid, univention-archive-key
79
Depends: openssh-server, univention-policy-tools, univention-updater, ldap-utils, ntp | ntp-server, univention-x-core, univention-join, libnss-passwdcache, libpam-passwdcache, menu, univention-directory-listener, univention-heimdal-member, univention-ldap-client, nscd, vim, bind9-host, strace, anacron, ifplugd | network-manager, univention-mail-postfix-forward, nfs-common, univention-directory-policy, univention-printclient, univention-pkgdb-tools, univention-gdm-sessions, python2.4-univention-admin | python2.4-univention-admin-2005, univention-firewall, univention-lilo | univention-grub, univention-system-setup, acpid, univention-archive-key
80
Description: UCS - Managed Client
80
Description: UCS - Managed Client
81
 This is a Meta-package, that sets up a UCS fat client
81
 This is a Meta-package, that sets up a UCS fat client
82
 .
82
 .
Lines 96-99 Link Here
96
 an integrated, directory driven solution for managing
96
 an integrated, directory driven solution for managing
97
 corporate environments. For more information about UCS,
97
 corporate environments. For more information about UCS,
98
 refer to: http://www.univention.de/
98
 refer to: http://www.univention.de/
99
(-)debian/univention-managed-client.links (+2 lines)
Line 0 Link Here
1
usr/share/univention-managed-client/check_connection etc/network/if-up.d/05-auth-methods.sh
2
usr/share/univention-managed-client/check_connection etc/network/if-down.d/05-auth-methods.sh
(-)debian/changelog (+7 lines)
Lines 1-3 Link Here
1
univention-server (2.2.13-1) unstable; urgency=low
2
3
  * use scripts in /etc/network/if-(up|down).d/ instead if ifplugd specific
4
    directories; so the scripts also work with network manager
5
6
 -- Andreas B�sching <buesching@univention.de>  Thu,  8 May 2008 19:53:08 +0200
7
1
univention-server (2.2.12-1) unstable; urgency=low
8
univention-server (2.2.12-1) unstable; urgency=low
2
9
3
  * redirect the normal output to /dev/null in check_connection
10
  * redirect the normal output to /dev/null in check_connection
(-)debian/rules (-12 / +5 lines)
Lines 78-102 Link Here
78
78
79
	install -m 755 managed-client debian/univention-managed-client/etc/init.d/
79
	install -m 755 managed-client debian/univention-managed-client/etc/init.d/
80
	install -m 755 univention-domain-connection debian/univention-managed-client/usr/bin/
80
	install -m 755 univention-domain-connection debian/univention-managed-client/usr/bin/
81
	install -m 755 etc/ifplugd/action.d/nscd debian/univention-managed-client/etc/ifplugd/action.d/nscd
81
82
	install -m 755 etc/ifplugd/action.d/gdm debian/univention-managed-client/etc/ifplugd/action.d/gdm
82
	install -m 755 etc/network/if-up.d/*.sh debian/univention-managed-client/etc/network/if-up.d
83
	install -m 755 etc/ifplugd/action.d/mount debian/univention-managed-client/etc/ifplugd/action.d/mount
83
	install -m 755 etc/network/if-down.d/*.sh debian/univention-managed-client/etc/network/if-down.d
84
	install -m 755 univention-directory-policy/univention-set-ldap-server debian/univention-managed-client/usr/lib/univention-directory-policy/
84
	install -m 755 univention-directory-policy/univention-set-ldap-server debian/univention-managed-client/usr/lib/univention-directory-policy/
85
	install -m 755 check_connection debian/univention-managed-client/usr/share/univention-managed-client/
85
	install -m 755 check_connection debian/univention-managed-client/usr/share/univention-managed-client/
86
86
87
	install -m 755 mobile-client debian/univention-mobile-client/etc/init.d/
87
	install -m 755 mobile-client debian/univention-mobile-client/etc/init.d/
88
	install -m 755 check_connection debian/univention-mobile-client/usr/share/univention-mobile-client/
88
	install -m 755 check_connection debian/univention-mobile-client/usr/share/univention-mobile-client/
89
	install -m 755 etc/ifplugd/action.d/nscd debian/univention-mobile-client/etc/ifplugd/action.d/nscd
89
	install -m 755 etc/network/if-up.d/*.sh debian/univention-mobile-client/etc/network/if-up.d
90
	install -m 755 etc/ifplugd/action.d/gdm debian/univention-mobile-client/etc/ifplugd/action.d/gdm
90
	install -m 755 etc/network/if-down.d/*.sh debian/univention-mobile-client/etc/network/if-down.d
91
	install -m 755 etc/ifplugd/action.d/mount debian/univention-mobile-client/etc/ifplugd/action.d/mount
92
	install -m 755 univention-directory-policy/univention-set-ldap-server debian/univention-mobile-client/usr/lib/univention-directory-policy/
91
	install -m 755 univention-directory-policy/univention-set-ldap-server debian/univention-mobile-client/usr/lib/univention-directory-policy/
93
92
94
	# add ntpd information used by univention-console
95
	echo "Timeserver;ntp-server;/usr/sbin/ntpd;23" > debian/univention-server-master/etc/univention/daemons/ntpd
96
	echo "Timeserver;ntp-server;/usr/sbin/ntpd;23" > debian/univention-server-backup/etc/univention/daemons/ntpd
97
	echo "Timeserver;ntp-server;/usr/sbin/ntpd;23" > debian/univention-server-slave/etc/univention/daemons/ntpd
98
	echo "Timeserver;ntp-server;/usr/sbin/ntpd;23" > debian/univention-server-member/etc/univention/daemons/ntpd
99
100
	univention-install-baseconfig
93
	univention-install-baseconfig
101
94
102
binary-arch: build install
95
binary-arch: build install
(-)debian/univention-mobile-client.links (+2 lines)
Line 0 Link Here
1
usr/share/univention-mobile-client/check_connection etc/network/if-up.d/05-auth-methods.sh
2
usr/share/univention-mobile-client/check_connection etc/network/if-down.d/05-auth-methods.sh
(-)debian/univention-managed-client.dirs (-1 / +2 lines)
Lines 1-7 Link Here
1
etc/init.d
1
etc/init.d
2
etc/cron.d
2
etc/cron.d
3
usr/bin
3
usr/bin
4
etc/ifplugd/action.d/
4
etc/network/if-up.d/
5
etc/network/if-down.d/
5
etc/bootsplash/themes/managedclient/images
6
etc/bootsplash/themes/managedclient/images
6
etc/bootsplash/themes/managedclient/config
7
etc/bootsplash/themes/managedclient/config
7
usr/share/apps/kdesktop/DesktopLinks
8
usr/share/apps/kdesktop/DesktopLinks
(-)etc/network/if-up.d/50-gdm.sh (+36 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# Univention Server
4
#  network script: reloads GDM configuration when network state
5
#  changes
6
#
7
# Copyright (C) 2004, 2005, 2006, 2007, 2008 Univention GmbH
8
#
9
# http://www.univention.de/
10
#
11
# All rights reserved.
12
#
13
# This program is free software; you can redistribute it and/or modify
14
# it under the terms of the GNU General Public License version 2 as
15
# published by the Free Software Foundation.
16
#
17
# Binary versions of this file provided by Univention to you as
18
# well as other copyrighted, protected or trademarked materials like
19
# Logos, graphics, fonts, specific documentations and configurations,
20
# cryptographic keys etc. are subject to a license agreement between
21
# you and Univention.
22
#
23
# This program is distributed in the hope that it will be useful,
24
# but WITHOUT ANY WARRANTY; without even the implied warranty of
25
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26
# GNU General Public License for more details.
27
#
28
# You should have received a copy of the GNU General Public License
29
# along with this program; if not, write to the Free Software
30
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
31
32
set -e
33
34
if [ -x /etc/init.d/gdm ]; then
35
	/etc/init.d/gdm reload
36
fi
0
  + *
37
  + *
(-)etc/network/if-up.d/15-nscd.sh (+37 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# Univention Server
4
#  network script: set authentication methods
5
#
6
# Copyright (C) 2004, 2005, 2006, 2007, 2008 Univention GmbH
7
#
8
# http://www.univention.de/
9
#
10
# All rights reserved.
11
#
12
# This program is free software; you can redistribute it and/or modify
13
# it under the terms of the GNU General Public License version 2 as
14
# published by the Free Software Foundation.
15
#
16
# Binary versions of this file provided by Univention to you as
17
# well as other copyrighted, protected or trademarked materials like
18
# Logos, graphics, fonts, specific documentations and configurations,
19
# cryptographic keys etc. are subject to a license agreement between
20
# you and Univention.
21
#
22
# This program is distributed in the hope that it will be useful,
23
# but WITHOUT ANY WARRANTY; without even the implied warranty of
24
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25
# GNU General Public License for more details.
26
#
27
# You should have received a copy of the GNU General Public License
28
# along with this program; if not, write to the Free Software
29
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
30
31
set -e
32
33
if [ -x /etc/init.d/nscd ]; then
34
	/etc/init.d/nscd restart
35
	nscd -i passwd
36
	nscd -i group
37
fi
0
  + *
38
  + *
(-)etc/network/if-up.d/20-mount.sh (+37 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# Univention Server
4
#  network script: (re)mounts all entries from /etc/fstab when
5
#  the network link is active
6
#
7
# Copyright (C) 2004, 2005, 2006, 2007, 2008 Univention GmbH
8
#
9
# http://www.univention.de/
10
#
11
# All rights reserved.
12
#
13
# This program is free software; you can redistribute it and/or modify
14
# it under the terms of the GNU General Public License version 2 as
15
# published by the Free Software Foundation.
16
#
17
# Binary versions of this file provided by Univention to you as
18
# well as other copyrighted, protected or trademarked materials like
19
# Logos, graphics, fonts, specific documentations and configurations,
20
# cryptographic keys etc. are subject to a license agreement between
21
# you and Univention.
22
#
23
# This program is distributed in the hope that it will be useful,
24
# but WITHOUT ANY WARRANTY; without even the implied warranty of
25
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26
# GNU General Public License for more details.
27
#
28
# You should have received a copy of the GNU General Public License
29
# along with this program; if not, write to the Free Software
30
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
31
32
set -e
33
34
eval `univention-baseconfig shell ifplugd/action/mount`
35
[ "$ifplugd_action_mount" = "yes" -o "$ifplugd_action_mount" = "true" ] ||  exit 0
36
37
[ -x /bin/mount ] && /bin/mount -a
0
  + *
38
  + *
(-)etc/network/if-down.d/50-gdm.sh (+36 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# Univention Server
4
#  network script: reloads GDM configuration when network state
5
#  changes
6
#
7
# Copyright (C) 2004, 2005, 2006, 2007, 2008 Univention GmbH
8
#
9
# http://www.univention.de/
10
#
11
# All rights reserved.
12
#
13
# This program is free software; you can redistribute it and/or modify
14
# it under the terms of the GNU General Public License version 2 as
15
# published by the Free Software Foundation.
16
#
17
# Binary versions of this file provided by Univention to you as
18
# well as other copyrighted, protected or trademarked materials like
19
# Logos, graphics, fonts, specific documentations and configurations,
20
# cryptographic keys etc. are subject to a license agreement between
21
# you and Univention.
22
#
23
# This program is distributed in the hope that it will be useful,
24
# but WITHOUT ANY WARRANTY; without even the implied warranty of
25
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26
# GNU General Public License for more details.
27
#
28
# You should have received a copy of the GNU General Public License
29
# along with this program; if not, write to the Free Software
30
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
31
32
set -e
33
34
if [ -x /etc/init.d/gdm ]; then
35
	/etc/init.d/gdm reload
36
fi
0
  + *
37
  + *
(-)etc/network/if-down.d/15-nscd.sh (+37 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# Univention Server
4
#  network script: restarts nscd when network state changes
5
#
6
# Copyright (C) 2004, 2005, 2006, 2007, 2008 Univention GmbH
7
#
8
# http://www.univention.de/
9
#
10
# All rights reserved.
11
#
12
# This program is free software; you can redistribute it and/or modify
13
# it under the terms of the GNU General Public License version 2 as
14
# published by the Free Software Foundation.
15
#
16
# Binary versions of this file provided by Univention to you as
17
# well as other copyrighted, protected or trademarked materials like
18
# Logos, graphics, fonts, specific documentations and configurations,
19
# cryptographic keys etc. are subject to a license agreement between
20
# you and Univention.
21
#
22
# This program is distributed in the hope that it will be useful,
23
# but WITHOUT ANY WARRANTY; without even the implied warranty of
24
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25
# GNU General Public License for more details.
26
#
27
# You should have received a copy of the GNU General Public License
28
# along with this program; if not, write to the Free Software
29
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
30
31
set -e
32
33
if [ -x /etc/init.d/nscd ]; then
34
	/etc/init.d/nscd restart
35
	nscd -i passwd
36
	nscd -i group
37
fi
0
  + *
38
  + *
(-)etc/ifplugd/action.d/mount (-45 lines)
Lines 1-45 Link Here
1
#!/bin/sh
2
#
3
# Univention Server
4
#  ifplugd action script: (re)mounts all entries from /etc/fstab when
5
#  the network link is active
6
#
7
# Copyright (C) 2004, 2005, 2006 Univention GmbH
8
#
9
# http://www.univention.de/
10
#
11
# All rights reserved.
12
#
13
# This program is free software; you can redistribute it and/or modify
14
# it under the terms of the GNU General Public License version 2 as
15
# published by the Free Software Foundation.
16
#
17
# Binary versions of this file provided by Univention to you as
18
# well as other copyrighted, protected or trademarked materials like
19
# Logos, graphics, fonts, specific documentations and configurations,
20
# cryptographic keys etc. are subject to a license agreement between
21
# you and Univention.
22
#
23
# This program is distributed in the hope that it will be useful,
24
# but WITHOUT ANY WARRANTY; without even the implied warranty of
25
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26
# GNU General Public License for more details.
27
#
28
# You should have received a copy of the GNU General Public License
29
# along with this program; if not, write to the Free Software
30
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
31
32
set -e
33
34
eval `univention-baseconfig shell ifplugd/action/mount`
35
[ "$ifplugd_action_mount" = "yes" -o "$ifplugd_action_mount" = "true" ] ||  exit 0
36
37
case "$2" in
38
up)
39
	if [ -x /bin/mount ]; then
40
		/bin/mount -a
41
	fi
42
	;;
43
down)
44
	;;
45
esac
(-)etc/ifplugd/action.d/gdm (-45 lines)
Lines 1-45 Link Here
1
#!/bin/sh
2
#
3
# Univention Server
4
#  ifplugd action script: reloads GDM configuration when network state
5
#  changes
6
#
7
# Copyright (C) 2004, 2005, 2006 Univention GmbH
8
#
9
# http://www.univention.de/
10
#
11
# All rights reserved.
12
#
13
# This program is free software; you can redistribute it and/or modify
14
# it under the terms of the GNU General Public License version 2 as
15
# published by the Free Software Foundation.
16
#
17
# Binary versions of this file provided by Univention to you as
18
# well as other copyrighted, protected or trademarked materials like
19
# Logos, graphics, fonts, specific documentations and configurations,
20
# cryptographic keys etc. are subject to a license agreement between
21
# you and Univention.
22
#
23
# This program is distributed in the hope that it will be useful,
24
# but WITHOUT ANY WARRANTY; without even the implied warranty of
25
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26
# GNU General Public License for more details.
27
#
28
# You should have received a copy of the GNU General Public License
29
# along with this program; if not, write to the Free Software
30
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
31
32
set -e
33
34
case "$2" in
35
up)
36
	if [ -x /etc/init.d/gdm ]; then
37
		/etc/init.d/gdm reload
38
	fi
39
	;;
40
down)
41
	if [ -x /etc/init.d/gdm ]; then
42
		/etc/init.d/gdm reload
43
	fi
44
	;;
45
esac
(-)etc/ifplugd/action.d/nscd (-44 lines)
Lines 1-44 Link Here
1
#!/bin/sh
2
#
3
# Univention Server
4
#  ifplugd action script: restarts nscd when network state changes
5
#
6
# Copyright (C) 2004, 2005, 2006 Univention GmbH
7
#
8
# http://www.univention.de/
9
#
10
# All rights reserved.
11
#
12
# This program is free software; you can redistribute it and/or modify
13
# it under the terms of the GNU General Public License version 2 as
14
# published by the Free Software Foundation.
15
#
16
# Binary versions of this file provided by Univention to you as
17
# well as other copyrighted, protected or trademarked materials like
18
# Logos, graphics, fonts, specific documentations and configurations,
19
# cryptographic keys etc. are subject to a license agreement between
20
# you and Univention.
21
#
22
# This program is distributed in the hope that it will be useful,
23
# but WITHOUT ANY WARRANTY; without even the implied warranty of
24
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25
# GNU General Public License for more details.
26
#
27
# You should have received a copy of the GNU General Public License
28
# along with this program; if not, write to the Free Software
29
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
30
31
set -e
32
33
case "$2" in
34
up)
35
	if [ -x /etc/init.d/nscd ]; then
36
		/etc/init.d/nscd restart
37
	fi
38
	;;
39
down)
40
	if [ -x /etc/init.d/nscd ]; then
41
		/etc/init.d/nscd restart
42
	fi
43
	;;
44
esac
(-)check_connection (-2 / +2 lines)
Lines 5-11 Link Here
5
#  connection fails 'ldap' is removed from the list of possible
5
#  connection fails 'ldap' is removed from the list of possible
6
#  authentication methods
6
#  authentication methods
7
#
7
#
8
# Copyright (C) 2004, 2005, 2006 Univention GmbH
8
# Copyright (C) 2004, 2005, 2006, 2007, 2008 Univention GmbH
9
#
9
#
10
# http://www.univention.de/
10
# http://www.univention.de/
11
#
11
#
Lines 43-49 Link Here
43
43
44
44
45
action () {
45
action () {
46
	/etc/ifplugd/ifplugd.action all $1 >/dev/null
46
	run-parts /etc/network/if-${1}.d/ >/dev/null
47
}
47
}
48
48
49
connection_okay=0
49
connection_okay=0

Return to bug 8994