From fedora-cvs-commits at redhat.com Sat Oct 1 00:08:42 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 30 Sep 2005 20:08:42 -0400 Subject: rpms/kernel/devel patch-2.6.14-rc3.bz2.sign, NONE, 1.1 .cvsignore, 1.236, 1.237 kernel-2.6.spec, 1.1587, 1.1588 sources, 1.180, 1.181 upstream, 1.167, 1.168 linux-2.6-ieee1394-stringified-aliases.patch, 1.1, NONE Message-ID: <200510010008.j9108gtZ027048@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv26983 Modified Files: .cvsignore kernel-2.6.spec sources upstream Added Files: patch-2.6.14-rc3.bz2.sign Removed Files: linux-2.6-ieee1394-stringified-aliases.patch Log Message: rc3 --- NEW FILE patch-2.6.14-rc3.bz2.sign --- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: See http://www.kernel.org/signature.html for info iD8DBQBDPdAHyGugalF9Dw4RArRcAJoDs6qYFMJb+yhV0+klIxkUbnSUcQCfe3mB GWuCGtXZecVJwJpDensTx9E= =3sIG -----END PGP SIGNATURE----- Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/.cvsignore,v retrieving revision 1.236 retrieving revision 1.237 diff -u -r1.236 -r1.237 --- .cvsignore 30 Sep 2005 05:04:31 -0000 1.236 +++ .cvsignore 1 Oct 2005 00:08:39 -0000 1.237 @@ -16,3 +16,4 @@ patch-2.6.14-rc2-git6.bz2 patch-2.6.14-rc2-git7.bz2 patch-2.6.14-rc2-git8.bz2 +patch-2.6.14-rc3.bz2 Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v retrieving revision 1.1587 retrieving revision 1.1588 diff -u -r1.1587 -r1.1588 --- kernel-2.6.spec 30 Sep 2005 12:56:14 -0000 1.1587 +++ kernel-2.6.spec 1 Oct 2005 00:08:39 -0000 1.1588 @@ -199,7 +199,7 @@ # # Patches 0 through 100 are meant for core subsystem upgrades # -Patch1: patch-2.6.14-rc2.bz2 +Patch1: patch-2.6.14-rc3.bz2 Patch2: patch-2.6.14-rc2-git8.bz2 # Patches 100 through 500 are meant for architecture patches @@ -308,7 +308,6 @@ Patch1620: linux-2.6.13-knfsd-ctlbits.patch Patch1630: linux-2.6.11-panic-stackdump.patch Patch1640: linux-2.6.11-acpi-thinkpad-c2c3.patch -Patch1650: linux-2.6-ieee1394-stringified-aliases.patch Patch1660: linux-2.6.9-module_version.patch Patch1670: linux-2.6-ide-floppy-eject.patch @@ -542,7 +541,7 @@ # Update to latest upstream. %patch1 -p1 -%patch2 -p1 +#%patch2 -p1 # # Patches 10 through 100 are meant for core subsystem upgrades @@ -735,8 +734,6 @@ %patch1630 -p1 # Blacklist another 'No C2/C3 states' Thinkpad R40e BIOS. %patch1640 -p1 -# Fix module aliases for firedire -%patch1650 -p1 # Add missing MODULE_VERSION tags to some modules. %patch1660 -p1 # Fix eject on ide-floppy. (#158548) @@ -1251,6 +1248,7 @@ %changelog * Fri Sep 30 2005 Dave Jones +- 2.6.14-rc3 - fix eject on ide-floppy. (#158548) * Fri Sep 30 2005 Dave Jones Index: sources =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/sources,v retrieving revision 1.180 retrieving revision 1.181 diff -u -r1.180 -r1.181 --- sources 30 Sep 2005 05:04:32 -0000 1.180 +++ sources 1 Oct 2005 00:08:39 -0000 1.181 @@ -1,3 +1,3 @@ 560f5fadf59f172973e67939868a4cae linux-2.6.13.tar.bz2 -a905c5dfe24055495fcba2f2df4cf728 patch-2.6.14-rc2.bz2 +31e3e9033695eaf48dc32560809f2b8b patch-2.6.14-rc3.bz2 56409644010ca1f24c404448b854a66d patch-2.6.14-rc2-git8.bz2 Index: upstream =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/upstream,v retrieving revision 1.167 retrieving revision 1.168 diff -u -r1.167 -r1.168 --- upstream 30 Sep 2005 05:04:32 -0000 1.167 +++ upstream 1 Oct 2005 00:08:39 -0000 1.168 @@ -1,3 +1,3 @@ linux-2.6.13.tar.bz2 -patch-2.6.14-rc2.bz2 +patch-2.6.14-rc3.bz2 patch-2.6.14-rc2-git8.bz2 --- linux-2.6-ieee1394-stringified-aliases.patch DELETED --- From fedora-cvs-commits at redhat.com Sat Oct 1 00:08:42 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 30 Sep 2005 20:08:42 -0400 Subject: rpms/kernel/devel/configs config-generic,1.63,1.64 Message-ID: <200510010008.j9108gAO027054@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/devel/configs In directory cvs.devel.redhat.com:/tmp/cvs-serv26983/configs Modified Files: config-generic Log Message: rc3 Index: config-generic =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/configs/config-generic,v retrieving revision 1.63 retrieving revision 1.64 diff -u -r1.63 -r1.64 --- config-generic 30 Sep 2005 04:48:35 -0000 1.63 +++ config-generic 1 Oct 2005 00:08:39 -0000 1.64 @@ -1018,6 +1018,7 @@ CONFIG_ATP=m CONFIG_DE600=m CONFIG_DE620=m +CONFIG_CASSINI=m # # Ethernet (1000 Mbit) From fedora-cvs-commits at redhat.com Sat Oct 1 16:16:21 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sat, 1 Oct 2005 12:16:21 -0400 Subject: rpms/perl-PDL/devel perl-PDL.spec,1.17,1.18 Message-ID: <200510011616.j91GGLOY004613@cvs.devel.redhat.com> Author: wtogami Update of /cvs/dist/rpms/perl-PDL/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv4546 Modified Files: perl-PDL.spec Log Message: make tests non-fatal Index: perl-PDL.spec =================================================================== RCS file: /cvs/dist/rpms/perl-PDL/devel/perl-PDL.spec,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- perl-PDL.spec 25 Sep 2005 14:26:40 -0000 1.17 +++ perl-PDL.spec 1 Oct 2005 16:16:18 -0000 1.18 @@ -71,7 +71,7 @@ mv -f "${file}_" "$file" %check || : -make test +make test || : %clean rm -rf $RPM_BUILD_ROOT From fedora-cvs-commits at redhat.com Sat Oct 1 16:18:04 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sat, 1 Oct 2005 12:18:04 -0400 Subject: rpms/memtest86+/devel .cvsignore, 1.13, 1.14 memtest86+.spec, 1.16, 1.17 sources, 1.13, 1.14 Message-ID: <200510011618.j91GI4UQ005502@cvs.devel.redhat.com> Author: wtogami Update of /cvs/dist/rpms/memtest86+/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv5445 Modified Files: .cvsignore memtest86+.spec sources Log Message: 1.65 Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/memtest86+/devel/.cvsignore,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- .cvsignore 29 Jun 2005 13:27:00 -0000 1.13 +++ .cvsignore 1 Oct 2005 16:18:01 -0000 1.14 @@ -1 +1 @@ -memtest86+-1.60.tar.gz +memtest86+-1.65.tar.gz Index: memtest86+.spec =================================================================== RCS file: /cvs/dist/rpms/memtest86+/devel/memtest86+.spec,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- memtest86+.spec 29 Jun 2005 13:27:00 -0000 1.16 +++ memtest86+.spec 1 Oct 2005 16:18:01 -0000 1.17 @@ -5,7 +5,7 @@ Summary: Stand-alone memory tester for x86 and x86-64 computers Name: memtest86+ -Version: 1.60 +Version: 1.65 Release: 1 License: GPL ExclusiveArch: %{ix86} x86_64 @@ -58,7 +58,10 @@ /sbin/new-memtest-pkg --remove %{version} %changelog -* Wed Jun 29 2005 Warren Togami - 1.65-1 +- 1.65 + +* Wed Jun 29 2005 Warren Togami - 1.60-1 - 1.60 * Mon Mar 28 2005 Warren Togami - 1.55.1-1 Index: sources =================================================================== RCS file: /cvs/dist/rpms/memtest86+/devel/sources,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- sources 29 Jun 2005 13:27:00 -0000 1.13 +++ sources 1 Oct 2005 16:18:01 -0000 1.14 @@ -1 +1 @@ -35bfeca7a704403068de71a7b480bf5f memtest86+-1.60.tar.gz +b3a18166532ae84aea20425c83626651 memtest86+-1.65.tar.gz From fedora-cvs-commits at redhat.com Sat Oct 1 19:06:33 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sat, 1 Oct 2005 15:06:33 -0400 Subject: rpms/openoffice.org/devel workspace.atkbridge.patch,1.3,1.4 Message-ID: <200510011906.j91J6XRR000832@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/openoffice.org/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv797 Modified Files: workspace.atkbridge.patch Log Message: better bridge launching workspace.atkbridge.patch: SRC680_m130/desktop/scripts/soffice.sh | 3 comphelper/source/misc/accessiblewrapper.cxx | 5 openoffice.org/vcl/unx/gtk/a11y/TODO | 49 + openoffice.org/vcl/unx/gtk/a11y/atkaction.cxx | 93 ++ openoffice.org/vcl/unx/gtk/a11y/atkcomponent.cxx | 206 +++++ openoffice.org/vcl/unx/gtk/a11y/atkeditabletext.cxx | 96 ++ openoffice.org/vcl/unx/gtk/a11y/atkfactory.cxx | 203 +++++ openoffice.org/vcl/unx/gtk/a11y/atkhypertext.cxx | 230 ++++++ openoffice.org/vcl/unx/gtk/a11y/atkimage.cxx | 59 + openoffice.org/vcl/unx/gtk/a11y/atklistener.cxx | 387 ++++++++++ openoffice.org/vcl/unx/gtk/a11y/atklistener.hxx | 88 ++ openoffice.org/vcl/unx/gtk/a11y/atkselection.cxx | 120 +++ openoffice.org/vcl/unx/gtk/a11y/atktable.cxx | 331 ++++++++ openoffice.org/vcl/unx/gtk/a11y/atktext.cxx | 226 ++++++ openoffice.org/vcl/unx/gtk/a11y/atkutil.cxx | 425 +++++++++++ openoffice.org/vcl/unx/gtk/a11y/atkutil.hxx | 45 + openoffice.org/vcl/unx/gtk/a11y/atkvalue.cxx | 69 + openoffice.org/vcl/unx/gtk/a11y/atkwrapper.cxx | 676 ++++++++++++++++++ openoffice.org/vcl/unx/gtk/a11y/atkwrapper.hxx | 84 ++ openoffice.org/vcl/unx/gtk/a11y/makefile.mk | 108 ++ openoffice.org/vcl/unx/inc/plugins/gtk/atkfactory.hxx | 51 + vcl/prj/build.lst | 3 vcl/source/app/svapp.cxx | 10 vcl/source/window/menu.cxx | 9 vcl/unx/gtk/app/gtkinst.cxx | 1 vcl/unx/gtk/window/gtkframe.cxx | 193 +++++ vcl/unx/inc/plugins/gtk/gtkframe.hxx | 8 vcl/util/makefile.mk | 1 28 files changed, 3764 insertions(+), 15 deletions(-) Index: workspace.atkbridge.patch =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/devel/workspace.atkbridge.patch,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- workspace.atkbridge.patch 30 Sep 2005 14:39:30 -0000 1.3 +++ workspace.atkbridge.patch 1 Oct 2005 19:06:31 -0000 1.4 @@ -4116,11 +4116,13 @@ $(SLB)$/gtkwin.lib --- SRC680_m130/desktop/scripts/soffice.gail.sh 2005-09-30 15:34:21.000000000 +0100 +++ SRC680_m130/desktop/scripts/soffice.sh 2005-09-30 15:34:56.000000000 +0100 -@@ -35,6 +35,7 @@ +@@ -35,6 +35,9 @@ #************************************************************************* if [ -z $SAL_USE_VCLPLUGIN ]; then export SAL_USE_VCLPLUGIN=gtk; fi -+if [ $GNOME_ACCESSIBILITY ]; then export GTK_MODULES=gail:atk-bridge; fi ++if [ true == `gconftool-2 -g "/desktop/gnome/interface/accessibility"` ]; then ++export GTK_MODULES="gail:atk-bridge $GTK_MODULES" ++fi # # STAR_PROFILE_LOCKING_DISABLED=1 From fedora-cvs-commits at redhat.com Sat Oct 1 19:08:04 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sat, 1 Oct 2005 15:08:04 -0400 Subject: rpms/openoffice.org/devel openoffice.org.spec,1.498,1.499 Message-ID: <200510011908.j91J84pj001594@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/openoffice.org/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv1565 Modified Files: openoffice.org.spec Log Message: make basic accessibility possible Index: openoffice.org.spec =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/devel/openoffice.org.spec,v retrieving revision 1.498 retrieving revision 1.499 diff -u -r1.498 -r1.499 --- openoffice.org.spec 30 Sep 2005 14:39:30 -0000 1.498 +++ openoffice.org.spec 1 Oct 2005 19:08:02 -0000 1.499 @@ -1,5 +1,5 @@ %define ooo2ver 1 -%define ooo_rpm_release 1.cmc +%define ooo_rpm_release 2 %define build_fc5 1 %define build_fc4 0 %define build_rhel4 0 @@ -3242,7 +3242,7 @@ %changelog * Thu Sep 29 2005 Caolan McNamara - 1:2.0.0-1.2 -- add workspace.atkbridge for rh#169323# +- add workspace.atkbridge for rh#169323# acessibility * Mon Sep 26 2005 Caolan McNamara - 1:2.0.0-1.1 - release candidate 1 From fedora-cvs-commits at redhat.com Sat Oct 1 19:08:25 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sat, 1 Oct 2005 15:08:25 -0400 Subject: rpms/openoffice.org/devel openoffice.org.spec,1.499,1.500 Message-ID: <200510011908.j91J8PGV001790@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/openoffice.org/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv1755 Modified Files: openoffice.org.spec Log Message: make basic accessibility possible Index: openoffice.org.spec =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/devel/openoffice.org.spec,v retrieving revision 1.499 retrieving revision 1.500 diff -u -r1.499 -r1.500 --- openoffice.org.spec 1 Oct 2005 19:08:02 -0000 1.499 +++ openoffice.org.spec 1 Oct 2005 19:08:22 -0000 1.500 @@ -3242,7 +3242,7 @@ %changelog * Thu Sep 29 2005 Caolan McNamara - 1:2.0.0-1.2 -- add workspace.atkbridge for rh#169323# acessibility +- add mmeeks workspace.atkbridge for rh#169323# acessibility * Mon Sep 26 2005 Caolan McNamara - 1:2.0.0-1.1 - release candidate 1 From fedora-cvs-commits at redhat.com Sun Oct 2 03:54:56 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sat, 1 Oct 2005 23:54:56 -0400 Subject: rpms/gnome-icon-theme/devel gnome-icon-theme.spec,1.22,1.23 Message-ID: <200510020354.j923su3C028597@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/gnome-icon-theme/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv28481 Modified Files: gnome-icon-theme.spec Log Message: Silence gtk-update-icon-cache Index: gnome-icon-theme.spec =================================================================== RCS file: /cvs/dist/rpms/gnome-icon-theme/devel/gnome-icon-theme.spec,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- gnome-icon-theme.spec 8 Sep 2005 14:25:04 -0000 1.22 +++ gnome-icon-theme.spec 2 Oct 2005 03:54:52 -0000 1.23 @@ -1,7 +1,7 @@ Summary: Base gnome icons Name: gnome-icon-theme Version: 2.12.0 -Release: 1 +Release: 2 Source0: %{name}-%{version}.tar.bz2 Source1: external-icons-2.10.1-2.tar.gz License: GPL @@ -77,7 +77,9 @@ %post for dir in /usr/share/icons/*; do if test -d "$dir"; then - /usr/bin/gtk-update-icon-cache --quiet $dir + if test -f "$dir/index.theme"; then + /usr/bin/gtk-update-icon-cache --quiet $dir + fi fi done @@ -88,6 +90,10 @@ %{_datadir}/pkgconfig/gnome-icon-theme.pc %changelog +* Sat Oct 1 2005 Matthias Clasen - 2.12.0-2 +- Only call gtk-update-icon-cache on directories which have a + theme index file + * Thu Sep 8 2005 Matthias Clasen - 2.12.0-1 - update to 2.12.0 From fedora-cvs-commits at redhat.com Sun Oct 2 04:33:15 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 00:33:15 -0400 Subject: rpms/gnome-screensaver/devel gnome-screensaver.spec,1.9,1.10 Message-ID: <200510020433.j924XFl6002740@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/gnome-screensaver/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv2724 Modified Files: gnome-screensaver.spec Log Message: fix filelists Index: gnome-screensaver.spec =================================================================== RCS file: /cvs/dist/rpms/gnome-screensaver/devel/gnome-screensaver.spec,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- gnome-screensaver.spec 29 Sep 2005 19:55:51 -0000 1.9 +++ gnome-screensaver.spec 2 Oct 2005 04:33:11 -0000 1.10 @@ -85,8 +85,10 @@ %{_datadir}/applications/gnome-screensaver-preferences.desktop %{_datadir}/gnome-screensaver/* %{_datadir}/pixmaps/backgrounds/* +%{_datadir}/desktop-directories/gnome-screensaver.directory %{_sysconfdir}/gconf/schemas/*.schemas %{_sysconfdir}/xdg/menus/preferences-post-merged/* +%{_sysconfdir}/xdg/menus/gnome-screensavers.menu %{_sysconfdir}/pam.d/* %changelog From fedora-cvs-commits at redhat.com Sun Oct 2 05:04:36 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 01:04:36 -0400 Subject: rpms/kernel/devel patch-2.6.14-rc3-git1.bz2.sign, NONE, 1.1 .cvsignore, 1.237, 1.238 kernel-2.6.spec, 1.1588, 1.1589 sources, 1.181, 1.182 upstream, 1.168, 1.169 patch-2.6.14-rc2-git8.bz2.sign, 1.1, NONE Message-ID: <200510020504.j9254aEV020372@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv20334 Modified Files: .cvsignore kernel-2.6.spec sources upstream Added Files: patch-2.6.14-rc3-git1.bz2.sign Removed Files: patch-2.6.14-rc2-git8.bz2.sign Log Message: git1 --- NEW FILE patch-2.6.14-rc3-git1.bz2.sign --- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: See http://www.kernel.org/signature.html for info iD8DBQBDPlTGyGugalF9Dw4RAhnKAJ9p3aXHexbQRM8PGfumG7m9OMvZPQCdHnDD lcQjVFPS64usNAw2f9LDJ0I= =G8TZ -----END PGP SIGNATURE----- Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/.cvsignore,v retrieving revision 1.237 retrieving revision 1.238 diff -u -r1.237 -r1.238 --- .cvsignore 1 Oct 2005 00:08:39 -0000 1.237 +++ .cvsignore 2 Oct 2005 05:04:23 -0000 1.238 @@ -1,19 +1,6 @@ -linux-2.6.*.tar.bz2 -patch-2.6.*-bk*.bz2 -patch-2.6.*-rc*.bz2 -patch-2.6.*-final*.bz2 kernel-2.6.*.config temp-* kernel-2.6.13 linux-2.6.13.tar.bz2 -patch-2.6.14-rc1-git4.bz2 -patch-2.6.14-rc2.bz2 -patch-2.6.14-rc2-git1.bz2 -patch-2.6.14-rc2-git2.bz2 -patch-2.6.14-rc2-git3.bz2 -patch-2.6.14-rc2-git4.bz2 -patch-2.6.14-rc2-git5.bz2 -patch-2.6.14-rc2-git6.bz2 -patch-2.6.14-rc2-git7.bz2 -patch-2.6.14-rc2-git8.bz2 patch-2.6.14-rc3.bz2 +patch-2.6.14-rc3-git1.bz2 Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v retrieving revision 1.1588 retrieving revision 1.1589 diff -u -r1.1588 -r1.1589 --- kernel-2.6.spec 1 Oct 2005 00:08:39 -0000 1.1588 +++ kernel-2.6.spec 2 Oct 2005 05:04:23 -0000 1.1589 @@ -200,7 +200,7 @@ # Patches 0 through 100 are meant for core subsystem upgrades # Patch1: patch-2.6.14-rc3.bz2 -Patch2: patch-2.6.14-rc2-git8.bz2 +Patch2: patch-2.6.14-rc3-git1.bz2 # Patches 100 through 500 are meant for architecture patches Patch100: linux-2.6-bzimage.patch @@ -541,7 +541,7 @@ # Update to latest upstream. %patch1 -p1 -#%patch2 -p1 +%patch2 -p1 # # Patches 10 through 100 are meant for core subsystem upgrades @@ -1247,6 +1247,9 @@ %endif %changelog +* Sun Oct 02 2005 Dave Jones +- 2.6.14-rc3-git1 + * Fri Sep 30 2005 Dave Jones - 2.6.14-rc3 - fix eject on ide-floppy. (#158548) Index: sources =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/sources,v retrieving revision 1.181 retrieving revision 1.182 diff -u -r1.181 -r1.182 --- sources 1 Oct 2005 00:08:39 -0000 1.181 +++ sources 2 Oct 2005 05:04:24 -0000 1.182 @@ -1,3 +1,3 @@ 560f5fadf59f172973e67939868a4cae linux-2.6.13.tar.bz2 31e3e9033695eaf48dc32560809f2b8b patch-2.6.14-rc3.bz2 -56409644010ca1f24c404448b854a66d patch-2.6.14-rc2-git8.bz2 +218d9ba38582eb967f3bae886bcdf30a patch-2.6.14-rc3-git1.bz2 Index: upstream =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/upstream,v retrieving revision 1.168 retrieving revision 1.169 diff -u -r1.168 -r1.169 --- upstream 1 Oct 2005 00:08:39 -0000 1.168 +++ upstream 2 Oct 2005 05:04:24 -0000 1.169 @@ -1,3 +1,3 @@ linux-2.6.13.tar.bz2 patch-2.6.14-rc3.bz2 -patch-2.6.14-rc2-git8.bz2 +patch-2.6.14-rc3-git1.bz2 --- patch-2.6.14-rc2-git8.bz2.sign DELETED --- From fedora-cvs-commits at redhat.com Sun Oct 2 05:05:50 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 01:05:50 -0400 Subject: rpms/tsclient/devel .cvsignore, 1.4, 1.5 sources, 1.4, 1.5 tsclient.spec, 1.7, 1.8 Message-ID: <200510020505.j9255o4m020674@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/tsclient/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv20624 Modified Files: .cvsignore sources tsclient.spec Log Message: 0.140 Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/tsclient/devel/.cvsignore,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- .cvsignore 9 Sep 2004 13:33:00 -0000 1.4 +++ .cvsignore 2 Oct 2005 05:05:42 -0000 1.5 @@ -1 +1,2 @@ tsclient-0.132.tar.gz +tsclient-0.140.tar.gz Index: sources =================================================================== RCS file: /cvs/dist/rpms/tsclient/devel/sources,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- sources 9 Sep 2004 13:33:00 -0000 1.4 +++ sources 2 Oct 2005 05:05:42 -0000 1.5 @@ -1 +1 @@ -748aada74e9e096467a9d553538df885 tsclient-0.132.tar.gz +c10a5a151a1ece653f62e07b11228534 tsclient-0.140.tar.gz Index: tsclient.spec =================================================================== RCS file: /cvs/dist/rpms/tsclient/devel/tsclient.spec,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- tsclient.spec 25 Apr 2005 16:48:00 -0000 1.7 +++ tsclient.spec 2 Oct 2005 05:05:42 -0000 1.8 @@ -6,8 +6,8 @@ Summary: Client for VNC and Windows Terminal Server Name: tsclient -Version: 0.132 -Release: 6 +Version: 0.140 +Release: 1 URL: http://www.gnomepro.com/tsclient/ Source0: http://www.gnomepro.com/tsclient/%{name}-%{version}.tar.gz License: GPL @@ -71,6 +71,9 @@ %{_datadir}/applications/*.desktop %changelog +* Sun Oct 2 2005 Matthias Clasen 0.140-1 +- Update to newer upstream version + * Mon Apr 25 2005 Matthias Clasen 0.132-6 - Make the icon appear in the "Add to Panel" dialog From fedora-cvs-commits at redhat.com Sun Oct 2 05:12:36 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 01:12:36 -0400 Subject: rpms/tsclient/devel tsclient-0.140-segfault.patch, NONE, 1.1 tsclient.spec, 1.8, 1.9 Message-ID: <200510020512.j925CaRS023772@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/tsclient/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv23696 Modified Files: tsclient.spec Added Files: tsclient-0.140-segfault.patch Log Message: fix a segfault tsclient-0.140-segfault.patch: connect.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) --- NEW FILE tsclient-0.140-segfault.patch --- --- tsclient-0.140/src/connect.c.segfault 2005-10-02 01:09:48.000000000 -0400 +++ tsclient-0.140/src/connect.c 2005-10-02 01:10:49.000000000 -0400 @@ -1288,7 +1288,7 @@ GtkWidget *main_window; rdp_file *rdp = NULL; gchar *home = tsc_home_path (); - gchar *filename = g_build_path ("/", home, "last.tsc"); + gchar *filename = g_build_path ("/", home, "last.tsc", NULL); #ifdef TSCLIENT_DEBUG printf ("on_btnConnect_clicked\n"); @@ -1325,7 +1325,7 @@ GtkWidget *main_window; rdp_file *rdp_last = NULL; gchar *home = tsc_home_path (); - gchar *filename = g_build_path ("/", home, "last.tsc"); + gchar *filename = g_build_path ("/", home, "last.tsc", NULL); #ifdef TSCLIENT_DEBUG printf ("on_btnQuit_clicked\n"); Index: tsclient.spec =================================================================== RCS file: /cvs/dist/rpms/tsclient/devel/tsclient.spec,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- tsclient.spec 2 Oct 2005 05:05:42 -0000 1.8 +++ tsclient.spec 2 Oct 2005 05:12:33 -0000 1.9 @@ -14,6 +14,7 @@ Group: User Interface/X BuildRoot: %{_tmppath}/%{name}-root Patch0: tsclient-0.132-icon.patch +Patch1: tsclient-0.140-segfault.patch ## we require rdesktop OR vncviewer - lets assume most people want ## this for rdesktop and require that - see bug #114769 @@ -32,6 +33,7 @@ %prep %setup -q %patch0 -p1 -b .icon +%patch1 -p1 -b .segfault %build @@ -73,6 +75,7 @@ %changelog * Sun Oct 2 2005 Matthias Clasen 0.140-1 - Update to newer upstream version +- Fix a segfault (#169694) * Mon Apr 25 2005 Matthias Clasen 0.132-6 - Make the icon appear in the "Add to Panel" dialog From fedora-cvs-commits at redhat.com Sun Oct 2 10:24:33 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 06:24:33 -0400 Subject: rpms/openoffice.org/FC-4 openoffice.org-1.9.130.oooXXXXX.sysui.linkforce.patch, NONE, 1.1 workspace.atkbridge.patch, NONE, 1.1 openoffice.org.spec, 1.210, 1.211 openoffice.org-1.9.104-use-fontconfig-everywhere.patch, 1.6, NONE openoffice.org-1.9.114.oooXXXXX.nostlport.patch, 1.2, NONE Message-ID: <200510021024.j92AOXAV006163@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/openoffice.org/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv6129 Modified Files: openoffice.org.spec Added Files: openoffice.org-1.9.130.oooXXXXX.sysui.linkforce.patch workspace.atkbridge.patch Removed Files: openoffice.org-1.9.104-use-fontconfig-everywhere.patch openoffice.org-1.9.114.oooXXXXX.nostlport.patch Log Message: closer openoffice.org-1.9.130.oooXXXXX.sysui.linkforce.patch: debian/makefile.mk | 2 +- mandriva/makefile.mk | 2 +- redhat/makefile.mk | 2 +- suse/makefile.mk | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) --- NEW FILE openoffice.org-1.9.130.oooXXXXX.sysui.linkforce.patch --- diff -ru SRC680_m130/sysui.orig/desktop/debian/makefile.mk SRC680_m130/sysui/desktop/debian/makefile.mk --- SRC680_m130/sysui.orig/desktop/debian/makefile.mk 2005-09-30 11:26:58.000000000 +0100 +++ SRC680_m130/sysui/desktop/debian/makefile.mk 2005-09-30 11:28:16.000000000 +0100 @@ -165,7 +165,7 @@ %.desktop : @$(MKDIRHIER) $(@:d) - @ln -s -f $(subst,$(UNIXFILENAME)-, /etc/$(UNIXFILENAME)/share/xdg/$(@:f)) $@ + @ln -sf $(subst,$(UNIXFILENAME)-, /etc/$(UNIXFILENAME)/share/xdg/$(@:f)) $@ %/Office : @$(MKDIRHIER) $@ diff -ru SRC680_m130/sysui.orig/desktop/mandriva/makefile.mk SRC680_m130/sysui/desktop/mandriva/makefile.mk --- SRC680_m130/sysui.orig/desktop/mandriva/makefile.mk 2005-09-30 11:26:58.000000000 +0100 +++ SRC680_m130/sysui/desktop/mandriva/makefile.mk 2005-09-30 11:28:02.000000000 +0100 @@ -156,7 +156,7 @@ %.desktop : @$(MKDIRHIER) $(@:d) - @ln -s $(subst,$(UNIXFILENAME)-, /etc/$(UNIXFILENAME)/share/xdg/$(@:f)) $@ + @ln -sf $(subst,$(UNIXFILENAME)-, /etc/$(UNIXFILENAME)/share/xdg/$(@:f)) $@ # --- icons -------------------------------------------------------- diff -ru SRC680_m130/sysui.orig/desktop/redhat/makefile.mk SRC680_m130/sysui/desktop/redhat/makefile.mk --- SRC680_m130/sysui.orig/desktop/redhat/makefile.mk 2005-09-30 11:26:58.000000000 +0100 +++ SRC680_m130/sysui/desktop/redhat/makefile.mk 2005-09-30 11:28:30.000000000 +0100 @@ -159,7 +159,7 @@ %.desktop : @$(MKDIRHIER) $(@:d) - @ln -s -f $(subst,$(UNIXFILENAME)-, /etc/$(UNIXFILENAME)/share/xdg/$(@:f)) $@ + @ln -sf $(subst,$(UNIXFILENAME)-, /etc/$(UNIXFILENAME)/share/xdg/$(@:f)) $@ # --- icons -------------------------------------------------------- diff -ru SRC680_m130/sysui.orig/desktop/suse/makefile.mk SRC680_m130/sysui/desktop/suse/makefile.mk --- SRC680_m130/sysui.orig/desktop/suse/makefile.mk 2005-09-30 11:26:58.000000000 +0100 +++ SRC680_m130/sysui/desktop/suse/makefile.mk 2005-09-30 11:28:22.000000000 +0100 @@ -157,7 +157,7 @@ %.desktop : @$(MKDIRHIER) $(@:d) - @ln -s -f $(subst,$(UNIXFILENAME)-, /etc/$(UNIXFILENAME)/share/xdg/$(@:f)) $@ + @ln -sf $(subst,$(UNIXFILENAME)-, /etc/$(UNIXFILENAME)/share/xdg/$(@:f)) $@ # --- icons -------------------------------------------------------- workspace.atkbridge.patch: SRC680_m130/desktop/scripts/soffice.sh | 3 comphelper/source/misc/accessiblewrapper.cxx | 5 openoffice.org/vcl/unx/gtk/a11y/TODO | 49 + openoffice.org/vcl/unx/gtk/a11y/atkaction.cxx | 93 ++ openoffice.org/vcl/unx/gtk/a11y/atkcomponent.cxx | 206 +++++ openoffice.org/vcl/unx/gtk/a11y/atkeditabletext.cxx | 96 ++ openoffice.org/vcl/unx/gtk/a11y/atkfactory.cxx | 203 +++++ openoffice.org/vcl/unx/gtk/a11y/atkhypertext.cxx | 230 ++++++ openoffice.org/vcl/unx/gtk/a11y/atkimage.cxx | 59 + openoffice.org/vcl/unx/gtk/a11y/atklistener.cxx | 387 ++++++++++ openoffice.org/vcl/unx/gtk/a11y/atklistener.hxx | 88 ++ openoffice.org/vcl/unx/gtk/a11y/atkselection.cxx | 120 +++ openoffice.org/vcl/unx/gtk/a11y/atktable.cxx | 331 ++++++++ openoffice.org/vcl/unx/gtk/a11y/atktext.cxx | 226 ++++++ openoffice.org/vcl/unx/gtk/a11y/atkutil.cxx | 425 +++++++++++ openoffice.org/vcl/unx/gtk/a11y/atkutil.hxx | 45 + openoffice.org/vcl/unx/gtk/a11y/atkvalue.cxx | 69 + openoffice.org/vcl/unx/gtk/a11y/atkwrapper.cxx | 676 ++++++++++++++++++ openoffice.org/vcl/unx/gtk/a11y/atkwrapper.hxx | 84 ++ openoffice.org/vcl/unx/gtk/a11y/makefile.mk | 108 ++ openoffice.org/vcl/unx/inc/plugins/gtk/atkfactory.hxx | 51 + vcl/prj/build.lst | 3 vcl/source/app/svapp.cxx | 10 vcl/source/window/menu.cxx | 9 vcl/unx/gtk/app/gtkinst.cxx | 1 vcl/unx/gtk/window/gtkframe.cxx | 193 +++++ vcl/unx/inc/plugins/gtk/gtkframe.hxx | 8 vcl/util/makefile.mk | 1 28 files changed, 3764 insertions(+), 15 deletions(-) --- NEW FILE workspace.atkbridge.patch --- Index: source/misc/accessiblewrapper.cxx =================================================================== RCS file: /cvs/util/comphelper/source/misc/accessiblewrapper.cxx,v retrieving revision 1.9 retrieving revision 1.8.156.2 diff -u -p -r1.9 -r1.8.156.2 --- openoffice.org.orig/comphelper/source/misc/accessiblewrapper.cxx 8 Sep 2005 02:48:04 -0000 1.9 +++ openoffice.org/comphelper/source/misc/accessiblewrapper.cxx 21 Sep 2005 05:53:29 -0000 1.8.156.2 @@ -150,6 +150,11 @@ namespace comphelper const Reference< XAccessible >& _rxKey, sal_Bool _bCreate ) { Reference< XAccessible > xValue; + + if( !_rxKey.is() ) + { + return xValue; + } // do we have this child in the cahce? AccessibleMap::const_iterator aPos = m_aChildrenMap.find( _rxKey ); Index: prj/build.lst =================================================================== RCS file: /cvs/gsl/vcl/prj/build.lst,v retrieving revision 1.42 retrieving revision 1.41.72.2 diff -u -p -r1.42 -r1.41.72.2 --- openoffice.org.orig/vcl/prj/build.lst 30 Aug 2005 09:37:21 -0000 1.42 +++ openoffice.org/vcl/prj/build.lst 21 Sep 2005 07:13:26 -0000 1.41.72.2 @@ -18,6 +18,7 @@ vc vcl\unx\source\gdi nmake - u vc_ vc vcl\unx\source\window nmake - u vc__winu vc_unot NULL vc vcl\unx\source\src nmake - u vc__srcu vc_unot NULL vc vcl\unx\dummy nmake - u vc__du vc_unot NULL +vc vcl\unx\gtk\a11y nmake - u vc__gtky vc_unot NULL vc vcl\unx\gtk\app nmake - u vc__gtka vc_unot NULL vc vcl\unx\gtk\window nmake - u vc__gtkw vc_unot NULL vc vcl\unx\gtk\gdi nmake - u vc__gtkg vc_unot NULL @@ -30,5 +31,5 @@ vc vcl\mac\source\app nmake - m vc_ vc vcl\mac\source\gdi nmake - m vc__gdim vc_unot NULL vc vcl\mac\source\window nmake - m vc__winm vc_unot NULL vc vcl\mac\source\src nmake - m vc__srcm vc_unot NULL -vc vcl\util nmake - all vc_util vc__plug.u vc__appa.u vc__appm.m vc__appu.u vc__appw.w vc__gdim.m vc__gdiu.u vc__gdiw.w vc__srcm.m vc__srcu.u vc__srcw.w vc__wina.u vc__winm.m vc__winu.u vc__winw.w vc__du.u vc__gtka.u vc__gtkw.u vc__gtkg.u vc__kde.u vc_app vc_ctrl vc_gdi vc_hlp vc_src vc_win vc_glyphs NULL +vc vcl\util nmake - all vc_util vc__plug.u vc__appa.u vc__appm.m vc__appu.u vc__appw.w vc__gdim.m vc__gdiu.u vc__gdiw.w vc__srcm.m vc__srcu.u vc__srcw.w vc__wina.u vc__winm.m vc__winu.u vc__winw.w vc__du.u vc__gtka.u vc__gtky.u vc__gtkw.u vc__gtkg.u vc__kde.u vc_app vc_ctrl vc_gdi vc_hlp vc_src vc_win vc_glyphs NULL vc vcl\workben nmake - all vc_wrkb vc_util NULL Index: source/app/svapp.cxx =================================================================== RCS file: /cvs/gsl/vcl/source/app/svapp.cxx,v retrieving revision 1.58 retrieving revision 1.58.10.1 diff -u -p -r1.58 -r1.58.10.1 --- openoffice.org.orig/vcl/source/app/svapp.cxx 9 Sep 2005 11:42:50 -0000 1.58 +++ openoffice.org/vcl/source/app/svapp.cxx 22 Sep 2005 08:47:37 -0000 1.58.10.1 @@ -1224,7 +1224,7 @@ long Application::GetTopWindowCount() { long nRet = 0; ImplSVData* pSVData = ImplGetSVData(); - Window *pWin = pSVData->maWinData.mpFirstFrame; + Window *pWin = pSVData ? pSVData->maWinData.mpFirstFrame : NULL; while( pWin ) { if( pWin->ImplGetWindow()->IsTopWindow() ) @@ -1240,7 +1240,7 @@ Window* Application::GetTopWindow( long { long nIdx = 0; ImplSVData* pSVData = ImplGetSVData(); - Window *pWin = pSVData->maWinData.mpFirstFrame; + Window *pWin = pSVData ? pSVData->maWinData.mpFirstFrame : NULL; while( pWin ) { if( pWin->ImplGetWindow()->IsTopWindow() ) @@ -1854,10 +1854,12 @@ BOOL Application::IsAccessibilityEnabled BOOL InitAccessBridge( BOOL bShowCancel, BOOL &rCancelled ) { - BOOL bRet = ImplInitAccessBridge( bShowCancel, rCancelled ); + BOOL bRet = true; -// There is no GUI to re-enable accessibility on Unix .. +// Disable Java bridge on UNIX #ifndef UNX + bRet = ImplInitAccessBridge( bShowCancel, rCancelled ); + if( !bRet && bShowCancel && !rCancelled ) { // disable accessibility if the user chooses to continue Index: source/window/menu.cxx =================================================================== RCS file: /cvs/gsl/vcl/source/window/menu.cxx,v retrieving revision 1.127 retrieving revision 1.127.12.1 diff -u -p -r1.127 -r1.127.12.1 --- openoffice.org.orig/vcl/source/window/menu.cxx 9 Sep 2005 12:27:26 -0000 1.127 +++ openoffice.org/vcl/source/window/menu.cxx 28 Sep 2005 07:24:08 -0000 1.127.12.1 @@ -489,7 +489,6 @@ public: USHORT GetPosInParent() const { return nPosInParent; } virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible(); - BOOL IsTopmostApplicationMenu(); }; // To get the transparent mouse-over look, the closer is actually a toolbox @@ -4514,16 +4513,10 @@ void MenuFloatingWindow::Command( const { ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > xAcc; - if ( pMenu ) + if ( pMenu && !pMenu->pStartedFrom ) xAcc = pMenu->GetAccessible(); return xAcc; -} - - -BOOL MenuFloatingWindow::IsTopmostApplicationMenu() -{ - return (!pMenu->pStartedFrom) ? TRUE : FALSE; } MenuBarWindow::MenuBarWindow( Window* pParent ) : Index: unx/gtk/a11y/TODO =================================================================== RCS file: unx/gtk/a11y/TODO diff -N unx/gtk/a11y/TODO --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openoffice.org/vcl/unx/gtk/a11y/TODO 31 May 2005 14:08:21 -0000 1.1.2.6 @@ -0,0 +1,49 @@ +cws 'atkbridge' +#Issue number: i#47890# +Submitted by: mmeeks + +Hacked up prototype of atk bridge + + +Serious problems + + Threading/locking: + + incoming CORBA calls & the GDK lock + + how are these being processed & on what thread ? + + are we holding the GDK_THREADS lock ? + + can we even do that ? + + is it really necessary to be thread safe ? + + how does this work in combination with the (unsafe) GAIL code ? + + what should incoming CORBA calls be doing ? + + esp. since we can't tell if they're coming from + in-proc or not either [ though this is unlikely ] + + +Test: + + in-line text editing, does the TEXT_CHANGED signal get it right, + + why not copy/paste/delete etc. ? + + check vs. writer & other bits ... + + AtkSelection + + AtkHyper* + +* At-poke + + implement non-gui mode - for to-console event logging + + logging + + more detail from remaining events + + add a Tree navigation thing instead (?) + + poke a sub-child (?) + + embed a tree widget inside the tree view ? + + AtkHyperText testing (?) + + +Known bugs: + + AtkText + + selection interface - multiple selections ? + + word boundary issues + + copy AccessibleTextImpl.java's getAfterIndex eg. + + the 'getFoo' methods need to use UNO_QUERY_THROW & + throw an exception to avoid null pointer dereferences. + + AtkAttributeSet (etc.) + + AtkEditableText + + finish/test AtkTable + + HyperLink 'link_activated', HyperText 'link_selected' (?) + + tooltips create new toplevels with broken roles. Index: unx/gtk/a11y/atkaction.cxx =================================================================== RCS file: unx/gtk/a11y/atkaction.cxx diff -N unx/gtk/a11y/atkaction.cxx --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openoffice.org/vcl/unx/gtk/a11y/atkaction.cxx 21 Apr 2005 14:59:22 -0000 1.1.2.1 @@ -0,0 +1,93 @@ +#include + +static uno::Reference< accessibility::XAccessibleAction > + getAction( AtkAction *pAction ) +{ + AtkObjectWrapper *pWrap = ATK_OBJECT_WRAPPER( pAction ); + uno::Reference< accessibility::XAccessibleAction > xAction; + xAction = uno::Reference< accessibility::XAccessibleAction >( + pWrap->mpContext, uno::UNO_QUERY ); + if( !xAction.is() ) + g_error( "%p claimed to have action, but now does not", + pWrap->mpContext ); + return xAction; +} + +static gboolean +action_wrapper_do_action (AtkAction *action, + gint i) [...3729 lines suppressed...] + role = ATK_ROLE_FRAME; + break; + + // Ignore window objects for sub-menus, which are exposed + // as children of their parent menu + case accessibility::AccessibleRole::WINDOW: + { + Window *pChild = pWindow->GetChild( 0 ); + if( pChild ) + { + uno::Reference< accessibility::XAccessible > xAccessible( pChild->GetAccessible( true ) ); + if( xAccessible.is() ) + role = ATK_ROLE_WINDOW; + } + } + break; + + default: + role = ATK_ROLE_WINDOW; + break; + } + } + } + + return role; +} + + +// FIXME: rename as appropriate +uno::Reference< accessibility::XAccessible > +GtkSalFrame::getAccessible( bool bCreate ) +{ + // Yes - this is a hack - but: this abstraction seems totally useless to me + Window *pWindow = static_cast(GetInstance()); + if( pWindow ) + { + // Compress/adjust the hierarchy for VCL WorkWindow(s) .. + if( pWindow->GetType() == WINDOW_WORKWINDOW ) + { + Window *pChild = pWindow->GetChild( 1 ); + if( pChild ) + return pChild->GetAccessible( bCreate ); + } + // and popup menus + // FIXME: handle this internally + else if( pWindow->GetAccessibleRole() == accessibility::AccessibleRole::WINDOW ) + { + Window *pChild = pWindow->GetChild( 0 ); + if( pChild ) + { + uno::Reference< accessibility::XAccessible > xAccessible(pChild->GetAccessible( bCreate )); + if( xAccessible.is() ) + { +// uno::Reference< accessibility::XAccessibleContext > xContext(xAccessible->getAccessibleContext()); +// if( xContext.is() && +// xContext->getAccessibleRole() == accessibility::AccessibleRole::POPUP_MENU ) +// { + return xAccessible; +// } + } + } + } + else + { + return pWindow->GetAccessible( bCreate ); + } + } + + return uno::Reference< accessibility::XAccessible >(); +} + void GtkSalFrame::Init( SalFrame* pParent, ULONG nStyle ) { if( nStyle & SAL_FRAME_STYLE_DEFAULT ) // ensure default style @@ -473,7 +665,8 @@ void GtkSalFrame::Init( SalFrame* pParen nStyle &= ~SAL_FRAME_STYLE_FLOAT; } - m_pWindow = GTK_WINDOW( gtk_widget_new( GTK_TYPE_WINDOW, "type", ((nStyle & SAL_FRAME_STYLE_FLOAT) && ! (nStyle & SAL_FRAME_STYLE_OWNERDRAWDECORATION)) ? GTK_WINDOW_POPUP : GTK_WINDOW_TOPLEVEL, "visible", FALSE, NULL ) ); + m_pWindow = createWindow( this, nStyle ); + m_pParent = static_cast(pParent); m_pForeignParent = NULL; m_aForeignParentWindow = None; Index: unx/inc/plugins/gtk/atkfactory.hxx =================================================================== RCS file: unx/inc/plugins/gtk/atkfactory.hxx diff -N unx/inc/plugins/gtk/atkfactory.hxx --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openoffice.org/vcl/unx/inc/plugins/gtk/atkfactory.hxx 28 Sep 2005 07:24:17 -0000 1.1.2.2 @@ -0,0 +1,51 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: atkfactory.hxx,v $ + * + * $Revision: 1.1.2.2 $ + * + * last change: $Author: obr $ $Date: 2005/09/28 07:24:17 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************/ + +#ifndef __ATK_FACTORY_HXX__ +#define __ATK_FACTORY_HXX__ + +#include + +void RegisterAtkFactory( GType nWindowType ); + +extern "C" { + +#define GAIL_WINDOW_WRAPPER_FACTORY_TYPE (gail_window_wrapper_factory_get_type()) + + GType gail_window_wrapper_factory_get_type (void); + +}; // extern "C" + +#endif Index: unx/inc/plugins/gtk/gtkframe.hxx =================================================================== RCS file: /cvs/gsl/vcl/unx/inc/plugins/gtk/gtkframe.hxx,v retrieving revision 1.17 retrieving revision 1.14.22.5 diff -u -p -r1.17 -r1.14.22.5 --- openoffice.org.orig/vcl/unx/inc/plugins/gtk/gtkframe.hxx 9 Sep 2005 12:51:27 -0000 1.17 +++ openoffice.org/vcl/unx/inc/plugins/gtk/gtkframe.hxx 28 Sep 2005 07:24:18 -0000 1.14.22.5 @@ -43,6 +43,9 @@ #include #include +#include +#include + #ifndef _SV_SALFRAME_HXX #include #endif @@ -351,6 +354,11 @@ public: virtual bool SetPluginParent( SystemParentData* pNewParent ); virtual void SetBackgroundBitmap( SalBitmap* ); + + static GtkSalFrame *getFromWindow( GtkWindow *pWindow ); + ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > getAccessible( bool bCreate = true ); + + static AtkRole GetAtkRole( GtkWindow* window ); }; Index: util/makefile.mk =================================================================== RCS file: /cvs/gsl/vcl/util/makefile.mk,v retrieving revision 1.74 retrieving revision 1.65.110.6 diff -u -p -r1.74 -r1.65.110.6 --- openoffice.org.orig/vcl/util/makefile.mk 9 Sep 2005 13:53:03 -0000 1.74 +++ openoffice.org/vcl/util/makefile.mk 21 Sep 2005 09:56:00 -0000 1.65.110.6 @@ -352,6 +352,7 @@ PKGCONFIG_MODULES=gtk+-2.0 gthread-2.0 LIB4TARGET=$(SLB)$/igtk_plug_ LIB4FILES=\ + $(SLB)$/gtka11y.lib\ $(SLB)$/gtkapp.lib\ $(SLB)$/gtkgdi.lib\ $(SLB)$/gtkwin.lib --- SRC680_m130/desktop/scripts/soffice.gail.sh 2005-09-30 15:34:21.000000000 +0100 +++ SRC680_m130/desktop/scripts/soffice.sh 2005-09-30 15:34:56.000000000 +0100 @@ -35,6 +35,9 @@ #************************************************************************* if [ -z $SAL_USE_VCLPLUGIN ]; then export SAL_USE_VCLPLUGIN=gtk; fi +if [ true == `gconftool-2 -g "/desktop/gnome/interface/accessibility"` ]; then +export GTK_MODULES="gail:atk-bridge $GTK_MODULES" +fi # # STAR_PROFILE_LOCKING_DISABLED=1 Index: openoffice.org.spec =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/FC-4/openoffice.org.spec,v retrieving revision 1.210 retrieving revision 1.211 diff -u -r1.210 -r1.211 --- openoffice.org.spec 28 Sep 2005 13:24:05 -0000 1.210 +++ openoffice.org.spec 2 Oct 2005 10:24:31 -0000 1.211 @@ -1,5 +1,5 @@ %define ooo2ver 1 -%define ooo_rpm_release 0.cmc1 +%define ooo_rpm_release 2.cmc1 %define build_fc5 0 %define build_fc4 1 %define build_rhel4 0 @@ -208,6 +208,8 @@ Patch58: openoffice.org-1.9.130.oooXXXXX.newsystemdb.xmlhelp.patch Patch59: openoffice.org-1.9.130.ooo54959.negativeindent.sw.patch Patch60: workspace.cmcfixes19.patch +Patch61: workspace.atkbridge.patch +Patch62: openoffice.org-1.9.130.oooXXXXX.sysui.linkforce.patch %define instdir %{_libdir}/openoffice.org2.0 @@ -242,7 +244,7 @@ Requires: libbluecurve.so, libcrux-engine.so Requires: %{libgcj} >= 4.0.0, java-1.4.2-gcj-compat %if ! %{internaljavabits} -Requires: hsqldb >= 1.80.1, bsh >= 1.3.0 +Requires: hsqldb >= 1.80.1, bsh >= 1.3.0, xalan-j2, xerces-j2 %endif PreReq: desktop-file-utils >= 0.9, gtk2 >= 2.4.8 Obsoletes: openoffice.org @@ -349,9 +351,6 @@ Summary: extra xsltfilter module for %{name} Group: Applications/Productivity Requires: %{name}-core = %{epoch}:%{version}-%{release} -%if ! %{internaljavabits} -Requires: xalan-j2, xerces-j2 -%endif %description xsltfilter xsltfilter module for %{name}, provides additional docbook and xhtml export transforms. Install this to enable docbook export. @@ -886,6 +885,8 @@ %endif %patch59 -p1 -b .ooo54959.negativeindent.sw.patch %patch60 -p1 -b .workspace.cmcfixes19.patch +%patch61 -p1 -b .workspace.atkbridge.patch +%patch62 -p1 -b .oooXXXXX.sysui.linkforce.patch %if %{includingexternals} #start ludicrous workaround @@ -3240,6 +3241,9 @@ %{instdir}/share/registry/modules/org/openoffice/Office/Scripting/Scripting-python.xcu %changelog +* Thu Sep 29 2005 Caolan McNamara - 1:2.0.0-1.2 +- add mmeeks workspace.atkbridge for rh#169323# acessibility + * Mon Sep 26 2005 Caolan McNamara - 1:2.0.0-1.1 - release candidate 1 --- openoffice.org-1.9.104-use-fontconfig-everywhere.patch DELETED --- --- openoffice.org-1.9.114.oooXXXXX.nostlport.patch DELETED --- From fedora-cvs-commits at redhat.com Sun Oct 2 13:05:47 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 09:05:47 -0400 Subject: rpms/openoffice.org/FC-4 .cvsignore,1.51,1.52 sources,1.76,1.77 Message-ID: <200510021305.j92D5lKb029544@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/openoffice.org/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv29516 Modified Files: .cvsignore sources Log Message: test version Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/FC-4/.cvsignore,v retrieving revision 1.51 retrieving revision 1.52 diff -u -r1.51 -r1.52 --- .cvsignore 22 Aug 2005 11:50:19 -0000 1.51 +++ .cvsignore 2 Oct 2005 13:05:44 -0000 1.52 @@ -111,3 +111,4 @@ SRC680_m125.tar.bz2 gcj-sed.sh RegisterAndLicence.xcu +OOO680_m1.tar.bz2 Index: sources =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/FC-4/sources,v retrieving revision 1.76 retrieving revision 1.77 diff -u -r1.76 -r1.77 --- sources 28 Sep 2005 13:24:05 -0000 1.76 +++ sources 2 Oct 2005 13:05:44 -0000 1.77 @@ -7,4 +7,4 @@ 66ee360bd11d33b0ba2283922d853706 opens___.ttf f2fc336c9bd7672a13e58d39bbb4553f GSI_ga.sdf 49c02048e40f0b51a97abdb94d97dc1f javavendors.xml -8755f66657a1ff1d01548af6ed9b7a3f OOO680_m1.tar.bz2 +c7ff48e12d409da17de928739cf1498e OOO680_m1.tar.bz2 From fedora-cvs-commits at redhat.com Sun Oct 2 18:12:59 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 14:12:59 -0400 Subject: rpms/openoffice.org/FC-4 openoffice.org.spec,1.211,1.212 Message-ID: <200510021812.j92ICxp9011591@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/openoffice.org/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv11559 Modified Files: openoffice.org.spec Log Message: fc4 still needs testtoools hack Index: openoffice.org.spec =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/FC-4/openoffice.org.spec,v retrieving revision 1.211 retrieving revision 1.212 diff -u -r1.211 -r1.212 --- openoffice.org.spec 2 Oct 2005 10:24:31 -0000 1.211 +++ openoffice.org.spec 2 Oct 2005 18:12:57 -0000 1.212 @@ -210,6 +210,7 @@ Patch60: workspace.cmcfixes19.patch Patch61: workspace.atkbridge.patch Patch62: openoffice.org-1.9.130.oooXXXXX.sysui.linkforce.patch +Patch63: openoffice.org-1.9.112.ooo51724.testtools.patch %define instdir %{_libdir}/openoffice.org2.0 @@ -887,6 +888,7 @@ %patch60 -p1 -b .workspace.cmcfixes19.patch %patch61 -p1 -b .workspace.atkbridge.patch %patch62 -p1 -b .oooXXXXX.sysui.linkforce.patch +%patch63 -p1 -b .ooo51724.testtools.patch %if %{includingexternals} #start ludicrous workaround From fedora-cvs-commits at redhat.com Sun Oct 2 21:15:04 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 17:15:04 -0400 Subject: rpms/kernel/FC-4 kernel-2.6.spec,1.1462,1.1463 Message-ID: <200510022115.j92LF4ii018805@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv18765 Modified Files: kernel-2.6.spec Log Message: * Sun Oct 02 2005 Dave Jones - Disable debug messages in w83781d sensor driver. (#169695) Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/kernel-2.6.spec,v retrieving revision 1.1462 retrieving revision 1.1463 diff -u -r1.1462 -r1.1463 --- kernel-2.6.spec 30 Sep 2005 23:43:48 -0000 1.1462 +++ kernel-2.6.spec 2 Oct 2005 21:15:02 -0000 1.1463 @@ -1226,6 +1226,9 @@ %endif %changelog +* Sun Oct 02 2005 Dave Jones +- Disable debug messages in w83781d sensor driver. (#169695) + * Fri Sep 30 2005 Dave Jones - irda-driver smsc-ircc2 needs pnp-functionality. (#153970) - Reenable /proc/acpi/sleep (#169650) From fedora-cvs-commits at redhat.com Sun Oct 2 21:15:05 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 17:15:05 -0400 Subject: rpms/kernel/FC-4/configs config-generic,1.36,1.37 Message-ID: <200510022115.j92LF5O3018812@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4/configs In directory cvs.devel.redhat.com:/tmp/cvs-serv18765/configs Modified Files: config-generic Log Message: * Sun Oct 02 2005 Dave Jones - Disable debug messages in w83781d sensor driver. (#169695) Index: config-generic =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/configs/config-generic,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- config-generic 30 Sep 2005 23:41:36 -0000 1.36 +++ config-generic 2 Oct 2005 21:15:02 -0000 1.37 @@ -2536,7 +2536,7 @@ CONFIG_ACPI_SLEEP_PROC_SLEEP=y # CONFIG_ACPI_HOTKEY is not set CONFIG_HWMON=m -CONFIG_HWMON_DEBUG_CHIP=y +# CONFIG_HWMON_DEBUG_CHIP is not set CONFIG_USB_KEYSPAN_REMOTE=m CONFIG_USB_LD=m CONFIG_INOTIFY=y From fedora-cvs-commits at redhat.com Sun Oct 2 21:15:23 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 17:15:23 -0400 Subject: rpms/kernel/devel/configs config-generic,1.64,1.65 Message-ID: <200510022115.j92LFNkX018979@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/devel/configs In directory cvs.devel.redhat.com:/tmp/cvs-serv18925/configs Modified Files: config-generic Log Message: disable debug Index: config-generic =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/configs/config-generic,v retrieving revision 1.64 retrieving revision 1.65 diff -u -r1.64 -r1.65 --- config-generic 1 Oct 2005 00:08:39 -0000 1.64 +++ config-generic 2 Oct 2005 21:15:20 -0000 1.65 @@ -2608,7 +2608,7 @@ CONFIG_KEXEC=y CONFIG_HWMON=m -CONFIG_HWMON_DEBUG_CHIP=y +# CONFIG_HWMON_DEBUG_CHIP is not set CONFIG_USB_KEYSPAN_REMOTE=m CONFIG_USB_LD=m CONFIG_USB_APPLETOUCH=m From fedora-cvs-commits at redhat.com Sun Oct 2 21:53:08 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 17:53:08 -0400 Subject: rpms/kernel/FC-4 linux-2.6-acpi-xen.patch, 1.1, NONE linux-2.6-compile-fixes.patch, 1.4, NONE linux-2.6-ide-netcell.patch, 1.1, NONE linux-2.6.11-parport-sysctl-perms.patch, 1.1, NONE linux-2.6.11-taint-check.patch, 1.4, NONE linux-2.6.12-ext3-always-nobh.patch, 1.3, NONE linux-2.6.12-firedire-init-breakage.patch, 1.1, NONE linux-2.6.12-pmac-sound-oops.patch, 1.1, NONE linux-2.6.9-net-tr-irqlock-fix.patch, 1.3, NONE Message-ID: <200510022153.j92Lr8S9015470@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv15363 Removed Files: linux-2.6-acpi-xen.patch linux-2.6-compile-fixes.patch linux-2.6-ide-netcell.patch linux-2.6.11-parport-sysctl-perms.patch linux-2.6.11-taint-check.patch linux-2.6.12-ext3-always-nobh.patch linux-2.6.12-firedire-init-breakage.patch linux-2.6.12-pmac-sound-oops.patch linux-2.6.9-net-tr-irqlock-fix.patch Log Message: dead wood --- linux-2.6-acpi-xen.patch DELETED --- --- linux-2.6-compile-fixes.patch DELETED --- --- linux-2.6-ide-netcell.patch DELETED --- --- linux-2.6.11-parport-sysctl-perms.patch DELETED --- --- linux-2.6.11-taint-check.patch DELETED --- --- linux-2.6.12-ext3-always-nobh.patch DELETED --- --- linux-2.6.12-firedire-init-breakage.patch DELETED --- --- linux-2.6.12-pmac-sound-oops.patch DELETED --- --- linux-2.6.9-net-tr-irqlock-fix.patch DELETED --- From fedora-cvs-commits at redhat.com Sun Oct 2 22:58:30 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 18:58:30 -0400 Subject: rpms/kernel/FC-4 upstream, 1.83, 1.84 linux-2.6-usb-ehci-intsoff-on-reset.patch, 1.1, NONE Message-ID: <200510022258.j92MwUOX019492@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv19443 Modified Files: upstream Removed Files: linux-2.6-usb-ehci-intsoff-on-reset.patch Log Message: dead file Index: upstream =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/upstream,v retrieving revision 1.83 retrieving revision 1.84 diff -u -r1.83 -r1.84 --- upstream 29 Sep 2005 23:05:04 -0000 1.83 +++ upstream 2 Oct 2005 22:58:26 -0000 1.84 @@ -1,2 +1,2 @@ -linux-2.6.13.tar.bz2 +linux-2.6.13.2.tar.bz2 patch-2.6.13.2.bz2 --- linux-2.6-usb-ehci-intsoff-on-reset.patch DELETED --- From fedora-cvs-commits at redhat.com Sun Oct 2 22:58:50 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 18:58:50 -0400 Subject: rpms/kernel/FC-4 upstream,1.84,1.85 Message-ID: <200510022258.j92Mwosv019673@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv19632 Modified Files: upstream Log Message: undo Index: upstream =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/upstream,v retrieving revision 1.84 retrieving revision 1.85 diff -u -r1.84 -r1.85 --- upstream 2 Oct 2005 22:58:26 -0000 1.84 +++ upstream 2 Oct 2005 22:58:47 -0000 1.85 @@ -1,2 +1,2 @@ -linux-2.6.13.2.tar.bz2 +linux-2.6.13.tar.bz2 patch-2.6.13.2.bz2 From fedora-cvs-commits at redhat.com Sun Oct 2 23:03:01 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 19:03:01 -0400 Subject: rpms/kernel/FC-4 linux-2.6-sound-emu10k1-ac97.patch,1.1,1.2 Message-ID: <200510022303.j92N317S020443@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv20384 Modified Files: linux-2.6-sound-emu10k1-ac97.patch Log Message: maybe fix the emu10k1 problem linux-2.6-sound-emu10k1-ac97.patch: emu10k1_main.c | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) Index: linux-2.6-sound-emu10k1-ac97.patch =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/linux-2.6-sound-emu10k1-ac97.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- linux-2.6-sound-emu10k1-ac97.patch 29 Sep 2005 23:04:27 -0000 1.1 +++ linux-2.6-sound-emu10k1-ac97.patch 2 Oct 2005 23:02:23 -0000 1.2 @@ -27,3 +27,13 @@ .sblive51 = 1} , {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80511102, .driver = "EMU10K1", .name = "SBLive! Value [CT4850]", +--- linux-2.6.13/sound/pci/emu10k1/emu10k1_main.c~ 2005-10-02 19:01:23.000000000 -0400 ++++ linux-2.6.13/sound/pci/emu10k1/emu10k1_main.c 2005-10-02 19:01:28.000000000 -0400 +@@ -759,6 +759,7 @@ static emu_chip_details_t emu_chip_detai + .driver = "EMU10K1", .name = "SBLive! Platinum 5.1 [SB0060]", + .id = "Live", + .emu10k1_chip = 1, ++ .ac97_chip = 1, + .sblive51 = 1} , + {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80511102, + .driver = "EMU10K1", .name = "SBLive! Value [CT4850]", From fedora-cvs-commits at redhat.com Sun Oct 2 23:19:58 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 19:19:58 -0400 Subject: rpms/kernel/FC-4 kernel-2.6.spec,1.1463,1.1464 Message-ID: <200510022319.j92NJwv0001051@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv1006 Modified Files: kernel-2.6.spec Log Message: +- Re-add a bunch of patches that got accidentally dropped in last update. + - Fix suspend/resume with 8319too + - Fix usbhid/wireless security lock clash (#147479) + - Missing check condition in ide scsi (#160868) + - Fix nosense error with transcend usb keys (#162559) + - Fix sk98lin vpd problem. (#136158) Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/kernel-2.6.spec,v retrieving revision 1.1463 retrieving revision 1.1464 diff -u -r1.1463 -r1.1464 --- kernel-2.6.spec 2 Oct 2005 21:15:02 -0000 1.1463 +++ kernel-2.6.spec 2 Oct 2005 23:19:55 -0000 1.1464 @@ -334,6 +334,11 @@ Patch1618: linux-2.6.10-revert-module-invalidparam.patch Patch1619: linux-2.6-selinux-hush.patch Patch1620: linux-2.6-smsc-ircc2-pnp.patch +Patch1621: linux-2.6-8139too-suspend.patch +Patch1622: linux-2.6-usbhid-wireless-security-lock.patch +Patch1623: linux-2.6-ide-scsi-check_condition.patch +Patch1624: linux-2.6-usb-transcend-nosense.patch +Patch1625: linux-2.6-net-sk98lin-vpd.patch Patch1800: linux-2.6-ide-tune-locking.patch @@ -765,6 +770,16 @@ %patch1619 -p1 # IrDA-driver smsc-ircc2 needs pnp-functionality. (#153970) %patch1620 -p1 +# Fix suspend/resume with 8319too +%patch1621 -p1 +# Fix usbhid/wireless security lock clash (#147479) +%patch1622 -p1 +# Missing check condition in ide scsi (#160868) +%patch1623 -p1 +# Fix nosense error with transcend usb keys (#162559) +%patch1624 -p1 +# Fix sk98lin vpd problem. (#136158) +%patch1625 -p1 # Fix IDE locking bug. %patch1800 -p1 @@ -1228,6 +1243,12 @@ %changelog * Sun Oct 02 2005 Dave Jones - Disable debug messages in w83781d sensor driver. (#169695) +- Re-add a bunch of patches that got accidentally dropped in last update. + - Fix suspend/resume with 8319too + - Fix usbhid/wireless security lock clash (#147479) + - Missing check condition in ide scsi (#160868) + - Fix nosense error with transcend usb keys (#162559) + - Fix sk98lin vpd problem. (#136158) * Fri Sep 30 2005 Dave Jones - irda-driver smsc-ircc2 needs pnp-functionality. (#153970) From fedora-cvs-commits at redhat.com Sun Oct 2 23:20:11 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 19:20:11 -0400 Subject: rpms/kernel/FC-4 linux-2.6-8139too-suspend.patch,NONE,1.1 Message-ID: <200510022320.j92NKB7A001182@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv1122 Added Files: linux-2.6-8139too-suspend.patch Log Message: add diff linux-2.6-8139too-suspend.patch: 8139too.c | 6 ++++++ 1 files changed, 6 insertions(+) --- NEW FILE linux-2.6-8139too-suspend.patch --- --- linux-2.6.13/drivers/net/8139too.c.orig 2005-09-30 13:34:36.832420029 -0400 +++ linux-2.6.13/drivers/net/8139too.c 2005-09-30 13:35:54.661083229 -0400 @@ -2597,11 +2597,17 @@ static int rtl8139_suspend (struct pci_d static int rtl8139_resume (struct pci_dev *pdev) { struct net_device *dev = pci_get_drvdata (pdev); + struct rtl8139_private *tp = netdev_priv(dev); + void __iomem *ioaddr = tp->mmio_addr; pci_restore_state (pdev); if (!netif_running (dev)) return 0; pci_set_power_state (pdev, PCI_D0); + + /* Bring old chips out of low-power mode. */ + RTL_W8 (HltClk, 'R'); + rtl8139_init_ring (dev); rtl8139_hw_start (dev); netif_device_attach (dev); From fedora-cvs-commits at redhat.com Sun Oct 2 23:25:07 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 19:25:07 -0400 Subject: rpms/kernel/FC-4 linux-2.6-ide-floppy-eject.patch, NONE, 1.1 kernel-2.6.spec, 1.1464, 1.1465 Message-ID: <200510022325.j92NP7QJ003535@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv3503 Modified Files: kernel-2.6.spec Added Files: linux-2.6-ide-floppy-eject.patch Log Message: * Sun Oct 02 2005 Dave Jones - fix ide floppy eject. (#158548) linux-2.6-ide-floppy-eject.patch: ide-floppy.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) --- NEW FILE linux-2.6-ide-floppy-eject.patch --- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=158548 http://www.gossamer-threads.com/lists/linux/kernel/568526 --- linux-2.6.13-orig/drivers/ide/ide-floppy.c 2005-08-29 01:41:01.000000000 +0200 +++ linux-2.6.13-pentium/drivers/ide/ide-floppy.c 2005-09-04 14:07:53.000000000 +0200 @@ -2038,11 +2038,9 @@ struct ide_floppy_obj *floppy = ide_floppy_g(bdev->bd_disk); ide_drive_t *drive = floppy->drive; void __user *argp = (void __user *)arg; - int err = generic_ide_ioctl(drive, file, bdev, cmd, arg); + int err; int prevent = (arg) ? 1 : 0; idefloppy_pc_t pc; - if (err != -EINVAL) - return err; switch (cmd) { case CDROMEJECT: @@ -2094,7 +2092,7 @@ case IDEFLOPPY_IOCTL_FORMAT_GET_PROGRESS: return idefloppy_get_format_progress(drive, argp); } - return -EINVAL; + return generic_ide_ioctl(drive, file, bdev, cmd, arg); } static int idefloppy_media_changed(struct gendisk *disk) Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/kernel-2.6.spec,v retrieving revision 1.1464 retrieving revision 1.1465 diff -u -r1.1464 -r1.1465 --- kernel-2.6.spec 2 Oct 2005 23:19:55 -0000 1.1464 +++ kernel-2.6.spec 2 Oct 2005 23:25:03 -0000 1.1465 @@ -339,6 +339,7 @@ Patch1623: linux-2.6-ide-scsi-check_condition.patch Patch1624: linux-2.6-usb-transcend-nosense.patch Patch1625: linux-2.6-net-sk98lin-vpd.patch +Patch1626: linux-2.6-ide-floppy-eject.patch Patch1800: linux-2.6-ide-tune-locking.patch @@ -780,6 +781,8 @@ %patch1624 -p1 # Fix sk98lin vpd problem. (#136158) %patch1625 -p1 +# Fix IDE floppy eject. (#158548) +%patch1626 -p1 # Fix IDE locking bug. %patch1800 -p1 @@ -1242,6 +1245,9 @@ %changelog * Sun Oct 02 2005 Dave Jones +- fix ide floppy eject. (#158548) + +* Sun Oct 02 2005 Dave Jones - Disable debug messages in w83781d sensor driver. (#169695) - Re-add a bunch of patches that got accidentally dropped in last update. - Fix suspend/resume with 8319too @@ -1249,6 +1255,7 @@ - Missing check condition in ide scsi (#160868) - Fix nosense error with transcend usb keys (#162559) - Fix sk98lin vpd problem. (#136158) +- Fix IDE floppy eject. (#158548) * Fri Sep 30 2005 Dave Jones - irda-driver smsc-ircc2 needs pnp-functionality. (#153970) From fedora-cvs-commits at redhat.com Sun Oct 2 23:25:38 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 19:25:38 -0400 Subject: rpms/kernel/FC-4 ide-floppy-eject.patch,1.1,NONE Message-ID: <200510022325.j92NPcuE003805@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv3751 Removed Files: ide-floppy-eject.patch Log Message: rename --- ide-floppy-eject.patch DELETED --- From fedora-cvs-commits at redhat.com Sun Oct 2 23:26:33 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 19:26:33 -0400 Subject: rpms/kernel/FC-3/configs config-generic,1.11,1.12 Message-ID: <200510022326.j92NQXF1004260@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-3/configs In directory cvs.devel.redhat.com:/tmp/cvs-serv4174/configs Modified Files: config-generic Log Message: re-add /proc/acpi/sleep Index: config-generic =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-3/configs/config-generic,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- config-generic 30 Sep 2005 01:18:41 -0000 1.11 +++ config-generic 2 Oct 2005 23:26:30 -0000 1.12 @@ -232,7 +232,7 @@ CONFIG_ISAPNP=y # CONFIG_PNPBIOS is not set # CONFIG_ACPI_CONTAINER is not set -# CONFIG_ACPI_SLEEP_PROC_SLEEP is not set +CONFIG_ACPI_SLEEP_PROC_SLEEP=y # CONFIG_ACPI_HOTKEY is not set # From fedora-cvs-commits at redhat.com Sun Oct 2 23:26:33 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 19:26:33 -0400 Subject: rpms/kernel/FC-3 kernel-2.6.spec,1.889,1.890 Message-ID: <200510022326.j92NQXte004252@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-3 In directory cvs.devel.redhat.com:/tmp/cvs-serv4174 Modified Files: kernel-2.6.spec Log Message: re-add /proc/acpi/sleep Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-3/kernel-2.6.spec,v retrieving revision 1.889 retrieving revision 1.890 diff -u -r1.889 -r1.890 --- kernel-2.6.spec 30 Sep 2005 11:41:43 -0000 1.889 +++ kernel-2.6.spec 2 Oct 2005 23:26:30 -0000 1.890 @@ -1016,6 +1016,9 @@ %endif %changelog +* Sun Oct 02 2005 Dave Jones +- Readd /proc/acpi/sleep + * Fri Sep 30 2005 Dave Jones - fix no blue/fuzzy video on ibmcam (#148832) From fedora-cvs-commits at redhat.com Sun Oct 2 23:33:58 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 2 Oct 2005 19:33:58 -0400 Subject: rpms/kernel/FC-4 kernel-2.6.spec,1.1465,1.1466 Message-ID: <200510022333.j92NXw1T006183@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv6148 Modified Files: kernel-2.6.spec Log Message: bump Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/kernel-2.6.spec,v retrieving revision 1.1465 retrieving revision 1.1466 diff -u -r1.1465 -r1.1466 --- kernel-2.6.spec 2 Oct 2005 23:25:03 -0000 1.1465 +++ kernel-2.6.spec 2 Oct 2005 23:33:54 -0000 1.1466 @@ -1244,7 +1244,7 @@ %endif %changelog -* Sun Oct 02 2005 Dave Jones +* Sun Oct 02 2005 Dave Jones [2.6.13-1.1527_FC4] - fix ide floppy eject. (#158548) * Sun Oct 02 2005 Dave Jones From fedora-cvs-commits at redhat.com Mon Oct 3 05:46:59 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 01:46:59 -0400 Subject: rpms/hal/devel hal.spec,1.62,1.63 Message-ID: <200510030546.j935kxMF007410@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/hal/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv7338 Modified Files: hal.spec Log Message: Fix a typo Index: hal.spec =================================================================== RCS file: /cvs/dist/rpms/hal/devel/hal.spec,v retrieving revision 1.62 retrieving revision 1.63 diff -u -r1.62 -r1.63 --- hal.spec 31 Aug 2005 00:43:12 -0000 1.62 +++ hal.spec 3 Oct 2005 05:46:56 -0000 1.63 @@ -52,7 +52,7 @@ %description HAL is daemon for collection and maintaining information from several -sources about the hardware on the system. It provdes a live device +sources about the hardware on the system. It provides a live device list through D-BUS. %package gnome @@ -174,6 +174,9 @@ %{_bindir}/hal-device-manager %changelog +* Mon Oct 3 2005 Matthias Clasen +- Fix a typo in description + * Tue Aug 30 2005 David Zeuthen - 0.5.4-3 - Rebuild From fedora-cvs-commits at redhat.com Mon Oct 3 06:36:27 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 02:36:27 -0400 Subject: rpms/ruby/devel ruby.spec,1.40,1.41 Message-ID: <200510030636.j936aRkf032759@cvs.devel.redhat.com> Author: tagoh Update of /cvs/dist/rpms/ruby/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv32714 Modified Files: ruby.spec Log Message: * Mon Oct 3 2005 Akira TAGOH - 1.8.3-3 - fixed the wrong file list. the external library for tcl/tk was included in ruby-libs unexpectedly. Index: ruby.spec =================================================================== RCS file: /cvs/dist/rpms/ruby/devel/ruby.spec,v retrieving revision 1.40 retrieving revision 1.41 diff -u -r1.40 -r1.41 --- ruby.spec 26 Sep 2005 08:59:06 -0000 1.40 +++ ruby.spec 3 Oct 2005 06:36:25 -0000 1.41 @@ -4,7 +4,7 @@ Name: ruby Version: 1.8.3 -Release: 2 +Release: 3 License: Distributable URL: http://www.ruby-lang.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -294,11 +294,11 @@ # for ruby-tcltk.rpm cp /dev/null ruby-tcltk.files -for f in `find %{name}-%{version}/ext/tk/lib -type f; find %{name}-%{version}/ext/tk -type f -name '*.so'` +for f in `find %{name}-%{version}/ext/tk/lib -type f; find %{name}-%{version}/.ext/ -type f -name '*.so'` do egrep "tcl|tk" ruby-all.files | grep "/`basename $f`$" >> ruby-tcltk.files || : done -for f in `find %{name}-%{version}/ext/tcltklib/lib -type f; find %{name}-%{version}/ext/tcltklib -type f -name '*.so'` +for f in `find %{name}-%{version}/ext/tcltklib/lib -type f; find %{name}-%{version}/.ext -type f -name '*.so'` do egrep "tcl|tk" ruby-all.files | grep "/`basename $f`$" >> ruby-tcltk.files || : done @@ -414,6 +414,10 @@ %dir %{_datadir}/emacs/site-lisp/ruby-mode %changelog +* Mon Oct 3 2005 Akira TAGOH - 1.8.3-3 +- fixed the wrong file list. the external library for tcl/tk was included + in ruby-libs unexpectedly. + * Mon Sep 26 2005 Akira TAGOH - 1.8.3-2 - ruby-multilib.patch: added another chunk for multilib. (#169127) From fedora-cvs-commits at redhat.com Mon Oct 3 06:39:38 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 02:39:38 -0400 Subject: rpms/ruby/FC-4 ruby.spec,1.34,1.35 Message-ID: <200510030639.j936dcg7001854@cvs.devel.redhat.com> Author: tagoh Update of /cvs/dist/rpms/ruby/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv1813 Modified Files: ruby.spec Log Message: * Mon Oct 3 2005 Akira TAGOH - 1.8.3-2.fc4 - fixed the wrong file list. the external libraries for tcl/tk was included in ruby-libs unexpectedly. (#169619) Index: ruby.spec =================================================================== RCS file: /cvs/dist/rpms/ruby/FC-4/ruby.spec,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- ruby.spec 26 Sep 2005 11:02:56 -0000 1.34 +++ ruby.spec 3 Oct 2005 06:39:36 -0000 1.35 @@ -4,7 +4,7 @@ Name: ruby Version: 1.8.3 -Release: 1.fc4 +Release: 2.fc4 License: Distributable URL: http://www.ruby-lang.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -294,11 +294,11 @@ # for ruby-tcltk.rpm cp /dev/null ruby-tcltk.files -for f in `find %{name}-%{version}/ext/tk/lib -type f; find %{name}-%{version}/ext/tk -type f -name '*.so'` +for f in `find %{name}-%{version}/ext/tk/lib -type f; find %{name}-%{version}/.ext/ -type f -name '*.so'` do egrep "tcl|tk" ruby-all.files | grep "/`basename $f`$" >> ruby-tcltk.files || : done -for f in `find %{name}-%{version}/ext/tcltklib/lib -type f; find %{name}-%{version}/ext/tcltklib -type f -name '*.so'` +for f in `find %{name}-%{version}/ext/tcltklib/lib -type f; find %{name}-%{version}/.ext/ -type f -name '*.so'` do egrep "tcl|tk" ruby-all.files | grep "/`basename $f`$" >> ruby-tcltk.files || : done @@ -414,6 +414,10 @@ %dir %{_datadir}/emacs/site-lisp/ruby-mode %changelog +* Mon Oct 3 2005 Akira TAGOH - 1.8.3-2.fc4 +- fixed the wrong file list. the external libraries for tcl/tk was included + in ruby-libs unexpectedly. (#169619) + * Mon Sep 26 2005 Akira TAGOH - 1.8.3-1.fc4 - New upstream release. - Build-Requires xorg-x11-devel instead of XFree86-devel. From fedora-cvs-commits at redhat.com Mon Oct 3 07:26:33 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 03:26:33 -0400 Subject: rpms/openoffice.org/FC-4 workspace.cmcfixes19.patch,1.1,1.2 Message-ID: <200510030726.j937QXLe030549@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/openoffice.org/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv30519 Modified Files: workspace.cmcfixes19.patch Log Message: for fc4 workspace.cmcfixes19.patch: readlicense_oo/docs/readme.xsl | 2 +- readlicense_oo/util/makefile.pmk | 12 ++++-------- sc/addin/datefunc/makefile.mk | 2 +- sc/addin/rot13/makefile.mk | 4 ++-- sc/util/makefile.mk | 3 ++- scp2/source/ooo/file_ooo.scp | 2 ++ scp2/source/ooo/makefile.mk | 4 ++++ svx/source/intro/makefile.mk | 1 + svx/source/unodialogs/textconversiondlgs/makefile.mk | 2 ++ sw/util/makefile.mk | 1 + 10 files changed, 20 insertions(+), 13 deletions(-) Index: workspace.cmcfixes19.patch =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/FC-4/workspace.cmcfixes19.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- workspace.cmcfixes19.patch 28 Sep 2005 13:24:05 -0000 1.1 +++ workspace.cmcfixes19.patch 3 Oct 2005 07:26:28 -0000 1.2 @@ -1,59 +1,3 @@ -Index: configure.in -=================================================================== -RCS file: /cvs/tools/config_office/configure.in,v -retrieving revision 1.135 -retrieving revision 1.135.16.1 -diff -u -p -u -r1.135 -r1.135.16.1 ---- openoffice.org.orig/config_office/configure.in 30 Aug 2005 09:34:09 -0000 1.135 -+++ openoffice.org/config_office/configure.in 23 Sep 2005 09:28:40 -0000 1.135.16.1 -@@ -4194,6 +4194,8 @@ else - fi - AC_SUBST(LOCAL_SOLVER) - -+BUILD_TYPE="$BUILD_TYPE XALAN" -+ - AC_SUBST(BUILD_TYPE) - - # make sure config.guess is +x; we execute config.guess, so it has to be so; -Index: prj/build.lst -=================================================================== -RCS file: /cvs/framework/filter/prj/build.lst,v -retrieving revision 1.22 -retrieving revision 1.22.170.1 -diff -u -p -u -r1.22 -r1.22.170.1 ---- openoffice.org.orig/filter/prj/build.lst 2 Feb 2005 13:45:49 -0000 1.22 -+++ openoffice.org/filter/prj/build.lst 23 Sep 2005 08:19:54 -0000 1.22.170.1 -@@ -1,4 +1,4 @@ --fl filter : svtools unotools goodies xmloff svx javaunohelper jvmaccess xalan NULL -+fl filter : svtools unotools goodies xmloff svx javaunohelper jvmaccess XALAN:xalan NULL - fl filter usr1 - all fl_mkout NULL - fl filter\prj get - all fl_prj NULL - fl filter\source\jars nmake - all fl_javafilter_binaries NULL -Index: source/config/fragments/makefile.mk -=================================================================== -RCS file: /cvs/framework/filter/source/config/fragments/makefile.mk,v -retrieving revision 1.12 -retrieving revision 1.12.18.1 -diff -u -p -u -r1.12 -r1.12.18.1 ---- openoffice.org.orig/filter/source/config/fragments/makefile.mk 8 Sep 2005 21:33:23 -0000 1.12 -+++ openoffice.org/filter/source/config/fragments/makefile.mk 23 Sep 2005 09:27:33 -0000 1.12.18.1 -@@ -148,12 +148,12 @@ ALLTAR: \ - #cmc, hack to workaround the java build requirement - MERGE:=python ../tools/merge/pyAltFCFGMerge - .ELSE --MERGE := $(JAVA) -jar $(CLASSDIR)$/FCFGMerge.jar -+MERGE := $(JAVAI) -jar $(CLASSDIR)$/FCFGMerge.jar - .IF "$(JDK)" == "gcj" --PACKLANG := $(JAVA) $(JAVACPS) $(SOLARBINDIR)/xalan.jar org.apache.xalan.xslt.Process -XSL langfilter.xsl --.ELSE --PACKLANG := $(JAVA) org.apache.xalan.xslt.Process -XSL langfilter.xsl -+XALANCLASS=$(SOLARBINDIR)/xalan.jar -+CLASSPATH:=$(CLASSPATH)$(PATH_SEPERATOR){$(subst,%Z*Z%,$(PATH_SEPERATOR) $(XALANCLASS:s/ /%Z*Z%/))} - .ENDIF -+PACKLANG := $(JAVAI) org.apache.xalan.xslt.Process -XSL langfilter.xsl - .ENDIF - - # ----------------------------------------------------------------------------- Index: docs/readme.xsl =================================================================== RCS file: /cvs/installation/readlicense/docs/readme.xsl,v @@ -259,17 +203,3 @@ DEF3NAME= $(SHL3TARGET) SHL3STDLIBS= \ -Index: prj/build.lst -=================================================================== -RCS file: /cvs/installation/wizards/prj/build.lst,v -retrieving revision 1.39 -retrieving revision 1.39.14.1 -diff -u -p -u -r1.39 -r1.39.14.1 ---- openoffice.org.orig/wizards/prj/build.lst 16 Aug 2005 09:28:05 -0000 1.39 -+++ openoffice.org/wizards/prj/build.lst 23 Sep 2005 08:14:20 -0000 1.39.14.1 -@@ -1,4 +1,4 @@ --wz wizards : rsc javaunohelper jut unoil QADEVOOO:qadevOOo xalan transex3 NULL -+wz wizards : rsc javaunohelper jut unoil QADEVOOO:qadevOOo XALAN:xalan transex3 NULL - wz wizards\util nmake - all wz_util NULL - wz wizards\source\config nmake - all wz_config NULL - wz wizards\source\imagelists nmake - all wz_imglists NULL From fedora-cvs-commits at redhat.com Mon Oct 3 07:42:01 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 03:42:01 -0400 Subject: rpms/ruby/FC-3 ruby.spec,1.28,1.29 Message-ID: <200510030742.j937g143003041@cvs.devel.redhat.com> Author: tagoh Update of /cvs/dist/rpms/ruby/FC-3 In directory cvs.devel.redhat.com:/tmp/cvs-serv3000 Modified Files: ruby.spec Log Message: * Mon Oct 3 2005 Akira TAGOH - 1.8.3-2.fc3 - fixed the wrong file list. the external libraries for tcl/tk was included in ruby-libs unexpectedly. Index: ruby.spec =================================================================== RCS file: /cvs/dist/rpms/ruby/FC-3/ruby.spec,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- ruby.spec 26 Sep 2005 11:51:53 -0000 1.28 +++ ruby.spec 3 Oct 2005 07:41:58 -0000 1.29 @@ -4,7 +4,7 @@ Name: ruby Version: 1.8.3 -Release: 1.fc3 +Release: 2.fc3 License: Distributable URL: http://www.ruby-lang.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -294,11 +294,11 @@ # for ruby-tcltk.rpm cp /dev/null ruby-tcltk.files -for f in `find %{name}-%{version}/ext/tk/lib -type f; find %{name}-%{version}/ext/tk -type f -name '*.so'` +for f in `find %{name}-%{version}/ext/tk/lib -type f; find %{name}-%{version}/.ext/ -type f -name '*.so'` do egrep "tcl|tk" ruby-all.files | grep "/`basename $f`$" >> ruby-tcltk.files || : done -for f in `find %{name}-%{version}/ext/tcltklib/lib -type f; find %{name}-%{version}/ext/tcltklib -type f -name '*.so'` +for f in `find %{name}-%{version}/ext/tcltklib/lib -type f; find %{name}-%{version}/.ext/ -type f -name '*.so'` do egrep "tcl|tk" ruby-all.files | grep "/`basename $f`$" >> ruby-tcltk.files || : done @@ -414,6 +414,10 @@ %dir %{_datadir}/emacs/site-lisp/ruby-mode %changelog +* Mon Oct 3 2005 Akira TAGOH - 1.8.3-2.fc3 +- fixed the wrong file list. the external libraries for tcl/tk was included + in ruby-libs unexpectedly. + * Mon Sep 26 2005 Akira TAGOH - 1.8.3-1.fc3 - New upstream release. - Build-Requires xorg-x11-devel instead of XFree86-devel. From fedora-cvs-commits at redhat.com Mon Oct 3 09:31:39 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 05:31:39 -0400 Subject: rpms/hexedit/devel .cvsignore, 1.5, 1.6 hexedit.spec, 1.14, 1.15 sources, 1.5, 1.6 Message-ID: <200510030931.j939Vdb6027124@cvs.devel.redhat.com> Author: jnovy Update of /cvs/dist/rpms/hexedit/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv27054 Modified Files: .cvsignore hexedit.spec sources Log Message: update to 1.2.12 Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/hexedit/devel/.cvsignore,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- .cvsignore 9 Sep 2004 06:07:35 -0000 1.5 +++ .cvsignore 3 Oct 2005 09:31:34 -0000 1.6 @@ -1 +1,2 @@ hexedit-1.2.10.src.tgz +hexedit-1.2.12.src.tgz Index: hexedit.spec =================================================================== RCS file: /cvs/dist/rpms/hexedit/devel/hexedit.spec,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- hexedit.spec 4 Mar 2005 13:55:13 -0000 1.14 +++ hexedit.spec 3 Oct 2005 09:31:34 -0000 1.15 @@ -1,7 +1,7 @@ Summary: A hexadecimal file viewer and editor. Name: hexedit -Version: 1.2.10 -Release: 4 +Version: 1.2.12 +Release: 1 License: GPL Group: Applications/Editors Url: http://merd.net/pixel @@ -38,6 +38,11 @@ %{_mandir}/*/* %changelog +* Mon Oct 3 2005 Jindrich Novy 1.2.12-1 +- update to 1.2.12 +- new upstream release introduces "fruit salad" colored hexeditor ;-) + (try --color) + * Fri Mar 4 2005 Jindrich Novy 1.2.10-4 - rebuilt with gcc4 Index: sources =================================================================== RCS file: /cvs/dist/rpms/hexedit/devel/sources,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- sources 9 Sep 2004 06:07:35 -0000 1.5 +++ sources 3 Oct 2005 09:31:34 -0000 1.6 @@ -1 +1 @@ -5d925ab9f0746ccd1d05c80fef628938 hexedit-1.2.10.src.tgz +dd31ed490baed49ae50e13e0984c8848 hexedit-1.2.12.src.tgz From fedora-cvs-commits at redhat.com Mon Oct 3 10:32:33 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 06:32:33 -0400 Subject: rpms/file/devel file-4.15-berkeley.patch, NONE, 1.1 file.spec, 1.35, 1.36 Message-ID: <200510031032.j93AWXbB028725@cvs.devel.redhat.com> Author: rvokal Update of /cvs/dist/rpms/file/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv28681 Modified Files: file.spec Added Files: file-4.15-berkeley.patch Log Message: - file output for Berkeley DB gains Cracklib (#168917) file-4.15-berkeley.patch: Makefile.in | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) --- NEW FILE file-4.15-berkeley.patch --- --- file-4.15/magic/Makefile.in.berkeley 2005-10-03 11:26:31.000000000 +0200 +++ file-4.15/magic/Makefile.in 2005-10-03 11:27:28.000000000 +0200 @@ -200,7 +200,6 @@ Magdir/citrus \ Magdir/claris \ Magdir/clipper \ -Magdir/cracklib \ Magdir/spec \ Magdir/commands \ Magdir/communications \ @@ -210,6 +209,7 @@ Magdir/ctags \ Magdir/dact \ Magdir/database \ +Magdir/cracklib \ Magdir/diamond \ Magdir/diff \ Magdir/digital \ Index: file.spec =================================================================== RCS file: /cvs/dist/rpms/file/devel/file.spec,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- file.spec 19 Sep 2005 13:17:51 -0000 1.35 +++ file.spec 3 Oct 2005 10:32:29 -0000 1.36 @@ -3,7 +3,7 @@ Summary: A utility for determining file types. Name: file Version: 4.15 -Release: 3 +Release: 4 License: distributable Group: Applications/File Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz @@ -14,6 +14,7 @@ Patch5: file-4.13-fsdump.patch Patch6: file-4.13-quick.patch Patch7: file-4.15-style.patch +Patch8: file-4.15-berkeley.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: zlib-devel @@ -35,6 +36,7 @@ %patch5 -p1 -b .fsdump %patch6 -p1 -b .quick %patch7 -p1 -b .style +%patch8 -p1 -b .berkeley iconv -f iso-8859-1 -t utf-8 < doc/libmagic.man > doc/libmagic.man_ mv doc/libmagic.man_ doc/libmagic.man @@ -79,6 +81,9 @@ %{_libdir}/libmagic.* %changelog +* Mon Oct 03 2005 Radek Vokal - 4.15-4 +- file output for Berkeley DB gains Cracklib (#168917) + * Mon Sep 19 2005 Radek Vokal - 4.15-3 - small fix in previously added patch, now it works for multiple params From fedora-cvs-commits at redhat.com Mon Oct 3 10:44:56 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 06:44:56 -0400 Subject: rpms/openoffice.org/devel openoffice.org.spec,1.500,1.501 Message-ID: <200510031044.j93AiuH6001178@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/openoffice.org/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv1139 Modified Files: openoffice.org.spec Log Message: dup dirs warning Index: openoffice.org.spec =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/devel/openoffice.org.spec,v retrieving revision 1.500 retrieving revision 1.501 diff -u -r1.500 -r1.501 --- openoffice.org.spec 1 Oct 2005 19:08:22 -0000 1.500 +++ openoffice.org.spec 3 Oct 2005 10:44:53 -0000 1.501 @@ -2775,14 +2775,7 @@ %if ! %{seperatebase} %{instdir}/help/en/sdatabase.* %{instdir}/program/sbase -%dir %{instdir}/share/registry -%dir %{instdir}/share/registry/modules -%dir %{instdir}/share/registry/modules/org -%dir %{instdir}/share/registry/modules/org/openoffice -%dir %{instdir}/share/registry/modules/org/openoffice/Office -%dir %{instdir}/share/registry/modules/org/openoffice/Office/Common %{instdir}/share/registry/modules/org/openoffice/Office/Common/Common-base.xcu -%dir %{instdir}/share/registry/modules/org/openoffice/Setup %{instdir}/share/registry/modules/org/openoffice/Setup/Setup-base.xcu %{_bindir}/oobase %dir %{_datadir}/applications From fedora-cvs-commits at redhat.com Mon Oct 3 10:48:15 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 06:48:15 -0400 Subject: rpms/openoffice.org/FC-4 openoffice.org.spec,1.212,1.213 Message-ID: <200510031048.j93AmFvw009263@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/openoffice.org/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv9227 Modified Files: openoffice.org.spec Log Message: dammit, 0 instead of O Index: openoffice.org.spec =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/FC-4/openoffice.org.spec,v retrieving revision 1.212 retrieving revision 1.213 diff -u -r1.212 -r1.213 --- openoffice.org.spec 2 Oct 2005 18:12:57 -0000 1.212 +++ openoffice.org.spec 3 Oct 2005 10:48:11 -0000 1.213 @@ -899,14 +899,14 @@ echo "$find_provides | grep -v libxmlsec1 | grep -v libdb- | grep -v libicu" >> find-provides echo "exit 0" >> find-provides chmod +x find-provides -%define __find_provides %{_builddir}/000680_m%{ooo2ver}/find-provides +%define __find_provides %{_builddir}/OOO680_m%{ooo2ver}/find-provides find_requires="%{__find_requires}" echo "#!/bin/sh" > find-requires echo "$find_requires | grep -v libxmlsec1 | grep -v libdb- | grep -v libicu | grep -v \(" >> find-requires echo "exit 0" >> find-requires chmod +x find-requires -%define __find_requires %{_builddir}/000680_m%{ooo2ver}/find-requires +%define __find_requires %{_builddir}/OOO680_m%{ooo2ver}/find-requires #end ludicrous workaround %endif @@ -2777,14 +2777,7 @@ %if ! %{seperatebase} %{instdir}/help/en/sdatabase.* %{instdir}/program/sbase -%dir %{instdir}/share/registry -%dir %{instdir}/share/registry/modules -%dir %{instdir}/share/registry/modules/org -%dir %{instdir}/share/registry/modules/org/openoffice -%dir %{instdir}/share/registry/modules/org/openoffice/Office -%dir %{instdir}/share/registry/modules/org/openoffice/Office/Common %{instdir}/share/registry/modules/org/openoffice/Office/Common/Common-base.xcu -%dir %{instdir}/share/registry/modules/org/openoffice/Setup %{instdir}/share/registry/modules/org/openoffice/Setup/Setup-base.xcu %{_bindir}/oobase %dir %{_datadir}/applications From fedora-cvs-commits at redhat.com Mon Oct 3 10:48:47 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 06:48:47 -0400 Subject: rpms/openoffice.org/devel openoffice.org.spec,1.501,1.502 Message-ID: <200510031048.j93AmlT3009555@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/openoffice.org/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv9525 Modified Files: openoffice.org.spec Log Message: O not 0 Index: openoffice.org.spec =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/devel/openoffice.org.spec,v retrieving revision 1.501 retrieving revision 1.502 diff -u -r1.501 -r1.502 --- openoffice.org.spec 3 Oct 2005 10:44:53 -0000 1.501 +++ openoffice.org.spec 3 Oct 2005 10:48:43 -0000 1.502 @@ -897,14 +897,14 @@ echo "$find_provides | grep -v libxmlsec1 | grep -v libdb- | grep -v libicu" >> find-provides echo "exit 0" >> find-provides chmod +x find-provides -%define __find_provides %{_builddir}/000680_m%{ooo2ver}/find-provides +%define __find_provides %{_builddir}/OOO680_m%{ooo2ver}/find-provides find_requires="%{__find_requires}" echo "#!/bin/sh" > find-requires echo "$find_requires | grep -v libxmlsec1 | grep -v libdb- | grep -v libicu | grep -v \(" >> find-requires echo "exit 0" >> find-requires chmod +x find-requires -%define __find_requires %{_builddir}/000680_m%{ooo2ver}/find-requires +%define __find_requires %{_builddir}/OOO680_m%{ooo2ver}/find-requires #end ludicrous workaround %endif From fedora-cvs-commits at redhat.com Mon Oct 3 10:49:35 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 06:49:35 -0400 Subject: rpms/mc/devel mc-cstrans.patch, NONE, 1.1 mc-ctrl-t.patch, NONE, 1.1 mc.spec, 1.63, 1.64 Message-ID: <200510031049.j93AnZb7009990@cvs.devel.redhat.com> Author: jnovy Update of /cvs/dist/rpms/mc/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv9888 Modified Files: mc.spec Added Files: mc-cstrans.patch mc-ctrl-t.patch Log Message: - fix duplicated keyboard shortcuts in menus for Czech locale (#169734) - fix ctrl-t page code recoding for Russian locale, thanks to Andy Shevchenko (#163594) mc-cstrans.patch: cs.po | 27 +++++++++++++-------------- 1 files changed, 13 insertions(+), 14 deletions(-) --- NEW FILE mc-cstrans.patch --- --- mc-4.6.1/po/cs.po.cstrans 2005-07-23 18:53:26.000000000 +0200 +++ mc-4.6.1/po/cs.po 2005-10-02 17:32:24.000000000 +0200 @@ -5,6 +5,7 @@ # Michal Svec (Michal ?vec), 2000. # Stanislav Brabec , 2001, 2002. # Miloslav Trmac , 2003. +# Jindrich Novy , 2005. # msgid "" msgstr "" @@ -566,7 +567,7 @@ msgstr "&P?ehodit zna?ky F3" #: edit/editmenu.c:320 msgid "&Mark Columns S-F3" -msgstr "&Zna?it sloupcov? S-F3" +msgstr "Z&na?it sloupcov? S-F3" #: edit/editmenu.c:322 msgid "Toggle &ins/overw Ins" @@ -618,7 +619,7 @@ msgstr "j?t na &P?rovou z?vorku M- #: edit/editmenu.c:350 edit/editmenu.c:374 msgid "Insert &literal... C-q" -msgstr "vlo?it &znak... C-q" +msgstr "vlo?it &Znak... C-q" #: edit/editmenu.c:352 edit/editmenu.c:376 msgid "&Refresh screen C-l" @@ -626,7 +627,7 @@ msgstr "&Obnovit obrazovku C- #: edit/editmenu.c:354 edit/editmenu.c:378 msgid "&Start record macro C-r" -msgstr "za??t zaznamen?vat &Makro C-r" +msgstr "z&A??t zaznamen?vat makro C-r" #: edit/editmenu.c:355 edit/editmenu.c:379 msgid "&Finish record macro... C-r" @@ -634,11 +635,11 @@ msgstr "&Ukon?it z?znam makra... C- #: edit/editmenu.c:356 msgid "&Execute macro... C-a, KEY" -msgstr "&Prov?st makro... C-a, KL?V" +msgstr "prov?st &Makro... C-a, KL?V" #: edit/editmenu.c:357 edit/editmenu.c:381 msgid "Delete macr&o... " -msgstr "&Smazat makro " +msgstr "smaza&T makro " #: edit/editmenu.c:359 edit/editmenu.c:383 msgid "Insert &date/time " @@ -658,15 +659,15 @@ msgstr "&Set??dit M- #: edit/editmenu.c:364 edit/editmenu.c:388 msgid "Paste o&utput of... M-u" -msgstr "" +msgstr "vlo?it &V?stup..." #: edit/editmenu.c:365 edit/editmenu.c:389 msgid "E&xternal Formatter F19" -msgstr "E&xtern? form?tova? F19" +msgstr "e&Xtern? form?tova? F19" #: edit/editmenu.c:366 edit/editmenu.c:390 msgid "&Mail... " -msgstr "o&Deslat... " +msgstr "od&Eslat... " #: edit/editmenu.c:380 msgid "&Execute macro... C-x e, KEY" @@ -2290,9 +2291,8 @@ msgid "&Add current" msgstr "p?idat &Tento" #: src/hotlist.c:126 -#, fuzzy msgid "&Refresh" -msgstr "&Pozp?tku" +msgstr "&Obnovit" #: src/hotlist.c:127 msgid "Fr&ee VFSs now" @@ -2673,7 +2673,7 @@ msgstr "s??ov? spoje&N?..." #: src/main.c:810 src/main.c:834 msgid "FT&P link..." -msgstr "FT&P spojen?..." +msgstr "F&TP spojen?..." #: src/main.c:811 src/main.c:835 msgid "S&hell link..." @@ -2697,7 +2697,7 @@ msgstr "pro&Hl?dnout F3" #: src/main.c:847 msgid "Vie&w file... " -msgstr "prohl?&Dnout soubor..." +msgstr "proh&L?dnout soubor..." #: src/main.c:848 msgid "&Filtered view M-!" @@ -4161,9 +4161,8 @@ msgid "ftpfs: sending user password" msgstr "ftpfs: heslo pro anonymn? ftp odesl?no" #: vfs/ftpfs.c:478 -#, fuzzy, c-format msgid "FTP: Account required for user %s" -msgstr " FTP: Heslo je vy?adov?no pro " +msgstr "FTP: Heslo je vy?adov?no pro %s" #: vfs/ftpfs.c:480 #, fuzzy mc-ctrl-t.patch: view.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) --- NEW FILE mc-ctrl-t.patch --- --- mc-4.6.1/src/view.c.orig 2005-08-31 08:28:40.000000000 -0400 +++ mc-4.6.1/src/view.c 2005-08-31 09:24:09.000000000 -0400 @@ -1085,7 +1085,7 @@ display (WView *view) int mblen; wchar_t wc; #endif /* UTF8 */ - c = get_byte (view, from); + c = (unsigned char) get_byte (view, from); if ((c == '\n') || (col >= width && view->wrap_mode)) { col = frame_shift; row++; @@ -1116,7 +1116,7 @@ display (WView *view) if (res == mblen) break; - mbbuf[mblen] = convert_to_display_c (get_byte (view, from + mblen)); + mbbuf[mblen] = convert_to_display_c ((unsigned char) get_byte (view, from + mblen)); mblen++; } Index: mc.spec =================================================================== RCS file: /cvs/dist/rpms/mc/devel/mc.spec,v retrieving revision 1.63 retrieving revision 1.64 diff -u -r1.63 -r1.64 --- mc.spec 29 Sep 2005 17:49:11 -0000 1.63 +++ mc.spec 3 Oct 2005 10:49:32 -0000 1.64 @@ -1,7 +1,7 @@ Summary: User-friendly text console file manager and visual shell. Name: mc Version: 4.6.1a -Release: 0.16 +Release: 0.17 Epoch: 1 License: GPL Group: System Environment/Shells @@ -24,6 +24,8 @@ Patch9: mc-specsyntax.patch Patch10: mc-find.patch Patch11: mc-symcrash.patch +Patch12: mc-cstrans.patch +Patch13: mc-ctrl-t.patch %description Midnight Commander is a visual shell much like a file manager, only @@ -47,6 +49,8 @@ %patch9 -p1 -b .specsyntax %patch10 -p1 -b .find %patch11 -p1 -b .symcrash +%patch12 -p1 -b .cstrans +%patch13 -p1 -b .ctrl-t # convert files in /lib to UTF-8 pushd lib @@ -183,6 +187,11 @@ %dir %{_datadir}/mc %changelog +* Mon Oct 2 2005 Jindrich Novy 4.6.1a-0.17 +- fix duplicated keyboard shortcuts in menus for Czech locale (#169734) +- fix ctrl-t page code recoding for Russian locale, thanks to + Andy Shevchenko (#163594) + * Thu Sep 29 2005 Jindrich Novy 4.6.1a-0.16 - fix memory leak in mc-utf8 patch, thanks to Marcin Garski (#169549) - fix mc-find patch to support UTF-8, thanks to Victor Abramoff (#169531) From fedora-cvs-commits at redhat.com Mon Oct 3 10:52:55 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 06:52:55 -0400 Subject: rpms/openoffice.org/devel openoffice.org.spec,1.502,1.503 Message-ID: <200510031052.j93AqtKq011654@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/openoffice.org/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv11622 Modified Files: openoffice.org.spec Log Message: centralize that Index: openoffice.org.spec =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/devel/openoffice.org.spec,v retrieving revision 1.502 retrieving revision 1.503 diff -u -r1.502 -r1.503 --- openoffice.org.spec 3 Oct 2005 10:48:43 -0000 1.502 +++ openoffice.org.spec 3 Oct 2005 10:52:52 -0000 1.503 @@ -1,5 +1,6 @@ %define ooo2ver 1 %define ooo_rpm_release 2 +%define ooo_base_name OOO680_m%{ooo2ver} %define build_fc5 1 %define build_fc4 0 %define build_rhel4 0 @@ -113,7 +114,7 @@ Group: Applications/Productivity URL: http://www.openoffice.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-root -Source: OOO680_m%{ooo2ver}.tar.bz2 +Source: %{ooo_base_name}.tar.bz2 Source1: openoffice.org-jakubicons.tar.gz Source2: openoffice.org-myspell-contrib.tar.gz Source3: GSI_ta-IN.sdf @@ -812,7 +813,7 @@ Provides additional zulu translations for %{name} %prep -%setup -q -n OOO680_m%{ooo2ver} +%setup -q -n %{ooo_base_name} %patch0 -p1 -b .rh133741.alwaysgtk.desktop.patch %patch1 -p1 -b .rh161886.rpath.desktop.patch %patch2 -p1 -b .rh151357.setlangtolocale.patch @@ -897,14 +898,14 @@ echo "$find_provides | grep -v libxmlsec1 | grep -v libdb- | grep -v libicu" >> find-provides echo "exit 0" >> find-provides chmod +x find-provides -%define __find_provides %{_builddir}/OOO680_m%{ooo2ver}/find-provides +%define __find_provides %{_builddir}/%{ooo_base_name}/find-provides find_requires="%{__find_requires}" echo "#!/bin/sh" > find-requires echo "$find_requires | grep -v libxmlsec1 | grep -v libdb- | grep -v libicu | grep -v \(" >> find-requires echo "exit 0" >> find-requires chmod +x find-requires -%define __find_requires %{_builddir}/OOO680_m%{ooo2ver}/find-requires +%define __find_requires %{_builddir}/%{ooo_base_name}/find-requires #end ludicrous workaround %endif From fedora-cvs-commits at redhat.com Mon Oct 3 12:40:42 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 08:40:42 -0400 Subject: rpms/alsa-lib/devel .cvsignore, 1.16, 1.17 alsa-lib.spec, 1.33, 1.34 sources, 1.18, 1.19 Message-ID: <200510031240.j93Cegb3004208@cvs.devel.redhat.com> Author: stransky Update of /cvs/dist/rpms/alsa-lib/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv4172 Modified Files: .cvsignore alsa-lib.spec sources Log Message: fixes in config files, new ainit (for #166086) Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/alsa-lib/devel/.cvsignore,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- .cvsignore 27 Sep 2005 15:27:23 -0000 1.16 +++ .cvsignore 3 Oct 2005 12:40:40 -0000 1.17 @@ -3,3 +3,4 @@ alsa-lib-1.0.9.tar.bz2 ainit-0.5.tar.gz alsa-lib-1.0.10rc1.tar.bz2 +ainit-0.6.tar.gz Index: alsa-lib.spec =================================================================== RCS file: /cvs/dist/rpms/alsa-lib/devel/alsa-lib.spec,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- alsa-lib.spec 27 Sep 2005 15:27:23 -0000 1.33 +++ alsa-lib.spec 3 Oct 2005 12:40:40 -0000 1.34 @@ -1,20 +1,20 @@ %define version_main 1.0.10rc1 %define version_app -%define version_ainit 0.5 +%define version_ainit 0.6 Summary: The Advanced Linux Sound Architecture (ALSA) library. -Name: alsa-lib +Name: alsa-lib Version: %{version_main}%{?version_app} -Release: 1 +Release: 2 License: LGPL -Group: System Environment/Libraries -Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version_main}%{?prever}.tar.bz2 +Group: System Environment/Libraries +Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version_main}%{?prever}.tar.bz2 Source1: ainit-%{version_ainit}.tar.gz -Patch0: alsa-lib-1.0.10-ainit.patch -URL: http://www.alsa-project.org/ +Patch0: alsa-lib-1.0.10-ainit.patch +URL: http://www.alsa-project.org/ BuildRoot: %{_tmppath}/%{name}-%{version_main}-root BuildRequires: doxygen -Prereq: /sbin/ldconfig, coreutils +Prereq: /sbin/ldconfig, coreutils %description The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI @@ -65,6 +65,9 @@ mv %{buildroot}/etc/aclocal %{buildroot}%{_datadir} +rm %{buildroot}%{_sysconfdir}/alsa/pcm/dmix.conf +rm %{buildroot}%{_sysconfdir}/alsa/pcm/dsnoop.conf + # install ainit binaries install -m 755 ainit/ainit %{buildroot}%{_bindir} @@ -115,8 +118,8 @@ %config %{_sysconfdir}/alsa/alsa.conf %{_bindir}/ainit %{_mandir}/man?/* -%config(noreplace) %{_sysconfdir}/alsa/pcm/dmix.conf -%config(noreplace) %{_sysconfdir}/alsa/pcm/dsnoop.conf +#%config(noreplace) %{_sysconfdir}/alsa/pcm/dmix.conf +#%config(noreplace) %{_sysconfdir}/alsa/pcm/dsnoop.conf %config %{_sysconfdir}/alsa/pcm/dmix.template %config %{_sysconfdir}/alsa/pcm/dsnoop.template %ghost %{_sysconfdir}/alsa/pcm/dmix.conf.lock @@ -134,6 +137,9 @@ %{_datadir}/aclocal/alsa.m4 %changelog +* Tue Sep 27 2005 Martin Stransky 1.0.10rc1-2 +- fixes in config files, new ainit (for #166086) + * Tue Sep 27 2005 Martin Stransky 1.0.10rc1-1 - new upstream version Index: sources =================================================================== RCS file: /cvs/dist/rpms/alsa-lib/devel/sources,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- sources 27 Sep 2005 15:27:23 -0000 1.18 +++ sources 3 Oct 2005 12:40:40 -0000 1.19 @@ -1,2 +1,2 @@ -51451c0e06e5334bb08d3126f3444e0c ainit-0.5.tar.gz 803c9684af07da50f6de1cc9fb57373c alsa-lib-1.0.10rc1.tar.bz2 +16bbe521dfc466200399d59f274b4001 ainit-0.6.tar.gz From fedora-cvs-commits at redhat.com Mon Oct 3 13:06:48 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 09:06:48 -0400 Subject: rpms/logwatch/devel logwatch-6.1.2-audit2.patch, NONE, 1.1 logwatch-6.1.2-cron.patch, NONE, 1.1 logwatch-6.1.2-sshd.patch, 1.1, 1.2 logwatch.spec, 1.23, 1.24 Message-ID: <200510031306.j93D6mBB020311@cvs.devel.redhat.com> Author: varekova Update of /cvs/dist/rpms/logwatch/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv20188 Modified Files: logwatch-6.1.2-sshd.patch logwatch.spec Added Files: logwatch-6.1.2-audit2.patch logwatch-6.1.2-cron.patch Log Message: - add audit script patch recognized other unmatched logs - add cron script patch - change sshd script patch logwatch-6.1.2-audit2.patch: audit | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) --- NEW FILE logwatch-6.1.2-audit2.patch --- --- logwatch-6.1.2/scripts/services/audit.pom 2005-09-30 14:59:39.000000000 +0200 +++ logwatch-6.1.2/scripts/services/audit 2005-10-03 13:51:10.000000000 +0200 @@ -48,9 +48,12 @@ chomp($ThisLine); if (( $ThisLine =~ /initializing netlink socket \(disabled\)/) or ( $ThisLine =~ /audit_pid=[0-9]* old=[0-9]*(?: by auid=[0-9]*)?/) or - ( $ThisLine =~ /syscall=[0-9]+ exit=[0-9]+( a[0-3]=[0-9a-f]*)* items=[0-9]* pid=[0-9]* loginuid=[0-9-]* uid=[0-9]* gid=[0-9]* euid=[0-9]* suid=[0-9]* fsuid=[0-9]* egid=[0-9]* sgid=[0-9]* fsgid=[0-9]*/) or + ( $ThisLine =~ /(arch=[0-9]+ )?syscall=[0-9]+ (success=(no|yes) )?exit=[0-9-]+( a[0-3]=[0-9a-f]+)* items=[0-9]+ pid=[0-9]+ (loginuid=[0-9-]+ )?(auid=[0-9]+ )?uid=[0-9]+ gid=[0-9]+ euid=[0-9]+ suid=[0-9]+ fsuid=[0-9]+ egid=[0-9]+ sgid=[0-9]+ fsgid=[0-9]+/) or ( $ThisLine =~ /Audit daemon rotating log files/) or - ( $ThisLine =~ /audit_backlog_limit=[0-9]* old=[0-9]*(?: by auid=[0-9]*)?/) + ( $ThisLine =~ /audit_backlog_limit=[0-9]* old=[0-9]*(?: by auid=[0-9]*)?/) or + ( $ThisLine =~ /SELinux: unrecognized netlink message type=[0-9]+ for sclass=[0-9]+/) or + ( $ThisLine =~ /audit\([0-9.]+:[0-9]+\): saddr=[0-9]+/) or + ( $ThisLine =~ /nargs=[0-9]+ a0=[0-9a-f]+ a1=[0-9a-f]+ a2=[0-9a-f]+ a3=[0-9a-f]+ a4=[0-9a-f]+ a5=[0-9a-f]+/) ) { # Ignore these entries } elsif ( $ThisLine =~ /audit\([0-9]{10}.[0-9]{3}:[0-9]\): initialized$/) { logwatch-6.1.2-cron.patch: cron | 10 ++++++++++ 1 files changed, 10 insertions(+) --- NEW FILE logwatch-6.1.2-cron.patch --- --- logwatch-6.1.2/scripts/services/cron.pom 2005-05-11 22:41:22.000000000 +0200 +++ logwatch-6.1.2/scripts/services/cron 2005-09-26 12:06:57.772953128 +0200 @@ -60,6 +60,7 @@ $Startups = 0; $Reloads = 0; $MailErrors = 0; +$BFMFile = 0; while (defined($ThisLine = )) { chomp($ThisLine); @@ -105,6 +106,8 @@ # ignore } elsif ( ($Reason) = ($ThisLine =~ /^error \((.+)\)$/) ) { $Errors{$Reason}++; + } elsif ( $ThisLine =~ /BAD FILE MODE \((.+)\)/) { + $BFMFile{$1}++; } else { # Report any unmatched entries... push @OtherList, "$ThisLine\n"; @@ -160,6 +163,13 @@ print "\nMAIL sending errors $MailErrors Time(s)\n"; } +if (keys %BFMFile) { + print "\nFiles with bad mode:\n"; + foreach $i (keys %BFMFile) { + print " $i\n"; + } +} + if ($Detail >= 10) { if (keys %UserReloads) { print " User crontabs reloaded:\n"; logwatch-6.1.2-sshd.patch: sshd | 6 +++++- 1 files changed, 5 insertions(+), 1 deletion(-) Index: logwatch-6.1.2-sshd.patch =================================================================== RCS file: /cvs/dist/rpms/logwatch/devel/logwatch-6.1.2-sshd.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- logwatch-6.1.2-sshd.patch 26 Sep 2005 10:26:29 -0000 1.1 +++ logwatch-6.1.2-sshd.patch 3 Oct 2005 13:06:45 -0000 1.2 @@ -1,13 +1,15 @@ ---- logwatch-6.1.2/scripts/services/sshd.p05 2005-05-22 00:47:48.000000000 +0200 -+++ logwatch-6.1.2/scripts/services/sshd 2005-09-22 14:12:23.000000000 +0200 -@@ -258,7 +258,9 @@ - if (keys %BindFailed) { - print "\nFailed to bind:\n"; - foreach $ThisOne (sort {$a cmp $b} keys %BindFailed) { -- print " $ThisOne : $BindFailed{$ThisOne} Time(s)\n"; -+ unless ($ThisOne =~ /^0.0.0.0/) { -+ print " $ThisOne : $BindFailed{$ThisOne} Time(s)\n"; +--- logwatch-6.1.2/scripts/services/sshd.ppp 2005-05-22 00:47:48.000000000 +0200 ++++ logwatch-6.1.2/scripts/services/sshd 2005-10-03 14:04:55.356925040 +0200 +@@ -160,7 +160,11 @@ + } + } elsif ( ($Port,$Address,$Reason) = ($ThisLine =~ /^error: Bind to port ([^ ]+) on ([^ ]+) failed: (.+).$/ )) { + $Temp = "$Address port $Port ($Reason)"; +- $BindFailed{$Temp}++; ++ # Failed to bind on 0.0.0.0 likely due to configured "ListenAddress" ++ # on both IPv4 and IPv6 ++ unless ($Address =~ /^0.0.0.0$/) { ++ $BindFailed{$Temp}++; + } - } - } - + } elsif ( $ThisLine =~ m/^(log: )?Generating .* \w+ key\./ ) { # ssh/openssh + # Don't care about this... + if ( $Debug >= 5 ) { \ No newline at end of file Index: logwatch.spec =================================================================== RCS file: /cvs/dist/rpms/logwatch/devel/logwatch.spec,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- logwatch.spec 30 Sep 2005 08:41:56 -0000 1.23 +++ logwatch.spec 3 Oct 2005 13:06:45 -0000 1.24 @@ -1,7 +1,7 @@ Summary: A log file analysis program. Name: logwatch Version: 6.1.2 -Release: 6 +Release: 7 License: MIT Group: Applications/System URL: http://www.logwatch.org/ @@ -15,6 +15,8 @@ Patch8: logwatch-6.1.2-named.patch Patch9: logwatch-6.1.2-sshd.patch Patch10: logwatch-6.1.2-audit.patch +Patch11: logwatch-6.1.2-cron.patch +Patch12: logwatch-6.1.2-audit2.patch Requires: textutils sh-utils grep mailx BuildRoot: %{_tmppath}/logwatch-build @@ -39,6 +41,8 @@ %patch8 -p1 %patch9 -p1 %patch10 -p1 +%patch11 -p1 +%patch12 -p1 %install rm -rf %{buildroot} @@ -116,6 +120,11 @@ %doc License project/CHANGES project/TODO %changelog +* Mon Oct 3 2005 Ivana Varekova 6.1.2-7 +- add audit script patch recognized other unmatched logs +- add cron script patch +- change sshd script patch + * Fri Sep 30 2005 Ivana Varekova 6.1.2-6 - add audit script patch to recognize number of unmatched entries From fedora-cvs-commits at redhat.com Mon Oct 3 13:10:59 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 09:10:59 -0400 Subject: rpms/libsemanage/devel .cvsignore, 1.9, 1.10 libsemanage.spec, 1.12, 1.13 sources, 1.10, 1.11 Message-ID: <200510031310.j93DAx2w022267@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libsemanage/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv22236 Modified Files: .cvsignore libsemanage.spec sources Log Message: * Mon Oct 3 2005 Dan Walsh 1.3.7-1 - Update from NSA * Merged patch series from Ivan Gyurdiev. (pointer typedef elimination, file renames, dbase work, backend separation) * Split interfaces from semanage.[hc] into handle.[hc], modules.[hc]. * Separated handle create from connect interface. * Added a constructor for initialization. * Moved up src/include/*.h to src. * Created a symbol map file; dropped dso.h and hidden markings. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/.cvsignore,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- .cvsignore 29 Sep 2005 01:13:28 -0000 1.9 +++ .cvsignore 3 Oct 2005 13:10:57 -0000 1.10 @@ -6,3 +6,4 @@ libsemanage-1.3.3.tgz libsemanage-1.3.4.tgz libsemanage-1.3.5.tgz +libsemanage-1.3.7.tgz Index: libsemanage.spec =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/libsemanage.spec,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- libsemanage.spec 29 Sep 2005 01:27:17 -0000 1.12 +++ libsemanage.spec 3 Oct 2005 13:10:57 -0000 1.13 @@ -1,6 +1,6 @@ Summary: SELinux binary policy manipulation library Name: libsemanage -Version: 1.3.5 +Version: 1.3.7 Release: 1 License: GPL Group: System Environment/Libraries @@ -64,6 +64,17 @@ %{_includedir}/semanage/*.h %changelog +* Mon Oct 3 2005 Dan Walsh 1.3.7-1 +- Update from NSA + * Merged patch series from Ivan Gyurdiev. + (pointer typedef elimination, file renames, dbase work, backend + separation) + * Split interfaces from semanage.[hc] into handle.[hc], modules.[hc]. + * Separated handle create from connect interface. + * Added a constructor for initialization. + * Moved up src/include/*.h to src. + * Created a symbol map file; dropped dso.h and hidden markings. + * Wed Sep 28 2005 Dan Walsh 1.3.5-1 - Update from NSA * Split interfaces from semanage.[hc] into handle.[hc], modules.[hc]. Index: sources =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/sources,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- sources 29 Sep 2005 01:20:46 -0000 1.10 +++ sources 3 Oct 2005 13:10:57 -0000 1.11 @@ -1 +1 @@ -34bcf121541a0e4f7f3702f59885b191 libsemanage-1.3.5.tgz +c6801aa7ec3205064211b53a48ce5fe6 libsemanage-1.3.7.tgz From fedora-cvs-commits at redhat.com Mon Oct 3 13:14:06 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 09:14:06 -0400 Subject: rpms/libselinux/devel libselinux.spec,1.120,1.121 Message-ID: <200510031314.j93DE6jZ023807@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libselinux/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv23776 Modified Files: libselinux.spec Log Message: * Mon Oct 3 2005 Dan Walsh 1.27.2-1 - Update to latest from NSA * Merged getseuserbyname patch from Dan Walsh. Index: libselinux.spec =================================================================== RCS file: /cvs/dist/rpms/libselinux/devel/libselinux.spec,v retrieving revision 1.120 retrieving revision 1.121 diff -u -r1.120 -r1.121 --- libselinux.spec 29 Sep 2005 21:35:43 -0000 1.120 +++ libselinux.spec 3 Oct 2005 13:14:03 -0000 1.121 @@ -1,11 +1,10 @@ Summary: SELinux library and simple utilities Name: libselinux -Version: 1.27.1 -Release: 3 +Version: 1.27.2 +Release: 1 License: Public domain (uncopyrighted) Group: System Environment/Libraries Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz -Patch: libselinux-rhat.patch Prereq: libsetrans BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot @@ -36,7 +35,6 @@ %prep %setup -q -%patch -p1 -b .rhat %build make CFLAGS="-g %{optflags}" @@ -86,6 +84,10 @@ %{_mandir}/man8/* %changelog +* Mon Oct 3 2005 Dan Walsh 1.27.2-1 +- Update to latest from NSA + * Merged getseuserbyname patch from Dan Walsh. + * Thu Sep 29 2005 Dan Walsh 1.27.1-3 - Fix patch to satisfy upstream From fedora-cvs-commits at redhat.com Mon Oct 3 13:14:51 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 09:14:51 -0400 Subject: rpms/libselinux/devel .cvsignore,1.73,1.74 sources,1.75,1.76 Message-ID: <200510031314.j93DEpEt024203@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libselinux/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv24172 Modified Files: .cvsignore sources Log Message: * Mon Oct 3 2005 Dan Walsh 1.27.2-1 - Update to latest from NSA * Merged getseuserbyname patch from Dan Walsh. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/libselinux/devel/.cvsignore,v retrieving revision 1.73 retrieving revision 1.74 diff -u -r1.73 -r1.74 --- .cvsignore 16 Sep 2005 17:43:13 -0000 1.73 +++ .cvsignore 3 Oct 2005 13:14:47 -0000 1.74 @@ -47,3 +47,4 @@ libselinux-1.25.7.tgz libselinux-1.26.tgz libselinux-1.27.1.tgz +libselinux-1.27.2.tgz Index: sources =================================================================== RCS file: /cvs/dist/rpms/libselinux/devel/sources,v retrieving revision 1.75 retrieving revision 1.76 diff -u -r1.75 -r1.76 --- sources 29 Sep 2005 02:12:47 -0000 1.75 +++ sources 3 Oct 2005 13:14:47 -0000 1.76 @@ -1 +1 @@ -6962dcd8760dd741e49bb85c1a602e7f libselinux-1.27.1.tgz +0bafa83b0b783cf954fd0c79c2b0429e libselinux-1.27.2.tgz From fedora-cvs-commits at redhat.com Mon Oct 3 13:19:54 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 09:19:54 -0400 Subject: rpms/libsepol/devel .cvsignore, 1.47, 1.48 libsepol.spec, 1.64, 1.65 sources, 1.47, 1.48 Message-ID: <200510031319.j93DJs0D024827@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libsepol/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv24813 Modified Files: .cvsignore libsepol.spec sources Log Message: * Mon Oct 3 2005 Dan Walsh 1.9.8-1 - Upgrade to latest from NSA * Merged pointer typedef elimination patch from Ivan Gyurdiev. * Merged user list function, new mls functions, and bugfix patch from Ivan Gyurdiev. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/libsepol/devel/.cvsignore,v retrieving revision 1.47 retrieving revision 1.48 diff -u -r1.47 -r1.48 --- .cvsignore 29 Sep 2005 01:06:23 -0000 1.47 +++ .cvsignore 3 Oct 2005 13:19:50 -0000 1.48 @@ -44,3 +44,4 @@ libsepol-1.9.5.tgz libsepol-1.9.6.tgz libsepol-1.9.7.tgz +libsepol-1.9.8.tgz Index: libsepol.spec =================================================================== RCS file: /cvs/dist/rpms/libsepol/devel/libsepol.spec,v retrieving revision 1.64 retrieving revision 1.65 diff -u -r1.64 -r1.65 --- libsepol.spec 29 Sep 2005 01:06:23 -0000 1.64 +++ libsepol.spec 3 Oct 2005 13:19:50 -0000 1.65 @@ -1,6 +1,6 @@ Summary: SELinux binary policy manipulation library Name: libsepol -Version: 1.9.7 +Version: 1.9.8 Release: 1 License: GPL Group: System Environment/Libraries @@ -73,6 +73,12 @@ /%{_lib}/libsepol.so.1 %changelog +* Mon Oct 3 2005 Dan Walsh 1.9.8-1 +- Upgrade to latest from NSA + * Merged pointer typedef elimination patch from Ivan Gyurdiev. + * Merged user list function, new mls functions, and bugfix patch + from Ivan Gyurdiev. + * Wed Sep 28 2005 Dan Walsh 1.9.7-1 - Upgrade to latest from NSA * Merged sepol_get_num_roles fix from Karl MacMillan (Tresys). Index: sources =================================================================== RCS file: /cvs/dist/rpms/libsepol/devel/sources,v retrieving revision 1.47 retrieving revision 1.48 diff -u -r1.47 -r1.48 --- sources 29 Sep 2005 01:06:23 -0000 1.47 +++ sources 3 Oct 2005 13:19:50 -0000 1.48 @@ -1 +1 @@ -77efbac23b2a7cb7554ba6a4dec399cf libsepol-1.9.7.tgz +c9a588f71b830d0bb0be3fe090e35c59 libsepol-1.9.8.tgz From fedora-cvs-commits at redhat.com Mon Oct 3 13:23:34 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 09:23:34 -0400 Subject: rpms/checkpolicy/devel checkpolicy.spec,1.59,1.60 Message-ID: <200510031323.j93DNYjO025005@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/checkpolicy/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv24986 Modified Files: checkpolicy.spec Log Message: * Mon Oct 3 2005 Dan Walsh 1.27.5-2 - Rebuild to get latest libsepol Index: checkpolicy.spec =================================================================== RCS file: /cvs/dist/rpms/checkpolicy/devel/checkpolicy.spec,v retrieving revision 1.59 retrieving revision 1.60 diff -u -r1.59 -r1.60 --- checkpolicy.spec 29 Sep 2005 01:18:06 -0000 1.59 +++ checkpolicy.spec 3 Oct 2005 13:23:30 -0000 1.60 @@ -1,8 +1,8 @@ -%define libsepolver 1.9.7-1 +%define libsepolver 1.9.8-1 Summary: SELinux policy compiler Name: checkpolicy Version: 1.27.5 -Release: 1 +Release: 2 License: GPL Group: Development/System Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz @@ -44,6 +44,9 @@ %{_mandir}/man8/checkpolicy.8.gz %changelog +* Mon Oct 3 2005 Dan Walsh 1.27.5-2 +- Rebuild to get latest libsepol + * Wed Sep 28 2005 Dan Walsh 1.27.5-1 - Latest upgrade from NSA * Merged error handling improvement in checkmodule from Karl MacMillan (Tresys). From fedora-cvs-commits at redhat.com Mon Oct 3 13:48:00 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 09:48:00 -0400 Subject: rpms/mc/devel mc-cstrans.patch,1.1,1.2 Message-ID: <200510031348.j93Dm0iY031899@cvs.devel.redhat.com> Author: jnovy Update of /cvs/dist/rpms/mc/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv31884 Modified Files: mc-cstrans.patch Log Message: fix yet another menu shortcut keys mc-cstrans.patch: cs.po | 33 ++++++++++++++++----------------- 1 files changed, 16 insertions(+), 17 deletions(-) Index: mc-cstrans.patch =================================================================== RCS file: /cvs/dist/rpms/mc/devel/mc-cstrans.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- mc-cstrans.patch 3 Oct 2005 10:49:32 -0000 1.1 +++ mc-cstrans.patch 3 Oct 2005 13:47:57 -0000 1.2 @@ -1,5 +1,5 @@ --- mc-4.6.1/po/cs.po.cstrans 2005-07-23 18:53:26.000000000 +0200 -+++ mc-4.6.1/po/cs.po 2005-10-02 17:32:24.000000000 +0200 ++++ mc-4.6.1/po/cs.po 2005-10-03 15:41:37.000000000 +0200 @@ -5,6 +5,7 @@ # Michal Svec (Michal ?vec), 2000. # Stanislav Brabec , 2001, 2002. @@ -13,10 +13,19 @@ #: edit/editmenu.c:320 msgid "&Mark Columns S-F3" -msgstr "&Zna?it sloupcov? S-F3" -+msgstr "Z&na?it sloupcov? S-F3" ++msgstr "z&Na?it sloupcov? S-F3" #: edit/editmenu.c:322 msgid "Toggle &ins/overw Ins" +@@ -574,7 +575,7 @@ msgstr "&Vkl?d?n?/P?epis Ins" + + #: edit/editmenu.c:324 + msgid "&Copy F5" +-msgstr "&Kop?rovat F5" ++msgstr "k&Op?rovat F5" + + #: edit/editmenu.c:325 + msgid "&Move F6" @@ -618,7 +619,7 @@ msgstr "j?t na &P?rovou z?vorku M- #: edit/editmenu.c:350 edit/editmenu.c:374 @@ -88,15 +97,29 @@ #: src/main.c:811 src/main.c:835 msgid "S&hell link..." -@@ -2697,7 +2697,7 @@ msgstr "pro&Hl?dnout F3" +@@ -2693,11 +2693,11 @@ msgstr "&U?ivatelsk? menu F2" + + #: src/main.c:846 + msgid "&View F3" +-msgstr "pro&Hl?dnout F3" ++msgstr "proh&L?dnout F3" #: src/main.c:847 msgid "Vie&w file... " -msgstr "prohl?&Dnout soubor..." -+msgstr "proh&L?dnout soubor..." ++msgstr "p&Rohl?dnout soubor..." #: src/main.c:848 msgid "&Filtered view M-!" +@@ -2705,7 +2705,7 @@ msgstr "&Filtrovan? pohled M-!" + + #: src/main.c:849 + msgid "&Edit F4" +-msgstr "editov&At F4" ++msgstr "e&Ditovat F4" + + #: src/main.c:850 + msgid "&Copy F5" @@ -4161,9 +4161,8 @@ msgid "ftpfs: sending user password" msgstr "ftpfs: heslo pro anonymn? ftp odesl?no" From fedora-cvs-commits at redhat.com Mon Oct 3 14:50:01 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 10:50:01 -0400 Subject: rpms/shared-mime-info/devel shared-mime-info-0.16-fonts.patch, NONE, 1.1 shared-mime-info.spec, 1.21, 1.22 Message-ID: <200510031450.j93Eo1eO009631@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/shared-mime-info/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv9526 Modified Files: shared-mime-info.spec Added Files: shared-mime-info-0.16-fonts.patch Log Message: Fix type 1 font recognition shared-mime-info-0.16-fonts.patch: freedesktop.org.xml.in | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) --- NEW FILE shared-mime-info-0.16-fonts.patch --- --- shared-mime-info-0.16/freedesktop.org.xml.in.fonts 2005-10-03 10:38:24.548260000 -0400 +++ shared-mime-info-0.16/freedesktop.org.xml.in 2005-10-03 10:42:12.108474000 -0400 @@ -640,7 +640,7 @@ <_comment>font - + Index: shared-mime-info.spec =================================================================== RCS file: /cvs/dist/rpms/shared-mime-info/devel/shared-mime-info.spec,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- shared-mime-info.spec 17 Jun 2005 04:49:00 -0000 1.21 +++ shared-mime-info.spec 3 Oct 2005 14:49:57 -0000 1.22 @@ -1,13 +1,15 @@ Summary: Shared MIME information database Name: shared-mime-info Version: 0.16 -Release: 4 +Release: 5 License: GPL Group: System Environment/Libraries URL: http://freedesktop.org/Software/shared-mime-info Source0: %{name}-%{version}.tar.gz Source1: defaults.list Patch0: shared-mime-info-0.16-cisco-vpn.patch +# still need to file a freedestop.org bug for this +Patch1: shared-mime-info-0.16-fonts.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: libxml2-devel BuildRequires: glib2-devel @@ -26,6 +28,7 @@ %prep %setup -q %patch0 -p0 -b .cisco-vpn +%patch1 -p1 -b .fonts %build @@ -59,6 +62,9 @@ %{_mandir}/man*/* %changelog +* Mon Oct 3 2005 Matthias Clasen - 0.16-5 +- Make sure Type1 fonts are recognized as such (#160909) + * Fri Jun 17 2005 David Zeuthen - 0.16-4 - Add MIME-types for .pcf Cisco VPN settings files (fdo #3560) From fedora-cvs-commits at redhat.com Mon Oct 3 14:53:13 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 10:53:13 -0400 Subject: rpms/system-config-securitylevel/devel sources, 1.48, 1.49 system-config-securitylevel.spec, 1.56, 1.57 Message-ID: <200510031453.j93ErD7O011119@cvs.devel.redhat.com> Author: clumens Update of /cvs/dist/rpms/system-config-securitylevel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv10823 Modified Files: sources system-config-securitylevel.spec Log Message: Correct build number, rebuild for real. Index: sources =================================================================== RCS file: /cvs/dist/rpms/system-config-securitylevel/devel/sources,v retrieving revision 1.48 retrieving revision 1.49 diff -u -r1.48 -r1.49 --- sources 23 Aug 2005 16:32:45 -0000 1.48 +++ sources 3 Oct 2005 14:53:10 -0000 1.49 @@ -1 +1 @@ -18e0210500e38458db8e7f77ffb67835 system-config-securitylevel-1.6.4.tar.bz2 +7fbaa1707ff6cda3fa721752720faf45 system-config-securitylevel-1.6.4.tar.bz2 Index: system-config-securitylevel.spec =================================================================== RCS file: /cvs/dist/rpms/system-config-securitylevel/devel/system-config-securitylevel.spec,v retrieving revision 1.56 retrieving revision 1.57 diff -u -r1.56 -r1.57 --- system-config-securitylevel.spec 3 Oct 2005 08:14:17 -0000 1.56 +++ system-config-securitylevel.spec 3 Oct 2005 14:53:10 -0000 1.57 @@ -1,7 +1,7 @@ Summary: A graphical interface for modifying the system security level Name: system-config-securitylevel Version: 1.6.4 -Release: 3 +Release: 2 URL: http://fedora.redhat.com/projects/config-tools/ License: GPL ExclusiveOS: Linux @@ -96,7 +96,7 @@ /usr/bin/system-config-securitylevel-tui %changelog -* Tue Sep 27 2005 Petr Rockai - 1.6.4-3 +* Tue Sep 27 2005 Petr Rockai - 1.6.4-2 - rebuild against newt 0.52.0 * Tue Aug 23 2005 Chris Lumens 1.6.4-1 From fedora-cvs-commits at redhat.com Mon Oct 3 14:59:44 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 10:59:44 -0400 Subject: rpms/system-config-securitylevel/devel sources, 1.49, 1.50 system-config-securitylevel.spec, 1.57, 1.58 Message-ID: <200510031459.j93Exi8I013885@cvs.devel.redhat.com> Author: clumens Update of /cvs/dist/rpms/system-config-securitylevel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv13725 Modified Files: sources system-config-securitylevel.spec Log Message: Whoops, there was a top-secret -2 rebuild number that wasn't documented in the changelog. Index: sources =================================================================== RCS file: /cvs/dist/rpms/system-config-securitylevel/devel/sources,v retrieving revision 1.49 retrieving revision 1.50 diff -u -r1.49 -r1.50 --- sources 3 Oct 2005 14:53:10 -0000 1.49 +++ sources 3 Oct 2005 14:59:41 -0000 1.50 @@ -1 +1 @@ -7fbaa1707ff6cda3fa721752720faf45 system-config-securitylevel-1.6.4.tar.bz2 +3c5e3c362f099fbe5c4891a7231f6cd5 system-config-securitylevel-1.6.4.tar.bz2 Index: system-config-securitylevel.spec =================================================================== RCS file: /cvs/dist/rpms/system-config-securitylevel/devel/system-config-securitylevel.spec,v retrieving revision 1.57 retrieving revision 1.58 diff -u -r1.57 -r1.58 --- system-config-securitylevel.spec 3 Oct 2005 14:53:10 -0000 1.57 +++ system-config-securitylevel.spec 3 Oct 2005 14:59:41 -0000 1.58 @@ -1,7 +1,7 @@ Summary: A graphical interface for modifying the system security level Name: system-config-securitylevel Version: 1.6.4 -Release: 2 +Release: 3 URL: http://fedora.redhat.com/projects/config-tools/ License: GPL ExclusiveOS: Linux @@ -96,7 +96,7 @@ /usr/bin/system-config-securitylevel-tui %changelog -* Tue Sep 27 2005 Petr Rockai - 1.6.4-2 +* Tue Sep 27 2005 Petr Rockai - 1.6.4-3 - rebuild against newt 0.52.0 * Tue Aug 23 2005 Chris Lumens 1.6.4-1 From fedora-cvs-commits at redhat.com Mon Oct 3 14:59:59 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 10:59:59 -0400 Subject: rpms/shared-mime-info/devel shared-mime-info.spec,1.22,1.23 Message-ID: <200510031459.j93ExxiL014060@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/shared-mime-info/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv13995 Modified Files: shared-mime-info.spec Log Message: add bug ref Index: shared-mime-info.spec =================================================================== RCS file: /cvs/dist/rpms/shared-mime-info/devel/shared-mime-info.spec,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- shared-mime-info.spec 3 Oct 2005 14:49:57 -0000 1.22 +++ shared-mime-info.spec 3 Oct 2005 14:59:56 -0000 1.23 @@ -8,7 +8,7 @@ Source0: %{name}-%{version}.tar.gz Source1: defaults.list Patch0: shared-mime-info-0.16-cisco-vpn.patch -# still need to file a freedestop.org bug for this +# https://bugs.freedesktop.org/show_bug.cgi?id=4675 Patch1: shared-mime-info-0.16-fonts.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: libxml2-devel From fedora-cvs-commits at redhat.com Mon Oct 3 15:36:35 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 11:36:35 -0400 Subject: rpms/gnome-power-manager/devel .cvsignore, 1.2, 1.3 gnome-power-manager.spec, 1.1, 1.2 sources, 1.2, 1.3 Message-ID: <200510031536.j93FaZv5020045@cvs.devel.redhat.com> Author: rstrode Update of /cvs/dist/rpms/gnome-power-manager/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv20030 Modified Files: .cvsignore gnome-power-manager.spec sources Log Message: - update to 0.2.6 Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/gnome-power-manager/devel/.cvsignore,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- .cvsignore 14 Sep 2005 03:21:48 -0000 1.2 +++ .cvsignore 3 Oct 2005 15:36:32 -0000 1.3 @@ -1 +1 @@ -gnome-power-manager-0.2.3.1.tar.gz +gnome-power-manager-0.2.6.tar.gz Index: gnome-power-manager.spec =================================================================== RCS file: /cvs/dist/rpms/gnome-power-manager/devel/gnome-power-manager.spec,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- gnome-power-manager.spec 14 Sep 2005 03:21:48 -0000 1.1 +++ gnome-power-manager.spec 3 Oct 2005 15:36:32 -0000 1.2 @@ -4,7 +4,7 @@ Summary: GNOME Power Manager Name: gnome-power-manager -Version: 0.2.3.1 +Version: 0.2.6 Release: 1 License: GPL Group: Applications/System @@ -78,6 +78,12 @@ %{_sysconfdir}/gconf/schemas/*.schemas %changelog +* Wed Oct 3 2005 Ray Strode 0.2.6-1 +- update to 0.2.6 + +* Wed Sep 28 2005 Ray Strode 0.2.4-1 +- update to 0.2.4 + * Fri Sep 02 2005 David Zeuthen 0.2.3.1-1 - Initial import based on an SRPM from Richard Hughes Index: sources =================================================================== RCS file: /cvs/dist/rpms/gnome-power-manager/devel/sources,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- sources 14 Sep 2005 03:21:48 -0000 1.2 +++ sources 3 Oct 2005 15:36:32 -0000 1.3 @@ -1 +1 @@ -2bd11351498dc9e9ed46ebdf953ac1fb gnome-power-manager-0.2.3.1.tar.gz +ac4aa565a8db05346e4e58c7dd595fbb gnome-power-manager-0.2.6.tar.gz From fedora-cvs-commits at redhat.com Mon Oct 3 17:23:03 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 13:23:03 -0400 Subject: rpms/glib2/devel .cvsignore, 1.31, 1.32 glib2.spec, 1.58, 1.59 sources, 1.31, 1.32 Message-ID: <200510031723.j93HN3Kg014431@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/glib2/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv14416 Modified Files: .cvsignore glib2.spec sources Log Message: 2.8.3 Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/glib2/devel/.cvsignore,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- .cvsignore 27 Sep 2005 03:18:26 -0000 1.31 +++ .cvsignore 3 Oct 2005 17:23:01 -0000 1.32 @@ -16,3 +16,4 @@ glib-2.8.0.tar.bz2 glib-2.8.1.tar.bz2 glib-2.8.2.tar.bz2 +glib-2.8.3.tar.bz2 Index: glib2.spec =================================================================== RCS file: /cvs/dist/rpms/glib2/devel/glib2.spec,v retrieving revision 1.58 retrieving revision 1.59 diff -u -r1.58 -r1.59 --- glib2.spec 27 Sep 2005 03:18:26 -0000 1.58 +++ glib2.spec 3 Oct 2005 17:23:01 -0000 1.59 @@ -1,6 +1,6 @@ Summary: A library of handy utility functions. Name: glib2 -Version: 2.8.2 +Version: 2.8.3 Release: 1 License: LGPL Group: System Environment/Libraries @@ -93,6 +93,9 @@ %{_mandir}/man1/* %changelog +* Mon Oct 3 2005 Matthias Clasen - 2.8.3-1 +- New upstream version + * Mon Sep 26 2005 Matthias Clasen - 2.8.2-1 - New upstream version Index: sources =================================================================== RCS file: /cvs/dist/rpms/glib2/devel/sources,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- sources 27 Sep 2005 03:18:26 -0000 1.31 +++ sources 3 Oct 2005 17:23:01 -0000 1.32 @@ -1 +1 @@ -7ded88401db139b7c63daf5597af7d1d glib-2.8.2.tar.bz2 +58177fe64c189b86bac1625350512159 glib-2.8.3.tar.bz2 From fedora-cvs-commits at redhat.com Mon Oct 3 17:33:26 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 13:33:26 -0400 Subject: rpms/pango/devel .cvsignore, 1.20, 1.21 pango.spec, 1.37, 1.38 sources, 1.20, 1.21 Message-ID: <200510031733.j93HXQuQ014680@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/pango/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv14664 Modified Files: .cvsignore pango.spec sources Log Message: 1.10.1 Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/pango/devel/.cvsignore,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- .cvsignore 17 Aug 2005 20:38:41 -0000 1.20 +++ .cvsignore 3 Oct 2005 17:33:07 -0000 1.21 @@ -4,3 +4,4 @@ pango-1.9.0.tar.bz2 pango-1.9.1.tar.bz2 pango-1.10.0.tar.bz2 +pango-1.10.1.tar.bz2 Index: pango.spec =================================================================== RCS file: /cvs/dist/rpms/pango/devel/pango.spec,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- pango.spec 17 Aug 2005 20:38:41 -0000 1.37 +++ pango.spec 3 Oct 2005 17:33:07 -0000 1.38 @@ -8,7 +8,7 @@ Summary: System for layout and rendering of internationalized text. Name: pango -Version: 1.10.0 +Version: 1.10.1 Release: 1 License: LGPL Group: System Environment/Libraries @@ -30,8 +30,6 @@ BuildRequires: xorg-x11-devel >= 4.2.99 BuildRequires: cairo >= %{cairo_version} Obsoletes: pango-gtkbeta, fribidi-gtkbeta -## pango 1.9.0 shipped without api docs -BuildPrereq: gtk-doc Patch1: pango-slighthint.patch # Look for pango.modules in an arch-specific directory @@ -67,7 +65,7 @@ %build -%configure +%configure --disable-gtk-doc make %install @@ -183,6 +181,10 @@ %changelog +* Mon Oct 3 2005 Matthias Clasen - 1.10.1-1 +- Newer upstream version +- Use the docs which are included in the tarball + * Wed Aug 17 2005 Owen Taylor - 1.10.0-1 - Upgrade to 1.10.0 Index: sources =================================================================== RCS file: /cvs/dist/rpms/pango/devel/sources,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- sources 17 Aug 2005 20:38:41 -0000 1.20 +++ sources 3 Oct 2005 17:33:07 -0000 1.21 @@ -1 +1 @@ -c75489ec7f5fe77e31e4cbde71ad0c16 pango-1.10.0.tar.bz2 +1ff4c96982f61ea6f390d09a4febdf18 pango-1.10.1.tar.bz2 From fedora-cvs-commits at redhat.com Mon Oct 3 17:52:29 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 13:52:29 -0400 Subject: rpms/tog-pegasus/devel pegasus-2.5-local-or-remote-auth.patch, NONE, 1.1 pegasus-2.5-make_install.patch, NONE, 1.1 pegasus-2.5-redhat.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 sources, 1.3, 1.4 tog-pegasus.spec, 1.5, 1.6 opt-tog-pegasus, 1.1, NONE tog-pegasus-2.4.1-165770.patch, 1.1, NONE tog-pegasus-2.4.1-2-4-2-sanity.patch, 1.1, NONE tog-pegasus-2.4.1-Beta3-gcc4.patch, 1.1, NONE tog-pegasus-2.4.1-bz167164.patch, 1.1, NONE tog-pegasus-2.4.1-bz167165.patch, 1.1, NONE tog-pegasus-2.4.1-de-lib.patch, 1.1, NONE tog-pegasus-2.4.1-de-opt.patch, 1.1, NONE tog-pegasus-2.4.1-execshield.patch, 1.1, NONE tog-pegasus-2.4.1-noecho.patch, 1.1, NONE tog-pegasus-2.4.1-obz2207.patch, 1.1, NONE tog-pegasus-2.4.1-obz2217.patch, 1.1, NONE tog-pegasus-2.4.1-obz2499.patch, 1.1, NONE tog-pegasus-2.4.1-obz2503.patch, 1.1, NONE tog-pegasus-2.4.1-obz3858.patch, 1.1, NONE tog-pegasus-2.4.1-obz3958.patch, 1.1, NONE tog-pegasus-2.4.1-obz3958_default.patch, 1.1, NONE tog-pegasus-2.4.1-obz4004.patch, 1.1, NONE tog-pegasus-2.4.1-obz4009.patch, 1.1, ! NONE tog-pegasus-2.4.1-obz4014.patch, 1.1, NONE tog-pegasus-2.4.1-obz4023.patch, 1.1, NONE tog-pegasus-2.4.1-obz4027.patch, 1.1, NONE tog-pegasus-2.4.1-obz4028.patch, 1.1, NONE tog-pegasus-2.4.1-obz4029-new.patch, 1.1, NONE tog-pegasus-2.4.1-obz4029.patch, 1.1, NONE tog-pegasus-2.4.1-obz4050.patch, 1.1, NONE tog-pegasus-2.4.1-obz4072.patch, 1.1, NONE tog-pegasus-2.4.1-obz4120.patch, 1.1, NONE tog-pegasus-2.4.1-rbz167162_obz4025.patch, 1.1, NONE tog-pegasus-2.4.1-remove_socket.patch, 1.1, NONE tog-pegasus-2.4.1.Beta-3.condrestart.patch, 1.1, NONE tog-pegasus-2.4.1.Beta-3.ppc64.patch, 1.1, NONE tog-pegasus-2.4.1.Beta-flags.patch, 1.1, NONE tog-pegasus-2.4.1.Beta-ldflags.patch, 1.1, NONE tog-pegasus-2.4.1.Beta-permissions.patch, 1.1, NONE tog-pegasus-2.4.1.Beta-ppc64.patch, 1.1, NONE tog-pegasus-2.4.1.Beta-ptr64.patch, 1.2, NONE tog-pegasus-2.4.1.Beta-warnings.patch, 1.1, NONE tog-pegasus-2.4.1.pie.patch, 1.1, NONE Message-ID: <200510031752.j93HqTkM021721@cvs.devel.redhat.com> Author: jvdias Update of /cvs/dist/rpms/tog-pegasus/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv21705 Modified Files: .cvsignore sources tog-pegasus.spec Added Files: pegasus-2.5-local-or-remote-auth.patch pegasus-2.5-make_install.patch pegasus-2.5-redhat.patch Removed Files: opt-tog-pegasus tog-pegasus-2.4.1-165770.patch tog-pegasus-2.4.1-2-4-2-sanity.patch tog-pegasus-2.4.1-Beta3-gcc4.patch tog-pegasus-2.4.1-bz167164.patch tog-pegasus-2.4.1-bz167165.patch tog-pegasus-2.4.1-de-lib.patch tog-pegasus-2.4.1-de-opt.patch tog-pegasus-2.4.1-execshield.patch tog-pegasus-2.4.1-noecho.patch tog-pegasus-2.4.1-obz2207.patch tog-pegasus-2.4.1-obz2217.patch tog-pegasus-2.4.1-obz2499.patch tog-pegasus-2.4.1-obz2503.patch tog-pegasus-2.4.1-obz3858.patch tog-pegasus-2.4.1-obz3958.patch tog-pegasus-2.4.1-obz3958_default.patch tog-pegasus-2.4.1-obz4004.patch tog-pegasus-2.4.1-obz4009.patch tog-pegasus-2.4.1-obz4014.patch tog-pegasus-2.4.1-obz4023.patch tog-pegasus-2.4.1-obz4027.patch tog-pegasus-2.4.1-obz4028.patch tog-pegasus-2.4.1-obz4029-new.patch tog-pegasus-2.4.1-obz4029.patch tog-pegasus-2.4.1-obz4050.patch tog-pegasus-2.4.1-obz4072.patch tog-pegasus-2.4.1-obz4120.patch tog-pegasus-2.4.1-rbz167162_obz4025.patch tog-pegasus-2.4.1-remove_socket.patch tog-pegasus-2.4.1.Beta-3.condrestart.patch tog-pegasus-2.4.1.Beta-3.ppc64.patch tog-pegasus-2.4.1.Beta-flags.patch tog-pegasus-2.4.1.Beta-ldflags.patch tog-pegasus-2.4.1.Beta-permissions.patch tog-pegasus-2.4.1.Beta-ppc64.patch tog-pegasus-2.4.1.Beta-ptr64.patch tog-pegasus-2.4.1.Beta-warnings.patch tog-pegasus-2.4.1.pie.patch Log Message: - Implemented new 'make install' target. - Re-wrote tog-pegasus.spec file from scratch. - Ported BZ 167986 authentication code and BZ 167164 + BZ 167165 fixes from RHEL-4 pegasus-2.5-local-or-remote-auth.patch: Common/AuthenticationInfo.h | 16 ++ Common/AuthenticationInfoRep.cpp | 12 +- Common/AuthenticationInfoRep.h | 11 + Common/HTTPConnection.cpp | 24 ++++ Common/HTTPMessage.cpp | 3 Common/HTTPMessage.h | 3 Security/Authentication/BasicAuthenticationHandler.cpp | 2 Security/Authentication/BasicAuthenticator.h | 3 Security/Authentication/PAMBasicAuthenticator.h | 12 +- Security/Authentication/PAMBasicAuthenticatorStub.cpp | 3 Security/Authentication/PAMBasicAuthenticatorUnix.cpp | 97 ++++++++++++++--- Server/HTTPAuthenticatorDelegator.cpp | 3 12 files changed, 162 insertions(+), 27 deletions(-) --- NEW FILE pegasus-2.5-local-or-remote-auth.patch --- --- pegasus-2.5/src/Pegasus/Server/HTTPAuthenticatorDelegator.cpp.local_or_remote_auth 2005-08-13 20:28:32.000000000 -0400 +++ pegasus-2.5/src/Pegasus/Server/HTTPAuthenticatorDelegator.cpp 2005-09-28 16:18:58.000000000 -0400 @@ -364,6 +364,9 @@ } } + // Let Authenticators know whether this user is Local or Remote: + httpMessage->authInfo->setRemoteUser( httpMessage->fromRemoteHost ); + // // Handle authentication: // --- pegasus-2.5/src/Pegasus/Security/Authentication/PAMBasicAuthenticatorStub.cpp.local_or_remote_auth 2005-07-12 14:05:09.000000000 -0400 +++ pegasus-2.5/src/Pegasus/Security/Authentication/PAMBasicAuthenticatorStub.cpp 2005-09-28 16:18:58.000000000 -0400 @@ -90,7 +90,8 @@ Boolean PAMBasicAuthenticator::authenticate( const String& userName, - const String& password) + const String& password, + Boolean isRemoteUser) { PEG_METHOD_ENTER(TRC_AUTHENTICATION, "PAMBasicAuthenticator::authenticate()"); --- pegasus-2.5/src/Pegasus/Security/Authentication/PAMBasicAuthenticator.h.local_or_remote_auth 2005-07-12 14:05:09.000000000 -0400 +++ pegasus-2.5/src/Pegasus/Security/Authentication/PAMBasicAuthenticator.h 2005-09-28 16:18:58.000000000 -0400 @@ -71,7 +71,8 @@ */ Boolean authenticate( const String& userName, - const String& password); + const String& password, + Boolean isRemoteUser); /** Verify PAM account management for the requesting user. @param userName String containing the user name @@ -100,7 +101,8 @@ Boolean _authenticateByPAM( const String& userName, - const String& password); + const String& password, + Boolean isRemoteUser); void _createPAMStandalone(); @@ -156,7 +158,8 @@ */ Boolean authenticate( const String& userName, - const String& password); + const String& password, + Boolean isRemoteUser); /** Verify whether the user is valid. @param userName String containing the user name @@ -218,7 +221,8 @@ Boolean _authenticateByPAM( const String& userName, - const String& password); + const String& password, + Boolean isRemoteUser); #if defined(PEGASUS_USE_PAM_STANDALONE_PROC) PAMBasicAuthenticatorStandAlone _pamBasicAuthenticatorStandAlone; --- pegasus-2.5/src/Pegasus/Security/Authentication/BasicAuthenticationHandler.cpp.local_or_remote_auth 2005-07-12 14:05:09.000000000 -0400 +++ pegasus-2.5/src/Pegasus/Security/Authentication/BasicAuthenticationHandler.cpp 2005-09-28 16:18:58.000000000 -0400 @@ -136,7 +136,7 @@ authInfo->setAuthenticatedUser(userName); authInfo->setAuthenticatedPassword(password); #else - authenticated = _basicAuthenticator->authenticate(userName, password); + authenticated = _basicAuthenticator->authenticate(userName, password, authInfo->isRemoteUser()); if (authenticated) { --- pegasus-2.5/src/Pegasus/Security/Authentication/PAMBasicAuthenticatorUnix.cpp.local_or_remote_auth 2005-07-19 15:14:48.000000000 -0400 +++ pegasus-2.5/src/Pegasus/Security/Authentication/PAMBasicAuthenticatorUnix.cpp 2005-09-28 16:47:55.000000000 -0400 @@ -129,7 +129,8 @@ Boolean PAMBasicAuthenticator::authenticate( const String& userName, - const String& password) + const String& password, + Boolean isRemoteUser) { PEG_METHOD_ENTER(TRC_AUTHENTICATION, "PAMBasicAuthenticator::authenticate()"); @@ -137,7 +138,7 @@ Boolean authenticated; #if !defined(PEGASUS_USE_PAM_STANDALONE_PROC) - authenticated = _authenticateByPAM(userName, password); + authenticated = _authenticateByPAM(userName, password, isRemoteUser); #else // // Mutex to Serialize Authentication calls. @@ -145,8 +146,9 @@ Tracer::trace(TRC_AUTHENTICATION, Tracer::LEVEL4, "Authentication Mutex lock."); AutoMutex lock(_authSerializeMutex); - authenticated = _pamBasicAuthenticatorStandAlone.authenticate( - userName, password); + authenticated = + _pamBasicAuthenticatorStandAlone->authenticate(userName, + password); #endif PEG_METHOD_EXIT(); @@ -155,7 +157,8 @@ Boolean PAMBasicAuthenticator::_authenticateByPAM( const String& userName, - const String& password) + const String& password, + Boolean isRemoteUser) { PEG_METHOD_ENTER(TRC_AUTHENTICATION, "PAMBasicAuthenticator::_authenticateByPAM()"); @@ -165,6 +168,7 @@ pam_handle_t *phandle; char *name; APP_DATA mydata; + int retcode; // // Store the password for PAM authentication @@ -178,21 +182,38 @@ // Tracer::trace(TRC_AUTHENTICATION, Tracer::LEVEL4, // "PAMBasicAuthenticator::_authenticateByPAM() - userName = %s; userPassword = %s", // (const char *)userName.getCString(), (const char *)password.getCString()); + + // NOTE: if any pam call should log anything, our syslog socket will be redirected + // to the AUTH facility, so we need to redirect it back after each pam call. // //Call pam_start since you need to before making any other PAM calls // - if ( ( pam_start(service, + + if ( (retcode = pam_start(service, (const char *)userName.getCString(), &pconv, &phandle) ) != PAM_SUCCESS ) { + closelog(); + openlog("cimserver", LOG_PID, LOG_DAEMON); + syslog( LOG_ERR, "pam_start failed: %s", pam_strerror(phandle, retcode)); PEG_METHOD_EXIT(); return (authenticated); } + + if ( (retcode = pam_set_item(phandle, PAM_TTY, isRemoteUser ? "wbemNetwork" : "wbemLocal")) != PAM_SUCCESS ) + { + pam_end(phandle, 0); + closelog(); + openlog("cimserver", LOG_PID, LOG_DAEMON); + syslog( LOG_ERR, "pam_set_item(PAM_TTY=wbem) failed: %s", pam_strerror(phandle, retcode)); + PEG_METHOD_EXIT(); + return (authenticated); + } // //Call pam_authenticate to authenticate the user // - if ( ( pam_authenticate(phandle, 0) ) == PAM_SUCCESS ) + if ( ( retcode = pam_authenticate(phandle, 0) ) == PAM_SUCCESS ) { Tracer::trace(TRC_AUTHENTICATION, Tracer::LEVEL4, "pam_authenticate successful."); @@ -201,22 +222,40 @@ //checking for password and account expiration, as well as verifying access //hour restrictions. // - if ( ( pam_acct_mgmt(phandle, 0) ) == PAM_SUCCESS ) + + if ( ( retcode = pam_acct_mgmt(phandle, 0) ) == PAM_SUCCESS ) { Tracer::trace(TRC_AUTHENTICATION, Tracer::LEVEL4, "pam_acct_mgmt successful."); authenticated = true; - } + }else + { + closelog(); + openlog("cimserver", LOG_PID, LOG_DAEMON); + syslog(LOG_ERR, "pam_acct_mgmt failed: %s",pam_strerror(phandle, retcode)); + } + }else + { + closelog(); + openlog("cimserver", LOG_PID, LOG_DAEMON); + syslog(LOG_ERR, "pam_authenticate failed: %s",pam_strerror(phandle, retcode)); } - // //Call pam_end to end our PAM work // pam_end(phandle, 0); + closelog(); + openlog("cimserver", LOG_PID, LOG_DAEMON); - PEG_METHOD_EXIT(); + if ( ! authenticated ) + syslog(LOG_ERR, "PAM authentication failed for %s user: %s", + isRemoteUser ? "remote" : "local", + (const char*)userName.getCString() + ); + PEG_METHOD_EXIT(); return (authenticated); + } Boolean PAMBasicAuthenticator::validateUser(const String& userName) @@ -231,6 +270,7 @@ pam_handle_t *phandle; char *name; APP_DATA mydata; + int retcode; const char *service = "wbem"; pconv.conv = PAMBasicAuthenticator::pamValidateUserCallback; @@ -239,21 +279,43 @@ // // Call pam_start since you need to before making any other PAM calls // - if ( pam_start(service, - (const char *)userName.getCString(), &pconv, &phandle) != PAM_SUCCESS) - { + if ( (retcode = + pam_start(service,(const char *)userName.getCString(), &pconv, &phandle) + ) != PAM_SUCCESS + ) + { + closelog(); + openlog("cimserver", LOG_PID, LOG_DAEMON); + syslog( LOG_ERR, "pam_start() failed: %s", pam_strerror(phandle, retcode)); PEG_METHOD_EXIT(); return (authenticated); } + if ( (retcode = pam_set_item(phandle, PAM_TTY, "wbemLocal")) != PAM_SUCCESS ) + { + pam_end(phandle, 0); + closelog(); + openlog("cimserver", LOG_PID, LOG_DAEMON); + syslog( LOG_ERR, "pam_set_item(PAM_TTY=wbemLocal) failed: %s", pam_strerror(phandle, retcode)); + PEG_METHOD_EXIT(); + return (authenticated); + } // // Call pam_acct_mgmt, to check if the user account is valid. This includes // checking for account expiration, as well as verifying access // hour restrictions. // - if ( pam_acct_mgmt(phandle, 0) == PAM_SUCCESS ) - { + if ( (retcode = pam_acct_mgmt(phandle, 0)) == PAM_SUCCESS ) + { authenticated = true; + }else + { + pam_end(phandle, 0); + closelog(); + openlog("cimserver", LOG_PID, LOG_DAEMON); + syslog( LOG_ERR, "pam_acct_mgmt() failed: %s", pam_strerror(phandle, retcode)); + PEG_METHOD_EXIT(); + return (authenticated); } // @@ -261,6 +323,9 @@ // pam_end(phandle, 0); + closelog(); + openlog("cimserver", LOG_PID, LOG_DAEMON); + #else // // Mutex to Serialize Authentication calls. --- pegasus-2.5/src/Pegasus/Security/Authentication/BasicAuthenticator.h.local_or_remote_auth 2005-07-12 14:05:09.000000000 -0400 +++ pegasus-2.5/src/Pegasus/Security/Authentication/BasicAuthenticator.h 2005-09-28 16:18:58.000000000 -0400 @@ -65,7 +65,8 @@ */ virtual Boolean authenticate( const String& userName, - const String& password) = 0; + const String& password, + Boolean isRemoteUser) = 0; /** Construct and return the HTTP Basic authentication challenge header @return A string containing the authentication challenge header. --- pegasus-2.5/src/Pegasus/Common/HTTPMessage.cpp.local_or_remote_auth 2005-05-31 21:51:53.000000000 -0400 +++ pegasus-2.5/src/Pegasus/Common/HTTPMessage.cpp 2005-09-28 16:18:58.000000000 -0400 @@ -101,7 +101,8 @@ message(message_), queueId(queueId_), acceptLanguagesDecoded(false), - contentLanguagesDecoded(false) + contentLanguagesDecoded(false), + fromRemoteHost(true) { if (cimException_) cimException = *cimException_; --- pegasus-2.5/src/Pegasus/Common/HTTPMessage.h.local_or_remote_auth 2005-05-12 02:59:56.000000000 -0400 +++ pegasus-2.5/src/Pegasus/Common/HTTPMessage.h 2005-09-28 16:18:58.000000000 -0400 @@ -77,7 +77,8 @@ ContentLanguages contentLanguages; Boolean acceptLanguagesDecoded; Boolean contentLanguagesDecoded; - CIMException cimException; + Boolean fromRemoteHost; + CIMException cimException; void parse( String& startLine, --- pegasus-2.5/src/Pegasus/Common/AuthenticationInfoRep.cpp.local_or_remote_auth 2005-02-05 17:59:23.000000000 -0500 +++ pegasus-2.5/src/Pegasus/Common/AuthenticationInfoRep.cpp 2005-09-28 16:18:58.000000000 -0400 @@ -55,7 +55,8 @@ _privileged(false), _authType(String::EMPTY), _authStatus(NEW_REQUEST), - _exportConnection(false) + _exportConnection(false), + _remoteUser(true) { PEG_METHOD_ENTER( TRC_AUTHENTICATION, "AuthenticationInfoRep::AuthenticationInfoRep"); @@ -178,5 +179,14 @@ PEG_METHOD_EXIT(); } +void AuthenticationInfoRep::setRemoteUser(Boolean remoteUser) +{ + PEG_METHOD_ENTER(TRC_AUTHENTICATION, + "AuthenticationInfoRep::setRemoteUser"); + + _remoteUser = remoteUser; + + PEG_METHOD_EXIT(); +} PEGASUS_NAMESPACE_END --- pegasus-2.5/src/Pegasus/Common/AuthenticationInfo.h.local_or_remote_auth 2005-02-05 17:59:23.000000000 -0500 +++ pegasus-2.5/src/Pegasus/Common/AuthenticationInfo.h 2005-09-28 16:18:58.000000000 -0400 @@ -329,6 +329,22 @@ _rep->setClientCertificate(clientCertificate); } + /** Indicate whether the user is Remote + */ + Boolean isRemoteUser() const + { + _checkRep(); + return _rep->isRemoteUser(); + } + + /** Set the Remote User flag + */ + void setRemoteUser(Boolean remoteUser) + { + _checkRep(); + _rep->setRemoteUser(remoteUser); + } + private: AuthenticationInfo(AuthenticationInfoRep* rep) : _rep(rep) --- pegasus-2.5/src/Pegasus/Common/AuthenticationInfoRep.h.local_or_remote_auth 2005-02-05 17:59:23.000000000 -0500 +++ pegasus-2.5/src/Pegasus/Common/AuthenticationInfoRep.h 2005-09-28 16:18:58.000000000 -0400 @@ -140,6 +140,14 @@ void setExportConnection(Boolean exportConnection); + Boolean isRemoteUser() const + { + return _remoteUser; + } + + void setRemoteUser(Boolean remoteUser); + + //PEP187 SSLCertificateInfo* getClientCertificate() { @@ -170,7 +178,8 @@ #endif Boolean _exportConnection; - SSLCertificateInfo* _clientCertificate; + SSLCertificateInfo* _clientCertificate; + Boolean _remoteUser; }; PEGASUS_NAMESPACE_END --- pegasus-2.5/src/Pegasus/Common/HTTPConnection.cpp.local_or_remote_auth 2005-08-18 20:24:32.000000000 -0400 +++ pegasus-2.5/src/Pegasus/Common/HTTPConnection.cpp 2005-09-28 16:18:58.000000000 -0400 @@ -1807,6 +1807,30 @@ "_requestCount = %d", _requestCount.value()); message->dest = _outputMessageQueue->getQueueId(); // SendForget(message); + + // Allow authenticators to differentiate Remote and Local users: + struct sockaddr_in sin_peer, sin_svr; // don't need to worry about IPv6 yet ... + socklen_t slen1=sizeof(struct sockaddr_in), slen2=sizeof(struct sockaddr_in); + uint32_t sock = _socket.get()->getSocket() ; + memset(&sin_peer,'\0',slen1); + memset(&sin_svr, '\0',slen2); + if ( ( ::getpeername( sock, (struct sockaddr*)&sin_peer, &slen1) == 0 ) + ||( ::getsockname( sock, (struct sockaddr*)&sin_svr, &slen2) == 0 ) + ) + { + if( sin_peer.sin_family == AF_INET ) + { + if( ((ntohl( sin_peer.sin_addr.s_addr ) >> 24) & 0xff) == 127 ) + // message was sent FROM localhost interface + message->fromRemoteHost = false; + } + if( sin_svr.sin_family == AF_INET ) + { + if( ((ntohl( sin_svr.sin_addr.s_addr ) >> 24) & 0xff) == 127 ) + // message was sent TO localhost interface + message->fromRemoteHost = false; + } + } // // Set the entry status to BUSY. pegasus-2.5-make_install.patch: InterfaceArchive/v002001/tests/Clients/EnumInstances/Makefile | 4 + InterfaceArchive/v002001/tests/Clients/InvokeMethod/Makefile | 4 + InterfaceArchive/v002001/tests/Clients/Makefile | 2 InterfaceArchive/v002001/tests/Makefile | 2 InterfaceArchive/v002001/tests/Providers/InstanceProvider/Makefile | 3 InterfaceArchive/v002001/tests/Providers/Makefile | 2 InterfaceArchive/v002001/tests/Providers/MethodProvider/Makefile | 3 Makefile | 32 ++++++++++ Schemas/Makefile | 13 ++++ Schemas/Pegasus/Makefile | 16 +++++ mak/SDKMakefile | 8 +- mak/install-library-unix.mak | 16 +++++ mak/install-program-unix.mak | 16 +++++ mak/library-unix.mak | 2 mak/program-unix.mak | 2 mak/recurse.mak | 2 rpm/Makefile | 10 +++ src/Clients/CGIClient/Makefile | 2 src/Clients/CGIClient/tests/CGIQueryString/Makefile | 2 src/Clients/CGIClient/tests/Makefile | 2 src/Clients/CLITestClients/CLI/Makefile | 2 src/Clients/CLITestClients/CLI/doc/Makefile | 1 src/Clients/CLITestClients/CreateInstance/Makefile | 3 src/Clients/CLITestClients/DeleteInstance/Makefile | 3 src/Clients/CLITestClients/EnumInstNames/Makefile | 3 src/Clients/CLITestClients/EnumerateInstanceNames/Makefile | 3 src/Clients/CLITestClients/EnumerateInstances/Makefile | 3 src/Clients/CLITestClients/GetInstance/Makefile | 3 src/Clients/CLITestClients/Makefile | 4 - src/Clients/MCCATestClient/Makefile | 6 + src/Clients/SendTestIndications/Makefile | 4 + src/Clients/TestCertClient/Makefile | 2 src/Clients/TestClient/Makefile | 2 src/Clients/benchmarkTest/Load/Makefile | 4 + src/Clients/benchmarkTest/benchmarkClient/Makefile | 2 src/Clients/benchmarkTest/benchmarkDefinition/Makefile | 3 src/Clients/benchmarkTest/benchmarkProvider/Makefile | 2 src/Clients/cimauth/Makefile | 2 src/Clients/cimauth/tests/Makefile | 2 src/Clients/cimconfig/Makefile | 2 src/Clients/cimconfig/tests/Makefile | 2 src/Clients/cimprovider/tests/Makefile | 4 + src/Clients/cimuser/Makefile | 2 src/Clients/cimuser/tests/Makefile | 2 src/Clients/g11ntest/Makefile | 2 src/Clients/ipinfo/Makefile | 2 src/Clients/repupgrade/Makefile | 2 src/Clients/repupgrade/SSPModules/SampleSSPModule/Makefile | 4 - src/Clients/repupgrade/tests/Makefile | 3 src/Clients/ssltrustmgr/Makefile | 2 src/Clients/ssltrustmgr/tests/Makefile | 5 + src/Clients/tomof/Makefile | 2 src/Clients/wbemexec/tests/Makefile | 2 src/Pegasus/CQL/tests/CQLChainedIdentifier/Makefile | 2 src/Pegasus/CQL/tests/CQLValue/Makefile | 2 src/Pegasus/CQL/tests/Makefile | 2 src/Pegasus/CQL/tests/Queries/Makefile | 3 src/Pegasus/CQL/tests/QueryContext/Makefile | 2 src/Pegasus/CQL/tests/RegularExpression/Makefile | 2 src/Pegasus/Client/tests/AssociationClient/Makefile | 3 src/Pegasus/Client/tests/Client/Makefile | 3 src/Pegasus/Client/tests/ClientStatistics/Makefile | 3 src/Pegasus/Client/tests/DeleteNamespace/Makefile | 3 src/Pegasus/Client/tests/EnumInstances/Makefile | 3 src/Pegasus/Client/tests/InvokeMethod2/Makefile | 3 src/Pegasus/Client/tests/MTTestClient/Makefile | 2 src/Pegasus/Client/tests/Makefile | 2 src/Pegasus/Client/tests/SSLClientVerification/Makefile | 4 + src/Pegasus/Client/tests/slp/Makefile | 3 src/Pegasus/Common/tests/Abstract/Makefile | 3 src/Pegasus/Common/tests/AnonymousPipe/Child/Makefile | 2 src/Pegasus/Common/tests/AnonymousPipe/Makefile | 2 src/Pegasus/Common/tests/AnonymousPipe/Parent/Makefile | 2 src/Pegasus/Common/tests/Array/Makefile | 3 src/Pegasus/Common/tests/AtomicInt/Makefile | 3 src/Pegasus/Common/tests/AutoPtr/Makefile | 3 src/Pegasus/Common/tests/Base64/Makefile | 3 src/Pegasus/Common/tests/ClassDecl/Makefile | 3 src/Pegasus/Common/tests/Compare/Makefile | 3 src/Pegasus/Common/tests/Config/Makefile | 3 src/Pegasus/Common/tests/DQueue/Makefile | 3 src/Pegasus/Common/tests/DateTime/Makefile | 3 src/Pegasus/Common/tests/Dir/Makefile | 3 src/Pegasus/Common/tests/DynLib/Makefile | 3 src/Pegasus/Common/tests/DynLoad/Makefile | 3 src/Pegasus/Common/tests/DynamicLibrary/Makefile | 3 src/Pegasus/Common/tests/FileSystem/Makefile | 3 src/Pegasus/Common/tests/Flavor/Makefile | 3 src/Pegasus/Common/tests/Formatter/Makefile | 3 src/Pegasus/Common/tests/HTTPListener/Makefile | 3 src/Pegasus/Common/tests/HashTable/Makefile | 3 src/Pegasus/Common/tests/IPC/Makefile | 3 src/Pegasus/Common/tests/IndicationFormatter/Makefile | 3 src/Pegasus/Common/tests/InstanceDecl/Makefile | 3 src/Pegasus/Common/tests/L10N/Makefile | 3 src/Pegasus/Common/tests/L10N/msg/Makefile | 4 - src/Pegasus/Common/tests/Logger/Makefile | 3 src/Pegasus/Common/tests/Makefile | 2 src/Pegasus/Common/tests/Match/Makefile | 3 src/Pegasus/Common/tests/MessageQueue/Makefile | 3 src/Pegasus/Common/tests/MessageQueueService/Makefile | 3 src/Pegasus/Common/tests/MessageSerializer/Makefile | 3 src/Pegasus/Common/tests/Method/Makefile | 3 src/Pegasus/Common/tests/ModuleController/Makefile | 3 src/Pegasus/Common/tests/Object/Makefile | 3 src/Pegasus/Common/tests/ObjectNormalizer/Makefile | 3 src/Pegasus/Common/tests/OperationContext/Makefile | 3 src/Pegasus/Common/tests/ParamValue/Makefile | 3 src/Pegasus/Common/tests/Parameter/Makefile | 3 src/Pegasus/Common/tests/Property/Makefile | 3 src/Pegasus/Common/tests/Qualifier/Makefile | 3 src/Pegasus/Common/tests/QualifierDecl/Makefile | 3 src/Pegasus/Common/tests/QualifierList/Makefile | 3 src/Pegasus/Common/tests/Queue/Makefile | 3 src/Pegasus/Common/tests/Reference/Makefile | 3 src/Pegasus/Common/tests/Resolve/Makefile | 3 src/Pegasus/Common/tests/Scope/Makefile | 3 src/Pegasus/Common/tests/Service/BeeperService/Makefile | 2 src/Pegasus/Common/tests/Service/InstallService/Makefile | 2 src/Pegasus/Common/tests/Service/Makefile | 2 src/Pegasus/Common/tests/Service/RemoveService/Makefile | 2 src/Pegasus/Common/tests/Stack/Makefile | 3 src/Pegasus/Common/tests/StatisticalData/Makefile | 3 src/Pegasus/Common/tests/Stopwatch/Makefile | 3 src/Pegasus/Common/tests/StrToInstName/Makefile | 3 src/Pegasus/Common/tests/String/Makefile | 3 src/Pegasus/Common/tests/Thread/Makefile | 3 src/Pegasus/Common/tests/ThreadPool/Makefile | 3 src/Pegasus/Common/tests/TimeValue/Makefile | 3 src/Pegasus/Common/tests/ToMof/Makefile | 3 src/Pegasus/Common/tests/Tracer/Makefile | 3 src/Pegasus/Common/tests/ValidateClass/Makefile | 3 src/Pegasus/Common/tests/Value/Makefile | 3 src/Pegasus/Common/tests/WebClient/Makefile | 3 src/Pegasus/Common/tests/WebServer/Makefile | 3 src/Pegasus/Common/tests/XmlDump/Makefile | 3 src/Pegasus/Common/tests/XmlParser/Makefile | 3 src/Pegasus/Common/tests/XmlPrint/Makefile | 3 src/Pegasus/Common/tests/XmlReader/Makefile | 3 src/Pegasus/Common/tests/async_callback/Makefile | 3 src/Pegasus/Compiler/cmdline/Makefile | 1 src/Pegasus/Compiler/cmdline/cimmofl/Makefile | 1 src/Pegasus/Compiler/cmdline/tests/Makefile | 3 src/Pegasus/Compiler/tests/CompAssoc/Makefile | 3 src/Pegasus/Compiler/tests/Makefile | 2 src/Pegasus/Config/tests/ConfigFileHandler/Makefile | 3 src/Pegasus/Config/tests/ConfigManager/Makefile | 3 src/Pegasus/Config/tests/Makefile | 2 src/Pegasus/Consumer/tests/DisplayConsumer/Makefile | 3 src/Pegasus/Consumer/tests/Makefile | 2 src/Pegasus/ControlProviders/InteropProvider/tests/Makefile | 2 src/Pegasus/ControlProviders/ProviderRegistrationProvider/tests/Makefile | 1 src/Pegasus/ControlProviders/ProviderRegistrationProvider/tests/createInstances/Makefile | 3 src/Pegasus/ControlProviders/ProviderRegistrationProvider/tests/modifyInstances/Makefile | 3 src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests/Makefile | 2 src/Pegasus/ControlProviders/Statistic/test/Makefile | 2 src/Pegasus/DynListener/tests/Makefile | 2 src/Pegasus/DynListener/tests/TestDynListener/Makefile | 3 src/Pegasus/ExportClient/tests/ExportClient/Makefile | 3 src/Pegasus/ExportClient/tests/Makefile | 2 src/Pegasus/ExportServer/tests/ExportServer/Makefile | 3 src/Pegasus/ExportServer/tests/HandlerTable/Makefile | 3 src/Pegasus/ExportServer/tests/Makefile | 2 src/Pegasus/Handler/EmailListenerDestination/tests/Makefile | 3 src/Pegasus/Handler/SystemLogListenerDestination/tests/Makefile | 3 src/Pegasus/HandlerService/tests/HandlerTable/Makefile | 3 src/Pegasus/HandlerService/tests/Makefile | 2 src/Pegasus/IndicationService/tests/DisableEnable/Makefile | 3 src/Pegasus/IndicationService/tests/DisableEnable2/Makefile | 3 src/Pegasus/IndicationService/tests/IndicationProcess/Makefile | 3 src/Pegasus/IndicationService/tests/Makefile | 2 src/Pegasus/IndicationService/tests/ProcessIndication/Makefile | 3 src/Pegasus/IndicationService/tests/Subscription/Makefile | 3 src/Pegasus/Listener/tests/Makefile | 2 src/Pegasus/Listener/tests/TestListener/Makefile | 3 src/Pegasus/ProviderManager2/Default/tests/Makefile | 2 src/Pegasus/ProviderManager2/Default/tests/ProviderFacade/Makefile | 2 src/Pegasus/ProviderManager2/Default/tests/ProviderManager/Makefile | 2 src/Pegasus/ProviderManager2/Default/tests/ProviderModule/Makefile | 2 src/Pegasus/ProviderManager2/Default/tests/ResponseHandler/Makefile | 2 src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests/Client/Makefile | 1 src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests/CreateInstance/Makefile | 3 src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests/DeleteInstance/Makefile | 3 src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests/EnumerateInstanceNames/Makefile | 3 src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests/EnumerateInstances/Makefile | 3 src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests/ErrorXml/Makefile | 3 src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests/GetInstance/Makefile | 3 src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests/Headers/Makefile | 3 src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests/InvokeMethod/Makefile | 3 src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests/JMPI_TestPropertyTypes/Makefile | 1 src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests/Load/Makefile | 2 src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests/Makefile | 3 src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests/ModifyClass/Makefile | 3 src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests/ModifyInstance/Makefile | 3 src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests/ProcessIndication/Makefile | 1 src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests/Property/Makefile | 3 src/Pegasus/ProviderManager2/tests/Lockable/Makefile | 2 src/Pegasus/ProviderManager2/tests/Makefile | 2 src/Pegasus/ProviderManager2/tests/OperationResponseHandler/Makefile | 2 src/Pegasus/ProviderManager2/tests/ProviderManager/Makefile | 2 src/Pegasus/ProviderManager2/tests/ProviderManagerModule/Makefile | 2 src/Pegasus/ProviderManager2/tests/ProviderManagerService/Makefile | 2 src/Pegasus/ProviderManager2/tests/SafeQueue/Makefile | 2 src/Pegasus/Query/QueryExpression/tests/Makefile | 4 + src/Pegasus/Query/QueryExpression/tests/Queries/Makefile | 4 - src/Pegasus/Repository/tests/AssocTable/Makefile | 3 src/Pegasus/Repository/tests/ClassDeclRep/Makefile | 3 src/Pegasus/Repository/tests/CompareRepositories/Makefile | 3 src/Pegasus/Repository/tests/CompareXmlBin/Makefile | 3 src/Pegasus/Repository/tests/CompareXmlCompressed/Makefile | 3 src/Pegasus/Repository/tests/EnumerateClassNames/Makefile | 3 src/Pegasus/Repository/tests/InheritanceTree/Makefile | 3 src/Pegasus/Repository/tests/Inst/Makefile | 3 src/Pegasus/Repository/tests/LoadClass/Makefile | 3 src/Pegasus/Repository/tests/LoadRepository/Makefile | 3 src/Pegasus/Repository/tests/Makefile | 2 src/Pegasus/Repository/tests/NameSpace/Makefile | 3 src/Pegasus/Repository/tests/NameSpaceManager/Makefile | 3 src/Pegasus/Repository/tests/QualifierDeclRep/Makefile | 3 src/Pegasus/Repository/tests/Repository/Makefile | 3 src/Pegasus/Repository/tests/Repository2/Makefile | 3 src/Pegasus/Repository/tests/RepositoryMix/Makefile | 3 src/Pegasus/Repository/tests/SharedInheritanceTree/Makefile | 3 src/Pegasus/Repository/tests/SharedNameSpace/Makefile | 3 src/Pegasus/Security/Authentication/tests/AuthenticationManager/Makefile | 3 src/Pegasus/Security/Authentication/tests/BasicAuthenticationHandler/Makefile | 3 src/Pegasus/Security/Authentication/tests/LocalAuthFile/Makefile | 3 src/Pegasus/Security/Authentication/tests/LocalAuthenticationHandler/Makefile | 3 src/Pegasus/Security/Authentication/tests/Makefile | 2 src/Pegasus/Security/UserManager/tests/AuthorizationHandler/Makefile | 3 src/Pegasus/Security/UserManager/tests/Makefile | 2 src/Pegasus/Security/UserManager/tests/UserManager/Makefile | 3 src/Pegasus/Server/ProviderRegistrationManager/tests/Makefile | 1 src/Pegasus/Server/ProviderRegistrationManager/tests/createInstances/Makefile | 3 src/Pegasus/Server/ProviderRegistrationManager/tests/deleteInstances/Makefile | 3 src/Pegasus/Server/ProviderRegistrationManager/tests/load/Makefile | 1 src/Pegasus/Server/ProviderRegistrationManager/tests/lookupIndicationProvider/Makefile | 3 src/Pegasus/Server/ProviderRegistrationManager/tests/lookupInstanceProvider/Makefile | 3 src/Pegasus/Server/ProviderRegistrationManager/tests/lookupMethodProvider/Makefile | 3 src/Pegasus/Server/ProviderRegistrationManager/tests/modifyInstances/Makefile | 3 src/Pegasus/Server/ProviderRegistrationManager/tests/wildCardNamespaceNames/Makefile | 3 src/Pegasus/Server/tests/Makefile | 2 src/Pegasus/WQL/tests/ExecQuery/Makefile | 3 src/Pegasus/WQL/tests/Makefile | 2 src/Pegasus/WQL/tests/Parser/Makefile | 2 src/Pegasus/WQL/tests/ParserCLI/Makefile | 2 src/Pegasus/msg/CLI/Makefile | 2 src/Pegasus/msg/Listener/Makefile | 1 src/Pegasus/msg/Server/Makefile | 1 src/Providers/IndicationConsumer/Makefile | 2 src/Providers/IndicationConsumer/SimpleDisplayConsumer/Makefile | 2 src/Providers/Makefile | 6 - src/Providers/ManagedSystem/ComputerSystem/Makefile | 2 src/Providers/ManagedSystem/ComputerSystem/tests/Makefile | 4 + src/Providers/ManagedSystem/DNSService/Makefile | 2 src/Providers/ManagedSystem/DNSService/tests/Makefile | 4 + src/Providers/ManagedSystem/DNSService/tests/testclient/Makefile | 6 + src/Providers/ManagedSystem/IP/Makefile | 2 src/Providers/ManagedSystem/IP/testclient/Makefile | 3 src/Providers/ManagedSystem/IP/tests/Makefile | 5 + src/Providers/ManagedSystem/Makefile | 2 src/Providers/ManagedSystem/NISServerService/Makefile | 2 src/Providers/ManagedSystem/NISServerService/testclient/Makefile | 3 src/Providers/ManagedSystem/NISServerService/tests/Makefile | 4 + src/Providers/ManagedSystem/NTPProviderSecurity/Makefile | 2 src/Providers/ManagedSystem/NTPService/Makefile | 2 src/Providers/ManagedSystem/NTPService/testclient/Makefile | 3 src/Providers/ManagedSystem/NTPService/tests/Makefile | 4 + src/Providers/ManagedSystem/OperatingSystem/Makefile | 2 src/Providers/ManagedSystem/OperatingSystem/tests/Makefile | 5 + src/Providers/ManagedSystem/OperatingSystem/tests/OSTestClient/Makefile | 4 + src/Providers/ManagedSystem/Process/Makefile | 2 src/Providers/ManagedSystem/Process/tests/Makefile | 4 + src/Providers/ManagedSystem/Processor/Makefile | 2 src/Providers/ManagedSystem/Processor/tests/Makefile | 4 + src/Providers/ManagedSystem/tests/Makefile | 3 src/Providers/TestProviders/AlertIndicationProvider/Makefile | 2 src/Providers/TestProviders/AssociationTests/Makefile | 2 src/Providers/TestProviders/AssociationTests/Tests/Makefile | 2 src/Providers/TestProviders/CMPI/TestFail_1/Makefile | 2 src/Providers/TestProviders/CMPI/TestFail_1/tests/Makefile | 3 src/Providers/TestProviders/CMPI/TestFail_2/Makefile | 2 src/Providers/TestProviders/CMPI/TestFail_2/tests/Makefile | 3 src/Providers/TestProviders/CMPI/TestFail_3/Makefile | 2 src/Providers/TestProviders/CMPI/TestFail_3/tests/Makefile | 3 src/Providers/TestProviders/CMPI/TestFail_4/Makefile | 2 src/Providers/TestProviders/CMPI/TestFail_4/tests/Makefile | 4 + src/Providers/TestProviders/CMPI/TestIndications/Makefile | 2 src/Providers/TestProviders/CMPI/TestIndications/tests/Makefile | 3 src/Providers/TestProviders/CMPI/TestInstance/Makefile | 2 src/Providers/TestProviders/CMPI/TestInstance/tests/Makefile | 3 src/Providers/TestProviders/CMPI/TestMethod/Makefile | 2 src/Providers/TestProviders/CMPI/TestMethod/tests/Makefile | 3 src/Providers/TestProviders/CMPI/TestProviderThreaded/Makefile | 2 src/Providers/TestProviders/CMPI/TestProviderThreaded/tests/Makefile | 3 src/Providers/TestProviders/ClientProvider/Load/Makefile | 2 src/Providers/TestProviders/ClientProvider/Makefile | 2 src/Providers/TestProviders/DefaultInstanceProvider/Makefile | 2 src/Providers/TestProviders/DynamicIndicationProvider/Makefile | 2 src/Providers/TestProviders/FamilyProvider/Makefile | 2 src/Providers/TestProviders/FamilyProvider/tests/Makefile | 4 + src/Providers/TestProviders/IndicationStressTestProvider/Makefile | 2 src/Providers/TestProviders/IndicationStressTestProvider/testclient/Makefile | 2 src/Providers/TestProviders/InstanceProvider/Makefile | 2 src/Providers/TestProviders/InstanceProvider/testclient/Makefile | 2 src/Providers/TestProviders/Load/Makefile | 2 src/Providers/TestProviders/MCCA_TestAssocProvider/Makefile | 2 src/Providers/TestProviders/Makefile | 4 - src/Providers/TestProviders/MethodTestProvider/Makefile | 2 src/Providers/TestProviders/MethodTestProvider/testclient/Makefile | 2 src/Providers/TestProviders/PG_TestPropertyTypes/Makefile | 2 src/Providers/TestProviders/ProcessIndicationProvider/Makefile | 2 src/Providers/TestProviders/UserContextTestProvider/Makefile | 2 src/Providers/TestProviders/UserContextTestProvider/testclient/Makefile | 2 src/Providers/generic/Makefile | 2 src/Providers/generic/OperatingSystemProvider/Makefile | 2 src/Providers/linux/CDROMDrive/Makefile | 2 src/Providers/linux/DiskDrive/Makefile | 2 src/Providers/linux/IOPort/Makefile | 2 src/Providers/linux/IPRoute/Makefile | 2 src/Providers/linux/Interrupt/Makefile | 2 src/Providers/linux/Makefile | 2 src/Providers/linux/NetworkAdapter/Makefile | 2 src/Providers/linux/OperatingSystem/Makefile | 2 src/Providers/linux/PCIController/Makefile | 2 src/Providers/linux/Processor/Makefile | 2 src/Providers/linux/ProviderData/CDROMDrive/Makefile | 2 src/Providers/linux/ProviderData/Controller/Makefile | 2 src/Providers/linux/ProviderData/DiskDrive/Makefile | 2 src/Providers/linux/ProviderData/Interrupt/Makefile | 2 src/Providers/linux/ProviderData/Makefile | 2 src/Providers/linux/ProviderData/NetworkAdapter/Makefile | 2 src/Providers/linux/ProviderData/PackageManager/Makefile | 2 src/Providers/linux/ProviderData/Processor/Makefile | 2 src/Providers/linux/ProviderSupport/DeviceLocator/Makefile | 2 src/Providers/linux/ProviderSupport/DeviceLocator/tests/Makefile | 6 + src/Providers/linux/ProviderSupport/FileReader/Makefile | 2 src/Providers/linux/ProviderSupport/FileReader/tests/Makefile | 6 + src/Providers/linux/ProviderSupport/Makefile | 2 src/Providers/linux/SoftwareElement/Makefile | 2 src/Providers/linux/load/Makefile | 2 src/Providers/sample/AssociationProvider/Makefile | 2 src/Providers/sample/AssociationProvider/testclient/Makefile | 2 src/Providers/sample/CMPI/FilesAndDirectories/Makefile | 2 src/Providers/sample/CMPI/FilesAndDirectories/tests/Makefile | 7 ++ src/Providers/sample/IndicationProvider/Makefile | 2 src/Providers/sample/InstanceProvider/Makefile | 2 src/Providers/sample/InstanceQueryProvider/Makefile | 2 src/Providers/sample/InstanceQueryProvider/tests/Makefile | 4 + src/Providers/sample/Load/Makefile | 2 src/Providers/sample/LocalizedProvider/Makefile | 2 src/Providers/sample/LocalizedProvider/msg/Makefile | 4 + src/Providers/sample/Makefile | 2 src/Providers/sample/MethodProvider/Makefile | 2 src/Providers/sample/RT_Indication/Makefile | 2 src/Providers/sample/RT_Indication/RT_IndicationConsumer/Makefile | 2 src/Providers/sample/RT_Indication/RT_IndicationProvider/Makefile | 2 src/Providers/sample/SNMPIndicationProvider/Makefile | 2 src/Providers/slp/Makefile | 2 src/Providers/statistic/Makefile | 2 src/SDK/samples/Providers/CMPI/FilesAndDirectories/tests/Makefile | 1 src/Server/Makefile | 5 - src/slp/tests/Makefile | 4 + src/slp/tests/srv_reg/Makefile | 3 src/utils/Makefile | 2 src/utils/cnv2rootbundle/Makefile | 3 src/utils/mu/tests/Makefile | 2 src/utils/mu/tests/SortCmd/Makefile | 2 src/utils/stripcrs/Makefile | 3 test/Makefile | 4 - test/TestProviders/CIMOMSample/Makefile | 3 test/TestProviders/ExceptionsTest/Makefile | 3 test/TestProviders/LargeDataProvider/Makefile | 3 test/TestProviders/LoadMOFs/Makefile | 2 test/TestProviders/Makefile | 3 test/TestProviders/MultithreadingTests/Makefile | 3 test/TestProviders/TimingTests/Makefile | 3 test/TestProviders/XMLParserGen/Makefile | 3 test/wetest/Makefile | 6 + test/wetest/cimv2/AssociatorNames/Makefile | 5 + test/wetest/cimv2/Associators/Makefile | 5 + test/wetest/cimv2/CreateClass/Makefile | 6 + test/wetest/cimv2/DeleteClass/Makefile | 6 + test/wetest/cimv2/DeleteQualifier/Makefile | 6 + test/wetest/cimv2/EnumerateClassNames/Makefile | 6 + test/wetest/cimv2/EnumerateClasses/Makefile | 6 + test/wetest/cimv2/EnumerateInstanceNames/Makefile | 6 + test/wetest/cimv2/EnumerateInstances/Makefile | 6 + test/wetest/cimv2/EnumerateQualifiers/Makefile | 6 + test/wetest/cimv2/GetClass/Makefile | 5 + test/wetest/cimv2/GetQualifier/Makefile | 6 + test/wetest/cimv2/Load/Makefile | 4 + test/wetest/cimv2/Makefile | 6 + test/wetest/cimv2/ModifyClass/Makefile | 6 + test/wetest/cimv2/ReferenceNames/Makefile | 6 + test/wetest/cimv2/References/Makefile | 6 + test/wetest/cimv2/SetQualifier/Makefile | 6 + test/wetest/static/CreateInstance/Makefile | 6 + test/wetest/static/DeleteClass/Makefile | 6 + test/wetest/static/DeleteInstance/Makefile | 6 + test/wetest/static/EnumerateInstanceNames/Makefile | 6 + test/wetest/static/EnumerateInstances/Makefile | 6 + test/wetest/static/ErrorXml/Makefile | 6 + test/wetest/static/GetInstance/Makefile | 6 + test/wetest/static/Headers/Makefile | 6 + test/wetest/static/Load/Makefile | 5 + test/wetest/static/Makefile | 6 + test/wetest/static/ModifyClass/Makefile | 6 + test/wetest/static/ModifyInstance/Makefile | 6 + test/wetest/static/Property/Makefile | 6 + 410 files changed, 1248 insertions(+), 31 deletions(-) --- NEW FILE pegasus-2.5-make_install.patch --- --- pegasus-2.5/Makefile.make_install 2005-05-12 11:27:24.000000000 -0400 +++ pegasus-2.5/Makefile 2005-10-03 13:07:31.000000000 -0400 @@ -60,12 +60,44 @@ world: depend all repository @ $(MAKE) -s tests +install: all repository repository_install sdk_install install_dirs install_scripts + +sdk_install: +ifdef PEGASUS_INSTALL + if [ -d $(PEGASUS_SDK_STAGING_DIR) ]; then \ + ( cd $(PEGASUS_SDK_STAGING_DIR); tar -cpf - .) | ( cd $(PEGASUS_DESTDIR); tar -xpf -); \ + fi; +endif + +install_dirs: +ifdef PEGASUS_INSTALL + mkdir -p $(PEGASUS_DESTDIR)/$(PEGASUS_LOG_DIR) + mkdir -p $(PEGASUS_DESTDIR)/$(PEGASUS_VARRUN_DIR) + mkdir -p $(PEGASUS_DESTDIR)/$(PEGASUS_LOCAL_AUTH_DIR) +endif + +install_scripts: +ifdef PEGASUS_INSTALL + mkdir -p $(PEGASUS_DESTDIR)/$(PEGASUS_SBIN_DIR) + echo "#!/bin/bash" > $(PEGASUS_DESTDIR)/$(PEGASUS_SBIN_DIR)/init_repository + echo "PEGASUS_MOF_DIR="$(PEGASUS_MOF_DIR) >> $(PEGASUS_DESTDIR)/$(PEGASUS_SBIN_DIR)/init_repository + echo "PEGASUS_REPOSITORY_DIR="$(PEGASUS_REPOSITORY_DIR) >> $(PEGASUS_DESTDIR)/$(PEGASUS_SBIN_DIR)/init_repository + echo "PEGASUS_BIN_DIR="$(PEGASUS_BIN_DIR) >> $(PEGASUS_DESTDIR)/$(PEGASUS_SBIN_DIR)/init_repository + echo "PEGASUS_CIM_SCHEMA=29" >> $(PEGASUS_DESTDIR)/$(PEGASUS_SBIN_DIR)/init_repository + cat installs/scripts/init_repository >> $(PEGASUS_DESTDIR)/$(PEGASUS_SBIN_DIR)/init_repository + chown root:root $(PEGASUS_DESTDIR)/$(PEGASUS_SBIN_DIR)/init_repository >/dev/null 2>&1 || :; + chmod 0755 $(PEGASUS_DESTDIR)/$(PEGASUS_SBIN_DIR)/init_repository +endif + # The repository Target removes and rebuilds the CIM repository # Note: Arguments must be quoted to preserve upper case characters in VMS. repository: FORCE @ $(MAKE) "-SC" Schemas/Pegasus repository +repository_install: repository + @ $(MAKE) "-SC" Schemas/Pegasus install_repository + repositoryclean: FORCE @ $(RMREPOSITORY) $(REPOSITORY_ROOT) --- pegasus-2.5/mak/SDKMakefile.make_install 2005-10-03 12:32:47.000000000 -0400 +++ pegasus-2.5/mak/SDKMakefile 2005-10-03 12:32:47.000000000 -0400 @@ -156,8 +156,7 @@ Providers/Load \ mak -DOCSRCPATH1FILES = \ - SecurityGuidelinesForDevelopers.html +DOCSRCPATH1FILES = CLIENTSRCPATH1FILES = \ Makefile \ @@ -402,3 +401,8 @@ testSDK: @$(MAKE) --directory=$(PEGASUS_STAGING_DIR)$(PEGASUS_SAMPLES_DIR) -f Makefile tests \ PEGASUS_SAMPLES_DIR=$(PEGASUS_STAGING_DIR)$(PEGASUS_SAMPLES_DIR) + +install: +ifdef PEGASUS_INSTALL + (cd $(PEGASUS_STAGING_DIR); tar -cpf - .) | ( cd $(PEGASUS_DESTDIR)/; tar -xpf -) +endif \ No newline at end of file --- pegasus-2.5/mak/program-unix.mak.make_install 2005-10-03 12:32:47.000000000 -0400 +++ pegasus-2.5/mak/program-unix.mak 2005-10-03 12:32:47.000000000 -0400 @@ -154,4 +154,4 @@ include $(ROOT)/mak/misc.mak -include $(ROOT)/mak/install-program-unix.mak +include $(PEGASUS_ROOT)/mak/install-program-unix.mak --- /dev/null 2005-10-03 10:53:34.123398250 -0400 +++ pegasus-2.5/mak/install-program-unix.mak 2005-10-03 12:32:47.000000000 -0400 @@ -0,0 +1,16 @@ +INSTALL_BIN?=bin +INSTALL_USER?=root +INSTALL_GROUP?=root +INSTALL_MODE?=0755 +install: $(PEGASUS_HOME)/bin/$(PROGRAM) +ifdef PEGASUS_INSTALL + ifndef TEST + $(PEGASUS_INSTALL) -D -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m $(INSTALL_MODE) $(PEGASUS_HOME)/bin/$(PROGRAM) $(PEGASUS_DESTDIR)/$(PEGASUS_PROD_DIR)/$(INSTALL_BIN)/$(PROGRAM) + else + ifeq ( $(TEST), 'INSTALL' ) + $(PEGASUS_INSTALL) -D -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m $(INSTALL_MODE) $(PEGASUS_TEST_STAGING_DIR)/$(PEGASUS_TEST_BIN_DIR)/$(PROGRAM) $(PEGASUS_DESTDIR)/$(PEGASUS_PROD_DIR)/$(INSTALL_BIN)/$(PROGRAM) + endif + endif +endif + + --- /dev/null 2005-10-03 10:53:34.123398250 -0400 +++ pegasus-2.5/mak/install-library-unix.mak 2005-10-03 12:32:47.000000000 -0400 @@ -0,0 +1,16 @@ +INSTALL_LIB?=$(PEGASUS_ARCH_LIB_DIR) +INSTALL_USER?=root +INSTALL_GROUP?=root +INSTALL_MODE?=0755 +install: $(PEGASUS_HOME)/$(PEGASUS_ARCH_LIB_DIR)/lib$(LIBRARY)$(LIB_SUFFIX) +ifdef PEGASUS_INSTALL + ifndef TEST + $(PEGASUS_INSTALL) -D -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m $(INSTALL_MODE) $(PEGASUS_HOME)/$(PEGASUS_ARCH_LIB_DIR)/lib$(LIBRARY)$(LIB_SUFFIX) $(PEGASUS_DESTDIR)/$(PEGASUS_PROD_DIR)/$(INSTALL_LIB)/lib$(LIBRARY)$(LIB_SUFFIX) + ln -s lib$(LIBRARY)$(LIB_SUFFIX) $(PEGASUS_DESTDIR)/$(PEGASUS_PROD_DIR)/$(INSTALL_LIB)/lib$(LIBRARY).so + else + ifeq ( $(TEST), 'INSTALL' ) + echo 'TEST is '"'"$(TEST)"'" + $(PEGASUS_INSTALL) -D -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m $(INSTALL_MODE) $(PEGASUS_HOME)/$(PEGASUS_ARCH_LIB_DIR)/lib$(LIBRARY)$(LIB_SUFFIX) $(PEGASUS_TEST_STAGING_DIR)/$(PEGASUS_TEST_LIB_DIR)/lib$(LIBRARY)$(LIB_SUFFIX) + endif + endif +endif --- pegasus-2.5/mak/library-unix.mak.make_install 2005-10-03 12:32:47.000000000 -0400 +++ pegasus-2.5/mak/library-unix.mak 2005-10-03 12:32:47.000000000 -0400 @@ -165,4 +165,4 @@ FILES_TO_CLEAN = $(OBJECTS) $(FULL_LIB) -include $(ROOT)/mak/install-library-unix.mak +include $(PEGASUS_ROOT)/mak/install-library-unix.mak --- pegasus-2.5/mak/recurse.mak.make_install 2005-05-12 11:27:28.000000000 -0400 +++ pegasus-2.5/mak/recurse.mak 2005-10-03 12:32:47.000000000 -0400 @@ -76,3 +76,5 @@ messages: $(RECURSE_DEPENDS) $(ERROR) @ $(foreach i, $(DIRS), $(MAKESH) $(MAKE) "-SC" $(i) messages $(NL) ) +install: $(RECURSE_DEPENDS) $(ERROR) + @ $(foreach i, $(DIRS), $(MAKESH) $(MAKE) "-SC" $(i) install $(NL) ) --- pegasus-2.5/rpm/Makefile.make_install 2005-05-12 11:27:29.000000000 -0400 +++ pegasus-2.5/rpm/Makefile 2005-10-03 12:32:47.000000000 -0400 @@ -51,3 +51,13 @@ messages: +install: tog-pegasus.rc wbem cimserver_planned.conf +ifdef PEGASUS_INSTALL + $(PEGASUS_INSTALL) -D -o root -g root -m 0550 tog-pegasus.rc $(PEGASUS_DESTDIR)/etc/rc.d/init.d/tog-pegasus + $(PEGASUS_INSTALL) -D -o root -g root -m 0660 cimserver_planned.conf $(PEGASUS_DESTDIR)/$(PEGASUS_CONFIG_DIR)/cimserver_planned.conf + $(PEGASUS_INSTALL) -D -o root -g root -m 0660 wbem $(PEGASUS_DESTDIR)/etc/pam.d/wbem + mkdir -p $(PEGASUS_DESTDIR)/$(PEGASUS_MANUSER_DIR) $(PEGASUS_DESTDIR)/$(PEGASUS_MANADMIN_DIR) + cp -fp manLinux/man1.Z/*.1 $(PEGASUS_DESTDIR)/$(PEGASUS_MANUSER_DIR)/ + cp -fp manLinux/man8.Z/*.8 $(PEGASUS_DESTDIR)/$(PEGASUS_MANADMIN_DIR)/ + for f in manLinux/man1m.Z/*.1m; do F=$(PEGASUS_DESTDIR)/$(PEGASUS_MANADMIN_DIR)/`echo $$f | sed 's/1m$$/8/;s/.*\///g'`; if [ ! -f $$F ]; then cp -fp $$f $$F; fi; done +endif \ No newline at end of file --- pegasus-2.5/test/Makefile.make_install 2005-05-12 11:33:41.000000000 -0400 +++ pegasus-2.5/test/Makefile 2005-10-03 12:32:47.000000000 -0400 @@ -27,11 +27,13 @@ #// #//============================================================================== ROOT = .. - +TEST = true +TEST=true include $(ROOT)/mak/config.mak DIRS = \ wetest +TEST=true include $(ROOT)/mak/recurse.mak --- pegasus-2.5/test/TestProviders/ExceptionsTest/Makefile.make_install 2005-05-12 11:33:41.000000000 -0400 +++ pegasus-2.5/test/TestProviders/ExceptionsTest/Makefile 2005-10-03 12:32:47.000000000 -0400 @@ -59,7 +59,9 @@ ROOT = $(PEGASUS_ROOT) +TEST=true include $(ROOT)/mak/config.mak +TEST=true include $(ROOT)/mak/configschema.mak SAMPLEPROVIDERNS= root/SampleProvider @@ -77,6 +79,7 @@ LOCAL_DEFINES=-DTEST_EXCEPTIONS +TEST=true include $(PEGASUS_ROOT)/mak/library.mak client: --- pegasus-2.5/test/TestProviders/CIMOMSample/Makefile.make_install 2005-05-12 11:33:41.000000000 -0400 +++ pegasus-2.5/test/TestProviders/CIMOMSample/Makefile 2005-10-03 12:32:47.000000000 -0400 @@ -61,7 +61,9 @@ ROOT = $(PEGASUS_ROOT) +TEST=true include $(ROOT)/mak/config.mak +TEST=true include $(ROOT)/mak/configschema.mak SAMPLEPROVIDERNS= root/SampleProvider @@ -77,6 +79,7 @@ CIMOMSampleProvider.cpp \ [...7031 lines suppressed...] @@ -702,3 +703,4 @@ prepend-license: +install: \ No newline at end of file --- pegasus-2.5/src/Clients/MCCATestClient/Makefile.make_install 2005-05-12 11:27:35.000000000 -0400 +++ pegasus-2.5/src/Clients/MCCATestClient/Makefile 2005-10-03 12:32:47.000000000 -0400 @@ -27,13 +27,16 @@ #// #//============================================================================== ROOT = $(PEGASUS_ROOT) - +TEST = true +TEST=true include $(ROOT)/mak/config.mak +TEST=true include $(ROOT)/mak/configschema.mak PEGASUS_ZOS_PROGRAM_OBJECT = yes DIR = Clients/MCCATestClient +TEST=true include $(ROOT)/mak/config.mak ifdef PEGASUS_HAS_SSL @@ -57,6 +60,7 @@ endif endif +TEST=true include $(ROOT)/mak/program.mak tests: --- pegasus-2.5/InterfaceArchive/v002001/tests/Makefile.make_install 2003-10-07 02:42:45.000000000 -0400 +++ pegasus-2.5/InterfaceArchive/v002001/tests/Makefile 2005-10-03 12:32:47.000000000 -0400 @@ -1,9 +1,11 @@ ROOT = $(PEGASUS_ROOT) +TEST=true include $(ROOT)/mak/config.mak DIRS = \ Providers \ Clients +TEST=true include $(ROOT)/mak/recurse.mak --- pegasus-2.5/InterfaceArchive/v002001/tests/Providers/InstanceProvider/Makefile.make_install 2003-10-07 02:42:45.000000000 -0400 +++ pegasus-2.5/InterfaceArchive/v002001/tests/Providers/InstanceProvider/Makefile 2005-10-03 12:32:47.000000000 -0400 @@ -2,7 +2,9 @@ DIR = InterfaceArchive/$(VERSION)/tests/Providers/InstanceProvider +TEST=true include ../../../version.mak +TEST=true include $(ROOT)/mak/config.mak LIBRARY = SampleInstanceProvider @@ -14,6 +16,7 @@ InstanceProviderMain.cpp \ InstanceProvider.cpp +TEST=true include $(ROOT)/mak/library.mak ifdef PEGASUS_TEST_BACKWARD_COMPATIBILITY --- pegasus-2.5/InterfaceArchive/v002001/tests/Providers/Makefile.make_install 2003-10-07 03:46:28.000000000 -0400 +++ pegasus-2.5/InterfaceArchive/v002001/tests/Providers/Makefile 2005-10-03 12:32:47.000000000 -0400 @@ -1,7 +1,9 @@ +TEST=true include $(PEGASUS_ROOT)/mak/config.mak DIRS = \ InstanceProvider \ MethodProvider +TEST=true include $(PEGASUS_ROOT)/mak/recurse.mak --- pegasus-2.5/InterfaceArchive/v002001/tests/Providers/MethodProvider/Makefile.make_install 2003-10-07 02:42:45.000000000 -0400 +++ pegasus-2.5/InterfaceArchive/v002001/tests/Providers/MethodProvider/Makefile 2005-10-03 12:32:47.000000000 -0400 @@ -2,7 +2,9 @@ DIR = InterfaceArchive/$(VERSION)/tests/Providers/MethodProvider +TEST=true include ../../../version.mak +TEST=true include $(ROOT)/mak/config.mak LIBRARY = SampleMethodProvider @@ -14,6 +16,7 @@ MethodProviderMain.cpp \ MethodProvider.cpp +TEST=true include $(ROOT)/mak/library.mak ifdef PEGASUS_TEST_BACKWARD_COMPATIBILITY --- pegasus-2.5/InterfaceArchive/v002001/tests/Clients/Makefile.make_install 2003-10-07 02:42:45.000000000 -0400 +++ pegasus-2.5/InterfaceArchive/v002001/tests/Clients/Makefile 2005-10-03 12:32:47.000000000 -0400 @@ -1,9 +1,11 @@ ROOT = $(PEGASUS_ROOT) +TEST=true include $(ROOT)/mak/config.mak DIRS = \ EnumInstances \ InvokeMethod +TEST=true include $(ROOT)/mak/recurse.mak --- pegasus-2.5/InterfaceArchive/v002001/tests/Clients/EnumInstances/Makefile.make_install 2003-10-07 02:42:45.000000000 -0400 +++ pegasus-2.5/InterfaceArchive/v002001/tests/Clients/EnumInstances/Makefile 2005-10-03 12:32:47.000000000 -0400 @@ -4,8 +4,11 @@ DIR = InterfaceArchive/$(VERSION)/tests/Clients/EnumInstances +TEST=true include ../../../version.mak +TEST=true include $(ROOT)/mak/config.mak +TEST=true include ../libraries.mak EXTRA_INCLUDES = @@ -13,6 +16,7 @@ PROGRAM = EnumInstances SOURCES = EnumInstances.cpp +TEST=true include $(ROOT)/mak/program.mak ifdef PEGASUS_TEST_BACKWARD_COMPATIBILITY --- pegasus-2.5/InterfaceArchive/v002001/tests/Clients/InvokeMethod/Makefile.make_install 2003-10-07 02:42:45.000000000 -0400 +++ pegasus-2.5/InterfaceArchive/v002001/tests/Clients/InvokeMethod/Makefile 2005-10-03 12:32:47.000000000 -0400 @@ -4,8 +4,11 @@ DIR = InterfaceArchive/$(VERSION)/tests/Clients/InvokeMethod +TEST=true include ../../../version.mak +TEST=true include $(ROOT)/mak/config.mak +TEST=true include ../libraries.mak EXTRA_INCLUDES = @@ -13,6 +16,7 @@ PROGRAM = InvokeMethod SOURCES = InvokeMethod.cpp +TEST=true include $(ROOT)/mak/program.mak ifdef PEGASUS_TEST_BACKWARD_COMPATIBILITY --- pegasus-2.5/Schemas/Pegasus/Makefile.make_install 2005-05-12 11:27:26.000000000 -0400 +++ pegasus-2.5/Schemas/Pegasus/Makefile 2005-10-03 12:32:47.000000000 -0400 @@ -68,3 +68,19 @@ xml: $(MAKE) -f $(ROOT)/Schemas/Makefile xml + +install_repository: $(PEGASUS_HOME)/repository +ifdef PEGASUS_INSTALL + mkdir -p $(PEGASUS_DESTDIR)/$(PEGASUS_REPOSITORY_DIR) + cp -rfp $(PEGASUS_HOME)/repository/* $(PEGASUS_DESTDIR)/$(PEGASUS_REPOSITORY_DIR) +endif + +install: +ifdef PEGASUS_INSTALL + ifdef PEGASUS_MOF_DIR + mkdir -p $(PEGASUS_DESTDIR)/$(PEGASUS_MOF_DIR)/Pegasus + /bin/cp -fp Internal/VER20/* InterOp/VER20/* ManagedSystem/VER20/* $(PEGASUS_DESTDIR)/$(PEGASUS_MOF_DIR)/Pegasus + chmod 444 $(PEGASUS_DESTDIR)/$(PEGASUS_MOF_DIR)/Pegasus/* + chown -R root:root $(PEGASUS_DESTDIR)/$(PEGASUS_MOF_DIR)/Pegasus >/dev/null 2>&1 || :; + endif +endif --- pegasus-2.5/Schemas/Makefile.make_install 2005-05-12 11:27:25.000000000 -0400 +++ pegasus-2.5/Schemas/Makefile 2005-10-03 12:32:47.000000000 -0400 @@ -92,3 +92,16 @@ @ $(ECHO) +++++ Creating XML for CIM Schema$(CIM_SCHEMA_VER).mof in file $(TMP_DIR)/CIM_Schema$(CIM_SCHEMA_VER).xml $(CIMMOFCLI) "-R$(TMP_DIR)" --xml "-I$(CIM_SCHEMA_DIR)" -nxml/cimv2 $(CIM_SCHEMA_DIR)/CIM_Schema$(CIM_SCHEMA_VER).mof > $(TMP_DIR)/CIM_Schema$(CIM_SCHEMA_VER).xml @ $(RMREPOSITORY) $(TMP_DIR)/repository + +install: +ifdef PEGASUS_INSTALL + ifdef PEGASUS_MOF_DIR + mkdir -p $(PEGASUS_DESTDIR)/$(PEGASUS_MOF_DIR) + cp -rfp CIM* $(PEGASUS_DESTDIR)/$(PEGASUS_MOF_DIR)/ + chown -R root:root $(PEGASUS_DESTDIR)/$(PEGASUS_MOF_DIR)/* >/dev/null 2>&1 || :; + chmod 0444 $(PEGASUS_DESTDIR)/$(PEGASUS_MOF_DIR)/CIM*/* >/dev/null 2>&1 || :; + chmod 0755 $(PEGASUS_DESTDIR)/$(PEGASUS_MOF_DIR)/CIM* || :; + make -SC Pegasus install + endif +endif + pegasus-2.5-redhat.patch: Makefile.Release | 4 Makefile.ReleaseTest | 14 +- env_var_Linux.status | 30 ++-- mak/SDKMakefile | 6 mak/config-linux.mak | 8 - mak/config.mak | 4 mak/library-unix.mak | 12 + mak/program-unix.mak | 18 +- rpm/tog-pegasus.rc | 68 +++++----- rpm/wbem | 18 -- src/Clients/repupgrade/RepositoryUpgrade.cpp | 2 src/Pegasus/Common/Config.h | 7 + src/Pegasus/Common/Constants.h | 16 +- src/Pegasus/Common/Makefile | 8 - src/Pegasus/Common/MessageQueueService.cpp | 4 src/Pegasus/Common/Platform_LINUX_IX86_GNU.h | 9 - src/Pegasus/Common/System.cpp | 4 src/Pegasus/Common/SystemUnix.cpp | 2 src/Pegasus/Common/tests/DynLoad/Makefile | 2 src/Pegasus/Config/ConfigFileDirLinux.h | 4 src/Pegasus/Config/FixedPropertyTableLinux.h | 22 +-- src/Pegasus/ControlProviders/CertificateProvider/Makefile | 4 src/Pegasus/ProviderManager2/CMPI/samples/ProcessIndication/Makefile | 2 src/Pegasus/ProviderManager2/tests/ProviderManagerModule/ProviderManagerModule.cpp | 8 - src/Providers/ManagedSystem/ComputerSystem/ComputerSystem_Linux.cpp | 2 src/Providers/ManagedSystem/OperatingSystem/OperatingSystem_Linux.cpp | 2 src/Providers/ManagedSystem/Process/Process_Linux.cpp | 2 27 files changed, 152 insertions(+), 130 deletions(-) --- NEW FILE pegasus-2.5-redhat.patch --- --- pegasus-2.5/Makefile.ReleaseTest.redhat 2005-05-27 13:29:01.000000000 -0400 +++ pegasus-2.5/Makefile.ReleaseTest 2005-10-03 12:29:48.000000000 -0400 @@ -54,7 +54,7 @@ endif TEST_BIN_FILES_SRCPATH = $(PEGASUS_HOME)/bin -TEST_LIB_FILES_SRCPATH = $(PEGASUS_HOME)/lib +TEST_LIB_FILES_SRCPATH = $(PEGASUS_HOME)/$(PEGASUS_ARCH_LIB_DIR) TEST_MAK_FILES_SRCPATH = $(ROOT)/mak MAK_FILES = \ @@ -121,7 +121,7 @@ stageTEST: @$(RMDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR) @$(MKDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/bin - @$(MKDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/lib + @$(MKDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/$(PEGASUS_ARCH_LIB_DIR) @$(MKDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/mak @$(MAKE) --directory=$(ROOT) -f Makefile.ReleaseTest -s stage_makfiles @$(MAKE) --directory=$(ROOT) -f Makefile.ReleaseTest -s stage_testproviderfiles @@ -134,7 +134,7 @@ @$(foreach i, $(MAK_FILES), $(COPY) $(TEST_MAK_FILES_SRCPATH)/$(i) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/mak/$(i);) stage_testproviderfiles: - @$(foreach i, $(PEGASUS_TEST_PROVIDERS), $(COPY) $(TEST_LIB_FILES_SRCPATH)/$(i)$(LIB_SUFFIX) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/lib/$(i)$(LIB_SUFFIX);) + @$(foreach i, $(PEGASUS_TEST_PROVIDERS), $(COPY) $(TEST_LIB_FILES_SRCPATH)/$(i)$(LIB_SUFFIX) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/$(PEGASUS_ARCH_LIB_DIR)/$(i)$(LIB_SUFFIX);) stage_prestarttests: @$(foreach i, $(PRESTARTTEST_FILES), $(COPY) $(TEST_BIN_FILES_SRCPATH)/$(i) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/bin/$(i);) @@ -157,7 +157,7 @@ createMakefile_providerlinks: @$(ECHO-E) "create_providerlinks:" >> $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/Makefile - @$(foreach i, $(PEGASUS_TEST_PROVIDERS), $(ECHO-E) "\t@$(MAKE) createlink OBJECT=$(PEGASUS_TEST_DIR)/lib/$(i)$(LIB_SUFFIX) LINKNAME=$(PEGASUS_PROVIDER_LIB_DIR)/$(i)$(LIB_LINK_SUFFIX)" >> $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/Makefile ;) + @$(foreach i, $(PEGASUS_TEST_PROVIDERS), $(ECHO-E) "\t@$(MAKE) createlink OBJECT=$(PEGASUS_TEST_DIR)/$(PEGASUS_ARCH_LIB_DIR)/$(i)$(LIB_SUFFIX) LINKNAME=$(PEGASUS_PROVIDER_LIB_DIR)/$(i)$(LIB_LINK_SUFFIX)" >> $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/Makefile ;) @$(ECHO-E) "" >> $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/Makefile @$(ECHO-E) "remove_providerlinks:" >> $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/Makefile @$(foreach i, $(PEGASUS_TEST_PROVIDERS), $(ECHO-E) "\trm -f $(PEGASUS_PROVIDER_LIB_DIR)/$(i)$(LIB_LINK_SUFFIX)" >> $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/Makefile ;) @@ -234,7 +234,7 @@ @$(MAKE) --directory=$(ROOT) -f Makefile.ReleaseTest -s preinstall_setreleasepermissions preinstall_setreleasepermissions: - @$(foreach i, $(PEGASUS_TEST_PROVIDERS), $(MAKE) -f $(ROOT)/Makefile.ReleaseTest setpermissions PERMISSIONS="$(Prwxr_xr_x)" OWNER="$(INSTALL_USR)" GROUP="$(INSTALL_GRP)" OBJECT=$(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/lib/$(i)$(LIB_SUFFIX);) + @$(foreach i, $(PEGASUS_TEST_PROVIDERS), $(MAKE) -f $(ROOT)/Makefile.ReleaseTest setpermissions PERMISSIONS="$(Prwxr_xr_x)" OWNER="$(INSTALL_USR)" GROUP="$(INSTALL_GRP)" OBJECT=$(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/$(PEGASUS_ARCH_LIB_DIR)/$(i)$(LIB_SUFFIX);) _append_preunSectionToSpecFile: @$(ECHO-E) "%if %{PEGASUS_BUILD_TEST_RPM}" >> $(PEGASUS_RPM_SPEC_FILE_PATH) @@ -253,13 +253,13 @@ @$(ECHO-E) "# Test Files" >> $(PEGASUS_RPM_SPEC_FILE_PATH) @$(ECHO-E) "#" >> $(PEGASUS_RPM_SPEC_FILE_PATH) @$(ECHO-E) "%dir %attr($(Pr_xr_xr_x), $(INSTALL_USR),$(INSTALL_GRP)) $(PEGASUS_TEST_DIR)" >> $(PEGASUS_RPM_SPEC_FILE_PATH) - @$(ECHO-E) "%dir %attr($(Pr_xr_xr_x), $(INSTALL_USR),$(INSTALL_GRP)) $(PEGASUS_TEST_DIR)/lib" >> $(PEGASUS_RPM_SPEC_FILE_PATH) + @$(ECHO-E) "%dir %attr($(Pr_xr_xr_x), $(INSTALL_USR),$(INSTALL_GRP)) $(PEGASUS_TEST_DIR)/$(PEGASUS_ARCH_LIB_DIR)" >> $(PEGASUS_RPM_SPEC_FILE_PATH) @$(ECHO-E) "%dir %attr($(Pr_xr_xr_x), $(INSTALL_USR),$(INSTALL_GRP)) $(PEGASUS_TEST_DIR)/bin" >> $(PEGASUS_RPM_SPEC_FILE_PATH) @$(ECHO-E) "%dir %attr($(Pr_xr_xr_x), $(INSTALL_USR),$(INSTALL_GRP)) $(PEGASUS_TEST_DIR)/mak" >> $(PEGASUS_RPM_SPEC_FILE_PATH) @$(foreach i, $(MAK_FILES), $(ECHO-E) \ "%attr($(Pr__r__r__),$(INSTALL_USR),$(INSTALL_GRP)) $(PEGASUS_TEST_DIR)/mak/$(i)" >> $(PEGASUS_RPM_SPEC_FILE_PATH);) @$(foreach i, $(PEGASUS_TEST_PROVIDERS), $(ECHO-E) \ - "%attr($(Pr_xr_xr_x),$(INSTALL_USR),$(INSTALL_GRP)) $(PEGASUS_TEST_DIR)/lib/$(i)$(LIB_SUFFIX)" >> $(PEGASUS_RPM_SPEC_FILE_PATH);) + "%attr($(Pr_xr_xr_x),$(INSTALL_USR),$(INSTALL_GRP)) $(PEGASUS_TEST_DIR)/$(PEGASUS_ARCH_LIB_DIR)/$(i)$(LIB_SUFFIX)" >> $(PEGASUS_RPM_SPEC_FILE_PATH);) @$(foreach i, $(PRESTARTTEST_FILES), $(ECHO-E) \ "%attr($(Pr_xr_xr_x),$(INSTALL_USR),$(INSTALL_GRP)) $(PEGASUS_TEST_DIR)/bin/$(i)" >> $(PEGASUS_RPM_SPEC_FILE_PATH);) @$(foreach i, $(POSTSTARTTEST_FILES), $(ECHO-E) \ --- pegasus-2.5/Makefile.Release.redhat 2005-08-17 17:00:43.000000000 -0400 +++ pegasus-2.5/Makefile.Release 2005-10-03 12:29:48.000000000 -0400 @@ -481,13 +481,13 @@ $(MAKE) -f $(ROOT)/Makefile.Release setpermissions PERMISSIONS="$(Prwxr_xr_x)" OWNER="$(INSTALL_USR)" GROUP="$(INSTALL_GRP)" OBJECT=$(PEGASUS_STAGING_DIR)$(PEGASUS_LOCAL_AUTH_DIR) stage_PegasusLibraryDirectoryFiles: FORCE - $(foreach i, $(PEGASUS_LIBRARIES), $(COPY) $(PEGASUS_HOME)/lib/$(i)$(LIB_SUFFIX) $(PEGASUS_STAGING_DIR)$(PEGASUS_DEST_LIB_DIR)/$(i)$(LIB_SUFFIX);) + $(foreach i, $(PEGASUS_LIBRARIES), $(COPY) $(PEGASUS_HOME)/$(PEGASUS_ARCH_LIB_DIR)/$(i)$(LIB_SUFFIX) $(PEGASUS_STAGING_DIR)$(PEGASUS_DEST_LIB_DIR)/$(i)$(LIB_SUFFIX);) $(foreach i, $(PEGASUS_LIBRARY_LINKS), $(MAKE) -f $(ROOT)/Makefile.Release createlink OBJECT=$(i)$(LIB_SUFFIX) LINKNAME=$(PEGASUS_STAGING_DIR)$(PEGASUS_DEST_LIB_DIR)/$(i)$(LIB_LINK_SUFFIX);) setpermissions_PegasusLibraryDirectoryFiles: FORCE $(foreach i, $(PEGASUS_LIBRARIES), $(MAKE) -f $(ROOT)/Makefile.Release setpermissions PERMISSIONS="$(Prwxr_xr_x)" OWNER="$(INSTALL_USR)" GROUP="$(INSTALL_GRP)" OBJECT=$(PEGASUS_STAGING_DIR)$(PEGASUS_DEST_LIB_DIR)/$(i)$(LIB_SUFFIX);) stage_PegasusProviderLibraryDirectoryFiles: FORCE - $(foreach i, $(PEGASUS_PROVIDERS), $(COPY) $(PEGASUS_HOME)/lib/$(i)$(LIB_SUFFIX) $(PEGASUS_STAGING_DIR)$(PEGASUS_PROVIDER_LIB_DIR)/$(i)$(LIB_SUFFIX);) + $(foreach i, $(PEGASUS_PROVIDERS), $(COPY) $(PEGASUS_HOME)/$(PEGASUS_ARCH_LIB_DIR)/$(i)$(LIB_SUFFIX) $(PEGASUS_STAGING_DIR)$(PEGASUS_PROVIDER_LIB_DIR)/$(i)$(LIB_SUFFIX);) $(foreach i, $(PEGASUS_PROVIDERS), $(MAKE) -f $(ROOT)/Makefile.Release createlink OBJECT=$(i)$(LIB_SUFFIX) LINKNAME=$(PEGASUS_STAGING_DIR)$(PEGASUS_PROVIDER_LIB_DIR)/$(i)$(LIB_LINK_SUFFIX);) setpermissions_PegasusProviderLibraryDirectoryFiles: FORCE --- pegasus-2.5/env_var_Linux.status.redhat 2005-09-02 14:40:58.000000000 -0400 +++ pegasus-2.5/env_var_Linux.status 2005-10-03 12:29:48.000000000 -0400 @@ -9,6 +9,7 @@ PEGASUS_OVERRIDE_PRODUCT_ID=yes PEGASUS_PRODUCT_NAME="OpenPegasus" PEGASUS_PRODUCT_VERSION="2.5.0" +PEGASUS_RPM_VERSION="2.5" PEGASUS_PRODUCT_STATUS="" PAM_CONFIG_DIR=/etc/pam.d @@ -25,32 +26,31 @@ PEGASUS_HAS_SSL=yes PEGASUS_NOASSERTS=yes PEGASUS_PAM_AUTHENTICATION=true -PEGASUS_USE_PAM_STANDALONE_PROC=true PEGASUS_USE_RELEASE_CONFIG_OPTIONS=true PEGASUS_USE_RELEASE_DIRS=true PEGASUS_USE_SYSLOGS=true PEGASUS_CIM_SCHEMA=CIM29 -PEGASUS_PROD_DIR = /opt/tog-pegasus -PEGASUS_PRODSHARE_DIR = $(PEGASUS_PROD_DIR)/share -PEGASUS_DOC_DIR = $(PEGASUS_PRODSHARE_DIR)/doc -PEGASUS_MAN_DIR = $(PEGASUS_PRODSHARE_DIR)/man +PEGASUS_PROD_DIR = /usr +PEGASUS_PRODSHARE_DIR = $(PEGASUS_PROD_DIR)/share/Pegasus +PEGASUS_DOC_DIR = /usr/share/doc/tog-pegasus-$(PEGASUS_RPM_VERSION) +PEGASUS_MAN_DIR = /usr/share/man PEGASUS_MANUSER_DIR = $(PEGASUS_MAN_DIR)/man1 PEGASUS_MANADMIN_DIR = $(PEGASUS_MAN_DIR)/man8 -PEGASUS_MOF_DIR = $(PEGASUS_PROD_DIR)/mof -PEGASUS_DEST_LIB_DIR = $(PEGASUS_PROD_DIR)/lib -PEGASUS_PROVIDER_DIR = $(PEGASUS_PROD_DIR)/providers -PEGASUS_PROVIDER_LIB_DIR = $(PEGASUS_PROVIDER_DIR)/lib +PEGASUS_MOF_DIR = $(PEGASUS_PRODSHARE_DIR)/mof +PEGASUS_DEST_LIB_DIR = $(PEGASUS_PROD_DIR)/$(PEGASUS_ARCH_LIB_DIR) +PEGASUS_PROVIDER_DIR = $(PEGASUS_DEST_LIB_DIR)/Pegasus/providers +PEGASUS_PROVIDER_LIB_DIR = $(PEGASUS_PROVIDER_DIR) PEGASUS_SBIN_DIR = $(PEGASUS_PROD_DIR)/sbin PEGASUS_BIN_DIR = $(PEGASUS_PROD_DIR)/bin -PEGASUS_VARDATA_DIR = /var/opt/tog-pegasus +PEGASUS_VARDATA_DIR = /var/lib/Pegasus PEGASUS_REPOSITORY_PARENT_DIR = $(PEGASUS_VARDATA_DIR) PEGASUS_REPOSITORY_DIR = $(PEGASUS_REPOSITORY_PARENT_DIR)/repository PEGASUS_PREV_REPOSITORY_DIR = $(PEGASUS_REPOSITORY_PARENT_DIR)/prev_repository -PEGASUS_CONFIG_DIR = /etc/opt/tog-pegasus +PEGASUS_CONFIG_DIR = /etc/Pegasus PEGASUS_VARRUN_DIR = /var/run/tog-pegasus PEGASUS_CIMSERVER_START_FILE = $(PEGASUS_VARRUN_DIR)/cimserver.pid -PEGASUS_LOCAL_DOMAIN_SOCKET_DIR = $(PEGASUS_VARRUN_DIR)/socket +PEGASUS_LOCAL_DOMAIN_SOCKET_DIR = $(PEGASUS_VARRUN_DIR) PEGASUS_LOCAL_DOMAIN_SOCKET_PATH = $(PEGASUS_LOCAL_DOMAIN_SOCKET_DIR)/cimxml.socket PEGASUS_VARDATA_CACHE_DIR = $(PEGASUS_VARDATA_DIR)/cache PEGASUS_LOCAL_AUTH_DIR = $(PEGASUS_VARDATA_CACHE_DIR)/localauth @@ -63,11 +63,11 @@ PEGASUS_SSL_CERT_FILE = server.pem PEGASUS_SSL_TRUSTSTORE = client.pem -PEGASUS_SAMPLES_DIR = $(PEGASUS_PROD_DIR)/samples +PEGASUS_SAMPLES_DIR = $(PEGASUS_PRODSHARE_DIR)/samples PEGASUS_INCLUDE_DIR = $(PEGASUS_PROD_DIR)/include -PEGASUS_HTML_DIR = $(PEGASUS_PROD_DIR)/html +PEGASUS_HTML_DIR = $(PEGASUS_PRODSHARE_DIR)/html -PEGASUS_TEST_DIR = $(PEGASUS_PROD_DIR)/test +PEGASUS_TEST_DIR = $(PEGASUS_PRODSHARE_DIR)/test PEGASUS_TEST_REPOSITORY_DIR = $(PEGASUS_VARDATA_DIR) PEGASUS_TEST_REPOSITORY_NAME = testrepository --- pegasus-2.5/mak/config-linux.mak.redhat 2005-05-12 11:27:28.000000000 -0400 +++ pegasus-2.5/mak/config-linux.mak 2005-10-03 12:29:59.000000000 -0400 @@ -76,10 +76,12 @@ SYS_LIBS = -ldl -lpthread +PEGASUS_INSTALL = /usr/bin/install + # Build using fixed release settings # ifdef PEGASUS_USE_RELEASE_DIRS - PEGASUS_DEST_LIB_DIR=/opt/tog-pegasus/lib + PEGASUS_DEST_LIB_DIR=/usr/$(PEGASUS_ARCH_LIB_DIR) endif # PAM support @@ -102,7 +104,7 @@ ifdef PEGASUS_DEBUG FLAGS += -g -fPIC -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT else -FLAGS += -fPIC -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT -s -fno-enforce-eh-specs +FLAGS += -fPIC -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT -fno-enforce-eh-specs ifdef PEGASUS_OPTIMIZE_FOR_SIZE FLAGS += -Os else @@ -152,7 +154,7 @@ SYS_INCLUDES += -I${ICU_ROOT}/source/common -I${ICU_ROOT}/source/i18n DEFINES += -DPEGASUS_HAS_ICU - EXTRA_LIBRARIES += -L$(ICU_INSTALL)/lib -licuuc -licui18n -licudata + EXTRA_LIBRARIES += -L$(ICU_INSTALL)/$(PEGASUS_ARCH_LIB_DIR) -licuuc -licui18n -licudata endif endif --- pegasus-2.5/mak/SDKMakefile.redhat 2005-07-15 15:46:17.000000000 -0400 +++ pegasus-2.5/mak/SDKMakefile 2005-10-03 12:29:48.000000000 -0400 @@ -382,10 +382,10 @@ @$(MAKE) --directory=$(PEGASUS_ROOT)/mak -f SDKMakefile -i deregisterproviders @$(MAKE) --directory=$(PEGASUS_STAGING_DIR)$(PEGASUS_SAMPLES_DIR) -f Makefile clean \ PEGASUS_SAMPLES_DIR=$(PEGASUS_STAGING_DIR)$(PEGASUS_SAMPLES_DIR) \ - PEGASUS_PROVIDER_LIB_DIR=$(PEGASUS_HOME)/lib + PEGASUS_PROVIDER_LIB_DIR=$(PEGASUS_HOME)/$(PEGASUS_ARCH_LIB_DIR) @$(MAKE) --directory=$(PEGASUS_STAGING_DIR)$(PEGASUS_SAMPLES_DIR) -f Makefile all \ - PEGASUS_PROVIDER_LIB_DIR=$(PEGASUS_HOME)/lib PEGASUS_INCLUDE_DIR=$(PEGASUS_STAGING_DIR)$(PEGASUS_INCLUDE_DIR) \ - PEGASUS_DEST_LIB_DIR=$(PEGASUS_HOME)/lib PEGASUS_SAMPLES_DIR=$(PEGASUS_STAGING_DIR)$(PEGASUS_SAMPLES_DIR) \ + PEGASUS_PROVIDER_LIB_DIR=$(PEGASUS_HOME)/$(PEGASUS_ARCH_LIB_DIR) PEGASUS_INCLUDE_DIR=$(PEGASUS_STAGING_DIR)$(PEGASUS_INCLUDE_DIR) \ + PEGASUS_DEST_LIB_DIR=$(PEGASUS_HOME)/$(PEGASUS_ARCH_LIB_DIR) PEGASUS_SAMPLES_DIR=$(PEGASUS_STAGING_DIR)$(PEGASUS_SAMPLES_DIR) \ PEGASUS_INDICATION_CONSUMER_LOG_DIR=$(PEGASUS_STAGING_DIR)$(PEGASUS_SAMPLES_DIR)/Providers/DefaultC++/SimpleDisplayConsumer @$(MAKE) --directory=$(PEGASUS_STAGING_DIR)$(PEGASUS_SAMPLES_DIR)/Providers/Load -f Makefile createrepository \ PEGASUS_MOF_DIR=$(PEGASUS_ROOT)/Schemas PEGASUS_BIN_DIR=$(PEGASUS_HOME)bin --- pegasus-2.5/mak/config.mak.redhat 2005-08-12 13:52:31.000000000 -0400 +++ pegasus-2.5/mak/config.mak 2005-10-03 12:29:48.000000000 -0400 @@ -85,7 +85,7 @@ OBJ_DIR = $(HOME_DIR)/obj/$(DIR) BIN_DIR = $(HOME_DIR)/bin -LIB_DIR = $(HOME_DIR)/lib +LIB_DIR = $(HOME_DIR)/$(PEGASUS_ARCH_LIB_DIR) # l10n # define the location for the compiled messages @@ -544,7 +544,7 @@ # Unless otherwise specified, Pegasus libraries go in $(PEGASUS_HOME)/lib ifndef PEGASUS_DEST_LIB_DIR - PEGASUS_DEST_LIB_DIR = lib + PEGASUS_DEST_LIB_DIR = $(PEGASUS_ARCH_LIB_DIR) endif ifeq ($(OS),VMS) --- pegasus-2.5/mak/program-unix.mak.redhat 2005-05-12 11:27:28.000000000 -0400 +++ pegasus-2.5/mak/program-unix.mak 2005-10-03 12:29:48.000000000 -0400 @@ -28,6 +28,12 @@ #//============================================================================== INCLUDES = -I$(ROOT)/src $(EXTRA_INCLUDES) +ifdef PEGASUS_PLATFORM_LINUX_GENERIC_GNU + ifdef PEGASUS_EXE_LINK_FLAGS + EXTRA_LINK_FLAGS += $(PEGASUS_EXE_LINK_FLAGS) + endif +endif + TMP_OBJECTS = $(foreach i,$(SOURCES),$(OBJ_DIR)/$i) ifeq ($(OS_TYPE),windows) @@ -56,7 +62,7 @@ ifdef PEGASUS_HAS_MESSAGES ifdef ICU_ROOT ifdef ICU_INSTALL - SYS_LIBS += -L${ICU_INSTALL}/lib -licui18n -licuuc + SYS_LIBS += -L${ICU_INSTALL}/$(PEGASUS_ARCH_LIB_DIR) -licui18n -licuuc endif endif endif @@ -90,9 +96,9 @@ ifdef ICU_ROOT ifdef ICU_INSTALL ifdef PEGASUS_USE_RELEASE_DIRS - $(LINK_WRAPPER) $(CXX) $(FLAGS) $(EXTRA_LINK_FLAGS) -Xlinker -rpath -Xlinker $(PEGASUS_DEST_LIB_DIR) -Xlinker -rpath-link -Xlinker $(LIB_DIR) -Xlinker -rpath -Xlinker ${ICU_INSTALL}/lib -L$(LIB_DIR) $(EXE_OUTPUT) $(OBJECTS) $(DYNAMIC_LIBRARIES) $(SYS_LIBS) + $(LINK_WRAPPER) $(CXX) $(FLAGS) $(EXTRA_LINK_FLAGS) -Xlinker -rpath -Xlinker $(PEGASUS_DEST_LIB_DIR) -Xlinker -rpath-link -Xlinker $(LIB_DIR) -Xlinker -rpath -Xlinker ${ICU_INSTALL}/$(PEGASUS_ARCH_LIB_DIR) -L$(LIB_DIR) $(EXE_OUTPUT) $(OBJECTS) $(DYNAMIC_LIBRARIES) $(SYS_LIBS) else - $(LINK_WRAPPER) $(CXX) $(FLAGS) $(EXTRA_LINK_FLAGS) -Xlinker -rpath -Xlinker $(LIB_DIR) -Xlinker -rpath -Xlinker ${ICU_INSTALL}/lib -L$(LIB_DIR) $(EXE_OUTPUT) $(OBJECTS) $(DYNAMIC_LIBRARIES) $(SYS_LIBS) + $(LINK_WRAPPER) $(CXX) $(FLAGS) $(EXTRA_LINK_FLAGS) -Xlinker -rpath -Xlinker $(LIB_DIR) -Xlinker -rpath -Xlinker ${ICU_INSTALL}/$(PEGASUS_ARCH_LIB_DIR) -L$(LIB_DIR) $(EXE_OUTPUT) $(OBJECTS) $(DYNAMIC_LIBRARIES) $(SYS_LIBS) endif endif endif @@ -109,11 +115,11 @@ ifdef PEGASUS_HAS_MESSAGES ifdef ICU_ROOT ifdef ICU_INSTALL - $(LINK_WRAPPER) $(CXX) -Wl,-brtl -blibpath:/usr/linux/lib:/usr/lib:/lib:$(ICU_INSTALL)/lib -Wl,-bhalt:$(AIX_LD_HALT) $(FLAGS) $(EXTRA_LINK_FLAGS) -L$(LIB_DIR) $(EXE_OUTPUT) $(OBJECTS) $(DYNAMIC_LIBRARIES) $(SYS_LIBS) + $(LINK_WRAPPER) $(CXX) -Wl,-brtl -blibpath:/usr/linux/$(PEGASUS_ARCH_LIB_DIR):/usr/$(PEGASUS_ARCH_LIB_DIR):/$(PEGASUS_ARCH_LIB_DIR):$(ICU_INSTALL)/$(PEGASUS_ARCH_LIB_DIR) -Wl,-bhalt:$(AIX_LD_HALT) $(FLAGS) $(EXTRA_LINK_FLAGS) -L$(LIB_DIR) $(EXE_OUTPUT) $(OBJECTS) $(DYNAMIC_LIBRARIES) $(SYS_LIBS) endif endif else - $(LINK_WRAPPER) $(CXX) -Wl,-brtl -blibpath:/usr/linux/lib:/usr/lib:/lib -Wl,-bhalt:$(AIX_LD_HALT) $(FLAGS) $(EXTRA_LINK_FLAGS) -L$(LIB_DIR) $(EXE_OUTPUT) $(OBJECTS) $(DYNAMIC_LIBRARIES) $(SYS_LIBS) + $(LINK_WRAPPER) $(CXX) -Wl,-brtl -blibpath:/usr/linux/$(PEGASUS_ARCH_LIB_DIR):/usr/$(PEGASUS_ARCH_LIB_DIR):/$(PEGASUS_ARCH_LIB_DIR):$(ICU_INSTALL)/$(PEGASUS_ARCH_LIB_DIR) -Wl,-bhalt:$(AIX_LD_HALT) $(FLAGS) $(EXTRA_LINK_FLAGS) -L$(LIB_DIR) $(EXE_OUTPUT) $(OBJECTS) $(DYNAMIC_LIBRARIES) $(SYS_LIBS) endif else $(LINK_WRAPPER) $(CXX) -Wl,-brtl -Wl,-bhalt:$(AIX_LD_HALT) $(FLAGS) $(EXTRA_LINK_FLAGS) -L$(LIB_DIR) $(EXE_OUTPUT) $(OBJECTS) $(DYNAMIC_LIBRARIES) $(SYS_LIBS) @@ -147,3 +153,5 @@ -include $(OBJ_DIR)/depend.mak include $(ROOT)/mak/misc.mak + +include $(ROOT)/mak/install-program-unix.mak --- pegasus-2.5/mak/library-unix.mak.redhat 2005-05-12 11:27:28.000000000 -0400 +++ pegasus-2.5/mak/library-unix.mak 2005-10-03 12:29:48.000000000 -0400 @@ -32,11 +32,11 @@ ifdef PEGASUS_HAS_MESSAGES ifdef ICU_ROOT ifdef ICU_INSTALL - LINK_ARGUMENTS = -qmkshrobj=$(AIX_LIB_PRIORITY) -blibpath:/usr/linux/lib:/usr/lib:/lib:$(ICU_INSTALL)/lib -Wl,-bhalt:$(AIX_LD_HALT) + LINK_ARGUMENTS = -qmkshrobj=$(AIX_LIB_PRIORITY) -blibpath:/usr/linux/$(PEGASUS_ARCH_LIB_DIR):/usr/$(PEGASUS_ARCH_LIB_DIR):/$(PEGASUS_ARCH_LIB_DIR):$(ICU_INSTALL)/$(PEGASUS_ARCH_LIB_DIR) -Wl,-bhalt:$(AIX_LD_HALT) endif endif else - LINK_ARGUMENTS = -qmkshrobj=$(AIX_LIB_PRIORITY) -blibpath:/usr/linux/lib:/usr/lib:/lib -Wl,-bhalt:$(AIX_LD_HALT) + LINK_ARGUMENTS = -qmkshrobj=$(AIX_LIB_PRIORITY) -blibpath:/usr/linux/$(PEGASUS_ARCH_LIB_DIR):/usr/$(PEGASUS_ARCH_LIB_DIR):/$(PEGASUS_ARCH_LIB_DIR) -Wl,-bhalt:$(AIX_LD_HALT) endif else LINK_ARGUMENTS = -qmkshrobj=$(AIX_LIB_PRIORITY) -Wl,-bhalt:$(AIX_LD_HALT) @@ -56,12 +56,12 @@ endif ifeq ($(PEGASUS_SUPPORTS_DYNLIB),yes) ifdef PEGASUS_USE_RELEASE_DIRS - LINK_COMMAND += -Wl,+b$(PEGASUS_DEST_LIB_DIR):/usr/lib + LINK_COMMAND += -Wl,+b$(PEGASUS_DEST_LIB_DIR):/usr/$(PEGASUS_ARCH_LIB_DIR) ifeq ($(PEGASUS_PLATFORM), HPUX_PARISC_ACC) - LINK_COMMAND += -Wl,+cdp,$(PEGASUS_PLATFORM_SDKROOT)/usr/lib:/usr/lib -Wl,+cdp,$(PEGASUS_HOME)/lib:$(PEGASUS_DEST_LIB_DIR) + LINK_COMMAND += -Wl,+cdp,$(PEGASUS_PLATFORM_SDKROOT)/usr/$(PEGASUS_ARCH_LIB_DIR):/usr/$(PEGASUS_ARCH_LIB_DIR) -Wl,+cdp,$(PEGASUS_HOME)/$(PEGASUS_ARCH_LIB_DIR):$(PEGASUS_DEST_LIB_DIR) endif else - LINK_COMMAND += -Wl,+b$(LIB_DIR):/usr/lib + LINK_COMMAND += -Wl,+b$(LIB_DIR):/usr/$(PEGASUS_ARCH_LIB_DIR) endif endif LINK_COMMAND += -Wl,+s @@ -164,3 +164,5 @@ ln -f -s $(LIBRARY)$(SUFFIX) $(LIBRARY).$(PLATFORM_SUFFIX) FILES_TO_CLEAN = $(OBJECTS) $(FULL_LIB) + +include $(ROOT)/mak/install-library-unix.mak --- pegasus-2.5/rpm/wbem.redhat 2003-03-13 12:25:15.000000000 -0500 +++ pegasus-2.5/rpm/wbem 2005-10-03 12:29:48.000000000 -0400 @@ -1,13 +1,7 @@ #%PAM-1.0 -auth required /lib/security/pam_env.so -auth sufficient /lib/security/pam_unix.so likeauth nullok -auth required /lib/security/pam_deny.so - -account required /lib/security/pam_unix.so - -password required /lib/security/pam_cracklib.so retry=3 type= -password sufficient /lib/security/pam_unix.so nullok use_authtok md5 shadow -password required /lib/security/pam_deny.so - -session required /lib/security/pam_limits.so -session required /lib/security/pam_unix.so +auth required pam_stack.so service=system-auth +account required pam_stack.so service=system-auth +account required pam_access.so accessfile=/etc/Pegasus/access.conf +password required pam_stack.so service=system-auth +session required pam_stack.so service=system-auth +session required pam_loginuid.so --- pegasus-2.5/rpm/tog-pegasus.rc.redhat 2005-05-29 02:43:30.000000000 -0400 +++ pegasus-2.5/rpm/tog-pegasus.rc 2005-10-03 12:29:48.000000000 -0400 @@ -1,34 +1,28 @@ #! /bin/sh -#//%2005//////////////////////////////////////////////////////////////////////// -#// -#// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development -#// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. -#// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; -#// IBM Corp.; EMC Corporation, The Open Group. -#// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; -#// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. -#// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; -#// EMC Corporation; VERITAS Software Corporation; The Open Group. -#// -#// Permission is hereby granted, free of charge, to any person obtaining a copy -#// of this software and associated documentation files (the "Software"), to -#// deal in the Software without restriction, including without limitation the -#// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -#// sell copies of the Software, and to permit persons to whom the Software is -#// furnished to do so, subject to the following conditions: -#// -#// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN -#// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED -#// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT -#// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -#// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -#// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -#// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -#// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -#// -#//============================================================================== -#// -#//%///////////////////////////////////////////////////////////////////////////// +#%///////////////////////////////////////////////////////////////////////////// +# +# Copyright (c) 2004 BMC Software, Hewlett-Packard Company, IBM, +# The Open Group, Tivoli Systems +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN +# ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED +# "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +# LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +# PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +#============================================================================== +# +#%///////////////////////////////////////////////////////////////////////////// ### BEGIN INIT INFO # Provides: tog-pegasus @@ -40,7 +34,10 @@ # Description: init script for Pegasus CIM server ### END INIT INFO -CIMSERVER_BIN=/opt/tog-pegasus/sbin/cimserver +CIMSERVER_BIN=/usr/sbin/cimserver +PEGASUS_SSL_CERT_FILE=${PEGASUS_SSL_CERT_FILE:=server.pem} +PEGASUS_SSL_KEY_FILE=${PEGASUS_SSL_KEY_FILE:=file.pem} +PEGASUS_SSL_TRUSTSTORE=${PEGASUS_SSL_TRUSTSTORE:=client.pem} prog=cimserver test -x $CIMSERVER_BIN || exit 5 @@ -50,19 +47,22 @@ case "$1" in start) + [ -e /var/run/tog-pegasus/cimxml.socket ] && rm -f /var/run/tog-pegasus/cimxml.socket echo -n $"Starting up CIM server: " + if [ ! -e /etc/Pegasus/ssl.cnf ] || [ ! -e /etc/Pegasus/$PEGASUS_SSL_CERT_FILE ] || [ ! -e /etc/Pegasus/$PEGASUS_SSL_KEY_FILE ] || [ ! -e /etc/Pegasus/$PEGASUS_SSL_TRUSTSTORE ]; then + echo "Generating SSL certificates..."; + /usr/share/Pegasus/scripts/genSSLcerts; + fi; $CIMSERVER_BIN RETVAL=$? [ "$RETVAL" -eq 0 ] && log_success_msg $"$prog start" || log_failure_msg $"$prog start" - echo ;; - stop) echo -n $"Shutting down CIM server: " killproc cimserver RETVAL=$? [ "$RETVAL" -eq 0 ] && log_success_msg $"$prog stop" || log_failure_msg $"$prog stop" - echo + [ "$RETVAL" -eq 0 ] && [ -e /var/run/tog-pegasus/cimxml.socket ] && rm -f /var/run/tog-pegasus/cimxml.socket ;; status) pid=`pidofproc $CIMSERVER_BIN` --- pegasus-2.5/src/Pegasus/ProviderManager2/tests/ProviderManagerModule/ProviderManagerModule.cpp.redhat 2005-04-18 17:18:24.000000000 -0400 +++ pegasus-2.5/src/Pegasus/ProviderManager2/tests/ProviderManagerModule/ProviderManagerModule.cpp 2005-10-03 12:29:48.000000000 -0400 @@ -134,7 +134,7 @@ int main(int argc, char** argv) { - const char * verbose = getenv("PEGASUS_TEST_VERBOSE"); + const char * verbose = getenv("PEGASUS_TEST_VERBOSE"), *p; const String FILE_NAME = FileSystem::buildLibraryFileName("TestProviderManager"); @@ -146,7 +146,11 @@ #elif defined (PEGASUS_OS_VMS) fileName= FILE_NAME; #else - fileName=String(getenv("PEGASUS_HOME"))+String("/lib/")+FILE_NAME; + fileName= String(getenv("PEGASUS_HOME")) + + String("/") + + String(((p = getenv("PEGASUS_ARCH_LIB_DIR")) == 0L) ? "lib" : p) + + String("/") + + FILE_NAME; #endif Test1(); --- pegasus-2.5/src/Pegasus/ProviderManager2/CMPI/samples/ProcessIndication/Makefile.redhat 2005-05-12 11:30:52.000000000 -0400 +++ pegasus-2.5/src/Pegasus/ProviderManager2/CMPI/samples/ProcessIndication/Makefile 2005-10-03 12:29:48.000000000 -0400 @@ -29,7 +29,7 @@ # Makefile for CMPIRT_SampleClass library # Change the following lines to match the values on your system -PEGDIRLIB=$(PEGASUS_HOME)/lib +PEGDIRLIB=$(PEGASUS_HOME)/$(PEGASUS_ARCH_LIB_DIR) # Changes shouldn't be necessary below this line CFLAGS=-Wall -D_COMPILE_UNIX -g -I. -I../.. --- pegasus-2.5/src/Pegasus/Config/FixedPropertyTableLinux.h.redhat 2005-07-15 19:02:21.000000000 -0400 +++ pegasus-2.5/src/Pegasus/Config/FixedPropertyTableLinux.h 2005-10-03 12:30:39.000000000 -0400 @@ -45,19 +45,19 @@ {"enableBinaryRepository", "false"}, #endif #if defined(PEGASUS_USE_RELEASE_DIRS) && !defined(PEGASUS_OS_LSB) - {"traceFilePath", "/var/opt/tog-pegasus/cache/trace/cimserver.trc"}, + {"traceFilePath", "/var/lib/Pegasus/cache/cimserver.trc"}, #if !defined(PEGASUS_USE_SYSLOGS) - {"logdir", "/var/opt/tog-pegasus/log"}, + {"logdir", "/var/log/Pegasus"}, #endif - {"passwordFilePath", "/etc/opt/tog-pegasus/cimserver.passwd"}, - {"sslCertificateFilePath", "/etc/opt/tog-pegasus/server.pem"}, - {"sslKeyFilePath", "/etc/opt/tog-pegasus/file.pem"}, - {"sslTrustStore", "/etc/opt/tog-pegasus/cimserver_trust"}, - {"exportSSLTrustStore", "/etc/opt/tog-pegasus/indication_trust"}, - {"crlStore", "/etc/opt/tog-pegasus/crl"}, - {"repositoryDir", "/var/opt/tog-pegasus/repository"}, - {"providerDir", "/opt/tog-pegasus/providers/lib:/usr/lib/cmpi"}, - {"messageDir", "/opt/tog-pegasus/share/locale/ICU_Messages"}, + {"passwordFilePath", "/etc/Pegasus/cimserver.passwd"}, + {"sslCertificateFilePath", "/etc/Pegasus/server.pem"}, + {"sslKeyFilePath", "/etc/Pegasus/file.pem"}, + {"sslTrustStore", "/etc/Pegasus/cimserver_trust"}, + {"exportSSLTrustStore", "/etc/Pegasus/indication_trust"}, + {"crlStore", "/etc/Pegasus/crl"}, + {"repositoryDir", "/var/lib/Pegasus/repository"}, + {"providerDir", PEGASUS_DEST_LIB_DIR "/Pegasus/providers"}, + {"messageDir", "/usr/share/locale"}, #endif #if defined(PEGASUS_USE_RELEASE_DIRS) && defined(PEGASUS_OS_LSB) {"traceFilePath", "/var/opt/lsb-pegasus/cache/cimserver.trc"}, --- pegasus-2.5/src/Pegasus/Config/ConfigFileDirLinux.h.redhat 2005-02-05 18:00:07.000000000 -0500 +++ pegasus-2.5/src/Pegasus/Config/ConfigFileDirLinux.h 2005-10-03 12:29:48.000000000 -0400 @@ -37,12 +37,12 @@ /** Default file name for the current configuration. */ -static char CURRENT_CONFIG_FILE [] = "/var/opt/tog-pegasus/cimserver_current.conf"; +static char CURRENT_CONFIG_FILE [] = "/etc/Pegasus/cimserver_current.conf"; /** Default file name for the planned configuration. */ -static char PLANNED_CONFIG_FILE [] = "/var/opt/tog-pegasus/cimserver_planned.conf"; +static char PLANNED_CONFIG_FILE [] = "/etc/Pegasus/cimserver_planned.conf"; /** Default file name for the cimserver startup file containing the PID. --- pegasus-2.5/src/Pegasus/ControlProviders/CertificateProvider/Makefile.redhat 2005-05-12 11:29:46.000000000 -0400 +++ pegasus-2.5/src/Pegasus/ControlProviders/CertificateProvider/Makefile 2005-10-03 12:29:48.000000000 -0400 @@ -56,8 +56,8 @@ ifeq ($(OS),linux) EXTRA_LIBRARIES += -lcrypt ifdef PEGASUS_HAS_SSL - EXTRA_LIBRARIES += -L$(OPENSSL_HOME)/lib -lssl -lcrypto - EXTRA_LINK_ARGUMENTS = -Xlinker -rpath -Xlinker $(OPENSSL_HOME)/lib + EXTRA_LIBRARIES += -L$(OPENSSL_HOME)/$(PEGASUS_ARCH_LIB_DIR) -lssl -lcrypto + EXTRA_LINK_ARGUMENTS = -Xlinker -rpath -Xlinker $(OPENSSL_HOME)/$(PEGASUS_ARCH_LIB_DIR) endif endif --- pegasus-2.5/src/Pegasus/Common/tests/DynLoad/Makefile.redhat 2005-05-12 11:28:46.000000000 -0400 +++ pegasus-2.5/src/Pegasus/Common/tests/DynLoad/Makefile 2005-10-03 12:29:48.000000000 -0400 @@ -45,7 +45,7 @@ ifeq ($(PEGASUS_OS_TYPE),VMS) $(PROGRAM) libTestDynLib else - $(PROGRAM) $(HOME_DIR)/lib/libTestDynLib$(LIB_SUFFIX) + $(PROGRAM) $(HOME_DIR)/$(PEGASUS_ARCH_LIB_DIR)/libTestDynLib$(LIB_SUFFIX) endif endif --- pegasus-2.5/src/Pegasus/Common/MessageQueueService.cpp.redhat 2005-08-16 18:46:53.000000000 -0400 +++ pegasus-2.5/src/Pegasus/Common/MessageQueueService.cpp 2005-10-03 12:29:48.000000000 -0400 @@ -68,7 +68,9 @@ #define MAX_THREADS_PER_SVC_QUEUE_LIMIT 5000 #define MAX_THREADS_PER_SVC_QUEUE_DEFAULT 5 - +#ifndef MAX_THREADS_PER_SVC_QUEUE +#define MAX_THREADS_PER_SVC_QUEUE MAX_THREADS_PER_SVC_QUEUE_DEFAULT +#endif Uint32 max_threads_per_svc_queue; PEGASUS_THREAD_RETURN PEGASUS_THREAD_CDECL --- pegasus-2.5/src/Pegasus/Common/Makefile.redhat 2005-06-12 18:31:19.000000000 -0400 +++ pegasus-2.5/src/Pegasus/Common/Makefile 2005-10-03 12:29:48.000000000 -0400 @@ -165,8 +165,8 @@ ifeq ($(OS),linux) EXTRA_LIBRARIES += -lcrypt ifdef PEGASUS_HAS_SSL - EXTRA_LIBRARIES += -L$(OPENSSL_HOME)/lib -lssl -lcrypto - EXTRA_LINK_ARGUMENTS = -Xlinker -rpath -Xlinker $(OPENSSL_HOME)/lib + EXTRA_LIBRARIES += -L$(OPENSSL_HOME)/$(PEGASUS_ARCH_LIB_DIR) -lssl -lcrypto + EXTRA_LINK_ARGUMENTS = -Xlinker -rpath -Xlinker $(OPENSSL_HOME)/$(PEGASUS_ARCH_LIB_DIR) endif endif @@ -206,11 +206,11 @@ ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC) SYS_LIBS = ws2_32.lib advapi32.lib netapi32.lib ifdef PEGASUS_HAS_SSL - SYS_LIBS += /libpath:$(OPENSSL_HOME)/lib libeay32.lib ssleay32.lib + SYS_LIBS += /libpath:$(OPENSSL_HOME)/$(PEGASUS_ARCH_LIB_DIR) libeay32.lib ssleay32.lib endif ifdef PEGASUS_WINDOWS_SDK_HOME FLAGS += -DPEGASUS_WINDOWS_SDK_HOME - SYS_LIBS += /libpath:$(PEGASUS_WINDOWS_SDK_HOME)/lib secur32.lib + SYS_LIBS += /libpath:$(PEGASUS_WINDOWS_SDK_HOME)/$(PEGASUS_ARCH_LIB_DIR) secur32.lib else ifneq ($(CL_MAJOR_VERSION), 12) SYS_LIBS += secur32.lib --- pegasus-2.5/src/Pegasus/Common/Constants.h.redhat 2005-07-27 17:02:36.000000000 -0400 +++ pegasus-2.5/src/Pegasus/Common/Constants.h 2005-10-03 12:29:48.000000000 -0400 @@ -380,21 +380,21 @@ # define PEGASUS_PAM_STANDALONE_PROC_NAME "/opt/freeware/cimom/pegasus/bin/cimservera" # elif defined(PEGASUS_OS_LINUX) && !defined(PEGASUS_OS_LSB) # undef PEGASUS_SSLCLIENT_CERTIFICATEFILE -# define PEGASUS_SSLCLIENT_CERTIFICATEFILE "/etc/opt/tog-pegasus/client.pem" +# define PEGASUS_SSLCLIENT_CERTIFICATEFILE "/etc/Pegasus/client.pem" # undef PEGASUS_SSLCLIENT_RANDOMFILE -# define PEGASUS_SSLCLIENT_RANDOMFILE "/var/opt/tog-pegasus/ssl.rnd" +# define PEGASUS_SSLCLIENT_RANDOMFILE "/var/lib/Pegasus/ssl.rnd" # undef PEGASUS_SSLSERVER_RANDOMFILE -# define PEGASUS_SSLSERVER_RANDOMFILE "/var/opt/tog-pegasus/cimserver.rnd" +# define PEGASUS_SSLSERVER_RANDOMFILE "/var/lib/Pegasus/cimserver.rnd" # undef PEGASUS_LOCAL_AUTH_DIR -# define PEGASUS_LOCAL_AUTH_DIR "/var/opt/tog-pegasus/cache/localauth" +# define PEGASUS_LOCAL_AUTH_DIR "/var/lib/Pegasus/cache/localauth" # undef PEGASUS_LOCAL_DOMAIN_SOCKET_PATH -# define PEGASUS_LOCAL_DOMAIN_SOCKET_PATH "/var/run/tog-pegasus/socket/cimxml.socket" +# define PEGASUS_LOCAL_DOMAIN_SOCKET_PATH "/var/run/tog-pegasus/cimxml.socket" # undef PEGASUS_CORE_DIR -# define PEGASUS_CORE_DIR "/var/opt/tog-pegasus/cache" +# define PEGASUS_CORE_DIR "/var/lib/Pegasus/cache" # undef PEGASUS_PAM_STANDALONE_PROC_NAME -# define PEGASUS_PAM_STANDALONE_PROC_NAME "/opt/tog-pegasus/sbin/cimservera" +# define PEGASUS_PAM_STANDALONE_PROC_NAME "/usr/sbin/cimservera" # undef PEGASUS_PROVIDER_AGENT_PROC_NAME -# define PEGASUS_PROVIDER_AGENT_PROC_NAME "/opt/tog-pegasus/sbin/cimprovagt" +# define PEGASUS_PROVIDER_AGENT_PROC_NAME "/usr/sbin/cimprovagt" # elif defined(PEGASUS_OS_LSB) # define PEGASUS_SSLCLIENT_CERTIFICATEFILE "/etc/opt/lsb-pegasus/client.pem" # undef PEGASUS_SSLCLIENT_RANDOMFILE --- pegasus-2.5/src/Pegasus/Common/System.cpp.redhat 2005-06-06 10:27:55.000000000 -0400 +++ pegasus-2.5/src/Pegasus/Common/System.cpp 2005-10-03 12:29:48.000000000 -0400 @@ -144,13 +144,13 @@ char *System::extract_file_path(const char *fullpath, char *dirname) { char *p; - char buff[2048]; + char buff[PEGASUS_PATH_MAX]; if (fullpath == NULL) { dirname[0] = '\0'; return dirname; } - strcpy(buff, fullpath); + strncpy(buff, fullpath, PEGASUS_PATH_MAX); for(p = buff + strlen(buff); p >= buff; p--) { if (*p == '\\' || *p == '/') --- pegasus-2.5/src/Pegasus/Common/Platform_LINUX_IX86_GNU.h.redhat 2005-02-26 00:22:13.000000000 -0500 +++ pegasus-2.5/src/Pegasus/Common/Platform_LINUX_IX86_GNU.h 2005-10-03 12:29:48.000000000 -0400 @@ -72,9 +72,12 @@ #include #include #include // For MAXHOSTNAMELEN - +#include // For _POSIX_HOST_NAME_LEN #if defined(PEGASUS_OS_LSB) && !defined(MAXHOSTNAMELEN) -#define PEGASUS_MAXHOSTNAMELEN 64 +#if defined(_POSIX_HOST_NAME_MAX) +#define PEGASUS_MAXHOSTNAMELEN (_POSIX_HOST_NAME_MAX+1) +#else +#define PEGASUS_MAXHOSTNAMELEN 256 +#endif #endif - #endif /* Pegasus_Platform_LINUX_IX86_GNU_h */ --- pegasus-2.5/src/Pegasus/Common/SystemUnix.cpp.redhat 2005-07-19 15:31:26.000000000 -0400 +++ pegasus-2.5/src/Pegasus/Common/SystemUnix.cpp 2005-10-03 12:29:48.000000000 -0400 @@ -566,7 +566,7 @@ if ((he = gethostbyname (hostName))) { - strcpy (hostName, he->h_name); + strncpy (hostName, he->h_name, PEGASUS_MAXHOSTNAMELEN); } #if defined(PEGASUS_OS_OS400) --- pegasus-2.5/src/Pegasus/Common/Config.h.redhat 2005-05-05 14:18:42.000000000 -0400 +++ pegasus-2.5/src/Pegasus/Common/Config.h 2005-10-03 12:29:48.000000000 -0400 @@ -182,6 +182,13 @@ #define PEGASUS_MAXHOSTNAMELEN MAXHOSTNAMELEN #endif +#ifndef PEGASUS_PATH_MAX +#ifndef PATH_MAX +#define PEGASUS_PATH_MAX 4096 +#else +#define PEGASUS_PATH_MAX PATH_MAX +#endif +#endif #ifdef __cplusplus PEGASUS_NAMESPACE_BEGIN --- pegasus-2.5/src/Providers/ManagedSystem/ComputerSystem/ComputerSystem_Linux.cpp.redhat 2005-03-02 13:17:32.000000000 -0500 +++ pegasus-2.5/src/Providers/ManagedSystem/ComputerSystem/ComputerSystem_Linux.cpp 2005-10-03 12:29:48.000000000 -0400 @@ -310,7 +310,7 @@ he=gethostbyname(hostName); if (he) { - strcpy(hostName, he->h_name); + strncpy(hostName, he->h_name, PEGASUS_MAXHOSTNAMELEN); } _hostName.assign(hostName); --- pegasus-2.5/src/Providers/ManagedSystem/OperatingSystem/OperatingSystem_Linux.cpp.redhat 2005-02-05 18:01:03.000000000 -0500 +++ pegasus-2.5/src/Providers/ManagedSystem/OperatingSystem/OperatingSystem_Linux.cpp 2005-10-03 12:29:48.000000000 -0400 @@ -172,7 +172,7 @@ he=gethostbyname(hostName); if (he) { - strcpy(hostName, he->h_name); + strncpy(hostName, he->h_name, PEGASUS_MAXHOSTNAMELEN); } csName.assign(hostName); --- pegasus-2.5/src/Providers/ManagedSystem/Process/Process_Linux.cpp.redhat 2005-07-15 16:46:54.000000000 -0400 +++ pegasus-2.5/src/Providers/ManagedSystem/Process/Process_Linux.cpp 2005-10-03 12:29:48.000000000 -0400 @@ -782,7 +782,7 @@ he=gethostbyname(hostName); if (he) { - strcpy(hostName, he->h_name); + strncpy(hostName, he->h_name, PEGASUS_MAXHOSTNAMELEN); } csName.assign(hostName); --- pegasus-2.5/src/Clients/repupgrade/RepositoryUpgrade.cpp.redhat 2005-06-03 16:04:34.000000000 -0400 +++ pegasus-2.5/src/Clients/repupgrade/RepositoryUpgrade.cpp 2005-10-03 12:29:48.000000000 -0400 @@ -2075,7 +2075,7 @@ fileName = _pegasusHome + "/bin/" + FileSystem::buildLibraryFileName(moduleName); #else - fileName = _pegasusHome + "/lib/" + + fileName = _pegasusHome + PEGASUS_DEST_LIB_DIR + FileSystem::buildLibraryFileName(moduleName); #endif Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/tog-pegasus/devel/.cvsignore,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- .cvsignore 20 Jan 2005 02:41:52 -0000 1.2 +++ .cvsignore 3 Oct 2005 17:52:26 -0000 1.3 @@ -1 +1,2 @@ tog-pegasus-2.4.1.Beta-1.tar.gz +pegasus-2.5.tar.gz Index: sources =================================================================== RCS file: /cvs/dist/rpms/tog-pegasus/devel/sources,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- sources 30 May 2005 21:21:15 -0000 1.3 +++ sources 3 Oct 2005 17:52:26 -0000 1.4 @@ -1 +1 @@ -303eef5aeb5b2156467a382911467bba tog-pegasus-2.4.1-1.tar.gz +0b068fd576f199f8a0946e2f659acfe4 pegasus-2.5.tar.gz Index: tog-pegasus.spec =================================================================== RCS file: /cvs/dist/rpms/tog-pegasus/devel/tog-pegasus.spec,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- tog-pegasus.spec 2 Sep 2005 19:02:05 -0000 1.5 +++ tog-pegasus.spec 3 Oct 2005 17:52:26 -0000 1.6 @@ -1,45 +1,7 @@ -#%2005//////////////////////////////////////////////////////////////////////// +################################################################################ # -# Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development -# Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. -# Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; -# IBM Corp.; EMC Corporation, The Open Group. -# Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; -# IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. -# Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; -# EMC Corporation; VERITAS Software Corporation; The Open Group. +# OpenPegasus (Red Hat release) RPM .spec file # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to -# deal in the Software without restriction, including without limitation the -# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -# sell copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN -# ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED -# "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT -# LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -# PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# -#============================================================================== -#%///////////////////////////////////////////////////////////////////////////// -# -# tog-pegasus.spec -# -# Package spec for PEGASUS 2.4 -#%///////////////////////////////////////////////////////////////////////////// -# -# Modified for Red Hat tog-pegasus distribution -# -# Jason Vas Dias -# -# Copyright(C) Red Hat Inc. 2005 -# -#%///////////////////////////////////////////////////////////////////////////// %{?!WITH_TEST: %define WITH_TEST 0} # do "rpmbuild --define 'WITH_TEST 1'" to build test RPM . # NOTE: Must use "rpm -[iU]vh --define 'WITH_TEST 1'" for all RPMs if test rpm @@ -47,64 +9,32 @@ # DO NOT install test rpm for production use. %{?!AUTOSTART: %define AUTOSTART 0} # Use "rpm -[iU]vh --define 'AUTOSTART 1'" in order to have cimserver enabled -# (chkconfig --level=345 tog-pegasus on) and running after installation. +# (chkconfig --level=345 tog-pegasus on) after installation. # -%{?!OPT_TOG_PEGASUS: %define OPT_TOG_PEGASUS 0} -# Use "rpm -[iU]vh --define 'OPT_TOG_PEGASUS 1' to create the /opt/* -# directory structure provided by the upstream tog-pegasus releases as links -# to the Red Hat tog-pegasus binaries, libraries, and directories, by running -# the /usr/share/Pegasus/scripts/opt-tog-pegasus script, installed by default. -# -%define srcRelease 1 -Summary: OpenPegasus WBEM Services for Linux -Name: tog-pegasus -Version: 2.4.1 -Release: 4.FC5 -Epoch: 1 -Group: Systems Management/Base -License: Open Group Pegasus Open Source -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} -Source: ftp://www.opengroup.org/pegasus/tog-pegasus-%{version}-%{srcRelease}.tar.gz -Patch0: tog-pegasus-2.4.1.Beta-3.condrestart.patch -Patch1: tog-pegasus-2.4.1.Beta-3.ppc64.patch -Patch2: tog-pegasus-2.4.1-noecho.patch -Patch3: tog-pegasus-2.4.1-execshield.patch -Patch4: tog-pegasus-2.4.1-de-opt.patch -Patch5: tog-pegasus-2.4.1-remove_socket.patch -Patch6: tog-pegasus-2.4.1-de-lib.patch -Patch7: tog-pegasus-2.4.1-rbz167162_obz4025.patch -Patch8: tog-pegasus-2.4.1-bz167164.patch -Patch9: tog-pegasus-2.4.1-bz167165.patch -# These patches are direct from upstream BZs marked '2.4.2_approved', -# meaning they have passed upstream testing and are in 2.4.2: -Patch10: tog-pegasus-2.4.1-obz2207.patch -Patch11: tog-pegasus-2.4.1-obz2217.patch -Patch12: tog-pegasus-2.4.1-obz2499.patch -Patch13: tog-pegasus-2.4.1-obz2503.patch -# BZ 3416 fixed by our compile flags -# BZs 3728, 3731 fixed by this .spec file -Patch14: tog-pegasus-2.4.1-obz3858.patch -Patch15: tog-pegasus-2.4.1-obz3958.patch -Patch16: tog-pegasus-2.4.1-obz4004.patch -Patch17: tog-pegasus-2.4.1-obz4009.patch -Patch18: tog-pegasus-2.4.1-obz4014.patch -Patch19: tog-pegasus-2.4.1-obz4023.patch -Patch20: tog-pegasus-2.4.1-obz4027.patch -Patch21: tog-pegasus-2.4.1-obz4028.patch -Patch22: tog-pegasus-2.4.1-obz4029-new.patch -Patch23: tog-pegasus-2.4.1-obz4029.patch -Patch24: tog-pegasus-2.4.1-obz4050.patch -Patch25: tog-pegasus-2.4.1-obz4072.patch -# BZs 4103, 4126 already fixed in previous patches -Patch26: tog-pegasus-2.4.1-obz4120.patch -Patch27: tog-pegasus-2.4.1-2-4-2-sanity.patch -Patch28: tog-pegasus-2.4.1-obz3958_default.patch -Source1: opt-tog-pegasus -Requires: openssl >= 0.9.6 lsb >= 1.3 pam -Provides: cimserver tog-pegasus-2.4 -BuildRequires: openssl-devel >= 0.9.6 pam-devel -BuildConflicts: tog-pegasus -Requires(post): openssl lsb coreutils bash +Summary: OpenPegasus WBEM Services for Linux +Name: tog-pegasus +Version: 2.5 +Release: 1 +Epoch: 2 +Group: Systems Management/Base +License: Open Group Pegasus Open Source +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +URL: http://www.openpegasus.org/ +%define srcname pegasus +Source0: %{srcname}-%{version}.tar.gz +Source1: rpm_build_env +Source2: README.RedHat.Security +Source3: access.conf +Source4: genSSLcerts +Patch0: pegasus-2.5-redhat.patch +Patch1: pegasus-2.5-local-or-remote-auth.patch +Patch2: pegasus-2.5-make_install.patch +BuildConflicts: tog-pegasus tog-pegasus-devel +BuildRequires: bash, sed, grep, coreutils, procps, gcc, gcc-c++, libstdc++, make, pam-devel, krb5-devel, krb5-libs, openssl-devel >= 0.9.6, e2fsprogs +Requires: bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam, krb5-libs, e2fsprogs, redhat-lsb, chkconfig, SysVinit, bind-utils, bind-libs, net-tools +Requires(post): bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam, krb5-libs, e2fsprogs, redhat-lsb, chkconfig, SysVinit, bind-utils, bind-libs, net-tools +Requires(pre): bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam, krb5-libs, e2fsprogs, redhat-lsb, chkconfig, SysVinit, bind-utils, bind-libs, net-tools +Requires(postun): bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam, krb5-libs, e2fsprogs, redhat-lsb, chkconfig, SysVinit, bind-utils, bind-libs, net-tools %description OpenPegasus WBEM Services for Linux enables management solutions that deliver @@ -116,9 +46,7 @@ %package devel Summary: The OpenPegasus Software Development Kit Group: Systems Management/Base -Autoreq: 0 -Requires: tog-pegasus >= 2.4 -Obsoletes: tog-pegasus-sdk +Requires: tog-pegasus >= 2.5 %description devel The OpenPegasus WBEM Services for Linux SDK is the developer's kit for the OpenPegasus WBEM @@ -129,1169 +57,172 @@ %package test Summary: The OpenPegasus Tests Group: Systems Management/Base -Autoreq: 0 -Requires: tog-pegasus >= 2.4 +Autoreq: 0 +Requires: tog-pegasus >= 2.5 %description test -The OpenPegasus WBEM tests for the OpenPegasus 2.4 Linux rpm. +The OpenPegasus WBEM tests for the OpenPegasus 2.5 Linux rpm. +********************************************************************************** +*** DO NOT INSTALL THIS RPM ON A PRODUCTION SYSTEM - THIS IS FOR TESTING ONLY. *** +********************************************************************************** %endif %prep -[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; -%setup -q -n %{name}-%{version} -export PEGASUS_ROOT=$RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION -%patch0 -p1 -b .condrestart -%patch1 -p1 -b .ppc64 -%patch2 -p1 -b .noecho -%patch3 -p1 -b .execshield -%patch4 -p1 -b .de-opt -%patch5 -p1 -b .remove_socket -%patch6 -p1 -b .de-lib -%patch7 -p1 -b .rbz167162_obz4025 -%patch8 -p1 -b .bz167164 -%patch9 -p1 -b .bz167165 -%patch10 -p1 -b .obz2207 -%patch11 -p1 -b .obz2217 -%patch12 -p1 -b .obz2499 -%patch13 -p1 -b .obz2503 -%patch14 -p1 -b .obz3858 -%patch15 -p1 -b .obz3958 -%patch16 -p1 -b .obz4004 -%patch17 -p1 -b .obz4009 -%patch18 -p1 -b .obz4014 -%patch19 -p1 -b .obz4023 -%patch20 -p1 -b .obz4027 -%patch21 -p1 -b .obz4028 -%patch22 -p1 -b .obz4029-new -%patch23 -p1 -b .obz4029 -%patch24 -p1 -b .obz4050 -%patch25 -p1 -b .obz4072 -%patch26 -p1 -b .obz4120 -%patch27 -p1 -b .2.4.1-2-4-2-sanity -%patch28 -p1 -b .obz3958_default -# Needed for CMPI patch -ln -sf $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION $RPM_BUILD_DIR/$RPM_PACKAGE_NAME +%setup -q -n %{srcname}-%{version} +%patch0 -p1 -b .redhat +%patch1 -p1 -b .local_or_remote_auth +%patch2 -p1 -b .make_install %build -export PEGASUS_EXTRA_C_FLAGS="$RPM_OPT_FLAGS -g -fPIC" -export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS" -export PEGASUS_EXE_LINK_FLAGS='-pie -Wl,-z,relro,-z,now,-z,nodlopen,-z,noexecstack' -export PEGASUS_ROOT=$RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION -export PEGASUS_HOME=$RPM_BUILD_ROOT/build -export PEGASUS_ARCH_LIB_DIR=%{_lib} -%ifarch ia64 x86_64 -%define PEGASUS_HARDWARE_PLATFORM LINUX_IA64_GNU -%else -%ifarch ppc -%define PEGASUS_HARDWARE_PLATFORM LINUX_PPC_GNU -%else -%ifarch ppc64 pseries -%define PEGASUS_HARDWARE_PLATFORM LINUX_PPC64_GNU -%else -%ifarch s390 -%define PEGASUS_HARDWARE_PLATFORM LINUX_ZSERIES_GNU -export PEGASUS_EXTRA_C_FLAGS="$PEGASUS_EXTRA_C_FLAGS -fsigned-char" -export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS" -%else -%ifarch s390x zseries -%define PEGASUS_HARDWARE_PLATFORM LINUX_ZSERIES64_GNU -export PEGASUS_EXTRA_C_FLAGS="$PEGASUS_EXTRA_C_FLAGS -fsigned-char" -export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS" -%else -%define PEGASUS_HARDWARE_PLATFORM LINUX_IX86_GNU -%endif -%endif -%endif -%endif -%endif -export PEGASUS_PLATFORM=%PEGASUS_HARDWARE_PLATFORM - -export OPENSSL_HOME=/usr -export PEGASUS_HAS_SSL=yes - -# per bug #368 -export PEGASUS_USE_RELEASE_DIRS=true -export PEGASUS_USE_RELEASE_CONFIG_OPTIONS=true -export SYS_INCLUDES=-I/usr/kerberos/include - -# per PEP #144 -export PEGASUS_PAM_AUTHENTICATION=true -export PEGASUS_USE_PAM_STANDALONE_PROC=true -export PEGASUS_LOCAL_DOMAIN_SOCKET=true -export PEGASUS_USE_SYSLOGS=true -export PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER=true - -# per PEP #174 -export PEGASUS_ENABLE_USERGROUP_AUTHORIZATION=true -export PEGASUS_HAS_PERFSTATS=true -export PEGASUS_NOASSERTS=true - +rm -rf $RPM_BUILD_ROOT +export RPM_ARCH_LIB=%{_lib} +. %SOURCE1 make - export LD_LIBRARY_PATH=$PEGASUS_HOME/%{_lib} export PATH=$PEGASUS_HOME/bin:$PATH make repository - -%define PEGASUS_DATA_DIR /usr/share/Pegasus -%define PEGASUS_STAGING_DIR $PEGASUS_HOME/stageSDK -%define PEGASUS_SAMPLES_DIR %PEGASUS_DATA_DIR/samples -%define PEGASUS_HTML_DIR %PEGASUS_DATA_DIR/html -%define PEGASUS_INCLUDE_DIR /usr/include - -make --directory=mak -f SDKMakefile stageSDK \ - PEGASUS_STAGING_DIR=%PEGASUS_STAGING_DIR \ - PEGASUS_SAMPLES_DIR=%PEGASUS_SAMPLES_DIR \ - PEGASUS_INCLUDE_DIR=%PEGASUS_INCLUDE_DIR \ - PEGASUS_HTML_DIR=%PEGASUS_HTML_DIR +make --directory=mak -f SDKMakefile stageSDK %if %{WITH_TEST} -make --directory=$PEGASUS_ROOT -f Makefile.ReleaseTest stageTEST \ - PEGASUS_ENVVAR_FILE=$PEGASUS_ROOT/env_var_Linux.status +export PEGASUS_ENVVAR_FILE=${PEGASUS_ROOT}/env_var_Linux.status +export PEGASUS_STAGING_DIR=$RPM_BUILD_ROOT +make --directory=$PEGASUS_ROOT -f Makefile.ReleaseTest stageTEST +unset PEGASUS_STAGING_DIR %endif %install -export PEGASUS_ROOT=$RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION -export PEGASUS_HOME=$RPM_BUILD_ROOT/build -%define PEGASUS_PROD_DIR /usr -%define PEGASUS_DEST_LIB_DIR %PEGASUS_PROD_DIR/%{_lib} -%define PEGASUS_PROVIDER_DIR %PEGASUS_PROD_DIR/%{_lib}/Pegasus/providers -%define PEGASUS_PROVIDER_LIB_DIR %PEGASUS_PROVIDER_DIR -%define PEGASUS_SBIN_DIR %PEGASUS_PROD_DIR/sbin -%define PEGASUS_BIN_DIR %PEGASUS_PROD_DIR/bin -%define PEGASUS_PRODSHARE_DIR %PEGASUS_PROD_DIR/share -%define PEGASUS_MAN_DIR %PEGASUS_PRODSHARE_DIR/man -%define PEGASUS_MANUSER_DIR %PEGASUS_MAN_DIR/man1 -%define PEGASUS_MANADMIN_DIR %PEGASUS_MAN_DIR/man8 -%define PEGASUS_VARDATA_DIR /var/lib/Pegasus -%define PEGASUS_REPOSITORY_DIR %PEGASUS_VARDATA_DIR/repository -%define PEGASUS_PREV_REPOSITORY_DIR %PEGASUS_VARDATA_DIR/prev_repository -%define PEGASUS_VARDATA_CACHE_DIR %PEGASUS_VARDATA_DIR/cache -%define PEGASUS_LOCAL_AUTH_DIR %PEGASUS_VARDATA_CACHE_DIR/localauth -%define PEGASUS_MOF_DIR %PEGASUS_DATA_DIR/mof -%define PEGASUS_CONFIG_DIR /etc/Pegasus -%define PEGASUS_VARRUN_DIR /var/run/tog-pegasus -%define PEGASUS_LOCAL_DOMAIN_SOCKET_DIR %PEGASUS_VARRUN_DIR -%define PAM_CONF /etc/pam.d -%define PEGASUS_LOG_DIR /var/log/Pegasus -%define PEGASUS_LICENSE_FILE license.txt -%define PEGASUS_PLANNED_CONFIG_FILE cimserver_planned.conf -%define PEGASUS_PEM_DIR %PEGASUS_CONFIG_DIR -%define PEGASUS_SSL_KEY_FILE file.pem -%define PEGASUS_SSL_CERT_FILE server.pem -%define PEGASUS_SSL_TRUSTSTORE client.pem -%define PEGASUS_INSTALL_SCRIPT_DIR $PEGASUS_HOME/scripts -%define PEGASUS_TEST_DIR %PEGASUS_DATA_DIR/test -%define PEGASUS_TEST_STAGING_DIR $PEGASUS_HOME/stagingDir -%define PEGASUS_TEST_BIN_DIR %PEGASUS_TEST_DIR/bin -%define PEGASUS_TEST_LIB_DIR %PEGASUS_TEST_DIR/%{_lib} -%define PEGASUS_TEST_MAK_DIR %PEGASUS_TEST_DIR/mak - -# -# Make directories -mkdir -p $RPM_BUILD_ROOT%PEGASUS_VARDATA_DIR/{cache,repository} -mkdir -p $RPM_BUILD_ROOT/%PEGASUS_LOCAL_AUTH_DIR -mkdir -p $RPM_BUILD_ROOT/%PEGASUS_PROVIDER_LIB_DIR -mkdir -p $RPM_BUILD_ROOT/%PEGASUS_CONFIG_DIR -mkdir -p $RPM_BUILD_ROOT/%PEGASUS_LOG_DIR -mkdir -p $RPM_BUILD_ROOT/%PEGASUS_MAN_DIR/{man1,man8} -mkdir -p $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/{CIM28,Pegasus} -mkdir -p $RPM_BUILD_ROOT%PEGASUS_LOCAL_DOMAIN_SOCKET_DIR - -# -# Init scripts -install -D -m 0755 $PEGASUS_ROOT/rpm/tog-pegasus.rc $RPM_BUILD_ROOT/etc/init.d/tog-pegasus - -# -# Programs -install -D -m 0744 $PEGASUS_HOME/bin/cimauth $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimauth -install -D -m 0744 $PEGASUS_HOME/bin/cimserver $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimserver -install -D -m 0744 $PEGASUS_HOME/bin/cimservera $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimservera -install -D -m 0744 $PEGASUS_HOME/bin/cimuser $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimuser -install -D -m 0744 $PEGASUS_HOME/bin/cimconfig $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimconfig -install -D -m 0744 $PEGASUS_HOME/bin/cimprovagt $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimprovagt -install -D -m 0755 $PEGASUS_HOME/bin/cimmof $RPM_BUILD_ROOT%PEGASUS_BIN_DIR/cimmof -install -D -m 0755 $PEGASUS_HOME/bin/cimmofl $RPM_BUILD_ROOT%PEGASUS_BIN_DIR/cimmofl -install -D -m 0755 $PEGASUS_HOME/bin/cimprovider $RPM_BUILD_ROOT%PEGASUS_BIN_DIR/cimprovider -install -D -m 0755 $PEGASUS_HOME/bin/osinfo $RPM_BUILD_ROOT%PEGASUS_BIN_DIR/osinfo -install -D -m 0755 $PEGASUS_HOME/bin/wbemexec $RPM_BUILD_ROOT%PEGASUS_BIN_DIR/wbemexec - -# -# Libraries -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libCIMxmlIndicationHandler.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libCIMxmlIndicationHandler.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libConfigSettingProvider.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libConfigSettingProvider.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libNamespaceProvider.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libNamespaceProvider.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libProviderRegistrationProvider.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libProviderRegistrationProvider.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libUserAuthProvider.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libUserAuthProvider.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libpegauthentication.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegauthentication.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libpegclient.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegclient.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libpegcliutils.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegcliutils.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libpegcommon.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegcommon.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libpegcompiler.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegcompiler.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libpegconfig.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegconfig.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libpegexportclient.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegexportclient.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libpegexportserver.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegexportserver.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libpeggetoopt.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpeggetoopt.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libpeghandlerservice.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpeghandlerservice.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libpegindicationservice.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegindicationservice.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libpeglistener.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpeglistener.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libpegprm.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegprm.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libpegprovidermanager.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegprovidermanager.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libpegprovider.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegprovider.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libpegrepository.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegrepository.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libpegserver.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegserver.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libpeguser.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpeguser.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libpegwql.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegwql.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libCMPIProviderManager.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libCMPIProviderManager.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libcmpiCppImpl.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libcmpiCppImpl.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libDefaultProviderManager.so.1 $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libDefaultProviderManager.so.1 - -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libComputerSystemProvider.so.1 $RPM_BUILD_ROOT%PEGASUS_PROVIDER_LIB_DIR/libComputerSystemProvider.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libOSProvider.so.1 $RPM_BUILD_ROOT%PEGASUS_PROVIDER_LIB_DIR/libOSProvider.so.1 -install -D -m 0755 $PEGASUS_HOME/%{_lib}/libProcessProvider.so.1 $RPM_BUILD_ROOT%PEGASUS_PROVIDER_LIB_DIR/libProcessProvider.so.1 - -# -# CIM schema -# -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Application28_AppRuntime.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Application28_AppRuntime.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Application28_BIOS.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Application28_BIOS.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Application28_CheckAction.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Application28_CheckAction.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Application28_DeploymentModel.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Application28_DeploymentModel.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Application28_InstalledProduct.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Application28_InstalledProduct.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Application28_J2eeAppServer.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Application28_J2eeAppServer.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Application28_J2eeAppServerStats.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Application28_J2eeAppServerStats.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Application28_SystemSoftware.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Application28_SystemSoftware.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/CIM_Application28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Application28.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/CIM_Core28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Core28.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/CIM_Database28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Database28.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/CIM_Device28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Device28.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/CIM_Event28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Event28.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/CIM_Interop28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Interop28.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/CIM_IPsecPolicy28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_IPsecPolicy28.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/CIM_Metrics28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Metrics28.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/CIM_Network28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Network28.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/CIM_Physical28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Physical28.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/CIM_Policy28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Policy28.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/CIM_Schema28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Schema28.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/CIM_Support28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Support28.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/CIM_System28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_System28.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/CIM_User28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_User28.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Core28_Capabilities.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_Capabilities.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Core28_Collection.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_Collection.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Core28_CoreElements.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_CoreElements.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Core28_Device.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_Device.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Core28_MethodParms.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_MethodParms.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Core28_Physical.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_Physical.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Core28_PowerMgmt.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_PowerMgmt.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Core28_ProductFRU.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_ProductFRU.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Core28_Qualifiers.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_Qualifiers.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Core28_Redundancy.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_Redundancy.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Core28_Service.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_Service.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Core28_Settings.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_Settings.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Core28_Software.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_Software.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Core28_Statistics.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_Statistics.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Core28_StorageExtent.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_StorageExtent.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Database28_Statistics.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Database28_Statistics.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Database28_Storage.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Database28_Storage.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Database28_System.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Database28_System.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_Controller.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_Controller.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_CoolingAndPower.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_CoolingAndPower.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_DeviceElements.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_DeviceElements.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_DiskGroup.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_DiskGroup.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_FC.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_FC.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_IB.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_IB.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_Memory.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_Memory.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_Modems.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_Modems.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_NetworkAdapter.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_NetworkAdapter.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_Ports.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_Ports.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_Printing.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_Printing.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_Processor.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_Processor.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_ProtocolController.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_ProtocolController.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_SccExtents.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_SccExtents.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_Sensors.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_Sensors.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_StorageDevices.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_StorageDevices.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_StorageExtents.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_StorageExtents.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_StorageLib.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_StorageLib.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_StorageServices.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_StorageServices.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_USB.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_USB.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Device28_UserDevices.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_UserDevices.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Metrics28_BaseMetric.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Metrics28_BaseMetric.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Metrics28_UnitOfWork.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Metrics28_UnitOfWork.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Network28_BGP.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_BGP.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Network28_Buffers.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_Buffers.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Network28_Collections.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_Collections.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Network28_Filtering.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_Filtering.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Network28_IPsec.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_IPsec.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Network28_OSPF.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_OSPF.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Network28_Pipes.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_Pipes.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Network28_ProtocolEndpoints.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_ProtocolEndpoints.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Network28_QoS.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_QoS.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Network28_Routes.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_Routes.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Network28_RoutingForwarding.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_RoutingForwarding.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Network28_SNMP.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_SNMP.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Network28_SwitchingBridging.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_SwitchingBridging.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Network28_Systems.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_Systems.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Network28_VLAN.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_VLAN.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Physical28_Component.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Physical28_Component.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Physical28_Connector.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Physical28_Connector.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Physical28_Link.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Physical28_Link.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Physical28_Misc.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Physical28_Misc.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Physical28_Package.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Physical28_Package.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Physical28_PhysicalMedia.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Physical28_PhysicalMedia.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/Physical28_StoragePackage.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Physical28_StoragePackage.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/System28_Boot.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/System28_Boot.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/System28_Diagnostics.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/System28_Diagnostics.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/System28_FileElements.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/System28_FileElements.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/System28_Logs.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/System28_Logs.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/System28_OperatingSystem.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/System28_OperatingSystem.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/System28_Processing.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/System28_Processing.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/System28_SystemElements.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/System28_SystemElements.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/System28_SystemResources.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/System28_SystemResources.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/System28_Time.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/System28_Time.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/System28_Unix.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/System28_Unix.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/User28_AccessControl.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_AccessControl.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/User28_Account.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_Account.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/User28_AuthenticationReqmt.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_AuthenticationReqmt.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/User28_Credential.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_Credential.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/User28_Group.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_Group.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/User28_Identity.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_Identity.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/User28_Kerberos.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_Kerberos.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/User28_Org.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_Org.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/User28_PrivilegeManagementService.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_PrivilegeManagementService.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/User28_Privilege.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_Privilege.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/User28_PublicKey.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_PublicKey.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/User28_Role.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_Role.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/User28_SecurityLevel.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_SecurityLevel.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/User28_SecurityServices.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_SecurityServices.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/User28_SharedSecret.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_SharedSecret.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/User28_StorageHardwareID.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_StorageHardwareID.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/CIM28/User28_UsersAccess.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_UsersAccess.mof - -# -# Pegasus' schema -# - -# Internal: -install -D -m 0444 $PEGASUS_ROOT/Schemas/Pegasus/Internal/VER20/PG_Authorization20.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_Authorization20.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/Pegasus/Internal/VER20/PG_ConfigSetting20.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_ConfigSetting20.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/Pegasus/Internal/VER20/PG_InternalSchema20.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_InternalSchema20.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/Pegasus/Internal/VER20/PG_ShutdownService20.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_ShutdownService20.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/Pegasus/Internal/VER20/PG_User20.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_User20.mof - -# InterOp: -install -D -m 0444 $PEGASUS_ROOT/Schemas/Pegasus/InterOp/VER20/PG_Events20.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_Events20.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/Pegasus/InterOp/VER20/PG_InterOpSchema20.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_InterOpSchema20.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/Pegasus/InterOp/VER20/PG_ProviderModule20.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_ProviderModule20.mof - -# -# Pegasus Default Providers' schema -# -install -D -m 0444 $PEGASUS_ROOT/Schemas/Pegasus/ManagedSystem/VER20/PG_ComputerSystem20.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_ComputerSystem20.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/Pegasus/ManagedSystem/VER20/PG_ComputerSystem20R.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_ComputerSystem20R.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/Pegasus/ManagedSystem/VER20/PG_ManagedSystemSchema20.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_ManagedSystemSchema20.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/Pegasus/ManagedSystem/VER20/PG_ManagedSystemSchema20R.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_ManagedSystemSchema20R.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/Pegasus/ManagedSystem/VER20/PG_OperatingSystem20.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_OperatingSystem20.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/Pegasus/ManagedSystem/VER20/PG_OperatingSystem20R.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_OperatingSystem20R.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/Pegasus/ManagedSystem/VER20/PG_UnixProcess20.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_UnixProcess20.mof -install -D -m 0444 $PEGASUS_ROOT/Schemas/Pegasus/ManagedSystem/VER20/PG_UnixProcess20R.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_UnixProcess20R.mof -# -# Initial Repository -# -mkdir -p $RPM_BUILD_ROOT%PEGASUS_REPOSITORY_DIR -cp -rf $PEGASUS_HOME/repository/* $RPM_BUILD_ROOT%PEGASUS_REPOSITORY_DIR - -# -# cimserver config files -# -install -D -m 0644 $PEGASUS_ROOT/src/Server/%PEGASUS_PLANNED_CONFIG_FILE $RPM_BUILD_ROOT%PEGASUS_CONFIG_DIR/%PEGASUS_PLANNED_CONFIG_FILE - -# -# WBEM pam authentication -# -install -D -m 0644 $PEGASUS_ROOT/rpm/wbem $RPM_BUILD_ROOT%PAM_CONF/wbem +export RPM_ARCH_LIB=%{_lib} +. %SOURCE1 +export PEGASUS_DESTDIR=$RPM_BUILD_ROOT +export PEGASUS_ENVVAR_FILE=${PEGASUS_ROOT}/env_var_Linux.status +export PATH=${PEGASUS_HOME}/bin:$PATH +export LD_LIBRARY_PATH=${PEGASUS_HOME}/%{_lib}:/%{_lib}:/usr/%{_lib} +unset PEGASUS_STAGING_DIR +export PEGASUS_SDK_STAGING_DIR=${PEGASUS_HOME}/stageSDK +make install +rm -rf $PEGASUS_HOME +mkdir -p $RPM_BUILD_ROOT{${PEGASUS_CONFIG_DIR},${PEGASUS_VARRUN_DIR},${PEGASUS_LOG_DIR},$PEGASUS_VARDATA_DIR} +touch $RPM_BUILD_ROOT{${PEGASUS_CONFIG_DIR}/{cimserver_{current,planned}.conf,ssl.cnf,client.pem,server.pem,file.pem,client_2048.pem,server_2048.pem,file_2048.pem},${PEGASUS_LOG_DIR}/install.log,${PEGASUS_VARRUN_DIR}/cimxml.socket} +mkdir -p $RPM_BUILD_ROOT/var/lib/Pegasus/prev_repository +cp -fp %SOURCE2 ${PEGASUS_ROOT}/doc +cp -fp %SOURCE3 $RPM_BUILD_ROOT/${PEGASUS_CONFIG_DIR}/access.conf +chmod 640 $RPM_BUILD_ROOT/${PEGASUS_CONFIG_DIR}/access.conf +mkdir -p $RPM_BUILD_ROOT/${PEGASUS_PRODSHARE_DIR}/scripts +cp -fp %SOURCE4 $RPM_BUILD_ROOT/${PEGASUS_PRODSHARE_DIR}/scripts +chmod 750 $RPM_BUILD_ROOT/${PEGASUS_PRODSHARE_DIR}/scripts/genSSLcerts +:; -# -# repository install script -# -echo "PEGASUS_MOF_DIR="%PEGASUS_MOF_DIR > initrepository.in -echo "PEGASUS_REPOSITORY_DIR="%PEGASUS_REPOSITORY_DIR >> initrepository.in -echo "PEGASUS_BIN_DIR="%PEGASUS_BIN_DIR >> initrepository.in -echo "PEGASUS_CIM_SCHEMA=28" >> initrepository.in -cat initrepository.in installs/scripts/init_repository > $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/init_repository -chmod 0744 $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/init_repository +%files +%defattr(0640,root,pegasus,0750) +%dir /etc/Pegasus +%dir /var/lib/Pegasus +%attr(1750,root,pegasus) /var/run/tog-pegasus +%dir /var/log/Pegasus +%config %attr(750,root,root) /etc/rc.d/init.d/tog-pegasus +%ghost %config(noreplace) /etc/Pegasus/cimserver_current.conf +%ghost %config(noreplace) /etc/Pegasus/cimserver_planned.conf +%config(noreplace) /etc/Pegasus/access.conf +%config(noreplace) /etc/pam.d/wbem +%ghost /etc/Pegasus/ssl.cnf +%ghost /etc/Pegasus/client.pem +%ghost /etc/Pegasus/server.pem +%ghost /etc/Pegasus/file.pem +%ghost /etc/Pegasus/client_2048.pem +%ghost /etc/Pegasus/server_2048.pem +%ghost /etc/Pegasus/file_2048.pem +%ghost /var/log/Pegasus/install.log +%ghost /var/lib/Pegasus/prev_repository +/var/lib/Pegasus/repository +/var/lib/Pegasus/cache +%attr(0750,root,pegasus) /usr/sbin/* +%attr(0755,root,pegasus) /usr/bin/* +%attr(0755,root,pegasus) /usr/%{_lib}/*.so.* +%dir /usr/%{_lib}/Pegasus/providers +%attr(0755,root,pegasus) /usr/%{_lib}/Pegasus/providers/*.so.* +/usr/share/Pegasus/mof +%dir /usr/share/Pegasus/scripts +%attr(0755),root,pegasus) /usr/share/Pegasus/scripts/genSSLcerts +/usr/share/man/man*/* +%doc doc/license.txt doc/Admin_Guide_Release.pdf doc/README.RedHat.Security doc/SecurityGuidelinesForDevelopers.html doc/PegasusSSLGuidelines.htm doc/MessageQueueService.html doc/ProviderLoading.txt -# -# script to add tog-pegasus paths to /etc/profile -# -# install -D -m 0744 installs/scripts/settogpath $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/settogpath -# No longer required now that tog-pegasus paths are sane. -# -# doc files -# -#install -D -m 0444 doc/Admin_Guide_Release_2.4.pdf $RPM_BUILD_ROOT%PEGASUS_DOC_DIR/Admin_Guide_Release_2.4.pdf -# let %doc do it! -# -# +%files devel +%defattr(0644,root,pegasus,0755) +/usr/include/Pegasus +/usr/share/Pegasus/samples +/usr/share/Pegasus/html +%attr(0755,root,pegasus) /usr/%{_lib}/*.so +%attr(0755,root,pegasus) /usr/%{_lib}/Pegasus/providers/*.so -# man pages -# -install -D -m 0444 rpm/manLinux/man1.Z/cimmof.1 $RPM_BUILD_ROOT%PEGASUS_MANUSER_DIR/cimmof.1 -install -D -m 0444 rpm/manLinux/man1.Z/cimprovider.1 $RPM_BUILD_ROOT%PEGASUS_MANUSER_DIR/cimprovider.1 -install -D -m 0444 rpm/manLinux/man1.Z/osinfo.1 $RPM_BUILD_ROOT%PEGASUS_MANUSER_DIR/osinfo.1 -install -D -m 0444 rpm/manLinux/man1.Z/wbemexec.1 $RPM_BUILD_ROOT%PEGASUS_MANUSER_DIR/wbemexec.1 -install -D -m 0444 rpm/manLinux/man8.Z/cimauth.8 $RPM_BUILD_ROOT%PEGASUS_MANADMIN_DIR/cimauth.8 -install -D -m 0444 rpm/manLinux/man8.Z/cimconfig.8 $RPM_BUILD_ROOT%PEGASUS_MANADMIN_DIR/cimconfig.8 -install -D -m 0444 rpm/manLinux/man8.Z/cimserver.8 $RPM_BUILD_ROOT%PEGASUS_MANADMIN_DIR/cimserver.8 +%if %{WITH_TEST} -#install -D -m 0444 doc/%PEGASUS_LICENSE_FILE $RPM_BUILD_ROOT%PEGASUS_DOC_DIR/%PEGASUS_LICENSE_FILE -# let %doc do it! +%post test +/etc/init.d/tog-pegasus stop +cd /var/lib/Pegasus +mv repository repository.bak +mv testrepository repository +/usr/share/Pegasus/scripts/genSSLcerts +cd /usr/share/Pegasus/test +make create_providerlinks +make tests -# -# SDK -# +%files test +%defattr(-,root,root,-) +/var/lib/Pegasus/testrepository +/usr/share/Pegasus/test -%define INCLUDE_DEST_PATH $RPM_BUILD_ROOT%PEGASUS_INCLUDE_DIR -%define HTML_DEST_PATH $RPM_BUILD_ROOT%PEGASUS_HTML_DIR -%define SAMPLES_DEST_PATH $RPM_BUILD_ROOT%PEGASUS_SAMPLES_DIR -mkdir -p %INCLUDE_DEST_PATH/Pegasus/{Client,Common,Consumer,Handler,Provider} -mkdir -p %HTML_DEST_PATH -mkdir -p %SAMPLES_DEST_PATH/{Clients,mak,Providers} -mkdir -p %SAMPLES_DEST_PATH/Providers/Load -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Client/CIMClientException.h %INCLUDE_DEST_PATH/Pegasus/Client/CIMClientException.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Client/CIMClient.h %INCLUDE_DEST_PATH/Pegasus/Client/CIMClient.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Client/Linkage.h %INCLUDE_DEST_PATH/Pegasus/Client/Linkage.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/AcceptLanguages.h %INCLUDE_DEST_PATH/Pegasus/Common/AcceptLanguages.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/AcceptLanguageElement.h %INCLUDE_DEST_PATH/Pegasus/Common/AcceptLanguageElement.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/Array.h %INCLUDE_DEST_PATH/Pegasus/Common/Array.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/ArrayInter.h %INCLUDE_DEST_PATH/Pegasus/Common/ArrayInter.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/Char16.h %INCLUDE_DEST_PATH/Pegasus/Common/Char16.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMClass.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMClass.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMDateTime.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMDateTime.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMFlavor.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMFlavor.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMIndication.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMIndication.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMInstance.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMInstance.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMMethod.h %INCLUDE_DEST_PATH/Pegasus/Common//CIMMethod.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMName.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMName.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMObject.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMObject.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMObjectPath.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMObjectPath.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMParameter.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMParameter.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMParamValue.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMParamValue.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMProperty.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMProperty.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMPropertyList.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMPropertyList.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMQualifierDecl.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMQualifierDecl.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMQualifier.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMQualifier.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMScope.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMScope.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMStatusCode.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMStatusCode.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMType.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMType.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMValue.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMValue.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/Config.h %INCLUDE_DEST_PATH/Pegasus/Common/Config.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/ContentLanguageElement.h %INCLUDE_DEST_PATH/Pegasus/Common/ContentLanguageElement.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/ContentLanguages.h %INCLUDE_DEST_PATH/Pegasus/Common/ContentLanguages.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/Exception.h %INCLUDE_DEST_PATH/Pegasus/Common/Exception.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/Formatter.h %INCLUDE_DEST_PATH/Pegasus/Common/Formatter.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/LanguageElementContainer.h %INCLUDE_DEST_PATH/Pegasus/Common/LanguageElementContainer.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/LanguageElement.h %INCLUDE_DEST_PATH/Pegasus/Common/LanguageElement.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/Linkage.h %INCLUDE_DEST_PATH/Pegasus/Common/Linkage.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/MessageLoader.h %INCLUDE_DEST_PATH/Pegasus/Common/MessageLoader.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/OperationContext.h %INCLUDE_DEST_PATH/Pegasus/Common/OperationContext.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/Platform_%PEGASUS_HARDWARE_PLATFORM.h %INCLUDE_DEST_PATH/Pegasus/Common/Platform_%PEGASUS_HARDWARE_PLATFORM.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/ResponseHandler.h %INCLUDE_DEST_PATH/Pegasus/Common/ResponseHandler.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/SSLContext.h %INCLUDE_DEST_PATH/Pegasus/Common/SSLContext.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/String.h %INCLUDE_DEST_PATH/Pegasus/Common/String.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Consumer/CIMIndicationConsumer.h %INCLUDE_DEST_PATH/Pegasus/Consumer/CIMIndicationConsumer.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Consumer/Linkage.h %INCLUDE_DEST_PATH/Pegasus/Consumer/Linkage.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMAssociationProvider.h %INCLUDE_DEST_PATH/Pegasus/Provider/CIMAssociationProvider.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMIndicationConsumerProvider.h %INCLUDE_DEST_PATH/Pegasus/Provider/CIMIndicationConsumerProvider.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMIndicationProvider.h %INCLUDE_DEST_PATH/Pegasus/Provider/CIMIndicationProvider.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMInstanceProvider.h %INCLUDE_DEST_PATH/Pegasus/Provider/CIMInstanceProvider.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMMethodProvider.h %INCLUDE_DEST_PATH/Pegasus/Provider/CIMMethodProvider.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMOMHandle.h %INCLUDE_DEST_PATH/Pegasus/Provider/CIMOMHandle.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMProvider.h %INCLUDE_DEST_PATH/Pegasus/Provider/CIMProvider.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Provider/Linkage.h %INCLUDE_DEST_PATH/Pegasus/Provider/Linkage.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Provider/ProviderException.h %INCLUDE_DEST_PATH/Pegasus/Provider/ProviderException.h -# Create symbolic links for client libs -# -cd $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR -ln -sf libpegcommon.so.1 libpegcommon.so -ln -sf libpegclient.so.1 libpegclient.so -ln -sf libpegprovider.so.1 libpegprovider.so -ln -sf libDefaultProviderManager.so.1 libDefaultProviderManager.so -ln -sf libCMPIProviderManager.so.1 libCMPIProviderManager.so -ln -sf libCIMxmlIndicationHandler.so.1 libCIMxmlIndicationHandler.so -# Create symbolic links for provider libs -# -cd $RPM_BUILD_ROOT%PEGASUS_PROVIDER_LIB_DIR -ln -sf libComputerSystemProvider.so.1 libComputerSystemProvider.so -ln -sf libOSProvider.so.1 libOSProvider.so -ln -sf libProcessProvider.so.1 libProcessProvider.so - -cd %PEGASUS_STAGING_DIR%PEGASUS_DATA_DIR/ -cp -rf html $RPM_BUILD_ROOT%PEGASUS_DATA_DIR - -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Makefile %SAMPLES_DEST_PATH/Makefile -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/mak/common.mak %SAMPLES_DEST_PATH/mak/common.mak - -echo "PEGASUS_DEST_LIB_DIR = "%PEGASUS_DEST_LIB_DIR > sampleconfig.txt -echo "PEGASUS_VARDATA_DIR = "%PEGASUS_VARDATA_DIR >> sampleconfig.txt -echo "PEGASUS_PROVIDER_LIB_DIR="%PEGASUS_PROVIDER_LIB_DIR >> sampleconfig.txt -echo "PEGASUS_MOF_DIR = "%PEGASUS_MOF_DIR>> sampleconfig.txt -echo "PEGASUS_INCLUDE_DIR = "%PEGASUS_INCLUDE_DIR >> sampleconfig.txt -echo "PEGASUS_SAMPLES_DIR = "%PEGASUS_SAMPLES_DIR >> sampleconfig.txt -echo "PEGASUS_BIN_DIR = "%PEGASUS_BIN_DIR >> sampleconfig.txt -cat sampleconfig.txt %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/mak/config.mak > sampleconfig.mak -install -D -m 0444 sampleconfig.mak %SAMPLES_DEST_PATH/mak/config.mak -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/mak/%PEGASUS_HARDWARE_PLATFORM.mak %SAMPLES_DEST_PATH/mak/%PEGASUS_HARDWARE_PLATFORM.mak -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/mak/library.mak %SAMPLES_DEST_PATH/mak/library.mak -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/mak/program.mak %SAMPLES_DEST_PATH/mak/program.mak -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/mak/recurse.mak %SAMPLES_DEST_PATH/mak/recurse.mak -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Clients/Makefile %SAMPLES_DEST_PATH/Clients/Makefile -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Clients/DefaultC++/Makefile %SAMPLES_DEST_PATH/Clients/DefaultC++/Makefile -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Clients/DefaultC++/EnumInstances/EnumInstances.cpp %SAMPLES_DEST_PATH/Clients/DefaultC++/EnumInstances/EnumInstances.cpp -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Clients/DefaultC++/EnumInstances/Makefile %SAMPLES_DEST_PATH/Clients/DefaultC++/EnumInstances/Makefile -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Clients/DefaultC++/InvokeMethod/InvokeMethod.cpp %SAMPLES_DEST_PATH/Clients/DefaultC++/InvokeMethod/InvokeMethod.cpp -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Clients/DefaultC++/InvokeMethod/Makefile %SAMPLES_DEST_PATH/Clients/DefaultC++/InvokeMethod/Makefile -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Clients/DefaultC++/SendTestIndications/Makefile %SAMPLES_DEST_PATH/Clients/DefaultC++/SendTestIndications/Makefile -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Clients/DefaultC++/SendTestIndications/SendTestIndications.cpp %SAMPLES_DEST_PATH/Clients/DefaultC++/SendTestIndications/SendTestIndications.cpp -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Makefile %SAMPLES_DEST_PATH/Providers/Makefile -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/Makefile %SAMPLES_DEST_PATH/Providers/DefaultC++/Makefile -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/IndicationProvider/IndicationProvider.h %SAMPLES_DEST_PATH/Providers/DefaultC++/IndicationProvider/IndicationProvider.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/IndicationProvider/IndicationProvider.cpp %SAMPLES_DEST_PATH/Providers/DefaultC++/IndicationProvider/IndicationProvider.cpp -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/IndicationProvider/IndicationProviderMain.cpp %SAMPLES_DEST_PATH/Providers/DefaultC++/IndicationProvider/IndicationProviderMain.cpp -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/IndicationProvider/Makefile %SAMPLES_DEST_PATH/Providers/DefaultC++/IndicationProvider/Makefile -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/EnumerateInstancesrspgood.xml %SAMPLES_DEST_PATH/Providers/DefaultC++/InstanceProvider/EnumerateInstancesrspgood.xml -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/EnumerateInstances.xml %SAMPLES_DEST_PATH/Providers/DefaultC++/InstanceProvider/EnumerateInstances.xml -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/InstanceProvider.cpp %SAMPLES_DEST_PATH/Providers/DefaultC++/InstanceProvider/InstanceProvider.cpp -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/InstanceProvider.h %SAMPLES_DEST_PATH/Providers/DefaultC++/InstanceProvider/InstanceProvider.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/InstanceProviderMain.cpp %SAMPLES_DEST_PATH/Providers/DefaultC++/InstanceProvider/InstanceProviderMain.cpp -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/Makefile %SAMPLES_DEST_PATH/Providers/DefaultC++/InstanceProvider/Makefile -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/InvokeMethodrspgood.xml %SAMPLES_DEST_PATH/Providers/DefaultC++/MethodProvider/InvokeMethodrspgood.xml -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/InvokeMethod.xml %SAMPLES_DEST_PATH/Providers/DefaultC++/MethodProvider/InvokeMethod.xml -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/Makefile %SAMPLES_DEST_PATH/Providers/DefaultC++/MethodProvider/Makefile -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/MethodProvider.cpp %SAMPLES_DEST_PATH/Providers/DefaultC++/MethodProvider/MethodProvider.cpp -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/MethodProvider.h %SAMPLES_DEST_PATH/Providers/DefaultC++/MethodProvider/MethodProvider.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/MethodProviderMain.cpp %SAMPLES_DEST_PATH/Providers/DefaultC++/MethodProvider/MethodProviderMain.cpp -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumerMain.cpp %SAMPLES_DEST_PATH/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumerMain.cpp -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.cpp %SAMPLES_DEST_PATH/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.cpp -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.h %SAMPLES_DEST_PATH/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.h -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/SimpleDisplayConsumer/Makefile %SAMPLES_DEST_PATH/Providers/DefaultC++/SimpleDisplayConsumer/Makefile -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/Makefile %SAMPLES_DEST_PATH/Providers/Load/Makefile -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/IndicationProviderR.mof %SAMPLES_DEST_PATH/Providers/Load/IndicationProviderR.mof -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/InstanceProviderR.mof %SAMPLES_DEST_PATH/Providers/Load/InstanceProviderR.mof -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/MethodProviderR.mof %SAMPLES_DEST_PATH/Providers/Load/MethodProviderR.mof -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/SampleProviderSchema.mof %SAMPLES_DEST_PATH/Providers/Load/SampleProviderSchema.mof -install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/SimpleDisplayConsumerR.mof %SAMPLES_DEST_PATH/Providers/Load/SimpleDisplayConsumerR.mof -%if %{WITH_TEST} -# -# Tests -# -%define TEST_DEST_PATH $RPM_BUILD_ROOT%PEGASUS_TEST_DIR -mkdir -p %TEST_DEST_PATH/{bin,lib,mak} -# -# Test Repository -# -%define PEGASUS_TEST_REPOSITORY_DIR %PEGASUS_VARDATA_DIR/testrepository -mkdir -p $RPM_BUILD_ROOT%PEGASUS_TEST_REPOSITORY_DIR -cp -rf %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_REPOSITORY_DIR/* $RPM_BUILD_ROOT%PEGASUS_TEST_REPOSITORY_DIR - -install -D -m 0444 %PEGASUS_TEST_STAGING_DIR/%PEGASUS_TEST_DIR/Makefile %TEST_DEST_PATH/Makefile -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/CompAssoc $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/CompAssoc -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/InvokeMethod2 $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/InvokeMethod2 -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/IPC $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/IPC -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestAbstract $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestAbstract -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestArray $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestArray -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestBase64 $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestBase64 -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestClassDecl $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestClassDecl -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestClient $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestClient -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestDateTime $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestDateTime -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestFlavor $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestFlavor -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestFormatter $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestFormatter -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestHashTable $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestHashTable -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestInstanceDecl $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestInstanceDecl -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestLogger $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestLogger -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestMethod $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestMethod -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestObject $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestObject -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestOperationContext $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestOperationContext -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestParameter $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestParameter -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestParamValue $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestParamValue -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestProperty $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestProperty -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestQualifier $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestQualifier -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestQualifierDecl $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestQualifierDecl -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestQualifierList $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestQualifierList -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestQueue $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestQueue -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestReference $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestReference -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestResolve $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestResolve -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestResponseHandler $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestResponseHandler -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestScope $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestScope -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestStack $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestStack -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestStopwatch $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestStopwatch -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestString $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestString -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestStrToInstName $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestStrToInstName -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestTimeValue $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestTimeValue -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestToMof $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestToMof -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestValidateClass $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestValidateClass -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TestValue $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TestValue -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/TracerTest $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/TracerTest -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_BIN_DIR/UserManagerTest $RPM_BUILD_ROOT%PEGASUS_TEST_BIN_DIR/UserManagerTest -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_LIB_DIR/libSampleFamilyProvider.so.1 $RPM_BUILD_ROOT%PEGASUS_TEST_LIB_DIR/libSampleFamilyProvider.so.1 -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_LIB_DIR/libSampleInstanceProvider.so.1 $RPM_BUILD_ROOT%PEGASUS_TEST_LIB_DIR/libSampleInstanceProvider.so.1 -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_LIB_DIR/libSampleMethodProvider.so.1 $RPM_BUILD_ROOT%PEGASUS_TEST_LIB_DIR/libSampleMethodProvider.so.1 -install -D -m 0755 %PEGASUS_TEST_STAGING_DIR%PEGASUS_TEST_MAK_DIR/commands.mak $RPM_BUILD_ROOT%PEGASUS_TEST_MAK_DIR/commands.mak %endif -# -# install the 'opt-tog-pegasus' utility script for upstream release compatibility: -install -D -m 0755 %{SOURCE1} $RPM_BUILD_ROOT%PEGASUS_DATA_DIR/scripts/opt-tog-pegasus -cd $RPM_BUILD_ROOT -rm -Rf $PEGASUS_HOME -# These %ghost files will not be installed, but need to be present here: -touch $RPM_BUILD_ROOT{%PEGASUS_CONFIG_DIR/cimserver_current.conf,%PEGASUS_CONFIG_DIR/ssl.cnf,%PEGASUS_CONFIG_DIR/client.pem,%PEGASUS_CONFIG_DIR/server.pem,%PEGASUS_CONFIG_DIR/file.pem,%PEGASUS_CONFIG_DIR/client_2048.pem,%PEGASUS_CONFIG_DIR/server_2048.pem,%PEGASUS_CONFIG_DIR/file_2048.pem,%PEGASUS_LOG_DIR/install.log} - -%clean -#make clean -[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; %pre -if [ -d %PEGASUS_REPOSITORY_DIR"/root#PG_Internal" ] -then - # - # Save the current repository to prev_repository. - # - if [[ -d %PEGASUS_REPOSITORY_DIR ]] - then - if [[ -d %PEGASUS_PREV_REPOSITORY_DIR ]] - then - rm -rf %PEGASUS_PREV_REPOSITORY_DIR - fi - - mv %PEGASUS_REPOSITORY_DIR %PEGASUS_PREV_REPOSITORY_DIR - mkdir %PEGASUS_REPOSITORY_DIR - fi +if [ $1 -gt 1 ]; then + if [ -d /var/lib/Pegasus/repository/root\#PG_Internal ]; then + # + # Save the current repository to prev_repository. + # + if [ -d /var/lib/Pegasus/prev_repository ]; then + /bin/mv /var/lib/Pegasus/prev_repository /var/lib/Pegasus/prev_repository_`date '+%Y-%m-%d-%s.%N'`.rpmsave; + fi + /bin/mv /var/lib/Pegasus/repository /var/lib/Pegasus/prev_repository + fi; +elif [ $1 -eq 1 ]; then +# first install: create the 'pegasus' user and group: +# By default, ONLY the "pegasus" user will be allowed to connect to cimserver over network + /usr/sbin/groupadd pegasus >/dev/null 2>&1 || :; + /usr/sbin/useradd -c "tog-pegasus OpenPegasus WBEM/CIM services" -g pegasus \ + -s /sbin/nologin -r -d /var/lib/Pegasus pegasus >/dev/null 2>&1 || :; fi %post if [ $1 -eq 1 ]; then -mkdir -p %PEGASUS_LOG_DIR -%define INSTALL_LOG %PEGASUS_LOG_DIR/install.log -echo `date` >%INSTALL_LOG 2>&1 + /sbin/ldconfig %if %{AUTOSTART} -/usr/lib/lsb/install_initd /etc/init.d/tog-pegasus + /sbin/chkconfig --add tog-pegasus %endif -/sbin/ldconfig -# -# Set up the openssl certificate -# -# Modify entries in ssl.cnf, then -# Create big random ssl.rnd file, then -# Generate a self signed node certificate -# -#echo " Generating SSL certificates... " -echo "[ req ]" > %PEGASUS_CONFIG_DIR/ssl.cnf -echo "distinguished_name = req_distinguished_name" >> %PEGASUS_CONFIG_DIR/ssl.cnf -echo "prompt = no" >> %PEGASUS_CONFIG_DIR/ssl.cnf -echo "[ req_distinguished_name ]" >> %PEGASUS_CONFIG_DIR/ssl.cnf -echo "C = UK" >> %PEGASUS_CONFIG_DIR/ssl.cnf -echo "ST = Berkshire" >> %PEGASUS_CONFIG_DIR/ssl.cnf -echo "L = Reading" >> %PEGASUS_CONFIG_DIR/ssl.cnf -echo "O = The Open Group" >> %PEGASUS_CONFIG_DIR/ssl.cnf -echo "OU = The OpenPegasus Project" >> %PEGASUS_CONFIG_DIR/ssl.cnf -echo "CN = `host \`hostname\`|cut -d\" \" -f1`" >> %PEGASUS_CONFIG_DIR/ssl.cnf -chmod 400 %PEGASUS_CONFIG_DIR/ssl.cnf -chown root %PEGASUS_CONFIG_DIR/ssl.cnf -chgrp root %PEGASUS_CONFIG_DIR/ssl.cnf -openssl req -x509 -days 3650 -newkey rsa:2048 \ - -nodes -config %PEGASUS_CONFIG_DIR/ssl.cnf \ - -keyout %PEGASUS_CONFIG_DIR/key.pem -out %PEGASUS_CONFIG_DIR/cert.pem 2>>%INSTALL_LOG -chmod 700 %PEGASUS_CONFIG_DIR/*.pem -cat %PEGASUS_CONFIG_DIR/key.pem > %PEGASUS_CONFIG_DIR/file_2048.pem -chmod 400 %PEGASUS_CONFIG_DIR/file_2048.pem -cat %PEGASUS_CONFIG_DIR/cert.pem > %PEGASUS_CONFIG_DIR/server_2048.pem -chmod 400 %PEGASUS_CONFIG_DIR/server_2048.pem -cat %PEGASUS_CONFIG_DIR/cert.pem > %PEGASUS_CONFIG_DIR/client_2048.pem -chmod 400 %PEGASUS_CONFIG_DIR/client_2048.pem -rm -f %PEGASUS_CONFIG_DIR/key.pem %PEGASUS_CONFIG_DIR/cert.pem -cp -fp %PEGASUS_CONFIG_DIR/server_2048.pem %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_CERT_FILE -cp -fp %PEGASUS_CONFIG_DIR/file_2048.pem %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_KEY_FILE -chmod 400 %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_KEY_FILE -chmod 444 %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_CERT_FILE -cp -fp %PEGASUS_CONFIG_DIR/client_2048.pem %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_TRUSTSTORE -chmod 444 %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_TRUSTSTORE -%if %{OPT_TOG_PEGASUS} - %PEGASUS_DATA_DIR/scripts/opt-tog-pegasus -%endif -elif [ $1 -gt 1 ]; then -/sbin/service tog-pegasus condrestart + echo `date` >/var/log/Pegasus/install.log 2>&1 +elif [ $1 -gt 0 ]; then + /sbin/service tog-pegasus condrestart :; fi -%if %{WITH_TEST} -%post test -/etc/init.d/tog-pegasus stop -cd %PEGASUS_VARDATA_DIR -mv repository repository.bak -mv testrepository repository -cd %PEGASUS_TEST_DIR -make create_providerlinks -make tests -%endif - %preun if [ $1 -eq 0 ]; then -# Check if the cimserver is running -isRunning=`ps -el | grep cimserver | grep -v "grep cimserver"` -if [ "$isRunning" ]; then - %PEGASUS_SBIN_DIR/cimserver -s -fi -# Delete the Link to the rc.* Startup Directories -/usr/lib/lsb/remove_initd /etc/init.d/tog-pegasus; + service tog-pegasus stop >/dev/null 2>&1 + /sbin/chkconfig --del tog-pegasus; fi -%files -%defattr(-,root,root) -# no, please don't Provide /usr !: %dir %attr(-,root,root) %PEGASUS_PROD_DIR -%dir %attr(-,root,root) %PEGASUS_LOCAL_AUTH_DIR -%dir %attr(-,root,root) %PEGASUS_CONFIG_DIR -%dir %attr(-,root,root) %PEGASUS_VARDATA_DIR -%dir %attr(-,root,root) %PEGASUS_VARDATA_CACHE_DIR -%dir %attr(-,root,root) %PEGASUS_LOG_DIR -%dir %attr(-,root,root) %PEGASUS_PROVIDER_LIB_DIR -%dir %attr(1555,root,root) %PEGASUS_LOCAL_DOMAIN_SOCKET_DIR -%dir %attr(-,root,root) %PEGASUS_DATA_DIR -%dir %attr(-,root,root) %PEGASUS_MOF_DIR -%defattr(-,root,root) -%PEGASUS_REPOSITORY_DIR -%defattr(-,root,root) -%PEGASUS_MANUSER_DIR/cimmof.1* -%PEGASUS_MANUSER_DIR/cimprovider.1* -%PEGASUS_MANUSER_DIR/osinfo.1* -%PEGASUS_MANUSER_DIR/wbemexec.1* -%PEGASUS_MANADMIN_DIR/cimauth.8* -%PEGASUS_MANADMIN_DIR/cimconfig.8* -%PEGASUS_MANADMIN_DIR/cimserver.8* -%doc doc/license.txt doc/Admin_Guide_Release_2.4.pdf -%dir %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28 -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Core28.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_Qualifiers.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_CoreElements.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_Physical.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_Software.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_Device.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_StorageExtent.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_Collection.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_Redundancy.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_Service.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_ProductFRU.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_Statistics.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_Capabilities.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_Settings.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_MethodParms.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_PowerMgmt.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Application28_AppRuntime.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Application28_BIOS.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Application28_CheckAction.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Application28_DeploymentModel.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Application28_InstalledProduct.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Application28_J2eeAppServer.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Application28_J2eeAppServerStats.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Application28_SystemSoftware.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Application28.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Database28.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Device28.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Event28.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Interop28.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_IPsecPolicy28.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Metrics28.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Network28.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Physical28.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Policy28.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Schema28.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Support28.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_System28.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_User28.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Database28_Statistics.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Database28_Storage.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Database28_System.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_Controller.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_CoolingAndPower.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_DeviceElements.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_DiskGroup.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_FC.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_IB.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_Memory.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_Modems.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_NetworkAdapter.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_Ports.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_Printing.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_Processor.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_ProtocolController.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_SccExtents.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_Sensors.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_StorageDevices.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_StorageExtents.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_StorageLib.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_StorageServices.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_USB.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_UserDevices.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Metrics28_BaseMetric.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Metrics28_UnitOfWork.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_BGP.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_Buffers.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_Collections.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_Filtering.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_IPsec.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_OSPF.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_Pipes.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_ProtocolEndpoints.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_QoS.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_Routes.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_RoutingForwarding.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_SNMP.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_SwitchingBridging.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_Systems.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_VLAN.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Physical28_Component.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Physical28_Connector.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Physical28_Link.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Physical28_Misc.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Physical28_Package.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Physical28_PhysicalMedia.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Physical28_StoragePackage.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/System28_Boot.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/System28_Diagnostics.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/System28_FileElements.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/System28_Logs.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/System28_OperatingSystem.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/System28_Processing.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/System28_SystemElements.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/System28_SystemResources.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/System28_Time.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/System28_Unix.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_AccessControl.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_Account.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_AuthenticationReqmt.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_Credential.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_Group.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_Identity.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_Kerberos.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_Org.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_Privilege.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_PrivilegeManagementService.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_PublicKey.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_Role.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_SecurityLevel.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_SecurityServices.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_SharedSecret.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_StorageHardwareID.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_UsersAccess.mof -%dir %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus -%attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_InterOpSchema20.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_InternalSchema20.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_ManagedSystemSchema20.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_ManagedSystemSchema20R.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_Authorization20.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_ConfigSetting20.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_ShutdownService20.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_User20.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_Events20.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_ProviderModule20.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_ComputerSystem20.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_ComputerSystem20R.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_OperatingSystem20.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_OperatingSystem20R.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_UnixProcess20.mof -%attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_UnixProcess20R.mof -%config %attr(-,root,root) %PEGASUS_CONFIG_DIR/%PEGASUS_PLANNED_CONFIG_FILE -%config %attr(-,root,root) /etc/init.d/tog-pegasus -%config %attr(-,root,root) %PAM_CONF/wbem -%ghost %PEGASUS_CONFIG_DIR/cimserver_current.conf -%ghost %PEGASUS_CONFIG_DIR/ssl.cnf -%ghost %PEGASUS_CONFIG_DIR/client.pem -%ghost %PEGASUS_CONFIG_DIR/server.pem -%ghost %PEGASUS_CONFIG_DIR/file.pem -%ghost %PEGASUS_CONFIG_DIR/client_2048.pem -%ghost %PEGASUS_CONFIG_DIR/server_2048.pem -%ghost %PEGASUS_CONFIG_DIR/file_2048.pem -%ghost %PEGASUS_LOG_DIR/install.log -%attr(0544,root,root) %PEGASUS_SBIN_DIR/cimauth -%attr(0544,root,root) %PEGASUS_SBIN_DIR/cimserver -%attr(0544,root,root) %PEGASUS_SBIN_DIR/cimservera -%attr(0544,root,root) %PEGASUS_SBIN_DIR/cimuser -%attr(0544,root,root) %PEGASUS_SBIN_DIR/cimconfig -%attr(0544,root,root) %PEGASUS_SBIN_DIR/init_repository -#%attr(0544,root,root) %PEGASUS_SBIN_DIR/settogpath -%attr(0544,root,root) %PEGASUS_SBIN_DIR/cimprovagt -%attr(0555,root,root) %PEGASUS_BIN_DIR/cimmof -%attr(0555,root,root) %PEGASUS_BIN_DIR/cimmofl -%attr(0555,root,root) %PEGASUS_BIN_DIR/cimprovider -%attr(0555,root,root) %PEGASUS_BIN_DIR/osinfo -%attr(0555,root,root) %PEGASUS_BIN_DIR/wbemexec -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libCIMxmlIndicationHandler.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libConfigSettingProvider.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libNamespaceProvider.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libProviderRegistrationProvider.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libUserAuthProvider.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegauthentication.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegclient.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegcliutils.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegcommon.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegcompiler.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegconfig.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegexportclient.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegexportserver.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpeggetoopt.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpeghandlerservice.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegindicationservice.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpeglistener.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegprm.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegprovidermanager.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegprovider.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegrepository.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegserver.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpeguser.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegwql.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libCMPIProviderManager.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libcmpiCppImpl.so.1 -%attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libDefaultProviderManager.so.1 -%attr(-,root,root) %PEGASUS_PROVIDER_LIB_DIR/libComputerSystemProvider.so.1 -%attr(-,root,root) %PEGASUS_PROVIDER_LIB_DIR/libOSProvider.so.1 -%attr(-,root,root) %PEGASUS_PROVIDER_LIB_DIR/libProcessProvider.so.1 -# symbolic links for client libs -# -%defattr(0555,root,root) -%PEGASUS_DEST_LIB_DIR/libpegcommon.so -%PEGASUS_DEST_LIB_DIR/libpegclient.so -%PEGASUS_DEST_LIB_DIR/libpegprovider.so -%PEGASUS_DEST_LIB_DIR/libDefaultProviderManager.so -%PEGASUS_DEST_LIB_DIR/libCMPIProviderManager.so -%PEGASUS_DEST_LIB_DIR/libCIMxmlIndicationHandler.so -# symbolic links for provider libs -# -%PEGASUS_PROVIDER_LIB_DIR/libComputerSystemProvider.so -%PEGASUS_PROVIDER_LIB_DIR/libOSProvider.so -%PEGASUS_PROVIDER_LIB_DIR/libProcessProvider.so -# upstream distribution compatibility utility -# -%dir %attr(-,root,root) %PEGASUS_DATA_DIR/scripts -%PEGASUS_DATA_DIR/scripts/opt-tog-pegasus - -%files devel -# header files -# -%defattr(0444,root,root) -%dir %attr(-,root,root) %PEGASUS_INCLUDE_DIR -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Client/CIMClientException.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Client/CIMClient.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Client/Linkage.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/AcceptLanguages.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/AcceptLanguageElement.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/Array.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/ArrayInter.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/Char16.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMClass.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMDateTime.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMFlavor.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMIndication.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMInstance.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common//CIMMethod.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMName.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMObject.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMObjectPath.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMParameter.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMParamValue.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMProperty.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMPropertyList.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMQualifierDecl.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMQualifier.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMScope.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMStatusCode.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMType.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMValue.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/Config.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/ContentLanguageElement.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/ContentLanguages.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/Exception.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/Formatter.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/LanguageElementContainer.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/LanguageElement.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/Linkage.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/MessageLoader.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/OperationContext.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/Platform_%PEGASUS_HARDWARE_PLATFORM.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/ResponseHandler.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/SSLContext.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/String.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Consumer/CIMIndicationConsumer.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Consumer/Linkage.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMAssociationProvider.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMIndicationConsumerProvider.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMIndicationProvider.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMInstanceProvider.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMMethodProvider.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMOMHandle.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMProvider.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Provider/Linkage.h -%attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Provider/ProviderException.h -%attr(-,root,root) %PEGASUS_HTML_DIR -%dir %attr(-,root,root) %PEGASUS_DATA_DIR -%dir %attr(-,root,root) %PEGASUS_SAMPLES_DIR -%dir %attr(-,root,root) %PEGASUS_SAMPLES_DIR/mak -%dir %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients -%dir %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients/DefaultC++ -%dir %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients/DefaultC++/EnumInstances -%dir %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients/DefaultC++/InvokeMethod -%dir %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients/DefaultC++/SendTestIndications -%dir %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers -%dir %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/Load -%dir %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++ -%dir %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/IndicationProvider -%dir %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider -%dir %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider -%dir %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/SimpleDisplayConsumer -# make files -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Makefile -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/mak/common.mak -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/mak/config.mak -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/mak/library.mak -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/mak/%PEGASUS_HARDWARE_PLATFORM.mak -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/mak/program.mak -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/mak/recurse.mak -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients/Makefile -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients/DefaultC++/Makefile -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients/DefaultC++/EnumInstances/EnumInstances.cpp -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients/DefaultC++/EnumInstances/Makefile -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients/DefaultC++/InvokeMethod/InvokeMethod.cpp -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients/DefaultC++/InvokeMethod/Makefile -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients/DefaultC++/SendTestIndications/Makefile -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients/DefaultC++/SendTestIndications/SendTestIndications.cpp -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/Makefile -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/Makefile -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/IndicationProvider/IndicationProvider.cpp -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/IndicationProvider/IndicationProvider.h -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/IndicationProvider/IndicationProviderMain.cpp -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/IndicationProvider/Makefile -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/EnumerateInstancesrspgood.xml -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/EnumerateInstances.xml -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/InstanceProvider.cpp -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/InstanceProvider.h -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/InstanceProviderMain.cpp -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/Makefile -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/InvokeMethodrspgood.xml -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/InvokeMethod.xml -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/Makefile -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/MethodProvider.cpp -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/MethodProvider.h -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/MethodProviderMain.cpp -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.cpp -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.h -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumerMain.cpp -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/SimpleDisplayConsumer/Makefile -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/Load/Makefile -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/Load/IndicationProviderR.mof -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/Load/InstanceProviderR.mof -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/Load/MethodProviderR.mof -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/Load/SampleProviderSchema.mof -%attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/Load/SimpleDisplayConsumerR.mof +%postun +if [ $1 -eq 0 ]; then + /usr/sbin/userdel pegasus >/dev/null 2>&1 || :; + /usr/sbin/groudel pegasus >/dev/null 2>&1 || :; +fi; -%if %{WITH_TEST} -%files test -%defattr(-,root,root) -%attr(-,root,root) %PEGASUS_TEST_DIR/Makefile -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/CompAssoc -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/InvokeMethod2 -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/IPC -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestAbstract -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestArray -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestBase64 -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestClassDecl -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestClient -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestDateTime -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestFlavor -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestFormatter -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestHashTable -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestInstanceDecl -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestLogger -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestMethod -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestObject -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestOperationContext -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestParameter -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestParamValue -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestProperty -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestQualifier -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestQualifierDecl -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestQualifierList -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestQueue -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestReference -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestResolve -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestResponseHandler -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestScope -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestStack -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestStopwatch -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestString -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestStrToInstName -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestTimeValue -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestToMof -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestValidateClass -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TestValue -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/TracerTest -%attr(0555,root,root) %PEGASUS_TEST_BIN_DIR/UserManagerTest -%attr(0555,root,root) %PEGASUS_TEST_LIB_DIR/libSampleFamilyProvider.so.1 -%attr(0555,root,root) %PEGASUS_TEST_LIB_DIR/libSampleInstanceProvider.so.1 -%attr(0555,root,root) %PEGASUS_TEST_LIB_DIR/libSampleMethodProvider.so.1 -%attr(0555,root,root) %PEGASUS_TEST_MAK_DIR/commands.mak -%PEGASUS_TEST_REPOSITORY_DIR -%endif +%clean +#rm -rf $RPM_BUILD_ROOT; +#rm -rf ${RPM_BUILD_DIR}/%{srcname}-%{version}; %changelog -* Fri Sep 02 2005 Jason Vas Dias - 2.4.1-4.FC5 -- .spec file changes to prevent files remaining after rpm erase - -* Thu Sep 01 2005 Jason Vas Dias - 2.4.1-4.rhel4 -- fix bug 167161: put all libraries into %{_libdir}, not /lib -- fix bug 167162: use internal pthread_cleanup_{push,pop} routines -- fix bug 167163: correct pam Requires and pam-devel BuildRequires -- fix bug 167164: remove potential buffer overflows with gethostbyname -- fix bug 167165: remove potential buffer overflow in System::extract_file_path -- Upstream bug patches applied, as agreed with bug committee, - which have been tested by HP and IBM and submitted to 2.4.2 - - see http://cvs.rdg.opengroup.org/bugzilla/buglist.cgi?&keywords=2.4.2_approved : -2207 CIMOMHandle drops InvokeMethod request -2217 Interrupts improperly handled in Unix Semaphore implement... -2499 Initial Provider load/initialize is not thread safe. -2503 IndicationHandlerService::_lookupHandlerForClass() not th... -3416 SDK sample build fails on x86_64 2.4 rpm -3858 _subscriptionClassesTable not threadsafe -3958 cimserver crashs after many indications delivered -4004 cimserver crash in MessageQueueService after running for ... -4009 Double close causes EBADF ("Bad file descriptor") failures -4014 host name validation in CIMObjectPathRep::isValidHostname... -4023 Assignment operators should return object references -4025 Thread class uses internal pthread functions -4027 SSLCallbackInfo class does not declare a copy constructor... -4028 CIMInstance::buildPath assumes key properties are specified -4029 Add TestIndicationStressTest to 2.4-branch -4042 TestIndicationStressTest not enabled in 2.4 branch. -4050 Compile warning building SDK packaged consumer. -4072 ThreadPool Test Failure - 2.4 version of Bug 2239 -4103 Timing window where in MessageQueue Service - Could cause... -4120 HTTPConnection _handleReadEvent should complete connectio... -4126 On shutdown, cimom::routing_proc loops attempting to send... - -* Wed Aug 17 2005 Jason Vas Dias - 2.4.1-2 -- fix bug 165805: change location from /opt root to / root - cimserver not running by default - rename 'sdk' package 'devel' package - compile all executables with ExecShield -- fix bug 165880: no logging during post scriptlet - no postun scriptlets do 'rm -rf' - added Requires(post) - moved symlinks into -devel package -- further fix for bug 165770: cimserver no longer stores socket in subdirectory - -* Fri Aug 12 2005 Jason Vas Dias - 2.4.1-1 -- fix bug 165805: remove 'echo's after initscript's use of redhat-lsb's - log_success_msg / log_failure_msg functions. -- fix bug 165770: make initscript stop do 'rm -rf /var/run/tog-pegasus' - -* Thu May 05 2005 Jason Vas Dias - 2.4.1-1beta -- Import of tog-pegasus-2.4.1.Beta-3 . -- Change .spec file to not build and install test RPM by default. - You need to build and install RPMs with --define 'WITH_TEST 1' - to get test rpm. -- Add condrestart option to initscript - invoke condrestart on upgrade. -- Re-Enable PPC64 support +* Fri Sep 30 2005 Jason Vas Dias - 2:tog-pegasus-2.5-1 +- Implemented new 'make install' target. +- Re-wrote tog-pegasus.spec file from scratch. +- Ported BZ 167986 authentication code and BZ 167164 + BZ 167165 fixes from RHEL-4 + +* Wed Sep 28 2005 Jason Vas Dias - 2:tog-pegasus-2.5-0 +- Initial build. --- opt-tog-pegasus DELETED --- --- tog-pegasus-2.4.1-165770.patch DELETED --- --- tog-pegasus-2.4.1-2-4-2-sanity.patch DELETED --- --- tog-pegasus-2.4.1-Beta3-gcc4.patch DELETED --- --- tog-pegasus-2.4.1-bz167164.patch DELETED --- --- tog-pegasus-2.4.1-bz167165.patch DELETED --- --- tog-pegasus-2.4.1-de-lib.patch DELETED --- --- tog-pegasus-2.4.1-de-opt.patch DELETED --- --- tog-pegasus-2.4.1-execshield.patch DELETED --- --- tog-pegasus-2.4.1-noecho.patch DELETED --- --- tog-pegasus-2.4.1-obz2207.patch DELETED --- --- tog-pegasus-2.4.1-obz2217.patch DELETED --- --- tog-pegasus-2.4.1-obz2499.patch DELETED --- --- tog-pegasus-2.4.1-obz2503.patch DELETED --- --- tog-pegasus-2.4.1-obz3858.patch DELETED --- --- tog-pegasus-2.4.1-obz3958.patch DELETED --- --- tog-pegasus-2.4.1-obz3958_default.patch DELETED --- --- tog-pegasus-2.4.1-obz4004.patch DELETED --- --- tog-pegasus-2.4.1-obz4009.patch DELETED --- --- tog-pegasus-2.4.1-obz4014.patch DELETED --- --- tog-pegasus-2.4.1-obz4023.patch DELETED --- --- tog-pegasus-2.4.1-obz4027.patch DELETED --- --- tog-pegasus-2.4.1-obz4028.patch DELETED --- --- tog-pegasus-2.4.1-obz4029-new.patch DELETED --- --- tog-pegasus-2.4.1-obz4029.patch DELETED --- --- tog-pegasus-2.4.1-obz4050.patch DELETED --- --- tog-pegasus-2.4.1-obz4072.patch DELETED --- --- tog-pegasus-2.4.1-obz4120.patch DELETED --- --- tog-pegasus-2.4.1-rbz167162_obz4025.patch DELETED --- --- tog-pegasus-2.4.1-remove_socket.patch DELETED --- --- tog-pegasus-2.4.1.Beta-3.condrestart.patch DELETED --- --- tog-pegasus-2.4.1.Beta-3.ppc64.patch DELETED --- --- tog-pegasus-2.4.1.Beta-flags.patch DELETED --- --- tog-pegasus-2.4.1.Beta-ldflags.patch DELETED --- --- tog-pegasus-2.4.1.Beta-permissions.patch DELETED --- --- tog-pegasus-2.4.1.Beta-ppc64.patch DELETED --- --- tog-pegasus-2.4.1.Beta-ptr64.patch DELETED --- --- tog-pegasus-2.4.1.Beta-warnings.patch DELETED --- --- tog-pegasus-2.4.1.pie.patch DELETED --- From fedora-cvs-commits at redhat.com Mon Oct 3 17:56:07 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 13:56:07 -0400 Subject: rpms/tog-pegasus/devel genSSLcerts, NONE, 1.1 access.conf, NONE, 1.1 README.RedHat.Security, NONE, 1.1 rpm_build_env, NONE, 1.1 Message-ID: <200510031756.j93Hu7nm030603@cvs.devel.redhat.com> Author: jvdias Update of /cvs/dist/rpms/tog-pegasus/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30573 Added Files: genSSLcerts access.conf README.RedHat.Security rpm_build_env Log Message: port from RHEL-4; upgrade to 2.5 --- NEW FILE genSSLcerts --- #!/bin/bash # # Set up the openssl certificates for the tog-pegasus cimserver # # Arguments: # If a single host name argument is given that resolves to a host # IP address, then the script will attempt to copy the certificate # files from that host name. # # Without any arguments: # # Modify entries in ssl.cnf, then # Generate a self signed node certificate # PEGASUS_CONFIG_DIR=${PEGASUS_CONFIG_DIR:=/etc/Pegasus} INSTALL_LOG=${INSTALL_LOG:=/var/log/Pegasus/install.log} PEGASUS_SSL_CERT_FILE=${PEGASUS_SSL_CERT_FILE:=server.pem} PEGASUS_SSL_KEY_FILE=${PEGASUS_SSL_KEY_FILE:=file.pem} PEGASUS_SSL_TRUSTSTORE=${PEGASUS_SSL_TRUSTSTORE:=client.pem} cnfChanged=0; if [ ! -e $PEGASUS_CONFIG_DIR/ssl.cnf ]; then mkdir -p ${INSTALL_LOG%/*} mkdir -p $PEGASUS_CONFIG_DIR echo "[ req ]" > $PEGASUS_CONFIG_DIR/ssl.cnf echo "distinguished_name = req_distinguished_name" >> $PEGASUS_CONFIG_DIR/ssl.cnf echo "prompt = no" >> $PEGASUS_CONFIG_DIR/ssl.cnf echo "[ req_distinguished_name ]" >> $PEGASUS_CONFIG_DIR/ssl.cnf echo "C = UK" >> $PEGASUS_CONFIG_DIR/ssl.cnf echo "ST = Berkshire" >> $PEGASUS_CONFIG_DIR/ssl.cnf echo "L = Reading" >> $PEGASUS_CONFIG_DIR/ssl.cnf echo "O = The Open Group" >> $PEGASUS_CONFIG_DIR/ssl.cnf echo "OU = The OpenPegasus Project" >> $PEGASUS_CONFIG_DIR/ssl.cnf DN=`hostname`; if [ -z "$DN" ] || [ "$DN" = "(none)" ]; then DN='localhost.localdomain'; fi; FQDN=`{ host -W1 $DN 2>/dev/null || echo "$DN has address "; } | grep 'has address' | head -1 | sed 's/\ .*$//'`; if [ -z "$FQDN" ] ; then FQDN="$DN"; fi; # cannot use 'hostname --fqdn' because this can hang indefinitely echo "CN = $FQDN" >> $PEGASUS_CONFIG_DIR/ssl.cnf chmod 400 $PEGASUS_CONFIG_DIR/ssl.cnf chown root $PEGASUS_CONFIG_DIR/ssl.cnf chgrp root $PEGASUS_CONFIG_DIR/ssl.cnf cnfChanged=1; fi if [ $cnfChanged -eq 1 ] || [ ! -e /etc/Pegasus/$PEGASUS_SSL_CERT_FILE ] || [ ! -e /etc/Pegasus/$PEGASUS_SSL_KEY_FILE ] || [ ! -e /etc/Pegasus/$PEGASUS_SSL_TRUSTSTORE ]; then /usr/bin/openssl req -x509 -days 3650 -newkey rsa:2048 \ -nodes -config $PEGASUS_CONFIG_DIR/ssl.cnf \ -keyout $PEGASUS_CONFIG_DIR/key.pem -out $PEGASUS_CONFIG_DIR/cert.pem 2>>$INSTALL_LOG chmod 700 $PEGASUS_CONFIG_DIR/*.pem cat $PEGASUS_CONFIG_DIR/key.pem > $PEGASUS_CONFIG_DIR/file_2048.pem chmod 400 $PEGASUS_CONFIG_DIR/file_2048.pem cat $PEGASUS_CONFIG_DIR/cert.pem > $PEGASUS_CONFIG_DIR/server_2048.pem chmod 400 $PEGASUS_CONFIG_DIR/server_2048.pem cat $PEGASUS_CONFIG_DIR/cert.pem > $PEGASUS_CONFIG_DIR/client_2048.pem chmod 400 $PEGASUS_CONFIG_DIR/client_2048.pem rm -f $PEGASUS_CONFIG_DIR/key.pem $PEGASUS_CONFIG_DIR/cert.pem cp -fp $PEGASUS_CONFIG_DIR/server_2048.pem $PEGASUS_CONFIG_DIR/$PEGASUS_SSL_CERT_FILE cp -fp $PEGASUS_CONFIG_DIR/file_2048.pem $PEGASUS_CONFIG_DIR/$PEGASUS_SSL_KEY_FILE chmod 400 $PEGASUS_CONFIG_DIR/$PEGASUS_SSL_KEY_FILE chmod 444 $PEGASUS_CONFIG_DIR/$PEGASUS_SSL_CERT_FILE cp -fp $PEGASUS_CONFIG_DIR/client_2048.pem $PEGASUS_CONFIG_DIR/$PEGASUS_SSL_TRUSTSTORE chmod 444 $PEGASUS_CONFIG_DIR/$PEGASUS_SSL_TRUSTSTORE; fi; --- NEW FILE access.conf --- ############################################################################## # Pegasus WBEM HTTP/HTTPS Network Service User Access Control Table: # # This file controls access to the Pegasus WBEM Network services by users # with the PAM pam_access module . # # The format of the access control table is three fields separated by a # ":" character: # # permission : users : origins # # The first field should be a "+" (access granted) or "-" (access denied) # character. # # The second field should be a list of one or more login names, group # names, or ALL (always matches). A pattern of the form user at host is # matched when the login name matches the "user" part, and when the # "host" part matches the local machine name. # # If you run NIS you can use @netgroupname in host or user patterns; this # even works for @usergroup@@hostgroup patterns. Weird. # # The EXCEPT operator makes it possible to write very compact rules. # # The group file is searched only when a name does not match that of the # logged-in user. Both the user's primary group is matched, as well as # groups in which users are explicitly listed. # # The third field must be 'wbemNetwork', to control access by users from # remote hosts, or 'wbemLocal', to control access by users from the local host. ############################################################################## # # Pegasus PAM Access Rules: # 1. The Remote host user access rule: # By default, ONLY the pegasus user can use remote network HTTP/S service: # -: ALL EXCEPT pegasus:wbemNetwork # # # 2. The Local host user access rule: # By default, ONLY the pegasus and root users can use pegasus local HTTP/S service: # -: ALL EXCEPT pegasus root:wbemLocal --- NEW FILE README.RedHat.Security --- Red Hat Security Enhancements for tog-pegasus ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Access to the Pegasus services: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ By default, with the configuration as shipped, the upstream Open Group Pegasus release allowed any user with an account on the machine (including root) to use the network HTTPS port 5989 (by default) and HTTP port 5988 services. On authentication failures, though there was the standard PAM authentication failure delay, no messages were logged to syslog. This meant that potentially a long-running cracker process could try millions of root passwords over the network and could possibly discover the root password . If users were unwise enough to enable the HTTP service on port 5988, then root passwords could be sent unencrypted over the network. This situation was deemed unacceptable by Red Hat RHEL QA test and Security Response team engineers. So for the Red Hat tog-pegasus release, PAM access control was enabled, to remove these vulnerabilities. There is now a "pegasus" user created during install, and users are recommended to use only that user to invoke CIM operations over the network. By default: o root password authentication for CIM operations invoked over the network HTTPS/HTTP services is denied - the root user is unable to invoke pegasus services over the network - only the "pegasus" user may do so. o the root user may invoke CIM operations over the HTTPS/HTTP ports on the local machine. o any user other than "pegasus" or "root" may not invoke pegasus services over the HTTPS/HTTP ports at all. o any PAM authentication failure will be logged to syslog NOTE: after installation, you must set the password for the pegasus user - issue this command as root : # passwd pegasus - to enable CIM operation network service, if the pegasus user is a local system user. Note also that even though a non-root user's password is used to authenticate with the cimserver, the cimserver and all CIM Operation Providers run as root. This was another reason to restrict use of CIM Operations to only one user. The "pegasus" user may of course be a NIS, Kerberos, or LDAP user, which could be used as configured in /etc/nsswitch.conf or with the PAM stack. You may configure this differently, and at your own risk, by modifying the pam_access configuration file /etc/Pegasus/access.conf, or by removing the line: account required pam_access.so accessfile=/etc/Pegasus/access.conf from /etc/pam.d/wbem - then tog-pegasus' authentication behaviour would be the same as that of the upstream release. SELinux ~~~~~~~ There is an SELinux policy for tog-pegasus shipped in selinux-policy-targeted-1.17.30-2.110+ . When SELinux is enabled in enforcing mode, the cimserver and providers are restricted to the operations allowed to the 'pegasus_t' security context. Also only the pegasus_exec_t context may modify the repository, and only the pegasus_exec_conf_t context may modify the pegasus configuration files which are of pegasus_conf_t file context. ExecShield ~~~~~~~~~~ All tog-pegasus binary executables are compiled with ExecShield enabled, which make it nearly impossible to modify them or to poke executable code into them. --- NEW FILE rpm_build_env --- # Pegasus RPM %build + %install environment setup: # # compile options: # export PEGASUS_EXTRA_C_FLAGS="$RPM_OPT_FLAGS -fPIC -g -Wall -Wno-unused" export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS" export PEGASUS_EXE_LINK_FLAGS="$RPM_OPT_FLAGS -g -pie -Wl,-z,relro,-z,now,-z,nodlopen,-z,noexecstack" export SYS_INCLUDES=-I/usr/kerberos/include # # build object directories: # export SRCNAME=pegasus export PEGASUS_ROOT=${RPM_BUILD_DIR}/${SRCNAME}-${RPM_PACKAGE_VERSION} export ROOT=$PEGASUS_ROOT export PEGASUS_HOME=${RPM_BUILD_ROOT}/build export PEGASUS_ARCH_LIB_DIR=${RPM_ARCH_LIB} # # PEGASUS_PLATFORM (hardware platform) setup: # if [ -z "$RPM_ARCH" ]; then export RPM_ARCH=`/bin/uname -i`; fi; case ${RPM_ARCH} in ia64|x86_64) export PEGASUS_PLATFORM=LINUX_IA64_GNU; ;; ppc) export PEGASUS_PLATFORM=LINUX_PPC_GNU; ;; ppc64|pseries) export PEGASUS_PLATFORM=LINUX_PPC64_GNU; ;; s390) export PEGASUS_PLATFORM=LINUX_ZSERIES_GNU; export PEGASUS_EXTRA_C_FLAGS="$PEGASUS_EXTRA_C_FLAGS -fsigned-char"; export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS"; ;; s390x|zseries) export PEGASUS_PLATFORM=LINUX_ZSERIES64_GNU; export PEGASUS_EXTRA_C_FLAGS="$PEGASUS_EXTRA_C_FLAGS -fsigned-char"; export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS"; ;; i386) export PEGASUS_PLATFORM=LINUX_IX86_GNU ;; *) echo "Architecture unsupported by pegasus: $RPM_ARCH"; exit 1; ;; esac; # # Pegasus Build options: # export OPENSSL_HOME=/usr export PEGASUS_HAS_SSL=yes # per bug #368 export PEGASUS_USE_RELEASE_DIRS=true export PEGASUS_USE_RELEASE_CONFIG_OPTIONS=true # per PEP #144 export PEGASUS_PAM_AUTHENTICATION=true export PAM_CONFIG_DIR=/etc/pam.d # # export PEGASUS_USE_PAM_STANDALONE_PROC=true # NO, we do NOT use 'cimservera' on Red Hat platforms! # export PEGASUS_CIM_SCHEMA=CIM29 export PEGASUS_LOCAL_DOMAIN_SOCKET=true export PEGASUS_USE_SYSLOGS=true export PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER=true # per PEP #174 export PEGASUS_ENABLE_USERGROUP_AUTHORIZATION=true export PEGASUS_HAS_PERFSTATS=true export PEGASUS_NOASSERTS=true export PEGASUS_DISABLE_CQL=true export PEGASUS_DISABLE_OBJECT_NORMALIZATION=true export PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER=true export PEGASUS_ENABLE_USERGROUP_AUTHORIZATION=true export PEGASUS_USE_RELEASE_DIRS=true # # Pegasus Directory Structure: # export PEGASUS_PROD_DIR=/usr export PEGASUS_PRODSHARE_DIR=${PEGASUS_PROD_DIR}/share/Pegasus export PEGASUS_DOC_DIR=/usr/share/doc/tog-pegasus-${RPM_PACKAGE_VERSION} export PEGASUS_MAN_DIR=/usr/share/man export PEGASUS_MANUSER_DIR=${PEGASUS_MAN_DIR}/man1 export PEGASUS_MANADMIN_DIR=${PEGASUS_MAN_DIR}/man8 export PEGASUS_MOF_DIR=${PEGASUS_PRODSHARE_DIR}/mof export PEGASUS_DEST_LIB_DIR=${PEGASUS_PROD_DIR}/${PEGASUS_ARCH_LIB_DIR} export PEGASUS_PROVIDER_DIR=${PEGASUS_DEST_LIB_DIR}/Pegasus/providers export PEGASUS_PROVIDER_LIB_DIR=${PEGASUS_PROVIDER_DIR} export PEGASUS_SBIN_DIR=${PEGASUS_PROD_DIR}/sbin export PEGASUS_BIN_DIR=${PEGASUS_PROD_DIR}/bin export PEGASUS_VARDATA_DIR=/var/lib/Pegasus export PEGASUS_REPOSITORY_PARENT_DIR=${PEGASUS_VARDATA_DIR} export PEGASUS_REPOSITORY_DIR=${PEGASUS_REPOSITORY_PARENT_DIR}/repository export PEGASUS_PREV_REPOSITORY_DIR=${PEGASUS_REPOSITORY_PARENT_DIR}/prev_repository export PEGASUS_CONFIG_DIR=/etc/Pegasus export PEGASUS_VARRUN_DIR=/var/run/tog-pegasus export PEGASUS_CIMSERVER_START_FILE=${PEGASUS_VARRUN_DIR}/cimserver.pid export PEGASUS_LOCAL_DOMAIN_SOCKET_DIR=${PEGASUS_VARRUN_DIR} export PEGASUS_LOCAL_DOMAIN_SOCKET_PATH=${PEGASUS_LOCAL_DOMAIN_SOCKET_DIR}/cimxml.socket export PEGASUS_VARDATA_CACHE_DIR=${PEGASUS_VARDATA_DIR}/cache export PEGASUS_LOCAL_AUTH_DIR=${PEGASUS_VARDATA_CACHE_DIR}/localauth export PEGASUS_TRACE_DIR=${PEGASUS_VARDATA_CACHE_DIR}/trace export PEGASUS_PLANNED_CONFIG_FILE=cimserver_planned.conf export PEGASUS_CURRENT_CONFIG_FILE=cimserver_current.conf export PEGASUS_PEM_DIR=${PEGASUS_CONFIG_DIR} export PEGASUS_LOG_DIR=/var/log/Pegasus export PEGASUS_SSL_KEY_FILE=file.pem export PEGASUS_SSL_CERT_FILE=server.pem export PEGASUS_SSL_TRUSTSTORE=client.pem export PEGASUS_SAMPLES_DIR=${PEGASUS_PRODSHARE_DIR}/samples export PEGASUS_INCLUDE_DIR=${PEGASUS_PROD_DIR}/include export PEGASUS_HTML_DIR=${PEGASUS_PRODSHARE_DIR}/html export PEGASUS_TEST_DIR=${PEGASUS_PRODSHARE_DIR}/test export PEGASUS_TEST_REPOSITORY_DIR=${PEGASUS_VARDATA_DIR} export PEGASUS_TEST_REPOSITORY_NAME=testrepository export PRODUCT_DIRECTORY_STRUCTURE=(\ ${PEGASUS_PROD_DIR} \ ${PEGASUS_PRODSHARE_DIR} \ ${PEGASUS_DOC_DIR} \ ${PEGASUS_MAN_DIR} \ ${PEGASUS_MANUSER_DIR} \ ${PEGASUS_MANADMIN_DIR} \ ${PEGASUS_DEST_LIB_DIR} \ ${PEGASUS_PROVIDER_DIR} \ ${PEGASUS_PROVIDER_LIB_DIR} \ ${PEGASUS_SBIN_DIR} \ ${PEGASUS_BIN_DIR} \ ${PEGASUS_MOF_DIR} \ ${PEGASUS_VARDATA_DIR} \ ${PEGASUS_REPOSITORY_DIR} \ ${PEGASUS_VARDATA_CACHE_DIR} \ ${PEGASUS_TRACE_DIR} \ ${PEGASUS_LOG_DIR} \ ${PEGASUS_LOCAL_AUTH_DIR} \ ${PEGASUS_VARRUN_DIR} \ ${PEGASUS_LOCAL_DOMAIN_SOCKET_DIR} \ ${PEGASUS_CONFIG_DIR}); From fedora-cvs-commits at redhat.com Mon Oct 3 18:01:44 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 14:01:44 -0400 Subject: rpms/tog-pegasus/devel tog-pegasus.spec,1.6,1.7 Message-ID: <200510031801.j93I1i4N032536@cvs.devel.redhat.com> Author: jvdias Update of /cvs/dist/rpms/tog-pegasus/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv32474 Modified Files: tog-pegasus.spec Log Message: - Implemented new 'make install' target. - Re-wrote tog-pegasus.spec file from scratch. - Ported BZ 167986 authentication code and BZ 167164 + BZ 167165 fixes from RHEL-4 Index: tog-pegasus.spec =================================================================== RCS file: /cvs/dist/rpms/tog-pegasus/devel/tog-pegasus.spec,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- tog-pegasus.spec 3 Oct 2005 17:52:26 -0000 1.6 +++ tog-pegasus.spec 3 Oct 2005 18:01:21 -0000 1.7 @@ -29,7 +29,6 @@ Patch0: pegasus-2.5-redhat.patch Patch1: pegasus-2.5-local-or-remote-auth.patch Patch2: pegasus-2.5-make_install.patch -BuildConflicts: tog-pegasus tog-pegasus-devel BuildRequires: bash, sed, grep, coreutils, procps, gcc, gcc-c++, libstdc++, make, pam-devel, krb5-devel, krb5-libs, openssl-devel >= 0.9.6, e2fsprogs Requires: bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam, krb5-libs, e2fsprogs, redhat-lsb, chkconfig, SysVinit, bind-utils, bind-libs, net-tools Requires(post): bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam, krb5-libs, e2fsprogs, redhat-lsb, chkconfig, SysVinit, bind-utils, bind-libs, net-tools From fedora-cvs-commits at redhat.com Mon Oct 3 18:09:26 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 14:09:26 -0400 Subject: rpms/tog-pegasus/devel tog-pegasus.spec,1.7,1.8 Message-ID: <200510031809.j93I9Q1E002236@cvs.devel.redhat.com> Author: jvdias Update of /cvs/dist/rpms/tog-pegasus/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv2074 Modified Files: tog-pegasus.spec Log Message: - Implemented new 'make install' target. - Re-wrote tog-pegasus.spec file from scratch. - Ported BZ 167986 authentication code and BZ 167164 + BZ 167165 fixes from RHEL-4 Index: tog-pegasus.spec =================================================================== RCS file: /cvs/dist/rpms/tog-pegasus/devel/tog-pegasus.spec,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- tog-pegasus.spec 3 Oct 2005 18:01:21 -0000 1.7 +++ tog-pegasus.spec 3 Oct 2005 18:09:23 -0000 1.8 @@ -139,7 +139,7 @@ %attr(0755,root,pegasus) /usr/%{_lib}/Pegasus/providers/*.so.* /usr/share/Pegasus/mof %dir /usr/share/Pegasus/scripts -%attr(0755),root,pegasus) /usr/share/Pegasus/scripts/genSSLcerts +%attr(0755,root,pegasus) /usr/share/Pegasus/scripts/genSSLcerts /usr/share/man/man*/* %doc doc/license.txt doc/Admin_Guide_Release.pdf doc/README.RedHat.Security doc/SecurityGuidelinesForDevelopers.html doc/PegasusSSLGuidelines.htm doc/MessageQueueService.html doc/ProviderLoading.txt From fedora-cvs-commits at redhat.com Mon Oct 3 18:27:59 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 14:27:59 -0400 Subject: rpms/setools/devel setools.spec,1.35,1.36 Message-ID: <200510031827.j93IRxP9017593@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/setools/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv17565 Modified Files: setools.spec Log Message: * Thu Sep 1 2005 Dan Walsh 2.1.2-1 - Upgrade to upstream version * Thu Aug 18 2005 Florian La Roche - do not package debug files into the -devel package Index: setools.spec =================================================================== RCS file: /cvs/dist/rpms/setools/devel/setools.spec,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- setools.spec 1 Sep 2005 19:34:42 -0000 1.35 +++ setools.spec 3 Oct 2005 18:27:56 -0000 1.36 @@ -1,7 +1,7 @@ Summary: SELinux tools for managing policy Name: setools Version: 2.1.2 -Release: 1 +Release: 2 License: GPL Group: System Environment/Base Source: http://www.tresys.com/Downloads/selinux-tools/setools-%{version}.tar.bz2 @@ -114,21 +114,25 @@ install -D %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d/apol install -D %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d/seuserx install -D %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d/seaudit +install -D %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d/sediffx +install -D %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d/sepcut install -D %{SOURCE2} ${RPM_BUILD_ROOT}%{_sysconfdir}/security/console.apps/apol install -D %{SOURCE3} ${RPM_BUILD_ROOT}%{_sysconfdir}/security/console.apps/seuserx install -D %{SOURCE4} ${RPM_BUILD_ROOT}%{_sysconfdir}/security/console.apps/seaudit install -D %{SOURCE8} ${RPM_BUILD_ROOT}%{_sysconfdir}/security/console.apps/sediffx -install -D %{SOURCE10} ${RPM_BUILD_ROOT}%{_sysconfdir}/security/console.apps/sediffx +install -D %{SOURCE10} ${RPM_BUILD_ROOT}%{_sysconfdir}/security/console.apps/sepcut install -D %{SOURCE5} ${RPM_BUILD_ROOT}%{_datadir}/applications/apol.desktop install -D %{SOURCE6} ${RPM_BUILD_ROOT}%{_datadir}/applications/seuserx.desktop install -D %{SOURCE7} ${RPM_BUILD_ROOT}%{_datadir}/applications/seaudit.desktop install -D %{SOURCE9} ${RPM_BUILD_ROOT}%{_datadir}/applications/sediffx.desktop -install -D %{SOURCE11} ${RPM_BUILD_ROOT}%{_datadir}/applications/sediffx.desktop +install -D %{SOURCE11} ${RPM_BUILD_ROOT}%{_datadir}/applications/sepcut.desktop cd $RPM_BUILD_ROOT/%{_bindir}/ ln -sf consolehelper apol ln -sf consolehelper seuserx ln -sf consolehelper seaudit ln -sf consolehelper sepcut +ln -sf consolehelper sediffx +ln -sf consolehelper sepcut %clean rm -rf ${RPM_BUILD_ROOT} @@ -142,6 +146,7 @@ %{_bindir}/seuserx %{_sbindir}/seuserx %{_bindir}/sediff +%{_bindir}/sediffx %{_sbindir}/sediffx %{_bindir}/awish %{_bindir}/seaudit @@ -153,13 +158,17 @@ %{_datadir}/applications/seuserx.desktop %{_datadir}/applications/seaudit.desktop %{_datadir}/applications/sediffx.desktop +%{_datadir}/applications/sepcut.desktop %config %{_sysconfdir}/pam.d/apol %config %{_sysconfdir}/pam.d/seuserx %config %{_sysconfdir}/pam.d/seaudit +%config %{_sysconfdir}/pam.d/sediffx +%config %{_sysconfdir}/pam.d/sepcut %config %{_sysconfdir}/security/console.apps/apol %config %{_sysconfdir}/security/console.apps/seuserx %config %{_sysconfdir}/security/console.apps/seaudit %config %{_sysconfdir}/security/console.apps/sediffx +%config %{_sysconfdir}/security/console.apps/sepcut %package devel Summary: Development environment for SETools From fedora-cvs-commits at redhat.com Mon Oct 3 18:53:13 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 14:53:13 -0400 Subject: rpms/setools/devel setools.spec,1.36,1.37 Message-ID: <200510031853.j93IrDhX001500@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/setools/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv1466 Modified Files: setools.spec Log Message: * Thu Sep 1 2005 Dan Walsh 2.1.2-2 - Fix spec file * Thu Sep 1 2005 Dan Walsh 2.1.2-1 - Upgrade to upstream version * Thu Aug 18 2005 Florian La Roche - do not package debug files into the -devel package Index: setools.spec =================================================================== RCS file: /cvs/dist/rpms/setools/devel/setools.spec,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- setools.spec 3 Oct 2005 18:27:56 -0000 1.36 +++ setools.spec 3 Oct 2005 18:53:11 -0000 1.37 @@ -197,6 +197,9 @@ /usr/share/doc/setools-%{version}/* %changelog +* Thu Sep 1 2005 Dan Walsh 2.1.2-2 +- Fix spec file + * Thu Sep 1 2005 Dan Walsh 2.1.2-1 - Upgrade to upstream version From fedora-cvs-commits at redhat.com Mon Oct 3 18:55:08 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 14:55:08 -0400 Subject: rpms/tog-pegasus/devel pegasus-2.5-redhat.patch,1.1,1.2 Message-ID: <200510031855.j93It8qB002476@cvs.devel.redhat.com> Author: jvdias Update of /cvs/dist/rpms/tog-pegasus/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv2444 Modified Files: pegasus-2.5-redhat.patch Log Message: pegasus-2.5-redhat.patch: Makefile.Release | 4 Makefile.ReleaseTest | 14 +- env_var_Linux.status | 30 ++-- mak/SDKMakefile | 6 mak/config-linux.mak | 8 - mak/config.mak | 4 mak/library-unix.mak | 12 + mak/objects-unix.mak | 8 - mak/program-unix.mak | 18 +- rpm/tog-pegasus.rc | 68 +++++----- rpm/wbem | 18 -- src/Clients/repupgrade/RepositoryUpgrade.cpp | 2 src/Pegasus/Common/Config.h | 7 + src/Pegasus/Common/Constants.h | 16 +- src/Pegasus/Common/Makefile | 8 - src/Pegasus/Common/MessageQueueService.cpp | 4 src/Pegasus/Common/Platform_LINUX_IX86_GNU.h | 9 - src/Pegasus/Common/System.cpp | 4 src/Pegasus/Common/SystemUnix.cpp | 2 src/Pegasus/Common/tests/DynLoad/Makefile | 2 src/Pegasus/Config/ConfigFileDirLinux.h | 4 src/Pegasus/Config/FixedPropertyTableLinux.h | 22 +-- src/Pegasus/ControlProviders/CertificateProvider/Makefile | 4 src/Pegasus/ProviderManager2/CMPI/samples/ProcessIndication/Makefile | 2 src/Pegasus/ProviderManager2/tests/ProviderManagerModule/ProviderManagerModule.cpp | 8 - src/Providers/ManagedSystem/ComputerSystem/ComputerSystem_Linux.cpp | 2 src/Providers/ManagedSystem/OperatingSystem/OperatingSystem_Linux.cpp | 2 src/Providers/ManagedSystem/Process/Process_Linux.cpp | 2 28 files changed, 156 insertions(+), 134 deletions(-) Index: pegasus-2.5-redhat.patch =================================================================== RCS file: /cvs/dist/rpms/tog-pegasus/devel/pegasus-2.5-redhat.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- pegasus-2.5-redhat.patch 3 Oct 2005 17:52:26 -0000 1.1 +++ pegasus-2.5-redhat.patch 3 Oct 2005 18:55:04 -0000 1.2 @@ -1,5 +1,5 @@ --- pegasus-2.5/Makefile.ReleaseTest.redhat 2005-05-27 13:29:01.000000000 -0400 -+++ pegasus-2.5/Makefile.ReleaseTest 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/Makefile.ReleaseTest 2005-10-03 14:49:56.000000000 -0400 @@ -54,7 +54,7 @@ endif @@ -62,7 +62,7 @@ "%attr($(Pr_xr_xr_x),$(INSTALL_USR),$(INSTALL_GRP)) $(PEGASUS_TEST_DIR)/bin/$(i)" >> $(PEGASUS_RPM_SPEC_FILE_PATH);) @$(foreach i, $(POSTSTARTTEST_FILES), $(ECHO-E) \ --- pegasus-2.5/Makefile.Release.redhat 2005-08-17 17:00:43.000000000 -0400 -+++ pegasus-2.5/Makefile.Release 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/Makefile.Release 2005-10-03 14:49:56.000000000 -0400 @@ -481,13 +481,13 @@ $(MAKE) -f $(ROOT)/Makefile.Release setpermissions PERMISSIONS="$(Prwxr_xr_x)" OWNER="$(INSTALL_USR)" GROUP="$(INSTALL_GRP)" OBJECT=$(PEGASUS_STAGING_DIR)$(PEGASUS_LOCAL_AUTH_DIR) @@ -80,7 +80,7 @@ setpermissions_PegasusProviderLibraryDirectoryFiles: FORCE --- pegasus-2.5/env_var_Linux.status.redhat 2005-09-02 14:40:58.000000000 -0400 -+++ pegasus-2.5/env_var_Linux.status 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/env_var_Linux.status 2005-10-03 14:49:56.000000000 -0400 @@ -9,6 +9,7 @@ PEGASUS_OVERRIDE_PRODUCT_ID=yes PEGASUS_PRODUCT_NAME="OpenPegasus" @@ -148,8 +148,40 @@ PEGASUS_TEST_REPOSITORY_DIR = $(PEGASUS_VARDATA_DIR) PEGASUS_TEST_REPOSITORY_NAME = testrepository +--- pegasus-2.5/mak/objects-unix.mak.redhat 2005-05-12 11:27:28.000000000 -0400 ++++ pegasus-2.5/mak/objects-unix.mak 2005-10-03 14:51:10.000000000 -0400 +@@ -50,12 +50,12 @@ + + ifeq ($(_NO_TMP_O), yes) + $(OBJ_DIR)/%.o: %.cpp $(ERROR) +- $(CXX) -c -o $@ $(FLAGS) $(EXTRA_CXX_FLAGS) $(LOCAL_DEFINES) $(DEFINES) $(SYS_INCLUDES) $(INCLUDES) $*.cpp ++ $(CXX) -c -o $@ $(FLAGS) $(EXTRA_CXX_FLAGS) $(LOCAL_DEFINES) $(DEFINES) $(INCLUDES) $(SYS_INCLUDES) $*.cpp + @ $(TOUCH) $@ + @ $(ECHO) + else + $(OBJ_DIR)/%.o: %.cpp $(ERROR) +- $(CXX) -c -o $(_TMP_O) $(FLAGS) $(EXTRA_CXX_FLAGS) $(LOCAL_DEFINES) $(DEFINES) $(SYS_INCLUDES) $(INCLUDES) $*.cpp ++ $(CXX) -c -o $(_TMP_O) $(FLAGS) $(EXTRA_CXX_FLAGS) $(LOCAL_DEFINES) $(DEFINES) $(INCLUDES) $(SYS_INCLUDES) $*.cpp + @ $(COPY) $(_TMP_O) $@ + @ $(RM) $(_TMP_O) + @ $(TOUCH) $@ +@@ -64,12 +64,12 @@ + + ifeq ($(_NO_TMP_O), yes) + $(OBJ_DIR)/%.o: %.c $(ERROR) +- $(CC) -c -o $@ $(FLAGS) $(EXTRA_C_FLAGS) $(LOCAL_DEFINES) $(DEFINES) $(SYS_INCLUDES) $(INCLUDES) $*.c ++ $(CC) -c -o $@ $(FLAGS) $(EXTRA_C_FLAGS) $(LOCAL_DEFINES) $(DEFINES) $(INCLUDES) $(SYS_INCLUDES) $*.c + @ $(TOUCH) $@ + @ $(ECHO) + else + $(OBJ_DIR)/%.o: %.c $(ERROR) +- $(CC) -c -o $(_TMP_O) $(FLAGS) $(EXTRA_C_FLAGS) $(LOCAL_DEFINES) $(DEFINES) $(SYS_INCLUDES) $(INCLUDES) $*.c ++ $(CC) -c -o $(_TMP_O) $(FLAGS) $(EXTRA_C_FLAGS) $(LOCAL_DEFINES) $(DEFINES) $(INCLUDES) $(SYS_INCLUDES) $*.c + @ $(COPY) $(_TMP_O) $@ + @ $(RM) $(_TMP_O) + @ $(TOUCH) $@ --- pegasus-2.5/mak/config-linux.mak.redhat 2005-05-12 11:27:28.000000000 -0400 -+++ pegasus-2.5/mak/config-linux.mak 2005-10-03 12:29:59.000000000 -0400 ++++ pegasus-2.5/mak/config-linux.mak 2005-10-03 14:49:56.000000000 -0400 @@ -76,10 +76,12 @@ SYS_LIBS = -ldl -lpthread @@ -183,7 +215,7 @@ endif --- pegasus-2.5/mak/SDKMakefile.redhat 2005-07-15 15:46:17.000000000 -0400 -+++ pegasus-2.5/mak/SDKMakefile 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/mak/SDKMakefile 2005-10-03 14:49:56.000000000 -0400 @@ -382,10 +382,10 @@ @$(MAKE) --directory=$(PEGASUS_ROOT)/mak -f SDKMakefile -i deregisterproviders @$(MAKE) --directory=$(PEGASUS_STAGING_DIR)$(PEGASUS_SAMPLES_DIR) -f Makefile clean \ @@ -199,7 +231,7 @@ @$(MAKE) --directory=$(PEGASUS_STAGING_DIR)$(PEGASUS_SAMPLES_DIR)/Providers/Load -f Makefile createrepository \ PEGASUS_MOF_DIR=$(PEGASUS_ROOT)/Schemas PEGASUS_BIN_DIR=$(PEGASUS_HOME)bin --- pegasus-2.5/mak/config.mak.redhat 2005-08-12 13:52:31.000000000 -0400 -+++ pegasus-2.5/mak/config.mak 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/mak/config.mak 2005-10-03 14:49:56.000000000 -0400 @@ -85,7 +85,7 @@ OBJ_DIR = $(HOME_DIR)/obj/$(DIR) @@ -219,7 +251,7 @@ ifeq ($(OS),VMS) --- pegasus-2.5/mak/program-unix.mak.redhat 2005-05-12 11:27:28.000000000 -0400 -+++ pegasus-2.5/mak/program-unix.mak 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/mak/program-unix.mak 2005-10-03 14:49:56.000000000 -0400 @@ -28,6 +28,12 @@ #//============================================================================== INCLUDES = -I$(ROOT)/src $(EXTRA_INCLUDES) @@ -275,7 +307,7 @@ + +include $(ROOT)/mak/install-program-unix.mak --- pegasus-2.5/mak/library-unix.mak.redhat 2005-05-12 11:27:28.000000000 -0400 -+++ pegasus-2.5/mak/library-unix.mak 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/mak/library-unix.mak 2005-10-03 14:49:56.000000000 -0400 @@ -32,11 +32,11 @@ ifdef PEGASUS_HAS_MESSAGES ifdef ICU_ROOT @@ -313,7 +345,7 @@ + +include $(ROOT)/mak/install-library-unix.mak --- pegasus-2.5/rpm/wbem.redhat 2003-03-13 12:25:15.000000000 -0500 -+++ pegasus-2.5/rpm/wbem 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/rpm/wbem 2005-10-03 14:49:56.000000000 -0400 @@ -1,13 +1,7 @@ #%PAM-1.0 -auth required /lib/security/pam_env.so @@ -335,7 +367,7 @@ +session required pam_stack.so service=system-auth +session required pam_loginuid.so --- pegasus-2.5/rpm/tog-pegasus.rc.redhat 2005-05-29 02:43:30.000000000 -0400 -+++ pegasus-2.5/rpm/tog-pegasus.rc 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/rpm/tog-pegasus.rc 2005-10-03 14:49:56.000000000 -0400 @@ -1,34 +1,28 @@ #! /bin/sh -#//%2005//////////////////////////////////////////////////////////////////////// @@ -434,7 +466,7 @@ status) pid=`pidofproc $CIMSERVER_BIN` --- pegasus-2.5/src/Pegasus/ProviderManager2/tests/ProviderManagerModule/ProviderManagerModule.cpp.redhat 2005-04-18 17:18:24.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/ProviderManager2/tests/ProviderManagerModule/ProviderManagerModule.cpp 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/ProviderManager2/tests/ProviderManagerModule/ProviderManagerModule.cpp 2005-10-03 14:49:56.000000000 -0400 @@ -134,7 +134,7 @@ int main(int argc, char** argv) @@ -458,7 +490,7 @@ Test1(); --- pegasus-2.5/src/Pegasus/ProviderManager2/CMPI/samples/ProcessIndication/Makefile.redhat 2005-05-12 11:30:52.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/ProviderManager2/CMPI/samples/ProcessIndication/Makefile 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/ProviderManager2/CMPI/samples/ProcessIndication/Makefile 2005-10-03 14:49:56.000000000 -0400 @@ -29,7 +29,7 @@ # Makefile for CMPIRT_SampleClass library @@ -469,7 +501,7 @@ # Changes shouldn't be necessary below this line CFLAGS=-Wall -D_COMPILE_UNIX -g -I. -I../.. --- pegasus-2.5/src/Pegasus/Config/FixedPropertyTableLinux.h.redhat 2005-07-15 19:02:21.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/Config/FixedPropertyTableLinux.h 2005-10-03 12:30:39.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/Config/FixedPropertyTableLinux.h 2005-10-03 14:49:56.000000000 -0400 @@ -45,19 +45,19 @@ {"enableBinaryRepository", "false"}, #endif @@ -502,7 +534,7 @@ #if defined(PEGASUS_USE_RELEASE_DIRS) && defined(PEGASUS_OS_LSB) {"traceFilePath", "/var/opt/lsb-pegasus/cache/cimserver.trc"}, --- pegasus-2.5/src/Pegasus/Config/ConfigFileDirLinux.h.redhat 2005-02-05 18:00:07.000000000 -0500 -+++ pegasus-2.5/src/Pegasus/Config/ConfigFileDirLinux.h 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/Config/ConfigFileDirLinux.h 2005-10-03 14:49:56.000000000 -0400 @@ -37,12 +37,12 @@ /** Default file name for the current configuration. @@ -519,7 +551,7 @@ /** Default file name for the cimserver startup file containing the PID. --- pegasus-2.5/src/Pegasus/ControlProviders/CertificateProvider/Makefile.redhat 2005-05-12 11:29:46.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/ControlProviders/CertificateProvider/Makefile 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/ControlProviders/CertificateProvider/Makefile 2005-10-03 14:49:56.000000000 -0400 @@ -56,8 +56,8 @@ ifeq ($(OS),linux) EXTRA_LIBRARIES += -lcrypt @@ -532,7 +564,7 @@ endif --- pegasus-2.5/src/Pegasus/Common/tests/DynLoad/Makefile.redhat 2005-05-12 11:28:46.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/Common/tests/DynLoad/Makefile 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/Common/tests/DynLoad/Makefile 2005-10-03 14:49:56.000000000 -0400 @@ -45,7 +45,7 @@ ifeq ($(PEGASUS_OS_TYPE),VMS) $(PROGRAM) libTestDynLib @@ -543,7 +575,7 @@ endif --- pegasus-2.5/src/Pegasus/Common/MessageQueueService.cpp.redhat 2005-08-16 18:46:53.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/Common/MessageQueueService.cpp 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/Common/MessageQueueService.cpp 2005-10-03 14:49:56.000000000 -0400 @@ -68,7 +68,9 @@ #define MAX_THREADS_PER_SVC_QUEUE_LIMIT 5000 @@ -556,7 +588,7 @@ PEGASUS_THREAD_RETURN PEGASUS_THREAD_CDECL --- pegasus-2.5/src/Pegasus/Common/Makefile.redhat 2005-06-12 18:31:19.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/Common/Makefile 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/Common/Makefile 2005-10-03 14:49:56.000000000 -0400 @@ -165,8 +165,8 @@ ifeq ($(OS),linux) EXTRA_LIBRARIES += -lcrypt @@ -583,7 +615,7 @@ ifneq ($(CL_MAJOR_VERSION), 12) SYS_LIBS += secur32.lib --- pegasus-2.5/src/Pegasus/Common/Constants.h.redhat 2005-07-27 17:02:36.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/Common/Constants.h 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/Common/Constants.h 2005-10-03 14:49:56.000000000 -0400 @@ -380,21 +380,21 @@ # define PEGASUS_PAM_STANDALONE_PROC_NAME "/opt/freeware/cimom/pegasus/bin/cimservera" # elif defined(PEGASUS_OS_LINUX) && !defined(PEGASUS_OS_LSB) @@ -615,7 +647,7 @@ # define PEGASUS_SSLCLIENT_CERTIFICATEFILE "/etc/opt/lsb-pegasus/client.pem" # undef PEGASUS_SSLCLIENT_RANDOMFILE --- pegasus-2.5/src/Pegasus/Common/System.cpp.redhat 2005-06-06 10:27:55.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/Common/System.cpp 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/Common/System.cpp 2005-10-03 14:49:56.000000000 -0400 @@ -144,13 +144,13 @@ char *System::extract_file_path(const char *fullpath, char *dirname) { @@ -633,7 +665,7 @@ { if (*p == '\\' || *p == '/') --- pegasus-2.5/src/Pegasus/Common/Platform_LINUX_IX86_GNU.h.redhat 2005-02-26 00:22:13.000000000 -0500 -+++ pegasus-2.5/src/Pegasus/Common/Platform_LINUX_IX86_GNU.h 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/Common/Platform_LINUX_IX86_GNU.h 2005-10-03 14:49:56.000000000 -0400 @@ -72,9 +72,12 @@ #include #include @@ -651,7 +683,7 @@ - #endif /* Pegasus_Platform_LINUX_IX86_GNU_h */ --- pegasus-2.5/src/Pegasus/Common/SystemUnix.cpp.redhat 2005-07-19 15:31:26.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/Common/SystemUnix.cpp 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/Common/SystemUnix.cpp 2005-10-03 14:49:56.000000000 -0400 @@ -566,7 +566,7 @@ if ((he = gethostbyname (hostName))) @@ -662,7 +694,7 @@ #if defined(PEGASUS_OS_OS400) --- pegasus-2.5/src/Pegasus/Common/Config.h.redhat 2005-05-05 14:18:42.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/Common/Config.h 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/Common/Config.h 2005-10-03 14:49:56.000000000 -0400 @@ -182,6 +182,13 @@ #define PEGASUS_MAXHOSTNAMELEN MAXHOSTNAMELEN #endif @@ -678,7 +710,7 @@ #ifdef __cplusplus PEGASUS_NAMESPACE_BEGIN --- pegasus-2.5/src/Providers/ManagedSystem/ComputerSystem/ComputerSystem_Linux.cpp.redhat 2005-03-02 13:17:32.000000000 -0500 -+++ pegasus-2.5/src/Providers/ManagedSystem/ComputerSystem/ComputerSystem_Linux.cpp 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/src/Providers/ManagedSystem/ComputerSystem/ComputerSystem_Linux.cpp 2005-10-03 14:49:56.000000000 -0400 @@ -310,7 +310,7 @@ he=gethostbyname(hostName); if (he) @@ -689,7 +721,7 @@ _hostName.assign(hostName); --- pegasus-2.5/src/Providers/ManagedSystem/OperatingSystem/OperatingSystem_Linux.cpp.redhat 2005-02-05 18:01:03.000000000 -0500 -+++ pegasus-2.5/src/Providers/ManagedSystem/OperatingSystem/OperatingSystem_Linux.cpp 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/src/Providers/ManagedSystem/OperatingSystem/OperatingSystem_Linux.cpp 2005-10-03 14:49:56.000000000 -0400 @@ -172,7 +172,7 @@ he=gethostbyname(hostName); if (he) @@ -700,7 +732,7 @@ csName.assign(hostName); --- pegasus-2.5/src/Providers/ManagedSystem/Process/Process_Linux.cpp.redhat 2005-07-15 16:46:54.000000000 -0400 -+++ pegasus-2.5/src/Providers/ManagedSystem/Process/Process_Linux.cpp 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/src/Providers/ManagedSystem/Process/Process_Linux.cpp 2005-10-03 14:49:56.000000000 -0400 @@ -782,7 +782,7 @@ he=gethostbyname(hostName); if (he) @@ -711,7 +743,7 @@ csName.assign(hostName); --- pegasus-2.5/src/Clients/repupgrade/RepositoryUpgrade.cpp.redhat 2005-06-03 16:04:34.000000000 -0400 -+++ pegasus-2.5/src/Clients/repupgrade/RepositoryUpgrade.cpp 2005-10-03 12:29:48.000000000 -0400 ++++ pegasus-2.5/src/Clients/repupgrade/RepositoryUpgrade.cpp 2005-10-03 14:49:57.000000000 -0400 @@ -2075,7 +2075,7 @@ fileName = _pegasusHome + "/bin/" + FileSystem::buildLibraryFileName(moduleName); From fedora-cvs-commits at redhat.com Mon Oct 3 18:59:34 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 14:59:34 -0400 Subject: rpms/setools/FC-4 setools.spec,1.34,1.35 Message-ID: <200510031859.j93IxYGe004561@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/setools/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv4531 Modified Files: setools.spec Log Message: * Mon Oct 3 2005 Dan Walsh 2.1.2-2.1 - Bump for FC4 Index: setools.spec =================================================================== RCS file: /cvs/dist/rpms/setools/FC-4/setools.spec,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- setools.spec 26 Sep 2005 15:14:35 -0000 1.34 +++ setools.spec 3 Oct 2005 18:59:32 -0000 1.35 @@ -1,7 +1,7 @@ Summary: SELinux tools for managing policy Name: setools Version: 2.1.2 -Release: 1.1 +Release: 2 License: GPL Group: System Environment/Base Source: http://www.tresys.com/Downloads/selinux-tools/setools-%{version}.tar.bz2 @@ -114,21 +114,25 @@ install -D %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d/apol install -D %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d/seuserx install -D %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d/seaudit +install -D %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d/sediffx +install -D %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d/sepcut install -D %{SOURCE2} ${RPM_BUILD_ROOT}%{_sysconfdir}/security/console.apps/apol install -D %{SOURCE3} ${RPM_BUILD_ROOT}%{_sysconfdir}/security/console.apps/seuserx install -D %{SOURCE4} ${RPM_BUILD_ROOT}%{_sysconfdir}/security/console.apps/seaudit install -D %{SOURCE8} ${RPM_BUILD_ROOT}%{_sysconfdir}/security/console.apps/sediffx -install -D %{SOURCE10} ${RPM_BUILD_ROOT}%{_sysconfdir}/security/console.apps/sediffx +install -D %{SOURCE10} ${RPM_BUILD_ROOT}%{_sysconfdir}/security/console.apps/sepcut install -D %{SOURCE5} ${RPM_BUILD_ROOT}%{_datadir}/applications/apol.desktop install -D %{SOURCE6} ${RPM_BUILD_ROOT}%{_datadir}/applications/seuserx.desktop install -D %{SOURCE7} ${RPM_BUILD_ROOT}%{_datadir}/applications/seaudit.desktop install -D %{SOURCE9} ${RPM_BUILD_ROOT}%{_datadir}/applications/sediffx.desktop -install -D %{SOURCE11} ${RPM_BUILD_ROOT}%{_datadir}/applications/sediffx.desktop +install -D %{SOURCE11} ${RPM_BUILD_ROOT}%{_datadir}/applications/sepcut.desktop cd $RPM_BUILD_ROOT/%{_bindir}/ ln -sf consolehelper apol ln -sf consolehelper seuserx ln -sf consolehelper seaudit ln -sf consolehelper sepcut +ln -sf consolehelper sediffx +ln -sf consolehelper sepcut %clean rm -rf ${RPM_BUILD_ROOT} @@ -142,6 +146,7 @@ %{_bindir}/seuserx %{_sbindir}/seuserx %{_bindir}/sediff +%{_bindir}/sediffx %{_sbindir}/sediffx %{_bindir}/awish %{_bindir}/seaudit @@ -153,13 +158,17 @@ %{_datadir}/applications/seuserx.desktop %{_datadir}/applications/seaudit.desktop %{_datadir}/applications/sediffx.desktop +%{_datadir}/applications/sepcut.desktop %config %{_sysconfdir}/pam.d/apol %config %{_sysconfdir}/pam.d/seuserx %config %{_sysconfdir}/pam.d/seaudit +%config %{_sysconfdir}/pam.d/sediffx +%config %{_sysconfdir}/pam.d/sepcut %config %{_sysconfdir}/security/console.apps/apol %config %{_sysconfdir}/security/console.apps/seuserx %config %{_sysconfdir}/security/console.apps/seaudit %config %{_sysconfdir}/security/console.apps/sediffx +%config %{_sysconfdir}/security/console.apps/sepcut %package devel Summary: Development environment for SETools @@ -188,6 +197,12 @@ /usr/share/doc/setools-%{version}/* %changelog +* Mon Oct 3 2005 Dan Walsh 2.1.2-2.1 +- Bump for FC4 + +* Mon Oct 3 2005 Dan Walsh 2.1.2-2 +- Fix spec file + * Mon Sep 26 2005 Dan Walsh 2.1.2-1.1 - Bump for FC4 From fedora-cvs-commits at redhat.com Mon Oct 3 19:00:03 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 15:00:03 -0400 Subject: rpms/setools/FC-4 setools.spec,1.35,1.36 Message-ID: <200510031900.j93J03Ar004844@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/setools/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv4797 Modified Files: setools.spec Log Message: * Mon Oct 3 2005 Dan Walsh 2.1.2-2.1 - Bump for FC4 Index: setools.spec =================================================================== RCS file: /cvs/dist/rpms/setools/FC-4/setools.spec,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- setools.spec 3 Oct 2005 18:59:32 -0000 1.35 +++ setools.spec 3 Oct 2005 19:00:00 -0000 1.36 @@ -1,7 +1,7 @@ Summary: SELinux tools for managing policy Name: setools Version: 2.1.2 -Release: 2 +Release: 2.1 License: GPL Group: System Environment/Base Source: http://www.tresys.com/Downloads/selinux-tools/setools-%{version}.tar.bz2 From fedora-cvs-commits at redhat.com Mon Oct 3 20:06:49 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 16:06:49 -0400 Subject: rpms/gtk2/devel .cvsignore, 1.37, 1.38 gtk2.spec, 1.93, 1.94 sources, 1.39, 1.40 Message-ID: <200510032006.j93K6n6G028314@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/gtk2/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv28281 Modified Files: .cvsignore gtk2.spec sources Log Message: 2.8.5 Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/gtk2/devel/.cvsignore,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- .cvsignore 27 Sep 2005 16:39:19 -0000 1.37 +++ .cvsignore 3 Oct 2005 20:06:46 -0000 1.38 @@ -20,3 +20,4 @@ gtk+-2.8.0.tar.bz2 gtk+-2.8.3.tar.bz2 gtk+-2.8.4.tar.bz2 +gtk+-2.8.5.tar.bz2 Index: gtk2.spec =================================================================== RCS file: /cvs/dist/rpms/gtk2/devel/gtk2.spec,v retrieving revision 1.93 retrieving revision 1.94 diff -u -r1.93 -r1.94 --- gtk2.spec 30 Sep 2005 14:29:52 -0000 1.93 +++ gtk2.spec 3 Oct 2005 20:06:46 -0000 1.94 @@ -10,13 +10,13 @@ %define cairo_version %{cairo_base_version}-1 %define libpng_version 2:1.2.2-16 -%define base_version 2.8.4 +%define base_version 2.8.5 %define bin_version 2.4.0 Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X. Name: gtk2 Version: %{base_version} -Release: 2 +Release: 1 License: LGPL Group: System Environment/Libraries Source: gtk+-%{version}.tar.bz2 @@ -24,8 +24,6 @@ # Biarch changes Patch0: gtk+-2.4.1-lib64.patch -# fixed in 2.8.5 -Patch1: gtk+-2.8.4-size-overflow.patch BuildPrereq: atk-devel >= %{atk_version} BuildPrereq: pango-devel >= %{pango_version} @@ -85,7 +83,6 @@ (cd .. && tar xzf %{SOURCE1}) %patch0 -p1 -b .lib64 -%patch1 -p1 -b .size-overflow for i in config.guess config.sub ; do test -f %{_datadir}/libtool/$i && cp %{_datadir}/libtool/$i . @@ -254,6 +251,9 @@ %doc tmpdocs/examples %changelog +* Mon Oct 3 2005 Matthias Clasen 2.8.5-1 +- New upstream version + * Fri Sep 30 2005 Matthias Clasen 2.8.4-2 - Prevent an overflow in size hints handling Index: sources =================================================================== RCS file: /cvs/dist/rpms/gtk2/devel/sources,v retrieving revision 1.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- sources 27 Sep 2005 16:39:19 -0000 1.39 +++ sources 3 Oct 2005 20:06:47 -0000 1.40 @@ -1,2 +1,2 @@ cc70205392e209ae73eff74e020111f2 update-scripts.tar.gz -ae14972d22ac338d87c56b6075dfd2a4 gtk+-2.8.4.tar.bz2 +cc25d162c5924e9bae02fb04c6fd494d gtk+-2.8.5.tar.bz2 From fedora-cvs-commits at redhat.com Mon Oct 3 21:25:47 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 17:25:47 -0400 Subject: rpms/glibc/devel .cvsignore, 1.115, 1.116 glibc-fedora.patch, 1.103, 1.104 glibc.spec, 1.176, 1.177 sources, 1.137, 1.138 Message-ID: <200510032125.j93LPllW004793@cvs.devel.redhat.com> Author: jakub Update of /cvs/dist/rpms/glibc/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv4769/devel Modified Files: .cvsignore glibc-fedora.patch glibc.spec sources Log Message: auto-import glibc-2.3.90-13 on branch devel from glibc-2.3.90-13.src.rpm Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/glibc/devel/.cvsignore,v retrieving revision 1.115 retrieving revision 1.116 diff -u -r1.115 -r1.116 --- .cvsignore 12 Sep 2005 13:32:59 -0000 1.115 +++ .cvsignore 3 Oct 2005 21:25:44 -0000 1.116 @@ -1,2 +1,2 @@ -glibc-20050912T0656.tar.bz2 -glibc-fedora-20050912T0656.tar.bz2 +glibc-20051003T2040.tar.bz2 +glibc-fedora-20051003T2040.tar.bz2 glibc-fedora.patch: ChangeLog | 34 ++ ChangeLog.11 | 21 + ChangeLog.12 | 12 ChangeLog.15 | 45 +++ csu/elf-init.c | 18 + debug/tst-chk1.c | 7 elf/ldconfig.c | 25 + elf/tst-stackguard1.c | 8 iconv/iconvconfig.c | 55 ++- include/features.h | 8 intl/locale.alias | 2 libio/bits/stdio2.h | 19 + libio/stdio.h | 2 locale/iso-4217.def | 13 locale/programs/3level.h | 36 ++ localedata/Makefile | 1 localedata/SUPPORTED | 6 localedata/locales/cy_GB | 7 localedata/locales/en_GB | 4 localedata/locales/no_NO | 69 ++++ localedata/locales/zh_TW | 6 nptl/ChangeLog | 19 + nptl/Makefile | 8 nptl/sysdeps/unix/sysv/linux/kernel-features.h | 6 nptl/tst-stackguard1.c | 8 nscd/connections.c | 15 + nscd/nscd.c | 4 nscd/nscd.conf | 4 nscd/nscd.init | 19 - nscd/selinux.c | 2 posix/Makefile | 19 - posix/getconf.speclist.h | 15 + sysdeps/generic/dl-cache.h | 8 sysdeps/ia64/Makefile | 4 sysdeps/ia64/ia64libgcc.S | 350 ------------------------- sysdeps/ia64/libgcc-compat.c | 84 ++++++ sysdeps/unix/nice.c | 7 sysdeps/unix/sysv/linux/dl-osinfo.h | 29 ++ sysdeps/unix/sysv/linux/i386/dl-cache.h | 59 ++++ sysdeps/unix/sysv/linux/ia64/dl-cache.h | 27 + sysdeps/unix/sysv/linux/ia64/dl-procinfo.c | 5 sysdeps/unix/sysv/linux/ia64/dl-procinfo.h | 5 sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed | 2 sysdeps/unix/sysv/linux/paths.h | 2 sysdeps/unix/sysv/linux/readonly-area.c | 5 sysdeps/unix/sysv/linux/tcsetattr.c | 32 ++ 46 files changed, 699 insertions(+), 437 deletions(-) Index: glibc-fedora.patch =================================================================== RCS file: /cvs/dist/rpms/glibc/devel/glibc-fedora.patch,v retrieving revision 1.103 retrieving revision 1.104 diff -u -r1.103 -r1.104 --- glibc-fedora.patch 12 Sep 2005 13:32:59 -0000 1.103 +++ glibc-fedora.patch 3 Oct 2005 21:25:44 -0000 1.104 @@ -1,16 +1,15 @@ ---- glibc-20050912T0656/ChangeLog 10 Sep 2005 03:20:33 -0000 1.9521 -+++ glibc-20050912T0656-fedora/ChangeLog 12 Sep 2005 09:38:54 -0000 1.8782.2.126 -@@ -1,3 +1,9 @@ -+2005-09-12 Jakub Jelinek -+ -+ * malloc.c (struct malloc_chunk): Fix comment typo. -+ (public_cALLOc): For mmapped chunks and perturb_byte != 0, -+ don't clear SIZE_SZ bytes more than should be cleared. +--- glibc-20051003T2040/ChangeLog 3 Oct 2005 19:37:50 -0000 1.9579 ++++ glibc-20051003T2040-fedora/ChangeLog 3 Oct 2005 20:54:46 -0000 1.8782.2.128 +@@ -1,3 +1,8 @@ ++2005-10-03 Jakub Jelinek + - 2005-09-09 Jakub Jelinek ++ * nscd/selinux.c (audit_init): Print error string in the failure ++ message. ++ + 2005-10-03 Roland McGrath - * inet/getnetgrent_r.c: Include assert. -@@ -492,6 +498,12 @@ + * sysdeps/powerpc/nofpu: Directory removed, saved in ports repository. +@@ -992,6 +997,12 @@ * argp/argp-help.c (__argp_error): __asprintf -> vasprintf. (__argp_failure): Likewise. @@ -23,7 +22,7 @@ 2005-08-08 Ulrich Drepper * nscd/cache.c (cache_add): Commit hash table and header to disk. -@@ -614,6 +626,17 @@ +@@ -1114,6 +1125,17 @@ __syslog_chk. * misc/Versions: Export __syslog_chk and __vsyslog_chk. @@ -41,7 +40,7 @@ 2005-07-28 Thomas Schwinge [BZ #1137] -@@ -3665,6 +3688,18 @@ +@@ -4165,6 +4187,18 @@ * scripts/soversions.awk: Fix default version set handling. @@ -60,8 +59,8 @@ 2005-02-10 Roland McGrath [BZ #157] ---- glibc-20050912T0656/ChangeLog.11 10 Nov 2000 03:31:36 -0000 1.1 -+++ glibc-20050912T0656-fedora/ChangeLog.11 22 Sep 2004 21:20:47 -0000 1.1.4.1 +--- glibc-20051003T2040/ChangeLog.11 10 Nov 2000 03:31:36 -0000 1.1 ++++ glibc-20051003T2040-fedora/ChangeLog.11 22 Sep 2004 21:20:47 -0000 1.1.4.1 @@ -1352,6 +1352,11 @@ * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the end of inline assembler code. @@ -111,8 +110,8 @@ * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add __extension__ to hexadecimal floating constant notation. * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): ---- glibc-20050912T0656/ChangeLog.12 16 Aug 2001 05:24:54 -0000 1.1 -+++ glibc-20050912T0656-fedora/ChangeLog.12 22 Sep 2004 21:20:47 -0000 1.1.4.1 +--- glibc-20051003T2040/ChangeLog.12 16 Aug 2001 05:24:54 -0000 1.1 ++++ glibc-20051003T2040-fedora/ChangeLog.12 22 Sep 2004 21:20:47 -0000 1.1.4.1 @@ -7729,6 +7729,13 @@ * Versions.def [ld]: Add GLIBC_2.2.1. @@ -139,8 +138,8 @@ 2001-01-02 Franz Sirl * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo. ---- glibc-20050912T0656/ChangeLog.15 16 Feb 2005 07:34:17 -0000 1.1 -+++ glibc-20050912T0656-fedora/ChangeLog.15 3 Mar 2005 17:29:57 -0000 1.1.6.2 +--- glibc-20051003T2040/ChangeLog.15 16 Feb 2005 07:34:17 -0000 1.1 ++++ glibc-20051003T2040-fedora/ChangeLog.15 3 Mar 2005 17:29:57 -0000 1.1.6.2 @@ -477,6 +477,14 @@ 2004-11-26 Jakub Jelinek @@ -221,8 +220,8 @@ 2004-08-30 Roland McGrath * scripts/extract-abilist.awk: If `lastversion' variable defined, omit ---- glibc-20050912T0656/csu/elf-init.c 7 Jul 2005 22:56:11 -0000 1.7 -+++ glibc-20050912T0656-fedora/csu/elf-init.c 8 Jul 2005 09:09:45 -0000 1.3.2.4 +--- glibc-20051003T2040/csu/elf-init.c 7 Jul 2005 22:56:11 -0000 1.7 ++++ glibc-20051003T2040-fedora/csu/elf-init.c 8 Jul 2005 09:09:45 -0000 1.3.2.4 @@ -48,6 +48,24 @@ extern void (*__init_array_end []) (int, attribute_hidden; extern void (*__fini_array_start []) (void) attribute_hidden; @@ -248,8 +247,8 @@ #endif /* These function symbols are provided for the .init/.fini section entry ---- glibc-20050912T0656/debug/tst-chk1.c 22 Aug 2005 15:12:34 -0000 1.14 -+++ glibc-20050912T0656-fedora/debug/tst-chk1.c 24 Aug 2005 07:23:26 -0000 1.1.2.15 +--- glibc-20051003T2040/debug/tst-chk1.c 22 Aug 2005 15:12:34 -0000 1.14 ++++ glibc-20051003T2040-fedora/debug/tst-chk1.c 24 Aug 2005 07:23:26 -0000 1.1.2.15 @@ -17,6 +17,9 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ @@ -278,8 +277,8 @@ # define O 0 #else # define O 1 ---- glibc-20050912T0656/elf/ldconfig.c 7 Apr 2005 20:56:56 -0000 1.49 -+++ glibc-20050912T0656-fedora/elf/ldconfig.c 15 Apr 2005 09:32:44 -0000 1.47.2.3 +--- glibc-20051003T2040/elf/ldconfig.c 7 Apr 2005 20:56:56 -0000 1.49 ++++ glibc-20051003T2040-fedora/elf/ldconfig.c 15 Apr 2005 09:32:44 -0000 1.47.2.3 @@ -953,17 +953,19 @@ search_dirs (void) @@ -361,8 +360,8 @@ } search_dirs (); ---- glibc-20050912T0656/elf/tst-stackguard1.c 26 Jun 2005 18:08:36 -0000 1.1 -+++ glibc-20050912T0656-fedora/elf/tst-stackguard1.c 8 Aug 2005 21:24:27 -0000 1.1.2.3 +--- glibc-20051003T2040/elf/tst-stackguard1.c 26 Jun 2005 18:08:36 -0000 1.1 ++++ glibc-20051003T2040-fedora/elf/tst-stackguard1.c 8 Aug 2005 21:24:27 -0000 1.1.2.3 @@ -160,17 +160,21 @@ do_test (void) the 16 runs, something is very wrong. */ int ndifferences = 0; @@ -387,8 +386,8 @@ { puts ("stack guard canaries are not randomized enough"); puts ("nor equal to the default canary value"); ---- glibc-20050912T0656/iconv/iconvconfig.c 3 Mar 2005 08:28:02 -0000 1.23 -+++ glibc-20050912T0656-fedora/iconv/iconvconfig.c 3 Mar 2005 14:03:15 -0000 1.19.2.4 +--- glibc-20051003T2040/iconv/iconvconfig.c 3 Mar 2005 08:28:02 -0000 1.23 ++++ glibc-20051003T2040-fedora/iconv/iconvconfig.c 3 Mar 2005 14:03:15 -0000 1.19.2.4 @@ -1013,6 +1013,34 @@ next_prime (uint32_t seed) module name offset (following last entry with step count 0) @@ -465,8 +464,8 @@ /* Open the output file. */ if (output_file == NULL) { ---- glibc-20050912T0656/include/features.h 17 Feb 2005 01:10:58 -0000 1.38 -+++ glibc-20050912T0656-fedora/include/features.h 27 Jun 2005 13:04:16 -0000 1.35.2.8 +--- glibc-20051003T2040/include/features.h 17 Feb 2005 01:10:58 -0000 1.38 ++++ glibc-20051003T2040-fedora/include/features.h 27 Jun 2005 13:04:16 -0000 1.35.2.8 @@ -262,7 +262,13 @@ # define __USE_REENTRANT 1 #endif @@ -482,8 +481,8 @@ # if _FORTIFY_SOURCE == 1 # define __USE_FORTIFY_LEVEL 1 # elif _FORTIFY_SOURCE > 1 ---- glibc-20050912T0656/intl/locale.alias 4 Dec 2003 07:57:47 -0000 1.23 -+++ glibc-20050912T0656-fedora/intl/locale.alias 22 Sep 2004 21:20:53 -0000 1.23.2.1 +--- glibc-20051003T2040/intl/locale.alias 4 Dec 2003 07:57:47 -0000 1.23 ++++ glibc-20051003T2040-fedora/intl/locale.alias 22 Sep 2004 21:20:53 -0000 1.23.2.1 @@ -58,8 +58,6 @@ korean ko_KR.eucKR korean.euc ko_KR.eucKR ko_KR ko_KR.eucKR @@ -493,8 +492,8 @@ norwegian nb_NO.ISO-8859-1 nynorsk nn_NO.ISO-8859-1 polish pl_PL.ISO-8859-2 ---- glibc-20050912T0656/libio/stdio.h 1 Sep 2005 15:14:59 -0000 1.82 -+++ glibc-20050912T0656-fedora/libio/stdio.h 12 Sep 2005 07:10:33 -0000 1.78.2.5 +--- glibc-20051003T2040/libio/stdio.h 1 Sep 2005 15:14:59 -0000 1.82 ++++ glibc-20051003T2040-fedora/libio/stdio.h 12 Sep 2005 07:10:33 -0000 1.78.2.5 @@ -142,10 +142,12 @@ typedef _G_fpos64_t fpos64_t; extern struct _IO_FILE *stdin; /* Standard input stream. */ extern struct _IO_FILE *stdout; /* Standard output stream. */ @@ -508,8 +507,8 @@ __BEGIN_NAMESPACE_STD /* Remove file FILENAME. */ ---- glibc-20050912T0656/libio/bits/stdio2.h 19 Mar 2005 00:14:58 -0000 1.4 -+++ glibc-20050912T0656-fedora/libio/bits/stdio2.h 27 Jun 2005 13:04:16 -0000 1.1.2.6 +--- glibc-20051003T2040/libio/bits/stdio2.h 19 Mar 2005 00:14:58 -0000 1.4 ++++ glibc-20051003T2040-fedora/libio/bits/stdio2.h 27 Jun 2005 13:04:16 -0000 1.1.2.6 @@ -61,14 +61,25 @@ extern int __vfprintf_chk (FILE *__restr extern int __vprintf_chk (int __flag, __const char *__restrict __format, _G_va_list __ap); @@ -540,8 +539,8 @@ #endif ---- glibc-20050912T0656/locale/iso-4217.def 20 Mar 2005 04:14:36 -0000 1.16 -+++ glibc-20050912T0656-fedora/locale/iso-4217.def 24 Mar 2005 08:19:03 -0000 1.15.2.2 +--- glibc-20051003T2040/locale/iso-4217.def 23 Sep 2005 19:07:54 -0000 1.18 ++++ glibc-20051003T2040-fedora/locale/iso-4217.def 3 Oct 2005 20:44:15 -0000 1.15.2.3 @@ -8,6 +8,7 @@ * * !!! The list has to be sorted !!! @@ -633,8 +632,8 @@ DEFINE_INT_CURR("PYG") /* Paraguay Guarani */ DEFINE_INT_CURR("QAR") /* Qatar Rial */ DEFINE_INT_CURR("ROL") /* Romanian Leu */ ---- glibc-20050912T0656/locale/programs/3level.h 13 Jun 2003 20:45:38 -0000 1.5 -+++ glibc-20050912T0656-fedora/locale/programs/3level.h 22 Sep 2004 21:20:58 -0000 1.5.2.1 +--- glibc-20051003T2040/locale/programs/3level.h 13 Jun 2003 20:45:38 -0000 1.5 ++++ glibc-20051003T2040-fedora/locale/programs/3level.h 22 Sep 2004 21:20:58 -0000 1.5.2.1 @@ -204,6 +204,42 @@ CONCAT(TABLE,_iterate) (struct TABLE *t, } } @@ -678,8 +677,8 @@ #endif #ifndef NO_FINALIZE ---- glibc-20050912T0656/localedata/Makefile 7 Aug 2004 23:38:13 -0000 1.101 -+++ glibc-20050912T0656-fedora/localedata/Makefile 22 Sep 2004 21:20:58 -0000 1.101.2.1 +--- glibc-20051003T2040/localedata/Makefile 25 Sep 2005 17:01:12 -0000 1.102 ++++ glibc-20051003T2040-fedora/localedata/Makefile 3 Oct 2005 20:44:15 -0000 1.101.2.2 @@ -222,6 +222,7 @@ $(INSTALL-SUPPORTED-LOCALES): install-lo echo -n '...'; \ input=`echo $$locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'`; \ @@ -688,9 +687,9 @@ -i locales/$$input -c -f charmaps/$$charset \ $(addprefix --prefix=,$(install_root)) $$locale; \ echo ' done'; \ ---- glibc-20050912T0656/localedata/SUPPORTED 28 Apr 2005 14:21:30 -0000 1.75 -+++ glibc-20050912T0656-fedora/localedata/SUPPORTED 3 May 2005 09:28:25 -0000 1.71.2.5 -@@ -68,6 +68,7 @@ cy_GB.UTF-8/UTF-8 \ +--- glibc-20051003T2040/localedata/SUPPORTED 25 Sep 2005 17:11:48 -0000 1.80 ++++ glibc-20051003T2040-fedora/localedata/SUPPORTED 3 Oct 2005 20:44:15 -0000 1.71.2.6 +@@ -69,6 +69,7 @@ cy_GB.UTF-8/UTF-8 \ cy_GB/ISO-8859-14 \ da_DK.UTF-8/UTF-8 \ da_DK/ISO-8859-1 \ @@ -698,7 +697,7 @@ de_AT.UTF-8/UTF-8 \ de_AT/ISO-8859-1 \ de_AT at euro/ISO-8859-15 \ -@@ -94,6 +95,7 @@ en_DK.UTF-8/UTF-8 \ +@@ -95,6 +96,7 @@ en_DK.UTF-8/UTF-8 \ en_DK/ISO-8859-1 \ en_GB.UTF-8/UTF-8 \ en_GB/ISO-8859-1 \ @@ -706,7 +705,7 @@ en_HK.UTF-8/UTF-8 \ en_HK/ISO-8859-1 \ en_IE.UTF-8/UTF-8 \ -@@ -108,6 +110,7 @@ en_SG.UTF-8/UTF-8 \ +@@ -109,6 +111,7 @@ en_SG.UTF-8/UTF-8 \ en_SG/ISO-8859-1 \ en_US.UTF-8/UTF-8 \ en_US/ISO-8859-1 \ @@ -714,7 +713,7 @@ en_ZA.UTF-8/UTF-8 \ en_ZA/ISO-8859-1 \ en_ZW.UTF-8/UTF-8 \ -@@ -253,6 +256,8 @@ nl_NL/ISO-8859-1 \ +@@ -260,6 +263,8 @@ nl_NL/ISO-8859-1 \ nl_NL at euro/ISO-8859-15 \ nn_NO.UTF-8/UTF-8 \ nn_NO/ISO-8859-1 \ @@ -723,7 +722,7 @@ oc_FR.UTF-8/UTF-8 \ oc_FR/ISO-8859-1 \ om_ET/UTF-8 \ -@@ -297,6 +302,7 @@ sv_FI/ISO-8859-1 \ +@@ -304,6 +309,7 @@ sv_FI/ISO-8859-1 \ sv_FI at euro/ISO-8859-15 \ sv_SE.UTF-8/UTF-8 \ sv_SE/ISO-8859-1 \ @@ -731,8 +730,8 @@ ta_IN/UTF-8 \ te_IN/UTF-8 \ tg_TJ.UTF-8/UTF-8 \ ---- glibc-20050912T0656/localedata/locales/cy_GB 28 Sep 2004 04:37:33 -0000 1.4 -+++ glibc-20050912T0656-fedora/localedata/locales/cy_GB 29 Sep 2004 08:48:23 -0000 1.3.2.2 +--- glibc-20051003T2040/localedata/locales/cy_GB 28 Sep 2004 04:37:33 -0000 1.4 ++++ glibc-20051003T2040-fedora/localedata/locales/cy_GB 29 Sep 2004 08:48:23 -0000 1.3.2.2 @@ -248,8 +248,11 @@ mon "" d_fmt "" @@ -747,8 +746,8 @@ END LC_TIME LC_MESSAGES ---- glibc-20050912T0656/localedata/locales/en_GB 31 Oct 2004 23:42:26 -0000 1.12 -+++ glibc-20050912T0656-fedora/localedata/locales/en_GB 2 Nov 2004 12:25:47 -0000 1.10.2.2 +--- glibc-20051003T2040/localedata/locales/en_GB 31 Oct 2004 23:42:26 -0000 1.12 ++++ glibc-20051003T2040-fedora/localedata/locales/en_GB 2 Nov 2004 12:25:47 -0000 1.10.2.2 @@ -112,8 +112,8 @@ mon "" d_fmt "" @@ -760,8 +759,8 @@ date_fmt "/ / " ---- glibc-20050912T0656/localedata/locales/no_NO 1 Jan 1970 00:00:00 -0000 -+++ glibc-20050912T0656-fedora/localedata/locales/no_NO 22 Sep 2004 21:21:01 -0000 1.11.2.1 +--- glibc-20051003T2040/localedata/locales/no_NO 1 Jan 1970 00:00:00 -0000 ++++ glibc-20051003T2040-fedora/localedata/locales/no_NO 22 Sep 2004 21:21:01 -0000 1.11.2.1 @@ -0,0 +1,69 @@ +escape_char / +comment_char % @@ -832,8 +831,8 @@ +LC_ADDRESS +copy "nb_NO" +END LC_ADDRESS ---- glibc-20050912T0656/localedata/locales/zh_TW 31 Oct 2004 23:42:28 -0000 1.7 -+++ glibc-20050912T0656-fedora/localedata/locales/zh_TW 2 Nov 2004 12:25:57 -0000 1.5.2.2 +--- glibc-20051003T2040/localedata/locales/zh_TW 31 Oct 2004 23:42:28 -0000 1.7 ++++ glibc-20051003T2040-fedora/localedata/locales/zh_TW 2 Nov 2004 12:25:57 -0000 1.5.2.2 @@ -1,7 +1,7 @@ comment_char % escape_char / @@ -861,35 +860,9 @@ revision "0.2" date "2000-08-02" % ---- glibc-20050912T0656/malloc/malloc.c 20 Mar 2005 18:08:52 -0000 1.148 -+++ glibc-20050912T0656-fedora/malloc/malloc.c 12 Sep 2005 09:39:03 -0000 1.127.2.18 -@@ -1726,7 +1726,7 @@ struct malloc_chunk { - mem-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | User data starts here... . - . . -- . (malloc_usable_space() bytes) . -+ . (malloc_usable_size() bytes) . - . | - nextchunk-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Size of chunk | -@@ -3691,8 +3691,12 @@ public_cALLOc(size_t n, size_t elem_size - - /* Two optional cases in which clearing not necessary */ - #if HAVE_MMAP -- if (perturb_byte == 0 && chunk_is_mmapped(p)) -- return mem; -+ if (chunk_is_mmapped (p)) -+ { -+ if (__builtin_expect (perturb_byte, 0)) -+ MALLOC_ZERO (mem, sz); -+ return mem; -+ } - #endif - - csz = chunksize(p); ---- glibc-20050912T0656/nptl/ChangeLog 8 Sep 2005 17:41:56 -0000 1.795 -+++ glibc-20050912T0656-fedora/nptl/ChangeLog 12 Sep 2005 07:10:36 -0000 1.706.2.58 -@@ -35,6 +35,15 @@ +--- glibc-20051003T2040/nptl/ChangeLog 2 Oct 2005 15:40:54 -0000 1.799 ++++ glibc-20051003T2040-fedora/nptl/ChangeLog 3 Oct 2005 20:44:16 -0000 1.706.2.59 +@@ -70,6 +70,15 @@ Use __sigfillset. Document that sigfillset does the right thing wrt to SIGSETXID. @@ -905,7 +878,7 @@ 2005-07-11 Jakub Jelinek [BZ #1102] -@@ -770,6 +779,11 @@ +@@ -805,6 +814,11 @@ Move definition inside libpthread, libc, librt check. Provide definition for rtld. @@ -917,7 +890,7 @@ 2004-09-02 Ulrich Drepper * sysdeps/alpha/jmpbuf-unwind.h: Define __libc_unwind_longjmp. -@@ -2844,6 +2858,11 @@ +@@ -2879,6 +2893,11 @@ * Makefile [$(build-shared) = yes] (tests): Depend on $(test-modules). @@ -929,8 +902,8 @@ 2003-07-25 Jakub Jelinek * tst-cancel17.c (do_test): Check if aio_cancel failed. ---- glibc-20050912T0656/nptl/Makefile 11 Jul 2005 16:40:21 -0000 1.169 -+++ glibc-20050912T0656-fedora/nptl/Makefile 21 Jul 2005 08:25:47 -0000 1.157.2.12 +--- glibc-20051003T2040/nptl/Makefile 11 Jul 2005 16:40:21 -0000 1.169 ++++ glibc-20051003T2040-fedora/nptl/Makefile 21 Jul 2005 08:25:47 -0000 1.157.2.12 @@ -502,15 +502,19 @@ $(addprefix $(objpfx), \ $(tests) $(xtests) $(test-srcs))): $(objpfx)libpthread.so \ $(objpfx)libpthread_nonshared.a @@ -953,51 +926,8 @@ else $(addprefix $(objpfx),$(tests) $(test-srcs)): $(objpfx)libpthread.a endif ---- glibc-20050912T0656/nptl/pthread_cond_destroy.c 2 Sep 2004 18:45:37 -0000 1.5 -+++ glibc-20050912T0656-fedora/nptl/pthread_cond_destroy.c 22 Sep 2004 21:21:01 -0000 1.5.2.1 -@@ -44,15 +44,35 @@ __pthread_cond_destroy (cond) - broadcasted, but still are using the pthread_cond_t structure, - pthread_cond_destroy needs to wait for them. */ - unsigned int nwaiters = cond->__data.__nwaiters; -- while (nwaiters >= (1 << COND_CLOCK_BITS)) -+ -+ if (nwaiters >= (1 << COND_CLOCK_BITS)) - { -- lll_mutex_unlock (cond->__data.__lock); -+ /* Wake everybody on the associated mutex in case there are -+ threads that have been requeued to it. -+ Without this, pthread_cond_destroy could block potentially -+ for a long time or forever, as it would depend on other -+ thread's using the mutex. -+ When all threads waiting on the mutex are woken up, pthread_cond_wait -+ only waits for threads to acquire and release the internal -+ condvar lock. */ -+ if (cond->__data.__mutex != NULL -+ && cond->__data.__mutex != (void *) ~0l) -+ { -+ pthread_mutex_t *mut = (pthread_mutex_t *) cond->__data.__mutex; -+ lll_futex_wake (&mut->__data.__lock, INT_MAX); -+ } -+ -+ do -+ { -+ lll_mutex_unlock (cond->__data.__lock); - -- lll_futex_wait (&cond->__data.__nwaiters, nwaiters); -+ lll_futex_wait (&cond->__data.__nwaiters, nwaiters); - -- lll_mutex_lock (cond->__data.__lock); -+ lll_mutex_lock (cond->__data.__lock); - -- nwaiters = cond->__data.__nwaiters; -+ nwaiters = cond->__data.__nwaiters; -+ } -+ while (nwaiters >= (1 << COND_CLOCK_BITS)); - } - - return 0; ---- glibc-20050912T0656/nptl/tst-stackguard1.c 26 Jun 2005 17:44:14 -0000 1.1 -+++ glibc-20050912T0656-fedora/nptl/tst-stackguard1.c 8 Aug 2005 21:24:28 -0000 1.1.2.3 +--- glibc-20051003T2040/nptl/tst-stackguard1.c 26 Jun 2005 17:44:14 -0000 1.1 ++++ glibc-20051003T2040-fedora/nptl/tst-stackguard1.c 8 Aug 2005 21:24:28 -0000 1.1.2.3 @@ -190,17 +190,21 @@ do_test (void) the 16 runs, something is very wrong. */ int ndifferences = 0; @@ -1022,8 +952,8 @@ { puts ("stack guard canaries are not randomized enough"); puts ("nor equal to the default canary value"); ---- glibc-20050912T0656/nptl/sysdeps/unix/sysv/linux/kernel-features.h 1 Jan 1970 00:00:00 -0000 -+++ glibc-20050912T0656-fedora/nptl/sysdeps/unix/sysv/linux/kernel-features.h 22 Sep 2004 21:21:02 -0000 1.1.2.1 +--- glibc-20051003T2040/nptl/sysdeps/unix/sysv/linux/kernel-features.h 1 Jan 1970 00:00:00 -0000 ++++ glibc-20051003T2040-fedora/nptl/sysdeps/unix/sysv/linux/kernel-features.h 22 Sep 2004 21:21:02 -0000 1.1.2.1 @@ -0,0 +1,6 @@ +#include_next + @@ -1031,8 +961,8 @@ +#ifndef __ASSUME_CLONE_THREAD_FLAGS +# define __ASSUME_CLONE_THREAD_FLAGS 1 +#endif ---- glibc-20050912T0656/nscd/connections.c 23 Aug 2005 23:12:00 -0000 1.76 -+++ glibc-20050912T0656-fedora/nscd/connections.c 24 Aug 2005 07:23:30 -0000 1.55.2.14 +--- glibc-20051003T2040/nscd/connections.c 23 Aug 2005 23:12:00 -0000 1.76 ++++ glibc-20051003T2040-fedora/nscd/connections.c 24 Aug 2005 07:23:30 -0000 1.55.2.14 @@ -1849,3 +1849,18 @@ finish_drop_privileges (void) exit (4); } @@ -1052,8 +982,8 @@ + prune_cache (&dbs[hstdb], LONG_MAX); +} + ---- glibc-20050912T0656/nscd/nscd.c 24 Aug 2005 06:33:23 -0000 1.48 -+++ glibc-20050912T0656-fedora/nscd/nscd.c 24 Aug 2005 07:23:30 -0000 1.38.2.9 +--- glibc-20051003T2040/nscd/nscd.c 24 Aug 2005 06:33:23 -0000 1.48 ++++ glibc-20051003T2040-fedora/nscd/nscd.c 24 Aug 2005 07:23:30 -0000 1.38.2.9 @@ -122,6 +122,9 @@ static struct argp argp = options, parse_opt, NULL, doc, }; @@ -1072,8 +1002,8 @@ signal (SIGPIPE, SIG_IGN); /* Cleanup files created by a previous 'bind'. */ ---- glibc-20050912T0656/nscd/nscd.conf 23 Aug 2005 23:17:32 -0000 1.11 -+++ glibc-20050912T0656-fedora/nscd/nscd.conf 24 Aug 2005 07:23:30 -0000 1.8.2.3 +--- glibc-20051003T2040/nscd/nscd.conf 23 Aug 2005 23:17:32 -0000 1.11 ++++ glibc-20051003T2040-fedora/nscd/nscd.conf 24 Aug 2005 07:23:30 -0000 1.8.2.3 @@ -32,8 +32,8 @@ # logfile /var/log/nscd.log # threads 6 @@ -1085,8 +1015,8 @@ debug-level 0 # reload-count 5 paranoia no ---- glibc-20050912T0656/nscd/nscd.init 20 Jun 2005 15:47:52 -0000 1.9 -+++ glibc-20050912T0656-fedora/nscd/nscd.init 12 Sep 2005 12:53:20 -0000 1.6.2.4 +--- glibc-20051003T2040/nscd/nscd.init 20 Jun 2005 15:47:52 -0000 1.9 ++++ glibc-20051003T2040-fedora/nscd/nscd.init 12 Sep 2005 12:53:20 -0000 1.6.2.4 @@ -9,6 +9,7 @@ # slow naming services like NIS, NIS+, LDAP, or hesiod. # processname: /usr/sbin/nscd @@ -1127,8 +1057,19 @@ RETVAL=$? echo [ $RETVAL -eq 0 ] && touch /var/lock/subsys/nscd ---- glibc-20050912T0656/posix/Makefile 24 Jul 2005 21:39:12 -0000 1.185 -+++ glibc-20050912T0656-fedora/posix/Makefile 25 Jul 2005 06:37:55 -0000 1.171.2.13 +--- glibc-20051003T2040/nscd/selinux.c 20 Jun 2005 15:44:41 -0000 1.5 ++++ glibc-20051003T2040-fedora/nscd/selinux.c 3 Oct 2005 20:54:46 -0000 1.1.2.5 +@@ -127,7 +127,7 @@ audit_init (void) + { + audit_fd = audit_open (); + if (audit_fd < 0) +- dbg_log (_("Failed opening connection to the audit subsystem")); ++ dbg_log (_("Failed opening connection to the audit subsystem: %m")); + } + #endif /* HAVE_LIBAUDIT */ + +--- glibc-20051003T2040/posix/Makefile 26 Sep 2005 21:13:27 -0000 1.186 ++++ glibc-20051003T2040-fedora/posix/Makefile 3 Oct 2005 20:44:16 -0000 1.171.2.14 @@ -106,7 +106,8 @@ generated := $(addprefix wordexp-test-re bug-regex21-mem bug-regex21.mtrace \ tst-rxspencer-mem tst-rxspencer.mtrace tst-getconf.out \ @@ -1162,8 +1103,8 @@ + | sed -n -e '/START_OF_STRINGS/,$${/POSIX_V6_/{s/^[^"]*"//;s/".*$$//;p}}' \ + > $@.new + mv -f $@.new $@ ---- glibc-20050912T0656/posix/getconf.speclist.h 1 Jan 1970 00:00:00 -0000 -+++ glibc-20050912T0656-fedora/posix/getconf.speclist.h 13 Dec 2004 23:32:37 -0000 1.1.2.2 +--- glibc-20051003T2040/posix/getconf.speclist.h 1 Jan 1970 00:00:00 -0000 ++++ glibc-20051003T2040-fedora/posix/getconf.speclist.h 13 Dec 2004 23:32:37 -0000 1.1.2.2 @@ -0,0 +1,15 @@ +#include +const char *START_OF_STRINGS = @@ -1180,8 +1121,8 @@ +"POSIX_V6_LPBIG_OFFBIG" +#endif +""; ---- glibc-20050912T0656/sysdeps/generic/dl-cache.h 25 Jun 2003 08:01:22 -0000 1.13 -+++ glibc-20050912T0656-fedora/sysdeps/generic/dl-cache.h 22 Sep 2004 21:21:07 -0000 1.13.2.1 +--- glibc-20051003T2040/sysdeps/generic/dl-cache.h 25 Jun 2003 08:01:22 -0000 1.13 ++++ glibc-20051003T2040-fedora/sysdeps/generic/dl-cache.h 22 Sep 2004 21:21:07 -0000 1.13.2.1 @@ -36,6 +36,14 @@ # define add_system_dir(dir) add_dir (dir) #endif @@ -1197,8 +1138,8 @@ #define CACHEMAGIC "ld.so-1.7.0" /* libc5 and glibc 2.0/2.1 use the same format. For glibc 2.2 another ---- glibc-20050912T0656/sysdeps/ia64/Makefile 16 Aug 2004 06:46:14 -0000 1.10 -+++ glibc-20050912T0656-fedora/sysdeps/ia64/Makefile 22 Sep 2004 21:21:07 -0000 1.10.2.1 +--- glibc-20051003T2040/sysdeps/ia64/Makefile 16 Aug 2004 06:46:14 -0000 1.10 ++++ glibc-20051003T2040-fedora/sysdeps/ia64/Makefile 22 Sep 2004 21:21:07 -0000 1.10.2.1 @@ -12,8 +12,8 @@ elide-routines.os += hp-timing ifeq (yes,$(build-shared)) @@ -1210,8 +1151,8 @@ endif endif ---- glibc-20050912T0656/sysdeps/ia64/ia64libgcc.S 11 May 2002 05:12:35 -0000 1.2 -+++ glibc-20050912T0656-fedora/sysdeps/ia64/ia64libgcc.S 22 Sep 2004 21:21:07 -0000 1.2.2.1 +--- glibc-20051003T2040/sysdeps/ia64/ia64libgcc.S 11 May 2002 05:12:35 -0000 1.2 ++++ glibc-20051003T2040-fedora/sysdeps/ia64/ia64libgcc.S 22 Sep 2004 21:21:07 -0000 1.2.2.1 @@ -1,350 +0,0 @@ -/* From the Intel IA-64 Optimization Guide, choose the minimum latency - alternative. */ @@ -1563,8 +1504,8 @@ - .symver ___multi3, __multi3 at GLIBC_2.2 - -#endif ---- glibc-20050912T0656/sysdeps/ia64/libgcc-compat.c 1 Jan 1970 00:00:00 -0000 -+++ glibc-20050912T0656-fedora/sysdeps/ia64/libgcc-compat.c 22 Sep 2004 21:21:08 -0000 1.1.2.1 +--- glibc-20051003T2040/sysdeps/ia64/libgcc-compat.c 1 Jan 1970 00:00:00 -0000 ++++ glibc-20051003T2040-fedora/sysdeps/ia64/libgcc-compat.c 22 Sep 2004 21:21:08 -0000 1.1.2.1 @@ -0,0 +1,84 @@ +/* pre-.hidden libgcc compatibility + Copyright (C) 2002 Free Software Foundation, Inc. @@ -1650,8 +1591,8 @@ +symbol_version (INTUSE (__multi3), __multi3, GLIBC_2.2); + +#endif ---- glibc-20050912T0656/sysdeps/unix/nice.c 28 Sep 2002 19:13:13 -0000 1.6 -+++ glibc-20050912T0656-fedora/sysdeps/unix/nice.c 22 Sep 2004 21:21:08 -0000 1.6.2.1 +--- glibc-20051003T2040/sysdeps/unix/nice.c 28 Sep 2002 19:13:13 -0000 1.6 ++++ glibc-20051003T2040-fedora/sysdeps/unix/nice.c 22 Sep 2004 21:21:08 -0000 1.6.2.1 @@ -41,7 +41,12 @@ nice (int incr) __set_errno (save); } @@ -1666,8 +1607,8 @@ if (result != -1) return getpriority (PRIO_PROCESS, 0); else ---- glibc-20050912T0656/sysdeps/unix/sysv/linux/dl-osinfo.h 26 Jun 2005 18:14:09 -0000 1.21 -+++ glibc-20050912T0656-fedora/sysdeps/unix/sysv/linux/dl-osinfo.h 8 Aug 2005 21:24:28 -0000 1.14.2.7 +--- glibc-20051003T2040/sysdeps/unix/sysv/linux/dl-osinfo.h 26 Jun 2005 18:14:09 -0000 1.21 ++++ glibc-20051003T2040-fedora/sysdeps/unix/sysv/linux/dl-osinfo.h 8 Aug 2005 21:24:28 -0000 1.14.2.7 @@ -18,12 +18,15 @@ 02111-1307 USA. */ @@ -1716,8 +1657,8 @@ + ret ^= stk; return ret; } ---- glibc-20050912T0656/sysdeps/unix/sysv/linux/paths.h 15 Nov 2000 23:06:47 -0000 1.11 -+++ glibc-20050912T0656-fedora/sysdeps/unix/sysv/linux/paths.h 22 Sep 2004 21:21:08 -0000 1.11.4.1 +--- glibc-20051003T2040/sysdeps/unix/sysv/linux/paths.h 15 Nov 2000 23:06:47 -0000 1.11 ++++ glibc-20051003T2040-fedora/sysdeps/unix/sysv/linux/paths.h 22 Sep 2004 21:21:08 -0000 1.11.4.1 @@ -61,7 +61,7 @@ #define _PATH_TTY "/dev/tty" #define _PATH_UNIX "/boot/vmlinux" @@ -1727,8 +1668,8 @@ #define _PATH_WTMP "/var/log/wtmp" /* Provide trailing slash, since mostly used for building pathnames. */ ---- glibc-20050912T0656/sysdeps/unix/sysv/linux/readonly-area.c 18 Oct 2004 04:17:11 -0000 1.1 -+++ glibc-20050912T0656-fedora/sysdeps/unix/sysv/linux/readonly-area.c 20 Oct 2004 11:04:51 -0000 1.1.2.2 +--- glibc-20051003T2040/sysdeps/unix/sysv/linux/readonly-area.c 18 Oct 2004 04:17:11 -0000 1.1 ++++ glibc-20051003T2040-fedora/sysdeps/unix/sysv/linux/readonly-area.c 20 Oct 2004 11:04:51 -0000 1.1.2.2 @@ -33,7 +33,10 @@ __readonly_area (const char *ptr, size_t FILE *fp = fopen ("/proc/self/maps", "rc"); @@ -1741,8 +1682,8 @@ /* We need no locking. */ __fsetlocking (fp, FSETLOCKING_BYCALLER); ---- glibc-20050912T0656/sysdeps/unix/sysv/linux/tcsetattr.c 10 Sep 2003 19:16:07 -0000 1.16 -+++ glibc-20050912T0656-fedora/sysdeps/unix/sysv/linux/tcsetattr.c 22 Sep 2004 21:21:08 -0000 1.16.2.1 +--- glibc-20051003T2040/sysdeps/unix/sysv/linux/tcsetattr.c 10 Sep 2003 19:16:07 -0000 1.16 ++++ glibc-20051003T2040-fedora/sysdeps/unix/sysv/linux/tcsetattr.c 22 Sep 2004 21:21:08 -0000 1.16.2.1 @@ -49,6 +49,7 @@ tcsetattr (fd, optional_actions, termios { struct __kernel_termios k_termios; @@ -1788,8 +1729,8 @@ + return retval; } libc_hidden_def (tcsetattr) ---- glibc-20050912T0656/sysdeps/unix/sysv/linux/i386/dl-cache.h 1 Jan 1970 00:00:00 -0000 -+++ glibc-20050912T0656-fedora/sysdeps/unix/sysv/linux/i386/dl-cache.h 22 Sep 2004 21:21:08 -0000 1.1.2.1 +--- glibc-20051003T2040/sysdeps/unix/sysv/linux/i386/dl-cache.h 1 Jan 1970 00:00:00 -0000 ++++ glibc-20051003T2040-fedora/sysdeps/unix/sysv/linux/i386/dl-cache.h 22 Sep 2004 21:21:08 -0000 1.1.2.1 @@ -0,0 +1,59 @@ +/* Support for reading /etc/ld.so.cache files written by Linux ldconfig. + Copyright (C) 2004 Free Software Foundation, Inc. @@ -1850,8 +1791,8 @@ + } while (0) + +#include_next ---- glibc-20050912T0656/sysdeps/unix/sysv/linux/ia64/dl-cache.h 6 Jul 2001 04:56:17 -0000 1.2 -+++ glibc-20050912T0656-fedora/sysdeps/unix/sysv/linux/ia64/dl-cache.h 22 Sep 2004 21:21:09 -0000 1.2.4.1 +--- glibc-20051003T2040/sysdeps/unix/sysv/linux/ia64/dl-cache.h 6 Jul 2001 04:56:17 -0000 1.2 ++++ glibc-20051003T2040-fedora/sysdeps/unix/sysv/linux/ia64/dl-cache.h 22 Sep 2004 21:21:09 -0000 1.2.4.1 @@ -22,4 +22,31 @@ #define _dl_cache_check_flags(flags) \ ((flags) == _DL_CACHE_DEFAULT_ID) @@ -1884,24 +1825,24 @@ + } while (0) + #include_next ---- glibc-20050912T0656/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c 1 Jan 1970 00:00:00 -0000 -+++ glibc-20050912T0656-fedora/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c 22 Sep 2004 21:21:09 -0000 1.1.2.1 +--- glibc-20051003T2040/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c 1 Jan 1970 00:00:00 -0000 ++++ glibc-20051003T2040-fedora/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c 22 Sep 2004 21:21:09 -0000 1.1.2.1 @@ -0,0 +1,5 @@ +#ifdef IS_IN_ldconfig +#include +#else +#include +#endif ---- glibc-20050912T0656/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h 1 Jan 1970 00:00:00 -0000 -+++ glibc-20050912T0656-fedora/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h 22 Sep 2004 21:21:09 -0000 1.1.2.1 +--- glibc-20051003T2040/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h 1 Jan 1970 00:00:00 -0000 ++++ glibc-20051003T2040-fedora/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h 22 Sep 2004 21:21:09 -0000 1.1.2.1 @@ -0,0 +1,5 @@ +#ifdef IS_IN_ldconfig +#include +#else +#include +#endif ---- glibc-20050912T0656/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed 17 Jan 2002 06:49:28 -0000 1.2 -+++ glibc-20050912T0656-fedora/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed 22 Sep 2004 21:21:09 -0000 1.2.2.1 +--- glibc-20051003T2040/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed 17 Jan 2002 06:49:28 -0000 1.2 ++++ glibc-20051003T2040-fedora/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed 22 Sep 2004 21:21:09 -0000 1.2.2.1 @@ -1 +1 @@ -s_^\(RTLDLIST=\)\([^ ]*\)-ia64\(\.so\.[0-9.]*\)[ ]*$_\1"\2-ia64\3 \2\3"_ +s_^\(RTLDLIST=\)\([^ ]*\)-ia64\(\.so\.[0-9.]*\)[ ]*$_\1"\2-ia64\3 /emul/ia32-linux\2\3"_ Index: glibc.spec =================================================================== RCS file: /cvs/dist/rpms/glibc/devel/glibc.spec,v retrieving revision 1.176 retrieving revision 1.177 diff -u -r1.176 -r1.177 --- glibc.spec 12 Sep 2005 13:33:00 -0000 1.176 +++ glibc.spec 3 Oct 2005 21:25:44 -0000 1.177 @@ -1,9 +1,9 @@ -%define glibcdate 20050912T0656 +%define glibcdate 20051003T2040 %define glibcname glibc -%define glibcsrcdir glibc-20050912T0656 +%define glibcsrcdir glibc-20051003T2040 %define glibc_release_tarballs 0 %define glibcversion 2.3.90 -%define glibcrelease 12 +%define glibcrelease 13 %define auxarches i586 i686 athlon sparcv9 alphaev6 %define prelinkarches noarch %define xenarches i686 athlon @@ -1088,6 +1088,14 @@ %endif %changelog +* Mon Oct 3 2005 Jakub Jelinek 2.3.90-13 +- update from CVS + - fix setuid etc. hangs if some thread exits during the call (#167766) + - fix innetgr memory leak (#169051) + - support > 2GB nscd log files (#168851) + - too many other changes to list here +- include errno in nscd message if audit_open failed (#169148) + * Mon Sep 12 2005 Jakub Jelinek 2.3.90-12 - update from CVS - netgrp handling fixes (#167728) Index: sources =================================================================== RCS file: /cvs/dist/rpms/glibc/devel/sources,v retrieving revision 1.137 retrieving revision 1.138 diff -u -r1.137 -r1.138 --- sources 12 Sep 2005 16:18:05 -0000 1.137 +++ sources 3 Oct 2005 21:25:44 -0000 1.138 @@ -1,2 +1,2 @@ -8ed7bbb958f1ca9444946217782f9d65 glibc-20050912T0656.tar.bz2 -35e4834cbd9f62f48477179791127025 glibc-fedora-20050912T0656.tar.bz2 +9cbc00a923e6b8786782e13d7e0ff987 glibc-20051003T2040.tar.bz2 +7a21292202d96230f3145eaea05809ab glibc-fedora-20051003T2040.tar.bz2 From fedora-cvs-commits at redhat.com Mon Oct 3 21:36:19 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 17:36:19 -0400 Subject: rpms/tog-pegasus/devel pegasus-2.5-redhat.patch,1.2,1.3 Message-ID: <200510032136.j93LaJab005039@cvs.devel.redhat.com> Author: jvdias Update of /cvs/dist/rpms/tog-pegasus/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv5008 Modified Files: pegasus-2.5-redhat.patch Log Message: Change directory layout to conform to Red Hat conventions; Implement use of lib64 for 64-bit compiled libraries; Allow building when tog-pegasus packages are installed on build machine; Fix buffer overflow bugs 167164 167165. pegasus-2.5-redhat.patch: Makefile.Release | 4 Makefile.ReleaseTest | 14 +- env_var_Linux.status | 30 ++-- mak/SDKMakefile | 6 mak/config-linux.mak | 8 - mak/config.mak | 4 mak/library-unix.mak | 16 +- mak/objects-unix.mak | 8 - mak/program-unix.mak | 22 ++- rpm/tog-pegasus.rc | 68 +++++----- rpm/wbem | 18 -- src/Clients/repupgrade/RepositoryUpgrade.cpp | 2 src/Pegasus/Common/Config.h | 7 + src/Pegasus/Common/Constants.h | 16 +- src/Pegasus/Common/Makefile | 8 - src/Pegasus/Common/MessageQueueService.cpp | 4 src/Pegasus/Common/Platform_LINUX_IX86_GNU.h | 9 - src/Pegasus/Common/System.cpp | 4 src/Pegasus/Common/SystemUnix.cpp | 2 src/Pegasus/Common/tests/DynLoad/Makefile | 2 src/Pegasus/Config/ConfigFileDirLinux.h | 4 src/Pegasus/Config/FixedPropertyTableLinux.h | 22 +-- src/Pegasus/ControlProviders/CertificateProvider/Makefile | 4 src/Pegasus/ProviderManager2/CMPI/samples/ProcessIndication/Makefile | 2 src/Pegasus/ProviderManager2/tests/ProviderManagerModule/ProviderManagerModule.cpp | 8 - src/Providers/ManagedSystem/ComputerSystem/ComputerSystem_Linux.cpp | 2 src/Providers/ManagedSystem/OperatingSystem/OperatingSystem_Linux.cpp | 2 src/Providers/ManagedSystem/Process/Process_Linux.cpp | 2 28 files changed, 160 insertions(+), 138 deletions(-) Index: pegasus-2.5-redhat.patch =================================================================== RCS file: /cvs/dist/rpms/tog-pegasus/devel/pegasus-2.5-redhat.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- pegasus-2.5-redhat.patch 3 Oct 2005 18:55:04 -0000 1.2 +++ pegasus-2.5-redhat.patch 3 Oct 2005 21:36:16 -0000 1.3 @@ -1,5 +1,5 @@ --- pegasus-2.5/Makefile.ReleaseTest.redhat 2005-05-27 13:29:01.000000000 -0400 -+++ pegasus-2.5/Makefile.ReleaseTest 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/Makefile.ReleaseTest 2005-10-03 17:12:17.000000000 -0400 @@ -54,7 +54,7 @@ endif @@ -62,7 +62,7 @@ "%attr($(Pr_xr_xr_x),$(INSTALL_USR),$(INSTALL_GRP)) $(PEGASUS_TEST_DIR)/bin/$(i)" >> $(PEGASUS_RPM_SPEC_FILE_PATH);) @$(foreach i, $(POSTSTARTTEST_FILES), $(ECHO-E) \ --- pegasus-2.5/Makefile.Release.redhat 2005-08-17 17:00:43.000000000 -0400 -+++ pegasus-2.5/Makefile.Release 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/Makefile.Release 2005-10-03 17:12:17.000000000 -0400 @@ -481,13 +481,13 @@ $(MAKE) -f $(ROOT)/Makefile.Release setpermissions PERMISSIONS="$(Prwxr_xr_x)" OWNER="$(INSTALL_USR)" GROUP="$(INSTALL_GRP)" OBJECT=$(PEGASUS_STAGING_DIR)$(PEGASUS_LOCAL_AUTH_DIR) @@ -80,7 +80,7 @@ setpermissions_PegasusProviderLibraryDirectoryFiles: FORCE --- pegasus-2.5/env_var_Linux.status.redhat 2005-09-02 14:40:58.000000000 -0400 -+++ pegasus-2.5/env_var_Linux.status 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/env_var_Linux.status 2005-10-03 17:12:17.000000000 -0400 @@ -9,6 +9,7 @@ PEGASUS_OVERRIDE_PRODUCT_ID=yes PEGASUS_PRODUCT_NAME="OpenPegasus" @@ -149,7 +149,7 @@ PEGASUS_TEST_REPOSITORY_NAME = testrepository --- pegasus-2.5/mak/objects-unix.mak.redhat 2005-05-12 11:27:28.000000000 -0400 -+++ pegasus-2.5/mak/objects-unix.mak 2005-10-03 14:51:10.000000000 -0400 ++++ pegasus-2.5/mak/objects-unix.mak 2005-10-03 17:12:17.000000000 -0400 @@ -50,12 +50,12 @@ ifeq ($(_NO_TMP_O), yes) @@ -181,7 +181,7 @@ @ $(RM) $(_TMP_O) @ $(TOUCH) $@ --- pegasus-2.5/mak/config-linux.mak.redhat 2005-05-12 11:27:28.000000000 -0400 -+++ pegasus-2.5/mak/config-linux.mak 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/mak/config-linux.mak 2005-10-03 17:12:17.000000000 -0400 @@ -76,10 +76,12 @@ SYS_LIBS = -ldl -lpthread @@ -215,7 +215,7 @@ endif --- pegasus-2.5/mak/SDKMakefile.redhat 2005-07-15 15:46:17.000000000 -0400 -+++ pegasus-2.5/mak/SDKMakefile 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/mak/SDKMakefile 2005-10-03 17:12:17.000000000 -0400 @@ -382,10 +382,10 @@ @$(MAKE) --directory=$(PEGASUS_ROOT)/mak -f SDKMakefile -i deregisterproviders @$(MAKE) --directory=$(PEGASUS_STAGING_DIR)$(PEGASUS_SAMPLES_DIR) -f Makefile clean \ @@ -231,7 +231,7 @@ @$(MAKE) --directory=$(PEGASUS_STAGING_DIR)$(PEGASUS_SAMPLES_DIR)/Providers/Load -f Makefile createrepository \ PEGASUS_MOF_DIR=$(PEGASUS_ROOT)/Schemas PEGASUS_BIN_DIR=$(PEGASUS_HOME)bin --- pegasus-2.5/mak/config.mak.redhat 2005-08-12 13:52:31.000000000 -0400 -+++ pegasus-2.5/mak/config.mak 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/mak/config.mak 2005-10-03 17:12:17.000000000 -0400 @@ -85,7 +85,7 @@ OBJ_DIR = $(HOME_DIR)/obj/$(DIR) @@ -251,7 +251,7 @@ ifeq ($(OS),VMS) --- pegasus-2.5/mak/program-unix.mak.redhat 2005-05-12 11:27:28.000000000 -0400 -+++ pegasus-2.5/mak/program-unix.mak 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/mak/program-unix.mak 2005-10-03 17:14:17.000000000 -0400 @@ -28,6 +28,12 @@ #//============================================================================== INCLUDES = -I$(ROOT)/src $(EXTRA_INCLUDES) @@ -274,7 +274,7 @@ endif endif endif -@@ -90,9 +96,9 @@ +@@ -90,17 +96,17 @@ ifdef ICU_ROOT ifdef ICU_INSTALL ifdef PEGASUS_USE_RELEASE_DIRS @@ -286,6 +286,16 @@ endif endif endif + else + ifdef PEGASUS_USE_RELEASE_DIRS +- $(LINK_WRAPPER) $(CXX) $(FLAGS) $(EXTRA_LINK_FLAGS) -Xlinker -rpath -Xlinker $(PEGASUS_DEST_LIB_DIR) -Xlinker -rpath-link -Xlinker $(LIB_DIR) -L$(LIB_DIR) $(EXE_OUTPUT) $(OBJECTS) $(DYNAMIC_LIBRARIES) $(SYS_LIBS) ++ $(LINK_WRAPPER) $(CXX) $(FLAGS) $(EXTRA_LINK_FLAGS) -L$(PEGASUS_HOME)/$(PEGASUS_ARCH_LIB_DIR) -Xlinker -rpath-link -Xlinker $(PEGASUS_HOME)/$(PEGASUS_ARCH_LIB_DIR) $(EXE_OUTPUT) $(OBJECTS) $(DYNAMIC_LIBRARIES) $(SYS_LIBS) + else +- $(LINK_WRAPPER) $(CXX) $(FLAGS) $(EXTRA_LINK_FLAGS) -Xlinker -rpath -Xlinker $(LIB_DIR) -L$(LIB_DIR) $(EXE_OUTPUT) $(OBJECTS) $(DYNAMIC_LIBRARIES) $(SYS_LIBS) ++ $(LINK_WRAPPER) $(CXX) $(FLAGS) $(EXTRA_LINK_FLAGS) -L$(PEGASUS_HOME)/$(PEGASUS_ARCH_LIB_DIR) -Xlinker -rpath-link -Xlinker $(PEGASUS_HOME)/$(PEGASUS_ARCH_LIB_DIR) $(EXE_OUTPUT) $(OBJECTS) $(DYNAMIC_LIBRARIES) $(SYS_LIBS) + endif + endif + else @@ -109,11 +115,11 @@ ifdef PEGASUS_HAS_MESSAGES ifdef ICU_ROOT @@ -307,7 +317,7 @@ + +include $(ROOT)/mak/install-program-unix.mak --- pegasus-2.5/mak/library-unix.mak.redhat 2005-05-12 11:27:28.000000000 -0400 -+++ pegasus-2.5/mak/library-unix.mak 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/mak/library-unix.mak 2005-10-03 17:14:54.000000000 -0400 @@ -32,11 +32,11 @@ ifdef PEGASUS_HAS_MESSAGES ifdef ICU_ROOT @@ -338,6 +348,19 @@ endif endif LINK_COMMAND += -Wl,+s +@@ -79,10 +79,10 @@ + ifneq ($(PEGASUS_PLATFORM),DARWIN_PPC_GNU) + ifdef PEGASUS_USE_RELEASE_DIRS + LINK_COMMAND = $(CXX) -shared +- LINK_ARGUMENTS = -Wl,-hlib$(LIBRARY)$(LIB_SUFFIX) -Xlinker -rpath -Xlinker $(PEGASUS_DEST_LIB_DIR) ++ LINK_ARGUMENTS = -Wl,-hlib$(LIBRARY)$(LIB_SUFFIX) -L$(PEGASUS_HOME)/$(PEGASUS_ARCH_LIB_DIR) -Xlinker -rpath-link -Xlinker $(PEGASUS_HOME)/$(PEGASUS_ARCH_LIB_DIR) $(EXTRA_LINK_ARGUMENTS) + else + LINK_COMMAND = $(CXX) -shared +- LINK_ARGUMENTS = -Wl,-hlib$(LIBRARY)$(LIB_SUFFIX) -Xlinker -rpath -Xlinker $(LIB_DIR) $(EXTRA_LINK_ARGUMENTS) ++ LINK_ARGUMENTS = -Wl,-hlib$(LIBRARY)$(LIB_SUFFIX) -L$(PEGASUS_HOME)/$(PEGASUS_ARCH_LIB_DIR) -Xlinker -rpath-link -Xlinker $(PEGASUS_HOME)/$(PEGASUS_ARCH_LIB_DIR) $(EXTRA_LINK_ARGUMENTS) + endif + else + LINK_COMMAND = $(CXX) -dynamiclib @@ -164,3 +164,5 @@ ln -f -s $(LIBRARY)$(SUFFIX) $(LIBRARY).$(PLATFORM_SUFFIX) @@ -345,7 +368,7 @@ + +include $(ROOT)/mak/install-library-unix.mak --- pegasus-2.5/rpm/wbem.redhat 2003-03-13 12:25:15.000000000 -0500 -+++ pegasus-2.5/rpm/wbem 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/rpm/wbem 2005-10-03 17:12:17.000000000 -0400 @@ -1,13 +1,7 @@ #%PAM-1.0 -auth required /lib/security/pam_env.so @@ -367,7 +390,7 @@ +session required pam_stack.so service=system-auth +session required pam_loginuid.so --- pegasus-2.5/rpm/tog-pegasus.rc.redhat 2005-05-29 02:43:30.000000000 -0400 -+++ pegasus-2.5/rpm/tog-pegasus.rc 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/rpm/tog-pegasus.rc 2005-10-03 17:12:17.000000000 -0400 @@ -1,34 +1,28 @@ #! /bin/sh -#//%2005//////////////////////////////////////////////////////////////////////// @@ -466,7 +489,7 @@ status) pid=`pidofproc $CIMSERVER_BIN` --- pegasus-2.5/src/Pegasus/ProviderManager2/tests/ProviderManagerModule/ProviderManagerModule.cpp.redhat 2005-04-18 17:18:24.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/ProviderManager2/tests/ProviderManagerModule/ProviderManagerModule.cpp 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/ProviderManager2/tests/ProviderManagerModule/ProviderManagerModule.cpp 2005-10-03 17:12:17.000000000 -0400 @@ -134,7 +134,7 @@ int main(int argc, char** argv) @@ -490,7 +513,7 @@ Test1(); --- pegasus-2.5/src/Pegasus/ProviderManager2/CMPI/samples/ProcessIndication/Makefile.redhat 2005-05-12 11:30:52.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/ProviderManager2/CMPI/samples/ProcessIndication/Makefile 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/ProviderManager2/CMPI/samples/ProcessIndication/Makefile 2005-10-03 17:12:17.000000000 -0400 @@ -29,7 +29,7 @@ # Makefile for CMPIRT_SampleClass library @@ -501,7 +524,7 @@ # Changes shouldn't be necessary below this line CFLAGS=-Wall -D_COMPILE_UNIX -g -I. -I../.. --- pegasus-2.5/src/Pegasus/Config/FixedPropertyTableLinux.h.redhat 2005-07-15 19:02:21.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/Config/FixedPropertyTableLinux.h 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/Config/FixedPropertyTableLinux.h 2005-10-03 17:12:17.000000000 -0400 @@ -45,19 +45,19 @@ {"enableBinaryRepository", "false"}, #endif @@ -534,7 +557,7 @@ #if defined(PEGASUS_USE_RELEASE_DIRS) && defined(PEGASUS_OS_LSB) {"traceFilePath", "/var/opt/lsb-pegasus/cache/cimserver.trc"}, --- pegasus-2.5/src/Pegasus/Config/ConfigFileDirLinux.h.redhat 2005-02-05 18:00:07.000000000 -0500 -+++ pegasus-2.5/src/Pegasus/Config/ConfigFileDirLinux.h 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/Config/ConfigFileDirLinux.h 2005-10-03 17:12:17.000000000 -0400 @@ -37,12 +37,12 @@ /** Default file name for the current configuration. @@ -551,7 +574,7 @@ /** Default file name for the cimserver startup file containing the PID. --- pegasus-2.5/src/Pegasus/ControlProviders/CertificateProvider/Makefile.redhat 2005-05-12 11:29:46.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/ControlProviders/CertificateProvider/Makefile 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/ControlProviders/CertificateProvider/Makefile 2005-10-03 17:12:17.000000000 -0400 @@ -56,8 +56,8 @@ ifeq ($(OS),linux) EXTRA_LIBRARIES += -lcrypt @@ -564,7 +587,7 @@ endif --- pegasus-2.5/src/Pegasus/Common/tests/DynLoad/Makefile.redhat 2005-05-12 11:28:46.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/Common/tests/DynLoad/Makefile 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/Common/tests/DynLoad/Makefile 2005-10-03 17:12:17.000000000 -0400 @@ -45,7 +45,7 @@ ifeq ($(PEGASUS_OS_TYPE),VMS) $(PROGRAM) libTestDynLib @@ -575,7 +598,7 @@ endif --- pegasus-2.5/src/Pegasus/Common/MessageQueueService.cpp.redhat 2005-08-16 18:46:53.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/Common/MessageQueueService.cpp 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/Common/MessageQueueService.cpp 2005-10-03 17:12:17.000000000 -0400 @@ -68,7 +68,9 @@ #define MAX_THREADS_PER_SVC_QUEUE_LIMIT 5000 @@ -588,7 +611,7 @@ PEGASUS_THREAD_RETURN PEGASUS_THREAD_CDECL --- pegasus-2.5/src/Pegasus/Common/Makefile.redhat 2005-06-12 18:31:19.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/Common/Makefile 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/Common/Makefile 2005-10-03 17:12:17.000000000 -0400 @@ -165,8 +165,8 @@ ifeq ($(OS),linux) EXTRA_LIBRARIES += -lcrypt @@ -615,7 +638,7 @@ ifneq ($(CL_MAJOR_VERSION), 12) SYS_LIBS += secur32.lib --- pegasus-2.5/src/Pegasus/Common/Constants.h.redhat 2005-07-27 17:02:36.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/Common/Constants.h 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/Common/Constants.h 2005-10-03 17:12:17.000000000 -0400 @@ -380,21 +380,21 @@ # define PEGASUS_PAM_STANDALONE_PROC_NAME "/opt/freeware/cimom/pegasus/bin/cimservera" # elif defined(PEGASUS_OS_LINUX) && !defined(PEGASUS_OS_LSB) @@ -647,7 +670,7 @@ # define PEGASUS_SSLCLIENT_CERTIFICATEFILE "/etc/opt/lsb-pegasus/client.pem" # undef PEGASUS_SSLCLIENT_RANDOMFILE --- pegasus-2.5/src/Pegasus/Common/System.cpp.redhat 2005-06-06 10:27:55.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/Common/System.cpp 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/Common/System.cpp 2005-10-03 17:12:17.000000000 -0400 @@ -144,13 +144,13 @@ char *System::extract_file_path(const char *fullpath, char *dirname) { @@ -665,7 +688,7 @@ { if (*p == '\\' || *p == '/') --- pegasus-2.5/src/Pegasus/Common/Platform_LINUX_IX86_GNU.h.redhat 2005-02-26 00:22:13.000000000 -0500 -+++ pegasus-2.5/src/Pegasus/Common/Platform_LINUX_IX86_GNU.h 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/Common/Platform_LINUX_IX86_GNU.h 2005-10-03 17:12:17.000000000 -0400 @@ -72,9 +72,12 @@ #include #include @@ -683,7 +706,7 @@ - #endif /* Pegasus_Platform_LINUX_IX86_GNU_h */ --- pegasus-2.5/src/Pegasus/Common/SystemUnix.cpp.redhat 2005-07-19 15:31:26.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/Common/SystemUnix.cpp 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/Common/SystemUnix.cpp 2005-10-03 17:12:17.000000000 -0400 @@ -566,7 +566,7 @@ if ((he = gethostbyname (hostName))) @@ -694,7 +717,7 @@ #if defined(PEGASUS_OS_OS400) --- pegasus-2.5/src/Pegasus/Common/Config.h.redhat 2005-05-05 14:18:42.000000000 -0400 -+++ pegasus-2.5/src/Pegasus/Common/Config.h 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/src/Pegasus/Common/Config.h 2005-10-03 17:12:17.000000000 -0400 @@ -182,6 +182,13 @@ #define PEGASUS_MAXHOSTNAMELEN MAXHOSTNAMELEN #endif @@ -710,7 +733,7 @@ #ifdef __cplusplus PEGASUS_NAMESPACE_BEGIN --- pegasus-2.5/src/Providers/ManagedSystem/ComputerSystem/ComputerSystem_Linux.cpp.redhat 2005-03-02 13:17:32.000000000 -0500 -+++ pegasus-2.5/src/Providers/ManagedSystem/ComputerSystem/ComputerSystem_Linux.cpp 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/src/Providers/ManagedSystem/ComputerSystem/ComputerSystem_Linux.cpp 2005-10-03 17:12:17.000000000 -0400 @@ -310,7 +310,7 @@ he=gethostbyname(hostName); if (he) @@ -721,7 +744,7 @@ _hostName.assign(hostName); --- pegasus-2.5/src/Providers/ManagedSystem/OperatingSystem/OperatingSystem_Linux.cpp.redhat 2005-02-05 18:01:03.000000000 -0500 -+++ pegasus-2.5/src/Providers/ManagedSystem/OperatingSystem/OperatingSystem_Linux.cpp 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/src/Providers/ManagedSystem/OperatingSystem/OperatingSystem_Linux.cpp 2005-10-03 17:12:17.000000000 -0400 @@ -172,7 +172,7 @@ he=gethostbyname(hostName); if (he) @@ -732,7 +755,7 @@ csName.assign(hostName); --- pegasus-2.5/src/Providers/ManagedSystem/Process/Process_Linux.cpp.redhat 2005-07-15 16:46:54.000000000 -0400 -+++ pegasus-2.5/src/Providers/ManagedSystem/Process/Process_Linux.cpp 2005-10-03 14:49:56.000000000 -0400 ++++ pegasus-2.5/src/Providers/ManagedSystem/Process/Process_Linux.cpp 2005-10-03 17:12:17.000000000 -0400 @@ -782,7 +782,7 @@ he=gethostbyname(hostName); if (he) @@ -743,7 +766,7 @@ csName.assign(hostName); --- pegasus-2.5/src/Clients/repupgrade/RepositoryUpgrade.cpp.redhat 2005-06-03 16:04:34.000000000 -0400 -+++ pegasus-2.5/src/Clients/repupgrade/RepositoryUpgrade.cpp 2005-10-03 14:49:57.000000000 -0400 ++++ pegasus-2.5/src/Clients/repupgrade/RepositoryUpgrade.cpp 2005-10-03 17:12:17.000000000 -0400 @@ -2075,7 +2075,7 @@ fileName = _pegasusHome + "/bin/" + FileSystem::buildLibraryFileName(moduleName); From fedora-cvs-commits at redhat.com Mon Oct 3 21:56:52 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 17:56:52 -0400 Subject: rpms/glibc/devel glibc-fedora.patch,1.104,1.105 Message-ID: <200510032156.j93Luq61020869@cvs.devel.redhat.com> Author: jakub Update of /cvs/dist/rpms/glibc/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv20808 Modified Files: glibc-fedora.patch Log Message: 2.3.90-13 glibc-fedora.patch: ChangeLog | 34 ++ ChangeLog.11 | 21 + ChangeLog.12 | 12 ChangeLog.15 | 45 +++ csu/elf-init.c | 18 + debug/tst-chk1.c | 7 elf/ldconfig.c | 25 + elf/tst-stackguard1.c | 8 iconv/iconvconfig.c | 55 ++- include/features.h | 8 intl/locale.alias | 2 libio/bits/stdio2.h | 19 + libio/stdio.h | 2 locale/iso-4217.def | 13 locale/programs/3level.h | 36 ++ localedata/Makefile | 1 localedata/SUPPORTED | 6 localedata/locales/cy_GB | 7 localedata/locales/en_GB | 4 localedata/locales/no_NO | 69 ++++ localedata/locales/zh_TW | 6 nptl/ChangeLog | 24 + nptl/Makefile | 8 nptl/allocatestack.c | 4 nptl/sysdeps/unix/sysv/linux/kernel-features.h | 6 nptl/tst-stackguard1.c | 8 nscd/connections.c | 15 + nscd/nscd.c | 4 nscd/nscd.conf | 4 nscd/nscd.init | 19 - nscd/selinux.c | 2 posix/Makefile | 19 - posix/getconf.speclist.h | 15 + sysdeps/generic/dl-cache.h | 8 sysdeps/ia64/Makefile | 4 sysdeps/ia64/ia64libgcc.S | 350 ------------------------- sysdeps/ia64/libgcc-compat.c | 84 ++++++ sysdeps/unix/nice.c | 7 sysdeps/unix/sysv/linux/dl-osinfo.h | 29 ++ sysdeps/unix/sysv/linux/i386/dl-cache.h | 59 ++++ sysdeps/unix/sysv/linux/ia64/dl-cache.h | 27 + sysdeps/unix/sysv/linux/ia64/dl-procinfo.c | 5 sysdeps/unix/sysv/linux/ia64/dl-procinfo.h | 5 sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed | 2 sysdeps/unix/sysv/linux/paths.h | 2 sysdeps/unix/sysv/linux/readonly-area.c | 5 sysdeps/unix/sysv/linux/tcsetattr.c | 32 ++ 47 files changed, 706 insertions(+), 439 deletions(-) Index: glibc-fedora.patch =================================================================== RCS file: /cvs/dist/rpms/glibc/devel/glibc-fedora.patch,v retrieving revision 1.104 retrieving revision 1.105 diff -u -r1.104 -r1.105 --- glibc-fedora.patch 3 Oct 2005 21:25:44 -0000 1.104 +++ glibc-fedora.patch 3 Oct 2005 21:56:48 -0000 1.105 @@ -861,8 +861,17 @@ date "2000-08-02" % --- glibc-20051003T2040/nptl/ChangeLog 2 Oct 2005 15:40:54 -0000 1.799 -+++ glibc-20051003T2040-fedora/nptl/ChangeLog 3 Oct 2005 20:44:16 -0000 1.706.2.59 -@@ -70,6 +70,15 @@ ++++ glibc-20051003T2040-fedora/nptl/ChangeLog 3 Oct 2005 21:49:07 -0000 1.706.2.60 +@@ -1,3 +1,8 @@ ++2005-10-03 Jakub Jelinek ++ ++ * allocatestack.c (setxid_signal_thread): Add ++ INTERNAL_SYSCALL_DECL (err). ++ + 2005-10-02 Jakub Jelinek + + * allocatestack.c (setxid_signal_thread): Need to use +@@ -70,6 +75,15 @@ Use __sigfillset. Document that sigfillset does the right thing wrt to SIGSETXID. @@ -878,7 +887,7 @@ 2005-07-11 Jakub Jelinek [BZ #1102] -@@ -805,6 +814,11 @@ +@@ -805,6 +819,11 @@ Move definition inside libpthread, libc, librt check. Provide definition for rtld. @@ -890,7 +899,7 @@ 2004-09-02 Ulrich Drepper * sysdeps/alpha/jmpbuf-unwind.h: Define __libc_unwind_longjmp. -@@ -2879,6 +2893,11 @@ +@@ -2879,6 +2898,11 @@ * Makefile [$(build-shared) = yes] (tests): Depend on $(test-modules). @@ -926,6 +935,33 @@ else $(addprefix $(objpfx),$(tests) $(test-srcs)): $(objpfx)libpthread.a endif +--- glibc-20051003T2040/nptl/allocatestack.c 2 Oct 2005 15:39:21 -0000 1.58 ++++ glibc-20051003T2040-fedora/nptl/allocatestack.c 3 Oct 2005 21:49:07 -0000 1.51.2.7 +@@ -839,6 +839,7 @@ setxid_signal_thread (struct xid_command + } + + int val; ++ INTERNAL_SYSCALL_DECL (err); + #if __ASSUME_TGKILL + val = INTERNAL_SYSCALL (tgkill, err, 3, THREAD_GETMEM (THREAD_SELF, pid), + t->tid, SIGSETXID); +@@ -867,8 +868,6 @@ __nptl_setxid (struct xid_command *cmdp) + __xidcmd = cmdp; + cmdp->cntr = 0; + +- INTERNAL_SYSCALL_DECL (err); +- + struct pthread *self = THREAD_SELF; + + /* Iterate over the list with system-allocated threads first. */ +@@ -901,6 +900,7 @@ __nptl_setxid (struct xid_command *cmdp) + + /* This must be last, otherwise the current thread might not have + permissions to send SIGSETXID syscall to the other threads. */ ++ INTERNAL_SYSCALL_DECL (err); + result = INTERNAL_SYSCALL_NCS (cmdp->syscall_no, err, 3, + cmdp->id[0], cmdp->id[1], cmdp->id[2]); + if (INTERNAL_SYSCALL_ERROR_P (result, err)) --- glibc-20051003T2040/nptl/tst-stackguard1.c 26 Jun 2005 17:44:14 -0000 1.1 +++ glibc-20051003T2040-fedora/nptl/tst-stackguard1.c 8 Aug 2005 21:24:28 -0000 1.1.2.3 @@ -190,17 +190,21 @@ do_test (void) From fedora-cvs-commits at redhat.com Tue Oct 4 00:54:46 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 20:54:46 -0400 Subject: rpms/kernel/devel patch-2.6.14-rc3-git3.bz2.sign, NONE, 1.1 .cvsignore, 1.238, 1.239 kernel-2.6.spec, 1.1589, 1.1590 sources, 1.182, 1.183 upstream, 1.169, 1.170 patch-2.6.14-rc3-git1.bz2.sign, 1.1, NONE Message-ID: <200510040054.j940skXn018030@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv18002 Modified Files: .cvsignore kernel-2.6.spec sources upstream Added Files: patch-2.6.14-rc3-git3.bz2.sign Removed Files: patch-2.6.14-rc3-git1.bz2.sign Log Message: * Mon Oct 03 2005 Dave Jones - 2.6.14-rc3-git3 --- NEW FILE patch-2.6.14-rc3-git3.bz2.sign --- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: See http://www.kernel.org/signature.html for info iD8DBQBDQPVuyGugalF9Dw4RAo36AJ4qwVBekBLEc4wmzYRq7LxLRli5JgCeLRA1 mPEWPMHwPleLhkasMSRjRq4= =e7jn -----END PGP SIGNATURE----- Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/.cvsignore,v retrieving revision 1.238 retrieving revision 1.239 diff -u -r1.238 -r1.239 --- .cvsignore 2 Oct 2005 05:04:23 -0000 1.238 +++ .cvsignore 4 Oct 2005 00:54:42 -0000 1.239 @@ -4,3 +4,4 @@ linux-2.6.13.tar.bz2 patch-2.6.14-rc3.bz2 patch-2.6.14-rc3-git1.bz2 +patch-2.6.14-rc3-git3.bz2 Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v retrieving revision 1.1589 retrieving revision 1.1590 diff -u -r1.1589 -r1.1590 --- kernel-2.6.spec 2 Oct 2005 05:04:23 -0000 1.1589 +++ kernel-2.6.spec 4 Oct 2005 00:54:43 -0000 1.1590 @@ -200,7 +200,7 @@ # Patches 0 through 100 are meant for core subsystem upgrades # Patch1: patch-2.6.14-rc3.bz2 -Patch2: patch-2.6.14-rc3-git1.bz2 +Patch2: patch-2.6.14-rc3-git3.bz2 # Patches 100 through 500 are meant for architecture patches Patch100: linux-2.6-bzimage.patch @@ -1247,6 +1247,9 @@ %endif %changelog +* Mon Oct 03 2005 Dave Jones +- 2.6.14-rc3-git3 + * Sun Oct 02 2005 Dave Jones - 2.6.14-rc3-git1 Index: sources =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/sources,v retrieving revision 1.182 retrieving revision 1.183 diff -u -r1.182 -r1.183 --- sources 2 Oct 2005 05:04:24 -0000 1.182 +++ sources 4 Oct 2005 00:54:43 -0000 1.183 @@ -1,3 +1,3 @@ 560f5fadf59f172973e67939868a4cae linux-2.6.13.tar.bz2 31e3e9033695eaf48dc32560809f2b8b patch-2.6.14-rc3.bz2 -218d9ba38582eb967f3bae886bcdf30a patch-2.6.14-rc3-git1.bz2 +d363a780d27fcad8802c4920f31f8017 patch-2.6.14-rc3-git3.bz2 Index: upstream =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/upstream,v retrieving revision 1.169 retrieving revision 1.170 diff -u -r1.169 -r1.170 --- upstream 2 Oct 2005 05:04:24 -0000 1.169 +++ upstream 4 Oct 2005 00:54:43 -0000 1.170 @@ -1,3 +1,3 @@ linux-2.6.13.tar.bz2 patch-2.6.14-rc3.bz2 -patch-2.6.14-rc3-git1.bz2 +patch-2.6.14-rc3-git3.bz2 --- patch-2.6.14-rc3-git1.bz2.sign DELETED --- From fedora-cvs-commits at redhat.com Tue Oct 4 00:55:14 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 20:55:14 -0400 Subject: rpms/kernel/devel .cvsignore,1.239,1.240 Message-ID: <200510040055.j940tEMs018272@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv18215 Modified Files: .cvsignore Log Message: old Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/.cvsignore,v retrieving revision 1.239 retrieving revision 1.240 diff -u -r1.239 -r1.240 --- .cvsignore 4 Oct 2005 00:54:42 -0000 1.239 +++ .cvsignore 4 Oct 2005 00:55:11 -0000 1.240 @@ -3,5 +3,4 @@ kernel-2.6.13 linux-2.6.13.tar.bz2 patch-2.6.14-rc3.bz2 -patch-2.6.14-rc3-git1.bz2 patch-2.6.14-rc3-git3.bz2 From fedora-cvs-commits at redhat.com Tue Oct 4 00:56:50 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 20:56:50 -0400 Subject: rpms/kernel/devel linux-2.6-sound-emu10k1-ac97.patch, NONE, 1.1 kernel-2.6.spec, 1.1590, 1.1591 Message-ID: <200510040056.j940uoMN019089@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv19059 Modified Files: kernel-2.6.spec Added Files: linux-2.6-sound-emu10k1-ac97.patch Log Message: * Mon Oct 03 2005 Dave Jones - bring back ac97 sliders on emu10k1 linux-2.6-sound-emu10k1-ac97.patch: emu10k1_main.c | 1 + 1 files changed, 1 insertion(+) --- NEW FILE linux-2.6-sound-emu10k1-ac97.patch --- --- linux-2.6.13/sound/pci/emu10k1/emu10k1_main.c~ 2005-10-03 20:55:51.000000000 -0400 +++ linux-2.6.13/sound/pci/emu10k1/emu10k1_main.c 2005-10-03 20:56:04.000000000 -0400 @@ -759,6 +759,7 @@ static emu_chip_details_t emu_chip_detai .driver = "EMU10K1", .name = "SBLive! Platinum 5.1 [SB0060]", .id = "Live", .emu10k1_chip = 1, + .ac97_chip =1; .sblive51 = 1} , {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80511102, .driver = "EMU10K1", .name = "SBLive! Value [CT4850]", Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v retrieving revision 1.1590 retrieving revision 1.1591 diff -u -r1.1590 -r1.1591 --- kernel-2.6.spec 4 Oct 2005 00:54:43 -0000 1.1590 +++ kernel-2.6.spec 4 Oct 2005 00:56:47 -0000 1.1591 @@ -310,6 +310,7 @@ Patch1640: linux-2.6.11-acpi-thinkpad-c2c3.patch Patch1660: linux-2.6.9-module_version.patch Patch1670: linux-2.6-ide-floppy-eject.patch +Patch1680: linux-2.6-sound-emu10k1-ac97.patch Patch1730: linux-2.6.12-input-kill-stupid-messages.patch Patch1731: linux-2.6-input-usblegacy.patch @@ -738,6 +739,8 @@ %patch1660 -p1 # Fix eject on ide-floppy. (#158548) %patch1670 -p1 +# Bring back ac97 sliders on emu10k1 +%patch1680 -p1 # The input layer spews crap no-one cares about. %patch1730 -p1 @@ -1248,6 +1251,9 @@ %changelog * Mon Oct 03 2005 Dave Jones +- bring back ac97 sliders on emu10k1 + +* Mon Oct 03 2005 Dave Jones - 2.6.14-rc3-git3 * Sun Oct 02 2005 Dave Jones From fedora-cvs-commits at redhat.com Tue Oct 4 01:02:25 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 21:02:25 -0400 Subject: rpms/kernel/devel linux-2.6-cx88-silence-debug.patch, NONE, 1.1 kernel-2.6.spec, 1.1591, 1.1592 Message-ID: <200510040102.j9412PFM020809@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv20762 Modified Files: kernel-2.6.spec Added Files: linux-2.6-cx88-silence-debug.patch Log Message: * Mon Oct 03 2005 Dave Jones - silence silly debug message in cx88. (#168931) linux-2.6-cx88-silence-debug.patch: cx88-video.c | 1 - 1 files changed, 1 deletion(-) --- NEW FILE linux-2.6-cx88-silence-debug.patch --- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=168931 --- linux-2.6.13/drivers/media/video/cx88/cx88-video.c~ 2005-10-03 20:58:37.000000000 -0400 +++ linux-2.6.13/drivers/media/video/cx88/cx88-video.c 2005-10-03 20:59:51.000000000 -0400 @@ -1258,7 +1258,6 @@ int cx88_do_ioctl(struct inode *inode, s if (video_debug > 1) cx88_print_ioctl(core->name,cmd); - printk( KERN_INFO "CORE IOCTL: 0x%x\n", cmd ); cx88_print_ioctl(core->name,cmd); dprintk( 1, "CORE IOCTL: 0x%x\n", cmd ); Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v retrieving revision 1.1591 retrieving revision 1.1592 diff -u -r1.1591 -r1.1592 --- kernel-2.6.spec 4 Oct 2005 00:56:47 -0000 1.1591 +++ kernel-2.6.spec 4 Oct 2005 01:02:08 -0000 1.1592 @@ -311,6 +311,7 @@ Patch1660: linux-2.6.9-module_version.patch Patch1670: linux-2.6-ide-floppy-eject.patch Patch1680: linux-2.6-sound-emu10k1-ac97.patch +Patch1690: linux-2.6-cx88-silence-debug.patch Patch1730: linux-2.6.12-input-kill-stupid-messages.patch Patch1731: linux-2.6-input-usblegacy.patch @@ -741,6 +742,8 @@ %patch1670 -p1 # Bring back ac97 sliders on emu10k1 %patch1680 -p1 +# Silence silly debug message in cx88. (#168931) +%patch1690 -p1 # The input layer spews crap no-one cares about. %patch1730 -p1 @@ -1251,6 +1254,9 @@ %changelog * Mon Oct 03 2005 Dave Jones +- silence silly debug message in cx88. (#168931) + +* Mon Oct 03 2005 Dave Jones - bring back ac97 sliders on emu10k1 * Mon Oct 03 2005 Dave Jones From fedora-cvs-commits at redhat.com Tue Oct 4 01:26:28 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 21:26:28 -0400 Subject: rpms/kernel/devel linux-2.6-sound-emu10k1-ac97.patch,1.1,1.2 Message-ID: <200510040126.j941QS7r025517@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv25503 Modified Files: linux-2.6-sound-emu10k1-ac97.patch Log Message: duh linux-2.6-sound-emu10k1-ac97.patch: emu10k1_main.c | 1 + 1 files changed, 1 insertion(+) Index: linux-2.6-sound-emu10k1-ac97.patch =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/linux-2.6-sound-emu10k1-ac97.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- linux-2.6-sound-emu10k1-ac97.patch 4 Oct 2005 00:56:47 -0000 1.1 +++ linux-2.6-sound-emu10k1-ac97.patch 4 Oct 2005 01:26:23 -0000 1.2 @@ -4,7 +4,7 @@ .driver = "EMU10K1", .name = "SBLive! Platinum 5.1 [SB0060]", .id = "Live", .emu10k1_chip = 1, -+ .ac97_chip =1; ++ .ac97_chip = 1, .sblive51 = 1} , {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80511102, .driver = "EMU10K1", .name = "SBLive! Value [CT4850]", From fedora-cvs-commits at redhat.com Tue Oct 4 01:34:02 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 21:34:02 -0400 Subject: rpms/kernel/FC-4 linux-2.6.13.3.tar.bz2.sign, NONE, 1.1 .cvsignore, 1.158, 1.159 kernel-2.6.spec, 1.1466, 1.1467 sources, 1.143, 1.144 upstream, 1.85, 1.86 linux-2.6.13.tar.bz2.sign, 1.1, NONE Message-ID: <200510040134.j941Y2DL025643@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv25629 Modified Files: .cvsignore kernel-2.6.spec sources upstream Added Files: linux-2.6.13.3.tar.bz2.sign Removed Files: linux-2.6.13.tar.bz2.sign Log Message: 2.6.13.3 --- NEW FILE linux-2.6.13.3.tar.bz2.sign --- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: See http://www.kernel.org/signature.html for info iD8DBQBDQct6yGugalF9Dw4RAkegAJkBWDSK2d28bfQZYrCQQWZCxBQbfQCffuLX WG9z/zHCetcidsSCTlSdE9M= =yARG -----END PGP SIGNATURE----- Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/.cvsignore,v retrieving revision 1.158 retrieving revision 1.159 diff -u -r1.158 -r1.159 --- .cvsignore 29 Sep 2005 23:04:12 -0000 1.158 +++ .cvsignore 4 Oct 2005 01:33:59 -0000 1.159 @@ -1,7 +1,4 @@ -linux-2.6.*.tar.bz2 -patch-2.6.*-rc*.bz2 kernel-2.6.*.config temp-* -kernel-2.6.13 -linux-2.6.13.tar.bz2 -patch-2.6.13.2.bz2 +kernel-2.6.13.3 +linux-2.6.13.3.tar.bz2 Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/kernel-2.6.spec,v retrieving revision 1.1466 retrieving revision 1.1467 diff -u -r1.1466 -r1.1467 --- kernel-2.6.spec 2 Oct 2005 23:33:54 -0000 1.1466 +++ kernel-2.6.spec 4 Oct 2005 01:33:59 -0000 1.1467 @@ -16,7 +16,7 @@ # that the kernel isn't the stock distribution kernel, for example by # adding some text to the end of the version number. # -%define sublevel 13 +%define sublevel 13.3 %define kversion 2.6.%{sublevel} %define rpmversion 2.6.%{sublevel} %define rhbsys %([ -r /etc/beehive-root -o -n "%{?__beehive_build}" ] && echo || echo .`whoami`@`hostname -s|sed s/-//`) @@ -203,7 +203,6 @@ # # Patches 0 through 100 are meant for core subsystem upgrades # -Patch1: patch-2.6.13.2.bz2 # Patches 100 through 500 are meant for architecture patches Patch100: linux-2.6-bzimage.patch @@ -537,9 +536,6 @@ cp -rl vanilla linux-%{kversion} cd linux-%{kversion} -# Update to latest upstream. -%patch1 -p1 - # # Patches 10 through 100 are meant for core subsystem upgrades # @@ -1244,6 +1240,9 @@ %endif %changelog +* Mon Oct 03 2005 Dave Jones [2.6.13-1.1528_FC4] +- 2.6.13.3 + * Sun Oct 02 2005 Dave Jones [2.6.13-1.1527_FC4] - fix ide floppy eject. (#158548) Index: sources =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/sources,v retrieving revision 1.143 retrieving revision 1.144 diff -u -r1.143 -r1.144 --- sources 29 Sep 2005 23:05:04 -0000 1.143 +++ sources 4 Oct 2005 01:34:00 -0000 1.144 @@ -1,2 +1 @@ -560f5fadf59f172973e67939868a4cae linux-2.6.13.tar.bz2 -deb39c284b01db99fdc3ec3f80a4eaea patch-2.6.13.2.bz2 +4208271a5a7b273b7bf83cabe2c54cf5 linux-2.6.13.3.tar.bz2 Index: upstream =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/upstream,v retrieving revision 1.85 retrieving revision 1.86 diff -u -r1.85 -r1.86 --- upstream 2 Oct 2005 22:58:47 -0000 1.85 +++ upstream 4 Oct 2005 01:34:00 -0000 1.86 @@ -1,2 +1 @@ -linux-2.6.13.tar.bz2 -patch-2.6.13.2.bz2 +linux-2.6.13.3.tar.bz2 --- linux-2.6.13.tar.bz2.sign DELETED --- From fedora-cvs-commits at redhat.com Tue Oct 4 02:36:56 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 22:36:56 -0400 Subject: rpms/kernel/FC-4 .cvsignore, 1.159, 1.160 kernel-2.6.spec, 1.1467, 1.1468 sources, 1.144, 1.145 upstream, 1.86, 1.87 Message-ID: <200510040236.j942auam030136@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv30049 Modified Files: .cvsignore kernel-2.6.spec sources upstream Log Message: do things the old way (which works) Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/.cvsignore,v retrieving revision 1.159 retrieving revision 1.160 diff -u -r1.159 -r1.160 --- .cvsignore 4 Oct 2005 01:33:59 -0000 1.159 +++ .cvsignore 4 Oct 2005 02:36:53 -0000 1.160 @@ -2,3 +2,4 @@ temp-* kernel-2.6.13.3 linux-2.6.13.3.tar.bz2 +patch-2.6.13.3.bz2 Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/kernel-2.6.spec,v retrieving revision 1.1467 retrieving revision 1.1468 diff -u -r1.1467 -r1.1468 --- kernel-2.6.spec 4 Oct 2005 01:33:59 -0000 1.1467 +++ kernel-2.6.spec 4 Oct 2005 02:36:53 -0000 1.1468 @@ -16,7 +16,7 @@ # that the kernel isn't the stock distribution kernel, for example by # adding some text to the end of the version number. # -%define sublevel 13.3 +%define sublevel 13 %define kversion 2.6.%{sublevel} %define rpmversion 2.6.%{sublevel} %define rhbsys %([ -r /etc/beehive-root -o -n "%{?__beehive_build}" ] && echo || echo .`whoami`@`hostname -s|sed s/-//`) @@ -203,6 +203,7 @@ # # Patches 0 through 100 are meant for core subsystem upgrades # +Patch1: patch-2.6.13.3.bz2 # Patches 100 through 500 are meant for architecture patches Patch100: linux-2.6-bzimage.patch @@ -536,6 +537,9 @@ cp -rl vanilla linux-%{kversion} cd linux-%{kversion} +# latest upstream +%patch1 -p1 + # # Patches 10 through 100 are meant for core subsystem upgrades # Index: sources =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/sources,v retrieving revision 1.144 retrieving revision 1.145 diff -u -r1.144 -r1.145 --- sources 4 Oct 2005 01:34:00 -0000 1.144 +++ sources 4 Oct 2005 02:36:53 -0000 1.145 @@ -1 +1,2 @@ 4208271a5a7b273b7bf83cabe2c54cf5 linux-2.6.13.3.tar.bz2 +a669a1f51a15ad65dc45acae51ff4147 patch-2.6.13.3.bz2 Index: upstream =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/upstream,v retrieving revision 1.86 retrieving revision 1.87 diff -u -r1.86 -r1.87 --- upstream 4 Oct 2005 01:34:00 -0000 1.86 +++ upstream 4 Oct 2005 02:36:53 -0000 1.87 @@ -1 +1,2 @@ -linux-2.6.13.3.tar.bz2 +linux-2.6.13.tar.bz2 +patch-2.6.13.3.bz2 From fedora-cvs-commits at redhat.com Tue Oct 4 02:37:45 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 3 Oct 2005 22:37:45 -0400 Subject: rpms/kernel/FC-4 linux-2.6.13.tar.bz2.sign, 1.2, 1.3 patch-2.6.13.3.bz2.sign, NONE, 1.1 .cvsignore, 1.160, 1.161 Message-ID: <200510040237.j942bjUA030533@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv30472 Modified Files: .cvsignore Added Files: linux-2.6.13.tar.bz2.sign patch-2.6.13.3.bz2.sign Log Message: sigs Index: linux-2.6.13.tar.bz2.sign =================================================================== RCS file: linux-2.6.13.tar.bz2.sign diff -N linux-2.6.13.tar.bz2.sign --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ linux-2.6.13.tar.bz2.sign 4 Oct 2005 02:37:42 -0000 1.3 @@ -0,0 +1,8 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (GNU/Linux) +Comment: See http://www.kernel.org/signature.html for info + +iD8DBQBDElIWyGugalF9Dw4RApe/AJ418agzvXnbZyZg5s8LD/17PPEgbgCgi7H7 +nS+lRuZ5mc6LfAV+jSqG3JI= +=ZRIY +-----END PGP SIGNATURE----- --- NEW FILE patch-2.6.13.3.bz2.sign --- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: See http://www.kernel.org/signature.html for info iD8DBQBDQct7yGugalF9Dw4RAo5cAJ99AjcIOzVKlMbgNNBQUDcu4aV9dACeIYFF rZ6a9cKX1FHI29kqlK4k04w= =5yvs -----END PGP SIGNATURE----- Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/.cvsignore,v retrieving revision 1.160 retrieving revision 1.161 diff -u -r1.160 -r1.161 --- .cvsignore 4 Oct 2005 02:36:53 -0000 1.160 +++ .cvsignore 4 Oct 2005 02:37:42 -0000 1.161 @@ -1,5 +1,5 @@ kernel-2.6.*.config temp-* -kernel-2.6.13.3 -linux-2.6.13.3.tar.bz2 +kernel-2.6.13 +linux-2.6.13.tar.bz2 patch-2.6.13.3.bz2 From fedora-cvs-commits at redhat.com Tue Oct 4 04:39:38 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 00:39:38 -0400 Subject: rpms/ruby/devel ruby.spec,1.41,1.42 Message-ID: <200510040439.j944dcFF021665@cvs.devel.redhat.com> Author: tagoh Update of /cvs/dist/rpms/ruby/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv21623 Modified Files: ruby.spec Log Message: * Tue Oct 4 2005 Akira TAGOH - 1.8.3-4 - moved the documents from ruby-libs to ruby-docs, which contains the arch specific thing and to be multilib support. (#168826) Index: ruby.spec =================================================================== RCS file: /cvs/dist/rpms/ruby/devel/ruby.spec,v retrieving revision 1.41 retrieving revision 1.42 diff -u -r1.41 -r1.42 --- ruby.spec 3 Oct 2005 06:36:25 -0000 1.41 +++ ruby.spec 4 Oct 2005 04:39:32 -0000 1.42 @@ -374,7 +374,6 @@ %doc %{name}-%{version}/COPYING* %doc %{name}-%{version}/ChangeLog %doc %{name}-%{version}/LEGAL -%doc tmp-ruby-docs/ruby-libs/* %dir %{_libdir}/ruby %dir %{_libdir}/ruby/%{rubyxver} %dir %{_libdir}/ruby/%{rubyxver}/cgi @@ -407,6 +406,7 @@ %files docs %defattr(-, root, root) %doc tmp-ruby-docs/ruby-docs/* +%doc tmp-ruby-docs/ruby-libs/* %files mode -f ruby-mode.files %defattr(-, root, root) @@ -414,6 +414,10 @@ %dir %{_datadir}/emacs/site-lisp/ruby-mode %changelog +* Tue Oct 4 2005 Akira TAGOH - 1.8.3-4 +- moved the documents from ruby-libs to ruby-docs, which contains the arch + specific thing and to be multilib support. (#168826) + * Mon Oct 3 2005 Akira TAGOH - 1.8.3-3 - fixed the wrong file list. the external library for tcl/tk was included in ruby-libs unexpectedly. From fedora-cvs-commits at redhat.com Tue Oct 4 04:40:08 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 00:40:08 -0400 Subject: rpms/ruby/devel ruby.spec,1.42,1.43 Message-ID: <200510040440.j944e8SL021986@cvs.devel.redhat.com> Author: tagoh Update of /cvs/dist/rpms/ruby/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv21935 Modified Files: ruby.spec Log Message: Index: ruby.spec =================================================================== RCS file: /cvs/dist/rpms/ruby/devel/ruby.spec,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- ruby.spec 4 Oct 2005 04:39:32 -0000 1.42 +++ ruby.spec 4 Oct 2005 04:40:06 -0000 1.43 @@ -4,7 +4,7 @@ Name: ruby Version: 1.8.3 -Release: 3 +Release: 4 License: Distributable URL: http://www.ruby-lang.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-root From fedora-cvs-commits at redhat.com Tue Oct 4 09:44:22 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 05:44:22 -0400 Subject: rpms/nut/FC-4 nut-2.0.2-buffer.patch, NONE, 1.1 nut-2.0.2-warning.patch, NONE, 1.1 .cvsignore, 1.10, 1.11 nut.spec, 1.19, 1.20 sources, 1.10, 1.11 Message-ID: <200510040944.j949iMEi028779@cvs.devel.redhat.com> Author: than Update of /cvs/dist/rpms/nut/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv28713 Modified Files: .cvsignore nut.spec sources Added Files: nut-2.0.2-buffer.patch nut-2.0.2-warning.patch Log Message: - fix compiler warnings #156027 - remove debug messages #160700 - update to 2.0.2 nut-2.0.2-buffer.patch: bestfcom.c | 2 +- tripplite.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- NEW FILE nut-2.0.2-buffer.patch --- --- nut-2.0.2/drivers/bestfcom.c.tn 2005-07-20 14:56:00.000000000 +0200 +++ nut-2.0.2/drivers/bestfcom.c 2005-07-20 14:56:51.000000000 +0200 @@ -527,7 +527,7 @@ ser_get_line(upsfd, rstring, sizeof(rstring), '>', "", 3, 0); - rstring[sizeof(rstring)] = '\0'; + rstring[sizeof(rstring) -1] = '\0'; upsdebugx(2, "id response: %s", rstring); /* Better way to identify this unit is using "d 15\r", which results in --- nut-2.0.2/drivers/tripplite.c.tn 2005-07-20 14:54:18.000000000 +0200 +++ nut-2.0.2/drivers/tripplite.c 2005-07-20 14:55:46.000000000 +0200 @@ -143,7 +143,7 @@ static int hex2d(char *start, unsigned int len) { - char buf[32]; + char buf[33]; buf[32] = '\0'; strncpy(buf, start, (len < (sizeof buf) ? len : (sizeof buf - 1))); nut-2.0.2-warning.patch: hidups.c | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) --- NEW FILE nut-2.0.2-warning.patch --- --- nut-2.0.2/drivers/hidups.c.orig 2005-10-04 11:00:48.000000000 +0200 +++ nut-2.0.2/drivers/hidups.c 2005-10-04 11:37:57.000000000 +0200 @@ -108,15 +108,16 @@ /* XXX: deal with bogosity by throwing it out */ if (ev->value > 3000000) { - upslogx(LOG_INFO, "Ignoring bogus event 0x%x (%d)", - ev->hid, ev->value); + /* upslogx(LOG_INFO, "Ignoring bogus event 0x%x (%d)", + ev->hid, ev->value); */ return; } /* x86 page == ups-specific, ignore these for now */ if ((ev->hid & 0x860000) == 0x860000) { - upslogx(LOG_INFO, "Ignoring x86 page event 0x%x (%d)", - ev->hid, ev->value); + + /* upslogx(LOG_INFO, "Ignoring x86 page event 0x%x (%d)", + ev->hid, ev->value); */ return; } @@ -176,8 +177,9 @@ break; default: - upslogx(LOG_INFO, "Unhandled event: 0x%x (%d)", - ev->hid, ev->value); + /* upslogx(LOG_INFO, "Unhandled event: 0x%x (%d)", + ev->hid, ev->value); */ + break; } /* deal with any status changes */ Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/nut/FC-4/.cvsignore,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- .cvsignore 10 Mar 2005 17:27:36 -0000 1.10 +++ .cvsignore 4 Oct 2005 09:44:19 -0000 1.11 @@ -1,2 +1,3 @@ nut-2.0.0.tar.gz nut-2.0.1.tar.gz +nut-2.0.2.tar.gz Index: nut.spec =================================================================== RCS file: /cvs/dist/rpms/nut/FC-4/nut.spec,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- nut.spec 10 Mar 2005 17:27:36 -0000 1.19 +++ nut.spec 4 Oct 2005 09:44:19 -0000 1.20 @@ -3,19 +3,20 @@ %define initdir /etc/rc.d/init.d %define cgidir /var/www/nut-cgi-bin +%define piddir /var/run/nut %define modeldir /sbin %define devel 0 Summary: Network UPS Tools Name: nut -Version: 2.0.1 -Release: 1 +Version: 2.0.2 +Release: 0.fc4.1 Group: Applications/System License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root -Url: http://us2.networkupstools.org/ -Source: http://us2.networkupstools.org/source/2.0/%{name}-%{version}.tar.gz +Url: http://wwww.networkupstools.org/ +Source: http://www.networkupstools.org/source/2.0/%{name}-%{version}.tar.gz Source1: ups.init Source2: ups.sysconfig @@ -23,6 +24,8 @@ Patch1: nut-0.45.0-conffiles.patch Patch2: nut-0.45.4-conf.patch Patch3: nut-2.0.1-bad.patch +Patch4: nut-2.0.2-buffer.patch +Patch5: nut-2.0.2-warning.patch Requires: nut-client @@ -87,6 +90,8 @@ %patch1 -p1 -b .conf %patch2 -p1 -b .conf1 %patch3 -p1 -b .bad +%patch4 -p1 -b .buffer +%patch5 -p1 -b .warnings iconv -f iso-8859-1 -t utf-8 < man/newhidups.8 > man/newhidups.8_ mv man/newhidups.8_ man/newhidups.8 @@ -95,7 +100,9 @@ %configure \ --with-user=%{name} \ --with-group=uucp \ - --with-statepath=%{_localstatedir}/lib/ups \ + --with-statepath=%{piddir} \ + --with-pidpath=%{piddir} \ + --with-altpidpath=%{piddir} \ --sysconfdir=%{_sysconfdir}/ups \ --with-cgipath=%{cgidir} \ --with-drvpath=%{modeldir} \ @@ -112,6 +119,7 @@ mkdir -p %{buildroot}%{modeldir} \ %{buildroot}%{_sysconfdir}/sysconfig \ + %{buildroot}%{piddir} \ %{buildroot}%{_localstatedir}/lib/ups \ %{buildroot}%{initdir} @@ -175,8 +183,8 @@ %files %defattr(-,root,root) %doc COPYING CREDITS CHANGES README docs UPGRADING -%config(noreplace) %attr(644,root,root) %{_sysconfdir}/ups/ups.conf -%config(noreplace) %attr(644,root,root) %{_sysconfdir}/ups/upsd.conf +%config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/ups.conf +%config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/upsd.conf %config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/upsd.users %config(noreplace) %attr(644,root,root) %{_sysconfdir}/sysconfig/ups %{modeldir}/* @@ -222,14 +230,17 @@ %{_mandir}/man8/metasys.8.gz %{_mandir}/man8/mustek.8.gz %{_mandir}/man8/powermust.8.gz - +%{_mandir}/man8/bcmxcp.8* +%{_mandir}/man8/solis.8* +%{_mandir}/man8/upscode2.8* %files client %defattr(-,root,root) %attr(755,root,root) %{initdir}/ups %dir %{_sysconfdir}/ups -%config(noreplace) %attr(400,nut,nut) %{_sysconfdir}/ups/upsmon.conf -%config(noreplace) %attr(400,nut,nut) %{_sysconfdir}/ups/upssched.conf +%config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/upsmon.conf +%config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/upssched.conf %dir %attr(750,nut,nut) %{_localstatedir}/lib/ups +%dir %attr(750,nut,nut) %{piddir} %{_bindir}/upsc %{_bindir}/upscmd %{_bindir}/upsrw @@ -260,6 +271,11 @@ %{_mandir}/man8/upsset.cgi.8.gz %changelog +* Tue Oct 04 2005 Than Ngo 2.0.2-0.fc4.1 +- fix compiler warnings #156027 +- remove debug messages #160700 +- update to 2.0.2 + * Thu Mar 10 2005 Than Ngo 2.0.1-1 - 2.0.1 - fix uninit local variable, #131773 Index: sources =================================================================== RCS file: /cvs/dist/rpms/nut/FC-4/sources,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- sources 10 Mar 2005 17:27:36 -0000 1.10 +++ sources 4 Oct 2005 09:44:19 -0000 1.11 @@ -1 +1 @@ -fe28e182ab31015cfcfad5870a2322a2 nut-2.0.1.tar.gz +6560df8d0a42f0f585d34ed1ae8c6f67 nut-2.0.2.tar.gz From fedora-cvs-commits at redhat.com Tue Oct 4 10:30:07 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 06:30:07 -0400 Subject: rpms/nut/FC-3 nut-2.0.1-bad.patch, NONE, 1.1 nut-2.0.2-buffer.patch, NONE, 1.1 nut-2.0.2-warning.patch, NONE, 1.1 .cvsignore, 1.9, 1.10 nut.spec, 1.16, 1.17 sources, 1.9, 1.10 Message-ID: <200510041030.j94AU7Dm025269@cvs.devel.redhat.com> Author: than Update of /cvs/dist/rpms/nut/FC-3 In directory cvs.devel.redhat.com:/tmp/cvs-serv25164 Modified Files: .cvsignore nut.spec sources Added Files: nut-2.0.1-bad.patch nut-2.0.2-buffer.patch nut-2.0.2-warning.patch Log Message: update to 2.0.2 nut-2.0.1-bad.patch: cpsups.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) --- NEW FILE nut-2.0.1-bad.patch --- --- nut-2.0.1/drivers/cpsups.c.orig 2005-03-10 18:18:37.417101653 +0100 +++ nut-2.0.1/drivers/cpsups.c 2005-03-10 18:18:04.258008857 +0100 @@ -133,9 +133,6 @@ /* These are used to hold status of UPS. * val1 = online/onbattery status */ - char temp1=values[6][0]; - char *tmp1=&temp1; - while ((pollstatusmap[i].end != 0)) { pos = &buf[pollstatusmap[i].begin]; @@ -144,6 +141,9 @@ i++; } + char temp1=values[6][0]; + char *tmp1=&temp1; + if ((*tmp1 & CPS_STAT_OL) && !(*tmp1 & CPS_STAT_OB)) status_set("OL"); nut-2.0.2-buffer.patch: bestfcom.c | 2 +- tripplite.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- NEW FILE nut-2.0.2-buffer.patch --- --- nut-2.0.2/drivers/bestfcom.c.tn 2005-07-20 14:56:00.000000000 +0200 +++ nut-2.0.2/drivers/bestfcom.c 2005-07-20 14:56:51.000000000 +0200 @@ -527,7 +527,7 @@ ser_get_line(upsfd, rstring, sizeof(rstring), '>', "", 3, 0); - rstring[sizeof(rstring)] = '\0'; + rstring[sizeof(rstring) -1] = '\0'; upsdebugx(2, "id response: %s", rstring); /* Better way to identify this unit is using "d 15\r", which results in --- nut-2.0.2/drivers/tripplite.c.tn 2005-07-20 14:54:18.000000000 +0200 +++ nut-2.0.2/drivers/tripplite.c 2005-07-20 14:55:46.000000000 +0200 @@ -143,7 +143,7 @@ static int hex2d(char *start, unsigned int len) { - char buf[32]; + char buf[33]; buf[32] = '\0'; strncpy(buf, start, (len < (sizeof buf) ? len : (sizeof buf - 1))); nut-2.0.2-warning.patch: hidups.c | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) --- NEW FILE nut-2.0.2-warning.patch --- --- nut-2.0.2/drivers/hidups.c.orig 2005-10-04 11:00:48.000000000 +0200 +++ nut-2.0.2/drivers/hidups.c 2005-10-04 11:37:57.000000000 +0200 @@ -108,15 +108,16 @@ /* XXX: deal with bogosity by throwing it out */ if (ev->value > 3000000) { - upslogx(LOG_INFO, "Ignoring bogus event 0x%x (%d)", - ev->hid, ev->value); + /* upslogx(LOG_INFO, "Ignoring bogus event 0x%x (%d)", + ev->hid, ev->value); */ return; } /* x86 page == ups-specific, ignore these for now */ if ((ev->hid & 0x860000) == 0x860000) { - upslogx(LOG_INFO, "Ignoring x86 page event 0x%x (%d)", - ev->hid, ev->value); + + /* upslogx(LOG_INFO, "Ignoring x86 page event 0x%x (%d)", + ev->hid, ev->value); */ return; } @@ -176,8 +177,9 @@ break; default: - upslogx(LOG_INFO, "Unhandled event: 0x%x (%d)", - ev->hid, ev->value); + /* upslogx(LOG_INFO, "Unhandled event: 0x%x (%d)", + ev->hid, ev->value); */ + break; } /* deal with any status changes */ Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/nut/FC-3/.cvsignore,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- .cvsignore 9 Sep 2004 09:22:49 -0000 1.9 +++ .cvsignore 4 Oct 2005 10:30:04 -0000 1.10 @@ -1 +1,2 @@ nut-2.0.0.tar.gz +nut-2.0.2.tar.gz Index: nut.spec =================================================================== RCS file: /cvs/dist/rpms/nut/FC-3/nut.spec,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- nut.spec 5 Oct 2004 15:09:23 -0000 1.16 +++ nut.spec 4 Oct 2005 10:30:04 -0000 1.17 @@ -3,25 +3,29 @@ %define initdir /etc/rc.d/init.d %define cgidir /var/www/nut-cgi-bin +%define piddir /var/run/nut %define modeldir /sbin %define devel 0 Summary: Network UPS Tools Name: nut -Version: 2.0.0 -Release: 5 +Version: 2.0.2 +Release: 0.fc3.1 Group: Applications/System License: GPL -BuildRoot: %{_tmppath}/%{name}-%{version}-root -Url: http://us2.networkupstools.org/ -Source: http://us2.networkupstools.org/source/2.0/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +Url: http://wwww.networkupstools.org/ +Source: http://www.networkupstools.org/source/2.0/%{name}-%{version}.tar.gz Source1: ups.init Source2: ups.sysconfig Patch0: nut-1.4.0-buildroot.patch Patch1: nut-0.45.0-conffiles.patch Patch2: nut-0.45.4-conf.patch +Patch3: nut-2.0.1-bad.patch +Patch4: nut-2.0.2-buffer.patch +Patch5: nut-2.0.2-warning.patch Requires: nut-client @@ -37,7 +41,10 @@ BuildPrereq: elfutils-devel BuildPrereq: XFree86-devel BuildPrereq: libjpeg-devel + +%ifnarch s390 s390x BuildPrereq: libusb-devel +%endif ExcludeArch: s390 s390x @@ -82,12 +89,20 @@ %patch0 -p1 -b .buildroot %patch1 -p1 -b .conf %patch2 -p1 -b .conf1 +%patch3 -p1 -b .bad +%patch4 -p1 -b .buffer +%patch5 -p1 -b .warnings + +iconv -f iso-8859-1 -t utf-8 < man/newhidups.8 > man/newhidups.8_ +mv man/newhidups.8_ man/newhidups.8 %build %configure \ --with-user=%{name} \ --with-group=uucp \ - --with-statepath=%{_localstatedir}/lib/ups \ + --with-statepath=%{piddir} \ + --with-pidpath=%{piddir} \ + --with-altpidpath=%{piddir} \ --sysconfdir=%{_sysconfdir}/ups \ --with-cgipath=%{cgidir} \ --with-drvpath=%{modeldir} \ @@ -104,6 +119,7 @@ mkdir -p %{buildroot}%{modeldir} \ %{buildroot}%{_sysconfdir}/sysconfig \ + %{buildroot}%{piddir} \ %{buildroot}%{_localstatedir}/lib/ups \ %{buildroot}%{initdir} @@ -167,8 +183,8 @@ %files %defattr(-,root,root) %doc COPYING CREDITS CHANGES README docs UPGRADING -%config(noreplace) %attr(644,root,root) %{_sysconfdir}/ups/ups.conf -%config(noreplace) %attr(644,root,root) %{_sysconfdir}/ups/upsd.conf +%config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/ups.conf +%config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/upsd.conf %config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/upsd.users %config(noreplace) %attr(644,root,root) %{_sysconfdir}/sysconfig/ups %{modeldir}/* @@ -205,19 +221,26 @@ %{_mandir}/man8/energizerups.8.gz %{_mandir}/man8/safenet.8.gz %{_mandir}/man8/belkinunv.8.gz -%{_mandir}/man8/cyberpower1100.8.gz %{_mandir}/man8/hidups.8.gz %{_mandir}/man8/ippon.8.gz %{_mandir}/man8/newhidups.8.gz %{_mandir}/man8/snmp-ups.8.gz - +%{_mandir}/man8/bestfcom.8.gz +%{_mandir}/man8/cpsups.8.gz +%{_mandir}/man8/metasys.8.gz +%{_mandir}/man8/mustek.8.gz +%{_mandir}/man8/powermust.8.gz +%{_mandir}/man8/bcmxcp.8* +%{_mandir}/man8/solis.8* +%{_mandir}/man8/upscode2.8* %files client %defattr(-,root,root) %attr(755,root,root) %{initdir}/ups %dir %{_sysconfdir}/ups -%config(noreplace) %attr(400,nut,nut) %{_sysconfdir}/ups/upsmon.conf -%config(noreplace) %attr(400,nut,nut) %{_sysconfdir}/ups/upssched.conf +%config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/upsmon.conf +%config(noreplace) %attr(640,root,nut) %{_sysconfdir}/ups/upssched.conf %dir %attr(750,nut,nut) %{_localstatedir}/lib/ups +%dir %attr(750,nut,nut) %{piddir} %{_bindir}/upsc %{_bindir}/upscmd %{_bindir}/upsrw @@ -248,6 +271,9 @@ %{_mandir}/man8/upsset.cgi.8.gz %changelog +* Tue Oct 04 2005 Than Ngo 2.0.2-0.fc3.1 +- update to 2.0.2 + * Tue Oct 05 2004 Than Ngo 2.0.0-5 - more buildrequires - don't build on s390/s390x Index: sources =================================================================== RCS file: /cvs/dist/rpms/nut/FC-3/sources,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- sources 9 Sep 2004 09:22:49 -0000 1.9 +++ sources 4 Oct 2005 10:30:04 -0000 1.10 @@ -1 +1 @@ -84649ad95809737b5ffc19efdd9e9952 nut-2.0.0.tar.gz +6560df8d0a42f0f585d34ed1ae8c6f67 nut-2.0.2.tar.gz From fedora-cvs-commits at redhat.com Tue Oct 4 11:30:22 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 07:30:22 -0400 Subject: rpms/vsftpd/devel vsftpd.pam,1.5,1.6 vsftpd.spec,1.36,1.37 Message-ID: <200510041130.j94BUMUK030118@cvs.devel.redhat.com> Author: rvokal Update of /cvs/dist/rpms/vsftpd/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30093 Modified Files: vsftpd.pam vsftpd.spec Log Message: - use include instead of pam_stack in pam config Index: vsftpd.pam =================================================================== RCS file: /cvs/dist/rpms/vsftpd/devel/vsftpd.pam,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- vsftpd.pam 1 Jun 2005 09:17:51 -0000 1.5 +++ vsftpd.pam 4 Oct 2005 11:30:19 -0000 1.6 @@ -1,7 +1,7 @@ #%PAM-1.0 auth required pam_listfile.so item=user sense=deny file=/etc/vsftpd/ftpusers onerr=succeed -auth required pam_stack.so service=system-auth auth required pam_shells.so -account required pam_stack.so service=system-auth -session required pam_stack.so service=system-auth +auth include system-auth +account include system-auth +session include system-auth session required pam_loginuid.so Index: vsftpd.spec =================================================================== RCS file: /cvs/dist/rpms/vsftpd/devel/vsftpd.spec,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- vsftpd.spec 9 Sep 2005 10:15:31 -0000 1.36 +++ vsftpd.spec 4 Oct 2005 11:30:20 -0000 1.37 @@ -3,7 +3,7 @@ Summary: vsftpd - Very Secure Ftp Daemon Name: vsftpd Version: 2.0.3 -Release: 10 +Release: 11 License: GPL Group: System Environment/Daemons URL: http://vsftpd.beasts.org/ @@ -134,6 +134,9 @@ /var/ftp %changelog +* Tue Oct 04 2005 Radek Vokal 2.0.3-11 +- use include instead of pam_stack in pam config + * Fri Sep 09 2005 Radek Vokal 2.0.3-10 - vsfptd.log as a default log file has to be rotated (#167359) - vsftpd does dns reverse before passing hosts to pam_access.so (#159745) From fedora-cvs-commits at redhat.com Tue Oct 4 13:47:01 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 09:47:01 -0400 Subject: rpms/pam/devel pam-0.80-console-doc-fix.patch, NONE, 1.1 pam.spec, 1.89, 1.90 Message-ID: <200510041347.j94Dl1QR028634@cvs.devel.redhat.com> Author: tmraz Update of /cvs/dist/rpms/pam/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv28619 Modified Files: pam.spec Added Files: pam-0.80-console-doc-fix.patch Log Message: * Tue Oct 4 2005 Tomas Mraz - pam_console manpage fixes (#169373) pam-0.80-console-doc-fix.patch: pam_console.8 | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) --- NEW FILE pam-0.80-console-doc-fix.patch --- --- Linux-PAM-0.80/modules/pam_console/pam_console.8.doc-fix 2005-07-14 15:13:44.000000000 +0200 +++ Linux-PAM-0.80/modules/pam_console/pam_console.8 2005-10-04 15:42:31.000000000 +0200 @@ -1,12 +1,12 @@ .\" Copyright 1999 Red Hat Software, Inc. .\" Written by Michael K. Johnson -.TH pam_console 8 2005/5/2 "Red Hat" "System Administrator's Manual" +.TH pam_console 8 2005/10/4 "Red Hat" "System Administrator's Manual" .SH NAME pam_console \- determine user owning the system console .SH SYNOPSIS -.B session optional /lib/security/pam_console.so +.B session optional pam_console.so .br -.B auth required /lib/security/pam_console.so +.B auth required pam_console.so .SH DESCRIPTION pam_console.so is designed to give users at the physical console (virtual terminals and local xdm-managed X sessions by default, but @@ -73,10 +73,10 @@ session optional pam_console.so .br .SH FILES -\fI/var/run/console.lock\fP -.br \fI/var/run/console/\fP .br +\fI/var/run/console/console.lock\fP +.br \fI/etc/security/console.apps\fP .br \fI/etc/security/console.handlers\fP Index: pam.spec =================================================================== RCS file: /cvs/dist/rpms/pam/devel/pam.spec,v retrieving revision 1.89 retrieving revision 1.90 diff -u -r1.89 -r1.90 --- pam.spec 30 Sep 2005 13:52:28 -0000 1.89 +++ pam.spec 4 Oct 2005 13:46:58 -0000 1.90 @@ -38,6 +38,7 @@ Patch74: pam-0.79-userdb-test-null.patch Patch75: pam-0.80-limits-process.patch Patch76: pam-0.80-unix-honor-nis.patch +Patch77: pam-0.80-console-doc-fix.patch BuildRoot: %{_tmppath}/%{name}-root Requires: cracklib, cracklib-dicts >= 2.8, initscripts >= 3.94 @@ -106,6 +107,7 @@ %patch74 -p1 -b .test-null %patch75 -p1 -b .process-limit %patch76 -p1 -b .honor-nis +%patch77 -p1 -b .console-doc for readme in modules/pam_*/README ; do cp -f ${readme} doc/txts/README.`dirname ${readme} | sed -e 's|^modules/||'` @@ -380,6 +382,9 @@ %{_libdir}/libpam_misc.so %changelog +* Tue Oct 4 2005 Tomas Mraz +- pam_console manpage fixes (#169373) + * Fri Sep 30 2005 Tomas Mraz 0.80-9 - don't include ps and pdf docs (#168823) - new common config file for configuration utilities From fedora-cvs-commits at redhat.com Tue Oct 4 13:58:53 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 09:58:53 -0400 Subject: rpms/ncpfs/FC-4 ncpfs-2.2.4-overflow2.patch, 1.1, 1.2 ncpfs.spec, 1.18, 1.19 Message-ID: <200510041358.j94DwrJv006303@cvs.devel.redhat.com> Author: stransky Update of /cvs/dist/rpms/ncpfs/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv6269 Modified Files: ncpfs-2.2.4-overflow2.patch ncpfs.spec Log Message: fix for #169080 (buffer overflow detected: ncplogin terminated) ncpfs-2.2.4-overflow2.patch: ncplogin.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) Index: ncpfs-2.2.4-overflow2.patch =================================================================== RCS file: /cvs/dist/rpms/ncpfs/FC-4/ncpfs-2.2.4-overflow2.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ncpfs-2.2.4-overflow2.patch 19 May 2005 15:54:55 -0000 1.1 +++ ncpfs-2.2.4-overflow2.patch 4 Oct 2005 13:58:49 -0000 1.2 @@ -6,7 +6,7 @@ /* we DID check in main that -V has been specified !*/ - strcpy(tmpNWPath,info->remote_path); + memset(tmpNWPath,0,sizeof(tmpNWPath)); -+ strncpy(tmpNWPath,sizeof(tmpNWPath)-1,(info->remote_path)); ++ strncpy(tmpNWPath,info->remote_path,sizeof(tmpNWPath)-1); if (info->root_path) { - strcat(tmpNWPath,"/"); - strcat(tmpNWPath,info->root_path); Index: ncpfs.spec =================================================================== RCS file: /cvs/dist/rpms/ncpfs/FC-4/ncpfs.spec,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- ncpfs.spec 19 May 2005 15:54:55 -0000 1.18 +++ ncpfs.spec 4 Oct 2005 13:58:49 -0000 1.19 @@ -1,7 +1,7 @@ Summary: Utilities for the ncpfs filesystem, a NetWare client for Linux. Name: ncpfs Version: 2.2.4 -Release: 8 +Release: 9 License: GPL Source: http://ftp.cvut.cz/ncpfs/ncpfs-%{version}.tar.gz Patch: ncpfs-2.2.3-fix.patch @@ -118,6 +118,9 @@ %{_mandir}/man8/ipx* %changelog +* Tue Oct 4 2005 Martin Stransky 2.2.4-9 +- fix for #169080 (buffer overflow detected: ncplogin terminated) + * Thu May 19 2005 Jiri Ryska - fixed possible buffer overflow CAN-2005-0014 From fedora-cvs-commits at redhat.com Tue Oct 4 14:00:22 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 10:00:22 -0400 Subject: rpms/ncpfs/FC-4 ncpfs.spec,1.19,1.20 Message-ID: <200510041400.j94E0LkI006894@cvs.devel.redhat.com> Author: stransky Update of /cvs/dist/rpms/ncpfs/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv6881 Modified Files: ncpfs.spec Log Message: fix for #169080 (buffer overflow detected: ncplogin terminated) Index: ncpfs.spec =================================================================== RCS file: /cvs/dist/rpms/ncpfs/FC-4/ncpfs.spec,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- ncpfs.spec 4 Oct 2005 13:58:49 -0000 1.19 +++ ncpfs.spec 4 Oct 2005 14:00:06 -0000 1.20 @@ -1,7 +1,7 @@ Summary: Utilities for the ncpfs filesystem, a NetWare client for Linux. Name: ncpfs Version: 2.2.4 -Release: 9 +Release: 9.FC4 License: GPL Source: http://ftp.cvut.cz/ncpfs/ncpfs-%{version}.tar.gz Patch: ncpfs-2.2.3-fix.patch @@ -118,7 +118,7 @@ %{_mandir}/man8/ipx* %changelog -* Tue Oct 4 2005 Martin Stransky 2.2.4-9 +* Tue Oct 4 2005 Martin Stransky 2.2.4-9.FC4 - fix for #169080 (buffer overflow detected: ncplogin terminated) * Thu May 19 2005 Jiri Ryska From fedora-cvs-commits at redhat.com Tue Oct 4 14:07:54 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 10:07:54 -0400 Subject: rpms/ncpfs/FC-3 ncpfs-2.2.4-overflow2.patch, 1.1, 1.2 ncpfs.spec, 1.16, 1.17 Message-ID: <200510041407.j94E7shl008010@cvs.devel.redhat.com> Author: stransky Update of /cvs/dist/rpms/ncpfs/FC-3 In directory cvs.devel.redhat.com:/tmp/cvs-serv7976 Modified Files: ncpfs-2.2.4-overflow2.patch ncpfs.spec Log Message: fix for #169080 (buffer overflow detected: ncplogin terminated) ncpfs-2.2.4-overflow2.patch: ncplogin.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) Index: ncpfs-2.2.4-overflow2.patch =================================================================== RCS file: /cvs/dist/rpms/ncpfs/FC-3/ncpfs-2.2.4-overflow2.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ncpfs-2.2.4-overflow2.patch 17 Jun 2005 11:10:58 -0000 1.1 +++ ncpfs-2.2.4-overflow2.patch 4 Oct 2005 14:07:50 -0000 1.2 @@ -6,7 +6,7 @@ /* we DID check in main that -V has been specified !*/ - strcpy(tmpNWPath,info->remote_path); + memset(tmpNWPath,0,sizeof(tmpNWPath)); -+ strncpy(tmpNWPath,sizeof(tmpNWPath)-1,(info->remote_path)); ++ strncpy(tmpNWPath,info->remote_path,sizeof(tmpNWPath)-1); if (info->root_path) { - strcat(tmpNWPath,"/"); - strcat(tmpNWPath,info->root_path); Index: ncpfs.spec =================================================================== RCS file: /cvs/dist/rpms/ncpfs/FC-3/ncpfs.spec,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- ncpfs.spec 17 Jun 2005 11:10:58 -0000 1.16 +++ ncpfs.spec 4 Oct 2005 14:07:50 -0000 1.17 @@ -1,7 +1,7 @@ Summary: Utilities for the ncpfs filesystem, a NetWare client for Linux. Name: ncpfs Version: 2.2.4 -Release: 4.FC3.1 +Release: 5.FC3 License: GPL Source: http://ftp.cvut.cz/ncpfs/ncpfs-%{version}.tar.gz Patch: ncpfs-2.2.3-fix.patch @@ -116,6 +116,9 @@ %{_mandir}/man8/ipx* %changelog +* Tue Oct 4 2005 Martin Stransky 2.2.4-5.FC3 +- fix for #169080 (buffer overflow detected: ncplogin terminated) + * Fri Jun 17 2005 Jiri Ryska 2.2.4-4.FC3.1 - fixed getuid security bug CAN-2005-0014 - fixed security bug CAN-2004-1079 From fedora-cvs-commits at redhat.com Tue Oct 4 14:39:54 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 10:39:54 -0400 Subject: rpms/ncpfs/devel ncpfs-2.2.4-overflow3.patch, NONE, 1.1 ncpfs.spec, 1.19, 1.20 Message-ID: <200510041439.j94EdsUW027875@cvs.devel.redhat.com> Author: stransky Update of /cvs/dist/rpms/ncpfs/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv27836 Modified Files: ncpfs.spec Added Files: ncpfs-2.2.4-overflow3.patch Log Message: fix for #169080 (buffer overflow detected: ncplogin terminated) ncpfs-2.2.4-overflow3.patch: ncplogin.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) --- NEW FILE ncpfs-2.2.4-overflow3.patch --- --- ncpfs-2.2.4/sutil/ncplogin.c.olddd 2005-09-23 18:56:43.000000000 +0200 +++ ncpfs-2.2.4/sutil/ncplogin.c 2005-10-04 16:23:07.000000000 +0200 @@ -167,7 +167,7 @@ /* we DID check in main that -V has been specified !*/ memset(tmpNWPath,0,sizeof(tmpNWPath)); - strncpy(tmpNWPath,sizeof(tmpNWPath)-1,(info->remote_path)); + strncpy(tmpNWPath,info->remote_path,sizeof(tmpNWPath)-1); if (info->root_path) { strncat(tmpNWPath,"/",sizeof(tmpNWPath)-strlen(tmpNWPath)-1); strncat(tmpNWPath,info->root_path,sizeof(tmpNWPath)-strlen(tmpNWPath)-1); Index: ncpfs.spec =================================================================== RCS file: /cvs/dist/rpms/ncpfs/devel/ncpfs.spec,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- ncpfs.spec 31 Jul 2005 16:14:10 -0000 1.19 +++ ncpfs.spec 4 Oct 2005 14:39:51 -0000 1.20 @@ -1,7 +1,7 @@ Summary: Utilities for the ncpfs filesystem, a NetWare client for Linux. Name: ncpfs Version: 2.2.4 -Release: 9 +Release: 10 License: GPL Source: http://ftp.cvut.cz/ncpfs/ncpfs-%{version}.tar.gz Patch: ncpfs-2.2.3-fix.patch @@ -12,6 +12,7 @@ Patch5: ncpfs-2.2.4-getuid.patch Patch6: ncpfs-2.2.4-gcc4.patch Patch7: ncpfs-2.2.4-overflow2.patch +Patch8: ncpfs-2.2.4-overflow3.patch Group: Applications/System Requires: ipxutils Buildroot: %{_tmppath}/%{name}-%{version}-root @@ -49,6 +50,7 @@ %patch5 -p1 -b .nogetuid %patch6 -p1 -b .gcc4 %patch7 -p1 -b .root_path +%patch8 -p1 -b .overflow3 %build %ifarch s390 s390x @@ -119,6 +121,9 @@ %{_mandir}/man8/ipx* %changelog +* Tue Oct 4 2005 Martin Stransky 2.2.4-10 +- fix for #169080 (buffer overflow detected: ncplogin terminated) + * Sun Jul 31 2005 Florian La Roche - package mount.ncp.8 From fedora-cvs-commits at redhat.com Tue Oct 4 14:58:11 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 10:58:11 -0400 Subject: rpms/rpm/devel rpm.spec,1.179,1.180 Message-ID: <200510041458.j94EwBwu009274@cvs.devel.redhat.com> Author: pnasrat Update of /cvs/dist/rpms/rpm/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv9243 Modified Files: rpm.spec Log Message: add -devel requires for Radek Index: rpm.spec =================================================================== RCS file: /cvs/dist/rpms/rpm/devel/rpm.spec,v retrieving revision 1.179 retrieving revision 1.180 diff -u -r1.179 -r1.180 --- rpm.spec 22 Sep 2005 18:02:36 -0000 1.179 +++ rpm.spec 4 Oct 2005 14:58:09 -0000 1.180 @@ -87,6 +87,7 @@ Requires: neon-devel Requires: sqlite-devel Requires: libselinux-devel +Requires: elfutils-libelf-devel %description devel This package contains the RPM C library and header files. These From fedora-cvs-commits at redhat.com Tue Oct 4 15:05:30 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 11:05:30 -0400 Subject: rpms/system-config-users/devel .cvsignore, 1.28, 1.29 sources, 1.28, 1.29 system-config-users.spec, 1.32, 1.33 Message-ID: <200510041505.j94F5Us2010795@cvs.devel.redhat.com> Author: nphilipp Update of /cvs/dist/rpms/system-config-users/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv10683 Modified Files: .cvsignore sources system-config-users.spec Log Message: fix variable names to prevent hangs when adding a group (#169730) Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/system-config-users/devel/.cvsignore,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- .cvsignore 30 Sep 2005 14:54:50 -0000 1.28 +++ .cvsignore 4 Oct 2005 15:05:27 -0000 1.29 @@ -1 +1 @@ -system-config-users-1.2.40.tar.bz2 +system-config-users-1.2.41.tar.bz2 Index: sources =================================================================== RCS file: /cvs/dist/rpms/system-config-users/devel/sources,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- sources 30 Sep 2005 14:54:50 -0000 1.28 +++ sources 4 Oct 2005 15:05:27 -0000 1.29 @@ -1 +1 @@ -2072793d328cb421e1ae1db14f07c041 system-config-users-1.2.40.tar.bz2 +c81333b06e56e718d2b5cb592d23221b system-config-users-1.2.41.tar.bz2 Index: system-config-users.spec =================================================================== RCS file: /cvs/dist/rpms/system-config-users/devel/system-config-users.spec,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- system-config-users.spec 30 Sep 2005 15:06:30 -0000 1.32 +++ system-config-users.spec 4 Oct 2005 15:05:27 -0000 1.33 @@ -1,7 +1,7 @@ Summary: A graphical interface for administering users and groups Name: system-config-users -Version: 1.2.40 -Release: 2 +Version: 1.2.41 +Release: 1 URL: http://fedora.redhat.com/projects/config-tools/ License: GPL ExclusiveOS: Linux @@ -75,6 +75,9 @@ %attr(0644,root,root) %config (noreplace) /etc/sysconfig/system-config-users %changelog +* Tue Oct 04 2005 Nils Philippsen - 1.2.41 +- fix variable names to prevent hangs when adding a group (#169730) + * Fri Sep 30 2005 Nils Philippsen - 1.2.40 - initialize shadow variables only if shadow passwords are used (#168524, #168529, patch by Josef Whiter) From fedora-cvs-commits at redhat.com Tue Oct 4 15:06:41 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 11:06:41 -0400 Subject: rpms/system-config-users/FC-4 .cvsignore, 1.28, 1.29 sources, 1.28, 1.29 system-config-users.spec, 1.32, 1.33 Message-ID: <200510041506.j94F6fiU011050@cvs.devel.redhat.com> Author: nphilipp Update of /cvs/dist/rpms/system-config-users/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv10953 Modified Files: .cvsignore sources system-config-users.spec Log Message: fix variable names to prevent hangs when adding a group (#169730) Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/system-config-users/FC-4/.cvsignore,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- .cvsignore 30 Sep 2005 14:58:35 -0000 1.28 +++ .cvsignore 4 Oct 2005 15:06:38 -0000 1.29 @@ -1 +1 @@ -system-config-users-1.2.40.tar.bz2 +system-config-users-1.2.41.tar.bz2 Index: sources =================================================================== RCS file: /cvs/dist/rpms/system-config-users/FC-4/sources,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- sources 30 Sep 2005 14:58:35 -0000 1.28 +++ sources 4 Oct 2005 15:06:38 -0000 1.29 @@ -1 +1 @@ -2072793d328cb421e1ae1db14f07c041 system-config-users-1.2.40.tar.bz2 +c81333b06e56e718d2b5cb592d23221b system-config-users-1.2.41.tar.bz2 Index: system-config-users.spec =================================================================== RCS file: /cvs/dist/rpms/system-config-users/FC-4/system-config-users.spec,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- system-config-users.spec 30 Sep 2005 15:07:08 -0000 1.32 +++ system-config-users.spec 4 Oct 2005 15:06:38 -0000 1.33 @@ -1,7 +1,7 @@ Summary: A graphical interface for administering users and groups Name: system-config-users -Version: 1.2.40 -Release: 0.fc4.2 +Version: 1.2.41 +Release: 0.fc4.1 URL: http://fedora.redhat.com/projects/config-tools/ License: GPL ExclusiveOS: Linux @@ -75,6 +75,9 @@ %attr(0644,root,root) %config (noreplace) /etc/sysconfig/system-config-users %changelog +* Tue Oct 04 2005 Nils Philippsen - 1.2.41 +- fix variable names to prevent hangs when adding a group (#169730) + * Fri Sep 30 2005 Nils Philippsen - 1.2.40 - initialize shadow variables only if shadow passwords are used (#168524, #168529, patch by Josef Whiter) From fedora-cvs-commits at redhat.com Tue Oct 4 15:24:35 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 11:24:35 -0400 Subject: rpms/ncpfs/FC-4 ncpfs.spec,1.20,1.21 Message-ID: <200510041524.j94FOZlG016999@cvs.devel.redhat.com> Author: stransky Update of /cvs/dist/rpms/ncpfs/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv16985 Modified Files: ncpfs.spec Log Message: added mount.ncp.8 Index: ncpfs.spec =================================================================== RCS file: /cvs/dist/rpms/ncpfs/FC-4/ncpfs.spec,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- ncpfs.spec 4 Oct 2005 14:00:06 -0000 1.20 +++ ncpfs.spec 4 Oct 2005 15:24:32 -0000 1.21 @@ -108,6 +108,7 @@ %defattr(-,root,root) %doc BUGS COPYING Changes FAQ README /usr/include +%{_mandir}/man8/mount.ncp.8* %files -n ipxutils %defattr(-,root,root) @@ -120,6 +121,7 @@ %changelog * Tue Oct 4 2005 Martin Stransky 2.2.4-9.FC4 - fix for #169080 (buffer overflow detected: ncplogin terminated) +- added mount.ncp.8 * Thu May 19 2005 Jiri Ryska - fixed possible buffer overflow CAN-2005-0014 From fedora-cvs-commits at redhat.com Tue Oct 4 15:43:02 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 11:43:02 -0400 Subject: rpms/libselinux/devel .cvsignore, 1.74, 1.75 libselinux.spec, 1.121, 1.122 sources, 1.76, 1.77 Message-ID: <200510041543.j94Fh2H2017227@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libselinux/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv17212 Modified Files: .cvsignore libselinux.spec sources Log Message: * Tue Oct 4 2005 Dan Walsh 1.27.3-1 - Update to latest from NSA * Changed getseuserbyname to not require (and ignore if present) the MLS level in seusers.conf if MLS is disabled, setting *level to NULL in this case. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/libselinux/devel/.cvsignore,v retrieving revision 1.74 retrieving revision 1.75 diff -u -r1.74 -r1.75 --- .cvsignore 3 Oct 2005 13:14:47 -0000 1.74 +++ .cvsignore 4 Oct 2005 15:43:00 -0000 1.75 @@ -48,3 +48,4 @@ libselinux-1.26.tgz libselinux-1.27.1.tgz libselinux-1.27.2.tgz +libselinux-1.27.3.tgz Index: libselinux.spec =================================================================== RCS file: /cvs/dist/rpms/libselinux/devel/libselinux.spec,v retrieving revision 1.121 retrieving revision 1.122 diff -u -r1.121 -r1.122 --- libselinux.spec 3 Oct 2005 13:14:03 -0000 1.121 +++ libselinux.spec 4 Oct 2005 15:43:00 -0000 1.122 @@ -1,6 +1,6 @@ Summary: SELinux library and simple utilities Name: libselinux -Version: 1.27.2 +Version: 1.27.3 Release: 1 License: Public domain (uncopyrighted) Group: System Environment/Libraries @@ -84,6 +84,12 @@ %{_mandir}/man8/* %changelog +* Tue Oct 4 2005 Dan Walsh 1.27.3-1 +- Update to latest from NSA + * Changed getseuserbyname to not require (and ignore if present) + the MLS level in seusers.conf if MLS is disabled, setting *level + to NULL in this case. + * Mon Oct 3 2005 Dan Walsh 1.27.2-1 - Update to latest from NSA * Merged getseuserbyname patch from Dan Walsh. Index: sources =================================================================== RCS file: /cvs/dist/rpms/libselinux/devel/sources,v retrieving revision 1.76 retrieving revision 1.77 diff -u -r1.76 -r1.77 --- sources 3 Oct 2005 13:14:47 -0000 1.76 +++ sources 4 Oct 2005 15:43:00 -0000 1.77 @@ -1 +1 @@ -0bafa83b0b783cf954fd0c79c2b0429e libselinux-1.27.2.tgz +7c2d7c43c0e702073b1de3e357ef58d3 libselinux-1.27.3.tgz From fedora-cvs-commits at redhat.com Tue Oct 4 16:27:37 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 12:27:37 -0400 Subject: rpms/cman-kernel/FC-4 cman-kernel.spec,1.107,1.108 Message-ID: <200510041627.j94GRbCI018215@cvs.devel.redhat.com> Author: cfeist Update of /cvs/dist/rpms/cman-kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv18187 Modified Files: cman-kernel.spec Log Message: Updated Kernel Version Index: cman-kernel.spec =================================================================== RCS file: /cvs/dist/rpms/cman-kernel/FC-4/cman-kernel.spec,v retrieving revision 1.107 retrieving revision 1.108 diff -u -r1.107 -r1.108 --- cman-kernel.spec 29 Aug 2005 22:08:53 -0000 1.107 +++ cman-kernel.spec 4 Oct 2005 16:27:35 -0000 1.108 @@ -12,7 +12,7 @@ %define buildup 1 %define buildsmp 1 %define buildxen 0 -%define kernel_version 2.6.12-1.1447_FC4 +%define kernel_version 2.6.9-22.EL %define subversion 20050601.152643.FC4 %ifnarch i686 x86_64 @@ -25,7 +25,7 @@ Name: cman-kernel Version: 2.6.11.5 -Release: %{subversion}.12 +Release: %{subversion}.13 License: GPL Group: System Environment/Kernel Summary: cman-kernel - The Cluster Manager kernel modules From fedora-cvs-commits at redhat.com Tue Oct 4 16:27:47 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 12:27:47 -0400 Subject: rpms/GFS-kernel/FC-4 GFS-kernel.spec,1.103,1.104 Message-ID: <200510041627.j94GRlkZ018348@cvs.devel.redhat.com> Author: cfeist Update of /cvs/dist/rpms/GFS-kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv18315 Modified Files: GFS-kernel.spec Log Message: Updated Kernel Version Index: GFS-kernel.spec =================================================================== RCS file: /cvs/dist/rpms/GFS-kernel/FC-4/GFS-kernel.spec,v retrieving revision 1.103 retrieving revision 1.104 diff -u -r1.103 -r1.104 --- GFS-kernel.spec 29 Aug 2005 22:12:03 -0000 1.103 +++ GFS-kernel.spec 4 Oct 2005 16:27:45 -0000 1.104 @@ -12,7 +12,7 @@ %define buildup 1 %define buildsmp 1 %define buildxen 0 -%define kernel_version 2.6.12-1.1447_FC4 +%define kernel_version 2.6.9-22.EL %define subversion 20050601.152643.FC4 %ifnarch i686 x86_64 @@ -25,7 +25,7 @@ Name: GFS-kernel Version: 2.6.11.8 -Release: %{subversion}.14 +Release: %{subversion}.15 License: GPL Group: System Environment/Kernel Summary: GFS-kernel - The Global File System kernel modules From fedora-cvs-commits at redhat.com Tue Oct 4 16:27:56 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 12:27:56 -0400 Subject: rpms/dlm-kernel/FC-4 dlm-kernel.spec,1.84,1.85 Message-ID: <200510041627.j94GRu2a018467@cvs.devel.redhat.com> Author: cfeist Update of /cvs/dist/rpms/dlm-kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv18438 Modified Files: dlm-kernel.spec Log Message: Updated Kernel Version Index: dlm-kernel.spec =================================================================== RCS file: /cvs/dist/rpms/dlm-kernel/FC-4/dlm-kernel.spec,v retrieving revision 1.84 retrieving revision 1.85 diff -u -r1.84 -r1.85 --- dlm-kernel.spec 29 Aug 2005 22:11:30 -0000 1.84 +++ dlm-kernel.spec 4 Oct 2005 16:27:53 -0000 1.85 @@ -12,7 +12,7 @@ %define buildup 1 %define buildsmp 1 %define buildxen 0 -%define kernel_version 2.6.12-1.1447_FC4 +%define kernel_version 2.6.9-22.EL %define subversion 20050601.152643.FC4 %ifnarch i686 x86_64 @@ -25,7 +25,7 @@ Name: dlm-kernel Version: 2.6.11.5 -Release: %{subversion}.12 +Release: %{subversion}.13 License: GPL Group: System Environment/Kernel Summary: dlm-kernel - The Distributed Lock Manager kernel modules. From fedora-cvs-commits at redhat.com Tue Oct 4 16:28:05 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 12:28:05 -0400 Subject: rpms/gnbd-kernel/FC-4 gnbd-kernel.spec,1.87,1.88 Message-ID: <200510041628.j94GS5T9018587@cvs.devel.redhat.com> Author: cfeist Update of /cvs/dist/rpms/gnbd-kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv18560 Modified Files: gnbd-kernel.spec Log Message: Updated Kernel Version Index: gnbd-kernel.spec =================================================================== RCS file: /cvs/dist/rpms/gnbd-kernel/FC-4/gnbd-kernel.spec,v retrieving revision 1.87 retrieving revision 1.88 diff -u -r1.87 -r1.88 --- gnbd-kernel.spec 29 Aug 2005 22:10:10 -0000 1.87 +++ gnbd-kernel.spec 4 Oct 2005 16:28:03 -0000 1.88 @@ -12,7 +12,7 @@ %define buildup 1 %define buildsmp 1 %define buildxen 0 -%define kernel_version 2.6.12-1.1447_FC4 +%define kernel_version 2.6.9-22.EL %define subversion 20050420.133124.FC4 %ifnarch i686 x86_64 @@ -25,7 +25,7 @@ Name: gnbd-kernel Version: 2.6.11.2 -Release: %{subversion}.45 +Release: %{subversion}.46 License: GPL Group: System Environment/Kernel Summary: gnbd-kernel - The kernel module for GFS's Network Block Device From fedora-cvs-commits at redhat.com Tue Oct 4 16:29:32 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 12:29:32 -0400 Subject: rpms/cman-kernel/FC-4 cman-kernel.spec,1.108,1.109 Message-ID: <200510041629.j94GTWvZ019310@cvs.devel.redhat.com> Author: cfeist Update of /cvs/dist/rpms/cman-kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv19279 Modified Files: cman-kernel.spec Log Message: Updated Kernel Version Index: cman-kernel.spec =================================================================== RCS file: /cvs/dist/rpms/cman-kernel/FC-4/cman-kernel.spec,v retrieving revision 1.108 retrieving revision 1.109 diff -u -r1.108 -r1.109 --- cman-kernel.spec 4 Oct 2005 16:27:35 -0000 1.108 +++ cman-kernel.spec 4 Oct 2005 16:29:30 -0000 1.109 @@ -12,7 +12,7 @@ %define buildup 1 %define buildsmp 1 %define buildxen 0 -%define kernel_version 2.6.9-22.EL +%define kernel_version 2.6.13-1.1526_FC4 %define subversion 20050601.152643.FC4 %ifnarch i686 x86_64 @@ -25,7 +25,7 @@ Name: cman-kernel Version: 2.6.11.5 -Release: %{subversion}.13 +Release: %{subversion}.14 License: GPL Group: System Environment/Kernel Summary: cman-kernel - The Cluster Manager kernel modules From fedora-cvs-commits at redhat.com Tue Oct 4 16:29:42 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 12:29:42 -0400 Subject: rpms/GFS-kernel/FC-4 GFS-kernel.spec,1.104,1.105 Message-ID: <200510041629.j94GTgPs019432@cvs.devel.redhat.com> Author: cfeist Update of /cvs/dist/rpms/GFS-kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv19401 Modified Files: GFS-kernel.spec Log Message: Updated Kernel Version Index: GFS-kernel.spec =================================================================== RCS file: /cvs/dist/rpms/GFS-kernel/FC-4/GFS-kernel.spec,v retrieving revision 1.104 retrieving revision 1.105 diff -u -r1.104 -r1.105 --- GFS-kernel.spec 4 Oct 2005 16:27:45 -0000 1.104 +++ GFS-kernel.spec 4 Oct 2005 16:29:39 -0000 1.105 @@ -12,7 +12,7 @@ %define buildup 1 %define buildsmp 1 %define buildxen 0 -%define kernel_version 2.6.9-22.EL +%define kernel_version 2.6.13-1.1526_FC4 %define subversion 20050601.152643.FC4 %ifnarch i686 x86_64 @@ -25,7 +25,7 @@ Name: GFS-kernel Version: 2.6.11.8 -Release: %{subversion}.15 +Release: %{subversion}.16 License: GPL Group: System Environment/Kernel Summary: GFS-kernel - The Global File System kernel modules From fedora-cvs-commits at redhat.com Tue Oct 4 16:29:52 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 12:29:52 -0400 Subject: rpms/dlm-kernel/FC-4 dlm-kernel.spec,1.85,1.86 Message-ID: <200510041629.j94GTqLa019565@cvs.devel.redhat.com> Author: cfeist Update of /cvs/dist/rpms/dlm-kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv19537 Modified Files: dlm-kernel.spec Log Message: Updated Kernel Version Index: dlm-kernel.spec =================================================================== RCS file: /cvs/dist/rpms/dlm-kernel/FC-4/dlm-kernel.spec,v retrieving revision 1.85 retrieving revision 1.86 diff -u -r1.85 -r1.86 --- dlm-kernel.spec 4 Oct 2005 16:27:53 -0000 1.85 +++ dlm-kernel.spec 4 Oct 2005 16:29:49 -0000 1.86 @@ -12,7 +12,7 @@ %define buildup 1 %define buildsmp 1 %define buildxen 0 -%define kernel_version 2.6.9-22.EL +%define kernel_version 2.6.13-1.1526_FC4 %define subversion 20050601.152643.FC4 %ifnarch i686 x86_64 @@ -25,7 +25,7 @@ Name: dlm-kernel Version: 2.6.11.5 -Release: %{subversion}.13 +Release: %{subversion}.14 License: GPL Group: System Environment/Kernel Summary: dlm-kernel - The Distributed Lock Manager kernel modules. From fedora-cvs-commits at redhat.com Tue Oct 4 16:30:08 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 12:30:08 -0400 Subject: rpms/gnbd-kernel/FC-4 gnbd-kernel.spec,1.88,1.89 Message-ID: <200510041630.j94GU8lb019714@cvs.devel.redhat.com> Author: cfeist Update of /cvs/dist/rpms/gnbd-kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv19670 Modified Files: gnbd-kernel.spec Log Message: Updated Kernel Version Index: gnbd-kernel.spec =================================================================== RCS file: /cvs/dist/rpms/gnbd-kernel/FC-4/gnbd-kernel.spec,v retrieving revision 1.88 retrieving revision 1.89 diff -u -r1.88 -r1.89 --- gnbd-kernel.spec 4 Oct 2005 16:28:03 -0000 1.88 +++ gnbd-kernel.spec 4 Oct 2005 16:29:59 -0000 1.89 @@ -12,7 +12,7 @@ %define buildup 1 %define buildsmp 1 %define buildxen 0 -%define kernel_version 2.6.9-22.EL +%define kernel_version 2.6.13-1.1526_FC4 %define subversion 20050420.133124.FC4 %ifnarch i686 x86_64 @@ -25,7 +25,7 @@ Name: gnbd-kernel Version: 2.6.11.2 -Release: %{subversion}.46 +Release: %{subversion}.47 License: GPL Group: System Environment/Kernel Summary: gnbd-kernel - The kernel module for GFS's Network Block Device From fedora-cvs-commits at redhat.com Tue Oct 4 16:31:55 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 12:31:55 -0400 Subject: rpms/selinux-policy-targeted/devel policy-20050916.patch, 1.14, 1.15 selinux-policy-targeted.spec, 1.383, 1.384 Message-ID: <200510041631.j94GVtUp019825@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-targeted/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv19743 Modified Files: policy-20050916.patch selinux-policy-targeted.spec Log Message: * Tue Oct 4 2005 Dan Walsh 1.27.1-13 - Fixes for pegasus, add newrole policy for targeted - Fixes for postgres policy-20050916.patch: Makefile | 22 +++++---- attrib.te | 3 + domains/program/crond.te | 2 domains/program/fsadm.te | 7 ++ domains/program/hostname.te | 2 domains/program/ifconfig.te | 5 +- domains/program/initrc.te | 17 ++++++- domains/program/ldconfig.te | 3 - domains/program/load_policy.te | 7 +- domains/program/login.te | 21 +++++--- domains/program/modutil.te | 14 +++-- domains/program/mount.te | 5 +- domains/program/netutils.te | 3 - domains/program/newrole.te | 4 + domains/program/passwd.te | 1 domains/program/restorecon.te | 3 - domains/program/setfiles.te | 4 - domains/program/ssh.te | 6 ++ domains/program/su.te | 9 +++ domains/program/syslogd.te | 6 +- domains/program/unused/NetworkManager.te | 3 - domains/program/unused/alsa.te | 2 domains/program/unused/amanda.te | 74 +++++++------------------------ domains/program/unused/anaconda.te | 5 -- domains/program/unused/apache.te | 17 ++++--- domains/program/unused/apmd.te | 13 +++++ domains/program/unused/auditd.te | 2 domains/program/unused/automount.te | 4 + domains/program/unused/bluetooth.te | 61 +++++++++++++++++++++++++ domains/program/unused/cups.te | 18 +++++-- domains/program/unused/cvs.te | 3 + domains/program/unused/cyrus.te | 2 domains/program/unused/dbusd.te | 4 + domains/program/unused/dhcpc.te | 5 +- domains/program/unused/dhcpd.te | 3 - domains/program/unused/dovecot.te | 4 + domains/program/unused/hald.te | 2 domains/program/unused/hotplug.te | 5 +- domains/program/unused/hwclock.te | 2 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 5 +- domains/program/unused/mta.te | 8 +++ domains/program/unused/mysqld.te | 6 +- domains/program/unused/named.te | 29 ++++++++++-- domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 10 ++-- domains/program/unused/openct.te | 16 ++++++ domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 37 +++++++++++++++ domains/program/unused/ping.te | 3 - domains/program/unused/postfix.te | 30 +++++++----- domains/program/unused/pppd.te | 8 ++- domains/program/unused/procmail.te | 11 +++- domains/program/unused/readahead.te | 21 ++++++++ domains/program/unused/rlogind.te | 4 + domains/program/unused/roundup.te | 29 ++++++++++++ domains/program/unused/rpcd.te | 12 ++++- domains/program/unused/samba.te | 11 +++- domains/program/unused/snmpd.te | 5 +- domains/program/unused/squid.te | 3 - domains/program/unused/udev.te | 10 +++- domains/program/unused/utempter.te | 2 domains/program/unused/webalizer.te | 3 + domains/program/unused/winbind.te | 1 domains/program/unused/xdm.te | 3 + domains/program/unused/yppasswdd.te | 40 ++++++++++++++++ domains/program/unused/ypserv.te | 1 domains/program/useradd.te | 5 +- file_contexts/distros.fc | 2 file_contexts/program/bluetooth.fc | 3 + file_contexts/program/dhcpc.fc | 2 file_contexts/program/dhcpd.fc | 1 file_contexts/program/ftpd.fc | 5 +- file_contexts/program/games.fc | 11 +++- file_contexts/program/ipsec.fc | 1 file_contexts/program/openct.fc | 2 file_contexts/program/pegasus.fc | 11 ++++ file_contexts/program/pppd.fc | 2 file_contexts/program/readahead.fc | 1 file_contexts/program/roundup.fc | 2 file_contexts/program/rpm.fc | 4 + file_contexts/program/rsync.fc | 2 file_contexts/program/xdm.fc | 2 file_contexts/program/yppasswdd.fc | 2 file_contexts/program/ypserv.fc | 1 file_contexts/types.fc | 2 genfs_contexts | 2 macros/core_macros.te | 3 + macros/global_macros.te | 18 +++++-- macros/network_macros.te | 17 ++++++- macros/program/apache_macros.te | 13 ++++- macros/program/cdrecord_macros.te | 2 macros/program/i18n_input_macros.te | 21 ++++++++ macros/program/mta_macros.te | 4 - macros/program/newrole_macros.te | 2 macros/program/pyzor_macros.te | 2 macros/program/razor_macros.te | 2 macros/program/su_macros.te | 4 - macros/program/uml_macros.te | 2 macros/user_macros.te | 1 man/man8/ftpd_selinux.8 | 19 ++++--- man/man8/httpd_selinux.8 | 9 +++ man/man8/rsync_selinux.8 | 12 +++-- man/man8/samba_selinux.8 | 9 +++ mcs | 16 ++++++ net_contexts | 6 ++ targeted/appconfig/root_default_contexts | 4 + targeted/assert.te | 2 targeted/domains/program/ssh.te | 3 + targeted/domains/program/xdm.te | 4 + targeted/domains/unconfined.te | 16 +++++- tunables/distro.tun | 2 tunables/tunable.tun | 4 - types/devpts.te | 4 + types/file.te | 15 ++++-- types/network.te | 12 ++--- types/security.te | 5 ++ 117 files changed, 755 insertions(+), 227 deletions(-) Index: policy-20050916.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/devel/policy-20050916.patch,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- policy-20050916.patch 29 Sep 2005 20:07:17 -0000 1.14 +++ policy-20050916.patch 4 Oct 2005 16:31:20 -0000 1.15 @@ -1,3 +1,16 @@ +diff --exclude-from=exclude -N -u -r nsapolicy/attrib.te policy-1.27.1/attrib.te +--- nsapolicy/attrib.te 2005-09-16 11:17:08.000000000 -0400 ++++ policy-1.27.1/attrib.te 2005-10-04 12:21:54.000000000 -0400 +@@ -443,6 +443,9 @@ + # Attribute to designate unrestricted access + attribute unrestricted; + ++# Attribute to designate can transition to unconfined_t ++attribute unconfinedtrans; ++ + # For clients of nscd. + attribute nscd_client_domain; + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/crond.te policy-1.27.1/domains/program/crond.te --- nsapolicy/domains/program/crond.te 2005-09-16 11:17:08.000000000 -0400 +++ policy-1.27.1/domains/program/crond.te 2005-09-27 17:14:40.000000000 -0400 @@ -273,6 +286,17 @@ ifdef(`gnome-pty-helper.te', `allow netutils_t sysadm_gph_t:fd use;') allow netutils_t proc_t:dir search; +diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/newrole.te policy-1.27.1/domains/program/newrole.te +--- nsapolicy/domains/program/newrole.te 2005-09-12 16:40:29.000000000 -0400 ++++ policy-1.27.1/domains/program/newrole.te 2005-10-04 12:27:43.000000000 -0400 +@@ -18,3 +18,7 @@ + allow newrole_t initrc_var_run_t:file rw_file_perms; + + role secadm_r types newrole_t; ++ ++ifdef(`targeted_policy', ` ++typeattribute newrole_t unconfinedtrans; ++') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/passwd.te policy-1.27.1/domains/program/passwd.te --- nsapolicy/domains/program/passwd.te 2005-09-16 11:17:08.000000000 -0400 +++ policy-1.27.1/domains/program/passwd.te 2005-09-27 17:14:40.000000000 -0400 @@ -1251,8 +1275,8 @@ +nsswitch_domain(pam_console_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/pegasus.te policy-1.27.1/domains/program/unused/pegasus.te --- nsapolicy/domains/program/unused/pegasus.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/pegasus.te 2005-09-27 17:14:40.000000000 -0400 -@@ -0,0 +1,31 @@ ++++ policy-1.27.1/domains/program/unused/pegasus.te 2005-10-04 12:12:44.000000000 -0400 +@@ -0,0 +1,37 @@ +#DESC pegasus - The Open Group Pegasus CIM/WBEM Server +# +# Author: Jason Vas Dias @@ -1262,17 +1286,20 @@ +# +# Rules for the pegasus domain +# -+daemon_domain(pegasus, `, nscd_client_domain') ++daemon_domain(pegasus, `, nscd_client_domain, auth') +type pegasus_data_t, file_type, sysadmfile; +type pegasus_conf_t, file_type, sysadmfile; +type pegasus_mof_t, file_type, sysadmfile; +type pegasus_conf_exec_t, file_type, exec_type, sysadmfile; -+allow pegasus_t self:capability { dac_override net_bind_service }; ++allow pegasus_t self:capability { dac_override net_bind_service audit_write }; +can_network_tcp(pegasus_t); +nsswitch_domain(pegasus_t); +allow pegasus_t pegasus_var_run_t:sock_file { create setattr }; +allow pegasus_t self:unix_dgram_socket create_socket_perms; +allow pegasus_t self:unix_stream_socket create_stream_socket_perms; ++allow pegasus_t self:file { read getattr }; ++allow pegasus_t self:fifo_file rw_file_perms; ++allow pegasus_t self:netlink_audit_socket { create_netlink_socket_perms nlmsg_relay }; +allow pegasus_t { pegasus_http_port_t pegasus_https_port_t }:tcp_socket { name_bind name_connect }; +allow pegasus_t proc_t:file { getattr read }; +allow pegasus_t sysctl_vm_t:dir search; @@ -1284,6 +1311,9 @@ +rw_dir_create_file(pegasus_t, pegasus_conf_t) +rw_dir_create_file(pegasus_t, pegasus_data_t) +rw_dir_create_file(pegasus_conf_exec_t, pegasus_conf_t) ++allow pegasus_t shadow_t:file { getattr read }; ++dontaudit pegasus_t selinux_config_t:dir search; ++ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ping.te policy-1.27.1/domains/program/unused/ping.te --- nsapolicy/domains/program/unused/ping.te 2005-09-16 11:17:09.000000000 -0400 +++ policy-1.27.1/domains/program/unused/ping.te 2005-09-27 17:14:40.000000000 -0400 @@ -1305,7 +1335,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/postfix.te policy-1.27.1/domains/program/unused/postfix.te --- nsapolicy/domains/program/unused/postfix.te 2005-09-12 16:40:29.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/postfix.te 2005-09-27 17:14:40.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/postfix.te 2005-10-04 11:59:51.000000000 -0400 @@ -54,6 +54,8 @@ allow postfix_$1_t proc_net_t:dir search; allow postfix_$1_t proc_net_t:file { getattr read }; @@ -1325,15 +1355,22 @@ read_sysctl(postfix_master_t) domain_auto_trans(initrc_t, postfix_master_exec_t, postfix_master_t) -@@ -98,6 +103,7 @@ +@@ -97,10 +102,12 @@ + dontaudit postfix_master_t selinux_config_t:dir search; can_exec({ sysadm_mail_t system_mail_t }, postfix_master_exec_t) ifdef(`distro_redhat', ` ++# compatability for old default main.cf file_type_auto_trans({ sysadm_mail_t system_mail_t postfix_master_t }, postfix_etc_t, etc_aliases_t) -+file_type_auto_trans({ sysadm_mail_t system_mail_t postfix_master_t }, etc_t, etc_aliases_t) - ', ` - file_type_auto_trans({ sysadm_mail_t system_mail_t }, etc_t, etc_aliases_t) - ') -@@ -121,7 +127,7 @@ +-', ` +-file_type_auto_trans({ sysadm_mail_t system_mail_t }, etc_t, etc_aliases_t) ++# for newer main.cf that uses /etc/aliases ++file_type_auto_trans(postfix_master_t, etc_t, etc_aliases_t) + ') ++file_type_auto_trans({ sysadm_mail_t system_mail_t }, etc_t, etc_aliases_t) + allow postfix_master_t sendmail_exec_t:file r_file_perms; + allow postfix_master_t sbin_t:lnk_file { getattr read }; + ifdef(`pppd.te', ` +@@ -121,7 +128,7 @@ can_network(postfix_master_t) allow postfix_master_t port_type:tcp_socket name_connect; can_ypbind(postfix_master_t) @@ -1342,7 +1379,7 @@ allow postfix_master_t postfix_spool_maildrop_t:dir rw_dir_perms; allow postfix_master_t postfix_spool_maildrop_t:file { unlink rename getattr }; allow postfix_master_t postfix_prng_t:file getattr; -@@ -135,13 +141,11 @@ +@@ -135,14 +142,10 @@ ') create_dir_file(postfix_master_t, postfix_spool_flush_t) @@ -1351,12 +1388,13 @@ # for ls to get the current context allow postfix_master_t self:file { getattr read }; - # for SSP +-# for SSP -allow postfix_master_t urandom_device_t:chr_file read; - +- # allow access to deferred queue and allow removing bogus incoming entries allow postfix_master_t postfix_spool_t:dir create_dir_perms; -@@ -163,7 +167,6 @@ + allow postfix_master_t postfix_spool_t:file create_file_perms; +@@ -163,7 +166,6 @@ allow postfix_smtp_t postfix_spool_t:file rw_file_perms; allow postfix_smtp_t { postfix_private_t postfix_public_t }:dir search; allow postfix_smtp_t { postfix_private_t postfix_public_t }:sock_file write; @@ -1364,7 +1402,7 @@ allow postfix_smtp_t postfix_master_t:unix_stream_socket connectto; # if you have two different mail servers on the same host let them talk via # SMTP, also if one mail server wants to talk to itself then allow it and let -@@ -172,7 +175,6 @@ +@@ -172,7 +174,6 @@ can_tcp_connect(postfix_smtp_t, mail_server_domain) postfix_server_domain(smtpd) @@ -1372,25 +1410,32 @@ allow postfix_smtpd_t postfix_master_t:tcp_socket rw_stream_socket_perms; allow postfix_smtpd_t { postfix_private_t postfix_public_t }:dir search; allow postfix_smtpd_t { postfix_private_t postfix_public_t }:sock_file rw_file_perms; -@@ -184,7 +186,7 @@ +@@ -184,7 +185,6 @@ # for prng_exch allow postfix_smtpd_t postfix_spool_t:file rw_file_perms; - -+dontaudit postfix_smtpd_t { home_root_t boot_t }:dir getattr; allow { postfix_smtp_t postfix_smtpd_t } postfix_prng_t:file rw_file_perms; postfix_server_domain(local, `, mta_delivery_agent') -@@ -196,7 +198,7 @@ +@@ -196,7 +196,7 @@ ') allow postfix_local_t etc_aliases_t:file r_file_perms; allow postfix_local_t self:fifo_file rw_file_perms; -allow postfix_local_t self:process setrlimit; -+allow postfix_local_t postfix_local_t:process { setsched setrlimit }; ++allow postfix_local_t self:process { setsched setrlimit }; allow postfix_local_t postfix_spool_t:file rw_file_perms; # for .forward - maybe we need a new type for it? allow postfix_local_t postfix_private_t:dir search; -@@ -260,7 +262,7 @@ +@@ -241,6 +241,7 @@ + allow postfix_postqueue_t postfix_public_t:dir search; + allow postfix_postqueue_t postfix_public_t:fifo_file getattr; + allow postfix_postqueue_t self:udp_socket { create ioctl }; ++allow postfix_postqueue_t self:tcp_socket create; + allow postfix_master_t postfix_postqueue_exec_t:file getattr; + domain_auto_trans(postfix_master_t, postfix_postqueue_exec_t, postfix_postqueue_t) + allow postfix_postqueue_t initrc_t:process sigchld; +@@ -260,7 +261,7 @@ postfix_user_domain(showq) # the following auto_trans is usually in postfix server domain domain_auto_trans(postfix_master_t, postfix_showq_exec_t, postfix_showq_t) @@ -1399,6 +1444,14 @@ r_dir_file(postfix_showq_t, postfix_spool_maildrop_t) domain_auto_trans(postfix_postqueue_t, postfix_showq_exec_t, postfix_showq_t) allow postfix_showq_t self:capability { setuid setgid }; +@@ -284,6 +285,7 @@ + allow postfix_postdrop_t { crond_t system_crond_t }:fifo_file rw_file_perms;') + # usually it does not need a UDP socket + allow postfix_postdrop_t self:udp_socket create_socket_perms; ++allow postfix_postdrop_t self:tcp_socket create; + allow postfix_postdrop_t self:capability sys_resource; + + postfix_public_domain(pickup) @@ -329,7 +331,8 @@ domain_auto_trans(postfix_pipe_t, procmail_exec_t, procmail_t) ') @@ -1409,15 +1462,11 @@ ') # Program for creating database files -@@ -348,5 +351,8 @@ - dontaudit postfix_map_t var_t:dir search; - can_network_server(postfix_map_t) +@@ -350,3 +353,4 @@ allow postfix_map_t port_type:tcp_socket name_connect; -+r_dir_file(postfix_local_t, etc_mail_t) allow postfix_local_t mail_spool_t:dir { remove_name }; allow postfix_local_t mail_spool_t:file { unlink }; +can_exec(postfix_local_t, bin_t) -+ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/pppd.te policy-1.27.1/domains/program/unused/pppd.te --- nsapolicy/domains/program/unused/pppd.te 2005-09-16 11:17:09.000000000 -0400 +++ policy-1.27.1/domains/program/unused/pppd.te 2005-09-29 14:04:48.000000000 -0400 @@ -1817,8 +1866,16 @@ read_sysctl(useradd_t) diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/distros.fc policy-1.27.1/file_contexts/distros.fc --- nsapolicy/file_contexts/distros.fc 2005-09-12 16:40:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/distros.fc 2005-09-27 17:14:40.000000000 -0400 -@@ -99,6 +99,7 @@ ++++ policy-1.27.1/file_contexts/distros.fc 2005-10-03 14:43:17.000000000 -0400 +@@ -89,6 +89,7 @@ + /usr/lib/valgrind/hp2ps -- system_u:object_r:texrel_shlib_t + /usr/lib/valgrind/stage2 -- system_u:object_r:texrel_shlib_t + /usr/lib/valgrind/vg.*\.so -- system_u:object_r:texrel_shlib_t ++/usr/lib/.*/libxpcom_core.so -- system_u:object_r:texrel_shlib_t + /usr/lib/.*/program(/.*)? system_u:object_r:bin_t + /usr/lib/.*/program/.*\.so.* system_u:object_r:shlib_t + /usr/lib/.*/program/libicudata\.so.* -- system_u:object_r:texrel_shlib_t +@@ -99,6 +100,7 @@ /usr/lib(64)?/.*/program/librecentfile\.so -- system_u:object_r:texrel_shlib_t /usr/lib(64)?/.*/program/libsvx680li\.so -- system_u:object_r:texrel_shlib_t /usr/lib(64)?/.*/program/libcomphelp4gcc3\.so -- system_u:object_r:texrel_shlib_t @@ -2051,7 +2108,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/macros/global_macros.te policy-1.27.1/macros/global_macros.te --- nsapolicy/macros/global_macros.te 2005-09-16 11:17:11.000000000 -0400 -+++ policy-1.27.1/macros/global_macros.te 2005-09-29 08:46:50.000000000 -0400 ++++ policy-1.27.1/macros/global_macros.te 2005-09-30 10:26:28.000000000 -0400 @@ -157,6 +157,11 @@ r_dir_file($1, locale_t) ') @@ -2105,6 +2162,15 @@ # Mount/unmount any filesystem. allow $1 fs_type:filesystem *; +@@ -653,7 +661,7 @@ + allow $1 port_type:tcp_socket name_connect; + + # Bind to any network address. +-allow $1 port_type:{ tcp_socket udp_socket } name_bind; ++allow $1 port_type:{ rawip_socket tcp_socket udp_socket } name_bind; + allow $1 node_type:{ tcp_socket udp_socket rawip_socket } node_bind; + allow $1 file_type:{ unix_stream_socket unix_dgram_socket } name_bind; + diff --exclude-from=exclude -N -u -r nsapolicy/macros/network_macros.te policy-1.27.1/macros/network_macros.te --- nsapolicy/macros/network_macros.te 2005-09-16 11:17:11.000000000 -0400 +++ policy-1.27.1/macros/network_macros.te 2005-09-27 17:14:40.000000000 -0400 @@ -2563,6 +2629,18 @@ +system_r:remote_login_t system_r:unconfined_t +system_r:rshd_t system_r:unconfined_t +system_r:crond_t system_r:unconfined_t +diff --exclude-from=exclude -N -u -r nsapolicy/targeted/assert.te policy-1.27.1/targeted/assert.te +--- nsapolicy/targeted/assert.te 2005-09-16 11:17:12.000000000 -0400 ++++ policy-1.27.1/targeted/assert.te 2005-10-04 12:22:32.000000000 -0400 +@@ -22,7 +22,7 @@ + + # Confined domains must never touch an unconfined domain except to + # send SIGCHLD for child termination notifications. +-neverallow { domain -unrestricted } unconfined_t:process ~sigchld; ++neverallow { domain -unrestricted -unconfinedtrans } unconfined_t:process ~sigchld; + + # Confined domains must never see /proc/pid entries for an unconfined domain. + neverallow { domain -unrestricted -snmpd_t } unconfined_t:dir { getattr search }; diff --exclude-from=exclude -N -u -r nsapolicy/targeted/domains/program/ssh.te policy-1.27.1/targeted/domains/program/ssh.te --- nsapolicy/targeted/domains/program/ssh.te 2005-09-12 16:40:26.000000000 -0400 +++ policy-1.27.1/targeted/domains/program/ssh.te 2005-09-27 17:14:40.000000000 -0400 @@ -2586,7 +2664,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/targeted/domains/unconfined.te policy-1.27.1/targeted/domains/unconfined.te --- nsapolicy/targeted/domains/unconfined.te 2005-09-12 16:40:26.000000000 -0400 -+++ policy-1.27.1/targeted/domains/unconfined.te 2005-09-27 17:14:40.000000000 -0400 ++++ policy-1.27.1/targeted/domains/unconfined.te 2005-10-04 12:22:11.000000000 -0400 @@ -7,15 +7,14 @@ type unconfined_t, domain, privuser, privhome, privrole, privowner, admin, auth_write, fs_domain, privmem; role system_r types unconfined_t; @@ -2612,7 +2690,7 @@ # Allow system to run with NIS bool allow_ypbind false; -@@ -77,3 +77,17 @@ +@@ -77,3 +77,15 @@ allow domain self:process execmem; } @@ -2621,12 +2699,10 @@ +typealias unconfined_t alias i18n_input_t; +typealias var_run_t alias i18n_input_var_run_t; +ifdef(`su.te', ` -+# Needed to get su working -+bool secure_mode false; +typealias unconfined_t alias { sysadm_chkpwd_t }; +typealias tmp_t alias { sysadm_tmp_t sshd_tmp_t }; +su_domain(sysadm) -+typeattribute sysadm_su_t unrestricted; ++typeattribute sysadm_su_t unconfinedtrans; +role system_r types sysadm_su_t; +') + Index: selinux-policy-targeted.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/devel/selinux-policy-targeted.spec,v retrieving revision 1.383 retrieving revision 1.384 diff -u -r1.383 -r1.384 --- selinux-policy-targeted.spec 29 Sep 2005 20:09:38 -0000 1.383 +++ selinux-policy-targeted.spec 4 Oct 2005 16:31:20 -0000 1.384 @@ -11,7 +11,7 @@ Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} Version: 1.27.1 -Release: 12 +Release: 13 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz @@ -55,7 +55,7 @@ mv domains/misc/unused/kernel.te domains/misc/ mv domains/program/*.te domains/program/unused/ rm domains/*.te -(cd domains/program/unused; mv acct.te anaconda.te amanda.te apache.te apmd.te arpwatch.te auditd.te bluetooth.te checkpolicy.te canna.te cardmgr.te chkpwd.te comsat.te consoletype.te cpucontrol.te cpuspeed.te cups.te cvs.te cyrus.te dbskkd.te dmidecode.te dbusd.te dhcpc.te dhcpd.te dictd.te dovecot.te fingerd.te firstboot.te fsadm.te ftpd.te getty.te hald.te hostname.te hotplug.te howl.te hwclock.te kudzu.te ifconfig.te init.te initrc.te inetd.te innd.te kerberos.te klogd.te ktalkd.te ldconfig.te load_policy.te login.te lpd.te mailman.te modutil.te mta.te mysqld.te named.te netutils.te NetworkManager.te nscd.te ntpd.te passwd.te pegasus.te ping.te portmap.te postfix.te postgresql.te pppd.te privoxy.te radius.te radvd.te restorecon.te rlogind.te rpcd.te rshd.te rsync.te saslauthd.te samba.te setfiles.te slapd.te snmpd.te squid.te stunnel.te su.te syslogd.te telnetd.te tftpd.te udev.te updfstab.te uucpd.te webalizer.te winbind.te ypbind.te yppasswd.te ypserv.te zebra.te ../) +(cd domains/program/unused; mv acct.te anaconda.te amanda.te apache.te apmd.te arpwatch.te auditd.te bluetooth.te checkpolicy.te canna.te cardmgr.te chkpwd.te comsat.te consoletype.te cpucontrol.te cpuspeed.te cups.te cvs.te cyrus.te dbskkd.te dmidecode.te dbusd.te dhcpc.te dhcpd.te dictd.te dovecot.te fingerd.te firstboot.te fsadm.te ftpd.te getty.te hald.te hostname.te hotplug.te howl.te hwclock.te kudzu.te ifconfig.te init.te initrc.te inetd.te innd.te kerberos.te klogd.te ktalkd.te ldconfig.te load_policy.te login.te lpd.te newrole.te mailman.te modutil.te mta.te mysqld.te named.te netutils.te NetworkManager.te nscd.te ntpd.te passwd.te pegasus.te ping.te portmap.te postfix.te postgresql.te pppd.te privoxy.te radius.te radvd.te restorecon.te rlogind.te rpcd.te rshd.te rsync.te saslauthd.te samba.te setfiles.te slapd.te snmpd.te squid.te stunnel.te su.te syslogd.te telnetd.te tftpd.te udev.te updfstab.te uucpd.te webalizer.te winbind.te ypbind.te yppasswd.te ypserv.te ze! bra.te ../) rm -rf domains/program/unused rm -rf domains/misc/unused cp -R %{type}/* . @@ -246,6 +246,10 @@ exit 0 %changelog +* Tue Oct 4 2005 Dan Walsh 1.27.1-13 +- Fixes for pegasus, add newrole policy for targeted +- Fixes for postgres + * Thu Sep 29 2005 Dan Walsh 1.27.1-12 - Allow reading of public_content_rw_t without setting boolean - Fix man pages From fedora-cvs-commits at redhat.com Tue Oct 4 16:31:20 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 12:31:20 -0400 Subject: rpms/selinux-policy-strict/devel policy-20050916.patch, 1.16, 1.17 selinux-policy-strict.spec, 1.388, 1.389 selinux.csh, 1.6, 1.7 selinux.sh, 1.6, 1.7 Message-ID: <200510041631.j94GVKhV019769@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-strict/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv19736 Modified Files: policy-20050916.patch selinux-policy-strict.spec selinux.csh selinux.sh Log Message: * Tue Oct 4 2005 Dan Walsh 1.27.1-13 - Fixes for pegasus, add newrole policy for targeted - Fixes for postgres policy-20050916.patch: Makefile | 22 +++++---- attrib.te | 3 + domains/program/crond.te | 2 domains/program/fsadm.te | 7 ++ domains/program/hostname.te | 2 domains/program/ifconfig.te | 5 +- domains/program/initrc.te | 17 ++++++- domains/program/ldconfig.te | 3 - domains/program/load_policy.te | 7 +- domains/program/login.te | 21 +++++--- domains/program/modutil.te | 14 +++-- domains/program/mount.te | 5 +- domains/program/netutils.te | 3 - domains/program/newrole.te | 4 + domains/program/passwd.te | 1 domains/program/restorecon.te | 3 - domains/program/setfiles.te | 4 - domains/program/ssh.te | 6 ++ domains/program/su.te | 9 +++ domains/program/syslogd.te | 6 +- domains/program/unused/NetworkManager.te | 3 - domains/program/unused/alsa.te | 2 domains/program/unused/amanda.te | 74 +++++++------------------------ domains/program/unused/anaconda.te | 5 -- domains/program/unused/apache.te | 17 ++++--- domains/program/unused/apmd.te | 13 +++++ domains/program/unused/auditd.te | 2 domains/program/unused/automount.te | 4 + domains/program/unused/bluetooth.te | 61 +++++++++++++++++++++++++ domains/program/unused/cups.te | 18 +++++-- domains/program/unused/cvs.te | 3 + domains/program/unused/cyrus.te | 2 domains/program/unused/dbusd.te | 4 + domains/program/unused/dhcpc.te | 5 +- domains/program/unused/dhcpd.te | 3 - domains/program/unused/dovecot.te | 4 + domains/program/unused/hald.te | 2 domains/program/unused/hotplug.te | 5 +- domains/program/unused/hwclock.te | 2 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 5 +- domains/program/unused/mta.te | 8 +++ domains/program/unused/mysqld.te | 6 +- domains/program/unused/named.te | 29 ++++++++++-- domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 10 ++-- domains/program/unused/openct.te | 16 ++++++ domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 37 +++++++++++++++ domains/program/unused/ping.te | 3 - domains/program/unused/postfix.te | 30 +++++++----- domains/program/unused/pppd.te | 8 ++- domains/program/unused/procmail.te | 11 +++- domains/program/unused/readahead.te | 21 ++++++++ domains/program/unused/rlogind.te | 4 + domains/program/unused/roundup.te | 29 ++++++++++++ domains/program/unused/rpcd.te | 12 ++++- domains/program/unused/samba.te | 11 +++- domains/program/unused/snmpd.te | 5 +- domains/program/unused/squid.te | 3 - domains/program/unused/udev.te | 10 +++- domains/program/unused/utempter.te | 2 domains/program/unused/webalizer.te | 3 + domains/program/unused/winbind.te | 1 domains/program/unused/xdm.te | 3 + domains/program/unused/yppasswdd.te | 40 ++++++++++++++++ domains/program/unused/ypserv.te | 1 domains/program/useradd.te | 5 +- file_contexts/distros.fc | 2 file_contexts/program/bluetooth.fc | 3 + file_contexts/program/dhcpc.fc | 2 file_contexts/program/dhcpd.fc | 1 file_contexts/program/ftpd.fc | 5 +- file_contexts/program/games.fc | 11 +++- file_contexts/program/ipsec.fc | 1 file_contexts/program/openct.fc | 2 file_contexts/program/pegasus.fc | 11 ++++ file_contexts/program/pppd.fc | 2 file_contexts/program/readahead.fc | 1 file_contexts/program/roundup.fc | 2 file_contexts/program/rpm.fc | 4 + file_contexts/program/rsync.fc | 2 file_contexts/program/xdm.fc | 2 file_contexts/program/yppasswdd.fc | 2 file_contexts/program/ypserv.fc | 1 file_contexts/types.fc | 2 genfs_contexts | 2 macros/core_macros.te | 3 + macros/global_macros.te | 18 +++++-- macros/network_macros.te | 17 ++++++- macros/program/apache_macros.te | 13 ++++- macros/program/cdrecord_macros.te | 2 macros/program/i18n_input_macros.te | 21 ++++++++ macros/program/mta_macros.te | 4 - macros/program/newrole_macros.te | 2 macros/program/pyzor_macros.te | 2 macros/program/razor_macros.te | 2 macros/program/su_macros.te | 4 - macros/program/uml_macros.te | 2 macros/user_macros.te | 1 man/man8/ftpd_selinux.8 | 19 ++++--- man/man8/httpd_selinux.8 | 9 +++ man/man8/rsync_selinux.8 | 12 +++-- man/man8/samba_selinux.8 | 9 +++ mcs | 16 ++++++ net_contexts | 6 ++ targeted/appconfig/root_default_contexts | 4 + targeted/assert.te | 2 targeted/domains/program/ssh.te | 3 + targeted/domains/program/xdm.te | 4 + targeted/domains/unconfined.te | 16 +++++- tunables/distro.tun | 2 tunables/tunable.tun | 4 - types/devpts.te | 4 + types/file.te | 15 ++++-- types/network.te | 12 ++--- types/security.te | 5 ++ 117 files changed, 755 insertions(+), 227 deletions(-) Index: policy-20050916.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/devel/policy-20050916.patch,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- policy-20050916.patch 29 Sep 2005 20:05:20 -0000 1.16 +++ policy-20050916.patch 4 Oct 2005 16:30:55 -0000 1.17 @@ -1,3 +1,16 @@ +diff --exclude-from=exclude -N -u -r nsapolicy/attrib.te policy-1.27.1/attrib.te +--- nsapolicy/attrib.te 2005-09-16 11:17:08.000000000 -0400 ++++ policy-1.27.1/attrib.te 2005-10-04 12:21:54.000000000 -0400 +@@ -443,6 +443,9 @@ + # Attribute to designate unrestricted access + attribute unrestricted; + ++# Attribute to designate can transition to unconfined_t ++attribute unconfinedtrans; ++ + # For clients of nscd. + attribute nscd_client_domain; + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/crond.te policy-1.27.1/domains/program/crond.te --- nsapolicy/domains/program/crond.te 2005-09-16 11:17:08.000000000 -0400 +++ policy-1.27.1/domains/program/crond.te 2005-09-27 17:14:40.000000000 -0400 @@ -273,6 +286,17 @@ ifdef(`gnome-pty-helper.te', `allow netutils_t sysadm_gph_t:fd use;') allow netutils_t proc_t:dir search; +diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/newrole.te policy-1.27.1/domains/program/newrole.te +--- nsapolicy/domains/program/newrole.te 2005-09-12 16:40:29.000000000 -0400 ++++ policy-1.27.1/domains/program/newrole.te 2005-10-04 12:27:43.000000000 -0400 +@@ -18,3 +18,7 @@ + allow newrole_t initrc_var_run_t:file rw_file_perms; + + role secadm_r types newrole_t; ++ ++ifdef(`targeted_policy', ` ++typeattribute newrole_t unconfinedtrans; ++') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/passwd.te policy-1.27.1/domains/program/passwd.te --- nsapolicy/domains/program/passwd.te 2005-09-16 11:17:08.000000000 -0400 +++ policy-1.27.1/domains/program/passwd.te 2005-09-27 17:14:40.000000000 -0400 @@ -1251,8 +1275,8 @@ +nsswitch_domain(pam_console_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/pegasus.te policy-1.27.1/domains/program/unused/pegasus.te --- nsapolicy/domains/program/unused/pegasus.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/pegasus.te 2005-09-27 17:14:40.000000000 -0400 -@@ -0,0 +1,31 @@ ++++ policy-1.27.1/domains/program/unused/pegasus.te 2005-10-04 12:12:44.000000000 -0400 +@@ -0,0 +1,37 @@ +#DESC pegasus - The Open Group Pegasus CIM/WBEM Server +# +# Author: Jason Vas Dias @@ -1262,17 +1286,20 @@ +# +# Rules for the pegasus domain +# -+daemon_domain(pegasus, `, nscd_client_domain') ++daemon_domain(pegasus, `, nscd_client_domain, auth') +type pegasus_data_t, file_type, sysadmfile; +type pegasus_conf_t, file_type, sysadmfile; +type pegasus_mof_t, file_type, sysadmfile; +type pegasus_conf_exec_t, file_type, exec_type, sysadmfile; -+allow pegasus_t self:capability { dac_override net_bind_service }; ++allow pegasus_t self:capability { dac_override net_bind_service audit_write }; +can_network_tcp(pegasus_t); +nsswitch_domain(pegasus_t); +allow pegasus_t pegasus_var_run_t:sock_file { create setattr }; +allow pegasus_t self:unix_dgram_socket create_socket_perms; +allow pegasus_t self:unix_stream_socket create_stream_socket_perms; ++allow pegasus_t self:file { read getattr }; ++allow pegasus_t self:fifo_file rw_file_perms; ++allow pegasus_t self:netlink_audit_socket { create_netlink_socket_perms nlmsg_relay }; +allow pegasus_t { pegasus_http_port_t pegasus_https_port_t }:tcp_socket { name_bind name_connect }; +allow pegasus_t proc_t:file { getattr read }; +allow pegasus_t sysctl_vm_t:dir search; @@ -1284,6 +1311,9 @@ +rw_dir_create_file(pegasus_t, pegasus_conf_t) +rw_dir_create_file(pegasus_t, pegasus_data_t) +rw_dir_create_file(pegasus_conf_exec_t, pegasus_conf_t) ++allow pegasus_t shadow_t:file { getattr read }; ++dontaudit pegasus_t selinux_config_t:dir search; ++ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ping.te policy-1.27.1/domains/program/unused/ping.te --- nsapolicy/domains/program/unused/ping.te 2005-09-16 11:17:09.000000000 -0400 +++ policy-1.27.1/domains/program/unused/ping.te 2005-09-27 17:14:40.000000000 -0400 @@ -1305,7 +1335,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/postfix.te policy-1.27.1/domains/program/unused/postfix.te --- nsapolicy/domains/program/unused/postfix.te 2005-09-12 16:40:29.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/postfix.te 2005-09-27 17:14:40.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/postfix.te 2005-10-04 11:59:51.000000000 -0400 @@ -54,6 +54,8 @@ allow postfix_$1_t proc_net_t:dir search; allow postfix_$1_t proc_net_t:file { getattr read }; @@ -1325,15 +1355,22 @@ read_sysctl(postfix_master_t) domain_auto_trans(initrc_t, postfix_master_exec_t, postfix_master_t) -@@ -98,6 +103,7 @@ +@@ -97,10 +102,12 @@ + dontaudit postfix_master_t selinux_config_t:dir search; can_exec({ sysadm_mail_t system_mail_t }, postfix_master_exec_t) ifdef(`distro_redhat', ` ++# compatability for old default main.cf file_type_auto_trans({ sysadm_mail_t system_mail_t postfix_master_t }, postfix_etc_t, etc_aliases_t) -+file_type_auto_trans({ sysadm_mail_t system_mail_t postfix_master_t }, etc_t, etc_aliases_t) - ', ` - file_type_auto_trans({ sysadm_mail_t system_mail_t }, etc_t, etc_aliases_t) - ') -@@ -121,7 +127,7 @@ +-', ` +-file_type_auto_trans({ sysadm_mail_t system_mail_t }, etc_t, etc_aliases_t) ++# for newer main.cf that uses /etc/aliases ++file_type_auto_trans(postfix_master_t, etc_t, etc_aliases_t) + ') ++file_type_auto_trans({ sysadm_mail_t system_mail_t }, etc_t, etc_aliases_t) + allow postfix_master_t sendmail_exec_t:file r_file_perms; + allow postfix_master_t sbin_t:lnk_file { getattr read }; + ifdef(`pppd.te', ` +@@ -121,7 +128,7 @@ can_network(postfix_master_t) allow postfix_master_t port_type:tcp_socket name_connect; can_ypbind(postfix_master_t) @@ -1342,7 +1379,7 @@ allow postfix_master_t postfix_spool_maildrop_t:dir rw_dir_perms; allow postfix_master_t postfix_spool_maildrop_t:file { unlink rename getattr }; allow postfix_master_t postfix_prng_t:file getattr; -@@ -135,13 +141,11 @@ +@@ -135,14 +142,10 @@ ') create_dir_file(postfix_master_t, postfix_spool_flush_t) @@ -1351,12 +1388,13 @@ # for ls to get the current context allow postfix_master_t self:file { getattr read }; - # for SSP +-# for SSP -allow postfix_master_t urandom_device_t:chr_file read; - +- # allow access to deferred queue and allow removing bogus incoming entries allow postfix_master_t postfix_spool_t:dir create_dir_perms; -@@ -163,7 +167,6 @@ + allow postfix_master_t postfix_spool_t:file create_file_perms; +@@ -163,7 +166,6 @@ allow postfix_smtp_t postfix_spool_t:file rw_file_perms; allow postfix_smtp_t { postfix_private_t postfix_public_t }:dir search; allow postfix_smtp_t { postfix_private_t postfix_public_t }:sock_file write; @@ -1364,7 +1402,7 @@ allow postfix_smtp_t postfix_master_t:unix_stream_socket connectto; # if you have two different mail servers on the same host let them talk via # SMTP, also if one mail server wants to talk to itself then allow it and let -@@ -172,7 +175,6 @@ +@@ -172,7 +174,6 @@ can_tcp_connect(postfix_smtp_t, mail_server_domain) postfix_server_domain(smtpd) @@ -1372,25 +1410,32 @@ allow postfix_smtpd_t postfix_master_t:tcp_socket rw_stream_socket_perms; allow postfix_smtpd_t { postfix_private_t postfix_public_t }:dir search; allow postfix_smtpd_t { postfix_private_t postfix_public_t }:sock_file rw_file_perms; -@@ -184,7 +186,7 @@ +@@ -184,7 +185,6 @@ # for prng_exch allow postfix_smtpd_t postfix_spool_t:file rw_file_perms; - -+dontaudit postfix_smtpd_t { home_root_t boot_t }:dir getattr; allow { postfix_smtp_t postfix_smtpd_t } postfix_prng_t:file rw_file_perms; postfix_server_domain(local, `, mta_delivery_agent') -@@ -196,7 +198,7 @@ +@@ -196,7 +196,7 @@ ') allow postfix_local_t etc_aliases_t:file r_file_perms; allow postfix_local_t self:fifo_file rw_file_perms; -allow postfix_local_t self:process setrlimit; -+allow postfix_local_t postfix_local_t:process { setsched setrlimit }; ++allow postfix_local_t self:process { setsched setrlimit }; allow postfix_local_t postfix_spool_t:file rw_file_perms; # for .forward - maybe we need a new type for it? allow postfix_local_t postfix_private_t:dir search; -@@ -260,7 +262,7 @@ +@@ -241,6 +241,7 @@ + allow postfix_postqueue_t postfix_public_t:dir search; + allow postfix_postqueue_t postfix_public_t:fifo_file getattr; + allow postfix_postqueue_t self:udp_socket { create ioctl }; ++allow postfix_postqueue_t self:tcp_socket create; + allow postfix_master_t postfix_postqueue_exec_t:file getattr; + domain_auto_trans(postfix_master_t, postfix_postqueue_exec_t, postfix_postqueue_t) + allow postfix_postqueue_t initrc_t:process sigchld; +@@ -260,7 +261,7 @@ postfix_user_domain(showq) # the following auto_trans is usually in postfix server domain domain_auto_trans(postfix_master_t, postfix_showq_exec_t, postfix_showq_t) @@ -1399,6 +1444,14 @@ r_dir_file(postfix_showq_t, postfix_spool_maildrop_t) domain_auto_trans(postfix_postqueue_t, postfix_showq_exec_t, postfix_showq_t) allow postfix_showq_t self:capability { setuid setgid }; +@@ -284,6 +285,7 @@ + allow postfix_postdrop_t { crond_t system_crond_t }:fifo_file rw_file_perms;') + # usually it does not need a UDP socket + allow postfix_postdrop_t self:udp_socket create_socket_perms; ++allow postfix_postdrop_t self:tcp_socket create; + allow postfix_postdrop_t self:capability sys_resource; + + postfix_public_domain(pickup) @@ -329,7 +331,8 @@ domain_auto_trans(postfix_pipe_t, procmail_exec_t, procmail_t) ') @@ -1409,15 +1462,11 @@ ') # Program for creating database files -@@ -348,5 +351,8 @@ - dontaudit postfix_map_t var_t:dir search; - can_network_server(postfix_map_t) +@@ -350,3 +353,4 @@ allow postfix_map_t port_type:tcp_socket name_connect; -+r_dir_file(postfix_local_t, etc_mail_t) allow postfix_local_t mail_spool_t:dir { remove_name }; allow postfix_local_t mail_spool_t:file { unlink }; +can_exec(postfix_local_t, bin_t) -+ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/pppd.te policy-1.27.1/domains/program/unused/pppd.te --- nsapolicy/domains/program/unused/pppd.te 2005-09-16 11:17:09.000000000 -0400 +++ policy-1.27.1/domains/program/unused/pppd.te 2005-09-29 14:04:48.000000000 -0400 @@ -1817,8 +1866,16 @@ read_sysctl(useradd_t) diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/distros.fc policy-1.27.1/file_contexts/distros.fc --- nsapolicy/file_contexts/distros.fc 2005-09-12 16:40:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/distros.fc 2005-09-27 17:14:40.000000000 -0400 -@@ -99,6 +99,7 @@ ++++ policy-1.27.1/file_contexts/distros.fc 2005-10-03 14:43:17.000000000 -0400 +@@ -89,6 +89,7 @@ + /usr/lib/valgrind/hp2ps -- system_u:object_r:texrel_shlib_t + /usr/lib/valgrind/stage2 -- system_u:object_r:texrel_shlib_t + /usr/lib/valgrind/vg.*\.so -- system_u:object_r:texrel_shlib_t ++/usr/lib/.*/libxpcom_core.so -- system_u:object_r:texrel_shlib_t + /usr/lib/.*/program(/.*)? system_u:object_r:bin_t + /usr/lib/.*/program/.*\.so.* system_u:object_r:shlib_t + /usr/lib/.*/program/libicudata\.so.* -- system_u:object_r:texrel_shlib_t +@@ -99,6 +100,7 @@ /usr/lib(64)?/.*/program/librecentfile\.so -- system_u:object_r:texrel_shlib_t /usr/lib(64)?/.*/program/libsvx680li\.so -- system_u:object_r:texrel_shlib_t /usr/lib(64)?/.*/program/libcomphelp4gcc3\.so -- system_u:object_r:texrel_shlib_t @@ -2051,7 +2108,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/macros/global_macros.te policy-1.27.1/macros/global_macros.te --- nsapolicy/macros/global_macros.te 2005-09-16 11:17:11.000000000 -0400 -+++ policy-1.27.1/macros/global_macros.te 2005-09-29 08:46:50.000000000 -0400 ++++ policy-1.27.1/macros/global_macros.te 2005-09-30 10:26:28.000000000 -0400 @@ -157,6 +157,11 @@ r_dir_file($1, locale_t) ') @@ -2105,6 +2162,15 @@ # Mount/unmount any filesystem. allow $1 fs_type:filesystem *; +@@ -653,7 +661,7 @@ + allow $1 port_type:tcp_socket name_connect; + + # Bind to any network address. +-allow $1 port_type:{ tcp_socket udp_socket } name_bind; ++allow $1 port_type:{ rawip_socket tcp_socket udp_socket } name_bind; + allow $1 node_type:{ tcp_socket udp_socket rawip_socket } node_bind; + allow $1 file_type:{ unix_stream_socket unix_dgram_socket } name_bind; + diff --exclude-from=exclude -N -u -r nsapolicy/macros/network_macros.te policy-1.27.1/macros/network_macros.te --- nsapolicy/macros/network_macros.te 2005-09-16 11:17:11.000000000 -0400 +++ policy-1.27.1/macros/network_macros.te 2005-09-27 17:14:40.000000000 -0400 @@ -2563,6 +2629,18 @@ +system_r:remote_login_t system_r:unconfined_t +system_r:rshd_t system_r:unconfined_t +system_r:crond_t system_r:unconfined_t +diff --exclude-from=exclude -N -u -r nsapolicy/targeted/assert.te policy-1.27.1/targeted/assert.te +--- nsapolicy/targeted/assert.te 2005-09-16 11:17:12.000000000 -0400 ++++ policy-1.27.1/targeted/assert.te 2005-10-04 12:22:32.000000000 -0400 +@@ -22,7 +22,7 @@ + + # Confined domains must never touch an unconfined domain except to + # send SIGCHLD for child termination notifications. +-neverallow { domain -unrestricted } unconfined_t:process ~sigchld; ++neverallow { domain -unrestricted -unconfinedtrans } unconfined_t:process ~sigchld; + + # Confined domains must never see /proc/pid entries for an unconfined domain. + neverallow { domain -unrestricted -snmpd_t } unconfined_t:dir { getattr search }; diff --exclude-from=exclude -N -u -r nsapolicy/targeted/domains/program/ssh.te policy-1.27.1/targeted/domains/program/ssh.te --- nsapolicy/targeted/domains/program/ssh.te 2005-09-12 16:40:26.000000000 -0400 +++ policy-1.27.1/targeted/domains/program/ssh.te 2005-09-27 17:14:40.000000000 -0400 @@ -2586,7 +2664,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/targeted/domains/unconfined.te policy-1.27.1/targeted/domains/unconfined.te --- nsapolicy/targeted/domains/unconfined.te 2005-09-12 16:40:26.000000000 -0400 -+++ policy-1.27.1/targeted/domains/unconfined.te 2005-09-27 17:14:40.000000000 -0400 ++++ policy-1.27.1/targeted/domains/unconfined.te 2005-10-04 12:22:11.000000000 -0400 @@ -7,15 +7,14 @@ type unconfined_t, domain, privuser, privhome, privrole, privowner, admin, auth_write, fs_domain, privmem; role system_r types unconfined_t; @@ -2612,7 +2690,7 @@ # Allow system to run with NIS bool allow_ypbind false; -@@ -77,3 +77,17 @@ +@@ -77,3 +77,15 @@ allow domain self:process execmem; } @@ -2621,12 +2699,10 @@ +typealias unconfined_t alias i18n_input_t; +typealias var_run_t alias i18n_input_var_run_t; +ifdef(`su.te', ` -+# Needed to get su working -+bool secure_mode false; +typealias unconfined_t alias { sysadm_chkpwd_t }; +typealias tmp_t alias { sysadm_tmp_t sshd_tmp_t }; +su_domain(sysadm) -+typeattribute sysadm_su_t unrestricted; ++typeattribute sysadm_su_t unconfinedtrans; +role system_r types sysadm_su_t; +') + Index: selinux-policy-strict.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/devel/selinux-policy-strict.spec,v retrieving revision 1.388 retrieving revision 1.389 diff -u -r1.388 -r1.389 --- selinux-policy-strict.spec 29 Sep 2005 19:42:09 -0000 1.388 +++ selinux-policy-strict.spec 4 Oct 2005 16:30:59 -0000 1.389 @@ -11,7 +11,7 @@ Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} Version: 1.27.1 -Release: 11 +Release: 13 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz @@ -242,6 +242,10 @@ exit 0 %changelog +* Tue Oct 4 2005 Dan Walsh 1.27.1-13 +- Fixes for pegasus, add newrole policy for targeted +- Fixes for postgres + * Thu Sep 29 2005 Dan Walsh 1.27.1-11 - Allow reading of public_content_rw_t without setting boolean - Fix man pages Index: selinux.csh =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/devel/selinux.csh,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- selinux.csh 29 Jun 2005 20:39:01 -0000 1.6 +++ selinux.csh 4 Oct 2005 16:31:00 -0000 1.7 @@ -10,7 +10,7 @@ foreach DIR ( $DIRS ) [ -d $DIR ] || mkdir -p $DIR end -set RESTORED=`/sbin/restorecon -v $DIRS |& cat` +set RESTORED=`/sbin/restorecon -o /dev/stdout $DIRS >& /dev/null` if ( $status == 0 && "$RESTORED" != "" ) then set RESULT=`echo "$RESTORED" | awk '{ print $3 }'` echo "Restoring SELinux context for:" Index: selinux.sh =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/devel/selinux.sh,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- selinux.sh 29 Jun 2005 20:39:01 -0000 1.6 +++ selinux.sh 4 Oct 2005 16:31:00 -0000 1.7 @@ -25,7 +25,7 @@ [ -d $DIR ] || mkdir -m 700 -p $DIR done -RESTORED=`/sbin/restorecon -v $DIRS 2>&1` +RESTORED=`/sbin/restorecon -o /dev/stdout $DIRS 2>&1` if [ $? -a ! -z "$RESTORED" ]; then RESULT=`echo "$RESTORED" | awk '{ print $3 }'` echo "Restoring SELinux context for:" From fedora-cvs-commits at redhat.com Tue Oct 4 17:37:24 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 13:37:24 -0400 Subject: rpms/gtkhtml3/devel .cvsignore, 1.23, 1.24 gtkhtml3.spec, 1.38, 1.39 sources, 1.23, 1.24 Message-ID: <200510041737.j94HbOYE012797@cvs.devel.redhat.com> Author: dmalcolm Update of /cvs/dist/rpms/gtkhtml3/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv12782 Modified Files: .cvsignore gtkhtml3.spec sources Log Message: 3.8.1 Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/gtkhtml3/devel/.cvsignore,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- .cvsignore 6 Sep 2005 19:22:48 -0000 1.23 +++ .cvsignore 4 Oct 2005 17:37:22 -0000 1.24 @@ -1 +1 @@ -gtkhtml-3.8.0.tar.bz2 +gtkhtml-3.8.1.tar.bz2 Index: gtkhtml3.spec =================================================================== RCS file: /cvs/dist/rpms/gtkhtml3/devel/gtkhtml3.spec,v retrieving revision 1.38 retrieving revision 1.39 diff -u -r1.38 -r1.39 --- gtkhtml3.spec 6 Sep 2005 19:22:48 -0000 1.38 +++ gtkhtml3.spec 4 Oct 2005 17:37:22 -0000 1.39 @@ -4,7 +4,7 @@ Summary: gtkhtml library Name: gtkhtml3 -Version: 3.8.0 +Version: 3.8.1 Release: 1 License: LGPL/GPL Group: System Environment/Libraries @@ -92,6 +92,9 @@ %{_libdir}/pkgconfig/*.pc %changelog +* Tue Oct 4 2005 David Malcolm - 3.8.1-1 +- 3.8.1 + * Tue Sep 6 2005 David Malcolm - 3.8.0-1 - 3.8.0 Index: sources =================================================================== RCS file: /cvs/dist/rpms/gtkhtml3/devel/sources,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- sources 6 Sep 2005 19:22:48 -0000 1.23 +++ sources 4 Oct 2005 17:37:22 -0000 1.24 @@ -1 +1 @@ -293f8277a263378b6b9f5c30d72511a3 gtkhtml-3.8.0.tar.bz2 +4c66f0eb30d6c26a09ee2c8d60d9c520 gtkhtml-3.8.1.tar.bz2 From fedora-cvs-commits at redhat.com Tue Oct 4 17:48:40 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 13:48:40 -0400 Subject: rpms/evolution-data-server/devel .cvsignore, 1.29, 1.30 evolution-data-server.spec, 1.64, 1.65 sources, 1.29, 1.30 Message-ID: <200510041748.j94Hme2A019788@cvs.devel.redhat.com> Author: dmalcolm Update of /cvs/dist/rpms/evolution-data-server/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv19773 Modified Files: .cvsignore evolution-data-server.spec sources Log Message: 1.4.1 Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/evolution-data-server/devel/.cvsignore,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- .cvsignore 7 Sep 2005 17:24:41 -0000 1.29 +++ .cvsignore 4 Oct 2005 17:48:38 -0000 1.30 @@ -1 +1 @@ -evolution-data-server-1.4.0.tar.bz2 +evolution-data-server-1.4.1.tar.bz2 Index: evolution-data-server.spec =================================================================== RCS file: /cvs/dist/rpms/evolution-data-server/devel/evolution-data-server.spec,v retrieving revision 1.64 retrieving revision 1.65 diff -u -r1.64 -r1.65 --- evolution-data-server.spec 15 Sep 2005 01:49:40 -0000 1.64 +++ evolution-data-server.spec 4 Oct 2005 17:48:38 -0000 1.65 @@ -19,8 +19,8 @@ Summary: Backend data server for evolution Name: evolution-data-server -Version: 1.4.0 -Release: 2 +Version: 1.4.1 +Release: 1 License: GPL Group: System Environment/Libraries Source0: ftp://ftp.gnome.org/pub/gnome/sources/evolution-data-server/1.0/%{name}-%{version}.tar.bz2 @@ -221,6 +221,9 @@ %changelog +* Tue Oct 4 2005 David Malcolm - 1.4.1-1 +- 1.4.1 + * Wed Sep 14 2005 Jeremy Katz - 1.4.0-2 - rebuild now that mozilla builds on ppc64 Index: sources =================================================================== RCS file: /cvs/dist/rpms/evolution-data-server/devel/sources,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- sources 7 Sep 2005 17:24:41 -0000 1.29 +++ sources 4 Oct 2005 17:48:38 -0000 1.30 @@ -1 +1 @@ -a15991d5f0112b43c18fa99dfccfec1b evolution-data-server-1.4.0.tar.bz2 +af8f53c4ea524df861a6f2eb1ea75ad9 evolution-data-server-1.4.1.tar.bz2 From fedora-cvs-commits at redhat.com Tue Oct 4 17:58:35 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 13:58:35 -0400 Subject: rpms/libsepol/devel .cvsignore, 1.48, 1.49 libsepol.spec, 1.65, 1.66 sources, 1.48, 1.49 Message-ID: <200510041758.j94HwZmp030056@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libsepol/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30023 Modified Files: .cvsignore libsepol.spec sources Log Message: * Tue Oct 4 2005 Dan Walsh 1.9.10-1 - Upgrade to latest from NSA * Merged iterate patch from Ivan Gyurdiev. * Merged MLS in modules patch from Joshua Brindle (Tresys). Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/libsepol/devel/.cvsignore,v retrieving revision 1.48 retrieving revision 1.49 diff -u -r1.48 -r1.49 --- .cvsignore 3 Oct 2005 13:19:50 -0000 1.48 +++ .cvsignore 4 Oct 2005 17:58:33 -0000 1.49 @@ -45,3 +45,4 @@ libsepol-1.9.6.tgz libsepol-1.9.7.tgz libsepol-1.9.8.tgz +libsepol-1.9.10.tgz Index: libsepol.spec =================================================================== RCS file: /cvs/dist/rpms/libsepol/devel/libsepol.spec,v retrieving revision 1.65 retrieving revision 1.66 diff -u -r1.65 -r1.66 --- libsepol.spec 3 Oct 2005 13:19:50 -0000 1.65 +++ libsepol.spec 4 Oct 2005 17:58:33 -0000 1.66 @@ -1,6 +1,6 @@ Summary: SELinux binary policy manipulation library Name: libsepol -Version: 1.9.8 +Version: 1.9.10 Release: 1 License: GPL Group: System Environment/Libraries @@ -73,6 +73,11 @@ /%{_lib}/libsepol.so.1 %changelog +* Tue Oct 4 2005 Dan Walsh 1.9.10-1 +- Upgrade to latest from NSA + * Merged iterate patch from Ivan Gyurdiev. + * Merged MLS in modules patch from Joshua Brindle (Tresys). + * Mon Oct 3 2005 Dan Walsh 1.9.8-1 - Upgrade to latest from NSA * Merged pointer typedef elimination patch from Ivan Gyurdiev. Index: sources =================================================================== RCS file: /cvs/dist/rpms/libsepol/devel/sources,v retrieving revision 1.48 retrieving revision 1.49 diff -u -r1.48 -r1.49 --- sources 3 Oct 2005 13:19:50 -0000 1.48 +++ sources 4 Oct 2005 17:58:33 -0000 1.49 @@ -1 +1 @@ -c9a588f71b830d0bb0be3fe090e35c59 libsepol-1.9.8.tgz +6ec92846e4374faa24688007440179e6 libsepol-1.9.10.tgz From fedora-cvs-commits at redhat.com Tue Oct 4 18:02:55 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 14:02:55 -0400 Subject: rpms/checkpolicy/devel .cvsignore, 1.43, 1.44 checkpolicy.spec, 1.60, 1.61 sources, 1.44, 1.45 Message-ID: <200510041802.j94I2rvH030993@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/checkpolicy/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30905 Modified Files: .cvsignore checkpolicy.spec sources Log Message: * Tue Oct 4 2005 Dan Walsh 1.27.6-1 - Latest upgrade from NSA * Merged MLS in modules patch from Joshua Brindle (Tresys). Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/checkpolicy/devel/.cvsignore,v retrieving revision 1.43 retrieving revision 1.44 diff -u -r1.43 -r1.44 --- .cvsignore 29 Sep 2005 01:18:06 -0000 1.43 +++ .cvsignore 4 Oct 2005 18:02:19 -0000 1.44 @@ -26,3 +26,4 @@ checkpolicy-1.27.2.tgz checkpolicy-1.27.4.tgz checkpolicy-1.27.5.tgz +checkpolicy-1.27.6.tgz Index: checkpolicy.spec =================================================================== RCS file: /cvs/dist/rpms/checkpolicy/devel/checkpolicy.spec,v retrieving revision 1.60 retrieving revision 1.61 diff -u -r1.60 -r1.61 --- checkpolicy.spec 3 Oct 2005 13:23:30 -0000 1.60 +++ checkpolicy.spec 4 Oct 2005 18:02:36 -0000 1.61 @@ -1,8 +1,8 @@ -%define libsepolver 1.9.8-1 +%define libsepolver 1.9.10-1 Summary: SELinux policy compiler Name: checkpolicy -Version: 1.27.5 -Release: 2 +Version: 1.27.6 +Release: 1 License: GPL Group: Development/System Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz @@ -44,6 +44,10 @@ %{_mandir}/man8/checkpolicy.8.gz %changelog +* Tue Oct 4 2005 Dan Walsh 1.27.6-1 +- Latest upgrade from NSA + * Merged MLS in modules patch from Joshua Brindle (Tresys). + * Mon Oct 3 2005 Dan Walsh 1.27.5-2 - Rebuild to get latest libsepol Index: sources =================================================================== RCS file: /cvs/dist/rpms/checkpolicy/devel/sources,v retrieving revision 1.44 retrieving revision 1.45 diff -u -r1.44 -r1.45 --- sources 29 Sep 2005 01:18:06 -0000 1.44 +++ sources 4 Oct 2005 18:02:36 -0000 1.45 @@ -1 +1 @@ -f2859c63a8002bdf5c9a755b073650f7 checkpolicy-1.27.5.tgz +cdac80cbaf9b7c8c6116928eb692bf60 checkpolicy-1.27.6.tgz From fedora-cvs-commits at redhat.com Tue Oct 4 18:04:52 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 14:04:52 -0400 Subject: rpms/netdump/devel .cvsignore, 1.15, 1.16 netdump.spec, 1.17, 1.18 sources, 1.15, 1.16 Message-ID: <200510041804.j94I4q44031162@cvs.devel.redhat.com> Author: anderson Update of /cvs/dist/rpms/netdump/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv31123 Modified Files: .cvsignore netdump.spec sources Log Message: Updated source package to 0.7.12-1: - Close vmcore before netdump-reboot script is run, allowing unimpeded usage of the file by a custom script. (BZ #165100) - Creates target /var/crash/ directory on the fly if it does not exist or has been removed. (BZ #162586, BZ #162587) - Made /etc/sysconfig/netdump %config(noreplace) (BZ #168601) - Generate syslog messages if any script fails to execute. - Use sparse file space in vmcore if page is zero-filled. - Update README.client re: usage of alt-sysrq-c for forced crashes. (BZ #159261) Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/netdump/devel/.cvsignore,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- .cvsignore 1 Aug 2005 15:30:03 -0000 1.15 +++ .cvsignore 4 Oct 2005 18:04:49 -0000 1.16 @@ -1 +1,3 @@ netdump-0.7.10.tar.gz +netdump-0.7.11.tar.gz +netdump-0.7.12.tar.gz Index: netdump.spec =================================================================== RCS file: /cvs/dist/rpms/netdump/devel/netdump.spec,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- netdump.spec 1 Aug 2005 15:30:04 -0000 1.17 +++ netdump.spec 4 Oct 2005 18:04:50 -0000 1.18 @@ -1,7 +1,7 @@ Summary: Client setup for network kernel message logging and crash dumps Name: netdump -Version: 0.7.10 -Release: 4 +Version: 0.7.12 +Release: 1 Source0: %{name}-%{version}.tar.gz License: GPL Group: System Environment/Daemons @@ -76,7 +76,7 @@ %files %defattr(-,root,root) -%config %attr(0644,root,root)/etc/sysconfig/netdump +%config(noreplace) %attr(0644,root,root)/etc/sysconfig/netdump /etc/rc.d/init.d/netdump %{_mandir}/man8/netdump.8* %doc README.client crash.c @@ -95,6 +95,17 @@ %doc example_scripts %changelog +* Tue Oct 4 2005 Dave Anderson 0.7.12-1 +- Close vmcore before netdump-reboot script is run, allowing + unimpeded usage of the file by a custom script. (BZ #165100) +- Creates target /var/crash/ directory on the fly if it does not + exist or has been removed. (BZ #162586, BZ #162587) +- Made /etc/sysconfig/netdump %config(noreplace) (BZ #168601) +- Generate syslog messages if any script fails to execute. +- Use sparse file space in vmcore if page is zero-filled. +- Update README.client re: usage of alt-sysrq-c for forced crashes. + (BZ #159261) + * Mon Aug 1 2005 Jeff Moyer 0.7.10-4 - Updated README and netdump-server.8 files to specify that the script files must be executable and owned by netdump. Index: sources =================================================================== RCS file: /cvs/dist/rpms/netdump/devel/sources,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- sources 1 Aug 2005 15:30:04 -0000 1.15 +++ sources 4 Oct 2005 18:04:50 -0000 1.16 @@ -1 +1 @@ -1f4b5160e57a6f7bc022234a3c3d884e netdump-0.7.10.tar.gz +8b12578c63166fb942044748b3d41852 netdump-0.7.12.tar.gz From fedora-cvs-commits at redhat.com Tue Oct 4 18:05:08 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 14:05:08 -0400 Subject: rpms/libsemanage/devel .cvsignore, 1.10, 1.11 libsemanage.spec, 1.13, 1.14 sources, 1.11, 1.12 Message-ID: <200510041805.j94I58eq031181@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libsemanage/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv31145 Modified Files: .cvsignore libsemanage.spec sources Log Message: * Tue Oct 4 2005 Dan Walsh 1.3.8-1 - Update from NSA * Merged iterate, redistribute, and dbase split patches from Ivan Gyurdiev. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/.cvsignore,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- .cvsignore 3 Oct 2005 13:10:57 -0000 1.10 +++ .cvsignore 4 Oct 2005 18:04:52 -0000 1.11 @@ -7,3 +7,4 @@ libsemanage-1.3.4.tgz libsemanage-1.3.5.tgz libsemanage-1.3.7.tgz +libsemanage-1.3.8.tgz Index: libsemanage.spec =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/libsemanage.spec,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- libsemanage.spec 3 Oct 2005 13:10:57 -0000 1.13 +++ libsemanage.spec 4 Oct 2005 18:04:52 -0000 1.14 @@ -1,6 +1,6 @@ Summary: SELinux binary policy manipulation library Name: libsemanage -Version: 1.3.7 +Version: 1.3.8 Release: 1 License: GPL Group: System Environment/Libraries @@ -64,6 +64,11 @@ %{_includedir}/semanage/*.h %changelog +* Tue Oct 4 2005 Dan Walsh 1.3.8-1 +- Update from NSA + * Merged iterate, redistribute, and dbase split patches from + Ivan Gyurdiev. + * Mon Oct 3 2005 Dan Walsh 1.3.7-1 - Update from NSA * Merged patch series from Ivan Gyurdiev. Index: sources =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/sources,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- sources 3 Oct 2005 13:10:57 -0000 1.11 +++ sources 4 Oct 2005 18:04:52 -0000 1.12 @@ -1 +1 @@ -c6801aa7ec3205064211b53a48ce5fe6 libsemanage-1.3.7.tgz +8cbfa91dda4ee62c7ec1a6673da1c206 libsemanage-1.3.8.tgz From fedora-cvs-commits at redhat.com Tue Oct 4 19:07:45 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 15:07:45 -0400 Subject: rpms/yum/devel yum-2.4-tsconsts.patch,NONE,1.1 Message-ID: <200510041907.j94J7jrT002370@cvs.devel.redhat.com> Author: pnasrat Update of /cvs/dist/rpms/yum/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv2332 Added Files: yum-2.4-tsconsts.patch Log Message: backport ts constsants work yum-2.4-tsconsts.patch: callback.py | 19 +++++++++++----- cli.py | 3 +- repomd/packageObject.py | 3 +- yum/constants.py | 8 +++++++ yum/depsolve.py | 3 +- yum/transactioninfo.py | 54 +++++++++++++++++++----------------------------- 6 files changed, 49 insertions(+), 41 deletions(-) --- NEW FILE yum-2.4-tsconsts.patch --- --- yum-2.4.0/repomd/packageObject.py.tsconst 2005-10-04 15:03:54.000000000 -0400 +++ yum-2.4.0/repomd/packageObject.py 2005-10-04 15:04:06.000000000 -0400 @@ -421,7 +421,8 @@ e = reader.GetAttribute('epoch') v = reader.GetAttribute('ver') r = reader.GetAttribute('rel') - objlist.append((name, flag, (e, v, r))) + pre = reader.GetAttribte('pre') + objlist.append((name, flag, (e, v, r), pre)) ret = reader.Read() continue --- yum-2.4.0/callback.py.tsconst 2005-10-04 15:03:54.000000000 -0400 +++ yum-2.4.0/callback.py 2005-10-04 15:04:06.000000000 -0400 @@ -18,6 +18,7 @@ import rpm import os import sys +from yum.constants import * from i18n import _ @@ -33,12 +34,18 @@ self.marks = 27 self.filelog = None - self.myprocess = { 'updating': 'Updating', 'erasing': 'Erasing', - 'installing': 'Installing', 'obsoleted': 'Obsoleted', - 'obsoleting': 'Installing'} - self.mypostprocess = { 'updating': 'Updated', 'erasing': 'Erased', - 'installing': 'Installed', 'obsoleted': 'Obsoleted', - 'obsoleting': 'Installed'} + self.myprocess = { TS_UPDATE : 'Updating', + TS_ERASE: 'Erasing', + TS_INSTALL: 'Installing', + TS_TRUEINSTALL : 'Installing', + TS_OBSOLETED: 'Obsoleted', + TS_OBSOLETING: 'Installing'} + self.mypostprocess = { TS_UPDATE: 'Updated', + TS_ERASE: 'Erased', + TS_INSTALL: 'Installed', + TS_TRUEINSTALL: 'Installed', + TS_OBSOLETED: 'Obsoleted', + TS_OBSOLETING: 'Installed'} self.tsInfo = None # this needs to be set for anything else to work --- yum-2.4.0/yum/transactioninfo.py.tsconst 2005-10-04 15:03:54.000000000 -0400 +++ yum-2.4.0/yum/transactioninfo.py 2005-10-04 15:04:06.000000000 -0400 @@ -20,6 +20,8 @@ # remove the given txmbr and iterate to remove all those in depedent relationships # with the given txmbr. +from constants import * + class TransactionData: """Data Structure designed to hold information on a yum Transaction Set""" def __init__(self): @@ -151,28 +153,28 @@ self.depupdated = [] for txmbr in self.getMembers(): - if txmbr.output_state == 'updating': + if txmbr.output_state == TS_UPDATE: if txmbr.isDep: self.depupdated.append(txmbr) else: self.updated.append(txmbr) - elif txmbr.output_state == 'installing': + elif txmbr.output_state == TS_INSTALL or txmbr.output_state == TS_TRUEINSTALL: if txmbr.isDep: self.depinstalled.append(txmbr) else: self.installed.append(txmbr) - elif txmbr.output_state == 'erasing': + elif txmbr.output_state == TS_ERASE: if txmbr.isDep: self.depremoved.append(txmbr) else: self.removed.append(txmbr) - elif txmbr.output_state == 'obsoleted': + elif txmbr.output_state == TS_OBSOLETED: self.obsoleted.append(txmbr) - elif txmbr.output_state == 'obsoleting': + elif txmbr.output_state == TS_OBSOLETING: self.installed.append(txmbr) else: @@ -192,8 +194,8 @@ takes a packages object and returns a TransactionMember Object""" txmbr = TransactionMember(po) - txmbr.current_state = 'repo' - txmbr.output_state = 'installing' + txmbr.current_state = TS_AVAILABLE + txmbr.output_state = TS_INSTALL txmbr.ts_state = 'u' txmbr.reason = 'user' self.add(txmbr) @@ -204,8 +206,8 @@ takes a packages object and returns a TransactionMember Object""" txmbr = TransactionMember(po) - txmbr.current_state = 'repo' - txmbr.output_state = 'installing' + txmbr.current_state = TS_AVAILABLE + txmbr.output_state = TS_TRUEINSTALL txmbr.ts_state = 'i' txmbr.reason = 'user' self.add(txmbr) @@ -217,8 +219,8 @@ takes a packages object and returns a TransactionMember Object""" txmbr = TransactionMember(po) - txmbr.current_state = 'installed' - txmbr.output_state = 'erasing' + txmbr.current_state = TS_INSTALL + txmbr.output_state = TS_ERASE txmbr.ts_state = 'e' self.add(txmbr) return txmbr @@ -228,8 +230,8 @@ takes a packages object and returns a TransactionMember Object""" txmbr = TransactionMember(po) - txmbr.current_state = 'repo' - txmbr.output_state = 'updating' + txmbr.current_state = TS_AVAILABLE + txmbr.output_state = TS_UPDATE txmbr.ts_state = 'u' if oldpo: txmbr.relatedto.append((oldpo.pkgtup, 'updates')) @@ -241,8 +243,8 @@ takes a packages object and returns a TransactionMember Object""" txmbr = TransactionMember(po) - txmbr.current_state = 'repo' - txmbr.output_state = 'obsoleting' + txmbr.current_state = TS_AVAILABLE + txmbr.output_state = TS_OBSOLETING txmbr.ts_state = 'u' txmbr.relatedto.append((oldpo, 'obsoletes')) self.add(txmbr) @@ -253,8 +255,8 @@ takes a packages object and returns a TransactionMember Object""" txmbr = TransactionMember(po) - txmbr.current_state = 'installed' - txmbr.output_state = 'obsoleted' + txmbr.current_state = TS_INSTALL + txmbr.output_state = TS_OBSOLETED txmbr.ts_state = None txmbr.relatedto.append((obsoleting_po, 'obsoletedby')) self.add(txmbr) @@ -310,20 +312,8 @@ # and any related packages. A world of fun that will be, you betcha - # things to define: - # types of relationships - # types of reasons - # ts, current and output states - - # output states are: - # update, install, remove, obsoleted - + # definitions + # current and output states are defined in constants + # relationships are defined in constants # ts states are: u, i, e - # current_states are: - # installed, repo - - #relationships: - # obsoletedby, updates, obsoletes, updatedby, - # dependencyof, dependson - --- yum-2.4.0/yum/constants.py.tsconst 2005-10-04 15:03:54.000000000 -0400 +++ yum-2.4.0/yum/constants.py 2005-10-04 15:04:06.000000000 -0400 @@ -21,7 +21,15 @@ TS_ERASE = 40 TS_OBSOLETED = 50 TS_OBSOLETING = 60 +TS_AVAILABLE = 70 +# Transaction Relationships +TR_UPDATES = 1 +TR_UPDATEDBY = 2 +TR_OBSOLETES = 3 +TR_OBSOLETEDBY = 4 +TR_DEPENDS = 5 +TR_DEPENDSON = 6 # package object file types PO_FILE = 1 --- yum-2.4.0/yum/depsolve.py.tsconst 2005-10-04 15:03:54.000000000 -0400 +++ yum-2.4.0/yum/depsolve.py 2005-10-04 15:04:06.000000000 -0400 @@ -28,6 +28,7 @@ from repomd.packageSack import ListPackageSack from repomd.mdErrors import PackageSackError from Errors import DepError, RepoError +from constants import * import packages class Depsolve: @@ -176,7 +177,7 @@ if self.allowedMultipleInstalls(txmbr.po): self.log(5, '%s converted to install' % (txmbr.po)) txmbr.ts_state = 'i' - txmbr.output_state = 'installing' + txmbr.output_state = TS_INSTALL self.ts.addInstall(hdr, (hdr, rpmfile), txmbr.ts_state) --- yum-2.4.0/cli.py.tsconst 2005-10-04 15:03:54.000000000 -0400 +++ yum-2.4.0/cli.py 2005-10-04 15:04:06.000000000 -0400 @@ -29,6 +29,7 @@ import output import shell import yum +from yum.constants import * import yum.Errors import yum.misc import rpmUtils.arch @@ -965,7 +966,7 @@ for (new, old) in updates: txmbrs = self.tsInfo.getMembers(pkgtup=old) - if txmbrs and txmbrs[0].output_state == 'obsoleted': + if txmbrs and txmbrs[0].output_state == TS_OBSOLETED: self.log(5, 'Not Updating Package that is already obsoleted: %s.%s %s:%s-%s' % old) else: updating_pkg = self.getPackageObject(new) From fedora-cvs-commits at redhat.com Tue Oct 4 19:16:36 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 15:16:36 -0400 Subject: rpms/netdump/devel .cvsignore, 1.16, 1.17 netdump.spec, 1.18, 1.19 sources, 1.16, 1.17 Message-ID: <200510041916.j94JGa8U012928@cvs.devel.redhat.com> Author: anderson Update of /cvs/dist/rpms/netdump/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv12682 Modified Files: .cvsignore netdump.spec sources Log Message: - Fix for a redundant data structure declaration for the ia64 build. - Cleaned up numerous compiler warnings first seen in fedora build. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/netdump/devel/.cvsignore,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- .cvsignore 4 Oct 2005 18:04:49 -0000 1.16 +++ .cvsignore 4 Oct 2005 19:16:34 -0000 1.17 @@ -1,3 +1,4 @@ netdump-0.7.10.tar.gz netdump-0.7.11.tar.gz netdump-0.7.12.tar.gz +netdump-0.7.14.tar.gz Index: netdump.spec =================================================================== RCS file: /cvs/dist/rpms/netdump/devel/netdump.spec,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- netdump.spec 4 Oct 2005 18:04:50 -0000 1.18 +++ netdump.spec 4 Oct 2005 19:16:34 -0000 1.19 @@ -1,6 +1,6 @@ Summary: Client setup for network kernel message logging and crash dumps Name: netdump -Version: 0.7.12 +Version: 0.7.14 Release: 1 Source0: %{name}-%{version}.tar.gz License: GPL @@ -95,6 +95,9 @@ %doc example_scripts %changelog +* Tue Oct 4 2005 Dave Anderson 0.7.14-1 +- Fix for a redundant data structure declaration for the ia64 build. +- Cleaned up numerous compiler warnings. * Tue Oct 4 2005 Dave Anderson 0.7.12-1 - Close vmcore before netdump-reboot script is run, allowing unimpeded usage of the file by a custom script. (BZ #165100) Index: sources =================================================================== RCS file: /cvs/dist/rpms/netdump/devel/sources,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- sources 4 Oct 2005 18:04:50 -0000 1.16 +++ sources 4 Oct 2005 19:16:34 -0000 1.17 @@ -1 +1 @@ -8b12578c63166fb942044748b3d41852 netdump-0.7.12.tar.gz +94cbecb0b9b232ac7e905e472753c279 netdump-0.7.14.tar.gz From fedora-cvs-commits at redhat.com Tue Oct 4 19:25:41 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 15:25:41 -0400 Subject: rpms/gnbd-kernel/FC-4 gnbd-kernel.spec,1.89,1.90 Message-ID: <200510041925.j94JPfPm008888@cvs.devel.redhat.com> Author: cfeist Update of /cvs/dist/rpms/gnbd-kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv8875 Modified Files: gnbd-kernel.spec Log Message: Build using /usr/src/kernels.. Index: gnbd-kernel.spec =================================================================== RCS file: /cvs/dist/rpms/gnbd-kernel/FC-4/gnbd-kernel.spec,v retrieving revision 1.89 retrieving revision 1.90 diff -u -r1.89 -r1.90 --- gnbd-kernel.spec 4 Oct 2005 16:29:59 -0000 1.89 +++ gnbd-kernel.spec 4 Oct 2005 19:25:39 -0000 1.90 @@ -25,7 +25,7 @@ Name: gnbd-kernel Version: 2.6.11.2 -Release: %{subversion}.47 +Release: %{subversion}.48 License: GPL Group: System Environment/Kernel Summary: gnbd-kernel - The kernel module for GFS's Network Block Device @@ -109,7 +109,7 @@ Build_gnbd(){ cpu_type=$1 flavor=$2 - kernel_src=/lib/modules/%{kernel_version}$flavor/build + kernel_src=/usr/src/kernels/%{kernel_version}-$flavor-$cpu_type/ # Kernel tree setup if [ -d $kernel_src/. ]; then echo "Kernel %{kernel_version} found." From fedora-cvs-commits at redhat.com Tue Oct 4 19:30:54 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 15:30:54 -0400 Subject: rpms/gnbd-kernel/FC-4 gnbd-kernel.spec,1.90,1.91 Message-ID: <200510041930.j94JUsxR008974@cvs.devel.redhat.com> Author: cfeist Update of /cvs/dist/rpms/gnbd-kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv8962 Modified Files: gnbd-kernel.spec Log Message: Fix flavor for up builds in /usr/src/kernels. Index: gnbd-kernel.spec =================================================================== RCS file: /cvs/dist/rpms/gnbd-kernel/FC-4/gnbd-kernel.spec,v retrieving revision 1.90 retrieving revision 1.91 diff -u -r1.90 -r1.91 --- gnbd-kernel.spec 4 Oct 2005 19:25:39 -0000 1.90 +++ gnbd-kernel.spec 4 Oct 2005 19:30:38 -0000 1.91 @@ -25,7 +25,7 @@ Name: gnbd-kernel Version: 2.6.11.2 -Release: %{subversion}.48 +Release: %{subversion}.49 License: GPL Group: System Environment/Kernel Summary: gnbd-kernel - The kernel module for GFS's Network Block Device @@ -109,7 +109,12 @@ Build_gnbd(){ cpu_type=$1 flavor=$2 - kernel_src=/usr/src/kernels/%{kernel_version}-$flavor-$cpu_type/ + if "[$flavor" == ""]; then + kernel_src=/usr/src/kernels/%{kernel_version}-$cpu_type/ + else + kernel_src=/usr/src/kernels/%{kernel_version}-$flavor-$cpu_type/ + fi + # Kernel tree setup if [ -d $kernel_src/. ]; then echo "Kernel %{kernel_version} found." From fedora-cvs-commits at redhat.com Tue Oct 4 19:37:40 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 15:37:40 -0400 Subject: rpms/postgresql/devel postgresql-perl-rpath.patch, NONE, 1.1 postgresql.pam, NONE, 1.1 .cvsignore, 1.23, 1.24 pgtcl-no-rpath.patch, 1.1, 1.2 postgresql.spec, 1.50, 1.51 sources, 1.24, 1.25 Message-ID: <200510041937.j94Jbeq4009259@cvs.devel.redhat.com> Author: tgl Update of /cvs/dist/rpms/postgresql/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv9241 Modified Files: .cvsignore pgtcl-no-rpath.patch postgresql.spec sources Added Files: postgresql-perl-rpath.patch postgresql.pam Log Message: Update to PostgreSQL 8.0.4, fix several minor packaging problems. postgresql-perl-rpath.patch: GNUmakefile | 3 +++ 1 files changed, 3 insertions(+) --- NEW FILE postgresql-perl-rpath.patch --- We configure Postgres with --disable-rpath because for the most part we want to leave it to ldconfig to determine where libraries are. However, for some reason the Perl package puts libperl.so in a nonstandard place and doesn't add that place to the ldconfig search path. I think this is a Perl packaging bug, myself, but apparently it's not going to change. So work around it by adding an rpath spec to plperl.so (only). Per bug #162198. diff -Naur postgresql-8.0.4.orig/src/pl/plperl/GNUmakefile postgresql-8.0.4/src/pl/plperl/GNUmakefile --- postgresql-8.0.4.orig/src/pl/plperl/GNUmakefile 2005-07-17 00:05:49.000000000 -0400 +++ postgresql-8.0.4/src/pl/plperl/GNUmakefile 2005-10-04 12:15:27.000000000 -0400 @@ -27,6 +27,9 @@ rpathdir = $(perl_archlibexp)/CORE +# Force rpath to be used even though we disable it everywhere else +LDFLAGS += $(rpath) + NAME = plperl SO_MAJOR_VERSION = 0 --- NEW FILE postgresql.pam --- #%PAM-1.0 auth required pam_stack.so service=system-auth Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/postgresql/devel/.cvsignore,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- .cvsignore 10 May 2005 15:34:35 -0000 1.23 +++ .cvsignore 4 Oct 2005 19:37:36 -0000 1.24 @@ -1,8 +1,8 @@ -postgresql-8.0.3.tar.bz2 -PyGreSQL-3.6.1.tgz +postgresql-8.0.4.tar.bz2 +PyGreSQL-3.6.2.tgz pgtcl1.5.2.tar.gz pgtcldocs-20041108.zip -postgresql-8.0-311.jdbc2.jar -postgresql-8.0-311.jdbc2ee.jar -postgresql-8.0-311.jdbc3.jar +postgresql-8.0-312.jdbc2.jar +postgresql-8.0-312.jdbc2ee.jar +postgresql-8.0-312.jdbc3.jar postgresql-8.0-US.pdf pgtcl-no-rpath.patch: Makefile.in | 2 +- aclocal.m4 | 25 +------------------------ 2 files changed, 2 insertions(+), 25 deletions(-) Index: pgtcl-no-rpath.patch =================================================================== RCS file: /cvs/dist/rpms/postgresql/devel/pgtcl-no-rpath.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- pgtcl-no-rpath.patch 11 Mar 2005 23:54:09 -0000 1.1 +++ pgtcl-no-rpath.patch 4 Oct 2005 19:37:36 -0000 1.2 @@ -7,6 +7,13 @@ doesn't like them; not worth fixing properly since they won't be invoked on our systems anyway. +Finally, tweak Makefile.in to ensure that the -L switch for libpq appears +before any -L for the Tcl libraries during the link. This prevents the +generated library from being bound to the wrong version of libpq when +building on a machine that has an older version of libpq already installed +(bug #166665). + + diff -Naur Pgtcl.orig/aclocal.m4 Pgtcl/aclocal.m4 --- Pgtcl.orig/aclocal.m4 2004-02-15 15:15:37.000000000 -0500 +++ Pgtcl/aclocal.m4 2005-03-11 18:26:44.610459295 -0500 @@ -61,3 +68,17 @@ ;; GNU*) SHLIB_CFLAGS="-fPIC" + + +diff -Naur Pgtcl.orig/Makefile.in Pgtcl/Makefile.in +--- Pgtcl.orig/Makefile.in 2004-06-13 17:49:14.000000000 -0400 ++++ Pgtcl/Makefile.in 2005-10-04 14:23:37.000000000 -0400 +@@ -121,7 +121,7 @@ + SHLIB_LD = @SHLIB_LD@ + SHLIB_LDFLAGS = @SHLIB_LDFLAGS@ + # Added EXTRA_LIBS for special cases like -lssl +-SHLIB_LD_LIBS = @SHLIB_LD_LIBS@ $(PG_LIBS) $(TCL_LIBS) @EXTRA_LIBS@ ++SHLIB_LD_LIBS = $(PG_LIBS) @SHLIB_LD_LIBS@ $(TCL_LIBS) @EXTRA_LIBS@ + STLIB_LD = @STLIB_LD@ + TCL_DEFS = @TCL_DEFS@ + TCL_BIN_DIR = @TCL_BIN_DIR@ Index: postgresql.spec =================================================================== RCS file: /cvs/dist/rpms/postgresql/devel/postgresql.spec,v retrieving revision 1.50 retrieving revision 1.51 diff -u -r1.50 -r1.51 --- postgresql.spec 10 May 2005 15:34:35 -0000 1.50 +++ postgresql.spec 4 Oct 2005 19:37:36 -0000 1.51 @@ -32,17 +32,17 @@ %{!?kerberos:%define kerberos 1} %{!?nls:%define nls 1} %{!?pam:%define pam 1} +%{!?xml:%define xml 1} %{!?pgfts:%define pgfts 1} %{!?runselftest:%define runselftest 1} # Python major version. %{expand: %%define pyver %(python -c 'import sys;print(sys.version[0:3])')} -%{expand: %%define pynextver %(python -c 'import sys;print(float(sys.version[0:3])+0.1)')} Summary: PostgreSQL client programs and libraries. Name: postgresql -Version: 8.0.3 +Version: 8.0.4 # Conventions for PostgreSQL Global Development Group RPM releases: @@ -71,13 +71,14 @@ Source3: postgresql.init Source4: Makefile.regress Source6: README.rpm-dist -Source8: http://jdbc.postgresql.org/download/postgresql-8.0-311.jdbc2.jar -Source9: http://jdbc.postgresql.org/download/postgresql-8.0-311.jdbc2ee.jar -Source10: http://jdbc.postgresql.org/download/postgresql-8.0-311.jdbc3.jar +Source8: http://jdbc.postgresql.org/download/postgresql-8.0-312.jdbc2.jar +Source9: http://jdbc.postgresql.org/download/postgresql-8.0-312.jdbc2ee.jar +Source10: http://jdbc.postgresql.org/download/postgresql-8.0-312.jdbc3.jar +Source14: postgresql.pam Source15: postgresql-bashprofile Source16: filter-requires-perl-Pg.sh Source17: postgresql-8.0-US.pdf -Source18: ftp://ftp.druid.net/pub/distrib/PyGreSQL-3.6.1.tgz +Source18: ftp://ftp.druid.net/pub/distrib/PyGreSQL-3.6.2.tgz Source19: ftp://gborg.postgresql.org/pub/pgtclng/stable/pgtcl1.5.2.tar.gz Source20: ftp://gborg.postgresql.org/pub/pgtclng/stable/pgtcldocs-20041108.zip Patch1: rpm-pgsql.patch @@ -85,6 +86,7 @@ Patch3: postgresql-logging.patch Patch4: postgresql-test.patch Patch5: pgtcl-no-rpath.patch +Patch6: postgresql-perl-rpath.patch Buildrequires: perl glibc-devel bison flex Prereq: /sbin/ldconfig initscripts %if %python @@ -108,12 +110,14 @@ %if %nls BuildPrereq: gettext >= 0.10.35 %endif - %if %pam %if %non6xpamdeps BuildPrereq: pam-devel %endif %endif +%if %xml +BuildPrereq: libxml2-devel +%endif Url: http://www.postgresql.org/ @@ -280,7 +284,6 @@ Group: Applications/Databases Requires: libpq.so Requires: python mx -Conflicts: python < %pyver, python >= %pynextver Obsoletes: rh-postgresql-python %description python @@ -330,6 +333,8 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +# patch5 is applied later +%patch6 -p1 #call autoconf 2.53 or greater %aconfver @@ -410,6 +415,9 @@ make %{?_smp_mflags} all make %{?_smp_mflags} -C contrib all +%if %xml +make %{?_smp_mflags} -C contrib/xml2 all +%endif # Have to hack makefile to put correct path into tutorial scripts sed "s|C=\`pwd\`;|C=%{_libdir}/pgsql/tutorial;|" < src/tutorial/Makefile > src/tutorial/GNUmakefile @@ -461,6 +469,9 @@ make DESTDIR=$RPM_BUILD_ROOT install make -C contrib DESTDIR=$RPM_BUILD_ROOT install +%if %xml +make -C contrib/xml2 DESTDIR=$RPM_BUILD_ROOT install +%endif install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial cp src/tutorial/* $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial @@ -495,6 +506,14 @@ install -m 755 postgresql.init $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql fi +%if %pam +if [ -d /etc/pam.d ] +then + install -d $RPM_BUILD_ROOT/etc/pam.d + install -m 644 %{SOURCE14} $RPM_BUILD_ROOT/etc/pam.d/postgresql +fi +%endif + # Remove stuff we don't want to ship. rm -f $RPM_BUILD_ROOT%{_bindir}/findoidjoins rm -f $RPM_BUILD_ROOT%{_bindir}/make_oidjoins_check @@ -684,6 +703,9 @@ %{_libdir}/pgsql/tsearch.so %{_libdir}/pgsql/tsearch2.so %{_libdir}/pgsql/user_locks.so +%if %xml +%{_libdir}/pgsql/pgxml.so +%endif %{_datadir}/pgsql/contrib/ %{_bindir}/DBMirror.pl %{_bindir}/clean_pending.pl @@ -708,6 +730,9 @@ %files server -f server.lst %defattr(-,root,root) /etc/rc.d/init.d/postgresql +%if %pam +/etc/pam.d/postgresql +%endif %attr (755,root,root) %dir /etc/sysconfig/pgsql %{_bindir}/initdb %{_bindir}/ipcclean @@ -804,6 +829,14 @@ %endif %changelog +* Tue Oct 4 2005 Tom Lane 8.0.4-1 +- Update to PostgreSQL 8.0.4, PyGreSQL 3.6.2, and jdbc driver build 312 +- Add rpath to plperl.so (bug #162198) +- Adjust pgtcl link command to ensure it binds to correct libpq (bug #166665) +- Remove obsolete Conflicts: against other python versions (bug #166754) +- Add /etc/pam.d/postgresql (bug #167040) +- Include contrib/xml2 in build (bug #167492) + * Tue May 10 2005 Tom Lane 8.0.3-1 - Update to PostgreSQL 8.0.3 (includes security and data-loss fixes; see bz#156727, CAN-2005-1409, CAN-2005-1410) Index: sources =================================================================== RCS file: /cvs/dist/rpms/postgresql/devel/sources,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- sources 10 May 2005 15:34:35 -0000 1.24 +++ sources 4 Oct 2005 19:37:36 -0000 1.25 @@ -1,8 +1,8 @@ -c0914a133ce6c1e0f1d8b93982d6e881 postgresql-8.0.3.tar.bz2 -057c2d93f333ff2ed2177a8b87e19c0c PyGreSQL-3.6.1.tgz +381bd337cf703220aafdf1ee24dae78d postgresql-8.0.4.tar.bz2 +1f2694ea546c852c5a0ba2b17f7c5ce1 PyGreSQL-3.6.2.tgz d19dfdcb54c334495d32456a043e0232 pgtcl1.5.2.tar.gz 3d504b46231914d61fd49175f67e8715 pgtcldocs-20041108.zip -5d5d0d8e97ea3d117380068131b136ac postgresql-8.0-311.jdbc2.jar -c4d7009a4baaf06858a2923066ba2529 postgresql-8.0-311.jdbc2ee.jar -0ae011c390d94566326c61aad3ad9b6a postgresql-8.0-311.jdbc3.jar +e51763911fe5ccec81bf4201f25e3f53 postgresql-8.0-312.jdbc2.jar +ebb4384c3d116482c8ed438ac96461fc postgresql-8.0-312.jdbc2ee.jar +41bcf06cdf7a3c84efd2fdd894303b24 postgresql-8.0-312.jdbc3.jar 2edd229aa83105175a1212a001dd030a postgresql-8.0-US.pdf From fedora-cvs-commits at redhat.com Tue Oct 4 19:42:06 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 15:42:06 -0400 Subject: rpms/gnbd-kernel/FC-4 gnbd-kernel.spec,1.91,1.92 Message-ID: <200510041942.j94Jg6SW009368@cvs.devel.redhat.com> Author: cfeist Update of /cvs/dist/rpms/gnbd-kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv9355 Modified Files: gnbd-kernel.spec Log Message: Don't use /usr/src/kernels. Index: gnbd-kernel.spec =================================================================== RCS file: /cvs/dist/rpms/gnbd-kernel/FC-4/gnbd-kernel.spec,v retrieving revision 1.91 retrieving revision 1.92 diff -u -r1.91 -r1.92 --- gnbd-kernel.spec 4 Oct 2005 19:30:38 -0000 1.91 +++ gnbd-kernel.spec 4 Oct 2005 19:42:04 -0000 1.92 @@ -25,7 +25,7 @@ Name: gnbd-kernel Version: 2.6.11.2 -Release: %{subversion}.49 +Release: %{subversion}.50 License: GPL Group: System Environment/Kernel Summary: gnbd-kernel - The kernel module for GFS's Network Block Device @@ -109,12 +109,7 @@ Build_gnbd(){ cpu_type=$1 flavor=$2 - if "[$flavor" == ""]; then - kernel_src=/usr/src/kernels/%{kernel_version}-$cpu_type/ - else - kernel_src=/usr/src/kernels/%{kernel_version}-$flavor-$cpu_type/ - fi - + kernel_src=/lib/modules/%{kernel_version}$flavor/build # Kernel tree setup if [ -d $kernel_src/. ]; then echo "Kernel %{kernel_version} found." From fedora-cvs-commits at redhat.com Tue Oct 4 19:47:21 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 15:47:21 -0400 Subject: rpms/kernel/FC-4/configs config-generic, 1.37, 1.37.2.1 config-ia64-generic, 1.4, 1.4.4.1 config-x86-generic, 1.11, 1.11.4.1 config-x86_64-generic, 1.11, 1.11.4.1 Message-ID: <200510041947.j94JlLs8016099@cvs.devel.redhat.com> Author: linville Update of /cvs/dist/rpms/kernel/FC-4/configs In directory cvs.devel.redhat.com:/tmp/cvs-serv16053/configs Modified Files: Tag: private-linville-jwltest-fc4-19-branch config-generic config-ia64-generic config-x86-generic config-x86_64-generic Log Message: Index: config-generic =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/configs/config-generic,v retrieving revision 1.37 retrieving revision 1.37.2.1 diff -u -r1.37 -r1.37.2.1 --- config-generic 2 Oct 2005 21:15:02 -0000 1.37 +++ config-generic 4 Oct 2005 19:47:19 -0000 1.37.2.1 @@ -1407,7 +1407,7 @@ CONFIG_STALDRV=y # CONFIG_FTAPE is not set # CONFIG_IBM_ASM is not set -# CONFIG_TCG_TPM is not set +CONFIG_TCG_TPM=m CONFIG_TCG_NSC=m CONFIG_TCG_ATMEL=m CONFIG_TCG_INFINEON=m Index: config-ia64-generic =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/configs/config-ia64-generic,v retrieving revision 1.4 retrieving revision 1.4.4.1 diff -u -r1.4 -r1.4.4.1 --- config-ia64-generic 29 Sep 2005 23:07:41 -0000 1.4 +++ config-ia64-generic 4 Oct 2005 19:47:19 -0000 1.4.4.1 @@ -124,6 +124,7 @@ CONFIG_ACPI_SYSTEM=y CONFIG_ACPI_NUMA=y CONFIG_ACPI_BLACKLIST_YEAR=2001 +CONFIG_ACPI_INITRD=y CONFIG_SERIAL_SGI_L1_CONSOLE=y CONFIG_PM=y CONFIG_HOTPLUG_PCI=y Index: config-x86-generic =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/configs/config-x86-generic,v retrieving revision 1.11 retrieving revision 1.11.4.1 diff -u -r1.11 -r1.11.4.1 --- config-x86-generic 29 Sep 2005 23:07:41 -0000 1.11 +++ config-x86-generic 4 Oct 2005 19:47:19 -0000 1.11.4.1 @@ -148,6 +148,7 @@ CONFIG_ACPI_BLACKLIST_YEAR=2001 CONFIG_ACPI_VIDEO=m CONFIG_ACPI_IBM=m +CONFIG_ACPI_INITRD=y CONFIG_PNPACPI=y # Index: config-x86_64-generic =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/configs/config-x86_64-generic,v retrieving revision 1.11 retrieving revision 1.11.4.1 diff -u -r1.11 -r1.11.4.1 --- config-x86_64-generic 29 Sep 2005 23:07:41 -0000 1.11 +++ config-x86_64-generic 4 Oct 2005 19:47:19 -0000 1.11.4.1 @@ -79,6 +79,7 @@ CONFIG_ACPI_BLACKLIST_YEAR=2001 CONFIG_ACPI_VIDEO=m CONFIG_ACPI_IBM=m +CONFIG_ACPI_INITRD=y CONFIG_CRASH=m From fedora-cvs-commits at redhat.com Tue Oct 4 19:47:21 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 4 Oct 2005 15:47:21 -0400 Subject: rpms/kernel/FC-4 jwltest-3c59x-mmio.patch, NONE, 1.1.8.1 jwltest-3c59x-resume-debug.patch, NONE, 1.1.18.1 jwltest-3c59x-resume.patch, NONE, 1.1.20.1 jwltest-8139too-resume.patch, NONE, 1.1.2.1 jwltest-acpi-dsdt-initrd.patch, NONE, 1.1.26.1 jwltest-ipw2100-1_1_0.patch, NONE, 1.1.30.1 jwltest-libata-atapi.patch, NONE, 1.1.10.1 jwltest-pci-d3hot-d0.patch, NONE, 1.1.16.1 jwltest-sundance-fixes.patch, NONE, 1.1.6.1 jwltest-sundance-icplus.patch, NONE, 1.1.10.1 kernel-2.6.spec, 1.1468, 1.1468.2.1 Message-ID: <200510041947.j94JlLH0016079@cvs.devel.redhat.com> Author: linville Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv16053 Modified Files: Tag: private-linville-jwltest-fc4-19-branch kernel-2.6.spec Added Files: Tag: private-linville-jwltest-fc4-19-branch jwltest-3c59x-mmio.patch jwltest-3c59x-resume-debug.patch jwltest-3c59x-resume.patch jwltest-8139too-resume.patch jwltest-acpi-dsdt-initrd.patch jwltest-ipw2100-1_1_0.patch jwltest-libata-atapi.patch jwltest-pci-d3hot-d0.patch jwltest-sundance-fixes.patch jwltest-sundance-icplus.patch Log Message: jwltest-3c59x-mmio.patch: 3c59x.c | 516 +++++++++++++++++++++++++++++++++------------------------------- 1 files changed, 268 insertions(+), 248 deletions(-) --- NEW FILE jwltest-3c59x-mmio.patch --- --- linux-2.6.12/drivers/net/3c59x.c.orig 2005-06-17 15:48:29.000000000 -0400 +++ linux-2.6.12/drivers/net/3c59x.c 2005-09-01 14:42:34.827084226 -0400 @@ -602,7 +602,7 @@ MODULE_DEVICE_TABLE(pci, vortex_pci_tbl) First the windows. There are eight register windows, with the command and status registers available in each. */ -#define EL3WINDOW(win_num) outw(SelectWindow + (win_num), ioaddr + EL3_CMD) +#define EL3WINDOW(win_num) iowrite16(SelectWindow + (win_num), ioaddr + EL3_CMD) #define EL3_CMD 0x0e #define EL3_STATUS 0x0e @@ -776,7 +776,8 @@ struct vortex_private { /* PCI configuration space information. */ struct device *gendev; - char __iomem *cb_fn_base; /* CardBus function status addr space. */ + void __iomem *ioaddr; /* IO address space */ + void __iomem *cb_fn_base; /* CardBus function status addr space. */ /* Some values here only for performance evaluation and path-coverage */ int rx_nocopy, rx_copy, queued_packet, rx_csumhits; @@ -869,12 +870,12 @@ static struct { /* number of ETHTOOL_GSTATS u64's */ #define VORTEX_NUM_STATS 3 -static int vortex_probe1(struct device *gendev, long ioaddr, int irq, +static int vortex_probe1(struct device *gendev, void __iomem *ioaddr, int irq, int chip_idx, int card_idx); static void vortex_up(struct net_device *dev); static void vortex_down(struct net_device *dev, int final); static int vortex_open(struct net_device *dev); -static void mdio_sync(long ioaddr, int bits); +static void mdio_sync(void __iomem *ioaddr, int bits); static int mdio_read(struct net_device *dev, int phy_id, int location); static void mdio_write(struct net_device *vp, int phy_id, int location, int value); static void vortex_timer(unsigned long arg); @@ -887,7 +888,7 @@ static irqreturn_t vortex_interrupt(int static irqreturn_t boomerang_interrupt(int irq, void *dev_id, struct pt_regs *regs); static int vortex_close(struct net_device *dev); static void dump_tx_ring(struct net_device *dev); -static void update_stats(long ioaddr, struct net_device *dev); +static void update_stats(void __iomem *ioaddr, struct net_device *dev); static struct net_device_stats *vortex_get_stats(struct net_device *dev); static void set_rx_mode(struct net_device *dev); #ifdef CONFIG_PCI @@ -917,6 +918,9 @@ static int global_enable_wol = -1; static int compaq_ioaddr, compaq_irq, compaq_device_id = 0x5900; static struct net_device *compaq_net_device; +/* Flag to enable use of memory-mapped PCI I/O resource */ +static int use_mmio; + static int vortex_cards_found; module_param(debug, int, 0); @@ -934,6 +938,7 @@ module_param(compaq_ioaddr, int, 0); module_param(compaq_irq, int, 0); module_param(compaq_device_id, int, 0); module_param(watchdog, int, 0); +module_param(use_mmio, int, 0); MODULE_PARM_DESC(debug, "3c59x debug level (0-6)"); MODULE_PARM_DESC(options, "3c59x: Bits 0-3: media type, bit 4: bus mastering, bit 9: full duplex"); MODULE_PARM_DESC(global_options, "3c59x: same as options, but applies to all NICs if options is unset"); @@ -949,6 +954,7 @@ MODULE_PARM_DESC(compaq_ioaddr, "3c59x P MODULE_PARM_DESC(compaq_irq, "3c59x PCI IRQ number (Compaq BIOS problem workaround)"); MODULE_PARM_DESC(compaq_device_id, "3c59x PCI device ID (Compaq BIOS problem workaround)"); MODULE_PARM_DESC(watchdog, "3c59x transmit timeout in milliseconds"); +MODULE_PARM_DESC(use_mmio, "3c59x: use memory-mapped PCI I/O resource"); #ifdef CONFIG_NET_POLL_CONTROLLER static void poll_vortex(struct net_device *dev) @@ -1013,18 +1019,19 @@ static struct eisa_driver vortex_eisa_dr static int vortex_eisa_probe (struct device *device) { - long ioaddr; + void __iomem *ioaddr; struct eisa_device *edev; edev = to_eisa_device (device); - ioaddr = edev->base_addr; - if (!request_region(ioaddr, VORTEX_TOTAL_SIZE, DRV_NAME)) + if (!request_region(edev->base_addr, VORTEX_TOTAL_SIZE, DRV_NAME)) return -EBUSY; - if (vortex_probe1(device, ioaddr, inw(ioaddr + 0xC88) >> 12, + ioaddr = ioport_map(edev->base_addr, VORTEX_TOTAL_SIZE); + + if (vortex_probe1(device, ioaddr, ioread16(ioaddr + 0xC88) >> 12, edev->id.driver_data, vortex_cards_found)) { - release_region (ioaddr, VORTEX_TOTAL_SIZE); + release_region (edev->base_addr, VORTEX_TOTAL_SIZE); return -ENODEV; } @@ -1038,7 +1045,7 @@ static int vortex_eisa_remove (struct de struct eisa_device *edev; struct net_device *dev; struct vortex_private *vp; - long ioaddr; + void __iomem *ioaddr; edev = to_eisa_device (device); dev = eisa_get_drvdata (edev); @@ -1049,11 +1056,11 @@ static int vortex_eisa_remove (struct de } vp = netdev_priv(dev); - ioaddr = dev->base_addr; + ioaddr = vp->ioaddr; unregister_netdev (dev); - outw (TotalReset|0x14, ioaddr + EL3_CMD); - release_region (ioaddr, VORTEX_TOTAL_SIZE); + iowrite16 (TotalReset|0x14, ioaddr + EL3_CMD); + release_region (dev->base_addr, VORTEX_TOTAL_SIZE); free_netdev (dev); return 0; @@ -1080,8 +1087,8 @@ static int __init vortex_eisa_init (void /* Special code to work-around the Compaq PCI BIOS32 problem. */ if (compaq_ioaddr) { - vortex_probe1(NULL, compaq_ioaddr, compaq_irq, - compaq_device_id, vortex_cards_found++); + vortex_probe1(NULL, ioport_map(compaq_ioaddr, VORTEX_TOTAL_SIZE), + compaq_irq, compaq_device_id, vortex_cards_found++); } return vortex_cards_found - orig_cards_found + eisa_found; @@ -1091,15 +1098,17 @@ static int __init vortex_eisa_init (void static int __devinit vortex_init_one (struct pci_dev *pdev, const struct pci_device_id *ent) { - int rc; + int rc, pci_bar; /* wake up and enable device */ rc = pci_enable_device (pdev); if (rc < 0) goto out; - rc = vortex_probe1 (&pdev->dev, pci_resource_start (pdev, 0), - pdev->irq, ent->driver_data, vortex_cards_found); + pci_bar = use_mmio ? 1 : 0; + + rc = vortex_probe1 (&pdev->dev, pci_iomap(pdev, pci_bar, 0), + pdev->irq, ent->driver_data, vortex_cards_found); if (rc < 0) { pci_disable_device (pdev); goto out; @@ -1118,7 +1127,7 @@ out: * NOTE: pdev can be NULL, for the case of a Compaq device */ static int __devinit vortex_probe1(struct device *gendev, - long ioaddr, int irq, + void __iomem *ioaddr, int irq, int chip_idx, int card_idx) { struct vortex_private *vp; @@ -1186,15 +1195,16 @@ static int __devinit vortex_probe1(struc if (print_info) printk (KERN_INFO "See Documentation/networking/vortex.txt\n"); - printk(KERN_INFO "%s: 3Com %s %s at 0x%lx. Vers " DRV_VERSION "\n", + printk(KERN_INFO "%s: 3Com %s %s at %p. Vers " DRV_VERSION "\n", print_name, pdev ? "PCI" : "EISA", vci->name, ioaddr); - dev->base_addr = ioaddr; + dev->base_addr = (unsigned long)ioaddr; dev->irq = irq; dev->mtu = mtu; + vp->ioaddr = ioaddr; vp->large_frames = mtu > 1500; vp->drv_flags = vci->drv_flags; vp->has_nway = (vci->drv_flags & HAS_NWAY) ? 1 : 0; @@ -1210,7 +1220,7 @@ static int __devinit vortex_probe1(struc if (pdev) { /* EISA resources already marked, so only PCI needs to do this here */ /* Ignore return value, because Cardbus drivers already allocate for us */ - if (request_region(ioaddr, vci->io_size, print_name) != NULL) + if (request_region(dev->base_addr, vci->io_size, print_name) != NULL) vp->must_free_region = 1; /* enable bus-mastering if necessary */ @@ -1300,14 +1310,14 @@ static int __devinit vortex_probe1(struc for (i = 0; i < 0x40; i++) { int timer; - outw(base + i, ioaddr + Wn0EepromCmd); + iowrite16(base + i, ioaddr + Wn0EepromCmd); /* Pause for at least 162 us. for the read to take place. */ for (timer = 10; timer >= 0; timer--) { udelay(162); - if ((inw(ioaddr + Wn0EepromCmd) & 0x8000) == 0) + if ((ioread16(ioaddr + Wn0EepromCmd) & 0x8000) == 0) break; } - eeprom[i] = inw(ioaddr + Wn0EepromData); + eeprom[i] = ioread16(ioaddr + Wn0EepromData); } } for (i = 0; i < 0x18; i++) @@ -1335,7 +1345,7 @@ static int __devinit vortex_probe1(struc } EL3WINDOW(2); for (i = 0; i < 6; i++) - outb(dev->dev_addr[i], ioaddr + i); + iowrite8(dev->dev_addr[i], ioaddr + i); #ifdef __sparc__ if (print_info) @@ -1350,7 +1360,7 @@ static int __devinit vortex_probe1(struc #endif EL3WINDOW(4); - step = (inb(ioaddr + Wn4_NetDiag) & 0x1e) >> 1; + step = (ioread8(ioaddr + Wn4_NetDiag) & 0x1e) >> 1; if (print_info) { printk(KERN_INFO " product code %02x%02x rev %02x.%d date %02d-" "%02d-%02d\n", eeprom[6]&0xff, eeprom[6]>>8, eeprom[0x14], @@ -1359,31 +1369,30 @@ static int __devinit vortex_probe1(struc if (pdev && vci->drv_flags & HAS_CB_FNS) { - unsigned long fn_st_addr; /* Cardbus function status space */ unsigned short n; - fn_st_addr = pci_resource_start (pdev, 2); - if (fn_st_addr) { - vp->cb_fn_base = ioremap(fn_st_addr, 128); + vp->cb_fn_base = pci_iomap(pdev, 2, 0); + if (!vp->cb_fn_base) { retval = -ENOMEM; - if (!vp->cb_fn_base) - goto free_ring; + goto free_ring; } + if (print_info) { printk(KERN_INFO "%s: CardBus functions mapped %8.8lx->%p\n", - print_name, fn_st_addr, vp->cb_fn_base); + print_name, pci_resource_start(pdev, 2), + vp->cb_fn_base); } EL3WINDOW(2); - n = inw(ioaddr + Wn2_ResetOptions) & ~0x4010; + n = ioread16(ioaddr + Wn2_ResetOptions) & ~0x4010; if (vp->drv_flags & INVERT_LED_PWR) n |= 0x10; if (vp->drv_flags & INVERT_MII_PWR) n |= 0x4000; - outw(n, ioaddr + Wn2_ResetOptions); + iowrite16(n, ioaddr + Wn2_ResetOptions); if (vp->drv_flags & WNO_XCVR_PWR) { EL3WINDOW(0); - outw(0x0800, ioaddr); + iowrite16(0x0800, ioaddr); } } @@ -1402,13 +1411,13 @@ static int __devinit vortex_probe1(struc static const char * ram_split[] = {"5:3", "3:1", "1:1", "3:5"}; unsigned int config; EL3WINDOW(3); - vp->available_media = inw(ioaddr + Wn3_Options); + vp->available_media = ioread16(ioaddr + Wn3_Options); if ((vp->available_media & 0xff) == 0) /* Broken 3c916 */ vp->available_media = 0x40; - config = inl(ioaddr + Wn3_Config); + config = ioread32(ioaddr + Wn3_Config); if (print_info) { printk(KERN_DEBUG " Internal config register is %4.4x, " - "transceivers %#x.\n", config, inw(ioaddr + Wn3_Options)); + "transceivers %#x.\n", config, ioread16(ioaddr + Wn3_Options)); printk(KERN_INFO " %dK %s-wide RAM %s Rx:Tx split, %s%s interface.\n", 8 << RAM_SIZE(config), RAM_WIDTH(config) ? "word" : "byte", @@ -1539,7 +1548,7 @@ free_ring: vp->rx_ring_dma); free_region: if (vp->must_free_region) - release_region(ioaddr, vci->io_size); + release_region(dev->base_addr, vci->io_size); free_netdev(dev); printk(KERN_ERR PFX "vortex_probe1 fails. Returns %d\n", retval); out: @@ -1549,17 +1558,19 @@ out: static void issue_and_wait(struct net_device *dev, int cmd) { + struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; int i; - outw(cmd, dev->base_addr + EL3_CMD); + iowrite16(cmd, ioaddr + EL3_CMD); for (i = 0; i < 2000; i++) { - if (!(inw(dev->base_addr + EL3_STATUS) & CmdInProgress)) + if (!(ioread16(ioaddr + EL3_STATUS) & CmdInProgress)) return; } /* OK, that didn't work. Do it the slow way. One second */ for (i = 0; i < 100000; i++) { - if (!(inw(dev->base_addr + EL3_STATUS) & CmdInProgress)) { + if (!(ioread16(ioaddr + EL3_STATUS) & CmdInProgress)) { if (vortex_debug > 1) printk(KERN_INFO "%s: command 0x%04x took %d usecs\n", dev->name, cmd, i * 10); @@ -1568,14 +1579,14 @@ issue_and_wait(struct net_device *dev, i udelay(10); } printk(KERN_ERR "%s: command 0x%04x did not complete! Status=0x%x\n", - dev->name, cmd, inw(dev->base_addr + EL3_STATUS)); + dev->name, cmd, ioread16(ioaddr + EL3_STATUS)); } static void vortex_up(struct net_device *dev) { - long ioaddr = dev->base_addr; struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; unsigned int config; int i; @@ -1588,7 +1599,7 @@ vortex_up(struct net_device *dev) /* Before initializing select the active media port. */ EL3WINDOW(3); - config = inl(ioaddr + Wn3_Config); + config = ioread32(ioaddr + Wn3_Config); if (vp->media_override != 7) { printk(KERN_INFO "%s: Media override to transceiver %d (%s).\n", @@ -1635,7 +1646,7 @@ vortex_up(struct net_device *dev) config = BFINS(config, dev->if_port, 20, 4); if (vortex_debug > 6) printk(KERN_DEBUG "vortex_up(): writing 0x%x to InternalConfig\n", config); - outl(config, ioaddr + Wn3_Config); + iowrite32(config, ioaddr + Wn3_Config); if (dev->if_port == XCVR_MII || dev->if_port == XCVR_NWAY) { int mii_reg1, mii_reg5; @@ -1663,7 +1674,7 @@ vortex_up(struct net_device *dev) } /* Set the full-duplex bit. */ - outw( ((vp->info1 & 0x8000) || vp->full_duplex ? 0x20 : 0) | + iowrite16( ((vp->info1 & 0x8000) || vp->full_duplex ? 0x20 : 0) | (vp->large_frames ? 0x40 : 0) | ((vp->full_duplex && vp->flow_ctrl && vp->partner_flow_ctrl) ? 0x100 : 0), ioaddr + Wn3_MAC_Ctrl); @@ -1679,51 +1690,51 @@ vortex_up(struct net_device *dev) */ issue_and_wait(dev, RxReset|0x04); - outw(SetStatusEnb | 0x00, ioaddr + EL3_CMD); + iowrite16(SetStatusEnb | 0x00, ioaddr + EL3_CMD); if (vortex_debug > 1) { EL3WINDOW(4); printk(KERN_DEBUG "%s: vortex_up() irq %d media status %4.4x.\n", - dev->name, dev->irq, inw(ioaddr + Wn4_Media)); + dev->name, dev->irq, ioread16(ioaddr + Wn4_Media)); } /* Set the station address and mask in window 2 each time opened. */ EL3WINDOW(2); for (i = 0; i < 6; i++) - outb(dev->dev_addr[i], ioaddr + i); + iowrite8(dev->dev_addr[i], ioaddr + i); for (; i < 12; i+=2) - outw(0, ioaddr + i); + iowrite16(0, ioaddr + i); if (vp->cb_fn_base) { - unsigned short n = inw(ioaddr + Wn2_ResetOptions) & ~0x4010; + unsigned short n = ioread16(ioaddr + Wn2_ResetOptions) & ~0x4010; if (vp->drv_flags & INVERT_LED_PWR) n |= 0x10; if (vp->drv_flags & INVERT_MII_PWR) n |= 0x4000; - outw(n, ioaddr + Wn2_ResetOptions); + iowrite16(n, ioaddr + Wn2_ResetOptions); } if (dev->if_port == XCVR_10base2) /* Start the thinnet transceiver. We should really wait 50ms...*/ - outw(StartCoax, ioaddr + EL3_CMD); + iowrite16(StartCoax, ioaddr + EL3_CMD); if (dev->if_port != XCVR_NWAY) { EL3WINDOW(4); - outw((inw(ioaddr + Wn4_Media) & ~(Media_10TP|Media_SQE)) | + iowrite16((ioread16(ioaddr + Wn4_Media) & ~(Media_10TP|Media_SQE)) | media_tbl[dev->if_port].media_bits, ioaddr + Wn4_Media); } /* Switch to the stats window, and clear all stats by reading. */ - outw(StatsDisable, ioaddr + EL3_CMD); + iowrite16(StatsDisable, ioaddr + EL3_CMD); EL3WINDOW(6); for (i = 0; i < 10; i++) - inb(ioaddr + i); - inw(ioaddr + 10); - inw(ioaddr + 12); + ioread8(ioaddr + i); + ioread16(ioaddr + 10); + ioread16(ioaddr + 12); /* New: On the Vortex we must also clear the BadSSD counter. */ EL3WINDOW(4); - inb(ioaddr + 12); + ioread8(ioaddr + 12); /* ..and on the Boomerang we enable the extra statistics bits. */ - outw(0x0040, ioaddr + Wn4_NetDiag); + iowrite16(0x0040, ioaddr + Wn4_NetDiag); /* Switch to register set 7 for normal use. */ EL3WINDOW(7); @@ -1731,30 +1742,30 @@ vortex_up(struct net_device *dev) if (vp->full_bus_master_rx) { /* Boomerang bus master. */ vp->cur_rx = vp->dirty_rx = 0; /* Initialize the RxEarly register as recommended. */ - outw(SetRxThreshold + (1536>>2), ioaddr + EL3_CMD); - outl(0x0020, ioaddr + PktStatus); - outl(vp->rx_ring_dma, ioaddr + UpListPtr); + iowrite16(SetRxThreshold + (1536>>2), ioaddr + EL3_CMD); + iowrite32(0x0020, ioaddr + PktStatus); + iowrite32(vp->rx_ring_dma, ioaddr + UpListPtr); } if (vp->full_bus_master_tx) { /* Boomerang bus master Tx. */ vp->cur_tx = vp->dirty_tx = 0; if (vp->drv_flags & IS_BOOMERANG) - outb(PKT_BUF_SZ>>8, ioaddr + TxFreeThreshold); /* Room for a packet. */ + iowrite8(PKT_BUF_SZ>>8, ioaddr + TxFreeThreshold); /* Room for a packet. */ /* Clear the Rx, Tx rings. */ for (i = 0; i < RX_RING_SIZE; i++) /* AKPM: this is done in vortex_open, too */ vp->rx_ring[i].status = 0; for (i = 0; i < TX_RING_SIZE; i++) vp->tx_skbuff[i] = NULL; - outl(0, ioaddr + DownListPtr); + iowrite32(0, ioaddr + DownListPtr); } /* Set receiver mode: presumably accept b-case and phys addr only. */ set_rx_mode(dev); /* enable 802.1q tagged frames */ set_8021q_mode(dev, 1); - outw(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */ + iowrite16(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */ // issue_and_wait(dev, SetTxStart|0x07ff); - outw(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */ - outw(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */ + iowrite16(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */ + iowrite16(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */ /* Allow status bits to be seen. */ vp->status_enable = SetStatusEnb | HostError|IntReq|StatsFull|TxComplete| (vp->full_bus_master_tx ? DownComplete : TxAvailable) | @@ -1764,13 +1775,13 @@ vortex_up(struct net_device *dev) (vp->full_bus_master_rx ? 0 : RxComplete) | StatsFull | HostError | TxComplete | IntReq | (vp->bus_master ? DMADone : 0) | UpComplete | DownComplete; - outw(vp->status_enable, ioaddr + EL3_CMD); + iowrite16(vp->status_enable, ioaddr + EL3_CMD); /* Ack all pending events, and set active indicator mask. */ - outw(AckIntr | IntLatch | TxAvailable | RxEarly | IntReq, + iowrite16(AckIntr | IntLatch | TxAvailable | RxEarly | IntReq, ioaddr + EL3_CMD); - outw(vp->intr_enable, ioaddr + EL3_CMD); + iowrite16(vp->intr_enable, ioaddr + EL3_CMD); if (vp->cb_fn_base) /* The PCMCIA people are idiots. */ - writel(0x8000, vp->cb_fn_base + 4); + iowrite32(0x8000, vp->cb_fn_base + 4); netif_start_queue (dev); } @@ -1836,7 +1847,7 @@ vortex_timer(unsigned long data) { struct net_device *dev = (struct net_device *)data; struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; int next_tick = 60*HZ; int ok = 0; int media_status, mii_status, old_window; @@ -1850,9 +1861,9 @@ vortex_timer(unsigned long data) if (vp->medialock) goto leave_media_alone; disable_irq(dev->irq); - old_window = inw(ioaddr + EL3_CMD) >> 13; + old_window = ioread16(ioaddr + EL3_CMD) >> 13; EL3WINDOW(4); - media_status = inw(ioaddr + Wn4_Media); + media_status = ioread16(ioaddr + Wn4_Media); switch (dev->if_port) { case XCVR_10baseT: case XCVR_100baseTx: case XCVR_100baseFx: if (media_status & Media_LnkBeat) { @@ -1892,7 +1903,7 @@ vortex_timer(unsigned long data) vp->phys[0], mii_reg5); /* Set the full-duplex bit. */ EL3WINDOW(3); - outw( (vp->full_duplex ? 0x20 : 0) | + iowrite16( (vp->full_duplex ? 0x20 : 0) | (vp->large_frames ? 0x40 : 0) | ((vp->full_duplex && vp->flow_ctrl && vp->partner_flow_ctrl) ? 0x100 : 0), ioaddr + Wn3_MAC_Ctrl); @@ -1933,15 +1944,15 @@ vortex_timer(unsigned long data) dev->name, media_tbl[dev->if_port].name); next_tick = media_tbl[dev->if_port].wait; } - outw((media_status & ~(Media_10TP|Media_SQE)) | + iowrite16((media_status & ~(Media_10TP|Media_SQE)) | media_tbl[dev->if_port].media_bits, ioaddr + Wn4_Media); EL3WINDOW(3); - config = inl(ioaddr + Wn3_Config); + config = ioread32(ioaddr + Wn3_Config); config = BFINS(config, dev->if_port, 20, 4); - outl(config, ioaddr + Wn3_Config); + iowrite32(config, ioaddr + Wn3_Config); - outw(dev->if_port == XCVR_10base2 ? StartCoax : StopCoax, + iowrite16(dev->if_port == XCVR_10base2 ? StartCoax : StopCoax, ioaddr + EL3_CMD); if (vortex_debug > 1) printk(KERN_DEBUG "wrote 0x%08x to Wn3_Config\n", config); @@ -1957,29 +1968,29 @@ leave_media_alone: mod_timer(&vp->timer, RUN_AT(next_tick)); if (vp->deferred) - outw(FakeIntr, ioaddr + EL3_CMD); + iowrite16(FakeIntr, ioaddr + EL3_CMD); return; } static void vortex_tx_timeout(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; printk(KERN_ERR "%s: transmit timed out, tx_status %2.2x status %4.4x.\n", - dev->name, inb(ioaddr + TxStatus), - inw(ioaddr + EL3_STATUS)); + dev->name, ioread8(ioaddr + TxStatus), + ioread16(ioaddr + EL3_STATUS)); EL3WINDOW(4); printk(KERN_ERR " diagnostics: net %04x media %04x dma %08x fifo %04x\n", - inw(ioaddr + Wn4_NetDiag), - inw(ioaddr + Wn4_Media), - inl(ioaddr + PktStatus), - inw(ioaddr + Wn4_FIFODiag)); + ioread16(ioaddr + Wn4_NetDiag), + ioread16(ioaddr + Wn4_Media), + ioread32(ioaddr + PktStatus), + ioread16(ioaddr + Wn4_FIFODiag)); /* Slight code bloat to be user friendly. */ - if ((inb(ioaddr + TxStatus) & 0x88) == 0x88) + if ((ioread8(ioaddr + TxStatus) & 0x88) == 0x88) printk(KERN_ERR "%s: Transmitter encountered 16 collisions --" " network cable problem?\n", dev->name); - if (inw(ioaddr + EL3_STATUS) & IntLatch) { + if (ioread16(ioaddr + EL3_STATUS) & IntLatch) { printk(KERN_ERR "%s: Interrupt posted but not delivered --" " IRQ blocked by another device?\n", dev->name); /* Bad idea here.. but we might as well handle a few events. */ @@ -2005,21 +2016,21 @@ static void vortex_tx_timeout(struct net vp->stats.tx_errors++; if (vp->full_bus_master_tx) { printk(KERN_DEBUG "%s: Resetting the Tx ring pointer.\n", dev->name); - if (vp->cur_tx - vp->dirty_tx > 0 && inl(ioaddr + DownListPtr) == 0) - outl(vp->tx_ring_dma + (vp->dirty_tx % TX_RING_SIZE) * sizeof(struct boom_tx_desc), + if (vp->cur_tx - vp->dirty_tx > 0 && ioread32(ioaddr + DownListPtr) == 0) + iowrite32(vp->tx_ring_dma + (vp->dirty_tx % TX_RING_SIZE) * sizeof(struct boom_tx_desc), ioaddr + DownListPtr); if (vp->cur_tx - vp->dirty_tx < TX_RING_SIZE) netif_wake_queue (dev); if (vp->drv_flags & IS_BOOMERANG) - outb(PKT_BUF_SZ>>8, ioaddr + TxFreeThreshold); - outw(DownUnstall, ioaddr + EL3_CMD); + iowrite8(PKT_BUF_SZ>>8, ioaddr + TxFreeThreshold); + iowrite16(DownUnstall, ioaddr + EL3_CMD); } else { vp->stats.tx_dropped++; netif_wake_queue(dev); } /* Issue Tx Enable */ - outw(TxEnable, ioaddr + EL3_CMD); + iowrite16(TxEnable, ioaddr + EL3_CMD); dev->trans_start = jiffies; /* Switch to register set 7 for normal use. */ @@ -2034,7 +2045,7 @@ static void vortex_error(struct net_device *dev, int status) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; int do_tx_reset = 0, reset_mask = 0; unsigned char tx_status = 0; @@ -2043,7 +2054,7 @@ vortex_error(struct net_device *dev, int } if (status & TxComplete) { /* Really "TxError" for us. */ - tx_status = inb(ioaddr + TxStatus); + tx_status = ioread8(ioaddr + TxStatus); /* Presumably a tx-timeout. We must merely re-enable. */ if (vortex_debug > 2 || (tx_status != 0x88 && vortex_debug > 0)) { @@ -2057,20 +2068,20 @@ vortex_error(struct net_device *dev, int } if (tx_status & 0x14) vp->stats.tx_fifo_errors++; if (tx_status & 0x38) vp->stats.tx_aborted_errors++; - outb(0, ioaddr + TxStatus); + iowrite8(0, ioaddr + TxStatus); if (tx_status & 0x30) { /* txJabber or txUnderrun */ do_tx_reset = 1; } else if ((tx_status & 0x08) && (vp->drv_flags & MAX_COLLISION_RESET)) { /* maxCollisions */ do_tx_reset = 1; reset_mask = 0x0108; /* Reset interface logic, but not download logic */ } else { /* Merely re-enable the transmitter. */ - outw(TxEnable, ioaddr + EL3_CMD); + iowrite16(TxEnable, ioaddr + EL3_CMD); } } if (status & RxEarly) { /* Rx early is unused. */ vortex_rx(dev); - outw(AckIntr | RxEarly, ioaddr + EL3_CMD); + iowrite16(AckIntr | RxEarly, ioaddr + EL3_CMD); } if (status & StatsFull) { /* Empty statistics. */ static int DoneDidThat; @@ -2080,29 +2091,29 @@ vortex_error(struct net_device *dev, int /* HACK: Disable statistics as an interrupt source. */ /* This occurs when we have the wrong media type! */ if (DoneDidThat == 0 && - inw(ioaddr + EL3_STATUS) & StatsFull) { + ioread16(ioaddr + EL3_STATUS) & StatsFull) { printk(KERN_WARNING "%s: Updating statistics failed, disabling " "stats as an interrupt source.\n", dev->name); EL3WINDOW(5); - outw(SetIntrEnb | (inw(ioaddr + 10) & ~StatsFull), ioaddr + EL3_CMD); + iowrite16(SetIntrEnb | (ioread16(ioaddr + 10) & ~StatsFull), ioaddr + EL3_CMD); vp->intr_enable &= ~StatsFull; EL3WINDOW(7); DoneDidThat++; } } if (status & IntReq) { /* Restore all interrupt sources. */ - outw(vp->status_enable, ioaddr + EL3_CMD); - outw(vp->intr_enable, ioaddr + EL3_CMD); + iowrite16(vp->status_enable, ioaddr + EL3_CMD); + iowrite16(vp->intr_enable, ioaddr + EL3_CMD); } if (status & HostError) { u16 fifo_diag; EL3WINDOW(4); - fifo_diag = inw(ioaddr + Wn4_FIFODiag); + fifo_diag = ioread16(ioaddr + Wn4_FIFODiag); printk(KERN_ERR "%s: Host error, FIFO diagnostic register %4.4x.\n", dev->name, fifo_diag); /* Adapter failure requires Tx/Rx reset and reinit. */ if (vp->full_bus_master_tx) { - int bus_status = inl(ioaddr + PktStatus); + int bus_status = ioread32(ioaddr + PktStatus); /* 0x80000000 PCI master abort. */ /* 0x40000000 PCI target abort. */ if (vortex_debug) @@ -2122,14 +2133,14 @@ vortex_error(struct net_device *dev, int set_rx_mode(dev); /* enable 802.1q VLAN tagged frames */ set_8021q_mode(dev, 1); - outw(RxEnable, ioaddr + EL3_CMD); /* Re-enable the receiver. */ - outw(AckIntr | HostError, ioaddr + EL3_CMD); + iowrite16(RxEnable, ioaddr + EL3_CMD); /* Re-enable the receiver. */ + iowrite16(AckIntr | HostError, ioaddr + EL3_CMD); } } if (do_tx_reset) { issue_and_wait(dev, TxReset|reset_mask); - outw(TxEnable, ioaddr + EL3_CMD); + iowrite16(TxEnable, ioaddr + EL3_CMD); if (!vp->full_bus_master_tx) netif_wake_queue(dev); } @@ -2139,29 +2150,29 @@ static int vortex_start_xmit(struct sk_buff *skb, struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; /* Put out the doubleword header... */ - outl(skb->len, ioaddr + TX_FIFO); + iowrite32(skb->len, ioaddr + TX_FIFO); if (vp->bus_master) { /* Set the bus-master controller to transfer the packet. */ int len = (skb->len + 3) & ~3; - outl( vp->tx_skb_dma = pci_map_single(VORTEX_PCI(vp), skb->data, len, PCI_DMA_TODEVICE), + iowrite32( vp->tx_skb_dma = pci_map_single(VORTEX_PCI(vp), skb->data, len, PCI_DMA_TODEVICE), ioaddr + Wn7_MasterAddr); - outw(len, ioaddr + Wn7_MasterLen); + iowrite16(len, ioaddr + Wn7_MasterLen); vp->tx_skb = skb; - outw(StartDMADown, ioaddr + EL3_CMD); + iowrite16(StartDMADown, ioaddr + EL3_CMD); /* netif_wake_queue() will be called at the DMADone interrupt. */ } else { /* ... and the packet rounded to a doubleword. */ - outsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2); + iowrite32_rep(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2); dev_kfree_skb (skb); - if (inw(ioaddr + TxFree) > 1536) { + if (ioread16(ioaddr + TxFree) > 1536) { netif_start_queue (dev); /* AKPM: redundant? */ } else { /* Interrupt us when the FIFO has room for max-sized packet. */ netif_stop_queue(dev); - outw(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD); + iowrite16(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD); } } @@ -2172,7 +2183,7 @@ vortex_start_xmit(struct sk_buff *skb, s int tx_status; int i = 32; - while (--i > 0 && (tx_status = inb(ioaddr + TxStatus)) > 0) { + while (--i > 0 && (tx_status = ioread8(ioaddr + TxStatus)) > 0) { if (tx_status & 0x3C) { /* A Tx-disabling error occurred. */ if (vortex_debug > 2) printk(KERN_DEBUG "%s: Tx error, status %2.2x.\n", @@ -2182,9 +2193,9 @@ vortex_start_xmit(struct sk_buff *skb, s if (tx_status & 0x30) { issue_and_wait(dev, TxReset); } - outw(TxEnable, ioaddr + EL3_CMD); + iowrite16(TxEnable, ioaddr + EL3_CMD); } - outb(0x00, ioaddr + TxStatus); /* Pop the status stack. */ + iowrite8(0x00, ioaddr + TxStatus); /* Pop the status stack. */ } } return 0; @@ -2194,7 +2205,7 @@ static int boomerang_start_xmit(struct sk_buff *skb, struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; /* Calculate the next Tx descriptor entry. */ int entry = vp->cur_tx % TX_RING_SIZE; struct boom_tx_desc *prev_entry = &vp->tx_ring[(vp->cur_tx-1) % TX_RING_SIZE]; @@ -2259,8 +2270,8 @@ boomerang_start_xmit(struct sk_buff *skb /* Wait for the stall to complete. */ issue_and_wait(dev, DownStall); prev_entry->next = cpu_to_le32(vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc)); - if (inl(ioaddr + DownListPtr) == 0) { - outl(vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc), ioaddr + DownListPtr); + if (ioread32(ioaddr + DownListPtr) == 0) { + iowrite32(vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc), ioaddr + DownListPtr); vp->queued_packet++; } @@ -2275,7 +2286,7 @@ boomerang_start_xmit(struct sk_buff *skb prev_entry->status &= cpu_to_le32(~TxIntrUploaded); #endif } - outw(DownUnstall, ioaddr + EL3_CMD); + iowrite16(DownUnstall, ioaddr + EL3_CMD); spin_unlock_irqrestore(&vp->lock, flags); dev->trans_start = jiffies; return 0; @@ -2294,15 +2305,15 @@ vortex_interrupt(int irq, void *dev_id, { struct net_device *dev = dev_id; struct vortex_private *vp = netdev_priv(dev); - long ioaddr; + void __iomem *ioaddr; int status; int work_done = max_interrupt_work; int handled = 0; - ioaddr = dev->base_addr; + ioaddr = vp->ioaddr; spin_lock(&vp->lock); - status = inw(ioaddr + EL3_STATUS); + status = ioread16(ioaddr + EL3_STATUS); if (vortex_debug > 6) printk("vortex_interrupt(). status=0x%4x\n", status); @@ -2321,7 +2332,7 @@ vortex_interrupt(int irq, void *dev_id, if (vortex_debug > 4) printk(KERN_DEBUG "%s: interrupt, status %4.4x, latency %d ticks.\n", - dev->name, status, inb(ioaddr + Timer)); + dev->name, status, ioread8(ioaddr + Timer)); do { if (vortex_debug > 5) @@ -2334,16 +2345,16 @@ vortex_interrupt(int irq, void *dev_id, if (vortex_debug > 5) printk(KERN_DEBUG " TX room bit was handled.\n"); /* There's room in the FIFO for a full-sized packet. */ - outw(AckIntr | TxAvailable, ioaddr + EL3_CMD); + iowrite16(AckIntr | TxAvailable, ioaddr + EL3_CMD); netif_wake_queue (dev); } if (status & DMADone) { - if (inw(ioaddr + Wn7_MasterStatus) & 0x1000) { - outw(0x1000, ioaddr + Wn7_MasterStatus); /* Ack the event. */ + if (ioread16(ioaddr + Wn7_MasterStatus) & 0x1000) { + iowrite16(0x1000, ioaddr + Wn7_MasterStatus); /* Ack the event. */ pci_unmap_single(VORTEX_PCI(vp), vp->tx_skb_dma, (vp->tx_skb->len + 3) & ~3, PCI_DMA_TODEVICE); dev_kfree_skb_irq(vp->tx_skb); /* Release the transferred buffer */ - if (inw(ioaddr + TxFree) > 1536) { + if (ioread16(ioaddr + TxFree) > 1536) { /* * AKPM: FIXME: I don't think we need this. If the queue was stopped due to * insufficient FIFO room, the TxAvailable test will succeed and call @@ -2351,7 +2362,7 @@ vortex_interrupt(int irq, void *dev_id, */ netif_wake_queue(dev); } else { /* Interrupt when FIFO has room for max-sized packet. */ - outw(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD); + iowrite16(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD); netif_stop_queue(dev); } } @@ -2369,17 +2380,17 @@ vortex_interrupt(int irq, void *dev_id, /* Disable all pending interrupts. */ do { vp->deferred |= status; - outw(SetStatusEnb | (~vp->deferred & vp->status_enable), + iowrite16(SetStatusEnb | (~vp->deferred & vp->status_enable), ioaddr + EL3_CMD); - outw(AckIntr | (vp->deferred & 0x7ff), ioaddr + EL3_CMD); - } while ((status = inw(ioaddr + EL3_CMD)) & IntLatch); + iowrite16(AckIntr | (vp->deferred & 0x7ff), ioaddr + EL3_CMD); + } while ((status = ioread16(ioaddr + EL3_CMD)) & IntLatch); /* The timer will reenable interrupts. */ mod_timer(&vp->timer, jiffies + 1*HZ); break; } /* Acknowledge the IRQ. */ - outw(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); - } while ((status = inw(ioaddr + EL3_STATUS)) & (IntLatch | RxComplete)); + iowrite16(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); + } while ((status = ioread16(ioaddr + EL3_STATUS)) & (IntLatch | RxComplete)); if (vortex_debug > 4) printk(KERN_DEBUG "%s: exiting interrupt, status %4.4x.\n", @@ -2399,11 +2410,11 @@ boomerang_interrupt(int irq, void *dev_i { struct net_device *dev = dev_id; struct vortex_private *vp = netdev_priv(dev); - long ioaddr; + void __iomem *ioaddr; int status; int work_done = max_interrupt_work; - ioaddr = dev->base_addr; + ioaddr = vp->ioaddr; /* * It seems dopey to put the spinlock this early, but we could race against vortex_tx_timeout @@ -2411,7 +2422,7 @@ boomerang_interrupt(int irq, void *dev_i */ spin_lock(&vp->lock); - status = inw(ioaddr + EL3_STATUS); + status = ioread16(ioaddr + EL3_STATUS); if (vortex_debug > 6) printk(KERN_DEBUG "boomerang_interrupt. status=0x%4x\n", status); @@ -2432,13 +2443,13 @@ boomerang_interrupt(int irq, void *dev_i if (vortex_debug > 4) printk(KERN_DEBUG "%s: interrupt, status %4.4x, latency %d ticks.\n", - dev->name, status, inb(ioaddr + Timer)); + dev->name, status, ioread8(ioaddr + Timer)); do { if (vortex_debug > 5) printk(KERN_DEBUG "%s: In interrupt loop, status %4.4x.\n", dev->name, status); if (status & UpComplete) { - outw(AckIntr | UpComplete, ioaddr + EL3_CMD); + iowrite16(AckIntr | UpComplete, ioaddr + EL3_CMD); if (vortex_debug > 5) printk(KERN_DEBUG "boomerang_interrupt->boomerang_rx\n"); boomerang_rx(dev); @@ -2447,11 +2458,11 @@ boomerang_interrupt(int irq, void *dev_i if (status & DownComplete) { unsigned int dirty_tx = vp->dirty_tx; - outw(AckIntr | DownComplete, ioaddr + EL3_CMD); + iowrite16(AckIntr | DownComplete, ioaddr + EL3_CMD); while (vp->cur_tx - dirty_tx > 0) { int entry = dirty_tx % TX_RING_SIZE; #if 1 /* AKPM: the latter is faster, but cyclone-only */ - if (inl(ioaddr + DownListPtr) == + if (ioread32(ioaddr + DownListPtr) == vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc)) break; /* It still hasn't been processed. */ #else @@ -2498,20 +2509,20 @@ boomerang_interrupt(int irq, void *dev_i /* Disable all pending interrupts. */ do { vp->deferred |= status; - outw(SetStatusEnb | (~vp->deferred & vp->status_enable), + iowrite16(SetStatusEnb | (~vp->deferred & vp->status_enable), ioaddr + EL3_CMD); - outw(AckIntr | (vp->deferred & 0x7ff), ioaddr + EL3_CMD); - } while ((status = inw(ioaddr + EL3_CMD)) & IntLatch); + iowrite16(AckIntr | (vp->deferred & 0x7ff), ioaddr + EL3_CMD); + } while ((status = ioread16(ioaddr + EL3_CMD)) & IntLatch); /* The timer will reenable interrupts. */ mod_timer(&vp->timer, jiffies + 1*HZ); break; } /* Acknowledge the IRQ. */ - outw(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); + iowrite16(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); if (vp->cb_fn_base) /* The PCMCIA people are idiots. */ - writel(0x8000, vp->cb_fn_base + 4); + iowrite32(0x8000, vp->cb_fn_base + 4); - } while ((status = inw(ioaddr + EL3_STATUS)) & IntLatch); + } while ((status = ioread16(ioaddr + EL3_STATUS)) & IntLatch); if (vortex_debug > 4) printk(KERN_DEBUG "%s: exiting interrupt, status %4.4x.\n", @@ -2524,16 +2535,16 @@ handler_exit: static int vortex_rx(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; int i; short rx_status; if (vortex_debug > 5) printk(KERN_DEBUG "vortex_rx(): status %4.4x, rx_status %4.4x.\n", - inw(ioaddr+EL3_STATUS), inw(ioaddr+RxStatus)); - while ((rx_status = inw(ioaddr + RxStatus)) > 0) { + ioread16(ioaddr+EL3_STATUS), ioread16(ioaddr+RxStatus)); + while ((rx_status = ioread16(ioaddr + RxStatus)) > 0) { if (rx_status & 0x4000) { /* Error, update stats. */ - unsigned char rx_error = inb(ioaddr + RxErrors); + unsigned char rx_error = ioread8(ioaddr + RxErrors); if (vortex_debug > 2) printk(KERN_DEBUG " Rx error: status %2.2x.\n", rx_error); vp->stats.rx_errors++; @@ -2556,27 +2567,28 @@ static int vortex_rx(struct net_device * skb_reserve(skb, 2); /* Align IP on 16 byte boundaries */ /* 'skb_put()' points to the start of sk_buff data area. */ if (vp->bus_master && - ! (inw(ioaddr + Wn7_MasterStatus) & 0x8000)) { + ! (ioread16(ioaddr + Wn7_MasterStatus) & 0x8000)) { dma_addr_t dma = pci_map_single(VORTEX_PCI(vp), skb_put(skb, pkt_len), pkt_len, PCI_DMA_FROMDEVICE); - outl(dma, ioaddr + Wn7_MasterAddr); - outw((skb->len + 3) & ~3, ioaddr + Wn7_MasterLen); - outw(StartDMAUp, ioaddr + EL3_CMD); - while (inw(ioaddr + Wn7_MasterStatus) & 0x8000) + iowrite32(dma, ioaddr + Wn7_MasterAddr); + iowrite16((skb->len + 3) & ~3, ioaddr + Wn7_MasterLen); + iowrite16(StartDMAUp, ioaddr + EL3_CMD); + while (ioread16(ioaddr + Wn7_MasterStatus) & 0x8000) ; pci_unmap_single(VORTEX_PCI(vp), dma, pkt_len, PCI_DMA_FROMDEVICE); } else { - insl(ioaddr + RX_FIFO, skb_put(skb, pkt_len), - (pkt_len + 3) >> 2); + ioread32_rep(ioaddr + RX_FIFO, + skb_put(skb, pkt_len), + (pkt_len + 3) >> 2); } - outw(RxDiscard, ioaddr + EL3_CMD); /* Pop top Rx packet. */ + iowrite16(RxDiscard, ioaddr + EL3_CMD); /* Pop top Rx packet. */ skb->protocol = eth_type_trans(skb, dev); netif_rx(skb); dev->last_rx = jiffies; vp->stats.rx_packets++; /* Wait a limited time to go to next packet. */ for (i = 200; i >= 0; i--) - if ( ! (inw(ioaddr + EL3_STATUS) & CmdInProgress)) + if ( ! (ioread16(ioaddr + EL3_STATUS) & CmdInProgress)) break; continue; } else if (vortex_debug > 0) @@ -2595,12 +2607,12 @@ boomerang_rx(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); int entry = vp->cur_rx % RX_RING_SIZE; - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; int rx_status; int rx_work_limit = vp->dirty_rx + RX_RING_SIZE - vp->cur_rx; if (vortex_debug > 5) - printk(KERN_DEBUG "boomerang_rx(): status %4.4x\n", inw(ioaddr+EL3_STATUS)); + printk(KERN_DEBUG "boomerang_rx(): status %4.4x\n", ioread16(ioaddr+EL3_STATUS)); while ((rx_status = le32_to_cpu(vp->rx_ring[entry].status)) & RxDComplete){ if (--rx_work_limit < 0) @@ -2683,7 +2695,7 @@ boomerang_rx(struct net_device *dev) vp->rx_skbuff[entry] = skb; } vp->rx_ring[entry].status = 0; /* Clear complete bit. */ - outw(UpUnstall, ioaddr + EL3_CMD); + iowrite16(UpUnstall, ioaddr + EL3_CMD); } return 0; } @@ -2712,7 +2724,7 @@ static void vortex_down(struct net_device *dev, int final_down) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; netif_stop_queue (dev); @@ -2720,26 +2732,26 @@ vortex_down(struct net_device *dev, int del_timer_sync(&vp->timer); /* Turn off statistics ASAP. We update vp->stats below. */ - outw(StatsDisable, ioaddr + EL3_CMD); + iowrite16(StatsDisable, ioaddr + EL3_CMD); /* Disable the receiver and transmitter. */ - outw(RxDisable, ioaddr + EL3_CMD); - outw(TxDisable, ioaddr + EL3_CMD); + iowrite16(RxDisable, ioaddr + EL3_CMD); + iowrite16(TxDisable, ioaddr + EL3_CMD); /* Disable receiving 802.1q tagged frames */ set_8021q_mode(dev, 0); if (dev->if_port == XCVR_10base2) /* Turn off thinnet power. Green! */ - outw(StopCoax, ioaddr + EL3_CMD); + iowrite16(StopCoax, ioaddr + EL3_CMD); - outw(SetIntrEnb | 0x0000, ioaddr + EL3_CMD); + iowrite16(SetIntrEnb | 0x0000, ioaddr + EL3_CMD); update_stats(ioaddr, dev); if (vp->full_bus_master_rx) - outl(0, ioaddr + UpListPtr); + iowrite32(0, ioaddr + UpListPtr); if (vp->full_bus_master_tx) - outl(0, ioaddr + DownListPtr); + iowrite32(0, ioaddr + DownListPtr); if (final_down && VORTEX_PCI(vp)) { vp->pm_state_valid = 1; @@ -2752,7 +2764,7 @@ static int vortex_close(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; int i; if (netif_device_present(dev)) @@ -2760,7 +2772,7 @@ vortex_close(struct net_device *dev) if (vortex_debug > 1) { printk(KERN_DEBUG"%s: vortex_close() status %4.4x, Tx status %2.2x.\n", - dev->name, inw(ioaddr + EL3_STATUS), inb(ioaddr + TxStatus)); + dev->name, ioread16(ioaddr + EL3_STATUS), ioread8(ioaddr + TxStatus)); printk(KERN_DEBUG "%s: vortex close stats: rx_nocopy %d rx_copy %d" " tx_queued %d Rx pre-checksummed %d.\n", dev->name, vp->rx_nocopy, vp->rx_copy, vp->queued_packet, vp->rx_csumhits); @@ -2814,18 +2826,18 @@ dump_tx_ring(struct net_device *dev) { if (vortex_debug > 0) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; if (vp->full_bus_master_tx) { int i; - int stalled = inl(ioaddr + PktStatus) & 0x04; /* Possible racy. But it's only debug stuff */ + int stalled = ioread32(ioaddr + PktStatus) & 0x04; /* Possible racy. But it's only debug stuff */ printk(KERN_ERR " Flags; bus-master %d, dirty %d(%d) current %d(%d)\n", vp->full_bus_master_tx, vp->dirty_tx, vp->dirty_tx % TX_RING_SIZE, vp->cur_tx, vp->cur_tx % TX_RING_SIZE); printk(KERN_ERR " Transmit list %8.8x vs. %p.\n", - inl(ioaddr + DownListPtr), + ioread32(ioaddr + DownListPtr), &vp->tx_ring[vp->dirty_tx % TX_RING_SIZE]); issue_and_wait(dev, DownStall); for (i = 0; i < TX_RING_SIZE; i++) { @@ -2839,7 +2851,7 @@ dump_tx_ring(struct net_device *dev) le32_to_cpu(vp->tx_ring[i].status)); } if (!stalled) - outw(DownUnstall, ioaddr + EL3_CMD); + iowrite16(DownUnstall, ioaddr + EL3_CMD); } } } @@ -2847,11 +2859,12 @@ dump_tx_ring(struct net_device *dev) static struct net_device_stats *vortex_get_stats(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; if (netif_device_present(dev)) { /* AKPM: Used to be netif_running */ spin_lock_irqsave (&vp->lock, flags); - update_stats(dev->base_addr, dev); + update_stats(ioaddr, dev); spin_unlock_irqrestore (&vp->lock, flags); } return &vp->stats; @@ -2864,37 +2877,37 @@ static struct net_device_stats *vortex_g table. This is done by checking that the ASM (!) code generated uses atomic updates with '+='. */ -static void update_stats(long ioaddr, struct net_device *dev) +static void update_stats(void __iomem *ioaddr, struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - int old_window = inw(ioaddr + EL3_CMD); + int old_window = ioread16(ioaddr + EL3_CMD); if (old_window == 0xffff) /* Chip suspended or ejected. */ return; /* Unlike the 3c5x9 we need not turn off stats updates while reading. */ /* Switch to the stats window, and read everything. */ EL3WINDOW(6); - vp->stats.tx_carrier_errors += inb(ioaddr + 0); - vp->stats.tx_heartbeat_errors += inb(ioaddr + 1); - vp->stats.collisions += inb(ioaddr + 3); - vp->stats.tx_window_errors += inb(ioaddr + 4); - vp->stats.rx_fifo_errors += inb(ioaddr + 5); - vp->stats.tx_packets += inb(ioaddr + 6); - vp->stats.tx_packets += (inb(ioaddr + 9)&0x30) << 4; - /* Rx packets */ inb(ioaddr + 7); /* Must read to clear */ + vp->stats.tx_carrier_errors += ioread8(ioaddr + 0); + vp->stats.tx_heartbeat_errors += ioread8(ioaddr + 1); + vp->stats.collisions += ioread8(ioaddr + 3); + vp->stats.tx_window_errors += ioread8(ioaddr + 4); + vp->stats.rx_fifo_errors += ioread8(ioaddr + 5); + vp->stats.tx_packets += ioread8(ioaddr + 6); + vp->stats.tx_packets += (ioread8(ioaddr + 9)&0x30) << 4; + /* Rx packets */ ioread8(ioaddr + 7); /* Must read to clear */ /* Don't bother with register 9, an extension of registers 6&7. If we do use the 6&7 values the atomic update assumption above is invalid. */ - vp->stats.rx_bytes += inw(ioaddr + 10); - vp->stats.tx_bytes += inw(ioaddr + 12); + vp->stats.rx_bytes += ioread16(ioaddr + 10); + vp->stats.tx_bytes += ioread16(ioaddr + 12); /* Extra stats for get_ethtool_stats() */ - vp->xstats.tx_multiple_collisions += inb(ioaddr + 2); - vp->xstats.tx_deferred += inb(ioaddr + 8); + vp->xstats.tx_multiple_collisions += ioread8(ioaddr + 2); + vp->xstats.tx_deferred += ioread8(ioaddr + 8); EL3WINDOW(4); - vp->xstats.rx_bad_ssd += inb(ioaddr + 12); + vp->xstats.rx_bad_ssd += ioread8(ioaddr + 12); { - u8 up = inb(ioaddr + 13); + u8 up = ioread8(ioaddr + 13); vp->stats.rx_bytes += (up & 0x0f) << 16; vp->stats.tx_bytes += (up & 0xf0) << 12; } @@ -2906,7 +2919,7 @@ static void update_stats(long ioaddr, st static int vortex_nway_reset(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; int rc; @@ -2920,7 +2933,7 @@ static int vortex_nway_reset(struct net_ static u32 vortex_get_link(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; int rc; @@ -2934,7 +2947,7 @@ static u32 vortex_get_link(struct net_de static int vortex_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; int rc; @@ -2948,7 +2961,7 @@ static int vortex_get_settings(struct ne static int vortex_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; int rc; @@ -2978,10 +2991,11 @@ static void vortex_get_ethtool_stats(str struct ethtool_stats *stats, u64 *data) { struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; spin_lock_irqsave(&vp->lock, flags); - update_stats(dev->base_addr, dev); + update_stats(ioaddr, dev); spin_unlock_irqrestore(&vp->lock, flags); data[0] = vp->xstats.tx_deferred; @@ -3041,7 +3055,7 @@ static int vortex_ioctl(struct net_devic { int err; struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; int state = 0; @@ -3069,7 +3083,8 @@ static int vortex_ioctl(struct net_devic the chip has a very clean way to set the mode, unlike many others. */ static void set_rx_mode(struct net_device *dev) { - long ioaddr = dev->base_addr; + struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; int new_mode; if (dev->flags & IFF_PROMISC) { @@ -3081,7 +3096,7 @@ static void set_rx_mode(struct net_devic } else new_mode = SetRxFilter | RxStation | RxBroadcast; - outw(new_mode, ioaddr + EL3_CMD); + iowrite16(new_mode, ioaddr + EL3_CMD); } #if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE) @@ -3095,8 +3110,8 @@ static void set_rx_mode(struct net_devic static void set_8021q_mode(struct net_device *dev, int enable) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; - int old_window = inw(ioaddr + EL3_CMD); + void __iomem *ioaddr = vp->ioaddr; + int old_window = ioread16(ioaddr + EL3_CMD); int mac_ctrl; if ((vp->drv_flags&IS_CYCLONE) || (vp->drv_flags&IS_TORNADO)) { @@ -3108,24 +3123,24 @@ static void set_8021q_mode(struct net_de max_pkt_size += 4; /* 802.1Q VLAN tag */ EL3WINDOW(3); - outw(max_pkt_size, ioaddr+Wn3_MaxPktSize); + iowrite16(max_pkt_size, ioaddr+Wn3_MaxPktSize); /* set VlanEtherType to let the hardware checksumming treat tagged frames correctly */ EL3WINDOW(7); - outw(VLAN_ETHER_TYPE, ioaddr+Wn7_VlanEtherType); + iowrite16(VLAN_ETHER_TYPE, ioaddr+Wn7_VlanEtherType); } else { /* on older cards we have to enable large frames */ vp->large_frames = dev->mtu > 1500 || enable; EL3WINDOW(3); - mac_ctrl = inw(ioaddr+Wn3_MAC_Ctrl); + mac_ctrl = ioread16(ioaddr+Wn3_MAC_Ctrl); if (vp->large_frames) mac_ctrl |= 0x40; else mac_ctrl &= ~0x40; - outw(mac_ctrl, ioaddr+Wn3_MAC_Ctrl); + iowrite16(mac_ctrl, ioaddr+Wn3_MAC_Ctrl); } EL3WINDOW(old_window); @@ -3147,7 +3162,7 @@ static void set_8021q_mode(struct net_de /* The maximum data clock rate is 2.5 Mhz. The minimum timing is usually met by back-to-back PCI I/O cycles, but we insert a delay to avoid "overclocking" issues. */ -#define mdio_delay() inl(mdio_addr) +#define mdio_delay() ioread32(mdio_addr) #define MDIO_SHIFT_CLK 0x01 #define MDIO_DIR_WRITE 0x04 @@ -3158,15 +3173,15 @@ static void set_8021q_mode(struct net_de /* Generate the preamble required for initial synchronization and a few older transceivers. */ -static void mdio_sync(long ioaddr, int bits) +static void mdio_sync(void __iomem *ioaddr, int bits) { - long mdio_addr = ioaddr + Wn4_PhysicalMgmt; + void __iomem *mdio_addr = ioaddr + Wn4_PhysicalMgmt; /* Establish sync by sending at least 32 logic ones. */ while (-- bits >= 0) { - outw(MDIO_DATA_WRITE1, mdio_addr); + iowrite16(MDIO_DATA_WRITE1, mdio_addr); mdio_delay(); - outw(MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, mdio_addr); + iowrite16(MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, mdio_addr); mdio_delay(); } } @@ -3174,10 +3189,11 @@ static void mdio_sync(long ioaddr, int b static int mdio_read(struct net_device *dev, int phy_id, int location) { int i; - long ioaddr = dev->base_addr; + struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; int read_cmd = (0xf6 << 10) | (phy_id << 5) | location; unsigned int retval = 0; - long mdio_addr = ioaddr + Wn4_PhysicalMgmt; + void __iomem *mdio_addr = ioaddr + Wn4_PhysicalMgmt; if (mii_preamble_required) mdio_sync(ioaddr, 32); @@ -3185,17 +3201,17 @@ static int mdio_read(struct net_device * /* Shift the read command bits out. */ for (i = 14; i >= 0; i--) { int dataval = (read_cmd&(1< 0; i--) { - outw(MDIO_ENB_IN, mdio_addr); + iowrite16(MDIO_ENB_IN, mdio_addr); mdio_delay(); - retval = (retval << 1) | ((inw(mdio_addr) & MDIO_DATA_READ) ? 1 : 0); - outw(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); + retval = (retval << 1) | ((ioread16(mdio_addr) & MDIO_DATA_READ) ? 1 : 0); + iowrite16(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); mdio_delay(); } return retval & 0x20000 ? 0xffff : retval>>1 & 0xffff; @@ -3203,9 +3219,10 @@ static int mdio_read(struct net_device * static void mdio_write(struct net_device *dev, int phy_id, int location, int value) { - long ioaddr = dev->base_addr; + struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; int write_cmd = 0x50020000 | (phy_id << 23) | (location << 18) | value; - long mdio_addr = ioaddr + Wn4_PhysicalMgmt; + void __iomem *mdio_addr = ioaddr + Wn4_PhysicalMgmt; int i; if (mii_preamble_required) @@ -3214,16 +3231,16 @@ static void mdio_write(struct net_device /* Shift the command bits out. */ for (i = 31; i >= 0; i--) { int dataval = (write_cmd&(1<= 0; i--) { - outw(MDIO_ENB_IN, mdio_addr); + iowrite16(MDIO_ENB_IN, mdio_addr); mdio_delay(); - outw(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); + iowrite16(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); mdio_delay(); } return; @@ -3234,15 +3251,15 @@ static void mdio_write(struct net_device static void acpi_set_WOL(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; if (vp->enable_wol) { /* Power up on: 1==Downloaded Filter, 2==Magic Packets, 4==Link Status. */ EL3WINDOW(7); - outw(2, ioaddr + 0x0c); + iowrite16(2, ioaddr + 0x0c); /* The RxFilter must accept the WOL frames. */ - outw(SetRxFilter|RxStation|RxMulticast|RxBroadcast, ioaddr + EL3_CMD); - outw(RxEnable, ioaddr + EL3_CMD); + iowrite16(SetRxFilter|RxStation|RxMulticast|RxBroadcast, ioaddr + EL3_CMD); + iowrite16(RxEnable, ioaddr + EL3_CMD); pci_enable_wake(VORTEX_PCI(vp), 0, 1); @@ -3264,10 +3281,9 @@ static void __devexit vortex_remove_one vp = netdev_priv(dev); - /* AKPM: FIXME: we should have - * if (vp->cb_fn_base) iounmap(vp->cb_fn_base); - * here - */ + if (vp->cb_fn_base) + pci_iounmap(VORTEX_PCI(vp), vp->cb_fn_base); + unregister_netdev(dev); if (VORTEX_PCI(vp)) { @@ -3277,8 +3293,10 @@ static void __devexit vortex_remove_one pci_disable_device(VORTEX_PCI(vp)); } /* Should really use issue_and_wait() here */ - outw(TotalReset | ((vp->drv_flags & EEPROM_RESET) ? 0x04 : 0x14), - dev->base_addr + EL3_CMD); + iowrite16(TotalReset | ((vp->drv_flags & EEPROM_RESET) ? 0x04 : 0x14), + vp->ioaddr + EL3_CMD); + + pci_iounmap(VORTEX_PCI(vp), vp->ioaddr); pci_free_consistent(pdev, sizeof(struct boom_rx_desc) * RX_RING_SIZE @@ -3326,7 +3344,7 @@ static int __init vortex_init (void) static void __exit vortex_eisa_cleanup (void) { struct vortex_private *vp; - long ioaddr; + void __iomem *ioaddr; #ifdef CONFIG_EISA /* Take care of the EISA devices */ @@ -3335,11 +3353,13 @@ static void __exit vortex_eisa_cleanup ( if (compaq_net_device) { vp = compaq_net_device->priv; - ioaddr = compaq_net_device->base_addr; + ioaddr = ioport_map(compaq_net_device->base_addr, + VORTEX_TOTAL_SIZE); unregister_netdev (compaq_net_device); - outw (TotalReset, ioaddr + EL3_CMD); - release_region (ioaddr, VORTEX_TOTAL_SIZE); + iowrite16 (TotalReset, ioaddr + EL3_CMD); + release_region(compaq_net_device->base_addr, + VORTEX_TOTAL_SIZE); free_netdev (compaq_net_device); } jwltest-3c59x-resume-debug.patch: 3c59x.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+) --- NEW FILE jwltest-3c59x-resume-debug.patch --- --- linux-2.6.12/drivers/net/3c59x.c.orig 2005-07-05 14:31:33.215024067 -0400 +++ linux-2.6.12/drivers/net/3c59x.c 2005-07-05 14:31:20.407728199 -0400 @@ -979,6 +979,20 @@ static int vortex_suspend (struct pci_de static int vortex_resume (struct pci_dev *pdev) { struct net_device *dev = pci_get_drvdata(pdev); + int pm; + u16 pmcsr; + + pm = pci_find_capability(pdev, PCI_CAP_ID_PM); + if (pm) { + u16 state; + + printk (KERN_ERR PFX "Entering %s\n", __FUNCTION__); + pci_read_config_word(pdev, pm + PCI_PM_CTRL, &pmcsr); + state = pmcsr & PCI_PM_CTRL_STATE_MASK; + printk (KERN_ERR PFX "pdev->current_state %d\n", + pdev->current_state); + printk (KERN_ERR PFX "pmcsr state %d\n", state); + } if (dev && dev->priv) { if (netif_running(dev)) { @@ -986,6 +1000,18 @@ static int vortex_resume (struct pci_dev netif_device_attach(dev); } } + + if (pm) { + u16 state; + + printk (KERN_ERR PFX "Exiting %s\n", __FUNCTION__); + pci_read_config_word(pdev, pm + PCI_PM_CTRL, &pmcsr); + state = pmcsr & PCI_PM_CTRL_STATE_MASK; + printk (KERN_ERR PFX "pdev->current_state %d\n", + pdev->current_state); + printk (KERN_ERR PFX "pmcsr state %d\n", state); + } + return 0; } @@ -1576,9 +1602,27 @@ vortex_up(struct net_device *dev) struct vortex_private *vp = netdev_priv(dev); unsigned int config; int i; + int pm; + u16 pmcsr; if (VORTEX_PCI(vp)) { + printk (KERN_ERR PFX "Calling pci_enable_device\n"); pci_enable_device(VORTEX_PCI(vp)); + + pm = pci_find_capability(VORTEX_PCI(vp), PCI_CAP_ID_PM); + if (pm) { + u16 state; + + pci_read_config_word(VORTEX_PCI(vp), pm + PCI_PM_CTRL, + &pmcsr); + state = pmcsr & PCI_PM_CTRL_STATE_MASK; + printk (KERN_ERR PFX + "VORTEX_PCI(vp)->current_state %d\n", + VORTEX_PCI(vp)->current_state); + printk (KERN_ERR PFX "pmcsr state %d\n", state); + } + + printk (KERN_ERR PFX "Calling pci_restore_state\n"); pci_restore_state(VORTEX_PCI(vp)); } jwltest-3c59x-resume.patch: 3c59x.c | 14 ++++---------- 1 files changed, 4 insertions(+), 10 deletions(-) --- NEW FILE jwltest-3c59x-resume.patch --- --- linux-2.6.12/drivers/net/3c59x.c.orig 2005-07-01 17:04:31.254440604 -0400 +++ linux-2.6.12/drivers/net/3c59x.c 2005-07-01 17:26:11.163398335 -0400 @@ -795,7 +795,6 @@ struct vortex_private { partner_flow_ctrl:1, /* Partner supports flow control */ has_nway:1, enable_wol:1, /* Wake-on-LAN is enabled */ - pm_state_valid:1, /* pci_dev->saved_config_space has sane contents */ open:1, medialock:1, must_free_region:1, /* Flag: if zero, Cardbus owns the I/O region */ @@ -1523,7 +1522,6 @@ static int __devinit vortex_probe1(struc dev->poll_controller = poll_vortex; #endif if (pdev) { - vp->pm_state_valid = 1; pci_save_state(VORTEX_PCI(vp)); acpi_set_WOL(dev); } @@ -1580,10 +1578,8 @@ vortex_up(struct net_device *dev) int i; if (VORTEX_PCI(vp)) { - pci_set_power_state(VORTEX_PCI(vp), PCI_D0); /* Go active */ - if (vp->pm_state_valid) - pci_restore_state(VORTEX_PCI(vp)); pci_enable_device(VORTEX_PCI(vp)); + pci_restore_state(VORTEX_PCI(vp)); } /* Before initializing select the active media port. */ @@ -2742,7 +2738,6 @@ vortex_down(struct net_device *dev, int outl(0, ioaddr + DownListPtr); if (final_down && VORTEX_PCI(vp)) { - vp->pm_state_valid = 1; pci_save_state(VORTEX_PCI(vp)); acpi_set_WOL(dev); } @@ -3051,7 +3046,7 @@ static int vortex_ioctl(struct net_devic /* The kernel core really should have pci_get_power_state() */ if(state != 0) - pci_set_power_state(VORTEX_PCI(vp), PCI_D0); + pci_enable_device(VORTEX_PCI(vp)); spin_lock_irqsave(&vp->lock, flags); EL3WINDOW(4); err = generic_mii_ioctl(&vp->mii, if_mii(rq), cmd, NULL); @@ -3271,9 +3266,8 @@ static void __devexit vortex_remove_one unregister_netdev(dev); if (VORTEX_PCI(vp)) { - pci_set_power_state(VORTEX_PCI(vp), PCI_D0); /* Go active */ - if (vp->pm_state_valid) - pci_restore_state(VORTEX_PCI(vp)); + pci_enable_device(VORTEX_PCI(vp)); /* necessary */ + pci_restore_state(VORTEX_PCI(vp)); pci_disable_device(VORTEX_PCI(vp)); } /* Should really use issue_and_wait() here */ jwltest-8139too-resume.patch: 8139too.c | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) --- NEW FILE jwltest-8139too-resume.patch --- --- linux-2.6.13/drivers/net/8139too.c.orig 2005-10-04 15:34:39.497774524 -0400 +++ linux-2.6.13/drivers/net/8139too.c 2005-10-04 15:42:08.356105533 -0400 @@ -552,7 +552,8 @@ const static struct { { "RTL-8100B/8139D", HW_REVID(1, 1, 1, 0, 1, 0, 1), - HasLWake, + HasHltClk /* XXX undocumented? */ + | HasLWake, }, { "RTL-8101", @@ -2597,17 +2598,11 @@ static int rtl8139_suspend (struct pci_d static int rtl8139_resume (struct pci_dev *pdev) { struct net_device *dev = pci_get_drvdata (pdev); - struct rtl8139_private *tp = netdev_priv(dev); - void __iomem *ioaddr = tp->mmio_addr; pci_restore_state (pdev); if (!netif_running (dev)) return 0; pci_set_power_state (pdev, PCI_D0); - - /* Bring old chips out of low-power mode. */ - RTL_W8 (HltClk, 'R'); - rtl8139_init_ring (dev); rtl8139_hw_start (dev); netif_device_attach (dev); jwltest-acpi-dsdt-initrd.patch: drivers/acpi/Kconfig | 13 ++++ drivers/acpi/osl.c | 115 +++++++++++++++++++++++++++++++++++++------- drivers/acpi/tables/tbget.c | 8 ++- init/main.c | 16 +++--- 4 files changed, 126 insertions(+), 26 deletions(-) --- NEW FILE jwltest-acpi-dsdt-initrd.patch --- --- linux-2.6.12/drivers/acpi/Kconfig.orig 2005-06-17 15:48:29.000000000 -0400 +++ linux-2.6.12/drivers/acpi/Kconfig 2005-06-22 12:23:14.467811177 -0400 @@ -352,4 +352,17 @@ config ACPI_HOTPLUG_MEMORY $>modprobe acpi_memhotplug endif # ACPI +config ACPI_INITRD + bool "Read DSDT from initrd or initramfs" + depends on ACPI && BLK_DEV_INITRD && !ACPI_CUSTOM_DSDT + default n + help + The DSDT (Differentiated System Description Table) often needs to be + overridden because of broken BIOS implementations. If you want to use + a customized DSDT, please use the mkinitrd tool (mkinitrd package) to + attach the DSDT to the initrd or initramfs + (see http://gaugusch.at/kernel.shtml for details) + If there is no DSDT found in the initrd, the DSDT from the BIOS is + used. It is save to say yes here. + endmenu --- linux-2.6.12/drivers/acpi/osl.c.orig 2005-06-17 15:48:29.000000000 -0400 +++ linux-2.6.12/drivers/acpi/osl.c 2005-06-22 12:23:14.469810910 -0400 @@ -44,7 +44,10 @@ #include #include - +#ifdef CONFIG_ACPI_INITRD +#include +#include +#endif #define _COMPONENT ACPI_OS_SERVICES ACPI_MODULE_NAME ("osl") @@ -246,25 +249,105 @@ acpi_os_predefined_override (const struc return AE_OK; } -acpi_status -acpi_os_table_override (struct acpi_table_header *existing_table, - struct acpi_table_header **new_table) -{ - if (!existing_table || !new_table) - return AE_BAD_PARAMETER; +#ifdef CONFIG_ACPI_INITRD +static char * +acpi_find_dsdt_initrd(void) +{ + static const char signature[] = "INITRDDSDT123DSDT123"; + char *dsdt_start = NULL; + char *dsdt_buffer = NULL; + unsigned long len = 0, len2 = 0; + int fd; + char ramfs_dsdt_name[10] = "/DSDT.aml"; + struct kstat stat; + + /* try to get dsdt from tail of initrd */ + if ((fd = sys_open(ramfs_dsdt_name, O_RDONLY, 0)) < 0) { + if (initrd_start) { + char *data = (char *)initrd_start; + + printk(KERN_INFO PREFIX "Looking for DSDT in initrd..."); + + /* Search for the start signature */ + while (data < (char *)initrd_end - sizeof(signature) - 4) { + if (!memcmp(data, signature, sizeof(signature))) { + data += sizeof(signature); + if (!memcmp(data, "DSDT", 4)) + dsdt_start = data; + break; + } + data++; + } -#ifdef CONFIG_ACPI_CUSTOM_DSDT - if (strncmp(existing_table->signature, "DSDT", 4) == 0) - *new_table = (struct acpi_table_header*)AmlCode; - else + if (dsdt_start){ + printk(PREFIX " found at offset %zu", + dsdt_start - (char *)initrd_start); + len = (char*) initrd_end - dsdt_start; + printk(", size: %lu bytes\n", len); + dsdt_buffer = ACPI_MEM_ALLOCATE(len + 1); + memcpy(dsdt_buffer, dsdt_start, len); + *(dsdt_buffer + len + 1)= '\0'; + } + else + printk(" not found!\n"); + } + } + /* get dsdt from initramfs */ + else{ + printk(KERN_INFO PREFIX "Looking for DSDT in initramfs..."); + if (vfs_stat(ramfs_dsdt_name, &stat) < 0){ + printk ("error getting stats for file %s\n", ramfs_dsdt_name); + return NULL; + } + + len = stat.size; + dsdt_buffer = ACPI_MEM_ALLOCATE(len + 1); + if (!dsdt_buffer) { + printk("Could not allocate %lu bytes of memory\n", len); + return NULL; + } + printk (" found %s ...", ramfs_dsdt_name); + + len2 = sys_read (fd, (char __user *) dsdt_buffer, len); + if (len2 < len ){ + printk(PREFIX "\nError trying to read %lu bytes from %s\n", + len, ramfs_dsdt_name); + ACPI_MEM_FREE (dsdt_buffer); + dsdt_buffer = NULL; + } + else{ + printk(" successfully read %lu bytes from %s\n", + len, ramfs_dsdt_name); + *(dsdt_buffer + len + 1) = '\0'; + } + } + if (!dsdt_buffer) + printk(" not found!\n"); + return dsdt_buffer; +} +#endif + +acpi_status + acpi_os_table_override (struct acpi_table_header *existing_table, + struct acpi_table_header **new_table) + { + if (!existing_table || !new_table) + return AE_BAD_PARAMETER; + *new_table = NULL; -#else - *new_table = NULL; + if (strncmp(existing_table->signature, "DSDT", 4) == 0) { +#ifdef CONFIG_ACPI_CUSTOM_DSDT + *new_table = (struct acpi_table_header*)AmlCode; +#elif defined(CONFIG_ACPI_INITRD) + *new_table = (struct acpi_table_header*)acpi_find_dsdt_initrd(); #endif + if (*new_table) + printk(KERN_INFO PREFIX "Using customized DSDT\n"); + } return AE_OK; -} - -static irqreturn_t + } + + static irqreturn_t acpi_irq(int irq, void *dev_id, struct pt_regs *regs) { return (*acpi_irq_handler)(acpi_irq_context) ? IRQ_HANDLED : IRQ_NONE; --- linux-2.6.12/drivers/acpi/tables/tbget.c.orig 2005-06-17 15:48:29.000000000 -0400 +++ linux-2.6.12/drivers/acpi/tables/tbget.c 2005-06-22 12:23:14.471810644 -0400 @@ -45,7 +45,6 @@ #include #include - #define _COMPONENT ACPI_TABLES ACPI_MODULE_NAME ("tbget") @@ -287,12 +286,17 @@ acpi_tb_table_override ( acpi_format_exception (status))); return_ACPI_STATUS (status); } - + /* Copy the table info */ ACPI_REPORT_INFO (("Table [%4.4s] replaced by host OS\n", table_info->pointer->signature)); +#ifdef CONFIG_ACPI_INITRD + if (new_table) + ACPI_MEM_FREE(new_table); +#endif + return_ACPI_STATUS (AE_OK); } --- linux-2.6.12/init/main.c.orig 2005-06-22 12:16:17.014413511 -0400 +++ linux-2.6.12/init/main.c 2005-06-22 12:23:14.473810378 -0400 @@ -520,8 +520,6 @@ asmlinkage void __init start_kernel(void check_bugs(); - acpi_early_init(); /* before LAPIC and SMP init */ - /* Do the rest non-__init'ed, we're now alive */ rest_init(); } @@ -651,6 +649,14 @@ static int init(void * unused) */ child_reaper = current; + /* + * Do this before initcalls, because some drivers want to access + * firmware files. + */ + populate_rootfs(); + + acpi_early_init(); /* before LAPIC and SMP init */ + /* Sets up cpus_possible() */ smp_prepare_cpus(max_cpus); @@ -661,12 +667,6 @@ static int init(void * unused) cpuset_init_smp(); - /* - * Do this before initcalls, because some drivers want to access - * firmware files. - */ - populate_rootfs(); - do_basic_setup(); sched_init_smp(); jwltest-ipw2100-1_1_0.patch: Documentation/networking/README.ipw2100 | 162 drivers/net/wireless/Kconfig | 55 drivers/net/wireless/Makefile | 4 drivers/net/wireless/ieee80211/ieee80211.h | 85 drivers/net/wireless/ieee80211/ieee80211_crypt.c | 4 drivers/net/wireless/ieee80211/ieee80211_crypt.h | 6 drivers/net/wireless/ieee80211/ieee80211_crypt_ccmp.c | 3 drivers/net/wireless/ieee80211/ieee80211_crypt_tkip.c | 3 drivers/net/wireless/ieee80211/ieee80211_crypt_wep.c | 4 drivers/net/wireless/ieee80211/ieee80211_module.c | 50 drivers/net/wireless/ieee80211/ieee80211_rx.c | 226 drivers/net/wireless/ieee80211/ieee80211_tx.c | 113 drivers/net/wireless/ieee80211/ieee80211_wx.c | 148 drivers/net/wireless/ipw2100.c | 8649 +++++++++++++++++ drivers/net/wireless/ipw2100.h | 1278 ++ drivers/net/wireless/ipw2100/LICENSE | 339 drivers/net/wireless/ipw2100/Makefile | 15 drivers/net/wireless/ipw2100/ipw2100.c | 8972 ------------------ drivers/net/wireless/ipw2100/ipw2100.h | 1287 -- 19 files changed, 10409 insertions(+), 10994 deletions(-) --- NEW FILE jwltest-ipw2100-1_1_0.patch --- --- linux-2.6.12/Documentation/networking/README.ipw2100.orig 2005-06-22 13:38:36.756298804 -0400 +++ linux-2.6.12/Documentation/networking/README.ipw2100 2005-06-22 13:39:36.938279261 -0400 @@ -1,32 +1,59 @@ -Intel PRO/Wireless 2100 802.11b Driver for Linux +=========================== +Intel(R) PRO/Wireless 2100 Network Connection Driver for Linux README.ipw2100 -October 13, 2004 +March 14, 2005 +=========================== +Index +--------------------------- +0. Introduction +1. Release 1.1.0 Current Features +2. Command Line Parameters +3. Sysfs Helper Files +4. Radio Kill Switch +5. Dynamic Firmware +6. Power Management +7. Support +8. License -Release 0.56 Current Features + +=========================== +0. Introduction ------------ ----- ----- ---- --- -- - -- IBSS and BSS modes -- 802.11 fragmentation +This document provides a brief overview of the features supported by the +IPW2100 driver project. The main project website, where the latest +development version of the driver can be found, is: + + http://ipw2100.sourceforge.net + +There you can find the not only the latest releases, but also information about +potential fixes and patches, as well as links to the development mailing list +for the driver project. + + +=========================== +1. Release 1.1.0 Current Supported Features +--------------------------- +- Managed (BSS) and Ad-Hoc (IBSS) - WEP (shared key and open) -- wireless extension support -- 802.1x EAP via xsupplicant +- Wireless Tools support +- 802.1x (tested with XSupplicant 1.0.1) + +Enabled (but not supported) features: - Monitor/RFMon mode -- transmit power control -- long/short preamble support -- power states support (ACPI) +- WPA/WPA2 -TODO ------------- ----- ----- ---- --- -- - -- Fix bugs... The biggies: - C3 corruption - Fragmentation +The distinction between officially supported and enabled is a reflection +on the amount of validation and interoperability testing that has been +performed on a given feature. -Command Line Parameters ------------- ----- ----- ---- --- -- - +=========================== +2. Command Line Parameters +--------------------------- If the driver is built as a module, the following optional parameters are used by entering them on the command line with the modprobe command using this @@ -34,54 +61,82 @@ syntax: modprobe ipw2100 [ <_comment>font @@ -9,3 +9,20 @@ +@@ -684,7 +684,6 @@ + + + +- + + + <_comment>Adobe font metrics +@@ -730,6 +729,8 @@ + + + ++ ++ + + + <_comment>OpenType font Index: shared-mime-info.spec =================================================================== RCS file: /cvs/dist/rpms/shared-mime-info/devel/shared-mime-info.spec,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- shared-mime-info.spec 12 Oct 2005 14:54:45 -0000 1.24 +++ shared-mime-info.spec 18 Oct 2005 16:17:33 -0000 1.25 @@ -1,7 +1,7 @@ Summary: Shared MIME information database Name: shared-mime-info -Version: 0.16 -Release: 6 +Version: 0.16.cvs20051018 +Release: 1 License: GPL Group: System Environment/Libraries URL: http://freedesktop.org/Software/shared-mime-info @@ -62,6 +62,9 @@ %{_mandir}/man*/* %changelog +* Tue Oct 18 2005 Matthias Clasen - 0.16.cvs20051018-1 +- Incorporate upstream changes + * Wed Oct 12 2005 Matthias Clasen - 0.16-6 - Add glade to defaults.list Index: sources =================================================================== RCS file: /cvs/dist/rpms/shared-mime-info/devel/sources,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- sources 1 Apr 2005 19:40:03 -0000 1.5 +++ sources 18 Oct 2005 16:17:33 -0000 1.6 @@ -1 +1 @@ -255a20bae753ebd41e2286b01e7b86d0 shared-mime-info-0.16.tar.gz +420e23d75113dd4a241058d892f7ecf2 shared-mime-info-0.16.cvs20051018.tar.gz From fedora-cvs-commits at redhat.com Tue Oct 18 16:51:47 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 12:51:47 -0400 Subject: rpms/lftp/devel lftp.spec, 1.28, 1.29 sources, 1.17, 1.18 .cvsignore, 1.17, 1.18 Message-ID: <200510181651.j9IGplva000820@cvs.devel.redhat.com> Author: jvdias Update of /cvs/dist/rpms/lftp/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv769 Modified Files: lftp.spec sources .cvsignore Log Message: fix bug 171096 Index: lftp.spec =================================================================== RCS file: /cvs/dist/rpms/lftp/devel/lftp.spec,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- lftp.spec 15 Oct 2005 16:11:55 -0000 1.28 +++ lftp.spec 18 Oct 2005 16:51:43 -0000 1.29 @@ -1,13 +1,12 @@ Summary: A sophisticated file transfer program Name: lftp -Version: 3.3.1 +Version: 3.3.2 Release: 1 License: GPL Group: Applications/Internet -Source0: http://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/lftp-%{version}.tar.gz -#Source1: http://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/lftp-%{version}.tar.bz2.asc -#Source2: http://search.cpan.org/CPAN/authors/id/S/SO/SOENKE/String-CRC32-1.3.tar.gz -Source2: String-CRC32-1.3.tar.gz +Source0: http://ftp.yars.free.net/lftp/lftp-3.3.1.tar.gz +Source1: http://search.cpan.org/CPAN/authors/id/S/SO/SOENKE/String-CRC32-1.3.tar.gz +Source2: http://ftp.yars.free.net/lftp/lftp-3.3.1-3.3.2.diff.gz URL: http://lftp.yar.ru/ BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildPrereq: ncurses-devel, openssl-devel, pkgconfig, readline-devel, perl @@ -20,7 +19,9 @@ reliability in mind. %prep -%setup -q +%setup -q -n lftp-3.3.1 +gunzip < %SOURCE2 > lftp-3.3.1-3.3.2.patch +patch -p1 -b --suffix=.3.3.2 -s < lftp-3.3.1-3.3.2.patch %build if pkg-config openssl ; then @@ -31,7 +32,7 @@ %configure --with-modules --disable-static --with-ssl --with-debug export tagname=CC make LIBTOOL=%{_bindir}/libtool -gunzip < %SOURCE2 | tar -xpf - +gunzip < %SOURCE1 | tar -xpf - pushd String-CRC32-1.3 CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT%{_prefix} < /dev/null make OPTIMIZE="$RPM_OPT_FLAGS" @@ -84,10 +85,19 @@ %{_libdir}/lftp/%{version}/proto-sftp.so %changelog -* Sat Oct 15 2005 Florian La Roche +* Tue Oct 18 2005 Jason Vas Dias - 3.3.2-1 +- *** PLEASE COULD ANYONE MODIFYING lftp TEST IT BEFORE SUBMITTING! *** + (and preferably contact me first - thank you!) + bug 171096 : 'mget files in lftp causes abort' (core dump actually) + resulted from not doing so . + See http://lftp.yar.ru: + Recent events: + 2005-10-17: lftp-3.3.2 released. Fixed a coredump caused by double-free. + +* Sat Oct 15 2005 Florian La Roche - 3.3.1-1 - 3.3.1 -* Wed Aug 24 2005 Jason Vas Dias 3.3.0-1 +* Wed Aug 24 2005 Jason Vas Dias - 3.3.0-1 - Upgrade to upstream version 3.3.0 * Mon Aug 8 2005 Tomas Mraz - 3.2.1-2 Index: sources =================================================================== RCS file: /cvs/dist/rpms/lftp/devel/sources,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- sources 15 Oct 2005 16:08:52 -0000 1.17 +++ sources 18 Oct 2005 16:51:43 -0000 1.18 @@ -1,2 +1,3 @@ 7683cd1b183a6af807f20ee5fd076d0b String-CRC32-1.3.tar.gz bc938b38acf61e8a9f40ceca32eefb05 lftp-3.3.1.tar.gz +c3a2e51cafa153e84c13ec413330439b lftp-3.3.1-3.3.2.diff.gz Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/lftp/devel/.cvsignore,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- .cvsignore 15 Oct 2005 16:08:52 -0000 1.17 +++ .cvsignore 18 Oct 2005 16:51:43 -0000 1.18 @@ -3,3 +3,5 @@ lftp-3.3.0.tar.bz2.asc String-CRC32-1.3.tar.gz lftp-3.3.1.tar.gz +lftp-3.2.1.tar.bz2.asc +lftp-3.3.1-3.3.2.diff.gz From fedora-cvs-commits at redhat.com Tue Oct 18 16:52:46 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 12:52:46 -0400 Subject: rpms/lftp/devel lftp.spec,1.29,1.30 Message-ID: <200510181652.j9IGqkDf001487@cvs.devel.redhat.com> Author: jvdias Update of /cvs/dist/rpms/lftp/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv1407 Modified Files: lftp.spec Log Message: fix bug 171096 Index: lftp.spec =================================================================== RCS file: /cvs/dist/rpms/lftp/devel/lftp.spec,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- lftp.spec 18 Oct 2005 16:51:43 -0000 1.29 +++ lftp.spec 18 Oct 2005 16:52:38 -0000 1.30 @@ -87,10 +87,10 @@ %changelog * Tue Oct 18 2005 Jason Vas Dias - 3.3.2-1 - *** PLEASE COULD ANYONE MODIFYING lftp TEST IT BEFORE SUBMITTING! *** - (and preferably contact me first - thank you!) + (and preferably contact the lftp package maintainer (me) first - thank you!) bug 171096 : 'mget files in lftp causes abort' (core dump actually) resulted from not doing so . - See http://lftp.yar.ru: + See http://lftp.yar.ru : Recent events: 2005-10-17: lftp-3.3.2 released. Fixed a coredump caused by double-free. From fedora-cvs-commits at redhat.com Tue Oct 18 17:06:02 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 13:06:02 -0400 Subject: rpms/gdm/devel gdm-2.8.0.2-process-all-messages.patch, 1.1, 1.2 gdm.spec, 1.98, 1.99 Message-ID: <200510181706.j9IH621l004564@cvs.devel.redhat.com> Author: rstrode Update of /cvs/dist/rpms/gdm/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv4499 Modified Files: gdm-2.8.0.2-process-all-messages.patch gdm.spec Log Message: - zero-initialize message buffer, bug fixed by Josh Parson (jbparsons at usdavis.edu) (bug 160603) - fix typo in redhat-artwork requires line gdm-2.8.0.2-process-all-messages.patch: daemon/gdm.h | 1 daemon/slave.c | 4 gui/greeter/greeter.c | 717 ++++++++++++++++++++++++++++---------------------- 3 files changed, 410 insertions(+), 312 deletions(-) Index: gdm-2.8.0.2-process-all-messages.patch =================================================================== RCS file: /cvs/dist/rpms/gdm/devel/gdm-2.8.0.2-process-all-messages.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- gdm-2.8.0.2-process-all-messages.patch 19 Aug 2005 21:36:39 -0000 1.1 +++ gdm-2.8.0.2-process-all-messages.patch 18 Oct 2005 17:05:22 -0000 1.2 @@ -743,7 +743,7 @@ + GIOCondition cond, + gint fd) +{ -+ gchar buf[PIPE_SIZE]; ++ gchar buf[PIPE_SIZE] = '\0'; + gsize len; + + /* If this is not incoming i/o then return */ Index: gdm.spec =================================================================== RCS file: /cvs/dist/rpms/gdm/devel/gdm.spec,v retrieving revision 1.98 retrieving revision 1.99 diff -u -r1.98 -r1.99 --- gdm.spec 17 Oct 2005 21:18:41 -0000 1.98 +++ gdm.spec 18 Oct 2005 17:05:35 -0000 1.99 @@ -15,7 +15,7 @@ Summary: The GNOME Display Manager. Name: gdm Version: 2.8.0.4 -Release: 6 +Release: 7 Epoch: 1 License: LGPL/GPL Group: User Interface/X @@ -59,7 +59,7 @@ Requires: xinitrc >= 0:3.33-1 Requires: xsri >= 1:2.0.2 Requires: /sbin/nologin -Requires: redhat-artwork >= 0:0.129-20 +Requires: redhat-artwork >= 0:0.129-2 Requires: /usr/share/desktop-menu-patches/gnome-gdmsetup.desktop BuildRequires: scrollkeeper >= 0:%{scrollkeeper_version} BuildRequires: pango-devel >= 0:%{pango_version} @@ -270,6 +270,11 @@ %attr(1770, root, gdm) %dir %{_localstatedir}/gdm %changelog +* Tue Oct 18 2005 Ray Strode 1:2.8.0.4-7 +- zero-initialize message buffer, + bug fixed by Josh Parson (jbparsons at usdavis.edu) (bug 160603) +- fix typo in redhat-artwork requires line + * Mon Oct 17 2005 Steve Grubb 1:2.8.0.4-6 - add login audit patch (bug 170569) From fedora-cvs-commits at redhat.com Tue Oct 18 17:17:24 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 13:17:24 -0400 Subject: rpms/mkinitrd/devel .cvsignore, 1.75, 1.76 mkinitrd.spec, 1.79, 1.80 sources, 1.80, 1.81 Message-ID: <200510181717.j9IHHOWY006825@cvs.devel.redhat.com> Author: pjones Update of /cvs/dist/rpms/mkinitrd/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv6723 Modified Files: .cvsignore mkinitrd.spec sources Log Message: update to 5.0.6-1 Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/mkinitrd/devel/.cvsignore,v retrieving revision 1.75 retrieving revision 1.76 diff -u -r1.75 -r1.76 --- .cvsignore 17 Oct 2005 20:49:29 -0000 1.75 +++ .cvsignore 18 Oct 2005 17:17:20 -0000 1.76 @@ -1 +1 @@ -mkinitrd-5.0.5.tar.bz2 +mkinitrd-5.0.6.tar.bz2 Index: mkinitrd.spec =================================================================== RCS file: /cvs/dist/rpms/mkinitrd/devel/mkinitrd.spec,v retrieving revision 1.79 retrieving revision 1.80 diff -u -r1.79 -r1.80 --- mkinitrd.spec 17 Oct 2005 20:49:30 -0000 1.79 +++ mkinitrd.spec 18 Oct 2005 17:17:20 -0000 1.80 @@ -1,6 +1,6 @@ Summary: Creates an initial ramdisk image for preloading modules. Name: mkinitrd -Version: 5.0.5 +Version: 5.0.6 Release: 1 License: GPL Group: System Environment/Base @@ -57,6 +57,9 @@ %attr(644,root,root) %{_mandir}/man8/grubby.8* %changelog +* Tue Oct 18 2005 - 5.0.6-1 +- make lvm work again + * Mon Oct 17 2005 Peter Jones - 5.0.5-1 - make PROBE, MODULES, and PREMODS load defaults from a config file - get rid of support for not using a dynamic /dev Index: sources =================================================================== RCS file: /cvs/dist/rpms/mkinitrd/devel/sources,v retrieving revision 1.80 retrieving revision 1.81 diff -u -r1.80 -r1.81 --- sources 17 Oct 2005 20:49:30 -0000 1.80 +++ sources 18 Oct 2005 17:17:20 -0000 1.81 @@ -1 +1 @@ -fdc046a1c49368fd434c92f3f7f0329e mkinitrd-5.0.5.tar.bz2 +b57e43460b78e37a14b9f928439ea8a4 mkinitrd-5.0.6.tar.bz2 From fedora-cvs-commits at redhat.com Tue Oct 18 17:32:55 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 13:32:55 -0400 Subject: rpms/gdm/devel gdm-2.8.0.2-process-all-messages.patch,1.2,1.3 Message-ID: <200510181732.j9IHWtee014315@cvs.devel.redhat.com> Author: rstrode Update of /cvs/dist/rpms/gdm/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv14272 Modified Files: gdm-2.8.0.2-process-all-messages.patch Log Message: use the right initializer...grrr gdm-2.8.0.2-process-all-messages.patch: daemon/gdm.h | 1 daemon/slave.c | 4 gui/greeter/greeter.c | 717 ++++++++++++++++++++++++++++---------------------- 3 files changed, 410 insertions(+), 312 deletions(-) Index: gdm-2.8.0.2-process-all-messages.patch =================================================================== RCS file: /cvs/dist/rpms/gdm/devel/gdm-2.8.0.2-process-all-messages.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- gdm-2.8.0.2-process-all-messages.patch 18 Oct 2005 17:05:22 -0000 1.2 +++ gdm-2.8.0.2-process-all-messages.patch 18 Oct 2005 17:32:23 -0000 1.3 @@ -743,7 +743,7 @@ + GIOCondition cond, + gint fd) +{ -+ gchar buf[PIPE_SIZE] = '\0'; ++ gchar buf[PIPE_SIZE] = ""; + gsize len; + + /* If this is not incoming i/o then return */ From fedora-cvs-commits at redhat.com Tue Oct 18 17:43:57 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 13:43:57 -0400 Subject: rpms/libsepol/devel .cvsignore, 1.57, 1.58 libsepol.spec, 1.76, 1.77 sources, 1.58, 1.59 Message-ID: <200510181743.j9IHhvvY015692@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libsepol/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv15649 Modified Files: .cvsignore libsepol.spec sources Log Message: * Tue Oct 18 2005 Dan Walsh 1.9.19-1 - Upgrade to latest from NSA * Changed sepol_module_package_set_file_contexts to copy the file contexts data since it is internally managed. * Added sepol_policy_file_set_handle interface to associate a handle with a policy file. * Added handle argument to policydb_from_image/to_image. * Added sepol_module_package_set_file_contexts interface. * Dropped sepol_module_package_create_file interface. * Reworked policydb_read/write, policydb_from_image/to_image, and sepol_module_package_read/write to use callback-based error reporting system rather than DEBUG. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/libsepol/devel/.cvsignore,v retrieving revision 1.57 retrieving revision 1.58 diff -u -r1.57 -r1.58 --- .cvsignore 18 Oct 2005 13:37:22 -0000 1.57 +++ .cvsignore 18 Oct 2005 17:43:53 -0000 1.58 @@ -54,3 +54,4 @@ libsepol-1.9.17.tgz libsepol-1.9.18.tgz libsepol-1.9.19.tgz +libsepol-1.9.21.tgz Index: libsepol.spec =================================================================== RCS file: /cvs/dist/rpms/libsepol/devel/libsepol.spec,v retrieving revision 1.76 retrieving revision 1.77 diff -u -r1.76 -r1.77 --- libsepol.spec 18 Oct 2005 13:37:22 -0000 1.76 +++ libsepol.spec 18 Oct 2005 17:43:53 -0000 1.77 @@ -1,6 +1,6 @@ Summary: SELinux binary policy manipulation library Name: libsepol -Version: 1.9.19 +Version: 1.9.21 Release: 1 License: GPL Group: System Environment/Libraries @@ -81,6 +81,19 @@ %changelog * Tue Oct 18 2005 Dan Walsh 1.9.19-1 - Upgrade to latest from NSA + * Changed sepol_module_package_set_file_contexts to copy the + file contexts data since it is internally managed. + * Added sepol_policy_file_set_handle interface to associate + a handle with a policy file. + * Added handle argument to policydb_from_image/to_image. + * Added sepol_module_package_set_file_contexts interface. + * Dropped sepol_module_package_create_file interface. + * Reworked policydb_read/write, policydb_from_image/to_image, + and sepol_module_package_read/write to use callback-based error + reporting system rather than DEBUG. + +* Tue Oct 18 2005 Dan Walsh 1.9.19-1 +- Upgrade to latest from NSA * Reworked link_packages, link_modules, and expand_module to use callback-based error reporting system rather than error buffering. Index: sources =================================================================== RCS file: /cvs/dist/rpms/libsepol/devel/sources,v retrieving revision 1.58 retrieving revision 1.59 diff -u -r1.58 -r1.59 --- sources 18 Oct 2005 13:37:22 -0000 1.58 +++ sources 18 Oct 2005 17:43:53 -0000 1.59 @@ -1 +1 @@ -67588df7b4116f0fdb5d0236ec1ed386 libsepol-1.9.19.tgz +774427219df3498c5485e61d8803d733 libsepol-1.9.21.tgz From fedora-cvs-commits at redhat.com Tue Oct 18 17:54:51 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 13:54:51 -0400 Subject: rpms/mozilla/devel mozilla.spec,1.77,1.78 sources,1.32,1.33 Message-ID: <200510181754.j9IHspWG021816@cvs.devel.redhat.com> Author: caillon Update of /cvs/dist/rpms/mozilla/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv21763 Modified Files: mozilla.spec sources Log Message: * Tue Oct 18 2005 Christopher Aillon 37:1.7.12-2 - Update to 1.7.12, containing fixes for: CAN-2005-2701 CAN-2005-2702 CAN-2005-2703 CAN-2005-2704 CAN-2005-2705 CAN-2005-2706 CAN-2005-2707 CAN-2005-2968 Index: mozilla.spec =================================================================== RCS file: /cvs/dist/rpms/mozilla/devel/mozilla.spec,v retrieving revision 1.77 retrieving revision 1.78 diff -u -r1.77 -r1.78 --- mozilla.spec 15 Sep 2005 00:55:58 -0000 1.77 +++ mozilla.spec 18 Oct 2005 17:54:45 -0000 1.78 @@ -9,8 +9,8 @@ Name: mozilla Summary: Web browser and mail reader -Version: 1.7.11 -Release: 5 +Version: 1.7.12 +Release: 2 Epoch: 37 License: MPL/NPL/GPL/LGPL Source0: mozilla-%{version}-source.tar.bz2 @@ -800,6 +800,11 @@ %{mozdir}/xpt_link %changelog +* Tue Oct 18 2005 Christopher Aillon 37:1.7.12-2 +- Update to 1.7.12, containing fixes for: + CAN-2005-2701 CAN-2005-2702 CAN-2005-2703 CAN-2005-2704 + CAN-2005-2705 CAN-2005-2706 CAN-2005-2707 CAN-2005-2968 + * Wed Sep 14 2005 Jeremy Katz - 37:1.7.11-5 - hey, it builds on ppc64 again... Index: sources =================================================================== RCS file: /cvs/dist/rpms/mozilla/devel/sources,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- sources 30 Jul 2005 22:08:10 -0000 1.32 +++ sources 18 Oct 2005 17:54:45 -0000 1.33 @@ -1 +1 @@ -c40e4d1a445cc31897462982c2aec333 mozilla-1.7.11-source.tar.bz2 +cdcc567fdf6338e07cbbd6bb801e0b69 mozilla-1.7.12-source.tar.bz2 From fedora-cvs-commits at redhat.com Tue Oct 18 17:58:16 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 13:58:16 -0400 Subject: rpms/libsemanage/devel .cvsignore, 1.17, 1.18 libsemanage.spec, 1.21, 1.22 sources, 1.18, 1.19 Message-ID: <200510181758.j9IHwGHu023366@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libsemanage/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv23309 Modified Files: .cvsignore libsemanage.spec sources Log Message: * Tue Oct 17 2005 Dan Walsh 1.3.20-1 - Update from NSA * Changed default args for load_policy to be null, as it no longer takes a pathname argument and we want to preserve booleans. * Merged move local dbase initialization patch from Ivan Gyurdiev. * Merged acquire/release read lock in databases patch from Ivan Gyurdiev. * Merged rename direct -> policydb as appropriate patch from Ivan Gyurdiev. * Added calls to sepol_policy_file_set_handle interface prior to invoking sepol operations on policy files. * Updated call to sepol_policydb_from_image to pass the handle. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/.cvsignore,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- .cvsignore 18 Oct 2005 13:47:26 -0000 1.17 +++ .cvsignore 18 Oct 2005 17:58:12 -0000 1.18 @@ -14,3 +14,4 @@ libsemanage-1.3.14.tgz libsemanage-1.3.18.tgz libsemanage-1.3.20.tgz +libsemanage-1.3.23.tgz Index: libsemanage.spec =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/libsemanage.spec,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- libsemanage.spec 18 Oct 2005 13:47:26 -0000 1.21 +++ libsemanage.spec 18 Oct 2005 17:58:12 -0000 1.22 @@ -1,7 +1,7 @@ -%define libsepolver 1.9.19-1 +%define libsepolver 1.9.21-1 Summary: SELinux binary policy manipulation library Name: libsemanage -Version: 1.3.20 +Version: 1.3.23 Release: 1 License: GPL Group: System Environment/Libraries @@ -68,6 +68,17 @@ %changelog * Tue Oct 17 2005 Dan Walsh 1.3.20-1 - Update from NSA + * Changed default args for load_policy to be null, as it no longer + takes a pathname argument and we want to preserve booleans. + * Merged move local dbase initialization patch from Ivan Gyurdiev. + * Merged acquire/release read lock in databases patch from Ivan Gyurdiev. + * Merged rename direct -> policydb as appropriate patch from Ivan Gyurdiev. + * Added calls to sepol_policy_file_set_handle interface prior + to invoking sepol operations on policy files. + * Updated call to sepol_policydb_from_image to pass the handle. + +* Tue Oct 17 2005 Dan Walsh 1.3.20-1 +- Update from NSA * Merged user and port APIs - policy database patch from Ivan Gyurdiev. * Converted calls to sepol link_packages and expand_module interfaces Index: sources =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/sources,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- sources 18 Oct 2005 13:47:26 -0000 1.18 +++ sources 18 Oct 2005 17:58:12 -0000 1.19 @@ -1 +1 @@ -a28c451018a6ec6cddbd3de23836572a libsemanage-1.3.20.tgz +d2f2e756a70a7a43ae323faf3634a029 libsemanage-1.3.23.tgz From fedora-cvs-commits at redhat.com Tue Oct 18 18:22:57 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 14:22:57 -0400 Subject: rpms/selinux-policy-targeted/FC-4 policy-20050916.patch, 1.10, 1.11 selinux-policy-targeted.spec, 1.343, 1.344 Message-ID: <200510181822.j9IIMvBi031113@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-targeted/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv30972 Modified Files: policy-20050916.patch selinux-policy-targeted.spec Log Message: * Mon Oct 17 2005 Dan Walsh 1.27.1-2.8 - Fix gssd policy-20050916.patch: Makefile | 24 +-- attrib.te | 35 ++++ domains/misc/kernel.te | 2 domains/program/crond.te | 2 domains/program/fsadm.te | 7 domains/program/hostname.te | 2 domains/program/ifconfig.te | 5 domains/program/initrc.te | 20 ++ domains/program/ldconfig.te | 3 domains/program/load_policy.te | 7 domains/program/login.te | 21 +- domains/program/modutil.te | 14 + domains/program/mount.te | 6 domains/program/netutils.te | 3 domains/program/newrole.te | 4 domains/program/passwd.te | 1 domains/program/restorecon.te | 3 domains/program/setfiles.te | 4 domains/program/ssh.te | 6 domains/program/su.te | 9 + domains/program/syslogd.te | 6 domains/program/unused/NetworkManager.te | 8 - domains/program/unused/alsa.te | 2 domains/program/unused/amanda.te | 74 ++-------- domains/program/unused/anaconda.te | 5 domains/program/unused/apache.te | 22 ++- domains/program/unused/apmd.te | 13 + domains/program/unused/auditd.te | 2 domains/program/unused/automount.te | 4 domains/program/unused/bluetooth.te | 72 +++++++++ domains/program/unused/cups.te | 18 +- domains/program/unused/cvs.te | 3 domains/program/unused/cyrus.te | 2 domains/program/unused/dbusd.te | 4 domains/program/unused/dcc.te | 5 domains/program/unused/dhcpc.te | 5 domains/program/unused/dhcpd.te | 3 domains/program/unused/dovecot.te | 4 domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/hwclock.te | 2 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 5 domains/program/unused/mta.te | 8 + domains/program/unused/mysqld.te | 6 domains/program/unused/named.te | 29 +++ domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 10 - domains/program/unused/openct.te | 16 ++ domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 37 +++++ domains/program/unused/ping.te | 3 domains/program/unused/postfix.te | 57 ++++--- domains/program/unused/pppd.te | 8 - domains/program/unused/procmail.te | 11 + domains/program/unused/readahead.te | 21 ++ domains/program/unused/rlogind.te | 4 domains/program/unused/roundup.te | 29 +++ domains/program/unused/rpcd.te | 18 ++ domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 12 + domains/program/unused/snmpd.te | 6 domains/program/unused/squid.te | 3 domains/program/unused/udev.te | 10 + domains/program/unused/utempter.te | 2 domains/program/unused/webalizer.te | 3 domains/program/unused/winbind.te | 1 domains/program/unused/xdm.te | 3 domains/program/unused/yppasswdd.te | 40 +++++ domains/program/unused/ypserv.te | 1 domains/program/useradd.te | 5 file_contexts/distros.fc | 2 file_contexts/program/apache.fc | 2 file_contexts/program/bluetooth.fc | 3 file_contexts/program/dhcpc.fc | 2 file_contexts/program/dhcpd.fc | 5 file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 11 + file_contexts/program/ipsec.fc | 1 file_contexts/program/openct.fc | 2 file_contexts/program/pegasus.fc | 11 + file_contexts/program/pppd.fc | 2 file_contexts/program/readahead.fc | 1 file_contexts/program/roundup.fc | 2 file_contexts/program/rpm.fc | 4 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/xdm.fc | 2 file_contexts/program/yppasswdd.fc | 2 file_contexts/program/ypserv.fc | 1 file_contexts/types.fc | 4 genfs_contexts | 3 macros/base_user_macros.te | 6 macros/core_macros.te | 3 macros/global_macros.te | 18 +- macros/network_macros.te | 17 ++ macros/program/apache_macros.te | 13 + macros/program/bonobo_macros.te | 2 macros/program/cdrecord_macros.te | 2 macros/program/crontab_macros.te | 2 macros/program/dbusd_macros.te | 4 macros/program/gconf_macros.te | 2 macros/program/gift_macros.te | 2 macros/program/gpg_macros.te | 2 macros/program/i18n_input_macros.te | 21 ++ macros/program/lpr_macros.te | 2 macros/program/mta_macros.te | 4 macros/program/newrole_macros.te | 2 macros/program/pyzor_macros.te | 2 macros/program/razor_macros.te | 2 macros/program/su_macros.te | 4 macros/program/uml_macros.te | 2 macros/program/xdm_macros.te | 2 macros/user_macros.te | 6 man/man8/ftpd_selinux.8 | 19 +- man/man8/httpd_selinux.8 | 9 + man/man8/rsync_selinux.8 | 12 + man/man8/samba_selinux.8 | 9 + mcs | 210 ++++++++++------------------ mls | 227 +++++++++++-------------------- net_contexts | 8 - targeted/appconfig/root_default_contexts | 4 targeted/assert.te | 2 targeted/domains/program/ssh.te | 3 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 15 ++ tunables/distro.tun | 2 tunables/tunable.tun | 4 types/device.te | 4 types/devpts.te | 4 types/file.te | 18 +- types/network.te | 13 - types/security.te | 5 135 files changed, 1030 insertions(+), 537 deletions(-) Index: policy-20050916.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/FC-4/policy-20050916.patch,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- policy-20050916.patch 17 Oct 2005 19:58:15 -0000 1.10 +++ policy-20050916.patch 18 Oct 2005 18:22:53 -0000 1.11 @@ -142,7 +142,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/initrc.te policy-1.27.1/domains/program/initrc.te --- nsapolicy/domains/program/initrc.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/initrc.te 2005-10-17 15:57:56.000000000 -0400 ++++ policy-1.27.1/domains/program/initrc.te 2005-10-18 14:19:49.000000000 -0400 @@ -56,6 +56,10 @@ can_create_pty(initrc) @@ -171,7 +171,7 @@ ')dnl end distro_redhat allow initrc_t system_map_t:{ file lnk_file } r_file_perms; -@@ -322,3 +334,10 @@ +@@ -322,3 +334,9 @@ ifdef(`dbusd.te', ` allow initrc_t system_dbusd_var_run_t:sock_file write; ') @@ -181,7 +181,6 @@ +ifdef(`use_mcs', ` +range_transition sysadm_t initrc_exec_t s0; +') -+ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/ldconfig.te policy-1.27.1/domains/program/ldconfig.te --- nsapolicy/domains/program/ldconfig.te 2005-09-16 11:17:27.000000000 -0400 +++ policy-1.27.1/domains/program/ldconfig.te 2005-10-17 15:45:51.000000000 -0400 @@ -485,7 +484,7 @@ allow syslogd_t self:capability { dac_override net_admin net_bind_service sys_resource sys_tty_config }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/alsa.te policy-1.27.1/domains/program/unused/alsa.te --- nsapolicy/domains/program/unused/alsa.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/alsa.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/alsa.te 2005-10-18 14:20:13.000000000 -0400 @@ -11,6 +11,8 @@ allow alsa_t self:unix_stream_socket create_stream_socket_perms; allow alsa_t self:unix_dgram_socket create_socket_perms; @@ -497,7 +496,7 @@ allow alsa_t self:capability { setgid setuid ipc_owner }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/amanda.te policy-1.27.1/domains/program/unused/amanda.te --- nsapolicy/domains/program/unused/amanda.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/amanda.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/amanda.te 2005-10-18 14:20:13.000000000 -0400 @@ -84,7 +84,6 @@ # configuration files -> read only @@ -659,7 +658,7 @@ +allow amanda_t file_type:fifo_file getattr; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/anaconda.te policy-1.27.1/domains/program/unused/anaconda.te --- nsapolicy/domains/program/unused/anaconda.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/anaconda.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/anaconda.te 2005-10-18 14:20:13.000000000 -0400 @@ -17,11 +17,6 @@ role system_r types ldconfig_t; domain_auto_trans(anaconda_t, ldconfig_exec_t, ldconfig_t) @@ -674,7 +673,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/apache.te policy-1.27.1/domains/program/unused/apache.te --- nsapolicy/domains/program/unused/apache.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/apache.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/apache.te 2005-10-18 14:20:13.000000000 -0400 @@ -113,9 +113,12 @@ can_network_server(httpd_t) can_kerberos(httpd_t) @@ -738,7 +737,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/apmd.te policy-1.27.1/domains/program/unused/apmd.te --- nsapolicy/domains/program/unused/apmd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/apmd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/apmd.te 2005-10-18 14:20:13.000000000 -0400 @@ -47,6 +47,7 @@ # acpid also has a logfile @@ -765,7 +764,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/auditd.te policy-1.27.1/domains/program/unused/auditd.te --- nsapolicy/domains/program/unused/auditd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/auditd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/auditd.te 2005-10-18 14:20:13.000000000 -0400 @@ -65,3 +65,5 @@ allow auditctl_t privfd:fd use; @@ -774,7 +773,7 @@ +can_exec(auditd_t, sbin_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/automount.te policy-1.27.1/domains/program/unused/automount.te --- nsapolicy/domains/program/unused/automount.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/automount.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/automount.te 2005-10-18 14:20:13.000000000 -0400 @@ -34,7 +34,9 @@ can_exec(automount_t, { etc_t automount_etc_t }) @@ -800,7 +799,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/bluetooth.te policy-1.27.1/domains/program/unused/bluetooth.te --- nsapolicy/domains/program/unused/bluetooth.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/bluetooth.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/bluetooth.te 2005-10-18 14:20:13.000000000 -0400 @@ -11,16 +11,23 @@ daemon_domain(bluetooth) @@ -903,7 +902,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/cups.te policy-1.27.1/domains/program/unused/cups.te --- nsapolicy/domains/program/unused/cups.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/cups.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/cups.te 2005-10-18 14:20:13.000000000 -0400 @@ -188,6 +188,7 @@ # Uses networking to talk to the daemons allow hplip_t self:unix_dgram_socket create_socket_perms; @@ -968,7 +967,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/cvs.te policy-1.27.1/domains/program/unused/cvs.te --- nsapolicy/domains/program/unused/cvs.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/cvs.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/cvs.te 2005-10-18 14:20:13.000000000 -0400 @@ -23,6 +23,9 @@ allow cvs_t etc_runtime_t:file { getattr read }; allow system_mail_t cvs_data_t:file { getattr read }; @@ -981,7 +980,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/cyrus.te policy-1.27.1/domains/program/unused/cyrus.te --- nsapolicy/domains/program/unused/cyrus.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/cyrus.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/cyrus.te 2005-10-18 14:20:13.000000000 -0400 @@ -42,7 +42,7 @@ create_dir_file(cyrus_t, mail_spool_t) allow cyrus_t var_spool_t:dir search; @@ -993,7 +992,7 @@ allow cyrus_t saslauthd_t:unix_stream_socket { connectto }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dbusd.te policy-1.27.1/domains/program/unused/dbusd.te --- nsapolicy/domains/program/unused/dbusd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dbusd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dbusd.te 2005-10-18 14:20:13.000000000 -0400 @@ -12,7 +12,7 @@ # dac_override: /var/run/dbus is owned by messagebus on Debian @@ -1011,7 +1010,7 @@ +allow system_dbusd_t self:netlink_audit_socket { create_netlink_socket_perms nlmsg_relay }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dcc.te policy-1.27.1/domains/program/unused/dcc.te --- nsapolicy/domains/program/unused/dcc.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dcc.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dcc.te 2005-10-18 14:20:13.000000000 -0400 @@ -200,9 +200,8 @@ can_exec_any(dcc_script_t) dcc_common(dcc_script) @@ -1026,7 +1025,7 @@ # the dcc user (even though the default dcc user is root). diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dhcpc.te policy-1.27.1/domains/program/unused/dhcpc.te --- nsapolicy/domains/program/unused/dhcpc.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dhcpc.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dhcpc.te 2005-10-18 14:20:13.000000000 -0400 @@ -120,6 +120,7 @@ allow dhcpc_t self:packet_socket create_socket_perms; allow dhcpc_t var_lib_t:dir search; @@ -1060,7 +1059,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dhcpd.te policy-1.27.1/domains/program/unused/dhcpd.te --- nsapolicy/domains/program/unused/dhcpd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dhcpd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dhcpd.te 2005-10-18 14:20:13.000000000 -0400 @@ -17,8 +17,6 @@ # daemon_domain(dhcpd, `, nscd_client_domain') @@ -1080,7 +1079,7 @@ allow dhcpd_t self:unix_stream_socket create_socket_perms; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dovecot.te policy-1.27.1/domains/program/unused/dovecot.te --- nsapolicy/domains/program/unused/dovecot.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dovecot.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dovecot.te 2005-10-18 14:20:13.000000000 -0400 @@ -43,7 +43,9 @@ can_kerberos(dovecot_t) @@ -1094,7 +1093,7 @@ allow dovecot_t mail_spool_t:lnk_file read; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ftpd.te policy-1.27.1/domains/program/unused/ftpd.te --- nsapolicy/domains/program/unused/ftpd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/ftpd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/ftpd.te 2005-10-18 14:20:13.000000000 -0400 @@ -99,9 +99,11 @@ if (ftp_home_dir) { @@ -1111,7 +1110,7 @@ r_dir_file(ftpd_t, nfs_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/hald.te policy-1.27.1/domains/program/unused/hald.te --- nsapolicy/domains/program/unused/hald.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/hald.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/hald.te 2005-10-18 14:20:13.000000000 -0400 @@ -24,7 +24,8 @@ allow hald_t self:dbus send_msg; ') @@ -1130,7 +1129,7 @@ +r_dir_file(hald_t, hwdata_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/hotplug.te policy-1.27.1/domains/program/unused/hotplug.te --- nsapolicy/domains/program/unused/hotplug.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/hotplug.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/hotplug.te 2005-10-18 14:20:13.000000000 -0400 @@ -11,9 +11,9 @@ # hotplug_exec_t is the type of the hotplug executable. # @@ -1153,7 +1152,7 @@ allow hotplug_t printer_device_t:chr_file setattr; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/hwclock.te policy-1.27.1/domains/program/unused/hwclock.te --- nsapolicy/domains/program/unused/hwclock.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/hwclock.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/hwclock.te 2005-10-18 14:20:13.000000000 -0400 @@ -21,7 +21,6 @@ domain_auto_trans(sysadm_t, hwclock_exec_t, hwclock_t) ') @@ -1169,7 +1168,7 @@ +r_dir_file(hwclock_t, etc_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ipsec.te policy-1.27.1/domains/program/unused/ipsec.te --- nsapolicy/domains/program/unused/ipsec.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/ipsec.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/ipsec.te 2005-10-18 14:20:13.000000000 -0400 @@ -219,7 +219,7 @@ dontaudit ipsec_mgmt_t selinux_config_t:dir search; dontaudit ipsec_t ttyfile:chr_file { read write }; @@ -1181,7 +1180,7 @@ allow ipsec_mgmt_t self:{ tcp_socket udp_socket } create_socket_perms; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/kudzu.te policy-1.27.1/domains/program/unused/kudzu.te --- nsapolicy/domains/program/unused/kudzu.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/kudzu.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/kudzu.te 2005-10-18 14:20:13.000000000 -0400 @@ -20,7 +20,7 @@ allow kudzu_t ramfs_t:dir search; allow kudzu_t ramfs_t:sock_file write; @@ -1210,7 +1209,7 @@ allow kudzu_t initrc_t:unix_stream_socket connectto; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/mta.te policy-1.27.1/domains/program/unused/mta.te --- nsapolicy/domains/program/unused/mta.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/mta.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/mta.te 2005-10-18 14:20:13.000000000 -0400 @@ -31,6 +31,10 @@ create_dir_file(system_mail_t, mail_spool_t) allow system_mail_t mail_spool_t:fifo_file rw_file_perms; @@ -1232,7 +1231,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/mysqld.te policy-1.27.1/domains/program/unused/mysqld.te --- nsapolicy/domains/program/unused/mysqld.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/mysqld.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/mysqld.te 2005-10-18 14:20:13.000000000 -0400 @@ -12,7 +12,7 @@ # daemon_domain(mysqld, `, nscd_client_domain') @@ -1262,7 +1261,7 @@ -allow mysqld_t self:netlink_route_socket r_netlink_socket_perms; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/named.te policy-1.27.1/domains/program/unused/named.te --- nsapolicy/domains/program/unused/named.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/named.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/named.te 2005-10-18 14:20:13.000000000 -0400 @@ -36,7 +36,7 @@ allow named_t self:process { setsched setcap setrlimit }; @@ -1324,7 +1323,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/NetworkManager.te policy-1.27.1/domains/program/unused/NetworkManager.te --- nsapolicy/domains/program/unused/NetworkManager.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/NetworkManager.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/NetworkManager.te 2005-10-18 14:20:13.000000000 -0400 @@ -11,7 +11,7 @@ # NetworkManager_t is the domain for the NetworkManager daemon. # NetworkManager_exec_t is the type of the NetworkManager executable. @@ -1346,7 +1345,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/nscd.te policy-1.27.1/domains/program/unused/nscd.te --- nsapolicy/domains/program/unused/nscd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/nscd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/nscd.te 2005-10-18 14:20:13.000000000 -0400 @@ -76,3 +76,4 @@ log_domain(nscd) r_dir_file(nscd_t, cert_t) @@ -1354,7 +1353,7 @@ +allow nscd_t self:netlink_audit_socket { create_netlink_socket_perms nlmsg_relay }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ntpd.te policy-1.27.1/domains/program/unused/ntpd.te --- nsapolicy/domains/program/unused/ntpd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/ntpd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/ntpd.te 2005-10-18 14:20:13.000000000 -0400 @@ -26,11 +26,11 @@ # for SSP allow ntpd_t urandom_device_t:chr_file { getattr read }; @@ -1382,7 +1381,7 @@ can_exec(ntpd_t, initrc_exec_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/openct.te policy-1.27.1/domains/program/unused/openct.te --- nsapolicy/domains/program/unused/openct.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/openct.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/openct.te 2005-10-18 14:20:13.000000000 -0400 @@ -0,0 +1,16 @@ +#DESC openct - read files in page cache +# @@ -1402,7 +1401,7 @@ +allow openct_t etc_t:file r_file_perms; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/pamconsole.te policy-1.27.1/domains/program/unused/pamconsole.te --- nsapolicy/domains/program/unused/pamconsole.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/pamconsole.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/pamconsole.te 2005-10-18 14:20:13.000000000 -0400 @@ -25,6 +25,7 @@ # for /var/run/console.lock checking allow pam_console_t { var_t var_run_t }:dir search; @@ -1418,7 +1417,7 @@ +nsswitch_domain(pam_console_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/pegasus.te policy-1.27.1/domains/program/unused/pegasus.te --- nsapolicy/domains/program/unused/pegasus.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/pegasus.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/pegasus.te 2005-10-18 14:20:13.000000000 -0400 @@ -0,0 +1,37 @@ +#DESC pegasus - The Open Group Pegasus CIM/WBEM Server +# @@ -1459,7 +1458,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ping.te policy-1.27.1/domains/program/unused/ping.te --- nsapolicy/domains/program/unused/ping.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/ping.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/ping.te 2005-10-18 14:20:13.000000000 -0400 @@ -37,6 +37,7 @@ uses_shlib(ping_t) can_network_client(ping_t) @@ -1478,7 +1477,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/postfix.te policy-1.27.1/domains/program/unused/postfix.te --- nsapolicy/domains/program/unused/postfix.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/postfix.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/postfix.te 2005-10-18 14:20:13.000000000 -0400 @@ -54,6 +54,8 @@ allow postfix_$1_t proc_net_t:dir search; allow postfix_$1_t proc_net_t:file { getattr read }; @@ -1664,7 +1663,7 @@ -allow postfix_local_t mail_spool_t:file { unlink }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/pppd.te policy-1.27.1/domains/program/unused/pppd.te --- nsapolicy/domains/program/unused/pppd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/pppd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/pppd.te 2005-10-18 14:20:13.000000000 -0400 @@ -14,7 +14,7 @@ # bool pppd_for_user false; @@ -1707,7 +1706,7 @@ +allow pppd_t initrc_t:process noatsecure; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/procmail.te policy-1.27.1/domains/program/unused/procmail.te --- nsapolicy/domains/program/unused/procmail.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/procmail.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/procmail.te 2005-10-18 14:20:13.000000000 -0400 @@ -19,8 +19,7 @@ uses_shlib(procmail_t) allow procmail_t device_t:dir search; @@ -1735,7 +1734,7 @@ # Search /var/run. diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/readahead.te policy-1.27.1/domains/program/unused/readahead.te --- nsapolicy/domains/program/unused/readahead.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/readahead.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/readahead.te 2005-10-18 14:20:13.000000000 -0400 @@ -0,0 +1,21 @@ +#DESC readahead - read files in page cache +# @@ -1760,7 +1759,7 @@ +dontaudit readahead_t device_type:blk_file read; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/rlogind.te policy-1.27.1/domains/program/unused/rlogind.te --- nsapolicy/domains/program/unused/rlogind.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/rlogind.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/rlogind.te 2005-10-18 14:20:13.000000000 -0400 @@ -35,4 +35,6 @@ allow rlogind_t default_t:dir search; typealias rlogind_port_t alias rlogin_port_t; @@ -1771,7 +1770,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/roundup.te policy-1.27.1/domains/program/unused/roundup.te --- nsapolicy/domains/program/unused/roundup.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/roundup.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/roundup.te 2005-10-18 14:20:13.000000000 -0400 @@ -0,0 +1,29 @@ +# Roundup Issue Tracking System +# @@ -1804,7 +1803,7 @@ +allow roundup_t etc_t:file { getattr read }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/rpcd.te policy-1.27.1/domains/program/unused/rpcd.te --- nsapolicy/domains/program/unused/rpcd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/rpcd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/rpcd.te 2005-10-18 14:20:13.000000000 -0400 @@ -19,7 +19,7 @@ can_network($1_t) allow $1_t port_type:tcp_socket name_connect; @@ -1814,7 +1813,7 @@ read_locale($1_t) allow $1_t self:capability net_bind_service; dontaudit $1_t self:capability net_admin; -@@ -148,6 +148,15 @@ +@@ -148,6 +148,20 @@ allow gssd_t rpc_pipefs_t:dir r_dir_perms; allow gssd_t rpc_pipefs_t:sock_file { read write }; allow gssd_t rpc_pipefs_t:file r_file_perms; @@ -1825,15 +1824,20 @@ + +bool allow_gssd_read_tmp true; +if (allow_gssd_read_tmp) { ++# ++#needs to be able to udpate the kerberos ticket file ++# +ifdef(`targeted_policy', ` +r_dir_file(gssd_t, tmp_t) ++allow gssd_t tmp_t:file write; +', ` +r_dir_file(gssd_t, user_tmpfile) ++allow gssd_t user_tmpfile:file write; +') +} diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/rsync.te policy-1.27.1/domains/program/unused/rsync.te --- nsapolicy/domains/program/unused/rsync.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/rsync.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/rsync.te 2005-10-18 14:20:13.000000000 -0400 @@ -15,5 +15,4 @@ type rsync_data_t, file_type, sysadmfile; r_dir_file(rsync_t, rsync_data_t) @@ -1843,7 +1847,7 @@ +allow rsync_t self:capability sys_chroot; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/samba.te policy-1.27.1/domains/program/unused/samba.te --- nsapolicy/domains/program/unused/samba.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/samba.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/samba.te 2005-10-18 14:20:13.000000000 -0400 @@ -25,6 +25,9 @@ # not sure why it needs this tmp_domain(smbd) @@ -1880,7 +1884,7 @@ # Access Samba shares. diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/snmpd.te policy-1.27.1/domains/program/unused/snmpd.te --- nsapolicy/domains/program/unused/snmpd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/snmpd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/snmpd.te 2005-10-18 14:20:13.000000000 -0400 @@ -22,8 +22,9 @@ # for the .index file @@ -1910,7 +1914,7 @@ dontaudit snmpd_t selinux_config_t:dir search; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/squid.te policy-1.27.1/domains/program/unused/squid.te --- nsapolicy/domains/program/unused/squid.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/squid.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/squid.te 2005-10-18 14:20:13.000000000 -0400 @@ -60,7 +60,7 @@ can_tcp_connect(web_client_domain, squid_t) @@ -1928,7 +1932,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/udev.te policy-1.27.1/domains/program/unused/udev.te --- nsapolicy/domains/program/unused/udev.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/udev.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/udev.te 2005-10-18 14:20:13.000000000 -0400 @@ -28,12 +28,12 @@ type udev_tdb_t, file_type, sysadmfile, dev_fs; typealias udev_tdb_t alias udev_tbl_t; @@ -1960,7 +1964,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/utempter.te policy-1.27.1/domains/program/unused/utempter.te --- nsapolicy/domains/program/unused/utempter.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/utempter.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/utempter.te 2005-10-18 14:20:13.000000000 -0400 @@ -19,6 +19,8 @@ type utempter_exec_t, file_type, sysadmfile, exec_type; domain_auto_trans(userdomain, utempter_exec_t, utempter_t) @@ -1972,7 +1976,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/webalizer.te policy-1.27.1/domains/program/unused/webalizer.te --- nsapolicy/domains/program/unused/webalizer.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/webalizer.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/webalizer.te 2005-10-18 14:20:13.000000000 -0400 @@ -20,6 +20,9 @@ #read apache log allow webalizer_t var_log_t:dir r_dir_perms; @@ -1985,7 +1989,7 @@ var_lib_domain(webalizer) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/winbind.te policy-1.27.1/domains/program/unused/winbind.te --- nsapolicy/domains/program/unused/winbind.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/winbind.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/winbind.te 2005-10-18 14:20:13.000000000 -0400 @@ -44,6 +44,7 @@ r_dir_file(winbind_t, samba_etc_t) allow winbind_helper_t self:unix_dgram_socket create_socket_perms; @@ -1996,7 +2000,7 @@ allow winbind_helper_t privfd:fd use; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/xdm.te policy-1.27.1/domains/program/unused/xdm.te --- nsapolicy/domains/program/unused/xdm.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/xdm.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/xdm.te 2005-10-18 14:20:13.000000000 -0400 @@ -371,3 +371,6 @@ dontaudit xdm_t ice_tmp_t:dir { getattr setattr }; @@ -2006,7 +2010,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/yppasswdd.te policy-1.27.1/domains/program/unused/yppasswdd.te --- nsapolicy/domains/program/unused/yppasswdd.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/yppasswdd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/yppasswdd.te 2005-10-18 14:20:13.000000000 -0400 @@ -0,0 +1,40 @@ +#DESC yppassdd - NIS password update daemon +# @@ -2050,7 +2054,7 @@ +rw_dir_create_file(yppasswdd_t, var_yp_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ypserv.te policy-1.27.1/domains/program/unused/ypserv.te --- nsapolicy/domains/program/unused/ypserv.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/ypserv.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/ypserv.te 2005-10-18 14:20:13.000000000 -0400 @@ -39,3 +39,4 @@ ') allow ypserv_t reserved_port_t:{ udp_socket tcp_socket } name_bind; @@ -2361,7 +2365,7 @@ genfscon eventpollfs / system_u:object_r:eventpollfs_t diff --exclude-from=exclude -N -u -r nsapolicy/macros/base_user_macros.te policy-1.27.1/macros/base_user_macros.te --- nsapolicy/macros/base_user_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/base_user_macros.te 2005-10-17 15:48:43.000000000 -0400 ++++ policy-1.27.1/macros/base_user_macros.te 2005-10-18 14:21:21.000000000 -0400 @@ -40,6 +40,12 @@ allow $1_t $1_home_t:{ notdevfile_class_set dir } { relabelfrom relabelto }; can_setfscreate($1_t) @@ -2377,7 +2381,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/macros/core_macros.te policy-1.27.1/macros/core_macros.te --- nsapolicy/macros/core_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/core_macros.te 2005-10-17 15:48:43.000000000 -0400 ++++ policy-1.27.1/macros/core_macros.te 2005-10-18 14:21:21.000000000 -0400 @@ -620,6 +620,9 @@ # Label pty files with a derived type. type_transition $1_t devpts_t:chr_file $1_devpts_t; @@ -2390,7 +2394,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/macros/global_macros.te policy-1.27.1/macros/global_macros.te --- nsapolicy/macros/global_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/global_macros.te 2005-10-17 15:48:43.000000000 -0400 ++++ policy-1.27.1/macros/global_macros.te 2005-10-18 14:21:21.000000000 -0400 @@ -157,6 +157,11 @@ r_dir_file($1, locale_t) ') @@ -2455,7 +2459,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/macros/network_macros.te policy-1.27.1/macros/network_macros.te --- nsapolicy/macros/network_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/network_macros.te 2005-10-17 15:48:43.000000000 -0400 ++++ policy-1.27.1/macros/network_macros.te 2005-10-18 14:21:21.000000000 -0400 @@ -153,7 +153,8 @@ ')dnl end can_network definition @@ -2486,7 +2490,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/apache_macros.te policy-1.27.1/macros/program/apache_macros.te --- nsapolicy/macros/program/apache_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/apache_macros.te 2005-10-17 15:48:16.000000000 -0400 ++++ policy-1.27.1/macros/program/apache_macros.te 2005-10-18 14:20:55.000000000 -0400 @@ -38,7 +38,7 @@ allow httpd_$1_script_t etc_runtime_t:file { getattr read }; read_locale(httpd_$1_script_t) @@ -2527,9 +2531,22 @@ + + ') +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/bonobo_macros.te policy-1.27.1/macros/program/bonobo_macros.te +--- nsapolicy/macros/program/bonobo_macros.te 2005-09-16 11:17:27.000000000 -0400 ++++ policy-1.27.1/macros/program/bonobo_macros.te 2005-10-18 14:20:55.000000000 -0400 +@@ -72,9 +72,7 @@ + # here temporarily, since bonobo runs as ROLE_t by default anyway + domain_auto_trans($1_bonobo_t, bin_t, $1_t) + +-ifdef(`xdm.te', ` + can_pipe_xdm($1_bonobo_t) +-') + + ') dnl ifdef bonobo_domain_args + ') dnl bonobo_domain diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/cdrecord_macros.te policy-1.27.1/macros/program/cdrecord_macros.te --- nsapolicy/macros/program/cdrecord_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/cdrecord_macros.te 2005-10-17 15:48:16.000000000 -0400 ++++ policy-1.27.1/macros/program/cdrecord_macros.te 2005-10-18 14:20:55.000000000 -0400 @@ -41,7 +41,7 @@ allow $1_cdrecord_t self:capability { ipc_lock sys_nice setuid dac_override sys_rawio }; @@ -2539,9 +2556,85 @@ allow $1_cdrecord_t $1_home_t:dir search; allow $1_cdrecord_t $1_home_dir_t:dir r_dir_perms; allow $1_cdrecord_t $1_home_t:file r_file_perms; +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/crontab_macros.te policy-1.27.1/macros/program/crontab_macros.te +--- nsapolicy/macros/program/crontab_macros.te 2005-09-16 11:17:27.000000000 -0400 ++++ policy-1.27.1/macros/program/crontab_macros.te 2005-10-18 14:20:55.000000000 -0400 +@@ -40,7 +40,7 @@ + + # Use capabilities dac_override is to create the file in the directory + # under /tmp +-allow $1_crontab_t $1_crontab_t:capability { setuid setgid chown dac_override }; ++allow $1_crontab_t self:capability { setuid setgid chown dac_override }; + + # Type for temporary files. + file_type_auto_trans($1_crontab_t, tmp_t, $1_tmp_t, { dir file }) +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/dbusd_macros.te policy-1.27.1/macros/program/dbusd_macros.te +--- nsapolicy/macros/program/dbusd_macros.te 2005-09-16 11:17:27.000000000 -0400 ++++ policy-1.27.1/macros/program/dbusd_macros.te 2005-10-18 14:20:55.000000000 -0400 +@@ -29,9 +29,7 @@ + r_dir_file($1_dbusd_t, etc_dbusd_t) + tmp_domain($1_dbusd) + allow $1_dbusd_t self:process fork; +-ifdef(`xdm.te', ` + can_pipe_xdm($1_dbusd_t) +-') + + allow $1_dbusd_t self:unix_stream_socket create_stream_socket_perms; + allow $1_dbusd_t self:unix_dgram_socket create_socket_perms; +@@ -71,11 +69,11 @@ + # For connecting to the bus + allow $2_t $1_dbusd_t:unix_stream_socket connectto; + +-') dnl endif dbusd.te + ifelse(`system', `$1', ` + allow { $2_t } { var_run_t system_dbusd_var_run_t }:dir search; + allow { $2_t } system_dbusd_var_run_t:sock_file write; + ',`') dnl endif system ++') dnl endif dbusd.te + ') + + # can_dbusd_converse(dbus_type, domain_prefix_a, domain_prefix_b) +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/gconf_macros.te policy-1.27.1/macros/program/gconf_macros.te +--- nsapolicy/macros/program/gconf_macros.te 2005-09-16 11:17:27.000000000 -0400 ++++ policy-1.27.1/macros/program/gconf_macros.te 2005-10-18 14:20:55.000000000 -0400 +@@ -31,8 +31,8 @@ + # /tmp/gconfd-USER + tmp_domain($1_gconfd) + +-ifdef(`xdm.te', ` + can_pipe_xdm($1_gconfd_t) ++ifdef(`xdm.te', ` + allow xdm_t $1_gconfd_t:process signal; + ') + +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/gift_macros.te policy-1.27.1/macros/program/gift_macros.te +--- nsapolicy/macros/program/gift_macros.te 2005-09-16 11:17:27.000000000 -0400 ++++ policy-1.27.1/macros/program/gift_macros.te 2005-10-18 14:20:55.000000000 -0400 +@@ -90,9 +90,7 @@ + r_dir_file($1_giftd_t, usr_t) + + # Connect to xdm +-ifdef(`xdm.te', ` + can_pipe_xdm($1_giftd_t) +-') + + ') dnl giftd_domain + +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/gpg_macros.te policy-1.27.1/macros/program/gpg_macros.te +--- nsapolicy/macros/program/gpg_macros.te 2005-09-16 11:17:27.000000000 -0400 ++++ policy-1.27.1/macros/program/gpg_macros.te 2005-10-18 14:20:55.000000000 -0400 +@@ -108,8 +108,6 @@ + # for nscd + dontaudit $1_gpg_helper_t var_t:dir search; + +-ifdef(`xdm.te', ` + can_pipe_xdm($1_gpg_t) +-') + + ')dnl end gpg_domain definition diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/i18n_input_macros.te policy-1.27.1/macros/program/i18n_input_macros.te --- nsapolicy/macros/program/i18n_input_macros.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/macros/program/i18n_input_macros.te 2005-10-17 15:48:16.000000000 -0400 ++++ policy-1.27.1/macros/program/i18n_input_macros.te 2005-10-18 14:20:55.000000000 -0400 @@ -0,0 +1,21 @@ +# +# Macros for i18n_input @@ -2564,9 +2657,21 @@ +') + + +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/lpr_macros.te policy-1.27.1/macros/program/lpr_macros.te +--- nsapolicy/macros/program/lpr_macros.te 2005-09-16 11:17:27.000000000 -0400 ++++ policy-1.27.1/macros/program/lpr_macros.te 2005-10-18 14:20:55.000000000 -0400 +@@ -39,7 +39,7 @@ + can_ypbind($1_lpr_t) + + # Use capabilities. +-allow $1_lpr_t $1_lpr_t:capability { setuid dac_override net_bind_service chown }; ++allow $1_lpr_t self:capability { setuid dac_override net_bind_service chown }; + + allow $1_lpr_t self:unix_stream_socket create_stream_socket_perms; + diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/mta_macros.te policy-1.27.1/macros/program/mta_macros.te --- nsapolicy/macros/program/mta_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/mta_macros.te 2005-10-17 15:48:16.000000000 -0400 ++++ policy-1.27.1/macros/program/mta_macros.te 2005-10-18 14:20:55.000000000 -0400 @@ -34,7 +34,7 @@ uses_shlib($1_mail_t) @@ -2587,7 +2692,7 @@ # For when the user wants to send mail via port 25 localhost diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/newrole_macros.te policy-1.27.1/macros/program/newrole_macros.te --- nsapolicy/macros/program/newrole_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/newrole_macros.te 2005-10-17 15:48:16.000000000 -0400 ++++ policy-1.27.1/macros/program/newrole_macros.te 2005-10-18 14:20:55.000000000 -0400 @@ -20,6 +20,8 @@ read_locale($1_t) read_sysctl($1_t) @@ -2599,7 +2704,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/pyzor_macros.te policy-1.27.1/macros/program/pyzor_macros.te --- nsapolicy/macros/program/pyzor_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/pyzor_macros.te 2005-10-17 15:48:16.000000000 -0400 ++++ policy-1.27.1/macros/program/pyzor_macros.te 2005-10-18 14:20:55.000000000 -0400 @@ -64,6 +64,6 @@ # Allow pyzor to be run by hand. Needed by any action other than @@ -2610,7 +2715,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/razor_macros.te policy-1.27.1/macros/program/razor_macros.te --- nsapolicy/macros/program/razor_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/razor_macros.te 2005-10-17 15:48:16.000000000 -0400 ++++ policy-1.27.1/macros/program/razor_macros.te 2005-10-18 14:20:55.000000000 -0400 @@ -70,6 +70,6 @@ # Allow razor to be run by hand. Needed by any action other than @@ -2621,7 +2726,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/su_macros.te policy-1.27.1/macros/program/su_macros.te --- nsapolicy/macros/program/su_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/su_macros.te 2005-10-17 15:48:16.000000000 -0400 ++++ policy-1.27.1/macros/program/su_macros.te 2005-10-18 14:20:55.000000000 -0400 @@ -54,7 +54,7 @@ allow $1_su_t self:process { setsched setrlimit }; allow $1_su_t device_t:dir search; @@ -2642,7 +2747,7 @@ # Caused by su - init scripts diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/uml_macros.te policy-1.27.1/macros/program/uml_macros.te --- nsapolicy/macros/program/uml_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/uml_macros.te 2005-10-17 15:48:16.000000000 -0400 ++++ policy-1.27.1/macros/program/uml_macros.te 2005-10-18 14:20:55.000000000 -0400 @@ -81,7 +81,7 @@ allow uml_net_t $1_uml_t:unix_stream_socket { read write }; allow uml_net_t $1_uml_t:unix_dgram_socket { read write }; @@ -2652,9 +2757,21 @@ dontaudit uml_net_t $1_uml_rw_t:dir { getattr search }; ')dnl end ifdef uml_net.te +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/xdm_macros.te policy-1.27.1/macros/program/xdm_macros.te +--- nsapolicy/macros/program/xdm_macros.te 2005-09-16 11:17:27.000000000 -0400 ++++ policy-1.27.1/macros/program/xdm_macros.te 2005-10-18 14:20:55.000000000 -0400 +@@ -6,6 +6,8 @@ + # + + define(`can_pipe_xdm', ` ++ifdef(`xdm.te', ` + allow $1 xdm_t:fd use; + allow $1 xdm_t:fifo_file { getattr read write ioctl }; ++') + ') dnl can_pipe_xdm diff --exclude-from=exclude -N -u -r nsapolicy/macros/user_macros.te policy-1.27.1/macros/user_macros.te --- nsapolicy/macros/user_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/user_macros.te 2005-10-17 15:48:43.000000000 -0400 ++++ policy-1.27.1/macros/user_macros.te 2005-10-18 14:21:21.000000000 -0400 @@ -121,6 +121,7 @@ # user domains. ifelse($1, sysadm, `',` @@ -2663,11 +2780,29 @@ ') ifdef(`slocate.te', `locate_domain($1)') ifdef(`lockdev.te', `lockdev_domain($1)') -@@ -225,7 +226,6 @@ +@@ -143,7 +144,7 @@ + allow $1_t port_t:tcp_socket name_bind; + } + # port access is audited even if dac would not have allowed it, so dontaudit it here +-dontaudit $1_t reserved_port_type:tcp_socket name_bind; ++dontaudit $1_t { reserved_port_type reserved_port_t }:tcp_socket name_bind; + + # Allow system log read + if (user_dmesg) { +@@ -203,6 +204,7 @@ + + # Grant read/search permissions to some of /proc. + r_dir_file($1_t, proc_t) ++# netstat needs to access proc_net_t; if you want to hide this info use dontaudit here instead + r_dir_file($1_t, proc_net_t) + + base_file_read_access($1_t) +@@ -225,7 +227,7 @@ allow $1_t self:dir search; allow $1_t self:file { getattr read }; -allow secadm_t self:fifo_file rw_file_perms; ++allow $1_t self:fifo_file rw_file_perms; allow $1_t self:lnk_file read; allow $1_t self:unix_stream_socket create_socket_perms; @@ -3353,7 +3488,7 @@ # diff --exclude-from=exclude -N -u -r nsapolicy/net_contexts policy-1.27.1/net_contexts --- nsapolicy/net_contexts 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/net_contexts 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/net_contexts 2005-10-18 14:21:39.000000000 -0400 @@ -50,6 +50,10 @@ portcon tcp 53 system_u:object_r:dns_port_t @@ -3365,7 +3500,16 @@ portcon udp 68 system_u:object_r:dhcpc_port_t portcon udp 70 system_u:object_r:gopher_port_t portcon tcp 70 system_u:object_r:gopher_port_t -@@ -164,6 +168,8 @@ +@@ -111,8 +115,6 @@ + portcon tcp 749 system_u:object_r:kerberos_admin_port_t + portcon tcp 750 system_u:object_r:kerberos_port_t + portcon udp 750 system_u:object_r:kerberos_port_t +-portcon tcp 4444 system_u:object_r:kerberos_master_port_t +-portcon udp 4444 system_u:object_r:kerberos_master_port_t + portcon tcp 783 system_u:object_r:spamd_port_t + portcon tcp 540 system_u:object_r:uucpd_port_t + portcon tcp 2401 system_u:object_r:cvs_port_t +@@ -164,6 +166,8 @@ portcon tcp 50000 system_u:object_r:hplip_port_t portcon tcp 50002 system_u:object_r:hplip_port_t portcon tcp 5900 system_u:object_r:vnc_port_t @@ -3477,9 +3621,23 @@ # Allow user_r to reach sysadm_r via su, sudo, or userhelper. # Otherwise, only staff_r can do so. +diff --exclude-from=exclude -N -u -r nsapolicy/types/device.te policy-1.27.1/types/device.te +--- nsapolicy/types/device.te 2005-09-16 11:17:27.000000000 -0400 ++++ policy-1.27.1/types/device.te 2005-10-18 14:19:04.000000000 -0400 +@@ -131,8 +131,8 @@ + # Type for /dev/.devfsd + type devfs_control_t, device_type, dev_fs; + +-# Type for /dev/cpu/mtrr +-type mtrr_device_t, device_type, dev_fs; ++# Type for /dev/cpu/mtrr and /proc/mtrr ++type mtrr_device_t, device_type, dev_fs, proc_fs; + + # Type for /dev/pmu + type power_device_t, device_type, dev_fs; diff --exclude-from=exclude -N -u -r nsapolicy/types/devpts.te policy-1.27.1/types/devpts.te --- nsapolicy/types/devpts.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/types/devpts.te 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/types/devpts.te 2005-10-18 14:19:04.000000000 -0400 @@ -18,4 +18,6 @@ # type devpts_t, mount_point, fs_type; @@ -3490,7 +3648,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/types/file.te policy-1.27.1/types/file.te --- nsapolicy/types/file.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/types/file.te 2005-10-17 15:41:06.000000000 -0400 ++++ policy-1.27.1/types/file.te 2005-10-18 14:19:04.000000000 -0400 @@ -307,8 +307,7 @@ type hugetlbfs_t, mount_point, fs_type, sysadmfile; allow hugetlbfs_t self:filesystem associate; @@ -3538,7 +3696,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/types/network.te policy-1.27.1/types/network.te --- nsapolicy/types/network.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/types/network.te 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/types/network.te 2005-10-18 14:19:04.000000000 -0400 @@ -18,7 +18,7 @@ type dhcpd_port_t, port_type, reserved_port_type; type smbd_port_t, port_type, reserved_port_type; @@ -3548,7 +3706,15 @@ type http_port_t, port_type, reserved_port_type; type ipp_port_t, port_type, reserved_port_type; type gopher_port_t, port_type, reserved_port_type; -@@ -105,7 +105,7 @@ +@@ -45,7 +45,6 @@ + # + type kerberos_port_t, port_type, reserved_port_type; + type kerberos_admin_port_t, port_type, reserved_port_type; +-type kerberos_master_port_t, port_type; + + # + # Ports used to communicate with portmap server +@@ -105,7 +104,7 @@ type printer_port_t, port_type, reserved_port_type; type mysqld_port_t, port_type; type postgresql_port_t, port_type; @@ -3557,7 +3723,7 @@ type howl_port_t, port_type; type dict_port_t, port_type; type syslogd_port_t, port_type, reserved_port_type; -@@ -120,11 +120,13 @@ +@@ -120,11 +119,13 @@ type zebra_port_t, port_type; type i18n_input_port_t, port_type; type vnc_port_t, port_type; @@ -3573,7 +3739,7 @@ type postgrey_port_t, port_type; type asterisk_port_t, port_type; type utcpserver_port_t, port_type; -@@ -157,7 +159,7 @@ +@@ -157,7 +158,7 @@ type telnetd_port_t, port_type, reserved_port_type; type comsat_port_t, port_type, reserved_port_type; type cvs_port_t, port_type; @@ -3584,7 +3750,7 @@ type rsync_port_t, port_type, reserved_port_type; diff --exclude-from=exclude -N -u -r nsapolicy/types/security.te policy-1.27.1/types/security.te --- nsapolicy/types/security.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/types/security.te 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/types/security.te 2005-10-18 14:19:04.000000000 -0400 @@ -13,12 +13,17 @@ # applied to selinuxfs inodes. # Index: selinux-policy-targeted.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/FC-4/selinux-policy-targeted.spec,v retrieving revision 1.343 retrieving revision 1.344 diff -u -r1.343 -r1.344 --- selinux-policy-targeted.spec 17 Oct 2005 19:52:35 -0000 1.343 +++ selinux-policy-targeted.spec 18 Oct 2005 18:22:53 -0000 1.344 @@ -9,7 +9,7 @@ Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} Version: 1.27.1 -Release: 2.7 +Release: 2.8 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz @@ -236,6 +236,9 @@ exit 0 %changelog +* Mon Oct 17 2005 Dan Walsh 1.27.1-2.8 +- Fix gssd + * Mon Oct 17 2005 Dan Walsh 1.27.1-2.7 - Update to match rawhide From fedora-cvs-commits at redhat.com Tue Oct 18 18:23:37 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 14:23:37 -0400 Subject: rpms/libselinux/devel .cvsignore, 1.80, 1.81 libselinux.spec, 1.129, 1.130 sources, 1.82, 1.83 Message-ID: <200510181823.j9IINb5Z031727@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libselinux/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv31644 Modified Files: .cvsignore libselinux.spec sources Log Message: * Mon Oct 17 2005 Dan Walsh 1.27.12-1 - Update to latest from NSA * Merged get_default_context_with_rolelevel and man pages from Dan Walsh (Red Hat). * Updated call to sepol_policydb_to_image for sepol changes. * Changed getseuserbyname to ignore empty lines and to handle no matching entry in the same manner as no seusers file. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/libselinux/devel/.cvsignore,v retrieving revision 1.80 retrieving revision 1.81 diff -u -r1.80 -r1.81 --- .cvsignore 17 Oct 2005 18:19:07 -0000 1.80 +++ .cvsignore 18 Oct 2005 18:23:34 -0000 1.81 @@ -54,3 +54,4 @@ libselinux-1.27.7.tgz libselinux-1.27.9.tgz libselinux-1.27.10.tgz +libselinux-1.27.12.tgz Index: libselinux.spec =================================================================== RCS file: /cvs/dist/rpms/libselinux/devel/libselinux.spec,v retrieving revision 1.129 retrieving revision 1.130 diff -u -r1.129 -r1.130 --- libselinux.spec 17 Oct 2005 18:19:07 -0000 1.129 +++ libselinux.spec 18 Oct 2005 18:23:34 -0000 1.130 @@ -1,7 +1,7 @@ -%define libsepolver 1.9.17-1 +%define libsepolver 1.9.21-1 Summary: SELinux library and simple utilities Name: libselinux -Version: 1.27.10 +Version: 1.27.12 Release: 1 License: Public domain (uncopyrighted) Group: System Environment/Libraries @@ -92,8 +92,13 @@ %{_mandir}/man8/* %changelog -* Mon Oct 17 2005 Dan Walsh 1.27.10-1 -- +* Mon Oct 17 2005 Dan Walsh 1.27.12-1 +- Update to latest from NSA + * Merged get_default_context_with_rolelevel and man pages from + Dan Walsh (Red Hat). + * Updated call to sepol_policydb_to_image for sepol changes. + * Changed getseuserbyname to ignore empty lines and to handle + no matching entry in the same manner as no seusers file. * Fri Oct 14 2005 Dan Walsh 1.27.9-2 - Tell init to reexec itself in post script Index: sources =================================================================== RCS file: /cvs/dist/rpms/libselinux/devel/sources,v retrieving revision 1.82 retrieving revision 1.83 diff -u -r1.82 -r1.83 --- sources 17 Oct 2005 18:19:07 -0000 1.82 +++ sources 18 Oct 2005 18:23:34 -0000 1.83 @@ -1 +1 @@ -e88a9720a6eab17b1a6782caa8278673 libselinux-1.27.10.tgz +0c74dd29a27e67312c943e81873d576b libselinux-1.27.12.tgz From fedora-cvs-commits at redhat.com Tue Oct 18 18:23:47 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 14:23:47 -0400 Subject: rpms/checkpolicy/devel checkpolicy.spec,1.68,1.69 Message-ID: <200510181823.j9IINlqR031836@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/checkpolicy/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv31786 Modified Files: checkpolicy.spec Log Message: * Tue Oct 18 2005 Dan Walsh 1.27.11-1 - Latest upgrade from NSA * Updated for changes to sepol policydb_index_others interface. Index: checkpolicy.spec =================================================================== RCS file: /cvs/dist/rpms/checkpolicy/devel/checkpolicy.spec,v retrieving revision 1.68 retrieving revision 1.69 diff -u -r1.68 -r1.69 --- checkpolicy.spec 18 Oct 2005 14:17:02 -0000 1.68 +++ checkpolicy.spec 18 Oct 2005 18:23:44 -0000 1.69 @@ -1,7 +1,7 @@ -%define libsepolver 1.9.18-1 +%define libsepolver 1.9.21-1 Summary: SELinux policy compiler Name: checkpolicy -Version: 1.27.10 +Version: 1.27.11 Release: 1 License: GPL Group: Development/System @@ -44,6 +44,10 @@ %{_mandir}/man8/checkpolicy.8.gz %changelog +* Tue Oct 18 2005 Dan Walsh 1.27.11-1 +- Latest upgrade from NSA + * Updated for changes to sepol policydb_index_others interface. + * Tue Oct 18 2005 Dan Walsh 1.27.10-1 - Latest upgrade from NSA * Updated for changes to sepol expand_module and link_modules interfaces. From fedora-cvs-commits at redhat.com Tue Oct 18 18:25:49 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 14:25:49 -0400 Subject: rpms/selinux-policy-strict/FC-4 policy-20050916.patch, 1.7, 1.8 selinux-policy-strict.spec, 1.324, 1.325 Message-ID: <200510181825.j9IIPnR0000688@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-strict/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv555 Modified Files: policy-20050916.patch selinux-policy-strict.spec Log Message: * Tue Oct 18 2005 Dan Walsh 1.27.1-2.8 - Fix gssd policy-20050916.patch: Makefile | 24 +-- attrib.te | 35 ++++ domains/misc/kernel.te | 2 domains/program/crond.te | 2 domains/program/fsadm.te | 7 domains/program/hostname.te | 2 domains/program/ifconfig.te | 5 domains/program/initrc.te | 20 ++ domains/program/ldconfig.te | 3 domains/program/load_policy.te | 7 domains/program/login.te | 21 +- domains/program/modutil.te | 14 + domains/program/mount.te | 6 domains/program/netutils.te | 3 domains/program/newrole.te | 4 domains/program/passwd.te | 1 domains/program/restorecon.te | 3 domains/program/setfiles.te | 4 domains/program/ssh.te | 6 domains/program/su.te | 9 + domains/program/syslogd.te | 6 domains/program/unused/NetworkManager.te | 8 - domains/program/unused/alsa.te | 2 domains/program/unused/amanda.te | 74 ++-------- domains/program/unused/anaconda.te | 5 domains/program/unused/apache.te | 22 ++- domains/program/unused/apmd.te | 13 + domains/program/unused/auditd.te | 2 domains/program/unused/automount.te | 4 domains/program/unused/bluetooth.te | 72 +++++++++ domains/program/unused/cups.te | 18 +- domains/program/unused/cvs.te | 3 domains/program/unused/cyrus.te | 2 domains/program/unused/dbusd.te | 4 domains/program/unused/dcc.te | 5 domains/program/unused/dhcpc.te | 5 domains/program/unused/dhcpd.te | 3 domains/program/unused/dovecot.te | 4 domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/hwclock.te | 2 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 5 domains/program/unused/mta.te | 8 + domains/program/unused/mysqld.te | 6 domains/program/unused/named.te | 29 +++ domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 10 - domains/program/unused/openct.te | 16 ++ domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 37 +++++ domains/program/unused/ping.te | 3 domains/program/unused/postfix.te | 57 ++++--- domains/program/unused/pppd.te | 8 - domains/program/unused/procmail.te | 11 + domains/program/unused/readahead.te | 21 ++ domains/program/unused/rlogind.te | 4 domains/program/unused/roundup.te | 29 +++ domains/program/unused/rpcd.te | 18 ++ domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 12 + domains/program/unused/snmpd.te | 6 domains/program/unused/squid.te | 3 domains/program/unused/udev.te | 10 + domains/program/unused/utempter.te | 2 domains/program/unused/webalizer.te | 3 domains/program/unused/winbind.te | 1 domains/program/unused/xdm.te | 3 domains/program/unused/yppasswdd.te | 40 +++++ domains/program/unused/ypserv.te | 1 domains/program/useradd.te | 5 file_contexts/distros.fc | 2 file_contexts/program/apache.fc | 2 file_contexts/program/bluetooth.fc | 3 file_contexts/program/dhcpc.fc | 2 file_contexts/program/dhcpd.fc | 5 file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 11 + file_contexts/program/ipsec.fc | 1 file_contexts/program/openct.fc | 2 file_contexts/program/pegasus.fc | 11 + file_contexts/program/pppd.fc | 2 file_contexts/program/readahead.fc | 1 file_contexts/program/roundup.fc | 2 file_contexts/program/rpm.fc | 4 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/xdm.fc | 2 file_contexts/program/yppasswdd.fc | 2 file_contexts/program/ypserv.fc | 1 file_contexts/types.fc | 4 genfs_contexts | 3 macros/base_user_macros.te | 6 macros/core_macros.te | 3 macros/global_macros.te | 18 +- macros/network_macros.te | 17 ++ macros/program/apache_macros.te | 13 + macros/program/bonobo_macros.te | 2 macros/program/cdrecord_macros.te | 2 macros/program/crontab_macros.te | 2 macros/program/dbusd_macros.te | 4 macros/program/gconf_macros.te | 2 macros/program/gift_macros.te | 2 macros/program/gpg_macros.te | 2 macros/program/i18n_input_macros.te | 21 ++ macros/program/lpr_macros.te | 2 macros/program/mta_macros.te | 4 macros/program/newrole_macros.te | 2 macros/program/pyzor_macros.te | 2 macros/program/razor_macros.te | 2 macros/program/su_macros.te | 4 macros/program/uml_macros.te | 2 macros/program/xdm_macros.te | 2 macros/user_macros.te | 6 man/man8/ftpd_selinux.8 | 19 +- man/man8/httpd_selinux.8 | 9 + man/man8/rsync_selinux.8 | 12 + man/man8/samba_selinux.8 | 9 + mcs | 210 ++++++++++------------------ mls | 227 +++++++++++-------------------- net_contexts | 8 - targeted/appconfig/root_default_contexts | 4 targeted/assert.te | 2 targeted/domains/program/ssh.te | 3 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 15 ++ tunables/distro.tun | 2 tunables/tunable.tun | 4 types/device.te | 4 types/devpts.te | 4 types/file.te | 18 +- types/network.te | 13 - types/security.te | 5 135 files changed, 1030 insertions(+), 537 deletions(-) Index: policy-20050916.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/FC-4/policy-20050916.patch,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- policy-20050916.patch 17 Oct 2005 20:15:34 -0000 1.7 +++ policy-20050916.patch 18 Oct 2005 18:25:42 -0000 1.8 @@ -142,7 +142,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/initrc.te policy-1.27.1/domains/program/initrc.te --- nsapolicy/domains/program/initrc.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/initrc.te 2005-10-17 15:57:56.000000000 -0400 ++++ policy-1.27.1/domains/program/initrc.te 2005-10-18 14:19:49.000000000 -0400 @@ -56,6 +56,10 @@ can_create_pty(initrc) @@ -171,7 +171,7 @@ ')dnl end distro_redhat allow initrc_t system_map_t:{ file lnk_file } r_file_perms; -@@ -322,3 +334,10 @@ +@@ -322,3 +334,9 @@ ifdef(`dbusd.te', ` allow initrc_t system_dbusd_var_run_t:sock_file write; ') @@ -181,7 +181,6 @@ +ifdef(`use_mcs', ` +range_transition sysadm_t initrc_exec_t s0; +') -+ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/ldconfig.te policy-1.27.1/domains/program/ldconfig.te --- nsapolicy/domains/program/ldconfig.te 2005-09-16 11:17:27.000000000 -0400 +++ policy-1.27.1/domains/program/ldconfig.te 2005-10-17 15:45:51.000000000 -0400 @@ -485,7 +484,7 @@ allow syslogd_t self:capability { dac_override net_admin net_bind_service sys_resource sys_tty_config }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/alsa.te policy-1.27.1/domains/program/unused/alsa.te --- nsapolicy/domains/program/unused/alsa.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/alsa.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/alsa.te 2005-10-18 14:20:13.000000000 -0400 @@ -11,6 +11,8 @@ allow alsa_t self:unix_stream_socket create_stream_socket_perms; allow alsa_t self:unix_dgram_socket create_socket_perms; @@ -497,7 +496,7 @@ allow alsa_t self:capability { setgid setuid ipc_owner }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/amanda.te policy-1.27.1/domains/program/unused/amanda.te --- nsapolicy/domains/program/unused/amanda.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/amanda.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/amanda.te 2005-10-18 14:20:13.000000000 -0400 @@ -84,7 +84,6 @@ # configuration files -> read only @@ -659,7 +658,7 @@ +allow amanda_t file_type:fifo_file getattr; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/anaconda.te policy-1.27.1/domains/program/unused/anaconda.te --- nsapolicy/domains/program/unused/anaconda.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/anaconda.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/anaconda.te 2005-10-18 14:20:13.000000000 -0400 @@ -17,11 +17,6 @@ role system_r types ldconfig_t; domain_auto_trans(anaconda_t, ldconfig_exec_t, ldconfig_t) @@ -674,7 +673,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/apache.te policy-1.27.1/domains/program/unused/apache.te --- nsapolicy/domains/program/unused/apache.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/apache.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/apache.te 2005-10-18 14:20:13.000000000 -0400 @@ -113,9 +113,12 @@ can_network_server(httpd_t) can_kerberos(httpd_t) @@ -738,7 +737,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/apmd.te policy-1.27.1/domains/program/unused/apmd.te --- nsapolicy/domains/program/unused/apmd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/apmd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/apmd.te 2005-10-18 14:20:13.000000000 -0400 @@ -47,6 +47,7 @@ # acpid also has a logfile @@ -765,7 +764,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/auditd.te policy-1.27.1/domains/program/unused/auditd.te --- nsapolicy/domains/program/unused/auditd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/auditd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/auditd.te 2005-10-18 14:20:13.000000000 -0400 @@ -65,3 +65,5 @@ allow auditctl_t privfd:fd use; @@ -774,7 +773,7 @@ +can_exec(auditd_t, sbin_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/automount.te policy-1.27.1/domains/program/unused/automount.te --- nsapolicy/domains/program/unused/automount.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/automount.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/automount.te 2005-10-18 14:20:13.000000000 -0400 @@ -34,7 +34,9 @@ can_exec(automount_t, { etc_t automount_etc_t }) @@ -800,7 +799,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/bluetooth.te policy-1.27.1/domains/program/unused/bluetooth.te --- nsapolicy/domains/program/unused/bluetooth.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/bluetooth.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/bluetooth.te 2005-10-18 14:20:13.000000000 -0400 @@ -11,16 +11,23 @@ daemon_domain(bluetooth) @@ -903,7 +902,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/cups.te policy-1.27.1/domains/program/unused/cups.te --- nsapolicy/domains/program/unused/cups.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/cups.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/cups.te 2005-10-18 14:20:13.000000000 -0400 @@ -188,6 +188,7 @@ # Uses networking to talk to the daemons allow hplip_t self:unix_dgram_socket create_socket_perms; @@ -968,7 +967,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/cvs.te policy-1.27.1/domains/program/unused/cvs.te --- nsapolicy/domains/program/unused/cvs.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/cvs.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/cvs.te 2005-10-18 14:20:13.000000000 -0400 @@ -23,6 +23,9 @@ allow cvs_t etc_runtime_t:file { getattr read }; allow system_mail_t cvs_data_t:file { getattr read }; @@ -981,7 +980,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/cyrus.te policy-1.27.1/domains/program/unused/cyrus.te --- nsapolicy/domains/program/unused/cyrus.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/cyrus.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/cyrus.te 2005-10-18 14:20:13.000000000 -0400 @@ -42,7 +42,7 @@ create_dir_file(cyrus_t, mail_spool_t) allow cyrus_t var_spool_t:dir search; @@ -993,7 +992,7 @@ allow cyrus_t saslauthd_t:unix_stream_socket { connectto }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dbusd.te policy-1.27.1/domains/program/unused/dbusd.te --- nsapolicy/domains/program/unused/dbusd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dbusd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dbusd.te 2005-10-18 14:20:13.000000000 -0400 @@ -12,7 +12,7 @@ # dac_override: /var/run/dbus is owned by messagebus on Debian @@ -1011,7 +1010,7 @@ +allow system_dbusd_t self:netlink_audit_socket { create_netlink_socket_perms nlmsg_relay }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dcc.te policy-1.27.1/domains/program/unused/dcc.te --- nsapolicy/domains/program/unused/dcc.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dcc.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dcc.te 2005-10-18 14:20:13.000000000 -0400 @@ -200,9 +200,8 @@ can_exec_any(dcc_script_t) dcc_common(dcc_script) @@ -1026,7 +1025,7 @@ # the dcc user (even though the default dcc user is root). diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dhcpc.te policy-1.27.1/domains/program/unused/dhcpc.te --- nsapolicy/domains/program/unused/dhcpc.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dhcpc.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dhcpc.te 2005-10-18 14:20:13.000000000 -0400 @@ -120,6 +120,7 @@ allow dhcpc_t self:packet_socket create_socket_perms; allow dhcpc_t var_lib_t:dir search; @@ -1060,7 +1059,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dhcpd.te policy-1.27.1/domains/program/unused/dhcpd.te --- nsapolicy/domains/program/unused/dhcpd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dhcpd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dhcpd.te 2005-10-18 14:20:13.000000000 -0400 @@ -17,8 +17,6 @@ # daemon_domain(dhcpd, `, nscd_client_domain') @@ -1080,7 +1079,7 @@ allow dhcpd_t self:unix_stream_socket create_socket_perms; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dovecot.te policy-1.27.1/domains/program/unused/dovecot.te --- nsapolicy/domains/program/unused/dovecot.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dovecot.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dovecot.te 2005-10-18 14:20:13.000000000 -0400 @@ -43,7 +43,9 @@ can_kerberos(dovecot_t) @@ -1094,7 +1093,7 @@ allow dovecot_t mail_spool_t:lnk_file read; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ftpd.te policy-1.27.1/domains/program/unused/ftpd.te --- nsapolicy/domains/program/unused/ftpd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/ftpd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/ftpd.te 2005-10-18 14:20:13.000000000 -0400 @@ -99,9 +99,11 @@ if (ftp_home_dir) { @@ -1111,7 +1110,7 @@ r_dir_file(ftpd_t, nfs_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/hald.te policy-1.27.1/domains/program/unused/hald.te --- nsapolicy/domains/program/unused/hald.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/hald.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/hald.te 2005-10-18 14:20:13.000000000 -0400 @@ -24,7 +24,8 @@ allow hald_t self:dbus send_msg; ') @@ -1130,7 +1129,7 @@ +r_dir_file(hald_t, hwdata_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/hotplug.te policy-1.27.1/domains/program/unused/hotplug.te --- nsapolicy/domains/program/unused/hotplug.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/hotplug.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/hotplug.te 2005-10-18 14:20:13.000000000 -0400 @@ -11,9 +11,9 @@ # hotplug_exec_t is the type of the hotplug executable. # @@ -1153,7 +1152,7 @@ allow hotplug_t printer_device_t:chr_file setattr; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/hwclock.te policy-1.27.1/domains/program/unused/hwclock.te --- nsapolicy/domains/program/unused/hwclock.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/hwclock.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/hwclock.te 2005-10-18 14:20:13.000000000 -0400 @@ -21,7 +21,6 @@ domain_auto_trans(sysadm_t, hwclock_exec_t, hwclock_t) ') @@ -1169,7 +1168,7 @@ +r_dir_file(hwclock_t, etc_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ipsec.te policy-1.27.1/domains/program/unused/ipsec.te --- nsapolicy/domains/program/unused/ipsec.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/ipsec.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/ipsec.te 2005-10-18 14:20:13.000000000 -0400 @@ -219,7 +219,7 @@ dontaudit ipsec_mgmt_t selinux_config_t:dir search; dontaudit ipsec_t ttyfile:chr_file { read write }; @@ -1181,7 +1180,7 @@ allow ipsec_mgmt_t self:{ tcp_socket udp_socket } create_socket_perms; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/kudzu.te policy-1.27.1/domains/program/unused/kudzu.te --- nsapolicy/domains/program/unused/kudzu.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/kudzu.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/kudzu.te 2005-10-18 14:20:13.000000000 -0400 @@ -20,7 +20,7 @@ allow kudzu_t ramfs_t:dir search; allow kudzu_t ramfs_t:sock_file write; @@ -1210,7 +1209,7 @@ allow kudzu_t initrc_t:unix_stream_socket connectto; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/mta.te policy-1.27.1/domains/program/unused/mta.te --- nsapolicy/domains/program/unused/mta.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/mta.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/mta.te 2005-10-18 14:20:13.000000000 -0400 @@ -31,6 +31,10 @@ create_dir_file(system_mail_t, mail_spool_t) allow system_mail_t mail_spool_t:fifo_file rw_file_perms; @@ -1232,7 +1231,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/mysqld.te policy-1.27.1/domains/program/unused/mysqld.te --- nsapolicy/domains/program/unused/mysqld.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/mysqld.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/mysqld.te 2005-10-18 14:20:13.000000000 -0400 @@ -12,7 +12,7 @@ # daemon_domain(mysqld, `, nscd_client_domain') @@ -1262,7 +1261,7 @@ -allow mysqld_t self:netlink_route_socket r_netlink_socket_perms; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/named.te policy-1.27.1/domains/program/unused/named.te --- nsapolicy/domains/program/unused/named.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/named.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/named.te 2005-10-18 14:20:13.000000000 -0400 @@ -36,7 +36,7 @@ allow named_t self:process { setsched setcap setrlimit }; @@ -1324,7 +1323,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/NetworkManager.te policy-1.27.1/domains/program/unused/NetworkManager.te --- nsapolicy/domains/program/unused/NetworkManager.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/NetworkManager.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/NetworkManager.te 2005-10-18 14:20:13.000000000 -0400 @@ -11,7 +11,7 @@ # NetworkManager_t is the domain for the NetworkManager daemon. # NetworkManager_exec_t is the type of the NetworkManager executable. @@ -1346,7 +1345,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/nscd.te policy-1.27.1/domains/program/unused/nscd.te --- nsapolicy/domains/program/unused/nscd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/nscd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/nscd.te 2005-10-18 14:20:13.000000000 -0400 @@ -76,3 +76,4 @@ log_domain(nscd) r_dir_file(nscd_t, cert_t) @@ -1354,7 +1353,7 @@ +allow nscd_t self:netlink_audit_socket { create_netlink_socket_perms nlmsg_relay }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ntpd.te policy-1.27.1/domains/program/unused/ntpd.te --- nsapolicy/domains/program/unused/ntpd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/ntpd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/ntpd.te 2005-10-18 14:20:13.000000000 -0400 @@ -26,11 +26,11 @@ # for SSP allow ntpd_t urandom_device_t:chr_file { getattr read }; @@ -1382,7 +1381,7 @@ can_exec(ntpd_t, initrc_exec_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/openct.te policy-1.27.1/domains/program/unused/openct.te --- nsapolicy/domains/program/unused/openct.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/openct.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/openct.te 2005-10-18 14:20:13.000000000 -0400 @@ -0,0 +1,16 @@ +#DESC openct - read files in page cache +# @@ -1402,7 +1401,7 @@ +allow openct_t etc_t:file r_file_perms; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/pamconsole.te policy-1.27.1/domains/program/unused/pamconsole.te --- nsapolicy/domains/program/unused/pamconsole.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/pamconsole.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/pamconsole.te 2005-10-18 14:20:13.000000000 -0400 @@ -25,6 +25,7 @@ # for /var/run/console.lock checking allow pam_console_t { var_t var_run_t }:dir search; @@ -1418,7 +1417,7 @@ +nsswitch_domain(pam_console_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/pegasus.te policy-1.27.1/domains/program/unused/pegasus.te --- nsapolicy/domains/program/unused/pegasus.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/pegasus.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/pegasus.te 2005-10-18 14:20:13.000000000 -0400 @@ -0,0 +1,37 @@ +#DESC pegasus - The Open Group Pegasus CIM/WBEM Server +# @@ -1459,7 +1458,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ping.te policy-1.27.1/domains/program/unused/ping.te --- nsapolicy/domains/program/unused/ping.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/ping.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/ping.te 2005-10-18 14:20:13.000000000 -0400 @@ -37,6 +37,7 @@ uses_shlib(ping_t) can_network_client(ping_t) @@ -1478,7 +1477,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/postfix.te policy-1.27.1/domains/program/unused/postfix.te --- nsapolicy/domains/program/unused/postfix.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/postfix.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/postfix.te 2005-10-18 14:20:13.000000000 -0400 @@ -54,6 +54,8 @@ allow postfix_$1_t proc_net_t:dir search; allow postfix_$1_t proc_net_t:file { getattr read }; @@ -1664,7 +1663,7 @@ -allow postfix_local_t mail_spool_t:file { unlink }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/pppd.te policy-1.27.1/domains/program/unused/pppd.te --- nsapolicy/domains/program/unused/pppd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/pppd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/pppd.te 2005-10-18 14:20:13.000000000 -0400 @@ -14,7 +14,7 @@ # bool pppd_for_user false; @@ -1707,7 +1706,7 @@ +allow pppd_t initrc_t:process noatsecure; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/procmail.te policy-1.27.1/domains/program/unused/procmail.te --- nsapolicy/domains/program/unused/procmail.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/procmail.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/procmail.te 2005-10-18 14:20:13.000000000 -0400 @@ -19,8 +19,7 @@ uses_shlib(procmail_t) allow procmail_t device_t:dir search; @@ -1735,7 +1734,7 @@ # Search /var/run. diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/readahead.te policy-1.27.1/domains/program/unused/readahead.te --- nsapolicy/domains/program/unused/readahead.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/readahead.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/readahead.te 2005-10-18 14:20:13.000000000 -0400 @@ -0,0 +1,21 @@ +#DESC readahead - read files in page cache +# @@ -1760,7 +1759,7 @@ +dontaudit readahead_t device_type:blk_file read; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/rlogind.te policy-1.27.1/domains/program/unused/rlogind.te --- nsapolicy/domains/program/unused/rlogind.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/rlogind.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/rlogind.te 2005-10-18 14:20:13.000000000 -0400 @@ -35,4 +35,6 @@ allow rlogind_t default_t:dir search; typealias rlogind_port_t alias rlogin_port_t; @@ -1771,7 +1770,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/roundup.te policy-1.27.1/domains/program/unused/roundup.te --- nsapolicy/domains/program/unused/roundup.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/roundup.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/roundup.te 2005-10-18 14:20:13.000000000 -0400 @@ -0,0 +1,29 @@ +# Roundup Issue Tracking System +# @@ -1804,7 +1803,7 @@ +allow roundup_t etc_t:file { getattr read }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/rpcd.te policy-1.27.1/domains/program/unused/rpcd.te --- nsapolicy/domains/program/unused/rpcd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/rpcd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/rpcd.te 2005-10-18 14:20:13.000000000 -0400 @@ -19,7 +19,7 @@ can_network($1_t) allow $1_t port_type:tcp_socket name_connect; @@ -1814,7 +1813,7 @@ read_locale($1_t) allow $1_t self:capability net_bind_service; dontaudit $1_t self:capability net_admin; -@@ -148,6 +148,15 @@ +@@ -148,6 +148,20 @@ allow gssd_t rpc_pipefs_t:dir r_dir_perms; allow gssd_t rpc_pipefs_t:sock_file { read write }; allow gssd_t rpc_pipefs_t:file r_file_perms; @@ -1825,15 +1824,20 @@ + +bool allow_gssd_read_tmp true; +if (allow_gssd_read_tmp) { ++# ++#needs to be able to udpate the kerberos ticket file ++# +ifdef(`targeted_policy', ` +r_dir_file(gssd_t, tmp_t) ++allow gssd_t tmp_t:file write; +', ` +r_dir_file(gssd_t, user_tmpfile) ++allow gssd_t user_tmpfile:file write; +') +} diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/rsync.te policy-1.27.1/domains/program/unused/rsync.te --- nsapolicy/domains/program/unused/rsync.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/rsync.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/rsync.te 2005-10-18 14:20:13.000000000 -0400 @@ -15,5 +15,4 @@ type rsync_data_t, file_type, sysadmfile; r_dir_file(rsync_t, rsync_data_t) @@ -1843,7 +1847,7 @@ +allow rsync_t self:capability sys_chroot; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/samba.te policy-1.27.1/domains/program/unused/samba.te --- nsapolicy/domains/program/unused/samba.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/samba.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/samba.te 2005-10-18 14:20:13.000000000 -0400 @@ -25,6 +25,9 @@ # not sure why it needs this tmp_domain(smbd) @@ -1880,7 +1884,7 @@ # Access Samba shares. diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/snmpd.te policy-1.27.1/domains/program/unused/snmpd.te --- nsapolicy/domains/program/unused/snmpd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/snmpd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/snmpd.te 2005-10-18 14:20:13.000000000 -0400 @@ -22,8 +22,9 @@ # for the .index file @@ -1910,7 +1914,7 @@ dontaudit snmpd_t selinux_config_t:dir search; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/squid.te policy-1.27.1/domains/program/unused/squid.te --- nsapolicy/domains/program/unused/squid.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/squid.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/squid.te 2005-10-18 14:20:13.000000000 -0400 @@ -60,7 +60,7 @@ can_tcp_connect(web_client_domain, squid_t) @@ -1928,7 +1932,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/udev.te policy-1.27.1/domains/program/unused/udev.te --- nsapolicy/domains/program/unused/udev.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/udev.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/udev.te 2005-10-18 14:20:13.000000000 -0400 @@ -28,12 +28,12 @@ type udev_tdb_t, file_type, sysadmfile, dev_fs; typealias udev_tdb_t alias udev_tbl_t; @@ -1960,7 +1964,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/utempter.te policy-1.27.1/domains/program/unused/utempter.te --- nsapolicy/domains/program/unused/utempter.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/utempter.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/utempter.te 2005-10-18 14:20:13.000000000 -0400 @@ -19,6 +19,8 @@ type utempter_exec_t, file_type, sysadmfile, exec_type; domain_auto_trans(userdomain, utempter_exec_t, utempter_t) @@ -1972,7 +1976,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/webalizer.te policy-1.27.1/domains/program/unused/webalizer.te --- nsapolicy/domains/program/unused/webalizer.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/webalizer.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/webalizer.te 2005-10-18 14:20:13.000000000 -0400 @@ -20,6 +20,9 @@ #read apache log allow webalizer_t var_log_t:dir r_dir_perms; @@ -1985,7 +1989,7 @@ var_lib_domain(webalizer) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/winbind.te policy-1.27.1/domains/program/unused/winbind.te --- nsapolicy/domains/program/unused/winbind.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/winbind.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/winbind.te 2005-10-18 14:20:13.000000000 -0400 @@ -44,6 +44,7 @@ r_dir_file(winbind_t, samba_etc_t) allow winbind_helper_t self:unix_dgram_socket create_socket_perms; @@ -1996,7 +2000,7 @@ allow winbind_helper_t privfd:fd use; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/xdm.te policy-1.27.1/domains/program/unused/xdm.te --- nsapolicy/domains/program/unused/xdm.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/xdm.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/xdm.te 2005-10-18 14:20:13.000000000 -0400 @@ -371,3 +371,6 @@ dontaudit xdm_t ice_tmp_t:dir { getattr setattr }; @@ -2006,7 +2010,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/yppasswdd.te policy-1.27.1/domains/program/unused/yppasswdd.te --- nsapolicy/domains/program/unused/yppasswdd.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/yppasswdd.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/yppasswdd.te 2005-10-18 14:20:13.000000000 -0400 @@ -0,0 +1,40 @@ +#DESC yppassdd - NIS password update daemon +# @@ -2050,7 +2054,7 @@ +rw_dir_create_file(yppasswdd_t, var_yp_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ypserv.te policy-1.27.1/domains/program/unused/ypserv.te --- nsapolicy/domains/program/unused/ypserv.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/ypserv.te 2005-10-17 15:45:26.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/ypserv.te 2005-10-18 14:20:13.000000000 -0400 @@ -39,3 +39,4 @@ ') allow ypserv_t reserved_port_t:{ udp_socket tcp_socket } name_bind; @@ -2361,7 +2365,7 @@ genfscon eventpollfs / system_u:object_r:eventpollfs_t diff --exclude-from=exclude -N -u -r nsapolicy/macros/base_user_macros.te policy-1.27.1/macros/base_user_macros.te --- nsapolicy/macros/base_user_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/base_user_macros.te 2005-10-17 15:48:43.000000000 -0400 ++++ policy-1.27.1/macros/base_user_macros.te 2005-10-18 14:21:21.000000000 -0400 @@ -40,6 +40,12 @@ allow $1_t $1_home_t:{ notdevfile_class_set dir } { relabelfrom relabelto }; can_setfscreate($1_t) @@ -2377,7 +2381,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/macros/core_macros.te policy-1.27.1/macros/core_macros.te --- nsapolicy/macros/core_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/core_macros.te 2005-10-17 15:48:43.000000000 -0400 ++++ policy-1.27.1/macros/core_macros.te 2005-10-18 14:21:21.000000000 -0400 @@ -620,6 +620,9 @@ # Label pty files with a derived type. type_transition $1_t devpts_t:chr_file $1_devpts_t; @@ -2390,7 +2394,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/macros/global_macros.te policy-1.27.1/macros/global_macros.te --- nsapolicy/macros/global_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/global_macros.te 2005-10-17 15:48:43.000000000 -0400 ++++ policy-1.27.1/macros/global_macros.te 2005-10-18 14:21:21.000000000 -0400 @@ -157,6 +157,11 @@ r_dir_file($1, locale_t) ') @@ -2455,7 +2459,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/macros/network_macros.te policy-1.27.1/macros/network_macros.te --- nsapolicy/macros/network_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/network_macros.te 2005-10-17 15:48:43.000000000 -0400 ++++ policy-1.27.1/macros/network_macros.te 2005-10-18 14:21:21.000000000 -0400 @@ -153,7 +153,8 @@ ')dnl end can_network definition @@ -2486,7 +2490,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/apache_macros.te policy-1.27.1/macros/program/apache_macros.te --- nsapolicy/macros/program/apache_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/apache_macros.te 2005-10-17 15:48:16.000000000 -0400 ++++ policy-1.27.1/macros/program/apache_macros.te 2005-10-18 14:20:55.000000000 -0400 @@ -38,7 +38,7 @@ allow httpd_$1_script_t etc_runtime_t:file { getattr read }; read_locale(httpd_$1_script_t) @@ -2527,9 +2531,22 @@ + + ') +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/bonobo_macros.te policy-1.27.1/macros/program/bonobo_macros.te +--- nsapolicy/macros/program/bonobo_macros.te 2005-09-16 11:17:27.000000000 -0400 ++++ policy-1.27.1/macros/program/bonobo_macros.te 2005-10-18 14:20:55.000000000 -0400 +@@ -72,9 +72,7 @@ + # here temporarily, since bonobo runs as ROLE_t by default anyway + domain_auto_trans($1_bonobo_t, bin_t, $1_t) + +-ifdef(`xdm.te', ` + can_pipe_xdm($1_bonobo_t) +-') + + ') dnl ifdef bonobo_domain_args + ') dnl bonobo_domain diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/cdrecord_macros.te policy-1.27.1/macros/program/cdrecord_macros.te --- nsapolicy/macros/program/cdrecord_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/cdrecord_macros.te 2005-10-17 15:48:16.000000000 -0400 ++++ policy-1.27.1/macros/program/cdrecord_macros.te 2005-10-18 14:20:55.000000000 -0400 @@ -41,7 +41,7 @@ allow $1_cdrecord_t self:capability { ipc_lock sys_nice setuid dac_override sys_rawio }; @@ -2539,9 +2556,85 @@ allow $1_cdrecord_t $1_home_t:dir search; allow $1_cdrecord_t $1_home_dir_t:dir r_dir_perms; allow $1_cdrecord_t $1_home_t:file r_file_perms; +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/crontab_macros.te policy-1.27.1/macros/program/crontab_macros.te +--- nsapolicy/macros/program/crontab_macros.te 2005-09-16 11:17:27.000000000 -0400 ++++ policy-1.27.1/macros/program/crontab_macros.te 2005-10-18 14:20:55.000000000 -0400 +@@ -40,7 +40,7 @@ + + # Use capabilities dac_override is to create the file in the directory + # under /tmp +-allow $1_crontab_t $1_crontab_t:capability { setuid setgid chown dac_override }; ++allow $1_crontab_t self:capability { setuid setgid chown dac_override }; + + # Type for temporary files. + file_type_auto_trans($1_crontab_t, tmp_t, $1_tmp_t, { dir file }) +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/dbusd_macros.te policy-1.27.1/macros/program/dbusd_macros.te +--- nsapolicy/macros/program/dbusd_macros.te 2005-09-16 11:17:27.000000000 -0400 ++++ policy-1.27.1/macros/program/dbusd_macros.te 2005-10-18 14:20:55.000000000 -0400 +@@ -29,9 +29,7 @@ + r_dir_file($1_dbusd_t, etc_dbusd_t) + tmp_domain($1_dbusd) + allow $1_dbusd_t self:process fork; +-ifdef(`xdm.te', ` + can_pipe_xdm($1_dbusd_t) +-') + + allow $1_dbusd_t self:unix_stream_socket create_stream_socket_perms; + allow $1_dbusd_t self:unix_dgram_socket create_socket_perms; +@@ -71,11 +69,11 @@ + # For connecting to the bus + allow $2_t $1_dbusd_t:unix_stream_socket connectto; + +-') dnl endif dbusd.te + ifelse(`system', `$1', ` + allow { $2_t } { var_run_t system_dbusd_var_run_t }:dir search; + allow { $2_t } system_dbusd_var_run_t:sock_file write; + ',`') dnl endif system ++') dnl endif dbusd.te + ') + + # can_dbusd_converse(dbus_type, domain_prefix_a, domain_prefix_b) +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/gconf_macros.te policy-1.27.1/macros/program/gconf_macros.te +--- nsapolicy/macros/program/gconf_macros.te 2005-09-16 11:17:27.000000000 -0400 ++++ policy-1.27.1/macros/program/gconf_macros.te 2005-10-18 14:20:55.000000000 -0400 +@@ -31,8 +31,8 @@ + # /tmp/gconfd-USER + tmp_domain($1_gconfd) + +-ifdef(`xdm.te', ` + can_pipe_xdm($1_gconfd_t) ++ifdef(`xdm.te', ` + allow xdm_t $1_gconfd_t:process signal; + ') + +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/gift_macros.te policy-1.27.1/macros/program/gift_macros.te +--- nsapolicy/macros/program/gift_macros.te 2005-09-16 11:17:27.000000000 -0400 ++++ policy-1.27.1/macros/program/gift_macros.te 2005-10-18 14:20:55.000000000 -0400 +@@ -90,9 +90,7 @@ + r_dir_file($1_giftd_t, usr_t) + + # Connect to xdm +-ifdef(`xdm.te', ` + can_pipe_xdm($1_giftd_t) +-') + + ') dnl giftd_domain + +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/gpg_macros.te policy-1.27.1/macros/program/gpg_macros.te +--- nsapolicy/macros/program/gpg_macros.te 2005-09-16 11:17:27.000000000 -0400 ++++ policy-1.27.1/macros/program/gpg_macros.te 2005-10-18 14:20:55.000000000 -0400 +@@ -108,8 +108,6 @@ + # for nscd + dontaudit $1_gpg_helper_t var_t:dir search; + +-ifdef(`xdm.te', ` + can_pipe_xdm($1_gpg_t) +-') + + ')dnl end gpg_domain definition diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/i18n_input_macros.te policy-1.27.1/macros/program/i18n_input_macros.te --- nsapolicy/macros/program/i18n_input_macros.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/macros/program/i18n_input_macros.te 2005-10-17 15:48:16.000000000 -0400 ++++ policy-1.27.1/macros/program/i18n_input_macros.te 2005-10-18 14:20:55.000000000 -0400 @@ -0,0 +1,21 @@ +# +# Macros for i18n_input @@ -2564,9 +2657,21 @@ +') + + +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/lpr_macros.te policy-1.27.1/macros/program/lpr_macros.te +--- nsapolicy/macros/program/lpr_macros.te 2005-09-16 11:17:27.000000000 -0400 ++++ policy-1.27.1/macros/program/lpr_macros.te 2005-10-18 14:20:55.000000000 -0400 +@@ -39,7 +39,7 @@ + can_ypbind($1_lpr_t) + + # Use capabilities. +-allow $1_lpr_t $1_lpr_t:capability { setuid dac_override net_bind_service chown }; ++allow $1_lpr_t self:capability { setuid dac_override net_bind_service chown }; + + allow $1_lpr_t self:unix_stream_socket create_stream_socket_perms; + diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/mta_macros.te policy-1.27.1/macros/program/mta_macros.te --- nsapolicy/macros/program/mta_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/mta_macros.te 2005-10-17 15:48:16.000000000 -0400 ++++ policy-1.27.1/macros/program/mta_macros.te 2005-10-18 14:20:55.000000000 -0400 @@ -34,7 +34,7 @@ uses_shlib($1_mail_t) @@ -2587,7 +2692,7 @@ # For when the user wants to send mail via port 25 localhost diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/newrole_macros.te policy-1.27.1/macros/program/newrole_macros.te --- nsapolicy/macros/program/newrole_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/newrole_macros.te 2005-10-17 15:48:16.000000000 -0400 ++++ policy-1.27.1/macros/program/newrole_macros.te 2005-10-18 14:20:55.000000000 -0400 @@ -20,6 +20,8 @@ read_locale($1_t) read_sysctl($1_t) @@ -2599,7 +2704,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/pyzor_macros.te policy-1.27.1/macros/program/pyzor_macros.te --- nsapolicy/macros/program/pyzor_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/pyzor_macros.te 2005-10-17 15:48:16.000000000 -0400 ++++ policy-1.27.1/macros/program/pyzor_macros.te 2005-10-18 14:20:55.000000000 -0400 @@ -64,6 +64,6 @@ # Allow pyzor to be run by hand. Needed by any action other than @@ -2610,7 +2715,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/razor_macros.te policy-1.27.1/macros/program/razor_macros.te --- nsapolicy/macros/program/razor_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/razor_macros.te 2005-10-17 15:48:16.000000000 -0400 ++++ policy-1.27.1/macros/program/razor_macros.te 2005-10-18 14:20:55.000000000 -0400 @@ -70,6 +70,6 @@ # Allow razor to be run by hand. Needed by any action other than @@ -2621,7 +2726,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/su_macros.te policy-1.27.1/macros/program/su_macros.te --- nsapolicy/macros/program/su_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/su_macros.te 2005-10-17 15:48:16.000000000 -0400 ++++ policy-1.27.1/macros/program/su_macros.te 2005-10-18 14:20:55.000000000 -0400 @@ -54,7 +54,7 @@ allow $1_su_t self:process { setsched setrlimit }; allow $1_su_t device_t:dir search; @@ -2642,7 +2747,7 @@ # Caused by su - init scripts diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/uml_macros.te policy-1.27.1/macros/program/uml_macros.te --- nsapolicy/macros/program/uml_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/uml_macros.te 2005-10-17 15:48:16.000000000 -0400 ++++ policy-1.27.1/macros/program/uml_macros.te 2005-10-18 14:20:55.000000000 -0400 @@ -81,7 +81,7 @@ allow uml_net_t $1_uml_t:unix_stream_socket { read write }; allow uml_net_t $1_uml_t:unix_dgram_socket { read write }; @@ -2652,9 +2757,21 @@ dontaudit uml_net_t $1_uml_rw_t:dir { getattr search }; ')dnl end ifdef uml_net.te +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/xdm_macros.te policy-1.27.1/macros/program/xdm_macros.te +--- nsapolicy/macros/program/xdm_macros.te 2005-09-16 11:17:27.000000000 -0400 ++++ policy-1.27.1/macros/program/xdm_macros.te 2005-10-18 14:20:55.000000000 -0400 +@@ -6,6 +6,8 @@ + # + + define(`can_pipe_xdm', ` ++ifdef(`xdm.te', ` + allow $1 xdm_t:fd use; + allow $1 xdm_t:fifo_file { getattr read write ioctl }; ++') + ') dnl can_pipe_xdm diff --exclude-from=exclude -N -u -r nsapolicy/macros/user_macros.te policy-1.27.1/macros/user_macros.te --- nsapolicy/macros/user_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/user_macros.te 2005-10-17 15:48:43.000000000 -0400 ++++ policy-1.27.1/macros/user_macros.te 2005-10-18 14:21:21.000000000 -0400 @@ -121,6 +121,7 @@ # user domains. ifelse($1, sysadm, `',` @@ -2663,11 +2780,29 @@ ') ifdef(`slocate.te', `locate_domain($1)') ifdef(`lockdev.te', `lockdev_domain($1)') -@@ -225,7 +226,6 @@ +@@ -143,7 +144,7 @@ + allow $1_t port_t:tcp_socket name_bind; + } + # port access is audited even if dac would not have allowed it, so dontaudit it here +-dontaudit $1_t reserved_port_type:tcp_socket name_bind; ++dontaudit $1_t { reserved_port_type reserved_port_t }:tcp_socket name_bind; + + # Allow system log read + if (user_dmesg) { +@@ -203,6 +204,7 @@ + + # Grant read/search permissions to some of /proc. + r_dir_file($1_t, proc_t) ++# netstat needs to access proc_net_t; if you want to hide this info use dontaudit here instead + r_dir_file($1_t, proc_net_t) + + base_file_read_access($1_t) +@@ -225,7 +227,7 @@ allow $1_t self:dir search; allow $1_t self:file { getattr read }; -allow secadm_t self:fifo_file rw_file_perms; ++allow $1_t self:fifo_file rw_file_perms; allow $1_t self:lnk_file read; allow $1_t self:unix_stream_socket create_socket_perms; @@ -3353,7 +3488,7 @@ # diff --exclude-from=exclude -N -u -r nsapolicy/net_contexts policy-1.27.1/net_contexts --- nsapolicy/net_contexts 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/net_contexts 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/net_contexts 2005-10-18 14:21:39.000000000 -0400 @@ -50,6 +50,10 @@ portcon tcp 53 system_u:object_r:dns_port_t @@ -3365,7 +3500,16 @@ portcon udp 68 system_u:object_r:dhcpc_port_t portcon udp 70 system_u:object_r:gopher_port_t portcon tcp 70 system_u:object_r:gopher_port_t -@@ -164,6 +168,8 @@ +@@ -111,8 +115,6 @@ + portcon tcp 749 system_u:object_r:kerberos_admin_port_t + portcon tcp 750 system_u:object_r:kerberos_port_t + portcon udp 750 system_u:object_r:kerberos_port_t +-portcon tcp 4444 system_u:object_r:kerberos_master_port_t +-portcon udp 4444 system_u:object_r:kerberos_master_port_t + portcon tcp 783 system_u:object_r:spamd_port_t + portcon tcp 540 system_u:object_r:uucpd_port_t + portcon tcp 2401 system_u:object_r:cvs_port_t +@@ -164,6 +166,8 @@ portcon tcp 50000 system_u:object_r:hplip_port_t portcon tcp 50002 system_u:object_r:hplip_port_t portcon tcp 5900 system_u:object_r:vnc_port_t @@ -3477,9 +3621,23 @@ # Allow user_r to reach sysadm_r via su, sudo, or userhelper. # Otherwise, only staff_r can do so. +diff --exclude-from=exclude -N -u -r nsapolicy/types/device.te policy-1.27.1/types/device.te +--- nsapolicy/types/device.te 2005-09-16 11:17:27.000000000 -0400 ++++ policy-1.27.1/types/device.te 2005-10-18 14:19:04.000000000 -0400 +@@ -131,8 +131,8 @@ + # Type for /dev/.devfsd + type devfs_control_t, device_type, dev_fs; + +-# Type for /dev/cpu/mtrr +-type mtrr_device_t, device_type, dev_fs; ++# Type for /dev/cpu/mtrr and /proc/mtrr ++type mtrr_device_t, device_type, dev_fs, proc_fs; + + # Type for /dev/pmu + type power_device_t, device_type, dev_fs; diff --exclude-from=exclude -N -u -r nsapolicy/types/devpts.te policy-1.27.1/types/devpts.te --- nsapolicy/types/devpts.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/types/devpts.te 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/types/devpts.te 2005-10-18 14:19:04.000000000 -0400 @@ -18,4 +18,6 @@ # type devpts_t, mount_point, fs_type; @@ -3490,7 +3648,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/types/file.te policy-1.27.1/types/file.te --- nsapolicy/types/file.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/types/file.te 2005-10-17 15:41:06.000000000 -0400 ++++ policy-1.27.1/types/file.te 2005-10-18 14:19:04.000000000 -0400 @@ -307,8 +307,7 @@ type hugetlbfs_t, mount_point, fs_type, sysadmfile; allow hugetlbfs_t self:filesystem associate; @@ -3538,7 +3696,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/types/network.te policy-1.27.1/types/network.te --- nsapolicy/types/network.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/types/network.te 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/types/network.te 2005-10-18 14:19:04.000000000 -0400 @@ -18,7 +18,7 @@ type dhcpd_port_t, port_type, reserved_port_type; type smbd_port_t, port_type, reserved_port_type; @@ -3548,7 +3706,15 @@ type http_port_t, port_type, reserved_port_type; type ipp_port_t, port_type, reserved_port_type; type gopher_port_t, port_type, reserved_port_type; -@@ -105,7 +105,7 @@ +@@ -45,7 +45,6 @@ + # + type kerberos_port_t, port_type, reserved_port_type; + type kerberos_admin_port_t, port_type, reserved_port_type; +-type kerberos_master_port_t, port_type; + + # + # Ports used to communicate with portmap server +@@ -105,7 +104,7 @@ type printer_port_t, port_type, reserved_port_type; type mysqld_port_t, port_type; type postgresql_port_t, port_type; @@ -3557,7 +3723,7 @@ type howl_port_t, port_type; type dict_port_t, port_type; type syslogd_port_t, port_type, reserved_port_type; -@@ -120,11 +120,13 @@ +@@ -120,11 +119,13 @@ type zebra_port_t, port_type; type i18n_input_port_t, port_type; type vnc_port_t, port_type; @@ -3573,7 +3739,7 @@ type postgrey_port_t, port_type; type asterisk_port_t, port_type; type utcpserver_port_t, port_type; -@@ -157,7 +159,7 @@ +@@ -157,7 +158,7 @@ type telnetd_port_t, port_type, reserved_port_type; type comsat_port_t, port_type, reserved_port_type; type cvs_port_t, port_type; @@ -3584,7 +3750,7 @@ type rsync_port_t, port_type, reserved_port_type; diff --exclude-from=exclude -N -u -r nsapolicy/types/security.te policy-1.27.1/types/security.te --- nsapolicy/types/security.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/types/security.te 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/types/security.te 2005-10-18 14:19:04.000000000 -0400 @@ -13,12 +13,17 @@ # applied to selinuxfs inodes. # Index: selinux-policy-strict.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/FC-4/selinux-policy-strict.spec,v retrieving revision 1.324 retrieving revision 1.325 diff -u -r1.324 -r1.325 --- selinux-policy-strict.spec 17 Oct 2005 20:15:34 -0000 1.324 +++ selinux-policy-strict.spec 18 Oct 2005 18:25:42 -0000 1.325 @@ -11,7 +11,7 @@ Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} Version: 1.27.1 -Release: 2.7 +Release: 2.8 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz @@ -229,6 +229,9 @@ exit 0 %changelog +* Tue Oct 18 2005 Dan Walsh 1.27.1-2.8 +- Fix gssd + * Mon Oct 17 2005 Dan Walsh 1.27.1-2.7 - Update to match rawhide From fedora-cvs-commits at redhat.com Tue Oct 18 18:27:48 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 14:27:48 -0400 Subject: rpms/libselinux/devel libselinux-rhat.patch,1.60,1.61 Message-ID: <200510181827.j9IIRm73002245@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libselinux/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv2225 Modified Files: libselinux-rhat.patch Log Message: * Mon Oct 17 2005 Dan Walsh 1.27.12-1 - Update to latest from NSA * Merged get_default_context_with_rolelevel and man pages from Dan Walsh (Red Hat). * Updated call to sepol_policydb_to_image for sepol changes. * Changed getseuserbyname to ignore empty lines and to handle no matching entry in the same manner as no seusers file. libselinux-rhat.patch: get_default_context_with_level.3 | 1 + get_default_context_with_rolelevel.3 | 1 + get_ordered_context_list_with_level.3 | 1 + 3 files changed, 3 insertions(+) Index: libselinux-rhat.patch =================================================================== RCS file: /cvs/dist/rpms/libselinux/devel/libselinux-rhat.patch,v retrieving revision 1.60 retrieving revision 1.61 diff -u -r1.60 -r1.61 --- libselinux-rhat.patch 17 Oct 2005 18:19:07 -0000 1.60 +++ libselinux-rhat.patch 18 Oct 2005 18:27:41 -0000 1.61 @@ -1,22 +1,3 @@ -diff --exclude-from=exclude -N -u -r nsalibselinux/include/selinux/get_context_list.h libselinux-1.27.10/include/selinux/get_context_list.h ---- nsalibselinux/include/selinux/get_context_list.h 2005-09-19 13:36:06.000000000 -0400 -+++ libselinux-1.27.10/include/selinux/get_context_list.h 2005-10-17 13:48:00.000000000 -0400 -@@ -54,6 +54,15 @@ - security_context_t fromcon, - security_context_t *newcon); - -+/* Same as get_default_context, but only return a context -+ that has the specified role and level. If no reachable context exists -+ for the user with that role, then return -1. */ -+int get_default_context_with_rolelevel(const char* user, -+ const char *level, -+ const char *role, -+ security_context_t fromcon, -+ security_context_t *newcon); -+ - /* Given a list of authorized security contexts for the user, - query the user to select one and set *newcon to refer to it. - Caller must free via freecon. diff --exclude-from=exclude -N -u -r nsalibselinux/man/man3/get_default_context_with_level.3 libselinux-1.27.10/man/man3/get_default_context_with_level.3 --- nsalibselinux/man/man3/get_default_context_with_level.3 1969-12-31 19:00:00.000000000 -0500 +++ libselinux-1.27.10/man/man3/get_default_context_with_level.3 2005-10-17 13:58:54.000000000 -0400 @@ -27,133 +8,8 @@ +++ libselinux-1.27.10/man/man3/get_default_context_with_rolelevel.3 2005-10-17 13:58:41.000000000 -0400 @@ -0,0 +1 @@ +.so man3/get_ordered_context_list.3 -diff --exclude-from=exclude -N -u -r nsalibselinux/man/man3/get_ordered_context_list.3 libselinux-1.27.10/man/man3/get_ordered_context_list.3 ---- nsalibselinux/man/man3/get_ordered_context_list.3 2005-04-29 14:06:50.000000000 -0400 -+++ libselinux-1.27.10/man/man3/get_ordered_context_list.3 2005-10-17 13:57:48.000000000 -0400 -@@ -1,6 +1,6 @@ - .TH "get_ordered_context_list" "3" "1 January 2004" "russell at coker.com.au" "SE Linux" - .SH "NAME" --get_ordered_context_list, get_default_context, get_default_context_with_role, query_user_context, manual_user_enter_context, get_default_role \- determine context(s) for user sessions -+get_ordered_context_list, get_ordered_context_list_with_level, get_default_context, get_default_context_with_level, get_default_context_with_role, get_default_context_with_rolelevel, query_user_context, manual_user_enter_context, get_default_role \- determine context(s) for user sessions - - .SH "SYNOPSIS" - .B #include -@@ -9,10 +9,16 @@ - .sp - .BI "int get_ordered_context_list(const char *" user ", security_context_t "fromcon ", security_context_t **" list ); - .sp -+.BI "int get_ordered_context_list_with_level(const char *" user ", const char *" level ", security_context_t "fromcon ", security_context_t **" list ); -+.sp - .BI "int get_default_context(const char *" user ", security_context_t "fromcon ", security_context_t *" newcon ); - .sp -+.BI "int get_default_context_with_level(const char *" user ", const char *" level ", security_context_t "fromcon ", security_context_t *" newcon ); -+.sp - .BI "int get_default_context_with_role(const char* " user ", const char *" role ", security_context_t " fromcon ", security_context_t *" newcon "); - .sp -+.BI "int get_default_context_with_rolelevel(const char* " user ", const char* " level ", const char *" role ", security_context_t " fromcon ", security_context_t *" newcon "); -+.sp - .BI "int query_user_context(security_context_t *" list ", security_context_t *" newcon ); - .sp - .BI "int manual_user_enter_context(const char *" user ", security_context_t *" newcon ); -@@ -27,7 +33,7 @@ - .I user - that are reachable from the specified - .I fromcon --context and then orders the resulting list based on the global -+context. The function then orders the resulting list based on the global - .B /etc/selinux//contexts/default_contexts - file and the per-user - .B /etc/selinux//contexts/users/ -@@ -39,13 +45,22 @@ - .B freeconary - function. - -+.B get_ordered_context_list_with_level -+invokes the get_ordered_context_list function and applies the specified level. -+ - .B get_default_context - is the same as get_ordered_context_list but only returns a single context - which has to be freed with freecon. - -+.B get_default_context_with_level -+invokes the get_default_context function and applies the specified level. -+ - .B get_default_context_with_role - is the same as get_default_context but only returns a context with the specified role, returning -1 if no such context is reachable for the user. - -+.B get_default_context_with_rolelevel -+invokes the get_default_context_with_role function and applies the specified level. -+ - .B query_user_context - takes a list of contexts, queries the user via stdin/stdout as to which context - they want, and returns a new context as selected by the user (which has to be -@@ -58,9 +73,8 @@ - Get the default type (domain) for 'role' and set 'type' to refer to it, which has to be freed with free. - - .SH "RETURN VALUE" --get_ordered_context_list returns the number of contexts in the list upon --success or -1 upon errors. -+get_ordered_context_list and get_ordered_context_list_with_level return the number of contexts in the list upon success or -1 upon errors. - The other functions return 0 for success or -1 for errors. - - .SH "SEE ALSO" --.BR freeconary "(3), " freecon "(3), " security_compute_av "(3)" -+.BR freeconary "(3), " freecon "(3), " security_compute_av "(3)", getseuserbyname"(3)" diff --exclude-from=exclude -N -u -r nsalibselinux/man/man3/get_ordered_context_list_with_level.3 libselinux-1.27.10/man/man3/get_ordered_context_list_with_level.3 --- nsalibselinux/man/man3/get_ordered_context_list_with_level.3 1969-12-31 19:00:00.000000000 -0500 +++ libselinux-1.27.10/man/man3/get_ordered_context_list_with_level.3 2005-10-17 13:59:03.000000000 -0400 @@ -0,0 +1 @@ +.so man3/get_ordered_context_list.3 -diff --exclude-from=exclude -N -u -r nsalibselinux/src/get_context_list.c libselinux-1.27.10/src/get_context_list.c ---- nsalibselinux/src/get_context_list.c 2005-10-14 14:45:05.000000000 -0400 -+++ libselinux-1.27.10/src/get_context_list.c 2005-10-17 13:45:55.000000000 -0400 -@@ -48,6 +48,49 @@ - return rc; - } - -+int get_default_context_with_rolelevel(const char* user, -+ const char *role, -+ const char *level, -+ security_context_t fromcon, -+ security_context_t *newcon) -+{ -+ -+ int rc=0; -+ int freefrom = 0; -+ context_t con; -+ char *newfromcon; -+ if (!level) -+ return get_default_context_with_role(user, role, fromcon, newcon); -+ -+ if (!fromcon) { -+ rc = getcon(&fromcon); -+ if (rc < 0) -+ return rc; -+ freefrom = 1; -+ } -+ -+ rc = -1; -+ con=context_new(fromcon); -+ if (!con) -+ goto out; -+ -+ if (context_range_set(con, level)) -+ goto out; -+ -+ newfromcon = context_str(con); -+ if (!newfromcon) -+ goto out; -+ -+ rc = get_default_context_with_role(user, role, newfromcon, newcon); -+ -+out: -+ context_free(con); -+ if (freefrom) -+ freecon(fromcon); -+ return rc; -+ -+} -+ - int get_default_context(const char* user, - security_context_t fromcon, - security_context_t *newcon) From fedora-cvs-commits at redhat.com Tue Oct 18 18:27:57 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 14:27:57 -0400 Subject: rpms/checkpolicy/devel .cvsignore,1.48,1.49 sources,1.49,1.50 Message-ID: <200510181827.j9IIRvwJ002281@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/checkpolicy/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv2261 Modified Files: .cvsignore sources Log Message: * Tue Oct 18 2005 Dan Walsh 1.27.11-1 - Latest upgrade from NSA * Updated for changes to sepol policydb_index_others interface. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/checkpolicy/devel/.cvsignore,v retrieving revision 1.48 retrieving revision 1.49 diff -u -r1.48 -r1.49 --- .cvsignore 18 Oct 2005 14:17:02 -0000 1.48 +++ .cvsignore 18 Oct 2005 18:27:54 -0000 1.49 @@ -31,3 +31,4 @@ checkpolicy-1.27.8.tgz checkpolicy-1.27.9.tgz checkpolicy-1.27.10.tgz +checkpolicy-1.27.11.tgz Index: sources =================================================================== RCS file: /cvs/dist/rpms/checkpolicy/devel/sources,v retrieving revision 1.49 retrieving revision 1.50 diff -u -r1.49 -r1.50 --- sources 18 Oct 2005 14:17:02 -0000 1.49 +++ sources 18 Oct 2005 18:27:54 -0000 1.50 @@ -1 +1 @@ -2ad10853d2ab93a431ed810a87682c4b checkpolicy-1.27.10.tgz +818395004e2df274bf12aa3dacfb9b64 checkpolicy-1.27.11.tgz From fedora-cvs-commits at redhat.com Tue Oct 18 18:40:50 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 14:40:50 -0400 Subject: rpms/policycoreutils/devel .cvsignore, 1.73, 1.74 policycoreutils.spec, 1.158, 1.159 sources, 1.76, 1.77 Message-ID: <200510181840.j9IIeoaq026175@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/policycoreutils/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv23628 Modified Files: .cvsignore policycoreutils.spec sources Log Message: * Tue Oct 18 2005 Dan Walsh 1.27.14-1 - Update to match NSA * Updated semodule_package for sepol interface changes. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/policycoreutils/devel/.cvsignore,v retrieving revision 1.73 retrieving revision 1.74 diff -u -r1.73 -r1.74 --- .cvsignore 18 Oct 2005 14:16:52 -0000 1.73 +++ .cvsignore 18 Oct 2005 18:40:47 -0000 1.74 @@ -57,3 +57,4 @@ policycoreutils-1.27.11.tgz policycoreutils-1.27.12.tgz policycoreutils-1.27.13.tgz +policycoreutils-1.27.14.tgz Index: policycoreutils.spec =================================================================== RCS file: /cvs/dist/rpms/policycoreutils/devel/policycoreutils.spec,v retrieving revision 1.158 retrieving revision 1.159 diff -u -r1.158 -r1.159 --- policycoreutils.spec 18 Oct 2005 14:16:52 -0000 1.158 +++ policycoreutils.spec 18 Oct 2005 18:40:47 -0000 1.159 @@ -1,9 +1,9 @@ -%define libselinuxver 1.27.9-1 -%define libsepolver 1.9.19-1 -%define libsemanagever 1.3.20-1 +%define libselinuxver 1.27.12-1 +%define libsepolver 1.9.21-1 +%define libsemanagever 1.3.23-1 Summary: SELinux policy core utilities. Name: policycoreutils -Version: 1.27.13 +Version: 1.27.14 Release: 1 License: GPL Group: System Environment/Base @@ -86,6 +86,10 @@ %config(noreplace) %{_sysconfdir}/sestatus.conf %changelog +* Tue Oct 18 2005 Dan Walsh 1.27.14-1 +- Update to match NSA + * Updated semodule_package for sepol interface changes. + * Tue Oct 18 2005 Dan Walsh 1.27.13-1 - Update to match NSA * Updated semodule_expand/link for sepol interface changes. Index: sources =================================================================== RCS file: /cvs/dist/rpms/policycoreutils/devel/sources,v retrieving revision 1.76 retrieving revision 1.77 diff -u -r1.76 -r1.77 --- sources 18 Oct 2005 14:16:52 -0000 1.76 +++ sources 18 Oct 2005 18:40:47 -0000 1.77 @@ -1 +1 @@ -643f2592a15d18132c2537b8d6d43eca policycoreutils-1.27.13.tgz +01190ff0ca2daec9a06bfb3f775ef918 policycoreutils-1.27.14.tgz From fedora-cvs-commits at redhat.com Tue Oct 18 18:45:04 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 14:45:04 -0400 Subject: rpms/selinux-policy-strict/devel policy-20050916.patch, 1.23, 1.24 selinux-policy-strict.spec, 1.395, 1.396 Message-ID: <200510181845.j9IIj4FK029160@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-strict/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv29126 Modified Files: policy-20050916.patch selinux-policy-strict.spec Log Message: * Tue Oct 18 2005 Dan Walsh 1.27.1-19 - Policy cleanups from Thomas Bleher policy-20050916.patch: Makefile | 26 +-- attrib.te | 35 ++++ domains/misc/kernel.te | 2 domains/program/crond.te | 2 domains/program/fsadm.te | 7 domains/program/hostname.te | 2 domains/program/ifconfig.te | 5 domains/program/initrc.te | 20 ++ domains/program/ldconfig.te | 3 domains/program/load_policy.te | 7 domains/program/login.te | 21 +- domains/program/modutil.te | 14 + domains/program/mount.te | 6 domains/program/netutils.te | 3 domains/program/newrole.te | 4 domains/program/passwd.te | 1 domains/program/restorecon.te | 3 domains/program/setfiles.te | 4 domains/program/ssh.te | 6 domains/program/su.te | 9 + domains/program/syslogd.te | 6 domains/program/unused/NetworkManager.te | 8 - domains/program/unused/alsa.te | 2 domains/program/unused/amanda.te | 74 ++-------- domains/program/unused/anaconda.te | 5 domains/program/unused/apache.te | 22 ++- domains/program/unused/apmd.te | 13 + domains/program/unused/auditd.te | 2 domains/program/unused/automount.te | 4 domains/program/unused/bluetooth.te | 72 +++++++++ domains/program/unused/cups.te | 18 +- domains/program/unused/cvs.te | 3 domains/program/unused/cyrus.te | 2 domains/program/unused/dbusd.te | 4 domains/program/unused/dcc.te | 5 domains/program/unused/dhcpc.te | 5 domains/program/unused/dhcpd.te | 3 domains/program/unused/dovecot.te | 4 domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/hwclock.te | 2 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 5 domains/program/unused/mta.te | 8 + domains/program/unused/mysqld.te | 6 domains/program/unused/named.te | 29 +++ domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 10 - domains/program/unused/openct.te | 16 ++ domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 37 +++++ domains/program/unused/ping.te | 3 domains/program/unused/postfix.te | 57 ++++--- domains/program/unused/pppd.te | 8 - domains/program/unused/procmail.te | 11 + domains/program/unused/readahead.te | 21 ++ domains/program/unused/rlogind.te | 4 domains/program/unused/roundup.te | 29 +++ domains/program/unused/rpcd.te | 18 ++ domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 12 + domains/program/unused/snmpd.te | 6 domains/program/unused/squid.te | 3 domains/program/unused/udev.te | 10 + domains/program/unused/utempter.te | 2 domains/program/unused/webalizer.te | 3 domains/program/unused/winbind.te | 1 domains/program/unused/xdm.te | 3 domains/program/unused/yppasswdd.te | 40 +++++ domains/program/unused/ypserv.te | 1 domains/program/useradd.te | 5 file_contexts/distros.fc | 2 file_contexts/program/apache.fc | 2 file_contexts/program/bluetooth.fc | 3 file_contexts/program/dhcpc.fc | 2 file_contexts/program/dhcpd.fc | 5 file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 11 + file_contexts/program/ipsec.fc | 1 file_contexts/program/kudzu.fc | 2 file_contexts/program/openct.fc | 2 file_contexts/program/pegasus.fc | 11 + file_contexts/program/pppd.fc | 2 file_contexts/program/readahead.fc | 1 file_contexts/program/roundup.fc | 2 file_contexts/program/rpm.fc | 4 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/xdm.fc | 2 file_contexts/program/yppasswdd.fc | 2 file_contexts/program/ypserv.fc | 1 file_contexts/types.fc | 4 genfs_contexts | 3 macros/base_user_macros.te | 6 macros/core_macros.te | 3 macros/global_macros.te | 18 +- macros/network_macros.te | 17 ++ macros/program/apache_macros.te | 13 + macros/program/bonobo_macros.te | 2 macros/program/cdrecord_macros.te | 2 macros/program/crontab_macros.te | 2 macros/program/dbusd_macros.te | 4 macros/program/gconf_macros.te | 2 macros/program/gift_macros.te | 2 macros/program/gpg_macros.te | 2 macros/program/i18n_input_macros.te | 21 ++ macros/program/lpr_macros.te | 2 macros/program/mta_macros.te | 4 macros/program/newrole_macros.te | 2 macros/program/pyzor_macros.te | 2 macros/program/razor_macros.te | 2 macros/program/su_macros.te | 4 macros/program/uml_macros.te | 2 macros/program/xdm_macros.te | 2 macros/user_macros.te | 6 man/man8/ftpd_selinux.8 | 19 +- man/man8/httpd_selinux.8 | 9 + man/man8/rsync_selinux.8 | 12 + man/man8/samba_selinux.8 | 9 + mcs | 210 ++++++++++------------------ mls | 227 +++++++++++-------------------- net_contexts | 8 - targeted/appconfig/root_default_contexts | 4 targeted/assert.te | 2 targeted/domains/program/ssh.te | 3 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 16 +- tunables/distro.tun | 2 tunables/tunable.tun | 4 types/device.te | 4 types/devpts.te | 4 types/file.te | 18 +- types/network.te | 13 - types/security.te | 5 136 files changed, 1031 insertions(+), 541 deletions(-) Index: policy-20050916.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/devel/policy-20050916.patch,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- policy-20050916.patch 17 Oct 2005 19:56:11 -0000 1.23 +++ policy-20050916.patch 18 Oct 2005 18:45:01 -0000 1.24 @@ -142,7 +142,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/initrc.te policy-1.27.1/domains/program/initrc.te --- nsapolicy/domains/program/initrc.te 2005-09-16 11:17:08.000000000 -0400 -+++ policy-1.27.1/domains/program/initrc.te 2005-10-17 10:31:12.000000000 -0400 ++++ policy-1.27.1/domains/program/initrc.te 2005-10-17 15:59:18.000000000 -0400 @@ -56,6 +56,10 @@ can_create_pty(initrc) @@ -171,14 +171,16 @@ ')dnl end distro_redhat allow initrc_t system_map_t:{ file lnk_file } r_file_perms; -@@ -322,3 +334,7 @@ +@@ -322,3 +334,9 @@ ifdef(`dbusd.te', ` allow initrc_t system_dbusd_var_run_t:sock_file write; ') + +# Slapd needs to read cert files from its initscript +r_dir_file(initrc_t, cert_t) ++ifdef(`use_mcs', ` +range_transition sysadm_t initrc_exec_t s0; ++') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/ldconfig.te policy-1.27.1/domains/program/ldconfig.te --- nsapolicy/domains/program/ldconfig.te 2005-09-12 16:40:28.000000000 -0400 +++ policy-1.27.1/domains/program/ldconfig.te 2005-09-27 17:14:40.000000000 -0400 @@ -1801,7 +1803,7 @@ +allow roundup_t etc_t:file { getattr read }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/rpcd.te policy-1.27.1/domains/program/unused/rpcd.te --- nsapolicy/domains/program/unused/rpcd.te 2005-09-12 16:40:28.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/rpcd.te 2005-10-11 12:55:16.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/rpcd.te 2005-10-18 14:08:25.000000000 -0400 @@ -19,7 +19,7 @@ can_network($1_t) allow $1_t port_type:tcp_socket name_connect; @@ -1811,7 +1813,7 @@ read_locale($1_t) allow $1_t self:capability net_bind_service; dontaudit $1_t self:capability net_admin; -@@ -148,6 +148,15 @@ +@@ -148,6 +148,20 @@ allow gssd_t rpc_pipefs_t:dir r_dir_perms; allow gssd_t rpc_pipefs_t:sock_file { read write }; allow gssd_t rpc_pipefs_t:file r_file_perms; @@ -1822,10 +1824,15 @@ + +bool allow_gssd_read_tmp true; +if (allow_gssd_read_tmp) { ++# ++#needs to be able to udpate the kerberos ticket file ++# +ifdef(`targeted_policy', ` +r_dir_file(gssd_t, tmp_t) ++allow gssd_t tmp_t:file write; +', ` +r_dir_file(gssd_t, user_tmpfile) ++allow gssd_t user_tmpfile:file write; +') +} diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/rsync.te policy-1.27.1/domains/program/unused/rsync.te @@ -2212,6 +2219,15 @@ # Kame /usr/sbin/racoon -- system_u:object_r:ipsec_exec_t +diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/kudzu.fc policy-1.27.1/file_contexts/program/kudzu.fc +--- nsapolicy/file_contexts/program/kudzu.fc 2005-09-12 16:40:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/kudzu.fc 2005-10-17 19:38:19.000000000 -0400 +@@ -1,4 +1,4 @@ + # kudzu +-/usr/sbin/kudzu -- system_u:object_r:kudzu_exec_t ++(/usr)?/sbin/kudzu -- system_u:object_r:kudzu_exec_t + /sbin/kmodule -- system_u:object_r:kudzu_exec_t + /var/run/Xconfig -- root:object_r:kudzu_var_run_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/openct.fc policy-1.27.1/file_contexts/program/openct.fc --- nsapolicy/file_contexts/program/openct.fc 1969-12-31 19:00:00.000000000 -0500 +++ policy-1.27.1/file_contexts/program/openct.fc 2005-09-27 17:14:40.000000000 -0400 @@ -2524,6 +2540,19 @@ + + ') +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/bonobo_macros.te policy-1.27.1/macros/program/bonobo_macros.te +--- nsapolicy/macros/program/bonobo_macros.te 2005-09-12 16:40:26.000000000 -0400 ++++ policy-1.27.1/macros/program/bonobo_macros.te 2005-10-18 09:14:50.000000000 -0400 +@@ -72,9 +72,7 @@ + # here temporarily, since bonobo runs as ROLE_t by default anyway + domain_auto_trans($1_bonobo_t, bin_t, $1_t) + +-ifdef(`xdm.te', ` + can_pipe_xdm($1_bonobo_t) +-') + + ') dnl ifdef bonobo_domain_args + ') dnl bonobo_domain diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/cdrecord_macros.te policy-1.27.1/macros/program/cdrecord_macros.te --- nsapolicy/macros/program/cdrecord_macros.te 2005-09-16 11:17:11.000000000 -0400 +++ policy-1.27.1/macros/program/cdrecord_macros.te 2005-09-27 17:14:40.000000000 -0400 @@ -2536,6 +2565,82 @@ allow $1_cdrecord_t $1_home_t:dir search; allow $1_cdrecord_t $1_home_dir_t:dir r_dir_perms; allow $1_cdrecord_t $1_home_t:file r_file_perms; +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/crontab_macros.te policy-1.27.1/macros/program/crontab_macros.te +--- nsapolicy/macros/program/crontab_macros.te 2005-09-12 16:40:26.000000000 -0400 ++++ policy-1.27.1/macros/program/crontab_macros.te 2005-10-18 09:14:50.000000000 -0400 +@@ -40,7 +40,7 @@ + + # Use capabilities dac_override is to create the file in the directory + # under /tmp +-allow $1_crontab_t $1_crontab_t:capability { setuid setgid chown dac_override }; ++allow $1_crontab_t self:capability { setuid setgid chown dac_override }; + + # Type for temporary files. + file_type_auto_trans($1_crontab_t, tmp_t, $1_tmp_t, { dir file }) +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/dbusd_macros.te policy-1.27.1/macros/program/dbusd_macros.te +--- nsapolicy/macros/program/dbusd_macros.te 2005-09-12 16:40:26.000000000 -0400 ++++ policy-1.27.1/macros/program/dbusd_macros.te 2005-10-18 09:14:50.000000000 -0400 +@@ -29,9 +29,7 @@ + r_dir_file($1_dbusd_t, etc_dbusd_t) + tmp_domain($1_dbusd) + allow $1_dbusd_t self:process fork; +-ifdef(`xdm.te', ` + can_pipe_xdm($1_dbusd_t) +-') + + allow $1_dbusd_t self:unix_stream_socket create_stream_socket_perms; + allow $1_dbusd_t self:unix_dgram_socket create_socket_perms; +@@ -71,11 +69,11 @@ + # For connecting to the bus + allow $2_t $1_dbusd_t:unix_stream_socket connectto; + +-') dnl endif dbusd.te + ifelse(`system', `$1', ` + allow { $2_t } { var_run_t system_dbusd_var_run_t }:dir search; + allow { $2_t } system_dbusd_var_run_t:sock_file write; + ',`') dnl endif system ++') dnl endif dbusd.te + ') + + # can_dbusd_converse(dbus_type, domain_prefix_a, domain_prefix_b) +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/gconf_macros.te policy-1.27.1/macros/program/gconf_macros.te +--- nsapolicy/macros/program/gconf_macros.te 2005-09-12 16:40:26.000000000 -0400 ++++ policy-1.27.1/macros/program/gconf_macros.te 2005-10-18 09:14:50.000000000 -0400 +@@ -31,8 +31,8 @@ + # /tmp/gconfd-USER + tmp_domain($1_gconfd) + +-ifdef(`xdm.te', ` + can_pipe_xdm($1_gconfd_t) ++ifdef(`xdm.te', ` + allow xdm_t $1_gconfd_t:process signal; + ') + +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/gift_macros.te policy-1.27.1/macros/program/gift_macros.te +--- nsapolicy/macros/program/gift_macros.te 2005-09-12 16:40:26.000000000 -0400 ++++ policy-1.27.1/macros/program/gift_macros.te 2005-10-18 09:14:50.000000000 -0400 +@@ -90,9 +90,7 @@ + r_dir_file($1_giftd_t, usr_t) + + # Connect to xdm +-ifdef(`xdm.te', ` + can_pipe_xdm($1_giftd_t) +-') + + ') dnl giftd_domain + +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/gpg_macros.te policy-1.27.1/macros/program/gpg_macros.te +--- nsapolicy/macros/program/gpg_macros.te 2005-09-16 11:17:11.000000000 -0400 ++++ policy-1.27.1/macros/program/gpg_macros.te 2005-10-18 09:14:50.000000000 -0400 +@@ -108,8 +108,6 @@ + # for nscd + dontaudit $1_gpg_helper_t var_t:dir search; + +-ifdef(`xdm.te', ` + can_pipe_xdm($1_gpg_t) +-') + + ')dnl end gpg_domain definition diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/i18n_input_macros.te policy-1.27.1/macros/program/i18n_input_macros.te --- nsapolicy/macros/program/i18n_input_macros.te 1969-12-31 19:00:00.000000000 -0500 +++ policy-1.27.1/macros/program/i18n_input_macros.te 2005-09-27 17:14:40.000000000 -0400 @@ -2561,6 +2666,18 @@ +') + + +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/lpr_macros.te policy-1.27.1/macros/program/lpr_macros.te +--- nsapolicy/macros/program/lpr_macros.te 2005-09-12 16:40:26.000000000 -0400 ++++ policy-1.27.1/macros/program/lpr_macros.te 2005-10-18 09:14:50.000000000 -0400 +@@ -39,7 +39,7 @@ + can_ypbind($1_lpr_t) + + # Use capabilities. +-allow $1_lpr_t $1_lpr_t:capability { setuid dac_override net_bind_service chown }; ++allow $1_lpr_t self:capability { setuid dac_override net_bind_service chown }; + + allow $1_lpr_t self:unix_stream_socket create_stream_socket_perms; + diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/mta_macros.te policy-1.27.1/macros/program/mta_macros.te --- nsapolicy/macros/program/mta_macros.te 2005-09-12 16:40:26.000000000 -0400 +++ policy-1.27.1/macros/program/mta_macros.te 2005-09-27 17:14:40.000000000 -0400 @@ -2649,9 +2766,21 @@ dontaudit uml_net_t $1_uml_rw_t:dir { getattr search }; ')dnl end ifdef uml_net.te +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/xdm_macros.te policy-1.27.1/macros/program/xdm_macros.te +--- nsapolicy/macros/program/xdm_macros.te 2005-09-12 16:40:26.000000000 -0400 ++++ policy-1.27.1/macros/program/xdm_macros.te 2005-10-18 09:14:50.000000000 -0400 +@@ -6,6 +6,8 @@ + # + + define(`can_pipe_xdm', ` ++ifdef(`xdm.te', ` + allow $1 xdm_t:fd use; + allow $1 xdm_t:fifo_file { getattr read write ioctl }; ++') + ') dnl can_pipe_xdm diff --exclude-from=exclude -N -u -r nsapolicy/macros/user_macros.te policy-1.27.1/macros/user_macros.te --- nsapolicy/macros/user_macros.te 2005-09-12 16:40:26.000000000 -0400 -+++ policy-1.27.1/macros/user_macros.te 2005-10-13 09:26:43.000000000 -0400 ++++ policy-1.27.1/macros/user_macros.te 2005-10-18 09:15:31.000000000 -0400 @@ -121,6 +121,7 @@ # user domains. ifelse($1, sysadm, `',` @@ -2660,11 +2789,29 @@ ') ifdef(`slocate.te', `locate_domain($1)') ifdef(`lockdev.te', `lockdev_domain($1)') -@@ -225,7 +226,6 @@ +@@ -143,7 +144,7 @@ + allow $1_t port_t:tcp_socket name_bind; + } + # port access is audited even if dac would not have allowed it, so dontaudit it here +-dontaudit $1_t reserved_port_type:tcp_socket name_bind; ++dontaudit $1_t { reserved_port_type reserved_port_t }:tcp_socket name_bind; + + # Allow system log read + if (user_dmesg) { +@@ -203,6 +204,7 @@ + + # Grant read/search permissions to some of /proc. + r_dir_file($1_t, proc_t) ++# netstat needs to access proc_net_t; if you want to hide this info use dontaudit here instead + r_dir_file($1_t, proc_net_t) + + base_file_read_access($1_t) +@@ -225,7 +227,7 @@ allow $1_t self:dir search; allow $1_t self:file { getattr read }; -allow secadm_t self:fifo_file rw_file_perms; ++allow $1_t self:fifo_file rw_file_perms; allow $1_t self:lnk_file read; allow $1_t self:unix_stream_socket create_socket_perms; @@ -3359,7 +3506,7 @@ # diff --exclude-from=exclude -N -u -r nsapolicy/net_contexts policy-1.27.1/net_contexts --- nsapolicy/net_contexts 2005-09-16 11:17:08.000000000 -0400 -+++ policy-1.27.1/net_contexts 2005-09-27 17:14:40.000000000 -0400 ++++ policy-1.27.1/net_contexts 2005-10-18 09:14:50.000000000 -0400 @@ -50,6 +50,10 @@ portcon tcp 53 system_u:object_r:dns_port_t @@ -3371,7 +3518,16 @@ portcon udp 68 system_u:object_r:dhcpc_port_t portcon udp 70 system_u:object_r:gopher_port_t portcon tcp 70 system_u:object_r:gopher_port_t -@@ -164,6 +168,8 @@ +@@ -111,8 +115,6 @@ + portcon tcp 749 system_u:object_r:kerberos_admin_port_t + portcon tcp 750 system_u:object_r:kerberos_port_t + portcon udp 750 system_u:object_r:kerberos_port_t +-portcon tcp 4444 system_u:object_r:kerberos_master_port_t +-portcon udp 4444 system_u:object_r:kerberos_master_port_t + portcon tcp 783 system_u:object_r:spamd_port_t + portcon tcp 540 system_u:object_r:uucpd_port_t + portcon tcp 2401 system_u:object_r:cvs_port_t +@@ -164,6 +166,8 @@ portcon tcp 50000 system_u:object_r:hplip_port_t portcon tcp 50002 system_u:object_r:hplip_port_t portcon tcp 5900 system_u:object_r:vnc_port_t @@ -3498,6 +3654,20 @@ # Allow user_r to reach sysadm_r via su, sudo, or userhelper. # Otherwise, only staff_r can do so. +diff --exclude-from=exclude -N -u -r nsapolicy/types/device.te policy-1.27.1/types/device.te +--- nsapolicy/types/device.te 2005-09-12 16:40:26.000000000 -0400 ++++ policy-1.27.1/types/device.te 2005-10-18 09:14:50.000000000 -0400 +@@ -131,8 +131,8 @@ + # Type for /dev/.devfsd + type devfs_control_t, device_type, dev_fs; + +-# Type for /dev/cpu/mtrr +-type mtrr_device_t, device_type, dev_fs; ++# Type for /dev/cpu/mtrr and /proc/mtrr ++type mtrr_device_t, device_type, dev_fs, proc_fs; + + # Type for /dev/pmu + type power_device_t, device_type, dev_fs; diff --exclude-from=exclude -N -u -r nsapolicy/types/devpts.te policy-1.27.1/types/devpts.te --- nsapolicy/types/devpts.te 2005-09-12 16:40:26.000000000 -0400 +++ policy-1.27.1/types/devpts.te 2005-09-27 17:14:40.000000000 -0400 @@ -3559,7 +3729,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/types/network.te policy-1.27.1/types/network.te --- nsapolicy/types/network.te 2005-09-16 11:17:12.000000000 -0400 -+++ policy-1.27.1/types/network.te 2005-09-27 17:14:40.000000000 -0400 ++++ policy-1.27.1/types/network.te 2005-10-18 09:14:50.000000000 -0400 @@ -18,7 +18,7 @@ type dhcpd_port_t, port_type, reserved_port_type; type smbd_port_t, port_type, reserved_port_type; @@ -3569,7 +3739,15 @@ type http_port_t, port_type, reserved_port_type; type ipp_port_t, port_type, reserved_port_type; type gopher_port_t, port_type, reserved_port_type; -@@ -105,7 +105,7 @@ +@@ -45,7 +45,6 @@ + # + type kerberos_port_t, port_type, reserved_port_type; + type kerberos_admin_port_t, port_type, reserved_port_type; +-type kerberos_master_port_t, port_type; + + # + # Ports used to communicate with portmap server +@@ -105,7 +104,7 @@ type printer_port_t, port_type, reserved_port_type; type mysqld_port_t, port_type; type postgresql_port_t, port_type; @@ -3578,7 +3756,7 @@ type howl_port_t, port_type; type dict_port_t, port_type; type syslogd_port_t, port_type, reserved_port_type; -@@ -120,11 +120,13 @@ +@@ -120,11 +119,13 @@ type zebra_port_t, port_type; type i18n_input_port_t, port_type; type vnc_port_t, port_type; @@ -3594,7 +3772,7 @@ type postgrey_port_t, port_type; type asterisk_port_t, port_type; type utcpserver_port_t, port_type; -@@ -157,7 +159,7 @@ +@@ -157,7 +158,7 @@ type telnetd_port_t, port_type, reserved_port_type; type comsat_port_t, port_type, reserved_port_type; type cvs_port_t, port_type; Index: selinux-policy-strict.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/devel/selinux-policy-strict.spec,v retrieving revision 1.395 retrieving revision 1.396 diff -u -r1.395 -r1.396 --- selinux-policy-strict.spec 17 Oct 2005 19:56:11 -0000 1.395 +++ selinux-policy-strict.spec 18 Oct 2005 18:45:01 -0000 1.396 @@ -4,13 +4,13 @@ %define PRE_FILE_CONTEXT %{FILE_CONTEXT}.pre %define POLICYVER 20 %define PREVPOLICYVER 19 -%define POLICYCOREUTILSVER 1.27.5-1 -%define CHECKPOLICYVER 1.27.7-2 +%define POLICYCOREUTILSVER 1.27.14-1 +%define CHECKPOLICYVER 1.27.11-1 Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} Version: 1.27.1 -Release: 18 +Release: 19 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz @@ -244,6 +244,9 @@ exit 0 %changelog +* Tue Oct 18 2005 Dan Walsh 1.27.1-19 +- Policy cleanups from Thomas Bleher + * Mon Oct 17 2005 Dan Walsh 1.27.1-18 - Cleanup category defs - Add configfs_t From fedora-cvs-commits at redhat.com Tue Oct 18 18:45:18 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 14:45:18 -0400 Subject: rpms/selinux-policy-targeted/devel policy-20050916.patch, 1.21, 1.22 selinux-policy-targeted.spec, 1.389, 1.390 Message-ID: <200510181845.j9IIjIkv029189@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-targeted/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv29137 Modified Files: policy-20050916.patch selinux-policy-targeted.spec Log Message: * Tue Oct 18 2005 Dan Walsh 1.27.1-19 - Policy cleanups from Thomas Bleher policy-20050916.patch: Makefile | 26 +-- attrib.te | 35 ++++ domains/misc/kernel.te | 2 domains/program/crond.te | 2 domains/program/fsadm.te | 7 domains/program/hostname.te | 2 domains/program/ifconfig.te | 5 domains/program/initrc.te | 20 ++ domains/program/ldconfig.te | 3 domains/program/load_policy.te | 7 domains/program/login.te | 21 +- domains/program/modutil.te | 14 + domains/program/mount.te | 6 domains/program/netutils.te | 3 domains/program/newrole.te | 4 domains/program/passwd.te | 1 domains/program/restorecon.te | 3 domains/program/setfiles.te | 4 domains/program/ssh.te | 6 domains/program/su.te | 9 + domains/program/syslogd.te | 6 domains/program/unused/NetworkManager.te | 8 - domains/program/unused/alsa.te | 2 domains/program/unused/amanda.te | 74 ++-------- domains/program/unused/anaconda.te | 5 domains/program/unused/apache.te | 22 ++- domains/program/unused/apmd.te | 13 + domains/program/unused/auditd.te | 2 domains/program/unused/automount.te | 4 domains/program/unused/bluetooth.te | 72 +++++++++ domains/program/unused/cups.te | 18 +- domains/program/unused/cvs.te | 3 domains/program/unused/cyrus.te | 2 domains/program/unused/dbusd.te | 4 domains/program/unused/dcc.te | 5 domains/program/unused/dhcpc.te | 5 domains/program/unused/dhcpd.te | 3 domains/program/unused/dovecot.te | 4 domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/hwclock.te | 2 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 5 domains/program/unused/mta.te | 8 + domains/program/unused/mysqld.te | 6 domains/program/unused/named.te | 29 +++ domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 10 - domains/program/unused/openct.te | 16 ++ domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 37 +++++ domains/program/unused/ping.te | 3 domains/program/unused/postfix.te | 57 ++++--- domains/program/unused/pppd.te | 8 - domains/program/unused/procmail.te | 11 + domains/program/unused/readahead.te | 21 ++ domains/program/unused/rlogind.te | 4 domains/program/unused/roundup.te | 29 +++ domains/program/unused/rpcd.te | 18 ++ domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 12 + domains/program/unused/snmpd.te | 6 domains/program/unused/squid.te | 3 domains/program/unused/udev.te | 10 + domains/program/unused/utempter.te | 2 domains/program/unused/webalizer.te | 3 domains/program/unused/winbind.te | 1 domains/program/unused/xdm.te | 3 domains/program/unused/yppasswdd.te | 40 +++++ domains/program/unused/ypserv.te | 1 domains/program/useradd.te | 5 file_contexts/distros.fc | 2 file_contexts/program/apache.fc | 2 file_contexts/program/bluetooth.fc | 3 file_contexts/program/dhcpc.fc | 2 file_contexts/program/dhcpd.fc | 5 file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 11 + file_contexts/program/ipsec.fc | 1 file_contexts/program/kudzu.fc | 2 file_contexts/program/openct.fc | 2 file_contexts/program/pegasus.fc | 11 + file_contexts/program/pppd.fc | 2 file_contexts/program/readahead.fc | 1 file_contexts/program/roundup.fc | 2 file_contexts/program/rpm.fc | 4 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/xdm.fc | 2 file_contexts/program/yppasswdd.fc | 2 file_contexts/program/ypserv.fc | 1 file_contexts/types.fc | 4 genfs_contexts | 3 macros/base_user_macros.te | 6 macros/core_macros.te | 3 macros/global_macros.te | 18 +- macros/network_macros.te | 17 ++ macros/program/apache_macros.te | 13 + macros/program/bonobo_macros.te | 2 macros/program/cdrecord_macros.te | 2 macros/program/crontab_macros.te | 2 macros/program/dbusd_macros.te | 4 macros/program/gconf_macros.te | 2 macros/program/gift_macros.te | 2 macros/program/gpg_macros.te | 2 macros/program/i18n_input_macros.te | 21 ++ macros/program/lpr_macros.te | 2 macros/program/mta_macros.te | 4 macros/program/newrole_macros.te | 2 macros/program/pyzor_macros.te | 2 macros/program/razor_macros.te | 2 macros/program/su_macros.te | 4 macros/program/uml_macros.te | 2 macros/program/xdm_macros.te | 2 macros/user_macros.te | 6 man/man8/ftpd_selinux.8 | 19 +- man/man8/httpd_selinux.8 | 9 + man/man8/rsync_selinux.8 | 12 + man/man8/samba_selinux.8 | 9 + mcs | 210 ++++++++++------------------ mls | 227 +++++++++++-------------------- net_contexts | 8 - targeted/appconfig/root_default_contexts | 4 targeted/assert.te | 2 targeted/domains/program/ssh.te | 3 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 16 +- tunables/distro.tun | 2 tunables/tunable.tun | 4 types/device.te | 4 types/devpts.te | 4 types/file.te | 18 +- types/network.te | 13 - types/security.te | 5 136 files changed, 1031 insertions(+), 541 deletions(-) Index: policy-20050916.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/devel/policy-20050916.patch,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- policy-20050916.patch 17 Oct 2005 19:58:26 -0000 1.21 +++ policy-20050916.patch 18 Oct 2005 18:45:11 -0000 1.22 @@ -142,7 +142,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/initrc.te policy-1.27.1/domains/program/initrc.te --- nsapolicy/domains/program/initrc.te 2005-09-16 11:17:08.000000000 -0400 -+++ policy-1.27.1/domains/program/initrc.te 2005-10-17 10:31:12.000000000 -0400 ++++ policy-1.27.1/domains/program/initrc.te 2005-10-17 15:59:18.000000000 -0400 @@ -56,6 +56,10 @@ can_create_pty(initrc) @@ -171,14 +171,16 @@ ')dnl end distro_redhat allow initrc_t system_map_t:{ file lnk_file } r_file_perms; -@@ -322,3 +334,7 @@ +@@ -322,3 +334,9 @@ ifdef(`dbusd.te', ` allow initrc_t system_dbusd_var_run_t:sock_file write; ') + +# Slapd needs to read cert files from its initscript +r_dir_file(initrc_t, cert_t) ++ifdef(`use_mcs', ` +range_transition sysadm_t initrc_exec_t s0; ++') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/ldconfig.te policy-1.27.1/domains/program/ldconfig.te --- nsapolicy/domains/program/ldconfig.te 2005-09-12 16:40:28.000000000 -0400 +++ policy-1.27.1/domains/program/ldconfig.te 2005-09-27 17:14:40.000000000 -0400 @@ -1801,7 +1803,7 @@ +allow roundup_t etc_t:file { getattr read }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/rpcd.te policy-1.27.1/domains/program/unused/rpcd.te --- nsapolicy/domains/program/unused/rpcd.te 2005-09-12 16:40:28.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/rpcd.te 2005-10-11 12:55:16.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/rpcd.te 2005-10-18 14:08:25.000000000 -0400 @@ -19,7 +19,7 @@ can_network($1_t) allow $1_t port_type:tcp_socket name_connect; @@ -1811,7 +1813,7 @@ read_locale($1_t) allow $1_t self:capability net_bind_service; dontaudit $1_t self:capability net_admin; -@@ -148,6 +148,15 @@ +@@ -148,6 +148,20 @@ allow gssd_t rpc_pipefs_t:dir r_dir_perms; allow gssd_t rpc_pipefs_t:sock_file { read write }; allow gssd_t rpc_pipefs_t:file r_file_perms; @@ -1822,10 +1824,15 @@ + +bool allow_gssd_read_tmp true; +if (allow_gssd_read_tmp) { ++# ++#needs to be able to udpate the kerberos ticket file ++# +ifdef(`targeted_policy', ` +r_dir_file(gssd_t, tmp_t) ++allow gssd_t tmp_t:file write; +', ` +r_dir_file(gssd_t, user_tmpfile) ++allow gssd_t user_tmpfile:file write; +') +} diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/rsync.te policy-1.27.1/domains/program/unused/rsync.te @@ -2212,6 +2219,15 @@ # Kame /usr/sbin/racoon -- system_u:object_r:ipsec_exec_t +diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/kudzu.fc policy-1.27.1/file_contexts/program/kudzu.fc +--- nsapolicy/file_contexts/program/kudzu.fc 2005-09-12 16:40:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/kudzu.fc 2005-10-17 19:38:19.000000000 -0400 +@@ -1,4 +1,4 @@ + # kudzu +-/usr/sbin/kudzu -- system_u:object_r:kudzu_exec_t ++(/usr)?/sbin/kudzu -- system_u:object_r:kudzu_exec_t + /sbin/kmodule -- system_u:object_r:kudzu_exec_t + /var/run/Xconfig -- root:object_r:kudzu_var_run_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/openct.fc policy-1.27.1/file_contexts/program/openct.fc --- nsapolicy/file_contexts/program/openct.fc 1969-12-31 19:00:00.000000000 -0500 +++ policy-1.27.1/file_contexts/program/openct.fc 2005-09-27 17:14:40.000000000 -0400 @@ -2524,6 +2540,19 @@ + + ') +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/bonobo_macros.te policy-1.27.1/macros/program/bonobo_macros.te +--- nsapolicy/macros/program/bonobo_macros.te 2005-09-12 16:40:26.000000000 -0400 ++++ policy-1.27.1/macros/program/bonobo_macros.te 2005-10-18 09:14:50.000000000 -0400 +@@ -72,9 +72,7 @@ + # here temporarily, since bonobo runs as ROLE_t by default anyway + domain_auto_trans($1_bonobo_t, bin_t, $1_t) + +-ifdef(`xdm.te', ` + can_pipe_xdm($1_bonobo_t) +-') + + ') dnl ifdef bonobo_domain_args + ') dnl bonobo_domain diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/cdrecord_macros.te policy-1.27.1/macros/program/cdrecord_macros.te --- nsapolicy/macros/program/cdrecord_macros.te 2005-09-16 11:17:11.000000000 -0400 +++ policy-1.27.1/macros/program/cdrecord_macros.te 2005-09-27 17:14:40.000000000 -0400 @@ -2536,6 +2565,82 @@ allow $1_cdrecord_t $1_home_t:dir search; allow $1_cdrecord_t $1_home_dir_t:dir r_dir_perms; allow $1_cdrecord_t $1_home_t:file r_file_perms; +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/crontab_macros.te policy-1.27.1/macros/program/crontab_macros.te +--- nsapolicy/macros/program/crontab_macros.te 2005-09-12 16:40:26.000000000 -0400 ++++ policy-1.27.1/macros/program/crontab_macros.te 2005-10-18 09:14:50.000000000 -0400 +@@ -40,7 +40,7 @@ + + # Use capabilities dac_override is to create the file in the directory + # under /tmp +-allow $1_crontab_t $1_crontab_t:capability { setuid setgid chown dac_override }; ++allow $1_crontab_t self:capability { setuid setgid chown dac_override }; + + # Type for temporary files. + file_type_auto_trans($1_crontab_t, tmp_t, $1_tmp_t, { dir file }) +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/dbusd_macros.te policy-1.27.1/macros/program/dbusd_macros.te +--- nsapolicy/macros/program/dbusd_macros.te 2005-09-12 16:40:26.000000000 -0400 ++++ policy-1.27.1/macros/program/dbusd_macros.te 2005-10-18 09:14:50.000000000 -0400 +@@ -29,9 +29,7 @@ + r_dir_file($1_dbusd_t, etc_dbusd_t) + tmp_domain($1_dbusd) + allow $1_dbusd_t self:process fork; +-ifdef(`xdm.te', ` + can_pipe_xdm($1_dbusd_t) +-') + + allow $1_dbusd_t self:unix_stream_socket create_stream_socket_perms; + allow $1_dbusd_t self:unix_dgram_socket create_socket_perms; +@@ -71,11 +69,11 @@ + # For connecting to the bus + allow $2_t $1_dbusd_t:unix_stream_socket connectto; + +-') dnl endif dbusd.te + ifelse(`system', `$1', ` + allow { $2_t } { var_run_t system_dbusd_var_run_t }:dir search; + allow { $2_t } system_dbusd_var_run_t:sock_file write; + ',`') dnl endif system ++') dnl endif dbusd.te + ') + + # can_dbusd_converse(dbus_type, domain_prefix_a, domain_prefix_b) +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/gconf_macros.te policy-1.27.1/macros/program/gconf_macros.te +--- nsapolicy/macros/program/gconf_macros.te 2005-09-12 16:40:26.000000000 -0400 ++++ policy-1.27.1/macros/program/gconf_macros.te 2005-10-18 09:14:50.000000000 -0400 +@@ -31,8 +31,8 @@ + # /tmp/gconfd-USER + tmp_domain($1_gconfd) + +-ifdef(`xdm.te', ` + can_pipe_xdm($1_gconfd_t) ++ifdef(`xdm.te', ` + allow xdm_t $1_gconfd_t:process signal; + ') + +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/gift_macros.te policy-1.27.1/macros/program/gift_macros.te +--- nsapolicy/macros/program/gift_macros.te 2005-09-12 16:40:26.000000000 -0400 ++++ policy-1.27.1/macros/program/gift_macros.te 2005-10-18 09:14:50.000000000 -0400 +@@ -90,9 +90,7 @@ + r_dir_file($1_giftd_t, usr_t) + + # Connect to xdm +-ifdef(`xdm.te', ` + can_pipe_xdm($1_giftd_t) +-') + + ') dnl giftd_domain + +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/gpg_macros.te policy-1.27.1/macros/program/gpg_macros.te +--- nsapolicy/macros/program/gpg_macros.te 2005-09-16 11:17:11.000000000 -0400 ++++ policy-1.27.1/macros/program/gpg_macros.te 2005-10-18 09:14:50.000000000 -0400 +@@ -108,8 +108,6 @@ + # for nscd + dontaudit $1_gpg_helper_t var_t:dir search; + +-ifdef(`xdm.te', ` + can_pipe_xdm($1_gpg_t) +-') + + ')dnl end gpg_domain definition diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/i18n_input_macros.te policy-1.27.1/macros/program/i18n_input_macros.te --- nsapolicy/macros/program/i18n_input_macros.te 1969-12-31 19:00:00.000000000 -0500 +++ policy-1.27.1/macros/program/i18n_input_macros.te 2005-09-27 17:14:40.000000000 -0400 @@ -2561,6 +2666,18 @@ +') + + +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/lpr_macros.te policy-1.27.1/macros/program/lpr_macros.te +--- nsapolicy/macros/program/lpr_macros.te 2005-09-12 16:40:26.000000000 -0400 ++++ policy-1.27.1/macros/program/lpr_macros.te 2005-10-18 09:14:50.000000000 -0400 +@@ -39,7 +39,7 @@ + can_ypbind($1_lpr_t) + + # Use capabilities. +-allow $1_lpr_t $1_lpr_t:capability { setuid dac_override net_bind_service chown }; ++allow $1_lpr_t self:capability { setuid dac_override net_bind_service chown }; + + allow $1_lpr_t self:unix_stream_socket create_stream_socket_perms; + diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/mta_macros.te policy-1.27.1/macros/program/mta_macros.te --- nsapolicy/macros/program/mta_macros.te 2005-09-12 16:40:26.000000000 -0400 +++ policy-1.27.1/macros/program/mta_macros.te 2005-09-27 17:14:40.000000000 -0400 @@ -2649,9 +2766,21 @@ dontaudit uml_net_t $1_uml_rw_t:dir { getattr search }; ')dnl end ifdef uml_net.te +diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/xdm_macros.te policy-1.27.1/macros/program/xdm_macros.te +--- nsapolicy/macros/program/xdm_macros.te 2005-09-12 16:40:26.000000000 -0400 ++++ policy-1.27.1/macros/program/xdm_macros.te 2005-10-18 09:14:50.000000000 -0400 +@@ -6,6 +6,8 @@ + # + + define(`can_pipe_xdm', ` ++ifdef(`xdm.te', ` + allow $1 xdm_t:fd use; + allow $1 xdm_t:fifo_file { getattr read write ioctl }; ++') + ') dnl can_pipe_xdm diff --exclude-from=exclude -N -u -r nsapolicy/macros/user_macros.te policy-1.27.1/macros/user_macros.te --- nsapolicy/macros/user_macros.te 2005-09-12 16:40:26.000000000 -0400 -+++ policy-1.27.1/macros/user_macros.te 2005-10-13 09:26:43.000000000 -0400 ++++ policy-1.27.1/macros/user_macros.te 2005-10-18 09:15:31.000000000 -0400 @@ -121,6 +121,7 @@ # user domains. ifelse($1, sysadm, `',` @@ -2660,11 +2789,29 @@ ') ifdef(`slocate.te', `locate_domain($1)') ifdef(`lockdev.te', `lockdev_domain($1)') -@@ -225,7 +226,6 @@ +@@ -143,7 +144,7 @@ + allow $1_t port_t:tcp_socket name_bind; + } + # port access is audited even if dac would not have allowed it, so dontaudit it here +-dontaudit $1_t reserved_port_type:tcp_socket name_bind; ++dontaudit $1_t { reserved_port_type reserved_port_t }:tcp_socket name_bind; + + # Allow system log read + if (user_dmesg) { +@@ -203,6 +204,7 @@ + + # Grant read/search permissions to some of /proc. + r_dir_file($1_t, proc_t) ++# netstat needs to access proc_net_t; if you want to hide this info use dontaudit here instead + r_dir_file($1_t, proc_net_t) + + base_file_read_access($1_t) +@@ -225,7 +227,7 @@ allow $1_t self:dir search; allow $1_t self:file { getattr read }; -allow secadm_t self:fifo_file rw_file_perms; ++allow $1_t self:fifo_file rw_file_perms; allow $1_t self:lnk_file read; allow $1_t self:unix_stream_socket create_socket_perms; @@ -3359,7 +3506,7 @@ # diff --exclude-from=exclude -N -u -r nsapolicy/net_contexts policy-1.27.1/net_contexts --- nsapolicy/net_contexts 2005-09-16 11:17:08.000000000 -0400 -+++ policy-1.27.1/net_contexts 2005-09-27 17:14:40.000000000 -0400 ++++ policy-1.27.1/net_contexts 2005-10-18 09:14:50.000000000 -0400 @@ -50,6 +50,10 @@ portcon tcp 53 system_u:object_r:dns_port_t @@ -3371,7 +3518,16 @@ portcon udp 68 system_u:object_r:dhcpc_port_t portcon udp 70 system_u:object_r:gopher_port_t portcon tcp 70 system_u:object_r:gopher_port_t -@@ -164,6 +168,8 @@ +@@ -111,8 +115,6 @@ + portcon tcp 749 system_u:object_r:kerberos_admin_port_t + portcon tcp 750 system_u:object_r:kerberos_port_t + portcon udp 750 system_u:object_r:kerberos_port_t +-portcon tcp 4444 system_u:object_r:kerberos_master_port_t +-portcon udp 4444 system_u:object_r:kerberos_master_port_t + portcon tcp 783 system_u:object_r:spamd_port_t + portcon tcp 540 system_u:object_r:uucpd_port_t + portcon tcp 2401 system_u:object_r:cvs_port_t +@@ -164,6 +166,8 @@ portcon tcp 50000 system_u:object_r:hplip_port_t portcon tcp 50002 system_u:object_r:hplip_port_t portcon tcp 5900 system_u:object_r:vnc_port_t @@ -3498,6 +3654,20 @@ # Allow user_r to reach sysadm_r via su, sudo, or userhelper. # Otherwise, only staff_r can do so. +diff --exclude-from=exclude -N -u -r nsapolicy/types/device.te policy-1.27.1/types/device.te +--- nsapolicy/types/device.te 2005-09-12 16:40:26.000000000 -0400 ++++ policy-1.27.1/types/device.te 2005-10-18 09:14:50.000000000 -0400 +@@ -131,8 +131,8 @@ + # Type for /dev/.devfsd + type devfs_control_t, device_type, dev_fs; + +-# Type for /dev/cpu/mtrr +-type mtrr_device_t, device_type, dev_fs; ++# Type for /dev/cpu/mtrr and /proc/mtrr ++type mtrr_device_t, device_type, dev_fs, proc_fs; + + # Type for /dev/pmu + type power_device_t, device_type, dev_fs; diff --exclude-from=exclude -N -u -r nsapolicy/types/devpts.te policy-1.27.1/types/devpts.te --- nsapolicy/types/devpts.te 2005-09-12 16:40:26.000000000 -0400 +++ policy-1.27.1/types/devpts.te 2005-09-27 17:14:40.000000000 -0400 @@ -3559,7 +3729,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/types/network.te policy-1.27.1/types/network.te --- nsapolicy/types/network.te 2005-09-16 11:17:12.000000000 -0400 -+++ policy-1.27.1/types/network.te 2005-09-27 17:14:40.000000000 -0400 ++++ policy-1.27.1/types/network.te 2005-10-18 09:14:50.000000000 -0400 @@ -18,7 +18,7 @@ type dhcpd_port_t, port_type, reserved_port_type; type smbd_port_t, port_type, reserved_port_type; @@ -3569,7 +3739,15 @@ type http_port_t, port_type, reserved_port_type; type ipp_port_t, port_type, reserved_port_type; type gopher_port_t, port_type, reserved_port_type; -@@ -105,7 +105,7 @@ +@@ -45,7 +45,6 @@ + # + type kerberos_port_t, port_type, reserved_port_type; + type kerberos_admin_port_t, port_type, reserved_port_type; +-type kerberos_master_port_t, port_type; + + # + # Ports used to communicate with portmap server +@@ -105,7 +104,7 @@ type printer_port_t, port_type, reserved_port_type; type mysqld_port_t, port_type; type postgresql_port_t, port_type; @@ -3578,7 +3756,7 @@ type howl_port_t, port_type; type dict_port_t, port_type; type syslogd_port_t, port_type, reserved_port_type; -@@ -120,11 +120,13 @@ +@@ -120,11 +119,13 @@ type zebra_port_t, port_type; type i18n_input_port_t, port_type; type vnc_port_t, port_type; @@ -3594,7 +3772,7 @@ type postgrey_port_t, port_type; type asterisk_port_t, port_type; type utcpserver_port_t, port_type; -@@ -157,7 +159,7 @@ +@@ -157,7 +158,7 @@ type telnetd_port_t, port_type, reserved_port_type; type comsat_port_t, port_type, reserved_port_type; type cvs_port_t, port_type; Index: selinux-policy-targeted.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/devel/selinux-policy-targeted.spec,v retrieving revision 1.389 retrieving revision 1.390 diff -u -r1.389 -r1.390 --- selinux-policy-targeted.spec 17 Oct 2005 19:58:26 -0000 1.389 +++ selinux-policy-targeted.spec 18 Oct 2005 18:45:12 -0000 1.390 @@ -4,13 +4,13 @@ %define PRE_FILE_CONTEXT %{FILE_CONTEXT}.pre %define POLICYVER 20 %define PREVPOLICYVER 19 -%define POLICYCOREUTILSVER 1.27.5-1 -%define CHECKPOLICYVER 1.27.7-2 +%define POLICYCOREUTILSVER 1.27.14-1 +%define CHECKPOLICYVER 1.27.11-1 Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} Version: 1.27.1 -Release: 18 +Release: 19 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz @@ -248,6 +248,9 @@ exit 0 %changelog +* Tue Oct 18 2005 Dan Walsh 1.27.1-19 +- Policy cleanups from Thomas Bleher + * Mon Oct 17 2005 Dan Walsh 1.27.1-18 - Cleanup category defs - Add configfs_t From fedora-cvs-commits at redhat.com Tue Oct 18 18:45:51 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 14:45:51 -0400 Subject: rpms/epiphany/devel epiphany.spec,1.68,1.69 Message-ID: <200510181845.j9IIjieX029241@cvs.devel.redhat.com> Author: caillon Update of /cvs/dist/rpms/epiphany/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv29221 Modified Files: epiphany.spec Log Message: * Tue Oct 18 2005 Christopher Aillon - 1.8.2-2 - Rebuild Index: epiphany.spec =================================================================== RCS file: /cvs/dist/rpms/epiphany/devel/epiphany.spec,v retrieving revision 1.68 retrieving revision 1.69 diff -u -r1.68 -r1.69 --- epiphany.spec 6 Oct 2005 15:35:35 -0000 1.68 +++ epiphany.spec 18 Oct 2005 18:45:34 -0000 1.69 @@ -1,4 +1,4 @@ -%define mozver 37:1.7.11 +%define mozver 37:1.7.12 %define desktop_file_utils_version 0.9 %define epiphany_mainver 1.8 %define mozilla_devel_ver 1.7 @@ -13,7 +13,7 @@ Summary: GNOME web browser based on the Mozilla rendering engine Name: epiphany Version: 1.8.2 -Release: 1 +Release: 2 License: GPL Group: Applications/Internet URL: http://www.gnome.org/projects/epiphany/ @@ -122,6 +122,9 @@ %{_datadir}/pygtk/2.0/defs/epiphany.defs %changelog +* Tue Oct 18 2005 Christopher Aillon - 1.8.2-2 +- Rebuild + * Thu Oct 6 2005 Christopher Aillon - 1.8.2-1 - Update to 1.8.2 From fedora-cvs-commits at redhat.com Tue Oct 18 19:03:18 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 15:03:18 -0400 Subject: rpms/yelp/devel yelp.spec,1.36,1.37 Message-ID: <200510181903.j9IJ3Im7003905@cvs.devel.redhat.com> Author: caillon Update of /cvs/dist/rpms/yelp/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv3892 Modified Files: yelp.spec Log Message: * Tue Oct 18 2005 Christopher Aillon - 2.12.1-4 - Rebuild Index: yelp.spec =================================================================== RCS file: /cvs/dist/rpms/yelp/devel/yelp.spec,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- yelp.spec 17 Oct 2005 19:03:12 -0000 1.36 +++ yelp.spec 18 Oct 2005 19:03:01 -0000 1.37 @@ -1,6 +1,6 @@ %define pango_version 1.0.99 %define gtk2_version 2.6.0 -%define mozilla_version 1.7.11 +%define mozilla_version 1.7.12 %define gnome_vfs2_version 2.0.0 %define libgnomeui_version 2.0.2 %define libbonobo_version 2.0.0 @@ -13,7 +13,7 @@ Summary: A system documentation reader from the Gnome project. Name: yelp Version: 2.12.1 -Release: 3 +Release: 4 Source: %{name}-%{version}.tar.bz2 # http://bugzilla.gnome.org/show_bug.cgi?id=319096 Patch0: yelp-2.12.1-doublefree.patch @@ -105,6 +105,9 @@ %{_datadir}/yelp %changelog +* Tue Oct 18 2005 Christopher Aillon - 2.12.1-4 +- Rebuild + * Mon Oct 17 2005 Matthias Clasen - 2.12.1-3 - Include the category General|Linux|Distributions|Other on the title page From fedora-cvs-commits at redhat.com Tue Oct 18 19:03:35 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 15:03:35 -0400 Subject: rpms/gdm/devel gdm-2.8.0.2-fix-selinux-check.patch,1.3,1.4 Message-ID: <200510181903.j9IJ3ZOI003924@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/gdm/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv3893 Modified Files: gdm-2.8.0.2-fix-selinux-check.patch Log Message: More fixups for getseusername patch gdm-2.8.0.2-fix-selinux-check.patch: slave.c | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) Index: gdm-2.8.0.2-fix-selinux-check.patch =================================================================== RCS file: /cvs/dist/rpms/gdm/devel/gdm-2.8.0.2-fix-selinux-check.patch,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- gdm-2.8.0.2-fix-selinux-check.patch 14 Oct 2005 12:14:39 -0000 1.3 +++ gdm-2.8.0.2-fix-selinux-check.patch 18 Oct 2005 19:03:17 -0000 1.4 @@ -1,10 +1,10 @@ --- gdm-2.8.0.4/daemon/slave.c.fix-selinux-check 2005-08-20 14:39:33.000000000 -0400 +++ gdm-2.8.0.4/daemon/slave.c 2005-10-14 08:12:15.000000000 -0400 -@@ -3593,17 +3593,25 @@ +@@ -3593,17 +3593,23 @@ gdm_selinux_setup (const char *login) { security_context_t scontext; -+ int ret=0; ++ int ret=-1; + char *seuser=NULL; + char *level=NULL; @@ -16,8 +16,6 @@ - if (get_default_context((char*) login,0, &scontext) < 0) { + if (getseuserbyname(login, &seuser, &level) == 0) + ret=get_default_context_with_level(seuser, level, 0, &scontext); -+ else -+ ret= get_default_context(login, 0, &scontext); + + if ( ret < 0) { gdm_error ("SELinux gdm login: unable to obtain default security context for %s.", login); @@ -29,7 +27,7 @@ } gdm_assert (scontext != NULL); -@@ -3613,7 +3621,8 @@ +@@ -3613,7 +3619,8 @@ (char *)scontext); gdm_fdprintf (2, "SELinux gdm login: unable to set executable context %s.", (char *)scontext); From fedora-cvs-commits at redhat.com Tue Oct 18 19:09:42 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 15:09:42 -0400 Subject: rpms/vixie-cron/devel vixie-cron-4.1-_42-getseuserbyname.patch, NONE, 1.1 vixie-cron-4.1-_43-config_comments.patch, NONE, 1.1 vixie-cron-4.1-_44-build_env.patch, NONE, 1.1 vixie-cron-4.1-_45-warnings.patch, NONE, 1.1 vixie-cron-4.1-loginuid.patch, 1.3, 1.4 vixie-cron.spec, 1.56, 1.57 Message-ID: <200510181909.j9IJ9gmI004037@cvs.devel.redhat.com> Author: jvdias Update of /cvs/dist/rpms/vixie-cron/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv4023 Modified Files: vixie-cron-4.1-loginuid.patch vixie-cron.spec Added Files: vixie-cron-4.1-_42-getseuserbyname.patch vixie-cron-4.1-_43-config_comments.patch vixie-cron-4.1-_44-build_env.patch vixie-cron-4.1-_45-warnings.patch Log Message: - fix bug 170830: it was not the pam_stack change - the setuid mode of crontab was dropped for some reason. - somehow build_env() invocation was dropped - use pam_env settings. vixie-cron-4.1-_42-getseuserbyname.patch: user.c | 25 ++++++++++++++++++------- 1 files changed, 18 insertions(+), 7 deletions(-) --- NEW FILE vixie-cron-4.1-_42-getseuserbyname.patch --- --- vixie-cron-4.1/user.c~ 2005-10-14 14:55:17.000000000 -0400 +++ vixie-cron-4.1/user.c 2005-10-14 15:15:07.000000000 -0400 @@ -44,15 +44,26 @@ security_context_t file_context=NULL; struct av_decision avd; int retval=0; + char *seuser=NULL; + char *level=NULL; *rcontext = NULL; - if (get_default_context(name, NULL, &scontext)) { - if (security_getenforce() > 0) { - log_it(name, getpid(), "No SELinux security context",tabname); - return -1; - } else { - log_it(name, getpid(), "No security context but SELinux in permissive mode, continuing",tabname); - return 0; + + if (getseuserbyname(name, &seuser, &level) == 0) { + retval=get_default_context_with_level(seuser, level, NULL, &scontext); + free(seuser); + free(level); + if (retval) { + if (security_getenforce() > 0) { + log_it(name, getpid(), "No SELinux security context",tabname); + return -1; + } else { + log_it(name, getpid(), "No security context but SELinux in permissive mode, continuing",tabname); + return 0; + } } + } else { + log_it(name, getpid(), "getseusername FAILED", name); + return (security_getenforce() > 0); } if (fgetfilecon(crontab_fd, &file_context) < OK) { vixie-cron-4.1-_43-config_comments.patch: config.h | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) --- NEW FILE vixie-cron-4.1-_43-config_comments.patch --- --- vixie-cron-4.1/config.h.config_comments 2005-10-18 13:35:03.099232000 -0400 +++ vixie-cron-4.1/config.h 2005-10-18 13:38:45.465643000 -0400 @@ -51,15 +51,15 @@ */ #define MAILARG _PATH_SENDMAIL /*-*/ -/* #define MAILFMT "%s -d %s" /*-*/ +/* #define MAILFMT "%s -d %s" -*/ /* -d = undocumented but common flag: deliver locally? */ -/* #define MAILARG "/bin/mail",mailto /*-*/ +/* #define MAILARG "/bin/mail",mailto -*/ -/* #define MAILFMT "%s -mlrxto %s" /*-*/ -/* #define MAILARG "/usr/mmdf/bin/submit",mailto /*-*/ +/* #define MAILFMT "%s -mlrxto %s" -*/ +/* #define MAILARG "/usr/mmdf/bin/submit",mailto -*/ -/* #define MAIL_DATE /*-*/ +/* #define MAIL_DATE -*/ /* should we include an ersatz Date: header in * generated mail? if you are using sendmail * as the mailer, it is better to let sendmail @@ -84,18 +84,18 @@ /* if you want cron to capitalize its name in ps * when running a job. Does not work on SYSV. */ -/*#define CAPITALIZE_FOR_PS /*-*/ +/*#define CAPITALIZE_FOR_PS -*/ /* if you have a tm_gmtoff member in struct tm. * If not, we will have to compute the value ourselves. */ -/*#define HAVE_TM_GMTOFF /*-*/ +/*#define HAVE_TM_GMTOFF -*/ /* if your OS supports a BSD-style login.conf file */ -/*#define LOGIN_CAP /*-*/ +/*#define LOGIN_CAP -*/ /* if your OS supports BSD authentication */ -/*#define BSD_AUTH /*-*/ +/*#define BSD_AUTH -*/ /* Define this to run crontab setgid instead of * setuid root. Group access will be used to read @@ -103,4 +103,4 @@ * If this is not defined then crontab and at * must be setuid root. */ -/*#define CRON_GROUP "crontab" /*-*/ +/*#define CRON_GROUP "crontab" -*/ vixie-cron-4.1-_44-build_env.patch: do_command.c | 1 + 1 files changed, 1 insertion(+) --- NEW FILE vixie-cron-4.1-_44-build_env.patch --- --- vixie-cron-4.1/do_command.c.build_env 2005-10-18 13:41:25.631317000 -0400 +++ vixie-cron-4.1/do_command.c 2005-10-18 14:02:52.162067000 -0400 @@ -188,6 +188,7 @@ PAM_FAIL_CHECK; retcode = pam_setcred(pamh, PAM_ESTABLISH_CRED | PAM_SILENT); PAM_FAIL_CHECK; + build_env(e->envp); log_close(); /* PAM has now re-opened our log to auth.info ! */ #endif vixie-cron-4.1-_45-warnings.patch: crontab.c | 22 ++++++++++++++-------- do_command.c | 19 ++++++++++++++++--- env.c | 4 ++-- misc.c | 26 ++++++++++++++++++++------ pw_dup.c | 2 +- 5 files changed, 53 insertions(+), 20 deletions(-) --- NEW FILE vixie-cron-4.1-_45-warnings.patch --- --- vixie-cron-4.1/env.c.warnings 2004-07-21 09:31:55.000000000 -0400 +++ vixie-cron-4.1/env.c 2005-10-18 14:38:49.499570000 -0400 @@ -48,8 +48,8 @@ int count, i, save_errno; char **p; - for (count = 0; envp[count] != NULL; count++) - NULL; + for (count = 0; envp[count] != NULL; count++); + p = (char **) malloc((count+1) * sizeof(char *)); /* 1 for the NULL */ if (p != NULL) { for (i = 0; i < count; i++) --- vixie-cron-4.1/misc.c.warnings 2005-10-18 14:38:48.732338000 -0400 +++ vixie-cron-4.1/misc.c 2005-10-18 14:38:49.520549000 -0400 @@ -153,7 +153,7 @@ for (test = DebugFlagNames, mask = 1; *test != NULL && strcmp_until(*test, pc, ','); test++, mask <<= 1) - NULL; + ; if (!*test) { fprintf(stderr, @@ -255,9 +255,17 @@ } if (grp != NULL) { if (sb.st_gid != grp->gr_gid) - chown(SPOOL_DIR, -1, grp->gr_gid); + if( chown(SPOOL_DIR, -1, grp->gr_gid) == -1 ) + { + fprintf(stderr,"chdir %s failed: %s\n", SPOOL_DIR, strerror(errno)); + exit(ERROR_EXIT); + } if (sb.st_mode != 01730) - chmod(SPOOL_DIR, 01730); + if( chmod(SPOOL_DIR, 01730) == -1 ) + { + fprintf(stderr,"chmod 01730 %s failed: %s\n", SPOOL_DIR, strerror(errno)); + exit(ERROR_EXIT); + } } } @@ -275,7 +283,7 @@ const char *pidfile; char *ep; long otherpid=-1; - ssize_t num; + ssize_t num, len; if (closeflag) { /* close stashed fd for child so we don't leak it. */ @@ -324,8 +332,14 @@ sprintf(buf, "%ld\n", (long)getpid()); (void) lseek(fd, (off_t)0, SEEK_SET); - num = write(fd, buf, strlen(buf)); - (void) ftruncate(fd, num); + len = strlen(buf); + if( (num = write(fd, buf, len)) != len ) + log_it("CRON", getpid(), "write() failed:", strerror(errno)); + else + { + if( ftruncate(fd, num) == -1 ) + log_it("CRON", getpid(), "ftruncate() failed:", strerror(errno)); + } /* abandon fd even though the file is open. we need to keep * it open and locked, but we don't need the handles elsewhere. --- vixie-cron-4.1/do_command.c.warnings 2005-10-18 14:38:49.459610000 -0400 +++ vixie-cron-4.1/do_command.c 2005-10-18 14:38:49.541528000 -0400 @@ -137,8 +137,17 @@ /* create some pipes to talk to our future child */ - pipe(stdin_pipe); /* child's stdin */ - pipe(stdout_pipe); /* child's stdout */ + if( pipe(stdin_pipe) == -1 ) /* child's stdin */ + { + log_it("CRON", getpid(), "pipe() failed:", strerror(errno)); + return; + } + + if( pipe(stdout_pipe) == -1 ) /* child's stdout */ + { + log_it("CRON", getpid(), "pipe() failed:", strerror(errno)); + return; + } /* since we are a forked process, we can diddle the command string * we were passed -- nobody else is going to use it again, right? @@ -318,7 +327,11 @@ setuid(e->pwd->pw_uid); /* we aren't root after this... */ #endif /* LOGIN_CAP */ - chdir(env_get("HOME", e->envp)); + if ( chdir(env_get("HOME", e->envp)) == -1 ) + { + log_it("CRON", getpid(), "chdir(HOME) failed:", strerror(errno)); + _exit(ERROR_EXIT); + } /* * Exec the command. --- vixie-cron-4.1/pw_dup.c.warnings 2005-10-18 14:38:48.714356000 -0400 +++ vixie-cron-4.1/pw_dup.c 2005-10-18 14:38:49.561508000 -0400 @@ -47,7 +47,7 @@ struct passwd * pw_dup(const struct passwd *pw) { char *cp; - size_t nsize=0, psize=0, csize=0, gsize=0, dsize=0, ssize=0, total=0; + size_t nsize=0, psize=0, gsize=0, dsize=0, ssize=0, total=0; struct passwd *newpw; /* Allocate in one big chunk for easy freeing */ --- vixie-cron-4.1/crontab.c.warnings 2005-10-18 14:38:49.322747000 -0400 +++ vixie-cron-4.1/crontab.c 2005-10-18 14:40:57.490451000 -0400 @@ -283,14 +283,14 @@ static void delete_cmd(void) { - char n[MAX_FNAME]; + char n[MAX_FNAME]=""; if( PromptOnDelete == 1 ) { printf("crontab: really delete %s's crontab? ", User); fflush(stdout); - fgets(n, MAX_FNAME-1, stdin); - if((n[0] != 'Y') && (n[0] != 'y')) - exit(0); + if( (fgets(n, MAX_FNAME-1, stdin)==0L) + ||((n[0] != 'Y') && (n[0] != 'y')) + ) exit(0); } log_it(RealUser, Pid, "DELETE", User); @@ -534,7 +534,8 @@ printf("Do you want to retry the same edit? "); fflush(stdout); q[0] = '\0'; - (void) fgets(q, sizeof q, stdin); + if( fgets(q, sizeof q, stdin) == 0L ) + continue; switch (q[0]) { case 'y': case 'Y': @@ -575,7 +576,6 @@ int error = 0; entry *e; uid_t file_owner; - time_t now = time(NULL); char **envp = env_init(); if (envp == NULL) { @@ -618,9 +618,15 @@ Set_LineNum(1) while (EOF != (ch = get_char(NewCrontab))) putc(ch, tmp); - ftruncate(fileno(tmp), ftell(tmp)); /* XXX redundant with "w+"? */ + if( ftruncate(fileno(tmp), ftell(tmp)) == -1 ) + { + fprintf(stderr, "%s: error while writing new crontab to %s\n", + ProgramName, TempFilename); + fclose(tmp); + error = -2; + goto done; + } fflush(tmp); rewind(tmp); - if (ferror(tmp)) { fprintf(stderr, "%s: error while writing new crontab to %s\n", ProgramName, TempFilename); vixie-cron-4.1-loginuid.patch: crond.pam | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 deletions(-) Index: vixie-cron-4.1-loginuid.patch =================================================================== RCS file: /cvs/dist/rpms/vixie-cron/devel/vixie-cron-4.1-loginuid.patch,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- vixie-cron-4.1-loginuid.patch 14 Oct 2005 18:34:12 -0000 1.3 +++ vixie-cron-4.1-loginuid.patch 18 Oct 2005 19:09:36 -0000 1.4 @@ -13,11 +13,11 @@ -# to enable this functionality. -# session required pam_limits.so +auth sufficient pam_rootok.so -+auth required pam_stack.so service=system-auth +auth required pam_env.so -+account required pam_stack.so service=system-auth ++auth include system-auth +account required pam_access.so -+session required pam_stack.so service=system-auth ++account include system-auth ++session include system-auth +session required pam_loginuid.so +# To enable PAM user limits for cron jobs, +# configure /etc/security/limits.conf and Index: vixie-cron.spec =================================================================== RCS file: /cvs/dist/rpms/vixie-cron/devel/vixie-cron.spec,v retrieving revision 1.56 retrieving revision 1.57 diff -u -r1.56 -r1.57 --- vixie-cron.spec 14 Oct 2005 20:08:07 -0000 1.56 +++ vixie-cron.spec 18 Oct 2005 19:09:36 -0000 1.57 @@ -1,4 +1,6 @@ +%if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1} %define WITH_SELINUX 1 +%endif %if %{?WITH_PAM:0}%{!?WITH_PAM:1} %define WITH_PAM 1 %endif @@ -54,12 +56,16 @@ Patch39: vixie-cron-4.1-loginuid.patch Patch40: vixie_cron-4.1-162887.patch Patch41: vixie-cron-4.1-CAN-2005-1038-fix-race.patch -Patch42: vixie-cron-4.1-getseuserbyname.patch - +Patch42: vixie-cron-4.1-_42-getseuserbyname.patch +Patch43: vixie-cron-4.1-_43-config_comments.patch +Patch44: vixie-cron-4.1-_44-build_env.patch +Patch45: vixie-cron-4.1-_45-warnings.patch Buildroot: %{_tmppath}/%{name}-%{version}-root Requires: sysklogd >= 1.3.33-6, bash >= 2.0 +%if %{WITH_SELINUX} Requires: libselinux >= 1.25.2-1 Buildrequires: libselinux-devel >= 1.25.2-1 +%endif %if %{WITH_PAM} Requires: pam >= 0.77-66.8 Buildrequires: pam-devel @@ -86,7 +92,11 @@ %patch8 -p1 -b .root-allowed %patch9 -p1 -b .no-header %patch10 -p1 -b .manpages +%if %{WITH_SELINUX} +#SELinux +# Enables SELinux support %patch11 -p1 -b .with_selinux +%endif %patch12 -p1 -b .pam %if %{WITH_PAM} %patch13 -p1 -b .with_pam @@ -100,8 +110,10 @@ %patch20 -p1 -b .nickname_man %patch21 -p1 -b -i_option %patch22 -p1 -b .no_0600_mode_enforce +%if %{WITH_SELINUX} %patch23 -p1 -b .freecon_segv %patch24 -p1 -b .selinux_crontab_new +%endif %patch25 -p1 -b .allow-root-crontab %patch26 -p1 -b .saved_uids %patch27 -p1 -b .no-strip-header-comments @@ -120,9 +132,12 @@ %patch40 -p1 -b .162887 %patch41 -p1 -b .CAN-2005-1038-fix-race %patch42 -p1 -b .getseuserbyname +%patch43 -p1 -b .config_comments +%patch44 -p1 -b .build_env +%patch45 -p1 -b .warnings %build -make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" +make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -g -DLINT -Dlint -Werror" %install rm -rf $RPM_BUILD_ROOT @@ -165,7 +180,7 @@ %defattr(-,root,root) /usr/sbin/crond -/usr/bin/crontab +%attr(6755,root,root) /usr/bin/crontab %{_mandir}/man8/crond.* %{_mandir}/man8/cron.* %{_mandir}/man5/crontab.* @@ -177,8 +192,13 @@ %config(noreplace) /etc/sysconfig/crond %changelog -* Fri Oct 14 2005 Dan Walsh - 4.1-40.FC5 -- Change to use getseuserbyname for selinux +* Tue Oct 18 2005 Jason Vas Dias - 4.1-39-FC5 +- *** NOTE : please do not modify vixie-cron without contacting *** + *** the package maintainer (me at the moment). *** + *** Or at least test it first! *** +- fix bug 170830: it was not the pam_stack change - the setuid + mode of crontab was dropped for some reason. +- somehow build_env() invocation was dropped - use pam_env settings. * Fri Oct 14 2005 Jason Vas Dias - 4.1-39-FC5 - fix bug 170830: the last PAM change disabled all cron jobs. From fedora-cvs-commits at redhat.com Tue Oct 18 19:11:16 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 15:11:16 -0400 Subject: rpms/devhelp/devel devhelp.spec,1.29,1.30 Message-ID: <200510181911.j9IJBGjv004128@cvs.devel.redhat.com> Author: caillon Update of /cvs/dist/rpms/devhelp/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv4115 Modified Files: devhelp.spec Log Message: * Tue Oct 18 2005 Christopher Aillon - 0.10-6 - Build on ppc64 Index: devhelp.spec =================================================================== RCS file: /cvs/dist/rpms/devhelp/devel/devhelp.spec,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- devhelp.spec 18 Aug 2005 02:43:17 -0000 1.29 +++ devhelp.spec 18 Oct 2005 19:11:13 -0000 1.30 @@ -1,10 +1,9 @@ -%define mozver 37:1.7.11 -ExcludeArch: ppc64 +%define mozver 37:1.7.12 Summary: API document browser Name: devhelp Version: 0.10 -Release: 5 +Release: 6 License: GPL Group: Development/Tools Url: http://ftp.gnome.org/pub/gnome/sources/devhelp/ @@ -101,6 +100,9 @@ %{_libdir}/pkgconfig/* %changelog +* Tue Oct 18 2005 Christopher Aillon - 0.10-6 +- Build on ppc64 + * Wed Aug 17 2005 Jeremy Katz - 0.10-5 - fix the build From fedora-cvs-commits at redhat.com Tue Oct 18 19:12:12 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 15:12:12 -0400 Subject: rpms/vixie-cron/devel vixie-cron.spec,1.57,1.58 Message-ID: <200510181912.j9IJCCl0004232@cvs.devel.redhat.com> Author: jvdias Update of /cvs/dist/rpms/vixie-cron/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv4218 Modified Files: vixie-cron.spec Log Message: - fix bug 170830: it was not the pam_stack change - the setuid mode of crontab was dropped for some reason. - apply getseuserbyname SElinux patch- somehow build_env() invocation was dropped - use pam_env settings. Index: vixie-cron.spec =================================================================== RCS file: /cvs/dist/rpms/vixie-cron/devel/vixie-cron.spec,v retrieving revision 1.57 retrieving revision 1.58 diff -u -r1.57 -r1.58 --- vixie-cron.spec 18 Oct 2005 19:09:36 -0000 1.57 +++ vixie-cron.spec 18 Oct 2005 19:12:06 -0000 1.58 @@ -198,6 +198,7 @@ *** Or at least test it first! *** - fix bug 170830: it was not the pam_stack change - the setuid mode of crontab was dropped for some reason. +- apply Dan's new getseuserbyname patch - somehow build_env() invocation was dropped - use pam_env settings. * Fri Oct 14 2005 Jason Vas Dias - 4.1-39-FC5 From fedora-cvs-commits at redhat.com Tue Oct 18 19:42:33 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 15:42:33 -0400 Subject: rpms/epiphany/devel epiphany.spec,1.69,1.70 Message-ID: <200510181942.j9IJgXWX020636@cvs.devel.redhat.com> Author: caillon Update of /cvs/dist/rpms/epiphany/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv20611 Modified Files: epiphany.spec Log Message: * Tue Oct 18 2005 Christopher Aillon - 1.8.2-3 - Build on ppc64 Index: epiphany.spec =================================================================== RCS file: /cvs/dist/rpms/epiphany/devel/epiphany.spec,v retrieving revision 1.69 retrieving revision 1.70 diff -u -r1.69 -r1.70 --- epiphany.spec 18 Oct 2005 18:45:34 -0000 1.69 +++ epiphany.spec 18 Oct 2005 19:42:27 -0000 1.70 @@ -7,13 +7,10 @@ %define scrollkeeper_ver 0.1.4 %define gnome_doc_utils_ver 0.3.2 -# No ppc64 mozilla build -ExcludeArch: ppc64 - Summary: GNOME web browser based on the Mozilla rendering engine Name: epiphany Version: 1.8.2 -Release: 2 +Release: 3 License: GPL Group: Applications/Internet URL: http://www.gnome.org/projects/epiphany/ @@ -122,6 +119,9 @@ %{_datadir}/pygtk/2.0/defs/epiphany.defs %changelog +* Tue Oct 18 2005 Christopher Aillon - 1.8.2-3 +- Build on ppc64 + * Tue Oct 18 2005 Christopher Aillon - 1.8.2-2 - Rebuild From fedora-cvs-commits at redhat.com Tue Oct 18 20:50:32 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 16:50:32 -0400 Subject: rpms/wireless-tools/FC-4 sources, 1.10, 1.11 wireless-tools.spec, 1.22, 1.23 Message-ID: <200510182050.j9IKoWY7009591@cvs.devel.redhat.com> Author: caillon Update of /cvs/dist/rpms/wireless-tools/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv9520 Modified Files: sources wireless-tools.spec Log Message: * Tue Oct 18 2005 Christopher Aillon 28-0.pre10.4 - Update to wireless-tools 28pre10 Index: sources =================================================================== RCS file: /cvs/dist/rpms/wireless-tools/FC-4/sources,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- sources 17 Jan 2005 21:03:47 -0000 1.10 +++ sources 18 Oct 2005 20:50:28 -0000 1.11 @@ -1 +1 @@ -a541c71c979d29299b852549cc79dfc5 wireless_tools.28.pre4.tar.gz +9d4709f06db2137f11ebe7cfc93117ba wireless_tools.28.pre10.tar.gz Index: wireless-tools.spec =================================================================== RCS file: /cvs/dist/rpms/wireless-tools/FC-4/wireless-tools.spec,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- wireless-tools.spec 17 Jan 2005 21:06:27 -0000 1.22 +++ wireless-tools.spec 18 Oct 2005 20:50:28 -0000 1.23 @@ -1,4 +1,4 @@ -%define preversion pre4 +%define preversion pre10 %define build_fc3 0 %define build_rhel4 0 @@ -13,7 +13,7 @@ %endif %if %{build_fc4} -%define release_extension 3 +%define release_extension 4 %endif @@ -53,7 +53,7 @@ INSTALL_LIB=$RPM_BUILD_ROOT/%{_lib} \ INSTALL_INC=$RPM_BUILD_ROOT%{_includedir} \ INSTALL_MAN=$RPM_BUILD_ROOT%{_mandir} -rm -f $RPM_BUILD_ROOT/%{_lib}/libiw.a +rm -f $RPM_BUILD_ROOT/%{_lib}/libiw.{a,so} ln -sf /%{_lib}/libiw.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libiw.so %clean @@ -72,6 +72,9 @@ /%{_lib}/*.so.* %changelog +* Tue Oct 18 2005 Christopher Aillon 28-0.pre10.4 +- Update to wireless-tools 28pre10 + * Mon Jan 17 2005 Dan Williams 28-0.pre4 - Update to latest wireless-tools From fedora-cvs-commits at redhat.com Tue Oct 18 20:58:01 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 16:58:01 -0400 Subject: rpms/openssh/devel openssh-selinux.patch, 1.16, 1.17 openssh.spec, 1.69, 1.70 Message-ID: <200510182058.j9IKw1Ad013882@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/openssh/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv13800 Modified Files: openssh-selinux.patch openssh.spec Log Message: Update selinux patch to use rolelevel call openssh-selinux.patch: Makefile.in | 5 +- auth.h | 1 auth1.c | 10 +++++ auth2.c | 10 ++++- configure.ac | 15 ++++++++ contrib/redhat/sshd.init | 9 +++++ monitor.c | 20 +++++++++++ monitor.h | 2 - monitor_wrap.c | 17 +++++++++ monitor_wrap.h | 1 selinux.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++ selinux.h | 10 +++++ session.c | 4 ++ sshpty.c | 4 ++ 14 files changed, 186 insertions(+), 6 deletions(-) Index: openssh-selinux.patch =================================================================== RCS file: /cvs/dist/rpms/openssh/devel/openssh-selinux.patch,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- openssh-selinux.patch 13 Oct 2005 21:14:36 -0000 1.16 +++ openssh-selinux.patch 18 Oct 2005 20:57:58 -0000 1.17 @@ -1,6 +1,6 @@ ---- /dev/null 2005-10-12 22:08:48.027521250 -0400 -+++ openssh-4.2p1/selinux.c 2005-10-13 15:53:09.000000000 -0400 -@@ -0,0 +1,85 @@ +--- /dev/null 2005-10-16 17:38:47.999906500 -0400 ++++ openssh-4.2p1/selinux.c 2005-10-18 15:52:16.000000000 -0400 +@@ -0,0 +1,84 @@ +#include "includes.h" +#include "auth.h" +#include "log.h" @@ -16,21 +16,20 @@ +static const security_context_t selinux_get_user_context(const char *name) { + security_context_t user_context=NULL; + char *role=NULL; -+ int ret=0; ++ int ret=-1; + char *seuser=NULL; + char *level=NULL; + + if (the_authctxt) + role=the_authctxt->role; -+ if (role != NULL && role[0]) -+ ret=get_default_context_with_role(name,role,NULL,&user_context); -+ else -+ if (getseuserbyname(name, &seuser, &level)==0) ++ ++ if (getseuserbyname(name, &seuser, &level)==0) { ++ if (role != NULL && role[0]) ++ ret=get_default_context_with_rolelevel(seuser, role, level,NULL,&user_context); ++ else + ret=get_default_context_with_level(seuser, level, NULL,&user_context); -+ -+ else -+ ret=get_default_context(name,NULL,&user_context); -+ ++ } ++ + if ( ret < 0 ) { + if (security_getenforce() > 0) + fatal("Failed to get default security context for %s.", name); @@ -87,7 +86,7 @@ + +#endif /* WITH_SELINUX */ --- openssh-4.2p1/monitor.h.selinux 2005-02-02 08:20:53.000000000 -0500 -+++ openssh-4.2p1/monitor.h 2005-10-13 15:53:00.000000000 -0400 ++++ openssh-4.2p1/monitor.h 2005-10-18 15:50:12.000000000 -0400 @@ -30,7 +30,7 @@ enum monitor_reqtype { @@ -97,8 +96,8 @@ MONITOR_REQ_SIGN, MONITOR_ANS_SIGN, MONITOR_REQ_PWNAM, MONITOR_ANS_PWNAM, MONITOR_REQ_AUTH2_READ_BANNER, MONITOR_ANS_AUTH2_READ_BANNER, ---- openssh-4.2p1/contrib/redhat/sshd.init.selinux 2005-10-13 15:53:00.000000000 -0400 -+++ openssh-4.2p1/contrib/redhat/sshd.init 2005-10-13 15:53:00.000000000 -0400 +--- openssh-4.2p1/contrib/redhat/sshd.init.selinux 2005-10-18 15:50:12.000000000 -0400 ++++ openssh-4.2p1/contrib/redhat/sshd.init 2005-10-18 15:50:12.000000000 -0400 @@ -35,6 +35,9 @@ if $KEYGEN -q -t rsa1 -f $RSA1_KEY -C '' -N '' >&/dev/null; then chmod 600 $RSA1_KEY @@ -130,7 +129,7 @@ echo else --- openssh-4.2p1/monitor.c.selinux 2005-07-17 03:53:31.000000000 -0400 -+++ openssh-4.2p1/monitor.c 2005-10-13 15:53:00.000000000 -0400 ++++ openssh-4.2p1/monitor.c 2005-10-18 15:50:12.000000000 -0400 @@ -111,6 +111,7 @@ int mm_answer_pwnamallow(int, Buffer *); int mm_answer_auth2_read_banner(int, Buffer *); @@ -180,7 +179,7 @@ { static int call_count; --- openssh-4.2p1/monitor_wrap.c.selinux 2005-07-17 03:53:31.000000000 -0400 -+++ openssh-4.2p1/monitor_wrap.c 2005-10-13 15:53:00.000000000 -0400 ++++ openssh-4.2p1/monitor_wrap.c 2005-10-18 15:50:12.000000000 -0400 @@ -272,6 +272,23 @@ buffer_free(&m); } @@ -206,7 +205,7 @@ int mm_auth_password(Authctxt *authctxt, char *password) --- openssh-4.2p1/Makefile.in.selinux 2005-05-29 03:22:29.000000000 -0400 -+++ openssh-4.2p1/Makefile.in 2005-10-13 15:53:00.000000000 -0400 ++++ openssh-4.2p1/Makefile.in 2005-10-18 15:50:12.000000000 -0400 @@ -43,6 +43,7 @@ CFLAGS=@CFLAGS@ CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ $(PATHS) @DEFS@ @@ -234,7 +233,7 @@ scp$(EXEEXT): $(LIBCOMPAT) libssh.a scp.o progressmeter.o $(LD) -o $@ scp.o progressmeter.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) --- openssh-4.2p1/auth2.c.selinux 2005-07-17 03:26:44.000000000 -0400 -+++ openssh-4.2p1/auth2.c 2005-10-13 15:53:00.000000000 -0400 ++++ openssh-4.2p1/auth2.c 2005-10-18 15:50:12.000000000 -0400 @@ -134,7 +134,7 @@ { Authctxt *authctxt = ctxt; @@ -267,8 +266,8 @@ } else if (strcmp(user, authctxt->user) != 0 || strcmp(service, authctxt->service) != 0) { packet_disconnect("Change of username or service not allowed: " ---- openssh-4.2p1/auth1.c.selinux 2005-10-13 15:53:00.000000000 -0400 -+++ openssh-4.2p1/auth1.c 2005-10-13 15:53:00.000000000 -0400 +--- openssh-4.2p1/auth1.c.selinux 2005-10-18 15:50:12.000000000 -0400 ++++ openssh-4.2p1/auth1.c 2005-10-18 15:50:12.000000000 -0400 @@ -370,7 +370,7 @@ do_authentication(Authctxt *authctxt) { @@ -299,7 +298,7 @@ /* Verify that the user is a valid user. */ if ((authctxt->pw = PRIVSEP(getpwnamallow(user))) != NULL) --- openssh-4.2p1/sshpty.c.selinux 2005-05-27 07:13:41.000000000 -0400 -+++ openssh-4.2p1/sshpty.c 2005-10-13 15:53:00.000000000 -0400 ++++ openssh-4.2p1/sshpty.c 2005-10-18 15:50:12.000000000 -0400 @@ -22,6 +22,8 @@ #include "log.h" #include "misc.h" @@ -318,8 +317,8 @@ if (st.st_uid != pw->pw_uid || st.st_gid != gid) { if (chown(tty, pw->pw_uid, gid) < 0) { if (errno == EROFS && ---- openssh-4.2p1/configure.ac.selinux 2005-10-13 15:53:00.000000000 -0400 -+++ openssh-4.2p1/configure.ac 2005-10-13 15:53:00.000000000 -0400 +--- openssh-4.2p1/configure.ac.selinux 2005-10-18 15:50:12.000000000 -0400 ++++ openssh-4.2p1/configure.ac 2005-10-18 15:50:12.000000000 -0400 @@ -2667,6 +2667,20 @@ [#include ]) ]) @@ -350,7 +349,7 @@ echo " S/KEY support: $SKEY_MSG" echo " TCP Wrappers support: $TCPW_MSG" --- openssh-4.2p1/session.c.selinux 2005-08-31 12:59:49.000000000 -0400 -+++ openssh-4.2p1/session.c 2005-10-13 15:53:00.000000000 -0400 ++++ openssh-4.2p1/session.c 2005-10-18 15:50:12.000000000 -0400 @@ -59,6 +59,8 @@ #include "kex.h" #include "monitor_wrap.h" @@ -370,7 +369,7 @@ static void --- openssh-4.2p1/auth.h.selinux 2005-07-06 21:50:20.000000000 -0400 -+++ openssh-4.2p1/auth.h 2005-10-13 15:53:00.000000000 -0400 ++++ openssh-4.2p1/auth.h 2005-10-18 15:50:12.000000000 -0400 @@ -58,6 +58,7 @@ char *service; struct passwd *pw; /* set if 'valid' */ @@ -380,7 +379,7 @@ #ifdef BSD_AUTH auth_session_t *as; --- openssh-4.2p1/monitor_wrap.h.selinux 2005-02-08 05:52:48.000000000 -0500 -+++ openssh-4.2p1/monitor_wrap.h 2005-10-13 15:53:00.000000000 -0400 ++++ openssh-4.2p1/monitor_wrap.h 2005-10-18 15:50:12.000000000 -0400 @@ -44,6 +44,7 @@ DH *mm_choose_dh(int, int, int); int mm_key_sign(Key *, u_char **, u_int *, u_char *, u_int); @@ -389,8 +388,8 @@ struct passwd *mm_getpwnamallow(const char *); char *mm_auth2_read_banner(void); int mm_auth_password(struct Authctxt *, char *); ---- /dev/null 2005-10-12 22:08:48.027521250 -0400 -+++ openssh-4.2p1/selinux.h 2005-10-13 15:53:00.000000000 -0400 +--- /dev/null 2005-10-16 17:38:47.999906500 -0400 ++++ openssh-4.2p1/selinux.h 2005-10-18 15:50:12.000000000 -0400 @@ -0,0 +1,10 @@ +#ifndef __SELINUX_H_ +#define __SELINUX_H_ Index: openssh.spec =================================================================== RCS file: /cvs/dist/rpms/openssh/devel/openssh.spec,v retrieving revision 1.69 retrieving revision 1.70 diff -u -r1.69 -r1.70 --- openssh.spec 13 Oct 2005 21:14:36 -0000 1.69 +++ openssh.spec 18 Oct 2005 20:57:59 -0000 1.70 @@ -71,7 +71,7 @@ Summary: The OpenSSH implementation of SSH protocol versions 1 and 2. Name: openssh Version: 4.2p1 -%define rel 3 +%define rel 4 %if %{rescue} Release: %{rel}rescue %else @@ -514,6 +514,9 @@ %endif %changelog +* Tue Oct 18 2005 Dan Walsh 4.2p1-4 +- Change selinux patch to use get_default_context_with_rolelevel in libselinux. + * Thu Oct 13 2005 Tomas Mraz 4.2p1-3 - Update selinux patch to use getseuserbyname From fedora-cvs-commits at redhat.com Tue Oct 18 21:33:23 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 17:33:23 -0400 Subject: rpms/kernel/devel patch-2.6.14-rc4-git6.bz2.sign, NONE, 1.1 .cvsignore, 1.251, 1.252 kernel-2.6.spec, 1.1616, 1.1617 sources, 1.193, 1.194 upstream, 1.180, 1.181 patch-2.6.14-rc4-git5.bz2.sign, 1.1, NONE Message-ID: <200510182133.j9ILXNlY025217@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv25199 Modified Files: .cvsignore kernel-2.6.spec sources upstream Added Files: patch-2.6.14-rc4-git6.bz2.sign Removed Files: patch-2.6.14-rc4-git5.bz2.sign Log Message: * Tue Oct 18 2005 Dave Jones - 2.6.14-rc4-git6 --- NEW FILE patch-2.6.14-rc4-git6.bz2.sign --- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: See http://www.kernel.org/signature.html for info iD8DBQBDVNplyGugalF9Dw4RArpWAJ9C8DZH2EONilwvYKnP787IlGYOcACfW9li DsLJc6BJ2+yIJKjYqC3GjbU= =6Ioz -----END PGP SIGNATURE----- Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/.cvsignore,v retrieving revision 1.251 retrieving revision 1.252 diff -u -r1.251 -r1.252 --- .cvsignore 17 Oct 2005 19:25:41 -0000 1.251 +++ .cvsignore 18 Oct 2005 21:33:04 -0000 1.252 @@ -5,3 +5,4 @@ patch-2.6.14-rc4.bz2 patch-2.6.14-rc4-git4.bz2 patch-2.6.14-rc4-git5.bz2 +patch-2.6.14-rc4-git6.bz2 Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v retrieving revision 1.1616 retrieving revision 1.1617 diff -u -r1.1616 -r1.1617 --- kernel-2.6.spec 17 Oct 2005 19:25:41 -0000 1.1616 +++ kernel-2.6.spec 18 Oct 2005 21:33:05 -0000 1.1617 @@ -199,7 +199,7 @@ # Patches 0 through 100 are meant for core subsystem upgrades # Patch1: patch-2.6.14-rc4.bz2 -Patch2: patch-2.6.14-rc4-git5.bz2 +Patch2: patch-2.6.14-rc4-git6.bz2 # Patches 100 through 500 are meant for architecture patches Patch100: linux-2.6-bzimage.patch @@ -319,7 +319,6 @@ Patch1700: linux-2.6-missing-exports.patch Patch1710: linux-2.6-radeon-backlight.patch Patch1720: linux-2.6-ide-tune-locking.patch -Patch1730: linux-2.6-libata-intel-combined-quirk.patch # ACPI patches. Patch1800: linux-2.6-acpi-enable-ecburst.patch @@ -757,8 +756,6 @@ %patch1710 -p1 # Fix IDE locking bug. %patch1720 -p1 -# Stop IDE claiming legacy ports before libata in combined mode. -%patch1730 -p1 # ACPI patches. # Enable EC burst @@ -1263,6 +1260,9 @@ %endif %changelog +* Tue Oct 18 2005 Dave Jones +- 2.6.14-rc4-git6 + * Mon Oct 17 2005 Dave Jones - 2.6.14-rc4-git5 Index: sources =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/sources,v retrieving revision 1.193 retrieving revision 1.194 diff -u -r1.193 -r1.194 --- sources 17 Oct 2005 19:25:41 -0000 1.193 +++ sources 18 Oct 2005 21:33:06 -0000 1.194 @@ -1,3 +1,3 @@ 560f5fadf59f172973e67939868a4cae linux-2.6.13.tar.bz2 cc62a9a2ce39d8c09fb1068becb009e2 patch-2.6.14-rc4.bz2 -844e0aafe4a1d6ebb306b98fb6ad5847 patch-2.6.14-rc4-git5.bz2 +3278891ef8aac2c654ece7a4c5c56ae5 patch-2.6.14-rc4-git6.bz2 Index: upstream =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/upstream,v retrieving revision 1.180 retrieving revision 1.181 diff -u -r1.180 -r1.181 --- upstream 17 Oct 2005 19:25:41 -0000 1.180 +++ upstream 18 Oct 2005 21:33:06 -0000 1.181 @@ -1,3 +1,3 @@ linux-2.6.13.tar.bz2 patch-2.6.14-rc4.bz2 -patch-2.6.14-rc4-git5.bz2 +patch-2.6.14-rc4-git6.bz2 --- patch-2.6.14-rc4-git5.bz2.sign DELETED --- From fedora-cvs-commits at redhat.com Tue Oct 18 22:56:42 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 18:56:42 -0400 Subject: rpms/NetworkManager/FC-4 NetworkManager-0.5.0-enable-named-dbus.patch, NONE, 1.1 nm-enable-named-dbus.sh, NONE, 1.1 NetworkManager.spec, 1.60, 1.61 sources, 1.28, 1.29 NetworkManager-0.4-pass-format-string-to-syslog.patch, 1.1, NONE Message-ID: <200510182256.j9IMugr5022325@cvs.devel.redhat.com> Author: caillon Update of /cvs/dist/rpms/NetworkManager/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv22274 Modified Files: NetworkManager.spec sources Added Files: NetworkManager-0.5.0-enable-named-dbus.patch nm-enable-named-dbus.sh Removed Files: NetworkManager-0.4-pass-format-string-to-syslog.patch Log Message: * Tue Oct 18 2005 Christopher Aillon - 0.5.0-1.FC4.1 - Update to NetworkManager 0.5.0 NetworkManager-0.5.0-enable-named-dbus.patch: NetworkManager.in | 5 +++++ 1 files changed, 5 insertions(+) --- NEW FILE NetworkManager-0.5.0-enable-named-dbus.patch --- Index: initscript/RedHat/NetworkManager.in =================================================================== RCS file: /cvs/gnome/NetworkManager/initscript/RedHat/NetworkManager.in,v retrieving revision 1.1 diff -d -u -p -r1.1 NetworkManager.in --- initscript/RedHat/NetworkManager.in 18 Aug 2005 19:51:10 -0000 1.1 +++ initscript/RedHat/NetworkManager.in 18 Oct 2005 22:17:33 -0000 @@ -13,6 +13,7 @@ prefix=@prefix@ exec_prefix=@prefix@ bindir=@bindir@ +datadir=@datadir@ NETWORKMANAGER_BIN=${bindir}/NetworkManager @@ -34,6 +35,10 @@ RETVAL=0 start() { + if [ -x ${bindir}/nm-setup-named-dbus ]; then + ${bindir}/nm-setup-named-dbus + fi + echo $"Setting network parameters... " sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1 echo -n $"Starting NetworkManager daemon: " --- NEW FILE nm-enable-named-dbus.sh --- #!/bin/bash # named + dbus support. Require the -D to be turned on r=0 logger='echo' if [ -x /usr/bin/logger ]; then logger='/usr/bin/logger -s -t '"$0"' -p daemon.info' fi namedOptions=`grep '^OPTIONS=' /etc/sysconfig/named`; if [ -n "$namedOptions" ]; then if ! echo "$namedOptions" | egrep -q '[\ ='"'"'"]*-D[\ ='"'"'"]*'; then sed 's/^OPTIONS=.*$/OPTIONS='"'${namedOptions#OPTIONS=} -D'"'/' < /etc/sysconfig/named > /etc/sysconfig/named.dbus r=$?; /bin/mv -f /etc/sysconfig/named /etc/sysconfig/named.pre-NetworkManager /bin/mv -f /etc/sysconfig/named.dbus /etc/sysconfig/named; [ $r -eq 0 ] && r=$?; if [ $r -eq 0 ]; then $logger "Enabled named -D option in /etc/sysconfig/named"; /sbin/service named condrestart; else $logger "named dbus support disabled: you must enable the named -D option in /etc/sysconfig/named"; fi fi else /bin/cp -f /etc/sysconfig/named /etc/sysconfig/named.pre-NetworkManager echo 'OPTIONS=-D'>> /etc/sysconfig/named; r=$? if [ $r -eq 0 ]; then $logger "Enabled named -D option in /etc/sysconfig/named"; /sbin/service named condrestart; else logger "named dbus support disabled: you must enable the named -D option in /etc/sysconfig/named"; fi fi Index: NetworkManager.spec =================================================================== RCS file: /cvs/dist/rpms/NetworkManager/FC-4/NetworkManager.spec,v retrieving revision 1.60 retrieving revision 1.61 diff -u -r1.60 -r1.61 --- NetworkManager.spec 30 Jul 2005 01:40:48 -0000 1.60 +++ NetworkManager.spec 18 Oct 2005 22:56:37 -0000 1.61 @@ -6,22 +6,25 @@ Name: NetworkManager Summary: Network link manager and user applications -Version: 0.4 -Release: 20.FC4.1 +Version: 0.5.0 +Release: 1.FC4.1 Group: System Environment/Base License: GPL URL: http://people.redhat.com/dcbw/NetworkManager/ -Source: %{name}-%{version}.FC4.cvs20050616.tar.gz -Patch0: NetworkManager-0.4-pass-format-string-to-syslog.patch +Source0: %{name}-%{version}.tar.gz +Source1: nm-enable-named-dbus.sh +Patch1: NetworkManager-0.5.0-enable-named-dbus.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root PreReq: chkconfig -Requires: wireless-tools >= 27 +Requires: wireless-tools >= 28 Requires: dbus >= %{dbus_version} Requires: dbus-glib >= %{dbus_version} Requires: hal >= %{hal_version} Requires: iproute openssl -Requires: bind caching-nameserver +Requires: caching-nameserver +Requires: bind >= 9.3.1-12 +Conflicts: bind-chroot BuildRequires: dbus-devel >= %{dbus_version} BuildRequires: hal-devel >= %{hal_version} @@ -87,8 +90,7 @@ %prep %setup -q -%patch0 -p1 -b .pass-format-string-to-syslog - +%patch1 -p0 chmod +ox initscript/RedHat/NetworkManagerDispatcher automake-1.7 @@ -99,16 +101,20 @@ %install -rm -rf $RPM_BUILD_ROOT +%{__rm} -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} -rm -f $RPM_BUILD_ROOT%{_bindir}/dhcp_test -rm -f $RPM_BUILD_ROOT%{_libdir}/libnm_glib.la -rm -f $RPM_BUILD_ROOT%{_libdir}/libnm_glib.a +%{__rm} -f $RPM_BUILD_ROOT%{_bindir}/NMLoadModules +%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/libnm_glib.la +%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/libnm_glib.a +%{__cp} test/nm-tool $RPM_BUILD_ROOT%{_bindir}/ +ln -s %{_bindir}/nm-applet $RPM_BUILD_ROOT%{_bindir}/NetworkManagerInfo +cp %{SOURCE1} $RPM_BUILD_ROOT/%{_bindir}/nm-setup-named-dbus +chmod 744 $RPM_BUILD_ROOT/%{_bindir}/nm-setup-named-dbus %clean -rm -rf $RPM_BUILD_ROOT +%{__rm} -rf $RPM_BUILD_ROOT %post @@ -151,22 +157,25 @@ %config %{_sysconfdir}/rc.d/init.d/%{name}Dispatcher %config %{_datadir}/%{name}/named.conf %{_bindir}/%{name} -%{_bindir}/NMLoadModules %{_bindir}/NetworkManagerDispatcher +%{_bindir}/nm-tool +%{_bindir}/nm-setup-named-dbus %files gnome %defattr(-,root,root,0755) -%config %{_sysconfdir}/dbus-1/system.d/NetworkManagerInfo.conf +%config %{_sysconfdir}/dbus-1/system.d/nm-applet.conf %{_bindir}/NetworkManagerInfo -%{_libexecdir}/NetworkManagerNotification -%{_datadir}/NetworkManagerNotification/ -%{_datadir}/NetworkManagerInfo/ +%{_bindir}/nm-applet +%{_bindir}/nm-vpn-properties +%{_datadir}/gnome-vpn-properties/nm-vpn-properties.glade +%{_datadir}/nm-applet/ %{_datadir}/icons/hicolor/22x22/apps/*.png %{_datadir}/icons/hicolor/48x48/apps/*.png %files devel %defattr(-,root,root,0755) %{_includedir}/%{name}/%{name}.h +%{_includedir}/%{name}/nm-vpn-ui-interface.h %{_libdir}/pkgconfig/%{name}.pc %files glib @@ -177,6 +186,9 @@ %changelog +* Tue Oct 18 2005 Christopher Aillon - 0.5.0-1.FC4.1 +- Update to NetworkManager 0.5.0 + * Fri Jul 29 2005 Ray Strode - 0.4-20.FC4.1. - Don't pass log messages into syslog format string (bug 164683). Index: sources =================================================================== RCS file: /cvs/dist/rpms/NetworkManager/FC-4/sources,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- sources 17 Jun 2005 01:04:41 -0000 1.28 +++ sources 18 Oct 2005 22:56:37 -0000 1.29 @@ -1 +1 @@ -9e03a45102ac83fd7bcba13658530163 NetworkManager-0.4.FC4.cvs20050616.tar.gz +c91c6e19069992c5ea3599e891874e5d NetworkManager-0.5.0.tar.gz --- NetworkManager-0.4-pass-format-string-to-syslog.patch DELETED --- From fedora-cvs-commits at redhat.com Tue Oct 18 23:11:51 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 19:11:51 -0400 Subject: rpms/NetworkManager/FC-4 NetworkManager.spec,1.61,1.62 Message-ID: <200510182311.j9INBpRU024674@cvs.devel.redhat.com> Author: caillon Update of /cvs/dist/rpms/NetworkManager/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv24655 Modified Files: NetworkManager.spec Log Message: build requires dhcdbd Index: NetworkManager.spec =================================================================== RCS file: /cvs/dist/rpms/NetworkManager/FC-4/NetworkManager.spec,v retrieving revision 1.61 retrieving revision 1.62 diff -u -r1.61 -r1.62 --- NetworkManager.spec 18 Oct 2005 22:56:37 -0000 1.61 +++ NetworkManager.spec 18 Oct 2005 23:11:43 -0000 1.62 @@ -39,6 +39,7 @@ BuildRequires: gettext-devel BuildRequires: pkgconfig BuildRequires: automake17 +BuildRequires: dhcdbd %description NetworkManager attempts to keep an active network connection available at all From fedora-cvs-commits at redhat.com Wed Oct 19 00:16:41 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 20:16:41 -0400 Subject: rpms/dhcp/devel dhcp-3.0.3-dhclient_script_route_metrics.patch, NONE, 1.1 dhcp-3.0.3-static-routes.patch, 1.1, 1.2 dhcp.spec, 1.73, 1.74 Message-ID: <200510190016.j9J0GfeE013544@cvs.devel.redhat.com> Author: jvdias Update of /cvs/dist/rpms/dhcp/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv13443 Modified Files: dhcp-3.0.3-static-routes.patch dhcp.spec Added Files: dhcp-3.0.3-dhclient_script_route_metrics.patch Log Message: Allow dhclient route metrics to be specified with DHCP options dhcp-3.0.3-dhclient_script_route_metrics.patch: linux | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++---------------- 1 files changed, 76 insertions(+), 23 deletions(-) --- NEW FILE dhcp-3.0.3-dhclient_script_route_metrics.patch --- --- dhcp-3.0.3/client/scripts/linux.dhclient_script_route_metrics 2005-10-18 18:42:33.559118000 -0500 +++ dhcp-3.0.3/client/scripts/linux 2005-10-18 18:36:24.000000000 -0500 @@ -181,28 +181,48 @@ echo $bits; } +function routerReachable() +{ # Handle silly DHCP servers that give us a router not on our subnet: + router=$1 + routerSubnet=`mask $router $new_subnet_mask` + mySubnet=`mask $new_ip_address $new_subnet_mask` + unreachable=0 + if [ "$routerSubnet" != "$mySubnet" ]; then + unreachable=1 + if /sbin/arping -f -q -I $interface -w2 $router; then + /sbin/ip route add ${router}/32 dev $interface + if [ $? -eq 0 ]; then + unreachable=0 + else + /usr/bin/logger -p local7.notice -t "NET" "dhclient: failed to create host route for unreachable router $router not on subnet $mySubnet"; + fi + else + unreachable=1 + if [ -x /usr/bin/logger ]; then + /usr/bin/logger -p local7.notice -t "NET" "dhclient: DHCP router $router is unreachable on DHCP subnet $mySubnet router subnet $routerSubnet"; + fi; + fi; + fi; + return $unreachable; +} + function add_default_gateway() { - router=$1 - # Handle silly DHCP servers that give us a router not on our subnet: - routerSubnet=`mask $router $new_subnet_mask` - mySubnet=`mask $new_ip_address $new_subnet_mask` - routerUnreachable=0 - if [ "$routerSubnet" != "$mySubnet" ]; then - if /sbin/arping -q -I $interface -w2 $router; then - /sbin/ip route add ${router}/32 dev $interface; - else - routerUnreachable=1; - echo "dhclient: DHCP router $router is unreachable on DHCP subnet $mySubnet" - if [ -x /usr/bin/logger ]; then - /usr/bin/logger -p local7.notice -t "NET" "dhclient: DHCP router $router is unreachable on DHCP subnet $mySubnet"; - fi; - fi; - fi; - if [ "$routerUnreachable" -eq 0 ]; then - /sbin/ip route replace default via $router dev $interface && return 0; + router=$1 + metric='' + if [ $# -gt 1 ] && [ "$2" -gt 0 ]; then + metric="metric $2"; + fi; + if routerReachable $router ; then + /sbin/ip route replace default via $router dev $interface $metric; + if [ $? -ne 0 ]; then + /usr/bin/logger -p local7.notice -t "NET" 'dhclient: failed to create default route: '$router dev $interface $metric; + return 1; + else + return 0; fi; - return 1; + fi; + return 1; } function dhconfig() @@ -247,8 +267,17 @@ fi; fi; if [[ ( ( -z "$GATEWAYDEV" ) || ( "$GATEWAYDEV" = "$interface" ) ) && ( ( -z "$GATEWAY" ) || ( ( -n "$DHCLIENT_IGNORE_GATEWAY" ) && ( "$DHCLIENT_IGNORE_GATEWAY" = [Yy]* ) ) ) ]]; then + metric=''; + let i=0; + default_routers=() for router in $new_routers; do - add_default_gateway $router && break; + if [ -z "$router" ] || [ `IFS=. ip2num $router` -le 0 ] || [[ $router = *255* ]] || [[ "${default_routers[@]}" == *"$router"* ]]; then + continue; + fi; + default_routers=(${default_routers[@]} $router) + add_default_gateway $router $metric; + let i=i+1; + metric=$i; done elif [[ ( ( -z "$GATEWAYDEV" ) || ( "$GATEWAYDEV" = "$interface" ) ) && ( -n "$GATEWAY" ) ]]; then routerSubnet=`mask $GATEWAY $new_subnet_mask` @@ -260,10 +289,31 @@ # static routes if [ "x$new_static_routes" != x ]; then IFS=', ' static_routes=($new_static_routes) + route_targets=() for((i=0; i<${#static_routes[@]}; i+=2)); do target=${static_routes[$i]} gateway=${static_routes[$i+1]} - /sbin/ip route replace ${target}/`class_bits $target` via ${gateway} dev $interface + metric='' + for t in ${route_targets[@]}; do + if [ $t == $target ]; then + if [ -z "$metric" ]; then + metric=1; + else + ((metric=metric+1)); + fi; + fi; + done; + if [ -n "$metric" ]; then + metric="metric $metric"; + fi; + if routerReachable $gateway; then + /sbin/ip route replace ${target}/`class_bits $target` via ${gateway} dev $interface ${metric} + if [ $? -ne 0 ]; then + /usr/bin/logger -p local7.notice -t 'NET' 'dhclient: failed to create static route:' ${target}/`class_bits $target` via ${gateway} dev $interface ${metric}; + else + route_targets=(${route_targets[@]} $target); + fi; + fi; done fi fi @@ -417,13 +467,16 @@ # sleep 1 # I don't think this is necessary with modern kernels - no problems found during testing - # JVD, 2005-06-17 - + # but just in case: + if [ -n "$DHCLIENT_DELAY" ] && [ "$DHCLIENT_DELAY" -gt 0 ] ; then + sleep $DHCLIENT_DELAY; + fi; exit_with_hooks 0 fi; fi if [ x$reason = xARPCHECK ] || [ x$reason = xARPSEND ]; then - if [ -z "$new_ip_address" ] || [ -z "$interface" ] || /sbin/arping -q -c 2 -w 3 -D -I ${interface} ${new_ip_address}; then + if [ -z "$new_ip_address" ] || [ -z "$interface" ] || /sbin/arping -q -f -c 2 -w 3 -D -I ${interface} ${new_ip_address}; then exit_with_hooks 0 else exit_with_hooks 1 dhcp-3.0.3-static-routes.patch: client/scripts/linux | 22 ++++++++++++++++++---- common/dhcp-options.5 | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+), 4 deletions(-) Index: dhcp-3.0.3-static-routes.patch =================================================================== RCS file: /cvs/dist/rpms/dhcp/devel/dhcp-3.0.3-static-routes.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- dhcp-3.0.3-static-routes.patch 17 Oct 2005 18:54:10 -0000 1.1 +++ dhcp-3.0.3-static-routes.patch 19 Oct 2005 00:16:37 -0000 1.2 @@ -1,5 +1,5 @@ ---- dhcp-3.0.3/client/scripts/linux.static-routes 2005-10-17 14:50:27.886307000 -0400 -+++ dhcp-3.0.3/client/scripts/linux 2005-10-17 14:25:53.000000000 -0400 +--- dhcp-3.0.3/client/scripts/linux.static-routes 2005-10-18 18:56:51.017799000 -0500 ++++ dhcp-3.0.3/client/scripts/linux 2005-10-18 18:56:51.252565000 -0500 @@ -165,6 +165,22 @@ echo $n_bits } @@ -38,3 +38,30 @@ done fi fi +--- dhcp-3.0.3/common/dhcp-options.5.static-routes 2004-09-21 17:43:09.000000000 -0500 ++++ dhcp-3.0.3/common/dhcp-options.5 2005-10-18 18:57:26.426358000 -0500 +@@ -834,6 +834,24 @@ + classless IP routing is now the most widely deployed routing standard, + this option is virtually useless, and is not implemented by any of the + popular DHCP clients, for example the Microsoft DHCP client. ++.PP ++NOTE to Red Hat dhclient users: ++.br ++The RedHat dhclient-script interprets trailing 0 octets of the target ++as indicating the subnet class of the route - so for this ++static-routes value: ++.br ++ option static-routes 172.0.0.0 172.16.2.254, ++.br ++ 192.168.0.0 192.168.2.254; ++.br ++the Red Hat dhclient-script will create routes: ++.br ++ 172/8 via 172.16.2.254 dev $interface ++.br ++ 192.168/16 via 192.168.2.254 dev $interface ++.br ++which slightly increases the usefulness of the static-routes option. + .RE + .PP + .nf Index: dhcp.spec =================================================================== RCS file: /cvs/dist/rpms/dhcp/devel/dhcp.spec,v retrieving revision 1.73 retrieving revision 1.74 diff -u -r1.73 -r1.74 --- dhcp.spec 17 Oct 2005 18:54:10 -0000 1.73 +++ dhcp.spec 19 Oct 2005 00:16:37 -0000 1.74 @@ -2,7 +2,7 @@ Summary: A DHCP (Dynamic Host Configuration Protocol) server and relay agent. Name: dhcp Version: 3.0.3 -Release: 8 +Release: 10 Epoch: 11 License: distributable Group: System Environment/Daemons @@ -66,6 +66,7 @@ Patch159: dhcp-3.0.3-failover_ports.patch Patch160: dhcp-3.0.3-rt15293_bz160655.patch Patch161: dhcp-3.0.3-static-routes.patch +Patch162: dhcp-3.0.3-dhclient_script_route_metrics.patch URL: http://isc.org/products/DHCP/ BuildRoot: %{_tmppath}/%{name}-%{version}-root Prereq: /sbin/chkconfig @@ -174,6 +175,7 @@ %patch159 -p1 -b .failover_ports %patch160 -p1 -b .rt15293_bz160655 %patch161 -p1 -b .static-routes +%patch162 -p1 -b .dhclient_script_route_metrics cp %SOURCE1 . cat <site.conf VARDB=%{_localstatedir}/lib/dhcpd @@ -307,10 +309,28 @@ %{_mandir}/man3/* %changelog -* Thu Oct 13 2005 Jason Vas Dias - 11:3.0.3-10 +* Tue Oct 18 2005 Jason Vas Dias - 11:3.0.3-10 +- Allow dhclient route metrics to be specified with DHCP options: + The dhcp-options(5) man-page states: + 'option routers ... Routers should be listed in order of preference' + and + 'option static-routes ... are listed in descending order of priority' . + No preference / priority could be set with previous dhclient-script . + Now, dhclient-script provides: + Default Gateway (option 'routers') metrics: + Instead of allowing only one default gateway, if more than one router + is specified in the routers option, routers following the first router + will have a 'metric' of their position in the list (1,...N>1). + Option static-routes metrics: + If a target appears in the list more than once, routes for duplicate + targets will have successively greater metrics, starting at 1. + +* Mon Oct 17 2005 Jason Vas Dias - 11:3.0.3-8 - further fix for bug 160655 / ISC bug 15293 - upstream patch: do NOT always strip trailing nulls in the dhcpd server -- handle static-routes option properly in dhclient-script +- handle static-routes option properly in dhclient-script : + trailing 0 octets in the 'target' IP specify the class - + ie '172.16.0.0 w.x.y.z' specifies '172.16/16 via w.x.y.z'. * Fri Sep 23 2005 Jason Vas Dias - 11:3.0.3-7 - fix bug 169164: separate /var/lib/{dhcpd,dhclient} directories From fedora-cvs-commits at redhat.com Wed Oct 19 00:28:19 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 20:28:19 -0400 Subject: rpms/evolution/devel evolution-2.4.1-fix-missing-declarations.patch, NONE, 1.1 evolution.spec, 1.94, 1.95 Message-ID: <200510190028.j9J0SJM6020679@cvs.devel.redhat.com> Author: dmalcolm Update of /cvs/dist/rpms/evolution/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv20317 Modified Files: evolution.spec Added Files: evolution-2.4.1-fix-missing-declarations.patch Log Message: * Tue Oct 18 2005 David Malcolm - 2.4.1-3 - added patch (804: evolution-2.4.1-fix-missing-declarations.patch) to fix missing declaration (thanks to Peter Robinson) evolution-2.4.1-fix-missing-declarations.patch: e-tasks.c | 1 + 1 files changed, 1 insertion(+) --- NEW FILE evolution-2.4.1-fix-missing-declarations.patch --- --- evolution-2.4.1-work/calendar/gui/e-tasks.c 2005-10-03 07:12:19.000000000 +0100 +++ evolution-2.4.1/calendar/gui/e-tasks.c 2005-10-10 13:40:10.000000000 +0100 @@ -57,6 +57,7 @@ #include "common/authentication.h" #include "e-cal-menu.h" #include "e-cal-model-tasks.h" +#include "e-calendar-table.h" /* Private part of the GnomeCalendar structure */ Index: evolution.spec =================================================================== RCS file: /cvs/dist/rpms/evolution/devel/evolution.spec,v retrieving revision 1.94 retrieving revision 1.95 diff -u -r1.94 -r1.95 --- evolution.spec 17 Oct 2005 23:36:44 -0000 1.94 +++ evolution.spec 19 Oct 2005 00:28:13 -0000 1.95 @@ -27,7 +27,7 @@ Name: evolution Version: 2.4.1 -Release: 2 +Release: 3 License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-root URL: http://www.ximian.com/ @@ -81,6 +81,8 @@ # Remove GNOME_COMPILE_WARNINGS from configure.in (since gnome-common might not be available when we rerun the autotools): Patch803: evolution-2.2.2-no-gnome-common.patch +Patch804: evolution-2.4.1-fix-missing-declarations.patch + Summary: GNOME's next-generation groupware suite Group: Applications/Productivity @@ -201,6 +203,7 @@ %patch800 -p0 -b .fix-conduits %patch802 -p1 -b .fix-conduit-dir %patch803 -p1 -b .no-gnome-common +%patch804 -p1 -b .fix-missing-declarations mkdir -p krb5-fakeprefix/include mkdir -p krb5-fakeprefix/lib @@ -362,6 +365,10 @@ %{_libdir}/evolution/%{evo_major}/*.so %changelog +* Tue Oct 18 2005 David Malcolm - 2.4.1-3 +- added patch (804: evolution-2.4.1-fix-missing-declarations.patch) to fix + missing declaration (thanks to Peter Robinson) + * Mon Oct 17 2005 David Malcolm - 2.4.1-2 - bump e-d-s requirement to 1.4.1.1 From fedora-cvs-commits at redhat.com Wed Oct 19 00:59:32 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 20:59:32 -0400 Subject: rpms/evolution/devel evolution-2.4.1-fix-missing-declarations.patch, 1.1, 1.2 evolution.spec, 1.95, 1.96 Message-ID: <200510190059.j9J0xW97023550@cvs.devel.redhat.com> Author: dmalcolm Update of /cvs/dist/rpms/evolution/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv23535 Modified Files: evolution-2.4.1-fix-missing-declarations.patch evolution.spec Log Message: * Tue Oct 18 2005 David Malcolm - 2.4.1-4 - updated patch 804 to declare e_calendar_table_process_completed_tasks evolution-2.4.1-fix-missing-declarations.patch: e-calendar-table.h | 1 + e-tasks.c | 1 + 2 files changed, 2 insertions(+) Index: evolution-2.4.1-fix-missing-declarations.patch =================================================================== RCS file: /cvs/dist/rpms/evolution/devel/evolution-2.4.1-fix-missing-declarations.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- evolution-2.4.1-fix-missing-declarations.patch 19 Oct 2005 00:28:13 -0000 1.1 +++ evolution-2.4.1-fix-missing-declarations.patch 19 Oct 2005 00:59:26 -0000 1.2 @@ -1,5 +1,5 @@ ---- evolution-2.4.1-work/calendar/gui/e-tasks.c 2005-10-03 07:12:19.000000000 +0100 -+++ evolution-2.4.1/calendar/gui/e-tasks.c 2005-10-10 13:40:10.000000000 +0100 +--- evolution-2.4.1/calendar/gui/e-tasks.c.fix-missing-declarations 2005-10-03 02:12:19.000000000 -0400 ++++ evolution-2.4.1/calendar/gui/e-tasks.c 2005-10-18 20:25:25.000000000 -0400 @@ -57,6 +57,7 @@ #include "common/authentication.h" #include "e-cal-menu.h" @@ -8,3 +8,13 @@ /* Private part of the GnomeCalendar structure */ +--- evolution-2.4.1/calendar/gui/e-calendar-table.h.fix-missing-declarations 2005-10-18 20:55:20.000000000 -0400 ++++ evolution-2.4.1/calendar/gui/e-calendar-table.h 2005-10-18 20:56:11.000000000 -0400 +@@ -109,6 +109,7 @@ + gboolean assign); + ECalModelComponent * e_calendar_table_get_selected_comp (ECalendarTable *cal_table); + void e_calendar_table_hide_completed_tasks (ECalendarTable *table, GList *clients_list, gboolean config_changed); ++void e_calendar_table_process_completed_tasks (ECalendarTable *table, GList *clients_list, gboolean config_changed); + + G_END_DECLS + Index: evolution.spec =================================================================== RCS file: /cvs/dist/rpms/evolution/devel/evolution.spec,v retrieving revision 1.95 retrieving revision 1.96 diff -u -r1.95 -r1.96 --- evolution.spec 19 Oct 2005 00:28:13 -0000 1.95 +++ evolution.spec 19 Oct 2005 00:59:26 -0000 1.96 @@ -27,7 +27,7 @@ Name: evolution Version: 2.4.1 -Release: 3 +Release: 4 License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-root URL: http://www.ximian.com/ @@ -365,6 +365,9 @@ %{_libdir}/evolution/%{evo_major}/*.so %changelog +* Tue Oct 18 2005 David Malcolm - 2.4.1-4 +- updated patch 804 to declare e_calendar_table_process_completed_tasks + * Tue Oct 18 2005 David Malcolm - 2.4.1-3 - added patch (804: evolution-2.4.1-fix-missing-declarations.patch) to fix missing declaration (thanks to Peter Robinson) From fedora-cvs-commits at redhat.com Wed Oct 19 01:38:10 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 21:38:10 -0400 Subject: rpms/selinux-policy-strict/devel policy-20050916.patch, 1.24, 1.25 selinux-policy-strict.spec, 1.396, 1.397 Message-ID: <200510190138.j9J1cAP3030510@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-strict/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30493 Modified Files: policy-20050916.patch selinux-policy-strict.spec Log Message: * Tue Oct 18 2005 Dan Walsh 1.27.1-20 - Allow dhcpc to run arping policy-20050916.patch: Makefile | 26 +-- attrib.te | 35 ++++ domains/misc/kernel.te | 2 domains/program/crond.te | 2 domains/program/fsadm.te | 7 domains/program/hostname.te | 2 domains/program/ifconfig.te | 5 domains/program/initrc.te | 20 ++ domains/program/ldconfig.te | 3 domains/program/load_policy.te | 7 domains/program/login.te | 21 +- domains/program/modutil.te | 14 + domains/program/mount.te | 6 domains/program/netutils.te | 3 domains/program/newrole.te | 4 domains/program/passwd.te | 1 domains/program/restorecon.te | 3 domains/program/setfiles.te | 4 domains/program/ssh.te | 6 domains/program/su.te | 9 + domains/program/syslogd.te | 6 domains/program/unused/NetworkManager.te | 8 - domains/program/unused/alsa.te | 2 domains/program/unused/amanda.te | 74 ++-------- domains/program/unused/anaconda.te | 5 domains/program/unused/apache.te | 22 ++- domains/program/unused/apmd.te | 13 + domains/program/unused/auditd.te | 2 domains/program/unused/automount.te | 4 domains/program/unused/bluetooth.te | 72 +++++++++ domains/program/unused/cups.te | 18 +- domains/program/unused/cvs.te | 3 domains/program/unused/cyrus.te | 2 domains/program/unused/dbusd.te | 4 domains/program/unused/dcc.te | 5 domains/program/unused/dhcpc.te | 6 domains/program/unused/dhcpd.te | 3 domains/program/unused/dovecot.te | 4 domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/hwclock.te | 2 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 5 domains/program/unused/mta.te | 8 + domains/program/unused/mysqld.te | 6 domains/program/unused/named.te | 29 +++ domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 10 - domains/program/unused/openct.te | 16 ++ domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 37 +++++ domains/program/unused/ping.te | 3 domains/program/unused/postfix.te | 57 ++++--- domains/program/unused/pppd.te | 8 - domains/program/unused/procmail.te | 11 + domains/program/unused/readahead.te | 21 ++ domains/program/unused/rlogind.te | 4 domains/program/unused/roundup.te | 29 +++ domains/program/unused/rpcd.te | 18 ++ domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 12 + domains/program/unused/snmpd.te | 6 domains/program/unused/squid.te | 3 domains/program/unused/udev.te | 10 + domains/program/unused/utempter.te | 2 domains/program/unused/webalizer.te | 3 domains/program/unused/winbind.te | 1 domains/program/unused/xdm.te | 3 domains/program/unused/yppasswdd.te | 40 +++++ domains/program/unused/ypserv.te | 1 domains/program/useradd.te | 5 file_contexts/distros.fc | 2 file_contexts/program/apache.fc | 2 file_contexts/program/bluetooth.fc | 3 file_contexts/program/dhcpc.fc | 2 file_contexts/program/dhcpd.fc | 5 file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 11 + file_contexts/program/ipsec.fc | 1 file_contexts/program/kudzu.fc | 2 file_contexts/program/openct.fc | 2 file_contexts/program/pegasus.fc | 11 + file_contexts/program/pppd.fc | 2 file_contexts/program/readahead.fc | 1 file_contexts/program/roundup.fc | 2 file_contexts/program/rpm.fc | 4 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/xdm.fc | 2 file_contexts/program/yppasswdd.fc | 2 file_contexts/program/ypserv.fc | 1 file_contexts/types.fc | 4 genfs_contexts | 3 macros/base_user_macros.te | 6 macros/core_macros.te | 3 macros/global_macros.te | 18 +- macros/network_macros.te | 17 ++ macros/program/apache_macros.te | 13 + macros/program/bonobo_macros.te | 2 macros/program/cdrecord_macros.te | 2 macros/program/crontab_macros.te | 2 macros/program/dbusd_macros.te | 4 macros/program/gconf_macros.te | 2 macros/program/gift_macros.te | 2 macros/program/gpg_macros.te | 2 macros/program/i18n_input_macros.te | 21 ++ macros/program/lpr_macros.te | 2 macros/program/mta_macros.te | 4 macros/program/newrole_macros.te | 2 macros/program/pyzor_macros.te | 2 macros/program/razor_macros.te | 2 macros/program/su_macros.te | 4 macros/program/uml_macros.te | 2 macros/program/xdm_macros.te | 2 macros/user_macros.te | 6 man/man8/ftpd_selinux.8 | 19 +- man/man8/httpd_selinux.8 | 9 + man/man8/rsync_selinux.8 | 12 + man/man8/samba_selinux.8 | 9 + mcs | 210 ++++++++++------------------ mls | 227 +++++++++++-------------------- net_contexts | 8 - targeted/appconfig/root_default_contexts | 4 targeted/assert.te | 2 targeted/domains/program/ssh.te | 3 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 16 +- tunables/distro.tun | 2 tunables/tunable.tun | 4 types/device.te | 4 types/devpts.te | 4 types/file.te | 18 +- types/network.te | 13 - types/security.te | 5 136 files changed, 1032 insertions(+), 541 deletions(-) Index: policy-20050916.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/devel/policy-20050916.patch,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- policy-20050916.patch 18 Oct 2005 18:45:01 -0000 1.24 +++ policy-20050916.patch 19 Oct 2005 01:38:03 -0000 1.25 @@ -1025,7 +1025,7 @@ # the dcc user (even though the default dcc user is root). diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dhcpc.te policy-1.27.1/domains/program/unused/dhcpc.te --- nsapolicy/domains/program/unused/dhcpc.te 2005-09-16 11:17:09.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dhcpc.te 2005-09-27 17:14:40.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dhcpc.te 2005-10-18 21:31:48.000000000 -0400 @@ -120,6 +120,7 @@ allow dhcpc_t self:packet_socket create_socket_perms; allow dhcpc_t var_lib_t:dir search; @@ -1050,13 +1050,14 @@ ') ifdef(`ntpd.te', ` domain_auto_trans(dhcpc_t, ntpd_exec_t, ntpd_t) -@@ -161,5 +162,5 @@ +@@ -161,5 +162,6 @@ ifdef(`unconfined.te', ` allow unconfined_t dhcpc_t:dbus send_msg; allow dhcpc_t unconfined_t:dbus send_msg; -')dnl end ifdef unconfined.te -+') ') ++') ++ifdef(`netutils.te', `domain_auto_trans(dhcpd_t, netutils_exec_t, netutils_t)') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dhcpd.te policy-1.27.1/domains/program/unused/dhcpd.te --- nsapolicy/domains/program/unused/dhcpd.te 2005-09-12 16:40:28.000000000 -0400 +++ policy-1.27.1/domains/program/unused/dhcpd.te 2005-09-27 17:14:40.000000000 -0400 Index: selinux-policy-strict.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/devel/selinux-policy-strict.spec,v retrieving revision 1.396 retrieving revision 1.397 diff -u -r1.396 -r1.397 --- selinux-policy-strict.spec 18 Oct 2005 18:45:01 -0000 1.396 +++ selinux-policy-strict.spec 19 Oct 2005 01:38:03 -0000 1.397 @@ -10,7 +10,7 @@ Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} Version: 1.27.1 -Release: 19 +Release: 20 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz @@ -244,6 +244,9 @@ exit 0 %changelog +* Tue Oct 18 2005 Dan Walsh 1.27.1-20 +- Allow dhcpc to run arping + * Tue Oct 18 2005 Dan Walsh 1.27.1-19 - Policy cleanups from Thomas Bleher From fedora-cvs-commits at redhat.com Wed Oct 19 01:38:17 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 21:38:17 -0400 Subject: rpms/selinux-policy-targeted/devel policy-20050916.patch, 1.22, 1.23 selinux-policy-targeted.spec, 1.390, 1.391 Message-ID: <200510190138.j9J1cHoT030530@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-targeted/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30494 Modified Files: policy-20050916.patch selinux-policy-targeted.spec Log Message: * Tue Oct 18 2005 Dan Walsh 1.27.1-20 - Allow dhcpc to run arping policy-20050916.patch: Makefile | 26 +-- attrib.te | 35 ++++ domains/misc/kernel.te | 2 domains/program/crond.te | 2 domains/program/fsadm.te | 7 domains/program/hostname.te | 2 domains/program/ifconfig.te | 5 domains/program/initrc.te | 20 ++ domains/program/ldconfig.te | 3 domains/program/load_policy.te | 7 domains/program/login.te | 21 +- domains/program/modutil.te | 14 + domains/program/mount.te | 6 domains/program/netutils.te | 3 domains/program/newrole.te | 4 domains/program/passwd.te | 1 domains/program/restorecon.te | 3 domains/program/setfiles.te | 4 domains/program/ssh.te | 6 domains/program/su.te | 9 + domains/program/syslogd.te | 6 domains/program/unused/NetworkManager.te | 8 - domains/program/unused/alsa.te | 2 domains/program/unused/amanda.te | 74 ++-------- domains/program/unused/anaconda.te | 5 domains/program/unused/apache.te | 22 ++- domains/program/unused/apmd.te | 13 + domains/program/unused/auditd.te | 2 domains/program/unused/automount.te | 4 domains/program/unused/bluetooth.te | 72 +++++++++ domains/program/unused/cups.te | 18 +- domains/program/unused/cvs.te | 3 domains/program/unused/cyrus.te | 2 domains/program/unused/dbusd.te | 4 domains/program/unused/dcc.te | 5 domains/program/unused/dhcpc.te | 6 domains/program/unused/dhcpd.te | 3 domains/program/unused/dovecot.te | 4 domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/hwclock.te | 2 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 5 domains/program/unused/mta.te | 8 + domains/program/unused/mysqld.te | 6 domains/program/unused/named.te | 29 +++ domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 10 - domains/program/unused/openct.te | 16 ++ domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 37 +++++ domains/program/unused/ping.te | 3 domains/program/unused/postfix.te | 57 ++++--- domains/program/unused/pppd.te | 8 - domains/program/unused/procmail.te | 11 + domains/program/unused/readahead.te | 21 ++ domains/program/unused/rlogind.te | 4 domains/program/unused/roundup.te | 29 +++ domains/program/unused/rpcd.te | 18 ++ domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 12 + domains/program/unused/snmpd.te | 6 domains/program/unused/squid.te | 3 domains/program/unused/udev.te | 10 + domains/program/unused/utempter.te | 2 domains/program/unused/webalizer.te | 3 domains/program/unused/winbind.te | 1 domains/program/unused/xdm.te | 3 domains/program/unused/yppasswdd.te | 40 +++++ domains/program/unused/ypserv.te | 1 domains/program/useradd.te | 5 file_contexts/distros.fc | 2 file_contexts/program/apache.fc | 2 file_contexts/program/bluetooth.fc | 3 file_contexts/program/dhcpc.fc | 2 file_contexts/program/dhcpd.fc | 5 file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 11 + file_contexts/program/ipsec.fc | 1 file_contexts/program/kudzu.fc | 2 file_contexts/program/openct.fc | 2 file_contexts/program/pegasus.fc | 11 + file_contexts/program/pppd.fc | 2 file_contexts/program/readahead.fc | 1 file_contexts/program/roundup.fc | 2 file_contexts/program/rpm.fc | 4 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/xdm.fc | 2 file_contexts/program/yppasswdd.fc | 2 file_contexts/program/ypserv.fc | 1 file_contexts/types.fc | 4 genfs_contexts | 3 macros/base_user_macros.te | 6 macros/core_macros.te | 3 macros/global_macros.te | 18 +- macros/network_macros.te | 17 ++ macros/program/apache_macros.te | 13 + macros/program/bonobo_macros.te | 2 macros/program/cdrecord_macros.te | 2 macros/program/crontab_macros.te | 2 macros/program/dbusd_macros.te | 4 macros/program/gconf_macros.te | 2 macros/program/gift_macros.te | 2 macros/program/gpg_macros.te | 2 macros/program/i18n_input_macros.te | 21 ++ macros/program/lpr_macros.te | 2 macros/program/mta_macros.te | 4 macros/program/newrole_macros.te | 2 macros/program/pyzor_macros.te | 2 macros/program/razor_macros.te | 2 macros/program/su_macros.te | 4 macros/program/uml_macros.te | 2 macros/program/xdm_macros.te | 2 macros/user_macros.te | 6 man/man8/ftpd_selinux.8 | 19 +- man/man8/httpd_selinux.8 | 9 + man/man8/rsync_selinux.8 | 12 + man/man8/samba_selinux.8 | 9 + mcs | 210 ++++++++++------------------ mls | 227 +++++++++++-------------------- net_contexts | 8 - targeted/appconfig/root_default_contexts | 4 targeted/assert.te | 2 targeted/domains/program/ssh.te | 3 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 16 +- tunables/distro.tun | 2 tunables/tunable.tun | 4 types/device.te | 4 types/devpts.te | 4 types/file.te | 18 +- types/network.te | 13 - types/security.te | 5 136 files changed, 1032 insertions(+), 541 deletions(-) Index: policy-20050916.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/devel/policy-20050916.patch,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- policy-20050916.patch 18 Oct 2005 18:45:11 -0000 1.22 +++ policy-20050916.patch 19 Oct 2005 01:38:08 -0000 1.23 @@ -1025,7 +1025,7 @@ # the dcc user (even though the default dcc user is root). diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dhcpc.te policy-1.27.1/domains/program/unused/dhcpc.te --- nsapolicy/domains/program/unused/dhcpc.te 2005-09-16 11:17:09.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dhcpc.te 2005-09-27 17:14:40.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dhcpc.te 2005-10-18 21:31:48.000000000 -0400 @@ -120,6 +120,7 @@ allow dhcpc_t self:packet_socket create_socket_perms; allow dhcpc_t var_lib_t:dir search; @@ -1050,13 +1050,14 @@ ') ifdef(`ntpd.te', ` domain_auto_trans(dhcpc_t, ntpd_exec_t, ntpd_t) -@@ -161,5 +162,5 @@ +@@ -161,5 +162,6 @@ ifdef(`unconfined.te', ` allow unconfined_t dhcpc_t:dbus send_msg; allow dhcpc_t unconfined_t:dbus send_msg; -')dnl end ifdef unconfined.te -+') ') ++') ++ifdef(`netutils.te', `domain_auto_trans(dhcpd_t, netutils_exec_t, netutils_t)') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dhcpd.te policy-1.27.1/domains/program/unused/dhcpd.te --- nsapolicy/domains/program/unused/dhcpd.te 2005-09-12 16:40:28.000000000 -0400 +++ policy-1.27.1/domains/program/unused/dhcpd.te 2005-09-27 17:14:40.000000000 -0400 Index: selinux-policy-targeted.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/devel/selinux-policy-targeted.spec,v retrieving revision 1.390 retrieving revision 1.391 diff -u -r1.390 -r1.391 --- selinux-policy-targeted.spec 18 Oct 2005 18:45:12 -0000 1.390 +++ selinux-policy-targeted.spec 19 Oct 2005 01:38:08 -0000 1.391 @@ -10,7 +10,7 @@ Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} Version: 1.27.1 -Release: 19 +Release: 20 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz @@ -248,6 +248,9 @@ exit 0 %changelog +* Tue Oct 18 2005 Dan Walsh 1.27.1-20 +- Allow dhcpc to run arping + * Tue Oct 18 2005 Dan Walsh 1.27.1-19 - Policy cleanups from Thomas Bleher From fedora-cvs-commits at redhat.com Wed Oct 19 02:11:35 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 22:11:35 -0400 Subject: rpms/pup/devel .cvsignore,1.3,1.4 pup.spec,1.2,1.3 sources,1.3,1.4 Message-ID: <200510190211.j9J2BZkd014508@cvs.devel.redhat.com> Author: katzj Update of /cvs/dist/rpms/pup/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv14476/devel Modified Files: .cvsignore pup.spec sources Log Message: auto-import pup-0.1.0-1 on branch devel from pup-0.1.0-1.src.rpm From fedora-cvs-commits at redhat.com Wed Oct 19 02:13:13 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 22:13:13 -0400 Subject: rpms/pup/devel pup.spec,1.3,1.4 sources,1.4,1.5 Message-ID: <200510190213.j9J2DDpW014749@cvs.devel.redhat.com> Author: katzj Update of /cvs/dist/rpms/pup/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv14717/devel Modified Files: pup.spec sources Log Message: auto-import pup-0.1.0-2 on branch devel from pup-0.1.0-2.src.rpm Index: pup.spec =================================================================== RCS file: /cvs/dist/rpms/pup/devel/pup.spec,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- pup.spec 19 Oct 2005 02:11:28 -0000 1.3 +++ pup.spec 19 Oct 2005 02:13:08 -0000 1.4 @@ -1,7 +1,7 @@ Summary: Graphical package updater Name: pup Version: 0.1.0 -Release: 1 +Release: 2 License: GPL Group: System Environment/Base Source: %{name}-%{version}.tar.bz2 @@ -42,6 +42,9 @@ %attr(0644,root,root) %config /etc/pam.d/pup %changelog +* Tue Oct 18 2005 Jeremy Katz - 0.1.0-2 +- major rework + * Fri Jul 15 2005 Paul Nasrat - Check dependencies and report errors Index: sources =================================================================== RCS file: /cvs/dist/rpms/pup/devel/sources,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- sources 19 Oct 2005 02:11:28 -0000 1.4 +++ sources 19 Oct 2005 02:13:08 -0000 1.5 @@ -1 +1 @@ -2cdbb38f1b0cae01cb44fedc997b3a9f pup-0.1.0.tar.bz2 +4101a86e74665c852a13d1e377b6a342 pup-0.1.0.tar.bz2 From fedora-cvs-commits at redhat.com Wed Oct 19 02:56:13 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 22:56:13 -0400 Subject: rpms/pup/devel pup.spec,1.4,1.5 sources,1.5,1.6 Message-ID: <200510190256.j9J2uDAP032316@cvs.devel.redhat.com> Author: katzj Update of /cvs/dist/rpms/pup/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv32202/devel Modified Files: pup.spec sources Log Message: auto-import pup-0.1.0-3 on branch devel from pup-0.1.0-3.src.rpm Index: pup.spec =================================================================== RCS file: /cvs/dist/rpms/pup/devel/pup.spec,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- pup.spec 19 Oct 2005 02:13:08 -0000 1.4 +++ pup.spec 19 Oct 2005 02:56:08 -0000 1.5 @@ -1,7 +1,7 @@ Summary: Graphical package updater Name: pup Version: 0.1.0 -Release: 2 +Release: 3 License: GPL Group: System Environment/Base Source: %{name}-%{version}.tar.bz2 Index: sources =================================================================== RCS file: /cvs/dist/rpms/pup/devel/sources,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- sources 19 Oct 2005 02:13:08 -0000 1.5 +++ sources 19 Oct 2005 02:56:08 -0000 1.6 @@ -1 +1 @@ -4101a86e74665c852a13d1e377b6a342 pup-0.1.0.tar.bz2 +38e464e76f00e1acdd5ef8e6a09e787c pup-0.1.0.tar.bz2 From fedora-cvs-commits at redhat.com Wed Oct 19 03:09:56 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 23:09:56 -0400 Subject: rpms/pup/devel .cvsignore,1.4,1.5 pup.spec,1.5,1.6 sources,1.6,1.7 Message-ID: <200510190309.j9J39ukw002070@cvs.devel.redhat.com> Author: katzj Update of /cvs/dist/rpms/pup/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv2041/devel Modified Files: .cvsignore pup.spec sources Log Message: auto-import pup-0.1.1-1 on branch devel from pup-0.1.1-1.src.rpm Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/pup/devel/.cvsignore,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- .cvsignore 19 Oct 2005 02:11:28 -0000 1.4 +++ .cvsignore 19 Oct 2005 03:09:53 -0000 1.5 @@ -1 +1 @@ -pup-0.1.0.tar.bz2 +pup-0.1.1.tar.bz2 Index: pup.spec =================================================================== RCS file: /cvs/dist/rpms/pup/devel/pup.spec,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- pup.spec 19 Oct 2005 02:56:08 -0000 1.5 +++ pup.spec 19 Oct 2005 03:09:53 -0000 1.6 @@ -1,7 +1,7 @@ Summary: Graphical package updater Name: pup -Version: 0.1.0 -Release: 3 +Version: 0.1.1 +Release: 1 License: GPL Group: System Environment/Base Source: %{name}-%{version}.tar.bz2 @@ -42,6 +42,9 @@ %attr(0644,root,root) %config /etc/pam.d/pup %changelog +* Tue Oct 18 2005 Jeremy Katz - 0.1.1-1 +- fix silly debugging that was left in + * Tue Oct 18 2005 Jeremy Katz - 0.1.0-2 - major rework Index: sources =================================================================== RCS file: /cvs/dist/rpms/pup/devel/sources,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- sources 19 Oct 2005 02:56:08 -0000 1.6 +++ sources 19 Oct 2005 03:09:53 -0000 1.7 @@ -1 +1 @@ -38e464e76f00e1acdd5ef8e6a09e787c pup-0.1.0.tar.bz2 +ac40bced8eecc4dc9620073d6ced3177 pup-0.1.1.tar.bz2 From fedora-cvs-commits at redhat.com Wed Oct 19 03:35:50 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 23:35:50 -0400 Subject: rpms/quagga/devel quagga-0.98.5-pie.patch, NONE, 1.1 quagga.spec, 1.24, 1.25 Message-ID: <200510190335.j9J3Zofp011681@cvs.devel.redhat.com> Author: fenlason Update of /cvs/dist/rpms/quagga/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv11644 Modified Files: quagga.spec Added Files: quagga-0.98.5-pie.patch Log Message: Add -pie patch to make compiling on ia64 work. quagga-0.98.5-pie.patch: ltmain.sh | 4 +- makefiles.diff | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+), 2 deletions(-) --- NEW FILE quagga-0.98.5-pie.patch --- --- quagga-0.98.5/ltmain.sh.pie 2005-10-18 23:03:50.000000000 -0400 +++ quagga-0.98.5/ltmain.sh 2005-10-18 23:04:05.000000000 -0400 @@ -723,7 +723,7 @@ command="$base_compile $srcfile $pic_flag" else # Don't build PIC code - command="$base_compile $srcfile" + command="$base_compile $srcfile -fPIC" fi if test ! -d "${xdir}$objdir"; then @@ -803,7 +803,7 @@ if test "$build_old_libs" = yes; then if test "$pic_mode" != yes; then # Don't build PIC code - command="$base_compile $srcfile" + command="$base_compile $srcfile -fPIC" else command="$base_compile $srcfile $pic_flag" fi --- quagga-0.98.5/makefiles.diff.pie 2005-10-18 23:07:44.000000000 -0400 +++ quagga-0.98.5/makefiles.diff 2005-10-18 23:05:17.000000000 -0400 @@ -0,0 +1,131 @@ +--- quagga-0.98.5/bgpd/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 ++++ quagga-0.98.5/bgpd/Makefile 2005-10-18 22:43:31.000000000 -0400 +@@ -86,7 +86,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) ++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +--- quagga-0.98.5/isisd/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 ++++ quagga-0.98.5/isisd/Makefile 2005-10-18 22:43:38.000000000 -0400 +@@ -84,7 +84,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) ++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +--- quagga-0.98.5/lib/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 ++++ quagga-0.98.5/lib/Makefile 2005-10-18 22:43:43.000000000 -0400 +@@ -70,7 +70,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) ++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +--- quagga-0.98.5/ospf6d/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 ++++ quagga-0.98.5/ospf6d/Makefile 2005-10-18 22:43:49.000000000 -0400 +@@ -84,7 +84,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) ++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +--- quagga-0.98.5/ospfclient/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 ++++ quagga-0.98.5/ospfclient/Makefile 2005-10-18 22:43:54.000000000 -0400 +@@ -75,7 +75,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) ++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +--- quagga-0.98.5/ospfd/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 ++++ quagga-0.98.5/ospfd/Makefile 2005-10-18 22:43:58.000000000 -0400 +@@ -82,7 +82,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) ++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +--- quagga-0.98.5/ripd/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 ++++ quagga-0.98.5/ripd/Makefile 2005-10-18 22:44:05.000000000 -0400 +@@ -74,7 +74,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) ++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +--- quagga-0.98.5/ripngd/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 ++++ quagga-0.98.5/ripngd/Makefile 2005-10-18 22:44:09.000000000 -0400 +@@ -78,7 +78,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) ++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +--- quagga-0.98.5/tests/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 ++++ quagga-0.98.5/tests/Makefile 2005-10-18 22:44:24.000000000 -0400 +@@ -57,7 +57,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) ++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +--- quagga-0.98.5/vtysh/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 ++++ quagga-0.98.5/vtysh/Makefile 2005-10-18 22:44:31.000000000 -0400 +@@ -65,7 +65,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) ++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +--- quagga-0.98.5/watchquagga/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 ++++ quagga-0.98.5/watchquagga/Makefile 2005-10-18 22:44:36.000000000 -0400 +@@ -59,7 +59,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) ++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +--- quagga-0.98.5/zebra/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 ++++ quagga-0.98.5/zebra/Makefile 2005-10-18 22:44:40.000000000 -0400 +@@ -71,7 +71,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) ++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ Index: quagga.spec =================================================================== RCS file: /cvs/dist/rpms/quagga/devel/quagga.spec,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- quagga.spec 18 Oct 2005 15:45:38 -0000 1.24 +++ quagga.spec 19 Oct 2005 03:35:45 -0000 1.25 @@ -42,6 +42,7 @@ Patch2: quagga-0.96.5-nostart.patch Patch4: quagga-0.98.2-gcc4.patch Patch5: quagga-0.98.5-pam.patch +Patch6: quagga-0.98.5-pie.patch URL: http://www.quagga.net %if %with_snmp @@ -98,18 +99,15 @@ %patch2 -p1 -b .nostart %patch4 -p1 -b .gcc4 %patch5 -p1 -b .pam +# This creates a .diff file that we apply after configuring +%patch6 -p1 %build -%ifarch s390 s390x x86_64 -export PIECFLAGS="-fPIE" -%else -export PIECFLAGS="-fpie" -%endif # FC5+ automatic -fstack-protector-all switch export RPM_OPT_FLAGS=${RPM_OPT_FLAGS//-fstack-protector/-fstack-protector-all} #./autogen.sh -export CFLAGS="$RPM_OPT_FLAGS $PIECFLAGS $CPPFLAGS" -export CXXFLAGS="$RPM_OPT_FLAGS $PIECFLAGS $CPPFLAGS" +export CFLAGS="$RPM_OPT_FLAGS $CPPFLAGS" +export CXXFLAGS="$RPM_OPT_FLAGS $CPPFLAGS" export LDFLAGS="-pie" %configure \ @@ -162,6 +160,7 @@ %endif --enable-netlink +patch -p1 < makefiles.diff make %{?_smp_mflags} MAKEINFO="makeinfo --no-split" pushd doc @@ -347,9 +346,7 @@ %changelog * Mon Oct 17 2005 Jay Fenlason 0.98.5-3 -- Modify the way CFLAGS is set and passed to configure and make, so - we use RPMs default cflags, with -pie/-fpie added. This gets us - -D_FORTIFY_SOURCE, etc, which is good for critical daemons. +- add the -pie patch, to make -fPIE compiling actually work on all platforms. - Include -pam patch to close bz#170256 ? pam_stack is deprecated - Change ucd-snmp to net-snmp to close From fedora-cvs-commits at redhat.com Wed Oct 19 03:48:01 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 23:48:01 -0400 Subject: rpms/evolution-connector/devel .cvsignore, 1.19, 1.20 evolution-connector.spec, 1.38, 1.39 sources, 1.19, 1.20 Message-ID: <200510190348.j9J3m1Qb014627@cvs.devel.redhat.com> Author: dmalcolm Update of /cvs/dist/rpms/evolution-connector/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv14426 Modified Files: .cvsignore evolution-connector.spec sources Log Message: * Tue Oct 18 2005 David Malcolm - 2.4.1-1 - 2.4.1 - bump evolution requirement to 2.4.1 and libsoup requirement to 2.2.6.1 - fix URL to point to 2.4, not 2.3 Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/evolution-connector/devel/.cvsignore,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- .cvsignore 8 Sep 2005 01:00:26 -0000 1.19 +++ .cvsignore 19 Oct 2005 03:47:57 -0000 1.20 @@ -1 +1 @@ -evolution-exchange-2.4.0.tar.bz2 +evolution-exchange-2.4.1.tar.bz2 Index: evolution-connector.spec =================================================================== RCS file: /cvs/dist/rpms/evolution-connector/devel/evolution-connector.spec,v retrieving revision 1.38 retrieving revision 1.39 diff -u -r1.38 -r1.39 --- evolution-connector.spec 15 Sep 2005 13:50:54 -0000 1.38 +++ evolution-connector.spec 19 Oct 2005 03:47:57 -0000 1.39 @@ -1,16 +1,16 @@ -%define evolution_version 2.3.7 -%define libsoup_version 2.2.5 +%define evolution_version 2.4.1 +%define libsoup_version 2.2.6.1 %define eds_major 1.2 %define evo_major 2.4 %define plibdir %(pkg-config evolution-shell-%{evo_major} --variable=privlibdir 2>/dev/null) Name: evolution-connector -Version: 2.4.0 -Release: 2 +Version: 2.4.1 +Release: 1 License: GPL Group: Applications/Productivity -URL: http://ftp.gnome.org/pub/gnome/sources/evolution-exchange/2.3/ +URL: http://ftp.gnome.org/pub/gnome/sources/evolution-exchange/2.4/ BuildRoot: %{_tmppath}/%{name}-%{version}-root Source: evolution-exchange-%{version}.tar.bz2 @@ -93,6 +93,11 @@ %{_datadir}/evolution-exchange/%{evo_major}/ui/ximian-connector.xml %changelog +* Tue Oct 18 2005 David Malcolm - 2.4.1-1 +- 2.4.1 +- bump evolution requirement to 2.4.1 and libsoup requirement to 2.2.6.1 +- fix URL to point to 2.4, not 2.3 + * Thu Sep 15 2005 Jeremy Katz - 2.4.0-2 - rebuild for new e-d-s Index: sources =================================================================== RCS file: /cvs/dist/rpms/evolution-connector/devel/sources,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- sources 8 Sep 2005 01:00:26 -0000 1.19 +++ sources 19 Oct 2005 03:47:57 -0000 1.20 @@ -1 +1 @@ -0120610242240a563ef164a668a14b19 evolution-exchange-2.4.0.tar.bz2 +be61e4e8cfc64650c214525c5a615ed6 evolution-exchange-2.4.1.tar.bz2 From fedora-cvs-commits at redhat.com Wed Oct 19 03:53:34 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Tue, 18 Oct 2005 23:53:34 -0400 Subject: rpms/evolution-webcal/devel .cvsignore, 1.10, 1.11 evolution-webcal.spec, 1.16, 1.17 sources, 1.10, 1.11 Message-ID: <200510190353.j9J3rYwB018462@cvs.devel.redhat.com> Author: dmalcolm Update of /cvs/dist/rpms/evolution-webcal/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv18320 Modified Files: .cvsignore evolution-webcal.spec sources Log Message: * Tue Oct 18 2005 David Malcolm - 2.4.1-1 - 2.4.1 Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/evolution-webcal/devel/.cvsignore,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- .cvsignore 8 Sep 2005 03:24:56 -0000 1.10 +++ .cvsignore 19 Oct 2005 03:53:31 -0000 1.11 @@ -1 +1 @@ -evolution-webcal-2.4.0.1.tar.bz2 +evolution-webcal-2.4.1.tar.bz2 Index: evolution-webcal.spec =================================================================== RCS file: /cvs/dist/rpms/evolution-webcal/devel/evolution-webcal.spec,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- evolution-webcal.spec 15 Sep 2005 13:50:38 -0000 1.16 +++ evolution-webcal.spec 19 Oct 2005 03:53:31 -0000 1.17 @@ -5,8 +5,8 @@ Name: evolution-webcal Summary: A handler for webcal URIs -Version: 2.4.0.1 -Release: 2 +Version: 2.4.1 +Release: 1 License: GPL Group: Applications/Internet Source0: %{name}-%{version}.tar.bz2 @@ -56,6 +56,9 @@ %changelog +* Tue Oct 18 2005 David Malcolm - 2.4.1-1 +- 2.4.1 + * Thu Sep 15 2005 Jeremy Katz - 2.4.0.1-2 - rebuild for new e-d-s Index: sources =================================================================== RCS file: /cvs/dist/rpms/evolution-webcal/devel/sources,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- sources 8 Sep 2005 03:24:56 -0000 1.10 +++ sources 19 Oct 2005 03:53:31 -0000 1.11 @@ -1 +1 @@ -8efe5001e5059d6df99b10a0452b2c00 evolution-webcal-2.4.0.1.tar.bz2 +1ada1b3bf18604fea9bb6dec6752148c evolution-webcal-2.4.1.tar.bz2 From fedora-cvs-commits at redhat.com Wed Oct 19 09:34:51 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 05:34:51 -0400 Subject: rpms/openoffice.org/FC-4 openoffice.org-2.0.0.ooo55603.mythes.crash.patch, NONE, 1.1 .cvsignore, 1.52, 1.53 openoffice.org.spec, 1.213, 1.214 sources, 1.77, 1.78 workspace.cmcfixes17.patch, 1.1, NONE Message-ID: <200510190934.j9J9Ypbw026048@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/openoffice.org/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv26027 Modified Files: .cvsignore openoffice.org.spec sources Added Files: openoffice.org-2.0.0.ooo55603.mythes.crash.patch Removed Files: workspace.cmcfixes17.patch Log Message: sync to RC3 openoffice.org-2.0.0.ooo55603.mythes.crash.patch: lingucomponent/source/thesaurus/mythes/mythes.cxx | 2 +- source/thesaurus/mythes/mythes.cxx | 0 2 files changed, 1 insertion(+), 1 deletion(-) --- NEW FILE openoffice.org-2.0.0.ooo55603.mythes.crash.patch --- Index: source/thesaurus/mythes/mythes.cxx =================================================================== RCS file: /cvs/whiteboard/lingucomponent/source/thesaurus/mythes/mythes.cxx,v retrieving revision 1.3 diff -u -p -u -r1.3 mythes.cxx --- openoffice.org.orig/lingucomponent/source/thesaurus/mythes/mythes.cxx 9 Mar 2004 12:43:29 -0000 1.3 +++ openoffice.org/lingucomponent/source/thesaurus/mythes/mythes.cxx 7 Oct 2005 09:51:37 -0000 @@ -147,7 +150,7 @@ int MyThes::Lookup(const char * pText, i memcpy(wrd,pText,len); /* find it in the list */ - int idx = binsearch(wrd,list,nw); + int idx = nw > 0 ? binsearch(wrd,list,nw) : -1; free(wrd); if (idx < 0) return 0; Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/FC-4/.cvsignore,v retrieving revision 1.52 retrieving revision 1.53 diff -u -r1.52 -r1.53 --- .cvsignore 2 Oct 2005 13:05:44 -0000 1.52 +++ .cvsignore 19 Oct 2005 09:34:47 -0000 1.53 @@ -112,3 +112,4 @@ gcj-sed.sh RegisterAndLicence.xcu OOO680_m1.tar.bz2 +OOO680_m3.tar.bz2 Index: openoffice.org.spec =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/FC-4/openoffice.org.spec,v retrieving revision 1.213 retrieving revision 1.214 diff -u -r1.213 -r1.214 --- openoffice.org.spec 3 Oct 2005 10:48:11 -0000 1.213 +++ openoffice.org.spec 19 Oct 2005 09:34:47 -0000 1.214 @@ -1,5 +1,5 @@ -%define ooo2ver 1 -%define ooo_rpm_release 2.cmc1 +%define ooo2ver 3 +%define ooo_rpm_release 1 %define build_fc5 0 %define build_fc4 1 %define build_rhel4 0 @@ -198,19 +198,19 @@ Patch48: openoffice.org-1.9.125.ooo54040.savecrash.svtools.patch Patch49: workspace.gslpatches6.patch Patch50: workspace.dmake43p01.patch -Patch51: workspace.cmcfixes17.patch -Patch52: workspace.emblock1.patch -Patch53: openoffice.org-1.9.128.ooo54479.systemicu.patch -Patch54: workspace.cmcfixes18.patch -Patch55: openoffice.org-1.9.130.ooo54692.fasterhelpcontent2.patch -Patch56: openoffice.org-1.9.104-berkeleydb-jni-casting-misuse.patch -Patch57: openoffice.org-1.9.114.ooo51718.rpath.patch -Patch58: openoffice.org-1.9.130.oooXXXXX.newsystemdb.xmlhelp.patch -Patch59: openoffice.org-1.9.130.ooo54959.negativeindent.sw.patch -Patch60: workspace.cmcfixes19.patch -Patch61: workspace.atkbridge.patch -Patch62: openoffice.org-1.9.130.oooXXXXX.sysui.linkforce.patch -Patch63: openoffice.org-1.9.112.ooo51724.testtools.patch +Patch51: workspace.emblock1.patch +Patch52: openoffice.org-1.9.128.ooo54479.systemicu.patch +Patch53: workspace.cmcfixes18.patch +Patch54: openoffice.org-1.9.130.ooo54692.fasterhelpcontent2.patch +Patch55: openoffice.org-1.9.104-berkeleydb-jni-casting-misuse.patch +Patch56: openoffice.org-1.9.114.ooo51718.rpath.patch +Patch57: openoffice.org-1.9.130.oooXXXXX.newsystemdb.xmlhelp.patch +Patch58: openoffice.org-1.9.130.ooo54959.negativeindent.sw.patch +Patch59: workspace.cmcfixes19.patch +Patch60: workspace.atkbridge.patch +Patch61: openoffice.org-1.9.130.oooXXXXX.sysui.linkforce.patch +Patch62: openoffice.org-1.9.112.ooo51724.testtools.patch +Patch63: openoffice.org-2.0.0.ooo55603.mythes.crash.patch %define instdir %{_libdir}/openoffice.org2.0 @@ -871,24 +871,24 @@ %patch48 -p1 -b .ooo54040.savecrash.svtools.patch %patch49 -p1 -b .workspace.gslpatches6.patch %patch50 -p1 -b .dmake43p01.patch -%patch51 -p1 -b .workspace.cmcfixes17.patch -%patch52 -p1 -b .workspace.emblock1.patch +%patch51 -p1 -b .workspace.emblock1.patch %if ! %{internalicu} -%patch53 -p1 -b .ooo54479.systemicu.patch +%patch52 -p1 -b .ooo54479.systemicu.patch %endif -%patch54 -p1 -b .workspace.cmcfixes18.patch -#%patch55 -p1 -b .ooo54692.fasterhelpcontent2.patch +%patch53 -p1 -b .workspace.cmcfixes18.patch +#%patch54 -p1 -b .ooo54692.fasterhelpcontent2.patch %if %{internaljavabits} -%patch56 -p1 -b .berkeleydb-jni-casting-misuse.patch -%patch57 -p1 -b .ooo51718.rpath.patch +%patch55 -p1 -b .berkeleydb-jni-casting-misuse.patch +%patch56 -p1 -b .ooo51718.rpath.patch %else -%patch58 -p1 -b .oooXXXXX.newsystemdb.xmlhelp.patch +%patch57 -p1 -b .oooXXXXX.newsystemdb.xmlhelp.patch %endif -%patch59 -p1 -b .ooo54959.negativeindent.sw.patch -%patch60 -p1 -b .workspace.cmcfixes19.patch -%patch61 -p1 -b .workspace.atkbridge.patch -%patch62 -p1 -b .oooXXXXX.sysui.linkforce.patch -%patch63 -p1 -b .ooo51724.testtools.patch +%patch58 -p1 -b .ooo54959.negativeindent.sw.patch +%patch59 -p1 -b .workspace.cmcfixes19.patch +%patch60 -p1 -b .workspace.atkbridge.patch +%patch61 -p1 -b .oooXXXXX.sysui.linkforce.patch +%patch62 -p1 -b .ooo51724.testtools.patch +%patch63 -p1 -b .ooo55603.mythes.crash.patch %if %{includingexternals} #start ludicrous workaround @@ -976,9 +976,14 @@ export BUILD_TYPE="$BUILD_TYPE xalan" %endif -#give these security flags a whirl -export ARCH_FLAGS="-Wp,-D_FORTIFY_SOURCE=2" -#export ARCH_FLAGS="-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param ssp-buffer-size=3 -fasynchronous-unwind-tables" +#use the RPM_OPT_FLAGS but remove the OOo overridden ones +for i in $RPM_OPT_FLAGS; do + case "$i" in + -O?|-pipe|-Wall|-g|-fexceptions|-fasynchronous-unwind-tables) continue;; + esac + ARCH_FLAGS="$ARCH_FLAGS $i" +done +export ARCH_FLAGS # see tamil translation issue rh#159381#, remove when complete and upstreamed cd transex3/prj @@ -3236,6 +3241,19 @@ %{instdir}/share/registry/modules/org/openoffice/Office/Scripting/Scripting-python.xcu %changelog +* Fri Oct 14 2005 Caolan McNamara - 1:2.0.0-3.5 +- get RPM_OPT_FLAGS in operation minus -fasynchronous-unwind-tables + +* Fri Oct 14 2005 Caolan McNamara - 1:2.0.0-3.1 +- release candidate 3 +- alias en_US thesasurus for other en varients +- can crash on empty thesasurus rh#170091#/ooo#55603# +- drop thesaruses not in new format + +* Thu Oct 06 2005 Caolan McNamara - 1:2.0.0-2.1 +- release candidate 2 +- workspace.cmcfixes17 integrated + * Thu Sep 29 2005 Caolan McNamara - 1:2.0.0-1.2 - add mmeeks workspace.atkbridge for rh#169323# acessibility Index: sources =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/FC-4/sources,v retrieving revision 1.77 retrieving revision 1.78 diff -u -r1.77 -r1.78 --- sources 2 Oct 2005 13:05:44 -0000 1.77 +++ sources 19 Oct 2005 09:34:47 -0000 1.78 @@ -7,4 +7,4 @@ 66ee360bd11d33b0ba2283922d853706 opens___.ttf f2fc336c9bd7672a13e58d39bbb4553f GSI_ga.sdf 49c02048e40f0b51a97abdb94d97dc1f javavendors.xml -c7ff48e12d409da17de928739cf1498e OOO680_m1.tar.bz2 +bc67b66be8f80c0ef695a5b03ad09890 OOO680_m3.tar.bz2 --- workspace.cmcfixes17.patch DELETED --- From fedora-cvs-commits at redhat.com Wed Oct 19 09:36:44 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 05:36:44 -0400 Subject: rpms/openoffice.org/FC-4 sources,1.78,1.79 Message-ID: <200510190936.j9J9ai8x026298@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/openoffice.org/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv26278 Modified Files: sources Log Message: and different thesarusi Index: sources =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/FC-4/sources,v retrieving revision 1.78 retrieving revision 1.79 diff -u -r1.78 -r1.79 --- sources 19 Oct 2005 09:34:47 -0000 1.78 +++ sources 19 Oct 2005 09:36:36 -0000 1.79 @@ -3,8 +3,8 @@ 11c0541fa373a327d1c134887ce511e7 openoffice.org-simple-crash_report.sh c733528059f1ea2b51c78d07738bf121 gcj-sed.sh a4a22f6b80a4f02c01bbe0400e131e57 RegisterAndLicence.xcu -73aac8274b29c79ac2041d0963faa2b8 openoffice.org-myspell-contrib.tar.gz 66ee360bd11d33b0ba2283922d853706 opens___.ttf f2fc336c9bd7672a13e58d39bbb4553f GSI_ga.sdf 49c02048e40f0b51a97abdb94d97dc1f javavendors.xml bc67b66be8f80c0ef695a5b03ad09890 OOO680_m3.tar.bz2 +ba0f7ec4c5e909ecf7a0d9b2912e672c openoffice.org-myspell-contrib.tar.gz From fedora-cvs-commits at redhat.com Wed Oct 19 10:39:52 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 06:39:52 -0400 Subject: rpms/less/devel .cvsignore, 1.5, 1.6 less.spec, 1.20, 1.21 sources, 1.5, 1.6 Message-ID: <200510191039.j9JAdqS7014600@cvs.devel.redhat.com> Author: jnovy Update of /cvs/dist/rpms/less/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv14536 Modified Files: .cvsignore less.spec sources Log Message: - update to less-392 - fixes #122847 and enhances UTF8 support Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/less/devel/.cvsignore,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- .cvsignore 9 Sep 2004 07:16:06 -0000 1.5 +++ .cvsignore 19 Oct 2005 10:39:46 -0000 1.6 @@ -1 +1,2 @@ less-382.tar.gz +less-392.tar.gz Index: less.spec =================================================================== RCS file: /cvs/dist/rpms/less/devel/less.spec,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- less.spec 6 Sep 2005 10:10:07 -0000 1.20 +++ less.spec 19 Oct 2005 10:39:46 -0000 1.21 @@ -1,7 +1,7 @@ Summary: A text file browser similar to more, but better. Name: less -Version: 382 -Release: 8 +Version: 392 +Release: 1 License: GPL Group: Applications/Text Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz @@ -9,9 +9,7 @@ Source2: less.sh Source3: less.csh -Patch0: less-382-ncursesw.patch -Patch1: less-382-utf8detect.patch -Patch2: less-382-fixline.patch +Patch0: less-382-fixline.patch URL: http://www.greenwoodsoftware.com/less/ Buildroot: %{_tmppath}/%{name}-root @@ -29,9 +27,7 @@ %prep %setup -q -%patch0 -p1 -b .ncursesw -%patch1 -p1 -b .utf8detect -%patch2 -p1 -b .fixline +%patch0 -p1 -b .fixline chmod -R a+w * %build @@ -57,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Oct 19 2005 Jindrich Novy 392-1 +- update to less-392 - fixes #122847 and enhances UTF8 support + * Fri Sep 2 2005 Jindrich Novy 382-8 - fix displaying of bogus newline for growing files (#120916) Index: sources =================================================================== RCS file: /cvs/dist/rpms/less/devel/sources,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- sources 9 Sep 2004 07:16:06 -0000 1.5 +++ sources 19 Oct 2005 10:39:46 -0000 1.6 @@ -1 +1 @@ -103fe4aef6297b93f0f73f38cc3b1bd7 less-382.tar.gz +462f6b0be88f25673a0ed4ddfdab803a less-392.tar.gz From fedora-cvs-commits at redhat.com Wed Oct 19 12:08:06 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 08:08:06 -0400 Subject: rpms/gtk2/devel gtk+-2.8.6-mimecache.patch, NONE, 1.1 Makefile, 1.1, 1.2 gtk2.spec, 1.95, 1.96 Message-ID: <200510191208.j9JC86w5012238@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/gtk2/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv12209 Modified Files: Makefile gtk2.spec Added Files: gtk+-2.8.6-mimecache.patch Log Message: Fix mime cache handling gtk+-2.8.6-mimecache.patch: xdgmimecache.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) --- NEW FILE gtk+-2.8.6-mimecache.patch --- --- gtk+-2.8.6/gtk/xdgmime/xdgmimecache.c.mimecache 2005-10-19 08:01:25.000000000 -0400 +++ gtk+-2.8.6/gtk/xdgmime/xdgmimecache.c 2005-10-19 08:03:17.000000000 -0400 @@ -176,8 +176,8 @@ { for (j = 0; j < data_length; j++) { - if ((cache->buffer[data_offset + j] & cache->buffer[mask_offset + j]) != - ((((unsigned char *) data)[j + i]) & cache->buffer[mask_offset + j])) + if ((((unsigned char *)cache->buffer)[data_offset + j] & ((unsigned char *)cache->buffer)[mask_offset + j]) != + ((((unsigned char *) data)[j + i]) & ((unsigned char *)cache->buffer)[mask_offset + j])) { valid_matchlet = FALSE; break; @@ -188,7 +188,7 @@ { for (j = 0; j < data_length; j++) { - if (cache->buffer[data_offset + j] != ((unsigned char *) data)[j + i]) + if (((unsigned char *)cache->buffer)[data_offset + j] != ((unsigned char *) data)[j + i]) { valid_matchlet = FALSE; break; @@ -296,7 +296,7 @@ for (i = 0; _caches[i]; i++) { XdgMimeCache *cache = _caches[i]; - xdg_uint32_t list_offset = GET_UINT32 (cache->buffer, 4 ); + xdg_uint32_t list_offset = GET_UINT32 (cache->buffer, 4); xdg_uint32_t n_entries = GET_UINT32 (cache->buffer, list_offset); xdg_uint32_t offset; Index: gtk2.spec =================================================================== RCS file: /cvs/dist/rpms/gtk2/devel/gtk2.spec,v retrieving revision 1.95 retrieving revision 1.96 diff -u -r1.95 -r1.96 --- gtk2.spec 5 Oct 2005 14:19:16 -0000 1.95 +++ gtk2.spec 19 Oct 2005 12:08:00 -0000 1.96 @@ -16,7 +16,7 @@ Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X. Name: gtk2 Version: %{base_version} -Release: 1 +Release: 2 License: LGPL Group: System Environment/Libraries Source: gtk+-%{version}.tar.bz2 @@ -24,6 +24,8 @@ # Biarch changes Patch0: gtk+-2.4.1-lib64.patch +# Fixed in 2.8.7 +Patch1: gtk+-2.8.6-mimecache.patch BuildPrereq: atk-devel >= %{atk_version} BuildPrereq: pango-devel >= %{pango_version} @@ -83,6 +85,7 @@ (cd .. && tar xzf %{SOURCE1}) %patch0 -p1 -b .lib64 +%patch1 -p1 -b .mimecache for i in config.guess config.sub ; do test -f %{_datadir}/libtool/$i && cp %{_datadir}/libtool/$i . @@ -251,6 +254,9 @@ %doc tmpdocs/examples %changelog +* Wed Oct 19 2005 Matthias Clasen 2.8.6-2 +- Sync to upstream xdgmime + * Wed Oct 5 2005 Matthias Clasen 2.8.6-1 - New upstream version From fedora-cvs-commits at redhat.com Wed Oct 19 12:23:19 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 08:23:19 -0400 Subject: rpms/gnome-vfs2/devel gnome-vfs-2.12.1.1-mimecache.patch, NONE, 1.1 gnome-vfs2.spec, 1.65, 1.66 Message-ID: <200510191223.j9JCNJUh018396@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/gnome-vfs2/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv18289 Modified Files: gnome-vfs2.spec Added Files: gnome-vfs-2.12.1.1-mimecache.patch Log Message: Fix mime cache handling gnome-vfs-2.12.1.1-mimecache.patch: xdgmimecache.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) --- NEW FILE gnome-vfs-2.12.1.1-mimecache.patch --- --- gnome-vfs-2.12.1.1/libgnomevfs/xdgmimecache.c.mimecache 2005-04-17 06:37:34.000000000 -0400 +++ gnome-vfs-2.12.1.1/libgnomevfs/xdgmimecache.c 2005-10-19 08:19:13.000000000 -0400 @@ -175,8 +175,8 @@ { for (j = 0; j < data_length; j++) { - if ((cache->buffer[data_offset + j] & cache->buffer[mask_offset + j]) != - ((((unsigned char *) data)[j + i]) & cache->buffer[mask_offset + j])) + if ((((unsigned char *)cache->buffer)[data_offset + j] & ((unsigned char *)cache->buffer)[mask_offset + j]) != + ((((unsigned char *) data)[j + i]) & ((unsigned char *)cache->buffer)[mask_offset + j])) { valid_matchlet = FALSE; break; @@ -187,7 +187,7 @@ { for (j = 0; j < data_length; j++) { - if (cache->buffer[data_offset + j] != ((unsigned char *) data)[j + i]) + if (((unsigned char *)cache->buffer)[data_offset + j] != ((unsigned char *) data)[j + i]) { valid_matchlet = FALSE; break; Index: gnome-vfs2.spec =================================================================== RCS file: /cvs/dist/rpms/gnome-vfs2/devel/gnome-vfs2.spec,v retrieving revision 1.65 retrieving revision 1.66 diff -u -r1.65 -r1.66 --- gnome-vfs2.spec 6 Oct 2005 05:13:22 -0000 1.65 +++ gnome-vfs2.spec 19 Oct 2005 12:23:13 -0000 1.66 @@ -9,7 +9,7 @@ Summary: The GNOME virtual file-system libraries. Name: gnome-vfs2 Version: 2.12.1.1 -Release: 1 +Release: 2 License: LGPL Group: System Environment/Libraries Source0: gnome-vfs-%{version}.tar.bz2 @@ -48,6 +48,9 @@ # Bug 150132 Patch400: neon-0.24.7-gssapi.patch +# fixed upstream +Patch500: gnome-vfs-2.12.1.1-mimecache.patch + %description GNOME VFS is the GNOME virtual file system. It is the foundation of the Nautilus file manager. It provides a modular architecture and @@ -93,6 +96,7 @@ %patch201 -p0 -b .console %patch400 -p0 -b .neon-gssapi +%patch500 -p0 -b .mimecache %build @@ -171,6 +175,9 @@ %config %{_sysconfdir}/gnome-vfs-2.0/modules/smb-module.conf %changelog +* Wed Oct 19 2005 Matthias Clasen 2.12.1.1-2 +- Fix the cache handling in xdgmime + * Thu Oct 6 2005 Matthias Clasen 2.12.1.1-1 - Update to 2.12.1.1 - Drop upstreamed patches From fedora-cvs-commits at redhat.com Wed Oct 19 12:32:17 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 08:32:17 -0400 Subject: rpms/gnome-vfs2/devel gnome-vfs2.spec,1.66,1.67 Message-ID: <200510191232.j9JCWHM9022126@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/gnome-vfs2/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv22067 Modified Files: gnome-vfs2.spec Log Message: Fix patch command Index: gnome-vfs2.spec =================================================================== RCS file: /cvs/dist/rpms/gnome-vfs2/devel/gnome-vfs2.spec,v retrieving revision 1.66 retrieving revision 1.67 diff -u -r1.66 -r1.67 --- gnome-vfs2.spec 19 Oct 2005 12:23:13 -0000 1.66 +++ gnome-vfs2.spec 19 Oct 2005 12:31:52 -0000 1.67 @@ -96,7 +96,7 @@ %patch201 -p0 -b .console %patch400 -p0 -b .neon-gssapi -%patch500 -p0 -b .mimecache +%patch500 -p1 -b .mimecache %build From fedora-cvs-commits at redhat.com Wed Oct 19 13:43:04 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 09:43:04 -0400 Subject: rpms/curl/FC-4 curl-7.13.1-2005-3185.patch, NONE, 1.1 curl.spec, 1.24, 1.25 Message-ID: <200510191343.j9JDh4H6002554@cvs.devel.redhat.com> Author: varekova Update of /cvs/dist/rpms/curl/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv2539 Modified Files: curl.spec Added Files: curl-7.13.1-2005-3185.patch Log Message: - fix bug 170682 - CAN-2005-3185 NTLM buffer overflow (this change is only in cvs - not build and not create update) curl-7.13.1-2005-3185.patch: http_ntlm.c | 7 +++++++ 1 files changed, 7 insertions(+) --- NEW FILE curl-7.13.1-2005-3185.patch --- --- curl-7.13.1/lib/http_ntlm.c.2005-3185 2005-02-22 13:10:30.000000000 +0100 +++ curl-7.13.1/lib/http_ntlm.c 2005-10-19 15:18:42.165859528 +0200 @@ -534,6 +534,13 @@ size=64; ntlmbuf[62]=ntlmbuf[63]=0; + /* Make sure that the user and domain strings fit in the target buffer + before we copy them there. */ + if(size + userlen + domlen >= sizeof(ntlmbuf)) { + failf(conn->data, "user + domain name too big"); + return CURLE_OUT_OF_MEMORY; + } + memcpy(&ntlmbuf[size], domain, domlen); size += domlen; Index: curl.spec =================================================================== RCS file: /cvs/dist/rpms/curl/FC-4/curl.spec,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- curl.spec 3 May 2005 10:57:05 -0000 1.24 +++ curl.spec 19 Oct 2005 13:42:57 -0000 1.25 @@ -1,13 +1,14 @@ Summary: A utility for getting files from remote servers (FTP, HTTP, and others). Name: curl Version: 7.13.1 -Release: 3 +Release: 4 License: MIT Group: Applications/Internet Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2 Patch0: curl-7.12.0-nousr.patch Patch1: curl-7.10.4-path.patch Patch2: curl-7.13.1-auth.patch +Patch3: curl-7.13.1-2005-3185.patch URL: http://curl.haxx.se/ BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: openssl-devel, libtool, pkgconfig, libidn-devel @@ -38,6 +39,7 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 -b .auth +%patch3 -p1 -b .2005-3185 %build aclocal @@ -92,6 +94,10 @@ %{_mandir}/man3/* %changelog +* Wed Oct 19 2005 Ivana Varekova 7.13.1-4 +- fix bug 170682 - CAN-2005-3185 NTLM buffer overflow + (this change is only in cvs - not build and not create update) + * Tue May 03 2005 Ivana Varekova 7.13.1-3 - fix bug 150768 - curl-7.12.3-2 breaks basic authentication used Daniel Stenberg patch (patch2) From fedora-cvs-commits at redhat.com Wed Oct 19 14:06:52 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 10:06:52 -0400 Subject: rpms/NetworkManager/FC-4 NetworkManager.spec,1.62,1.63 Message-ID: <200510191406.j9JE6qON018344@cvs.devel.redhat.com> Author: caillon Update of /cvs/dist/rpms/NetworkManager/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv18325 Modified Files: NetworkManager.spec Log Message: * Wed Oct 19 2005 Christopher Aillon - 0.5.0-1.FC4.2 - Requires dhcdbd Index: NetworkManager.spec =================================================================== RCS file: /cvs/dist/rpms/NetworkManager/FC-4/NetworkManager.spec,v retrieving revision 1.62 retrieving revision 1.63 diff -u -r1.62 -r1.63 --- NetworkManager.spec 18 Oct 2005 23:11:43 -0000 1.62 +++ NetworkManager.spec 19 Oct 2005 14:06:47 -0000 1.63 @@ -7,7 +7,7 @@ Name: NetworkManager Summary: Network link manager and user applications Version: 0.5.0 -Release: 1.FC4.1 +Release: 1.FC4.2 Group: System Environment/Base License: GPL URL: http://people.redhat.com/dcbw/NetworkManager/ @@ -23,6 +23,7 @@ Requires: hal >= %{hal_version} Requires: iproute openssl Requires: caching-nameserver +Requires: dhcdbd Requires: bind >= 9.3.1-12 Conflicts: bind-chroot @@ -187,6 +188,9 @@ %changelog +* Wed Oct 19 2005 Christopher Aillon - 0.5.0-1.FC4.2 +- Requires dhcdbd + * Tue Oct 18 2005 Christopher Aillon - 0.5.0-1.FC4.1 - Update to NetworkManager 0.5.0 From fedora-cvs-commits at redhat.com Wed Oct 19 15:09:21 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 11:09:21 -0400 Subject: rpms/openoffice.org/FC-4 sources,1.79,1.80 Message-ID: <200510191509.j9JF9Ln0006858@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/openoffice.org/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv6839 Modified Files: sources Log Message: duff myspell contrib Index: sources =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/FC-4/sources,v retrieving revision 1.79 retrieving revision 1.80 diff -u -r1.79 -r1.80 --- sources 19 Oct 2005 09:36:36 -0000 1.79 +++ sources 19 Oct 2005 15:09:12 -0000 1.80 @@ -7,4 +7,4 @@ f2fc336c9bd7672a13e58d39bbb4553f GSI_ga.sdf 49c02048e40f0b51a97abdb94d97dc1f javavendors.xml bc67b66be8f80c0ef695a5b03ad09890 OOO680_m3.tar.bz2 -ba0f7ec4c5e909ecf7a0d9b2912e672c openoffice.org-myspell-contrib.tar.gz +e134623af5c26a275caafb05f7f267c7 openoffice.org-myspell-contrib.tar.gz From fedora-cvs-commits at redhat.com Wed Oct 19 15:13:23 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 11:13:23 -0400 Subject: rpms/system-config-network/devel .cvsignore, 1.11, 1.12 sources, 1.12, 1.13 system-config-network.spec, 1.11, 1.12 Message-ID: <200510191513.j9JFDNrj007478@cvs.devel.redhat.com> Author: harald Update of /cvs/dist/rpms/system-config-network/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv7424 Modified Files: .cvsignore sources system-config-network.spec Log Message: version 1.3.28 Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/system-config-network/devel/.cvsignore,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- .cvsignore 20 Apr 2005 13:26:09 -0000 1.11 +++ .cvsignore 19 Oct 2005 15:13:16 -0000 1.12 @@ -1 +1 @@ -system-config-network-1.3.26.tar.gz +system-config-network-1.3.28.tar.gz Index: sources =================================================================== RCS file: /cvs/dist/rpms/system-config-network/devel/sources,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- sources 20 Apr 2005 13:26:09 -0000 1.12 +++ sources 19 Oct 2005 15:13:16 -0000 1.13 @@ -1 +1 @@ -d4bb414d052880cfb9e08cba81025e61 system-config-network-1.3.26.tar.gz +56a130c2c9f51812a65bec4bcd0ffad6 system-config-network-1.3.28.tar.gz Index: system-config-network.spec =================================================================== RCS file: /cvs/dist/rpms/system-config-network/devel/system-config-network.spec,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- system-config-network.spec 20 Apr 2005 13:26:09 -0000 1.11 +++ system-config-network.spec 19 Oct 2005 15:13:16 -0000 1.12 @@ -1,7 +1,7 @@ # -*- RPM-SPEC -*- Summary: The GUI of the NEtwork Adminstration Tool Name: system-config-network -Version: 1.3.26 +Version: 1.3.28 Release: 1 URL: http://fedora.redhat.com/projects/config-tools/redhat-config-network.html Source0: %{name}-%{version}.tar.gz @@ -93,6 +93,19 @@ %{_bindir}/system-config-network-cmd %changelog +* Wed Oct 10 2005 Harald Hoyer - 1.3.28 +- fixed picture paths in glade files +- fixed cancel case of passphrase dialog + +* Wed Oct 10 2005 Harald Hoyer - 1.3.27 +- use new pam stack replacement +- added OnParent for Alias Devices +- added SPI and better key generation for ipsec +- corrected column handling in main window +- GUI liftup +- added AVM Fritz!PCI v2.0 ISDN card to ISDN Hardwarelist (bug 134605) +- remove /etc/sysconfig/isdncard, if no ISDN is configured + * Wed Apr 20 2005 Harald Hoyer - 1.3.26 - CBCP_MSN added (bug #125710) From fedora-cvs-commits at redhat.com Wed Oct 19 15:23:26 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 11:23:26 -0400 Subject: rpms/mtools/devel .cvsignore, 1.6, 1.7 mtools.spec, 1.17, 1.18 sources, 1.6, 1.7 Message-ID: <200510191523.j9JFNQvt012403@cvs.devel.redhat.com> Author: twaugh Update of /cvs/dist/rpms/mtools/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv12320 Modified Files: .cvsignore mtools.spec sources Log Message: * Wed Oct 19 2005 Tim Waugh 3.9.10-1 - 3.9.10. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/mtools/devel/.cvsignore,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- .cvsignore 9 Sep 2004 08:50:30 -0000 1.6 +++ .cvsignore 19 Oct 2005 15:23:22 -0000 1.7 @@ -1 +1,2 @@ mtools-3.9.9.tar.bz2 +mtools-3.9.10.tar.bz2 Index: mtools.spec =================================================================== RCS file: /cvs/dist/rpms/mtools/devel/mtools.spec,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- mtools.spec 21 Mar 2005 11:38:42 -0000 1.17 +++ mtools.spec 19 Oct 2005 15:23:22 -0000 1.18 @@ -1,7 +1,7 @@ Summary: Programs for accessing MS-DOS disks without mounting the disks. Name: mtools -Version: 3.9.9 -Release: 13 +Version: 3.9.10 +Release: 1 License: GPL Group: Applications/System Source: http://mtools.linux.lu/mtools-%{version}.tar.bz2 @@ -70,6 +70,9 @@ %{_infodir}/* %changelog +* Wed Oct 19 2005 Tim Waugh 3.9.10-1 +- 3.9.10. + * Mon Mar 21 2005 Tim Waugh 3.9.9-13 - Fixed memset() usage bug. Index: sources =================================================================== RCS file: /cvs/dist/rpms/mtools/devel/sources,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- sources 9 Sep 2004 08:50:30 -0000 1.6 +++ sources 19 Oct 2005 15:23:22 -0000 1.7 @@ -1 +1 @@ -6928ab4d6958118cde2060aee130b9e2 mtools-3.9.9.tar.bz2 +0d0eb50a52eaf2e1921e1a61bab09be7 mtools-3.9.10.tar.bz2 From fedora-cvs-commits at redhat.com Wed Oct 19 17:36:53 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 13:36:53 -0400 Subject: rpms/NetworkManager/FC-4 NetworkManager.spec, 1.63, 1.64 sources, 1.29, 1.30 Message-ID: <200510191736.j9JHarkV025151@cvs.devel.redhat.com> Author: caillon Update of /cvs/dist/rpms/NetworkManager/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv25130 Modified Files: NetworkManager.spec sources Log Message: * Wed Oct 19 2005 Christopher Aillon - 0.5.1-1.FC4.1 - Update to NetworkManager 0.5.1 Index: NetworkManager.spec =================================================================== RCS file: /cvs/dist/rpms/NetworkManager/FC-4/NetworkManager.spec,v retrieving revision 1.63 retrieving revision 1.64 diff -u -r1.63 -r1.64 --- NetworkManager.spec 19 Oct 2005 14:06:47 -0000 1.63 +++ NetworkManager.spec 19 Oct 2005 17:36:47 -0000 1.64 @@ -6,8 +6,8 @@ Name: NetworkManager Summary: Network link manager and user applications -Version: 0.5.0 -Release: 1.FC4.2 +Version: 0.5.1 +Release: 1.FC4.1 Group: System Environment/Base License: GPL URL: http://people.redhat.com/dcbw/NetworkManager/ @@ -188,6 +188,9 @@ %changelog +* Wed Oct 19 2005 Christopher Aillon - 0.5.1-1.FC4.1 +- Update to NetworkManager 0.5.1 + * Wed Oct 19 2005 Christopher Aillon - 0.5.0-1.FC4.2 - Requires dhcdbd Index: sources =================================================================== RCS file: /cvs/dist/rpms/NetworkManager/FC-4/sources,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- sources 18 Oct 2005 22:56:37 -0000 1.29 +++ sources 19 Oct 2005 17:36:47 -0000 1.30 @@ -1 +1 @@ -c91c6e19069992c5ea3599e891874e5d NetworkManager-0.5.0.tar.gz +efd6b89671e8359431f4de970f3c8d39 NetworkManager-0.5.1.tar.gz From fedora-cvs-commits at redhat.com Wed Oct 19 17:59:27 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 13:59:27 -0400 Subject: rpms/NetworkManager/FC-4 NetworkManager.spec,1.64,1.65 Message-ID: <200510191759.j9JHxRsX002301@cvs.devel.redhat.com> Author: caillon Update of /cvs/dist/rpms/NetworkManager/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv2277 Modified Files: NetworkManager.spec Log Message: no longer installing named.conf Index: NetworkManager.spec =================================================================== RCS file: /cvs/dist/rpms/NetworkManager/FC-4/NetworkManager.spec,v retrieving revision 1.64 retrieving revision 1.65 diff -u -r1.64 -r1.65 --- NetworkManager.spec 19 Oct 2005 17:36:47 -0000 1.64 +++ NetworkManager.spec 19 Oct 2005 17:59:23 -0000 1.65 @@ -157,7 +157,6 @@ %config %{_sysconfdir}/dbus-1/system.d/%{name}.conf %config %{_sysconfdir}/rc.d/init.d/%{name} %config %{_sysconfdir}/rc.d/init.d/%{name}Dispatcher -%config %{_datadir}/%{name}/named.conf %{_bindir}/%{name} %{_bindir}/NetworkManagerDispatcher %{_bindir}/nm-tool From fedora-cvs-commits at redhat.com Wed Oct 19 18:06:01 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 14:06:01 -0400 Subject: rpms/pup/devel .cvsignore,1.5,1.6 pup.spec,1.6,1.7 sources,1.7,1.8 Message-ID: <200510191806.j9JI61Sa002742@cvs.devel.redhat.com> Author: katzj Update of /cvs/dist/rpms/pup/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv2692/devel Modified Files: .cvsignore pup.spec sources Log Message: auto-import pup-0.1.2-1 on branch devel from pup-0.1.2-1.src.rpm Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/pup/devel/.cvsignore,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- .cvsignore 19 Oct 2005 03:09:53 -0000 1.5 +++ .cvsignore 19 Oct 2005 18:05:36 -0000 1.6 @@ -1 +1 @@ -pup-0.1.1.tar.bz2 +pup-0.1.2.tar.bz2 Index: pup.spec =================================================================== RCS file: /cvs/dist/rpms/pup/devel/pup.spec,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- pup.spec 19 Oct 2005 03:09:53 -0000 1.6 +++ pup.spec 19 Oct 2005 18:05:36 -0000 1.7 @@ -1,6 +1,6 @@ Summary: Graphical package updater Name: pup -Version: 0.1.1 +Version: 0.1.2 Release: 1 License: GPL Group: System Environment/Base @@ -42,6 +42,10 @@ %attr(0644,root,root) %config /etc/pam.d/pup %changelog +* Wed Oct 19 2005 Jeremy Katz - 0.1.2-1 +- fix using file:/// paths for repos +- error correctly when there's an unresolvable dependency + * Tue Oct 18 2005 Jeremy Katz - 0.1.1-1 - fix silly debugging that was left in Index: sources =================================================================== RCS file: /cvs/dist/rpms/pup/devel/sources,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- sources 19 Oct 2005 03:09:53 -0000 1.7 +++ sources 19 Oct 2005 18:05:36 -0000 1.8 @@ -1 +1 @@ -ac40bced8eecc4dc9620073d6ced3177 pup-0.1.1.tar.bz2 +472736b08b5d4d94fe3ad11a9ca8493d pup-0.1.2.tar.bz2 From fedora-cvs-commits at redhat.com Wed Oct 19 18:47:21 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 14:47:21 -0400 Subject: rpms/pykickstart/devel .cvsignore, 1.4, 1.5 pykickstart.spec, 1.4, 1.5 sources, 1.5, 1.6 Message-ID: <200510191847.j9JIlLnl015552@cvs.devel.redhat.com> Author: clumens Update of /cvs/dist/rpms/pykickstart/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv14635 Modified Files: .cvsignore pykickstart.spec sources Log Message: Bump version. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/pykickstart/devel/.cvsignore,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- .cvsignore 7 Oct 2005 20:10:25 -0000 1.4 +++ .cvsignore 19 Oct 2005 18:47:16 -0000 1.5 @@ -1,3 +1,4 @@ pykickstart-0.1.tar.gz pykickstart-0.2.tar.gz pykickstart-0.3.tar.gz +pykickstart-0.4.tar.gz Index: pykickstart.spec =================================================================== RCS file: /cvs/dist/rpms/pykickstart/devel/pykickstart.spec,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- pykickstart.spec 13 Oct 2005 20:16:44 -0000 1.4 +++ pykickstart.spec 19 Oct 2005 18:47:16 -0000 1.5 @@ -2,8 +2,8 @@ Summary: A python library for manipulating kickstart files Name: pykickstart -Version: 0.3 -Release: 2 +Version: 0.4 +Release: 1 Source0: %{name}-%{version}.tar.gz License: GPL Group: System Environment/Libraries @@ -31,10 +31,14 @@ %files %defattr(-,root,root) -%doc README ChangeLog COPYING +%doc README ChangeLog COPYING docs/programmers-guide %{python_sitelib}/pykickstart %changelog +* Wed Oct 19 2005 Chris Lumens 0.4-1 +- Correct deprecated attribute on options. +- Added programming documentation. + * Thu Oct 13 2005 Chris Lumens 0.3-2 - Correct python lib directory on 64-bit archs (#170621). Index: sources =================================================================== RCS file: /cvs/dist/rpms/pykickstart/devel/sources,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- sources 13 Oct 2005 20:16:44 -0000 1.5 +++ sources 19 Oct 2005 18:47:16 -0000 1.6 @@ -1 +1,2 @@ d8bb8795bb322ac675ae07d23e12498f pykickstart-0.3.tar.gz +72e84851a893a062e49c41ba385f51db pykickstart-0.4.tar.gz From fedora-cvs-commits at redhat.com Wed Oct 19 18:53:29 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 14:53:29 -0400 Subject: rpms/NetworkManager/FC-4 sources,1.30,1.31 Message-ID: <200510191853.j9JIrTcE019987@cvs.devel.redhat.com> Author: caillon Update of /cvs/dist/rpms/NetworkManager/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv19942 Modified Files: sources Log Message: hmm, source ball got mangled somehow. this one is money. MO-NEY Index: sources =================================================================== RCS file: /cvs/dist/rpms/NetworkManager/FC-4/sources,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- sources 19 Oct 2005 17:36:47 -0000 1.30 +++ sources 19 Oct 2005 18:53:26 -0000 1.31 @@ -1 +1 @@ -efd6b89671e8359431f4de970f3c8d39 NetworkManager-0.5.1.tar.gz +9b5876e2a5b9e5e65279c37cf9253d26 NetworkManager-0.5.1.tar.gz From fedora-cvs-commits at redhat.com Wed Oct 19 18:57:21 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 14:57:21 -0400 Subject: rpms/NetworkManager/FC-4 NetworkManager.spec,1.65,1.66 Message-ID: <200510191857.j9JIvLqf022499@cvs.devel.redhat.com> Author: caillon Update of /cvs/dist/rpms/NetworkManager/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv22480 Modified Files: NetworkManager.spec Log Message: update wireless-tools req Index: NetworkManager.spec =================================================================== RCS file: /cvs/dist/rpms/NetworkManager/FC-4/NetworkManager.spec,v retrieving revision 1.65 retrieving revision 1.66 diff -u -r1.65 -r1.66 --- NetworkManager.spec 19 Oct 2005 17:59:23 -0000 1.65 +++ NetworkManager.spec 19 Oct 2005 18:57:17 -0000 1.66 @@ -17,7 +17,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root PreReq: chkconfig -Requires: wireless-tools >= 28 +Requires: wireless-tools >= 28-0.pre9 Requires: dbus >= %{dbus_version} Requires: dbus-glib >= %{dbus_version} Requires: hal >= %{hal_version} @@ -29,7 +29,7 @@ BuildRequires: dbus-devel >= %{dbus_version} BuildRequires: hal-devel >= %{hal_version} -BuildRequires: wireless-tools >= 28 +BuildRequires: wireless-tools >= 28-0.pre9 BuildRequires: glib2-devel gtk2-devel BuildRequires: libglade2-devel BuildRequires: openssl-devel @@ -42,6 +42,7 @@ BuildRequires: automake17 BuildRequires: dhcdbd + %description NetworkManager attempts to keep an active network connection available at all times. It is intended only for the desktop use-case, and is not intended for From fedora-cvs-commits at redhat.com Wed Oct 19 19:08:50 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 15:08:50 -0400 Subject: rpms/NetworkManager/FC-4 NetworkManager.spec,1.66,1.67 Message-ID: <200510191908.j9JJ8oTL016396@cvs.devel.redhat.com> Author: caillon Update of /cvs/dist/rpms/NetworkManager/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv16384 Modified Files: NetworkManager.spec Log Message: no need for automake Index: NetworkManager.spec =================================================================== RCS file: /cvs/dist/rpms/NetworkManager/FC-4/NetworkManager.spec,v retrieving revision 1.66 retrieving revision 1.67 diff -u -r1.66 -r1.67 --- NetworkManager.spec 19 Oct 2005 18:57:17 -0000 1.66 +++ NetworkManager.spec 19 Oct 2005 19:08:47 -0000 1.67 @@ -39,7 +39,6 @@ BuildRequires: gnome-keyring-devel BuildRequires: gettext-devel BuildRequires: pkgconfig -BuildRequires: automake17 BuildRequires: dhcdbd @@ -95,7 +94,6 @@ %setup -q %patch1 -p0 chmod +ox initscript/RedHat/NetworkManagerDispatcher -automake-1.7 %build export LDFLAGS="$LDFLAGS -lrt -lpthread" From fedora-cvs-commits at redhat.com Wed Oct 19 19:44:43 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 15:44:43 -0400 Subject: rpms/bind/devel named.init,1.35,1.36 Message-ID: <200510191944.j9JJihGl023517@cvs.devel.redhat.com> Author: jvdias Update of /cvs/dist/rpms/bind/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv23503 Modified Files: named.init Log Message: Allow -D option to be used with bind-chroot Index: named.init =================================================================== RCS file: /cvs/dist/rpms/bind/devel/named.init,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- named.init 10 Oct 2005 22:49:38 -0000 1.35 +++ named.init 19 Oct 2005 19:44:40 -0000 1.36 @@ -30,8 +30,8 @@ named_conf=/etc/named.conf c_opt=0 -if [[ "${OPTIONS}" = *-c* ]]; then - named_conf=`echo ${OPTIONS} | sed 's/^.*-c[\ \ ]//;s/[\ \ ].*$//'`; +if echo "$OPTIONS" | egrep -q '(\<|['"'"'"\ \ ])-c'; then + named_conf=`echo ${OPTIONS} | sed 's/^.*[\ \ ]-c[\ \ ]*//;s/[\ \ '"'"'"].*$//'`; c_opt=1; fi; @@ -62,9 +62,17 @@ if [ ! -d ${ROOTDIR}/proc ]; then mkdir -p ${ROOTDIR}/proc fi - if ! egrep -q "${ROOTDIR}/proc proc" /etc/mtab; then - mount -tproc none ${ROOTDIR}/proc >/dev/null 2>&1 + if ! egrep -q "/proc ${ROOTDIR}/proc" /proc/mounts; then + mount --bind /proc ${ROOTDIR}/proc >/dev/null 2>&1 fi + if echo "$OPTIONS" | egrep -q '(\<|['"'"'"\ ])-D(\>|['"'"'"\ ])'; then + if ! /bin/mount | egrep -q "^/var/run/dbus/system_bus_socket on ${ROOTDIR}/var/run/dbus/system_bus_socket"; then + mkdir -p ${ROOTDIR}/var/run/dbus + touch ${ROOTDIR}/var/run/dbus/system_bus_socket; + mount --bind /var/run/dbus/system_bus_socket ${ROOTDIR}/var/run/dbus/system_bus_socket > /dev/null 2>&1; + fi; + fi; + fi no_write_master_zones=0 if [ -e /etc/selinux/config ]; then From fedora-cvs-commits at redhat.com Wed Oct 19 20:12:08 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 16:12:08 -0400 Subject: rpms/audit/devel .cvsignore, 1.47, 1.48 audit.spec, 1.65, 1.66 sources, 1.53, 1.54 Message-ID: <200510192012.j9JKC8V6007792@cvs.devel.redhat.com> Author: sgrubb Update of /cvs/dist/rpms/audit/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv7765 Modified Files: .cvsignore audit.spec sources Log Message: * Wed Oct 19 2005 Steve Grubb 1.0.7-1 - Update reports - Add new message types - Bug fixes Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/audit/devel/.cvsignore,v retrieving revision 1.47 retrieving revision 1.48 diff -u -r1.47 -r1.48 --- .cvsignore 10 Oct 2005 21:56:42 -0000 1.47 +++ .cvsignore 19 Oct 2005 20:12:04 -0000 1.48 @@ -44,3 +44,4 @@ audit-1.0.4.tar.gz audit-1.0.5.tar.gz audit-1.0.6.tar.gz +audit-1.0.7.tar.gz Index: audit.spec =================================================================== RCS file: /cvs/dist/rpms/audit/devel/audit.spec,v retrieving revision 1.65 retrieving revision 1.66 diff -u -r1.65 -r1.66 --- audit.spec 10 Oct 2005 21:56:42 -0000 1.65 +++ audit.spec 19 Oct 2005 20:12:04 -0000 1.66 @@ -1,6 +1,6 @@ Summary: User space tools for 2.6 kernel auditing. Name: audit -Version: 1.0.6 +Version: 1.0.7 Release: 1 License: GPL Group: System Environment/Daemons @@ -16,7 +16,7 @@ %description The audit package contains the user space utilities for -storing and processing the audit records generate by +storing and searching the audit records generate by the audit subsystem in the Linux 2.6 kernel. %package libs @@ -109,8 +109,8 @@ %defattr(-,root,root,-) %doc README COPYING ChangeLog sample.rules contrib/capp.rules %attr(0644,root,root) %{_mandir}/man8/* -%attr(750,root,root) /sbin/auditctl -%attr(750,root,root) /sbin/auditd +%attr(750,root,root) /sbin/auditctl +%attr(750,root,root) /sbin/auditd %attr(750,root,root) /sbin/ausearch %attr(750,root,root) /sbin/aureport %attr(750,root,root) /sbin/autrace @@ -122,6 +122,11 @@ %changelog +* Wed Oct 19 2005 Steve Grubb 1.0.7-1 +- Update reports +- Add new message types +- Bug fixes + * Mon Oct 10 2005 Steve Grubb 1.0.6-1 - in aureport, add column labels to reports - added watch report to aureport Index: sources =================================================================== RCS file: /cvs/dist/rpms/audit/devel/sources,v retrieving revision 1.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- sources 10 Oct 2005 21:56:42 -0000 1.53 +++ sources 19 Oct 2005 20:12:04 -0000 1.54 @@ -1 +1 @@ -828edc7ad1fb1355c480670be146fa31 audit-1.0.6.tar.gz +5b413de4ae1f66d2e76bc8f216e4ef6b audit-1.0.7.tar.gz From fedora-cvs-commits at redhat.com Wed Oct 19 20:22:55 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 16:22:55 -0400 Subject: rpms/bind/devel README.sdb_pgsql,NONE,1.1 Message-ID: <200510192022.j9JKMtGl012882@cvs.devel.redhat.com> Author: jvdias Update of /cvs/dist/rpms/bind/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv12820 Added Files: README.sdb_pgsql Log Message: fix bug 171226 --- NEW FILE README.sdb_pgsql --- PGSQL BIND SDB driver The postgresql BIND SDB driver is of experimental status and should not be used for production systems. Usage: o Use the named_sdb process ( put ENABLE_SDB=yes in /etc/sysconfig/named ) o Edit your named.conf to contain a database zone, eg. : zone "pgdb.net." IN { type master; database "pgsql bind pgdb localhost pguser pgpasswd"; # ^- DB name ^-Table ^-host ^-user ^-password }; o Create the database zone table The table must contain the columns "name", "rdtype", and "rdata", and is expected to contain a properly constructed zone. The program "zonetodb" creates such a table. zonetodb usage: zonetodb origin file dbname dbtable where origin : zone origin, eg "pgdb.net." file : master zone database file, eg. pgdb.net.db dbname : name of postgresql database dbtable: name of table in database Eg. to import this zone in the file 'pgdb.net.db' into the 'bind' database 'pgdb' table: --- #pgdb.net.db: $TTL 1H @ SOA localhost. root.localhost. ( 1 3H 1H 1W 1H ) NS localhost. host1 A 192.168.2.1 host2 A 192.168.2.2 host3 A 192.168.2.3 host4 A 192.168.2.4 host5 A 192.168.2.5 host6 A 192.168.2.6 host7 A 192.168.2.7 --- Issue this command as the pgsql user authorized to update the bind database: # zonetodb pgdb.net. pgdb.net.db bind pgdb will create / update the pgdb table in the 'bind' db: $ psql -dbind -c 'select * from pgdb;' name | ttl | rdtype | rdata ----------------+------+--------+----------------------------------------------------- pgdb.net | 3600 | SOA | localhost. root.localhost. 1 10800 3600 604800 3600 pgdb.net | 3600 | NS | localhost. host1.pgdb.net | 3600 | A | 192.168.2.1 host2.pgdb.net | 3600 | A | 192.168.2.2 host3.pgdb.net | 3600 | A | 192.168.2.3 host4.pgdb.net | 3600 | A | 192.168.2.4 host5.pgdb.net | 3600 | A | 192.168.2.5 host6.pgdb.net | 3600 | A | 192.168.2.6 host7.pgdb.net | 3600 | A | 192.168.2.7 (9 rows) I've tested exactly the above configuration with bind-sdb-9.3.1+ and it works OK. NOTE: If you use pgsqldb SDB, ensure the postgresql service is started before the named service . USE AT YOUR OWN RISK! From fedora-cvs-commits at redhat.com Wed Oct 19 20:33:05 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 16:33:05 -0400 Subject: rpms/bind/devel bind.spec,1.74,1.75 Message-ID: <200510192033.j9JKX5K1016975@cvs.devel.redhat.com> Author: jvdias Update of /cvs/dist/rpms/bind/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv16938 Modified Files: bind.spec Log Message: Allow -D option to be used with bind-chroot; fix bug 171226 Index: bind.spec =================================================================== RCS file: /cvs/dist/rpms/bind/devel/bind.spec,v retrieving revision 1.74 retrieving revision 1.75 diff -u -r1.74 -r1.75 --- bind.spec 6 Oct 2005 18:04:00 -0000 1.74 +++ bind.spec 19 Oct 2005 20:32:43 -0000 1.75 @@ -10,7 +10,7 @@ Name: bind License: BSD-like Version: 9.3.1 -Release: 18 +Release: 20 Epoch: 24 Url: http://www.isc.org/products/BIND/ Buildroot: %{_tmppath}/%{name}-root @@ -29,6 +29,7 @@ Source9: libbind-man.tar.gz Source10: named-dbus.conf Source11: named.service +Source12: README.sdb_pgsql # http://www.venaas.no/ldap/bind-sdb/dnszone-schema.txt Patch: bind-9.2.0rc3-varrun.patch Patch1: bind-9.2.1-key.patch @@ -95,6 +96,7 @@ %package utils Summary: Utilities for querying DNS name servers. Group: Applications/System +Requires: bind-libs = %{epoch}:%{version}-%{release} %description utils Bind-utils contains a collection of utilities for querying DNS (Domain @@ -307,6 +309,7 @@ %if %{SDB} mkdir -p $RPM_BUILD_ROOT/etc/openldap/schema install -c -m 644 %{SOURCE8} $RPM_BUILD_ROOT/etc/openldap/schema/dnszone.schema +cp -fp %{SOURCE12} contrib/sdb/pgsql/ %endif %if %{LIBBIND} gunzip < %{SOURCE9} | (cd $RPM_BUILD_ROOT/usr/share; tar -xpf -) @@ -566,7 +569,7 @@ %{_sbindir}/ldap2zone %{_sbindir}/zonetodb %{_mandir}/man1/zone2ldap.1* -%doc contrib/sdb/ldap/README.ldap contrib/sdb/ldap/INSTALL.ldap +%doc contrib/sdb/ldap/README.ldap contrib/sdb/ldap/INSTALL.ldap contrib/sdb/pgsql/README.sdb_pgsql %post sdb if [ "$1" -ge 1 ]; then @@ -721,6 +724,10 @@ :; %changelog +* Wed Oct 19 2005 Jason Vas Dias - 24.9.3.1-20 +- Allow the -D enable D-BUS option to be used within bind-chroot . +- fix bug 171226: supply some documentation for pgsql SDB . + * Thu Oct 06 2005 Jason Vas Dias - 24:9.3.1-18 - fix bug 169969: do NOT call dbus_svc_dispatch() in dbus_mgr_init_dbus() - task->state != task_ready and will cause Abort in task.c if process From fedora-cvs-commits at redhat.com Wed Oct 19 20:57:44 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 16:57:44 -0400 Subject: rpms/NetworkManager/FC-4 NetworkManager.spec,1.67,1.68 Message-ID: <200510192057.j9JKviAV026185@cvs.devel.redhat.com> Author: caillon Update of /cvs/dist/rpms/NetworkManager/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv26117 Modified Files: NetworkManager.spec Log Message: new bind has the chroot problem fixed; require that Index: NetworkManager.spec =================================================================== RCS file: /cvs/dist/rpms/NetworkManager/FC-4/NetworkManager.spec,v retrieving revision 1.67 retrieving revision 1.68 diff -u -r1.67 -r1.68 --- NetworkManager.spec 19 Oct 2005 19:08:47 -0000 1.67 +++ NetworkManager.spec 19 Oct 2005 20:57:41 -0000 1.68 @@ -24,8 +24,7 @@ Requires: iproute openssl Requires: caching-nameserver Requires: dhcdbd -Requires: bind >= 9.3.1-12 -Conflicts: bind-chroot +Requires: bind >= 9.3.1-14 BuildRequires: dbus-devel >= %{dbus_version} BuildRequires: hal-devel >= %{hal_version} From fedora-cvs-commits at redhat.com Wed Oct 19 20:59:32 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 16:59:32 -0400 Subject: rpms/libsemanage/devel .cvsignore, 1.18, 1.19 libsemanage.spec, 1.22, 1.23 sources, 1.19, 1.20 Message-ID: <200510192059.j9JKxWfh027017@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libsemanage/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv26991 Modified Files: .cvsignore libsemanage.spec sources Log Message: * Tue Oct 17 2005 Dan Walsh 1.3.24-1 - Update from NSA * Merged default database from Ivan Gyurdiev. * Merged removal of connect requirement in policydb backend from Ivan Gyurdiev. * Merged commit locking fix and lock rename from Joshua Brindle. * Merged transaction rollback in lock patch from Joshua Brindle. * Changed default args for load_policy to be null, as it no longer takes a pathname argument and we want to preserve booleans. * Merged move local dbase initialization patch from Ivan Gyurdiev. * Merged acquire/release read lock in databases patch from Ivan Gyurdiev. * Merged rename direct -> policydb as appropriate patch from Ivan Gyurdiev. * Added calls to sepol_policy_file_set_handle interface prior to invoking sepol operations on policy files. * Updated call to sepol_policydb_from_image to pass the handle. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/.cvsignore,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- .cvsignore 18 Oct 2005 17:58:12 -0000 1.18 +++ .cvsignore 19 Oct 2005 20:59:28 -0000 1.19 @@ -15,3 +15,4 @@ libsemanage-1.3.18.tgz libsemanage-1.3.20.tgz libsemanage-1.3.23.tgz +libsemanage-1.3.24.tgz Index: libsemanage.spec =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/libsemanage.spec,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- libsemanage.spec 18 Oct 2005 17:58:12 -0000 1.22 +++ libsemanage.spec 19 Oct 2005 20:59:28 -0000 1.23 @@ -1,7 +1,7 @@ %define libsepolver 1.9.21-1 Summary: SELinux binary policy manipulation library Name: libsemanage -Version: 1.3.23 +Version: 1.3.24 Release: 1 License: GPL Group: System Environment/Libraries @@ -66,6 +66,23 @@ %{_includedir}/semanage/*.h %changelog +* Tue Oct 17 2005 Dan Walsh 1.3.24-1 +- Update from NSA + * Merged default database from Ivan Gyurdiev. + * Merged removal of connect requirement in policydb backend from + Ivan Gyurdiev. + * Merged commit locking fix and lock rename from Joshua Brindle. + * Merged transaction rollback in lock patch from Joshua Brindle. + * Changed default args for load_policy to be null, as it no longer + takes a pathname argument and we want to preserve booleans. + * Merged move local dbase initialization patch from Ivan Gyurdiev. + * Merged acquire/release read lock in databases patch from Ivan Gyurdiev. + * Merged rename direct -> policydb as appropriate patch from Ivan Gyurdiev. + * Added calls to sepol_policy_file_set_handle interface prior + to invoking sepol operations on policy files. + * Updated call to sepol_policydb_from_image to pass the handle. + + * Tue Oct 17 2005 Dan Walsh 1.3.20-1 - Update from NSA * Changed default args for load_policy to be null, as it no longer Index: sources =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/sources,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- sources 18 Oct 2005 17:58:12 -0000 1.19 +++ sources 19 Oct 2005 20:59:28 -0000 1.20 @@ -1 +1 @@ -d2f2e756a70a7a43ae323faf3634a029 libsemanage-1.3.23.tgz +87094b13dfaabba28af24515853e3b5a libsemanage-1.3.24.tgz From fedora-cvs-commits at redhat.com Wed Oct 19 21:19:24 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 17:19:24 -0400 Subject: rpms/control-center/devel control-center.spec,1.97,1.98 Message-ID: <200510192119.j9JLJOQs030941@cvs.devel.redhat.com> Author: rstrode Update of /cvs/dist/rpms/control-center/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30734 Modified Files: control-center.spec Log Message: - rename Font capplet to Fonts (bug 171059) Index: control-center.spec =================================================================== RCS file: /cvs/dist/rpms/control-center/devel/control-center.spec,v retrieving revision 1.97 retrieving revision 1.98 diff -u -r1.97 -r1.98 --- control-center.spec 6 Oct 2005 13:45:18 -0000 1.97 +++ control-center.spec 19 Oct 2005 21:19:15 -0000 1.98 @@ -20,7 +20,7 @@ Summary: GNOME Control Center. Name: control-center Version: 2.12.1 -Release: 1 +Release: 2 Epoch: 1 License: GPL/LGPL Group: User Interface/Desktops @@ -127,6 +127,12 @@ --remove-category X-Red-Hat-Base \ $RPM_BUILD_ROOT%{_datadir}/applications/gnome-default-applications.desktop +# bug 171059 +sed -e 's/=Font$/=Fonts/g' $RPM_BUILD_ROOT%{_datadir}/applications/gnome-font-properties.desktop > \ + $RPM_BUILD_ROOT%{_datadir}/applications/.gnome-font-properties.desktop.tmp +mv $RPM_BUILD_ROOT%{_datadir}/applications/.gnome-font-properties.desktop.tmp \ + $RPM_BUILD_ROOT%{_datadir}/applications/gnome-font-properties.desktop + # remove control center desktop file /bin/rm -f $RPM_BUILD_ROOT%{_datadir}/applications/gnomecc.desktop @@ -205,6 +211,9 @@ # (also its headers) %changelog +* Wed Oct 19 2005 Ray Strode - 1:2.12.1-2 +- rename Font capplet to Fonts (bug 171059) + * Thu Oct 6 2005 Matthias Clasen - 1:2.12.1-1 - Update to 2.12.1 From fedora-cvs-commits at redhat.com Wed Oct 19 21:28:27 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 17:28:27 -0400 Subject: rpms/selinux-policy-strict/devel policy-20050916.patch, 1.25, 1.26 selinux-policy-strict.spec, 1.397, 1.398 Message-ID: <200510192128.j9JLSRt9004512@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-strict/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv4470 Modified Files: policy-20050916.patch selinux-policy-strict.spec Log Message: * Wed Oct 19 2005 Dan Walsh 1.27.1-21 - Fixes for MLS - Allow dhcp to write /etc/localtime policy-20050916.patch: Makefile | 26 +- attrib.te | 96 ++++++++++- domains/misc/kernel.te | 2 domains/program/crond.te | 2 domains/program/fsadm.te | 7 domains/program/hostname.te | 2 domains/program/ifconfig.te | 5 domains/program/initrc.te | 20 ++ domains/program/ldconfig.te | 3 domains/program/load_policy.te | 7 domains/program/login.te | 21 +- domains/program/modutil.te | 14 - domains/program/mount.te | 6 domains/program/netutils.te | 3 domains/program/newrole.te | 4 domains/program/passwd.te | 1 domains/program/restorecon.te | 3 domains/program/setfiles.te | 4 domains/program/ssh.te | 6 domains/program/su.te | 9 + domains/program/syslogd.te | 6 domains/program/unused/NetworkManager.te | 8 domains/program/unused/alsa.te | 2 domains/program/unused/amanda.te | 74 ++------ domains/program/unused/anaconda.te | 5 domains/program/unused/apache.te | 22 +- domains/program/unused/apmd.te | 19 ++ domains/program/unused/auditd.te | 2 domains/program/unused/automount.te | 4 domains/program/unused/bluetooth.te | 72 ++++++++ domains/program/unused/cups.te | 18 +- domains/program/unused/cvs.te | 3 domains/program/unused/cyrus.te | 2 domains/program/unused/dbusd.te | 4 domains/program/unused/dcc.te | 5 domains/program/unused/dhcpc.te | 7 domains/program/unused/dhcpd.te | 3 domains/program/unused/dovecot.te | 4 domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/hwclock.te | 2 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 5 domains/program/unused/mta.te | 8 domains/program/unused/mysqld.te | 10 - domains/program/unused/named.te | 29 ++- domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 10 - domains/program/unused/openct.te | 16 + domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 37 ++++ domains/program/unused/ping.te | 3 domains/program/unused/postfix.te | 57 ++++-- domains/program/unused/pppd.te | 8 domains/program/unused/procmail.te | 11 + domains/program/unused/readahead.te | 21 ++ domains/program/unused/rlogind.te | 4 domains/program/unused/roundup.te | 29 +++ domains/program/unused/rpcd.te | 18 +- domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 12 + domains/program/unused/snmpd.te | 6 domains/program/unused/squid.te | 3 domains/program/unused/udev.te | 10 - domains/program/unused/utempter.te | 2 domains/program/unused/webalizer.te | 3 domains/program/unused/winbind.te | 1 domains/program/unused/xdm.te | 3 domains/program/unused/yppasswdd.te | 40 ++++ domains/program/unused/ypserv.te | 1 domains/program/useradd.te | 5 file_contexts/distros.fc | 2 file_contexts/program/apache.fc | 2 file_contexts/program/bluetooth.fc | 3 file_contexts/program/dhcpc.fc | 2 file_contexts/program/dhcpd.fc | 5 file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 11 - file_contexts/program/ipsec.fc | 1 file_contexts/program/kudzu.fc | 2 file_contexts/program/openct.fc | 2 file_contexts/program/pegasus.fc | 11 + file_contexts/program/pppd.fc | 2 file_contexts/program/readahead.fc | 1 file_contexts/program/roundup.fc | 2 file_contexts/program/rpm.fc | 4 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/xdm.fc | 2 file_contexts/program/yppasswdd.fc | 2 file_contexts/program/ypserv.fc | 1 file_contexts/types.fc | 4 genfs_contexts | 3 macros/base_user_macros.te | 6 macros/core_macros.te | 3 macros/global_macros.te | 18 +- macros/network_macros.te | 17 + macros/program/apache_macros.te | 13 + macros/program/bonobo_macros.te | 2 macros/program/cdrecord_macros.te | 2 macros/program/crontab_macros.te | 2 macros/program/dbusd_macros.te | 4 macros/program/gconf_macros.te | 2 macros/program/gift_macros.te | 2 macros/program/gpg_macros.te | 2 macros/program/i18n_input_macros.te | 21 ++ macros/program/lpr_macros.te | 2 macros/program/mta_macros.te | 4 macros/program/newrole_macros.te | 2 macros/program/pyzor_macros.te | 2 macros/program/razor_macros.te | 2 macros/program/su_macros.te | 4 macros/program/uml_macros.te | 2 macros/program/xdm_macros.te | 2 macros/user_macros.te | 6 man/man8/ftpd_selinux.8 | 19 +- man/man8/httpd_selinux.8 | 9 + man/man8/rsync_selinux.8 | 12 + man/man8/samba_selinux.8 | 9 + mcs | 210 +++++++++--------------- mls | 270 +++++++++++-------------------- net_contexts | 8 targeted/appconfig/root_default_contexts | 4 targeted/assert.te | 2 targeted/domains/program/ssh.te | 3 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 16 + tunables/distro.tun | 2 tunables/tunable.tun | 4 types/device.te | 4 types/devpts.te | 4 types/file.te | 18 +- types/network.te | 13 - types/security.te | 5 136 files changed, 1109 insertions(+), 579 deletions(-) Index: policy-20050916.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/devel/policy-20050916.patch,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- policy-20050916.patch 19 Oct 2005 01:38:03 -0000 1.25 +++ policy-20050916.patch 19 Oct 2005 21:28:23 -0000 1.26 @@ -1,57 +1,145 @@ diff --exclude-from=exclude -N -u -r nsapolicy/attrib.te policy-1.27.1/attrib.te --- nsapolicy/attrib.te 2005-09-16 11:17:08.000000000 -0400 -+++ policy-1.27.1/attrib.te 2005-10-13 10:06:10.000000000 -0400 -@@ -17,17 +17,49 @@ ++++ policy-1.27.1/attrib.te 2005-10-19 10:54:14.000000000 -0400 +@@ -8,51 +8,130 @@ + # explicitly declared here, and can then be associated with particular + # types in type declarations. Attribute names can then be used throughout + # the configuration to express the set of types that are associated with +-# the attribute. Except for the MLS attributes, attributes have no implicit +-# meaning to SELinux. The meaning of all other attributes are completely +-# defined through their usage within the configuration, but should be +-# documented here as comments preceding the attribute declaration. ++# the attribute. Attributes have no implicit meaning to SELinux. The ++# meaning of all attributes are completely defined through their ++# usage within the configuration, but should be documented here as ++# comments preceding the attribute declaration. + + ##################### # Attributes for MLS: # -+# Read files and search directories that have a classification higher than -+# subject clearance - attribute mlsfileread; ++# Common Terminology ++# MLS Range: low-high ++# low referred to as "Effective Sensitivity Label (SL)" ++# high referred to as "Clearance SL" + -+# Read files and search directories with a classification higher than the -+# effective clearance but not higher than the clearance - attribute mlsfilereadtoclr; + -+# Write files and directories in situations where MLS normally denies writes ++# ++# File System MLS attributes/privileges ++# ++# Grant MLS read access to files not dominated by the process Effective SL + attribute mlsfileread; ++# Grant MLS read access to files which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsfilereadtoclr; ++# Grant MLS write access to files not equal to the Effective SL attribute mlsfilewrite; -+ -+# Write files and directories where clearance of the subject dominates the -+# classification of the file/dir and the classification of the file/dir -+# dominates the effective clearance of the subject. ++# Grant MLS write access to files which dominate the process Effective SL ++# and are dominated by the process Clearance SL attribute mlsfilewritetoclr; -+ -+# Increase the classification and/or effective classification of the object -+# regardless of the clearance of the subject. ++# Grant MLS ability to change file label to a new label which dominates ++# the old label attribute mlsfileupgrade; -+ -+# Decrease the classification and/or effective classification of the object -+# regardless of the clearance of the subject. NB An new label with an -+# incomparable effective classification and an equal classification is -+# considered a downgrade as is an incomparable classification ++# Grant MLS ability to change file label to a new label which is ++# dominated by or incomparable to the old label attribute mlsfiledowngrade; -+# Read network data with a lower effective classification than the effective -+# clearance of the process ++# ++# Network MLS attributes/privileges ++# ++# Grant MLS read access to packets not dominated by the process Effective SL attribute mlsnetread; -+ -+# Read network data with a lower effective classification than the effective -+# clearance of the process when the classification of the process is higher ++# Grant MLS read access to packets which dominate the process Effective SL ++# and are dominated by the process Clearance SL attribute mlsnetreadtoclr; -+ -+# Write network data with a higher effective classification or with a -+# classification higher than the clearance of the subject ++# Grant MLS write access to packets not equal to the Effective SL attribute mlsnetwrite; -+ -+# Write network data where the clearance of the process dominates the -+# effective classification of the data and the effective classification of -+# the data dominates the effective clearance of the subject. ++# Grant MLS write access to packets which dominate the Effective SL ++# and are dominated by the process Clearance SL attribute mlsnetwritetoclr; -+ ++# Grant MLS read access to packets from hosts or interfaces which dominate ++# or incomparable to the process Effective SL ++attribute mlsnetrecvall; ++# Grant MLS ability to change socket label to a new label which dominates ++# the old label attribute mlsnetupgrade; ++# Grant MLS ability to change socket label to a new label which is ++# dominated by or incomparable to the old label attribute mlsnetdowngrade; - attribute mlsnetrecvall; -@@ -443,6 +475,9 @@ +-attribute mlsnetrecvall; + ++# ++# IPC MLS attributes/privileges ++# ++# Grant MLS read access to IPC objects not dominated by the process Effective SL + attribute mlsipcread; ++# Grant MLS read access to IPC objects which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsipcreadtoclr; ++# Grant MLS write access to IPC objects not equal to the process Effective SL + attribute mlsipcwrite; ++# Grant MLS write access to IPC objects which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsipcwritetoclr; + ++# ++# Process MLS attributes/privileges ++# ++# Grant MLS read access to processes not dominated by the process Effective SL + attribute mlsprocread; ++# Grant MLS read access to processes which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsprocreadtoclr; ++# Grant MLS write access to processes not equal to the Effective SL + attribute mlsprocwrite; ++# Grant MLS write access to processes which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsprocwritetoclr; ++# Grant MLS ability to change Effective SL or Clearance SL of process to a ++# label dominated by the Clearance SL + attribute mlsprocsetsl; + ++# ++# X Window MLS attributes/privileges ++# ++# Grant MLS read access to X objects not dominated by the process Effective SL + attribute mlsxwinread; ++# Grant MLS read access to X objects which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsxwinreadtoclr; ++# Grant MLS write access to X objects not equal to the process Effective SL + attribute mlsxwinwrite; ++# Grant MLS write access to X objects which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsxwinwritetoclr; +-attribute mlsxwinupgrade; +-attribute mlsxwindowngrade; ++# Grant MLS read access to X properties not dominated by ++# the process Effective SL ++attribute mlsxwinreadproperty; ++# Grant MLS write access to X properties not equal to the process Effective SL ++attribute mlsxwinwriteproperty; ++# Grant MLS read access to X colormaps not dominated by ++# the process Effective SL ++attribute mlsxwinreadcolormap; ++# Grant MLS write access to X colormaps not equal to the process Effective SL ++attribute mlsxwinwritecolormap; ++# Grant MLS write access to X xinputs not equal to the process Effective SL ++attribute mlsxwinwritexinput; + ++# Grant MLS read/write access to objects which internally arbitrate MLS + attribute mlstrustedobject; + ++# ++# Both of the following attributes are needed for a range transition to succeed ++# ++# Grant ability for the current domain to change SL upon process transition + attribute privrangetrans; ++# Grant ability for the new process domain to change SL upon process transition + attribute mlsrangetrans; + + ######################### +@@ -443,6 +522,9 @@ # Attribute to designate unrestricted access attribute unrestricted; @@ -737,7 +825,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/apmd.te policy-1.27.1/domains/program/unused/apmd.te --- nsapolicy/domains/program/unused/apmd.te 2005-09-16 11:17:08.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/apmd.te 2005-09-27 17:14:40.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/apmd.te 2005-10-19 07:35:44.000000000 -0400 @@ -47,6 +47,7 @@ # acpid also has a logfile @@ -746,7 +834,7 @@ ifdef(`distro_suse', ` var_lib_domain(apmd) -@@ -140,3 +141,15 @@ +@@ -140,3 +141,21 @@ allow apmd_t user_tty_type:chr_file rw_file_perms; # Access /dev/apm_bios. allow initrc_t apm_bios_t:chr_file { setattr getattr read }; @@ -762,6 +850,12 @@ +unconfined_domain(apmd_t) +') + ++ifdef(`NetworkManager.te', ` ++ifdef(`dbusd.te', ` ++allow apmd_t NetworkManager_t:dbus send_msg; ++allow NetworkManager_t apmd_t:dbus send_msg; ++') ++') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/auditd.te policy-1.27.1/domains/program/unused/auditd.te --- nsapolicy/domains/program/unused/auditd.te 2005-09-12 16:40:28.000000000 -0400 +++ policy-1.27.1/domains/program/unused/auditd.te 2005-09-27 17:14:40.000000000 -0400 @@ -1025,7 +1119,7 @@ # the dcc user (even though the default dcc user is root). diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dhcpc.te policy-1.27.1/domains/program/unused/dhcpc.te --- nsapolicy/domains/program/unused/dhcpc.te 2005-09-16 11:17:09.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dhcpc.te 2005-10-18 21:31:48.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dhcpc.te 2005-10-19 13:22:32.000000000 -0400 @@ -120,6 +120,7 @@ allow dhcpc_t self:packet_socket create_socket_perms; allow dhcpc_t var_lib_t:dir search; @@ -1050,7 +1144,7 @@ ') ifdef(`ntpd.te', ` domain_auto_trans(dhcpc_t, ntpd_exec_t, ntpd_t) -@@ -161,5 +162,6 @@ +@@ -161,5 +162,7 @@ ifdef(`unconfined.te', ` allow unconfined_t dhcpc_t:dbus send_msg; allow dhcpc_t unconfined_t:dbus send_msg; @@ -1058,6 +1152,7 @@ ') +') +ifdef(`netutils.te', `domain_auto_trans(dhcpd_t, netutils_exec_t, netutils_t)') ++allow dhcpc_t locale_t:file write; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dhcpd.te policy-1.27.1/domains/program/unused/dhcpd.te --- nsapolicy/domains/program/unused/dhcpd.te 2005-09-12 16:40:28.000000000 -0400 +++ policy-1.27.1/domains/program/unused/dhcpd.te 2005-09-27 17:14:40.000000000 -0400 @@ -1232,7 +1327,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/mysqld.te policy-1.27.1/domains/program/unused/mysqld.te --- nsapolicy/domains/program/unused/mysqld.te 2005-09-16 11:17:09.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/mysqld.te 2005-09-27 17:14:40.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/mysqld.te 2005-10-19 09:19:37.000000000 -0400 @@ -12,7 +12,7 @@ # daemon_domain(mysqld, `, nscd_client_domain') @@ -1242,6 +1337,17 @@ allow mysqld_t mysqld_var_run_t:sock_file create_file_perms; +@@ -33,8 +33,8 @@ + + allow initrc_t mysqld_log_t:file { write append setattr ioctl }; + +-allow mysqld_t self:capability { dac_override setgid setuid net_bind_service }; +-allow mysqld_t self:process { setsched getsched }; ++allow mysqld_t self:capability { dac_override setgid setuid net_bind_service sys_resource }; ++allow mysqld_t self:process { setrlimit setsched getsched }; + + allow mysqld_t proc_t:file { getattr read }; + @@ -42,7 +42,7 @@ create_dir_file(mysqld_t, mysqld_db_t) allow mysqld_t var_lib_t:dir { getattr search }; @@ -3253,7 +3359,7 @@ # diff --exclude-from=exclude -N -u -r nsapolicy/mls policy-1.27.1/mls --- nsapolicy/mls 2005-09-12 16:40:26.000000000 -0400 -+++ policy-1.27.1/mls 2005-10-14 08:07:13.000000000 -0400 ++++ policy-1.27.1/mls 2005-10-19 10:54:15.000000000 -0400 @@ -13,12 +13,17 @@ sensitivity s7; sensitivity s8; @@ -3505,6 +3611,107 @@ # +@@ -545,7 +492,8 @@ + mlsconstrain window { addchild create destroy chstack chproplist chprop setattr setfocus move chselection chparent ctrllife transparent clientcomevent } + (( l1 eq l2 ) or + (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or +- ( t1 == mlsxwinwrite )); ++ ( t1 == mlsxwinwrite ) or ++ ( t2 == mlstrustedobject )); + + # these access vectors have no MLS restrictions + # window { map unmap } +@@ -583,12 +531,14 @@ + mlsconstrain colormap { list read getattr } + (( l1 dom l2 ) or + (( t1 == mlsxwinreadtoclr ) and ( h1 dom l2 )) or ++ ( t1 == mlsxwinreadcolormap ) or + ( t1 == mlsxwinread )); + + # the colormap "write" ops (implicit single level) + mlsconstrain colormap { create free install uninstall store setattr } + (( l1 eq l2 ) or + (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or ++ ( t1 == mlsxwinwritecolormap ) or + ( t1 == mlsxwinwrite )); + + +@@ -602,12 +552,14 @@ + mlsconstrain property { read } + (( l1 dom l2 ) or + (( t1 == mlsxwinreadtoclr ) and ( h1 dom l2 )) or ++ ( t1 == mlsxwinreadproperty ) or + ( t1 == mlsxwinread )); + + # the property "write" ops (implicit single level) + mlsconstrain property { create free write } + (( l1 eq l2 ) or + (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or ++ ( t1 == mlsxwinwriteproperty ) or + ( t1 == mlsxwinwrite )); + + +@@ -643,16 +595,14 @@ + # MLS policy for the xinput class + # + +-# the xinput "read" ops (implicit single level) +-mlsconstrain xinput { lookup getattr mousemotion } +- (( l1 dom l2 ) or +- (( t1 == mlsxwinreadtoclr ) and ( h1 dom l2 )) or +- ( t1 == mlsxwinread )); ++# these access vectors have no MLS restrictions ++# xinput ~{ relabelinput setattr } + + # the xinput "write" ops (implicit single level) +-mlsconstrain xinput { setattr setfocus warppointer activegrab passivegrab ungrab bell relabelinput } ++mlsconstrain xinput { setattr relabelinput } + (( l1 eq l2 ) or + (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or ++ ( t1 == mlsxwinwritexinput ) or + ( t1 == mlsxwinwrite )); + + +@@ -662,17 +612,8 @@ + # MLS policy for the xserver class + # + +-# the xserver "read" ops (implicit single level) +-mlsconstrain xserver { gethostlist getfontpath getattr screensaver } +- (( l1 dom l2 ) or +- (( t1 == mlsxwinreadtoclr ) and ( h1 dom l2 )) or +- ( t1 == mlsxwinread )); +- +-# the xserver "write" ops (implicit single level) +-mlsconstrain xserver { sethostlist setfontpath grab ungrab screensaver } +- (( l1 eq l2 ) or +- (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or +- ( t1 == mlsxwinwrite )); ++# these access vectors have no MLS restrictions ++# xserver * + + + +@@ -681,17 +622,8 @@ + # MLS policy for the xextension class + # + +-# the xextension "read" ops (implicit single level) +-mlsconstrain xextension query +- (( l1 dom l2 ) or +- (( t1 == mlsxwinreadtoclr ) and ( h1 dom l2 )) or +- ( t1 == mlsxwinread )); +- +-# the xextension "write" ops (implicit single level) +-mlsconstrain xextension use +- (( l1 eq l2 ) or +- (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or +- ( t1 == mlsxwinwrite )); ++# these access vectors have no MLS restrictions ++# xextension { query use } + + + # diff --exclude-from=exclude -N -u -r nsapolicy/net_contexts policy-1.27.1/net_contexts --- nsapolicy/net_contexts 2005-09-16 11:17:08.000000000 -0400 +++ policy-1.27.1/net_contexts 2005-10-18 09:14:50.000000000 -0400 Index: selinux-policy-strict.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/devel/selinux-policy-strict.spec,v retrieving revision 1.397 retrieving revision 1.398 diff -u -r1.397 -r1.398 --- selinux-policy-strict.spec 19 Oct 2005 01:38:03 -0000 1.397 +++ selinux-policy-strict.spec 19 Oct 2005 21:28:23 -0000 1.398 @@ -10,7 +10,7 @@ Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} Version: 1.27.1 -Release: 20 +Release: 21 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz @@ -244,6 +244,10 @@ exit 0 %changelog +* Wed Oct 19 2005 Dan Walsh 1.27.1-21 +- Fixes for MLS +- Allow dhcp to write /etc/localtime + * Tue Oct 18 2005 Dan Walsh 1.27.1-20 - Allow dhcpc to run arping From fedora-cvs-commits at redhat.com Wed Oct 19 21:28:41 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 17:28:41 -0400 Subject: rpms/selinux-policy-targeted/devel policy-20050916.patch, 1.23, 1.24 selinux-policy-targeted.spec, 1.391, 1.392 Message-ID: <200510192128.j9JLSfA2004548@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-targeted/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv4509 Modified Files: policy-20050916.patch selinux-policy-targeted.spec Log Message: * Wed Oct 19 2005 Dan Walsh 1.27.1-21 - Fixes for MLS - Allow dhcp to write /etc/localtime policy-20050916.patch: Makefile | 26 +- attrib.te | 96 ++++++++++- domains/misc/kernel.te | 2 domains/program/crond.te | 2 domains/program/fsadm.te | 7 domains/program/hostname.te | 2 domains/program/ifconfig.te | 5 domains/program/initrc.te | 20 ++ domains/program/ldconfig.te | 3 domains/program/load_policy.te | 7 domains/program/login.te | 21 +- domains/program/modutil.te | 14 - domains/program/mount.te | 6 domains/program/netutils.te | 3 domains/program/newrole.te | 4 domains/program/passwd.te | 1 domains/program/restorecon.te | 3 domains/program/setfiles.te | 4 domains/program/ssh.te | 6 domains/program/su.te | 9 + domains/program/syslogd.te | 6 domains/program/unused/NetworkManager.te | 8 domains/program/unused/alsa.te | 2 domains/program/unused/amanda.te | 74 ++------ domains/program/unused/anaconda.te | 5 domains/program/unused/apache.te | 22 +- domains/program/unused/apmd.te | 19 ++ domains/program/unused/auditd.te | 2 domains/program/unused/automount.te | 4 domains/program/unused/bluetooth.te | 72 ++++++++ domains/program/unused/cups.te | 18 +- domains/program/unused/cvs.te | 3 domains/program/unused/cyrus.te | 2 domains/program/unused/dbusd.te | 4 domains/program/unused/dcc.te | 5 domains/program/unused/dhcpc.te | 7 domains/program/unused/dhcpd.te | 3 domains/program/unused/dovecot.te | 4 domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/hwclock.te | 2 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 5 domains/program/unused/mta.te | 8 domains/program/unused/mysqld.te | 10 - domains/program/unused/named.te | 29 ++- domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 10 - domains/program/unused/openct.te | 16 + domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 37 ++++ domains/program/unused/ping.te | 3 domains/program/unused/postfix.te | 57 ++++-- domains/program/unused/pppd.te | 8 domains/program/unused/procmail.te | 11 + domains/program/unused/readahead.te | 21 ++ domains/program/unused/rlogind.te | 4 domains/program/unused/roundup.te | 29 +++ domains/program/unused/rpcd.te | 18 +- domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 12 + domains/program/unused/snmpd.te | 6 domains/program/unused/squid.te | 3 domains/program/unused/udev.te | 10 - domains/program/unused/utempter.te | 2 domains/program/unused/webalizer.te | 3 domains/program/unused/winbind.te | 1 domains/program/unused/xdm.te | 3 domains/program/unused/yppasswdd.te | 40 ++++ domains/program/unused/ypserv.te | 1 domains/program/useradd.te | 5 file_contexts/distros.fc | 2 file_contexts/program/apache.fc | 2 file_contexts/program/bluetooth.fc | 3 file_contexts/program/dhcpc.fc | 2 file_contexts/program/dhcpd.fc | 5 file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 11 - file_contexts/program/ipsec.fc | 1 file_contexts/program/kudzu.fc | 2 file_contexts/program/openct.fc | 2 file_contexts/program/pegasus.fc | 11 + file_contexts/program/pppd.fc | 2 file_contexts/program/readahead.fc | 1 file_contexts/program/roundup.fc | 2 file_contexts/program/rpm.fc | 4 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/xdm.fc | 2 file_contexts/program/yppasswdd.fc | 2 file_contexts/program/ypserv.fc | 1 file_contexts/types.fc | 4 genfs_contexts | 3 macros/base_user_macros.te | 6 macros/core_macros.te | 3 macros/global_macros.te | 18 +- macros/network_macros.te | 17 + macros/program/apache_macros.te | 13 + macros/program/bonobo_macros.te | 2 macros/program/cdrecord_macros.te | 2 macros/program/crontab_macros.te | 2 macros/program/dbusd_macros.te | 4 macros/program/gconf_macros.te | 2 macros/program/gift_macros.te | 2 macros/program/gpg_macros.te | 2 macros/program/i18n_input_macros.te | 21 ++ macros/program/lpr_macros.te | 2 macros/program/mta_macros.te | 4 macros/program/newrole_macros.te | 2 macros/program/pyzor_macros.te | 2 macros/program/razor_macros.te | 2 macros/program/su_macros.te | 4 macros/program/uml_macros.te | 2 macros/program/xdm_macros.te | 2 macros/user_macros.te | 6 man/man8/ftpd_selinux.8 | 19 +- man/man8/httpd_selinux.8 | 9 + man/man8/rsync_selinux.8 | 12 + man/man8/samba_selinux.8 | 9 + mcs | 210 +++++++++--------------- mls | 270 +++++++++++-------------------- net_contexts | 8 targeted/appconfig/root_default_contexts | 4 targeted/assert.te | 2 targeted/domains/program/ssh.te | 3 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 16 + tunables/distro.tun | 2 tunables/tunable.tun | 4 types/device.te | 4 types/devpts.te | 4 types/file.te | 18 +- types/network.te | 13 - types/security.te | 5 136 files changed, 1109 insertions(+), 579 deletions(-) Index: policy-20050916.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/devel/policy-20050916.patch,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- policy-20050916.patch 19 Oct 2005 01:38:08 -0000 1.23 +++ policy-20050916.patch 19 Oct 2005 21:28:32 -0000 1.24 @@ -1,57 +1,145 @@ diff --exclude-from=exclude -N -u -r nsapolicy/attrib.te policy-1.27.1/attrib.te --- nsapolicy/attrib.te 2005-09-16 11:17:08.000000000 -0400 -+++ policy-1.27.1/attrib.te 2005-10-13 10:06:10.000000000 -0400 -@@ -17,17 +17,49 @@ ++++ policy-1.27.1/attrib.te 2005-10-19 10:54:14.000000000 -0400 +@@ -8,51 +8,130 @@ + # explicitly declared here, and can then be associated with particular + # types in type declarations. Attribute names can then be used throughout + # the configuration to express the set of types that are associated with +-# the attribute. Except for the MLS attributes, attributes have no implicit +-# meaning to SELinux. The meaning of all other attributes are completely +-# defined through their usage within the configuration, but should be +-# documented here as comments preceding the attribute declaration. ++# the attribute. Attributes have no implicit meaning to SELinux. The ++# meaning of all attributes are completely defined through their ++# usage within the configuration, but should be documented here as ++# comments preceding the attribute declaration. + + ##################### # Attributes for MLS: # -+# Read files and search directories that have a classification higher than -+# subject clearance - attribute mlsfileread; ++# Common Terminology ++# MLS Range: low-high ++# low referred to as "Effective Sensitivity Label (SL)" ++# high referred to as "Clearance SL" + -+# Read files and search directories with a classification higher than the -+# effective clearance but not higher than the clearance - attribute mlsfilereadtoclr; + -+# Write files and directories in situations where MLS normally denies writes ++# ++# File System MLS attributes/privileges ++# ++# Grant MLS read access to files not dominated by the process Effective SL + attribute mlsfileread; ++# Grant MLS read access to files which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsfilereadtoclr; ++# Grant MLS write access to files not equal to the Effective SL attribute mlsfilewrite; -+ -+# Write files and directories where clearance of the subject dominates the -+# classification of the file/dir and the classification of the file/dir -+# dominates the effective clearance of the subject. ++# Grant MLS write access to files which dominate the process Effective SL ++# and are dominated by the process Clearance SL attribute mlsfilewritetoclr; -+ -+# Increase the classification and/or effective classification of the object -+# regardless of the clearance of the subject. ++# Grant MLS ability to change file label to a new label which dominates ++# the old label attribute mlsfileupgrade; -+ -+# Decrease the classification and/or effective classification of the object -+# regardless of the clearance of the subject. NB An new label with an -+# incomparable effective classification and an equal classification is -+# considered a downgrade as is an incomparable classification ++# Grant MLS ability to change file label to a new label which is ++# dominated by or incomparable to the old label attribute mlsfiledowngrade; -+# Read network data with a lower effective classification than the effective -+# clearance of the process ++# ++# Network MLS attributes/privileges ++# ++# Grant MLS read access to packets not dominated by the process Effective SL attribute mlsnetread; -+ -+# Read network data with a lower effective classification than the effective -+# clearance of the process when the classification of the process is higher ++# Grant MLS read access to packets which dominate the process Effective SL ++# and are dominated by the process Clearance SL attribute mlsnetreadtoclr; -+ -+# Write network data with a higher effective classification or with a -+# classification higher than the clearance of the subject ++# Grant MLS write access to packets not equal to the Effective SL attribute mlsnetwrite; -+ -+# Write network data where the clearance of the process dominates the -+# effective classification of the data and the effective classification of -+# the data dominates the effective clearance of the subject. ++# Grant MLS write access to packets which dominate the Effective SL ++# and are dominated by the process Clearance SL attribute mlsnetwritetoclr; -+ ++# Grant MLS read access to packets from hosts or interfaces which dominate ++# or incomparable to the process Effective SL ++attribute mlsnetrecvall; ++# Grant MLS ability to change socket label to a new label which dominates ++# the old label attribute mlsnetupgrade; ++# Grant MLS ability to change socket label to a new label which is ++# dominated by or incomparable to the old label attribute mlsnetdowngrade; - attribute mlsnetrecvall; -@@ -443,6 +475,9 @@ +-attribute mlsnetrecvall; + ++# ++# IPC MLS attributes/privileges ++# ++# Grant MLS read access to IPC objects not dominated by the process Effective SL + attribute mlsipcread; ++# Grant MLS read access to IPC objects which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsipcreadtoclr; ++# Grant MLS write access to IPC objects not equal to the process Effective SL + attribute mlsipcwrite; ++# Grant MLS write access to IPC objects which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsipcwritetoclr; + ++# ++# Process MLS attributes/privileges ++# ++# Grant MLS read access to processes not dominated by the process Effective SL + attribute mlsprocread; ++# Grant MLS read access to processes which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsprocreadtoclr; ++# Grant MLS write access to processes not equal to the Effective SL + attribute mlsprocwrite; ++# Grant MLS write access to processes which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsprocwritetoclr; ++# Grant MLS ability to change Effective SL or Clearance SL of process to a ++# label dominated by the Clearance SL + attribute mlsprocsetsl; + ++# ++# X Window MLS attributes/privileges ++# ++# Grant MLS read access to X objects not dominated by the process Effective SL + attribute mlsxwinread; ++# Grant MLS read access to X objects which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsxwinreadtoclr; ++# Grant MLS write access to X objects not equal to the process Effective SL + attribute mlsxwinwrite; ++# Grant MLS write access to X objects which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsxwinwritetoclr; +-attribute mlsxwinupgrade; +-attribute mlsxwindowngrade; ++# Grant MLS read access to X properties not dominated by ++# the process Effective SL ++attribute mlsxwinreadproperty; ++# Grant MLS write access to X properties not equal to the process Effective SL ++attribute mlsxwinwriteproperty; ++# Grant MLS read access to X colormaps not dominated by ++# the process Effective SL ++attribute mlsxwinreadcolormap; ++# Grant MLS write access to X colormaps not equal to the process Effective SL ++attribute mlsxwinwritecolormap; ++# Grant MLS write access to X xinputs not equal to the process Effective SL ++attribute mlsxwinwritexinput; + ++# Grant MLS read/write access to objects which internally arbitrate MLS + attribute mlstrustedobject; + ++# ++# Both of the following attributes are needed for a range transition to succeed ++# ++# Grant ability for the current domain to change SL upon process transition + attribute privrangetrans; ++# Grant ability for the new process domain to change SL upon process transition + attribute mlsrangetrans; + + ######################### +@@ -443,6 +522,9 @@ # Attribute to designate unrestricted access attribute unrestricted; @@ -737,7 +825,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/apmd.te policy-1.27.1/domains/program/unused/apmd.te --- nsapolicy/domains/program/unused/apmd.te 2005-09-16 11:17:08.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/apmd.te 2005-09-27 17:14:40.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/apmd.te 2005-10-19 07:35:44.000000000 -0400 @@ -47,6 +47,7 @@ # acpid also has a logfile @@ -746,7 +834,7 @@ ifdef(`distro_suse', ` var_lib_domain(apmd) -@@ -140,3 +141,15 @@ +@@ -140,3 +141,21 @@ allow apmd_t user_tty_type:chr_file rw_file_perms; # Access /dev/apm_bios. allow initrc_t apm_bios_t:chr_file { setattr getattr read }; @@ -762,6 +850,12 @@ +unconfined_domain(apmd_t) +') + ++ifdef(`NetworkManager.te', ` ++ifdef(`dbusd.te', ` ++allow apmd_t NetworkManager_t:dbus send_msg; ++allow NetworkManager_t apmd_t:dbus send_msg; ++') ++') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/auditd.te policy-1.27.1/domains/program/unused/auditd.te --- nsapolicy/domains/program/unused/auditd.te 2005-09-12 16:40:28.000000000 -0400 +++ policy-1.27.1/domains/program/unused/auditd.te 2005-09-27 17:14:40.000000000 -0400 @@ -1025,7 +1119,7 @@ # the dcc user (even though the default dcc user is root). diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dhcpc.te policy-1.27.1/domains/program/unused/dhcpc.te --- nsapolicy/domains/program/unused/dhcpc.te 2005-09-16 11:17:09.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dhcpc.te 2005-10-18 21:31:48.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dhcpc.te 2005-10-19 13:22:32.000000000 -0400 @@ -120,6 +120,7 @@ allow dhcpc_t self:packet_socket create_socket_perms; allow dhcpc_t var_lib_t:dir search; @@ -1050,7 +1144,7 @@ ') ifdef(`ntpd.te', ` domain_auto_trans(dhcpc_t, ntpd_exec_t, ntpd_t) -@@ -161,5 +162,6 @@ +@@ -161,5 +162,7 @@ ifdef(`unconfined.te', ` allow unconfined_t dhcpc_t:dbus send_msg; allow dhcpc_t unconfined_t:dbus send_msg; @@ -1058,6 +1152,7 @@ ') +') +ifdef(`netutils.te', `domain_auto_trans(dhcpd_t, netutils_exec_t, netutils_t)') ++allow dhcpc_t locale_t:file write; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dhcpd.te policy-1.27.1/domains/program/unused/dhcpd.te --- nsapolicy/domains/program/unused/dhcpd.te 2005-09-12 16:40:28.000000000 -0400 +++ policy-1.27.1/domains/program/unused/dhcpd.te 2005-09-27 17:14:40.000000000 -0400 @@ -1232,7 +1327,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/mysqld.te policy-1.27.1/domains/program/unused/mysqld.te --- nsapolicy/domains/program/unused/mysqld.te 2005-09-16 11:17:09.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/mysqld.te 2005-09-27 17:14:40.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/mysqld.te 2005-10-19 09:19:37.000000000 -0400 @@ -12,7 +12,7 @@ # daemon_domain(mysqld, `, nscd_client_domain') @@ -1242,6 +1337,17 @@ allow mysqld_t mysqld_var_run_t:sock_file create_file_perms; +@@ -33,8 +33,8 @@ + + allow initrc_t mysqld_log_t:file { write append setattr ioctl }; + +-allow mysqld_t self:capability { dac_override setgid setuid net_bind_service }; +-allow mysqld_t self:process { setsched getsched }; ++allow mysqld_t self:capability { dac_override setgid setuid net_bind_service sys_resource }; ++allow mysqld_t self:process { setrlimit setsched getsched }; + + allow mysqld_t proc_t:file { getattr read }; + @@ -42,7 +42,7 @@ create_dir_file(mysqld_t, mysqld_db_t) allow mysqld_t var_lib_t:dir { getattr search }; @@ -3253,7 +3359,7 @@ # diff --exclude-from=exclude -N -u -r nsapolicy/mls policy-1.27.1/mls --- nsapolicy/mls 2005-09-12 16:40:26.000000000 -0400 -+++ policy-1.27.1/mls 2005-10-14 08:07:13.000000000 -0400 ++++ policy-1.27.1/mls 2005-10-19 10:54:15.000000000 -0400 @@ -13,12 +13,17 @@ sensitivity s7; sensitivity s8; @@ -3505,6 +3611,107 @@ # +@@ -545,7 +492,8 @@ + mlsconstrain window { addchild create destroy chstack chproplist chprop setattr setfocus move chselection chparent ctrllife transparent clientcomevent } + (( l1 eq l2 ) or + (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or +- ( t1 == mlsxwinwrite )); ++ ( t1 == mlsxwinwrite ) or ++ ( t2 == mlstrustedobject )); + + # these access vectors have no MLS restrictions + # window { map unmap } +@@ -583,12 +531,14 @@ + mlsconstrain colormap { list read getattr } + (( l1 dom l2 ) or + (( t1 == mlsxwinreadtoclr ) and ( h1 dom l2 )) or ++ ( t1 == mlsxwinreadcolormap ) or + ( t1 == mlsxwinread )); + + # the colormap "write" ops (implicit single level) + mlsconstrain colormap { create free install uninstall store setattr } + (( l1 eq l2 ) or + (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or ++ ( t1 == mlsxwinwritecolormap ) or + ( t1 == mlsxwinwrite )); + + +@@ -602,12 +552,14 @@ + mlsconstrain property { read } + (( l1 dom l2 ) or + (( t1 == mlsxwinreadtoclr ) and ( h1 dom l2 )) or ++ ( t1 == mlsxwinreadproperty ) or + ( t1 == mlsxwinread )); + + # the property "write" ops (implicit single level) + mlsconstrain property { create free write } + (( l1 eq l2 ) or + (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or ++ ( t1 == mlsxwinwriteproperty ) or + ( t1 == mlsxwinwrite )); + + +@@ -643,16 +595,14 @@ + # MLS policy for the xinput class + # + +-# the xinput "read" ops (implicit single level) +-mlsconstrain xinput { lookup getattr mousemotion } +- (( l1 dom l2 ) or +- (( t1 == mlsxwinreadtoclr ) and ( h1 dom l2 )) or +- ( t1 == mlsxwinread )); ++# these access vectors have no MLS restrictions ++# xinput ~{ relabelinput setattr } + + # the xinput "write" ops (implicit single level) +-mlsconstrain xinput { setattr setfocus warppointer activegrab passivegrab ungrab bell relabelinput } ++mlsconstrain xinput { setattr relabelinput } + (( l1 eq l2 ) or + (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or ++ ( t1 == mlsxwinwritexinput ) or + ( t1 == mlsxwinwrite )); + + +@@ -662,17 +612,8 @@ + # MLS policy for the xserver class + # + +-# the xserver "read" ops (implicit single level) +-mlsconstrain xserver { gethostlist getfontpath getattr screensaver } +- (( l1 dom l2 ) or +- (( t1 == mlsxwinreadtoclr ) and ( h1 dom l2 )) or +- ( t1 == mlsxwinread )); +- +-# the xserver "write" ops (implicit single level) +-mlsconstrain xserver { sethostlist setfontpath grab ungrab screensaver } +- (( l1 eq l2 ) or +- (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or +- ( t1 == mlsxwinwrite )); ++# these access vectors have no MLS restrictions ++# xserver * + + + +@@ -681,17 +622,8 @@ + # MLS policy for the xextension class + # + +-# the xextension "read" ops (implicit single level) +-mlsconstrain xextension query +- (( l1 dom l2 ) or +- (( t1 == mlsxwinreadtoclr ) and ( h1 dom l2 )) or +- ( t1 == mlsxwinread )); +- +-# the xextension "write" ops (implicit single level) +-mlsconstrain xextension use +- (( l1 eq l2 ) or +- (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or +- ( t1 == mlsxwinwrite )); ++# these access vectors have no MLS restrictions ++# xextension { query use } + + + # diff --exclude-from=exclude -N -u -r nsapolicy/net_contexts policy-1.27.1/net_contexts --- nsapolicy/net_contexts 2005-09-16 11:17:08.000000000 -0400 +++ policy-1.27.1/net_contexts 2005-10-18 09:14:50.000000000 -0400 Index: selinux-policy-targeted.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/devel/selinux-policy-targeted.spec,v retrieving revision 1.391 retrieving revision 1.392 diff -u -r1.391 -r1.392 --- selinux-policy-targeted.spec 19 Oct 2005 01:38:08 -0000 1.391 +++ selinux-policy-targeted.spec 19 Oct 2005 21:28:32 -0000 1.392 @@ -10,7 +10,7 @@ Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} Version: 1.27.1 -Release: 20 +Release: 21 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz @@ -55,7 +55,7 @@ mv domains/misc/unused/kernel.te domains/misc/ mv domains/program/*.te domains/program/unused/ rm domains/*.te -(cd domains/program/unused; mv acct.te anaconda.te amanda.te apache.te apmd.te arpwatch.te auditd.te bluetooth.te checkpolicy.te canna.te cardmgr.te chkpwd.te comsat.te consoletype.te cpucontrol.te cpuspeed.te cups.te cvs.te cyrus.te dbskkd.te dmidecode.te dbusd.te dhcpc.te dhcpd.te dictd.te dovecot.te fingerd.te firstboot.te fsadm.te ftpd.te getty.te hald.te hostname.te hotplug.te howl.te hwclock.te kudzu.te ifconfig.te init.te initrc.te inetd.te innd.te kerberos.te klogd.te ktalkd.te ldconfig.te load_policy.te login.te lpd.te newrole.te mailman.te modutil.te mta.te mysqld.te named.te netutils.te NetworkManager.te nscd.te ntpd.te passwd.te pegasus.te ping.te portmap.te postfix.te postgresql.te pppd.te privoxy.te radius.te radvd.te restorecon.te rlogind.te rpcd.te rshd.te rsync.te saslauthd.te samba.te setfiles.te slapd.te snmpd.te squid.te stunnel.te su.te syslogd.te telnetd.te tftpd.te udev.te updfstab.te uucpd.te webalizer.te winbind.te ypbind.te yppasswd.te ypserv.te ze! bra.te ../) +(cd domains/program/unused; mv acct.te anaconda.te amanda.te apache.te apmd.te arpwatch.te auditd.te bluetooth.te checkpolicy.te canna.te cardmgr.te chkpwd.te comsat.te consoletype.te cpucontrol.te cpuspeed.te cups.te cvs.te cyrus.te dbskkd.te dmidecode.te dbusd.te dhcpc.te dhcpd.te dictd.te dovecot.te fingerd.te firstboot.te fsadm.te ftpd.te getty.te hald.te hostname.te hotplug.te howl.te hwclock.te kudzu.te ifconfig.te init.te initrc.te inetd.te innd.te kerberos.te klogd.te ktalkd.te ldconfig.te load_policy.te login.te lpd.te newrole.te mailman.te modutil.te mta.te mysqld.te named.te netutils.te NetworkManager.te nscd.te ntpd.te passwd.te pegasus.te ping.te portmap.te postfix.te postgresql.te pppd.te privoxy.te radius.te radvd.te restorecon.te rlogind.te rpcd.te rshd.te rsync.te saslauthd.te samba.te setfiles.te slapd.te snmpd.te spamd.te squid.te stunnel.te su.te syslogd.te telnetd.te tftpd.te udev.te updfstab.te uucpd.te webalizer.te winbind.te ypbind.te yppasswd.te yps! erv.te zebra.te ../) rm -rf domains/program/unused rm -rf domains/misc/unused cp -R %{type}/* . @@ -248,6 +248,10 @@ exit 0 %changelog +* Wed Oct 19 2005 Dan Walsh 1.27.1-21 +- Fixes for MLS +- Allow dhcp to write /etc/localtime + * Tue Oct 18 2005 Dan Walsh 1.27.1-20 - Allow dhcpc to run arping From fedora-cvs-commits at redhat.com Wed Oct 19 21:48:59 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 17:48:59 -0400 Subject: rpms/bind/devel named.init,1.36,1.37 Message-ID: <200510192148.j9JLmx0L009347@cvs.devel.redhat.com> Author: jvdias Update of /cvs/dist/rpms/bind/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv9290 Modified Files: named.init Log Message: handle named -c option properly; allow -D option to be used with bind-chroot Index: named.init =================================================================== RCS file: /cvs/dist/rpms/bind/devel/named.init,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- named.init 19 Oct 2005 19:44:40 -0000 1.36 +++ named.init 19 Oct 2005 21:48:56 -0000 1.37 @@ -19,6 +19,8 @@ [ -r /etc/sysconfig/named ] && . /etc/sysconfig/named +[ -n "$ROOTDIR" ] && ROOTDIR=`echo $ROOTDIR | sed 's#//*#/#g;s#/$##'` + RETVAL=0 named='named' if [[ "$ENABLE_SDB" = [yY1]* ]] && [ -x /usr/sbin/named_sdb ]; then @@ -28,20 +30,20 @@ [ -x /usr/sbin/$named ] || exit 1 -named_conf=/etc/named.conf -c_opt=0 -if echo "$OPTIONS" | egrep -q '(\<|['"'"'"\ \ ])-c'; then - named_conf=`echo ${OPTIONS} | sed 's/^.*[\ \ ]-c[\ \ ]*//;s/[\ \ '"'"'"].*$//'`; - c_opt=1; -fi; - -[ -r ${ROOTDIR}/${named_conf} ] || exit 1 - -if [ ${c_opt} -eq 0 ]; then - named_conf=''; -fi; - -[ -n "$ROOTDIR" ] && ROOTDIR=`echo $ROOTDIR | sed 's#//*#/#g;s#/$##'` +nmdcOption() +{ let i=0; + for a in $*; + do ((++i)); + if [ $a = -c ]; then + ((++i)); + eval 'echo $'$i; + elif [[ $a = -c* ]]; then + echo ${a#-c}; + fi; + done; +} +named_conf=`nmdcOption $OPTIONS`; +[ -r ${ROOTDIR}/${named_conf:-etc/named.conf} ] || exit 1 start() { # Start daemons. From fedora-cvs-commits at redhat.com Wed Oct 19 21:50:36 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 17:50:36 -0400 Subject: rpms/bind/FC-4 named.init,1.33,1.34 Message-ID: <200510192150.j9JLoaC9010462@cvs.devel.redhat.com> Author: jvdias Update of /cvs/dist/rpms/bind/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv10413 Modified Files: named.init Log Message: handle named -c option properly; allow -D option to be used with bind-chroot Index: named.init =================================================================== RCS file: /cvs/dist/rpms/bind/FC-4/named.init,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- named.init 10 Oct 2005 22:50:35 -0000 1.33 +++ named.init 19 Oct 2005 21:50:33 -0000 1.34 @@ -19,6 +19,8 @@ [ -r /etc/sysconfig/named ] && . /etc/sysconfig/named +[ -n "$ROOTDIR" ] && ROOTDIR=`echo $ROOTDIR | sed 's#//*#/#g;s#/$##'` + RETVAL=0 named='named' if [[ "$ENABLE_SDB" = [yY1]* ]] && [ -x /usr/sbin/named_sdb ]; then @@ -28,20 +30,20 @@ [ -x /usr/sbin/$named ] || exit 1 -named_conf=/etc/named.conf -c_opt=0 -if [[ "${OPTIONS}" = *-c* ]]; then - named_conf=`echo ${OPTIONS} | sed 's/^.*-c[\ \ ]//;s/[\ \ ].*$//'`; - c_opt=1; -fi; - -[ -r ${ROOTDIR}/${named_conf} ] || exit 1 - -if [ ${c_opt} -eq 0 ]; then - named_conf=''; -fi; - -[ -n "$ROOTDIR" ] && ROOTDIR=`echo $ROOTDIR | sed 's#//*#/#g;s#/$##'` +nmdcOption() +{ let i=0; + for a in $*; + do ((++i)); + if [ $a = -c ]; then + ((++i)); + eval 'echo $'$i; + elif [[ $a = -c* ]]; then + echo ${a#-c}; + fi; + done; +} +named_conf=`nmdcOption $OPTIONS`; +[ -r ${ROOTDIR}/${named_conf:-etc/named.conf} ] || exit 1 start() { # Start daemons. @@ -62,9 +64,17 @@ if [ ! -d ${ROOTDIR}/proc ]; then mkdir -p ${ROOTDIR}/proc fi - if ! egrep -q "${ROOTDIR}/proc proc" /etc/mtab; then - mount -tproc none ${ROOTDIR}/proc >/dev/null 2>&1 + if ! egrep -q "/proc ${ROOTDIR}/proc" /proc/mounts; then + mount --bind /proc ${ROOTDIR}/proc >/dev/null 2>&1 fi + if echo "$OPTIONS" | egrep -q '(\<|['"'"'"\ ])-D(\>|['"'"'"\ ])'; then + if ! /bin/mount | egrep -q "^/var/run/dbus/system_bus_socket on ${ROOTDIR}/var/run/dbus/system_bus_socket"; then + mkdir -p ${ROOTDIR}/var/run/dbus + touch ${ROOTDIR}/var/run/dbus/system_bus_socket; + mount --bind /var/run/dbus/system_bus_socket ${ROOTDIR}/var/run/dbus/system_bus_socket > /dev/null 2>&1; + fi; + fi; + fi no_write_master_zones=0 if [ -e /etc/selinux/config ]; then From fedora-cvs-commits at redhat.com Wed Oct 19 21:55:30 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 17:55:30 -0400 Subject: rpms/bind/FC-4 README.sdb_pgsql,NONE,1.1 bind.spec,1.66,1.67 Message-ID: <200510192155.j9JLtU7K014536@cvs.devel.redhat.com> Author: jvdias Update of /cvs/dist/rpms/bind/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv14516 Modified Files: bind.spec Added Files: README.sdb_pgsql Log Message: named.init fixes: handle named -c option properly; allow -D option to be used in chroot; fix bug 171178 --- NEW FILE README.sdb_pgsql --- PGSQL BIND SDB driver The postgresql BIND SDB driver is of experimental status and should not be used for production systems. Usage: o Use the named_sdb process ( put ENABLE_SDB=yes in /etc/sysconfig/named ) o Edit your named.conf to contain a database zone, eg. : zone "pgdb.net." IN { type master; database "pgsql bind pgdb localhost pguser pgpasswd"; # ^- DB name ^-Table ^-host ^-user ^-password }; o Create the database zone table The table must contain the columns "name", "rdtype", and "rdata", and is expected to contain a properly constructed zone. The program "zonetodb" creates such a table. zonetodb usage: zonetodb origin file dbname dbtable where origin : zone origin, eg "pgdb.net." file : master zone database file, eg. pgdb.net.db dbname : name of postgresql database dbtable: name of table in database Eg. to import this zone in the file 'pgdb.net.db' into the 'bind' database 'pgdb' table: --- #pgdb.net.db: $TTL 1H @ SOA localhost. root.localhost. ( 1 3H 1H 1W 1H ) NS localhost. host1 A 192.168.2.1 host2 A 192.168.2.2 host3 A 192.168.2.3 host4 A 192.168.2.4 host5 A 192.168.2.5 host6 A 192.168.2.6 host7 A 192.168.2.7 --- Issue this command as the pgsql user authorized to update the bind database: # zonetodb pgdb.net. pgdb.net.db bind pgdb will create / update the pgdb table in the 'bind' db: $ psql -dbind -c 'select * from pgdb;' name | ttl | rdtype | rdata ----------------+------+--------+----------------------------------------------------- pgdb.net | 3600 | SOA | localhost. root.localhost. 1 10800 3600 604800 3600 pgdb.net | 3600 | NS | localhost. host1.pgdb.net | 3600 | A | 192.168.2.1 host2.pgdb.net | 3600 | A | 192.168.2.2 host3.pgdb.net | 3600 | A | 192.168.2.3 host4.pgdb.net | 3600 | A | 192.168.2.4 host5.pgdb.net | 3600 | A | 192.168.2.5 host6.pgdb.net | 3600 | A | 192.168.2.6 host7.pgdb.net | 3600 | A | 192.168.2.7 (9 rows) I've tested exactly the above configuration with bind-sdb-9.3.1+ and it works OK. NOTE: If you use pgsqldb SDB, ensure the postgresql service is started before the named service . USE AT YOUR OWN RISK! Index: bind.spec =================================================================== RCS file: /cvs/dist/rpms/bind/FC-4/bind.spec,v retrieving revision 1.66 retrieving revision 1.67 diff -u -r1.66 -r1.67 --- bind.spec 17 Oct 2005 23:01:59 -0000 1.66 +++ bind.spec 19 Oct 2005 21:55:24 -0000 1.67 @@ -9,7 +9,7 @@ Name: bind License: BSD-like Version: 9.3.1 -Release: 12_FC4 +Release: 14_FC4 Epoch: 24 Url: http://www.isc.org/products/BIND/ Buildroot: %{_tmppath}/%{name}-root @@ -28,6 +28,7 @@ Source9: libbind-man.tar.gz Source10: named-dbus.conf Source11: named.service +Source12: README.sdb_pgsql # http://www.venaas.no/ldap/bind-sdb/dnszone-schema.txt Patch: bind-9.2.0rc3-varrun.patch Patch1: bind-9.2.1-key.patch @@ -92,6 +93,7 @@ %package utils Summary: Utilities for querying DNS name servers. Group: Applications/System +Requires: bind-libs = %{epoch}:%{version}-%{release} %description utils Bind-utils contains a collection of utilities for querying DNS (Domain @@ -303,6 +305,7 @@ %if %{SDB} mkdir -p $RPM_BUILD_ROOT/etc/openldap/schema install -c -m 644 %{SOURCE8} $RPM_BUILD_ROOT/etc/openldap/schema/dnszone.schema +cp -fp %{SOURCE12} contrib/sdb/pgsql/ %endif %if %{LIBBIND} gunzip < %{SOURCE9} | (cd $RPM_BUILD_ROOT/usr/share; tar -xpf -) @@ -403,6 +406,7 @@ %triggerpostun -n bind -- bind <= 24:9.3.1-11 if [ "$1" -gt 0 ]; then +# bind <= 22:9.3.0-2: # These versions of bind installed named service at order 55 in # runlevel startup order, after programs like nis / ntp / nfs # which may need its services if using no nameservers in resolv.conf. @@ -559,7 +563,7 @@ %{_sbindir}/ldap2zone %{_sbindir}/zonetodb %{_mandir}/man1/zone2ldap.1* -%doc contrib/sdb/ldap/README.ldap contrib/sdb/ldap/INSTALL.ldap +%doc contrib/sdb/ldap/README.ldap contrib/sdb/ldap/INSTALL.ldap contrib/sdb/pgsql/README.sdb_pgsql %post sdb if [ "$1" -ge 1 ]; then @@ -714,6 +718,10 @@ :; %changelog +* Wed Oct 19 2005 Jason Vas Dias - 24.9.3.1-14 +- Allow the -D enable D-BUS option to be used within bind-chroot . +- fix bug 171178: supply some documentation for pgsql SDB . + * Mon Oct 17 2005 Jason Vas Dias - 24:9.3.1-12 - fix bug 167682: bind-chroot directory permissions - fix bug 168302: use %{__cc} for compiling dns-keygen From fedora-cvs-commits at redhat.com Wed Oct 19 21:57:57 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 17:57:57 -0400 Subject: rpms/gnome-power-manager/devel .cvsignore, 1.3, 1.4 gnome-power-manager.spec, 1.2, 1.3 sources, 1.3, 1.4 Message-ID: <200510192157.j9JLvvhB014916@cvs.devel.redhat.com> Author: rstrode Update of /cvs/dist/rpms/gnome-power-manager/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv14878 Modified Files: .cvsignore gnome-power-manager.spec sources Log Message: - update to 0.2.8 Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/gnome-power-manager/devel/.cvsignore,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- .cvsignore 3 Oct 2005 15:36:32 -0000 1.3 +++ .cvsignore 19 Oct 2005 21:57:50 -0000 1.4 @@ -1 +1 @@ -gnome-power-manager-0.2.6.tar.gz +gnome-power-manager-0.2.8.tar.gz Index: gnome-power-manager.spec =================================================================== RCS file: /cvs/dist/rpms/gnome-power-manager/devel/gnome-power-manager.spec,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- gnome-power-manager.spec 3 Oct 2005 15:36:32 -0000 1.2 +++ gnome-power-manager.spec 19 Oct 2005 21:57:50 -0000 1.3 @@ -4,7 +4,7 @@ Summary: GNOME Power Manager Name: gnome-power-manager -Version: 0.2.6 +Version: 0.2.8 Release: 1 License: GPL Group: Applications/System @@ -31,16 +31,13 @@ %setup -q %build -%configure \ - --prefix=%{buildroot} \ - --with-dbus-sys=%{buildroot}/etc/dbus-1/system.d \ - --with-dbus-services=%{buildroot}/usr/share/dbus-1/services +%configure make %install rm -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 -%makeinstall +make install DESTDIR=$RPM_BUILD_ROOT unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL desktop-file-install --vendor gnome --delete-original \ @@ -70,14 +67,16 @@ %doc AUTHORS ChangeLog COPYING README %{_bindir}/* %{_datadir}/applications/* -%{_datadir}/dbus-1/* %{_datadir}/gnome-power-manager/* %{_datadir}/man/* -# TODO: remove system.d as g-p-m shouldn't be on the system bus -%{_sysconfdir}/dbus-1/system.d/* %{_sysconfdir}/gconf/schemas/*.schemas +%{_sysconfdir}/dbus-1/system.d/gnome-power-manager.conf +%{_datadir}/dbus-1/services/gnome-power-manager.service %changelog +* Wed Oct 19 2005 Ray Strode 0.2.8-1 +- update to 0.2.8 + * Wed Oct 3 2005 Ray Strode 0.2.6-1 - update to 0.2.6 Index: sources =================================================================== RCS file: /cvs/dist/rpms/gnome-power-manager/devel/sources,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- sources 3 Oct 2005 15:36:32 -0000 1.3 +++ sources 19 Oct 2005 21:57:50 -0000 1.4 @@ -1 +1 @@ -ac4aa565a8db05346e4e58c7dd595fbb gnome-power-manager-0.2.6.tar.gz +f55b72eb8a2770d0d5913293dce17ccb gnome-power-manager-0.2.8.tar.gz From fedora-cvs-commits at redhat.com Wed Oct 19 23:11:33 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 19:11:33 -0400 Subject: rpms/kernel/FC-4 linux-2.6-CAN-2005-2973.patch, NONE, 1.1 kernel-2.6.spec, 1.1476, 1.1477 Message-ID: <200510192311.j9JNBXeF003293@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv3266 Modified Files: kernel-2.6.spec Added Files: linux-2.6-CAN-2005-2973.patch Log Message: * Wed Oct 19 2005 Dave Jones - Fix CAN-2005-2973 (ipv6 infinite loop) linux-2.6-CAN-2005-2973.patch: udp.c | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) --- NEW FILE linux-2.6-CAN-2005-2973.patch --- --- linux-2.6.12/net/ipv6/udp.c~ 2005-10-19 18:48:39.000000000 -0400 +++ linux-2.6.12/net/ipv6/udp.c 2005-10-19 18:49:00.000000000 -0400 @@ -98,7 +98,7 @@ static int udp_v6_get_port(struct sock * next:; } result = best; - for(;; result += UDP_HTABLE_SIZE) { + for(i = 0; i < (1 << 16) / UDP_HTABLE_SIZE; i++, result += UDP_HTABLE_SIZE) { if (result > sysctl_local_port_range[1]) result = sysctl_local_port_range[0] + ((result - sysctl_local_port_range[0]) & @@ -106,6 +106,8 @@ static int udp_v6_get_port(struct sock * if (!udp_lport_inuse(result)) break; } + if (i >= (1 << 16) / UDP_HTABLE_SIZE) + goto fail; gotit: udp_port_rover = snum = result; } else { --- linux-2.6.12/net/ipv6/udp.c~ 2005-10-19 18:49:20.000000000 -0400 +++ linux-2.6.12/net/ipv6/udp.c 2005-10-19 18:50:44.000000000 -0400 @@ -844,10 +844,16 @@ do_append_data: else if (!corkreq) err = udp_v6_push_pending_frames(sk, up); - if (dst) - ip6_dst_store(sk, dst, - ipv6_addr_equal(&fl->fl6_dst, &np->daddr) ? - &np->daddr : NULL); + if (dst) { + if (connected) { + ip6_dst_store(sk, dst, + ipv6_addr_equal(&fl->fl6_dst, &np->daddr) ? + &np->daddr : NULL); + } else { + dst_release(dst); + } + } + if (err > 0) err = np->recverr ? net_xmit_errno(err) : 0; release_sock(sk); Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/kernel-2.6.spec,v retrieving revision 1.1476 retrieving revision 1.1477 diff -u -r1.1476 -r1.1477 --- kernel-2.6.spec 17 Oct 2005 02:55:12 -0000 1.1476 +++ kernel-2.6.spec 19 Oct 2005 23:11:29 -0000 1.1477 @@ -343,6 +343,7 @@ Patch1627: linux-2.6-acpi-enable-ecburst.patch Patch1628: linux-2.6-default-clocksource-tsc.patch Patch1629: linux-2.6-libata-intel-combined-quirk.patch +Patch1630: linux-2.6-CAN-2005-2973.patch Patch1800: linux-2.6-ide-tune-locking.patch @@ -792,6 +793,8 @@ %patch1628 -p1 # Stop IDE claiming legacy ports before libata in combined mode. %patch1629 -p1 +# CAN-2005-2973 ipv6 infinite loop +%patch1630 -p1 # Fix IDE locking bug. %patch1800 -p1 @@ -1253,6 +1256,9 @@ %endif %changelog +* Wed Oct 19 2005 Dave Jones +- Fix CAN-2005-2973 (ipv6 infinite loop) + * Sun Oct 16 2005 Dave Jones [2.6.13-1.1531_FC4] - Stop IDE claiming legacy ports before libata in combined mode. From fedora-cvs-commits at redhat.com Wed Oct 19 23:22:37 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 19:22:37 -0400 Subject: rpms/kernel/FC-4 kernel-2.6.spec,1.1477,1.1478 Message-ID: <200510192322.j9JNMbNm009975@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv9871 Modified Files: kernel-2.6.spec Log Message: disable acpi burst again Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/kernel-2.6.spec,v retrieving revision 1.1477 retrieving revision 1.1478 diff -u -r1.1477 -r1.1478 --- kernel-2.6.spec 19 Oct 2005 23:11:29 -0000 1.1477 +++ kernel-2.6.spec 19 Oct 2005 23:22:32 -0000 1.1478 @@ -788,7 +788,7 @@ # Fix IDE floppy eject. (#158548) %patch1626 -p1 # Enable ACPI EC burst. -%patch1627 -p1 +#%patch1627 -p1 # Change default clocksource to TSC %patch1628 -p1 # Stop IDE claiming legacy ports before libata in combined mode. @@ -1258,6 +1258,7 @@ %changelog * Wed Oct 19 2005 Dave Jones - Fix CAN-2005-2973 (ipv6 infinite loop) +- Disable ACPI burst again, it's still problematic. * Sun Oct 16 2005 Dave Jones [2.6.13-1.1531_FC4] - Stop IDE claiming legacy ports before libata in combined mode. From fedora-cvs-commits at redhat.com Wed Oct 19 23:23:20 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 19:23:20 -0400 Subject: rpms/kernel/FC-4 kernel-2.6.spec,1.1478,1.1479 Message-ID: <200510192323.j9JNNKgq010375@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv10304 Modified Files: kernel-2.6.spec Log Message: bump Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/kernel-2.6.spec,v retrieving revision 1.1478 retrieving revision 1.1479 diff -u -r1.1478 -r1.1479 --- kernel-2.6.spec 19 Oct 2005 23:22:32 -0000 1.1478 +++ kernel-2.6.spec 19 Oct 2005 23:23:14 -0000 1.1479 @@ -1256,7 +1256,7 @@ %endif %changelog -* Wed Oct 19 2005 Dave Jones +* Wed Oct 19 2005 Dave Jones [2.6.13-1.1532_FC4] - Fix CAN-2005-2973 (ipv6 infinite loop) - Disable ACPI burst again, it's still problematic. From fedora-cvs-commits at redhat.com Wed Oct 19 23:36:56 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 19:36:56 -0400 Subject: rpms/kernel/FC-3 linux-2.6-CAN-2005-2973.patch, NONE, 1.1 linux-2.6-CAN-2005-3179.patch, NONE, 1.1 linux-2.6-CAN-2005-3180.patch, NONE, 1.1 linux-2.6-CAN-2005-3181.patch, NONE, 1.1 kernel-2.6.spec, 1.891, 1.892 linux-2.6-orinoco-infoleak.patch, 1.1, NONE Message-ID: <200510192336.j9JNaui9013208@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-3 In directory cvs.devel.redhat.com:/tmp/cvs-serv13172 Modified Files: kernel-2.6.spec Added Files: linux-2.6-CAN-2005-2973.patch linux-2.6-CAN-2005-3179.patch linux-2.6-CAN-2005-3180.patch linux-2.6-CAN-2005-3181.patch Removed Files: linux-2.6-orinoco-infoleak.patch Log Message: - CAN-2005-2973 (ipv6 infinite loop) - CAN-2005-3179 (world writable drm sysfs file) - CAN-2005-3180 (orinoco driver information leakage) - CAN-2005-3181 (names_cache memory leak) linux-2.6-CAN-2005-2973.patch: udp.c | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) --- NEW FILE linux-2.6-CAN-2005-2973.patch --- --- linux-2.6.12/net/ipv6/udp.c~ 2005-10-19 18:48:39.000000000 -0400 +++ linux-2.6.12/net/ipv6/udp.c 2005-10-19 18:49:00.000000000 -0400 @@ -98,7 +98,7 @@ static int udp_v6_get_port(struct sock * next:; } result = best; - for(;; result += UDP_HTABLE_SIZE) { + for(i = 0; i < (1 << 16) / UDP_HTABLE_SIZE; i++, result += UDP_HTABLE_SIZE) { if (result > sysctl_local_port_range[1]) result = sysctl_local_port_range[0] + ((result - sysctl_local_port_range[0]) & @@ -106,6 +106,8 @@ static int udp_v6_get_port(struct sock * if (!udp_lport_inuse(result)) break; } + if (i >= (1 << 16) / UDP_HTABLE_SIZE) + goto fail; gotit: udp_port_rover = snum = result; } else { --- linux-2.6.12/net/ipv6/udp.c~ 2005-10-19 18:49:20.000000000 -0400 +++ linux-2.6.12/net/ipv6/udp.c 2005-10-19 18:50:44.000000000 -0400 @@ -844,10 +844,16 @@ do_append_data: else if (!corkreq) err = udp_v6_push_pending_frames(sk, up); - if (dst) - ip6_dst_store(sk, dst, - ipv6_addr_equal(&fl->fl6_dst, &np->daddr) ? - &np->daddr : NULL); + if (dst) { + if (connected) { + ip6_dst_store(sk, dst, + ipv6_addr_equal(&fl->fl6_dst, &np->daddr) ? + &np->daddr : NULL); + } else { + dst_release(dst); + } + } + if (err > 0) err = np->recverr ? net_xmit_errno(err) : 0; release_sock(sk); linux-2.6-CAN-2005-3179.patch: drm_stub.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) --- NEW FILE linux-2.6-CAN-2005-3179.patch --- --- linux-2.6.12/drivers/char/drm/drm_stub.c~ 2005-10-19 18:56:59.000000000 -0400 +++ linux-2.6.12/drivers/char/drm/drm_stub.c 2005-10-19 18:57:06.000000000 -0400 @@ -47,7 +47,7 @@ MODULE_PARM_DESC(cards_limit, "Maximum n MODULE_PARM_DESC(debug, "Enable debug output"); module_param_named(cards_limit, drm_cards_limit, int, 0444); -module_param_named(debug, drm_debug, int, 0666); +module_param_named(debug, drm_debug, int, 0600); drm_head_t **drm_heads; struct drm_sysfs_class *drm_class; linux-2.6-CAN-2005-3180.patch: orinoco.c | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) --- NEW FILE linux-2.6-CAN-2005-3180.patch --- --- linux-2.6.12/drivers/net/wireless/orinoco.c~ 2005-10-19 19:04:10.000000000 -0400 +++ linux-2.6.12/drivers/net/wireless/orinoco.c 2005-10-19 19:05:06.000000000 -0400 @@ -913,9 +913,14 @@ static int orinoco_xmit(struct sk_buff * return 0; } - /* Length of the packet body */ - /* FIXME: what if the skb is smaller than this? */ - len = max_t(int,skb->len - ETH_HLEN, ETH_ZLEN - ETH_HLEN); + /* Check packet length, pad short packets, round up odd length */ + len = max_t(int, ALIGN(skb->len, 2), ETH_ZLEN); + if (skb->len < len) { + skb = skb_padto(skb, len); + if (skb == NULL) + goto fail; + } + len -= ETH_HLEN; eh = (struct ethhdr *)skb->data; @@ -967,8 +972,7 @@ static int orinoco_xmit(struct sk_buff * p = skb->data; } - /* Round up for odd length packets */ - err = hermes_bap_pwrite(hw, USER_BAP, p, ALIGN(data_len, 2), + err = hermes_bap_pwrite(hw, USER_BAP, p, data_len, txfid, data_off); if (err) { printk(KERN_ERR "%s: Error %d writing packet to BAP\n", linux-2.6-CAN-2005-3181.patch: namei.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) --- NEW FILE linux-2.6-CAN-2005-3181.patch --- --- linux-2.6.12/fs/namei.c~ 2005-10-19 19:06:59.000000000 -0400 +++ linux-2.6.12/fs/namei.c 2005-10-19 19:07:27.000000000 -0400 @@ -1562,19 +1562,19 @@ do_link: if (nd->last_type != LAST_NORM) goto exit; if (nd->last.name[nd->last.len]) { - putname(nd->last.name); + __putname(nd->last.name); goto exit; } error = -ELOOP; if (count++==32) { - putname(nd->last.name); + __putname(nd->last.name); goto exit; } dir = nd->dentry; down(&dir->d_inode->i_sem); path.dentry = __lookup_hash(&nd->last, nd->dentry, nd); path.mnt = nd->mnt; - putname(nd->last.name); + __putname(nd->last.name); goto do_last; } Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-3/kernel-2.6.spec,v retrieving revision 1.891 retrieving revision 1.892 diff -u -r1.891 -r1.892 --- kernel-2.6.spec 6 Oct 2005 06:38:58 -0000 1.891 +++ kernel-2.6.spec 19 Oct 2005 23:36:52 -0000 1.892 @@ -334,7 +334,10 @@ Patch3000: linux-2.6-CAN-2005-2490.patch Patch3001: linux-2.6-CAN-2005-2492.patch -Patch3002: linux-2.6-orinoco-infoleak.patch +Patch3002: linux-2.6-CAN-2005-2973.patch +Patch3003: linux-2.6-CAN-2005-3179.patch +Patch3004: linux-2.6-CAN-2005-3180.patch +Patch3005: linux-2.6-CAN-2005-3181.patch # # External drivers that are about to get accepted upstream @@ -704,6 +707,9 @@ %patch3000 -p1 %patch3001 -p1 %patch3002 -p1 +%patch3003 -p1 +%patch3004 -p1 +%patch3005 -p1 # # External drivers that are about to get accepted upstream @@ -1018,7 +1024,13 @@ %endif %changelog -* Thu Oct 06 2005 Dav Jones +* Wed Oct 19 2005 Dave Jones +- CAN-2005-2973 (ipv6 infinite loop) +- CAN-2005-3179 (world writable drm sysfs file) +- CAN-2005-3180 (orinoco driver information leakage) +- CAN-2005-3181 (names_cache memory leak) + +* Thu Oct 06 2005 Dave Jones - Fix information leak in orinoco driver. * Sun Oct 02 2005 Dave Jones --- linux-2.6-orinoco-infoleak.patch DELETED --- From fedora-cvs-commits at redhat.com Wed Oct 19 23:38:14 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 19:38:14 -0400 Subject: rpms/kernel/FC-4 kernel-2.6.spec, 1.1479, 1.1480 linux-2.6-libata-intel-combined-quirk.patch, 1.2, 1.3 Message-ID: <200510192338.j9JNcEgd013404@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv13378 Modified Files: kernel-2.6.spec linux-2.6-libata-intel-combined-quirk.patch Log Message: Update to the final upstream variant of the IDE/SATA fix. Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/kernel-2.6.spec,v retrieving revision 1.1479 retrieving revision 1.1480 diff -u -r1.1479 -r1.1480 --- kernel-2.6.spec 19 Oct 2005 23:23:14 -0000 1.1479 +++ kernel-2.6.spec 19 Oct 2005 23:38:09 -0000 1.1480 @@ -1259,6 +1259,7 @@ * Wed Oct 19 2005 Dave Jones [2.6.13-1.1532_FC4] - Fix CAN-2005-2973 (ipv6 infinite loop) - Disable ACPI burst again, it's still problematic. +- Update to the final upstream variant of the IDE/SATA fix. * Sun Oct 16 2005 Dave Jones [2.6.13-1.1531_FC4] - Stop IDE claiming legacy ports before libata in combined mode. linux-2.6-libata-intel-combined-quirk.patch: pci/quirks.c | 4 ++-- scsi/Kconfig | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) Index: linux-2.6-libata-intel-combined-quirk.patch =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/linux-2.6-libata-intel-combined-quirk.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- linux-2.6-libata-intel-combined-quirk.patch 17 Oct 2005 04:57:34 -0000 1.2 +++ linux-2.6-libata-intel-combined-quirk.patch 19 Oct 2005 23:38:09 -0000 1.3 @@ -1,162 +1,60 @@ -The patch described in commit faa725332f39329288f52b7f872ffda866ba5b09 -> [PATCH] SCSI_SATA has to be a tristate - -causes the PCI quirk in drivers/pci/quirk.c (quirk_intel_ide_combined) -to disappear, unless CONFIG_SCSI_SATA==y. This, in turn, causes all -manner of booting and interaction problems between the IDE driver and -libata. - -CONFIG_SCSI_SATA is truly a boolean option, not a tristate. -Since the Kconfig dependencies are insufficient to describe this (2.4 -had dep_mbool), we need to resort to 'if'. - -This fix is twofold: -1) Fix IDE/libata conflict by ensuring that CONFIG_SCSI_SATA symbol - always exists (rather than bothering with CONFIG_SCSI_SATA_MODULE). -2) Restore CONFIG_SCSI_SATA's rightful boolean status, and employ - 'if' to obtain the proper menu behavior. - -Please apply, so that people cursed with PATA/SATA "combined mode" -can have a working configuration again. - - +tree 338784dc40e0a3ec5f96f5a76c267846ad2f5e8d +parent 47d6b08334a43fafa61a587f721fa21ef65d81be +author Jeff Garzik Mon, 17 Oct 2005 21:01:57 -0400 +committer Linus Torvalds Tue, 18 Oct 2005 05:01:53 -0700 + +[PATCH] Fix and clean up quirk_intel_ide_combined() configuration + +This change makes quirk_intel_ide_combined() dependent on the precise +conditions under which it is needed: + +* IDE is built in +* IDE SATA option is not set +* ata_piix or ahci drivers are enabled + +This fixes an issue where some modular configurations would not cause +the quirk to be enabled. + +Signed-off-by: Jeff Garzik +Signed-off-by: Linus torvalds + + drivers/pci/quirks.c | 4 ++-- + drivers/scsi/Kconfig | 5 +++++ + 2 files changed, 7 insertions(+), 2 deletions(-) + +diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c +--- a/drivers/pci/quirks.c ++++ b/drivers/pci/quirks.c +@@ -1233,7 +1233,7 @@ static void __init quirk_alder_ioapic(st + DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_EESSC, quirk_alder_ioapic ); + #endif + +-#ifdef CONFIG_SCSI_SATA ++#ifdef CONFIG_SCSI_SATA_INTEL_COMBINED + static void __devinit quirk_intel_ide_combined(struct pci_dev *pdev) + { + u8 prog, comb, tmp; +@@ -1310,7 +1310,7 @@ static void __devinit quirk_intel_ide_co + request_region(0x170, 8, "libata"); /* port 1 */ + } + DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, PCI_ANY_ID, quirk_intel_ide_combined ); +-#endif /* CONFIG_SCSI_SATA */ ++#endif /* CONFIG_SCSI_SATA_INTEL_COMBINED */ + + + int pcie_mch_quirk; diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig -@@ -437,7 +437,7 @@ config SCSI_IN2000 - source "drivers/scsi/megaraid/Kconfig.megaraid" - - config SCSI_SATA -- tristate "Serial ATA (SATA) support" -+ bool "Serial ATA (SATA) support" - depends on SCSI - help - This driver family supports Serial ATA host controllers -@@ -445,9 +445,11 @@ config SCSI_SATA - - If unsure, say N. - -+if SCSI_SATA -+ - config SCSI_SATA_AHCI - tristate "AHCI SATA support" -- depends on SCSI_SATA && PCI -+ depends on SCSI && PCI - help - This option enables support for AHCI Serial ATA. - -@@ -455,7 +457,7 @@ config SCSI_SATA_AHCI - - config SCSI_SATA_SVW - tristate "ServerWorks Frodo / Apple K2 SATA support" -- depends on SCSI_SATA && PCI -+ depends on SCSI && PCI - help - This option enables support for Broadcom/Serverworks/Apple K2 - SATA support. -@@ -464,7 +466,7 @@ config SCSI_SATA_SVW - - config SCSI_ATA_PIIX - tristate "Intel PIIX/ICH SATA support" -- depends on SCSI_SATA && PCI -+ depends on SCSI && PCI - help - This option enables support for ICH5 Serial ATA. - If PATA support was enabled previously, this enables -@@ -474,7 +476,7 @@ config SCSI_ATA_PIIX - - config SCSI_SATA_MV - tristate "Marvell SATA support" -- depends on SCSI_SATA && PCI && EXPERIMENTAL -+ depends on SCSI && PCI && EXPERIMENTAL - help - This option enables support for the Marvell Serial ATA family. - Currently supports 88SX[56]0[48][01] chips. -@@ -483,7 +485,7 @@ config SCSI_SATA_MV - - config SCSI_SATA_NV - tristate "NVIDIA SATA support" -- depends on SCSI_SATA && PCI && EXPERIMENTAL -+ depends on SCSI && PCI && EXPERIMENTAL - help - This option enables support for NVIDIA Serial ATA. - -@@ -491,7 +493,7 @@ config SCSI_SATA_NV - - config SCSI_SATA_PROMISE - tristate "Promise SATA TX2/TX4 support" -- depends on SCSI_SATA && PCI -+ depends on SCSI && PCI - help - This option enables support for Promise Serial ATA TX2/TX4. - -@@ -499,7 +501,7 @@ config SCSI_SATA_PROMISE - - config SCSI_SATA_QSTOR - tristate "Pacific Digital SATA QStor support" -- depends on SCSI_SATA && PCI -+ depends on SCSI && PCI - help - This option enables support for Pacific Digital Serial ATA QStor. - -@@ -507,7 +509,7 @@ config SCSI_SATA_QSTOR - - config SCSI_SATA_SX4 - tristate "Promise SATA SX4 support" -- depends on SCSI_SATA && PCI && EXPERIMENTAL -+ depends on SCSI && PCI && EXPERIMENTAL - help - This option enables support for Promise Serial ATA SX4. - -@@ -515,7 +517,7 @@ config SCSI_SATA_SX4 - - config SCSI_SATA_SIL - tristate "Silicon Image SATA support" -- depends on SCSI_SATA && PCI && EXPERIMENTAL -+ depends on SCSI && PCI && EXPERIMENTAL - help - This option enables support for Silicon Image Serial ATA. - -@@ -523,7 +525,7 @@ config SCSI_SATA_SIL - - config SCSI_SATA_SIS - tristate "SiS 964/180 SATA support" -- depends on SCSI_SATA && PCI && EXPERIMENTAL -+ depends on SCSI && PCI && EXPERIMENTAL - help - This option enables support for SiS Serial ATA 964/180. - -@@ -531,7 +533,7 @@ config SCSI_SATA_SIS - - config SCSI_SATA_ULI - tristate "ULi Electronics SATA support" -- depends on SCSI_SATA && PCI && EXPERIMENTAL -+ depends on SCSI && PCI && EXPERIMENTAL - help - This option enables support for ULi Electronics SATA. - -@@ -539,7 +541,7 @@ config SCSI_SATA_ULI - - config SCSI_SATA_VIA - tristate "VIA SATA support" -- depends on SCSI_SATA && PCI -+ depends on SCSI && PCI - help - This option enables support for VIA Serial ATA. - -@@ -547,12 +549,14 @@ config SCSI_SATA_VIA - - config SCSI_SATA_VITESSE - tristate "VITESSE VSC-7174 SATA support" -- depends on SCSI_SATA && PCI -+ depends on SCSI && PCI - help - This option enables support for Vitesse VSC7174 Serial ATA. +@@ -553,6 +553,11 @@ config SCSI_SATA_VITESSE If unsure, say N. -+endif # if SCSI_SATA ++config SCSI_SATA_INTEL_COMBINED ++ bool ++ depends on IDE=y && !BLK_DEV_IDE_SATA && (SCSI_SATA_AHCI || SCSI_ATA_PIIX) ++ default y + config SCSI_BUSLOGIC tristate "BusLogic SCSI support" From fedora-cvs-commits at redhat.com Wed Oct 19 23:42:05 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 19:42:05 -0400 Subject: rpms/kernel/FC-3 linux-2.6-libata-intel-combined-quirk.patch, NONE, 1.1 kernel-2.6.spec, 1.892, 1.893 Message-ID: <200510192342.j9JNg5Yw013978@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-3 In directory cvs.devel.redhat.com:/tmp/cvs-serv13955 Modified Files: kernel-2.6.spec Added Files: linux-2.6-libata-intel-combined-quirk.patch Log Message: Stop IDE claiming SATA ports in combined mode. linux-2.6-libata-intel-combined-quirk.patch: pci/quirks.c | 4 ++-- scsi/Kconfig | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) --- NEW FILE linux-2.6-libata-intel-combined-quirk.patch --- tree 338784dc40e0a3ec5f96f5a76c267846ad2f5e8d parent 47d6b08334a43fafa61a587f721fa21ef65d81be author Jeff Garzik Mon, 17 Oct 2005 21:01:57 -0400 committer Linus Torvalds Tue, 18 Oct 2005 05:01:53 -0700 [PATCH] Fix and clean up quirk_intel_ide_combined() configuration This change makes quirk_intel_ide_combined() dependent on the precise conditions under which it is needed: * IDE is built in * IDE SATA option is not set * ata_piix or ahci drivers are enabled This fixes an issue where some modular configurations would not cause the quirk to be enabled. Signed-off-by: Jeff Garzik Signed-off-by: Linus torvalds drivers/pci/quirks.c | 4 ++-- drivers/scsi/Kconfig | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -1233,7 +1233,7 @@ static void __init quirk_alder_ioapic(st DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_EESSC, quirk_alder_ioapic ); #endif -#ifdef CONFIG_SCSI_SATA +#ifdef CONFIG_SCSI_SATA_INTEL_COMBINED static void __devinit quirk_intel_ide_combined(struct pci_dev *pdev) { u8 prog, comb, tmp; @@ -1310,7 +1310,7 @@ static void __devinit quirk_intel_ide_co request_region(0x170, 8, "libata"); /* port 1 */ } DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, PCI_ANY_ID, quirk_intel_ide_combined ); -#endif /* CONFIG_SCSI_SATA */ +#endif /* CONFIG_SCSI_SATA_INTEL_COMBINED */ int pcie_mch_quirk; diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig @@ -553,6 +553,11 @@ config SCSI_SATA_VITESSE If unsure, say N. +config SCSI_SATA_INTEL_COMBINED + bool + depends on IDE=y && !BLK_DEV_IDE_SATA && (SCSI_SATA_AHCI || SCSI_ATA_PIIX) + default y + config SCSI_BUSLOGIC tristate "BusLogic SCSI support" depends on (PCI || ISA || MCA) && SCSI && ISA_DMA_API Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-3/kernel-2.6.spec,v retrieving revision 1.892 retrieving revision 1.893 diff -u -r1.892 -r1.893 --- kernel-2.6.spec 19 Oct 2005 23:36:52 -0000 1.892 +++ kernel-2.6.spec 19 Oct 2005 23:42:01 -0000 1.893 @@ -318,6 +318,7 @@ Patch1628: linux-2.6-pwc-powerup-by-default.patch Patch1629: linux-2.6-md-stacked-drivers.patch Patch1630: linux-2.6-ibmcam-v4noblue.patch +Patch1631: linux-2.6-libata-intel-combined-quirk.patch Patch2000: linux-2.6.11-vm-taint.patch Patch2001: linux-2.6.9-vm-oomkiller-debugging.patch @@ -672,6 +673,8 @@ %patch1629 -p1 # Fix no blue/fuzzy video on ibmcam (#148832) %patch1630 -p1 +# Fix up the SATA vs IDE issue. +%patch1631 -p1 # @@ -1029,6 +1032,7 @@ - CAN-2005-3179 (world writable drm sysfs file) - CAN-2005-3180 (orinoco driver information leakage) - CAN-2005-3181 (names_cache memory leak) +- Stop IDE claiming SATA ports in combined mode. * Thu Oct 06 2005 Dave Jones - Fix information leak in orinoco driver. From fedora-cvs-commits at redhat.com Wed Oct 19 23:43:01 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 19:43:01 -0400 Subject: rpms/kernel/FC-3 kernel-2.6.spec,1.893,1.894 Message-ID: <200510192343.j9JNh142014109@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-3 In directory cvs.devel.redhat.com:/tmp/cvs-serv14085 Modified Files: kernel-2.6.spec Log Message: bump Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-3/kernel-2.6.spec,v retrieving revision 1.893 retrieving revision 1.894 diff -u -r1.893 -r1.894 --- kernel-2.6.spec 19 Oct 2005 23:42:01 -0000 1.893 +++ kernel-2.6.spec 19 Oct 2005 23:42:57 -0000 1.894 @@ -1027,7 +1027,7 @@ %endif %changelog -* Wed Oct 19 2005 Dave Jones +* Wed Oct 19 2005 Dave Jones [2.6.12-1.1380_FC3] - CAN-2005-2973 (ipv6 infinite loop) - CAN-2005-3179 (world writable drm sysfs file) - CAN-2005-3180 (orinoco driver information leakage) From fedora-cvs-commits at redhat.com Thu Oct 20 00:26:49 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 20:26:49 -0400 Subject: rpms/kernel/FC-3 linux-2.6-CAN-2005-2973.patch,1.1,1.2 Message-ID: <200510200026.j9K0QntA032047@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-3 In directory cvs.devel.redhat.com:/tmp/cvs-serv31975 Modified Files: linux-2.6-CAN-2005-2973.patch Log Message: bogus hunk linux-2.6-CAN-2005-2973.patch: udp.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6-CAN-2005-2973.patch =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-3/linux-2.6-CAN-2005-2973.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- linux-2.6-CAN-2005-2973.patch 19 Oct 2005 23:36:52 -0000 1.1 +++ linux-2.6-CAN-2005-2973.patch 20 Oct 2005 00:26:44 -0000 1.2 @@ -18,26 +18,3 @@ gotit: udp_port_rover = snum = result; } else { ---- linux-2.6.12/net/ipv6/udp.c~ 2005-10-19 18:49:20.000000000 -0400 -+++ linux-2.6.12/net/ipv6/udp.c 2005-10-19 18:50:44.000000000 -0400 -@@ -844,10 +844,16 @@ do_append_data: - else if (!corkreq) - err = udp_v6_push_pending_frames(sk, up); - -- if (dst) -- ip6_dst_store(sk, dst, -- ipv6_addr_equal(&fl->fl6_dst, &np->daddr) ? -- &np->daddr : NULL); -+ if (dst) { -+ if (connected) { -+ ip6_dst_store(sk, dst, -+ ipv6_addr_equal(&fl->fl6_dst, &np->daddr) ? -+ &np->daddr : NULL); -+ } else { -+ dst_release(dst); -+ } -+ } -+ - if (err > 0) - err = np->recverr ? net_xmit_errno(err) : 0; - release_sock(sk); From fedora-cvs-commits at redhat.com Thu Oct 20 00:27:14 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 20:27:14 -0400 Subject: rpms/kernel/FC-4 linux-2.6-CAN-2005-2973.patch,1.1,1.2 Message-ID: <200510200027.j9K0REF1000422@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv32496 Modified Files: linux-2.6-CAN-2005-2973.patch Log Message: bogon begone linux-2.6-CAN-2005-2973.patch: udp.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6-CAN-2005-2973.patch =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/linux-2.6-CAN-2005-2973.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- linux-2.6-CAN-2005-2973.patch 19 Oct 2005 23:11:30 -0000 1.1 +++ linux-2.6-CAN-2005-2973.patch 20 Oct 2005 00:27:11 -0000 1.2 @@ -18,26 +18,4 @@ gotit: udp_port_rover = snum = result; } else { ---- linux-2.6.12/net/ipv6/udp.c~ 2005-10-19 18:49:20.000000000 -0400 -+++ linux-2.6.12/net/ipv6/udp.c 2005-10-19 18:50:44.000000000 -0400 -@@ -844,10 +844,16 @@ do_append_data: - else if (!corkreq) - err = udp_v6_push_pending_frames(sk, up); - -- if (dst) -- ip6_dst_store(sk, dst, -- ipv6_addr_equal(&fl->fl6_dst, &np->daddr) ? -- &np->daddr : NULL); -+ if (dst) { -+ if (connected) { -+ ip6_dst_store(sk, dst, -+ ipv6_addr_equal(&fl->fl6_dst, &np->daddr) ? -+ &np->daddr : NULL); -+ } else { -+ dst_release(dst); -+ } -+ } -+ - if (err > 0) - err = np->recverr ? net_xmit_errno(err) : 0; - release_sock(sk); + From fedora-cvs-commits at redhat.com Thu Oct 20 03:17:08 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Wed, 19 Oct 2005 23:17:08 -0400 Subject: rpms/quagga/devel quagga-0.98.5-pie.patch, 1.1, 1.2 quagga.spec, 1.25, 1.26 Message-ID: <200510200317.j9K3H8ul016761@cvs.devel.redhat.com> Author: fenlason Update of /cvs/dist/rpms/quagga/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv16569 Modified Files: quagga-0.98.5-pie.patch quagga.spec Log Message: Upgrade -pie patch to work on x86_64 (I hope) quagga-0.98.5-pie.patch: makefiles.diff | 258 ++++++++++++++++++++++++++++++++++++++++++++++++ quagga-0.98.5/ltmain.sh | 4 2 files changed, 260 insertions(+), 2 deletions(-) Index: quagga-0.98.5-pie.patch =================================================================== RCS file: /cvs/dist/rpms/quagga/devel/quagga-0.98.5-pie.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- quagga-0.98.5-pie.patch 19 Oct 2005 03:35:45 -0000 1.1 +++ quagga-0.98.5-pie.patch 20 Oct 2005 03:17:04 -0000 1.2 @@ -18,11 +18,22 @@ else command="$base_compile $srcfile $pic_flag" fi ---- quagga-0.98.5/makefiles.diff.pie 2005-10-18 23:07:44.000000000 -0400 -+++ quagga-0.98.5/makefiles.diff 2005-10-18 23:05:17.000000000 -0400 -@@ -0,0 +1,131 @@ -+--- quagga-0.98.5/bgpd/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 -++++ quagga-0.98.5/bgpd/Makefile 2005-10-18 22:43:31.000000000 -0400 +--- quagga-0.98.5/makefiles.diff 2005-10-19 23:09:23.000000000 -0400 ++++ quagga-0.98.5.sav/makefiles.diff 2005-10-19 23:08:33.000000000 -0400 +@@ -0,0 +1,306 @@ ++--- quagga-0.98.5/Makefile 2005-10-19 22:57:47.000000000 -0400 +++++ quagga-0.98.5.sav/Makefile 2005-10-19 22:41:06.000000000 -0400 ++@@ -112,7 +112,7 @@ ++ ISISD = ++ KERNEL_METHOD = ++ LD = /usr/bin/ld -m elf_x86_64 ++-LDFLAGS = +++LDFLAGS = -pie ++ LIBCAP = -lcap ++ LIBOBJS = ++ LIBPAM = -lpam -lpam_misc ++--- quagga-0.98.5/bgpd/Makefile 2005-10-19 23:05:37.000000000 -0400 +++++ quagga-0.98.5.sav/bgpd/Makefile 2005-10-19 23:07:12.000000000 -0400 +@@ -86,7 +86,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles @@ -32,8 +43,28 @@ + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) -+--- quagga-0.98.5/isisd/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 -++++ quagga-0.98.5/isisd/Makefile 2005-10-18 22:43:38.000000000 -0400 ++@@ -145,7 +145,7 @@ ++ ISISD = ++ KERNEL_METHOD = ++ LD = /usr/bin/ld -m elf_x86_64 ++-LDFLAGS = +++LDFLAGS = -pie ++ LIBCAP = -lcap ++ LIBOBJS = ++ LIBPAM = -lpam -lpam_misc ++--- quagga-0.98.5/doc/Makefile 2005-10-19 23:05:37.000000000 -0400 +++++ quagga-0.98.5.sav/doc/Makefile 2005-10-19 23:07:30.000000000 -0400 ++@@ -109,7 +109,7 @@ ++ ISISD = ++ KERNEL_METHOD = ++ LD = /usr/bin/ld -m elf_x86_64 ++-LDFLAGS = +++LDFLAGS = -pie ++ LIBCAP = -lcap ++ LIBOBJS = ++ LIBPAM = -lpam -lpam_misc ++--- quagga-0.98.5/isisd/Makefile 2005-10-19 23:05:37.000000000 -0400 +++++ quagga-0.98.5.sav/isisd/Makefile 2005-10-19 23:07:33.000000000 -0400 +@@ -84,7 +84,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles @@ -43,8 +74,17 @@ + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) -+--- quagga-0.98.5/lib/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 -++++ quagga-0.98.5/lib/Makefile 2005-10-18 22:43:43.000000000 -0400 ++@@ -145,7 +145,7 @@ ++ ISISD = ++ KERNEL_METHOD = ++ LD = /usr/bin/ld -m elf_x86_64 ++-LDFLAGS = +++LDFLAGS = -pie ++ LIBCAP = -lcap ++ LIBOBJS = ++ LIBPAM = -lpam -lpam_misc ++--- quagga-0.98.5/lib/Makefile 2005-10-19 23:05:37.000000000 -0400 +++++ quagga-0.98.5.sav/lib/Makefile 2005-10-19 23:07:37.000000000 -0400 +@@ -70,7 +70,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles @@ -54,8 +94,28 @@ + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) -+--- quagga-0.98.5/ospf6d/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 -++++ quagga-0.98.5/ospf6d/Makefile 2005-10-18 22:43:49.000000000 -0400 ++@@ -122,7 +122,7 @@ ++ ISISD = ++ KERNEL_METHOD = ++ LD = /usr/bin/ld -m elf_x86_64 ++-LDFLAGS = +++LDFLAGS = -pie ++ LIBCAP = -lcap ++ LIBOBJS = ++ LIBPAM = -lpam -lpam_misc ++--- quagga-0.98.5/m4/Makefile 2005-10-19 23:05:37.000000000 -0400 +++++ quagga-0.98.5.sav/m4/Makefile 2005-10-19 23:07:40.000000000 -0400 ++@@ -88,7 +88,7 @@ ++ ISISD = ++ KERNEL_METHOD = ++ LD = /usr/bin/ld -m elf_x86_64 ++-LDFLAGS = +++LDFLAGS = -pie ++ LIBCAP = -lcap ++ LIBOBJS = ++ LIBPAM = -lpam -lpam_misc ++--- quagga-0.98.5/ospf6d/Makefile 2005-10-19 23:05:37.000000000 -0400 +++++ quagga-0.98.5.sav/ospf6d/Makefile 2005-10-19 23:07:42.000000000 -0400 +@@ -84,7 +84,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles @@ -65,8 +125,17 @@ + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) -+--- quagga-0.98.5/ospfclient/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 -++++ quagga-0.98.5/ospfclient/Makefile 2005-10-18 22:43:54.000000000 -0400 ++@@ -143,7 +143,7 @@ ++ ISISD = ++ KERNEL_METHOD = ++ LD = /usr/bin/ld -m elf_x86_64 ++-LDFLAGS = +++LDFLAGS = -pie ++ LIBCAP = -lcap ++ LIBOBJS = ++ LIBPAM = -lpam -lpam_misc ++--- quagga-0.98.5/ospfclient/Makefile 2005-10-19 23:05:37.000000000 -0400 +++++ quagga-0.98.5.sav/ospfclient/Makefile 2005-10-19 23:07:44.000000000 -0400 +@@ -75,7 +75,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles @@ -76,8 +145,17 @@ + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) -+--- quagga-0.98.5/ospfd/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 -++++ quagga-0.98.5/ospfd/Makefile 2005-10-18 22:43:58.000000000 -0400 ++@@ -127,7 +127,7 @@ ++ ISISD = ++ KERNEL_METHOD = ++ LD = /usr/bin/ld -m elf_x86_64 ++-LDFLAGS = +++LDFLAGS = -pie ++ LIBCAP = -lcap ++ LIBOBJS = ++ LIBPAM = -lpam -lpam_misc ++--- quagga-0.98.5/ospfd/Makefile 2005-10-19 23:05:37.000000000 -0400 +++++ quagga-0.98.5.sav/ospfd/Makefile 2005-10-19 23:07:46.000000000 -0400 +@@ -82,7 +82,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles @@ -87,8 +165,39 @@ + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) -+--- quagga-0.98.5/ripd/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 -++++ quagga-0.98.5/ripd/Makefile 2005-10-18 22:44:05.000000000 -0400 ++@@ -136,7 +136,7 @@ ++ ISISD = ++ KERNEL_METHOD = ++ LD = /usr/bin/ld -m elf_x86_64 ++-LDFLAGS = +++LDFLAGS = -pie ++ LIBCAP = -lcap ++ LIBOBJS = ++ LIBPAM = -lpam -lpam_misc ++--- quagga-0.98.5/pkgsrc/Makefile 2005-10-19 23:05:37.000000000 -0400 +++++ quagga-0.98.5.sav/pkgsrc/Makefile 2005-10-19 23:07:48.000000000 -0400 ++@@ -96,7 +96,7 @@ ++ ISISD = ++ KERNEL_METHOD = ++ LD = /usr/bin/ld -m elf_x86_64 ++-LDFLAGS = +++LDFLAGS = -pie ++ LIBCAP = -lcap ++ LIBOBJS = ++ LIBPAM = -lpam -lpam_misc ++--- quagga-0.98.5/redhat/Makefile 2005-10-19 23:05:37.000000000 -0400 +++++ quagga-0.98.5.sav/redhat/Makefile 2005-10-19 23:07:52.000000000 -0400 ++@@ -89,7 +89,7 @@ ++ ISISD = ++ KERNEL_METHOD = ++ LD = /usr/bin/ld -m elf_x86_64 ++-LDFLAGS = +++LDFLAGS = -pie ++ LIBCAP = -lcap ++ LIBOBJS = ++ LIBPAM = -lpam -lpam_misc ++--- quagga-0.98.5/ripd/Makefile 2005-10-19 23:05:37.000000000 -0400 +++++ quagga-0.98.5.sav/ripd/Makefile 2005-10-19 23:07:54.000000000 -0400 +@@ -74,7 +74,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles @@ -98,8 +207,17 @@ + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) -+--- quagga-0.98.5/ripngd/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 -++++ quagga-0.98.5/ripngd/Makefile 2005-10-18 22:44:09.000000000 -0400 ++@@ -133,7 +133,7 @@ ++ ISISD = ++ KERNEL_METHOD = ++ LD = /usr/bin/ld -m elf_x86_64 ++-LDFLAGS = +++LDFLAGS = -pie ++ LIBCAP = -lcap ++ LIBOBJS = ++ LIBPAM = -lpam -lpam_misc ++--- quagga-0.98.5/ripngd/Makefile 2005-10-19 23:05:37.000000000 -0400 +++++ quagga-0.98.5.sav/ripngd/Makefile 2005-10-19 23:07:56.000000000 -0400 +@@ -78,7 +78,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles @@ -109,8 +227,28 @@ + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) -+--- quagga-0.98.5/tests/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 -++++ quagga-0.98.5/tests/Makefile 2005-10-18 22:44:24.000000000 -0400 ++@@ -137,7 +137,7 @@ ++ ISISD = ++ KERNEL_METHOD = ++ LD = /usr/bin/ld -m elf_x86_64 ++-LDFLAGS = +++LDFLAGS = -pie ++ LIBCAP = -lcap ++ LIBOBJS = ++ LIBPAM = -lpam -lpam_misc ++--- quagga-0.98.5/solaris/Makefile 2005-10-19 23:05:38.000000000 -0400 +++++ quagga-0.98.5.sav/solaris/Makefile 2005-10-19 23:07:58.000000000 -0400 ++@@ -91,7 +91,7 @@ ++ ISISD = ++ KERNEL_METHOD = ++ LD = /usr/bin/ld -m elf_x86_64 ++-LDFLAGS = +++LDFLAGS = -pie ++ LIBCAP = -lcap ++ LIBOBJS = ++ LIBPAM = -lpam -lpam_misc ++--- quagga-0.98.5/tests/Makefile 2005-10-19 23:05:37.000000000 -0400 +++++ quagga-0.98.5.sav/tests/Makefile 2005-10-19 23:08:00.000000000 -0400 +@@ -57,7 +57,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles @@ -120,8 +258,17 @@ + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) -+--- quagga-0.98.5/vtysh/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 -++++ quagga-0.98.5/vtysh/Makefile 2005-10-18 22:44:31.000000000 -0400 ++@@ -107,7 +107,7 @@ ++ ISISD = ++ KERNEL_METHOD = ++ LD = /usr/bin/ld -m elf_x86_64 ++-LDFLAGS = +++LDFLAGS = -pie ++ LIBCAP = -lcap ++ LIBOBJS = ++ LIBPAM = -lpam -lpam_misc ++--- quagga-0.98.5/vtysh/Makefile 2005-10-19 23:05:37.000000000 -0400 +++++ quagga-0.98.5.sav/vtysh/Makefile 2005-10-19 23:08:03.000000000 -0400 +@@ -65,7 +65,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles @@ -131,8 +278,17 @@ + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) -+--- quagga-0.98.5/watchquagga/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 -++++ quagga-0.98.5/watchquagga/Makefile 2005-10-18 22:44:36.000000000 -0400 ++@@ -124,7 +124,7 @@ ++ ISISD = ++ KERNEL_METHOD = ++ LD = /usr/bin/ld -m elf_x86_64 ++-LDFLAGS = +++LDFLAGS = -pie ++ LIBCAP = -lcap ++ LIBOBJS = ++ LIBPAM = -lpam -lpam_misc ++--- quagga-0.98.5/watchquagga/Makefile 2005-10-19 23:05:37.000000000 -0400 +++++ quagga-0.98.5.sav/watchquagga/Makefile 2005-10-19 23:08:05.000000000 -0400 +@@ -59,7 +59,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles @@ -142,8 +298,17 @@ + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) -+--- quagga-0.98.5/zebra/Makefile.pie 2005-10-18 22:43:11.000000000 -0400 -++++ quagga-0.98.5/zebra/Makefile 2005-10-18 22:44:40.000000000 -0400 ++@@ -109,7 +109,7 @@ ++ ISISD = ++ KERNEL_METHOD = ++ LD = /usr/bin/ld -m elf_x86_64 ++-LDFLAGS = +++LDFLAGS = -pie ++ LIBCAP = -lcap ++ LIBOBJS = ++ LIBPAM = -lpam -lpam_misc ++--- quagga-0.98.5/zebra/Makefile 2005-10-19 23:05:37.000000000 -0400 +++++ quagga-0.98.5.sav/zebra/Makefile 2005-10-19 23:08:07.000000000 -0400 +@@ -71,7 +71,7 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles @@ -152,3 +317,13 @@ ++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE + LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ ++ $(AM_CFLAGS) $(CFLAGS) ++@@ -130,7 +130,7 @@ ++ ISISD = ++ KERNEL_METHOD = ++ LD = /usr/bin/ld -m elf_x86_64 ++-LDFLAGS = +++LDFLAGS = -pie ++ LIBCAP = -lcap ++ LIBOBJS = ++ LIBPAM = -lpam -lpam_misc Index: quagga.spec =================================================================== RCS file: /cvs/dist/rpms/quagga/devel/quagga.spec,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- quagga.spec 19 Oct 2005 03:35:45 -0000 1.25 +++ quagga.spec 20 Oct 2005 03:17:04 -0000 1.26 @@ -108,7 +108,6 @@ #./autogen.sh export CFLAGS="$RPM_OPT_FLAGS $CPPFLAGS" export CXXFLAGS="$RPM_OPT_FLAGS $CPPFLAGS" -export LDFLAGS="-pie" %configure \ %if %with_ipv6 @@ -345,7 +344,7 @@ %endif %changelog -* Mon Oct 17 2005 Jay Fenlason 0.98.5-3 +* Wed Oct 19 2005 Jay Fenlason 0.98.5-3 - add the -pie patch, to make -fPIE compiling actually work on all platforms. - Include -pam patch to close bz#170256 ? pam_stack is deprecated From fedora-cvs-commits at redhat.com Thu Oct 20 04:03:03 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 00:03:03 -0400 Subject: rpms/redhat-artwork/devel redhat-artwork-0.129-remove-throbber.patch, NONE, 1.1 redhat-artwork.spec, 1.102, 1.103 Message-ID: <200510200403.j9K433Wt002257@cvs.devel.redhat.com> Author: rstrode Update of /cvs/dist/rpms/redhat-artwork/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv2220 Modified Files: redhat-artwork.spec Added Files: redhat-artwork-0.129-remove-throbber.patch Log Message: - some of the throbber patch got upstreamed apparently, patch it out redhat-artwork-0.129-remove-throbber.patch: Bluecurve.xml | 4 +++- Bluecurve.xml.in | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) --- NEW FILE redhat-artwork-0.129-remove-throbber.patch --- --- redhat-artwork-0.129/art/gdm/Bluecurve/Bluecurve.xml.remove-throbber 2005-10-19 23:55:10.000000000 -0400 +++ redhat-artwork-0.129/art/gdm/Bluecurve/Bluecurve.xml 2005-10-19 23:59:12.000000000 -0400 @@ -302,6 +302,7 @@ + @@ -468,4 +470,4 @@ - \ No newline at end of file + --- redhat-artwork-0.129/art/gdm/Bluecurve/Bluecurve.xml.in.remove-throbber 2005-10-19 23:55:22.000000000 -0400 +++ redhat-artwork-0.129/art/gdm/Bluecurve/Bluecurve.xml.in 2005-10-19 23:59:34.000000000 -0400 @@ -194,6 +194,7 @@ + Index: redhat-artwork.spec =================================================================== RCS file: /cvs/dist/rpms/redhat-artwork/devel/redhat-artwork.spec,v retrieving revision 1.102 retrieving revision 1.103 diff -u -r1.102 -r1.103 --- redhat-artwork.spec 17 Oct 2005 15:19:55 -0000 1.102 +++ redhat-artwork.spec 20 Oct 2005 04:02:48 -0000 1.103 @@ -4,7 +4,7 @@ Summary: Artwork for Red Hat default look-and-feel Name: redhat-artwork Version: 0.129 -Release: 2 +Release: 3 URL: http://www.redhat.com Source0: %{name}-%{version}.tar.gz Source1: post-install-fixup.sh @@ -15,6 +15,7 @@ Patch0: redhat-artwork-0.121-clearlooks.patch Patch2: redhat-artwork-0.122-padding-fix.patch patch3: redhat-artwork-0.124-throbbers.patch +Patch4: redhat-artwork-0.129-remove-throbber.patch Group: User Interface/Desktops License: GPL BuildRoot: %{_tmppath}/%{name}-root @@ -53,6 +54,7 @@ %patch0 -p1 -b .clearlooks %patch2 -p1 -b .padding-fix #%patch3 -p1 -b .throbber +%patch4 -p1 -b .remove-throbber mkdir post-install (cd post-install; tar xzvf %{SOURCE2}) @@ -155,6 +157,10 @@ %config /root/.gtkrc %changelog +* Thu Oct 20 2005 Ray Strode 0.129-3 +- some of the throbber patch got upstreamed apparently, + patch it out + * Mon Oct 17 2005 Ray Strode 0.129-2 - remove throbber patch for now From fedora-cvs-commits at redhat.com Thu Oct 20 04:06:21 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 00:06:21 -0400 Subject: rpms/gdm/devel gdm.spec,1.99,1.100 Message-ID: <200510200406.j9K46LrO002515@cvs.devel.redhat.com> Author: rstrode Update of /cvs/dist/rpms/gdm/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv2461 Modified Files: gdm.spec Log Message: - redhat-artwork was busted, require new version Index: gdm.spec =================================================================== RCS file: /cvs/dist/rpms/gdm/devel/gdm.spec,v retrieving revision 1.99 retrieving revision 1.100 diff -u -r1.99 -r1.100 --- gdm.spec 18 Oct 2005 17:05:35 -0000 1.99 +++ gdm.spec 20 Oct 2005 04:06:13 -0000 1.100 @@ -15,7 +15,7 @@ Summary: The GNOME Display Manager. Name: gdm Version: 2.8.0.4 -Release: 7 +Release: 8 Epoch: 1 License: LGPL/GPL Group: User Interface/X @@ -59,7 +59,7 @@ Requires: xinitrc >= 0:3.33-1 Requires: xsri >= 1:2.0.2 Requires: /sbin/nologin -Requires: redhat-artwork >= 0:0.129-2 +Requires: redhat-artwork >= 0:0.129-3 Requires: /usr/share/desktop-menu-patches/gnome-gdmsetup.desktop BuildRequires: scrollkeeper >= 0:%{scrollkeeper_version} BuildRequires: pango-devel >= 0:%{pango_version} @@ -270,6 +270,9 @@ %attr(1770, root, gdm) %dir %{_localstatedir}/gdm %changelog +* Thu Oct 20 2005 Ray Strode 1:2.8.0.4-8 +- redhat-artwork was busted, require new version + * Tue Oct 18 2005 Ray Strode 1:2.8.0.4-7 - zero-initialize message buffer, bug fixed by Josh Parson (jbparsons at usdavis.edu) (bug 160603) From fedora-cvs-commits at redhat.com Thu Oct 20 04:14:41 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 00:14:41 -0400 Subject: rpms/gnome-panel/devel gnome-panel.spec, 1.86, 1.87 redhat-panel-default-setup.entries, 1.11, 1.12 Message-ID: <200510200414.j9K4EfVw003206@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/gnome-panel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv3095 Modified Files: gnome-panel.spec redhat-panel-default-setup.entries Log Message: add trash applet Index: gnome-panel.spec =================================================================== RCS file: /cvs/dist/rpms/gnome-panel/devel/gnome-panel.spec,v retrieving revision 1.86 retrieving revision 1.87 diff -u -r1.86 -r1.87 --- gnome-panel.spec 17 Oct 2005 15:32:21 -0000 1.86 +++ gnome-panel.spec 20 Oct 2005 04:14:35 -0000 1.87 @@ -16,7 +16,7 @@ Summary: GNOME panel Name: gnome-panel Version: 2.12.1 -Release: 2 +Release: 3 URL: http://www.gnome.org Source0: ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/gnome-panel/%{name}-%{version}.tar.bz2 Source1: redhat-panel-default-setup.entries @@ -191,6 +191,9 @@ %{_datadir}/gtk-doc %changelog +* Thu Oct 20 2005 Matthias Clasen 2.12.1-3 +- Add trash applet to the default setup + * Mon Oct 17 2005 Matthias Clasen 2.12.1-2 - Change the "Cancel" button on the "add to" dialog to "Close" Index: redhat-panel-default-setup.entries =================================================================== RCS file: /cvs/dist/rpms/gnome-panel/devel/redhat-panel-default-setup.entries,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- redhat-panel-default-setup.entries 30 Sep 2005 11:19:07 -0000 1.11 +++ redhat-panel-default-setup.entries 20 Oct 2005 04:14:35 -0000 1.12 @@ -73,6 +73,9 @@ workspace_switcher + + trash_applet + @@ -830,6 +833,60 @@ applets/workspace_switcher/launcher_location/schemas/apps/panel/objects/launcher_location applets/workspace_switcher/action_type/schemas/apps/panel/objects/action_type + + + + applets/trash_applet/object_type + /schemas/apps/panel/objects/object_type + + bonobo-applet + + + + applets/trash_applet/toplevel_id + /schemas/apps/panel/objects/toplevel_id + + bottom_panel + + + + applets/trash_applet/position + /schemas/apps/panel/objects/position + + 0 + + + + applets/trash_applet/panel_right_stick + /schemas/apps/panel/objects/panel_right_stick + + true + + + + applets/trash_applet/locked + /schemas/apps/panel/objects/locked + + true + + + + applets/trash_applet/bonobo_iid + /schemas/apps/panel/objects/bonobo_iid + + OAFIID:GNOME_Panel_TrashApplet + + + + applets/trash_applet/attached_toplevel_id/schemas/apps/panel/objects/attached_toplevel_id + applets/trash_applet/tooltip/schemas/apps/panel/objects/tooltip + applets/trash_applet/use_custom_icon/schemas/apps/panel/objects/use_custom_icon + applets/trash_applet/custom_icon/schemas/apps/panel/objects/custom_icon + applets/trash_applet/use_menu_path/schemas/apps/panel/objects/use_menu_path + applets/trash_applet/menu_path/schemas/apps/panel/objects/menu_path + applets/trash_applet/launcher_location/schemas/apps/panel/objects/launcher_location + applets/trash_applet/action_type/schemas/apps/panel/objects/action_type + From fedora-cvs-commits at redhat.com Thu Oct 20 05:19:34 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 01:19:34 -0400 Subject: rpms/NetworkManager/devel .cvsignore, 1.24, 1.25 NetworkManager.spec, 1.70, 1.71 sources, 1.39, 1.40 Message-ID: <200510200519.j9K5JYrc025395@cvs.devel.redhat.com> Author: caillon Update of /cvs/dist/rpms/NetworkManager/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv25344 Modified Files: .cvsignore NetworkManager.spec sources Log Message: * Wed Oct 20 2005 Christopher Aillon - 0.5.1-2 - NetworkManager 0.5.1 Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/NetworkManager/devel/.cvsignore,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- .cvsignore 18 Oct 2005 03:58:02 -0000 1.24 +++ .cvsignore 20 Oct 2005 05:19:30 -0000 1.25 @@ -3,3 +3,4 @@ NetworkManager-0.4.1.cvs20051009.tar.gz NetworkManager-0.4.1.cvs20051010.tar.gz NetworkManager-0.5.0.tar.gz +NetworkManager-0.5.1.tar.gz Index: NetworkManager.spec =================================================================== RCS file: /cvs/dist/rpms/NetworkManager/devel/NetworkManager.spec,v retrieving revision 1.70 retrieving revision 1.71 diff -u -r1.70 -r1.71 --- NetworkManager.spec 18 Oct 2005 03:58:02 -0000 1.70 +++ NetworkManager.spec 20 Oct 2005 05:19:30 -0000 1.71 @@ -12,7 +12,7 @@ Name: NetworkManager Summary: Network connection manager and user applications -Version: 0.5.0 +Version: 0.5.1 Release: 2%{?nm_cvs_version} Group: System Environment/Base License: GPL @@ -21,7 +21,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root PreReq: chkconfig -Requires: wireless-tools >= 27 +Requires: wireless-tools >= 28.0-pre9 Requires: dbus >= %{dbus_version} Requires: dbus-glib >= %{dbus_version} Requires: hal >= %{hal_version} @@ -29,11 +29,11 @@ Requires: bind caching-nameserver Requires: dhcdbd Requires: dhclient >= 3.0.2-12 -Requires: bind >= 9.3.1-18 +Requires: bind >= 9.3.1-20 BuildRequires: dbus-devel >= %{dbus_version} BuildRequires: hal-devel >= %{hal_version} -BuildRequires: wireless-tools >= 28 +BuildRequires: wireless-tools >= 28-0.pre9 BuildRequires: glib2-devel gtk2-devel BuildRequires: libglade2-devel BuildRequires: openssl-devel @@ -43,7 +43,6 @@ BuildRequires: gnome-keyring-devel BuildRequires: gettext-devel BuildRequires: pkgconfig -BuildRequires: automake17 BuildRequires: dhcdbd %description @@ -97,9 +96,6 @@ %prep %setup -q -chmod +ox initscript/RedHat/NetworkManagerDispatcher -automake-1.7 - %build %configure --with-named=/usr/sbin/named --with-named-dir=/var/named/data --with-named-user=named make @@ -157,7 +153,6 @@ %config %{_sysconfdir}/dbus-1/system.d/%{name}.conf %config %{_sysconfdir}/rc.d/init.d/%{name} %config %{_sysconfdir}/rc.d/init.d/%{name}Dispatcher -%config %{_datadir}/%{name}/named.conf %{_bindir}/%{name} %{_bindir}/NetworkManagerDispatcher %{_bindir}/nm-tool @@ -186,6 +181,9 @@ %changelog +* Wed Oct 20 2005 Christopher Aillon - 0.5.1-2 +- NetworkManager 0.5.1 + * Mon Oct 17 2005 Christopher Aillon - 0.5.0-2 - NetworkManager 0.5.0 Index: sources =================================================================== RCS file: /cvs/dist/rpms/NetworkManager/devel/sources,v retrieving revision 1.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- sources 18 Oct 2005 03:58:02 -0000 1.39 +++ sources 20 Oct 2005 05:19:30 -0000 1.40 @@ -1 +1 @@ -c91c6e19069992c5ea3599e891874e5d NetworkManager-0.5.0.tar.gz +9b5876e2a5b9e5e65279c37cf9253d26 NetworkManager-0.5.1.tar.gz From fedora-cvs-commits at redhat.com Thu Oct 20 06:28:18 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 02:28:18 -0400 Subject: rpms/man-pages-ja/devel .cvsignore, 1.29, 1.30 man-pages-ja.spec, 1.34, 1.35 rh-man-pages-ja.pl, 1.8, 1.9 sources, 1.28, 1.29 man-pages-ja-20050215-shmget.patch, 1.2, NONE Message-ID: <200510200628.j9K6SINj018379@cvs.devel.redhat.com> Author: tagoh Update of /cvs/dist/rpms/man-pages-ja/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv18354 Modified Files: .cvsignore man-pages-ja.spec rh-man-pages-ja.pl sources Removed Files: man-pages-ja-20050215-shmget.patch Log Message: * Thu Oct 20 2005 Akira TAGOH - 20051015-1 - updates to 20051015. - man-pages-ja-20050215-shmget.patch: no longer needed. merged into upstream. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/man-pages-ja/devel/.cvsignore,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- .cvsignore 28 Sep 2005 11:49:02 -0000 1.29 +++ .cvsignore 20 Oct 2005 06:28:14 -0000 1.30 @@ -16,3 +16,4 @@ man-pages-ja-20050715.tar.gz man-pages-ja-20050815.tar.gz man-pages-ja-20050915.tar.gz +man-pages-ja-20051015.tar.gz Index: man-pages-ja.spec =================================================================== RCS file: /cvs/dist/rpms/man-pages-ja/devel/man-pages-ja.spec,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- man-pages-ja.spec 30 Sep 2005 11:08:30 -0000 1.34 +++ man-pages-ja.spec 20 Oct 2005 06:28:14 -0000 1.35 @@ -1,10 +1,10 @@ -%define manver 20050915 +%define manver 20051015 %define use_utf8 1 Summary: Japanese man (manual) pages from the Japanese Manual Project Name: man-pages-ja Version: %{manver} -Release: 2 +Release: 1 License: Distributable Group: Documentation BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -17,7 +17,6 @@ Patch1: %{name}-20011115-fixpipe.patch Patch2: %{name}-20030415-utf8.patch Patch3: %{name}-20031215-crontab-0days.patch -Patch4: man-pages-ja-20050215-shmget.patch %description Japanese Manual pages, translated by JM-Project (Japanese Manual Project). @@ -30,7 +29,6 @@ %patch2 -p1 -b .utf8 %endif %patch3 -p1 -b .0days -%patch4 -p1 -b .shmget %build perl %{SOURCE1} $RPM_BUILD_ROOT | make @@ -41,11 +39,9 @@ sh ./installman.sh rm -f $RPM_BUILD_ROOT%{_mandir}/ja/man1/{chage.1,gpasswd.1,sg.1,apropos.1,man.1,whatis.1,newgrp.1}* -rm -f $RPM_BUILD_ROOT%{_mandir}/ja/man5/{faillog.5,shadow.5}* +rm -f $RPM_BUILD_ROOT%{_mandir}/ja/man5/{faillog.5,shadow.5,login.defs.5}* rm -f $RPM_BUILD_ROOT%{_mandir}/ja/man8/{adduser.8,chpasswd.8,faillog.8,groupadd.8,groupdel.8,groupmod.8,grpck.8,grpconv.8,grpunconv.8,lastlog.8,newusers.8,pwck.8,pwconv.8,pwunconv.8,useradd.8,userdel.8,usermod.8,rpm2cpio.8}* rm -f $RPM_BUILD_ROOT%{_mandir}/ja/man8/{rpmgraph,rpmcache,rpmbuild,rpm}.8* -# Part of shadow-utils: -rm -f $RPM_BUILD_ROOT%{_mandir}/ja/man5/login.defs.5* # fix su(1) man page. if [ -f $RPM_BUILD_DIR/%{name}-%{version}/manual/GNU_sh-utils/man1/su.1 ]; then @@ -99,6 +95,10 @@ %changelog +* Thu Oct 20 2005 Akira TAGOH - 20051015-1 +- updates to 20051015. +- man-pages-ja-20050215-shmget.patch: no longer needed. merged into upstream. + * Fri Sep 30 2005 Florian La Roche - remove man-page now part of shadow-utils Index: rh-man-pages-ja.pl =================================================================== RCS file: /cvs/dist/rpms/man-pages-ja/devel/rh-man-pages-ja.pl,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- rh-man-pages-ja.pl 28 Sep 2005 11:49:02 -0000 1.8 +++ rh-man-pages-ja.pl 20 Oct 2005 06:28:14 -0000 1.9 @@ -20,7 +20,7 @@ } print "C\n"; -for($i=0; $i<=49; $i++) { +for($i=0; $i<=55; $i++) { print "0\n"; } print "C\n"; Index: sources =================================================================== RCS file: /cvs/dist/rpms/man-pages-ja/devel/sources,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- sources 28 Sep 2005 11:49:02 -0000 1.28 +++ sources 20 Oct 2005 06:28:14 -0000 1.29 @@ -1 +1 @@ -1cdf51c72787f307acb50ce16bd298b6 man-pages-ja-20050915.tar.gz +fbc4c3bf09038ff0765596103fd37062 man-pages-ja-20051015.tar.gz --- man-pages-ja-20050215-shmget.patch DELETED --- From fedora-cvs-commits at redhat.com Thu Oct 20 07:01:52 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 03:01:52 -0400 Subject: rpms/ethereal/devel .cvsignore, 1.26, 1.27 ethereal.spec, 1.51, 1.52 sources, 1.28, 1.29 Message-ID: <200510200701.j9K71qX0028676@cvs.devel.redhat.com> Author: rvokal Update of /cvs/dist/rpms/ethereal/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv28600 Modified Files: .cvsignore ethereal.spec sources Log Message: - upgrade to 0.10.13 - CAN-2005-3241 Multiple ethereal issues fixed (#171063) Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/ethereal/devel/.cvsignore,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- .cvsignore 21 Sep 2005 14:05:47 -0000 1.26 +++ .cvsignore 20 Oct 2005 07:01:15 -0000 1.27 @@ -1 +1 @@ -ethereal-0.10.12-SVN-15895.tar.gz +ethereal-0.10.13.tar.gz Index: ethereal.spec =================================================================== RCS file: /cvs/dist/rpms/ethereal/devel/ethereal.spec,v retrieving revision 1.51 retrieving revision 1.52 diff -u -r1.51 -r1.52 --- ethereal.spec 30 Sep 2005 15:10:44 -0000 1.51 +++ ethereal.spec 20 Oct 2005 07:01:15 -0000 1.52 @@ -2,11 +2,11 @@ Summary: Network traffic analyzer Name: ethereal -Version: 0.10.12 -Release: 9 +Version: 0.10.13 +Release: 1 License: GPL Group: Applications/Internet -Source0: http://www.ethereal.com/distribution/%{name}-%{version}-SVN-15895.tar.gz +Source0: http://www.ethereal.com/distribution/%{name}-%{version}.tar.gz Source1: ethereal.pam Source2: ethereal.console Source3: ethereal.desktop @@ -50,7 +50,7 @@ %prep -%setup -q -n %{name}-%{version}-SVN-15895 +%setup -q -n %{name}-%{version} %patch1 -p1 -b .ia64 #%patch2 -p1 -b .htmlview %patch4 -p1 -b .pie @@ -80,7 +80,7 @@ --with-pic \ --with-ssl \ --with-plugindir=%{_libdir}/%{name}/plugins/%{version} -make %{?_smp_mflags} +time make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT @@ -164,6 +164,10 @@ %changelog +* Thu Oct 20 2005 Radek Vokal 0.10.13-1 +- upgrade to 0.10.13 +- CAN-2005-3241 Multiple ethereal issues fixed (#171063) + * Fri Sep 30 2005 Radek Vokal 0.10.12-9 - use include instead of pam_stack in pam config Index: sources =================================================================== RCS file: /cvs/dist/rpms/ethereal/devel/sources,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- sources 21 Sep 2005 14:05:47 -0000 1.28 +++ sources 20 Oct 2005 07:01:15 -0000 1.29 @@ -1 +1 @@ -bd35c112f92197f126a58320a43351fa ethereal-0.10.12-SVN-15895.tar.gz +cae316aea6bb7113382adb3526fab899 ethereal-0.10.13.tar.gz From fedora-cvs-commits at redhat.com Thu Oct 20 07:46:21 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 03:46:21 -0400 Subject: rpms/glibc/devel .cvsignore, 1.117, 1.118 glibc-fedora.patch, 1.106, 1.107 glibc.spec, 1.178, 1.179 sources, 1.139, 1.140 Message-ID: <200510200746.j9K7kLhq030286@cvs.devel.redhat.com> Author: jakub Update of /cvs/dist/rpms/glibc/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30198/devel Modified Files: .cvsignore glibc-fedora.patch glibc.spec sources Log Message: auto-import glibc-2.3.90-15 on branch devel from glibc-2.3.90-15.src.rpm Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/glibc/devel/.cvsignore,v retrieving revision 1.117 retrieving revision 1.118 diff -u -r1.117 -r1.118 --- .cvsignore 10 Oct 2005 15:26:58 -0000 1.117 +++ .cvsignore 20 Oct 2005 07:46:13 -0000 1.118 @@ -1,2 +1,2 @@ -glibc-20051010T1417.tar.bz2 -glibc-fedora-20051010T1417.tar.bz2 +glibc-20051020T0651.tar.bz2 +glibc-fedora-20051020T0651.tar.bz2 glibc-fedora.patch: ChangeLog | 34 ++ ChangeLog.11 | 21 + ChangeLog.12 | 12 ChangeLog.15 | 45 +++ csu/elf-init.c | 18 + debug/tst-chk1.c | 7 elf/ldconfig.c | 25 + elf/tst-stackguard1.c | 8 iconv/iconvconfig.c | 55 ++- include/features.h | 8 intl/locale.alias | 2 libio/bits/stdio2.h | 19 + libio/stdio.h | 2 locale/iso-4217.def | 13 locale/programs/3level.h | 36 ++ localedata/Makefile | 1 localedata/SUPPORTED | 6 localedata/locales/cy_GB | 7 localedata/locales/en_GB | 4 localedata/locales/no_NO | 69 ++++ localedata/locales/zh_TW | 6 nptl/ChangeLog | 19 + nptl/Makefile | 8 nptl/sysdeps/unix/sysv/linux/kernel-features.h | 6 nptl/tst-stackguard1.c | 8 nscd/connections.c | 15 + nscd/nscd.c | 4 nscd/nscd.conf | 4 nscd/nscd.init | 19 - nscd/selinux.c | 2 posix/Makefile | 19 - posix/getconf.speclist.h | 15 + sysdeps/generic/dl-cache.h | 8 sysdeps/ia64/Makefile | 4 sysdeps/ia64/ia64libgcc.S | 350 ------------------------- sysdeps/ia64/libgcc-compat.c | 84 ++++++ sysdeps/unix/nice.c | 7 sysdeps/unix/sysv/linux/dl-osinfo.h | 29 ++ sysdeps/unix/sysv/linux/i386/dl-cache.h | 59 ++++ sysdeps/unix/sysv/linux/ia64/dl-cache.h | 27 + sysdeps/unix/sysv/linux/ia64/dl-procinfo.c | 5 sysdeps/unix/sysv/linux/ia64/dl-procinfo.h | 5 sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed | 2 sysdeps/unix/sysv/linux/paths.h | 2 sysdeps/unix/sysv/linux/tcsetattr.c | 32 ++ 45 files changed, 695 insertions(+), 436 deletions(-) Index: glibc-fedora.patch =================================================================== RCS file: /cvs/dist/rpms/glibc/devel/glibc-fedora.patch,v retrieving revision 1.106 retrieving revision 1.107 diff -u -r1.106 -r1.107 --- glibc-fedora.patch 10 Oct 2005 15:26:58 -0000 1.106 +++ glibc-fedora.patch 20 Oct 2005 07:46:13 -0000 1.107 @@ -1,6 +1,6 @@ ---- glibc-20051010T1417/ChangeLog 10 Oct 2005 13:56:58 -0000 1.9589 -+++ glibc-20051010T1417-fedora/ChangeLog 10 Oct 2005 14:51:44 -0000 1.8782.2.129 -@@ -41,6 +41,11 @@ +--- glibc-20051020T0651/ChangeLog 20 Oct 2005 05:25:40 -0000 1.9638 ++++ glibc-20051020T0651-fedora/ChangeLog 20 Oct 2005 06:59:49 -0000 1.8782.2.130 +@@ -390,6 +390,11 @@ R_ARM_TLS_TPOFF32, R_ARM_TLS_GD32, R_ARM_TLS_LDM32, R_ARM_TLS_LDO32, R_ARM_TLS_IE32, R_ARM_TLS_LE32): New macros. @@ -12,7 +12,7 @@ 2005-10-03 Roland McGrath * sysdeps/powerpc/nofpu: Directory removed, saved in ports repository. -@@ -1035,6 +1040,12 @@ +@@ -1384,6 +1389,12 @@ * argp/argp-help.c (__argp_error): __asprintf -> vasprintf. (__argp_failure): Likewise. @@ -25,7 +25,7 @@ 2005-08-08 Ulrich Drepper * nscd/cache.c (cache_add): Commit hash table and header to disk. -@@ -1157,6 +1168,17 @@ +@@ -1508,6 +1519,17 @@ __syslog_chk. * misc/Versions: Export __syslog_chk and __vsyslog_chk. @@ -43,7 +43,7 @@ 2005-07-28 Thomas Schwinge [BZ #1137] -@@ -4208,6 +4230,18 @@ +@@ -4568,6 +4590,18 @@ * scripts/soversions.awk: Fix default version set handling. @@ -62,8 +62,8 @@ 2005-02-10 Roland McGrath [BZ #157] ---- glibc-20051010T1417/ChangeLog.11 10 Nov 2000 03:31:36 -0000 1.1 -+++ glibc-20051010T1417-fedora/ChangeLog.11 22 Sep 2004 21:20:47 -0000 1.1.4.1 +--- glibc-20051020T0651/ChangeLog.11 10 Nov 2000 03:31:36 -0000 1.1 ++++ glibc-20051020T0651-fedora/ChangeLog.11 22 Sep 2004 21:20:47 -0000 1.1.4.1 @@ -1352,6 +1352,11 @@ * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the end of inline assembler code. @@ -113,8 +113,8 @@ * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add __extension__ to hexadecimal floating constant notation. * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): ---- glibc-20051010T1417/ChangeLog.12 16 Aug 2001 05:24:54 -0000 1.1 -+++ glibc-20051010T1417-fedora/ChangeLog.12 22 Sep 2004 21:20:47 -0000 1.1.4.1 +--- glibc-20051020T0651/ChangeLog.12 16 Aug 2001 05:24:54 -0000 1.1 ++++ glibc-20051020T0651-fedora/ChangeLog.12 22 Sep 2004 21:20:47 -0000 1.1.4.1 @@ -7729,6 +7729,13 @@ * Versions.def [ld]: Add GLIBC_2.2.1. @@ -141,8 +141,8 @@ 2001-01-02 Franz Sirl * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo. ---- glibc-20051010T1417/ChangeLog.15 16 Feb 2005 07:34:17 -0000 1.1 -+++ glibc-20051010T1417-fedora/ChangeLog.15 3 Mar 2005 17:29:57 -0000 1.1.6.2 +--- glibc-20051020T0651/ChangeLog.15 16 Feb 2005 07:34:17 -0000 1.1 ++++ glibc-20051020T0651-fedora/ChangeLog.15 3 Mar 2005 17:29:57 -0000 1.1.6.2 @@ -477,6 +477,14 @@ 2004-11-26 Jakub Jelinek @@ -223,8 +223,8 @@ 2004-08-30 Roland McGrath * scripts/extract-abilist.awk: If `lastversion' variable defined, omit ---- glibc-20051010T1417/csu/elf-init.c 7 Jul 2005 22:56:11 -0000 1.7 -+++ glibc-20051010T1417-fedora/csu/elf-init.c 8 Jul 2005 09:09:45 -0000 1.3.2.4 +--- glibc-20051020T0651/csu/elf-init.c 7 Jul 2005 22:56:11 -0000 1.7 ++++ glibc-20051020T0651-fedora/csu/elf-init.c 8 Jul 2005 09:09:45 -0000 1.3.2.4 @@ -48,6 +48,24 @@ extern void (*__init_array_end []) (int, attribute_hidden; extern void (*__fini_array_start []) (void) attribute_hidden; @@ -250,8 +250,8 @@ #endif /* These function symbols are provided for the .init/.fini section entry ---- glibc-20051010T1417/debug/tst-chk1.c 22 Aug 2005 15:12:34 -0000 1.14 -+++ glibc-20051010T1417-fedora/debug/tst-chk1.c 24 Aug 2005 07:23:26 -0000 1.1.2.15 +--- glibc-20051020T0651/debug/tst-chk1.c 22 Aug 2005 15:12:34 -0000 1.14 ++++ glibc-20051020T0651-fedora/debug/tst-chk1.c 24 Aug 2005 07:23:26 -0000 1.1.2.15 @@ -17,6 +17,9 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ @@ -280,8 +280,8 @@ # define O 0 #else # define O 1 ---- glibc-20051010T1417/elf/ldconfig.c 7 Apr 2005 20:56:56 -0000 1.49 -+++ glibc-20051010T1417-fedora/elf/ldconfig.c 15 Apr 2005 09:32:44 -0000 1.47.2.3 +--- glibc-20051020T0651/elf/ldconfig.c 7 Apr 2005 20:56:56 -0000 1.49 ++++ glibc-20051020T0651-fedora/elf/ldconfig.c 15 Apr 2005 09:32:44 -0000 1.47.2.3 @@ -953,17 +953,19 @@ search_dirs (void) @@ -363,8 +363,8 @@ } search_dirs (); ---- glibc-20051010T1417/elf/tst-stackguard1.c 26 Jun 2005 18:08:36 -0000 1.1 -+++ glibc-20051010T1417-fedora/elf/tst-stackguard1.c 8 Aug 2005 21:24:27 -0000 1.1.2.3 +--- glibc-20051020T0651/elf/tst-stackguard1.c 26 Jun 2005 18:08:36 -0000 1.1 ++++ glibc-20051020T0651-fedora/elf/tst-stackguard1.c 8 Aug 2005 21:24:27 -0000 1.1.2.3 @@ -160,17 +160,21 @@ do_test (void) the 16 runs, something is very wrong. */ int ndifferences = 0; @@ -389,8 +389,8 @@ { puts ("stack guard canaries are not randomized enough"); puts ("nor equal to the default canary value"); ---- glibc-20051010T1417/iconv/iconvconfig.c 3 Mar 2005 08:28:02 -0000 1.23 -+++ glibc-20051010T1417-fedora/iconv/iconvconfig.c 3 Mar 2005 14:03:15 -0000 1.19.2.4 +--- glibc-20051020T0651/iconv/iconvconfig.c 3 Mar 2005 08:28:02 -0000 1.23 ++++ glibc-20051020T0651-fedora/iconv/iconvconfig.c 3 Mar 2005 14:03:15 -0000 1.19.2.4 @@ -1013,6 +1013,34 @@ next_prime (uint32_t seed) module name offset (following last entry with step count 0) @@ -467,9 +467,9 @@ /* Open the output file. */ if (output_file == NULL) { ---- glibc-20051010T1417/include/features.h 8 Oct 2005 06:27:44 -0000 1.39 -+++ glibc-20051010T1417-fedora/include/features.h 10 Oct 2005 14:51:46 -0000 1.35.2.9 -@@ -263,7 +263,13 @@ +--- glibc-20051020T0651/include/features.h 14 Oct 2005 22:04:45 -0000 1.41 ++++ glibc-20051020T0651-fedora/include/features.h 20 Oct 2005 06:59:51 -0000 1.35.2.10 +@@ -265,7 +265,13 @@ #endif #if defined _FORTIFY_SOURCE && _FORTIFY_SOURCE > 0 \ @@ -484,8 +484,8 @@ # if _FORTIFY_SOURCE > 1 # define __USE_FORTIFY_LEVEL 2 # else ---- glibc-20051010T1417/intl/locale.alias 4 Dec 2003 07:57:47 -0000 1.23 -+++ glibc-20051010T1417-fedora/intl/locale.alias 22 Sep 2004 21:20:53 -0000 1.23.2.1 +--- glibc-20051020T0651/intl/locale.alias 4 Dec 2003 07:57:47 -0000 1.23 ++++ glibc-20051020T0651-fedora/intl/locale.alias 22 Sep 2004 21:20:53 -0000 1.23.2.1 @@ -58,8 +58,6 @@ korean ko_KR.eucKR korean.euc ko_KR.eucKR ko_KR ko_KR.eucKR @@ -495,8 +495,8 @@ norwegian nb_NO.ISO-8859-1 nynorsk nn_NO.ISO-8859-1 polish pl_PL.ISO-8859-2 ---- glibc-20051010T1417/libio/stdio.h 1 Sep 2005 15:14:59 -0000 1.82 -+++ glibc-20051010T1417-fedora/libio/stdio.h 12 Sep 2005 07:10:33 -0000 1.78.2.5 +--- glibc-20051020T0651/libio/stdio.h 1 Sep 2005 15:14:59 -0000 1.82 ++++ glibc-20051020T0651-fedora/libio/stdio.h 12 Sep 2005 07:10:33 -0000 1.78.2.5 @@ -142,10 +142,12 @@ typedef _G_fpos64_t fpos64_t; extern struct _IO_FILE *stdin; /* Standard input stream. */ extern struct _IO_FILE *stdout; /* Standard output stream. */ @@ -510,8 +510,8 @@ __BEGIN_NAMESPACE_STD /* Remove file FILENAME. */ ---- glibc-20051010T1417/libio/bits/stdio2.h 19 Mar 2005 00:14:58 -0000 1.4 -+++ glibc-20051010T1417-fedora/libio/bits/stdio2.h 27 Jun 2005 13:04:16 -0000 1.1.2.6 +--- glibc-20051020T0651/libio/bits/stdio2.h 19 Mar 2005 00:14:58 -0000 1.4 ++++ glibc-20051020T0651-fedora/libio/bits/stdio2.h 27 Jun 2005 13:04:16 -0000 1.1.2.6 @@ -61,14 +61,25 @@ extern int __vfprintf_chk (FILE *__restr extern int __vprintf_chk (int __flag, __const char *__restrict __format, _G_va_list __ap); @@ -542,8 +542,8 @@ #endif ---- glibc-20051010T1417/locale/iso-4217.def 23 Sep 2005 19:07:54 -0000 1.18 -+++ glibc-20051010T1417-fedora/locale/iso-4217.def 3 Oct 2005 20:44:15 -0000 1.15.2.3 +--- glibc-20051020T0651/locale/iso-4217.def 23 Sep 2005 19:07:54 -0000 1.18 ++++ glibc-20051020T0651-fedora/locale/iso-4217.def 3 Oct 2005 20:44:15 -0000 1.15.2.3 @@ -8,6 +8,7 @@ * * !!! The list has to be sorted !!! @@ -635,8 +635,8 @@ DEFINE_INT_CURR("PYG") /* Paraguay Guarani */ DEFINE_INT_CURR("QAR") /* Qatar Rial */ DEFINE_INT_CURR("ROL") /* Romanian Leu */ ---- glibc-20051010T1417/locale/programs/3level.h 13 Jun 2003 20:45:38 -0000 1.5 -+++ glibc-20051010T1417-fedora/locale/programs/3level.h 22 Sep 2004 21:20:58 -0000 1.5.2.1 +--- glibc-20051020T0651/locale/programs/3level.h 13 Jun 2003 20:45:38 -0000 1.5 ++++ glibc-20051020T0651-fedora/locale/programs/3level.h 22 Sep 2004 21:20:58 -0000 1.5.2.1 @@ -204,6 +204,42 @@ CONCAT(TABLE,_iterate) (struct TABLE *t, } } @@ -680,8 +680,8 @@ #endif #ifndef NO_FINALIZE ---- glibc-20051010T1417/localedata/Makefile 25 Sep 2005 17:01:12 -0000 1.102 -+++ glibc-20051010T1417-fedora/localedata/Makefile 3 Oct 2005 20:44:15 -0000 1.101.2.2 +--- glibc-20051020T0651/localedata/Makefile 25 Sep 2005 17:01:12 -0000 1.102 ++++ glibc-20051020T0651-fedora/localedata/Makefile 3 Oct 2005 20:44:15 -0000 1.101.2.2 @@ -222,6 +222,7 @@ $(INSTALL-SUPPORTED-LOCALES): install-lo echo -n '...'; \ input=`echo $$locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'`; \ @@ -690,8 +690,8 @@ -i locales/$$input -c -f charmaps/$$charset \ $(addprefix --prefix=,$(install_root)) $$locale; \ echo ' done'; \ ---- glibc-20051010T1417/localedata/SUPPORTED 25 Sep 2005 17:11:48 -0000 1.80 -+++ glibc-20051010T1417-fedora/localedata/SUPPORTED 3 Oct 2005 20:44:15 -0000 1.71.2.6 +--- glibc-20051020T0651/localedata/SUPPORTED 15 Oct 2005 04:30:28 -0000 1.86 ++++ glibc-20051020T0651-fedora/localedata/SUPPORTED 20 Oct 2005 06:59:51 -0000 1.71.2.7 @@ -69,6 +69,7 @@ cy_GB.UTF-8/UTF-8 \ cy_GB/ISO-8859-14 \ da_DK.UTF-8/UTF-8 \ @@ -700,7 +700,7 @@ de_AT.UTF-8/UTF-8 \ de_AT/ISO-8859-1 \ de_AT at euro/ISO-8859-15 \ -@@ -95,6 +96,7 @@ en_DK.UTF-8/UTF-8 \ +@@ -96,6 +97,7 @@ en_DK.UTF-8/UTF-8 \ en_DK/ISO-8859-1 \ en_GB.UTF-8/UTF-8 \ en_GB/ISO-8859-1 \ @@ -708,7 +708,7 @@ en_HK.UTF-8/UTF-8 \ en_HK/ISO-8859-1 \ en_IE.UTF-8/UTF-8 \ -@@ -109,6 +111,7 @@ en_SG.UTF-8/UTF-8 \ +@@ -110,6 +112,7 @@ en_SG.UTF-8/UTF-8 \ en_SG/ISO-8859-1 \ en_US.UTF-8/UTF-8 \ en_US/ISO-8859-1 \ @@ -716,16 +716,16 @@ en_ZA.UTF-8/UTF-8 \ en_ZA/ISO-8859-1 \ en_ZW.UTF-8/UTF-8 \ -@@ -260,6 +263,8 @@ nl_NL/ISO-8859-1 \ +@@ -263,6 +266,8 @@ nl_NL/ISO-8859-1 \ nl_NL at euro/ISO-8859-15 \ nn_NO.UTF-8/UTF-8 \ nn_NO/ISO-8859-1 \ +no_NO.UTF-8/UTF-8 \ +no_NO/ISO-8859-1 \ + nso_ZA/UTF-8 \ oc_FR.UTF-8/UTF-8 \ oc_FR/ISO-8859-1 \ - om_ET/UTF-8 \ -@@ -304,6 +309,7 @@ sv_FI/ISO-8859-1 \ +@@ -311,6 +316,7 @@ sv_FI/ISO-8859-1 \ sv_FI at euro/ISO-8859-15 \ sv_SE.UTF-8/UTF-8 \ sv_SE/ISO-8859-1 \ @@ -733,8 +733,8 @@ ta_IN/UTF-8 \ te_IN/UTF-8 \ tg_TJ.UTF-8/UTF-8 \ ---- glibc-20051010T1417/localedata/locales/cy_GB 28 Sep 2004 04:37:33 -0000 1.4 -+++ glibc-20051010T1417-fedora/localedata/locales/cy_GB 29 Sep 2004 08:48:23 -0000 1.3.2.2 +--- glibc-20051020T0651/localedata/locales/cy_GB 28 Sep 2004 04:37:33 -0000 1.4 ++++ glibc-20051020T0651-fedora/localedata/locales/cy_GB 29 Sep 2004 08:48:23 -0000 1.3.2.2 @@ -248,8 +248,11 @@ mon "" d_fmt "" @@ -749,8 +749,8 @@ END LC_TIME LC_MESSAGES ---- glibc-20051010T1417/localedata/locales/en_GB 31 Oct 2004 23:42:26 -0000 1.12 -+++ glibc-20051010T1417-fedora/localedata/locales/en_GB 2 Nov 2004 12:25:47 -0000 1.10.2.2 +--- glibc-20051020T0651/localedata/locales/en_GB 31 Oct 2004 23:42:26 -0000 1.12 ++++ glibc-20051020T0651-fedora/localedata/locales/en_GB 2 Nov 2004 12:25:47 -0000 1.10.2.2 @@ -112,8 +112,8 @@ mon "" d_fmt "" @@ -762,8 +762,8 @@ date_fmt "/ / " ---- glibc-20051010T1417/localedata/locales/no_NO 1 Jan 1970 00:00:00 -0000 -+++ glibc-20051010T1417-fedora/localedata/locales/no_NO 22 Sep 2004 21:21:01 -0000 1.11.2.1 +--- glibc-20051020T0651/localedata/locales/no_NO 1 Jan 1970 00:00:00 -0000 ++++ glibc-20051020T0651-fedora/localedata/locales/no_NO 22 Sep 2004 21:21:01 -0000 1.11.2.1 @@ -0,0 +1,69 @@ +escape_char / +comment_char % @@ -834,8 +834,8 @@ +LC_ADDRESS +copy "nb_NO" +END LC_ADDRESS ---- glibc-20051010T1417/localedata/locales/zh_TW 31 Oct 2004 23:42:28 -0000 1.7 -+++ glibc-20051010T1417-fedora/localedata/locales/zh_TW 2 Nov 2004 12:25:57 -0000 1.5.2.2 +--- glibc-20051020T0651/localedata/locales/zh_TW 31 Oct 2004 23:42:28 -0000 1.7 ++++ glibc-20051020T0651-fedora/localedata/locales/zh_TW 2 Nov 2004 12:25:57 -0000 1.5.2.2 @@ -1,7 +1,7 @@ comment_char % escape_char / @@ -863,9 +863,9 @@ revision "0.2" date "2000-08-02" % ---- glibc-20051010T1417/nptl/ChangeLog 4 Oct 2005 00:40:07 -0000 1.800 -+++ glibc-20051010T1417-fedora/nptl/ChangeLog 3 Oct 2005 21:49:07 -0000 1.706.2.60 -@@ -75,6 +75,15 @@ +--- glibc-20051020T0651/nptl/ChangeLog 16 Oct 2005 11:38:59 -0000 1.803 ++++ glibc-20051020T0651-fedora/nptl/ChangeLog 20 Oct 2005 06:59:53 -0000 1.706.2.61 +@@ -93,6 +93,15 @@ Use __sigfillset. Document that sigfillset does the right thing wrt to SIGSETXID. @@ -881,7 +881,7 @@ 2005-07-11 Jakub Jelinek [BZ #1102] -@@ -810,6 +819,11 @@ +@@ -828,6 +837,11 @@ Move definition inside libpthread, libc, librt check. Provide definition for rtld. @@ -893,7 +893,7 @@ 2004-09-02 Ulrich Drepper * sysdeps/alpha/jmpbuf-unwind.h: Define __libc_unwind_longjmp. -@@ -2884,6 +2898,11 @@ +@@ -2902,6 +2916,11 @@ * Makefile [$(build-shared) = yes] (tests): Depend on $(test-modules). @@ -905,9 +905,9 @@ 2003-07-25 Jakub Jelinek * tst-cancel17.c (do_test): Check if aio_cancel failed. ---- glibc-20051010T1417/nptl/Makefile 11 Jul 2005 16:40:21 -0000 1.169 -+++ glibc-20051010T1417-fedora/nptl/Makefile 21 Jul 2005 08:25:47 -0000 1.157.2.12 -@@ -502,15 +502,19 @@ $(addprefix $(objpfx), \ +--- glibc-20051020T0651/nptl/Makefile 16 Oct 2005 09:25:52 -0000 1.171 ++++ glibc-20051020T0651-fedora/nptl/Makefile 20 Oct 2005 06:59:53 -0000 1.157.2.13 +@@ -500,15 +500,19 @@ $(addprefix $(objpfx), \ $(tests) $(xtests) $(test-srcs))): $(objpfx)libpthread.so \ $(objpfx)libpthread_nonshared.a $(objpfx)tst-unload: $(common-objpfx)dlfcn/libdl.so @@ -929,8 +929,8 @@ else $(addprefix $(objpfx),$(tests) $(test-srcs)): $(objpfx)libpthread.a endif ---- glibc-20051010T1417/nptl/tst-stackguard1.c 26 Jun 2005 17:44:14 -0000 1.1 -+++ glibc-20051010T1417-fedora/nptl/tst-stackguard1.c 8 Aug 2005 21:24:28 -0000 1.1.2.3 +--- glibc-20051020T0651/nptl/tst-stackguard1.c 26 Jun 2005 17:44:14 -0000 1.1 ++++ glibc-20051020T0651-fedora/nptl/tst-stackguard1.c 8 Aug 2005 21:24:28 -0000 1.1.2.3 @@ -190,17 +190,21 @@ do_test (void) the 16 runs, something is very wrong. */ int ndifferences = 0; @@ -955,8 +955,8 @@ { puts ("stack guard canaries are not randomized enough"); puts ("nor equal to the default canary value"); ---- glibc-20051010T1417/nptl/sysdeps/unix/sysv/linux/kernel-features.h 1 Jan 1970 00:00:00 -0000 -+++ glibc-20051010T1417-fedora/nptl/sysdeps/unix/sysv/linux/kernel-features.h 22 Sep 2004 21:21:02 -0000 1.1.2.1 +--- glibc-20051020T0651/nptl/sysdeps/unix/sysv/linux/kernel-features.h 1 Jan 1970 00:00:00 -0000 ++++ glibc-20051020T0651-fedora/nptl/sysdeps/unix/sysv/linux/kernel-features.h 22 Sep 2004 21:21:02 -0000 1.1.2.1 @@ -0,0 +1,6 @@ +#include_next + @@ -964,8 +964,8 @@ +#ifndef __ASSUME_CLONE_THREAD_FLAGS +# define __ASSUME_CLONE_THREAD_FLAGS 1 +#endif ---- glibc-20051010T1417/nscd/connections.c 23 Aug 2005 23:12:00 -0000 1.76 -+++ glibc-20051010T1417-fedora/nscd/connections.c 24 Aug 2005 07:23:30 -0000 1.55.2.14 +--- glibc-20051020T0651/nscd/connections.c 23 Aug 2005 23:12:00 -0000 1.76 ++++ glibc-20051020T0651-fedora/nscd/connections.c 24 Aug 2005 07:23:30 -0000 1.55.2.14 @@ -1849,3 +1849,18 @@ finish_drop_privileges (void) exit (4); } @@ -985,8 +985,8 @@ + prune_cache (&dbs[hstdb], LONG_MAX); +} + ---- glibc-20051010T1417/nscd/nscd.c 24 Aug 2005 06:33:23 -0000 1.48 -+++ glibc-20051010T1417-fedora/nscd/nscd.c 24 Aug 2005 07:23:30 -0000 1.38.2.9 +--- glibc-20051020T0651/nscd/nscd.c 24 Aug 2005 06:33:23 -0000 1.48 ++++ glibc-20051020T0651-fedora/nscd/nscd.c 24 Aug 2005 07:23:30 -0000 1.38.2.9 @@ -122,6 +122,9 @@ static struct argp argp = options, parse_opt, NULL, doc, }; @@ -1005,8 +1005,8 @@ signal (SIGPIPE, SIG_IGN); /* Cleanup files created by a previous 'bind'. */ ---- glibc-20051010T1417/nscd/nscd.conf 23 Aug 2005 23:17:32 -0000 1.11 -+++ glibc-20051010T1417-fedora/nscd/nscd.conf 24 Aug 2005 07:23:30 -0000 1.8.2.3 +--- glibc-20051020T0651/nscd/nscd.conf 23 Aug 2005 23:17:32 -0000 1.11 ++++ glibc-20051020T0651-fedora/nscd/nscd.conf 24 Aug 2005 07:23:30 -0000 1.8.2.3 @@ -32,8 +32,8 @@ # logfile /var/log/nscd.log # threads 6 @@ -1018,8 +1018,8 @@ debug-level 0 # reload-count 5 paranoia no ---- glibc-20051010T1417/nscd/nscd.init 20 Jun 2005 15:47:52 -0000 1.9 -+++ glibc-20051010T1417-fedora/nscd/nscd.init 12 Sep 2005 12:53:20 -0000 1.6.2.4 +--- glibc-20051020T0651/nscd/nscd.init 20 Jun 2005 15:47:52 -0000 1.9 ++++ glibc-20051020T0651-fedora/nscd/nscd.init 12 Sep 2005 12:53:20 -0000 1.6.2.4 @@ -9,6 +9,7 @@ # slow naming services like NIS, NIS+, LDAP, or hesiod. # processname: /usr/sbin/nscd @@ -1060,8 +1060,8 @@ RETVAL=$? echo [ $RETVAL -eq 0 ] && touch /var/lock/subsys/nscd ---- glibc-20051010T1417/nscd/selinux.c 20 Jun 2005 15:44:41 -0000 1.5 -+++ glibc-20051010T1417-fedora/nscd/selinux.c 3 Oct 2005 20:54:46 -0000 1.1.2.5 +--- glibc-20051020T0651/nscd/selinux.c 20 Jun 2005 15:44:41 -0000 1.5 ++++ glibc-20051020T0651-fedora/nscd/selinux.c 3 Oct 2005 20:54:46 -0000 1.1.2.5 @@ -127,7 +127,7 @@ audit_init (void) { audit_fd = audit_open (); @@ -1071,8 +1071,8 @@ } #endif /* HAVE_LIBAUDIT */ ---- glibc-20051010T1417/posix/Makefile 26 Sep 2005 21:13:27 -0000 1.186 -+++ glibc-20051010T1417-fedora/posix/Makefile 3 Oct 2005 20:44:16 -0000 1.171.2.14 +--- glibc-20051020T0651/posix/Makefile 26 Sep 2005 21:13:27 -0000 1.186 ++++ glibc-20051020T0651-fedora/posix/Makefile 3 Oct 2005 20:44:16 -0000 1.171.2.14 @@ -106,7 +106,8 @@ generated := $(addprefix wordexp-test-re bug-regex21-mem bug-regex21.mtrace \ tst-rxspencer-mem tst-rxspencer.mtrace tst-getconf.out \ @@ -1106,8 +1106,8 @@ + | sed -n -e '/START_OF_STRINGS/,$${/POSIX_V6_/{s/^[^"]*"//;s/".*$$//;p}}' \ + > $@.new + mv -f $@.new $@ ---- glibc-20051010T1417/posix/getconf.speclist.h 1 Jan 1970 00:00:00 -0000 -+++ glibc-20051010T1417-fedora/posix/getconf.speclist.h 13 Dec 2004 23:32:37 -0000 1.1.2.2 +--- glibc-20051020T0651/posix/getconf.speclist.h 1 Jan 1970 00:00:00 -0000 ++++ glibc-20051020T0651-fedora/posix/getconf.speclist.h 13 Dec 2004 23:32:37 -0000 1.1.2.2 @@ -0,0 +1,15 @@ +#include +const char *START_OF_STRINGS = @@ -1124,8 +1124,8 @@ +"POSIX_V6_LPBIG_OFFBIG" +#endif +""; ---- glibc-20051010T1417/sysdeps/generic/dl-cache.h 25 Jun 2003 08:01:22 -0000 1.13 -+++ glibc-20051010T1417-fedora/sysdeps/generic/dl-cache.h 22 Sep 2004 21:21:07 -0000 1.13.2.1 +--- glibc-20051020T0651/sysdeps/generic/dl-cache.h 25 Jun 2003 08:01:22 -0000 1.13 ++++ glibc-20051020T0651-fedora/sysdeps/generic/dl-cache.h 22 Sep 2004 21:21:07 -0000 1.13.2.1 @@ -36,6 +36,14 @@ # define add_system_dir(dir) add_dir (dir) #endif @@ -1141,8 +1141,8 @@ #define CACHEMAGIC "ld.so-1.7.0" /* libc5 and glibc 2.0/2.1 use the same format. For glibc 2.2 another ---- glibc-20051010T1417/sysdeps/ia64/Makefile 16 Aug 2004 06:46:14 -0000 1.10 -+++ glibc-20051010T1417-fedora/sysdeps/ia64/Makefile 22 Sep 2004 21:21:07 -0000 1.10.2.1 +--- glibc-20051020T0651/sysdeps/ia64/Makefile 16 Aug 2004 06:46:14 -0000 1.10 ++++ glibc-20051020T0651-fedora/sysdeps/ia64/Makefile 22 Sep 2004 21:21:07 -0000 1.10.2.1 @@ -12,8 +12,8 @@ elide-routines.os += hp-timing ifeq (yes,$(build-shared)) @@ -1154,8 +1154,8 @@ endif endif ---- glibc-20051010T1417/sysdeps/ia64/ia64libgcc.S 11 May 2002 05:12:35 -0000 1.2 -+++ glibc-20051010T1417-fedora/sysdeps/ia64/ia64libgcc.S 22 Sep 2004 21:21:07 -0000 1.2.2.1 +--- glibc-20051020T0651/sysdeps/ia64/ia64libgcc.S 11 May 2002 05:12:35 -0000 1.2 ++++ glibc-20051020T0651-fedora/sysdeps/ia64/ia64libgcc.S 22 Sep 2004 21:21:07 -0000 1.2.2.1 @@ -1,350 +0,0 @@ -/* From the Intel IA-64 Optimization Guide, choose the minimum latency - alternative. */ @@ -1507,8 +1507,8 @@ - .symver ___multi3, __multi3 at GLIBC_2.2 - -#endif ---- glibc-20051010T1417/sysdeps/ia64/libgcc-compat.c 1 Jan 1970 00:00:00 -0000 -+++ glibc-20051010T1417-fedora/sysdeps/ia64/libgcc-compat.c 22 Sep 2004 21:21:08 -0000 1.1.2.1 +--- glibc-20051020T0651/sysdeps/ia64/libgcc-compat.c 1 Jan 1970 00:00:00 -0000 ++++ glibc-20051020T0651-fedora/sysdeps/ia64/libgcc-compat.c 22 Sep 2004 21:21:08 -0000 1.1.2.1 @@ -0,0 +1,84 @@ +/* pre-.hidden libgcc compatibility + Copyright (C) 2002 Free Software Foundation, Inc. @@ -1594,8 +1594,8 @@ +symbol_version (INTUSE (__multi3), __multi3, GLIBC_2.2); + +#endif ---- glibc-20051010T1417/sysdeps/unix/nice.c 28 Sep 2002 19:13:13 -0000 1.6 -+++ glibc-20051010T1417-fedora/sysdeps/unix/nice.c 22 Sep 2004 21:21:08 -0000 1.6.2.1 +--- glibc-20051020T0651/sysdeps/unix/nice.c 28 Sep 2002 19:13:13 -0000 1.6 ++++ glibc-20051020T0651-fedora/sysdeps/unix/nice.c 22 Sep 2004 21:21:08 -0000 1.6.2.1 @@ -41,7 +41,12 @@ nice (int incr) __set_errno (save); } @@ -1610,8 +1610,8 @@ if (result != -1) return getpriority (PRIO_PROCESS, 0); else ---- glibc-20051010T1417/sysdeps/unix/sysv/linux/dl-osinfo.h 26 Jun 2005 18:14:09 -0000 1.21 -+++ glibc-20051010T1417-fedora/sysdeps/unix/sysv/linux/dl-osinfo.h 8 Aug 2005 21:24:28 -0000 1.14.2.7 +--- glibc-20051020T0651/sysdeps/unix/sysv/linux/dl-osinfo.h 26 Jun 2005 18:14:09 -0000 1.21 ++++ glibc-20051020T0651-fedora/sysdeps/unix/sysv/linux/dl-osinfo.h 8 Aug 2005 21:24:28 -0000 1.14.2.7 @@ -18,12 +18,15 @@ 02111-1307 USA. */ @@ -1660,8 +1660,8 @@ + ret ^= stk; return ret; } ---- glibc-20051010T1417/sysdeps/unix/sysv/linux/paths.h 15 Nov 2000 23:06:47 -0000 1.11 -+++ glibc-20051010T1417-fedora/sysdeps/unix/sysv/linux/paths.h 22 Sep 2004 21:21:08 -0000 1.11.4.1 +--- glibc-20051020T0651/sysdeps/unix/sysv/linux/paths.h 15 Nov 2000 23:06:47 -0000 1.11 ++++ glibc-20051020T0651-fedora/sysdeps/unix/sysv/linux/paths.h 22 Sep 2004 21:21:08 -0000 1.11.4.1 @@ -61,7 +61,7 @@ #define _PATH_TTY "/dev/tty" #define _PATH_UNIX "/boot/vmlinux" @@ -1671,8 +1671,8 @@ #define _PATH_WTMP "/var/log/wtmp" /* Provide trailing slash, since mostly used for building pathnames. */ ---- glibc-20051010T1417/sysdeps/unix/sysv/linux/tcsetattr.c 10 Sep 2003 19:16:07 -0000 1.16 -+++ glibc-20051010T1417-fedora/sysdeps/unix/sysv/linux/tcsetattr.c 22 Sep 2004 21:21:08 -0000 1.16.2.1 +--- glibc-20051020T0651/sysdeps/unix/sysv/linux/tcsetattr.c 10 Sep 2003 19:16:07 -0000 1.16 ++++ glibc-20051020T0651-fedora/sysdeps/unix/sysv/linux/tcsetattr.c 22 Sep 2004 21:21:08 -0000 1.16.2.1 @@ -49,6 +49,7 @@ tcsetattr (fd, optional_actions, termios { struct __kernel_termios k_termios; @@ -1718,8 +1718,8 @@ + return retval; } libc_hidden_def (tcsetattr) ---- glibc-20051010T1417/sysdeps/unix/sysv/linux/i386/dl-cache.h 1 Jan 1970 00:00:00 -0000 -+++ glibc-20051010T1417-fedora/sysdeps/unix/sysv/linux/i386/dl-cache.h 22 Sep 2004 21:21:08 -0000 1.1.2.1 +--- glibc-20051020T0651/sysdeps/unix/sysv/linux/i386/dl-cache.h 1 Jan 1970 00:00:00 -0000 ++++ glibc-20051020T0651-fedora/sysdeps/unix/sysv/linux/i386/dl-cache.h 22 Sep 2004 21:21:08 -0000 1.1.2.1 @@ -0,0 +1,59 @@ +/* Support for reading /etc/ld.so.cache files written by Linux ldconfig. + Copyright (C) 2004 Free Software Foundation, Inc. @@ -1780,8 +1780,8 @@ + } while (0) + +#include_next ---- glibc-20051010T1417/sysdeps/unix/sysv/linux/ia64/dl-cache.h 6 Jul 2001 04:56:17 -0000 1.2 -+++ glibc-20051010T1417-fedora/sysdeps/unix/sysv/linux/ia64/dl-cache.h 22 Sep 2004 21:21:09 -0000 1.2.4.1 +--- glibc-20051020T0651/sysdeps/unix/sysv/linux/ia64/dl-cache.h 6 Jul 2001 04:56:17 -0000 1.2 ++++ glibc-20051020T0651-fedora/sysdeps/unix/sysv/linux/ia64/dl-cache.h 22 Sep 2004 21:21:09 -0000 1.2.4.1 @@ -22,4 +22,31 @@ #define _dl_cache_check_flags(flags) \ ((flags) == _DL_CACHE_DEFAULT_ID) @@ -1814,24 +1814,24 @@ + } while (0) + #include_next ---- glibc-20051010T1417/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c 1 Jan 1970 00:00:00 -0000 -+++ glibc-20051010T1417-fedora/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c 22 Sep 2004 21:21:09 -0000 1.1.2.1 +--- glibc-20051020T0651/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c 1 Jan 1970 00:00:00 -0000 ++++ glibc-20051020T0651-fedora/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c 22 Sep 2004 21:21:09 -0000 1.1.2.1 @@ -0,0 +1,5 @@ +#ifdef IS_IN_ldconfig +#include +#else +#include +#endif ---- glibc-20051010T1417/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h 1 Jan 1970 00:00:00 -0000 -+++ glibc-20051010T1417-fedora/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h 22 Sep 2004 21:21:09 -0000 1.1.2.1 +--- glibc-20051020T0651/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h 1 Jan 1970 00:00:00 -0000 ++++ glibc-20051020T0651-fedora/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h 22 Sep 2004 21:21:09 -0000 1.1.2.1 @@ -0,0 +1,5 @@ +#ifdef IS_IN_ldconfig +#include +#else +#include +#endif ---- glibc-20051010T1417/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed 17 Jan 2002 06:49:28 -0000 1.2 -+++ glibc-20051010T1417-fedora/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed 22 Sep 2004 21:21:09 -0000 1.2.2.1 +--- glibc-20051020T0651/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed 17 Jan 2002 06:49:28 -0000 1.2 ++++ glibc-20051020T0651-fedora/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed 22 Sep 2004 21:21:09 -0000 1.2.2.1 @@ -1 +1 @@ -s_^\(RTLDLIST=\)\([^ ]*\)-ia64\(\.so\.[0-9.]*\)[ ]*$_\1"\2-ia64\3 \2\3"_ +s_^\(RTLDLIST=\)\([^ ]*\)-ia64\(\.so\.[0-9.]*\)[ ]*$_\1"\2-ia64\3 /emul/ia32-linux\2\3"_ Index: glibc.spec =================================================================== RCS file: /cvs/dist/rpms/glibc/devel/glibc.spec,v retrieving revision 1.178 retrieving revision 1.179 diff -u -r1.178 -r1.179 --- glibc.spec 10 Oct 2005 15:26:58 -0000 1.178 +++ glibc.spec 20 Oct 2005 07:46:13 -0000 1.179 @@ -1,9 +1,9 @@ -%define glibcdate 20051010T1417 +%define glibcdate 20051020T0651 %define glibcname glibc -%define glibcsrcdir glibc-20051010T1417 +%define glibcsrcdir glibc-20051020T0651 %define glibc_release_tarballs 0 %define glibcversion 2.3.90 -%define glibcrelease 14 +%define glibcrelease 15 %define auxarches i586 i686 athlon sparcv9 alphaev6 %define prelinkarches noarch %define xenarches i686 athlon @@ -1088,6 +1088,12 @@ %endif %changelog +* Thu Oct 20 2005 Jakub Jelinek 2.3.90-15 +- update from CVS + - be permissive in %n check because of kernel bug #165351 (#171240) + - don't misalign stack in pthread_once on x86_64 (#170786, IT#81521) + - many locale fixes + * Mon Oct 10 2005 Jakub Jelinek 2.3.90-14 - update from CVS - fix malloc bug after fork introduced in the last update Index: sources =================================================================== RCS file: /cvs/dist/rpms/glibc/devel/sources,v retrieving revision 1.139 retrieving revision 1.140 diff -u -r1.139 -r1.140 --- sources 10 Oct 2005 15:26:58 -0000 1.139 +++ sources 20 Oct 2005 07:46:13 -0000 1.140 @@ -1,2 +1,2 @@ -c6d306cab7aa1a5b7c7b678beb04f4f2 glibc-20051010T1417.tar.bz2 -585fd9a8008f2e46fe93362a79fdfb37 glibc-fedora-20051010T1417.tar.bz2 +2b9bba11d6a1acfdef3da27bab0fd994 glibc-20051020T0651.tar.bz2 +cbebd87e2ec1401734866c32f749b802 glibc-fedora-20051020T0651.tar.bz2 From fedora-cvs-commits at redhat.com Thu Oct 20 07:50:03 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 03:50:03 -0400 Subject: rpms/ethereal/FC-3 .cvsignore, 1.22, 1.23 ethereal.spec, 1.25, 1.26 sources, 1.24, 1.25 Message-ID: <200510200750.j9K7o3qe032563@cvs.devel.redhat.com> Author: rvokal Update of /cvs/dist/rpms/ethereal/FC-3 In directory cvs.devel.redhat.com:/tmp/cvs-serv32374 Modified Files: .cvsignore ethereal.spec sources Log Message: - upgrade to 0.10.13 Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/ethereal/FC-3/.cvsignore,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- .cvsignore 5 May 2005 06:48:53 -0000 1.22 +++ .cvsignore 20 Oct 2005 07:50:00 -0000 1.23 @@ -1 +1 @@ -ethereal-0.10.11.tar.bz2 +ethereal-0.10.13.tar.gz Index: ethereal.spec =================================================================== RCS file: /cvs/dist/rpms/ethereal/FC-3/ethereal.spec,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- ethereal.spec 3 Aug 2005 13:11:11 -0000 1.25 +++ ethereal.spec 20 Oct 2005 07:50:00 -0000 1.26 @@ -2,18 +2,16 @@ Summary: Network traffic analyzer Name: ethereal -Version: 0.10.12 -Release: 1.FC3.2 +Version: 0.10.13 +Release: 1.FC3.1 License: GPL Group: Applications/Internet -Source0: http://www.ethereal.com/distribution/%{name}-%{version}.tar.bz2 +Source0: http://www.ethereal.com/distribution/%{name}-%{version}.tar.gz Source1: ethereal.pam Source2: ethereal.console Source3: ethereal.desktop Source4: ethereal.png Patch1: ethereal-0.10.0a-ia64-segfault.patch -Patch2: ethereal-0.10.8-htmlview.patch -Patch3: ethereal-0.10.12-cleanup.patch Patch4: ethereal-0.10.12-pie.patch Url: http://www.ethereal.com/ BuildRoot: %{_tmppath}/%{name}-root @@ -51,8 +49,6 @@ %prep %setup -q %patch1 -p1 -b .ia64 -%patch2 -p1 -b .htmlview -%patch3 -p1 -b .cleanup %patch4 -p1 -b .pie %build @@ -155,6 +151,10 @@ %changelog +* Thu Oct 20 2005 Radek Vokal 0.10.13-1.FC3.1 +- upgrade to 0.10.13 +- CAN-2005-3241 Multiple ethereal issues fixed (#171063) + * Wed Aug 03 2005 Jindrich Novy 0.10.12-1.FC3.2 - compile ethereal and ethereal-gnome as PIE (#160780) Index: sources =================================================================== RCS file: /cvs/dist/rpms/ethereal/FC-3/sources,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- sources 28 Jul 2005 14:24:41 -0000 1.24 +++ sources 20 Oct 2005 07:50:00 -0000 1.25 @@ -1 +1 @@ -372b60e6eca14b7e1cf3e789207027f7 ethereal-0.10.12.tar.bz2 +cae316aea6bb7113382adb3526fab899 ethereal-0.10.13.tar.gz From fedora-cvs-commits at redhat.com Thu Oct 20 08:29:07 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 04:29:07 -0400 Subject: rpms/ethereal/FC-4 ethereal-0.10.13-pie.patch, NONE, 1.1 .cvsignore, 1.23, 1.24 ethereal.spec, 1.38, 1.39 sources, 1.26, 1.27 ethereal-0.10.12-pie.patch, 1.1, NONE Message-ID: <200510200829.j9K8T7ru020109@cvs.devel.redhat.com> Author: rvokal Update of /cvs/dist/rpms/ethereal/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv20077 Modified Files: .cvsignore ethereal.spec sources Added Files: ethereal-0.10.13-pie.patch Removed Files: ethereal-0.10.12-pie.patch Log Message: - upgrade to 0.10.13 - CAN-2005-3241 Multiple ethereal issues fixed (#171063) ethereal-0.10.13-pie.patch: Makefile.in | 8 ++++---- gtk/Makefile.in | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) --- NEW FILE ethereal-0.10.13-pie.patch --- --- ethereal-0.10.12-SVN-15355/Makefile.in.pie 2005-08-15 01:41:15.000000000 +0200 +++ ethereal-0.10.12-SVN-15355/Makefile.in 2005-08-16 09:43:51.000000000 +0200 @@ -937,7 +937,7 @@ $(ethereal_additional_libs) \ $(plugin_libs) - at ENABLE_STATIC_FALSE@ethereal_LDFLAGS = -export-dynamic + at ENABLE_STATIC_FALSE@ethereal_LDFLAGS = -export-dynamic -pie # This automake variable adds to the link-line for the executable. # @@ -980,7 +980,7 @@ @GLIB_LIBS@ -lm \ @PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@ - at ENABLE_STATIC_FALSE@tethereal_LDFLAGS = -export-dynamic + at ENABLE_STATIC_FALSE@tethereal_LDFLAGS = -export-dynamic -pie @ENABLE_STATIC_TRUE at tethereal_LDFLAGS = -Wl,-static -all-static # Optional objects that I know how to build, and that are needed by @@ -1530,7 +1530,7 @@ @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/version_info.Po at am__quote@ .c.o: - at am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ + at am__fastdepCC_TRUE@ if $(COMPILE) $(PIECFLAGS) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @@ -1538,7 +1538,7 @@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: - at am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ + at am__fastdepCC_TRUE@ if $(COMPILE) $(PIECFLAGS) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ --- ethereal-0.10.12-SVN-15355/gtk/Makefile.in.pie 2005-08-15 01:41:25.000000000 +0200 +++ ethereal-0.10.12-SVN-15355/gtk/Makefile.in 2005-08-16 09:42:19.000000000 +0200 @@ -943,7 +943,7 @@ @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/wsp_stat.Po at am__quote@ .c.o: - at am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ + at am__fastdepCC_TRUE@ if $(COMPILE) $(PIECFLAGS) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @@ -951,7 +951,7 @@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: - at am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ + at am__fastdepCC_TRUE@ if $(COMPILE) $(PIECFLAGS) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/ethereal/FC-4/.cvsignore,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- .cvsignore 27 Apr 2005 09:23:01 -0000 1.23 +++ .cvsignore 20 Oct 2005 08:29:03 -0000 1.24 @@ -1 +1 @@ -ethereal-0.10.11.tar.bz2 +ethereal-0.10.13.tar.gz Index: ethereal.spec =================================================================== RCS file: /cvs/dist/rpms/ethereal/FC-4/ethereal.spec,v retrieving revision 1.38 retrieving revision 1.39 diff -u -r1.38 -r1.39 --- ethereal.spec 3 Aug 2005 12:56:21 -0000 1.38 +++ ethereal.spec 20 Oct 2005 08:29:03 -0000 1.39 @@ -2,19 +2,17 @@ Summary: Network traffic analyzer Name: ethereal -Version: 0.10.12 -Release: 1.FC4.2 +Version: 0.10.13 +Release: 1.FC4.1 License: GPL Group: Applications/Internet -Source0: http://www.ethereal.com/distribution/%{name}-%{version}.tar.bz2 +Source0: http://www.ethereal.com/distribution/%{name}-%{version}.tar.gz Source1: ethereal.pam Source2: ethereal.console Source3: ethereal.desktop Source4: ethereal.png Patch1: ethereal-0.10.0a-ia64-segfault.patch -Patch2: ethereal-0.10.8-htmlview.patch -Patch3: ethereal-0.10.12-cleanup.patch -Patch4: ethereal-0.10.12-pie.patch +Patch4: ethereal-0.10.13-pie.patch Url: http://www.ethereal.com/ BuildRoot: %{_tmppath}/%{name}-root Requires: libpcap >= 0.6 @@ -52,8 +50,6 @@ %prep %setup -q %patch1 -p1 -b .ia64 -%patch2 -p1 -b .htmlview -%patch3 -p1 -b .cleanup %patch4 -p1 -b .pie %build @@ -162,6 +158,10 @@ %changelog +* Thu Oct 20 2005 Radek Vokal 0.10.13-1.FC4.1 +- upgrade to 0.10.13 +- CAN-2005-3241 Multiple ethereal issues fixed (#171063) + * Wed Aug 03 2005 Jindrich Novy 0.10.12-1.FC4.2 - compile ethereal and ethereal-gnome with PIE (#160780) Index: sources =================================================================== RCS file: /cvs/dist/rpms/ethereal/FC-4/sources,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- sources 28 Jul 2005 14:19:51 -0000 1.26 +++ sources 20 Oct 2005 08:29:03 -0000 1.27 @@ -1 +1 @@ -372b60e6eca14b7e1cf3e789207027f7 ethereal-0.10.12.tar.bz2 +cae316aea6bb7113382adb3526fab899 ethereal-0.10.13.tar.gz --- ethereal-0.10.12-pie.patch DELETED --- From fedora-cvs-commits at redhat.com Thu Oct 20 08:29:23 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 04:29:23 -0400 Subject: rpms/squid/devel squid-2.5.STABLE11-IMS-HEAD.patch, NONE, 1.1 squid-2.5.STABLE11-httpd_accel-internal.patch, NONE, 1.1 squid-2.5.STABLE11-redirect-CONNECT.patch, NONE, 1.1 squid-2.5.STABLE11-rfc1738_do_escape.patch, NONE, 1.1 squid-2.5.STABLE11-setcookie.patch, NONE, 1.1 squid.spec, 1.43, 1.44 Message-ID: <200510200829.j9K8TN5A020169@cvs.devel.redhat.com> Author: stransky Update of /cvs/dist/rpms/squid/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv20149 Modified Files: squid.spec Added Files: squid-2.5.STABLE11-IMS-HEAD.patch squid-2.5.STABLE11-httpd_accel-internal.patch squid-2.5.STABLE11-redirect-CONNECT.patch squid-2.5.STABLE11-rfc1738_do_escape.patch squid-2.5.STABLE11-setcookie.patch Log Message: fix for #171213 - CVE-2005-3258 Squid crash due to malformed FTP response, more fixes from upstream squid-2.5.STABLE11-IMS-HEAD.patch: http.c | 2 !! 1 files changed, 2 modifications(!) --- NEW FILE squid-2.5.STABLE11-IMS-HEAD.patch --- Index: squid/src/http.c diff -c squid/src/http.c:1.384.2.33 squid/src/http.c:1.384.2.34 *** squid/src/http.c:1.384.2.33 Wed Sep 28 14:48:19 2005 --- squid/src/http.c Tue Oct 18 09:09:56 2005 *************** *** 841,847 **** HttpHeaderPos pos = HttpHeaderInitPos; httpHeaderInit(hdr_out, hoRequest); /* append our IMS header */ ! if (request->lastmod > -1 && request->method == METHOD_GET) httpHeaderPutTime(hdr_out, HDR_IF_MODIFIED_SINCE, request->lastmod); /* decide if we want to do Ranges ourselves --- 841,847 ---- HttpHeaderPos pos = HttpHeaderInitPos; httpHeaderInit(hdr_out, hoRequest); /* append our IMS header */ ! if (request->lastmod > -1) httpHeaderPutTime(hdr_out, HDR_IF_MODIFIED_SINCE, request->lastmod); /* decide if we want to do Ranges ourselves squid-2.5.STABLE11-httpd_accel-internal.patch: client_side.c | 6 !!!!!! 1 files changed, 6 modifications(!) --- NEW FILE squid-2.5.STABLE11-httpd_accel-internal.patch --- Index: squid/src/client_side.c diff -c squid/src/client_side.c:1.561.2.86 squid/src/client_side.c:1.561.2.87 *** squid/src/client_side.c:1.561.2.86 Thu Sep 15 03:53:28 2005 --- squid/src/client_side.c Tue Oct 18 09:06:06 2005 *************** *** 2749,2755 **** #endif /* handle direct internal objects */ ! if (!Config2.Accel.on && internalCheck(url)) { /* prepend our name & port */ http->uri = xstrdup(internalLocalUri(NULL, url)); http->flags.accel = 1; --- 2749,2755 ---- #endif /* handle direct internal objects */ ! if ((!Config2.Accel.on || Config.onoff.global_internal_static) && internalCheck(url)) { /* prepend our name & port */ http->uri = xstrdup(internalLocalUri(NULL, url)); http->flags.accel = 1; *************** *** 3145,3152 **** request->flags.accelerated = http->flags.accel; if (!http->flags.internal) { if (internalCheck(strBuf(request->urlpath))) { ! if (internalHostnameIs(request->host) && ! request->port == ntohs(Config.Sockaddr.http->s.sin_port)) { http->flags.internal = 1; } else if (Config.onoff.global_internal_static && internalStaticCheck(strBuf(request->urlpath))) { xstrncpy(request->host, internalHostname(), SQUIDHOSTNAMELEN); --- 3145,3152 ---- request->flags.accelerated = http->flags.accel; if (!http->flags.internal) { if (internalCheck(strBuf(request->urlpath))) { ! if (internalHostnameIs(request->host)) { ! request->port = ntohs(Config.Sockaddr.http->s.sin_port); http->flags.internal = 1; } else if (Config.onoff.global_internal_static && internalStaticCheck(strBuf(request->urlpath))) { xstrncpy(request->host, internalHostname(), SQUIDHOSTNAMELEN); squid-2.5.STABLE11-redirect-CONNECT.patch: client_side.c | 5 !!!!! 1 files changed, 5 modifications(!) --- NEW FILE squid-2.5.STABLE11-redirect-CONNECT.patch --- Index: squid/src/client_side.c diff -c squid/src/client_side.c:1.561.2.87 squid/src/client_side.c:1.561.2.88 *** squid/src/client_side.c:1.561.2.87 Tue Oct 18 09:06:06 2005 --- squid/src/client_side.c Tue Oct 18 09:14:12 2005 *************** *** 364,371 **** } else { debug(33, 1) ("clientRedirectDone: bad input: %s\n", result); } ! } ! if (strcmp(result, http->uri)) new_request = urlParse(old_request->method, result); } if (new_request) { --- 364,370 ---- } else { debug(33, 1) ("clientRedirectDone: bad input: %s\n", result); } ! } else if (strcmp(result, http->uri)) new_request = urlParse(old_request->method, result); } if (new_request) { *************** *** 2450,2456 **** debug(33, 4) ("clientProcessRequest: %s '%s'\n", RequestMethodStr[r->method], url); ! if (r->method == METHOD_CONNECT) { http->log_type = LOG_TCP_MISS; sslStart(http, &http->out.size, &http->al.http.code); return; --- 2449,2455 ---- debug(33, 4) ("clientProcessRequest: %s '%s'\n", RequestMethodStr[r->method], url); ! if (r->method == METHOD_CONNECT && !http->redirect.status) { http->log_type = LOG_TCP_MISS; sslStart(http, &http->out.size, &http->al.http.code); return; squid-2.5.STABLE11-rfc1738_do_escape.patch: ftp.c | 24 +++-!!!!!!!!!!!!!!!!!!!! 1 files changed, 3 insertions(+), 1 deletion(-), 20 modifications(!) --- NEW FILE squid-2.5.STABLE11-rfc1738_do_escape.patch --- Index: squid/src/ftp.c diff -c squid/src/ftp.c:1.316.2.32 squid/src/ftp.c:1.316.2.33 *** squid/src/ftp.c:1.316.2.32 Sat Sep 10 19:49:53 2005 --- squid/src/ftp.c Tue Oct 18 09:26:49 2005 *************** *** 438,444 **** storeAppendPrintf(e, "\n"); if (ftpState->flags.listformat_unknown && !ftpState->flags.tried_nlst) { storeAppendPrintf(e, "[As plain directory]\n", ! ftpState->flags.dir_slash ? rfc1738_escape_part(ftpState->filepath) : "."); } else if (ftpState->typecode == 'D') { const char *path = ftpState->flags.dir_slash ? ftpState->filepath : "."; storeAppendPrintf(e, "[As extended directory]\n", html_quote(path)); --- 438,444 ---- storeAppendPrintf(e, "\n"); if (ftpState->flags.listformat_unknown && !ftpState->flags.tried_nlst) { storeAppendPrintf(e, "[As plain directory]\n", ! ftpState->flags.dir_slash ? rfc1738_escape_part(ftpState->old_filepath) : "."); } else if (ftpState->typecode == 'D') { const char *path = ftpState->flags.dir_slash ? ftpState->filepath : "."; storeAppendPrintf(e, "[As extended directory]\n", html_quote(path)); *************** *** 714,725 **** "%2f/", "Root Directory"); } else if (ftpState->flags.no_dotdot && !ftpState->flags.root_dir) { /* Normal directory where last component is / or .. */ strcpy(href, "%2e%2e/"); strcpy(text, "Parent Directory"); ! snprintf(link, 2048, "(%s)", ! !ftpState->flags.dir_slash ? "../" : "./", ! "Back"); } else { /* NO_DOTDOT && ROOT_DIR */ /* "UNIX Root" directory */ strcpy(href, "/"); --- 714,736 ---- "%2f/", "Root Directory"); } else if (ftpState->flags.no_dotdot && !ftpState->flags.root_dir) { + char *url; /* Normal directory where last component is / or .. */ strcpy(href, "%2e%2e/"); strcpy(text, "Parent Directory"); ! if (ftpState->flags.dir_slash) { ! url = xstrdup("./"); ! } else { ! const char *title = strBuf(ftpState->title_url); ! int k = 6 + strcspn(&title[6], "/"); ! char *t; ! url = xstrdup(title + k); ! t = url + strlen(url) - 2; ! while (t > url && *t != '/') ! *t-- = '\0'; ! } ! snprintf(link, 2048, "(%s)", url, "Back"); ! safe_free(url); } else { /* NO_DOTDOT && ROOT_DIR */ /* "UNIX Root" directory */ strcpy(href, "/"); *************** *** 1053,1058 **** --- 1064,1071 ---- ftpState->flags.isdir = 1; if (l == 1) ftpState->flags.root_dir = 1; + } else { + ftpState->flags.dir_slash = 1; } } *************** *** 1668,1678 **** static void ftpListDir(FtpStateData * ftpState) { ! if (!ftpState->flags.isdir) { debug(9, 3) ("Directory path did not end in /\n"); strCat(ftpState->title_url, "/"); ftpState->flags.isdir = 1; - ftpState->flags.dir_slash = 1; } ftpSendPasv(ftpState); } --- 1681,1690 ---- static void ftpListDir(FtpStateData * ftpState) { ! if (ftpState->flags.dir_slash) { debug(9, 3) ("Directory path did not end in /\n"); strCat(ftpState->title_url, "/"); ftpState->flags.isdir = 1; } ftpSendPasv(ftpState); } squid-2.5.STABLE11-setcookie.patch: client_side.c | 1 + 1 files changed, 1 insertion(+) --- NEW FILE squid-2.5.STABLE11-setcookie.patch --- Index: squid/src/client_side.c diff -c squid/src/client_side.c:1.561.2.88 squid/src/client_side.c:1.561.2.89 *** squid/src/client_side.c:1.561.2.88 Tue Oct 18 09:14:12 2005 --- squid/src/client_side.c Tue Oct 18 09:22:26 2005 *************** *** 2513,2518 **** --- 2513,2519 ---- ErrorState *err = NULL; debug(33, 4) ("clientProcessMiss: '%s %s'\n", RequestMethodStr[r->method], url); + http->flags.hit = 0; /* * We might have a left-over StoreEntry from a failed cache hit * or IMS request. Index: squid.spec =================================================================== RCS file: /cvs/dist/rpms/squid/devel/squid.spec,v retrieving revision 1.43 retrieving revision 1.44 diff -u -r1.43 -r1.44 --- squid.spec 14 Oct 2005 11:36:33 -0000 1.43 +++ squid.spec 20 Oct 2005 08:29:19 -0000 1.44 @@ -5,7 +5,7 @@ Summary: The Squid proxy caching server. Name: squid Version: 2.5.STABLE11 -Release: 4 +Release: 5 Epoch: 7 License: GPL Group: System Environment/Daemons @@ -25,6 +25,11 @@ Patch103: squid-2.5.STABLE11.accel_single_host_pconn.patch Patch104: squid-2.5.STABLE11-CACHE_HTTP_PORT.patch Patch105: squid-2.5.STABLE11-CNAME.patch +Patch106: squid-2.5.STABLE11-httpd_accel-internal.patch +Patch107: squid-2.5.STABLE11-IMS-HEAD.patch +Patch108: squid-2.5.STABLE11-redirect-CONNECT.patch +Patch109: squid-2.5.STABLE11-setcookie.patch +Patch110: squid-2.5.STABLE11-rfc1738_do_escape.patch # Local patches # Applying upstream patches first makes it less likely that local patches @@ -64,6 +69,11 @@ %patch103 -p1 %patch104 -p1 %patch105 -p1 +%patch106 -p1 +%patch107 -p1 +%patch108 -p1 +%patch109 -p1 +%patch110 -p1 %patch201 -p1 -b .config %patch202 -p1 -b .location @@ -320,6 +330,10 @@ chgrp squid /var/cache/samba/winbindd_privileged > /dev/null 2>& 1 || true %changelog +* Thu Oct 20 2005 Martin Stransky 7:2.5.STABLE11-5 +- fix for #171213 - CVE-2005-3258 Squid crash due to malformed FTP response +- more fixes from upstream + * Fri Oct 14 2005 Martin Stransky 7:2.5.STABLE11-4 - enabled support for large files (#167503) From fedora-cvs-commits at redhat.com Thu Oct 20 08:41:52 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 04:41:52 -0400 Subject: rpms/mod_perl/devel mod_perl.spec, 1.30, 1.31 mod_perl-2.0.0.tar.gz.asc, 1.1, NONE Message-ID: <200510200841.j9K8fqjU021361@cvs.devel.redhat.com> Author: jorton Update of /cvs/dist/rpms/mod_perl/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv21341 Modified Files: mod_perl.spec Removed Files: mod_perl-2.0.0.tar.gz.asc Log Message: * Thu Oct 20 2005 Joe Orton 2.0.1-2 - rebuild Index: mod_perl.spec =================================================================== RCS file: /cvs/dist/rpms/mod_perl/devel/mod_perl.spec,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- mod_perl.spec 18 Jun 2005 01:45:07 -0000 1.30 +++ mod_perl.spec 20 Oct 2005 08:41:48 -0000 1.31 @@ -2,7 +2,7 @@ Name: mod_perl Version: 2.0.1 -Release: 1.fc5 +Release: 2 Summary: An embedded Perl interpreter for the Apache Web server Group: System Environment/Daemons @@ -132,6 +132,9 @@ %changelog +* Thu Oct 20 2005 Joe Orton 2.0.1-2 +- rebuild + * Fri Jun 17 2005 Warren Togami 2.0.1-1 - 2.0.1 --- mod_perl-2.0.0.tar.gz.asc DELETED --- From fedora-cvs-commits at redhat.com Thu Oct 20 08:44:32 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 04:44:32 -0400 Subject: rpms/squid/FC-4 squid-2.5.STABLE11-IMS-HEAD.patch, NONE, 1.1 squid-2.5.STABLE11-httpd_accel-internal.patch, NONE, 1.1 squid-2.5.STABLE11-redirect-CONNECT.patch, NONE, 1.1 squid-2.5.STABLE11-rfc1738_do_escape.patch, NONE, 1.1 squid-2.5.STABLE11-setcookie.patch, NONE, 1.1 squid.spec, 1.36, 1.37 Message-ID: <200510200844.j9K8iWWV021705@cvs.devel.redhat.com> Author: stransky Update of /cvs/dist/rpms/squid/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv21678 Modified Files: squid.spec Added Files: squid-2.5.STABLE11-IMS-HEAD.patch squid-2.5.STABLE11-httpd_accel-internal.patch squid-2.5.STABLE11-redirect-CONNECT.patch squid-2.5.STABLE11-rfc1738_do_escape.patch squid-2.5.STABLE11-setcookie.patch Log Message: fix for #171213 - CVE-2005-3258 Squid crash due to malformed FTP response, more fixes from upstream squid-2.5.STABLE11-IMS-HEAD.patch: http.c | 2 !! 1 files changed, 2 modifications(!) --- NEW FILE squid-2.5.STABLE11-IMS-HEAD.patch --- Index: squid/src/http.c diff -c squid/src/http.c:1.384.2.33 squid/src/http.c:1.384.2.34 *** squid/src/http.c:1.384.2.33 Wed Sep 28 14:48:19 2005 --- squid/src/http.c Tue Oct 18 09:09:56 2005 *************** *** 841,847 **** HttpHeaderPos pos = HttpHeaderInitPos; httpHeaderInit(hdr_out, hoRequest); /* append our IMS header */ ! if (request->lastmod > -1 && request->method == METHOD_GET) httpHeaderPutTime(hdr_out, HDR_IF_MODIFIED_SINCE, request->lastmod); /* decide if we want to do Ranges ourselves --- 841,847 ---- HttpHeaderPos pos = HttpHeaderInitPos; httpHeaderInit(hdr_out, hoRequest); /* append our IMS header */ ! if (request->lastmod > -1) httpHeaderPutTime(hdr_out, HDR_IF_MODIFIED_SINCE, request->lastmod); /* decide if we want to do Ranges ourselves squid-2.5.STABLE11-httpd_accel-internal.patch: client_side.c | 6 !!!!!! 1 files changed, 6 modifications(!) --- NEW FILE squid-2.5.STABLE11-httpd_accel-internal.patch --- Index: squid/src/client_side.c diff -c squid/src/client_side.c:1.561.2.86 squid/src/client_side.c:1.561.2.87 *** squid/src/client_side.c:1.561.2.86 Thu Sep 15 03:53:28 2005 --- squid/src/client_side.c Tue Oct 18 09:06:06 2005 *************** *** 2749,2755 **** #endif /* handle direct internal objects */ ! if (!Config2.Accel.on && internalCheck(url)) { /* prepend our name & port */ http->uri = xstrdup(internalLocalUri(NULL, url)); http->flags.accel = 1; --- 2749,2755 ---- #endif /* handle direct internal objects */ ! if ((!Config2.Accel.on || Config.onoff.global_internal_static) && internalCheck(url)) { /* prepend our name & port */ http->uri = xstrdup(internalLocalUri(NULL, url)); http->flags.accel = 1; *************** *** 3145,3152 **** request->flags.accelerated = http->flags.accel; if (!http->flags.internal) { if (internalCheck(strBuf(request->urlpath))) { ! if (internalHostnameIs(request->host) && ! request->port == ntohs(Config.Sockaddr.http->s.sin_port)) { http->flags.internal = 1; } else if (Config.onoff.global_internal_static && internalStaticCheck(strBuf(request->urlpath))) { xstrncpy(request->host, internalHostname(), SQUIDHOSTNAMELEN); --- 3145,3152 ---- request->flags.accelerated = http->flags.accel; if (!http->flags.internal) { if (internalCheck(strBuf(request->urlpath))) { ! if (internalHostnameIs(request->host)) { ! request->port = ntohs(Config.Sockaddr.http->s.sin_port); http->flags.internal = 1; } else if (Config.onoff.global_internal_static && internalStaticCheck(strBuf(request->urlpath))) { xstrncpy(request->host, internalHostname(), SQUIDHOSTNAMELEN); squid-2.5.STABLE11-redirect-CONNECT.patch: client_side.c | 5 !!!!! 1 files changed, 5 modifications(!) --- NEW FILE squid-2.5.STABLE11-redirect-CONNECT.patch --- Index: squid/src/client_side.c diff -c squid/src/client_side.c:1.561.2.87 squid/src/client_side.c:1.561.2.88 *** squid/src/client_side.c:1.561.2.87 Tue Oct 18 09:06:06 2005 --- squid/src/client_side.c Tue Oct 18 09:14:12 2005 *************** *** 364,371 **** } else { debug(33, 1) ("clientRedirectDone: bad input: %s\n", result); } ! } ! if (strcmp(result, http->uri)) new_request = urlParse(old_request->method, result); } if (new_request) { --- 364,370 ---- } else { debug(33, 1) ("clientRedirectDone: bad input: %s\n", result); } ! } else if (strcmp(result, http->uri)) new_request = urlParse(old_request->method, result); } if (new_request) { *************** *** 2450,2456 **** debug(33, 4) ("clientProcessRequest: %s '%s'\n", RequestMethodStr[r->method], url); ! if (r->method == METHOD_CONNECT) { http->log_type = LOG_TCP_MISS; sslStart(http, &http->out.size, &http->al.http.code); return; --- 2449,2455 ---- debug(33, 4) ("clientProcessRequest: %s '%s'\n", RequestMethodStr[r->method], url); ! if (r->method == METHOD_CONNECT && !http->redirect.status) { http->log_type = LOG_TCP_MISS; sslStart(http, &http->out.size, &http->al.http.code); return; squid-2.5.STABLE11-rfc1738_do_escape.patch: ftp.c | 24 +++-!!!!!!!!!!!!!!!!!!!! 1 files changed, 3 insertions(+), 1 deletion(-), 20 modifications(!) --- NEW FILE squid-2.5.STABLE11-rfc1738_do_escape.patch --- Index: squid/src/ftp.c diff -c squid/src/ftp.c:1.316.2.32 squid/src/ftp.c:1.316.2.33 *** squid/src/ftp.c:1.316.2.32 Sat Sep 10 19:49:53 2005 --- squid/src/ftp.c Tue Oct 18 09:26:49 2005 *************** *** 438,444 **** storeAppendPrintf(e, "\n"); if (ftpState->flags.listformat_unknown && !ftpState->flags.tried_nlst) { storeAppendPrintf(e, "[As plain directory]\n", ! ftpState->flags.dir_slash ? rfc1738_escape_part(ftpState->filepath) : "."); } else if (ftpState->typecode == 'D') { const char *path = ftpState->flags.dir_slash ? ftpState->filepath : "."; storeAppendPrintf(e, "[As extended directory]\n", html_quote(path)); --- 438,444 ---- storeAppendPrintf(e, "\n"); if (ftpState->flags.listformat_unknown && !ftpState->flags.tried_nlst) { storeAppendPrintf(e, "[As plain directory]\n", ! ftpState->flags.dir_slash ? rfc1738_escape_part(ftpState->old_filepath) : "."); } else if (ftpState->typecode == 'D') { const char *path = ftpState->flags.dir_slash ? ftpState->filepath : "."; storeAppendPrintf(e, "[As extended directory]\n", html_quote(path)); *************** *** 714,725 **** "%2f/", "Root Directory"); } else if (ftpState->flags.no_dotdot && !ftpState->flags.root_dir) { /* Normal directory where last component is / or .. */ strcpy(href, "%2e%2e/"); strcpy(text, "Parent Directory"); ! snprintf(link, 2048, "(%s)", ! !ftpState->flags.dir_slash ? "../" : "./", ! "Back"); } else { /* NO_DOTDOT && ROOT_DIR */ /* "UNIX Root" directory */ strcpy(href, "/"); --- 714,736 ---- "%2f/", "Root Directory"); } else if (ftpState->flags.no_dotdot && !ftpState->flags.root_dir) { + char *url; /* Normal directory where last component is / or .. */ strcpy(href, "%2e%2e/"); strcpy(text, "Parent Directory"); ! if (ftpState->flags.dir_slash) { ! url = xstrdup("./"); ! } else { ! const char *title = strBuf(ftpState->title_url); ! int k = 6 + strcspn(&title[6], "/"); ! char *t; ! url = xstrdup(title + k); ! t = url + strlen(url) - 2; ! while (t > url && *t != '/') ! *t-- = '\0'; ! } ! snprintf(link, 2048, "(%s)", url, "Back"); ! safe_free(url); } else { /* NO_DOTDOT && ROOT_DIR */ /* "UNIX Root" directory */ strcpy(href, "/"); *************** *** 1053,1058 **** --- 1064,1071 ---- ftpState->flags.isdir = 1; if (l == 1) ftpState->flags.root_dir = 1; + } else { + ftpState->flags.dir_slash = 1; } } *************** *** 1668,1678 **** static void ftpListDir(FtpStateData * ftpState) { ! if (!ftpState->flags.isdir) { debug(9, 3) ("Directory path did not end in /\n"); strCat(ftpState->title_url, "/"); ftpState->flags.isdir = 1; - ftpState->flags.dir_slash = 1; } ftpSendPasv(ftpState); } --- 1681,1690 ---- static void ftpListDir(FtpStateData * ftpState) { ! if (ftpState->flags.dir_slash) { debug(9, 3) ("Directory path did not end in /\n"); strCat(ftpState->title_url, "/"); ftpState->flags.isdir = 1; } ftpSendPasv(ftpState); } squid-2.5.STABLE11-setcookie.patch: client_side.c | 1 + 1 files changed, 1 insertion(+) --- NEW FILE squid-2.5.STABLE11-setcookie.patch --- Index: squid/src/client_side.c diff -c squid/src/client_side.c:1.561.2.88 squid/src/client_side.c:1.561.2.89 *** squid/src/client_side.c:1.561.2.88 Tue Oct 18 09:14:12 2005 --- squid/src/client_side.c Tue Oct 18 09:22:26 2005 *************** *** 2513,2518 **** --- 2513,2519 ---- ErrorState *err = NULL; debug(33, 4) ("clientProcessMiss: '%s %s'\n", RequestMethodStr[r->method], url); + http->flags.hit = 0; /* * We might have a left-over StoreEntry from a failed cache hit * or IMS request. Index: squid.spec =================================================================== RCS file: /cvs/dist/rpms/squid/FC-4/squid.spec,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- squid.spec 29 Sep 2005 12:41:50 -0000 1.36 +++ squid.spec 20 Oct 2005 08:44:28 -0000 1.37 @@ -5,7 +5,7 @@ Summary: The Squid proxy caching server. Name: squid Version: 2.5.STABLE11 -Release: 2.FC4 +Release: 3.FC4 Epoch: 7 License: GPL Group: System Environment/Daemons @@ -24,6 +24,11 @@ Patch103: squid-2.5.STABLE11.accel_single_host_pconn.patch Patch104: squid-2.5.STABLE11-CACHE_HTTP_PORT.patch Patch105: squid-2.5.STABLE11-CNAME.patch +Patch106: squid-2.5.STABLE11-httpd_accel-internal.patch +Patch107: squid-2.5.STABLE11-IMS-HEAD.patch +Patch108: squid-2.5.STABLE11-redirect-CONNECT.patch +Patch109: squid-2.5.STABLE11-setcookie.patch +Patch110: squid-2.5.STABLE11-rfc1738_do_escape.patch # Local patches # Applying upstream patches first makes it less likely that local patches @@ -62,6 +67,11 @@ %patch103 -p1 %patch104 -p1 %patch105 -p1 +%patch106 -p1 +%patch107 -p1 +%patch108 -p1 +%patch109 -p1 +%patch110 -p1 %patch201 -p1 -b .config %patch202 -p1 -b .location @@ -292,6 +302,10 @@ chgrp squid /var/cache/samba/winbindd_privileged > /dev/null 2>& 1 || true %changelog +* Thu Oct 20 2005 Martin Stransky 7:2.5.STABLE11-3.FC4 +- fix for #171213 - CVE-2005-3258 Squid crash due to malformed FTP response +- more fixes from upstream + * Thu Sep 29 2005 Martin Stransky 7:2.5.STABLE11-2.FC4 - added patch for delay pools and some minor fixes From fedora-cvs-commits at redhat.com Thu Oct 20 08:55:47 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 04:55:47 -0400 Subject: rpms/squid/FC-3 squid-2.5.STABLE11-IMS-HEAD.patch, NONE, 1.1 squid-2.5.STABLE11-httpd_accel-internal.patch, NONE, 1.1 squid-2.5.STABLE11-redirect-CONNECT.patch, NONE, 1.1 squid-2.5.STABLE11-rfc1738_do_escape.patch, NONE, 1.1 squid-2.5.STABLE11-setcookie.patch, NONE, 1.1 squid.spec, 1.35, 1.36 Message-ID: <200510200855.j9K8tlHT029042@cvs.devel.redhat.com> Author: stransky Update of /cvs/dist/rpms/squid/FC-3 In directory cvs.devel.redhat.com:/tmp/cvs-serv28943 Modified Files: squid.spec Added Files: squid-2.5.STABLE11-IMS-HEAD.patch squid-2.5.STABLE11-httpd_accel-internal.patch squid-2.5.STABLE11-redirect-CONNECT.patch squid-2.5.STABLE11-rfc1738_do_escape.patch squid-2.5.STABLE11-setcookie.patch Log Message: fix for #171213 - CVE-2005-3258 Squid crash due to malformed FTP response, more fixes from upstream squid-2.5.STABLE11-IMS-HEAD.patch: http.c | 2 !! 1 files changed, 2 modifications(!) --- NEW FILE squid-2.5.STABLE11-IMS-HEAD.patch --- Index: squid/src/http.c diff -c squid/src/http.c:1.384.2.33 squid/src/http.c:1.384.2.34 *** squid/src/http.c:1.384.2.33 Wed Sep 28 14:48:19 2005 --- squid/src/http.c Tue Oct 18 09:09:56 2005 *************** *** 841,847 **** HttpHeaderPos pos = HttpHeaderInitPos; httpHeaderInit(hdr_out, hoRequest); /* append our IMS header */ ! if (request->lastmod > -1 && request->method == METHOD_GET) httpHeaderPutTime(hdr_out, HDR_IF_MODIFIED_SINCE, request->lastmod); /* decide if we want to do Ranges ourselves --- 841,847 ---- HttpHeaderPos pos = HttpHeaderInitPos; httpHeaderInit(hdr_out, hoRequest); /* append our IMS header */ ! if (request->lastmod > -1) httpHeaderPutTime(hdr_out, HDR_IF_MODIFIED_SINCE, request->lastmod); /* decide if we want to do Ranges ourselves squid-2.5.STABLE11-httpd_accel-internal.patch: client_side.c | 6 !!!!!! 1 files changed, 6 modifications(!) --- NEW FILE squid-2.5.STABLE11-httpd_accel-internal.patch --- Index: squid/src/client_side.c diff -c squid/src/client_side.c:1.561.2.86 squid/src/client_side.c:1.561.2.87 *** squid/src/client_side.c:1.561.2.86 Thu Sep 15 03:53:28 2005 --- squid/src/client_side.c Tue Oct 18 09:06:06 2005 *************** *** 2749,2755 **** #endif /* handle direct internal objects */ ! if (!Config2.Accel.on && internalCheck(url)) { /* prepend our name & port */ http->uri = xstrdup(internalLocalUri(NULL, url)); http->flags.accel = 1; --- 2749,2755 ---- #endif /* handle direct internal objects */ ! if ((!Config2.Accel.on || Config.onoff.global_internal_static) && internalCheck(url)) { /* prepend our name & port */ http->uri = xstrdup(internalLocalUri(NULL, url)); http->flags.accel = 1; *************** *** 3145,3152 **** request->flags.accelerated = http->flags.accel; if (!http->flags.internal) { if (internalCheck(strBuf(request->urlpath))) { ! if (internalHostnameIs(request->host) && ! request->port == ntohs(Config.Sockaddr.http->s.sin_port)) { http->flags.internal = 1; } else if (Config.onoff.global_internal_static && internalStaticCheck(strBuf(request->urlpath))) { xstrncpy(request->host, internalHostname(), SQUIDHOSTNAMELEN); --- 3145,3152 ---- request->flags.accelerated = http->flags.accel; if (!http->flags.internal) { if (internalCheck(strBuf(request->urlpath))) { ! if (internalHostnameIs(request->host)) { ! request->port = ntohs(Config.Sockaddr.http->s.sin_port); http->flags.internal = 1; } else if (Config.onoff.global_internal_static && internalStaticCheck(strBuf(request->urlpath))) { xstrncpy(request->host, internalHostname(), SQUIDHOSTNAMELEN); squid-2.5.STABLE11-redirect-CONNECT.patch: client_side.c | 5 !!!!! 1 files changed, 5 modifications(!) --- NEW FILE squid-2.5.STABLE11-redirect-CONNECT.patch --- Index: squid/src/client_side.c diff -c squid/src/client_side.c:1.561.2.87 squid/src/client_side.c:1.561.2.88 *** squid/src/client_side.c:1.561.2.87 Tue Oct 18 09:06:06 2005 --- squid/src/client_side.c Tue Oct 18 09:14:12 2005 *************** *** 364,371 **** } else { debug(33, 1) ("clientRedirectDone: bad input: %s\n", result); } ! } ! if (strcmp(result, http->uri)) new_request = urlParse(old_request->method, result); } if (new_request) { --- 364,370 ---- } else { debug(33, 1) ("clientRedirectDone: bad input: %s\n", result); } ! } else if (strcmp(result, http->uri)) new_request = urlParse(old_request->method, result); } if (new_request) { *************** *** 2450,2456 **** debug(33, 4) ("clientProcessRequest: %s '%s'\n", RequestMethodStr[r->method], url); ! if (r->method == METHOD_CONNECT) { http->log_type = LOG_TCP_MISS; sslStart(http, &http->out.size, &http->al.http.code); return; --- 2449,2455 ---- debug(33, 4) ("clientProcessRequest: %s '%s'\n", RequestMethodStr[r->method], url); ! if (r->method == METHOD_CONNECT && !http->redirect.status) { http->log_type = LOG_TCP_MISS; sslStart(http, &http->out.size, &http->al.http.code); return; squid-2.5.STABLE11-rfc1738_do_escape.patch: ftp.c | 24 +++-!!!!!!!!!!!!!!!!!!!! 1 files changed, 3 insertions(+), 1 deletion(-), 20 modifications(!) --- NEW FILE squid-2.5.STABLE11-rfc1738_do_escape.patch --- Index: squid/src/ftp.c diff -c squid/src/ftp.c:1.316.2.32 squid/src/ftp.c:1.316.2.33 *** squid/src/ftp.c:1.316.2.32 Sat Sep 10 19:49:53 2005 --- squid/src/ftp.c Tue Oct 18 09:26:49 2005 *************** *** 438,444 **** storeAppendPrintf(e, "\n"); if (ftpState->flags.listformat_unknown && !ftpState->flags.tried_nlst) { storeAppendPrintf(e, "[As plain directory]\n", ! ftpState->flags.dir_slash ? rfc1738_escape_part(ftpState->filepath) : "."); } else if (ftpState->typecode == 'D') { const char *path = ftpState->flags.dir_slash ? ftpState->filepath : "."; storeAppendPrintf(e, "[As extended directory]\n", html_quote(path)); --- 438,444 ---- storeAppendPrintf(e, "\n"); if (ftpState->flags.listformat_unknown && !ftpState->flags.tried_nlst) { storeAppendPrintf(e, "[As plain directory]\n", ! ftpState->flags.dir_slash ? rfc1738_escape_part(ftpState->old_filepath) : "."); } else if (ftpState->typecode == 'D') { const char *path = ftpState->flags.dir_slash ? ftpState->filepath : "."; storeAppendPrintf(e, "[As extended directory]\n", html_quote(path)); *************** *** 714,725 **** "%2f/", "Root Directory"); } else if (ftpState->flags.no_dotdot && !ftpState->flags.root_dir) { /* Normal directory where last component is / or .. */ strcpy(href, "%2e%2e/"); strcpy(text, "Parent Directory"); ! snprintf(link, 2048, "(%s)", ! !ftpState->flags.dir_slash ? "../" : "./", ! "Back"); } else { /* NO_DOTDOT && ROOT_DIR */ /* "UNIX Root" directory */ strcpy(href, "/"); --- 714,736 ---- "%2f/", "Root Directory"); } else if (ftpState->flags.no_dotdot && !ftpState->flags.root_dir) { + char *url; /* Normal directory where last component is / or .. */ strcpy(href, "%2e%2e/"); strcpy(text, "Parent Directory"); ! if (ftpState->flags.dir_slash) { ! url = xstrdup("./"); ! } else { ! const char *title = strBuf(ftpState->title_url); ! int k = 6 + strcspn(&title[6], "/"); ! char *t; ! url = xstrdup(title + k); ! t = url + strlen(url) - 2; ! while (t > url && *t != '/') ! *t-- = '\0'; ! } ! snprintf(link, 2048, "(%s)", url, "Back"); ! safe_free(url); } else { /* NO_DOTDOT && ROOT_DIR */ /* "UNIX Root" directory */ strcpy(href, "/"); *************** *** 1053,1058 **** --- 1064,1071 ---- ftpState->flags.isdir = 1; if (l == 1) ftpState->flags.root_dir = 1; + } else { + ftpState->flags.dir_slash = 1; } } *************** *** 1668,1678 **** static void ftpListDir(FtpStateData * ftpState) { ! if (!ftpState->flags.isdir) { debug(9, 3) ("Directory path did not end in /\n"); strCat(ftpState->title_url, "/"); ftpState->flags.isdir = 1; - ftpState->flags.dir_slash = 1; } ftpSendPasv(ftpState); } --- 1681,1690 ---- static void ftpListDir(FtpStateData * ftpState) { ! if (ftpState->flags.dir_slash) { debug(9, 3) ("Directory path did not end in /\n"); strCat(ftpState->title_url, "/"); ftpState->flags.isdir = 1; } ftpSendPasv(ftpState); } squid-2.5.STABLE11-setcookie.patch: client_side.c | 1 + 1 files changed, 1 insertion(+) --- NEW FILE squid-2.5.STABLE11-setcookie.patch --- Index: squid/src/client_side.c diff -c squid/src/client_side.c:1.561.2.88 squid/src/client_side.c:1.561.2.89 *** squid/src/client_side.c:1.561.2.88 Tue Oct 18 09:14:12 2005 --- squid/src/client_side.c Tue Oct 18 09:22:26 2005 *************** *** 2513,2518 **** --- 2513,2519 ---- ErrorState *err = NULL; debug(33, 4) ("clientProcessMiss: '%s %s'\n", RequestMethodStr[r->method], url); + http->flags.hit = 0; /* * We might have a left-over StoreEntry from a failed cache hit * or IMS request. Index: squid.spec =================================================================== RCS file: /cvs/dist/rpms/squid/FC-3/squid.spec,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- squid.spec 29 Sep 2005 12:50:25 -0000 1.35 +++ squid.spec 20 Oct 2005 08:55:44 -0000 1.36 @@ -5,7 +5,7 @@ Summary: The Squid proxy caching server. Name: squid Version: 2.5.STABLE11 -Release: 2.FC3 +Release: 3.FC3 Epoch: 7 License: GPL Group: System Environment/Daemons @@ -24,6 +24,11 @@ Patch103: squid-2.5.STABLE11.accel_single_host_pconn.patch Patch104: squid-2.5.STABLE11-CACHE_HTTP_PORT.patch Patch105: squid-2.5.STABLE11-CNAME.patch +Patch106: squid-2.5.STABLE11-httpd_accel-internal.patch +Patch107: squid-2.5.STABLE11-IMS-HEAD.patch +Patch108: squid-2.5.STABLE11-redirect-CONNECT.patch +Patch109: squid-2.5.STABLE11-setcookie.patch +Patch110: squid-2.5.STABLE11-rfc1738_do_escape.patch # Local patches # Putting upstream patches first lowers the chances that we'll need to modify @@ -62,6 +67,11 @@ %patch103 -p1 %patch104 -p1 %patch105 -p1 +%patch106 -p1 +%patch107 -p1 +%patch108 -p1 +%patch109 -p1 +%patch110 -p1 %patch201 -p1 -b .config %patch202 -p1 -b .location @@ -293,6 +303,10 @@ chgrp squid /var/cache/samba/winbindd_privileged > /dev/null 2>& 1 || true %changelog +* Thu Oct 20 2005 Martin Stransky 7:2.5.STABLE11-3.FC3 +- fix for #171213 - CVE-2005-3258 Squid crash due to malformed FTP response +- more fixes from upstream + * Thu Sep 29 2005 Martin Stransky 7:2.5.STABLE11-2.FC3 - added patch for delay pools and some minor fixes From fedora-cvs-commits at redhat.com Thu Oct 20 08:57:11 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 04:57:11 -0400 Subject: rpms/apr/devel apr-0.9.7.tar.gz.asc, NONE, 1.1 .cvsignore, 1.5, 1.6 apr.spec, 1.28, 1.29 sources, 1.4, 1.5 upstream, 1.2, 1.3 apr-0.9.4-attrerror.patch, 1.1, NONE apr-0.9.6-flushbufs.patch, 1.1, NONE apr-0.9.6-uidgid.patch, 1.1, NONE apr-0.9.6.tar.gz.asc, 1.1, NONE Message-ID: <200510200857.j9K8vAxq030116@cvs.devel.redhat.com> Author: jorton Update of /cvs/dist/rpms/apr/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30092 Modified Files: .cvsignore apr.spec sources upstream Added Files: apr-0.9.7.tar.gz.asc Removed Files: apr-0.9.4-attrerror.patch apr-0.9.6-flushbufs.patch apr-0.9.6-uidgid.patch apr-0.9.6.tar.gz.asc Log Message: * Thu Oct 20 2005 Joe Orton 0.9.7-2 - update to 0.9.7 --- NEW FILE apr-0.9.7.tar.gz.asc --- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) iQEVAwUAQzhnevcTqHkQ/eB1AQEqbwf/an9/a+DTE9B3FP7ZdKCpbK/sMpduKrHF +GV1OKKdSZPewK0jBNvmcThvB1eXTM/tkVnPFM/cUZcyeFXysbEqQy7C9qWkCgrW ySYKa7x23Af+anjrmiDpeh6Rac+1xxcfmWAuIKyibEcUG4IIfjgw2ta8lWRJa+vn iXRr2aLBZjfWrwQs/T/3ILwqxj6oo7rrAKgCd1+K+AfM/dTOdb5CHuctQ5gPYStT nxZyr9JSbd9ao1zx8ikJNUPOO9w6J+0yw1JQbaT20kq0UAjX5cAGeUCUObttGQfw 54tl4Y2y7PNkCtqMcbxEyUeoxUbeqb5guvjQFaDQxcf8R76nVDpcJQ== =XLJz -----END PGP SIGNATURE----- Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/apr/devel/.cvsignore,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- .cvsignore 9 Feb 2005 09:12:28 -0000 1.5 +++ .cvsignore 20 Oct 2005 08:57:03 -0000 1.6 @@ -1 +1 @@ -apr-0.9.6.tar.gz +apr-0.9.7.tar.gz Index: apr.spec =================================================================== RCS file: /cvs/dist/rpms/apr/devel/apr.spec,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- apr.spec 30 Sep 2005 15:40:19 -0000 1.28 +++ apr.spec 20 Oct 2005 08:57:03 -0000 1.29 @@ -2,8 +2,8 @@ Summary: Apache Portable Runtime library Name: apr -Version: 0.9.6 -Release: 7 +Version: 0.9.7 +Release: 2 License: Apache Software License Group: System Environment/Libraries URL: http://apr.apache.org/ @@ -14,10 +14,7 @@ Patch10: apr-0.9.4-cflags.patch Patch18: apr-0.9.4-stacksize.patch Patch21: apr-0.9.4-lp64psem.patch -Patch22: apr-0.9.4-attrerror.patch Patch23: apr-0.9.6-readdir64.patch -Patch24: apr-0.9.6-uidgid.patch -Patch25: apr-0.9.6-flushbufs.patch Patch26: apr-0.9.6-tcpopts.patch Patch27: apr-0.9.6-procexit.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot @@ -51,10 +48,7 @@ %patch10 -p1 -b .cflags %patch18 -p1 -b .stacksize %patch21 -p1 -b .lp64psem -%patch22 -p1 -b .attrerror %patch23 -p1 -b .readdir64 -%patch24 -p1 -b .uidgid -%patch25 -p1 -b .flushbufs %patch26 -p1 -b .tcpopts %patch27 -p1 -b .procexit @@ -129,6 +123,9 @@ %{_includedir}/apr-%{aprver}/*.h %changelog +* Thu Oct 20 2005 Joe Orton 0.9.7-2 +- update to 0.9.7 + * Fri Sep 30 2005 Florian La Roche - rebuild for new gcc Index: sources =================================================================== RCS file: /cvs/dist/rpms/apr/devel/sources,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- sources 9 Feb 2005 09:12:28 -0000 1.4 +++ sources 20 Oct 2005 08:57:03 -0000 1.5 @@ -1 +1 @@ -b7e4c52cccb421b42a41b0bed5a9f9bc apr-0.9.6.tar.gz +061772cac0d8acf8e3ee402eb57944c9 apr-0.9.7.tar.gz Index: upstream =================================================================== RCS file: /cvs/dist/rpms/apr/devel/upstream,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- upstream 9 Feb 2005 09:12:28 -0000 1.2 +++ upstream 20 Oct 2005 08:57:03 -0000 1.3 @@ -1 +1 @@ -apr-0.9.6.tar.gz +apr-0.9.7.tar.gz --- apr-0.9.4-attrerror.patch DELETED --- --- apr-0.9.6-flushbufs.patch DELETED --- --- apr-0.9.6-uidgid.patch DELETED --- --- apr-0.9.6.tar.gz.asc DELETED --- From fedora-cvs-commits at redhat.com Thu Oct 20 09:03:15 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 05:03:15 -0400 Subject: rpms/openoffice.org/devel openoffice.org.spec, 1.513, 1.514 sources, 1.121, 1.122 Message-ID: <200510200903.j9K93FRd030683@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/openoffice.org/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30639 Modified Files: openoffice.org.spec sources Log Message: foo Index: openoffice.org.spec =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/devel/openoffice.org.spec,v retrieving revision 1.513 retrieving revision 1.514 diff -u -r1.513 -r1.514 --- openoffice.org.spec 18 Oct 2005 12:28:18 -0000 1.513 +++ openoffice.org.spec 20 Oct 2005 09:02:17 -0000 1.514 @@ -3240,6 +3240,9 @@ %{instdir}/share/registry/modules/org/openoffice/Office/Scripting/Scripting-python.xcu %changelog +* Fri Oct 14 2005 Caolan McNamara - 1:2.0.0-3.5 +- get RPM_OPT_FLAGS in operation minus -fasynchronous-unwind-tables + * Fri Oct 14 2005 Caolan McNamara - 1:2.0.0-3.1 - release candidate 3 - alias en_US thesasurus for other en varients Index: sources =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/devel/sources,v retrieving revision 1.121 retrieving revision 1.122 diff -u -r1.121 -r1.122 --- sources 14 Oct 2005 16:37:07 -0000 1.121 +++ sources 20 Oct 2005 09:02:37 -0000 1.122 @@ -6,5 +6,5 @@ 66ee360bd11d33b0ba2283922d853706 opens___.ttf f2fc336c9bd7672a13e58d39bbb4553f GSI_ga.sdf 49c02048e40f0b51a97abdb94d97dc1f javavendors.xml -d1fdb808b35be046bf86a7e3f2fc6f2a openoffice.org-myspell-contrib.tar.gz ec9ad740640323d4d5b80abe40ab1303 OOO680_m3.tar.bz2 +e134623af5c26a275caafb05f7f267c7 openoffice.org-myspell-contrib.tar.gz From fedora-cvs-commits at redhat.com Thu Oct 20 09:07:03 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 05:07:03 -0400 Subject: rpms/apr-util/devel apr-util-0.9.4-filebucket.patch, NONE, 1.1 apr-util-0.9.7.tar.gz.asc, NONE, 1.1 .cvsignore, 1.4, 1.5 apr-util.spec, 1.14, 1.15 sources, 1.4, 1.5 upstream, 1.2, 1.3 apr-util-0.9.6.tar.gz.asc, 1.1, NONE Message-ID: <200510200907.j9K973h5030979@cvs.devel.redhat.com> Author: jorton Update of /cvs/dist/rpms/apr-util/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30952 Modified Files: .cvsignore apr-util.spec sources upstream Added Files: apr-util-0.9.4-filebucket.patch apr-util-0.9.7.tar.gz.asc Removed Files: apr-util-0.9.6.tar.gz.asc Log Message: * Thu Oct 20 2005 Joe Orton 0.9.7-2 - update to 0.9.7 - drop static libs (#170051) apr-util-0.9.4-filebucket.patch: apr_buckets_file.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) --- NEW FILE apr-util-0.9.4-filebucket.patch --- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=159191 http://svn.apache.org/viewcvs?rev=179564&view=rev * buckets/apr_buckets_file.c (file_bucket_read): If an EOF was read, the file must have been truncated; in this case, do not insert a new FILE bucket, and do return APR_EOF to the caller. PR: 34708 Submitted by: trawick, jorton --- apr-util-0.9.4/buckets/apr_buckets_file.c.filebucket +++ apr-util-0.9.4/buckets/apr_buckets_file.c @@ -171,7 +171,7 @@ apr_bucket_heap_make(e, buf, *len, apr_bucket_free); /* If we have more to read from the file, then create another bucket */ - if (filelength > 0) { + if (filelength > 0 && rv == APR_SUCCESS) { /* for efficiency, we can just build a new apr_bucket struct * to wrap around the existing file bucket */ b = apr_bucket_alloc(sizeof(*b), e->list); @@ -188,7 +188,7 @@ } *str = buf; - return APR_SUCCESS; + return rv; } APU_DECLARE(apr_bucket *) apr_bucket_file_make(apr_bucket *b, apr_file_t *fd, --- NEW FILE apr-util-0.9.7.tar.gz.asc --- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) iQEVAwUAQzhkaPcTqHkQ/eB1AQHltAf/UJdb1hvGLvttdlqk+u8PJ3z6JxfuuQoz spz1MoWXMcLQeyPgOG2ZydbGFLlJPTPj0oExVTjiavy7F5CDgubTCMxHa2qR4J5l fUdxnQdbCwqK4mEsN5tFHLUCE7hxWcrcjMRcEaGh8SajSLWxRaWtP3+cXP1/mtpQ OUf8yfsfVX+Tfsb9KasU+vbTv4UU8zw7yaP4XEYUUIXG+nspyujUJ1PK9v0fbnri BTYWLnz0B5XBT1pBXRrk3vT1VEAvcfcZtMPGNJT+Cn4/QmpBdqb2aYFQzLMYZrdJ ltq+6AICp+qb4q8kFknOmZlYXA4BUMAQQtZCw3p4VHzJq/rCqrJ1iA== =BKck -----END PGP SIGNATURE----- Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/apr-util/devel/.cvsignore,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- .cvsignore 9 Feb 2005 09:22:10 -0000 1.4 +++ .cvsignore 20 Oct 2005 09:06:59 -0000 1.5 @@ -1 +1 @@ -apr-util-0.9.6.tar.gz +apr-util-0.9.7.tar.gz Index: apr-util.spec =================================================================== RCS file: /cvs/dist/rpms/apr-util/devel/apr-util.spec,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- apr-util.spec 4 Mar 2005 10:06:21 -0000 1.14 +++ apr-util.spec 20 Oct 2005 09:06:59 -0000 1.15 @@ -3,7 +3,7 @@ Summary: Apache Portable Runtime Utility library Name: apr-util -Version: 0.9.6 +Version: 0.9.7 Release: 2 License: Apache Software License Group: System Environment/Libraries @@ -24,7 +24,7 @@ %package devel Group: Development/Libraries Summary: APR utility library development kit -Requires: apr-util = %{version}-%{release}, apr-devel +Requires: apr-util = %{epoch}:%{version}-%{release}, apr-devel Requires: openldap-devel, db4-devel, expat-devel Conflicts: subversion-devel < 0.20.1-2 @@ -52,8 +52,14 @@ # Documentation mv docs/dox/html html -# Unpackaged files -rm -f $RPM_BUILD_ROOT%{_libdir}/aprutil.exp +# Unpackaged files; remove the static libaprutil +rm -f $RPM_BUILD_ROOT%{_libdir}/aprutil.exp \ + $RPM_BUILD_ROOT%{_libdir}/libapr*.a + +# And remove the reference to the static libaprutil from the .la +# file. +sed -i '/^old_library/s,libapr.*\.a,,' \ + $RPM_BUILD_ROOT%{_libdir}/libapr*.la %check # Run the less verbose tests @@ -84,6 +90,14 @@ %doc --parents html %changelog +* Thu Oct 20 2005 Joe Orton 0.9.7-2 +- update to 0.9.7 +- drop static libs (#170051) + +* Tue Jul 26 2005 Joe Orton 0.9.6-3 +- add FILE bucket fix for truncated files (#159191) +- add epoch to dependencies + * Fri Mar 4 2005 Joe Orton 0.9.6-2 - rebuild Index: sources =================================================================== RCS file: /cvs/dist/rpms/apr-util/devel/sources,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- sources 9 Feb 2005 09:22:10 -0000 1.4 +++ sources 20 Oct 2005 09:06:59 -0000 1.5 @@ -1 +1 @@ -a3a2671368e47b7efcb381e991451a9f apr-util-0.9.6.tar.gz +6afa5f2866537639dc2d248eb7219e01 apr-util-0.9.7.tar.gz Index: upstream =================================================================== RCS file: /cvs/dist/rpms/apr-util/devel/upstream,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- upstream 9 Feb 2005 09:22:10 -0000 1.2 +++ upstream 20 Oct 2005 09:06:59 -0000 1.3 @@ -1 +1 @@ -apr-util-0.9.6.tar.gz +apr-util-0.9.7.tar.gz --- apr-util-0.9.6.tar.gz.asc DELETED --- From fedora-cvs-commits at redhat.com Thu Oct 20 09:08:13 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 05:08:13 -0400 Subject: rpms/ethereal/FC-4 ethereal.spec,1.39,1.40 Message-ID: <200510200908.j9K98Dsc031193@cvs.devel.redhat.com> Author: rvokal Update of /cvs/dist/rpms/ethereal/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv31175 Modified Files: ethereal.spec Log Message: - fix pcre dependecy Index: ethereal.spec =================================================================== RCS file: /cvs/dist/rpms/ethereal/FC-4/ethereal.spec,v retrieving revision 1.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- ethereal.spec 20 Oct 2005 08:29:03 -0000 1.39 +++ ethereal.spec 20 Oct 2005 09:08:09 -0000 1.40 @@ -3,7 +3,7 @@ Summary: Network traffic analyzer Name: ethereal Version: 0.10.13 -Release: 1.FC4.1 +Release: 1.FC4.2 License: GPL Group: Applications/Internet Source0: http://www.ethereal.com/distribution/%{name}-%{version}.tar.gz @@ -24,7 +24,7 @@ BuildRequires: openssl-devel BuildRequires: glib2-devel, gtk2-devel BuildRequires: elfutils-devel, krb5-devel -BuildRequires: python +BuildRequires: python, pcre-devel %package gnome @@ -158,6 +158,9 @@ %changelog +* Thu Oct 20 2005 Radek Vokal 0.10.13-1.FC4.2 +- fix pcre dependecy + * Thu Oct 20 2005 Radek Vokal 0.10.13-1.FC4.1 - upgrade to 0.10.13 - CAN-2005-3241 Multiple ethereal issues fixed (#171063) From fedora-cvs-commits at redhat.com Thu Oct 20 11:25:16 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 07:25:16 -0400 Subject: rpms/httpd/devel httpd-2.0.52-CAN-2005-1268.patch, NONE, 1.1 httpd-2.0.52-CAN-2005-2088.patch, NONE, 1.1 httpd-2.0.52-CAN-2005-2700.patch, NONE, 1.1 httpd-2.0.52-CAN-2005-2728.patch, NONE, 1.1 httpd-2.0.52-sslbuff.patch, NONE, 1.1 httpd-2.0.54-digest.patch, NONE, 1.1 httpd-2.0.54-include.patch, NONE, 1.1 httpd-2.0.54-ldap.patch, NONE, 1.1 httpd-2.0.54-sslnbio.patch, NONE, 1.1 httpd-2.0.54-sslreneg.patch, NONE, 1.1 httpd-2.0.40-pod.patch, 1.7, 1.8 httpd-2.0.48-davmisc.patch, 1.6, 1.7 httpd-2.0.54-ldapconn.patch, 1.1, 1.2 httpd.spec, 1.74, 1.75 Message-ID: <200510201125.j9KBPG6E014316@cvs.devel.redhat.com> Author: jorton Update of /cvs/dist/rpms/httpd/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv14259 Modified Files: httpd-2.0.40-pod.patch httpd-2.0.48-davmisc.patch httpd-2.0.54-ldapconn.patch httpd.spec Added Files: httpd-2.0.52-CAN-2005-1268.patch httpd-2.0.52-CAN-2005-2088.patch httpd-2.0.52-CAN-2005-2700.patch httpd-2.0.52-CAN-2005-2728.patch httpd-2.0.52-sslbuff.patch httpd-2.0.54-digest.patch httpd-2.0.54-include.patch httpd-2.0.54-ldap.patch httpd-2.0.54-sslnbio.patch httpd-2.0.54-sslreneg.patch Log Message: * Thu Oct 20 2005 Joe Orton 2.0.54-14 - mod_ssl: add security fix for SSLVerifyClient (CVE-2005-2700) - add security fix for byterange filter DoS (CVE-2005-2728) - add security fix for C-L vs T-E handling (CVE-2005-2088) - mod_ssl: add security fix for CRL overflow (CVE-2005-1268) - mod_ldap/mod_auth_ldap: add fixes from 2.0.x branch (upstream #34209 etc) - add fix for dummy connection handling (#167425) - mod_auth_digest: fix hostinfo comparison in CONNECT requests - mod_include: fix variable corruption in nested includes (upstream #12655) - mod_ssl: add fix for handling non-blocking reads - mod_ssl: fix to enable output buffering (upstream #35279) - mod_ssl: buffer request bodies for per-location renegotiation (upstream #12355) httpd-2.0.52-CAN-2005-1268.patch: ssl_engine_kernel.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) --- NEW FILE httpd-2.0.52-CAN-2005-1268.patch --- Merge r179781 from trunk: * modules/ssl/ssl_engine_kernel.c (ssl_callback_SSLVerify_CRL): Fix off-by-one. PR: 35081 Submitted by: Marc Stern Reviewed by: jorton, trawick, pquerna --- 2.0.x/modules/ssl/ssl_engine_kernel.c +++ 2.0.x/modules/ssl/ssl_engine_kernel.c @@ -1398,7 +1398,7 @@ BIO_printf(bio, ", nextUpdate: "); ASN1_UTCTIME_print(bio, X509_CRL_get_nextUpdate(crl)); - n = BIO_read(bio, buff, sizeof(buff)); + n = BIO_read(bio, buff, sizeof(buff) - 1); buff[n] = '\0'; BIO_free(bio); httpd-2.0.52-CAN-2005-2088.patch: modules/proxy/proxy_http.c | 7 +++++++ server/protocol.c | 9 +++++++++ 2 files changed, 16 insertions(+) --- NEW FILE httpd-2.0.52-CAN-2005-2088.patch --- --- httpd-2.0.52/modules/proxy/proxy_http.c.can2088 +++ httpd-2.0.52/modules/proxy/proxy_http.c @@ -390,6 +390,13 @@ int counter, seen_eos; apr_status_t status; + if (apr_table_get(r->headers_in, "Transfer-Encoding")) { + /* Reject chunked requests. */ + ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, + "proxy_http: chunked requests not supported"); + return HTTP_LENGTH_REQUIRED; + } + /* * Send the HTTP/1.1 request to the remote server */ --- httpd-2.0.52/server/protocol.c.can2088 +++ httpd-2.0.52/server/protocol.c @@ -962,6 +962,15 @@ ap_run_log_transaction(r); return r; } + + if (apr_table_get(r->headers_in, "Transfer-Encoding") + && apr_table_get(r->headers_in, "Content-Length")) { + /* 2616 section 4.4, point 3: "if both Transfer-Encoding + * and Content-Length are received, the latter MUST be + * ignored"; so unset it here to prevent any confusion + * later. */ + apr_table_unset(r->headers_in, "Content-Length"); + } } ap_add_input_filter_handle(ap_http_input_filter_handle, httpd-2.0.52-CAN-2005-2700.patch: ssl_engine_kernel.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) --- NEW FILE httpd-2.0.52-CAN-2005-2700.patch --- --- httpd-2.0.52/modules/ssl/ssl_engine_kernel.c.can2700 +++ httpd-2.0.52/modules/ssl/ssl_engine_kernel.c @@ -405,8 +405,8 @@ (!(verify_old & SSL_VERIFY_PEER) && (verify & SSL_VERIFY_PEER)) || - (!(verify_old & SSL_VERIFY_PEER_STRICT) && - (verify & SSL_VERIFY_PEER_STRICT))) + (!(verify_old & SSL_VERIFY_FAIL_IF_NO_PEER_CERT) && + (verify & SSL_VERIFY_FAIL_IF_NO_PEER_CERT))) { renegotiate = TRUE; /* optimization */ httpd-2.0.52-CAN-2005-2728.patch: http_protocol.c | 48 +++++++++++++++++++++--------------------------- 1 files changed, 21 insertions(+), 27 deletions(-) --- NEW FILE httpd-2.0.52-CAN-2005-2728.patch --- --- httpd-2.0.52/modules/http/http_protocol.c.can2728 +++ httpd-2.0.52/modules/http/http_protocol.c @@ -2855,18 +2855,35 @@ #define MIN_LENGTH(len1, len2) ((len1 > len2) ? len2 : len1) request_rec *r = f->r; conn_rec *c = r->connection; - byterange_ctx *ctx = f->ctx; + byterange_ctx *ctx; apr_bucket *e; apr_bucket_brigade *bsend; apr_off_t range_start; apr_off_t range_end; char *current; - apr_off_t bb_length; apr_off_t clength = 0; apr_status_t rv; int found = 0; - if (!ctx) { + /* Iterate through the brigade until reaching EOS or a bucket with + * unknown length. */ + for (e = APR_BRIGADE_FIRST(bb); + (e != APR_BRIGADE_SENTINEL(bb) && !APR_BUCKET_IS_EOS(e) + && e->length != (apr_size_t)-1); + e = APR_BUCKET_NEXT(e)) { + clength += e->length; + } + + /* Don't attempt to do byte range work if this brigade doesn't + * contain an EOS, or if any of the buckets has an unknown length; + * this avoids the cases where it is expensive to perform + * byteranging (i.e. may require arbitrary amounts of memory). */ + if (!APR_BUCKET_IS_EOS(e) || clength <= 0) { + ap_remove_output_filter(f); + return ap_pass_brigade(f->next, bb); + } + + { int num_ranges = ap_set_byterange(r); /* We have nothing to do, get out of the way. */ @@ -2875,7 +2892,7 @@ return ap_pass_brigade(f->next, bb); } - ctx = f->ctx = apr_pcalloc(r->pool, sizeof(*ctx)); + ctx = apr_pcalloc(r->pool, sizeof(*ctx)); ctx->num_ranges = num_ranges; /* create a brigade in case we never call ap_save_brigade() */ ctx->bb = apr_brigade_create(r->pool, c->bucket_alloc); @@ -2902,29 +2919,6 @@ } } - /* We can't actually deal with byte-ranges until we have the whole brigade - * because the byte-ranges can be in any order, and according to the RFC, - * we SHOULD return the data in the same order it was requested. - * - * XXX: We really need to dump all bytes prior to the start of the earliest - * range, and only slurp up to the end of the latest range. By this we - * mean that we should peek-ahead at the lowest first byte of any range, - * and the highest last byte of any range. - */ - if (!APR_BUCKET_IS_EOS(APR_BRIGADE_LAST(bb))) { - ap_save_brigade(f, &ctx->bb, &bb, r->pool); - return APR_SUCCESS; - } - - /* Prepend any earlier saved brigades. */ - APR_BRIGADE_PREPEND(bb, ctx->bb); - - /* It is possible that we won't have a content length yet, so we have to - * compute the length before we can actually do the byterange work. - */ - apr_brigade_length(bb, 1, &bb_length); - clength = (apr_off_t)bb_length; - /* this brigade holds what we will be sending */ bsend = apr_brigade_create(r->pool, c->bucket_alloc); httpd-2.0.52-sslbuff.patch: ssl_engine_io.c | 2 ++ 1 files changed, 2 insertions(+) --- NEW FILE httpd-2.0.52-sslbuff.patch --- Fix to initialize the ->nobuffer field correctly. http://issues.apache.org/bugzilla/show_bug.cgi?id=35279 --- httpd-2.0.52/modules/ssl/ssl_engine_io.c.sslbuff +++ httpd-2.0.52/modules/ssl/ssl_engine_io.c @@ -1404,6 +1405,8 @@ filter_ctx->pbioWrite = BIO_new(&bio_filter_out_method); filter_ctx->pbioWrite->ptr = (void *)bio_filter_out_ctx_new(filter_ctx, c); + filter_ctx->nobuffer = 0; + ssl_io_input_add_filter(filter_ctx, c, ssl); SSL_set_bio(ssl, filter_ctx->pbioRead, filter_ctx->pbioWrite); httpd-2.0.54-digest.patch: mod_auth_digest.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) --- NEW FILE httpd-2.0.54-digest.patch --- --- httpd-2.0.54/modules/aaa/mod_auth_digest.c.digest +++ httpd-2.0.54/modules/aaa/mod_auth_digest.c @@ -1504,6 +1504,8 @@ else { dst->query = src->query; } + + dst->hostinfo = src->hostinfo; } /* These functions return 0 if client is OK, and proper error status @@ -1631,7 +1633,7 @@ } if (r->method_number == M_CONNECT) { - if (strcmp(resp->uri, r_uri.hostinfo)) { + if (!r_uri.hostinfo || strcmp(resp->uri, r_uri.hostinfo)) { ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, "Digest: uri mismatch - <%s> does not match " "request-uri <%s>", resp->uri, r_uri.hostinfo); httpd-2.0.54-include.patch: mod_include.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) --- NEW FILE httpd-2.0.54-include.patch --- http://svn.apache.org/viewcvs?rev=179763&view=rev * modules/filters/mod_include.c (handle_include): Fix possible variable corruption with nested includes. PR: 12655 --- httpd-2.0.54/modules/filters/mod_include.c.include +++ httpd-2.0.54/modules/filters/mod_include.c @@ -788,11 +788,11 @@ CREATE_ERROR_BUCKET(ctx, tmp_buck, head_ptr, *inserted_head); } - - /* destroy the sub request */ - if (rr != NULL) { - ap_destroy_sub_req(rr); - } + + /* Do *not* destroy the subrequest here; it may have allocated + * variables in this r->subprocess_env in the subrequest's + * r->pool, so that pool must survive as long as this request. + * Yes, this is a memory leak. */ } else { ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, httpd-2.0.54-ldap.patch: mod_auth_ldap.c | 27 +++++++++++++++++++++++++++ util_ldap.c | 19 +++++++++++++++++-- util_ldap_cache.c | 16 ++++++++++++++-- util_ldap_cache_mgr.c | 9 ++++++++- 4 files changed, 66 insertions(+), 5 deletions(-) --- NEW FILE httpd-2.0.54-ldap.patch --- LDAP fixes from 2.0.55. --- httpd-2.0.54/modules/experimental/util_ldap.c.ldap +++ httpd-2.0.54/modules/experimental/util_ldap.c @@ -43,6 +43,11 @@ #error mod_ldap requires APR-util to have LDAP support built in #endif +#if !defined(OS2) && !defined(WIN32) && !defined(BEOS) && !defined(NETWARE) +#include "unixd.h" +#define UTIL_LDAP_SET_MUTEX_PERMS +#endif + /* defines for certificate file types */ #define LDAP_CA_TYPE_UNKNOWN 0 @@ -1466,6 +1471,15 @@ return result; } +#ifdef UTIL_LDAP_SET_MUTEX_PERMS + result = unixd_set_global_mutex_perms(st->util_ldap_cache_lock); + if (result != APR_SUCCESS) { + ap_log_error(APLOG_MARK, APLOG_CRIT, result, s, + "LDAP cache: failed to set mutex permissions"); + return result; + } +#endif + /* merge config in all vhost */ s_vhost = s->next; while (s_vhost) { @@ -1650,8 +1664,9 @@ static void util_ldap_child_init(apr_pool_t *p, server_rec *s) { apr_status_t sts; - util_ldap_state_t *st = - (util_ldap_state_t *)ap_get_module_config(s->module_config, &ldap_module); + util_ldap_state_t *st = ap_get_module_config(s->module_config, &ldap_module); + + if (!st->util_ldap_cache_lock) return; sts = apr_global_mutex_child_init(&st->util_ldap_cache_lock, st->lock_file, p); if (sts != APR_SUCCESS) { --- httpd-2.0.54/modules/experimental/util_ldap_cache.c.ldap +++ httpd-2.0.54/modules/experimental/util_ldap_cache.c @@ -397,14 +397,26 @@ { #if APR_HAS_SHARED_MEMORY apr_status_t result; + apr_size_t size; - result = apr_shm_create(&st->cache_shm, st->cache_bytes, NULL, st->pool); + size = APR_ALIGN_DEFAULT(st->cache_bytes); + + result = apr_shm_create(&st->cache_shm, size, NULL, st->pool); if (result != APR_SUCCESS) { return result; } + /* Determine the usable size of the shm segment. */ + size = apr_shm_size_get(st->cache_shm); + /* This will create a rmm "handler" to get into the shared memory area */ - apr_rmm_init(&st->cache_rmm, NULL, (void *)apr_shm_baseaddr_get(st->cache_shm), st->cache_bytes, st->pool); + result = apr_rmm_init(&st->cache_rmm, NULL, + apr_shm_baseaddr_get(st->cache_shm), size, + st->pool); + if (result != APR_SUCCESS) { + return result; + } + #endif apr_pool_cleanup_register(st->pool, st , util_ldap_cache_module_kill, apr_pool_cleanup_null); --- httpd-2.0.54/modules/experimental/util_ldap_cache_mgr.c.ldap +++ httpd-2.0.54/modules/experimental/util_ldap_cache_mgr.c @@ -402,11 +402,18 @@ return NULL; } + /* Take a copy of the payload before proceeeding. */ + payload = (*cache->copy)(cache, payload); + if (!payload) { + util_ald_free(cache, node); + return NULL; + } + /* populate the entry */ cache->inserts++; hashval = (*cache->hash)(payload) % cache->size; node->add_time = apr_time_now(); - node->payload = (*cache->copy)(cache, payload); + node->payload = payload; node->next = cache->nodes[hashval]; cache->nodes[hashval] = node; --- httpd-2.0.54/modules/experimental/mod_auth_ldap.c.ldap +++ httpd-2.0.54/modules/experimental/mod_auth_ldap.c @@ -460,6 +460,26 @@ return DECLINED; } + /* + * It is possible that we've skipped mod_auth_ldap's + * check_user_id hook, but still get here. In that + * case, the req request_config struct hasn't been initialized + * causing problems when we try to use req->dn and/or req->name + * below. So we simply create one. + * + * Unlike 2.2, we don't try to search or populate it. + */ + if (!req) { + ap_log_rerror(APLOG_MARK, APLOG_WARNING|APLOG_NOERRNO, 0, r, + "[%d] auth_ldap authorise: " + "no req struct - skipped mod_auth_ldap_check_user_id?", + getpid()); + + req = (mod_auth_ldap_request_t *)apr_pcalloc(r->pool, + sizeof(mod_auth_ldap_request_t)); + ap_set_module_config(r->request_config, &auth_ldap_module, req); + } + if (sec->host) { ldc = util_ldap_connection_find(r, sec->host, sec->port, sec->binddn, sec->bindpw, sec->deref, @@ -657,6 +677,13 @@ } } else if (strcmp(w, "ldap-attribute") == 0) { + if (req->dn == NULL || strlen(req->dn) == 0) { + ap_log_rerror(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, r, + "[%d] auth_ldap authorise: " + "require ldap-attribute: user's DN has not been defined; failing authorisation", + getpid()); + return sec->auth_authoritative? HTTP_UNAUTHORIZED : DECLINED; + } while (t[0]) { w = ap_getword(r->pool, &t, '='); value = ap_getword_conf(r->pool, &t); httpd-2.0.54-sslnbio.patch: ssl_engine_io.c | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) --- NEW FILE httpd-2.0.54-sslnbio.patch --- --- httpd-2.0.54/modules/ssl/ssl_engine_io.c.sslnbio +++ httpd-2.0.54/modules/ssl/ssl_engine_io.c @@ -491,12 +491,14 @@ AP_MODE_READBYTES, block, inl); - /* Not a problem, there was simply no data ready yet. - */ + /* If the read returns EAGAIN or success with an empty + * brigade, return an error after setting the retry flag; + * SSL_read() will then return -1, and SSL_get_error() will + * indicate SSL_ERROR_WANT_READ. */ if (APR_STATUS_IS_EAGAIN(inctx->rc) || APR_STATUS_IS_EINTR(inctx->rc) || (inctx->rc == APR_SUCCESS && APR_BRIGADE_EMPTY(inctx->bb))) { BIO_set_retry_read(bio); - return 0; + return -1; } if (inctx->rc != APR_SUCCESS) { httpd-2.0.54-sslreneg.patch: ssl_engine_io.c | 178 ++++++++++++++++++++++++++++++++++++++++++++++++++++ ssl_engine_kernel.c | 98 ++++++++-------------------- ssl_private.h | 4 + 3 files changed, 212 insertions(+), 68 deletions(-) --- NEW FILE httpd-2.0.54-sslreneg.patch --- --- httpd-2.0.54/modules/ssl/ssl_engine_io.c.sslreneg +++ httpd-2.0.54/modules/ssl/ssl_engine_io.c @@ -882,6 +882,7 @@ } static const char ssl_io_filter[] = "SSL/TLS Filter"; +static const char ssl_io_buffer[] = "SSL/TLS Buffer"; /* * Close the SSL part of the socket connection @@ -1375,6 +1376,180 @@ return status; } +/* 128K maximum buffer size by default. */ +#ifndef SSL_MAX_IO_BUFFER +#define SSL_MAX_IO_BUFFER (128 * 1024) +#endif + +struct modssl_buffer_ctx { + apr_bucket_brigade *bb; +}; + +int ssl_io_buffer_fill(request_rec *r) +{ + conn_rec *c = r->connection; + struct modssl_buffer_ctx *ctx; + apr_bucket_brigade *tempb; + apr_off_t total = 0; /* total length buffered */ + int eos = 0; /* non-zero once EOS is seen */ + + /* Create the context which will be passed to the input filter. */ + ctx = apr_palloc(r->pool, sizeof *ctx); + ctx->bb = apr_brigade_create(r->pool, c->bucket_alloc); + + /* ... and a temporary brigade. */ + tempb = apr_brigade_create(r->pool, c->bucket_alloc); + + ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, "filling buffer"); + + do { + apr_status_t rv; + apr_bucket *e, *next; + + /* The request body is read from the protocol-level input + * filters; the buffering filter will reinject it from that + * level, allowing content/resource filters to run later, if + * necessary. */ + + rv = ap_get_brigade(r->proto_input_filters, tempb, AP_MODE_READBYTES, + APR_BLOCK_READ, 8192); + if (rv) { + ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, + "could not read request body for SSL buffer"); + return HTTP_INTERNAL_SERVER_ERROR; + } + + /* Iterate through the returned brigade: setaside each bucket + * into the context's pool and move it into the brigade. */ + for (e = APR_BRIGADE_FIRST(tempb); + e != APR_BRIGADE_SENTINEL(tempb) && !eos; e = next) { + const char *data; + apr_size_t len; + + next = APR_BUCKET_NEXT(e); + + if (APR_BUCKET_IS_EOS(e)) { + eos = 1; + } else if (!APR_BUCKET_IS_METADATA(e)) { + rv = apr_bucket_read(e, &data, &len, APR_BLOCK_READ); + if (rv != APR_SUCCESS) { + ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, + "could not read bucket for SSL buffer"); + return HTTP_INTERNAL_SERVER_ERROR; + } + total += len; + } + + rv = apr_bucket_setaside(e, r->pool); + if (rv != APR_SUCCESS) { + ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, + "could not setaside bucket for SSL buffer"); + return HTTP_INTERNAL_SERVER_ERROR; + } + + APR_BUCKET_REMOVE(e); + APR_BRIGADE_INSERT_TAIL(ctx->bb, e); + } + + ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, + "total of %" APR_OFF_T_FMT " bytes in buffer, eos=%d", + total, eos); + + /* Fail if this exceeds the maximum buffer size. */ + if (total > SSL_MAX_IO_BUFFER) { + ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, + "request body exceeds maximum size for SSL buffer"); + return HTTP_REQUEST_ENTITY_TOO_LARGE; + } + + } while (!eos); + + apr_brigade_destroy(tempb); + + /* Insert the filter which will supply the buffered data. */ + ap_add_input_filter(ssl_io_buffer, ctx, r, c); + + return 0; +} + +/* This input filter supplies the buffered request body to the caller + * from the brigade stored in f->ctx. */ +static apr_status_t ssl_io_filter_buffer(ap_filter_t *f, + apr_bucket_brigade *bb, + ap_input_mode_t mode, + apr_read_type_e block, + apr_off_t bytes) +{ + struct modssl_buffer_ctx *ctx = f->ctx; + apr_status_t rv; + + ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, f->r, + "read from buffered SSL brigade, mode %d, " + "%" APR_OFF_T_FMT " bytes", + mode, bytes); + + if (mode != AP_MODE_READBYTES && mode != AP_MODE_GETLINE) { + return APR_ENOTIMPL; + } + + if (mode == AP_MODE_READBYTES) { + apr_bucket *e; + + /* Partition the buffered brigade. */ + rv = apr_brigade_partition(ctx->bb, bytes, &e); + if (rv && rv != APR_INCOMPLETE) { + ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, f->r, + "could not partition buffered SSL brigade"); + ap_remove_input_filter(f); + return rv; + } + + /* If the buffered brigade contains less then the requested + * length, just pass it all back. */ + if (rv == APR_INCOMPLETE) { + APR_BRIGADE_CONCAT(bb, ctx->bb); + } else { + apr_bucket *d = APR_BRIGADE_FIRST(ctx->bb); + + e = APR_BUCKET_PREV(e); + + /* Unsplice the partitioned segment and move it into the + * passed-in brigade; no convenient way to do this with + * the APR_BRIGADE_* macros. */ + APR_RING_UNSPLICE(d, e, link); + APR_RING_SPLICE_HEAD(&bb->list, d, e, apr_bucket, link); + } + } + else { + /* Split a line into the passed-in brigade. */ + rv = apr_brigade_split_line(bb, ctx->bb, mode, bytes); + + if (rv) { + ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, f->r, + "could not split line from buffered SSL brigade"); + ap_remove_input_filter(f); + return rv; + } + } + + if (APR_BRIGADE_EMPTY(ctx->bb)) { + apr_bucket *e = APR_BRIGADE_LAST(bb); + + /* Ensure that the brigade is terminated by an EOS if the + * buffered request body has been entirely consumed. */ + if (e == APR_BRIGADE_SENTINEL(bb) || !APR_BUCKET_IS_EOS(e)) { + e = apr_bucket_eos_create(f->c->bucket_alloc); + APR_BRIGADE_INSERT_TAIL(bb, e); + } + + ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, f->r, + "buffered SSL brigade now exhausted; removing filter"); + ap_remove_input_filter(f); + } + + return APR_SUCCESS; +} + static void ssl_io_input_add_filter(ssl_filter_ctx_t *filter_ctx, conn_rec *c, SSL *ssl) { @@ -1433,6 +1608,9 @@ { ap_register_input_filter (ssl_io_filter, ssl_io_filter_input, NULL, AP_FTYPE_CONNECTION + 5); ap_register_output_filter (ssl_io_filter, ssl_io_filter_output, NULL, AP_FTYPE_CONNECTION + 5); + + ap_register_input_filter (ssl_io_buffer, ssl_io_filter_buffer, NULL, AP_FTYPE_PROTOCOL - 1); + return; } --- httpd-2.0.54/modules/ssl/ssl_engine_kernel.c.sslreneg +++ httpd-2.0.54/modules/ssl/ssl_engine_kernel.c @@ -480,74 +480,36 @@ } #endif /* HAVE_SSL_SET_CERT_STORE */ - /* - * SSL renegotiations in conjunction with HTTP - * requests using the POST method are not supported. - * - * Background: - * - * 1. When the client sends a HTTP/HTTPS request, Apache's core code - * reads only the request line ("METHOD /path HTTP/x.y") and the - * attached MIME headers ("Foo: bar") up to the terminating line ("CR - * LF"). An attached request body (for instance the data of a POST - * method) is _NOT_ read. Instead it is read by mod_cgi's content - * handler and directly passed to the CGI script. - * - * 2. mod_ssl supports per-directory re-configuration of SSL parameters. - * This is implemented by performing an SSL renegotiation of the - * re-configured parameters after the request is read, but before the - * response is sent. In more detail: the renegotiation happens after the - * request line and MIME headers were read, but _before_ the attached - * request body is read. The reason simply is that in the HTTP protocol - * usually there is no acknowledgment step between the headers and the - * body (there is the 100-continue feature and the chunking facility - * only), so Apache has no API hook for this step. - * - * 3. the problem now occurs when the client sends a POST request for - * URL /foo via HTTPS the server and the server has SSL parameters - * re-configured on a per-URL basis for /foo. Then mod_ssl has to - * perform an SSL renegotiation after the request was read and before - * the response is sent. But the problem is the pending POST body data - * in the receive buffer of SSL (which Apache still has not read - it's - * pending until mod_cgi sucks it in). When mod_ssl now tries to perform - * the renegotiation the pending data leads to an I/O error. - * - * Solution Idea: - * - * There are only two solutions: Either to simply state that POST - * requests to URLs with SSL re-configurations are not allowed, or to - * renegotiate really after the _complete_ request (i.e. including - * the POST body) was read. Obviously the latter would be preferred, - * but it cannot be done easily inside Apache, because as already - * mentioned, there is no API step between the body reading and the body - * processing. And even when we mod_ssl would hook directly into the - * loop of mod_cgi, we wouldn't solve the problem for other handlers, of - * course. So the only general solution is to suck in the pending data - * of the request body from the OpenSSL BIO into the Apache BUFF. Then - * the renegotiation can be done and after this step Apache can proceed - * processing the request as before. - * - * Solution Implementation: - * - * We cannot simply suck in the data via an SSL_read-based loop because of - * HTTP chunking. Instead we _have_ to use the Apache API for this step which - * is aware of HTTP chunking. So the trick is to suck in the pending request - * data via the Apache API (which uses Apache's BUFF code and in the - * background mod_ssl's I/O glue code) and re-inject it later into the Apache - * BUFF code again. This way the data flows twice through the Apache BUFF, of - * course. But this way the solution doesn't depend on any Apache specifics - * and is fully transparent to Apache modules. - * - * !! BUT ALL THIS IS STILL NOT RE-IMPLEMENTED FOR APACHE 2.0 !! - */ - if (renegotiate && !renegotiate_quick && (r->method_number == M_POST)) { - ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server, - "SSL Re-negotiation in conjunction " - "with POST method not supported! " - "hint: try SSLOptions +OptRenegotiate"); - - return HTTP_METHOD_NOT_ALLOWED; - } + /* If a renegotiation is now required for this location, and the + * request includes a message body (and the client has not + * requested a "100 Continue" response), then the client will be + * streaming the request body over the wire already. In that + * case, it is not possible to stop and perform a new SSL + * handshake immediately; once the SSL library moves to the + * "accept" state, it will reject the SSL packets which the client + * is sending for the request body. + * + * To allow authentication to complete in this auth hook, the + * solution used here is to fill a (bounded) buffer with the + * request body, and then to reinject that request body later. + */ + if (renegotiate && !renegotiate_quick + && (apr_table_get(r->headers_in, "transfer-encoding") + || (apr_table_get(r->headers_in, "content-length") + && strcmp(apr_table_get(r->headers_in, "content-length"), "0"))) + && !r->expecting_100) { + int rv; + + /* Fill the I/O buffer with the request body if possible. */ + rv = ssl_io_buffer_fill(r); + + if (rv) { + ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, + "could not buffer message body to allow " + "SSL renegotiation to proceed"); + return rv; + } + } /* * now do the renegotiation if anything was actually reconfigured --- httpd-2.0.54/modules/ssl/ssl_private.h.sslreneg +++ httpd-2.0.54/modules/ssl/ssl_private.h @@ -708,6 +708,10 @@ void ssl_io_filter_register(apr_pool_t *); long ssl_io_data_cb(BIO *, int, MODSSL_BIO_CB_ARG_TYPE *, int, long, long); +/* ssl_io_buffer_fill fills the setaside buffering of the HTTP request + * to allow an SSL renegotiation to take place. */ +int ssl_io_buffer_fill(request_rec *r); + /* PRNG */ int ssl_rand_seed(server_rec *, apr_pool_t *, ssl_rsctx_t, char *); httpd-2.0.40-pod.patch: mpm_common.c | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) Index: httpd-2.0.40-pod.patch =================================================================== RCS file: /cvs/dist/rpms/httpd/devel/httpd-2.0.40-pod.patch,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- httpd-2.0.40-pod.patch 18 Apr 2005 08:10:30 -0000 1.7 +++ httpd-2.0.40-pod.patch 20 Oct 2005 11:25:12 -0000 1.8 @@ -41,3 +41,12 @@ if (rv != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_WARNING, rv, ap_server_conf, "get socket to connect to listener"); +@@ -561,7 +567,7 @@ + return rv; + } + +- rv = apr_connect(sock, ap_listeners->bind_addr); ++ rv = apr_connect(sock, lr->bind_addr); + if (rv != APR_SUCCESS) { + int log_level = APLOG_WARNING; + httpd-2.0.48-davmisc.patch: repos.c | 30 ++++++++++++++++++++++++++++-- 1 files changed, 28 insertions(+), 2 deletions(-) Index: httpd-2.0.48-davmisc.patch =================================================================== RCS file: /cvs/dist/rpms/httpd/devel/httpd-2.0.48-davmisc.patch,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- httpd-2.0.48-davmisc.patch 26 Jul 2005 12:07:19 -0000 1.6 +++ httpd-2.0.48-davmisc.patch 20 Oct 2005 11:25:12 -0000 1.7 @@ -31,7 +31,6 @@ + /* Determine permissions to use for destination */ + if (src_finfo && src_finfo->valid & APR_FINFO_PROT + && src_finfo->protection & APR_UEXECUTE) { -+ perms = src_finfo->protection; + if (dst_finfo != NULL) { + /* chmod it if it already exist */ + if (apr_file_perms_set(dst, perms)) { @@ -39,6 +38,7 @@ + "Could not set permissions on destination"); + } + } ++ perms = src_finfo->protection; + } + else { + perms = APR_OS_DEFAULT; httpd-2.0.54-ldapconn.patch: util_ldap.c | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) Index: httpd-2.0.54-ldapconn.patch =================================================================== RCS file: /cvs/dist/rpms/httpd/devel/httpd-2.0.54-ldapconn.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- httpd-2.0.54-ldapconn.patch 4 May 2005 14:06:31 -0000 1.1 +++ httpd-2.0.54-ldapconn.patch 20 Oct 2005 11:25:12 -0000 1.2 @@ -19,7 +19,7 @@ + } + + if (st->connectionTimeout >= 0) { -+ rc = ldap_set_option(NULL, LDAP_OPT_NETWORK_TIMEOUT, (void *)&timeOut); ++ rc = ldap_set_option(ldc->ldap, LDAP_OPT_NETWORK_TIMEOUT, (void *)&timeOut); + if (APR_SUCCESS != rc) { + ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server, + "LDAP: Could not set the connection timeout" ); Index: httpd.spec =================================================================== RCS file: /cvs/dist/rpms/httpd/devel/httpd.spec,v retrieving revision 1.74 retrieving revision 1.75 diff -u -r1.74 -r1.75 --- httpd.spec 15 Sep 2005 14:17:47 -0000 1.74 +++ httpd.spec 20 Oct 2005 11:25:12 -0000 1.75 @@ -7,7 +7,7 @@ Summary: Apache HTTP Server Name: httpd Version: 2.0.54 -Release: 13 +Release: 14 URL: http://httpd.apache.org/ Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz Source1: index.html @@ -50,6 +50,12 @@ Patch33: httpd-2.0.54-ldapconn.patch Patch34: httpd-2.0.52-pipedlog1.patch Patch35: httpd-2.0.52-pipedlog2.patch +Patch36: httpd-2.0.52-sslbuff.patch +Patch37: httpd-2.0.54-include.patch +Patch38: httpd-2.0.54-digest.patch +Patch39: httpd-2.0.54-ldap.patch +Patch40: httpd-2.0.54-sslnbio.patch +Patch41: httpd-2.0.54-sslreneg.patch # Features/functional changes Patch70: httpd-2.0.48-release.patch Patch71: httpd-2.0.40-xfsz.patch @@ -69,6 +75,11 @@ Patch90: httpd-2.0.49-workerstack.patch Patch91: httpd-2.0.46-testhook.patch Patch92: httpd-2.0.46-dumpcerts.patch +# Security fixes +Patch110: httpd-2.0.52-CAN-2005-1268.patch +Patch111: httpd-2.0.52-CAN-2005-2088.patch +Patch112: httpd-2.0.52-CAN-2005-2700.patch +Patch113: httpd-2.0.52-CAN-2005-2728.patch License: Apache Software License Group: System Environment/Daemons BuildRoot: %{_tmppath}/%{name}-root @@ -158,6 +169,11 @@ %patch33 -p1 -b .ldapconn %patch34 -p1 -b .pipedlog1 %patch35 -p1 -b .pipedlog2 +%patch36 -p1 -b .sslbuff +%patch37 -p1 -b .include +%patch38 -p1 -b .digest +%patch39 -p1 -b .ldap +%patch40 -p1 -b .sslnbio %patch71 -p0 -b .xfsz %patch72 -p1 -b .pod @@ -177,6 +193,13 @@ %patch91 -p1 -b .testhook %patch92 -p1 -b .dumpcerts +%patch41 -p1 -b .sslreneg + +%patch110 -p1 -b .can1268 +%patch111 -p1 -b .can2088 +%patch112 -p1 -b .can2700 +%patch113 -p1 -b .can2728 + # Patch in vendor/release string sed "s/@RELEASE@/%{vstring}/" < %{PATCH70} | patch -p1 @@ -542,6 +565,19 @@ %{_libdir}/httpd/build/libtool %changelog +* Thu Oct 20 2005 Joe Orton 2.0.54-14 +- mod_ssl: add security fix for SSLVerifyClient (CVE-2005-2700) +- add security fix for byterange filter DoS (CVE-2005-2728) +- add security fix for C-L vs T-E handling (CVE-2005-2088) +- mod_ssl: add security fix for CRL overflow (CVE-2005-1268) +- mod_ldap/mod_auth_ldap: add fixes from 2.0.x branch (upstream #34209 etc) +- add fix for dummy connection handling (#167425) +- mod_auth_digest: fix hostinfo comparison in CONNECT requests +- mod_include: fix variable corruption in nested includes (upstream #12655) +- mod_ssl: add fix for handling non-blocking reads +- mod_ssl: fix to enable output buffering (upstream #35279) +- mod_ssl: buffer request bodies for per-location renegotiation (upstream #12355) + * Sat Aug 13 2005 Joe Orton 2.0.54-13 - don't load by default: mod_cern_meta, mod_asis - do load by default: mod_ext_filter (#165893) From fedora-cvs-commits at redhat.com Thu Oct 20 11:34:12 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 07:34:12 -0400 Subject: rpms/ghostscript/FC-4 ghostscript-overflow.patch, NONE, 1.1 ghostscript.spec, 1.58, 1.59 Message-ID: <200510201134.j9KBYCql016925@cvs.devel.redhat.com> Author: twaugh Update of /cvs/dist/rpms/ghostscript/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv16906 Modified Files: ghostscript.spec Added Files: ghostscript-overflow.patch Log Message: * Thu Oct 20 2005 Tim Waugh - Fix lips4v driver (bug #171264). ghostscript-overflow.patch: gdevl4v.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) --- NEW FILE ghostscript-overflow.patch --- --- ghostscript-7.07/src/gdevl4v.c.overflow 2005-10-20 12:10:40.000000000 +0100 +++ ghostscript-7.07/src/gdevl4v.c 2005-10-20 12:15:08.000000000 +0100 @@ -646,7 +646,7 @@ int width = pdev->MediaSize[0]; int height = pdev->MediaSize[1]; int paper_size, x0, y0; - char dpi_char[3], unit[12]; + char dpi_char[6], unit[12]; char duplex_char[6], tumble_char[6], toner_d[26], toner_s[5], nup_char[10]; char username[6 + LIPS_USERNAME_MAX], feedmode[5], paper[16], faceup_char[256]; bool dup = pdev->Duplex; Index: ghostscript.spec =================================================================== RCS file: /cvs/dist/rpms/ghostscript/FC-4/ghostscript.spec,v retrieving revision 1.58 retrieving revision 1.59 diff -u -r1.58 -r1.59 --- ghostscript.spec 10 Mar 2005 18:06:45 -0000 1.58 +++ ghostscript.spec 20 Oct 2005 11:33:57 -0000 1.59 @@ -83,6 +83,7 @@ Patch52: ghostscript-7.07-mixedman.patch Patch53: ghostscript-gcc4.patch Patch54: ghostscript-noopt.patch +Patch55: ghostscript-overflow.patch Requires: zlib, libpng, glib2 Requires: urw-fonts >= 1.1, ghostscript-fonts @@ -505,6 +506,7 @@ %patch52 -p1 %patch53 -p1 -b .gcc4 %patch54 -p1 -b .noopt +%patch55 -p1 -b .overflow for i in man/de/*.1; do from8859_1 "$i"; done %build @@ -604,6 +606,9 @@ %postun -p /sbin/ldconfig %changelog +* Thu Oct 20 2005 Tim Waugh +- Fix lips4v driver (bug #171264). + * Thu Mar 10 2005 Tim Waugh 7.07-40 - Build igcref.c with -O0 to work around bug #150771. From fedora-cvs-commits at redhat.com Thu Oct 20 11:37:11 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 07:37:11 -0400 Subject: rpms/ghostscript/FC-4 ghostscript.spec,1.59,1.60 Message-ID: <200510201137.j9KBbBTt017338@cvs.devel.redhat.com> Author: twaugh Update of /cvs/dist/rpms/ghostscript/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv17319 Modified Files: ghostscript.spec Log Message: 7.07-41 Index: ghostscript.spec =================================================================== RCS file: /cvs/dist/rpms/ghostscript/FC-4/ghostscript.spec,v retrieving revision 1.59 retrieving revision 1.60 diff -u -r1.59 -r1.60 --- ghostscript.spec 20 Oct 2005 11:33:57 -0000 1.59 +++ ghostscript.spec 20 Oct 2005 11:37:08 -0000 1.60 @@ -8,7 +8,7 @@ # Set this to '1' for fontconfig support. %define use_fontconfig 0 -Release: 40 +Release: 41 License: GPL URL: http://www.ghostscript.com/doc/gnu/ @@ -606,7 +606,7 @@ %postun -p /sbin/ldconfig %changelog -* Thu Oct 20 2005 Tim Waugh +* Thu Oct 20 2005 Tim Waugh 7.07-41 - Fix lips4v driver (bug #171264). * Thu Mar 10 2005 Tim Waugh 7.07-40 From fedora-cvs-commits at redhat.com Thu Oct 20 12:05:48 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 08:05:48 -0400 Subject: rpms/apr-util/devel apr-util.spec,1.15,1.16 Message-ID: <200510201205.j9KC5mlV027053@cvs.devel.redhat.com> Author: jorton Update of /cvs/dist/rpms/apr-util/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv27000 Modified Files: apr-util.spec Log Message: * Thu Oct 20 2005 Joe Orton 0.9.7-3 - fix epoch again Index: apr-util.spec =================================================================== RCS file: /cvs/dist/rpms/apr-util/devel/apr-util.spec,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- apr-util.spec 20 Oct 2005 09:06:59 -0000 1.15 +++ apr-util.spec 20 Oct 2005 12:05:18 -0000 1.16 @@ -4,7 +4,7 @@ Summary: Apache Portable Runtime Utility library Name: apr-util Version: 0.9.7 -Release: 2 +Release: 3 License: Apache Software License Group: System Environment/Libraries URL: http://apr.apache.org/ @@ -24,7 +24,7 @@ %package devel Group: Development/Libraries Summary: APR utility library development kit -Requires: apr-util = %{epoch}:%{version}-%{release}, apr-devel +Requires: apr-util = %{version}-%{release}, apr-devel Requires: openldap-devel, db4-devel, expat-devel Conflicts: subversion-devel < 0.20.1-2 @@ -90,6 +90,9 @@ %doc --parents html %changelog +* Thu Oct 20 2005 Joe Orton 0.9.7-3 +- fix epoch again + * Thu Oct 20 2005 Joe Orton 0.9.7-2 - update to 0.9.7 - drop static libs (#170051) From fedora-cvs-commits at redhat.com Thu Oct 20 12:57:17 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 08:57:17 -0400 Subject: rpms/selinux-policy-targeted/FC-4 policy-20050916.patch, 1.11, 1.12 selinux-policy-targeted.spec, 1.344, 1.345 Message-ID: <200510201257.j9KCvHuU013948@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-targeted/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv13894 Modified Files: policy-20050916.patch selinux-policy-targeted.spec Log Message: * Wed Oct 19 2005 Dan Walsh 1.27.1-2.9 - Fix mysql - Add spamd.te policy-20050916.patch: Makefile | 24 +- attrib.te | 96 ++++++++++- domains/misc/kernel.te | 2 domains/program/crond.te | 2 domains/program/fsadm.te | 7 domains/program/hostname.te | 2 domains/program/ifconfig.te | 5 domains/program/initrc.te | 20 ++ domains/program/ldconfig.te | 3 domains/program/load_policy.te | 7 domains/program/login.te | 21 +- domains/program/modutil.te | 14 - domains/program/mount.te | 6 domains/program/netutils.te | 3 domains/program/newrole.te | 4 domains/program/passwd.te | 1 domains/program/restorecon.te | 3 domains/program/setfiles.te | 4 domains/program/ssh.te | 6 domains/program/su.te | 9 + domains/program/syslogd.te | 6 domains/program/unused/NetworkManager.te | 8 domains/program/unused/alsa.te | 2 domains/program/unused/amanda.te | 74 ++------ domains/program/unused/anaconda.te | 5 domains/program/unused/apache.te | 22 +- domains/program/unused/apmd.te | 19 ++ domains/program/unused/auditd.te | 2 domains/program/unused/automount.te | 4 domains/program/unused/bluetooth.te | 72 ++++++++ domains/program/unused/cups.te | 18 +- domains/program/unused/cvs.te | 3 domains/program/unused/cyrus.te | 2 domains/program/unused/dbusd.te | 4 domains/program/unused/dcc.te | 5 domains/program/unused/dhcpc.te | 7 domains/program/unused/dhcpd.te | 3 domains/program/unused/dovecot.te | 4 domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/hwclock.te | 2 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 5 domains/program/unused/mta.te | 8 domains/program/unused/mysqld.te | 10 - domains/program/unused/named.te | 29 ++- domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 10 - domains/program/unused/openct.te | 16 + domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 37 ++++ domains/program/unused/ping.te | 3 domains/program/unused/postfix.te | 57 ++++-- domains/program/unused/pppd.te | 8 domains/program/unused/procmail.te | 11 + domains/program/unused/readahead.te | 21 ++ domains/program/unused/rlogind.te | 4 domains/program/unused/roundup.te | 29 +++ domains/program/unused/rpcd.te | 18 +- domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 12 + domains/program/unused/snmpd.te | 6 domains/program/unused/squid.te | 3 domains/program/unused/udev.te | 10 - domains/program/unused/utempter.te | 2 domains/program/unused/webalizer.te | 3 domains/program/unused/winbind.te | 1 domains/program/unused/xdm.te | 3 domains/program/unused/yppasswdd.te | 40 ++++ domains/program/unused/ypserv.te | 1 domains/program/useradd.te | 5 file_contexts/distros.fc | 2 file_contexts/program/apache.fc | 2 file_contexts/program/bluetooth.fc | 3 file_contexts/program/dhcpc.fc | 2 file_contexts/program/dhcpd.fc | 5 file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 11 - file_contexts/program/ipsec.fc | 1 file_contexts/program/openct.fc | 2 file_contexts/program/pegasus.fc | 11 + file_contexts/program/pppd.fc | 2 file_contexts/program/readahead.fc | 1 file_contexts/program/roundup.fc | 2 file_contexts/program/rpm.fc | 4 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/xdm.fc | 2 file_contexts/program/yppasswdd.fc | 2 file_contexts/program/ypserv.fc | 1 file_contexts/types.fc | 4 genfs_contexts | 3 macros/base_user_macros.te | 6 macros/core_macros.te | 3 macros/global_macros.te | 18 +- macros/network_macros.te | 17 + macros/program/apache_macros.te | 13 + macros/program/bonobo_macros.te | 2 macros/program/cdrecord_macros.te | 2 macros/program/crontab_macros.te | 2 macros/program/dbusd_macros.te | 4 macros/program/gconf_macros.te | 2 macros/program/gift_macros.te | 2 macros/program/gpg_macros.te | 2 macros/program/i18n_input_macros.te | 21 ++ macros/program/lpr_macros.te | 2 macros/program/mta_macros.te | 4 macros/program/newrole_macros.te | 2 macros/program/pyzor_macros.te | 2 macros/program/razor_macros.te | 2 macros/program/su_macros.te | 4 macros/program/uml_macros.te | 2 macros/program/xdm_macros.te | 2 macros/user_macros.te | 6 man/man8/ftpd_selinux.8 | 19 +- man/man8/httpd_selinux.8 | 9 + man/man8/rsync_selinux.8 | 12 + man/man8/samba_selinux.8 | 9 + mcs | 210 +++++++++--------------- mls | 270 +++++++++++-------------------- net_contexts | 8 targeted/appconfig/root_default_contexts | 4 targeted/assert.te | 2 targeted/domains/program/ssh.te | 3 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 15 + tunables/distro.tun | 2 tunables/tunable.tun | 4 types/device.te | 4 types/devpts.te | 4 types/file.te | 18 +- types/network.te | 13 - types/security.te | 5 135 files changed, 1108 insertions(+), 575 deletions(-) Index: policy-20050916.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/FC-4/policy-20050916.patch,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- policy-20050916.patch 18 Oct 2005 18:22:53 -0000 1.11 +++ policy-20050916.patch 20 Oct 2005 12:57:10 -0000 1.12 @@ -1,57 +1,145 @@ diff --exclude-from=exclude -N -u -r nsapolicy/attrib.te policy-1.27.1/attrib.te --- nsapolicy/attrib.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/attrib.te 2005-10-17 15:43:08.000000000 -0400 -@@ -17,17 +17,49 @@ ++++ policy-1.27.1/attrib.te 2005-10-20 08:55:14.000000000 -0400 +@@ -8,51 +8,130 @@ + # explicitly declared here, and can then be associated with particular + # types in type declarations. Attribute names can then be used throughout + # the configuration to express the set of types that are associated with +-# the attribute. Except for the MLS attributes, attributes have no implicit +-# meaning to SELinux. The meaning of all other attributes are completely +-# defined through their usage within the configuration, but should be +-# documented here as comments preceding the attribute declaration. ++# the attribute. Attributes have no implicit meaning to SELinux. The ++# meaning of all attributes are completely defined through their ++# usage within the configuration, but should be documented here as ++# comments preceding the attribute declaration. + + ##################### # Attributes for MLS: # -+# Read files and search directories that have a classification higher than -+# subject clearance - attribute mlsfileread; ++# Common Terminology ++# MLS Range: low-high ++# low referred to as "Effective Sensitivity Label (SL)" ++# high referred to as "Clearance SL" + -+# Read files and search directories with a classification higher than the -+# effective clearance but not higher than the clearance - attribute mlsfilereadtoclr; + -+# Write files and directories in situations where MLS normally denies writes ++# ++# File System MLS attributes/privileges ++# ++# Grant MLS read access to files not dominated by the process Effective SL + attribute mlsfileread; ++# Grant MLS read access to files which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsfilereadtoclr; ++# Grant MLS write access to files not equal to the Effective SL attribute mlsfilewrite; -+ -+# Write files and directories where clearance of the subject dominates the -+# classification of the file/dir and the classification of the file/dir -+# dominates the effective clearance of the subject. ++# Grant MLS write access to files which dominate the process Effective SL ++# and are dominated by the process Clearance SL attribute mlsfilewritetoclr; -+ -+# Increase the classification and/or effective classification of the object -+# regardless of the clearance of the subject. ++# Grant MLS ability to change file label to a new label which dominates ++# the old label attribute mlsfileupgrade; -+ -+# Decrease the classification and/or effective classification of the object -+# regardless of the clearance of the subject. NB An new label with an -+# incomparable effective classification and an equal classification is -+# considered a downgrade as is an incomparable classification ++# Grant MLS ability to change file label to a new label which is ++# dominated by or incomparable to the old label attribute mlsfiledowngrade; -+# Read network data with a lower effective classification than the effective -+# clearance of the process ++# ++# Network MLS attributes/privileges ++# ++# Grant MLS read access to packets not dominated by the process Effective SL attribute mlsnetread; -+ -+# Read network data with a lower effective classification than the effective -+# clearance of the process when the classification of the process is higher ++# Grant MLS read access to packets which dominate the process Effective SL ++# and are dominated by the process Clearance SL attribute mlsnetreadtoclr; -+ -+# Write network data with a higher effective classification or with a -+# classification higher than the clearance of the subject ++# Grant MLS write access to packets not equal to the Effective SL attribute mlsnetwrite; -+ -+# Write network data where the clearance of the process dominates the -+# effective classification of the data and the effective classification of -+# the data dominates the effective clearance of the subject. ++# Grant MLS write access to packets which dominate the Effective SL ++# and are dominated by the process Clearance SL attribute mlsnetwritetoclr; -+ ++# Grant MLS read access to packets from hosts or interfaces which dominate ++# or incomparable to the process Effective SL ++attribute mlsnetrecvall; ++# Grant MLS ability to change socket label to a new label which dominates ++# the old label attribute mlsnetupgrade; ++# Grant MLS ability to change socket label to a new label which is ++# dominated by or incomparable to the old label attribute mlsnetdowngrade; - attribute mlsnetrecvall; -@@ -443,6 +475,9 @@ +-attribute mlsnetrecvall; + ++# ++# IPC MLS attributes/privileges ++# ++# Grant MLS read access to IPC objects not dominated by the process Effective SL + attribute mlsipcread; ++# Grant MLS read access to IPC objects which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsipcreadtoclr; ++# Grant MLS write access to IPC objects not equal to the process Effective SL + attribute mlsipcwrite; ++# Grant MLS write access to IPC objects which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsipcwritetoclr; + ++# ++# Process MLS attributes/privileges ++# ++# Grant MLS read access to processes not dominated by the process Effective SL + attribute mlsprocread; ++# Grant MLS read access to processes which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsprocreadtoclr; ++# Grant MLS write access to processes not equal to the Effective SL + attribute mlsprocwrite; ++# Grant MLS write access to processes which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsprocwritetoclr; ++# Grant MLS ability to change Effective SL or Clearance SL of process to a ++# label dominated by the Clearance SL + attribute mlsprocsetsl; + ++# ++# X Window MLS attributes/privileges ++# ++# Grant MLS read access to X objects not dominated by the process Effective SL + attribute mlsxwinread; ++# Grant MLS read access to X objects which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsxwinreadtoclr; ++# Grant MLS write access to X objects not equal to the process Effective SL + attribute mlsxwinwrite; ++# Grant MLS write access to X objects which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsxwinwritetoclr; +-attribute mlsxwinupgrade; +-attribute mlsxwindowngrade; ++# Grant MLS read access to X properties not dominated by ++# the process Effective SL ++attribute mlsxwinreadproperty; ++# Grant MLS write access to X properties not equal to the process Effective SL ++attribute mlsxwinwriteproperty; ++# Grant MLS read access to X colormaps not dominated by ++# the process Effective SL ++attribute mlsxwinreadcolormap; ++# Grant MLS write access to X colormaps not equal to the process Effective SL ++attribute mlsxwinwritecolormap; ++# Grant MLS write access to X xinputs not equal to the process Effective SL ++attribute mlsxwinwritexinput; + ++# Grant MLS read/write access to objects which internally arbitrate MLS + attribute mlstrustedobject; + ++# ++# Both of the following attributes are needed for a range transition to succeed ++# ++# Grant ability for the current domain to change SL upon process transition + attribute privrangetrans; ++# Grant ability for the new process domain to change SL upon process transition + attribute mlsrangetrans; + + ######################### +@@ -443,6 +522,9 @@ # Attribute to designate unrestricted access attribute unrestricted; @@ -63,7 +151,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/misc/kernel.te policy-1.27.1/domains/misc/kernel.te --- nsapolicy/domains/misc/kernel.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/misc/kernel.te 2005-10-17 15:48:01.000000000 -0400 ++++ policy-1.27.1/domains/misc/kernel.te 2005-10-19 09:24:25.000000000 -0400 @@ -30,7 +30,7 @@ ifdef(`mls_policy', ` @@ -75,7 +163,7 @@ # Share state with the init process. diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/crond.te policy-1.27.1/domains/program/crond.te --- nsapolicy/domains/program/crond.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/crond.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/crond.te 2005-10-19 09:24:25.000000000 -0400 @@ -106,7 +106,7 @@ # Inherit and use descriptors from initrc for anacron. @@ -87,7 +175,7 @@ allow system_crond_t self:capability { dac_read_search chown setgid setuid fowner net_bind_service fsetid }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/fsadm.te policy-1.27.1/domains/program/fsadm.te --- nsapolicy/domains/program/fsadm.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/fsadm.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/fsadm.te 2005-10-19 09:24:25.000000000 -0400 @@ -102,10 +102,10 @@ allow fsadm_t kernel_t:system syslog_console; @@ -110,7 +198,7 @@ +allow fsadm_t file_type:dir { getattr search }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/hostname.te policy-1.27.1/domains/program/hostname.te --- nsapolicy/domains/program/hostname.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/hostname.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/hostname.te 2005-10-19 09:24:25.000000000 -0400 @@ -24,5 +24,5 @@ ifdef(`distro_redhat', ` allow hostname_t tmpfs_t:chr_file rw_file_perms; @@ -120,7 +208,7 @@ allow hostname_t initrc_t:fd use; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/ifconfig.te policy-1.27.1/domains/program/ifconfig.te --- nsapolicy/domains/program/ifconfig.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/ifconfig.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/ifconfig.te 2005-10-19 09:24:25.000000000 -0400 @@ -52,7 +52,8 @@ allow ifconfig_t self:udp_socket create_socket_perms; @@ -142,7 +230,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/initrc.te policy-1.27.1/domains/program/initrc.te --- nsapolicy/domains/program/initrc.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/initrc.te 2005-10-18 14:19:49.000000000 -0400 ++++ policy-1.27.1/domains/program/initrc.te 2005-10-19 09:24:25.000000000 -0400 @@ -56,6 +56,10 @@ can_create_pty(initrc) @@ -183,7 +271,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/ldconfig.te policy-1.27.1/domains/program/ldconfig.te --- nsapolicy/domains/program/ldconfig.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/ldconfig.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/ldconfig.te 2005-10-19 09:24:25.000000000 -0400 @@ -16,7 +16,8 @@ domain_auto_trans({ sysadm_t initrc_t }, ldconfig_exec_t, ldconfig_t) @@ -196,7 +284,7 @@ uses_shlib(ldconfig_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/load_policy.te policy-1.27.1/domains/program/load_policy.te --- nsapolicy/domains/program/load_policy.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/load_policy.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/load_policy.te 2005-10-19 09:24:25.000000000 -0400 @@ -45,11 +45,12 @@ allow load_policy_t root_t:dir search; allow load_policy_t etc_t:dir search; @@ -215,7 +303,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/login.te policy-1.27.1/domains/program/login.te --- nsapolicy/domains/program/login.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/login.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/login.te 2005-10-19 09:24:25.000000000 -0400 @@ -62,6 +62,11 @@ ifdef(`pamconsole.te', ` @@ -267,7 +355,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/modutil.te policy-1.27.1/domains/program/modutil.te --- nsapolicy/domains/program/modutil.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/modutil.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/modutil.te 2005-10-19 09:24:25.000000000 -0400 @@ -59,7 +59,8 @@ allow depmod_t modules_object_t:file unlink; @@ -320,7 +408,7 @@ allow update_modules_t urandom_device_t:chr_file { getattr read }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/mount.te policy-1.27.1/domains/program/mount.te --- nsapolicy/domains/program/mount.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/mount.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/mount.te 2005-10-19 09:24:25.000000000 -0400 @@ -16,13 +16,14 @@ role sysadm_r types mount_t; role system_r types mount_t; @@ -346,7 +434,7 @@ allow mount_t proc_t:lnk_file read; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/netutils.te policy-1.27.1/domains/program/netutils.te --- nsapolicy/domains/program/netutils.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/netutils.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/netutils.te 2005-10-19 09:24:25.000000000 -0400 @@ -55,7 +55,8 @@ # Access terminals. @@ -359,7 +447,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/newrole.te policy-1.27.1/domains/program/newrole.te --- nsapolicy/domains/program/newrole.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/newrole.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/newrole.te 2005-10-19 09:24:25.000000000 -0400 @@ -18,3 +18,7 @@ allow newrole_t initrc_var_run_t:file rw_file_perms; @@ -370,7 +458,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/passwd.te policy-1.27.1/domains/program/passwd.te --- nsapolicy/domains/program/passwd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/passwd.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/passwd.te 2005-10-19 09:24:25.000000000 -0400 @@ -153,5 +153,4 @@ ifdef(`targeted_policy', ` @@ -379,7 +467,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/restorecon.te policy-1.27.1/domains/program/restorecon.te --- nsapolicy/domains/program/restorecon.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/restorecon.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/restorecon.te 2005-10-19 09:24:25.000000000 -0400 @@ -19,7 +19,7 @@ role sysadm_r types restorecon_t; role secadm_r types restorecon_t; @@ -396,7 +484,7 @@ +allow restorecon_t autofs_t:dir search; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/setfiles.te policy-1.27.1/domains/program/setfiles.te --- nsapolicy/domains/program/setfiles.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/setfiles.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/setfiles.te 2005-10-19 09:24:25.000000000 -0400 @@ -12,7 +12,7 @@ # # needs auth_write attribute because it has relabelfrom/relabelto @@ -417,7 +505,7 @@ allow setfiles_t self:unix_dgram_socket create_socket_perms; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/ssh.te policy-1.27.1/domains/program/ssh.te --- nsapolicy/domains/program/ssh.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/ssh.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/ssh.te 2005-10-19 09:24:25.000000000 -0400 @@ -153,6 +153,7 @@ # sshd_program_domain(sshd) @@ -444,7 +532,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/su.te policy-1.27.1/domains/program/su.te --- nsapolicy/domains/program/su.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/su.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/su.te 2005-10-19 09:24:25.000000000 -0400 @@ -12,3 +12,12 @@ # Everything else is in the su_domain macro in @@ -460,7 +548,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/syslogd.te policy-1.27.1/domains/program/syslogd.te --- nsapolicy/domains/program/syslogd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/syslogd.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/syslogd.te 2005-10-19 09:24:25.000000000 -0400 @@ -14,9 +14,9 @@ # by syslogd. # @@ -484,7 +572,7 @@ allow syslogd_t self:capability { dac_override net_admin net_bind_service sys_resource sys_tty_config }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/alsa.te policy-1.27.1/domains/program/unused/alsa.te --- nsapolicy/domains/program/unused/alsa.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/alsa.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/alsa.te 2005-10-19 09:26:00.000000000 -0400 @@ -11,6 +11,8 @@ allow alsa_t self:unix_stream_socket create_stream_socket_perms; allow alsa_t self:unix_dgram_socket create_socket_perms; @@ -496,7 +584,7 @@ allow alsa_t self:capability { setgid setuid ipc_owner }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/amanda.te policy-1.27.1/domains/program/unused/amanda.te --- nsapolicy/domains/program/unused/amanda.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/amanda.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/amanda.te 2005-10-19 09:26:00.000000000 -0400 @@ -84,7 +84,6 @@ # configuration files -> read only @@ -658,7 +746,7 @@ +allow amanda_t file_type:fifo_file getattr; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/anaconda.te policy-1.27.1/domains/program/unused/anaconda.te --- nsapolicy/domains/program/unused/anaconda.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/anaconda.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/anaconda.te 2005-10-19 09:26:00.000000000 -0400 @@ -17,11 +17,6 @@ role system_r types ldconfig_t; domain_auto_trans(anaconda_t, ldconfig_exec_t, ldconfig_t) @@ -673,7 +761,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/apache.te policy-1.27.1/domains/program/unused/apache.te --- nsapolicy/domains/program/unused/apache.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/apache.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/apache.te 2005-10-19 09:26:00.000000000 -0400 @@ -113,9 +113,12 @@ can_network_server(httpd_t) can_kerberos(httpd_t) @@ -737,7 +825,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/apmd.te policy-1.27.1/domains/program/unused/apmd.te --- nsapolicy/domains/program/unused/apmd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/apmd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/apmd.te 2005-10-19 09:26:00.000000000 -0400 @@ -47,6 +47,7 @@ # acpid also has a logfile @@ -746,7 +834,7 @@ ifdef(`distro_suse', ` var_lib_domain(apmd) -@@ -140,3 +141,15 @@ +@@ -140,3 +141,21 @@ allow apmd_t user_tty_type:chr_file rw_file_perms; # Access /dev/apm_bios. allow initrc_t apm_bios_t:chr_file { setattr getattr read }; @@ -762,9 +850,15 @@ +unconfined_domain(apmd_t) +') + ++ifdef(`NetworkManager.te', ` ++ifdef(`dbusd.te', ` ++allow apmd_t NetworkManager_t:dbus send_msg; ++allow NetworkManager_t apmd_t:dbus send_msg; ++') ++') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/auditd.te policy-1.27.1/domains/program/unused/auditd.te --- nsapolicy/domains/program/unused/auditd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/auditd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/auditd.te 2005-10-19 09:26:00.000000000 -0400 @@ -65,3 +65,5 @@ allow auditctl_t privfd:fd use; @@ -773,7 +867,7 @@ +can_exec(auditd_t, sbin_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/automount.te policy-1.27.1/domains/program/unused/automount.te --- nsapolicy/domains/program/unused/automount.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/automount.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/automount.te 2005-10-19 09:26:00.000000000 -0400 @@ -34,7 +34,9 @@ can_exec(automount_t, { etc_t automount_etc_t }) @@ -799,7 +893,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/bluetooth.te policy-1.27.1/domains/program/unused/bluetooth.te --- nsapolicy/domains/program/unused/bluetooth.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/bluetooth.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/bluetooth.te 2005-10-19 09:26:00.000000000 -0400 @@ -11,16 +11,23 @@ daemon_domain(bluetooth) @@ -902,7 +996,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/cups.te policy-1.27.1/domains/program/unused/cups.te --- nsapolicy/domains/program/unused/cups.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/cups.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/cups.te 2005-10-19 09:26:00.000000000 -0400 @@ -188,6 +188,7 @@ # Uses networking to talk to the daemons allow hplip_t self:unix_dgram_socket create_socket_perms; @@ -967,7 +1061,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/cvs.te policy-1.27.1/domains/program/unused/cvs.te --- nsapolicy/domains/program/unused/cvs.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/cvs.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/cvs.te 2005-10-19 09:26:00.000000000 -0400 @@ -23,6 +23,9 @@ allow cvs_t etc_runtime_t:file { getattr read }; allow system_mail_t cvs_data_t:file { getattr read }; @@ -980,7 +1074,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/cyrus.te policy-1.27.1/domains/program/unused/cyrus.te --- nsapolicy/domains/program/unused/cyrus.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/cyrus.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/cyrus.te 2005-10-19 09:26:00.000000000 -0400 @@ -42,7 +42,7 @@ create_dir_file(cyrus_t, mail_spool_t) allow cyrus_t var_spool_t:dir search; @@ -992,7 +1086,7 @@ allow cyrus_t saslauthd_t:unix_stream_socket { connectto }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dbusd.te policy-1.27.1/domains/program/unused/dbusd.te --- nsapolicy/domains/program/unused/dbusd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dbusd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dbusd.te 2005-10-19 09:26:00.000000000 -0400 @@ -12,7 +12,7 @@ # dac_override: /var/run/dbus is owned by messagebus on Debian @@ -1010,7 +1104,7 @@ +allow system_dbusd_t self:netlink_audit_socket { create_netlink_socket_perms nlmsg_relay }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dcc.te policy-1.27.1/domains/program/unused/dcc.te --- nsapolicy/domains/program/unused/dcc.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dcc.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dcc.te 2005-10-19 09:26:00.000000000 -0400 @@ -200,9 +200,8 @@ can_exec_any(dcc_script_t) dcc_common(dcc_script) @@ -1025,7 +1119,7 @@ # the dcc user (even though the default dcc user is root). diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dhcpc.te policy-1.27.1/domains/program/unused/dhcpc.te --- nsapolicy/domains/program/unused/dhcpc.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dhcpc.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dhcpc.te 2005-10-20 08:56:04.000000000 -0400 @@ -120,6 +120,7 @@ allow dhcpc_t self:packet_socket create_socket_perms; allow dhcpc_t var_lib_t:dir search; @@ -1050,16 +1144,18 @@ ') ifdef(`ntpd.te', ` domain_auto_trans(dhcpc_t, ntpd_exec_t, ntpd_t) -@@ -161,5 +162,5 @@ +@@ -161,5 +162,7 @@ ifdef(`unconfined.te', ` allow unconfined_t dhcpc_t:dbus send_msg; allow dhcpc_t unconfined_t:dbus send_msg; -')dnl end ifdef unconfined.te -+') ') ++') ++ifdef(`netutils.te', `domain_auto_trans(dhcpd_t, netutils_exec_t, netutils_t)') ++allow dhcpc_t locale_t:file write; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dhcpd.te policy-1.27.1/domains/program/unused/dhcpd.te --- nsapolicy/domains/program/unused/dhcpd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dhcpd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dhcpd.te 2005-10-19 09:26:00.000000000 -0400 @@ -17,8 +17,6 @@ # daemon_domain(dhcpd, `, nscd_client_domain') @@ -1079,7 +1175,7 @@ allow dhcpd_t self:unix_stream_socket create_socket_perms; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dovecot.te policy-1.27.1/domains/program/unused/dovecot.te --- nsapolicy/domains/program/unused/dovecot.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dovecot.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dovecot.te 2005-10-19 09:26:00.000000000 -0400 @@ -43,7 +43,9 @@ can_kerberos(dovecot_t) @@ -1093,7 +1189,7 @@ allow dovecot_t mail_spool_t:lnk_file read; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ftpd.te policy-1.27.1/domains/program/unused/ftpd.te --- nsapolicy/domains/program/unused/ftpd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/ftpd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/ftpd.te 2005-10-19 09:26:00.000000000 -0400 @@ -99,9 +99,11 @@ if (ftp_home_dir) { @@ -1110,7 +1206,7 @@ r_dir_file(ftpd_t, nfs_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/hald.te policy-1.27.1/domains/program/unused/hald.te --- nsapolicy/domains/program/unused/hald.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/hald.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/hald.te 2005-10-19 09:26:00.000000000 -0400 @@ -24,7 +24,8 @@ allow hald_t self:dbus send_msg; ') @@ -1129,7 +1225,7 @@ +r_dir_file(hald_t, hwdata_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/hotplug.te policy-1.27.1/domains/program/unused/hotplug.te --- nsapolicy/domains/program/unused/hotplug.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/hotplug.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/hotplug.te 2005-10-19 09:26:00.000000000 -0400 @@ -11,9 +11,9 @@ # hotplug_exec_t is the type of the hotplug executable. # @@ -1152,7 +1248,7 @@ allow hotplug_t printer_device_t:chr_file setattr; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/hwclock.te policy-1.27.1/domains/program/unused/hwclock.te --- nsapolicy/domains/program/unused/hwclock.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/hwclock.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/hwclock.te 2005-10-19 09:26:00.000000000 -0400 @@ -21,7 +21,6 @@ domain_auto_trans(sysadm_t, hwclock_exec_t, hwclock_t) ') @@ -1168,7 +1264,7 @@ +r_dir_file(hwclock_t, etc_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ipsec.te policy-1.27.1/domains/program/unused/ipsec.te --- nsapolicy/domains/program/unused/ipsec.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/ipsec.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/ipsec.te 2005-10-19 09:26:00.000000000 -0400 @@ -219,7 +219,7 @@ dontaudit ipsec_mgmt_t selinux_config_t:dir search; dontaudit ipsec_t ttyfile:chr_file { read write }; @@ -1180,7 +1276,7 @@ allow ipsec_mgmt_t self:{ tcp_socket udp_socket } create_socket_perms; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/kudzu.te policy-1.27.1/domains/program/unused/kudzu.te --- nsapolicy/domains/program/unused/kudzu.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/kudzu.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/kudzu.te 2005-10-19 09:26:00.000000000 -0400 @@ -20,7 +20,7 @@ allow kudzu_t ramfs_t:dir search; allow kudzu_t ramfs_t:sock_file write; @@ -1209,7 +1305,7 @@ allow kudzu_t initrc_t:unix_stream_socket connectto; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/mta.te policy-1.27.1/domains/program/unused/mta.te --- nsapolicy/domains/program/unused/mta.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/mta.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/mta.te 2005-10-19 09:26:00.000000000 -0400 @@ -31,6 +31,10 @@ create_dir_file(system_mail_t, mail_spool_t) allow system_mail_t mail_spool_t:fifo_file rw_file_perms; @@ -1231,7 +1327,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/mysqld.te policy-1.27.1/domains/program/unused/mysqld.te --- nsapolicy/domains/program/unused/mysqld.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/mysqld.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/mysqld.te 2005-10-19 09:26:00.000000000 -0400 @@ -12,7 +12,7 @@ # daemon_domain(mysqld, `, nscd_client_domain') @@ -1241,6 +1337,17 @@ allow mysqld_t mysqld_var_run_t:sock_file create_file_perms; +@@ -33,8 +33,8 @@ + + allow initrc_t mysqld_log_t:file { write append setattr ioctl }; + +-allow mysqld_t self:capability { dac_override setgid setuid net_bind_service }; +-allow mysqld_t self:process { setsched getsched }; ++allow mysqld_t self:capability { dac_override setgid setuid net_bind_service sys_resource }; ++allow mysqld_t self:process { setrlimit setsched getsched }; + + allow mysqld_t proc_t:file { getattr read }; + @@ -42,7 +42,7 @@ create_dir_file(mysqld_t, mysqld_db_t) allow mysqld_t var_lib_t:dir { getattr search }; @@ -1261,7 +1368,7 @@ -allow mysqld_t self:netlink_route_socket r_netlink_socket_perms; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/named.te policy-1.27.1/domains/program/unused/named.te --- nsapolicy/domains/program/unused/named.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/named.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/named.te 2005-10-19 09:26:00.000000000 -0400 @@ -36,7 +36,7 @@ allow named_t self:process { setsched setcap setrlimit }; @@ -1323,7 +1430,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/NetworkManager.te policy-1.27.1/domains/program/unused/NetworkManager.te --- nsapolicy/domains/program/unused/NetworkManager.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/NetworkManager.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/NetworkManager.te 2005-10-19 09:26:00.000000000 -0400 @@ -11,7 +11,7 @@ # NetworkManager_t is the domain for the NetworkManager daemon. # NetworkManager_exec_t is the type of the NetworkManager executable. @@ -1345,7 +1452,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/nscd.te policy-1.27.1/domains/program/unused/nscd.te --- nsapolicy/domains/program/unused/nscd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/nscd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/nscd.te 2005-10-19 09:26:00.000000000 -0400 @@ -76,3 +76,4 @@ log_domain(nscd) r_dir_file(nscd_t, cert_t) @@ -1353,7 +1460,7 @@ +allow nscd_t self:netlink_audit_socket { create_netlink_socket_perms nlmsg_relay }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ntpd.te policy-1.27.1/domains/program/unused/ntpd.te --- nsapolicy/domains/program/unused/ntpd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/ntpd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/ntpd.te 2005-10-19 09:26:00.000000000 -0400 @@ -26,11 +26,11 @@ # for SSP allow ntpd_t urandom_device_t:chr_file { getattr read }; @@ -1381,7 +1488,7 @@ can_exec(ntpd_t, initrc_exec_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/openct.te policy-1.27.1/domains/program/unused/openct.te --- nsapolicy/domains/program/unused/openct.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/openct.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/openct.te 2005-10-19 09:26:00.000000000 -0400 @@ -0,0 +1,16 @@ +#DESC openct - read files in page cache +# @@ -1401,7 +1508,7 @@ +allow openct_t etc_t:file r_file_perms; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/pamconsole.te policy-1.27.1/domains/program/unused/pamconsole.te --- nsapolicy/domains/program/unused/pamconsole.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/pamconsole.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/pamconsole.te 2005-10-19 09:26:00.000000000 -0400 @@ -25,6 +25,7 @@ # for /var/run/console.lock checking allow pam_console_t { var_t var_run_t }:dir search; @@ -1417,7 +1524,7 @@ +nsswitch_domain(pam_console_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/pegasus.te policy-1.27.1/domains/program/unused/pegasus.te --- nsapolicy/domains/program/unused/pegasus.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/pegasus.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/pegasus.te 2005-10-19 09:26:00.000000000 -0400 @@ -0,0 +1,37 @@ +#DESC pegasus - The Open Group Pegasus CIM/WBEM Server +# @@ -1458,7 +1565,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ping.te policy-1.27.1/domains/program/unused/ping.te --- nsapolicy/domains/program/unused/ping.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/ping.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/ping.te 2005-10-19 09:26:00.000000000 -0400 @@ -37,6 +37,7 @@ uses_shlib(ping_t) can_network_client(ping_t) @@ -1477,7 +1584,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/postfix.te policy-1.27.1/domains/program/unused/postfix.te --- nsapolicy/domains/program/unused/postfix.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/postfix.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/postfix.te 2005-10-19 09:26:00.000000000 -0400 @@ -54,6 +54,8 @@ allow postfix_$1_t proc_net_t:dir search; allow postfix_$1_t proc_net_t:file { getattr read }; @@ -1663,7 +1770,7 @@ -allow postfix_local_t mail_spool_t:file { unlink }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/pppd.te policy-1.27.1/domains/program/unused/pppd.te --- nsapolicy/domains/program/unused/pppd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/pppd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/pppd.te 2005-10-19 09:26:00.000000000 -0400 @@ -14,7 +14,7 @@ # bool pppd_for_user false; @@ -1706,7 +1813,7 @@ +allow pppd_t initrc_t:process noatsecure; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/procmail.te policy-1.27.1/domains/program/unused/procmail.te --- nsapolicy/domains/program/unused/procmail.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/procmail.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/procmail.te 2005-10-19 09:26:00.000000000 -0400 @@ -19,8 +19,7 @@ uses_shlib(procmail_t) allow procmail_t device_t:dir search; @@ -1734,7 +1841,7 @@ # Search /var/run. diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/readahead.te policy-1.27.1/domains/program/unused/readahead.te --- nsapolicy/domains/program/unused/readahead.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/readahead.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/readahead.te 2005-10-19 09:26:00.000000000 -0400 @@ -0,0 +1,21 @@ +#DESC readahead - read files in page cache +# @@ -1759,7 +1866,7 @@ +dontaudit readahead_t device_type:blk_file read; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/rlogind.te policy-1.27.1/domains/program/unused/rlogind.te --- nsapolicy/domains/program/unused/rlogind.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/rlogind.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/rlogind.te 2005-10-19 09:26:00.000000000 -0400 @@ -35,4 +35,6 @@ allow rlogind_t default_t:dir search; typealias rlogind_port_t alias rlogin_port_t; @@ -1770,7 +1877,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/roundup.te policy-1.27.1/domains/program/unused/roundup.te --- nsapolicy/domains/program/unused/roundup.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/roundup.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/roundup.te 2005-10-19 09:26:00.000000000 -0400 @@ -0,0 +1,29 @@ +# Roundup Issue Tracking System +# @@ -1803,7 +1910,7 @@ +allow roundup_t etc_t:file { getattr read }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/rpcd.te policy-1.27.1/domains/program/unused/rpcd.te --- nsapolicy/domains/program/unused/rpcd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/rpcd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/rpcd.te 2005-10-19 09:26:00.000000000 -0400 @@ -19,7 +19,7 @@ can_network($1_t) allow $1_t port_type:tcp_socket name_connect; @@ -1837,7 +1944,7 @@ +} diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/rsync.te policy-1.27.1/domains/program/unused/rsync.te --- nsapolicy/domains/program/unused/rsync.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/rsync.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/rsync.te 2005-10-19 09:26:00.000000000 -0400 @@ -15,5 +15,4 @@ type rsync_data_t, file_type, sysadmfile; r_dir_file(rsync_t, rsync_data_t) @@ -1847,7 +1954,7 @@ +allow rsync_t self:capability sys_chroot; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/samba.te policy-1.27.1/domains/program/unused/samba.te --- nsapolicy/domains/program/unused/samba.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/samba.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/samba.te 2005-10-19 09:26:00.000000000 -0400 @@ -25,6 +25,9 @@ # not sure why it needs this tmp_domain(smbd) @@ -1884,7 +1991,7 @@ # Access Samba shares. diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/snmpd.te policy-1.27.1/domains/program/unused/snmpd.te --- nsapolicy/domains/program/unused/snmpd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/snmpd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/snmpd.te 2005-10-19 09:26:00.000000000 -0400 @@ -22,8 +22,9 @@ # for the .index file @@ -1914,7 +2021,7 @@ dontaudit snmpd_t selinux_config_t:dir search; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/squid.te policy-1.27.1/domains/program/unused/squid.te --- nsapolicy/domains/program/unused/squid.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/squid.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/squid.te 2005-10-19 09:26:00.000000000 -0400 @@ -60,7 +60,7 @@ can_tcp_connect(web_client_domain, squid_t) @@ -1932,7 +2039,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/udev.te policy-1.27.1/domains/program/unused/udev.te --- nsapolicy/domains/program/unused/udev.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/udev.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/udev.te 2005-10-19 09:26:00.000000000 -0400 @@ -28,12 +28,12 @@ type udev_tdb_t, file_type, sysadmfile, dev_fs; typealias udev_tdb_t alias udev_tbl_t; @@ -1964,7 +2071,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/utempter.te policy-1.27.1/domains/program/unused/utempter.te --- nsapolicy/domains/program/unused/utempter.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/utempter.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/utempter.te 2005-10-19 09:26:00.000000000 -0400 @@ -19,6 +19,8 @@ type utempter_exec_t, file_type, sysadmfile, exec_type; domain_auto_trans(userdomain, utempter_exec_t, utempter_t) @@ -1976,7 +2083,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/webalizer.te policy-1.27.1/domains/program/unused/webalizer.te --- nsapolicy/domains/program/unused/webalizer.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/webalizer.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/webalizer.te 2005-10-19 09:26:00.000000000 -0400 @@ -20,6 +20,9 @@ #read apache log allow webalizer_t var_log_t:dir r_dir_perms; @@ -1989,7 +2096,7 @@ var_lib_domain(webalizer) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/winbind.te policy-1.27.1/domains/program/unused/winbind.te --- nsapolicy/domains/program/unused/winbind.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/winbind.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/winbind.te 2005-10-19 09:26:00.000000000 -0400 @@ -44,6 +44,7 @@ r_dir_file(winbind_t, samba_etc_t) allow winbind_helper_t self:unix_dgram_socket create_socket_perms; @@ -2000,7 +2107,7 @@ allow winbind_helper_t privfd:fd use; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/xdm.te policy-1.27.1/domains/program/unused/xdm.te --- nsapolicy/domains/program/unused/xdm.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/xdm.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/xdm.te 2005-10-19 09:26:00.000000000 -0400 @@ -371,3 +371,6 @@ dontaudit xdm_t ice_tmp_t:dir { getattr setattr }; @@ -2010,7 +2117,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/yppasswdd.te policy-1.27.1/domains/program/unused/yppasswdd.te --- nsapolicy/domains/program/unused/yppasswdd.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/yppasswdd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/yppasswdd.te 2005-10-19 09:26:00.000000000 -0400 @@ -0,0 +1,40 @@ +#DESC yppassdd - NIS password update daemon +# @@ -2054,7 +2161,7 @@ +rw_dir_create_file(yppasswdd_t, var_yp_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ypserv.te policy-1.27.1/domains/program/unused/ypserv.te --- nsapolicy/domains/program/unused/ypserv.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/ypserv.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/ypserv.te 2005-10-19 09:26:00.000000000 -0400 @@ -39,3 +39,4 @@ ') allow ypserv_t reserved_port_t:{ udp_socket tcp_socket } name_bind; @@ -2062,7 +2169,7 @@ +can_exec(ypserv_t, bin_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/useradd.te policy-1.27.1/domains/program/useradd.te --- nsapolicy/domains/program/useradd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/useradd.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/useradd.te 2005-10-19 09:24:26.000000000 -0400 @@ -55,7 +55,6 @@ # useradd/userdel request read/write for /var/log/lastlog, and read of /dev, # but will operate without them. @@ -2086,7 +2193,7 @@ read_sysctl(useradd_t) diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/distros.fc policy-1.27.1/file_contexts/distros.fc --- nsapolicy/file_contexts/distros.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/distros.fc 2005-10-17 15:46:49.000000000 -0400 ++++ policy-1.27.1/file_contexts/distros.fc 2005-10-19 09:24:26.000000000 -0400 @@ -89,6 +89,7 @@ /usr/lib/valgrind/hp2ps -- system_u:object_r:texrel_shlib_t /usr/lib/valgrind/stage2 -- system_u:object_r:texrel_shlib_t @@ -2105,7 +2212,7 @@ /usr/lib/ladspa/analogue_osc_1416\.so -- system_u:object_r:texrel_shlib_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/apache.fc policy-1.27.1/file_contexts/program/apache.fc --- nsapolicy/file_contexts/program/apache.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/apache.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/apache.fc 2005-10-19 09:24:26.000000000 -0400 @@ -9,6 +9,8 @@ /var/cache/httpd(/.*)? system_u:object_r:httpd_cache_t /var/cache/php-eaccelerator(/.*)? system_u:object_r:httpd_cache_t @@ -2117,7 +2224,7 @@ /etc/httpd/logs system_u:object_r:httpd_log_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/bluetooth.fc policy-1.27.1/file_contexts/program/bluetooth.fc --- nsapolicy/file_contexts/program/bluetooth.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/bluetooth.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/bluetooth.fc 2005-10-19 09:24:26.000000000 -0400 @@ -1,8 +1,11 @@ # bluetooth /etc/bluetooth(/.*)? system_u:object_r:bluetooth_conf_t @@ -2132,7 +2239,7 @@ +/var/lib/bluetooth(/.*)? system_u:object_r:bluetooth_var_lib_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/dhcpc.fc policy-1.27.1/file_contexts/program/dhcpc.fc --- nsapolicy/file_contexts/program/dhcpc.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/dhcpc.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/dhcpc.fc 2005-10-19 09:24:26.000000000 -0400 @@ -4,9 +4,11 @@ /etc/dhclient.*conf -- system_u:object_r:dhcp_etc_t /etc/dhclient-script -- system_u:object_r:dhcp_etc_t @@ -2147,7 +2254,7 @@ # pump diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/dhcpd.fc policy-1.27.1/file_contexts/program/dhcpd.fc --- nsapolicy/file_contexts/program/dhcpd.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/dhcpd.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/dhcpd.fc 2005-10-19 09:24:26.000000000 -0400 @@ -2,10 +2,10 @@ /etc/dhcpd\.conf -- system_u:object_r:dhcp_etc_t /etc/dhcp3(/.*)? system_u:object_r:dhcp_etc_t @@ -2171,7 +2278,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/ftpd.fc policy-1.27.1/file_contexts/program/ftpd.fc --- nsapolicy/file_contexts/program/ftpd.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/ftpd.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/ftpd.fc 2005-10-19 09:24:26.000000000 -0400 @@ -10,7 +10,8 @@ /var/run/proftpd/proftpd\.scoreboard -- system_u:object_r:ftpd_var_run_t /var/log/muddleftpd\.log.* -- system_u:object_r:xferlog_t @@ -2185,7 +2292,7 @@ +/srv/([^/]*/)?ftp(/.*)? system_u:object_r:public_content_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/games.fc policy-1.27.1/file_contexts/program/games.fc --- nsapolicy/file_contexts/program/games.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/games.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/games.fc 2005-10-19 09:24:26.000000000 -0400 @@ -1,8 +1,10 @@ # games -/usr/lib(64)?/games/.* -- system_u:object_r:games_exec_t @@ -2210,7 +2317,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/ipsec.fc policy-1.27.1/file_contexts/program/ipsec.fc --- nsapolicy/file_contexts/program/ipsec.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/ipsec.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/ipsec.fc 2005-10-19 09:24:26.000000000 -0400 @@ -21,6 +21,7 @@ /usr/lib(64)?/ipsec/spi -- system_u:object_r:ipsec_exec_t /usr/local/lib(64)?/ipsec/spi -- system_u:object_r:ipsec_exec_t @@ -2221,13 +2328,13 @@ /usr/sbin/racoon -- system_u:object_r:ipsec_exec_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/openct.fc policy-1.27.1/file_contexts/program/openct.fc --- nsapolicy/file_contexts/program/openct.fc 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/file_contexts/program/openct.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/openct.fc 2005-10-19 09:24:26.000000000 -0400 @@ -0,0 +1,2 @@ +/usr/sbin/openct-control -- system_u:object_r:openct_exec_t +/var/run/openct(/.*)? system_u:object_r:openct_var_run_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/pegasus.fc policy-1.27.1/file_contexts/program/pegasus.fc --- nsapolicy/file_contexts/program/pegasus.fc 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/file_contexts/program/pegasus.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/pegasus.fc 2005-10-19 09:24:26.000000000 -0400 @@ -0,0 +1,11 @@ +# File Contexts for The Open Group Pegasus (tog-pegasus) cimserver +/usr/sbin/cimserver -- system_u:object_r:pegasus_exec_t @@ -2242,7 +2349,7 @@ +/usr/share/Pegasus/mof(/.*)?/.*\.mof system_u:object_r:pegasus_mof_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/pppd.fc policy-1.27.1/file_contexts/program/pppd.fc --- nsapolicy/file_contexts/program/pppd.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/pppd.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/pppd.fc 2005-10-19 09:24:26.000000000 -0400 @@ -20,6 +20,6 @@ /etc/ppp/plugins/rp-pppoe\.so -- system_u:object_r:shlib_t /etc/ppp/resolv\.conf -- system_u:object_r:pppd_etc_rw_t @@ -2253,18 +2360,18 @@ /etc/ppp/(auth|ip(v6|x)?)-(up|down) -- system_u:object_r:pppd_script_exec_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/readahead.fc policy-1.27.1/file_contexts/program/readahead.fc --- nsapolicy/file_contexts/program/readahead.fc 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/file_contexts/program/readahead.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/readahead.fc 2005-10-19 09:24:26.000000000 -0400 @@ -0,0 +1 @@ +/usr/sbin/readahead -- system_u:object_r:readahead_exec_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/roundup.fc policy-1.27.1/file_contexts/program/roundup.fc --- nsapolicy/file_contexts/program/roundup.fc 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/file_contexts/program/roundup.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/roundup.fc 2005-10-19 09:24:26.000000000 -0400 @@ -0,0 +1,2 @@ +/usr/bin/roundup-server -- system_u:object_r:roundup_exec_t +/var/lib/roundup(/.*)? -- system_u:object_r:roundup_var_lib_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/rpm.fc policy-1.27.1/file_contexts/program/rpm.fc --- nsapolicy/file_contexts/program/rpm.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/rpm.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/rpm.fc 2005-10-19 09:24:26.000000000 -0400 @@ -23,3 +23,7 @@ /var/lib/YaST2(/.*)? system_u:object_r:rpm_var_lib_t /var/log/YaST2(/.*)? system_u:object_r:rpm_log_t @@ -2275,7 +2382,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/rshd.fc policy-1.27.1/file_contexts/program/rshd.fc --- nsapolicy/file_contexts/program/rshd.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/rshd.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/rshd.fc 2005-10-19 09:24:26.000000000 -0400 @@ -1,3 +1,4 @@ # rshd. /usr/sbin/in\.rshd -- system_u:object_r:rshd_exec_t @@ -2283,7 +2390,7 @@ /usr/kerberos/sbin/kshd -- system_u:object_r:rshd_exec_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/rsync.fc policy-1.27.1/file_contexts/program/rsync.fc --- nsapolicy/file_contexts/program/rsync.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/rsync.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/rsync.fc 2005-10-19 09:24:26.000000000 -0400 @@ -1,3 +1,3 @@ # rsync program /usr/bin/rsync -- system_u:object_r:rsync_exec_t @@ -2291,7 +2398,7 @@ +/srv/([^/]*/)?rsync(/.*)? system_u:object_r:public_content_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/squid.fc policy-1.27.1/file_contexts/program/squid.fc --- nsapolicy/file_contexts/program/squid.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/squid.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/squid.fc 2005-10-19 09:24:26.000000000 -0400 @@ -6,3 +6,6 @@ /etc/squid(/.*)? system_u:object_r:squid_conf_t /var/run/squid\.pid -- system_u:object_r:squid_var_run_t @@ -2301,7 +2408,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/xdm.fc policy-1.27.1/file_contexts/program/xdm.fc --- nsapolicy/file_contexts/program/xdm.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/xdm.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/xdm.fc 2005-10-19 09:24:26.000000000 -0400 @@ -3,7 +3,7 @@ /usr/X11R6/bin/[xgkw]dm -- system_u:object_r:xdm_exec_t /opt/kde3/bin/kdm -- system_u:object_r:xdm_exec_t @@ -2313,13 +2420,13 @@ /var/log/[kw]dm\.log -- system_u:object_r:xserver_log_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/yppasswdd.fc policy-1.27.1/file_contexts/program/yppasswdd.fc --- nsapolicy/file_contexts/program/yppasswdd.fc 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/file_contexts/program/yppasswdd.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/yppasswdd.fc 2005-10-19 09:24:26.000000000 -0400 @@ -0,0 +1,2 @@ +# yppasswd +/usr/sbin/rpc.yppasswdd -- system_u:object_r:yppasswdd_exec_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/ypserv.fc policy-1.27.1/file_contexts/program/ypserv.fc --- nsapolicy/file_contexts/program/ypserv.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/ypserv.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/ypserv.fc 2005-10-19 09:24:26.000000000 -0400 @@ -1,3 +1,4 @@ # ypserv /usr/sbin/ypserv -- system_u:object_r:ypserv_exec_t @@ -2327,7 +2434,7 @@ /etc/ypserv\.conf -- system_u:object_r:ypserv_conf_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/types.fc policy-1.27.1/file_contexts/types.fc --- nsapolicy/file_contexts/types.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/types.fc 2005-10-17 15:46:49.000000000 -0400 ++++ policy-1.27.1/file_contexts/types.fc 2005-10-19 09:24:26.000000000 -0400 @@ -133,6 +133,7 @@ /dev/dcbri[0-9]+ -c system_u:object_r:tty_device_t /dev/irlpt[0-9]+ -c system_u:object_r:printer_device_t @@ -2352,7 +2459,7 @@ +/etc/sysconfig/network-scripts/ifdown-.* -- system_u:object_r:bin_t diff --exclude-from=exclude -N -u -r nsapolicy/genfs_contexts policy-1.27.1/genfs_contexts --- nsapolicy/genfs_contexts 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/genfs_contexts 2005-10-17 15:41:20.000000000 -0400 ++++ policy-1.27.1/genfs_contexts 2005-10-19 09:24:26.000000000 -0400 @@ -94,7 +94,8 @@ genfscon debugfs / system_u:object_r:debugfs_t genfscon inotifyfs / system_u:object_r:inotifyfs_t @@ -2365,7 +2472,7 @@ genfscon eventpollfs / system_u:object_r:eventpollfs_t diff --exclude-from=exclude -N -u -r nsapolicy/macros/base_user_macros.te policy-1.27.1/macros/base_user_macros.te --- nsapolicy/macros/base_user_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/base_user_macros.te 2005-10-18 14:21:21.000000000 -0400 ++++ policy-1.27.1/macros/base_user_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -40,6 +40,12 @@ allow $1_t $1_home_t:{ notdevfile_class_set dir } { relabelfrom relabelto }; can_setfscreate($1_t) @@ -2381,7 +2488,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/macros/core_macros.te policy-1.27.1/macros/core_macros.te --- nsapolicy/macros/core_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/core_macros.te 2005-10-18 14:21:21.000000000 -0400 ++++ policy-1.27.1/macros/core_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -620,6 +620,9 @@ # Label pty files with a derived type. type_transition $1_t devpts_t:chr_file $1_devpts_t; @@ -2394,7 +2501,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/macros/global_macros.te policy-1.27.1/macros/global_macros.te --- nsapolicy/macros/global_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/global_macros.te 2005-10-18 14:21:21.000000000 -0400 ++++ policy-1.27.1/macros/global_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -157,6 +157,11 @@ r_dir_file($1, locale_t) ') @@ -2459,7 +2566,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/macros/network_macros.te policy-1.27.1/macros/network_macros.te --- nsapolicy/macros/network_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/network_macros.te 2005-10-18 14:21:21.000000000 -0400 ++++ policy-1.27.1/macros/network_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -153,7 +153,8 @@ ')dnl end can_network definition @@ -2490,7 +2597,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/apache_macros.te policy-1.27.1/macros/program/apache_macros.te --- nsapolicy/macros/program/apache_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/apache_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/apache_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -38,7 +38,7 @@ allow httpd_$1_script_t etc_runtime_t:file { getattr read }; read_locale(httpd_$1_script_t) @@ -2533,7 +2640,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/bonobo_macros.te policy-1.27.1/macros/program/bonobo_macros.te --- nsapolicy/macros/program/bonobo_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/bonobo_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/bonobo_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -72,9 +72,7 @@ # here temporarily, since bonobo runs as ROLE_t by default anyway domain_auto_trans($1_bonobo_t, bin_t, $1_t) @@ -2546,7 +2653,7 @@ ') dnl bonobo_domain diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/cdrecord_macros.te policy-1.27.1/macros/program/cdrecord_macros.te --- nsapolicy/macros/program/cdrecord_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/cdrecord_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/cdrecord_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -41,7 +41,7 @@ allow $1_cdrecord_t self:capability { ipc_lock sys_nice setuid dac_override sys_rawio }; @@ -2558,7 +2665,7 @@ allow $1_cdrecord_t $1_home_t:file r_file_perms; diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/crontab_macros.te policy-1.27.1/macros/program/crontab_macros.te --- nsapolicy/macros/program/crontab_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/crontab_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/crontab_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -40,7 +40,7 @@ # Use capabilities dac_override is to create the file in the directory @@ -2570,7 +2677,7 @@ file_type_auto_trans($1_crontab_t, tmp_t, $1_tmp_t, { dir file }) diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/dbusd_macros.te policy-1.27.1/macros/program/dbusd_macros.te --- nsapolicy/macros/program/dbusd_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/dbusd_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/dbusd_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -29,9 +29,7 @@ r_dir_file($1_dbusd_t, etc_dbusd_t) tmp_domain($1_dbusd) @@ -2596,7 +2703,7 @@ # can_dbusd_converse(dbus_type, domain_prefix_a, domain_prefix_b) diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/gconf_macros.te policy-1.27.1/macros/program/gconf_macros.te --- nsapolicy/macros/program/gconf_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/gconf_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/gconf_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -31,8 +31,8 @@ # /tmp/gconfd-USER tmp_domain($1_gconfd) @@ -2609,7 +2716,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/gift_macros.te policy-1.27.1/macros/program/gift_macros.te --- nsapolicy/macros/program/gift_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/gift_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/gift_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -90,9 +90,7 @@ r_dir_file($1_giftd_t, usr_t) @@ -2622,7 +2729,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/gpg_macros.te policy-1.27.1/macros/program/gpg_macros.te --- nsapolicy/macros/program/gpg_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/gpg_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/gpg_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -108,8 +108,6 @@ # for nscd dontaudit $1_gpg_helper_t var_t:dir search; @@ -2634,7 +2741,7 @@ ')dnl end gpg_domain definition diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/i18n_input_macros.te policy-1.27.1/macros/program/i18n_input_macros.te --- nsapolicy/macros/program/i18n_input_macros.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/macros/program/i18n_input_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/i18n_input_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -0,0 +1,21 @@ +# +# Macros for i18n_input @@ -2659,7 +2766,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/lpr_macros.te policy-1.27.1/macros/program/lpr_macros.te --- nsapolicy/macros/program/lpr_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/lpr_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/lpr_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -39,7 +39,7 @@ can_ypbind($1_lpr_t) @@ -2671,7 +2778,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/mta_macros.te policy-1.27.1/macros/program/mta_macros.te --- nsapolicy/macros/program/mta_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/mta_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/mta_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -34,7 +34,7 @@ uses_shlib($1_mail_t) @@ -2692,7 +2799,7 @@ # For when the user wants to send mail via port 25 localhost diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/newrole_macros.te policy-1.27.1/macros/program/newrole_macros.te --- nsapolicy/macros/program/newrole_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/newrole_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/newrole_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -20,6 +20,8 @@ read_locale($1_t) read_sysctl($1_t) @@ -2704,7 +2811,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/pyzor_macros.te policy-1.27.1/macros/program/pyzor_macros.te --- nsapolicy/macros/program/pyzor_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/pyzor_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/pyzor_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -64,6 +64,6 @@ # Allow pyzor to be run by hand. Needed by any action other than @@ -2715,7 +2822,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/razor_macros.te policy-1.27.1/macros/program/razor_macros.te --- nsapolicy/macros/program/razor_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/razor_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/razor_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -70,6 +70,6 @@ # Allow razor to be run by hand. Needed by any action other than @@ -2726,7 +2833,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/su_macros.te policy-1.27.1/macros/program/su_macros.te --- nsapolicy/macros/program/su_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/su_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/su_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -54,7 +54,7 @@ allow $1_su_t self:process { setsched setrlimit }; allow $1_su_t device_t:dir search; @@ -2747,7 +2854,7 @@ # Caused by su - init scripts diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/uml_macros.te policy-1.27.1/macros/program/uml_macros.te --- nsapolicy/macros/program/uml_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/uml_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/uml_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -81,7 +81,7 @@ allow uml_net_t $1_uml_t:unix_stream_socket { read write }; allow uml_net_t $1_uml_t:unix_dgram_socket { read write }; @@ -2759,7 +2866,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/xdm_macros.te policy-1.27.1/macros/program/xdm_macros.te --- nsapolicy/macros/program/xdm_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/xdm_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/xdm_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -6,6 +6,8 @@ # @@ -2771,7 +2878,7 @@ ') dnl can_pipe_xdm diff --exclude-from=exclude -N -u -r nsapolicy/macros/user_macros.te policy-1.27.1/macros/user_macros.te --- nsapolicy/macros/user_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/user_macros.te 2005-10-18 14:21:21.000000000 -0400 ++++ policy-1.27.1/macros/user_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -121,6 +121,7 @@ # user domains. ifelse($1, sysadm, `',` @@ -2808,7 +2915,7 @@ allow $1_t self:unix_stream_socket create_socket_perms; diff --exclude-from=exclude -N -u -r nsapolicy/Makefile policy-1.27.1/Makefile --- nsapolicy/Makefile 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/Makefile 2005-10-17 15:51:33.000000000 -0400 ++++ policy-1.27.1/Makefile 2005-10-20 08:57:08.000000000 -0400 @@ -29,15 +29,10 @@ VERS := $(shell $(CHECKPOLICY) $(POLICYCOMPAT) -V |cut -f 1 -d ' ') PREVERS := 19 @@ -2888,7 +2995,7 @@ @mv Makefile.new Makefile diff --exclude-from=exclude -N -u -r nsapolicy/man/man8/ftpd_selinux.8 policy-1.27.1/man/man8/ftpd_selinux.8 --- nsapolicy/man/man8/ftpd_selinux.8 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/man/man8/ftpd_selinux.8 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/man/man8/ftpd_selinux.8 2005-10-19 09:24:26.000000000 -0400 @@ -8,23 +8,24 @@ .SH FILE_CONTEXTS SELinux requires files to have an extended attribute to define the file type. @@ -2925,7 +3032,7 @@ SELinux ftp daemon policy is customizable based on least access required. So by diff --exclude-from=exclude -N -u -r nsapolicy/man/man8/httpd_selinux.8 policy-1.27.1/man/man8/httpd_selinux.8 --- nsapolicy/man/man8/httpd_selinux.8 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/man/man8/httpd_selinux.8 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/man/man8/httpd_selinux.8 2005-10-19 09:24:26.000000000 -0400 @@ -45,6 +45,15 @@ .SH NOTE With certain policies you can define addional file contexts based on roles like user or staff. httpd_user_script_exec_t can be defined where it would only have access to "user" contexts. @@ -2944,7 +3051,7 @@ default SElinux prevents certain http scripts from working. httpd policy is extremely flexible and has several booleans that allow you to manipulate the policy and run httpd with the tightest access possible. diff --exclude-from=exclude -N -u -r nsapolicy/man/man8/rsync_selinux.8 policy-1.27.1/man/man8/rsync_selinux.8 --- nsapolicy/man/man8/rsync_selinux.8 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/man/man8/rsync_selinux.8 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/man/man8/rsync_selinux.8 2005-10-19 09:24:26.000000000 -0400 @@ -8,16 +8,22 @@ .SH FILE_CONTEXTS SELinux requires files to have an extended attribute to define the file type. @@ -2973,7 +3080,7 @@ .TP diff --exclude-from=exclude -N -u -r nsapolicy/man/man8/samba_selinux.8 policy-1.27.1/man/man8/samba_selinux.8 --- nsapolicy/man/man8/samba_selinux.8 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/man/man8/samba_selinux.8 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/man/man8/samba_selinux.8 2005-10-19 09:24:26.000000000 -0400 @@ -20,6 +20,11 @@ .br /var/eng(/.*)? system_u:object_r:samba_share_t @@ -2999,7 +3106,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/mcs policy-1.27.1/mcs --- nsapolicy/mcs 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/mcs 2005-10-17 15:42:08.000000000 -0400 ++++ policy-1.27.1/mcs 2005-10-19 09:24:26.000000000 -0400 @@ -18,141 +18,77 @@ # # Each category has a name and zero or more aliases. @@ -3234,7 +3341,7 @@ # diff --exclude-from=exclude -N -u -r nsapolicy/mls policy-1.27.1/mls --- nsapolicy/mls 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/mls 2005-10-17 15:42:14.000000000 -0400 ++++ policy-1.27.1/mls 2005-10-20 08:55:38.000000000 -0400 @@ -13,12 +13,17 @@ sensitivity s7; sensitivity s8; @@ -3486,9 +3593,110 @@ # +@@ -545,7 +492,8 @@ + mlsconstrain window { addchild create destroy chstack chproplist chprop setattr setfocus move chselection chparent ctrllife transparent clientcomevent } + (( l1 eq l2 ) or + (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or +- ( t1 == mlsxwinwrite )); ++ ( t1 == mlsxwinwrite ) or ++ ( t2 == mlstrustedobject )); + + # these access vectors have no MLS restrictions + # window { map unmap } +@@ -583,12 +531,14 @@ + mlsconstrain colormap { list read getattr } + (( l1 dom l2 ) or + (( t1 == mlsxwinreadtoclr ) and ( h1 dom l2 )) or ++ ( t1 == mlsxwinreadcolormap ) or + ( t1 == mlsxwinread )); + + # the colormap "write" ops (implicit single level) + mlsconstrain colormap { create free install uninstall store setattr } + (( l1 eq l2 ) or + (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or ++ ( t1 == mlsxwinwritecolormap ) or + ( t1 == mlsxwinwrite )); + + +@@ -602,12 +552,14 @@ + mlsconstrain property { read } + (( l1 dom l2 ) or + (( t1 == mlsxwinreadtoclr ) and ( h1 dom l2 )) or ++ ( t1 == mlsxwinreadproperty ) or + ( t1 == mlsxwinread )); + + # the property "write" ops (implicit single level) + mlsconstrain property { create free write } + (( l1 eq l2 ) or + (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or ++ ( t1 == mlsxwinwriteproperty ) or + ( t1 == mlsxwinwrite )); + + +@@ -643,16 +595,14 @@ + # MLS policy for the xinput class + # + +-# the xinput "read" ops (implicit single level) +-mlsconstrain xinput { lookup getattr mousemotion } +- (( l1 dom l2 ) or +- (( t1 == mlsxwinreadtoclr ) and ( h1 dom l2 )) or +- ( t1 == mlsxwinread )); ++# these access vectors have no MLS restrictions ++# xinput ~{ relabelinput setattr } + + # the xinput "write" ops (implicit single level) +-mlsconstrain xinput { setattr setfocus warppointer activegrab passivegrab ungrab bell relabelinput } ++mlsconstrain xinput { setattr relabelinput } + (( l1 eq l2 ) or + (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or ++ ( t1 == mlsxwinwritexinput ) or + ( t1 == mlsxwinwrite )); + + +@@ -662,17 +612,8 @@ + # MLS policy for the xserver class + # + +-# the xserver "read" ops (implicit single level) +-mlsconstrain xserver { gethostlist getfontpath getattr screensaver } +- (( l1 dom l2 ) or +- (( t1 == mlsxwinreadtoclr ) and ( h1 dom l2 )) or +- ( t1 == mlsxwinread )); +- +-# the xserver "write" ops (implicit single level) +-mlsconstrain xserver { sethostlist setfontpath grab ungrab screensaver } +- (( l1 eq l2 ) or +- (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or +- ( t1 == mlsxwinwrite )); ++# these access vectors have no MLS restrictions ++# xserver * + + + +@@ -681,17 +622,8 @@ + # MLS policy for the xextension class + # + +-# the xextension "read" ops (implicit single level) +-mlsconstrain xextension query +- (( l1 dom l2 ) or +- (( t1 == mlsxwinreadtoclr ) and ( h1 dom l2 )) or +- ( t1 == mlsxwinread )); +- +-# the xextension "write" ops (implicit single level) +-mlsconstrain xextension use +- (( l1 eq l2 ) or +- (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or +- ( t1 == mlsxwinwrite )); ++# these access vectors have no MLS restrictions ++# xextension { query use } + + + # diff --exclude-from=exclude -N -u -r nsapolicy/net_contexts policy-1.27.1/net_contexts --- nsapolicy/net_contexts 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/net_contexts 2005-10-18 14:21:39.000000000 -0400 ++++ policy-1.27.1/net_contexts 2005-10-19 09:24:26.000000000 -0400 @@ -50,6 +50,10 @@ portcon tcp 53 system_u:object_r:dns_port_t @@ -3520,7 +3728,7 @@ portcon tcp 6002 system_u:object_r:xserver_port_t diff --exclude-from=exclude -N -u -r nsapolicy/targeted/appconfig/root_default_contexts policy-1.27.1/targeted/appconfig/root_default_contexts --- nsapolicy/targeted/appconfig/root_default_contexts 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/targeted/appconfig/root_default_contexts 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/targeted/appconfig/root_default_contexts 2005-10-19 09:24:26.000000000 -0400 @@ -1,2 +1,6 @@ system_r:unconfined_t system_r:unconfined_t system_r:initrc_t system_r:unconfined_t @@ -3530,7 +3738,7 @@ +system_r:crond_t system_r:unconfined_t diff --exclude-from=exclude -N -u -r nsapolicy/targeted/assert.te policy-1.27.1/targeted/assert.te --- nsapolicy/targeted/assert.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/targeted/assert.te 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/targeted/assert.te 2005-10-19 09:24:26.000000000 -0400 @@ -22,7 +22,7 @@ # Confined domains must never touch an unconfined domain except to @@ -3542,7 +3750,7 @@ neverallow { domain -unrestricted -snmpd_t } unconfined_t:dir { getattr search }; diff --exclude-from=exclude -N -u -r nsapolicy/targeted/domains/program/ssh.te policy-1.27.1/targeted/domains/program/ssh.te --- nsapolicy/targeted/domains/program/ssh.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/targeted/domains/program/ssh.te 2005-10-17 15:49:55.000000000 -0400 ++++ policy-1.27.1/targeted/domains/program/ssh.te 2005-10-19 09:24:26.000000000 -0400 @@ -17,3 +17,6 @@ type sshd_key_t, file_type, sysadmfile; type sshd_var_run_t, file_type, sysadmfile; @@ -3552,7 +3760,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/targeted/domains/program/xdm.te policy-1.27.1/targeted/domains/program/xdm.te --- nsapolicy/targeted/domains/program/xdm.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/targeted/domains/program/xdm.te 2005-10-17 15:49:55.000000000 -0400 ++++ policy-1.27.1/targeted/domains/program/xdm.te 2005-10-19 09:24:26.000000000 -0400 @@ -20,3 +20,7 @@ type xdm_tmp_t, file_type, sysadmfile; domain_auto_trans(initrc_t, xdm_exec_t, xdm_t) @@ -3563,7 +3771,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/targeted/domains/unconfined.te policy-1.27.1/targeted/domains/unconfined.te --- nsapolicy/targeted/domains/unconfined.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/targeted/domains/unconfined.te 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/targeted/domains/unconfined.te 2005-10-19 09:24:26.000000000 -0400 @@ -63,6 +63,7 @@ bool use_samba_home_dirs false; @@ -3592,7 +3800,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/tunables/distro.tun policy-1.27.1/tunables/distro.tun --- nsapolicy/tunables/distro.tun 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/tunables/distro.tun 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/tunables/distro.tun 2005-10-19 09:24:26.000000000 -0400 @@ -5,7 +5,7 @@ # appropriate ifdefs. @@ -3604,7 +3812,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/tunables/tunable.tun policy-1.27.1/tunables/tunable.tun --- nsapolicy/tunables/tunable.tun 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/tunables/tunable.tun 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/tunables/tunable.tun 2005-10-19 09:24:26.000000000 -0400 @@ -1,5 +1,5 @@ # Allow rpm to run unconfined. -dnl define(`unlimitedRPM') @@ -3623,7 +3831,7 @@ # Otherwise, only staff_r can do so. diff --exclude-from=exclude -N -u -r nsapolicy/types/device.te policy-1.27.1/types/device.te --- nsapolicy/types/device.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/types/device.te 2005-10-18 14:19:04.000000000 -0400 ++++ policy-1.27.1/types/device.te 2005-10-19 09:24:26.000000000 -0400 @@ -131,8 +131,8 @@ # Type for /dev/.devfsd type devfs_control_t, device_type, dev_fs; @@ -3637,7 +3845,7 @@ type power_device_t, device_type, dev_fs; diff --exclude-from=exclude -N -u -r nsapolicy/types/devpts.te policy-1.27.1/types/devpts.te --- nsapolicy/types/devpts.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/types/devpts.te 2005-10-18 14:19:04.000000000 -0400 ++++ policy-1.27.1/types/devpts.te 2005-10-19 09:24:26.000000000 -0400 @@ -18,4 +18,6 @@ # type devpts_t, mount_point, fs_type; @@ -3648,7 +3856,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/types/file.te policy-1.27.1/types/file.te --- nsapolicy/types/file.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/types/file.te 2005-10-18 14:19:04.000000000 -0400 ++++ policy-1.27.1/types/file.te 2005-10-19 09:24:26.000000000 -0400 @@ -307,8 +307,7 @@ type hugetlbfs_t, mount_point, fs_type, sysadmfile; allow hugetlbfs_t self:filesystem associate; @@ -3696,7 +3904,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/types/network.te policy-1.27.1/types/network.te --- nsapolicy/types/network.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/types/network.te 2005-10-18 14:19:04.000000000 -0400 ++++ policy-1.27.1/types/network.te 2005-10-19 09:24:26.000000000 -0400 @@ -18,7 +18,7 @@ type dhcpd_port_t, port_type, reserved_port_type; type smbd_port_t, port_type, reserved_port_type; @@ -3750,7 +3958,7 @@ type rsync_port_t, port_type, reserved_port_type; diff --exclude-from=exclude -N -u -r nsapolicy/types/security.te policy-1.27.1/types/security.te --- nsapolicy/types/security.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/types/security.te 2005-10-18 14:19:04.000000000 -0400 ++++ policy-1.27.1/types/security.te 2005-10-19 09:24:26.000000000 -0400 @@ -13,12 +13,17 @@ # applied to selinuxfs inodes. # Index: selinux-policy-targeted.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/FC-4/selinux-policy-targeted.spec,v retrieving revision 1.344 retrieving revision 1.345 diff -u -r1.344 -r1.345 --- selinux-policy-targeted.spec 18 Oct 2005 18:22:53 -0000 1.344 +++ selinux-policy-targeted.spec 20 Oct 2005 12:57:10 -0000 1.345 @@ -9,7 +9,7 @@ Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} Version: 1.27.1 -Release: 2.8 +Release: 2.9 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz @@ -50,7 +50,7 @@ mv domains/misc/unused/kernel.te domains/misc/ mv domains/program/*.te domains/program/unused/ rm domains/*.te -(cd domains/program/unused; mv acct.te anaconda.te amanda.te apache.te apmd.te arpwatch.te auditd.te bluetooth.te checkpolicy.te canna.te cardmgr.te chkpwd.te comsat.te consoletype.te cpucontrol.te cpuspeed.te cups.te cvs.te cyrus.te dbskkd.te dmidecode.te dbusd.te dhcpc.te dhcpd.te dictd.te dovecot.te fingerd.te firstboot.te fsadm.te ftpd.te getty.te hald.te hostname.te hotplug.te howl.te hwclock.te kudzu.te ifconfig.te init.te initrc.te inetd.te innd.te kerberos.te klogd.te ktalkd.te ldconfig.te load_policy.te login.te lpd.te mailman.te modutil.te mta.te mysqld.te named.te netutils.te NetworkManager.te nscd.te ntpd.te passwd.te pegasus.te ping.te portmap.te postfix.te postgresql.te pppd.te privoxy.te radius.te radvd.te restorecon.te rlogind.te rpcd.te rshd.te rsync.te saslauthd.te samba.te setfiles.te slapd.te snmpd.te squid.te stunnel.te syslogd.te telnetd.te tftpd.te udev.te updfstab.te uucpd.te webalizer.te winbind.te ypbind.te ypserv.te zebra.te ../) +(cd domains/program/unused; mv acct.te anaconda.te amanda.te apache.te apmd.te arpwatch.te auditd.te bluetooth.te checkpolicy.te canna.te cardmgr.te chkpwd.te comsat.te consoletype.te cpucontrol.te cpuspeed.te cups.te cvs.te cyrus.te dbskkd.te dmidecode.te dbusd.te dhcpc.te dhcpd.te dictd.te dovecot.te fingerd.te firstboot.te fsadm.te ftpd.te getty.te hald.te hostname.te hotplug.te howl.te hwclock.te kudzu.te ifconfig.te init.te initrc.te inetd.te innd.te kerberos.te klogd.te ktalkd.te ldconfig.te load_policy.te login.te lpd.te mailman.te modutil.te mta.te mysqld.te named.te netutils.te NetworkManager.te nscd.te ntpd.te passwd.te pegasus.te ping.te portmap.te postfix.te postgresql.te pppd.te privoxy.te radius.te radvd.te restorecon.te rlogind.te rpcd.te rshd.te rsync.te saslauthd.te samba.te setfiles.te slapd.te snmpd.te spamd.te squid.te stunnel.te syslogd.te telnetd.te tftpd.te udev.te updfstab.te uucpd.te webalizer.te winbind.te ypbind.te ypserv.te zebra.te ../) rm -rf domains/program/unused rm -rf domains/misc/unused cp -R %{type}/* . @@ -236,7 +236,11 @@ exit 0 %changelog -* Mon Oct 17 2005 Dan Walsh 1.27.1-2.8 +* Wed Oct 19 2005 Dan Walsh 1.27.1-2.9 +- Fix mysql +- Add spamd.te + +* Tue Oct 18 2005 Dan Walsh 1.27.1-2.8 - Fix gssd * Mon Oct 17 2005 Dan Walsh 1.27.1-2.7 From fedora-cvs-commits at redhat.com Thu Oct 20 12:58:54 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 08:58:54 -0400 Subject: rpms/selinux-policy-strict/FC-4 policy-20050916.patch, 1.8, 1.9 selinux-policy-strict.spec, 1.325, 1.326 Message-ID: <200510201258.j9KCws5K014852@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-strict/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv14828 Modified Files: policy-20050916.patch selinux-policy-strict.spec Log Message: * Wed Oct 19 2005 Dan Walsh 1.27.1-2.9 - Fix mysql - Add spamd.te policy-20050916.patch: Makefile | 24 +- attrib.te | 96 ++++++++++- domains/misc/kernel.te | 2 domains/program/crond.te | 2 domains/program/fsadm.te | 7 domains/program/hostname.te | 2 domains/program/ifconfig.te | 5 domains/program/initrc.te | 20 ++ domains/program/ldconfig.te | 3 domains/program/load_policy.te | 7 domains/program/login.te | 21 +- domains/program/modutil.te | 14 - domains/program/mount.te | 6 domains/program/netutils.te | 3 domains/program/newrole.te | 4 domains/program/passwd.te | 1 domains/program/restorecon.te | 3 domains/program/setfiles.te | 4 domains/program/ssh.te | 6 domains/program/su.te | 9 + domains/program/syslogd.te | 6 domains/program/unused/NetworkManager.te | 8 domains/program/unused/alsa.te | 2 domains/program/unused/amanda.te | 74 ++------ domains/program/unused/anaconda.te | 5 domains/program/unused/apache.te | 22 +- domains/program/unused/apmd.te | 19 ++ domains/program/unused/auditd.te | 2 domains/program/unused/automount.te | 4 domains/program/unused/bluetooth.te | 72 ++++++++ domains/program/unused/cups.te | 18 +- domains/program/unused/cvs.te | 3 domains/program/unused/cyrus.te | 2 domains/program/unused/dbusd.te | 4 domains/program/unused/dcc.te | 5 domains/program/unused/dhcpc.te | 7 domains/program/unused/dhcpd.te | 3 domains/program/unused/dovecot.te | 4 domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/hwclock.te | 2 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 5 domains/program/unused/mta.te | 8 domains/program/unused/mysqld.te | 10 - domains/program/unused/named.te | 29 ++- domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 10 - domains/program/unused/openct.te | 16 + domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 37 ++++ domains/program/unused/ping.te | 3 domains/program/unused/postfix.te | 57 ++++-- domains/program/unused/pppd.te | 8 domains/program/unused/procmail.te | 11 + domains/program/unused/readahead.te | 21 ++ domains/program/unused/rlogind.te | 4 domains/program/unused/roundup.te | 29 +++ domains/program/unused/rpcd.te | 18 +- domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 12 + domains/program/unused/snmpd.te | 6 domains/program/unused/squid.te | 3 domains/program/unused/udev.te | 10 - domains/program/unused/utempter.te | 2 domains/program/unused/webalizer.te | 3 domains/program/unused/winbind.te | 1 domains/program/unused/xdm.te | 3 domains/program/unused/yppasswdd.te | 40 ++++ domains/program/unused/ypserv.te | 1 domains/program/useradd.te | 5 file_contexts/distros.fc | 2 file_contexts/program/apache.fc | 2 file_contexts/program/bluetooth.fc | 3 file_contexts/program/dhcpc.fc | 2 file_contexts/program/dhcpd.fc | 5 file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 11 - file_contexts/program/ipsec.fc | 1 file_contexts/program/openct.fc | 2 file_contexts/program/pegasus.fc | 11 + file_contexts/program/pppd.fc | 2 file_contexts/program/readahead.fc | 1 file_contexts/program/roundup.fc | 2 file_contexts/program/rpm.fc | 4 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/xdm.fc | 2 file_contexts/program/yppasswdd.fc | 2 file_contexts/program/ypserv.fc | 1 file_contexts/types.fc | 4 genfs_contexts | 3 macros/base_user_macros.te | 6 macros/core_macros.te | 3 macros/global_macros.te | 18 +- macros/network_macros.te | 17 + macros/program/apache_macros.te | 13 + macros/program/bonobo_macros.te | 2 macros/program/cdrecord_macros.te | 2 macros/program/crontab_macros.te | 2 macros/program/dbusd_macros.te | 4 macros/program/gconf_macros.te | 2 macros/program/gift_macros.te | 2 macros/program/gpg_macros.te | 2 macros/program/i18n_input_macros.te | 21 ++ macros/program/lpr_macros.te | 2 macros/program/mta_macros.te | 4 macros/program/newrole_macros.te | 2 macros/program/pyzor_macros.te | 2 macros/program/razor_macros.te | 2 macros/program/su_macros.te | 4 macros/program/uml_macros.te | 2 macros/program/xdm_macros.te | 2 macros/user_macros.te | 6 man/man8/ftpd_selinux.8 | 19 +- man/man8/httpd_selinux.8 | 9 + man/man8/rsync_selinux.8 | 12 + man/man8/samba_selinux.8 | 9 + mcs | 210 +++++++++--------------- mls | 270 +++++++++++-------------------- net_contexts | 8 targeted/appconfig/root_default_contexts | 4 targeted/assert.te | 2 targeted/domains/program/ssh.te | 3 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 15 + tunables/distro.tun | 2 tunables/tunable.tun | 4 types/device.te | 4 types/devpts.te | 4 types/file.te | 18 +- types/network.te | 13 - types/security.te | 5 135 files changed, 1108 insertions(+), 575 deletions(-) Index: policy-20050916.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/FC-4/policy-20050916.patch,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- policy-20050916.patch 18 Oct 2005 18:25:42 -0000 1.8 +++ policy-20050916.patch 20 Oct 2005 12:58:50 -0000 1.9 @@ -1,57 +1,145 @@ diff --exclude-from=exclude -N -u -r nsapolicy/attrib.te policy-1.27.1/attrib.te --- nsapolicy/attrib.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/attrib.te 2005-10-17 15:43:08.000000000 -0400 -@@ -17,17 +17,49 @@ ++++ policy-1.27.1/attrib.te 2005-10-20 08:55:14.000000000 -0400 +@@ -8,51 +8,130 @@ + # explicitly declared here, and can then be associated with particular + # types in type declarations. Attribute names can then be used throughout + # the configuration to express the set of types that are associated with +-# the attribute. Except for the MLS attributes, attributes have no implicit +-# meaning to SELinux. The meaning of all other attributes are completely +-# defined through their usage within the configuration, but should be +-# documented here as comments preceding the attribute declaration. ++# the attribute. Attributes have no implicit meaning to SELinux. The ++# meaning of all attributes are completely defined through their ++# usage within the configuration, but should be documented here as ++# comments preceding the attribute declaration. + + ##################### # Attributes for MLS: # -+# Read files and search directories that have a classification higher than -+# subject clearance - attribute mlsfileread; ++# Common Terminology ++# MLS Range: low-high ++# low referred to as "Effective Sensitivity Label (SL)" ++# high referred to as "Clearance SL" + -+# Read files and search directories with a classification higher than the -+# effective clearance but not higher than the clearance - attribute mlsfilereadtoclr; + -+# Write files and directories in situations where MLS normally denies writes ++# ++# File System MLS attributes/privileges ++# ++# Grant MLS read access to files not dominated by the process Effective SL + attribute mlsfileread; ++# Grant MLS read access to files which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsfilereadtoclr; ++# Grant MLS write access to files not equal to the Effective SL attribute mlsfilewrite; -+ -+# Write files and directories where clearance of the subject dominates the -+# classification of the file/dir and the classification of the file/dir -+# dominates the effective clearance of the subject. ++# Grant MLS write access to files which dominate the process Effective SL ++# and are dominated by the process Clearance SL attribute mlsfilewritetoclr; -+ -+# Increase the classification and/or effective classification of the object -+# regardless of the clearance of the subject. ++# Grant MLS ability to change file label to a new label which dominates ++# the old label attribute mlsfileupgrade; -+ -+# Decrease the classification and/or effective classification of the object -+# regardless of the clearance of the subject. NB An new label with an -+# incomparable effective classification and an equal classification is -+# considered a downgrade as is an incomparable classification ++# Grant MLS ability to change file label to a new label which is ++# dominated by or incomparable to the old label attribute mlsfiledowngrade; -+# Read network data with a lower effective classification than the effective -+# clearance of the process ++# ++# Network MLS attributes/privileges ++# ++# Grant MLS read access to packets not dominated by the process Effective SL attribute mlsnetread; -+ -+# Read network data with a lower effective classification than the effective -+# clearance of the process when the classification of the process is higher ++# Grant MLS read access to packets which dominate the process Effective SL ++# and are dominated by the process Clearance SL attribute mlsnetreadtoclr; -+ -+# Write network data with a higher effective classification or with a -+# classification higher than the clearance of the subject ++# Grant MLS write access to packets not equal to the Effective SL attribute mlsnetwrite; -+ -+# Write network data where the clearance of the process dominates the -+# effective classification of the data and the effective classification of -+# the data dominates the effective clearance of the subject. ++# Grant MLS write access to packets which dominate the Effective SL ++# and are dominated by the process Clearance SL attribute mlsnetwritetoclr; -+ ++# Grant MLS read access to packets from hosts or interfaces which dominate ++# or incomparable to the process Effective SL ++attribute mlsnetrecvall; ++# Grant MLS ability to change socket label to a new label which dominates ++# the old label attribute mlsnetupgrade; ++# Grant MLS ability to change socket label to a new label which is ++# dominated by or incomparable to the old label attribute mlsnetdowngrade; - attribute mlsnetrecvall; -@@ -443,6 +475,9 @@ +-attribute mlsnetrecvall; + ++# ++# IPC MLS attributes/privileges ++# ++# Grant MLS read access to IPC objects not dominated by the process Effective SL + attribute mlsipcread; ++# Grant MLS read access to IPC objects which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsipcreadtoclr; ++# Grant MLS write access to IPC objects not equal to the process Effective SL + attribute mlsipcwrite; ++# Grant MLS write access to IPC objects which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsipcwritetoclr; + ++# ++# Process MLS attributes/privileges ++# ++# Grant MLS read access to processes not dominated by the process Effective SL + attribute mlsprocread; ++# Grant MLS read access to processes which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsprocreadtoclr; ++# Grant MLS write access to processes not equal to the Effective SL + attribute mlsprocwrite; ++# Grant MLS write access to processes which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsprocwritetoclr; ++# Grant MLS ability to change Effective SL or Clearance SL of process to a ++# label dominated by the Clearance SL + attribute mlsprocsetsl; + ++# ++# X Window MLS attributes/privileges ++# ++# Grant MLS read access to X objects not dominated by the process Effective SL + attribute mlsxwinread; ++# Grant MLS read access to X objects which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsxwinreadtoclr; ++# Grant MLS write access to X objects not equal to the process Effective SL + attribute mlsxwinwrite; ++# Grant MLS write access to X objects which dominate the process Effective SL ++# and are dominated by the process Clearance SL + attribute mlsxwinwritetoclr; +-attribute mlsxwinupgrade; +-attribute mlsxwindowngrade; ++# Grant MLS read access to X properties not dominated by ++# the process Effective SL ++attribute mlsxwinreadproperty; ++# Grant MLS write access to X properties not equal to the process Effective SL ++attribute mlsxwinwriteproperty; ++# Grant MLS read access to X colormaps not dominated by ++# the process Effective SL ++attribute mlsxwinreadcolormap; ++# Grant MLS write access to X colormaps not equal to the process Effective SL ++attribute mlsxwinwritecolormap; ++# Grant MLS write access to X xinputs not equal to the process Effective SL ++attribute mlsxwinwritexinput; + ++# Grant MLS read/write access to objects which internally arbitrate MLS + attribute mlstrustedobject; + ++# ++# Both of the following attributes are needed for a range transition to succeed ++# ++# Grant ability for the current domain to change SL upon process transition + attribute privrangetrans; ++# Grant ability for the new process domain to change SL upon process transition + attribute mlsrangetrans; + + ######################### +@@ -443,6 +522,9 @@ # Attribute to designate unrestricted access attribute unrestricted; @@ -63,7 +151,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/misc/kernel.te policy-1.27.1/domains/misc/kernel.te --- nsapolicy/domains/misc/kernel.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/misc/kernel.te 2005-10-17 15:48:01.000000000 -0400 ++++ policy-1.27.1/domains/misc/kernel.te 2005-10-19 09:24:25.000000000 -0400 @@ -30,7 +30,7 @@ ifdef(`mls_policy', ` @@ -75,7 +163,7 @@ # Share state with the init process. diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/crond.te policy-1.27.1/domains/program/crond.te --- nsapolicy/domains/program/crond.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/crond.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/crond.te 2005-10-19 09:24:25.000000000 -0400 @@ -106,7 +106,7 @@ # Inherit and use descriptors from initrc for anacron. @@ -87,7 +175,7 @@ allow system_crond_t self:capability { dac_read_search chown setgid setuid fowner net_bind_service fsetid }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/fsadm.te policy-1.27.1/domains/program/fsadm.te --- nsapolicy/domains/program/fsadm.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/fsadm.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/fsadm.te 2005-10-19 09:24:25.000000000 -0400 @@ -102,10 +102,10 @@ allow fsadm_t kernel_t:system syslog_console; @@ -110,7 +198,7 @@ +allow fsadm_t file_type:dir { getattr search }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/hostname.te policy-1.27.1/domains/program/hostname.te --- nsapolicy/domains/program/hostname.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/hostname.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/hostname.te 2005-10-19 09:24:25.000000000 -0400 @@ -24,5 +24,5 @@ ifdef(`distro_redhat', ` allow hostname_t tmpfs_t:chr_file rw_file_perms; @@ -120,7 +208,7 @@ allow hostname_t initrc_t:fd use; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/ifconfig.te policy-1.27.1/domains/program/ifconfig.te --- nsapolicy/domains/program/ifconfig.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/ifconfig.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/ifconfig.te 2005-10-19 09:24:25.000000000 -0400 @@ -52,7 +52,8 @@ allow ifconfig_t self:udp_socket create_socket_perms; @@ -142,7 +230,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/initrc.te policy-1.27.1/domains/program/initrc.te --- nsapolicy/domains/program/initrc.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/initrc.te 2005-10-18 14:19:49.000000000 -0400 ++++ policy-1.27.1/domains/program/initrc.te 2005-10-19 09:24:25.000000000 -0400 @@ -56,6 +56,10 @@ can_create_pty(initrc) @@ -183,7 +271,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/ldconfig.te policy-1.27.1/domains/program/ldconfig.te --- nsapolicy/domains/program/ldconfig.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/ldconfig.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/ldconfig.te 2005-10-19 09:24:25.000000000 -0400 @@ -16,7 +16,8 @@ domain_auto_trans({ sysadm_t initrc_t }, ldconfig_exec_t, ldconfig_t) @@ -196,7 +284,7 @@ uses_shlib(ldconfig_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/load_policy.te policy-1.27.1/domains/program/load_policy.te --- nsapolicy/domains/program/load_policy.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/load_policy.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/load_policy.te 2005-10-19 09:24:25.000000000 -0400 @@ -45,11 +45,12 @@ allow load_policy_t root_t:dir search; allow load_policy_t etc_t:dir search; @@ -215,7 +303,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/login.te policy-1.27.1/domains/program/login.te --- nsapolicy/domains/program/login.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/login.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/login.te 2005-10-19 09:24:25.000000000 -0400 @@ -62,6 +62,11 @@ ifdef(`pamconsole.te', ` @@ -267,7 +355,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/modutil.te policy-1.27.1/domains/program/modutil.te --- nsapolicy/domains/program/modutil.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/modutil.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/modutil.te 2005-10-19 09:24:25.000000000 -0400 @@ -59,7 +59,8 @@ allow depmod_t modules_object_t:file unlink; @@ -320,7 +408,7 @@ allow update_modules_t urandom_device_t:chr_file { getattr read }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/mount.te policy-1.27.1/domains/program/mount.te --- nsapolicy/domains/program/mount.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/mount.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/mount.te 2005-10-19 09:24:25.000000000 -0400 @@ -16,13 +16,14 @@ role sysadm_r types mount_t; role system_r types mount_t; @@ -346,7 +434,7 @@ allow mount_t proc_t:lnk_file read; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/netutils.te policy-1.27.1/domains/program/netutils.te --- nsapolicy/domains/program/netutils.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/netutils.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/netutils.te 2005-10-19 09:24:25.000000000 -0400 @@ -55,7 +55,8 @@ # Access terminals. @@ -359,7 +447,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/newrole.te policy-1.27.1/domains/program/newrole.te --- nsapolicy/domains/program/newrole.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/newrole.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/newrole.te 2005-10-19 09:24:25.000000000 -0400 @@ -18,3 +18,7 @@ allow newrole_t initrc_var_run_t:file rw_file_perms; @@ -370,7 +458,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/passwd.te policy-1.27.1/domains/program/passwd.te --- nsapolicy/domains/program/passwd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/passwd.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/passwd.te 2005-10-19 09:24:25.000000000 -0400 @@ -153,5 +153,4 @@ ifdef(`targeted_policy', ` @@ -379,7 +467,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/restorecon.te policy-1.27.1/domains/program/restorecon.te --- nsapolicy/domains/program/restorecon.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/restorecon.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/restorecon.te 2005-10-19 09:24:25.000000000 -0400 @@ -19,7 +19,7 @@ role sysadm_r types restorecon_t; role secadm_r types restorecon_t; @@ -396,7 +484,7 @@ +allow restorecon_t autofs_t:dir search; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/setfiles.te policy-1.27.1/domains/program/setfiles.te --- nsapolicy/domains/program/setfiles.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/setfiles.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/setfiles.te 2005-10-19 09:24:25.000000000 -0400 @@ -12,7 +12,7 @@ # # needs auth_write attribute because it has relabelfrom/relabelto @@ -417,7 +505,7 @@ allow setfiles_t self:unix_dgram_socket create_socket_perms; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/ssh.te policy-1.27.1/domains/program/ssh.te --- nsapolicy/domains/program/ssh.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/ssh.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/ssh.te 2005-10-19 09:24:25.000000000 -0400 @@ -153,6 +153,7 @@ # sshd_program_domain(sshd) @@ -444,7 +532,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/su.te policy-1.27.1/domains/program/su.te --- nsapolicy/domains/program/su.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/su.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/su.te 2005-10-19 09:24:25.000000000 -0400 @@ -12,3 +12,12 @@ # Everything else is in the su_domain macro in @@ -460,7 +548,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/syslogd.te policy-1.27.1/domains/program/syslogd.te --- nsapolicy/domains/program/syslogd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/syslogd.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/syslogd.te 2005-10-19 09:24:25.000000000 -0400 @@ -14,9 +14,9 @@ # by syslogd. # @@ -484,7 +572,7 @@ allow syslogd_t self:capability { dac_override net_admin net_bind_service sys_resource sys_tty_config }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/alsa.te policy-1.27.1/domains/program/unused/alsa.te --- nsapolicy/domains/program/unused/alsa.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/alsa.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/alsa.te 2005-10-19 09:26:00.000000000 -0400 @@ -11,6 +11,8 @@ allow alsa_t self:unix_stream_socket create_stream_socket_perms; allow alsa_t self:unix_dgram_socket create_socket_perms; @@ -496,7 +584,7 @@ allow alsa_t self:capability { setgid setuid ipc_owner }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/amanda.te policy-1.27.1/domains/program/unused/amanda.te --- nsapolicy/domains/program/unused/amanda.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/amanda.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/amanda.te 2005-10-19 09:26:00.000000000 -0400 @@ -84,7 +84,6 @@ # configuration files -> read only @@ -658,7 +746,7 @@ +allow amanda_t file_type:fifo_file getattr; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/anaconda.te policy-1.27.1/domains/program/unused/anaconda.te --- nsapolicy/domains/program/unused/anaconda.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/anaconda.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/anaconda.te 2005-10-19 09:26:00.000000000 -0400 @@ -17,11 +17,6 @@ role system_r types ldconfig_t; domain_auto_trans(anaconda_t, ldconfig_exec_t, ldconfig_t) @@ -673,7 +761,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/apache.te policy-1.27.1/domains/program/unused/apache.te --- nsapolicy/domains/program/unused/apache.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/apache.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/apache.te 2005-10-19 09:26:00.000000000 -0400 @@ -113,9 +113,12 @@ can_network_server(httpd_t) can_kerberos(httpd_t) @@ -737,7 +825,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/apmd.te policy-1.27.1/domains/program/unused/apmd.te --- nsapolicy/domains/program/unused/apmd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/apmd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/apmd.te 2005-10-19 09:26:00.000000000 -0400 @@ -47,6 +47,7 @@ # acpid also has a logfile @@ -746,7 +834,7 @@ ifdef(`distro_suse', ` var_lib_domain(apmd) -@@ -140,3 +141,15 @@ +@@ -140,3 +141,21 @@ allow apmd_t user_tty_type:chr_file rw_file_perms; # Access /dev/apm_bios. allow initrc_t apm_bios_t:chr_file { setattr getattr read }; @@ -762,9 +850,15 @@ +unconfined_domain(apmd_t) +') + ++ifdef(`NetworkManager.te', ` ++ifdef(`dbusd.te', ` ++allow apmd_t NetworkManager_t:dbus send_msg; ++allow NetworkManager_t apmd_t:dbus send_msg; ++') ++') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/auditd.te policy-1.27.1/domains/program/unused/auditd.te --- nsapolicy/domains/program/unused/auditd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/auditd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/auditd.te 2005-10-19 09:26:00.000000000 -0400 @@ -65,3 +65,5 @@ allow auditctl_t privfd:fd use; @@ -773,7 +867,7 @@ +can_exec(auditd_t, sbin_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/automount.te policy-1.27.1/domains/program/unused/automount.te --- nsapolicy/domains/program/unused/automount.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/automount.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/automount.te 2005-10-19 09:26:00.000000000 -0400 @@ -34,7 +34,9 @@ can_exec(automount_t, { etc_t automount_etc_t }) @@ -799,7 +893,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/bluetooth.te policy-1.27.1/domains/program/unused/bluetooth.te --- nsapolicy/domains/program/unused/bluetooth.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/bluetooth.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/bluetooth.te 2005-10-19 09:26:00.000000000 -0400 @@ -11,16 +11,23 @@ daemon_domain(bluetooth) @@ -902,7 +996,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/cups.te policy-1.27.1/domains/program/unused/cups.te --- nsapolicy/domains/program/unused/cups.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/cups.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/cups.te 2005-10-19 09:26:00.000000000 -0400 @@ -188,6 +188,7 @@ # Uses networking to talk to the daemons allow hplip_t self:unix_dgram_socket create_socket_perms; @@ -967,7 +1061,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/cvs.te policy-1.27.1/domains/program/unused/cvs.te --- nsapolicy/domains/program/unused/cvs.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/cvs.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/cvs.te 2005-10-19 09:26:00.000000000 -0400 @@ -23,6 +23,9 @@ allow cvs_t etc_runtime_t:file { getattr read }; allow system_mail_t cvs_data_t:file { getattr read }; @@ -980,7 +1074,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/cyrus.te policy-1.27.1/domains/program/unused/cyrus.te --- nsapolicy/domains/program/unused/cyrus.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/cyrus.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/cyrus.te 2005-10-19 09:26:00.000000000 -0400 @@ -42,7 +42,7 @@ create_dir_file(cyrus_t, mail_spool_t) allow cyrus_t var_spool_t:dir search; @@ -992,7 +1086,7 @@ allow cyrus_t saslauthd_t:unix_stream_socket { connectto }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dbusd.te policy-1.27.1/domains/program/unused/dbusd.te --- nsapolicy/domains/program/unused/dbusd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dbusd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dbusd.te 2005-10-19 09:26:00.000000000 -0400 @@ -12,7 +12,7 @@ # dac_override: /var/run/dbus is owned by messagebus on Debian @@ -1010,7 +1104,7 @@ +allow system_dbusd_t self:netlink_audit_socket { create_netlink_socket_perms nlmsg_relay }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dcc.te policy-1.27.1/domains/program/unused/dcc.te --- nsapolicy/domains/program/unused/dcc.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dcc.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dcc.te 2005-10-19 09:26:00.000000000 -0400 @@ -200,9 +200,8 @@ can_exec_any(dcc_script_t) dcc_common(dcc_script) @@ -1025,7 +1119,7 @@ # the dcc user (even though the default dcc user is root). diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dhcpc.te policy-1.27.1/domains/program/unused/dhcpc.te --- nsapolicy/domains/program/unused/dhcpc.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dhcpc.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dhcpc.te 2005-10-20 08:56:04.000000000 -0400 @@ -120,6 +120,7 @@ allow dhcpc_t self:packet_socket create_socket_perms; allow dhcpc_t var_lib_t:dir search; @@ -1050,16 +1144,18 @@ ') ifdef(`ntpd.te', ` domain_auto_trans(dhcpc_t, ntpd_exec_t, ntpd_t) -@@ -161,5 +162,5 @@ +@@ -161,5 +162,7 @@ ifdef(`unconfined.te', ` allow unconfined_t dhcpc_t:dbus send_msg; allow dhcpc_t unconfined_t:dbus send_msg; -')dnl end ifdef unconfined.te -+') ') ++') ++ifdef(`netutils.te', `domain_auto_trans(dhcpd_t, netutils_exec_t, netutils_t)') ++allow dhcpc_t locale_t:file write; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dhcpd.te policy-1.27.1/domains/program/unused/dhcpd.te --- nsapolicy/domains/program/unused/dhcpd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dhcpd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dhcpd.te 2005-10-19 09:26:00.000000000 -0400 @@ -17,8 +17,6 @@ # daemon_domain(dhcpd, `, nscd_client_domain') @@ -1079,7 +1175,7 @@ allow dhcpd_t self:unix_stream_socket create_socket_perms; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/dovecot.te policy-1.27.1/domains/program/unused/dovecot.te --- nsapolicy/domains/program/unused/dovecot.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/dovecot.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/dovecot.te 2005-10-19 09:26:00.000000000 -0400 @@ -43,7 +43,9 @@ can_kerberos(dovecot_t) @@ -1093,7 +1189,7 @@ allow dovecot_t mail_spool_t:lnk_file read; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ftpd.te policy-1.27.1/domains/program/unused/ftpd.te --- nsapolicy/domains/program/unused/ftpd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/ftpd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/ftpd.te 2005-10-19 09:26:00.000000000 -0400 @@ -99,9 +99,11 @@ if (ftp_home_dir) { @@ -1110,7 +1206,7 @@ r_dir_file(ftpd_t, nfs_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/hald.te policy-1.27.1/domains/program/unused/hald.te --- nsapolicy/domains/program/unused/hald.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/hald.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/hald.te 2005-10-19 09:26:00.000000000 -0400 @@ -24,7 +24,8 @@ allow hald_t self:dbus send_msg; ') @@ -1129,7 +1225,7 @@ +r_dir_file(hald_t, hwdata_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/hotplug.te policy-1.27.1/domains/program/unused/hotplug.te --- nsapolicy/domains/program/unused/hotplug.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/hotplug.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/hotplug.te 2005-10-19 09:26:00.000000000 -0400 @@ -11,9 +11,9 @@ # hotplug_exec_t is the type of the hotplug executable. # @@ -1152,7 +1248,7 @@ allow hotplug_t printer_device_t:chr_file setattr; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/hwclock.te policy-1.27.1/domains/program/unused/hwclock.te --- nsapolicy/domains/program/unused/hwclock.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/hwclock.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/hwclock.te 2005-10-19 09:26:00.000000000 -0400 @@ -21,7 +21,6 @@ domain_auto_trans(sysadm_t, hwclock_exec_t, hwclock_t) ') @@ -1168,7 +1264,7 @@ +r_dir_file(hwclock_t, etc_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ipsec.te policy-1.27.1/domains/program/unused/ipsec.te --- nsapolicy/domains/program/unused/ipsec.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/ipsec.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/ipsec.te 2005-10-19 09:26:00.000000000 -0400 @@ -219,7 +219,7 @@ dontaudit ipsec_mgmt_t selinux_config_t:dir search; dontaudit ipsec_t ttyfile:chr_file { read write }; @@ -1180,7 +1276,7 @@ allow ipsec_mgmt_t self:{ tcp_socket udp_socket } create_socket_perms; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/kudzu.te policy-1.27.1/domains/program/unused/kudzu.te --- nsapolicy/domains/program/unused/kudzu.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/kudzu.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/kudzu.te 2005-10-19 09:26:00.000000000 -0400 @@ -20,7 +20,7 @@ allow kudzu_t ramfs_t:dir search; allow kudzu_t ramfs_t:sock_file write; @@ -1209,7 +1305,7 @@ allow kudzu_t initrc_t:unix_stream_socket connectto; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/mta.te policy-1.27.1/domains/program/unused/mta.te --- nsapolicy/domains/program/unused/mta.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/mta.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/mta.te 2005-10-19 09:26:00.000000000 -0400 @@ -31,6 +31,10 @@ create_dir_file(system_mail_t, mail_spool_t) allow system_mail_t mail_spool_t:fifo_file rw_file_perms; @@ -1231,7 +1327,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/mysqld.te policy-1.27.1/domains/program/unused/mysqld.te --- nsapolicy/domains/program/unused/mysqld.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/mysqld.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/mysqld.te 2005-10-19 09:26:00.000000000 -0400 @@ -12,7 +12,7 @@ # daemon_domain(mysqld, `, nscd_client_domain') @@ -1241,6 +1337,17 @@ allow mysqld_t mysqld_var_run_t:sock_file create_file_perms; +@@ -33,8 +33,8 @@ + + allow initrc_t mysqld_log_t:file { write append setattr ioctl }; + +-allow mysqld_t self:capability { dac_override setgid setuid net_bind_service }; +-allow mysqld_t self:process { setsched getsched }; ++allow mysqld_t self:capability { dac_override setgid setuid net_bind_service sys_resource }; ++allow mysqld_t self:process { setrlimit setsched getsched }; + + allow mysqld_t proc_t:file { getattr read }; + @@ -42,7 +42,7 @@ create_dir_file(mysqld_t, mysqld_db_t) allow mysqld_t var_lib_t:dir { getattr search }; @@ -1261,7 +1368,7 @@ -allow mysqld_t self:netlink_route_socket r_netlink_socket_perms; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/named.te policy-1.27.1/domains/program/unused/named.te --- nsapolicy/domains/program/unused/named.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/named.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/named.te 2005-10-19 09:26:00.000000000 -0400 @@ -36,7 +36,7 @@ allow named_t self:process { setsched setcap setrlimit }; @@ -1323,7 +1430,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/NetworkManager.te policy-1.27.1/domains/program/unused/NetworkManager.te --- nsapolicy/domains/program/unused/NetworkManager.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/NetworkManager.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/NetworkManager.te 2005-10-19 09:26:00.000000000 -0400 @@ -11,7 +11,7 @@ # NetworkManager_t is the domain for the NetworkManager daemon. # NetworkManager_exec_t is the type of the NetworkManager executable. @@ -1345,7 +1452,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/nscd.te policy-1.27.1/domains/program/unused/nscd.te --- nsapolicy/domains/program/unused/nscd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/nscd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/nscd.te 2005-10-19 09:26:00.000000000 -0400 @@ -76,3 +76,4 @@ log_domain(nscd) r_dir_file(nscd_t, cert_t) @@ -1353,7 +1460,7 @@ +allow nscd_t self:netlink_audit_socket { create_netlink_socket_perms nlmsg_relay }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ntpd.te policy-1.27.1/domains/program/unused/ntpd.te --- nsapolicy/domains/program/unused/ntpd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/ntpd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/ntpd.te 2005-10-19 09:26:00.000000000 -0400 @@ -26,11 +26,11 @@ # for SSP allow ntpd_t urandom_device_t:chr_file { getattr read }; @@ -1381,7 +1488,7 @@ can_exec(ntpd_t, initrc_exec_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/openct.te policy-1.27.1/domains/program/unused/openct.te --- nsapolicy/domains/program/unused/openct.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/openct.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/openct.te 2005-10-19 09:26:00.000000000 -0400 @@ -0,0 +1,16 @@ +#DESC openct - read files in page cache +# @@ -1401,7 +1508,7 @@ +allow openct_t etc_t:file r_file_perms; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/pamconsole.te policy-1.27.1/domains/program/unused/pamconsole.te --- nsapolicy/domains/program/unused/pamconsole.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/pamconsole.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/pamconsole.te 2005-10-19 09:26:00.000000000 -0400 @@ -25,6 +25,7 @@ # for /var/run/console.lock checking allow pam_console_t { var_t var_run_t }:dir search; @@ -1417,7 +1524,7 @@ +nsswitch_domain(pam_console_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/pegasus.te policy-1.27.1/domains/program/unused/pegasus.te --- nsapolicy/domains/program/unused/pegasus.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/pegasus.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/pegasus.te 2005-10-19 09:26:00.000000000 -0400 @@ -0,0 +1,37 @@ +#DESC pegasus - The Open Group Pegasus CIM/WBEM Server +# @@ -1458,7 +1565,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ping.te policy-1.27.1/domains/program/unused/ping.te --- nsapolicy/domains/program/unused/ping.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/ping.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/ping.te 2005-10-19 09:26:00.000000000 -0400 @@ -37,6 +37,7 @@ uses_shlib(ping_t) can_network_client(ping_t) @@ -1477,7 +1584,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/postfix.te policy-1.27.1/domains/program/unused/postfix.te --- nsapolicy/domains/program/unused/postfix.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/postfix.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/postfix.te 2005-10-19 09:26:00.000000000 -0400 @@ -54,6 +54,8 @@ allow postfix_$1_t proc_net_t:dir search; allow postfix_$1_t proc_net_t:file { getattr read }; @@ -1663,7 +1770,7 @@ -allow postfix_local_t mail_spool_t:file { unlink }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/pppd.te policy-1.27.1/domains/program/unused/pppd.te --- nsapolicy/domains/program/unused/pppd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/pppd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/pppd.te 2005-10-19 09:26:00.000000000 -0400 @@ -14,7 +14,7 @@ # bool pppd_for_user false; @@ -1706,7 +1813,7 @@ +allow pppd_t initrc_t:process noatsecure; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/procmail.te policy-1.27.1/domains/program/unused/procmail.te --- nsapolicy/domains/program/unused/procmail.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/procmail.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/procmail.te 2005-10-19 09:26:00.000000000 -0400 @@ -19,8 +19,7 @@ uses_shlib(procmail_t) allow procmail_t device_t:dir search; @@ -1734,7 +1841,7 @@ # Search /var/run. diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/readahead.te policy-1.27.1/domains/program/unused/readahead.te --- nsapolicy/domains/program/unused/readahead.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/readahead.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/readahead.te 2005-10-19 09:26:00.000000000 -0400 @@ -0,0 +1,21 @@ +#DESC readahead - read files in page cache +# @@ -1759,7 +1866,7 @@ +dontaudit readahead_t device_type:blk_file read; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/rlogind.te policy-1.27.1/domains/program/unused/rlogind.te --- nsapolicy/domains/program/unused/rlogind.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/rlogind.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/rlogind.te 2005-10-19 09:26:00.000000000 -0400 @@ -35,4 +35,6 @@ allow rlogind_t default_t:dir search; typealias rlogind_port_t alias rlogin_port_t; @@ -1770,7 +1877,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/roundup.te policy-1.27.1/domains/program/unused/roundup.te --- nsapolicy/domains/program/unused/roundup.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/roundup.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/roundup.te 2005-10-19 09:26:00.000000000 -0400 @@ -0,0 +1,29 @@ +# Roundup Issue Tracking System +# @@ -1803,7 +1910,7 @@ +allow roundup_t etc_t:file { getattr read }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/rpcd.te policy-1.27.1/domains/program/unused/rpcd.te --- nsapolicy/domains/program/unused/rpcd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/rpcd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/rpcd.te 2005-10-19 09:26:00.000000000 -0400 @@ -19,7 +19,7 @@ can_network($1_t) allow $1_t port_type:tcp_socket name_connect; @@ -1837,7 +1944,7 @@ +} diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/rsync.te policy-1.27.1/domains/program/unused/rsync.te --- nsapolicy/domains/program/unused/rsync.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/rsync.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/rsync.te 2005-10-19 09:26:00.000000000 -0400 @@ -15,5 +15,4 @@ type rsync_data_t, file_type, sysadmfile; r_dir_file(rsync_t, rsync_data_t) @@ -1847,7 +1954,7 @@ +allow rsync_t self:capability sys_chroot; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/samba.te policy-1.27.1/domains/program/unused/samba.te --- nsapolicy/domains/program/unused/samba.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/samba.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/samba.te 2005-10-19 09:26:00.000000000 -0400 @@ -25,6 +25,9 @@ # not sure why it needs this tmp_domain(smbd) @@ -1884,7 +1991,7 @@ # Access Samba shares. diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/snmpd.te policy-1.27.1/domains/program/unused/snmpd.te --- nsapolicy/domains/program/unused/snmpd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/snmpd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/snmpd.te 2005-10-19 09:26:00.000000000 -0400 @@ -22,8 +22,9 @@ # for the .index file @@ -1914,7 +2021,7 @@ dontaudit snmpd_t selinux_config_t:dir search; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/squid.te policy-1.27.1/domains/program/unused/squid.te --- nsapolicy/domains/program/unused/squid.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/squid.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/squid.te 2005-10-19 09:26:00.000000000 -0400 @@ -60,7 +60,7 @@ can_tcp_connect(web_client_domain, squid_t) @@ -1932,7 +2039,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/udev.te policy-1.27.1/domains/program/unused/udev.te --- nsapolicy/domains/program/unused/udev.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/udev.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/udev.te 2005-10-19 09:26:00.000000000 -0400 @@ -28,12 +28,12 @@ type udev_tdb_t, file_type, sysadmfile, dev_fs; typealias udev_tdb_t alias udev_tbl_t; @@ -1964,7 +2071,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/utempter.te policy-1.27.1/domains/program/unused/utempter.te --- nsapolicy/domains/program/unused/utempter.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/utempter.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/utempter.te 2005-10-19 09:26:00.000000000 -0400 @@ -19,6 +19,8 @@ type utempter_exec_t, file_type, sysadmfile, exec_type; domain_auto_trans(userdomain, utempter_exec_t, utempter_t) @@ -1976,7 +2083,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/webalizer.te policy-1.27.1/domains/program/unused/webalizer.te --- nsapolicy/domains/program/unused/webalizer.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/webalizer.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/webalizer.te 2005-10-19 09:26:00.000000000 -0400 @@ -20,6 +20,9 @@ #read apache log allow webalizer_t var_log_t:dir r_dir_perms; @@ -1989,7 +2096,7 @@ var_lib_domain(webalizer) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/winbind.te policy-1.27.1/domains/program/unused/winbind.te --- nsapolicy/domains/program/unused/winbind.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/winbind.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/winbind.te 2005-10-19 09:26:00.000000000 -0400 @@ -44,6 +44,7 @@ r_dir_file(winbind_t, samba_etc_t) allow winbind_helper_t self:unix_dgram_socket create_socket_perms; @@ -2000,7 +2107,7 @@ allow winbind_helper_t privfd:fd use; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/xdm.te policy-1.27.1/domains/program/unused/xdm.te --- nsapolicy/domains/program/unused/xdm.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/xdm.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/xdm.te 2005-10-19 09:26:00.000000000 -0400 @@ -371,3 +371,6 @@ dontaudit xdm_t ice_tmp_t:dir { getattr setattr }; @@ -2010,7 +2117,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/yppasswdd.te policy-1.27.1/domains/program/unused/yppasswdd.te --- nsapolicy/domains/program/unused/yppasswdd.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/domains/program/unused/yppasswdd.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/yppasswdd.te 2005-10-19 09:26:00.000000000 -0400 @@ -0,0 +1,40 @@ +#DESC yppassdd - NIS password update daemon +# @@ -2054,7 +2161,7 @@ +rw_dir_create_file(yppasswdd_t, var_yp_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/ypserv.te policy-1.27.1/domains/program/unused/ypserv.te --- nsapolicy/domains/program/unused/ypserv.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/ypserv.te 2005-10-18 14:20:13.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/ypserv.te 2005-10-19 09:26:00.000000000 -0400 @@ -39,3 +39,4 @@ ') allow ypserv_t reserved_port_t:{ udp_socket tcp_socket } name_bind; @@ -2062,7 +2169,7 @@ +can_exec(ypserv_t, bin_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/useradd.te policy-1.27.1/domains/program/useradd.te --- nsapolicy/domains/program/useradd.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/domains/program/useradd.te 2005-10-17 15:45:51.000000000 -0400 ++++ policy-1.27.1/domains/program/useradd.te 2005-10-19 09:24:26.000000000 -0400 @@ -55,7 +55,6 @@ # useradd/userdel request read/write for /var/log/lastlog, and read of /dev, # but will operate without them. @@ -2086,7 +2193,7 @@ read_sysctl(useradd_t) diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/distros.fc policy-1.27.1/file_contexts/distros.fc --- nsapolicy/file_contexts/distros.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/distros.fc 2005-10-17 15:46:49.000000000 -0400 ++++ policy-1.27.1/file_contexts/distros.fc 2005-10-19 09:24:26.000000000 -0400 @@ -89,6 +89,7 @@ /usr/lib/valgrind/hp2ps -- system_u:object_r:texrel_shlib_t /usr/lib/valgrind/stage2 -- system_u:object_r:texrel_shlib_t @@ -2105,7 +2212,7 @@ /usr/lib/ladspa/analogue_osc_1416\.so -- system_u:object_r:texrel_shlib_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/apache.fc policy-1.27.1/file_contexts/program/apache.fc --- nsapolicy/file_contexts/program/apache.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/apache.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/apache.fc 2005-10-19 09:24:26.000000000 -0400 @@ -9,6 +9,8 @@ /var/cache/httpd(/.*)? system_u:object_r:httpd_cache_t /var/cache/php-eaccelerator(/.*)? system_u:object_r:httpd_cache_t @@ -2117,7 +2224,7 @@ /etc/httpd/logs system_u:object_r:httpd_log_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/bluetooth.fc policy-1.27.1/file_contexts/program/bluetooth.fc --- nsapolicy/file_contexts/program/bluetooth.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/bluetooth.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/bluetooth.fc 2005-10-19 09:24:26.000000000 -0400 @@ -1,8 +1,11 @@ # bluetooth /etc/bluetooth(/.*)? system_u:object_r:bluetooth_conf_t @@ -2132,7 +2239,7 @@ +/var/lib/bluetooth(/.*)? system_u:object_r:bluetooth_var_lib_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/dhcpc.fc policy-1.27.1/file_contexts/program/dhcpc.fc --- nsapolicy/file_contexts/program/dhcpc.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/dhcpc.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/dhcpc.fc 2005-10-19 09:24:26.000000000 -0400 @@ -4,9 +4,11 @@ /etc/dhclient.*conf -- system_u:object_r:dhcp_etc_t /etc/dhclient-script -- system_u:object_r:dhcp_etc_t @@ -2147,7 +2254,7 @@ # pump diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/dhcpd.fc policy-1.27.1/file_contexts/program/dhcpd.fc --- nsapolicy/file_contexts/program/dhcpd.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/dhcpd.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/dhcpd.fc 2005-10-19 09:24:26.000000000 -0400 @@ -2,10 +2,10 @@ /etc/dhcpd\.conf -- system_u:object_r:dhcp_etc_t /etc/dhcp3(/.*)? system_u:object_r:dhcp_etc_t @@ -2171,7 +2278,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/ftpd.fc policy-1.27.1/file_contexts/program/ftpd.fc --- nsapolicy/file_contexts/program/ftpd.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/ftpd.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/ftpd.fc 2005-10-19 09:24:26.000000000 -0400 @@ -10,7 +10,8 @@ /var/run/proftpd/proftpd\.scoreboard -- system_u:object_r:ftpd_var_run_t /var/log/muddleftpd\.log.* -- system_u:object_r:xferlog_t @@ -2185,7 +2292,7 @@ +/srv/([^/]*/)?ftp(/.*)? system_u:object_r:public_content_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/games.fc policy-1.27.1/file_contexts/program/games.fc --- nsapolicy/file_contexts/program/games.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/games.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/games.fc 2005-10-19 09:24:26.000000000 -0400 @@ -1,8 +1,10 @@ # games -/usr/lib(64)?/games/.* -- system_u:object_r:games_exec_t @@ -2210,7 +2317,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/ipsec.fc policy-1.27.1/file_contexts/program/ipsec.fc --- nsapolicy/file_contexts/program/ipsec.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/ipsec.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/ipsec.fc 2005-10-19 09:24:26.000000000 -0400 @@ -21,6 +21,7 @@ /usr/lib(64)?/ipsec/spi -- system_u:object_r:ipsec_exec_t /usr/local/lib(64)?/ipsec/spi -- system_u:object_r:ipsec_exec_t @@ -2221,13 +2328,13 @@ /usr/sbin/racoon -- system_u:object_r:ipsec_exec_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/openct.fc policy-1.27.1/file_contexts/program/openct.fc --- nsapolicy/file_contexts/program/openct.fc 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/file_contexts/program/openct.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/openct.fc 2005-10-19 09:24:26.000000000 -0400 @@ -0,0 +1,2 @@ +/usr/sbin/openct-control -- system_u:object_r:openct_exec_t +/var/run/openct(/.*)? system_u:object_r:openct_var_run_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/pegasus.fc policy-1.27.1/file_contexts/program/pegasus.fc --- nsapolicy/file_contexts/program/pegasus.fc 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/file_contexts/program/pegasus.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/pegasus.fc 2005-10-19 09:24:26.000000000 -0400 @@ -0,0 +1,11 @@ +# File Contexts for The Open Group Pegasus (tog-pegasus) cimserver +/usr/sbin/cimserver -- system_u:object_r:pegasus_exec_t @@ -2242,7 +2349,7 @@ +/usr/share/Pegasus/mof(/.*)?/.*\.mof system_u:object_r:pegasus_mof_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/pppd.fc policy-1.27.1/file_contexts/program/pppd.fc --- nsapolicy/file_contexts/program/pppd.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/pppd.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/pppd.fc 2005-10-19 09:24:26.000000000 -0400 @@ -20,6 +20,6 @@ /etc/ppp/plugins/rp-pppoe\.so -- system_u:object_r:shlib_t /etc/ppp/resolv\.conf -- system_u:object_r:pppd_etc_rw_t @@ -2253,18 +2360,18 @@ /etc/ppp/(auth|ip(v6|x)?)-(up|down) -- system_u:object_r:pppd_script_exec_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/readahead.fc policy-1.27.1/file_contexts/program/readahead.fc --- nsapolicy/file_contexts/program/readahead.fc 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/file_contexts/program/readahead.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/readahead.fc 2005-10-19 09:24:26.000000000 -0400 @@ -0,0 +1 @@ +/usr/sbin/readahead -- system_u:object_r:readahead_exec_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/roundup.fc policy-1.27.1/file_contexts/program/roundup.fc --- nsapolicy/file_contexts/program/roundup.fc 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/file_contexts/program/roundup.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/roundup.fc 2005-10-19 09:24:26.000000000 -0400 @@ -0,0 +1,2 @@ +/usr/bin/roundup-server -- system_u:object_r:roundup_exec_t +/var/lib/roundup(/.*)? -- system_u:object_r:roundup_var_lib_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/rpm.fc policy-1.27.1/file_contexts/program/rpm.fc --- nsapolicy/file_contexts/program/rpm.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/rpm.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/rpm.fc 2005-10-19 09:24:26.000000000 -0400 @@ -23,3 +23,7 @@ /var/lib/YaST2(/.*)? system_u:object_r:rpm_var_lib_t /var/log/YaST2(/.*)? system_u:object_r:rpm_log_t @@ -2275,7 +2382,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/rshd.fc policy-1.27.1/file_contexts/program/rshd.fc --- nsapolicy/file_contexts/program/rshd.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/rshd.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/rshd.fc 2005-10-19 09:24:26.000000000 -0400 @@ -1,3 +1,4 @@ # rshd. /usr/sbin/in\.rshd -- system_u:object_r:rshd_exec_t @@ -2283,7 +2390,7 @@ /usr/kerberos/sbin/kshd -- system_u:object_r:rshd_exec_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/rsync.fc policy-1.27.1/file_contexts/program/rsync.fc --- nsapolicy/file_contexts/program/rsync.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/rsync.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/rsync.fc 2005-10-19 09:24:26.000000000 -0400 @@ -1,3 +1,3 @@ # rsync program /usr/bin/rsync -- system_u:object_r:rsync_exec_t @@ -2291,7 +2398,7 @@ +/srv/([^/]*/)?rsync(/.*)? system_u:object_r:public_content_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/squid.fc policy-1.27.1/file_contexts/program/squid.fc --- nsapolicy/file_contexts/program/squid.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/squid.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/squid.fc 2005-10-19 09:24:26.000000000 -0400 @@ -6,3 +6,6 @@ /etc/squid(/.*)? system_u:object_r:squid_conf_t /var/run/squid\.pid -- system_u:object_r:squid_var_run_t @@ -2301,7 +2408,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/xdm.fc policy-1.27.1/file_contexts/program/xdm.fc --- nsapolicy/file_contexts/program/xdm.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/xdm.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/xdm.fc 2005-10-19 09:24:26.000000000 -0400 @@ -3,7 +3,7 @@ /usr/X11R6/bin/[xgkw]dm -- system_u:object_r:xdm_exec_t /opt/kde3/bin/kdm -- system_u:object_r:xdm_exec_t @@ -2313,13 +2420,13 @@ /var/log/[kw]dm\.log -- system_u:object_r:xserver_log_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/yppasswdd.fc policy-1.27.1/file_contexts/program/yppasswdd.fc --- nsapolicy/file_contexts/program/yppasswdd.fc 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/file_contexts/program/yppasswdd.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/yppasswdd.fc 2005-10-19 09:24:26.000000000 -0400 @@ -0,0 +1,2 @@ +# yppasswd +/usr/sbin/rpc.yppasswdd -- system_u:object_r:yppasswdd_exec_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/ypserv.fc policy-1.27.1/file_contexts/program/ypserv.fc --- nsapolicy/file_contexts/program/ypserv.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/program/ypserv.fc 2005-10-17 15:46:28.000000000 -0400 ++++ policy-1.27.1/file_contexts/program/ypserv.fc 2005-10-19 09:24:26.000000000 -0400 @@ -1,3 +1,4 @@ # ypserv /usr/sbin/ypserv -- system_u:object_r:ypserv_exec_t @@ -2327,7 +2434,7 @@ /etc/ypserv\.conf -- system_u:object_r:ypserv_conf_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/types.fc policy-1.27.1/file_contexts/types.fc --- nsapolicy/file_contexts/types.fc 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/file_contexts/types.fc 2005-10-17 15:46:49.000000000 -0400 ++++ policy-1.27.1/file_contexts/types.fc 2005-10-19 09:24:26.000000000 -0400 @@ -133,6 +133,7 @@ /dev/dcbri[0-9]+ -c system_u:object_r:tty_device_t /dev/irlpt[0-9]+ -c system_u:object_r:printer_device_t @@ -2352,7 +2459,7 @@ +/etc/sysconfig/network-scripts/ifdown-.* -- system_u:object_r:bin_t diff --exclude-from=exclude -N -u -r nsapolicy/genfs_contexts policy-1.27.1/genfs_contexts --- nsapolicy/genfs_contexts 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/genfs_contexts 2005-10-17 15:41:20.000000000 -0400 ++++ policy-1.27.1/genfs_contexts 2005-10-19 09:24:26.000000000 -0400 @@ -94,7 +94,8 @@ genfscon debugfs / system_u:object_r:debugfs_t genfscon inotifyfs / system_u:object_r:inotifyfs_t @@ -2365,7 +2472,7 @@ genfscon eventpollfs / system_u:object_r:eventpollfs_t diff --exclude-from=exclude -N -u -r nsapolicy/macros/base_user_macros.te policy-1.27.1/macros/base_user_macros.te --- nsapolicy/macros/base_user_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/base_user_macros.te 2005-10-18 14:21:21.000000000 -0400 ++++ policy-1.27.1/macros/base_user_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -40,6 +40,12 @@ allow $1_t $1_home_t:{ notdevfile_class_set dir } { relabelfrom relabelto }; can_setfscreate($1_t) @@ -2381,7 +2488,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/macros/core_macros.te policy-1.27.1/macros/core_macros.te --- nsapolicy/macros/core_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/core_macros.te 2005-10-18 14:21:21.000000000 -0400 ++++ policy-1.27.1/macros/core_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -620,6 +620,9 @@ # Label pty files with a derived type. type_transition $1_t devpts_t:chr_file $1_devpts_t; @@ -2394,7 +2501,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/macros/global_macros.te policy-1.27.1/macros/global_macros.te --- nsapolicy/macros/global_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/global_macros.te 2005-10-18 14:21:21.000000000 -0400 ++++ policy-1.27.1/macros/global_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -157,6 +157,11 @@ r_dir_file($1, locale_t) ') @@ -2459,7 +2566,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/macros/network_macros.te policy-1.27.1/macros/network_macros.te --- nsapolicy/macros/network_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/network_macros.te 2005-10-18 14:21:21.000000000 -0400 ++++ policy-1.27.1/macros/network_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -153,7 +153,8 @@ ')dnl end can_network definition @@ -2490,7 +2597,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/apache_macros.te policy-1.27.1/macros/program/apache_macros.te --- nsapolicy/macros/program/apache_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/apache_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/apache_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -38,7 +38,7 @@ allow httpd_$1_script_t etc_runtime_t:file { getattr read }; read_locale(httpd_$1_script_t) @@ -2533,7 +2640,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/bonobo_macros.te policy-1.27.1/macros/program/bonobo_macros.te --- nsapolicy/macros/program/bonobo_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/bonobo_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/bonobo_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -72,9 +72,7 @@ # here temporarily, since bonobo runs as ROLE_t by default anyway domain_auto_trans($1_bonobo_t, bin_t, $1_t) @@ -2546,7 +2653,7 @@ ') dnl bonobo_domain diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/cdrecord_macros.te policy-1.27.1/macros/program/cdrecord_macros.te --- nsapolicy/macros/program/cdrecord_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/cdrecord_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/cdrecord_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -41,7 +41,7 @@ allow $1_cdrecord_t self:capability { ipc_lock sys_nice setuid dac_override sys_rawio }; @@ -2558,7 +2665,7 @@ allow $1_cdrecord_t $1_home_t:file r_file_perms; diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/crontab_macros.te policy-1.27.1/macros/program/crontab_macros.te --- nsapolicy/macros/program/crontab_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/crontab_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/crontab_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -40,7 +40,7 @@ # Use capabilities dac_override is to create the file in the directory @@ -2570,7 +2677,7 @@ file_type_auto_trans($1_crontab_t, tmp_t, $1_tmp_t, { dir file }) diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/dbusd_macros.te policy-1.27.1/macros/program/dbusd_macros.te --- nsapolicy/macros/program/dbusd_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/dbusd_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/dbusd_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -29,9 +29,7 @@ r_dir_file($1_dbusd_t, etc_dbusd_t) tmp_domain($1_dbusd) @@ -2596,7 +2703,7 @@ # can_dbusd_converse(dbus_type, domain_prefix_a, domain_prefix_b) diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/gconf_macros.te policy-1.27.1/macros/program/gconf_macros.te --- nsapolicy/macros/program/gconf_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/gconf_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/gconf_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -31,8 +31,8 @@ # /tmp/gconfd-USER tmp_domain($1_gconfd) @@ -2609,7 +2716,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/gift_macros.te policy-1.27.1/macros/program/gift_macros.te --- nsapolicy/macros/program/gift_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/gift_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/gift_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -90,9 +90,7 @@ r_dir_file($1_giftd_t, usr_t) @@ -2622,7 +2729,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/gpg_macros.te policy-1.27.1/macros/program/gpg_macros.te --- nsapolicy/macros/program/gpg_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/gpg_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/gpg_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -108,8 +108,6 @@ # for nscd dontaudit $1_gpg_helper_t var_t:dir search; @@ -2634,7 +2741,7 @@ ')dnl end gpg_domain definition diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/i18n_input_macros.te policy-1.27.1/macros/program/i18n_input_macros.te --- nsapolicy/macros/program/i18n_input_macros.te 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.1/macros/program/i18n_input_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/i18n_input_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -0,0 +1,21 @@ +# +# Macros for i18n_input @@ -2659,7 +2766,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/lpr_macros.te policy-1.27.1/macros/program/lpr_macros.te --- nsapolicy/macros/program/lpr_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/lpr_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/lpr_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -39,7 +39,7 @@ can_ypbind($1_lpr_t) @@ -2671,7 +2778,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/mta_macros.te policy-1.27.1/macros/program/mta_macros.te --- nsapolicy/macros/program/mta_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/mta_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/mta_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -34,7 +34,7 @@ uses_shlib($1_mail_t) @@ -2692,7 +2799,7 @@ # For when the user wants to send mail via port 25 localhost diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/newrole_macros.te policy-1.27.1/macros/program/newrole_macros.te --- nsapolicy/macros/program/newrole_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/newrole_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/newrole_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -20,6 +20,8 @@ read_locale($1_t) read_sysctl($1_t) @@ -2704,7 +2811,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/pyzor_macros.te policy-1.27.1/macros/program/pyzor_macros.te --- nsapolicy/macros/program/pyzor_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/pyzor_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/pyzor_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -64,6 +64,6 @@ # Allow pyzor to be run by hand. Needed by any action other than @@ -2715,7 +2822,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/razor_macros.te policy-1.27.1/macros/program/razor_macros.te --- nsapolicy/macros/program/razor_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/razor_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/razor_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -70,6 +70,6 @@ # Allow razor to be run by hand. Needed by any action other than @@ -2726,7 +2833,7 @@ ') diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/su_macros.te policy-1.27.1/macros/program/su_macros.te --- nsapolicy/macros/program/su_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/su_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/su_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -54,7 +54,7 @@ allow $1_su_t self:process { setsched setrlimit }; allow $1_su_t device_t:dir search; @@ -2747,7 +2854,7 @@ # Caused by su - init scripts diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/uml_macros.te policy-1.27.1/macros/program/uml_macros.te --- nsapolicy/macros/program/uml_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/uml_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/uml_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -81,7 +81,7 @@ allow uml_net_t $1_uml_t:unix_stream_socket { read write }; allow uml_net_t $1_uml_t:unix_dgram_socket { read write }; @@ -2759,7 +2866,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/macros/program/xdm_macros.te policy-1.27.1/macros/program/xdm_macros.te --- nsapolicy/macros/program/xdm_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/program/xdm_macros.te 2005-10-18 14:20:55.000000000 -0400 ++++ policy-1.27.1/macros/program/xdm_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -6,6 +6,8 @@ # @@ -2771,7 +2878,7 @@ ') dnl can_pipe_xdm diff --exclude-from=exclude -N -u -r nsapolicy/macros/user_macros.te policy-1.27.1/macros/user_macros.te --- nsapolicy/macros/user_macros.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/macros/user_macros.te 2005-10-18 14:21:21.000000000 -0400 ++++ policy-1.27.1/macros/user_macros.te 2005-10-19 09:24:26.000000000 -0400 @@ -121,6 +121,7 @@ # user domains. ifelse($1, sysadm, `',` @@ -2808,7 +2915,7 @@ allow $1_t self:unix_stream_socket create_socket_perms; diff --exclude-from=exclude -N -u -r nsapolicy/Makefile policy-1.27.1/Makefile --- nsapolicy/Makefile 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/Makefile 2005-10-17 15:51:33.000000000 -0400 ++++ policy-1.27.1/Makefile 2005-10-20 08:57:08.000000000 -0400 @@ -29,15 +29,10 @@ VERS := $(shell $(CHECKPOLICY) $(POLICYCOMPAT) -V |cut -f 1 -d ' ') PREVERS := 19 @@ -2888,7 +2995,7 @@ @mv Makefile.new Makefile diff --exclude-from=exclude -N -u -r nsapolicy/man/man8/ftpd_selinux.8 policy-1.27.1/man/man8/ftpd_selinux.8 --- nsapolicy/man/man8/ftpd_selinux.8 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/man/man8/ftpd_selinux.8 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/man/man8/ftpd_selinux.8 2005-10-19 09:24:26.000000000 -0400 @@ -8,23 +8,24 @@ .SH FILE_CONTEXTS SELinux requires files to have an extended attribute to define the file type. @@ -2925,7 +3032,7 @@ SELinux ftp daemon policy is customizable based on least access required. So by diff --exclude-from=exclude -N -u -r nsapolicy/man/man8/httpd_selinux.8 policy-1.27.1/man/man8/httpd_selinux.8 --- nsapolicy/man/man8/httpd_selinux.8 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/man/man8/httpd_selinux.8 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/man/man8/httpd_selinux.8 2005-10-19 09:24:26.000000000 -0400 @@ -45,6 +45,15 @@ .SH NOTE With certain policies you can define addional file contexts based on roles like user or staff. httpd_user_script_exec_t can be defined where it would only have access to "user" contexts. @@ -2944,7 +3051,7 @@ default SElinux prevents certain http scripts from working. httpd policy is extremely flexible and has several booleans that allow you to manipulate the policy and run httpd with the tightest access possible. diff --exclude-from=exclude -N -u -r nsapolicy/man/man8/rsync_selinux.8 policy-1.27.1/man/man8/rsync_selinux.8 --- nsapolicy/man/man8/rsync_selinux.8 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/man/man8/rsync_selinux.8 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/man/man8/rsync_selinux.8 2005-10-19 09:24:26.000000000 -0400 @@ -8,16 +8,22 @@ .SH FILE_CONTEXTS SELinux requires files to have an extended attribute to define the file type. @@ -2973,7 +3080,7 @@ .TP diff --exclude-from=exclude -N -u -r nsapolicy/man/man8/samba_selinux.8 policy-1.27.1/man/man8/samba_selinux.8 --- nsapolicy/man/man8/samba_selinux.8 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/man/man8/samba_selinux.8 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/man/man8/samba_selinux.8 2005-10-19 09:24:26.000000000 -0400 @@ -20,6 +20,11 @@ .br /var/eng(/.*)? system_u:object_r:samba_share_t @@ -2999,7 +3106,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/mcs policy-1.27.1/mcs --- nsapolicy/mcs 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/mcs 2005-10-17 15:42:08.000000000 -0400 ++++ policy-1.27.1/mcs 2005-10-19 09:24:26.000000000 -0400 @@ -18,141 +18,77 @@ # # Each category has a name and zero or more aliases. @@ -3234,7 +3341,7 @@ # diff --exclude-from=exclude -N -u -r nsapolicy/mls policy-1.27.1/mls --- nsapolicy/mls 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/mls 2005-10-17 15:42:14.000000000 -0400 ++++ policy-1.27.1/mls 2005-10-20 08:55:38.000000000 -0400 @@ -13,12 +13,17 @@ sensitivity s7; sensitivity s8; @@ -3486,9 +3593,110 @@ # +@@ -545,7 +492,8 @@ + mlsconstrain window { addchild create destroy chstack chproplist chprop setattr setfocus move chselection chparent ctrllife transparent clientcomevent } + (( l1 eq l2 ) or + (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or +- ( t1 == mlsxwinwrite )); ++ ( t1 == mlsxwinwrite ) or ++ ( t2 == mlstrustedobject )); + + # these access vectors have no MLS restrictions + # window { map unmap } +@@ -583,12 +531,14 @@ + mlsconstrain colormap { list read getattr } + (( l1 dom l2 ) or + (( t1 == mlsxwinreadtoclr ) and ( h1 dom l2 )) or ++ ( t1 == mlsxwinreadcolormap ) or + ( t1 == mlsxwinread )); + + # the colormap "write" ops (implicit single level) + mlsconstrain colormap { create free install uninstall store setattr } + (( l1 eq l2 ) or + (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or ++ ( t1 == mlsxwinwritecolormap ) or + ( t1 == mlsxwinwrite )); + + +@@ -602,12 +552,14 @@ + mlsconstrain property { read } + (( l1 dom l2 ) or + (( t1 == mlsxwinreadtoclr ) and ( h1 dom l2 )) or ++ ( t1 == mlsxwinreadproperty ) or + ( t1 == mlsxwinread )); + + # the property "write" ops (implicit single level) + mlsconstrain property { create free write } + (( l1 eq l2 ) or + (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or ++ ( t1 == mlsxwinwriteproperty ) or + ( t1 == mlsxwinwrite )); + + +@@ -643,16 +595,14 @@ + # MLS policy for the xinput class + # + +-# the xinput "read" ops (implicit single level) +-mlsconstrain xinput { lookup getattr mousemotion } +- (( l1 dom l2 ) or +- (( t1 == mlsxwinreadtoclr ) and ( h1 dom l2 )) or +- ( t1 == mlsxwinread )); ++# these access vectors have no MLS restrictions ++# xinput ~{ relabelinput setattr } + + # the xinput "write" ops (implicit single level) +-mlsconstrain xinput { setattr setfocus warppointer activegrab passivegrab ungrab bell relabelinput } ++mlsconstrain xinput { setattr relabelinput } + (( l1 eq l2 ) or + (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or ++ ( t1 == mlsxwinwritexinput ) or + ( t1 == mlsxwinwrite )); + + +@@ -662,17 +612,8 @@ + # MLS policy for the xserver class + # + +-# the xserver "read" ops (implicit single level) +-mlsconstrain xserver { gethostlist getfontpath getattr screensaver } +- (( l1 dom l2 ) or +- (( t1 == mlsxwinreadtoclr ) and ( h1 dom l2 )) or +- ( t1 == mlsxwinread )); +- +-# the xserver "write" ops (implicit single level) +-mlsconstrain xserver { sethostlist setfontpath grab ungrab screensaver } +- (( l1 eq l2 ) or +- (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or +- ( t1 == mlsxwinwrite )); ++# these access vectors have no MLS restrictions ++# xserver * + + + +@@ -681,17 +622,8 @@ + # MLS policy for the xextension class + # + +-# the xextension "read" ops (implicit single level) +-mlsconstrain xextension query +- (( l1 dom l2 ) or +- (( t1 == mlsxwinreadtoclr ) and ( h1 dom l2 )) or +- ( t1 == mlsxwinread )); +- +-# the xextension "write" ops (implicit single level) +-mlsconstrain xextension use +- (( l1 eq l2 ) or +- (( t1 == mlsxwinwritetoclr ) and ( h1 dom l2 ) and ( l1 domby l2 )) or +- ( t1 == mlsxwinwrite )); ++# these access vectors have no MLS restrictions ++# xextension { query use } + + + # diff --exclude-from=exclude -N -u -r nsapolicy/net_contexts policy-1.27.1/net_contexts --- nsapolicy/net_contexts 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/net_contexts 2005-10-18 14:21:39.000000000 -0400 ++++ policy-1.27.1/net_contexts 2005-10-19 09:24:26.000000000 -0400 @@ -50,6 +50,10 @@ portcon tcp 53 system_u:object_r:dns_port_t @@ -3520,7 +3728,7 @@ portcon tcp 6002 system_u:object_r:xserver_port_t diff --exclude-from=exclude -N -u -r nsapolicy/targeted/appconfig/root_default_contexts policy-1.27.1/targeted/appconfig/root_default_contexts --- nsapolicy/targeted/appconfig/root_default_contexts 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/targeted/appconfig/root_default_contexts 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/targeted/appconfig/root_default_contexts 2005-10-19 09:24:26.000000000 -0400 @@ -1,2 +1,6 @@ system_r:unconfined_t system_r:unconfined_t system_r:initrc_t system_r:unconfined_t @@ -3530,7 +3738,7 @@ +system_r:crond_t system_r:unconfined_t diff --exclude-from=exclude -N -u -r nsapolicy/targeted/assert.te policy-1.27.1/targeted/assert.te --- nsapolicy/targeted/assert.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/targeted/assert.te 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/targeted/assert.te 2005-10-19 09:24:26.000000000 -0400 @@ -22,7 +22,7 @@ # Confined domains must never touch an unconfined domain except to @@ -3542,7 +3750,7 @@ neverallow { domain -unrestricted -snmpd_t } unconfined_t:dir { getattr search }; diff --exclude-from=exclude -N -u -r nsapolicy/targeted/domains/program/ssh.te policy-1.27.1/targeted/domains/program/ssh.te --- nsapolicy/targeted/domains/program/ssh.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/targeted/domains/program/ssh.te 2005-10-17 15:49:55.000000000 -0400 ++++ policy-1.27.1/targeted/domains/program/ssh.te 2005-10-19 09:24:26.000000000 -0400 @@ -17,3 +17,6 @@ type sshd_key_t, file_type, sysadmfile; type sshd_var_run_t, file_type, sysadmfile; @@ -3552,7 +3760,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/targeted/domains/program/xdm.te policy-1.27.1/targeted/domains/program/xdm.te --- nsapolicy/targeted/domains/program/xdm.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/targeted/domains/program/xdm.te 2005-10-17 15:49:55.000000000 -0400 ++++ policy-1.27.1/targeted/domains/program/xdm.te 2005-10-19 09:24:26.000000000 -0400 @@ -20,3 +20,7 @@ type xdm_tmp_t, file_type, sysadmfile; domain_auto_trans(initrc_t, xdm_exec_t, xdm_t) @@ -3563,7 +3771,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/targeted/domains/unconfined.te policy-1.27.1/targeted/domains/unconfined.te --- nsapolicy/targeted/domains/unconfined.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/targeted/domains/unconfined.te 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/targeted/domains/unconfined.te 2005-10-19 09:24:26.000000000 -0400 @@ -63,6 +63,7 @@ bool use_samba_home_dirs false; @@ -3592,7 +3800,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/tunables/distro.tun policy-1.27.1/tunables/distro.tun --- nsapolicy/tunables/distro.tun 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/tunables/distro.tun 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/tunables/distro.tun 2005-10-19 09:24:26.000000000 -0400 @@ -5,7 +5,7 @@ # appropriate ifdefs. @@ -3604,7 +3812,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/tunables/tunable.tun policy-1.27.1/tunables/tunable.tun --- nsapolicy/tunables/tunable.tun 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/tunables/tunable.tun 2005-10-12 14:40:15.000000000 -0400 ++++ policy-1.27.1/tunables/tunable.tun 2005-10-19 09:24:26.000000000 -0400 @@ -1,5 +1,5 @@ # Allow rpm to run unconfined. -dnl define(`unlimitedRPM') @@ -3623,7 +3831,7 @@ # Otherwise, only staff_r can do so. diff --exclude-from=exclude -N -u -r nsapolicy/types/device.te policy-1.27.1/types/device.te --- nsapolicy/types/device.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/types/device.te 2005-10-18 14:19:04.000000000 -0400 ++++ policy-1.27.1/types/device.te 2005-10-19 09:24:26.000000000 -0400 @@ -131,8 +131,8 @@ # Type for /dev/.devfsd type devfs_control_t, device_type, dev_fs; @@ -3637,7 +3845,7 @@ type power_device_t, device_type, dev_fs; diff --exclude-from=exclude -N -u -r nsapolicy/types/devpts.te policy-1.27.1/types/devpts.te --- nsapolicy/types/devpts.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/types/devpts.te 2005-10-18 14:19:04.000000000 -0400 ++++ policy-1.27.1/types/devpts.te 2005-10-19 09:24:26.000000000 -0400 @@ -18,4 +18,6 @@ # type devpts_t, mount_point, fs_type; @@ -3648,7 +3856,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/types/file.te policy-1.27.1/types/file.te --- nsapolicy/types/file.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/types/file.te 2005-10-18 14:19:04.000000000 -0400 ++++ policy-1.27.1/types/file.te 2005-10-19 09:24:26.000000000 -0400 @@ -307,8 +307,7 @@ type hugetlbfs_t, mount_point, fs_type, sysadmfile; allow hugetlbfs_t self:filesystem associate; @@ -3696,7 +3904,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/types/network.te policy-1.27.1/types/network.te --- nsapolicy/types/network.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/types/network.te 2005-10-18 14:19:04.000000000 -0400 ++++ policy-1.27.1/types/network.te 2005-10-19 09:24:26.000000000 -0400 @@ -18,7 +18,7 @@ type dhcpd_port_t, port_type, reserved_port_type; type smbd_port_t, port_type, reserved_port_type; @@ -3750,7 +3958,7 @@ type rsync_port_t, port_type, reserved_port_type; diff --exclude-from=exclude -N -u -r nsapolicy/types/security.te policy-1.27.1/types/security.te --- nsapolicy/types/security.te 2005-09-16 11:17:27.000000000 -0400 -+++ policy-1.27.1/types/security.te 2005-10-18 14:19:04.000000000 -0400 ++++ policy-1.27.1/types/security.te 2005-10-19 09:24:26.000000000 -0400 @@ -13,12 +13,17 @@ # applied to selinuxfs inodes. # Index: selinux-policy-strict.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/FC-4/selinux-policy-strict.spec,v retrieving revision 1.325 retrieving revision 1.326 diff -u -r1.325 -r1.326 --- selinux-policy-strict.spec 18 Oct 2005 18:25:42 -0000 1.325 +++ selinux-policy-strict.spec 20 Oct 2005 12:58:50 -0000 1.326 @@ -11,7 +11,7 @@ Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} Version: 1.27.1 -Release: 2.8 +Release: 2.9 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz @@ -229,6 +229,10 @@ exit 0 %changelog +* Wed Oct 19 2005 Dan Walsh 1.27.1-2.9 +- Fix mysql +- Add spamd.te + * Tue Oct 18 2005 Dan Walsh 1.27.1-2.8 - Fix gssd From fedora-cvs-commits at redhat.com Thu Oct 20 13:25:41 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 09:25:41 -0400 Subject: rpms/abiword/FC-3 abiword-2.0.12.libwpd.patch,1.8,1.9 Message-ID: <200510201325.j9KDPftt015525@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/abiword/FC-3 In directory cvs.devel.redhat.com:/tmp/cvs-serv15443 Modified Files: abiword-2.0.12.libwpd.patch Log Message: fix up libwpd problem abiword-2.0.12.libwpd.patch: abi/src/wp/impexp/xp/ie_mailmerge.h | 1 abiword-2.0.12.hacked/abiword-plugins/wp/impexp/wordperfect/xp/ie_imp_WordPerfect.cpp | 1061 +++++----- abiword-2.0.12.hacked/abiword-plugins/wp/impexp/wordperfect/xp/ie_imp_WordPerfect.h | 128 - abiword-2.0.12/abi/ac-helpers/abi-plugins.m4 | 2 abiword-2.0.12/abi/configure | 16 abiword-2.0.12/abiword-plugins/acinclude.m4 | 4 abiword-2.0.12/abiword-plugins/aclocal.m4 | 4 abiword-2.0.12/abiword-plugins/configure | 16 abiword-2.0.12/abiword-plugins/wp/impexp/wordperfect/plugin.m4 | 8 wv/wvConfig.c | 10 10 files changed, 649 insertions(+), 601 deletions(-) Index: abiword-2.0.12.libwpd.patch =================================================================== RCS file: /cvs/dist/rpms/abiword/FC-3/abiword-2.0.12.libwpd.patch,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- abiword-2.0.12.libwpd.patch 17 Oct 2005 12:25:49 -0000 1.8 +++ abiword-2.0.12.libwpd.patch 20 Oct 2005 13:25:37 -0000 1.9 @@ -6,7 +6,7 @@ wordperfect) _abi_plugin_lib=AbiWordPerfect - PKG_CHECK_MODULES(_abi_wordperfect,libwpd-1 >= 0.5.0) -+ PKG_CHECK_MODULES(_abi_wordperfect,libwpd-0.8 >= 0.5.0) ++ PKG_CHECK_MODULES(_abi_wordperfect,libwpd-stream-0.8 >= 0.5.0) PLUGIN_LIBS="$PLUGIN_LIBS $_abi_wordperfect_LIBS" ;; xhtml) @@ -23,7 +23,7 @@ +echo $ECHO_N "checking for libwpd >= 0.5.0... $ECHO_C" >&6 - if $PKG_CONFIG --exists "libwpd-1 >= 0.5.0" ; then -+ if $PKG_CONFIG --exists "libwpd-0.8 >= 0.5.0" ; then ++ if $PKG_CONFIG --exists "libwpd-stream-0.8 >= 0.5.0" ; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 succeeded=yes @@ -31,14 +31,14 @@ echo "$as_me:$LINENO: checking _abi_wordperfect_CFLAGS" >&5 echo $ECHO_N "checking _abi_wordperfect_CFLAGS... $ECHO_C" >&6 - _abi_wordperfect_CFLAGS=`$PKG_CONFIG --cflags "libwpd-1 >= 0.5.0"` -+ _abi_wordperfect_CFLAGS=`$PKG_CONFIG --cflags "libwpd-0.8 >= 0.5.0"` ++ _abi_wordperfect_CFLAGS=`$PKG_CONFIG --cflags "libwpd-stream-0.8 >= 0.5.0"` echo "$as_me:$LINENO: result: $_abi_wordperfect_CFLAGS" >&5 echo "${ECHO_T}$_abi_wordperfect_CFLAGS" >&6 echo "$as_me:$LINENO: checking _abi_wordperfect_LIBS" >&5 echo $ECHO_N "checking _abi_wordperfect_LIBS... $ECHO_C" >&6 - _abi_wordperfect_LIBS=`$PKG_CONFIG --libs "libwpd-1 >= 0.5.0"` -+ _abi_wordperfect_LIBS=`$PKG_CONFIG --libs "libwpd-0.8 >= 0.5.0"` ++ _abi_wordperfect_LIBS=`$PKG_CONFIG --libs "libwpd-stream-0.8 >= 0.5.0"` echo "$as_me:$LINENO: result: $_abi_wordperfect_LIBS" >&5 echo "${ECHO_T}$_abi_wordperfect_LIBS" >&6 else @@ -47,7 +47,7 @@ ## If we have a custom action on failure, don't print errors, but ## do set a variable so people can do so. - _abi_wordperfect_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libwpd-1 >= 0.5.0"` -+ _abi_wordperfect_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libwpd-0.8 >= 0.5.0"` ++ _abi_wordperfect_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libwpd-stream-0.8 >= 0.5.0"` echo $_abi_wordperfect_PKG_ERRORS fi @@ -70,7 +70,7 @@ # Checks for header fils. -PKG_CHECK_MODULES(_abi_wordperfect,libwpd-1 >= 0.7.0,[ -+PKG_CHECK_MODULES(_abi_wordperfect,libwpd-0.8 >= 0.7.0,[ ++PKG_CHECK_MODULES(_abi_wordperfect,libwpd-stream-0.8 >= 0.7.0,[ ABI_PLUGIN_REPORT([WordPerfect: okay]) -],[ ABI_PLUGIN_REPORT([WordPerfect: error - libwpd-1 >= 0.7.0 required]) +],[ ABI_PLUGIN_REPORT([WordPerfect: error - libwpd-0.8 >= 0.7.0 required]) @@ -90,7 +90,7 @@ +echo $ECHO_N "checking for libwpd >= 0.7.0... $ECHO_C" >&6 - if $PKG_CONFIG --exists "libwpd-1 >= 0.7.0" ; then -+ if $PKG_CONFIG --exists "libwpd-0.8 >= 0.7.0" ; then ++ if $PKG_CONFIG --exists "libwpd-stream-0.8 >= 0.7.0" ; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 succeeded=yes @@ -98,14 +98,14 @@ echo "$as_me:$LINENO: checking _abi_wordperfect_CFLAGS" >&5 echo $ECHO_N "checking _abi_wordperfect_CFLAGS... $ECHO_C" >&6 - _abi_wordperfect_CFLAGS=`$PKG_CONFIG --cflags "libwpd-1 >= 0.7.0"` -+ _abi_wordperfect_CFLAGS=`$PKG_CONFIG --cflags "libwpd-0.8 >= 0.7.0"` ++ _abi_wordperfect_CFLAGS=`$PKG_CONFIG --cflags "libwpd-stream-0.8 >= 0.7.0"` echo "$as_me:$LINENO: result: $_abi_wordperfect_CFLAGS" >&5 echo "${ECHO_T}$_abi_wordperfect_CFLAGS" >&6 echo "$as_me:$LINENO: checking _abi_wordperfect_LIBS" >&5 echo $ECHO_N "checking _abi_wordperfect_LIBS... $ECHO_C" >&6 - _abi_wordperfect_LIBS=`$PKG_CONFIG --libs "libwpd-1 >= 0.7.0"` -+ _abi_wordperfect_LIBS=`$PKG_CONFIG --libs "libwpd-0.8 >= 0.7.0"` ++ _abi_wordperfect_LIBS=`$PKG_CONFIG --libs "libwpd-stream-0.8 >= 0.7.0"` echo "$as_me:$LINENO: result: $_abi_wordperfect_LIBS" >&5 echo "${ECHO_T}$_abi_wordperfect_LIBS" >&6 else @@ -114,7 +114,7 @@ ## If we have a custom action on failure, don't print errors, but ## do set a variable so people can do so. - _abi_wordperfect_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libwpd-1 >= 0.7.0"` -+ _abi_wordperfect_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libwpd-0.8 >= 0.7.0"` ++ _abi_wordperfect_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libwpd-stream-0.8 >= 0.7.0"` fi @@ -136,7 +136,7 @@ # Checks for header fils. -PKG_CHECK_MODULES(_abi_wordperfect,libwpd-1 >= 0.7.0,[ -+PKG_CHECK_MODULES(_abi_wordperfect,libwpd-0.8 >= 0.7.0,[ ++PKG_CHECK_MODULES(_abi_wordperfect,libwpd-stream-0.8 >= 0.7.0,[ ABI_PLUGIN_REPORT([WordPerfect: okay]) -],[ ABI_PLUGIN_REPORT([WordPerfect: error - libwpd-1 >= 0.7.0 required]) +],[ ABI_PLUGIN_REPORT([WordPerfect: error - libwpd-0.8 >= 0.7.0 required]) @@ -1739,10 +1739,10 @@ # Checks for header fils. -PKG_CHECK_MODULES(_abi_wordperfect,libwpd-1 >= 0.7.0,[ -+PKG_CHECK_MODULES(_abi_wordperfect,libwpd-0.8 >= 0.7.0,[ ++PKG_CHECK_MODULES(_abi_wordperfect,libwpd-stream-0.8 >= 0.7.0,[ ABI_PLUGIN_REPORT([WordPerfect: okay]) -],[ ABI_PLUGIN_REPORT([WordPerfect: error - libwpd-1 >= 0.7.0 required]) -+],[ ABI_PLUGIN_REPORT([WordPerfect: error - libwpd-0.8 >= 0.7.0 required]) ++],[ ABI_PLUGIN_REPORT([WordPerfect: error - libwpd-stream-0.8 >= 0.7.0 required]) abi_plugin_disable=yes ]) if test $abi_plugin_disable = no; then @@ -1753,3 +1753,53 @@ fi AC_SUBST(WORDPERFECT_CPPFLAGS) +--- abiword-2.0.12.orig/wv/wvConfig.c 2005-10-18 18:50:03.000000000 +0100 ++++ abiword-2.0.12/wv/wvConfig.c 2005-10-18 18:52:46.000000000 +0100 +@@ -2130,7 +2130,7 @@ + } + + static void +-startElement (void *userData, const XML_Char *name, const XML_Char **atts) ++wvstartElement (void *userData, const XML_Char *name, const XML_Char **atts) + { + unsigned int nAtts = 0; + const XML_Char **p; +@@ -3094,7 +3094,7 @@ + } + + static void +-endElement (void *userData, const XML_Char *name) ++wvendElement (void *userData, const XML_Char *name) + { + state_data *mydata = (state_data *) userData; + unsigned int token_type; +@@ -3470,8 +3470,8 @@ + memset(&hdl, 0, sizeof(hdl)); + + hdl.getEntity = _getEntity; +- hdl.startElement = startElement; +- hdl.endElement = endElement; ++ hdl.startElement = wvstartElement; ++ hdl.endElement = wvendElement; + hdl.characters = charData; + + if (myhandle->fp) +@@ -3514,7 +3514,7 @@ + size_t len; + + XML_SetUserData (parser, myhandle); +- XML_SetElementHandler (parser, startElement, endElement); ++ XML_SetElementHandler (parser, wvstartElement, wvendElement); + XML_SetCharacterDataHandler (parser, charData); + + if (myhandle->fp == NULL) +--- abiword-2.0.12.orig/abi/src/wp/impexp/xp/ie_mailmerge.h 2005-10-18 18:49:11.000000000 +0100 ++++ abiword-2.0.12/abi/src/wp/impexp/xp/ie_mailmerge.h 2005-10-18 19:10:04.000000000 +0100 +@@ -27,6 +27,7 @@ + + typedef UT_sint32 IEMergeType; + #define IEMT_Unknown ((IEMergeType)-1) ++class IE_MailMerge; + + class ABI_EXPORT IE_MergeSniffer : public UT_AbiObject + { From fedora-cvs-commits at redhat.com Thu Oct 20 13:28:31 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 09:28:31 -0400 Subject: rpms/abiword/FC-3 abiword.spec,1.53,1.54 Message-ID: <200510201328.j9KDSVqB016774@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/abiword/FC-3 In directory cvs.devel.redhat.com:/tmp/cvs-serv16761 Modified Files: abiword.spec Log Message: fix libwpd Index: abiword.spec =================================================================== RCS file: /cvs/dist/rpms/abiword/FC-3/abiword.spec,v retrieving revision 1.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- abiword.spec 17 Oct 2005 14:56:05 -0000 1.53 +++ abiword.spec 20 Oct 2005 13:28:27 -0000 1.54 @@ -3,7 +3,7 @@ Summary: The AbiWord word processor Name: abiword Version: 2.0.12 -Release: 11.foome +Release: 12 Epoch: 1 Group: Applications/Editors License: GPL From fedora-cvs-commits at redhat.com Thu Oct 20 14:32:20 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 10:32:20 -0400 Subject: rpms/kernel/devel linux-2.6.13-serial-of.patch, NONE, 1.1 kernel-2.6.spec, 1.1617, 1.1618 Message-ID: <200510201432.j9KEWK9g010312@cvs.devel.redhat.com> Author: dwmw2 Update of /cvs/dist/rpms/kernel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv10301 Modified Files: kernel-2.6.spec Added Files: linux-2.6.13-serial-of.patch Log Message: Fix 8250 probe crashing smp pmac linux-2.6.13-serial-of.patch: arch/ppc64/kernel/setup.c | 184 ----------------------------------------- drivers/serial/8250_of.c | 197 ++++++++++++++++++++++++++++++++++++++++++++ drivers/serial/Kconfig | 5 + drivers/serial/Makefile | 1 include/asm-ppc/pc_serial.h | 16 --- 5 files changed, 204 insertions(+), 199 deletions(-) --- NEW FILE linux-2.6.13-serial-of.patch --- --- linux-2.6.13/drivers/serial/Makefile.sof 2005-08-29 00:41:01.000000000 +0100 +++ linux-2.6.13/drivers/serial/Makefile 2005-10-20 13:05:39.000000000 +0100 @@ -22,6 +22,7 @@ obj-$(CONFIG_SERIAL_8250_ACCENT) += 8250 obj-$(CONFIG_SERIAL_8250_BOCA) += 8250_boca.o obj-$(CONFIG_SERIAL_8250_HUB6) += 8250_hub6.o obj-$(CONFIG_SERIAL_8250_MCA) += 8250_mca.o +obj-$(CONFIG_SERIAL_8250_OF) += 8250_of.o obj-$(CONFIG_SERIAL_AMBA_PL010) += amba-pl010.o obj-$(CONFIG_SERIAL_AMBA_PL011) += amba-pl011.o obj-$(CONFIG_SERIAL_CLPS711X) += clps711x.o --- linux-2.6.13/drivers/serial/8250_of.c.sof 2005-10-20 13:19:07.000000000 +0100 +++ linux-2.6.13/drivers/serial/8250_of.c 2005-10-20 13:19:26.000000000 +0100 @@ -0,0 +1,197 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#if 0 +#define DBG(fmt...) printk(KERN_DEBUG fmt) +#else +#define DBG(fmt...) do { } while (0) +#endif + +/* + * This function can be used by platforms to "find" legacy serial ports. + * It works for "serial" nodes under an "isa" node, and will try to + * respect the "ibm,aix-loc" property if any. It works with up to 8 + * ports. + */ + +#define MAX_LEGACY_SERIAL_PORTS 8 +static int ports_probed = 0; + +static struct plat_serial8250_port serial_ports[MAX_LEGACY_SERIAL_PORTS+1]; +static unsigned int old_serial_count; + +void __init generic_find_legacy_serial_ports(u64 *physport, + unsigned int *default_speed) +{ + struct device_node *np; + u32 *sizeprop; + + struct isa_reg_property { + u32 space; + u32 address; + u32 size; + }; + + DBG(" -> generic_find_legacy_serial_port()\n"); + ports_probed = 1; + + *physport = 0; + if (default_speed) + *default_speed = 0; + + np = of_find_node_by_path("/"); + if (!np) + return; + + /* First fill our array */ + for (np = NULL; (np = of_find_node_by_type(np, "serial"));) { + struct device_node *isa, *pci; + struct isa_reg_property *reg; + unsigned long phys_size, addr_size; + u64 io_base; + u32 *rangesp; + u32 *interrupts, *clk, *spd; + char *typep; + int index, rlen, rentsize; + + /* Ok, first check if it's under an "isa" parent */ + isa = of_get_parent(np); + if (!isa || strcmp(isa->name, "isa")) { + DBG("%s: no isa parent found\n", np->full_name); + continue; + } + + /* Now look for an "ibm,aix-loc" property that gives us ordering + * if any... + */ + typep = (char *)get_property(np, "ibm,aix-loc", NULL); + + /* Get the ISA port number */ + reg = (struct isa_reg_property *)get_property(np, "reg", NULL); + if (reg == NULL) + goto next_port; + /* We assume the interrupt number isn't translated ... */ + interrupts = (u32 *)get_property(np, "interrupts", NULL); + /* get clock freq. if present */ + clk = (u32 *)get_property(np, "clock-frequency", NULL); + /* get default speed if present */ + spd = (u32 *)get_property(np, "current-speed", NULL); + /* Default to locate at end of array */ + index = old_serial_count; /* end of the array by default */ + + /* If we have a location index, then use it */ + if (typep && *typep == 'S') { + index = simple_strtol(typep+1, NULL, 0) - 1; + /* if index is out of range, use end of array instead */ + if (index >= MAX_LEGACY_SERIAL_PORTS) + index = old_serial_count; + /* if our index is still out of range, that mean that + * array is full, we could scan for a free slot but that + * make little sense to bother, just skip the port + */ + if (index >= MAX_LEGACY_SERIAL_PORTS) + goto next_port; + if (index >= old_serial_count) + old_serial_count = index + 1; + /* Check if there is a port who already claimed our slot */ + if (serial_ports[index].iobase != 0) { + /* if we still have some room, move it, else override */ + if (old_serial_count < MAX_LEGACY_SERIAL_PORTS) { + DBG("Moved legacy port %d -> %d\n", index, + old_serial_count); + serial_ports[old_serial_count++] = + serial_ports[index]; + } else { + DBG("Replacing legacy port %d\n", index); + } + } + } + if (index >= MAX_LEGACY_SERIAL_PORTS) + goto next_port; + if (index >= old_serial_count) + old_serial_count = index + 1; + + /* Now fill the entry */ + memset(&serial_ports[index], 0, sizeof(struct plat_serial8250_port)); + serial_ports[index].uartclk = (clk && *clk) ? *clk : BASE_BAUD * 16; + serial_ports[index].iobase = reg->address; + serial_ports[index].irq = interrupts ? interrupts[0] : 0; + serial_ports[index].flags = ASYNC_BOOT_AUTOCONF; + + DBG("Added legacy port, index: %d, port: %x, irq: %d, clk: %d\n", + index, + serial_ports[index].iobase, + serial_ports[index].irq, + serial_ports[index].uartclk); + + /* Get phys address of IO reg for port 1 */ + if (index != 0) + goto next_port; + + pci = of_get_parent(isa); + if (!pci) { + DBG("%s: no pci parent found\n", np->full_name); + goto next_port; + } + + rangesp = (u32 *)get_property(pci, "ranges", &rlen); + if (rangesp == NULL) { + of_node_put(pci); + goto next_port; + } + rlen /= 4; + + /* we need the #size-cells of the PCI bridge node itself */ + phys_size = 1; + sizeprop = (u32 *)get_property(pci, "#size-cells", NULL); + if (sizeprop != NULL) + phys_size = *sizeprop; + /* we need the parent #addr-cells */ + addr_size = prom_n_addr_cells(pci); + rentsize = 3 + addr_size + phys_size; + io_base = 0; + for (;rlen >= rentsize; rlen -= rentsize,rangesp += rentsize) { + if (((rangesp[0] >> 24) & 0x3) != 1) + continue; /* not IO space */ + io_base = rangesp[3]; + if (addr_size == 2) + io_base = (io_base << 32) | rangesp[4]; + } + if (io_base != 0) { + *physport = io_base + reg->address; + if (default_speed && spd) + *default_speed = *spd; + } + of_node_put(pci); + next_port: + of_node_put(isa); + } + + DBG(" <- generic_find_legacy_serial_port()\n"); +} + +static struct platform_device serial_device = { + .name = "serial8250", + .id = PLAT8250_DEV_PLATFORM, + .dev = { + .platform_data = serial_ports, + }, +}; + +static int __init serial_dev_init(void) +{ + u64 phys; + unsigned int spd; + + if (!ports_probed) + generic_find_legacy_serial_ports(&phys, &spd); + return platform_device_register(&serial_device); +} +arch_initcall(serial_dev_init); --- linux-2.6.13/drivers/serial/Kconfig.sof 2005-10-20 12:54:48.000000000 +0100 +++ linux-2.6.13/drivers/serial/Kconfig 2005-10-20 13:05:39.000000000 +0100 @@ -77,6 +77,11 @@ config SERIAL_8250_CS If unsure, say N. +config SERIAL_8250_OF + bool + default y + depends on PPC_OF && SERIAL_8250 + config SERIAL_8250_ACPI bool "8250/16550 device discovery via ACPI namespace" default y if IA64 --- linux-2.6.13/arch/ppc64/kernel/setup.c.sof 2005-10-20 13:13:08.000000000 +0100 +++ linux-2.6.13/arch/ppc64/kernel/setup.c 2005-10-20 13:16:28.000000000 +0100 @@ -31,8 +31,6 @@ #include #include #include -#include -#include #include #include #include @@ -52,7 +50,6 @@ #include #include #include -#include #include #include #include @@ -1104,187 +1101,6 @@ void __init setup_default_decr(void) lpaca->next_jiffy_update_tb = get_tb() + tb_ticks_per_jiffy; } -#ifndef CONFIG_PPC_ISERIES -/* - * This function can be used by platforms to "find" legacy serial ports. - * It works for "serial" nodes under an "isa" node, and will try to - * respect the "ibm,aix-loc" property if any. It works with up to 8 - * ports. - */ - -#define MAX_LEGACY_SERIAL_PORTS 8 -static struct plat_serial8250_port serial_ports[MAX_LEGACY_SERIAL_PORTS+1]; -static unsigned int old_serial_count; - -void __init generic_find_legacy_serial_ports(u64 *physport, - unsigned int *default_speed) -{ - struct device_node *np; - u32 *sizeprop; - - struct isa_reg_property { - u32 space; - u32 address; - u32 size; - }; - struct pci_reg_property { - struct pci_address addr; - u32 size_hi; - u32 size_lo; - }; - - DBG(" -> generic_find_legacy_serial_port()\n"); - - *physport = 0; - if (default_speed) - *default_speed = 0; - - np = of_find_node_by_path("/"); - if (!np) - return; - - /* First fill our array */ - for (np = NULL; (np = of_find_node_by_type(np, "serial"));) { - struct device_node *isa, *pci; - struct isa_reg_property *reg; - unsigned long phys_size, addr_size, io_base; - u32 *rangesp; - u32 *interrupts, *clk, *spd; - char *typep; - int index, rlen, rentsize; - - /* Ok, first check if it's under an "isa" parent */ - isa = of_get_parent(np); - if (!isa || strcmp(isa->name, "isa")) { - DBG("%s: no isa parent found\n", np->full_name); - continue; - } - - /* Now look for an "ibm,aix-loc" property that gives us ordering - * if any... - */ - typep = (char *)get_property(np, "ibm,aix-loc", NULL); - - /* Get the ISA port number */ - reg = (struct isa_reg_property *)get_property(np, "reg", NULL); - if (reg == NULL) - goto next_port; - /* We assume the interrupt number isn't translated ... */ - interrupts = (u32 *)get_property(np, "interrupts", NULL); - /* get clock freq. if present */ - clk = (u32 *)get_property(np, "clock-frequency", NULL); - /* get default speed if present */ - spd = (u32 *)get_property(np, "current-speed", NULL); - /* Default to locate at end of array */ - index = old_serial_count; /* end of the array by default */ - - /* If we have a location index, then use it */ - if (typep && *typep == 'S') { - index = simple_strtol(typep+1, NULL, 0) - 1; - /* if index is out of range, use end of array instead */ - if (index >= MAX_LEGACY_SERIAL_PORTS) - index = old_serial_count; - /* if our index is still out of range, that mean that - * array is full, we could scan for a free slot but that - * make little sense to bother, just skip the port - */ - if (index >= MAX_LEGACY_SERIAL_PORTS) - goto next_port; - if (index >= old_serial_count) - old_serial_count = index + 1; - /* Check if there is a port who already claimed our slot */ - if (serial_ports[index].iobase != 0) { - /* if we still have some room, move it, else override */ - if (old_serial_count < MAX_LEGACY_SERIAL_PORTS) { - DBG("Moved legacy port %d -> %d\n", index, - old_serial_count); - serial_ports[old_serial_count++] = - serial_ports[index]; - } else { - DBG("Replacing legacy port %d\n", index); - } - } - } - if (index >= MAX_LEGACY_SERIAL_PORTS) - goto next_port; - if (index >= old_serial_count) - old_serial_count = index + 1; - - /* Now fill the entry */ - memset(&serial_ports[index], 0, sizeof(struct plat_serial8250_port)); - serial_ports[index].uartclk = clk ? *clk : BASE_BAUD * 16; - serial_ports[index].iobase = reg->address; - serial_ports[index].irq = interrupts ? interrupts[0] : 0; - serial_ports[index].flags = ASYNC_BOOT_AUTOCONF; - - DBG("Added legacy port, index: %d, port: %x, irq: %d, clk: %d\n", - index, - serial_ports[index].iobase, - serial_ports[index].irq, - serial_ports[index].uartclk); - - /* Get phys address of IO reg for port 1 */ - if (index != 0) - goto next_port; - - pci = of_get_parent(isa); - if (!pci) { - DBG("%s: no pci parent found\n", np->full_name); - goto next_port; - } - - rangesp = (u32 *)get_property(pci, "ranges", &rlen); - if (rangesp == NULL) { - of_node_put(pci); - goto next_port; - } - rlen /= 4; - - /* we need the #size-cells of the PCI bridge node itself */ - phys_size = 1; - sizeprop = (u32 *)get_property(pci, "#size-cells", NULL); - if (sizeprop != NULL) - phys_size = *sizeprop; - /* we need the parent #addr-cells */ - addr_size = prom_n_addr_cells(pci); - rentsize = 3 + addr_size + phys_size; - io_base = 0; - for (;rlen >= rentsize; rlen -= rentsize,rangesp += rentsize) { - if (((rangesp[0] >> 24) & 0x3) != 1) - continue; /* not IO space */ - io_base = rangesp[3]; - if (addr_size == 2) - io_base = (io_base << 32) | rangesp[4]; - } - if (io_base != 0) { - *physport = io_base + reg->address; - if (default_speed && spd) - *default_speed = *spd; - } - of_node_put(pci); - next_port: - of_node_put(isa); - } - - DBG(" <- generic_find_legacy_serial_port()\n"); -} - -static struct platform_device serial_device = { - .name = "serial8250", - .id = PLAT8250_DEV_PLATFORM, - .dev = { - .platform_data = serial_ports, - }, -}; - -static int __init serial_dev_init(void) -{ - return platform_device_register(&serial_device); -} -arch_initcall(serial_dev_init); - -#endif /* CONFIG_PPC_ISERIES */ - int check_legacy_ioport(unsigned long base_port) { if (ppc_md.check_legacy_ioport == NULL) --- linux-2.6.13/include/asm-ppc/pc_serial.h.sof 2005-08-29 00:41:01.000000000 +0100 +++ linux-2.6.13/include/asm-ppc/pc_serial.h 2005-10-20 13:05:42.000000000 +0100 @@ -26,18 +26,4 @@ #define RS_TABLE_SIZE 4 #endif -/* Standard COM flags (except for COM4, because of the 8514 problem) */ -#ifdef CONFIG_SERIAL_DETECT_IRQ -#define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST | ASYNC_AUTO_IRQ) -#define STD_COM4_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_AUTO_IRQ) -#else -#define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST) -#define STD_COM4_FLAGS ASYNC_BOOT_AUTOCONF -#endif - -#define SERIAL_PORT_DFNS \ - /* UART CLK PORT IRQ FLAGS */ \ - { 0, BASE_BAUD, 0x3F8, 4, STD_COM_FLAGS }, /* ttyS0 */ \ - { 0, BASE_BAUD, 0x2F8, 3, STD_COM_FLAGS }, /* ttyS1 */ \ - { 0, BASE_BAUD, 0x3E8, 4, STD_COM_FLAGS }, /* ttyS2 */ \ - { 0, BASE_BAUD, 0x2E8, 3, STD_COM4_FLAGS }, /* ttyS3 */ +#define SERIAL_PORT_DFNS /* */ Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v retrieving revision 1.1617 retrieving revision 1.1618 diff -u -r1.1617 -r1.1618 --- kernel-2.6.spec 18 Oct 2005 21:33:05 -0000 1.1617 +++ kernel-2.6.spec 20 Oct 2005 14:32:12 -0000 1.1618 @@ -214,6 +214,7 @@ # 300 - 399 ppc(64) Patch300: linux-2.6-ppc64-build.patch Patch301: linux-2.6-ppc64-eeh-panic.patch +Patch302: linux-2.6.13-serial-of.patch # 400 - 499 ia64 # 500 - 599 s390(x) @@ -585,6 +586,8 @@ # Patch for Kconfig and Makefile build issues %patch300 -p1 %patch301 -p1 +# Don't probe serial ports if they don't exist +%patch302 -p1 # # Xen @@ -1260,6 +1263,9 @@ %endif %changelog +* Thu Oct 20 2005 David Woodhouse +- Bring forward 8250 OpenFirmware probe patch from FC4. + * Tue Oct 18 2005 Dave Jones - 2.6.14-rc4-git6 From fedora-cvs-commits at redhat.com Thu Oct 20 14:38:30 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 10:38:30 -0400 Subject: rpms/gnome-applets/devel gnome-applets.spec,1.87,1.88 Message-ID: <200510201438.j9KEcUXR010932@cvs.devel.redhat.com> Author: rstrode Update of /cvs/dist/rpms/gnome-applets/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv10887 Modified Files: gnome-applets.spec Log Message: - require libgtop2 >= 2.12.0, bug 171285 Index: gnome-applets.spec =================================================================== RCS file: /cvs/dist/rpms/gnome-applets/devel/gnome-applets.spec,v retrieving revision 1.87 retrieving revision 1.88 diff -u -r1.87 -r1.88 --- gnome-applets.spec 6 Oct 2005 14:50:17 -0000 1.87 +++ gnome-applets.spec 20 Oct 2005 14:38:27 -0000 1.88 @@ -3,7 +3,7 @@ %define gtk2_version 2.6.0 %define libgnomeui_version 2.3.0 %define gnome_panel_version 2.5.91 -%define libgtop2_version 2.5.0 +%define libgtop2_version 2.12.0 %define gail_version 1.2.0 %define libbonoboui_version 2.3.0 %define gstreamer_plugins_version 0.7.6-2 @@ -17,7 +17,7 @@ Summary: Small applications for the GNOME panel. Name: gnome-applets Version: 2.12.1 -Release: 1 +Release: 2 Epoch: 1 License: GPL Group: User Interface/Desktops @@ -162,6 +162,9 @@ %{_libdir}/pkgconfig/gswitchit.pc %changelog +* Thu Oct 20 2005 Ray Strode - 1:2.12.1-2 +- require libgtop2 >= 2.12.0, bug 171285 + * Thu Oct 6 2005 Matthias Clasen - 1:2.12.1-1 - Update to 2.12.1 From fedora-cvs-commits at redhat.com Thu Oct 20 14:41:34 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 10:41:34 -0400 Subject: rpms/quagga/devel quagga-0.98.5-pie.patch, 1.2, 1.3 quagga.spec, 1.26, 1.27 Message-ID: <200510201441.j9KEfYGb011388@cvs.devel.redhat.com> Author: fenlason Update of /cvs/dist/rpms/quagga/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv11314 Modified Files: quagga-0.98.5-pie.patch quagga.spec Log Message: No more late night hacking. This version actually compiles on multiple platforms. quagga-0.98.5-pie.patch: ltmain.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: quagga-0.98.5-pie.patch =================================================================== RCS file: /cvs/dist/rpms/quagga/devel/quagga-0.98.5-pie.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- quagga-0.98.5-pie.patch 20 Oct 2005 03:17:04 -0000 1.2 +++ quagga-0.98.5-pie.patch 20 Oct 2005 14:41:29 -0000 1.3 @@ -18,312 +18,3 @@ else command="$base_compile $srcfile $pic_flag" fi ---- quagga-0.98.5/makefiles.diff 2005-10-19 23:09:23.000000000 -0400 -+++ quagga-0.98.5.sav/makefiles.diff 2005-10-19 23:08:33.000000000 -0400 -@@ -0,0 +1,306 @@ -+--- quagga-0.98.5/Makefile 2005-10-19 22:57:47.000000000 -0400 -++++ quagga-0.98.5.sav/Makefile 2005-10-19 22:41:06.000000000 -0400 -+@@ -112,7 +112,7 @@ -+ ISISD = -+ KERNEL_METHOD = -+ LD = /usr/bin/ld -m elf_x86_64 -+-LDFLAGS = -++LDFLAGS = -pie -+ LIBCAP = -lcap -+ LIBOBJS = -+ LIBPAM = -lpam -lpam_misc -+--- quagga-0.98.5/bgpd/Makefile 2005-10-19 23:05:37.000000000 -0400 -++++ quagga-0.98.5.sav/bgpd/Makefile 2005-10-19 23:07:12.000000000 -0400 -+@@ -86,7 +86,7 @@ -+ depcomp = $(SHELL) $(top_srcdir)/depcomp -+ am__depfiles_maybe = depfiles -+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE -+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ -+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -+ $(AM_CFLAGS) $(CFLAGS) -+@@ -145,7 +145,7 @@ -+ ISISD = -+ KERNEL_METHOD = -+ LD = /usr/bin/ld -m elf_x86_64 -+-LDFLAGS = -++LDFLAGS = -pie -+ LIBCAP = -lcap -+ LIBOBJS = -+ LIBPAM = -lpam -lpam_misc -+--- quagga-0.98.5/doc/Makefile 2005-10-19 23:05:37.000000000 -0400 -++++ quagga-0.98.5.sav/doc/Makefile 2005-10-19 23:07:30.000000000 -0400 -+@@ -109,7 +109,7 @@ -+ ISISD = -+ KERNEL_METHOD = -+ LD = /usr/bin/ld -m elf_x86_64 -+-LDFLAGS = -++LDFLAGS = -pie -+ LIBCAP = -lcap -+ LIBOBJS = -+ LIBPAM = -lpam -lpam_misc -+--- quagga-0.98.5/isisd/Makefile 2005-10-19 23:05:37.000000000 -0400 -++++ quagga-0.98.5.sav/isisd/Makefile 2005-10-19 23:07:33.000000000 -0400 -+@@ -84,7 +84,7 @@ -+ depcomp = $(SHELL) $(top_srcdir)/depcomp -+ am__depfiles_maybe = depfiles -+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE -+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ -+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -+ $(AM_CFLAGS) $(CFLAGS) -+@@ -145,7 +145,7 @@ -+ ISISD = -+ KERNEL_METHOD = -+ LD = /usr/bin/ld -m elf_x86_64 -+-LDFLAGS = -++LDFLAGS = -pie -+ LIBCAP = -lcap -+ LIBOBJS = -+ LIBPAM = -lpam -lpam_misc -+--- quagga-0.98.5/lib/Makefile 2005-10-19 23:05:37.000000000 -0400 -++++ quagga-0.98.5.sav/lib/Makefile 2005-10-19 23:07:37.000000000 -0400 -+@@ -70,7 +70,7 @@ -+ depcomp = $(SHELL) $(top_srcdir)/depcomp -+ am__depfiles_maybe = depfiles -+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE -+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ -+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -+ $(AM_CFLAGS) $(CFLAGS) -+@@ -122,7 +122,7 @@ -+ ISISD = -+ KERNEL_METHOD = -+ LD = /usr/bin/ld -m elf_x86_64 -+-LDFLAGS = -++LDFLAGS = -pie -+ LIBCAP = -lcap -+ LIBOBJS = -+ LIBPAM = -lpam -lpam_misc -+--- quagga-0.98.5/m4/Makefile 2005-10-19 23:05:37.000000000 -0400 -++++ quagga-0.98.5.sav/m4/Makefile 2005-10-19 23:07:40.000000000 -0400 -+@@ -88,7 +88,7 @@ -+ ISISD = -+ KERNEL_METHOD = -+ LD = /usr/bin/ld -m elf_x86_64 -+-LDFLAGS = -++LDFLAGS = -pie -+ LIBCAP = -lcap -+ LIBOBJS = -+ LIBPAM = -lpam -lpam_misc -+--- quagga-0.98.5/ospf6d/Makefile 2005-10-19 23:05:37.000000000 -0400 -++++ quagga-0.98.5.sav/ospf6d/Makefile 2005-10-19 23:07:42.000000000 -0400 -+@@ -84,7 +84,7 @@ -+ depcomp = $(SHELL) $(top_srcdir)/depcomp -+ am__depfiles_maybe = depfiles -+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE -+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ -+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -+ $(AM_CFLAGS) $(CFLAGS) -+@@ -143,7 +143,7 @@ -+ ISISD = -+ KERNEL_METHOD = -+ LD = /usr/bin/ld -m elf_x86_64 -+-LDFLAGS = -++LDFLAGS = -pie -+ LIBCAP = -lcap -+ LIBOBJS = -+ LIBPAM = -lpam -lpam_misc -+--- quagga-0.98.5/ospfclient/Makefile 2005-10-19 23:05:37.000000000 -0400 -++++ quagga-0.98.5.sav/ospfclient/Makefile 2005-10-19 23:07:44.000000000 -0400 -+@@ -75,7 +75,7 @@ -+ depcomp = $(SHELL) $(top_srcdir)/depcomp -+ am__depfiles_maybe = depfiles -+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE -+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ -+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -+ $(AM_CFLAGS) $(CFLAGS) -+@@ -127,7 +127,7 @@ -+ ISISD = -+ KERNEL_METHOD = -+ LD = /usr/bin/ld -m elf_x86_64 -+-LDFLAGS = -++LDFLAGS = -pie -+ LIBCAP = -lcap -+ LIBOBJS = -+ LIBPAM = -lpam -lpam_misc -+--- quagga-0.98.5/ospfd/Makefile 2005-10-19 23:05:37.000000000 -0400 -++++ quagga-0.98.5.sav/ospfd/Makefile 2005-10-19 23:07:46.000000000 -0400 -+@@ -82,7 +82,7 @@ -+ depcomp = $(SHELL) $(top_srcdir)/depcomp -+ am__depfiles_maybe = depfiles -+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE -+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ -+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -+ $(AM_CFLAGS) $(CFLAGS) -+@@ -136,7 +136,7 @@ -+ ISISD = -+ KERNEL_METHOD = -+ LD = /usr/bin/ld -m elf_x86_64 -+-LDFLAGS = -++LDFLAGS = -pie -+ LIBCAP = -lcap -+ LIBOBJS = -+ LIBPAM = -lpam -lpam_misc -+--- quagga-0.98.5/pkgsrc/Makefile 2005-10-19 23:05:37.000000000 -0400 -++++ quagga-0.98.5.sav/pkgsrc/Makefile 2005-10-19 23:07:48.000000000 -0400 -+@@ -96,7 +96,7 @@ -+ ISISD = -+ KERNEL_METHOD = -+ LD = /usr/bin/ld -m elf_x86_64 -+-LDFLAGS = -++LDFLAGS = -pie -+ LIBCAP = -lcap -+ LIBOBJS = -+ LIBPAM = -lpam -lpam_misc -+--- quagga-0.98.5/redhat/Makefile 2005-10-19 23:05:37.000000000 -0400 -++++ quagga-0.98.5.sav/redhat/Makefile 2005-10-19 23:07:52.000000000 -0400 -+@@ -89,7 +89,7 @@ -+ ISISD = -+ KERNEL_METHOD = -+ LD = /usr/bin/ld -m elf_x86_64 -+-LDFLAGS = -++LDFLAGS = -pie -+ LIBCAP = -lcap -+ LIBOBJS = -+ LIBPAM = -lpam -lpam_misc -+--- quagga-0.98.5/ripd/Makefile 2005-10-19 23:05:37.000000000 -0400 -++++ quagga-0.98.5.sav/ripd/Makefile 2005-10-19 23:07:54.000000000 -0400 -+@@ -74,7 +74,7 @@ -+ depcomp = $(SHELL) $(top_srcdir)/depcomp -+ am__depfiles_maybe = depfiles -+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE -+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ -+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -+ $(AM_CFLAGS) $(CFLAGS) -+@@ -133,7 +133,7 @@ -+ ISISD = -+ KERNEL_METHOD = -+ LD = /usr/bin/ld -m elf_x86_64 -+-LDFLAGS = -++LDFLAGS = -pie -+ LIBCAP = -lcap -+ LIBOBJS = -+ LIBPAM = -lpam -lpam_misc -+--- quagga-0.98.5/ripngd/Makefile 2005-10-19 23:05:37.000000000 -0400 -++++ quagga-0.98.5.sav/ripngd/Makefile 2005-10-19 23:07:56.000000000 -0400 -+@@ -78,7 +78,7 @@ -+ depcomp = $(SHELL) $(top_srcdir)/depcomp -+ am__depfiles_maybe = depfiles -+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE -+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ -+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -+ $(AM_CFLAGS) $(CFLAGS) -+@@ -137,7 +137,7 @@ -+ ISISD = -+ KERNEL_METHOD = -+ LD = /usr/bin/ld -m elf_x86_64 -+-LDFLAGS = -++LDFLAGS = -pie -+ LIBCAP = -lcap -+ LIBOBJS = -+ LIBPAM = -lpam -lpam_misc -+--- quagga-0.98.5/solaris/Makefile 2005-10-19 23:05:38.000000000 -0400 -++++ quagga-0.98.5.sav/solaris/Makefile 2005-10-19 23:07:58.000000000 -0400 -+@@ -91,7 +91,7 @@ -+ ISISD = -+ KERNEL_METHOD = -+ LD = /usr/bin/ld -m elf_x86_64 -+-LDFLAGS = -++LDFLAGS = -pie -+ LIBCAP = -lcap -+ LIBOBJS = -+ LIBPAM = -lpam -lpam_misc -+--- quagga-0.98.5/tests/Makefile 2005-10-19 23:05:37.000000000 -0400 -++++ quagga-0.98.5.sav/tests/Makefile 2005-10-19 23:08:00.000000000 -0400 -+@@ -57,7 +57,7 @@ -+ depcomp = $(SHELL) $(top_srcdir)/depcomp -+ am__depfiles_maybe = depfiles -+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE -+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ -+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -+ $(AM_CFLAGS) $(CFLAGS) -+@@ -107,7 +107,7 @@ -+ ISISD = -+ KERNEL_METHOD = -+ LD = /usr/bin/ld -m elf_x86_64 -+-LDFLAGS = -++LDFLAGS = -pie -+ LIBCAP = -lcap -+ LIBOBJS = -+ LIBPAM = -lpam -lpam_misc -+--- quagga-0.98.5/vtysh/Makefile 2005-10-19 23:05:37.000000000 -0400 -++++ quagga-0.98.5.sav/vtysh/Makefile 2005-10-19 23:08:03.000000000 -0400 -+@@ -65,7 +65,7 @@ -+ depcomp = $(SHELL) $(top_srcdir)/depcomp -+ am__depfiles_maybe = depfiles -+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE -+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ -+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -+ $(AM_CFLAGS) $(CFLAGS) -+@@ -124,7 +124,7 @@ -+ ISISD = -+ KERNEL_METHOD = -+ LD = /usr/bin/ld -m elf_x86_64 -+-LDFLAGS = -++LDFLAGS = -pie -+ LIBCAP = -lcap -+ LIBOBJS = -+ LIBPAM = -lpam -lpam_misc -+--- quagga-0.98.5/watchquagga/Makefile 2005-10-19 23:05:37.000000000 -0400 -++++ quagga-0.98.5.sav/watchquagga/Makefile 2005-10-19 23:08:05.000000000 -0400 -+@@ -59,7 +59,7 @@ -+ depcomp = $(SHELL) $(top_srcdir)/depcomp -+ am__depfiles_maybe = depfiles -+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE -+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ -+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -+ $(AM_CFLAGS) $(CFLAGS) -+@@ -109,7 +109,7 @@ -+ ISISD = -+ KERNEL_METHOD = -+ LD = /usr/bin/ld -m elf_x86_64 -+-LDFLAGS = -++LDFLAGS = -pie -+ LIBCAP = -lcap -+ LIBOBJS = -+ LIBPAM = -lpam -lpam_misc -+--- quagga-0.98.5/zebra/Makefile 2005-10-19 23:05:37.000000000 -0400 -++++ quagga-0.98.5.sav/zebra/Makefile 2005-10-19 23:08:07.000000000 -0400 -+@@ -71,7 +71,7 @@ -+ depcomp = $(SHELL) $(top_srcdir)/depcomp -+ am__depfiles_maybe = depfiles -+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE -+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ -+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -+ $(AM_CFLAGS) $(CFLAGS) -+@@ -130,7 +130,7 @@ -+ ISISD = -+ KERNEL_METHOD = -+ LD = /usr/bin/ld -m elf_x86_64 -+-LDFLAGS = -++LDFLAGS = -pie -+ LIBCAP = -lcap -+ LIBOBJS = -+ LIBPAM = -lpam -lpam_misc Index: quagga.spec =================================================================== RCS file: /cvs/dist/rpms/quagga/devel/quagga.spec,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- quagga.spec 20 Oct 2005 03:17:04 -0000 1.26 +++ quagga.spec 20 Oct 2005 14:41:29 -0000 1.27 @@ -159,7 +159,8 @@ %endif --enable-netlink -patch -p1 < makefiles.diff +for X in Makefile */Makefile ; do perl -pe 's/^COMPILE \= \$\(CC\) /COMPILE = \$(CC) -fPIE /;s/^LDFLAGS = $/LDFLAGS = -pie/' < $X > $X.tmp ; mv $X.tmp $X ; done + make %{?_smp_mflags} MAKEINFO="makeinfo --no-split" pushd doc From fedora-cvs-commits at redhat.com Thu Oct 20 14:54:25 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 10:54:25 -0400 Subject: rpms/util-linux/devel util-linux-2.13-ipcs-shmax.patch, NONE, 1.1 .cvsignore, 1.16, 1.17 sources, 1.16, 1.17 util-linux.spec, 1.90, 1.91 cramfs-1.1-blocksize_and_quiet.patch, 1.1, NONE cramfs-1.1-pagesize.patch, 1.1, NONE Message-ID: <200510201454.j9KEsPWf017361@cvs.devel.redhat.com> Author: kzak Update of /cvs/dist/rpms/util-linux/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv17092 Modified Files: .cvsignore sources util-linux.spec Added Files: util-linux-2.13-ipcs-shmax.patch Removed Files: cramfs-1.1-blocksize_and_quiet.patch cramfs-1.1-pagesize.patch Log Message: new upstream version util-linux-2.13-ipcs-shmax.patch: ipcs.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletion(-) --- NEW FILE util-linux-2.13-ipcs-shmax.patch --- --- util-linux-2.13-pre4/sys-utils/ipcs.c.shmax 2005-10-18 17:04:42.000000000 +0200 +++ util-linux-2.13-pre4/sys-utils/ipcs.c 2005-10-18 17:31:28.000000000 +0200 @@ -280,8 +280,14 @@ (unsigned long) shminfo.shmmni); printf (_("max seg size (kbytes) = %lu\n"), (unsigned long) (shminfo.shmmax >> 10)); + + /* max shmem = pagesize * shminfo.shmall / 1024 + * + * note: that "shminfo.shmall * getpagesize()" is greater than ULONG_MAX (32bit) + * it means that better is "/" before "*" or use "long long" + */ printf (_("max total shared memory (kbytes) = %lu\n"), - (getpagesize()*((unsigned long) shminfo.shmall))/1024UL); + getpagesize()/1024 * (unsigned long) shminfo.shmall); printf (_("min seg size (bytes) = %lu\n"), (unsigned long) shminfo.shmmin); return; Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/util-linux/devel/.cvsignore,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- .cvsignore 7 Oct 2005 19:34:46 -0000 1.16 +++ .cvsignore 20 Oct 2005 14:54:21 -0000 1.17 @@ -1,3 +1,2 @@ -cramfs-1.1.tar.gz floppy-0.12.tar.gz -util-linux-2.13-pre4.tar.bz2 +util-linux-2.13-pre5.tar.bz2 Index: sources =================================================================== RCS file: /cvs/dist/rpms/util-linux/devel/sources,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- sources 7 Oct 2005 19:34:46 -0000 1.16 +++ sources 20 Oct 2005 14:54:21 -0000 1.17 @@ -1,3 +1,2 @@ -d3912b9f7bf745fbfea68f6a9b9de30f cramfs-1.1.tar.gz 7d3ac81855e26687dada6a31d2677875 floppy-0.12.tar.gz -484f4809876197a07a6c471d320b6d03 util-linux-2.13-pre4.tar.bz2 +cb6df95064100fe75364fa139634c475 util-linux-2.13-pre5.tar.bz2 Index: util-linux.spec =================================================================== RCS file: /cvs/dist/rpms/util-linux/devel/util-linux.spec,v retrieving revision 1.90 retrieving revision 1.91 diff -u -r1.90 -r1.91 --- util-linux.spec 17 Oct 2005 14:09:59 -0000 1.90 +++ util-linux.spec 20 Oct 2005 14:54:21 -0000 1.91 @@ -14,7 +14,6 @@ ### Macros %define floppyver 0.12 -%define cramfsver 1.1 %define no_hwclock_archs s390 s390x %define cytune_archs %{ix86} alpha armv4l @@ -23,11 +22,10 @@ # see build section for _prefix ### Header -# note: this is experimental unstable package. See "TODO [stable]" notes. -- kzak Summary: A collection of basic system utilities. Name: util-linux Version: 2.13 -Release: 0.5.pre4 +Release: 0.6.pre5 License: distributable Group: System Environment/Base @@ -45,14 +43,13 @@ BuildRequires: audit-libs-devel >= 1.0.6 ### Sources -# TODO [stable]: s/2.13-pre4/%{version}/ -Source0: ftp://ftp.win.tue.nl/pub/linux-local/utils/util-linux/util-linux-2.13-pre4.tar.bz2 +# TODO [stable]: s/2.13-pre5/%{version}/ +Source0: ftp://ftp.win.tue.nl/pub/linux-local/utils/util-linux/util-linux-2.13-pre5.tar.bz2 Source1: util-linux-selinux.pamd Source2: util-linux-chsh-chfn.pamd Source8: nologin.c Source9: nologin.8 Source11: http://download.sourceforge.net/floppyutil/floppy-%{floppyver}.tar.gz -Source12: http://download.sourceforge.net/cramfs/cramfs-%{cramfsver}.tar.gz ### Obsoletes & Conflicts & Provides Obsoletes: fdisk tunelp mount losetup schedutils @@ -91,9 +88,6 @@ Patch138: util-linux-2.11y-chsh-103004.patch Patch139: util-linux-2.11y-fdisksegv-103954.patch -Patch143: cramfs-1.1-blocksize_and_quiet.patch -Patch144: cramfs-1.1-pagesize.patch - Patch147: util-linux-2.12a-126572-fdiskman.patch Patch150: floppy-0.12-locale.patch @@ -159,6 +153,8 @@ Patch214: util-linux-2.13-losetup-all.patch # 170564 - add audit message to login Patch215: util-linux-2.13-audit-login.patch +# 170171 - ipcs -lm always report "max total shared memory (kbytes) = 0" +Patch216: util-linux-2.13-ipcs-shmax.patch # When adding patches, please make sure that it is easy to find out what bug # the # patch fixes. @@ -172,7 +168,7 @@ %prep # TODO [stable]: remove -n -%setup -q -a 11 -a 12 -n util-linux-2.13-pre4 +%setup -q -a 11 -n util-linux-2.13-pre5 %patch1 -p1 -b .moretc %patch70 -p1 @@ -190,9 +186,6 @@ %patch128 -p1 %patch138 -p1 %patch139 -p1 -# cramfs -%patch143 -p0 -%patch144 -p1 %patch147 -p1 %patch150 -p0 %patch151 -p1 @@ -229,6 +222,7 @@ %patch213 -p1 %patch214 -p1 %patch215 -p1 +%patch216 -p1 %build unset LINGUAS || : @@ -276,9 +270,6 @@ make %{?_smp_mflags} popd -# build cramfs 1.1 -make -C cramfs-%{cramfsver} %{?_smp_mflags} - # build nologin gcc $RPM_OPT_FLAGS -o nologin nologin.c @@ -307,13 +298,6 @@ %makeinstall popd -# install cramfs 1.1 -pushd cramfs-%{cramfsver} -install -s -m 755 mkcramfs ${RPM_BUILD_ROOT}/sbin/mkfs.cramfs -ln -s ../../sbin/mkfs.cramfs ${RPM_BUILD_ROOT}/usr/bin/mkcramfs -install -s -m 755 cramfsck ${RPM_BUILD_ROOT}/sbin/fsck.cramfs -popd - # install no login install -m 755 nologin ${RPM_BUILD_ROOT}/sbin install -m 644 nologin.8 ${RPM_BUILD_ROOT}%{_mandir}/man8 @@ -507,7 +491,6 @@ %{_bindir}/logger %{_bindir}/look %{_bindir}/mcookie -%{_bindir}/mkcramfs /sbin/fsck.cramfs /sbin/mkfs.cramfs %ifnarch s390 s390x @@ -623,6 +606,12 @@ /sbin/losetup %changelog +* Thu Oct 20 2005 Karel Zak 2.13-0.6.pre5 +- update to upstream 2.13pre5 +- remove separated cramfs1.1 (already in upstream package) +- remove odd symlink /usr/bin/mkcramfs -> ../../sbin/mkfs.cramfs +- fix #170171 - ipcs -lm always report "max total shared memory (kbytes) = 0" + * Mon Oct 17 2005 Karel Zak 2.13-0.5.pre4 * fix #170564 - add audit message to login --- cramfs-1.1-blocksize_and_quiet.patch DELETED --- --- cramfs-1.1-pagesize.patch DELETED --- From fedora-cvs-commits at redhat.com Thu Oct 20 15:42:47 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 11:42:47 -0400 Subject: rpms/gdb/FC-4 gdb-6.3-attach-stop-20051011.patch, 1.1, 1.2 gdb.spec, 1.162, 1.163 Message-ID: <200510201542.j9KFglSQ032215@cvs.devel.redhat.com> Author: jjohnstn Update of /cvs/dist/rpms/gdb/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv32177 Modified Files: gdb-6.3-attach-stop-20051011.patch gdb.spec Log Message: * Tue Oct 18 2005 Jeff Johnston 6.3.0.0-1.84 - Bump up release number. * Tue Oct 18 2005 Jeff Johnston 6.3.0.0-1.82 - Modify attach patch to add missing fclose. - Bugzilla 166712 gdb-6.3-attach-stop-20051011.patch: inferior.h | 4 infptrace.c | 37 +++++++ infrun.c | 5 + target.c | 7 + testsuite/gdb.base/attachstop.c | 29 ++++++ testsuite/gdb.base/attachstop.exp | 177 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 259 insertions(+) Index: gdb-6.3-attach-stop-20051011.patch =================================================================== RCS file: /cvs/dist/rpms/gdb/FC-4/gdb-6.3-attach-stop-20051011.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- gdb-6.3-attach-stop-20051011.patch 12 Oct 2005 18:27:09 -0000 1.1 +++ gdb-6.3-attach-stop-20051011.patch 20 Oct 2005 15:42:43 -0000 1.2 @@ -16,8 +16,40 @@ * gdb.base/attachstop.exp: New test. * gdb.base/attachstop.c: Ditto. ---- gdb-6.3/gdb/testsuite/gdb.base/attachstop.exp.fix 2005-10-11 16:54:48.000000000 -0400 -+++ gdb-6.3/gdb/testsuite/gdb.base/attachstop.exp 2005-10-12 13:36:33.000000000 -0400 +--- gdb-6.3/gdb/testsuite/gdb.base/attachstop.c.fix 2005-10-18 17:24:26.000000000 -0400 ++++ gdb-6.3/gdb/testsuite/gdb.base/attachstop.c 2005-10-18 17:23:17.000000000 -0400 +@@ -0,0 +1,29 @@ ++/* This testcase is part of GDB, the GNU debugger. ++ ++ Copyright 2005 Free Software Foundation, Inc. ++ ++ 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 2 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, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ++ ++/* This program is intended to be started outside of gdb, then ++ manually stopped via a signal. */ ++ ++#include ++ ++int main () ++{ ++ sleep (10000); /* Ridiculous time, but we will eventually kill it. */ ++ sleep (10000); /* Second sleep. */ ++ return 0; ++} +--- gdb-6.3/gdb/testsuite/gdb.base/attachstop.exp.fix 2005-10-18 17:24:31.000000000 -0400 ++++ gdb-6.3/gdb/testsuite/gdb.base/attachstop.exp 2005-10-18 17:24:19.000000000 -0400 @@ -0,0 +1,177 @@ +# Copyright 2005 + @@ -115,8 +147,8 @@ +gdb_exit + +set fileid [open /proc/${testpid}/status r]; -+gets $fileid line1 -+gets $fileid line2 ++gets $fileid line1; ++gets $fileid line2; +close $fileid; + +set test "attach1, exit leaves process stopped" @@ -176,10 +208,10 @@ + +# At this point, the process should be sleeping + -+set fileid [open /proc/${testpid}/status r]; -+gets $fileid line1 -+gets $fileid line2 -+close $fileid; ++set fileid2 [open /proc/${testpid}/status r]; ++gets $fileid2 line1; ++gets $fileid2 line2; ++close $fileid2; + +set test "attach2, exit leaves process sleeping" +if {[string match "*(sleeping)*" $line2]} { @@ -196,40 +228,22 @@ +remote_exec build "kill -9 ${testpid}" + +return 0 ---- gdb-6.3/gdb/testsuite/gdb.base/attachstop.c.fix 2005-10-11 16:54:52.000000000 -0400 -+++ gdb-6.3/gdb/testsuite/gdb.base/attachstop.c 2005-10-12 13:27:07.000000000 -0400 -@@ -0,0 +1,29 @@ -+/* This testcase is part of GDB, the GNU debugger. -+ -+ Copyright 2005 Free Software Foundation, Inc. -+ -+ 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 2 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, write to the Free Software -+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -+ -+/* This program is intended to be started outside of gdb, then -+ manually stopped via a signal. */ -+ -+#include +--- gdb-6.3/gdb/infrun.c.fix 2005-10-18 17:22:41.000000000 -0400 ++++ gdb-6.3/gdb/infrun.c 2005-10-18 17:23:17.000000000 -0400 +@@ -794,6 +794,11 @@ proceed (CORE_ADDR addr, enum target_sig + updated correctly when the inferior is stopped. */ + prev_pc = read_pc (); + ++ /* At this point, we are going to resume the inferior and if we ++ have attached to a stopped process, we no longer should leave ++ it as stopped if the user detachs. */ ++ attach_stopped_flag = 0; + -+int main () -+{ -+ sleep (10000); /* Ridiculous time, but we will eventually kill it. */ -+ sleep (10000); /* Second sleep. */ -+ return 0; -+} ---- gdb-6.3/gdb/infptrace.c.fix 2005-10-11 16:43:30.000000000 -0400 -+++ gdb-6.3/gdb/infptrace.c 2005-10-11 16:53:49.000000000 -0400 + /* Resume inferior. */ + resume (oneproc || step || bpstat_should_step (), stop_signal); + +--- gdb-6.3/gdb/infptrace.c.fix 2005-10-18 17:22:49.000000000 -0400 ++++ gdb-6.3/gdb/infptrace.c 2005-10-18 17:25:30.000000000 -0400 @@ -35,6 +35,8 @@ #include #include "gdb_dirent.h" @@ -239,7 +253,7 @@ #include #include "gdb_ptrace.h" -@@ -232,8 +234,39 @@ attach (int pid) +@@ -232,8 +234,40 @@ attach (int pid) #ifdef PT_ATTACH errno = 0; ptrace (PT_ATTACH, pid, (PTRACE_TYPE_ARG3) 0, 0); @@ -274,12 +288,13 @@ + target_signal_to_host (TARGET_SIGNAL_STOP)); + } + } ++ fclose (fp); + } + } attach_flag = 1; return pid; #else -@@ -251,6 +284,9 @@ detach (int signal) +@@ -251,6 +285,9 @@ detach (int signal) int pid = PIDGET (inferior_ptid); errno = 0; @@ -289,8 +304,8 @@ ptrace (PT_DETACH, pid, (PTRACE_TYPE_ARG3) 1, signal); if (errno != 0) perror_with_name ("ptrace"); ---- gdb-6.3/gdb/inferior.h.fix 2005-10-11 16:43:45.000000000 -0400 -+++ gdb-6.3/gdb/inferior.h 2005-10-11 16:52:02.000000000 -0400 +--- gdb-6.3/gdb/inferior.h.fix 2005-10-18 17:22:56.000000000 -0400 ++++ gdb-6.3/gdb/inferior.h 2005-10-18 17:23:17.000000000 -0400 @@ -426,6 +426,10 @@ extern struct regcache *stop_registers; than forked. */ @@ -302,22 +317,8 @@ /* Possible values for CALL_DUMMY_LOCATION. */ #define ON_STACK 1 ---- gdb-6.3/gdb/infrun.c.fix 2005-10-11 16:43:51.000000000 -0400 -+++ gdb-6.3/gdb/infrun.c 2005-10-11 16:51:54.000000000 -0400 -@@ -794,6 +794,11 @@ proceed (CORE_ADDR addr, enum target_sig - updated correctly when the inferior is stopped. */ - prev_pc = read_pc (); - -+ /* At this point, we are going to resume the inferior and if we -+ have attached to a stopped process, we no longer should leave -+ it as stopped if the user detachs. */ -+ attach_stopped_flag = 0; -+ - /* Resume inferior. */ - resume (oneproc || step || bpstat_should_step (), stop_signal); - ---- gdb-6.3/gdb/target.c.fix 2005-10-11 16:51:12.000000000 -0400 -+++ gdb-6.3/gdb/target.c 2005-10-11 16:52:06.000000000 -0400 +--- gdb-6.3/gdb/target.c.fix 2005-10-18 17:23:01.000000000 -0400 ++++ gdb-6.3/gdb/target.c 2005-10-18 17:23:17.000000000 -0400 @@ -201,6 +201,13 @@ static struct cmd_list_element *targetli int attach_flag; Index: gdb.spec =================================================================== RCS file: /cvs/dist/rpms/gdb/FC-4/gdb.spec,v retrieving revision 1.162 retrieving revision 1.163 diff -u -r1.162 -r1.163 --- gdb.spec 12 Oct 2005 18:27:09 -0000 1.162 +++ gdb.spec 20 Oct 2005 15:42:43 -0000 1.163 @@ -11,7 +11,7 @@ Version: 6.3.0.0 # The release always contains a leading reserved number, start it at 0. -Release: 1.80 +Release: 1.84 License: GPL Group: Development/Debuggers @@ -523,7 +523,14 @@ # don't include the files in include, they are part of binutils %changelog -* Tue Oct 11 2005 Jeff Johnston 6.3.0.0-1.80 +* Tue Oct 18 2005 Jeff Johnston 6.3.0.0-1.84 +- Bump up release number. + +* Tue Oct 18 2005 Jeff Johnston 6.3.0.0-1.82 +- Modify attach patch to add missing fclose. +- Bugzilla 166712 + +* Tue Oct 11 2005 Jeff Johnston 6.3.0.0-1.81 - Bump up release number. * Tue Oct 11 2005 Jeff Johnston 6.3.0.0-1.78 From fedora-cvs-commits at redhat.com Thu Oct 20 15:48:34 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 11:48:34 -0400 Subject: rpms/gdb/devel gdb-6.3-attach-stop-20051011.patch, 1.1, 1.2 gdb.spec, 1.161, 1.162 Message-ID: <200510201548.j9KFmYbv001954@cvs.devel.redhat.com> Author: jjohnstn Update of /cvs/dist/rpms/gdb/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv1809 Modified Files: gdb-6.3-attach-stop-20051011.patch gdb.spec Log Message: * Tue Oct 18 2005 Jeff Johnston 6.3.0.0-1.85 - Bump up release number. * Tue Oct 18 2005 Jeff Johnston 6.3.0.0-1.82 - Modify attach patch to add missing fclose. - Bugzilla 166712 gdb-6.3-attach-stop-20051011.patch: inferior.h | 4 infptrace.c | 37 +++++++ infrun.c | 5 + target.c | 7 + testsuite/gdb.base/attachstop.c | 29 ++++++ testsuite/gdb.base/attachstop.exp | 177 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 259 insertions(+) Index: gdb-6.3-attach-stop-20051011.patch =================================================================== RCS file: /cvs/dist/rpms/gdb/devel/gdb-6.3-attach-stop-20051011.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- gdb-6.3-attach-stop-20051011.patch 12 Oct 2005 18:57:10 -0000 1.1 +++ gdb-6.3-attach-stop-20051011.patch 20 Oct 2005 15:48:27 -0000 1.2 @@ -16,8 +16,40 @@ * gdb.base/attachstop.exp: New test. * gdb.base/attachstop.c: Ditto. ---- gdb-6.3/gdb/testsuite/gdb.base/attachstop.exp.fix 2005-10-11 16:54:48.000000000 -0400 -+++ gdb-6.3/gdb/testsuite/gdb.base/attachstop.exp 2005-10-12 13:36:33.000000000 -0400 +--- gdb-6.3/gdb/testsuite/gdb.base/attachstop.c.fix 2005-10-18 17:24:26.000000000 -0400 ++++ gdb-6.3/gdb/testsuite/gdb.base/attachstop.c 2005-10-18 17:23:17.000000000 -0400 +@@ -0,0 +1,29 @@ ++/* This testcase is part of GDB, the GNU debugger. ++ ++ Copyright 2005 Free Software Foundation, Inc. ++ ++ 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 2 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, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ++ ++/* This program is intended to be started outside of gdb, then ++ manually stopped via a signal. */ ++ ++#include ++ ++int main () ++{ ++ sleep (10000); /* Ridiculous time, but we will eventually kill it. */ ++ sleep (10000); /* Second sleep. */ ++ return 0; ++} +--- gdb-6.3/gdb/testsuite/gdb.base/attachstop.exp.fix 2005-10-18 17:24:31.000000000 -0400 ++++ gdb-6.3/gdb/testsuite/gdb.base/attachstop.exp 2005-10-18 17:24:19.000000000 -0400 @@ -0,0 +1,177 @@ +# Copyright 2005 + @@ -115,8 +147,8 @@ +gdb_exit + +set fileid [open /proc/${testpid}/status r]; -+gets $fileid line1 -+gets $fileid line2 ++gets $fileid line1; ++gets $fileid line2; +close $fileid; + +set test "attach1, exit leaves process stopped" @@ -176,10 +208,10 @@ + +# At this point, the process should be sleeping + -+set fileid [open /proc/${testpid}/status r]; -+gets $fileid line1 -+gets $fileid line2 -+close $fileid; ++set fileid2 [open /proc/${testpid}/status r]; ++gets $fileid2 line1; ++gets $fileid2 line2; ++close $fileid2; + +set test "attach2, exit leaves process sleeping" +if {[string match "*(sleeping)*" $line2]} { @@ -196,40 +228,22 @@ +remote_exec build "kill -9 ${testpid}" + +return 0 ---- gdb-6.3/gdb/testsuite/gdb.base/attachstop.c.fix 2005-10-11 16:54:52.000000000 -0400 -+++ gdb-6.3/gdb/testsuite/gdb.base/attachstop.c 2005-10-12 13:27:07.000000000 -0400 -@@ -0,0 +1,29 @@ -+/* This testcase is part of GDB, the GNU debugger. -+ -+ Copyright 2005 Free Software Foundation, Inc. -+ -+ 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 2 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, write to the Free Software -+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -+ -+/* This program is intended to be started outside of gdb, then -+ manually stopped via a signal. */ -+ -+#include +--- gdb-6.3/gdb/infrun.c.fix 2005-10-18 17:22:41.000000000 -0400 ++++ gdb-6.3/gdb/infrun.c 2005-10-18 17:23:17.000000000 -0400 +@@ -794,6 +794,11 @@ proceed (CORE_ADDR addr, enum target_sig + updated correctly when the inferior is stopped. */ + prev_pc = read_pc (); + ++ /* At this point, we are going to resume the inferior and if we ++ have attached to a stopped process, we no longer should leave ++ it as stopped if the user detachs. */ ++ attach_stopped_flag = 0; + -+int main () -+{ -+ sleep (10000); /* Ridiculous time, but we will eventually kill it. */ -+ sleep (10000); /* Second sleep. */ -+ return 0; -+} ---- gdb-6.3/gdb/infptrace.c.fix 2005-10-11 16:43:30.000000000 -0400 -+++ gdb-6.3/gdb/infptrace.c 2005-10-11 16:53:49.000000000 -0400 + /* Resume inferior. */ + resume (oneproc || step || bpstat_should_step (), stop_signal); + +--- gdb-6.3/gdb/infptrace.c.fix 2005-10-18 17:22:49.000000000 -0400 ++++ gdb-6.3/gdb/infptrace.c 2005-10-18 17:25:30.000000000 -0400 @@ -35,6 +35,8 @@ #include #include "gdb_dirent.h" @@ -239,7 +253,7 @@ #include #include "gdb_ptrace.h" -@@ -232,8 +234,39 @@ attach (int pid) +@@ -232,8 +234,40 @@ attach (int pid) #ifdef PT_ATTACH errno = 0; ptrace (PT_ATTACH, pid, (PTRACE_TYPE_ARG3) 0, 0); @@ -274,12 +288,13 @@ + target_signal_to_host (TARGET_SIGNAL_STOP)); + } + } ++ fclose (fp); + } + } attach_flag = 1; return pid; #else -@@ -251,6 +284,9 @@ detach (int signal) +@@ -251,6 +285,9 @@ detach (int signal) int pid = PIDGET (inferior_ptid); errno = 0; @@ -289,8 +304,8 @@ ptrace (PT_DETACH, pid, (PTRACE_TYPE_ARG3) 1, signal); if (errno != 0) perror_with_name ("ptrace"); ---- gdb-6.3/gdb/inferior.h.fix 2005-10-11 16:43:45.000000000 -0400 -+++ gdb-6.3/gdb/inferior.h 2005-10-11 16:52:02.000000000 -0400 +--- gdb-6.3/gdb/inferior.h.fix 2005-10-18 17:22:56.000000000 -0400 ++++ gdb-6.3/gdb/inferior.h 2005-10-18 17:23:17.000000000 -0400 @@ -426,6 +426,10 @@ extern struct regcache *stop_registers; than forked. */ @@ -302,22 +317,8 @@ /* Possible values for CALL_DUMMY_LOCATION. */ #define ON_STACK 1 ---- gdb-6.3/gdb/infrun.c.fix 2005-10-11 16:43:51.000000000 -0400 -+++ gdb-6.3/gdb/infrun.c 2005-10-11 16:51:54.000000000 -0400 -@@ -794,6 +794,11 @@ proceed (CORE_ADDR addr, enum target_sig - updated correctly when the inferior is stopped. */ - prev_pc = read_pc (); - -+ /* At this point, we are going to resume the inferior and if we -+ have attached to a stopped process, we no longer should leave -+ it as stopped if the user detachs. */ -+ attach_stopped_flag = 0; -+ - /* Resume inferior. */ - resume (oneproc || step || bpstat_should_step (), stop_signal); - ---- gdb-6.3/gdb/target.c.fix 2005-10-11 16:51:12.000000000 -0400 -+++ gdb-6.3/gdb/target.c 2005-10-11 16:52:06.000000000 -0400 +--- gdb-6.3/gdb/target.c.fix 2005-10-18 17:23:01.000000000 -0400 ++++ gdb-6.3/gdb/target.c 2005-10-18 17:23:17.000000000 -0400 @@ -201,6 +201,13 @@ static struct cmd_list_element *targetli int attach_flag; Index: gdb.spec =================================================================== RCS file: /cvs/dist/rpms/gdb/devel/gdb.spec,v retrieving revision 1.161 retrieving revision 1.162 diff -u -r1.161 -r1.162 --- gdb.spec 12 Oct 2005 18:57:10 -0000 1.161 +++ gdb.spec 20 Oct 2005 15:48:27 -0000 1.162 @@ -11,7 +11,7 @@ Version: 6.3.0.0 # The release always contains a leading reserved number, start it at 0. -Release: 1.81 +Release: 1.85 License: GPL Group: Development/Debuggers @@ -523,6 +523,13 @@ # don't include the files in include, they are part of binutils %changelog +* Tue Oct 18 2005 Jeff Johnston 6.3.0.0-1.85 +- Bump up release number. + +* Tue Oct 18 2005 Jeff Johnston 6.3.0.0-1.82 +- Modify attach patch to add missing fclose. +- Bugzilla 166712 + * Tue Oct 11 2005 Jeff Johnston 6.3.0.0-1.81 - Bump up release number. From fedora-cvs-commits at redhat.com Thu Oct 20 16:09:53 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 12:09:53 -0400 Subject: rpms/cups/devel cups.spec,1.119,1.120 Message-ID: <200510201609.j9KG9rHx009443@cvs.devel.redhat.com> Author: twaugh Update of /cvs/dist/rpms/cups/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv9413 Modified Files: cups.spec Log Message: * Thu Oct 20 2005 Tim Waugh - Build with -fstack-protector-all. Index: cups.spec =================================================================== RCS file: /cvs/dist/rpms/cups/devel/cups.spec,v retrieving revision 1.119 retrieving revision 1.120 diff -u -r1.119 -r1.120 --- cups.spec 15 Oct 2005 21:08:40 -0000 1.119 +++ cups.spec 20 Oct 2005 16:09:49 -0000 1.120 @@ -180,7 +180,7 @@ export LDFLAGS=`pkg-config --libs-only-L openssl` fi %configure --with-docdir=%{_docdir}/cups-%{version} \ - --with-optim="$RPM_OPT_FLAGS $CFLAGS" + --with-optim="$RPM_OPT_FLAGS $CFLAGS -fstack-protector-all" # If we got this far, all prerequisite libraries must be here. make @@ -421,7 +421,10 @@ %{_libdir}/cups/daemon/cups-lpd %changelog -* Sat Oct 15 2005 Florian La Roche +* Thu Oct 20 2005 Tim Waugh +- Build with -fstack-protector-all. + +* Sat Oct 15 2005 Florian La Roche 1:1.1.23-23 - link libcupsimage.so against libcups * Tue Oct 11 2005 Tim Waugh 1:1.1.23-22 From fedora-cvs-commits at redhat.com Thu Oct 20 16:11:32 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 12:11:32 -0400 Subject: rpms/cups/devel cups.spec,1.120,1.121 Message-ID: <200510201611.j9KGBW1e009683@cvs.devel.redhat.com> Author: twaugh Update of /cvs/dist/rpms/cups/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv9658 Modified Files: cups.spec Log Message: Build requires GCC 4.0.1 for -fstack-protector-all Index: cups.spec =================================================================== RCS file: /cvs/dist/rpms/cups/devel/cups.spec,v retrieving revision 1.120 retrieving revision 1.121 diff -u -r1.120 -r1.121 --- cups.spec 20 Oct 2005 16:09:49 -0000 1.120 +++ cups.spec 20 Oct 2005 16:11:25 -0000 1.121 @@ -72,6 +72,10 @@ BuildPrereq: pam-devel openssl-devel pkgconfig BuildRequires: make >= 1:3.80 + +# -fstack-protector-all requires GCC 4.0.1 +BuildRequires: gcc >= 4.0.1 + %if %use_dbus BuildPrereq: dbus-devel >= 0.31 Requires: dbus >= 0.31 From fedora-cvs-commits at redhat.com Thu Oct 20 16:28:32 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 12:28:32 -0400 Subject: rpms/openoffice.org/FC-4 openoffice.org.spec,1.214,1.215 Message-ID: <200510201628.j9KGSWFH018606@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/openoffice.org/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv18583 Modified Files: openoffice.org.spec Log Message: provide a launcher for rh#171302# Index: openoffice.org.spec =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/FC-4/openoffice.org.spec,v retrieving revision 1.214 retrieving revision 1.215 diff -u -r1.214 -r1.215 --- openoffice.org.spec 19 Oct 2005 09:34:47 -0000 1.214 +++ openoffice.org.spec 20 Oct 2005 16:28:27 -0000 1.215 @@ -1,5 +1,5 @@ %define ooo2ver 3 -%define ooo_rpm_release 1 +%define ooo_rpm_release 2 %define build_fc5 0 %define build_fc4 1 %define build_rhel4 0 @@ -1130,6 +1130,8 @@ echo exec %{instdir}/program/soffice \"\$@\" >> $RPM_BUILD_ROOT/%{_bindir}/openoffice.org-2.0 chmod a+x $RPM_BUILD_ROOT/%{_bindir}/openoffice.org-2.0 +cp $RPM_BUILD_ROOT/%{_bindir}/openoffice.org-2.0 $RPM_BUILD_ROOT/%{_bindir}/openoffice.org-1.9 + echo \#\!/bin/sh > $RPM_BUILD_ROOT/usr/bin/ooffice echo exec %{instdir}/program/soffice \"\$@\" >> $RPM_BUILD_ROOT/%{_bindir}/ooffice chmod a+x $RPM_BUILD_ROOT/%{_bindir}/ooffice @@ -2744,6 +2746,7 @@ #spellchecking lib %{instdir}/program/liblnth680*.so #launchers +%{_bindir}/openoffice.org-1.9 %{_bindir}/openoffice.org-2.0 %{_bindir}/ooffice %{_bindir}/ooviewdoc @@ -3241,10 +3244,11 @@ %{instdir}/share/registry/modules/org/openoffice/Office/Scripting/Scripting-python.xcu %changelog -* Fri Oct 14 2005 Caolan McNamara - 1:2.0.0-3.5 -- get RPM_OPT_FLAGS in operation minus -fasynchronous-unwind-tables +* Thu Oct 20 2005 Caolan McNamara - 1:2.0.0-3.2 +- provide openoffice.org-1.9 script for rh#171302# * Fri Oct 14 2005 Caolan McNamara - 1:2.0.0-3.1 +- get RPM_OPT_FLAGS in operation minus -fasynchronous-unwind-tables - release candidate 3 - alias en_US thesasurus for other en varients - can crash on empty thesasurus rh#170091#/ooo#55603# From fedora-cvs-commits at redhat.com Thu Oct 20 17:30:42 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 13:30:42 -0400 Subject: rpms/kernel/devel linux-2.6-serial-of.patch, NONE, 1.1 patch-2.6.14-rc5.bz2.sign, NONE, 1.1 .cvsignore, 1.252, 1.253 kernel-2.6.spec, 1.1618, 1.1619 sources, 1.194, 1.195 upstream, 1.181, 1.182 linux-2.6.13-serial-of.patch, 1.1, NONE Message-ID: <200510201730.j9KHUghT006700@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv6632 Modified Files: .cvsignore kernel-2.6.spec sources upstream Added Files: linux-2.6-serial-of.patch patch-2.6.14-rc5.bz2.sign Removed Files: linux-2.6.13-serial-of.patch Log Message: rc5 linux-2.6-serial-of.patch: arch/ppc64/kernel/setup.c | 184 ----------------------------------------- drivers/serial/8250_of.c | 197 ++++++++++++++++++++++++++++++++++++++++++++ drivers/serial/Kconfig | 5 + drivers/serial/Makefile | 1 include/asm-ppc/pc_serial.h | 16 --- 5 files changed, 204 insertions(+), 199 deletions(-) --- NEW FILE linux-2.6-serial-of.patch --- --- linux-2.6.13/drivers/serial/Makefile.sof 2005-08-29 00:41:01.000000000 +0100 +++ linux-2.6.13/drivers/serial/Makefile 2005-10-20 13:05:39.000000000 +0100 @@ -22,6 +22,7 @@ obj-$(CONFIG_SERIAL_8250_ACCENT) += 8250 obj-$(CONFIG_SERIAL_8250_BOCA) += 8250_boca.o obj-$(CONFIG_SERIAL_8250_HUB6) += 8250_hub6.o obj-$(CONFIG_SERIAL_8250_MCA) += 8250_mca.o +obj-$(CONFIG_SERIAL_8250_OF) += 8250_of.o obj-$(CONFIG_SERIAL_AMBA_PL010) += amba-pl010.o obj-$(CONFIG_SERIAL_AMBA_PL011) += amba-pl011.o obj-$(CONFIG_SERIAL_CLPS711X) += clps711x.o --- linux-2.6.13/drivers/serial/8250_of.c.sof 2005-10-20 13:19:07.000000000 +0100 +++ linux-2.6.13/drivers/serial/8250_of.c 2005-10-20 13:19:26.000000000 +0100 @@ -0,0 +1,197 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#if 0 +#define DBG(fmt...) printk(KERN_DEBUG fmt) +#else +#define DBG(fmt...) do { } while (0) +#endif + +/* + * This function can be used by platforms to "find" legacy serial ports. + * It works for "serial" nodes under an "isa" node, and will try to + * respect the "ibm,aix-loc" property if any. It works with up to 8 + * ports. + */ + +#define MAX_LEGACY_SERIAL_PORTS 8 +static int ports_probed = 0; + +static struct plat_serial8250_port serial_ports[MAX_LEGACY_SERIAL_PORTS+1]; +static unsigned int old_serial_count; + +void __init generic_find_legacy_serial_ports(u64 *physport, + unsigned int *default_speed) +{ + struct device_node *np; + u32 *sizeprop; + + struct isa_reg_property { + u32 space; + u32 address; + u32 size; + }; + + DBG(" -> generic_find_legacy_serial_port()\n"); + ports_probed = 1; + + *physport = 0; + if (default_speed) + *default_speed = 0; + + np = of_find_node_by_path("/"); + if (!np) + return; + + /* First fill our array */ + for (np = NULL; (np = of_find_node_by_type(np, "serial"));) { + struct device_node *isa, *pci; + struct isa_reg_property *reg; + unsigned long phys_size, addr_size; + u64 io_base; + u32 *rangesp; + u32 *interrupts, *clk, *spd; + char *typep; + int index, rlen, rentsize; + + /* Ok, first check if it's under an "isa" parent */ + isa = of_get_parent(np); + if (!isa || strcmp(isa->name, "isa")) { + DBG("%s: no isa parent found\n", np->full_name); + continue; + } + + /* Now look for an "ibm,aix-loc" property that gives us ordering + * if any... + */ + typep = (char *)get_property(np, "ibm,aix-loc", NULL); + + /* Get the ISA port number */ + reg = (struct isa_reg_property *)get_property(np, "reg", NULL); + if (reg == NULL) + goto next_port; + /* We assume the interrupt number isn't translated ... */ + interrupts = (u32 *)get_property(np, "interrupts", NULL); + /* get clock freq. if present */ + clk = (u32 *)get_property(np, "clock-frequency", NULL); + /* get default speed if present */ + spd = (u32 *)get_property(np, "current-speed", NULL); + /* Default to locate at end of array */ + index = old_serial_count; /* end of the array by default */ + + /* If we have a location index, then use it */ + if (typep && *typep == 'S') { + index = simple_strtol(typep+1, NULL, 0) - 1; + /* if index is out of range, use end of array instead */ + if (index >= MAX_LEGACY_SERIAL_PORTS) + index = old_serial_count; + /* if our index is still out of range, that mean that + * array is full, we could scan for a free slot but that + * make little sense to bother, just skip the port + */ + if (index >= MAX_LEGACY_SERIAL_PORTS) + goto next_port; + if (index >= old_serial_count) + old_serial_count = index + 1; + /* Check if there is a port who already claimed our slot */ + if (serial_ports[index].iobase != 0) { + /* if we still have some room, move it, else override */ + if (old_serial_count < MAX_LEGACY_SERIAL_PORTS) { + DBG("Moved legacy port %d -> %d\n", index, + old_serial_count); + serial_ports[old_serial_count++] = + serial_ports[index]; + } else { + DBG("Replacing legacy port %d\n", index); + } + } + } + if (index >= MAX_LEGACY_SERIAL_PORTS) + goto next_port; + if (index >= old_serial_count) + old_serial_count = index + 1; + + /* Now fill the entry */ + memset(&serial_ports[index], 0, sizeof(struct plat_serial8250_port)); + serial_ports[index].uartclk = (clk && *clk) ? *clk : BASE_BAUD * 16; + serial_ports[index].iobase = reg->address; + serial_ports[index].irq = interrupts ? interrupts[0] : 0; + serial_ports[index].flags = ASYNC_BOOT_AUTOCONF; + + DBG("Added legacy port, index: %d, port: %x, irq: %d, clk: %d\n", + index, + serial_ports[index].iobase, + serial_ports[index].irq, + serial_ports[index].uartclk); + + /* Get phys address of IO reg for port 1 */ + if (index != 0) + goto next_port; + + pci = of_get_parent(isa); + if (!pci) { + DBG("%s: no pci parent found\n", np->full_name); + goto next_port; + } + + rangesp = (u32 *)get_property(pci, "ranges", &rlen); + if (rangesp == NULL) { + of_node_put(pci); + goto next_port; + } + rlen /= 4; + + /* we need the #size-cells of the PCI bridge node itself */ + phys_size = 1; + sizeprop = (u32 *)get_property(pci, "#size-cells", NULL); + if (sizeprop != NULL) + phys_size = *sizeprop; + /* we need the parent #addr-cells */ + addr_size = prom_n_addr_cells(pci); + rentsize = 3 + addr_size + phys_size; + io_base = 0; + for (;rlen >= rentsize; rlen -= rentsize,rangesp += rentsize) { + if (((rangesp[0] >> 24) & 0x3) != 1) + continue; /* not IO space */ + io_base = rangesp[3]; + if (addr_size == 2) + io_base = (io_base << 32) | rangesp[4]; + } + if (io_base != 0) { + *physport = io_base + reg->address; + if (default_speed && spd) + *default_speed = *spd; + } + of_node_put(pci); + next_port: + of_node_put(isa); + } + + DBG(" <- generic_find_legacy_serial_port()\n"); +} + +static struct platform_device serial_device = { + .name = "serial8250", + .id = PLAT8250_DEV_PLATFORM, + .dev = { + .platform_data = serial_ports, + }, +}; + +static int __init serial_dev_init(void) +{ + u64 phys; + unsigned int spd; + + if (!ports_probed) + generic_find_legacy_serial_ports(&phys, &spd); + return platform_device_register(&serial_device); +} +arch_initcall(serial_dev_init); --- linux-2.6.13/drivers/serial/Kconfig.sof 2005-10-20 12:54:48.000000000 +0100 +++ linux-2.6.13/drivers/serial/Kconfig 2005-10-20 13:05:39.000000000 +0100 @@ -77,6 +77,11 @@ config SERIAL_8250_CS If unsure, say N. +config SERIAL_8250_OF + bool + default y + depends on PPC_OF && SERIAL_8250 + config SERIAL_8250_ACPI bool "8250/16550 device discovery via ACPI namespace" default y if IA64 --- linux-2.6.13/arch/ppc64/kernel/setup.c.sof 2005-10-20 13:13:08.000000000 +0100 +++ linux-2.6.13/arch/ppc64/kernel/setup.c 2005-10-20 13:16:28.000000000 +0100 @@ -31,8 +31,6 @@ #include #include #include -#include -#include #include #include #include @@ -52,7 +50,6 @@ #include #include #include -#include #include #include #include @@ -1104,187 +1101,6 @@ void __init setup_default_decr(void) lpaca->next_jiffy_update_tb = get_tb() + tb_ticks_per_jiffy; } -#ifndef CONFIG_PPC_ISERIES -/* - * This function can be used by platforms to "find" legacy serial ports. - * It works for "serial" nodes under an "isa" node, and will try to - * respect the "ibm,aix-loc" property if any. It works with up to 8 - * ports. - */ - -#define MAX_LEGACY_SERIAL_PORTS 8 -static struct plat_serial8250_port serial_ports[MAX_LEGACY_SERIAL_PORTS+1]; -static unsigned int old_serial_count; - -void __init generic_find_legacy_serial_ports(u64 *physport, - unsigned int *default_speed) -{ - struct device_node *np; - u32 *sizeprop; - - struct isa_reg_property { - u32 space; - u32 address; - u32 size; - }; - struct pci_reg_property { - struct pci_address addr; - u32 size_hi; - u32 size_lo; - }; - - DBG(" -> generic_find_legacy_serial_port()\n"); - - *physport = 0; - if (default_speed) - *default_speed = 0; - - np = of_find_node_by_path("/"); - if (!np) - return; - - /* First fill our array */ - for (np = NULL; (np = of_find_node_by_type(np, "serial"));) { - struct device_node *isa, *pci; - struct isa_reg_property *reg; - unsigned long phys_size, addr_size, io_base; - u32 *rangesp; - u32 *interrupts, *clk, *spd; - char *typep; - int index, rlen, rentsize; - - /* Ok, first check if it's under an "isa" parent */ - isa = of_get_parent(np); - if (!isa || strcmp(isa->name, "isa")) { - DBG("%s: no isa parent found\n", np->full_name); - continue; - } - - /* Now look for an "ibm,aix-loc" property that gives us ordering - * if any... - */ - typep = (char *)get_property(np, "ibm,aix-loc", NULL); - - /* Get the ISA port number */ - reg = (struct isa_reg_property *)get_property(np, "reg", NULL); - if (reg == NULL) - goto next_port; - /* We assume the interrupt number isn't translated ... */ - interrupts = (u32 *)get_property(np, "interrupts", NULL); - /* get clock freq. if present */ - clk = (u32 *)get_property(np, "clock-frequency", NULL); - /* get default speed if present */ - spd = (u32 *)get_property(np, "current-speed", NULL); - /* Default to locate at end of array */ - index = old_serial_count; /* end of the array by default */ - - /* If we have a location index, then use it */ - if (typep && *typep == 'S') { - index = simple_strtol(typep+1, NULL, 0) - 1; - /* if index is out of range, use end of array instead */ - if (index >= MAX_LEGACY_SERIAL_PORTS) - index = old_serial_count; - /* if our index is still out of range, that mean that - * array is full, we could scan for a free slot but that - * make little sense to bother, just skip the port - */ - if (index >= MAX_LEGACY_SERIAL_PORTS) - goto next_port; - if (index >= old_serial_count) - old_serial_count = index + 1; - /* Check if there is a port who already claimed our slot */ - if (serial_ports[index].iobase != 0) { - /* if we still have some room, move it, else override */ - if (old_serial_count < MAX_LEGACY_SERIAL_PORTS) { - DBG("Moved legacy port %d -> %d\n", index, - old_serial_count); - serial_ports[old_serial_count++] = - serial_ports[index]; - } else { - DBG("Replacing legacy port %d\n", index); - } - } - } - if (index >= MAX_LEGACY_SERIAL_PORTS) - goto next_port; - if (index >= old_serial_count) - old_serial_count = index + 1; - - /* Now fill the entry */ - memset(&serial_ports[index], 0, sizeof(struct plat_serial8250_port)); - serial_ports[index].uartclk = clk ? *clk : BASE_BAUD * 16; - serial_ports[index].iobase = reg->address; - serial_ports[index].irq = interrupts ? interrupts[0] : 0; - serial_ports[index].flags = ASYNC_BOOT_AUTOCONF; - - DBG("Added legacy port, index: %d, port: %x, irq: %d, clk: %d\n", - index, - serial_ports[index].iobase, - serial_ports[index].irq, - serial_ports[index].uartclk); - - /* Get phys address of IO reg for port 1 */ - if (index != 0) - goto next_port; - - pci = of_get_parent(isa); - if (!pci) { - DBG("%s: no pci parent found\n", np->full_name); - goto next_port; - } - - rangesp = (u32 *)get_property(pci, "ranges", &rlen); - if (rangesp == NULL) { - of_node_put(pci); - goto next_port; - } - rlen /= 4; - - /* we need the #size-cells of the PCI bridge node itself */ - phys_size = 1; - sizeprop = (u32 *)get_property(pci, "#size-cells", NULL); - if (sizeprop != NULL) - phys_size = *sizeprop; - /* we need the parent #addr-cells */ - addr_size = prom_n_addr_cells(pci); - rentsize = 3 + addr_size + phys_size; - io_base = 0; - for (;rlen >= rentsize; rlen -= rentsize,rangesp += rentsize) { - if (((rangesp[0] >> 24) & 0x3) != 1) - continue; /* not IO space */ - io_base = rangesp[3]; - if (addr_size == 2) - io_base = (io_base << 32) | rangesp[4]; - } - if (io_base != 0) { - *physport = io_base + reg->address; - if (default_speed && spd) - *default_speed = *spd; - } - of_node_put(pci); - next_port: - of_node_put(isa); - } - - DBG(" <- generic_find_legacy_serial_port()\n"); -} - -static struct platform_device serial_device = { - .name = "serial8250", - .id = PLAT8250_DEV_PLATFORM, - .dev = { - .platform_data = serial_ports, - }, -}; - -static int __init serial_dev_init(void) -{ - return platform_device_register(&serial_device); -} -arch_initcall(serial_dev_init); - -#endif /* CONFIG_PPC_ISERIES */ - int check_legacy_ioport(unsigned long base_port) { if (ppc_md.check_legacy_ioport == NULL) --- linux-2.6.13/include/asm-ppc/pc_serial.h.sof 2005-08-29 00:41:01.000000000 +0100 +++ linux-2.6.13/include/asm-ppc/pc_serial.h 2005-10-20 13:05:42.000000000 +0100 @@ -26,18 +26,4 @@ #define RS_TABLE_SIZE 4 #endif -/* Standard COM flags (except for COM4, because of the 8514 problem) */ -#ifdef CONFIG_SERIAL_DETECT_IRQ -#define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST | ASYNC_AUTO_IRQ) -#define STD_COM4_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_AUTO_IRQ) -#else -#define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST) -#define STD_COM4_FLAGS ASYNC_BOOT_AUTOCONF -#endif - -#define SERIAL_PORT_DFNS \ - /* UART CLK PORT IRQ FLAGS */ \ - { 0, BASE_BAUD, 0x3F8, 4, STD_COM_FLAGS }, /* ttyS0 */ \ - { 0, BASE_BAUD, 0x2F8, 3, STD_COM_FLAGS }, /* ttyS1 */ \ - { 0, BASE_BAUD, 0x3E8, 4, STD_COM_FLAGS }, /* ttyS2 */ \ - { 0, BASE_BAUD, 0x2E8, 3, STD_COM4_FLAGS }, /* ttyS3 */ +#define SERIAL_PORT_DFNS /* */ --- NEW FILE patch-2.6.14-rc5.bz2.sign --- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: See http://www.kernel.org/signature.html for info iD8DBQBDV46pyGugalF9Dw4RArDUAJwJnVPAm5krx5c5m2IzW5tWZpX64QCcDVeC pXWj2eOoXHwlefO0jkHV3K4= =kyDE -----END PGP SIGNATURE----- Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/.cvsignore,v retrieving revision 1.252 retrieving revision 1.253 diff -u -r1.252 -r1.253 --- .cvsignore 18 Oct 2005 21:33:04 -0000 1.252 +++ .cvsignore 20 Oct 2005 17:30:15 -0000 1.253 @@ -6,3 +6,4 @@ patch-2.6.14-rc4-git4.bz2 patch-2.6.14-rc4-git5.bz2 patch-2.6.14-rc4-git6.bz2 +patch-2.6.14-rc5.bz2 Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v retrieving revision 1.1618 retrieving revision 1.1619 diff -u -r1.1618 -r1.1619 --- kernel-2.6.spec 20 Oct 2005 14:32:12 -0000 1.1618 +++ kernel-2.6.spec 20 Oct 2005 17:30:17 -0000 1.1619 @@ -198,7 +198,7 @@ # # Patches 0 through 100 are meant for core subsystem upgrades # -Patch1: patch-2.6.14-rc4.bz2 +Patch1: patch-2.6.14-rc5.bz2 Patch2: patch-2.6.14-rc4-git6.bz2 # Patches 100 through 500 are meant for architecture patches @@ -214,7 +214,7 @@ # 300 - 399 ppc(64) Patch300: linux-2.6-ppc64-build.patch Patch301: linux-2.6-ppc64-eeh-panic.patch -Patch302: linux-2.6.13-serial-of.patch +Patch302: linux-2.6-serial-of.patch # 400 - 499 ia64 # 500 - 599 s390(x) @@ -548,7 +548,7 @@ # Update to latest upstream. %patch1 -p1 -%patch2 -p1 +#%patch2 -p1 # # Patches 10 through 100 are meant for core subsystem upgrades @@ -1263,6 +1263,9 @@ %endif %changelog +* Thu Oct 20 2005 Dave Jones +- 2.6.14-rc5 + * Thu Oct 20 2005 David Woodhouse - Bring forward 8250 OpenFirmware probe patch from FC4. Index: sources =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/sources,v retrieving revision 1.194 retrieving revision 1.195 diff -u -r1.194 -r1.195 --- sources 18 Oct 2005 21:33:06 -0000 1.194 +++ sources 20 Oct 2005 17:30:17 -0000 1.195 @@ -1,3 +1,4 @@ 560f5fadf59f172973e67939868a4cae linux-2.6.13.tar.bz2 cc62a9a2ce39d8c09fb1068becb009e2 patch-2.6.14-rc4.bz2 3278891ef8aac2c654ece7a4c5c56ae5 patch-2.6.14-rc4-git6.bz2 +556b3ad322a1466ccbf6c6d0a8db3a3d patch-2.6.14-rc5.bz2 Index: upstream =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/upstream,v retrieving revision 1.181 retrieving revision 1.182 diff -u -r1.181 -r1.182 --- upstream 18 Oct 2005 21:33:06 -0000 1.181 +++ upstream 20 Oct 2005 17:30:17 -0000 1.182 @@ -1,3 +1,3 @@ linux-2.6.13.tar.bz2 -patch-2.6.14-rc4.bz2 +patch-2.6.14-rc5.bz2 patch-2.6.14-rc4-git6.bz2 --- linux-2.6.13-serial-of.patch DELETED --- From fedora-cvs-commits at redhat.com Thu Oct 20 18:02:19 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 14:02:19 -0400 Subject: rpms/kernel/devel kernel-2.6.spec,1.1619,1.1620 Message-ID: <200510201802.j9KI2JjP017189@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv17058 Modified Files: kernel-2.6.spec Log Message: fix ipw conflict Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v retrieving revision 1.1619 retrieving revision 1.1620 diff -u -r1.1619 -r1.1620 --- kernel-2.6.spec 20 Oct 2005 17:30:17 -0000 1.1619 +++ kernel-2.6.spec 20 Oct 2005 18:01:43 -0000 1.1620 @@ -132,7 +132,7 @@ # problems with the newer kernel or lack certain things that make # integration in the distro harder than needed. # -%define package_conflicts kudzu <= 0.92, initscripts < 7.23, udev < 063-6, iptables < 1.3.2-1, ipw2200-firmware < 2.3 selinux-policy-targeted < 1.25.3-14 +%define package_conflicts kudzu <= 0.92, initscripts < 7.23, udev < 063-6, iptables < 1.3.2-1, ipw2200-firmware < 2.2 selinux-policy-targeted < 1.25.3-14 # # The ld.so.conf.d file we install uses syntax older ldconfig's don't grok. @@ -1265,6 +1265,7 @@ %changelog * Thu Oct 20 2005 Dave Jones - 2.6.14-rc5 +- Aparently the ipw2200 drivers need 2.2 of the firmware right now. * Thu Oct 20 2005 David Woodhouse - Bring forward 8250 OpenFirmware probe patch from FC4. From fedora-cvs-commits at redhat.com Thu Oct 20 18:01:44 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 14:01:44 -0400 Subject: rpms/kernel/devel jwltest-3c59x-misc.patch, NONE, 1.1.4.1 jwltest-3c59x-mmio.patch, NONE, 1.1.6.1 jwltest-b44-alloc.patch, NONE, 1.1.8.1 jwltest-dma-x86_64.patch, NONE, 1.1.8.1 jwltest-e1000_ethtool_ops-whitespace.patch, NONE, 1.1.4.1 jwltest-ethtool-perm-addr.patch, NONE, 1.1.4.1 jwltest-ia64-max-cacheline-export.patch, NONE, 1.1.4.1 jwltest-rx_dropped.patch, NONE, 1.1.4.1 jwltest-swiotlb-bidirectional.patch, NONE, 1.1.4.1 jwltest-swiotlb-cleanup.patch, NONE, 1.1.4.1 jwltest-swiotlb-comments.patch, NONE, 1.1.4.1 jwltest-swiotlb-move.patch, NONE, 1.1.4.1 jwltest-swiotlb-range.patch, NONE, 1.1.4.1 kernel-2.6.spec, 1.1619, 1.1619.2.1 Message-ID: <200510201801.j9KI1iB5017112@cvs.devel.redhat.com> Author: linville Update of /cvs/dist/rpms/kernel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv17035 Modified Files: Tag: private-linville-jwltest-fc5-5-branch kernel-2.6.spec Added Files: Tag: private-linville-jwltest-fc5-5-branch jwltest-3c59x-misc.patch jwltest-3c59x-mmio.patch jwltest-b44-alloc.patch jwltest-dma-x86_64.patch jwltest-e1000_ethtool_ops-whitespace.patch jwltest-ethtool-perm-addr.patch jwltest-ia64-max-cacheline-export.patch jwltest-rx_dropped.patch jwltest-swiotlb-bidirectional.patch jwltest-swiotlb-cleanup.patch jwltest-swiotlb-comments.patch jwltest-swiotlb-move.patch jwltest-swiotlb-range.patch Log Message: jwltest-3c59x-misc.patch: 3c59x.c | 33 ++++++++++++++++++--------------- 1 files changed, 18 insertions(+), 15 deletions(-) --- NEW FILE jwltest-3c59x-misc.patch --- --- linux-2.6.13/drivers/net/3c59x.c.orig 2005-09-11 16:16:39.612186537 -0400 +++ linux-2.6.13/drivers/net/3c59x.c 2005-09-11 16:18:52.538437848 -0400 @@ -903,12 +903,12 @@ static void set_8021q_mode(struct net_de /* This driver uses 'options' to pass the media type, full-duplex flag, etc. */ /* Option count limit only -- unlimited interfaces are supported. */ #define MAX_UNITS 8 -static int options[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1,}; -static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; -static int hw_checksums[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; -static int flow_ctrl[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; -static int enable_wol[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; -static int use_mmio[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; +static int options[MAX_UNITS] = { [0 ... MAX_UNITS-1] = -1 }; +static int full_duplex[MAX_UNITS] = { [0 ... MAX_UNITS-1] = -1 }; +static int hw_checksums[MAX_UNITS] = { [0 ... MAX_UNITS-1] = -1 }; +static int flow_ctrl[MAX_UNITS] = { [0 ... MAX_UNITS-1] = -1 }; +static int enable_wol[MAX_UNITS] = { [0 ... MAX_UNITS-1] = -1 }; +static int use_mmio[MAX_UNITS] = { [0 ... MAX_UNITS-1] = -1 }; static int global_options = -1; static int global_full_duplex = -1; static int global_enable_wol = -1; @@ -943,18 +943,18 @@ MODULE_PARM_DESC(debug, "3c59x debug lev MODULE_PARM_DESC(options, "3c59x: Bits 0-3: media type, bit 4: bus mastering, bit 9: full duplex"); MODULE_PARM_DESC(global_options, "3c59x: same as options, but applies to all NICs if options is unset"); MODULE_PARM_DESC(full_duplex, "3c59x full duplex setting(s) (1)"); -MODULE_PARM_DESC(global_full_duplex, "3c59x: same as full_duplex, but applies to all NICs if options is unset"); +MODULE_PARM_DESC(global_full_duplex, "3c59x: same as full_duplex, but applies to all NICs if full_duplex is unset"); MODULE_PARM_DESC(hw_checksums, "3c59x Hardware checksum checking by adapter(s) (0-1)"); MODULE_PARM_DESC(flow_ctrl, "3c59x 802.3x flow control usage (PAUSE only) (0-1)"); MODULE_PARM_DESC(enable_wol, "3c59x: Turn on Wake-on-LAN for adapter(s) (0-1)"); -MODULE_PARM_DESC(global_enable_wol, "3c59x: same as enable_wol, but applies to all NICs if options is unset"); +MODULE_PARM_DESC(global_enable_wol, "3c59x: same as enable_wol, but applies to all NICs if enable_wol is unset"); MODULE_PARM_DESC(rx_copybreak, "3c59x copy breakpoint for copy-only-tiny-frames"); MODULE_PARM_DESC(max_interrupt_work, "3c59x maximum events handled per interrupt"); MODULE_PARM_DESC(compaq_ioaddr, "3c59x PCI I/O base address (Compaq BIOS problem workaround)"); MODULE_PARM_DESC(compaq_irq, "3c59x PCI IRQ number (Compaq BIOS problem workaround)"); MODULE_PARM_DESC(compaq_device_id, "3c59x PCI device ID (Compaq BIOS problem workaround)"); MODULE_PARM_DESC(watchdog, "3c59x transmit timeout in milliseconds"); -MODULE_PARM_DESC(global_use_mmio, "3c59x: same as use_mmio, but applies to all NICs if options is unset"); +MODULE_PARM_DESC(global_use_mmio, "3c59x: same as use_mmio, but applies to all NICs if use_mmio is unset"); MODULE_PARM_DESC(use_mmio, "3c59x: use memory-mapped PCI I/O resource (0-1)"); #ifdef CONFIG_NET_POLL_CONTROLLER @@ -1531,9 +1531,11 @@ static int __devinit vortex_probe1(struc dev->hard_start_xmit = boomerang_start_xmit; /* Actually, it still should work with iommu. */ dev->features |= NETIF_F_SG; - if (((hw_checksums[card_idx] == -1) && (vp->drv_flags & HAS_HWCKSM)) || - (hw_checksums[card_idx] == 1)) { - dev->features |= NETIF_F_IP_CSUM; + if ((card_idx < MAX_UNITS) && + (((hw_checksums[card_idx] == -1) && + (vp->drv_flags & HAS_HWCKSM)) || + (hw_checksums[card_idx] == 1))) { + dev->features |= NETIF_F_IP_CSUM; } } else { dev->hard_start_xmit = vortex_start_xmit; @@ -2806,9 +2808,10 @@ vortex_close(struct net_device *dev) } #if DO_ZEROCOPY - if ( vp->rx_csumhits && - ((vp->drv_flags & HAS_HWCKSM) == 0) && - (hw_checksums[vp->card_idx] == -1)) { + if (vp->rx_csumhits && + ((vp->drv_flags & HAS_HWCKSM) == 0) && + ((vp->card_idx >= MAX_UNITS) || + (hw_checksums[vp->card_idx] == -1))) { printk(KERN_WARNING "%s supports hardware checksums, and we're not using them!\n", dev->name); } #endif jwltest-3c59x-mmio.patch: 3c59x.c | 532 ++++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 284 insertions(+), 248 deletions(-) --- NEW FILE jwltest-3c59x-mmio.patch --- --- linux-2.6.13/drivers/net/3c59x.c.orig 2005-09-10 17:18:41.843300468 -0400 +++ linux-2.6.13/drivers/net/3c59x.c 2005-09-10 17:21:29.554911748 -0400 @@ -602,7 +602,7 @@ MODULE_DEVICE_TABLE(pci, vortex_pci_tbl) First the windows. There are eight register windows, with the command and status registers available in each. */ -#define EL3WINDOW(win_num) outw(SelectWindow + (win_num), ioaddr + EL3_CMD) +#define EL3WINDOW(win_num) iowrite16(SelectWindow + (win_num), ioaddr + EL3_CMD) #define EL3_CMD 0x0e #define EL3_STATUS 0x0e @@ -776,7 +776,8 @@ struct vortex_private { /* PCI configuration space information. */ struct device *gendev; - char __iomem *cb_fn_base; /* CardBus function status addr space. */ + void __iomem *ioaddr; /* IO address space */ + void __iomem *cb_fn_base; /* CardBus function status addr space. */ /* Some values here only for performance evaluation and path-coverage */ int rx_nocopy, rx_copy, queued_packet, rx_csumhits; @@ -869,12 +870,12 @@ static struct { /* number of ETHTOOL_GSTATS u64's */ #define VORTEX_NUM_STATS 3 -static int vortex_probe1(struct device *gendev, long ioaddr, int irq, +static int vortex_probe1(struct device *gendev, void __iomem *ioaddr, int irq, int chip_idx, int card_idx); static void vortex_up(struct net_device *dev); static void vortex_down(struct net_device *dev, int final); static int vortex_open(struct net_device *dev); -static void mdio_sync(long ioaddr, int bits); +static void mdio_sync(void __iomem *ioaddr, int bits); static int mdio_read(struct net_device *dev, int phy_id, int location); static void mdio_write(struct net_device *vp, int phy_id, int location, int value); static void vortex_timer(unsigned long arg); @@ -887,7 +888,7 @@ static irqreturn_t vortex_interrupt(int static irqreturn_t boomerang_interrupt(int irq, void *dev_id, struct pt_regs *regs); static int vortex_close(struct net_device *dev); static void dump_tx_ring(struct net_device *dev); -static void update_stats(long ioaddr, struct net_device *dev); +static void update_stats(void __iomem *ioaddr, struct net_device *dev); static struct net_device_stats *vortex_get_stats(struct net_device *dev); static void set_rx_mode(struct net_device *dev); #ifdef CONFIG_PCI @@ -907,9 +908,11 @@ static int full_duplex[MAX_UNITS] = {-1, static int hw_checksums[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; static int flow_ctrl[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; static int enable_wol[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; +static int use_mmio[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; static int global_options = -1; static int global_full_duplex = -1; static int global_enable_wol = -1; +static int global_use_mmio = -1; /* #define dev_alloc_skb dev_alloc_skb_debug */ @@ -934,6 +937,8 @@ module_param(compaq_ioaddr, int, 0); module_param(compaq_irq, int, 0); module_param(compaq_device_id, int, 0); module_param(watchdog, int, 0); +module_param(global_use_mmio, int, 0); +module_param_array(use_mmio, int, NULL, 0); MODULE_PARM_DESC(debug, "3c59x debug level (0-6)"); MODULE_PARM_DESC(options, "3c59x: Bits 0-3: media type, bit 4: bus mastering, bit 9: full duplex"); MODULE_PARM_DESC(global_options, "3c59x: same as options, but applies to all NICs if options is unset"); @@ -949,6 +954,8 @@ MODULE_PARM_DESC(compaq_ioaddr, "3c59x P MODULE_PARM_DESC(compaq_irq, "3c59x PCI IRQ number (Compaq BIOS problem workaround)"); MODULE_PARM_DESC(compaq_device_id, "3c59x PCI device ID (Compaq BIOS problem workaround)"); MODULE_PARM_DESC(watchdog, "3c59x transmit timeout in milliseconds"); +MODULE_PARM_DESC(global_use_mmio, "3c59x: same as use_mmio, but applies to all NICs if options is unset"); +MODULE_PARM_DESC(use_mmio, "3c59x: use memory-mapped PCI I/O resource (0-1)"); #ifdef CONFIG_NET_POLL_CONTROLLER static void poll_vortex(struct net_device *dev) @@ -1029,18 +1036,19 @@ static struct eisa_driver vortex_eisa_dr static int vortex_eisa_probe (struct device *device) { - long ioaddr; + void __iomem *ioaddr; struct eisa_device *edev; edev = to_eisa_device (device); - ioaddr = edev->base_addr; - if (!request_region(ioaddr, VORTEX_TOTAL_SIZE, DRV_NAME)) + if (!request_region(edev->base_addr, VORTEX_TOTAL_SIZE, DRV_NAME)) return -EBUSY; - if (vortex_probe1(device, ioaddr, inw(ioaddr + 0xC88) >> 12, + ioaddr = ioport_map(edev->base_addr, VORTEX_TOTAL_SIZE); + + if (vortex_probe1(device, ioaddr, ioread16(ioaddr + 0xC88) >> 12, edev->id.driver_data, vortex_cards_found)) { - release_region (ioaddr, VORTEX_TOTAL_SIZE); + release_region (edev->base_addr, VORTEX_TOTAL_SIZE); return -ENODEV; } @@ -1054,7 +1062,7 @@ static int vortex_eisa_remove (struct de struct eisa_device *edev; struct net_device *dev; struct vortex_private *vp; - long ioaddr; + void __iomem *ioaddr; edev = to_eisa_device (device); dev = eisa_get_drvdata (edev); @@ -1065,11 +1073,11 @@ static int vortex_eisa_remove (struct de } vp = netdev_priv(dev); - ioaddr = dev->base_addr; + ioaddr = vp->ioaddr; unregister_netdev (dev); - outw (TotalReset|0x14, ioaddr + EL3_CMD); - release_region (ioaddr, VORTEX_TOTAL_SIZE); + iowrite16 (TotalReset|0x14, ioaddr + EL3_CMD); + release_region (dev->base_addr, VORTEX_TOTAL_SIZE); free_netdev (dev); return 0; @@ -1096,8 +1104,8 @@ static int __init vortex_eisa_init (void /* Special code to work-around the Compaq PCI BIOS32 problem. */ if (compaq_ioaddr) { - vortex_probe1(NULL, compaq_ioaddr, compaq_irq, - compaq_device_id, vortex_cards_found++); + vortex_probe1(NULL, ioport_map(compaq_ioaddr, VORTEX_TOTAL_SIZE), + compaq_irq, compaq_device_id, vortex_cards_found++); } return vortex_cards_found - orig_cards_found + eisa_found; @@ -1107,15 +1115,32 @@ static int __init vortex_eisa_init (void static int __devinit vortex_init_one (struct pci_dev *pdev, const struct pci_device_id *ent) { - int rc; + int rc, unit, pci_bar; + struct vortex_chip_info *vci; + void __iomem *ioaddr; /* wake up and enable device */ rc = pci_enable_device (pdev); if (rc < 0) goto out; - rc = vortex_probe1 (&pdev->dev, pci_resource_start (pdev, 0), - pdev->irq, ent->driver_data, vortex_cards_found); + unit = vortex_cards_found; + + if (global_use_mmio < 0 && (unit >= MAX_UNITS || use_mmio[unit] < 0)) { + /* Determine the default if the user didn't override us */ + vci = &vortex_info_tbl[ent->driver_data]; + pci_bar = vci->drv_flags & (IS_CYCLONE | IS_TORNADO) ? 1 : 0; + } else if (unit < MAX_UNITS && use_mmio[unit] >= 0) + pci_bar = use_mmio[unit] ? 1 : 0; + else + pci_bar = global_use_mmio ? 1 : 0; + + ioaddr = pci_iomap(pdev, pci_bar, 0); + if (!ioaddr) /* If mapping fails, fall-back to BAR 0... */ + ioaddr = pci_iomap(pdev, 0, 0); + + rc = vortex_probe1 (&pdev->dev, pci_iomap(pdev, pci_bar, 0), + pdev->irq, ent->driver_data, unit); if (rc < 0) { pci_disable_device (pdev); goto out; @@ -1134,7 +1154,7 @@ out: * NOTE: pdev can be NULL, for the case of a Compaq device */ static int __devinit vortex_probe1(struct device *gendev, - long ioaddr, int irq, + void __iomem *ioaddr, int irq, int chip_idx, int card_idx) { struct vortex_private *vp; @@ -1202,15 +1222,16 @@ static int __devinit vortex_probe1(struc if (print_info) printk (KERN_INFO "See Documentation/networking/vortex.txt\n"); - printk(KERN_INFO "%s: 3Com %s %s at 0x%lx. Vers " DRV_VERSION "\n", + printk(KERN_INFO "%s: 3Com %s %s at %p. Vers " DRV_VERSION "\n", print_name, pdev ? "PCI" : "EISA", vci->name, ioaddr); - dev->base_addr = ioaddr; + dev->base_addr = (unsigned long)ioaddr; dev->irq = irq; dev->mtu = mtu; + vp->ioaddr = ioaddr; vp->large_frames = mtu > 1500; vp->drv_flags = vci->drv_flags; vp->has_nway = (vci->drv_flags & HAS_NWAY) ? 1 : 0; @@ -1226,7 +1247,7 @@ static int __devinit vortex_probe1(struc if (pdev) { /* EISA resources already marked, so only PCI needs to do this here */ /* Ignore return value, because Cardbus drivers already allocate for us */ - if (request_region(ioaddr, vci->io_size, print_name) != NULL) + if (request_region(dev->base_addr, vci->io_size, print_name) != NULL) vp->must_free_region = 1; /* enable bus-mastering if necessary */ @@ -1316,14 +1337,14 @@ static int __devinit vortex_probe1(struc for (i = 0; i < 0x40; i++) { int timer; - outw(base + i, ioaddr + Wn0EepromCmd); + iowrite16(base + i, ioaddr + Wn0EepromCmd); /* Pause for at least 162 us. for the read to take place. */ for (timer = 10; timer >= 0; timer--) { udelay(162); - if ((inw(ioaddr + Wn0EepromCmd) & 0x8000) == 0) + if ((ioread16(ioaddr + Wn0EepromCmd) & 0x8000) == 0) break; } - eeprom[i] = inw(ioaddr + Wn0EepromData); + eeprom[i] = ioread16(ioaddr + Wn0EepromData); } } for (i = 0; i < 0x18; i++) @@ -1351,7 +1372,7 @@ static int __devinit vortex_probe1(struc } EL3WINDOW(2); for (i = 0; i < 6; i++) - outb(dev->dev_addr[i], ioaddr + i); + iowrite8(dev->dev_addr[i], ioaddr + i); #ifdef __sparc__ if (print_info) @@ -1366,7 +1387,7 @@ static int __devinit vortex_probe1(struc #endif EL3WINDOW(4); - step = (inb(ioaddr + Wn4_NetDiag) & 0x1e) >> 1; + step = (ioread8(ioaddr + Wn4_NetDiag) & 0x1e) >> 1; if (print_info) { printk(KERN_INFO " product code %02x%02x rev %02x.%d date %02d-" "%02d-%02d\n", eeprom[6]&0xff, eeprom[6]>>8, eeprom[0x14], @@ -1375,31 +1396,30 @@ static int __devinit vortex_probe1(struc if (pdev && vci->drv_flags & HAS_CB_FNS) { - unsigned long fn_st_addr; /* Cardbus function status space */ unsigned short n; - fn_st_addr = pci_resource_start (pdev, 2); - if (fn_st_addr) { - vp->cb_fn_base = ioremap(fn_st_addr, 128); + vp->cb_fn_base = pci_iomap(pdev, 2, 0); + if (!vp->cb_fn_base) { retval = -ENOMEM; - if (!vp->cb_fn_base) - goto free_ring; + goto free_ring; } + if (print_info) { printk(KERN_INFO "%s: CardBus functions mapped %8.8lx->%p\n", - print_name, fn_st_addr, vp->cb_fn_base); + print_name, pci_resource_start(pdev, 2), + vp->cb_fn_base); } EL3WINDOW(2); - n = inw(ioaddr + Wn2_ResetOptions) & ~0x4010; + n = ioread16(ioaddr + Wn2_ResetOptions) & ~0x4010; if (vp->drv_flags & INVERT_LED_PWR) n |= 0x10; if (vp->drv_flags & INVERT_MII_PWR) n |= 0x4000; - outw(n, ioaddr + Wn2_ResetOptions); + iowrite16(n, ioaddr + Wn2_ResetOptions); if (vp->drv_flags & WNO_XCVR_PWR) { EL3WINDOW(0); - outw(0x0800, ioaddr); + iowrite16(0x0800, ioaddr); } } @@ -1418,13 +1438,13 @@ static int __devinit vortex_probe1(struc static const char * ram_split[] = {"5:3", "3:1", "1:1", "3:5"}; unsigned int config; EL3WINDOW(3); - vp->available_media = inw(ioaddr + Wn3_Options); + vp->available_media = ioread16(ioaddr + Wn3_Options); if ((vp->available_media & 0xff) == 0) /* Broken 3c916 */ vp->available_media = 0x40; - config = inl(ioaddr + Wn3_Config); + config = ioread32(ioaddr + Wn3_Config); if (print_info) { printk(KERN_DEBUG " Internal config register is %4.4x, " - "transceivers %#x.\n", config, inw(ioaddr + Wn3_Options)); + "transceivers %#x.\n", config, ioread16(ioaddr + Wn3_Options)); printk(KERN_INFO " %dK %s-wide RAM %s Rx:Tx split, %s%s interface.\n", 8 << RAM_SIZE(config), RAM_WIDTH(config) ? "word" : "byte", @@ -1555,7 +1575,7 @@ free_ring: vp->rx_ring_dma); free_region: if (vp->must_free_region) - release_region(ioaddr, vci->io_size); + release_region(dev->base_addr, vci->io_size); free_netdev(dev); printk(KERN_ERR PFX "vortex_probe1 fails. Returns %d\n", retval); out: @@ -1565,17 +1585,19 @@ out: static void issue_and_wait(struct net_device *dev, int cmd) { + struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; int i; - outw(cmd, dev->base_addr + EL3_CMD); + iowrite16(cmd, ioaddr + EL3_CMD); for (i = 0; i < 2000; i++) { - if (!(inw(dev->base_addr + EL3_STATUS) & CmdInProgress)) + if (!(ioread16(ioaddr + EL3_STATUS) & CmdInProgress)) return; } /* OK, that didn't work. Do it the slow way. One second */ for (i = 0; i < 100000; i++) { - if (!(inw(dev->base_addr + EL3_STATUS) & CmdInProgress)) { + if (!(ioread16(ioaddr + EL3_STATUS) & CmdInProgress)) { if (vortex_debug > 1) printk(KERN_INFO "%s: command 0x%04x took %d usecs\n", dev->name, cmd, i * 10); @@ -1584,14 +1606,14 @@ issue_and_wait(struct net_device *dev, i udelay(10); } printk(KERN_ERR "%s: command 0x%04x did not complete! Status=0x%x\n", - dev->name, cmd, inw(dev->base_addr + EL3_STATUS)); + dev->name, cmd, ioread16(ioaddr + EL3_STATUS)); } static void vortex_up(struct net_device *dev) { - long ioaddr = dev->base_addr; struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; unsigned int config; int i; @@ -1604,7 +1626,7 @@ vortex_up(struct net_device *dev) /* Before initializing select the active media port. */ EL3WINDOW(3); - config = inl(ioaddr + Wn3_Config); + config = ioread32(ioaddr + Wn3_Config); if (vp->media_override != 7) { printk(KERN_INFO "%s: Media override to transceiver %d (%s).\n", @@ -1651,7 +1673,7 @@ vortex_up(struct net_device *dev) config = BFINS(config, dev->if_port, 20, 4); if (vortex_debug > 6) printk(KERN_DEBUG "vortex_up(): writing 0x%x to InternalConfig\n", config); - outl(config, ioaddr + Wn3_Config); + iowrite32(config, ioaddr + Wn3_Config); if (dev->if_port == XCVR_MII || dev->if_port == XCVR_NWAY) { int mii_reg1, mii_reg5; @@ -1679,7 +1701,7 @@ vortex_up(struct net_device *dev) } /* Set the full-duplex bit. */ - outw( ((vp->info1 & 0x8000) || vp->full_duplex ? 0x20 : 0) | + iowrite16( ((vp->info1 & 0x8000) || vp->full_duplex ? 0x20 : 0) | (vp->large_frames ? 0x40 : 0) | ((vp->full_duplex && vp->flow_ctrl && vp->partner_flow_ctrl) ? 0x100 : 0), ioaddr + Wn3_MAC_Ctrl); @@ -1695,51 +1717,51 @@ vortex_up(struct net_device *dev) */ issue_and_wait(dev, RxReset|0x04); - outw(SetStatusEnb | 0x00, ioaddr + EL3_CMD); + iowrite16(SetStatusEnb | 0x00, ioaddr + EL3_CMD); if (vortex_debug > 1) { EL3WINDOW(4); printk(KERN_DEBUG "%s: vortex_up() irq %d media status %4.4x.\n", - dev->name, dev->irq, inw(ioaddr + Wn4_Media)); + dev->name, dev->irq, ioread16(ioaddr + Wn4_Media)); } /* Set the station address and mask in window 2 each time opened. */ EL3WINDOW(2); for (i = 0; i < 6; i++) - outb(dev->dev_addr[i], ioaddr + i); + iowrite8(dev->dev_addr[i], ioaddr + i); for (; i < 12; i+=2) - outw(0, ioaddr + i); + iowrite16(0, ioaddr + i); if (vp->cb_fn_base) { - unsigned short n = inw(ioaddr + Wn2_ResetOptions) & ~0x4010; + unsigned short n = ioread16(ioaddr + Wn2_ResetOptions) & ~0x4010; if (vp->drv_flags & INVERT_LED_PWR) n |= 0x10; if (vp->drv_flags & INVERT_MII_PWR) n |= 0x4000; - outw(n, ioaddr + Wn2_ResetOptions); + iowrite16(n, ioaddr + Wn2_ResetOptions); } if (dev->if_port == XCVR_10base2) /* Start the thinnet transceiver. We should really wait 50ms...*/ - outw(StartCoax, ioaddr + EL3_CMD); + iowrite16(StartCoax, ioaddr + EL3_CMD); if (dev->if_port != XCVR_NWAY) { EL3WINDOW(4); - outw((inw(ioaddr + Wn4_Media) & ~(Media_10TP|Media_SQE)) | + iowrite16((ioread16(ioaddr + Wn4_Media) & ~(Media_10TP|Media_SQE)) | media_tbl[dev->if_port].media_bits, ioaddr + Wn4_Media); } /* Switch to the stats window, and clear all stats by reading. */ - outw(StatsDisable, ioaddr + EL3_CMD); + iowrite16(StatsDisable, ioaddr + EL3_CMD); EL3WINDOW(6); for (i = 0; i < 10; i++) - inb(ioaddr + i); - inw(ioaddr + 10); - inw(ioaddr + 12); + ioread8(ioaddr + i); + ioread16(ioaddr + 10); + ioread16(ioaddr + 12); /* New: On the Vortex we must also clear the BadSSD counter. */ EL3WINDOW(4); - inb(ioaddr + 12); + ioread8(ioaddr + 12); /* ..and on the Boomerang we enable the extra statistics bits. */ - outw(0x0040, ioaddr + Wn4_NetDiag); + iowrite16(0x0040, ioaddr + Wn4_NetDiag); /* Switch to register set 7 for normal use. */ EL3WINDOW(7); @@ -1747,30 +1769,30 @@ vortex_up(struct net_device *dev) if (vp->full_bus_master_rx) { /* Boomerang bus master. */ vp->cur_rx = vp->dirty_rx = 0; /* Initialize the RxEarly register as recommended. */ - outw(SetRxThreshold + (1536>>2), ioaddr + EL3_CMD); - outl(0x0020, ioaddr + PktStatus); - outl(vp->rx_ring_dma, ioaddr + UpListPtr); + iowrite16(SetRxThreshold + (1536>>2), ioaddr + EL3_CMD); + iowrite32(0x0020, ioaddr + PktStatus); + iowrite32(vp->rx_ring_dma, ioaddr + UpListPtr); } if (vp->full_bus_master_tx) { /* Boomerang bus master Tx. */ vp->cur_tx = vp->dirty_tx = 0; if (vp->drv_flags & IS_BOOMERANG) - outb(PKT_BUF_SZ>>8, ioaddr + TxFreeThreshold); /* Room for a packet. */ + iowrite8(PKT_BUF_SZ>>8, ioaddr + TxFreeThreshold); /* Room for a packet. */ /* Clear the Rx, Tx rings. */ for (i = 0; i < RX_RING_SIZE; i++) /* AKPM: this is done in vortex_open, too */ vp->rx_ring[i].status = 0; for (i = 0; i < TX_RING_SIZE; i++) vp->tx_skbuff[i] = NULL; - outl(0, ioaddr + DownListPtr); + iowrite32(0, ioaddr + DownListPtr); } /* Set receiver mode: presumably accept b-case and phys addr only. */ set_rx_mode(dev); /* enable 802.1q tagged frames */ set_8021q_mode(dev, 1); - outw(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */ + iowrite16(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */ // issue_and_wait(dev, SetTxStart|0x07ff); - outw(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */ - outw(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */ + iowrite16(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */ + iowrite16(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */ /* Allow status bits to be seen. */ vp->status_enable = SetStatusEnb | HostError|IntReq|StatsFull|TxComplete| (vp->full_bus_master_tx ? DownComplete : TxAvailable) | @@ -1780,13 +1802,13 @@ vortex_up(struct net_device *dev) (vp->full_bus_master_rx ? 0 : RxComplete) | StatsFull | HostError | TxComplete | IntReq | (vp->bus_master ? DMADone : 0) | UpComplete | DownComplete; - outw(vp->status_enable, ioaddr + EL3_CMD); + iowrite16(vp->status_enable, ioaddr + EL3_CMD); /* Ack all pending events, and set active indicator mask. */ - outw(AckIntr | IntLatch | TxAvailable | RxEarly | IntReq, + iowrite16(AckIntr | IntLatch | TxAvailable | RxEarly | IntReq, ioaddr + EL3_CMD); - outw(vp->intr_enable, ioaddr + EL3_CMD); + iowrite16(vp->intr_enable, ioaddr + EL3_CMD); if (vp->cb_fn_base) /* The PCMCIA people are idiots. */ - writel(0x8000, vp->cb_fn_base + 4); + iowrite32(0x8000, vp->cb_fn_base + 4); netif_start_queue (dev); } @@ -1852,7 +1874,7 @@ vortex_timer(unsigned long data) { struct net_device *dev = (struct net_device *)data; struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; int next_tick = 60*HZ; int ok = 0; int media_status, mii_status, old_window; @@ -1866,9 +1888,9 @@ vortex_timer(unsigned long data) if (vp->medialock) goto leave_media_alone; disable_irq(dev->irq); - old_window = inw(ioaddr + EL3_CMD) >> 13; + old_window = ioread16(ioaddr + EL3_CMD) >> 13; EL3WINDOW(4); - media_status = inw(ioaddr + Wn4_Media); + media_status = ioread16(ioaddr + Wn4_Media); switch (dev->if_port) { case XCVR_10baseT: case XCVR_100baseTx: case XCVR_100baseFx: if (media_status & Media_LnkBeat) { @@ -1909,7 +1931,7 @@ vortex_timer(unsigned long data) vp->phys[0], mii_reg5); /* Set the full-duplex bit. */ EL3WINDOW(3); - outw( (vp->full_duplex ? 0x20 : 0) | + iowrite16( (vp->full_duplex ? 0x20 : 0) | (vp->large_frames ? 0x40 : 0) | ((vp->full_duplex && vp->flow_ctrl && vp->partner_flow_ctrl) ? 0x100 : 0), ioaddr + Wn3_MAC_Ctrl); @@ -1950,15 +1972,15 @@ vortex_timer(unsigned long data) dev->name, media_tbl[dev->if_port].name); next_tick = media_tbl[dev->if_port].wait; } - outw((media_status & ~(Media_10TP|Media_SQE)) | + iowrite16((media_status & ~(Media_10TP|Media_SQE)) | media_tbl[dev->if_port].media_bits, ioaddr + Wn4_Media); EL3WINDOW(3); - config = inl(ioaddr + Wn3_Config); + config = ioread32(ioaddr + Wn3_Config); config = BFINS(config, dev->if_port, 20, 4); - outl(config, ioaddr + Wn3_Config); + iowrite32(config, ioaddr + Wn3_Config); - outw(dev->if_port == XCVR_10base2 ? StartCoax : StopCoax, + iowrite16(dev->if_port == XCVR_10base2 ? StartCoax : StopCoax, ioaddr + EL3_CMD); if (vortex_debug > 1) printk(KERN_DEBUG "wrote 0x%08x to Wn3_Config\n", config); @@ -1974,29 +1996,29 @@ leave_media_alone: mod_timer(&vp->timer, RUN_AT(next_tick)); if (vp->deferred) - outw(FakeIntr, ioaddr + EL3_CMD); + iowrite16(FakeIntr, ioaddr + EL3_CMD); return; } static void vortex_tx_timeout(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; printk(KERN_ERR "%s: transmit timed out, tx_status %2.2x status %4.4x.\n", - dev->name, inb(ioaddr + TxStatus), - inw(ioaddr + EL3_STATUS)); + dev->name, ioread8(ioaddr + TxStatus), + ioread16(ioaddr + EL3_STATUS)); EL3WINDOW(4); printk(KERN_ERR " diagnostics: net %04x media %04x dma %08x fifo %04x\n", - inw(ioaddr + Wn4_NetDiag), - inw(ioaddr + Wn4_Media), - inl(ioaddr + PktStatus), - inw(ioaddr + Wn4_FIFODiag)); + ioread16(ioaddr + Wn4_NetDiag), + ioread16(ioaddr + Wn4_Media), + ioread32(ioaddr + PktStatus), + ioread16(ioaddr + Wn4_FIFODiag)); /* Slight code bloat to be user friendly. */ - if ((inb(ioaddr + TxStatus) & 0x88) == 0x88) + if ((ioread8(ioaddr + TxStatus) & 0x88) == 0x88) printk(KERN_ERR "%s: Transmitter encountered 16 collisions --" " network cable problem?\n", dev->name); - if (inw(ioaddr + EL3_STATUS) & IntLatch) { + if (ioread16(ioaddr + EL3_STATUS) & IntLatch) { printk(KERN_ERR "%s: Interrupt posted but not delivered --" " IRQ blocked by another device?\n", dev->name); /* Bad idea here.. but we might as well handle a few events. */ @@ -2022,21 +2044,21 @@ static void vortex_tx_timeout(struct net vp->stats.tx_errors++; if (vp->full_bus_master_tx) { printk(KERN_DEBUG "%s: Resetting the Tx ring pointer.\n", dev->name); - if (vp->cur_tx - vp->dirty_tx > 0 && inl(ioaddr + DownListPtr) == 0) - outl(vp->tx_ring_dma + (vp->dirty_tx % TX_RING_SIZE) * sizeof(struct boom_tx_desc), + if (vp->cur_tx - vp->dirty_tx > 0 && ioread32(ioaddr + DownListPtr) == 0) + iowrite32(vp->tx_ring_dma + (vp->dirty_tx % TX_RING_SIZE) * sizeof(struct boom_tx_desc), ioaddr + DownListPtr); if (vp->cur_tx - vp->dirty_tx < TX_RING_SIZE) netif_wake_queue (dev); if (vp->drv_flags & IS_BOOMERANG) - outb(PKT_BUF_SZ>>8, ioaddr + TxFreeThreshold); - outw(DownUnstall, ioaddr + EL3_CMD); + iowrite8(PKT_BUF_SZ>>8, ioaddr + TxFreeThreshold); + iowrite16(DownUnstall, ioaddr + EL3_CMD); } else { vp->stats.tx_dropped++; netif_wake_queue(dev); } /* Issue Tx Enable */ - outw(TxEnable, ioaddr + EL3_CMD); + iowrite16(TxEnable, ioaddr + EL3_CMD); dev->trans_start = jiffies; /* Switch to register set 7 for normal use. */ @@ -2051,7 +2073,7 @@ static void vortex_error(struct net_device *dev, int status) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; int do_tx_reset = 0, reset_mask = 0; unsigned char tx_status = 0; @@ -2060,7 +2082,7 @@ vortex_error(struct net_device *dev, int } if (status & TxComplete) { /* Really "TxError" for us. */ - tx_status = inb(ioaddr + TxStatus); + tx_status = ioread8(ioaddr + TxStatus); /* Presumably a tx-timeout. We must merely re-enable. */ if (vortex_debug > 2 || (tx_status != 0x88 && vortex_debug > 0)) { @@ -2074,20 +2096,20 @@ vortex_error(struct net_device *dev, int } if (tx_status & 0x14) vp->stats.tx_fifo_errors++; if (tx_status & 0x38) vp->stats.tx_aborted_errors++; - outb(0, ioaddr + TxStatus); + iowrite8(0, ioaddr + TxStatus); if (tx_status & 0x30) { /* txJabber or txUnderrun */ do_tx_reset = 1; } else if ((tx_status & 0x08) && (vp->drv_flags & MAX_COLLISION_RESET)) { /* maxCollisions */ do_tx_reset = 1; reset_mask = 0x0108; /* Reset interface logic, but not download logic */ } else { /* Merely re-enable the transmitter. */ - outw(TxEnable, ioaddr + EL3_CMD); + iowrite16(TxEnable, ioaddr + EL3_CMD); } } if (status & RxEarly) { /* Rx early is unused. */ vortex_rx(dev); - outw(AckIntr | RxEarly, ioaddr + EL3_CMD); + iowrite16(AckIntr | RxEarly, ioaddr + EL3_CMD); } if (status & StatsFull) { /* Empty statistics. */ static int DoneDidThat; @@ -2097,29 +2119,29 @@ vortex_error(struct net_device *dev, int /* HACK: Disable statistics as an interrupt source. */ /* This occurs when we have the wrong media type! */ if (DoneDidThat == 0 && - inw(ioaddr + EL3_STATUS) & StatsFull) { + ioread16(ioaddr + EL3_STATUS) & StatsFull) { printk(KERN_WARNING "%s: Updating statistics failed, disabling " "stats as an interrupt source.\n", dev->name); EL3WINDOW(5); - outw(SetIntrEnb | (inw(ioaddr + 10) & ~StatsFull), ioaddr + EL3_CMD); + iowrite16(SetIntrEnb | (ioread16(ioaddr + 10) & ~StatsFull), ioaddr + EL3_CMD); vp->intr_enable &= ~StatsFull; EL3WINDOW(7); DoneDidThat++; } } if (status & IntReq) { /* Restore all interrupt sources. */ - outw(vp->status_enable, ioaddr + EL3_CMD); - outw(vp->intr_enable, ioaddr + EL3_CMD); + iowrite16(vp->status_enable, ioaddr + EL3_CMD); + iowrite16(vp->intr_enable, ioaddr + EL3_CMD); } if (status & HostError) { u16 fifo_diag; EL3WINDOW(4); - fifo_diag = inw(ioaddr + Wn4_FIFODiag); + fifo_diag = ioread16(ioaddr + Wn4_FIFODiag); printk(KERN_ERR "%s: Host error, FIFO diagnostic register %4.4x.\n", dev->name, fifo_diag); /* Adapter failure requires Tx/Rx reset and reinit. */ if (vp->full_bus_master_tx) { - int bus_status = inl(ioaddr + PktStatus); + int bus_status = ioread32(ioaddr + PktStatus); /* 0x80000000 PCI master abort. */ /* 0x40000000 PCI target abort. */ if (vortex_debug) @@ -2139,14 +2161,14 @@ vortex_error(struct net_device *dev, int set_rx_mode(dev); /* enable 802.1q VLAN tagged frames */ set_8021q_mode(dev, 1); - outw(RxEnable, ioaddr + EL3_CMD); /* Re-enable the receiver. */ - outw(AckIntr | HostError, ioaddr + EL3_CMD); + iowrite16(RxEnable, ioaddr + EL3_CMD); /* Re-enable the receiver. */ + iowrite16(AckIntr | HostError, ioaddr + EL3_CMD); } } if (do_tx_reset) { issue_and_wait(dev, TxReset|reset_mask); - outw(TxEnable, ioaddr + EL3_CMD); + iowrite16(TxEnable, ioaddr + EL3_CMD); if (!vp->full_bus_master_tx) netif_wake_queue(dev); } @@ -2156,29 +2178,29 @@ static int vortex_start_xmit(struct sk_buff *skb, struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; /* Put out the doubleword header... */ - outl(skb->len, ioaddr + TX_FIFO); + iowrite32(skb->len, ioaddr + TX_FIFO); if (vp->bus_master) { /* Set the bus-master controller to transfer the packet. */ int len = (skb->len + 3) & ~3; - outl( vp->tx_skb_dma = pci_map_single(VORTEX_PCI(vp), skb->data, len, PCI_DMA_TODEVICE), + iowrite32( vp->tx_skb_dma = pci_map_single(VORTEX_PCI(vp), skb->data, len, PCI_DMA_TODEVICE), ioaddr + Wn7_MasterAddr); - outw(len, ioaddr + Wn7_MasterLen); + iowrite16(len, ioaddr + Wn7_MasterLen); vp->tx_skb = skb; - outw(StartDMADown, ioaddr + EL3_CMD); + iowrite16(StartDMADown, ioaddr + EL3_CMD); /* netif_wake_queue() will be called at the DMADone interrupt. */ } else { /* ... and the packet rounded to a doubleword. */ - outsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2); + iowrite32_rep(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2); dev_kfree_skb (skb); - if (inw(ioaddr + TxFree) > 1536) { + if (ioread16(ioaddr + TxFree) > 1536) { netif_start_queue (dev); /* AKPM: redundant? */ } else { /* Interrupt us when the FIFO has room for max-sized packet. */ netif_stop_queue(dev); - outw(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD); + iowrite16(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD); } } @@ -2189,7 +2211,7 @@ vortex_start_xmit(struct sk_buff *skb, s int tx_status; int i = 32; - while (--i > 0 && (tx_status = inb(ioaddr + TxStatus)) > 0) { + while (--i > 0 && (tx_status = ioread8(ioaddr + TxStatus)) > 0) { if (tx_status & 0x3C) { /* A Tx-disabling error occurred. */ if (vortex_debug > 2) printk(KERN_DEBUG "%s: Tx error, status %2.2x.\n", @@ -2199,9 +2221,9 @@ vortex_start_xmit(struct sk_buff *skb, s if (tx_status & 0x30) { issue_and_wait(dev, TxReset); } - outw(TxEnable, ioaddr + EL3_CMD); + iowrite16(TxEnable, ioaddr + EL3_CMD); } - outb(0x00, ioaddr + TxStatus); /* Pop the status stack. */ + iowrite8(0x00, ioaddr + TxStatus); /* Pop the status stack. */ } } return 0; @@ -2211,7 +2233,7 @@ static int boomerang_start_xmit(struct sk_buff *skb, struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; /* Calculate the next Tx descriptor entry. */ int entry = vp->cur_tx % TX_RING_SIZE; struct boom_tx_desc *prev_entry = &vp->tx_ring[(vp->cur_tx-1) % TX_RING_SIZE]; @@ -2275,8 +2297,8 @@ boomerang_start_xmit(struct sk_buff *skb /* Wait for the stall to complete. */ issue_and_wait(dev, DownStall); prev_entry->next = cpu_to_le32(vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc)); - if (inl(ioaddr + DownListPtr) == 0) { - outl(vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc), ioaddr + DownListPtr); + if (ioread32(ioaddr + DownListPtr) == 0) { + iowrite32(vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc), ioaddr + DownListPtr); vp->queued_packet++; } @@ -2291,7 +2313,7 @@ boomerang_start_xmit(struct sk_buff *skb prev_entry->status &= cpu_to_le32(~TxIntrUploaded); #endif } - outw(DownUnstall, ioaddr + EL3_CMD); + iowrite16(DownUnstall, ioaddr + EL3_CMD); spin_unlock_irqrestore(&vp->lock, flags); dev->trans_start = jiffies; return 0; @@ -2310,15 +2332,15 @@ vortex_interrupt(int irq, void *dev_id, { struct net_device *dev = dev_id; struct vortex_private *vp = netdev_priv(dev); - long ioaddr; + void __iomem *ioaddr; int status; int work_done = max_interrupt_work; int handled = 0; - ioaddr = dev->base_addr; + ioaddr = vp->ioaddr; spin_lock(&vp->lock); - status = inw(ioaddr + EL3_STATUS); + status = ioread16(ioaddr + EL3_STATUS); if (vortex_debug > 6) printk("vortex_interrupt(). status=0x%4x\n", status); @@ -2337,7 +2359,7 @@ vortex_interrupt(int irq, void *dev_id, if (vortex_debug > 4) printk(KERN_DEBUG "%s: interrupt, status %4.4x, latency %d ticks.\n", - dev->name, status, inb(ioaddr + Timer)); + dev->name, status, ioread8(ioaddr + Timer)); do { if (vortex_debug > 5) @@ -2350,16 +2372,16 @@ vortex_interrupt(int irq, void *dev_id, if (vortex_debug > 5) printk(KERN_DEBUG " TX room bit was handled.\n"); /* There's room in the FIFO for a full-sized packet. */ - outw(AckIntr | TxAvailable, ioaddr + EL3_CMD); + iowrite16(AckIntr | TxAvailable, ioaddr + EL3_CMD); netif_wake_queue (dev); } if (status & DMADone) { - if (inw(ioaddr + Wn7_MasterStatus) & 0x1000) { - outw(0x1000, ioaddr + Wn7_MasterStatus); /* Ack the event. */ + if (ioread16(ioaddr + Wn7_MasterStatus) & 0x1000) { + iowrite16(0x1000, ioaddr + Wn7_MasterStatus); /* Ack the event. */ pci_unmap_single(VORTEX_PCI(vp), vp->tx_skb_dma, (vp->tx_skb->len + 3) & ~3, PCI_DMA_TODEVICE); dev_kfree_skb_irq(vp->tx_skb); /* Release the transferred buffer */ - if (inw(ioaddr + TxFree) > 1536) { + if (ioread16(ioaddr + TxFree) > 1536) { /* * AKPM: FIXME: I don't think we need this. If the queue was stopped due to * insufficient FIFO room, the TxAvailable test will succeed and call @@ -2367,7 +2389,7 @@ vortex_interrupt(int irq, void *dev_id, */ netif_wake_queue(dev); } else { /* Interrupt when FIFO has room for max-sized packet. */ - outw(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD); + iowrite16(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD); netif_stop_queue(dev); } } @@ -2385,17 +2407,17 @@ vortex_interrupt(int irq, void *dev_id, /* Disable all pending interrupts. */ do { vp->deferred |= status; - outw(SetStatusEnb | (~vp->deferred & vp->status_enable), + iowrite16(SetStatusEnb | (~vp->deferred & vp->status_enable), ioaddr + EL3_CMD); - outw(AckIntr | (vp->deferred & 0x7ff), ioaddr + EL3_CMD); - } while ((status = inw(ioaddr + EL3_CMD)) & IntLatch); + iowrite16(AckIntr | (vp->deferred & 0x7ff), ioaddr + EL3_CMD); + } while ((status = ioread16(ioaddr + EL3_CMD)) & IntLatch); /* The timer will reenable interrupts. */ mod_timer(&vp->timer, jiffies + 1*HZ); break; } /* Acknowledge the IRQ. */ - outw(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); - } while ((status = inw(ioaddr + EL3_STATUS)) & (IntLatch | RxComplete)); + iowrite16(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); + } while ((status = ioread16(ioaddr + EL3_STATUS)) & (IntLatch | RxComplete)); if (vortex_debug > 4) printk(KERN_DEBUG "%s: exiting interrupt, status %4.4x.\n", @@ -2415,11 +2437,11 @@ boomerang_interrupt(int irq, void *dev_i { struct net_device *dev = dev_id; struct vortex_private *vp = netdev_priv(dev); - long ioaddr; + void __iomem *ioaddr; int status; int work_done = max_interrupt_work; - ioaddr = dev->base_addr; + ioaddr = vp->ioaddr; /* * It seems dopey to put the spinlock this early, but we could race against vortex_tx_timeout @@ -2427,7 +2449,7 @@ boomerang_interrupt(int irq, void *dev_i */ spin_lock(&vp->lock); - status = inw(ioaddr + EL3_STATUS); + status = ioread16(ioaddr + EL3_STATUS); if (vortex_debug > 6) printk(KERN_DEBUG "boomerang_interrupt. status=0x%4x\n", status); @@ -2448,13 +2470,13 @@ boomerang_interrupt(int irq, void *dev_i if (vortex_debug > 4) printk(KERN_DEBUG "%s: interrupt, status %4.4x, latency %d ticks.\n", - dev->name, status, inb(ioaddr + Timer)); + dev->name, status, ioread8(ioaddr + Timer)); do { if (vortex_debug > 5) printk(KERN_DEBUG "%s: In interrupt loop, status %4.4x.\n", dev->name, status); if (status & UpComplete) { - outw(AckIntr | UpComplete, ioaddr + EL3_CMD); + iowrite16(AckIntr | UpComplete, ioaddr + EL3_CMD); if (vortex_debug > 5) printk(KERN_DEBUG "boomerang_interrupt->boomerang_rx\n"); boomerang_rx(dev); @@ -2463,11 +2485,11 @@ boomerang_interrupt(int irq, void *dev_i if (status & DownComplete) { unsigned int dirty_tx = vp->dirty_tx; - outw(AckIntr | DownComplete, ioaddr + EL3_CMD); + iowrite16(AckIntr | DownComplete, ioaddr + EL3_CMD); while (vp->cur_tx - dirty_tx > 0) { int entry = dirty_tx % TX_RING_SIZE; #if 1 /* AKPM: the latter is faster, but cyclone-only */ - if (inl(ioaddr + DownListPtr) == + if (ioread32(ioaddr + DownListPtr) == vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc)) break; /* It still hasn't been processed. */ #else @@ -2514,20 +2536,20 @@ boomerang_interrupt(int irq, void *dev_i /* Disable all pending interrupts. */ do { vp->deferred |= status; - outw(SetStatusEnb | (~vp->deferred & vp->status_enable), + iowrite16(SetStatusEnb | (~vp->deferred & vp->status_enable), ioaddr + EL3_CMD); - outw(AckIntr | (vp->deferred & 0x7ff), ioaddr + EL3_CMD); - } while ((status = inw(ioaddr + EL3_CMD)) & IntLatch); + iowrite16(AckIntr | (vp->deferred & 0x7ff), ioaddr + EL3_CMD); + } while ((status = ioread16(ioaddr + EL3_CMD)) & IntLatch); /* The timer will reenable interrupts. */ mod_timer(&vp->timer, jiffies + 1*HZ); break; } /* Acknowledge the IRQ. */ - outw(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); + iowrite16(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); if (vp->cb_fn_base) /* The PCMCIA people are idiots. */ - writel(0x8000, vp->cb_fn_base + 4); + iowrite32(0x8000, vp->cb_fn_base + 4); - } while ((status = inw(ioaddr + EL3_STATUS)) & IntLatch); + } while ((status = ioread16(ioaddr + EL3_STATUS)) & IntLatch); if (vortex_debug > 4) printk(KERN_DEBUG "%s: exiting interrupt, status %4.4x.\n", @@ -2540,16 +2562,16 @@ handler_exit: static int vortex_rx(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; int i; short rx_status; if (vortex_debug > 5) printk(KERN_DEBUG "vortex_rx(): status %4.4x, rx_status %4.4x.\n", - inw(ioaddr+EL3_STATUS), inw(ioaddr+RxStatus)); - while ((rx_status = inw(ioaddr + RxStatus)) > 0) { + ioread16(ioaddr+EL3_STATUS), ioread16(ioaddr+RxStatus)); + while ((rx_status = ioread16(ioaddr + RxStatus)) > 0) { if (rx_status & 0x4000) { /* Error, update stats. */ - unsigned char rx_error = inb(ioaddr + RxErrors); + unsigned char rx_error = ioread8(ioaddr + RxErrors); if (vortex_debug > 2) printk(KERN_DEBUG " Rx error: status %2.2x.\n", rx_error); vp->stats.rx_errors++; @@ -2572,27 +2594,28 @@ static int vortex_rx(struct net_device * skb_reserve(skb, 2); /* Align IP on 16 byte boundaries */ /* 'skb_put()' points to the start of sk_buff data area. */ if (vp->bus_master && - ! (inw(ioaddr + Wn7_MasterStatus) & 0x8000)) { + ! (ioread16(ioaddr + Wn7_MasterStatus) & 0x8000)) { dma_addr_t dma = pci_map_single(VORTEX_PCI(vp), skb_put(skb, pkt_len), pkt_len, PCI_DMA_FROMDEVICE); - outl(dma, ioaddr + Wn7_MasterAddr); - outw((skb->len + 3) & ~3, ioaddr + Wn7_MasterLen); - outw(StartDMAUp, ioaddr + EL3_CMD); - while (inw(ioaddr + Wn7_MasterStatus) & 0x8000) + iowrite32(dma, ioaddr + Wn7_MasterAddr); + iowrite16((skb->len + 3) & ~3, ioaddr + Wn7_MasterLen); + iowrite16(StartDMAUp, ioaddr + EL3_CMD); + while (ioread16(ioaddr + Wn7_MasterStatus) & 0x8000) ; pci_unmap_single(VORTEX_PCI(vp), dma, pkt_len, PCI_DMA_FROMDEVICE); } else { - insl(ioaddr + RX_FIFO, skb_put(skb, pkt_len), - (pkt_len + 3) >> 2); + ioread32_rep(ioaddr + RX_FIFO, + skb_put(skb, pkt_len), + (pkt_len + 3) >> 2); } - outw(RxDiscard, ioaddr + EL3_CMD); /* Pop top Rx packet. */ + iowrite16(RxDiscard, ioaddr + EL3_CMD); /* Pop top Rx packet. */ skb->protocol = eth_type_trans(skb, dev); netif_rx(skb); dev->last_rx = jiffies; vp->stats.rx_packets++; /* Wait a limited time to go to next packet. */ for (i = 200; i >= 0; i--) - if ( ! (inw(ioaddr + EL3_STATUS) & CmdInProgress)) + if ( ! (ioread16(ioaddr + EL3_STATUS) & CmdInProgress)) break; continue; } else if (vortex_debug > 0) @@ -2611,12 +2634,12 @@ boomerang_rx(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); int entry = vp->cur_rx % RX_RING_SIZE; - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; int rx_status; int rx_work_limit = vp->dirty_rx + RX_RING_SIZE - vp->cur_rx; if (vortex_debug > 5) - printk(KERN_DEBUG "boomerang_rx(): status %4.4x\n", inw(ioaddr+EL3_STATUS)); + printk(KERN_DEBUG "boomerang_rx(): status %4.4x\n", ioread16(ioaddr+EL3_STATUS)); while ((rx_status = le32_to_cpu(vp->rx_ring[entry].status)) & RxDComplete){ if (--rx_work_limit < 0) @@ -2699,7 +2722,7 @@ boomerang_rx(struct net_device *dev) vp->rx_skbuff[entry] = skb; } vp->rx_ring[entry].status = 0; /* Clear complete bit. */ - outw(UpUnstall, ioaddr + EL3_CMD); + iowrite16(UpUnstall, ioaddr + EL3_CMD); } return 0; } @@ -2728,7 +2751,7 @@ static void vortex_down(struct net_device *dev, int final_down) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; netif_stop_queue (dev); @@ -2736,26 +2759,26 @@ vortex_down(struct net_device *dev, int del_timer_sync(&vp->timer); /* Turn off statistics ASAP. We update vp->stats below. */ - outw(StatsDisable, ioaddr + EL3_CMD); + iowrite16(StatsDisable, ioaddr + EL3_CMD); /* Disable the receiver and transmitter. */ - outw(RxDisable, ioaddr + EL3_CMD); - outw(TxDisable, ioaddr + EL3_CMD); + iowrite16(RxDisable, ioaddr + EL3_CMD); + iowrite16(TxDisable, ioaddr + EL3_CMD); /* Disable receiving 802.1q tagged frames */ set_8021q_mode(dev, 0); if (dev->if_port == XCVR_10base2) /* Turn off thinnet power. Green! */ - outw(StopCoax, ioaddr + EL3_CMD); + iowrite16(StopCoax, ioaddr + EL3_CMD); - outw(SetIntrEnb | 0x0000, ioaddr + EL3_CMD); + iowrite16(SetIntrEnb | 0x0000, ioaddr + EL3_CMD); update_stats(ioaddr, dev); if (vp->full_bus_master_rx) - outl(0, ioaddr + UpListPtr); + iowrite32(0, ioaddr + UpListPtr); if (vp->full_bus_master_tx) - outl(0, ioaddr + DownListPtr); + iowrite32(0, ioaddr + DownListPtr); if (final_down && VORTEX_PCI(vp)) { vp->pm_state_valid = 1; @@ -2768,7 +2791,7 @@ static int vortex_close(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; int i; if (netif_device_present(dev)) @@ -2776,7 +2799,7 @@ vortex_close(struct net_device *dev) if (vortex_debug > 1) { printk(KERN_DEBUG"%s: vortex_close() status %4.4x, Tx status %2.2x.\n", - dev->name, inw(ioaddr + EL3_STATUS), inb(ioaddr + TxStatus)); + dev->name, ioread16(ioaddr + EL3_STATUS), ioread8(ioaddr + TxStatus)); printk(KERN_DEBUG "%s: vortex close stats: rx_nocopy %d rx_copy %d" " tx_queued %d Rx pre-checksummed %d.\n", dev->name, vp->rx_nocopy, vp->rx_copy, vp->queued_packet, vp->rx_csumhits); @@ -2830,18 +2853,18 @@ dump_tx_ring(struct net_device *dev) { if (vortex_debug > 0) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; if (vp->full_bus_master_tx) { int i; - int stalled = inl(ioaddr + PktStatus) & 0x04; /* Possible racy. But it's only debug stuff */ + int stalled = ioread32(ioaddr + PktStatus) & 0x04; /* Possible racy. But it's only debug stuff */ printk(KERN_ERR " Flags; bus-master %d, dirty %d(%d) current %d(%d)\n", vp->full_bus_master_tx, vp->dirty_tx, vp->dirty_tx % TX_RING_SIZE, vp->cur_tx, vp->cur_tx % TX_RING_SIZE); printk(KERN_ERR " Transmit list %8.8x vs. %p.\n", - inl(ioaddr + DownListPtr), + ioread32(ioaddr + DownListPtr), &vp->tx_ring[vp->dirty_tx % TX_RING_SIZE]); issue_and_wait(dev, DownStall); for (i = 0; i < TX_RING_SIZE; i++) { @@ -2855,7 +2878,7 @@ dump_tx_ring(struct net_device *dev) le32_to_cpu(vp->tx_ring[i].status)); } if (!stalled) - outw(DownUnstall, ioaddr + EL3_CMD); + iowrite16(DownUnstall, ioaddr + EL3_CMD); } } } @@ -2863,11 +2886,12 @@ dump_tx_ring(struct net_device *dev) static struct net_device_stats *vortex_get_stats(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; if (netif_device_present(dev)) { /* AKPM: Used to be netif_running */ spin_lock_irqsave (&vp->lock, flags); - update_stats(dev->base_addr, dev); + update_stats(ioaddr, dev); spin_unlock_irqrestore (&vp->lock, flags); } return &vp->stats; @@ -2880,37 +2904,37 @@ static struct net_device_stats *vortex_g table. This is done by checking that the ASM (!) code generated uses atomic updates with '+='. */ -static void update_stats(long ioaddr, struct net_device *dev) +static void update_stats(void __iomem *ioaddr, struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - int old_window = inw(ioaddr + EL3_CMD); + int old_window = ioread16(ioaddr + EL3_CMD); if (old_window == 0xffff) /* Chip suspended or ejected. */ return; /* Unlike the 3c5x9 we need not turn off stats updates while reading. */ /* Switch to the stats window, and read everything. */ EL3WINDOW(6); - vp->stats.tx_carrier_errors += inb(ioaddr + 0); - vp->stats.tx_heartbeat_errors += inb(ioaddr + 1); - vp->stats.collisions += inb(ioaddr + 3); - vp->stats.tx_window_errors += inb(ioaddr + 4); - vp->stats.rx_fifo_errors += inb(ioaddr + 5); - vp->stats.tx_packets += inb(ioaddr + 6); - vp->stats.tx_packets += (inb(ioaddr + 9)&0x30) << 4; - /* Rx packets */ inb(ioaddr + 7); /* Must read to clear */ + vp->stats.tx_carrier_errors += ioread8(ioaddr + 0); + vp->stats.tx_heartbeat_errors += ioread8(ioaddr + 1); + vp->stats.collisions += ioread8(ioaddr + 3); + vp->stats.tx_window_errors += ioread8(ioaddr + 4); + vp->stats.rx_fifo_errors += ioread8(ioaddr + 5); + vp->stats.tx_packets += ioread8(ioaddr + 6); + vp->stats.tx_packets += (ioread8(ioaddr + 9)&0x30) << 4; + /* Rx packets */ ioread8(ioaddr + 7); /* Must read to clear */ /* Don't bother with register 9, an extension of registers 6&7. If we do use the 6&7 values the atomic update assumption above is invalid. */ - vp->stats.rx_bytes += inw(ioaddr + 10); - vp->stats.tx_bytes += inw(ioaddr + 12); + vp->stats.rx_bytes += ioread16(ioaddr + 10); + vp->stats.tx_bytes += ioread16(ioaddr + 12); /* Extra stats for get_ethtool_stats() */ - vp->xstats.tx_multiple_collisions += inb(ioaddr + 2); - vp->xstats.tx_deferred += inb(ioaddr + 8); + vp->xstats.tx_multiple_collisions += ioread8(ioaddr + 2); + vp->xstats.tx_deferred += ioread8(ioaddr + 8); EL3WINDOW(4); - vp->xstats.rx_bad_ssd += inb(ioaddr + 12); + vp->xstats.rx_bad_ssd += ioread8(ioaddr + 12); { - u8 up = inb(ioaddr + 13); + u8 up = ioread8(ioaddr + 13); vp->stats.rx_bytes += (up & 0x0f) << 16; vp->stats.tx_bytes += (up & 0xf0) << 12; } @@ -2922,7 +2946,7 @@ static void update_stats(long ioaddr, st static int vortex_nway_reset(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; int rc; @@ -2936,7 +2960,7 @@ static int vortex_nway_reset(struct net_ static u32 vortex_get_link(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; int rc; @@ -2950,7 +2974,7 @@ static u32 vortex_get_link(struct net_de static int vortex_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; int rc; @@ -2964,7 +2988,7 @@ static int vortex_get_settings(struct ne static int vortex_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; int rc; @@ -2994,10 +3018,11 @@ static void vortex_get_ethtool_stats(str struct ethtool_stats *stats, u64 *data) { struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; spin_lock_irqsave(&vp->lock, flags); - update_stats(dev->base_addr, dev); + update_stats(ioaddr, dev); spin_unlock_irqrestore(&vp->lock, flags); data[0] = vp->xstats.tx_deferred; @@ -3057,7 +3082,7 @@ static int vortex_ioctl(struct net_devic { int err; struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; int state = 0; @@ -3085,7 +3110,8 @@ static int vortex_ioctl(struct net_devic the chip has a very clean way to set the mode, unlike many others. */ static void set_rx_mode(struct net_device *dev) { - long ioaddr = dev->base_addr; + struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; int new_mode; if (dev->flags & IFF_PROMISC) { @@ -3097,7 +3123,7 @@ static void set_rx_mode(struct net_devic } else new_mode = SetRxFilter | RxStation | RxBroadcast; - outw(new_mode, ioaddr + EL3_CMD); + iowrite16(new_mode, ioaddr + EL3_CMD); } #if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE) @@ -3111,8 +3137,8 @@ static void set_rx_mode(struct net_devic static void set_8021q_mode(struct net_device *dev, int enable) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; - int old_window = inw(ioaddr + EL3_CMD); + void __iomem *ioaddr = vp->ioaddr; + int old_window = ioread16(ioaddr + EL3_CMD); int mac_ctrl; if ((vp->drv_flags&IS_CYCLONE) || (vp->drv_flags&IS_TORNADO)) { @@ -3124,24 +3150,24 @@ static void set_8021q_mode(struct net_de max_pkt_size += 4; /* 802.1Q VLAN tag */ EL3WINDOW(3); - outw(max_pkt_size, ioaddr+Wn3_MaxPktSize); + iowrite16(max_pkt_size, ioaddr+Wn3_MaxPktSize); /* set VlanEtherType to let the hardware checksumming treat tagged frames correctly */ EL3WINDOW(7); - outw(VLAN_ETHER_TYPE, ioaddr+Wn7_VlanEtherType); + iowrite16(VLAN_ETHER_TYPE, ioaddr+Wn7_VlanEtherType); } else { /* on older cards we have to enable large frames */ vp->large_frames = dev->mtu > 1500 || enable; EL3WINDOW(3); - mac_ctrl = inw(ioaddr+Wn3_MAC_Ctrl); + mac_ctrl = ioread16(ioaddr+Wn3_MAC_Ctrl); if (vp->large_frames) mac_ctrl |= 0x40; else mac_ctrl &= ~0x40; - outw(mac_ctrl, ioaddr+Wn3_MAC_Ctrl); + iowrite16(mac_ctrl, ioaddr+Wn3_MAC_Ctrl); } EL3WINDOW(old_window); @@ -3163,7 +3189,7 @@ static void set_8021q_mode(struct net_de /* The maximum data clock rate is 2.5 Mhz. The minimum timing is usually met by back-to-back PCI I/O cycles, but we insert a delay to avoid "overclocking" issues. */ -#define mdio_delay() inl(mdio_addr) +#define mdio_delay() ioread32(mdio_addr) #define MDIO_SHIFT_CLK 0x01 #define MDIO_DIR_WRITE 0x04 @@ -3174,15 +3200,15 @@ static void set_8021q_mode(struct net_de /* Generate the preamble required for initial synchronization and a few older transceivers. */ -static void mdio_sync(long ioaddr, int bits) +static void mdio_sync(void __iomem *ioaddr, int bits) { - long mdio_addr = ioaddr + Wn4_PhysicalMgmt; + void __iomem *mdio_addr = ioaddr + Wn4_PhysicalMgmt; /* Establish sync by sending at least 32 logic ones. */ while (-- bits >= 0) { - outw(MDIO_DATA_WRITE1, mdio_addr); + iowrite16(MDIO_DATA_WRITE1, mdio_addr); mdio_delay(); - outw(MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, mdio_addr); + iowrite16(MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, mdio_addr); mdio_delay(); } } @@ -3190,10 +3216,11 @@ static void mdio_sync(long ioaddr, int b static int mdio_read(struct net_device *dev, int phy_id, int location) { int i; - long ioaddr = dev->base_addr; + struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; int read_cmd = (0xf6 << 10) | (phy_id << 5) | location; unsigned int retval = 0; - long mdio_addr = ioaddr + Wn4_PhysicalMgmt; + void __iomem *mdio_addr = ioaddr + Wn4_PhysicalMgmt; if (mii_preamble_required) mdio_sync(ioaddr, 32); @@ -3201,17 +3228,17 @@ static int mdio_read(struct net_device * /* Shift the read command bits out. */ for (i = 14; i >= 0; i--) { int dataval = (read_cmd&(1< 0; i--) { - outw(MDIO_ENB_IN, mdio_addr); + iowrite16(MDIO_ENB_IN, mdio_addr); mdio_delay(); - retval = (retval << 1) | ((inw(mdio_addr) & MDIO_DATA_READ) ? 1 : 0); - outw(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); + retval = (retval << 1) | ((ioread16(mdio_addr) & MDIO_DATA_READ) ? 1 : 0); + iowrite16(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); mdio_delay(); } return retval & 0x20000 ? 0xffff : retval>>1 & 0xffff; @@ -3219,9 +3246,10 @@ static int mdio_read(struct net_device * static void mdio_write(struct net_device *dev, int phy_id, int location, int value) { - long ioaddr = dev->base_addr; + struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; int write_cmd = 0x50020000 | (phy_id << 23) | (location << 18) | value; - long mdio_addr = ioaddr + Wn4_PhysicalMgmt; + void __iomem *mdio_addr = ioaddr + Wn4_PhysicalMgmt; int i; if (mii_preamble_required) @@ -3230,16 +3258,16 @@ static void mdio_write(struct net_device /* Shift the command bits out. */ for (i = 31; i >= 0; i--) { int dataval = (write_cmd&(1<= 0; i--) { - outw(MDIO_ENB_IN, mdio_addr); + iowrite16(MDIO_ENB_IN, mdio_addr); mdio_delay(); - outw(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); + iowrite16(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); mdio_delay(); } return; @@ -3250,15 +3278,15 @@ static void mdio_write(struct net_device static void acpi_set_WOL(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; if (vp->enable_wol) { /* Power up on: 1==Downloaded Filter, 2==Magic Packets, 4==Link Status. */ EL3WINDOW(7); - outw(2, ioaddr + 0x0c); + iowrite16(2, ioaddr + 0x0c); /* The RxFilter must accept the WOL frames. */ - outw(SetRxFilter|RxStation|RxMulticast|RxBroadcast, ioaddr + EL3_CMD); - outw(RxEnable, ioaddr + EL3_CMD); + iowrite16(SetRxFilter|RxStation|RxMulticast|RxBroadcast, ioaddr + EL3_CMD); + iowrite16(RxEnable, ioaddr + EL3_CMD); pci_enable_wake(VORTEX_PCI(vp), 0, 1); @@ -3280,10 +3308,9 @@ static void __devexit vortex_remove_one vp = netdev_priv(dev); - /* AKPM: FIXME: we should have - * if (vp->cb_fn_base) iounmap(vp->cb_fn_base); - * here - */ + if (vp->cb_fn_base) + pci_iounmap(VORTEX_PCI(vp), vp->cb_fn_base); + unregister_netdev(dev); if (VORTEX_PCI(vp)) { @@ -3293,8 +3320,10 @@ static void __devexit vortex_remove_one pci_disable_device(VORTEX_PCI(vp)); } /* Should really use issue_and_wait() here */ - outw(TotalReset | ((vp->drv_flags & EEPROM_RESET) ? 0x04 : 0x14), - dev->base_addr + EL3_CMD); + iowrite16(TotalReset | ((vp->drv_flags & EEPROM_RESET) ? 0x04 : 0x14), + vp->ioaddr + EL3_CMD); + + pci_iounmap(VORTEX_PCI(vp), vp->ioaddr); pci_free_consistent(pdev, sizeof(struct boom_rx_desc) * RX_RING_SIZE @@ -3342,7 +3371,7 @@ static int __init vortex_init (void) static void __exit vortex_eisa_cleanup (void) { struct vortex_private *vp; - long ioaddr; + void __iomem *ioaddr; #ifdef CONFIG_EISA /* Take care of the EISA devices */ @@ -3351,11 +3380,13 @@ static void __exit vortex_eisa_cleanup ( if (compaq_net_device) { vp = compaq_net_device->priv; - ioaddr = compaq_net_device->base_addr; + ioaddr = ioport_map(compaq_net_device->base_addr, + VORTEX_TOTAL_SIZE); unregister_netdev (compaq_net_device); - outw (TotalReset, ioaddr + EL3_CMD); - release_region (ioaddr, VORTEX_TOTAL_SIZE); + iowrite16 (TotalReset, ioaddr + EL3_CMD); + release_region(compaq_net_device->base_addr, + VORTEX_TOTAL_SIZE); free_netdev (compaq_net_device); } jwltest-b44-alloc.patch: b44.c | 134 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---- b44.h | 2 2 files changed, 128 insertions(+), 8 deletions(-) --- NEW FILE jwltest-b44-alloc.patch --- --- linux-2.6.13/drivers/net/b44.c.orig 2005-08-29 13:45:52.482352805 -0400 +++ linux-2.6.13/drivers/net/b44.c 2005-08-29 13:48:35.657636325 -0400 @@ -107,6 +107,29 @@ static int b44_poll(struct net_device *d static void b44_poll_controller(struct net_device *dev); #endif +static int dma_desc_align_mask; +static int dma_desc_sync_size; + +static inline void b44_sync_dma_desc_for_device(struct pci_dev *pdev, + dma_addr_t dma_base, + unsigned long offset, + enum dma_data_direction dir) +{ + dma_sync_single_range_for_device(&pdev->dev, dma_base, + offset & dma_desc_align_mask, + dma_desc_sync_size, dir); +} + +static inline void b44_sync_dma_desc_for_cpu(struct pci_dev *pdev, + dma_addr_t dma_base, + unsigned long offset, + enum dma_data_direction dir) +{ + dma_sync_single_range_for_cpu(&pdev->dev, dma_base, + offset & dma_desc_align_mask, + dma_desc_sync_size, dir); +} + static inline unsigned long br32(const struct b44 *bp, unsigned long reg) { return readl(bp->regs + reg); @@ -669,6 +692,11 @@ static int b44_alloc_rx_skb(struct b44 * dp->ctrl = cpu_to_le32(ctrl); dp->addr = cpu_to_le32((u32) mapping + bp->rx_offset + bp->dma_offset); + if (bp->flags & B44_FLAG_RX_RING_HACK) + b44_sync_dma_desc_for_device(bp->pdev, bp->rx_ring_dma, + dest_idx * sizeof(dp), + DMA_BIDIRECTIONAL); + return RX_PKT_BUF_SZ; } @@ -693,6 +721,11 @@ static void b44_recycle_rx(struct b44 *b pci_unmap_addr_set(dest_map, mapping, pci_unmap_addr(src_map, mapping)); + if (bp->flags & B44_FLAG_RX_RING_HACK) + b44_sync_dma_desc_for_cpu(bp->pdev, bp->rx_ring_dma, + src_idx * sizeof(src_desc), + DMA_BIDIRECTIONAL); + ctrl = src_desc->ctrl; if (dest_idx == (B44_RX_RING_SIZE - 1)) ctrl |= cpu_to_le32(DESC_CTRL_EOT); @@ -701,8 +734,14 @@ static void b44_recycle_rx(struct b44 *b dest_desc->ctrl = ctrl; dest_desc->addr = src_desc->addr; + src_map->skb = NULL; + if (bp->flags & B44_FLAG_RX_RING_HACK) + b44_sync_dma_desc_for_device(bp->pdev, bp->rx_ring_dma, + dest_idx * sizeof(dest_desc), + DMA_BIDIRECTIONAL); + pci_dma_sync_single_for_device(bp->pdev, src_desc->addr, RX_PKT_BUF_SZ, PCI_DMA_FROMDEVICE); @@ -960,6 +999,11 @@ static int b44_start_xmit(struct sk_buff bp->tx_ring[entry].ctrl = cpu_to_le32(ctrl); bp->tx_ring[entry].addr = cpu_to_le32((u32) mapping+bp->dma_offset); + if (bp->flags & B44_FLAG_TX_RING_HACK) + b44_sync_dma_desc_for_device(bp->pdev, bp->tx_ring_dma, + entry * sizeof(bp->tx_ring[0]), + DMA_TO_DEVICE); + entry = NEXT_TX(entry); bp->tx_prod = entry; @@ -1065,6 +1109,16 @@ static void b44_init_rings(struct b44 *b memset(bp->rx_ring, 0, B44_RX_RING_BYTES); memset(bp->tx_ring, 0, B44_TX_RING_BYTES); + if (bp->flags & B44_FLAG_RX_RING_HACK) + dma_sync_single_for_device(&bp->pdev->dev, bp->rx_ring_dma, + DMA_TABLE_BYTES, + PCI_DMA_BIDIRECTIONAL); + + if (bp->flags & B44_FLAG_TX_RING_HACK) + dma_sync_single_for_device(&bp->pdev->dev, bp->tx_ring_dma, + DMA_TABLE_BYTES, + PCI_DMA_TODEVICE); + for (i = 0; i < bp->rx_pending; i++) { if (b44_alloc_rx_skb(bp, -1, i) < 0) break; @@ -1086,14 +1140,28 @@ static void b44_free_consistent(struct b bp->tx_buffers = NULL; } if (bp->rx_ring) { - pci_free_consistent(bp->pdev, DMA_TABLE_BYTES, - bp->rx_ring, bp->rx_ring_dma); + if (bp->flags & B44_FLAG_RX_RING_HACK) { + dma_unmap_single(&bp->pdev->dev, bp->rx_ring_dma, + DMA_TABLE_BYTES, + DMA_BIDIRECTIONAL); + kfree(bp->rx_ring); + } else + pci_free_consistent(bp->pdev, DMA_TABLE_BYTES, + bp->rx_ring, bp->rx_ring_dma); bp->rx_ring = NULL; + bp->flags &= ~B44_FLAG_RX_RING_HACK; } if (bp->tx_ring) { - pci_free_consistent(bp->pdev, DMA_TABLE_BYTES, - bp->tx_ring, bp->tx_ring_dma); + if (bp->flags & B44_FLAG_TX_RING_HACK) { + dma_unmap_single(&bp->pdev->dev, bp->tx_ring_dma, + DMA_TABLE_BYTES, + DMA_TO_DEVICE); + kfree(bp->tx_ring); + } else + pci_free_consistent(bp->pdev, DMA_TABLE_BYTES, + bp->tx_ring, bp->tx_ring_dma); bp->tx_ring = NULL; + bp->flags &= ~B44_FLAG_TX_RING_HACK; } } @@ -1119,12 +1187,56 @@ static int b44_alloc_consistent(struct b size = DMA_TABLE_BYTES; bp->rx_ring = pci_alloc_consistent(bp->pdev, size, &bp->rx_ring_dma); - if (!bp->rx_ring) - goto out_err; + if (!bp->rx_ring) { + /* Allocation may have failed due to pci_alloc_consistent + insisting on use of GFP_DMA, which is more restrictive + than necessary... */ + struct dma_desc *rx_ring; + dma_addr_t rx_ring_dma; + + if (!(rx_ring = (struct dma_desc *)kmalloc(size, GFP_KERNEL))) + goto out_err; + + memset(rx_ring, 0, size); + rx_ring_dma = dma_map_single(&bp->pdev->dev, rx_ring, + DMA_TABLE_BYTES, + DMA_BIDIRECTIONAL); + + if (rx_ring_dma + size > B44_DMA_MASK) { + kfree(rx_ring); + goto out_err; + } + + bp->rx_ring = rx_ring; + bp->rx_ring_dma = rx_ring_dma; + bp->flags |= B44_FLAG_RX_RING_HACK; + } bp->tx_ring = pci_alloc_consistent(bp->pdev, size, &bp->tx_ring_dma); - if (!bp->tx_ring) - goto out_err; + if (!bp->tx_ring) { + /* Allocation may have failed due to pci_alloc_consistent + insisting on use of GFP_DMA, which is more restrictive + than necessary... */ + struct dma_desc *tx_ring; + dma_addr_t tx_ring_dma; + + if (!(tx_ring = (struct dma_desc *)kmalloc(size, GFP_KERNEL))) + goto out_err; + + memset(tx_ring, 0, size); + tx_ring_dma = dma_map_single(&bp->pdev->dev, tx_ring, + DMA_TABLE_BYTES, + DMA_TO_DEVICE); + + if (tx_ring_dma + size > B44_DMA_MASK) { + kfree(tx_ring); + goto out_err; + } + + bp->tx_ring = tx_ring; + bp->tx_ring_dma = tx_ring_dma; + bp->flags |= B44_FLAG_TX_RING_HACK; + } return 0; @@ -1972,6 +2084,12 @@ static struct pci_driver b44_driver = { static int __init b44_init(void) { + unsigned int dma_desc_align_size = dma_get_cache_alignment(); + + /* Setup paramaters for syncing RX/TX DMA descriptors */ + dma_desc_align_mask = ~(dma_desc_align_size - 1); + dma_desc_sync_size = max(dma_desc_align_size, sizeof(struct dma_desc)); + return pci_module_init(&b44_driver); } --- linux-2.6.13/drivers/net/b44.h.orig 2005-08-28 19:41:01.000000000 -0400 +++ linux-2.6.13/drivers/net/b44.h 2005-08-29 13:48:35.658636192 -0400 @@ -400,6 +400,8 @@ struct b44 { #define B44_FLAG_ADV_100HALF 0x04000000 #define B44_FLAG_ADV_100FULL 0x08000000 #define B44_FLAG_INTERNAL_PHY 0x10000000 +#define B44_FLAG_RX_RING_HACK 0x20000000 +#define B44_FLAG_TX_RING_HACK 0x40000000 u32 rx_offset; jwltest-dma-x86_64.patch: dma-mapping.h | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+) --- NEW FILE jwltest-dma-x86_64.patch --- --- linux-2.6.13/include/asm-x86_64/dma-mapping.h.orig 2005-09-10 16:57:13.698387495 -0400 +++ linux-2.6.13/include/asm-x86_64/dma-mapping.h 2005-09-10 16:57:44.244303844 -0400 @@ -85,6 +85,34 @@ static inline void dma_sync_single_for_d flush_write_buffers(); } +static inline void dma_sync_single_range_for_cpu(struct device *hwdev, + dma_addr_t dma_handle, + unsigned long offset, + size_t size, int direction) +{ + if (direction == DMA_NONE) + out_of_line_bug(); + + if (swiotlb) + return swiotlb_sync_single_range_for_cpu(hwdev,dma_handle,offset,size,direction); + + flush_write_buffers(); +} + +static inline void dma_sync_single_range_for_device(struct device *hwdev, + dma_addr_t dma_handle, + unsigned long offset, + size_t size, int direction) +{ + if (direction == DMA_NONE) + out_of_line_bug(); + + if (swiotlb) + return swiotlb_sync_single_range_for_device(hwdev,dma_handle,offset,size,direction); + + flush_write_buffers(); +} + static inline void dma_sync_sg_for_cpu(struct device *hwdev, struct scatterlist *sg, int nelems, int direction) jwltest-e1000_ethtool_ops-whitespace.patch: e1000_ethtool.c | 44 ++++++++++++++++++++++---------------------- 1 files changed, 22 insertions(+), 22 deletions(-) --- NEW FILE jwltest-e1000_ethtool_ops-whitespace.patch --- --- linux-2.6.13/drivers/net/e1000/e1000_ethtool.c.orig 2005-09-11 16:21:40.869965028 -0400 +++ linux-2.6.13/drivers/net/e1000/e1000_ethtool.c 2005-09-11 16:27:05.886584114 -0400 @@ -1705,22 +1705,22 @@ e1000_get_strings(struct net_device *net } struct ethtool_ops e1000_ethtool_ops = { - .get_settings = e1000_get_settings, - .set_settings = e1000_set_settings, - .get_drvinfo = e1000_get_drvinfo, - .get_regs_len = e1000_get_regs_len, - .get_regs = e1000_get_regs, - .get_wol = e1000_get_wol, - .set_wol = e1000_set_wol, - .get_msglevel = e1000_get_msglevel, - .set_msglevel = e1000_set_msglevel, - .nway_reset = e1000_nway_reset, - .get_link = ethtool_op_get_link, - .get_eeprom_len = e1000_get_eeprom_len, - .get_eeprom = e1000_get_eeprom, - .set_eeprom = e1000_set_eeprom, - .get_ringparam = e1000_get_ringparam, - .set_ringparam = e1000_set_ringparam, + .get_settings = e1000_get_settings, + .set_settings = e1000_set_settings, + .get_drvinfo = e1000_get_drvinfo, + .get_regs_len = e1000_get_regs_len, + .get_regs = e1000_get_regs, + .get_wol = e1000_get_wol, + .set_wol = e1000_set_wol, + .get_msglevel = e1000_get_msglevel, + .set_msglevel = e1000_set_msglevel, + .nway_reset = e1000_nway_reset, + .get_link = ethtool_op_get_link, + .get_eeprom_len = e1000_get_eeprom_len, + .get_eeprom = e1000_get_eeprom, + .set_eeprom = e1000_set_eeprom, + .get_ringparam = e1000_get_ringparam, + .set_ringparam = e1000_set_ringparam, .get_pauseparam = e1000_get_pauseparam, .set_pauseparam = e1000_set_pauseparam, .get_rx_csum = e1000_get_rx_csum, @@ -1733,12 +1733,12 @@ struct ethtool_ops e1000_ethtool_ops = { .get_tso = ethtool_op_get_tso, .set_tso = e1000_set_tso, #endif - .self_test_count = e1000_diag_test_count, - .self_test = e1000_diag_test, - .get_strings = e1000_get_strings, - .phys_id = e1000_phys_id, - .get_stats_count = e1000_get_stats_count, - .get_ethtool_stats = e1000_get_ethtool_stats, + .self_test_count = e1000_diag_test_count, + .self_test = e1000_diag_test, + .get_strings = e1000_get_strings, + .phys_id = e1000_phys_id, + .get_stats_count = e1000_get_stats_count, + .get_ethtool_stats = e1000_get_ethtool_stats, .get_perm_addr = ethtool_op_get_perm_addr, }; jwltest-ethtool-perm-addr.patch: 3c59x.c | 2 ++ 8139cp.c | 2 ++ 8139too.c | 2 ++ b44.c | 2 ++ bnx2.c | 2 ++ e100.c | 4 +++- e1000/e1000_ethtool.c | 1 + e1000/e1000_main.c | 3 ++- forcedeth.c | 4 +++- ixgb/ixgb_ethtool.c | 1 + ixgb/ixgb_main.c | 3 ++- ne2k-pci.c | 2 ++ pcnet32.c | 4 +++- r8169.c | 2 ++ skge.c | 2 ++ sundance.c | 2 ++ tg3.c | 4 ++++ via-rhine.c | 4 +++- 18 files changed, 40 insertions(+), 6 deletions(-) --- NEW FILE jwltest-ethtool-perm-addr.patch --- --- linux-2.6.13/drivers/net/e1000/e1000_main.c.orig 2005-09-11 16:16:35.958674397 -0400 +++ linux-2.6.13/drivers/net/e1000/e1000_main.c 2005-09-11 16:21:40.873964494 -0400 @@ -614,8 +614,9 @@ e1000_probe(struct pci_dev *pdev, if(e1000_read_mac_addr(&adapter->hw)) DPRINTK(PROBE, ERR, "EEPROM Read Error\n"); memcpy(netdev->dev_addr, adapter->hw.mac_addr, netdev->addr_len); + memcpy(netdev->perm_addr, adapter->hw.mac_addr, netdev->addr_len); - if(!is_valid_ether_addr(netdev->dev_addr)) { + if(!is_valid_ether_addr(netdev->perm_addr)) { DPRINTK(PROBE, ERR, "Invalid MAC Address\n"); err = -EIO; goto err_eeprom; --- linux-2.6.13/drivers/net/e1000/e1000_ethtool.c.orig 2005-08-28 19:41:01.000000000 -0400 +++ linux-2.6.13/drivers/net/e1000/e1000_ethtool.c 2005-09-11 16:21:40.869965028 -0400 @@ -1739,6 +1739,7 @@ struct ethtool_ops e1000_ethtool_ops = { .phys_id = e1000_phys_id, .get_stats_count = e1000_get_stats_count, .get_ethtool_stats = e1000_get_ethtool_stats, + .get_perm_addr = ethtool_op_get_perm_addr, }; void e1000_set_ethtool_ops(struct net_device *netdev) --- linux-2.6.13/drivers/net/ne2k-pci.c.orig 2005-08-28 19:41:01.000000000 -0400 +++ linux-2.6.13/drivers/net/ne2k-pci.c 2005-09-11 16:21:40.901960757 -0400 @@ -372,6 +372,7 @@ static int __devinit ne2k_pci_init_one ( printk("%2.2X%s", SA_prom[i], i == 5 ? ".\n": ":"); dev->dev_addr[i] = SA_prom[i]; } + memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); return 0; @@ -637,6 +638,7 @@ static struct ethtool_ops ne2k_pci_ethto .get_drvinfo = ne2k_pci_get_drvinfo, .get_tx_csum = ethtool_op_get_tx_csum, .get_sg = ethtool_op_get_sg, + .get_perm_addr = ethtool_op_get_perm_addr, }; static void __devexit ne2k_pci_remove_one (struct pci_dev *pdev) --- linux-2.6.13/drivers/net/skge.c.orig 2005-09-11 16:16:36.080658108 -0400 +++ linux-2.6.13/drivers/net/skge.c 2005-09-11 16:21:40.922957954 -0400 @@ -743,6 +743,7 @@ static struct ethtool_ops skge_ethtool_o .phys_id = skge_phys_id, .get_stats_count = skge_get_stats_count, .get_ethtool_stats = skge_get_ethtool_stats, + .get_perm_addr = ethtool_op_get_perm_addr, }; /* @@ -3080,6 +3081,7 @@ static struct net_device *skge_devinit(s /* read the mac address */ memcpy_fromio(dev->dev_addr, hw->regs + B2_MAC_1 + port*8, ETH_ALEN); + memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); /* device is off until link detection */ netif_carrier_off(dev); --- linux-2.6.13/drivers/net/tg3.c.orig 2005-09-11 16:16:39.792162505 -0400 +++ linux-2.6.13/drivers/net/tg3.c 2005-09-11 16:21:40.939955684 -0400 @@ -8304,6 +8304,7 @@ static struct ethtool_ops tg3_ethtool_op .get_ethtool_stats = tg3_get_ethtool_stats, .get_coalesce = tg3_get_coalesce, .set_coalesce = tg3_set_coalesce, + .get_perm_addr = ethtool_op_get_perm_addr, }; static void __devinit tg3_get_eeprom_size(struct tg3 *tp) @@ -9782,6 +9783,7 @@ static int __devinit tg3_get_macaddr_spa if (prom_getproplen(node, "local-mac-address") == 6) { prom_getproperty(node, "local-mac-address", dev->dev_addr, 6); + memcpy(dev->perm_addr, dev->dev_addr, 6); return 0; } } @@ -9793,6 +9795,7 @@ static int __devinit tg3_get_default_mac struct net_device *dev = tp->dev; memcpy(dev->dev_addr, idprom->id_ethaddr, 6); + memcpy(dev->perm_addr, idprom->id_ethaddr, 6); return 0; } #endif @@ -9862,6 +9865,7 @@ static int __devinit tg3_get_device_addr #endif return -EINVAL; } + memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); return 0; } --- linux-2.6.13/drivers/net/8139cp.c.orig 2005-08-28 19:41:01.000000000 -0400 +++ linux-2.6.13/drivers/net/8139cp.c 2005-09-11 16:21:40.839969032 -0400 @@ -1575,6 +1575,7 @@ static struct ethtool_ops cp_ethtool_ops .set_wol = cp_set_wol, .get_strings = cp_get_strings, .get_ethtool_stats = cp_get_ethtool_stats, + .get_perm_addr = ethtool_op_get_perm_addr, }; static int cp_ioctl (struct net_device *dev, struct ifreq *rq, int cmd) @@ -1773,6 +1774,7 @@ static int cp_init_one (struct pci_dev * for (i = 0; i < 3; i++) ((u16 *) (dev->dev_addr))[i] = le16_to_cpu (read_eeprom (regs, i + 7, addr_len)); + memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); dev->open = cp_open; dev->stop = cp_close; --- linux-2.6.13/drivers/net/forcedeth.c.orig 2005-09-11 16:16:35.965673462 -0400 +++ linux-2.6.13/drivers/net/forcedeth.c 2005-09-11 16:21:40.885962892 -0400 @@ -2065,6 +2065,7 @@ static struct ethtool_ops ops = { .get_regs_len = nv_get_regs_len, .get_regs = nv_get_regs, .nway_reset = nv_nway_reset, + .get_perm_addr = ethtool_op_get_perm_addr, }; static int nv_open(struct net_device *dev) @@ -2377,8 +2378,9 @@ static int __devinit nv_probe(struct pci dev->dev_addr[3] = (np->orig_mac[0] >> 16) & 0xff; dev->dev_addr[4] = (np->orig_mac[0] >> 8) & 0xff; dev->dev_addr[5] = (np->orig_mac[0] >> 0) & 0xff; + memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); - if (!is_valid_ether_addr(dev->dev_addr)) { + if (!is_valid_ether_addr(dev->perm_addr)) { /* * Bad mac address. At least one bios sets the mac address * to 01:23:45:67:89:ab --- linux-2.6.13/drivers/net/via-rhine.c.orig 2005-08-28 19:41:01.000000000 -0400 +++ linux-2.6.13/drivers/net/via-rhine.c 2005-09-11 16:21:40.954953682 -0400 @@ -814,8 +814,9 @@ static int __devinit rhine_init_one(stru for (i = 0; i < 6; i++) dev->dev_addr[i] = ioread8(ioaddr + StationAddr + i); + memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); - if (!is_valid_ether_addr(dev->dev_addr)) { + if (!is_valid_ether_addr(dev->perm_addr)) { rc = -EIO; printk(KERN_ERR "Invalid MAC address\n"); goto err_out_unmap; @@ -1829,6 +1830,7 @@ static struct ethtool_ops netdev_ethtool .set_wol = rhine_set_wol, .get_sg = ethtool_op_get_sg, .get_tx_csum = ethtool_op_get_tx_csum, + .get_perm_addr = ethtool_op_get_perm_addr, }; static int netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) --- linux-2.6.13/drivers/net/bnx2.c.orig 2005-09-11 16:16:35.901682007 -0400 +++ linux-2.6.13/drivers/net/bnx2.c 2005-09-11 16:21:40.859966362 -0400 @@ -5015,6 +5015,7 @@ static struct ethtool_ops bnx2_ethtool_o .phys_id = bnx2_phys_id, .get_stats_count = bnx2_get_stats_count, .get_ethtool_stats = bnx2_get_ethtool_stats, + .get_perm_addr = ethtool_op_get_perm_addr, }; /* Called with rtnl_lock */ @@ -5442,6 +5443,7 @@ bnx2_init_one(struct pci_dev *pdev, cons pci_set_drvdata(pdev, dev); memcpy(dev->dev_addr, bp->mac_addr, 6); + memcpy(dev->perm_addr, bp->mac_addr, 6); bp->name = board_info[ent->driver_data].name, printk(KERN_INFO "%s: %s (%c%d) PCI%s %s %dMHz found at mem %lx, " "IRQ %d, ", --- linux-2.6.13/drivers/net/3c59x.c.orig 2005-09-11 16:18:52.538437848 -0400 +++ linux-2.6.13/drivers/net/3c59x.c 2005-09-11 16:21:40.819971701 -0400 @@ -1359,6 +1359,7 @@ static int __devinit vortex_probe1(struc printk(" ***INVALID CHECKSUM %4.4x*** ", checksum); for (i = 0; i < 3; i++) ((u16 *)dev->dev_addr)[i] = htons(eeprom[i + 10]); + memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); if (print_info) { for (i = 0; i < 6; i++) printk("%c%2.2x", i ? ':' : ' ', dev->dev_addr[i]); @@ -3075,6 +3076,7 @@ static struct ethtool_ops vortex_ethtool .set_settings = vortex_set_settings, .get_link = vortex_get_link, .nway_reset = vortex_nway_reset, + .get_perm_addr = ethtool_op_get_perm_addr, }; #ifdef CONFIG_PCI --- linux-2.6.13/drivers/net/sundance.c.orig 2005-09-11 16:16:39.586190008 -0400 +++ linux-2.6.13/drivers/net/sundance.c 2005-09-11 16:21:40.928957153 -0400 @@ -551,6 +551,7 @@ static int __devinit sundance_probe1 (st for (i = 0; i < 3; i++) ((u16 *)dev->dev_addr)[i] = le16_to_cpu(eeprom_read(ioaddr, i + EEPROM_SA_OFFSET)); + memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); dev->base_addr = (unsigned long)ioaddr; dev->irq = irq; @@ -1621,6 +1622,7 @@ static struct ethtool_ops ethtool_ops = .get_link = get_link, .get_msglevel = get_msglevel, .set_msglevel = set_msglevel, + .get_perm_addr = ethtool_op_get_perm_addr, }; static int netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) --- linux-2.6.13/drivers/net/8139too.c.orig 2005-08-28 19:41:01.000000000 -0400 +++ linux-2.6.13/drivers/net/8139too.c 2005-09-11 16:21:40.846968098 -0400 @@ -970,6 +970,7 @@ static int __devinit rtl8139_init_one (s for (i = 0; i < 3; i++) ((u16 *) (dev->dev_addr))[i] = le16_to_cpu (read_eeprom (ioaddr, i + 7, addr_len)); + memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); /* The Rtl8139-specific entries in the device structure. */ dev->open = rtl8139_open; @@ -2465,6 +2466,7 @@ static struct ethtool_ops rtl8139_ethtoo .get_strings = rtl8139_get_strings, .get_stats_count = rtl8139_get_stats_count, .get_ethtool_stats = rtl8139_get_ethtool_stats, + .get_perm_addr = ethtool_op_get_perm_addr, }; static int netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) --- linux-2.6.13/drivers/net/ixgb/ixgb_main.c.orig 2005-09-11 16:16:36.009667588 -0400 +++ linux-2.6.13/drivers/net/ixgb/ixgb_main.c 2005-09-11 16:21:40.892961958 -0400 @@ -460,8 +460,9 @@ ixgb_probe(struct pci_dev *pdev, } ixgb_get_ee_mac_addr(&adapter->hw, netdev->dev_addr); + memcpy(netdev->perm_addr, netdev->dev_addr, netdev->addr_len); - if(!is_valid_ether_addr(netdev->dev_addr)) { + if(!is_valid_ether_addr(netdev->perm_addr)) { err = -EIO; goto err_eeprom; } --- linux-2.6.13/drivers/net/ixgb/ixgb_ethtool.c.orig 2005-09-11 16:16:36.005668122 -0400 +++ linux-2.6.13/drivers/net/ixgb/ixgb_ethtool.c 2005-09-11 16:21:40.889962358 -0400 @@ -723,6 +723,7 @@ struct ethtool_ops ixgb_ethtool_ops = { .phys_id = ixgb_phys_id, .get_stats_count = ixgb_get_stats_count, .get_ethtool_stats = ixgb_get_ethtool_stats, + .get_perm_addr = ethtool_op_get_perm_addr, }; void ixgb_set_ethtool_ops(struct net_device *netdev) --- linux-2.6.13/drivers/net/b44.c.orig 2005-09-11 16:16:39.781163973 -0400 +++ linux-2.6.13/drivers/net/b44.c 2005-09-11 16:21:40.852967297 -0400 @@ -1789,6 +1789,7 @@ static struct ethtool_ops b44_ethtool_op .set_pauseparam = b44_set_pauseparam, .get_msglevel = b44_get_msglevel, .set_msglevel = b44_set_msglevel, + .get_perm_addr = ethtool_op_get_perm_addr, }; static int b44_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) @@ -1831,6 +1832,7 @@ static int __devinit b44_get_invariants( bp->dev->dev_addr[3] = eeprom[80]; bp->dev->dev_addr[4] = eeprom[83]; bp->dev->dev_addr[5] = eeprom[82]; + memcpy(bp->dev->perm_addr, bp->dev->dev_addr, bp->dev->addr_len); bp->phy_addr = eeprom[90] & 0x1f; --- linux-2.6.13/drivers/net/e100.c.orig 2005-09-11 16:16:35.951675332 -0400 +++ linux-2.6.13/drivers/net/e100.c 2005-09-11 16:21:40.879963693 -0400 @@ -2391,6 +2391,7 @@ static struct ethtool_ops e100_ethtool_o .phys_id = e100_phys_id, .get_stats_count = e100_get_stats_count, .get_ethtool_stats = e100_get_ethtool_stats, + .get_perm_addr = ethtool_op_get_perm_addr, }; static int e100_do_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) @@ -2541,7 +2542,8 @@ static int __devinit e100_probe(struct p e100_phy_init(nic); memcpy(netdev->dev_addr, nic->eeprom, ETH_ALEN); - if(!is_valid_ether_addr(netdev->dev_addr)) { + memcpy(netdev->perm_addr, nic->eeprom, ETH_ALEN); + if(!is_valid_ether_addr(netdev->perm_addr)) { DPRINTK(PROBE, ERR, "Invalid MAC address from " "EEPROM, aborting.\n"); err = -EAGAIN; --- linux-2.6.13/drivers/net/pcnet32.c.orig 2005-08-28 19:41:01.000000000 -0400 +++ linux-2.6.13/drivers/net/pcnet32.c 2005-09-11 16:21:40.911959422 -0400 @@ -957,6 +957,7 @@ static struct ethtool_ops pcnet32_ethtoo .phys_id = pcnet32_phys_id, .get_regs_len = pcnet32_get_regs_len, .get_regs = pcnet32_get_regs, + .get_perm_addr = ethtool_op_get_perm_addr, }; /* only probes for non-PCI devices, the rest are handled by @@ -1185,9 +1186,10 @@ pcnet32_probe1(unsigned long ioaddr, int memcpy(dev->dev_addr, promaddr, 6); } } + memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); /* if the ethernet address is not valid, force to 00:00:00:00:00:00 */ - if (!is_valid_ether_addr(dev->dev_addr)) + if (!is_valid_ether_addr(dev->perm_addr)) memset(dev->dev_addr, 0, sizeof(dev->dev_addr)); if (pcnet32_debug & NETIF_MSG_PROBE) { --- linux-2.6.13/drivers/net/r8169.c.orig 2005-09-11 16:16:36.046662648 -0400 +++ linux-2.6.13/drivers/net/r8169.c 2005-09-11 16:21:40.916958754 -0400 @@ -1028,6 +1028,7 @@ static struct ethtool_ops rtl8169_ethtoo .get_strings = rtl8169_get_strings, .get_stats_count = rtl8169_get_stats_count, .get_ethtool_stats = rtl8169_get_ethtool_stats, + .get_perm_addr = ethtool_op_get_perm_addr, }; static void rtl8169_write_gmii_reg_bit(void __iomem *ioaddr, int reg, int bitnum, @@ -1512,6 +1513,7 @@ rtl8169_init_one(struct pci_dev *pdev, c /* Get MAC address. FIXME: read EEPROM */ for (i = 0; i < MAC_ADDR_LEN; i++) dev->dev_addr[i] = RTL_R8(MAC0 + i); + memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); dev->open = rtl8169_open; dev->hard_start_xmit = rtl8169_start_xmit; jwltest-ia64-max-cacheline-export.patch: setup.c | 1 + 1 files changed, 1 insertion(+) --- NEW FILE jwltest-ia64-max-cacheline-export.patch --- --- linux-2.6.13/arch/ia64/kernel/setup.c.orig 2005-09-10 16:49:31.658103092 -0400 +++ linux-2.6.13/arch/ia64/kernel/setup.c 2005-09-10 16:59:51.061351493 -0400 @@ -79,6 +79,7 @@ unsigned long vga_console_iobase; unsigned long vga_console_membase; unsigned long ia64_max_cacheline_size; +EXPORT_SYMBOL_GPL(ia64_max_cacheline_size); unsigned long ia64_iobase; /* virtual address for I/O accesses */ EXPORT_SYMBOL(ia64_iobase); struct io_space io_space[MAX_IO_SPACES]; jwltest-rx_dropped.patch: 3c59x.c | 2 +- e100.c | 4 +--- e1000/e1000_main.c | 1 - ixgb/ixgb_main.c | 2 -- tg3.c | 6 ++++-- 5 files changed, 6 insertions(+), 9 deletions(-) --- NEW FILE jwltest-rx_dropped.patch --- --- linux-2.6.13/drivers/net/e1000/e1000_main.c.orig 2005-09-11 16:21:40.873964494 -0400 +++ linux-2.6.13/drivers/net/e1000/e1000_main.c 2005-09-11 16:25:30.661292801 -0400 @@ -2545,7 +2545,6 @@ e1000_update_stats(struct e1000_adapter adapter->stats.crcerrs + adapter->stats.algnerrc + adapter->stats.rlec + adapter->stats.mpc + adapter->stats.cexterr; - adapter->net_stats.rx_dropped = adapter->stats.mpc; adapter->net_stats.rx_length_errors = adapter->stats.rlec; adapter->net_stats.rx_crc_errors = adapter->stats.crcerrs; adapter->net_stats.rx_frame_errors = adapter->stats.algnerrc; --- linux-2.6.13/drivers/net/tg3.c.orig 2005-09-11 16:21:40.939955684 -0400 +++ linux-2.6.13/drivers/net/tg3.c 2005-09-11 16:25:30.683289865 -0400 @@ -6894,8 +6894,7 @@ static struct net_device_stats *tg3_get_ get_stat64(&hw_stats->tx_octets); stats->rx_errors = old_stats->rx_errors + - get_stat64(&hw_stats->rx_errors) + - get_stat64(&hw_stats->rx_discards); + get_stat64(&hw_stats->rx_errors); stats->tx_errors = old_stats->tx_errors + get_stat64(&hw_stats->tx_errors) + get_stat64(&hw_stats->tx_mac_errors) + @@ -6923,6 +6922,9 @@ static struct net_device_stats *tg3_get_ stats->rx_crc_errors = old_stats->rx_crc_errors + calc_crc_errors(tp); + stats->rx_missed_errors = old_stats->rx_missed_errors + + get_stat64(&hw_stats->rx_discards); + return stats; } --- linux-2.6.13/drivers/net/3c59x.c.orig 2005-09-11 16:21:40.819971701 -0400 +++ linux-2.6.13/drivers/net/3c59x.c 2005-09-11 16:25:30.655293602 -0400 @@ -2624,8 +2624,8 @@ static int vortex_rx(struct net_device * } else if (vortex_debug > 0) printk(KERN_NOTICE "%s: No memory to allocate a sk_buff of " "size %d.\n", dev->name, pkt_len); + vp->stats.rx_dropped++; } - vp->stats.rx_dropped++; issue_and_wait(dev, RxDiscard); } --- linux-2.6.13/drivers/net/ixgb/ixgb_main.c.orig 2005-09-11 16:21:40.892961958 -0400 +++ linux-2.6.13/drivers/net/ixgb/ixgb_main.c 2005-09-11 16:25:30.672291333 -0400 @@ -1617,8 +1617,6 @@ ixgb_update_stats(struct ixgb_adapter *a adapter->stats.icbc + adapter->stats.ecbc + adapter->stats.mpc; - adapter->net_stats.rx_dropped = adapter->stats.mpc; - /* see above * adapter->net_stats.rx_length_errors = adapter->stats.rlec; */ --- linux-2.6.13/drivers/net/e100.c.orig 2005-09-11 16:21:40.879963693 -0400 +++ linux-2.6.13/drivers/net/e100.c 2005-09-11 16:25:30.667292000 -0400 @@ -1387,13 +1387,13 @@ static void e100_update_stats(struct nic ns->collisions += nic->tx_collisions; ns->tx_errors += le32_to_cpu(s->tx_max_collisions) + le32_to_cpu(s->tx_lost_crs); - ns->rx_dropped += le32_to_cpu(s->rx_resource_errors); ns->rx_length_errors += le32_to_cpu(s->rx_short_frame_errors) + nic->rx_over_length_errors; ns->rx_crc_errors += le32_to_cpu(s->rx_crc_errors); ns->rx_frame_errors += le32_to_cpu(s->rx_alignment_errors); ns->rx_over_errors += le32_to_cpu(s->rx_overrun_errors); ns->rx_fifo_errors += le32_to_cpu(s->rx_overrun_errors); + ns->rx_missed_errors += le32_to_cpu(s->rx_resource_errors); ns->rx_errors += le32_to_cpu(s->rx_crc_errors) + le32_to_cpu(s->rx_alignment_errors) + le32_to_cpu(s->rx_short_frame_errors) + @@ -1727,12 +1727,10 @@ static inline int e100_rx_indicate(struc if(unlikely(!(rfd_status & cb_ok))) { /* Don't indicate if hardware indicates errors */ - nic->net_stats.rx_dropped++; dev_kfree_skb_any(skb); } else if(actual_size > ETH_DATA_LEN + VLAN_ETH_HLEN) { /* Don't indicate oversized frames */ nic->rx_over_length_errors++; - nic->net_stats.rx_dropped++; dev_kfree_skb_any(skb); } else { nic->net_stats.rx_packets++; jwltest-swiotlb-bidirectional.patch: swiotlb.c | 62 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 files changed, 40 insertions(+), 22 deletions(-) --- NEW FILE jwltest-swiotlb-bidirectional.patch --- --- linux-2.6.13/lib/swiotlb.c.orig 2005-09-10 16:54:25.850829818 -0400 +++ linux-2.6.13/lib/swiotlb.c 2005-09-10 16:55:54.991910452 -0400 @@ -49,6 +49,14 @@ */ #define IO_TLB_SHIFT 11 +/* + * Enumeration for sync targets + */ +enum dma_sync_target { + SYNC_FOR_CPU = 0, + SYNC_FOR_DEVICE = 1, +}; + int swiotlb_force; /* @@ -295,21 +303,28 @@ unmap_single(struct device *hwdev, char } static void -sync_single(struct device *hwdev, char *dma_addr, size_t size, int dir) +sync_single(struct device *hwdev, char *dma_addr, size_t size, + int dir, int target) { int index = (dma_addr - io_tlb_start) >> IO_TLB_SHIFT; char *buffer = io_tlb_orig_addr[index]; - /* - * bounce... copy the data back into/from the original buffer - * XXX How do you handle DMA_BIDIRECTIONAL here ? - */ - if (dir == DMA_FROM_DEVICE) - memcpy(buffer, dma_addr, size); - else if (dir == DMA_TO_DEVICE) - memcpy(dma_addr, buffer, size); - else + switch (target) { + case SYNC_FOR_CPU: + if (likely(dir == DMA_FROM_DEVICE || dir == DMA_BIDIRECTIONAL)) + memcpy(buffer, dma_addr, size); + else if (dir != DMA_TO_DEVICE && dir != DMA_NONE) + BUG(); + break; + case SYNC_FOR_DEVICE: + if (likely(dir == DMA_TO_DEVICE || dir == DMA_BIDIRECTIONAL)) + memcpy(dma_addr, buffer, size); + else if (dir != DMA_FROM_DEVICE && dir != DMA_NONE) + BUG(); + break; + default: BUG(); + } } void * @@ -494,14 +509,14 @@ swiotlb_unmap_single(struct device *hwde */ static inline void swiotlb_sync_single(struct device *hwdev, dma_addr_t dev_addr, - size_t size, int dir) + size_t size, int dir, int target) { char *dma_addr = phys_to_virt(dev_addr); if (dir == DMA_NONE) BUG(); if (dma_addr >= io_tlb_start && dma_addr < io_tlb_end) - sync_single(hwdev, dma_addr, size, dir); + sync_single(hwdev, dma_addr, size, dir, target); else if (dir == DMA_FROM_DEVICE) mark_clean(dma_addr, size); } @@ -510,14 +525,14 @@ void swiotlb_sync_single_for_cpu(struct device *hwdev, dma_addr_t dev_addr, size_t size, int dir) { - swiotlb_sync_single(hwdev, dev_addr, size, dir); + swiotlb_sync_single(hwdev, dev_addr, size, dir, SYNC_FOR_CPU); } void swiotlb_sync_single_for_device(struct device *hwdev, dma_addr_t dev_addr, size_t size, int dir) { - swiotlb_sync_single(hwdev, dev_addr, size, dir); + swiotlb_sync_single(hwdev, dev_addr, size, dir, SYNC_FOR_DEVICE); } /* @@ -525,14 +540,15 @@ swiotlb_sync_single_for_device(struct de */ static inline void swiotlb_sync_single_range(struct device *hwdev, dma_addr_t dev_addr, - unsigned long offset, size_t size, int dir) + unsigned long offset, size_t size, + int dir, int target) { char *dma_addr = phys_to_virt(dev_addr) + offset; if (dir == DMA_NONE) BUG(); if (dma_addr >= io_tlb_start && dma_addr < io_tlb_end) - sync_single(hwdev, dma_addr, size, dir); + sync_single(hwdev, dma_addr, size, dir, target); else if (dir == DMA_FROM_DEVICE) mark_clean(dma_addr, size); } @@ -541,14 +557,16 @@ void swiotlb_sync_single_range_for_cpu(struct device *hwdev, dma_addr_t dev_addr, unsigned long offset, size_t size, int dir) { - swiotlb_sync_single_range(hwdev, dev_addr, offset, size, dir); + swiotlb_sync_single_range(hwdev, dev_addr, offset, size, dir, + SYNC_FOR_CPU); } void swiotlb_sync_single_range_for_device(struct device *hwdev, dma_addr_t dev_addr, unsigned long offset, size_t size, int dir) { - swiotlb_sync_single_range(hwdev, dev_addr, offset, size, dir); + swiotlb_sync_single_range(hwdev, dev_addr, offset, size, dir, + SYNC_FOR_DEVICE); } /* @@ -627,7 +645,7 @@ swiotlb_unmap_sg(struct device *hwdev, s */ static inline void swiotlb_sync_sg(struct device *hwdev, struct scatterlist *sg, - int nelems, int dir) + int nelems, int dir, int target) { int i; @@ -637,21 +655,21 @@ swiotlb_sync_sg(struct device *hwdev, st for (i = 0; i < nelems; i++, sg++) if (sg->dma_address != SG_ENT_PHYS_ADDRESS(sg)) sync_single(hwdev, (void *) sg->dma_address, - sg->dma_length, dir); + sg->dma_length, dir, target); } void swiotlb_sync_sg_for_cpu(struct device *hwdev, struct scatterlist *sg, int nelems, int dir) { - swiotlb_sync_sg(hwdev, sg, nelems, dir); + swiotlb_sync_sg(hwdev, sg, nelems, dir, SYNC_FOR_CPU); } void swiotlb_sync_sg_for_device(struct device *hwdev, struct scatterlist *sg, int nelems, int dir) { - swiotlb_sync_sg(hwdev, sg, nelems, dir); + swiotlb_sync_sg(hwdev, sg, nelems, dir, SYNC_FOR_DEVICE); } int jwltest-swiotlb-cleanup.patch: swiotlb.c | 45 ++++++++++++++++++++++----------------------- 1 files changed, 22 insertions(+), 23 deletions(-) --- NEW FILE jwltest-swiotlb-cleanup.patch --- --- linux-2.6.13/lib/swiotlb.c.orig 2005-09-10 16:52:14.546366026 -0400 +++ linux-2.6.13/lib/swiotlb.c 2005-09-10 16:53:39.362046570 -0400 @@ -492,9 +492,9 @@ swiotlb_unmap_single(struct device *hwde * address back to the card, you must first perform a * swiotlb_dma_sync_for_device, and then the device again owns the buffer */ -void -swiotlb_sync_single_for_cpu(struct device *hwdev, dma_addr_t dev_addr, - size_t size, int dir) +static inline void +swiotlb_sync_single(struct device *hwdev, dma_addr_t dev_addr, + size_t size, int dir) { char *dma_addr = phys_to_virt(dev_addr); @@ -507,17 +507,17 @@ swiotlb_sync_single_for_cpu(struct devic } void +swiotlb_sync_single_for_cpu(struct device *hwdev, dma_addr_t dev_addr, + size_t size, int dir) +{ + swiotlb_sync_single(hwdev, dev_addr, size, dir); +} + +void swiotlb_sync_single_for_device(struct device *hwdev, dma_addr_t dev_addr, size_t size, int dir) { - char *dma_addr = phys_to_virt(dev_addr); - - if (dir == DMA_NONE) - BUG(); - if (dma_addr >= io_tlb_start && dma_addr < io_tlb_end) - sync_single(hwdev, dma_addr, size, dir); - else if (dir == DMA_FROM_DEVICE) - mark_clean(dma_addr, size); + swiotlb_sync_single(hwdev, dev_addr, size, dir); } /* @@ -594,9 +594,9 @@ swiotlb_unmap_sg(struct device *hwdev, s * The same as swiotlb_sync_single_* but for a scatter-gather list, same rules * and usage. */ -void -swiotlb_sync_sg_for_cpu(struct device *hwdev, struct scatterlist *sg, - int nelems, int dir) +static inline void +swiotlb_sync_sg(struct device *hwdev, struct scatterlist *sg, + int nelems, int dir) { int i; @@ -610,18 +610,17 @@ swiotlb_sync_sg_for_cpu(struct device *h } void +swiotlb_sync_sg_for_cpu(struct device *hwdev, struct scatterlist *sg, + int nelems, int dir) +{ + swiotlb_sync_sg(hwdev, sg, nelems, dir); +} + +void swiotlb_sync_sg_for_device(struct device *hwdev, struct scatterlist *sg, int nelems, int dir) { - int i; - - if (dir == DMA_NONE) - BUG(); - - for (i = 0; i < nelems; i++, sg++) - if (sg->dma_address != SG_ENT_PHYS_ADDRESS(sg)) - sync_single(hwdev, (void *) sg->dma_address, - sg->dma_length, dir); + swiotlb_sync_sg(hwdev, sg, nelems, dir); } int jwltest-swiotlb-comments.patch: swiotlb.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) --- NEW FILE jwltest-swiotlb-comments.patch --- --- linux-2.6.13/lib/swiotlb.c.orig 2005-09-10 16:55:54.991910452 -0400 +++ linux-2.6.13/lib/swiotlb.c 2005-09-10 16:56:16.324058265 -0400 @@ -1,7 +1,7 @@ /* * Dynamic DMA mapping support. * - * This implementation is for IA-64 platforms that do not support + * This implementation is for IA-64 and EM64T platforms that do not support * I/O TLBs (aka DMA address translation hardware). * Copyright (C) 2000 Asit Mallick * Copyright (C) 2000 Goutham Rao @@ -11,7 +11,9 @@ * 03/05/07 davidm Switch from PCI-DMA to generic device DMA API. * 00/12/13 davidm Rename to swiotlb.c and add mark_clean() to avoid * unnecessary i-cache flushing. - * 04/07/.. ak Better overflow handling. Assorted fixes. + * 04/07/.. ak Better overflow handling. Assorted fixes. + * 05/09/10 linville Add support for syncing ranges, support syncing for + * DMA_BIDIRECTIONAL mappings, miscellaneous cleanup. */ #include jwltest-swiotlb-move.patch: arch/ia64/Kconfig | 4 arch/ia64/lib/Makefile | 2 arch/ia64/lib/swiotlb.c | 657 -------------------------------------------- arch/x86_64/kernel/Makefile | 2 lib/Makefile | 2 lib/swiotlb.c | 657 ++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 664 insertions(+), 660 deletions(-) --- NEW FILE jwltest-swiotlb-move.patch --- --- linux-2.6.13/lib/Makefile.orig 2005-09-10 16:49:35.905536242 -0400 +++ linux-2.6.13/lib/Makefile 2005-09-10 16:52:14.548365759 -0400 @@ -43,6 +43,8 @@ obj-$(CONFIG_TEXTSEARCH_KMP) += ts_kmp.o obj-$(CONFIG_TEXTSEARCH_BM) += ts_bm.o obj-$(CONFIG_TEXTSEARCH_FSM) += ts_fsm.o +obj-$(CONFIG_SWIOTLB) += swiotlb.o + hostprogs-y := gen_crc32table clean-files := crc32table.h --- /dev/null 2005-06-02 17:56:11.397464344 -0400 +++ linux-2.6.13/lib/swiotlb.c 2005-09-10 16:52:14.546366026 -0400 @@ -0,0 +1,657 @@ +/* + * Dynamic DMA mapping support. + * + * This implementation is for IA-64 platforms that do not support + * I/O TLBs (aka DMA address translation hardware). + * Copyright (C) 2000 Asit Mallick + * Copyright (C) 2000 Goutham Rao + * Copyright (C) 2000, 2003 Hewlett-Packard Co + * David Mosberger-Tang + * + * 03/05/07 davidm Switch from PCI-DMA to generic device DMA API. + * 00/12/13 davidm Rename to swiotlb.c and add mark_clean() to avoid + * unnecessary i-cache flushing. + * 04/07/.. ak Better overflow handling. Assorted fixes. + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +#include +#include + +#define OFFSET(val,align) ((unsigned long) \ + ( (val) & ( (align) - 1))) + +#define SG_ENT_VIRT_ADDRESS(sg) (page_address((sg)->page) + (sg)->offset) +#define SG_ENT_PHYS_ADDRESS(SG) virt_to_phys(SG_ENT_VIRT_ADDRESS(SG)) + +/* + * Maximum allowable number of contiguous slabs to map, + * must be a power of 2. What is the appropriate value ? + * The complexity of {map,unmap}_single is linearly dependent on this value. + */ +#define IO_TLB_SEGSIZE 128 + +/* + * log of the size of each IO TLB slab. The number of slabs is command line + * controllable. + */ +#define IO_TLB_SHIFT 11 + +int swiotlb_force; + +/* + * Used to do a quick range check in swiotlb_unmap_single and + * swiotlb_sync_single_*, to see if the memory was in fact allocated by this + * API. + */ +static char *io_tlb_start, *io_tlb_end; + +/* + * The number of IO TLB blocks (in groups of 64) betweeen io_tlb_start and + * io_tlb_end. This is command line adjustable via setup_io_tlb_npages. + */ +static unsigned long io_tlb_nslabs; + +/* + * When the IOMMU overflows we return a fallback buffer. This sets the size. + */ +static unsigned long io_tlb_overflow = 32*1024; + +void *io_tlb_overflow_buffer; + +/* + * This is a free list describing the number of free entries available from + * each index + */ +static unsigned int *io_tlb_list; +static unsigned int io_tlb_index; + +/* + * We need to save away the original address corresponding to a mapped entry + * for the sync operations. + */ +static unsigned char **io_tlb_orig_addr; + +/* + * Protect the above data structures in the map and unmap calls + */ +static DEFINE_SPINLOCK(io_tlb_lock); + +static int __init +setup_io_tlb_npages(char *str) +{ + if (isdigit(*str)) { + io_tlb_nslabs = simple_strtoul(str, &str, 0); + /* avoid tail segment of size < IO_TLB_SEGSIZE */ + io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE); + } + if (*str == ',') + ++str; + if (!strcmp(str, "force")) + swiotlb_force = 1; + return 1; +} +__setup("swiotlb=", setup_io_tlb_npages); +/* make io_tlb_overflow tunable too? */ + +/* + * Statically reserve bounce buffer space and initialize bounce buffer data + * structures for the software IO TLB used to implement the PCI DMA API. + */ +void +swiotlb_init_with_default_size (size_t default_size) +{ + unsigned long i; + + if (!io_tlb_nslabs) { + io_tlb_nslabs = (default_size >> IO_TLB_SHIFT); + io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE); + } + + /* + * Get IO TLB memory from the low pages + */ + io_tlb_start = alloc_bootmem_low_pages(io_tlb_nslabs * + (1 << IO_TLB_SHIFT)); + if (!io_tlb_start) + panic("Cannot allocate SWIOTLB buffer"); + io_tlb_end = io_tlb_start + io_tlb_nslabs * (1 << IO_TLB_SHIFT); + + /* + * Allocate and initialize the free list array. This array is used + * to find contiguous free memory regions of size up to IO_TLB_SEGSIZE + * between io_tlb_start and io_tlb_end. + */ + io_tlb_list = alloc_bootmem(io_tlb_nslabs * sizeof(int)); + for (i = 0; i < io_tlb_nslabs; i++) + io_tlb_list[i] = IO_TLB_SEGSIZE - OFFSET(i, IO_TLB_SEGSIZE); + io_tlb_index = 0; + io_tlb_orig_addr = alloc_bootmem(io_tlb_nslabs * sizeof(char *)); + + /* + * Get the overflow emergency buffer + */ + io_tlb_overflow_buffer = alloc_bootmem_low(io_tlb_overflow); + printk(KERN_INFO "Placing software IO TLB between 0x%lx - 0x%lx\n", + virt_to_phys(io_tlb_start), virt_to_phys(io_tlb_end)); +} + +void +swiotlb_init (void) +{ + swiotlb_init_with_default_size(64 * (1<<20)); /* default to 64MB */ +} + +static inline int +address_needs_mapping(struct device *hwdev, dma_addr_t addr) +{ + dma_addr_t mask = 0xffffffff; + /* If the device has a mask, use it, otherwise default to 32 bits */ + if (hwdev && hwdev->dma_mask) + mask = *hwdev->dma_mask; + return (addr & ~mask) != 0; +} + +/* + * Allocates bounce buffer and returns its kernel virtual address. + */ +static void * +map_single(struct device *hwdev, char *buffer, size_t size, int dir) +{ + unsigned long flags; + char *dma_addr; + unsigned int nslots, stride, index, wrap; + int i; + + /* + * For mappings greater than a page, we limit the stride (and + * hence alignment) to a page size. + */ + nslots = ALIGN(size, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT; + if (size > PAGE_SIZE) + stride = (1 << (PAGE_SHIFT - IO_TLB_SHIFT)); + else + stride = 1; + + if (!nslots) + BUG(); + + /* + * Find suitable number of IO TLB entries size that will fit this + * request and allocate a buffer from that IO TLB pool. + */ + spin_lock_irqsave(&io_tlb_lock, flags); + { + wrap = index = ALIGN(io_tlb_index, stride); + + if (index >= io_tlb_nslabs) + wrap = index = 0; + + do { + /* + * If we find a slot that indicates we have 'nslots' + * number of contiguous buffers, we allocate the + * buffers from that slot and mark the entries as '0' + * indicating unavailable. + */ + if (io_tlb_list[index] >= nslots) { + int count = 0; + + for (i = index; i < (int) (index + nslots); i++) + io_tlb_list[i] = 0; + for (i = index - 1; (OFFSET(i, IO_TLB_SEGSIZE) != IO_TLB_SEGSIZE -1) && io_tlb_list[i]; i--) + io_tlb_list[i] = ++count; + dma_addr = io_tlb_start + (index << IO_TLB_SHIFT); + + /* + * Update the indices to avoid searching in + * the next round. + */ + io_tlb_index = ((index + nslots) < io_tlb_nslabs + ? (index + nslots) : 0); + + goto found; + } + index += stride; + if (index >= io_tlb_nslabs) + index = 0; + } while (index != wrap); + + spin_unlock_irqrestore(&io_tlb_lock, flags); + return NULL; + } + found: + spin_unlock_irqrestore(&io_tlb_lock, flags); + + /* + * Save away the mapping from the original address to the DMA address. + * This is needed when we sync the memory. Then we sync the buffer if + * needed. + */ + io_tlb_orig_addr[index] = buffer; + if (dir == DMA_TO_DEVICE || dir == DMA_BIDIRECTIONAL) + memcpy(dma_addr, buffer, size); + + return dma_addr; +} + +/* + * dma_addr is the kernel virtual address of the bounce buffer to unmap. + */ +static void +unmap_single(struct device *hwdev, char *dma_addr, size_t size, int dir) +{ + unsigned long flags; + int i, count, nslots = ALIGN(size, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT; + int index = (dma_addr - io_tlb_start) >> IO_TLB_SHIFT; + char *buffer = io_tlb_orig_addr[index]; + + /* + * First, sync the memory before unmapping the entry + */ + if (buffer && ((dir == DMA_FROM_DEVICE) || (dir == DMA_BIDIRECTIONAL))) + /* + * bounce... copy the data back into the original buffer * and + * delete the bounce buffer. + */ + memcpy(buffer, dma_addr, size); + + /* + * Return the buffer to the free list by setting the corresponding + * entries to indicate the number of contigous entries available. + * While returning the entries to the free list, we merge the entries + * with slots below and above the pool being returned. + */ + spin_lock_irqsave(&io_tlb_lock, flags); + { + count = ((index + nslots) < ALIGN(index + 1, IO_TLB_SEGSIZE) ? + io_tlb_list[index + nslots] : 0); + /* + * Step 1: return the slots to the free list, merging the + * slots with superceeding slots + */ + for (i = index + nslots - 1; i >= index; i--) + io_tlb_list[i] = ++count; + /* + * Step 2: merge the returned slots with the preceding slots, + * if available (non zero) + */ + for (i = index - 1; (OFFSET(i, IO_TLB_SEGSIZE) != IO_TLB_SEGSIZE -1) && io_tlb_list[i]; i--) + io_tlb_list[i] = ++count; + } + spin_unlock_irqrestore(&io_tlb_lock, flags); +} + +static void +sync_single(struct device *hwdev, char *dma_addr, size_t size, int dir) +{ + int index = (dma_addr - io_tlb_start) >> IO_TLB_SHIFT; + char *buffer = io_tlb_orig_addr[index]; + + /* + * bounce... copy the data back into/from the original buffer + * XXX How do you handle DMA_BIDIRECTIONAL here ? + */ + if (dir == DMA_FROM_DEVICE) + memcpy(buffer, dma_addr, size); + else if (dir == DMA_TO_DEVICE) + memcpy(dma_addr, buffer, size); + else + BUG(); +} + +void * +swiotlb_alloc_coherent(struct device *hwdev, size_t size, + dma_addr_t *dma_handle, int flags) +{ + unsigned long dev_addr; + void *ret; + int order = get_order(size); + + /* + * XXX fix me: the DMA API should pass us an explicit DMA mask + * instead, or use ZONE_DMA32 (ia64 overloads ZONE_DMA to be a ~32 + * bit range instead of a 16MB one). + */ + flags |= GFP_DMA; + + ret = (void *)__get_free_pages(flags, order); + if (ret && address_needs_mapping(hwdev, virt_to_phys(ret))) { + /* + * The allocated memory isn't reachable by the device. + * Fall back on swiotlb_map_single(). + */ + free_pages((unsigned long) ret, order); + ret = NULL; + } + if (!ret) { + /* + * We are either out of memory or the device can't DMA + * to GFP_DMA memory; fall back on + * swiotlb_map_single(), which will grab memory from + * the lowest available address range. + */ + dma_addr_t handle; + handle = swiotlb_map_single(NULL, NULL, size, DMA_FROM_DEVICE); + if (dma_mapping_error(handle)) + return NULL; + + ret = phys_to_virt(handle); + } + + memset(ret, 0, size); + dev_addr = virt_to_phys(ret); + + /* Confirm address can be DMA'd by device */ + if (address_needs_mapping(hwdev, dev_addr)) { + printk("hwdev DMA mask = 0x%016Lx, dev_addr = 0x%016lx\n", + (unsigned long long)*hwdev->dma_mask, dev_addr); + panic("swiotlb_alloc_coherent: allocated memory is out of " + "range for device"); + } + *dma_handle = dev_addr; + return ret; +} + +void +swiotlb_free_coherent(struct device *hwdev, size_t size, void *vaddr, + dma_addr_t dma_handle) +{ + if (!(vaddr >= (void *)io_tlb_start + && vaddr < (void *)io_tlb_end)) + free_pages((unsigned long) vaddr, get_order(size)); + else + /* DMA_TO_DEVICE to avoid memcpy in unmap_single */ + swiotlb_unmap_single (hwdev, dma_handle, size, DMA_TO_DEVICE); +} + +static void +swiotlb_full(struct device *dev, size_t size, int dir, int do_panic) +{ + /* + * Ran out of IOMMU space for this operation. This is very bad. + * Unfortunately the drivers cannot handle this operation properly. + * unless they check for pci_dma_mapping_error (most don't) + * When the mapping is small enough return a static buffer to limit + * the damage, or panic when the transfer is too big. + */ + printk(KERN_ERR "PCI-DMA: Out of SW-IOMMU space for %lu bytes at " + "device %s\n", size, dev ? dev->bus_id : "?"); + + if (size > io_tlb_overflow && do_panic) { + if (dir == PCI_DMA_FROMDEVICE || dir == PCI_DMA_BIDIRECTIONAL) + panic("PCI-DMA: Memory would be corrupted\n"); + if (dir == PCI_DMA_TODEVICE || dir == PCI_DMA_BIDIRECTIONAL) + panic("PCI-DMA: Random memory would be DMAed\n"); + } +} + +/* + * Map a single buffer of the indicated size for DMA in streaming mode. The + * PCI address to use is returned. + * + * Once the device is given the dma address, the device owns this memory until + * either swiotlb_unmap_single or swiotlb_dma_sync_single is performed. + */ +dma_addr_t +swiotlb_map_single(struct device *hwdev, void *ptr, size_t size, int dir) +{ + unsigned long dev_addr = virt_to_phys(ptr); + void *map; + + if (dir == DMA_NONE) + BUG(); + /* + * If the pointer passed in happens to be in the device's DMA window, + * we can safely return the device addr and not worry about bounce + * buffering it. + */ + if (!address_needs_mapping(hwdev, dev_addr) && !swiotlb_force) + return dev_addr; + + /* + * Oh well, have to allocate and map a bounce buffer. + */ + map = map_single(hwdev, ptr, size, dir); + if (!map) { + swiotlb_full(hwdev, size, dir, 1); + map = io_tlb_overflow_buffer; + } + + dev_addr = virt_to_phys(map); + + /* + * Ensure that the address returned is DMA'ble + */ + if (address_needs_mapping(hwdev, dev_addr)) + panic("map_single: bounce buffer is not DMA'ble"); + + return dev_addr; +} + +/* + * Since DMA is i-cache coherent, any (complete) pages that were written via + * DMA can be marked as "clean" so that lazy_mmu_prot_update() doesn't have to + * flush them when they get mapped into an executable vm-area. + */ +static void +mark_clean(void *addr, size_t size) +{ + unsigned long pg_addr, end; + + pg_addr = PAGE_ALIGN((unsigned long) addr); + end = (unsigned long) addr + size; + while (pg_addr + PAGE_SIZE <= end) { + struct page *page = virt_to_page(pg_addr); + set_bit(PG_arch_1, &page->flags); + pg_addr += PAGE_SIZE; + } +} + +/* + * Unmap a single streaming mode DMA translation. The dma_addr and size must + * match what was provided for in a previous swiotlb_map_single call. All + * other usages are undefined. + * + * After this call, reads by the cpu to the buffer are guaranteed to see + * whatever the device wrote there. + */ +void +swiotlb_unmap_single(struct device *hwdev, dma_addr_t dev_addr, size_t size, + int dir) +{ + char *dma_addr = phys_to_virt(dev_addr); + + if (dir == DMA_NONE) + BUG(); + if (dma_addr >= io_tlb_start && dma_addr < io_tlb_end) + unmap_single(hwdev, dma_addr, size, dir); + else if (dir == DMA_FROM_DEVICE) + mark_clean(dma_addr, size); +} + +/* + * Make physical memory consistent for a single streaming mode DMA translation + * after a transfer. + * + * If you perform a swiotlb_map_single() but wish to interrogate the buffer + * using the cpu, yet do not wish to teardown the PCI dma mapping, you must + * call this function before doing so. At the next point you give the PCI dma + * address back to the card, you must first perform a + * swiotlb_dma_sync_for_device, and then the device again owns the buffer + */ +void +swiotlb_sync_single_for_cpu(struct device *hwdev, dma_addr_t dev_addr, + size_t size, int dir) +{ + char *dma_addr = phys_to_virt(dev_addr); + + if (dir == DMA_NONE) + BUG(); + if (dma_addr >= io_tlb_start && dma_addr < io_tlb_end) + sync_single(hwdev, dma_addr, size, dir); + else if (dir == DMA_FROM_DEVICE) + mark_clean(dma_addr, size); +} + +void +swiotlb_sync_single_for_device(struct device *hwdev, dma_addr_t dev_addr, + size_t size, int dir) +{ + char *dma_addr = phys_to_virt(dev_addr); + + if (dir == DMA_NONE) + BUG(); + if (dma_addr >= io_tlb_start && dma_addr < io_tlb_end) + sync_single(hwdev, dma_addr, size, dir); + else if (dir == DMA_FROM_DEVICE) + mark_clean(dma_addr, size); +} + +/* + * Map a set of buffers described by scatterlist in streaming mode for DMA. + * This is the scatter-gather version of the above swiotlb_map_single + * interface. Here the scatter gather list elements are each tagged with the + * appropriate dma address and length. They are obtained via + * sg_dma_{address,length}(SG). + * + * NOTE: An implementation may be able to use a smaller number of + * DMA address/length pairs than there are SG table elements. + * (for example via virtual mapping capabilities) + * The routine returns the number of addr/length pairs actually + * used, at most nents. + * + * Device ownership issues as mentioned above for swiotlb_map_single are the + * same here. + */ +int +swiotlb_map_sg(struct device *hwdev, struct scatterlist *sg, int nelems, + int dir) +{ + void *addr; + unsigned long dev_addr; + int i; + + if (dir == DMA_NONE) + BUG(); + + for (i = 0; i < nelems; i++, sg++) { + addr = SG_ENT_VIRT_ADDRESS(sg); + dev_addr = virt_to_phys(addr); + if (swiotlb_force || address_needs_mapping(hwdev, dev_addr)) { + sg->dma_address = (dma_addr_t) virt_to_phys(map_single(hwdev, addr, sg->length, dir)); + if (!sg->dma_address) { + /* Don't panic here, we expect map_sg users + to do proper error handling. */ + swiotlb_full(hwdev, sg->length, dir, 0); + swiotlb_unmap_sg(hwdev, sg - i, i, dir); + sg[0].dma_length = 0; + return 0; + } + } else + sg->dma_address = dev_addr; + sg->dma_length = sg->length; + } + return nelems; +} + +/* + * Unmap a set of streaming mode DMA translations. Again, cpu read rules + * concerning calls here are the same as for swiotlb_unmap_single() above. + */ +void +swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sg, int nelems, + int dir) +{ + int i; + + if (dir == DMA_NONE) + BUG(); + + for (i = 0; i < nelems; i++, sg++) + if (sg->dma_address != SG_ENT_PHYS_ADDRESS(sg)) + unmap_single(hwdev, (void *) phys_to_virt(sg->dma_address), sg->dma_length, dir); + else if (dir == DMA_FROM_DEVICE) + mark_clean(SG_ENT_VIRT_ADDRESS(sg), sg->dma_length); +} + +/* + * Make physical memory consistent for a set of streaming mode DMA translations + * after a transfer. + * + * The same as swiotlb_sync_single_* but for a scatter-gather list, same rules + * and usage. + */ +void +swiotlb_sync_sg_for_cpu(struct device *hwdev, struct scatterlist *sg, + int nelems, int dir) +{ + int i; + + if (dir == DMA_NONE) + BUG(); + + for (i = 0; i < nelems; i++, sg++) + if (sg->dma_address != SG_ENT_PHYS_ADDRESS(sg)) + sync_single(hwdev, (void *) sg->dma_address, + sg->dma_length, dir); +} + +void +swiotlb_sync_sg_for_device(struct device *hwdev, struct scatterlist *sg, + int nelems, int dir) +{ + int i; + + if (dir == DMA_NONE) + BUG(); + + for (i = 0; i < nelems; i++, sg++) + if (sg->dma_address != SG_ENT_PHYS_ADDRESS(sg)) + sync_single(hwdev, (void *) sg->dma_address, + sg->dma_length, dir); +} + +int +swiotlb_dma_mapping_error(dma_addr_t dma_addr) +{ + return (dma_addr == virt_to_phys(io_tlb_overflow_buffer)); +} + +/* + * Return whether the given PCI device DMA address mask can be supported + * properly. For example, if your device can only drive the low 24-bits + * during PCI bus mastering, then you would pass 0x00ffffff as the mask to + * this function. + */ +int +swiotlb_dma_supported (struct device *hwdev, u64 mask) +{ + return (virt_to_phys (io_tlb_end) - 1) <= mask; +} + +EXPORT_SYMBOL(swiotlb_init); +EXPORT_SYMBOL(swiotlb_map_single); +EXPORT_SYMBOL(swiotlb_unmap_single); +EXPORT_SYMBOL(swiotlb_map_sg); +EXPORT_SYMBOL(swiotlb_unmap_sg); +EXPORT_SYMBOL(swiotlb_sync_single_for_cpu); +EXPORT_SYMBOL(swiotlb_sync_single_for_device); +EXPORT_SYMBOL(swiotlb_sync_sg_for_cpu); +EXPORT_SYMBOL(swiotlb_sync_sg_for_device); +EXPORT_SYMBOL(swiotlb_dma_mapping_error); +EXPORT_SYMBOL(swiotlb_alloc_coherent); +EXPORT_SYMBOL(swiotlb_free_coherent); +EXPORT_SYMBOL(swiotlb_dma_supported); --- linux-2.6.13/arch/x86_64/kernel/Makefile.orig 2005-09-10 16:49:32.444998075 -0400 +++ linux-2.6.13/arch/x86_64/kernel/Makefile 2005-09-10 16:52:14.549365626 -0400 @@ -27,7 +27,6 @@ obj-$(CONFIG_CPU_FREQ) += cpufreq/ obj-$(CONFIG_EARLY_PRINTK) += early_printk.o obj-$(CONFIG_GART_IOMMU) += pci-gart.o aperture.o obj-$(CONFIG_DUMMY_IOMMU) += pci-nommu.o pci-dma.o -obj-$(CONFIG_SWIOTLB) += swiotlb.o obj-$(CONFIG_KPROBES) += kprobes.o obj-$(CONFIG_X86_PM_TIMER) += pmtimer.o @@ -41,7 +40,6 @@ CFLAGS_vsyscall.o := $(PROFILING) -g0 bootflag-y += ../../i386/kernel/bootflag.o cpuid-$(subst m,y,$(CONFIG_X86_CPUID)) += ../../i386/kernel/cpuid.o topology-y += ../../i386/mach-default/topology.o -swiotlb-$(CONFIG_SWIOTLB) += ../../ia64/lib/swiotlb.o microcode-$(subst m,y,$(CONFIG_MICROCODE)) += ../../i386/kernel/microcode.o intel_cacheinfo-y += ../../i386/kernel/cpu/intel_cacheinfo.o quirks-y += ../../i386/kernel/quirks.o --- linux-2.6.13/arch/ia64/lib/Makefile.orig 2005-09-10 16:49:31.667101891 -0400 +++ linux-2.6.13/arch/ia64/lib/Makefile 2005-09-10 16:52:14.554364959 -0400 @@ -9,7 +9,7 @@ lib-y := __divsi3.o __udivsi3.o __modsi3 bitop.o checksum.o clear_page.o csum_partial_copy.o \ clear_user.o strncpy_from_user.o strlen_user.o strnlen_user.o \ flush.o ip_fast_csum.o do_csum.o \ - memset.o strlen.o swiotlb.o + memset.o strlen.o lib-$(CONFIG_ITANIUM) += copy_page.o copy_user.o memcpy.o lib-$(CONFIG_MCKINLEY) += copy_page_mck.o memcpy_mck.o --- linux-2.6.13/arch/ia64/lib/swiotlb.c.orig 2005-09-10 16:49:31.671101357 -0400 +++ linux-2.6.13/arch/ia64/lib/swiotlb.c 2005-09-10 16:52:14.552365226 -0400 @@ -1,657 +0,0 @@ -/* - * Dynamic DMA mapping support. - * - * This implementation is for IA-64 platforms that do not support - * I/O TLBs (aka DMA address translation hardware). - * Copyright (C) 2000 Asit Mallick - * Copyright (C) 2000 Goutham Rao - * Copyright (C) 2000, 2003 Hewlett-Packard Co - * David Mosberger-Tang - * - * 03/05/07 davidm Switch from PCI-DMA to generic device DMA API. - * 00/12/13 davidm Rename to swiotlb.c and add mark_clean() to avoid - * unnecessary i-cache flushing. - * 04/07/.. ak Better overflow handling. Assorted fixes. - */ - -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -#include -#include - -#define OFFSET(val,align) ((unsigned long) \ - ( (val) & ( (align) - 1))) - -#define SG_ENT_VIRT_ADDRESS(sg) (page_address((sg)->page) + (sg)->offset) -#define SG_ENT_PHYS_ADDRESS(SG) virt_to_phys(SG_ENT_VIRT_ADDRESS(SG)) - -/* - * Maximum allowable number of contiguous slabs to map, - * must be a power of 2. What is the appropriate value ? - * The complexity of {map,unmap}_single is linearly dependent on this value. - */ -#define IO_TLB_SEGSIZE 128 - -/* - * log of the size of each IO TLB slab. The number of slabs is command line - * controllable. - */ -#define IO_TLB_SHIFT 11 - -int swiotlb_force; - -/* - * Used to do a quick range check in swiotlb_unmap_single and - * swiotlb_sync_single_*, to see if the memory was in fact allocated by this - * API. - */ -static char *io_tlb_start, *io_tlb_end; - -/* - * The number of IO TLB blocks (in groups of 64) betweeen io_tlb_start and - * io_tlb_end. This is command line adjustable via setup_io_tlb_npages. - */ -static unsigned long io_tlb_nslabs; - -/* - * When the IOMMU overflows we return a fallback buffer. This sets the size. - */ -static unsigned long io_tlb_overflow = 32*1024; - -void *io_tlb_overflow_buffer; - -/* - * This is a free list describing the number of free entries available from - * each index - */ -static unsigned int *io_tlb_list; -static unsigned int io_tlb_index; - -/* - * We need to save away the original address corresponding to a mapped entry - * for the sync operations. - */ -static unsigned char **io_tlb_orig_addr; - -/* - * Protect the above data structures in the map and unmap calls - */ -static DEFINE_SPINLOCK(io_tlb_lock); - -static int __init -setup_io_tlb_npages(char *str) -{ - if (isdigit(*str)) { - io_tlb_nslabs = simple_strtoul(str, &str, 0); - /* avoid tail segment of size < IO_TLB_SEGSIZE */ - io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE); - } - if (*str == ',') - ++str; - if (!strcmp(str, "force")) - swiotlb_force = 1; - return 1; -} -__setup("swiotlb=", setup_io_tlb_npages); -/* make io_tlb_overflow tunable too? */ - -/* - * Statically reserve bounce buffer space and initialize bounce buffer data - * structures for the software IO TLB used to implement the PCI DMA API. - */ -void -swiotlb_init_with_default_size (size_t default_size) -{ - unsigned long i; - - if (!io_tlb_nslabs) { - io_tlb_nslabs = (default_size >> IO_TLB_SHIFT); - io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE); - } - - /* - * Get IO TLB memory from the low pages - */ - io_tlb_start = alloc_bootmem_low_pages(io_tlb_nslabs * - (1 << IO_TLB_SHIFT)); - if (!io_tlb_start) - panic("Cannot allocate SWIOTLB buffer"); - io_tlb_end = io_tlb_start + io_tlb_nslabs * (1 << IO_TLB_SHIFT); - - /* - * Allocate and initialize the free list array. This array is used - * to find contiguous free memory regions of size up to IO_TLB_SEGSIZE - * between io_tlb_start and io_tlb_end. - */ - io_tlb_list = alloc_bootmem(io_tlb_nslabs * sizeof(int)); - for (i = 0; i < io_tlb_nslabs; i++) - io_tlb_list[i] = IO_TLB_SEGSIZE - OFFSET(i, IO_TLB_SEGSIZE); - io_tlb_index = 0; - io_tlb_orig_addr = alloc_bootmem(io_tlb_nslabs * sizeof(char *)); - - /* - * Get the overflow emergency buffer - */ - io_tlb_overflow_buffer = alloc_bootmem_low(io_tlb_overflow); - printk(KERN_INFO "Placing software IO TLB between 0x%lx - 0x%lx\n", - virt_to_phys(io_tlb_start), virt_to_phys(io_tlb_end)); -} - -void -swiotlb_init (void) -{ - swiotlb_init_with_default_size(64 * (1<<20)); /* default to 64MB */ -} - -static inline int -address_needs_mapping(struct device *hwdev, dma_addr_t addr) -{ - dma_addr_t mask = 0xffffffff; - /* If the device has a mask, use it, otherwise default to 32 bits */ - if (hwdev && hwdev->dma_mask) - mask = *hwdev->dma_mask; - return (addr & ~mask) != 0; -} - -/* - * Allocates bounce buffer and returns its kernel virtual address. - */ -static void * -map_single(struct device *hwdev, char *buffer, size_t size, int dir) -{ - unsigned long flags; - char *dma_addr; - unsigned int nslots, stride, index, wrap; - int i; - - /* - * For mappings greater than a page, we limit the stride (and - * hence alignment) to a page size. - */ - nslots = ALIGN(size, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT; - if (size > PAGE_SIZE) - stride = (1 << (PAGE_SHIFT - IO_TLB_SHIFT)); - else - stride = 1; - - if (!nslots) - BUG(); - - /* - * Find suitable number of IO TLB entries size that will fit this - * request and allocate a buffer from that IO TLB pool. - */ - spin_lock_irqsave(&io_tlb_lock, flags); - { - wrap = index = ALIGN(io_tlb_index, stride); - - if (index >= io_tlb_nslabs) - wrap = index = 0; - - do { - /* - * If we find a slot that indicates we have 'nslots' - * number of contiguous buffers, we allocate the - * buffers from that slot and mark the entries as '0' - * indicating unavailable. - */ - if (io_tlb_list[index] >= nslots) { - int count = 0; - - for (i = index; i < (int) (index + nslots); i++) - io_tlb_list[i] = 0; - for (i = index - 1; (OFFSET(i, IO_TLB_SEGSIZE) != IO_TLB_SEGSIZE -1) && io_tlb_list[i]; i--) - io_tlb_list[i] = ++count; - dma_addr = io_tlb_start + (index << IO_TLB_SHIFT); - - /* - * Update the indices to avoid searching in - * the next round. - */ - io_tlb_index = ((index + nslots) < io_tlb_nslabs - ? (index + nslots) : 0); - - goto found; - } - index += stride; - if (index >= io_tlb_nslabs) - index = 0; - } while (index != wrap); - - spin_unlock_irqrestore(&io_tlb_lock, flags); - return NULL; - } - found: - spin_unlock_irqrestore(&io_tlb_lock, flags); - - /* - * Save away the mapping from the original address to the DMA address. - * This is needed when we sync the memory. Then we sync the buffer if - * needed. - */ - io_tlb_orig_addr[index] = buffer; - if (dir == DMA_TO_DEVICE || dir == DMA_BIDIRECTIONAL) - memcpy(dma_addr, buffer, size); - - return dma_addr; -} - -/* - * dma_addr is the kernel virtual address of the bounce buffer to unmap. - */ -static void -unmap_single(struct device *hwdev, char *dma_addr, size_t size, int dir) -{ - unsigned long flags; - int i, count, nslots = ALIGN(size, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT; - int index = (dma_addr - io_tlb_start) >> IO_TLB_SHIFT; - char *buffer = io_tlb_orig_addr[index]; - - /* - * First, sync the memory before unmapping the entry - */ - if (buffer && ((dir == DMA_FROM_DEVICE) || (dir == DMA_BIDIRECTIONAL))) - /* - * bounce... copy the data back into the original buffer * and - * delete the bounce buffer. - */ - memcpy(buffer, dma_addr, size); - - /* - * Return the buffer to the free list by setting the corresponding - * entries to indicate the number of contigous entries available. - * While returning the entries to the free list, we merge the entries - * with slots below and above the pool being returned. - */ - spin_lock_irqsave(&io_tlb_lock, flags); - { - count = ((index + nslots) < ALIGN(index + 1, IO_TLB_SEGSIZE) ? - io_tlb_list[index + nslots] : 0); - /* - * Step 1: return the slots to the free list, merging the - * slots with superceeding slots - */ - for (i = index + nslots - 1; i >= index; i--) - io_tlb_list[i] = ++count; - /* - * Step 2: merge the returned slots with the preceding slots, - * if available (non zero) - */ - for (i = index - 1; (OFFSET(i, IO_TLB_SEGSIZE) != IO_TLB_SEGSIZE -1) && io_tlb_list[i]; i--) - io_tlb_list[i] = ++count; - } - spin_unlock_irqrestore(&io_tlb_lock, flags); -} - -static void -sync_single(struct device *hwdev, char *dma_addr, size_t size, int dir) -{ - int index = (dma_addr - io_tlb_start) >> IO_TLB_SHIFT; - char *buffer = io_tlb_orig_addr[index]; - - /* - * bounce... copy the data back into/from the original buffer - * XXX How do you handle DMA_BIDIRECTIONAL here ? - */ - if (dir == DMA_FROM_DEVICE) - memcpy(buffer, dma_addr, size); - else if (dir == DMA_TO_DEVICE) - memcpy(dma_addr, buffer, size); - else - BUG(); -} - -void * -swiotlb_alloc_coherent(struct device *hwdev, size_t size, - dma_addr_t *dma_handle, int flags) -{ - unsigned long dev_addr; - void *ret; - int order = get_order(size); - - /* - * XXX fix me: the DMA API should pass us an explicit DMA mask - * instead, or use ZONE_DMA32 (ia64 overloads ZONE_DMA to be a ~32 - * bit range instead of a 16MB one). - */ - flags |= GFP_DMA; - - ret = (void *)__get_free_pages(flags, order); - if (ret && address_needs_mapping(hwdev, virt_to_phys(ret))) { - /* - * The allocated memory isn't reachable by the device. - * Fall back on swiotlb_map_single(). - */ - free_pages((unsigned long) ret, order); - ret = NULL; - } - if (!ret) { - /* - * We are either out of memory or the device can't DMA - * to GFP_DMA memory; fall back on - * swiotlb_map_single(), which will grab memory from - * the lowest available address range. - */ - dma_addr_t handle; - handle = swiotlb_map_single(NULL, NULL, size, DMA_FROM_DEVICE); - if (dma_mapping_error(handle)) - return NULL; - - ret = phys_to_virt(handle); - } - - memset(ret, 0, size); - dev_addr = virt_to_phys(ret); - - /* Confirm address can be DMA'd by device */ - if (address_needs_mapping(hwdev, dev_addr)) { - printk("hwdev DMA mask = 0x%016Lx, dev_addr = 0x%016lx\n", - (unsigned long long)*hwdev->dma_mask, dev_addr); - panic("swiotlb_alloc_coherent: allocated memory is out of " - "range for device"); - } - *dma_handle = dev_addr; - return ret; -} - -void -swiotlb_free_coherent(struct device *hwdev, size_t size, void *vaddr, - dma_addr_t dma_handle) -{ - if (!(vaddr >= (void *)io_tlb_start - && vaddr < (void *)io_tlb_end)) - free_pages((unsigned long) vaddr, get_order(size)); - else - /* DMA_TO_DEVICE to avoid memcpy in unmap_single */ - swiotlb_unmap_single (hwdev, dma_handle, size, DMA_TO_DEVICE); -} - -static void -swiotlb_full(struct device *dev, size_t size, int dir, int do_panic) -{ - /* - * Ran out of IOMMU space for this operation. This is very bad. - * Unfortunately the drivers cannot handle this operation properly. - * unless they check for pci_dma_mapping_error (most don't) - * When the mapping is small enough return a static buffer to limit - * the damage, or panic when the transfer is too big. - */ - printk(KERN_ERR "PCI-DMA: Out of SW-IOMMU space for %lu bytes at " - "device %s\n", size, dev ? dev->bus_id : "?"); - - if (size > io_tlb_overflow && do_panic) { - if (dir == PCI_DMA_FROMDEVICE || dir == PCI_DMA_BIDIRECTIONAL) - panic("PCI-DMA: Memory would be corrupted\n"); - if (dir == PCI_DMA_TODEVICE || dir == PCI_DMA_BIDIRECTIONAL) - panic("PCI-DMA: Random memory would be DMAed\n"); - } -} - -/* - * Map a single buffer of the indicated size for DMA in streaming mode. The - * PCI address to use is returned. - * - * Once the device is given the dma address, the device owns this memory until - * either swiotlb_unmap_single or swiotlb_dma_sync_single is performed. - */ -dma_addr_t -swiotlb_map_single(struct device *hwdev, void *ptr, size_t size, int dir) -{ - unsigned long dev_addr = virt_to_phys(ptr); - void *map; - - if (dir == DMA_NONE) - BUG(); - /* - * If the pointer passed in happens to be in the device's DMA window, - * we can safely return the device addr and not worry about bounce - * buffering it. - */ - if (!address_needs_mapping(hwdev, dev_addr) && !swiotlb_force) - return dev_addr; - - /* - * Oh well, have to allocate and map a bounce buffer. - */ - map = map_single(hwdev, ptr, size, dir); - if (!map) { - swiotlb_full(hwdev, size, dir, 1); - map = io_tlb_overflow_buffer; - } - - dev_addr = virt_to_phys(map); - - /* - * Ensure that the address returned is DMA'ble - */ - if (address_needs_mapping(hwdev, dev_addr)) - panic("map_single: bounce buffer is not DMA'ble"); - - return dev_addr; -} - -/* - * Since DMA is i-cache coherent, any (complete) pages that were written via - * DMA can be marked as "clean" so that lazy_mmu_prot_update() doesn't have to - * flush them when they get mapped into an executable vm-area. - */ -static void -mark_clean(void *addr, size_t size) -{ - unsigned long pg_addr, end; - - pg_addr = PAGE_ALIGN((unsigned long) addr); - end = (unsigned long) addr + size; - while (pg_addr + PAGE_SIZE <= end) { - struct page *page = virt_to_page(pg_addr); - set_bit(PG_arch_1, &page->flags); - pg_addr += PAGE_SIZE; - } -} - -/* - * Unmap a single streaming mode DMA translation. The dma_addr and size must - * match what was provided for in a previous swiotlb_map_single call. All - * other usages are undefined. - * - * After this call, reads by the cpu to the buffer are guaranteed to see - * whatever the device wrote there. - */ -void -swiotlb_unmap_single(struct device *hwdev, dma_addr_t dev_addr, size_t size, - int dir) -{ - char *dma_addr = phys_to_virt(dev_addr); - - if (dir == DMA_NONE) - BUG(); - if (dma_addr >= io_tlb_start && dma_addr < io_tlb_end) - unmap_single(hwdev, dma_addr, size, dir); - else if (dir == DMA_FROM_DEVICE) - mark_clean(dma_addr, size); -} - -/* - * Make physical memory consistent for a single streaming mode DMA translation - * after a transfer. - * - * If you perform a swiotlb_map_single() but wish to interrogate the buffer - * using the cpu, yet do not wish to teardown the PCI dma mapping, you must - * call this function before doing so. At the next point you give the PCI dma - * address back to the card, you must first perform a - * swiotlb_dma_sync_for_device, and then the device again owns the buffer - */ -void -swiotlb_sync_single_for_cpu(struct device *hwdev, dma_addr_t dev_addr, - size_t size, int dir) -{ - char *dma_addr = phys_to_virt(dev_addr); - - if (dir == DMA_NONE) - BUG(); - if (dma_addr >= io_tlb_start && dma_addr < io_tlb_end) - sync_single(hwdev, dma_addr, size, dir); - else if (dir == DMA_FROM_DEVICE) - mark_clean(dma_addr, size); -} - -void -swiotlb_sync_single_for_device(struct device *hwdev, dma_addr_t dev_addr, - size_t size, int dir) -{ - char *dma_addr = phys_to_virt(dev_addr); - - if (dir == DMA_NONE) - BUG(); - if (dma_addr >= io_tlb_start && dma_addr < io_tlb_end) - sync_single(hwdev, dma_addr, size, dir); - else if (dir == DMA_FROM_DEVICE) - mark_clean(dma_addr, size); -} - -/* - * Map a set of buffers described by scatterlist in streaming mode for DMA. - * This is the scatter-gather version of the above swiotlb_map_single - * interface. Here the scatter gather list elements are each tagged with the - * appropriate dma address and length. They are obtained via - * sg_dma_{address,length}(SG). - * - * NOTE: An implementation may be able to use a smaller number of - * DMA address/length pairs than there are SG table elements. - * (for example via virtual mapping capabilities) - * The routine returns the number of addr/length pairs actually - * used, at most nents. - * - * Device ownership issues as mentioned above for swiotlb_map_single are the - * same here. - */ -int -swiotlb_map_sg(struct device *hwdev, struct scatterlist *sg, int nelems, - int dir) -{ - void *addr; - unsigned long dev_addr; - int i; - - if (dir == DMA_NONE) - BUG(); - - for (i = 0; i < nelems; i++, sg++) { - addr = SG_ENT_VIRT_ADDRESS(sg); - dev_addr = virt_to_phys(addr); - if (swiotlb_force || address_needs_mapping(hwdev, dev_addr)) { - sg->dma_address = (dma_addr_t) virt_to_phys(map_single(hwdev, addr, sg->length, dir)); - if (!sg->dma_address) { - /* Don't panic here, we expect map_sg users - to do proper error handling. */ - swiotlb_full(hwdev, sg->length, dir, 0); - swiotlb_unmap_sg(hwdev, sg - i, i, dir); - sg[0].dma_length = 0; - return 0; - } - } else - sg->dma_address = dev_addr; - sg->dma_length = sg->length; - } - return nelems; -} - -/* - * Unmap a set of streaming mode DMA translations. Again, cpu read rules - * concerning calls here are the same as for swiotlb_unmap_single() above. - */ -void -swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sg, int nelems, - int dir) -{ - int i; - - if (dir == DMA_NONE) - BUG(); - - for (i = 0; i < nelems; i++, sg++) - if (sg->dma_address != SG_ENT_PHYS_ADDRESS(sg)) - unmap_single(hwdev, (void *) phys_to_virt(sg->dma_address), sg->dma_length, dir); - else if (dir == DMA_FROM_DEVICE) - mark_clean(SG_ENT_VIRT_ADDRESS(sg), sg->dma_length); -} - -/* - * Make physical memory consistent for a set of streaming mode DMA translations - * after a transfer. - * - * The same as swiotlb_sync_single_* but for a scatter-gather list, same rules - * and usage. - */ -void -swiotlb_sync_sg_for_cpu(struct device *hwdev, struct scatterlist *sg, - int nelems, int dir) -{ - int i; - - if (dir == DMA_NONE) - BUG(); - - for (i = 0; i < nelems; i++, sg++) - if (sg->dma_address != SG_ENT_PHYS_ADDRESS(sg)) - sync_single(hwdev, (void *) sg->dma_address, - sg->dma_length, dir); -} - -void -swiotlb_sync_sg_for_device(struct device *hwdev, struct scatterlist *sg, - int nelems, int dir) -{ - int i; - - if (dir == DMA_NONE) - BUG(); - - for (i = 0; i < nelems; i++, sg++) - if (sg->dma_address != SG_ENT_PHYS_ADDRESS(sg)) - sync_single(hwdev, (void *) sg->dma_address, - sg->dma_length, dir); -} - -int -swiotlb_dma_mapping_error(dma_addr_t dma_addr) -{ - return (dma_addr == virt_to_phys(io_tlb_overflow_buffer)); -} - -/* - * Return whether the given PCI device DMA address mask can be supported - * properly. For example, if your device can only drive the low 24-bits - * during PCI bus mastering, then you would pass 0x00ffffff as the mask to - * this function. - */ -int -swiotlb_dma_supported (struct device *hwdev, u64 mask) -{ - return (virt_to_phys (io_tlb_end) - 1) <= mask; -} - -EXPORT_SYMBOL(swiotlb_init); -EXPORT_SYMBOL(swiotlb_map_single); -EXPORT_SYMBOL(swiotlb_unmap_single); -EXPORT_SYMBOL(swiotlb_map_sg); -EXPORT_SYMBOL(swiotlb_unmap_sg); -EXPORT_SYMBOL(swiotlb_sync_single_for_cpu); -EXPORT_SYMBOL(swiotlb_sync_single_for_device); -EXPORT_SYMBOL(swiotlb_sync_sg_for_cpu); -EXPORT_SYMBOL(swiotlb_sync_sg_for_device); -EXPORT_SYMBOL(swiotlb_dma_mapping_error); -EXPORT_SYMBOL(swiotlb_alloc_coherent); -EXPORT_SYMBOL(swiotlb_free_coherent); -EXPORT_SYMBOL(swiotlb_dma_supported); --- linux-2.6.13/arch/ia64/Kconfig.orig 2005-09-10 16:49:31.614108963 -0400 +++ linux-2.6.13/arch/ia64/Kconfig 2005-09-10 16:52:14.551365359 -0400 @@ -26,6 +26,10 @@ config MMU bool default y +config SWIOTLB + bool + default y + config RWSEM_XCHGADD_ALGORITHM bool default y jwltest-swiotlb-range.patch: include/asm-x86_64/swiotlb.h | 8 ++++++++ lib/swiotlb.c | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) --- NEW FILE jwltest-swiotlb-range.patch --- --- linux-2.6.13/include/asm-x86_64/swiotlb.h.orig 2005-08-28 19:41:01.000000000 -0400 +++ linux-2.6.13/include/asm-x86_64/swiotlb.h 2005-09-10 16:54:25.848830086 -0400 @@ -15,6 +15,14 @@ extern void swiotlb_sync_single_for_cpu( extern void swiotlb_sync_single_for_device(struct device *hwdev, dma_addr_t dev_addr, size_t size, int dir); +extern void swiotlb_sync_single_range_for_cpu(struct device *hwdev, + dma_addr_t dev_addr, + unsigned long offset, + size_t size, int dir); +extern void swiotlb_sync_single_range_for_device(struct device *hwdev, + dma_addr_t dev_addr, + unsigned long offset, + size_t size, int dir); extern void swiotlb_sync_sg_for_cpu(struct device *hwdev, struct scatterlist *sg, int nelems, int dir); --- linux-2.6.13/lib/swiotlb.c.orig 2005-09-10 16:53:39.362046570 -0400 +++ linux-2.6.13/lib/swiotlb.c 2005-09-10 16:54:25.850829818 -0400 @@ -521,6 +521,37 @@ swiotlb_sync_single_for_device(struct de } /* + * Same as above, but for a sub-range of the mapping. + */ +static inline void +swiotlb_sync_single_range(struct device *hwdev, dma_addr_t dev_addr, + unsigned long offset, size_t size, int dir) +{ + char *dma_addr = phys_to_virt(dev_addr) + offset; + + if (dir == DMA_NONE) + BUG(); + if (dma_addr >= io_tlb_start && dma_addr < io_tlb_end) + sync_single(hwdev, dma_addr, size, dir); + else if (dir == DMA_FROM_DEVICE) + mark_clean(dma_addr, size); +} + +void +swiotlb_sync_single_range_for_cpu(struct device *hwdev, dma_addr_t dev_addr, + unsigned long offset, size_t size, int dir) +{ + swiotlb_sync_single_range(hwdev, dev_addr, offset, size, dir); +} + +void +swiotlb_sync_single_range_for_device(struct device *hwdev, dma_addr_t dev_addr, + unsigned long offset, size_t size, int dir) +{ + swiotlb_sync_single_range(hwdev, dev_addr, offset, size, dir); +} + +/* * Map a set of buffers described by scatterlist in streaming mode for DMA. * This is the scatter-gather version of the above swiotlb_map_single * interface. Here the scatter gather list elements are each tagged with the @@ -648,6 +679,8 @@ EXPORT_SYMBOL(swiotlb_map_sg); EXPORT_SYMBOL(swiotlb_unmap_sg); EXPORT_SYMBOL(swiotlb_sync_single_for_cpu); EXPORT_SYMBOL(swiotlb_sync_single_for_device); +EXPORT_SYMBOL_GPL(swiotlb_sync_single_range_for_cpu); +EXPORT_SYMBOL_GPL(swiotlb_sync_single_range_for_device); EXPORT_SYMBOL(swiotlb_sync_sg_for_cpu); EXPORT_SYMBOL(swiotlb_sync_sg_for_device); EXPORT_SYMBOL(swiotlb_dma_mapping_error); Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v retrieving revision 1.1619 retrieving revision 1.1619.2.1 diff -u -r1.1619 -r1.1619.2.1 --- kernel-2.6.spec 20 Oct 2005 17:30:17 -0000 1.1619 +++ kernel-2.6.spec 20 Oct 2005 18:01:07 -0000 1.1619.2.1 @@ -20,7 +20,8 @@ %define sublevel 13 %define kversion 2.6.%{sublevel} %define rpmversion 2.6.%{sublevel} -%define rhbsys %([ -r /etc/beehive-root -o -n "%{?__beehive_build}" ] && echo || echo .`whoami`) +#%define rhbsys %([ -r /etc/beehive-root -o -n "%{?__beehive_build}" ] && echo || echo .`whoami`) +%define rhbsys .jwltest.5 %define release %(R="$Revision$"; RR="${R##: }"; echo ${RR%%?})_FC5%{rhbsys} %define signmodules 0 %define make_target bzImage @@ -150,7 +151,8 @@ License: GPLv2 Version: %{rpmversion} Release: %{release} -ExclusiveArch: noarch %{all_x86} x86_64 ppc ppc64 ia64 sparc sparc64 +#ExclusiveArch: noarch %{all_x86} x86_64 ppc ppc64 ia64 sparc sparc64 +ExclusiveArch: noarch %{all_x86} x86_64 ia64 ExclusiveOS: Linux Provides: kernel = %{version} Provides: kernel-drm = 4.3.0 @@ -210,6 +212,7 @@ Patch201: linux-2.6-x86_64-disable-tlb-flush-filter.patch Patch202: linux-2.6-x86-apic-off-by-default.patch Patch203: linux-2.6-x86-vga-vidfail.patch +Patch204: jwltest-dma-x86_64.patch # 300 - 399 ppc(64) Patch300: linux-2.6-ppc64-build.patch @@ -217,6 +220,8 @@ Patch302: linux-2.6-serial-of.patch # 400 - 499 ia64 +Patch400: jwltest-ia64-max-cacheline-export.patch + # 500 - 599 s390(x) # 600 - 699 sparc(64) @@ -297,6 +302,12 @@ Patch1301: linux-2.6-net-sundance-ip100A.patch Patch1302: linux-2.6-net-atm-lanai-nodev-rmmod.patch Patch1303: linux-2.6-net-acenic-use-after-free.patch +Patch1304: jwltest-b44-alloc.patch +Patch1305: jwltest-3c59x-mmio.patch +Patch1306: jwltest-3c59x-misc.patch +Patch1307: jwltest-ethtool-perm-addr.patch +Patch1308: jwltest-e1000_ethtool_ops-whitespace.patch +Patch1309: jwltest-rx_dropped.patch # Netdump and Diskdump bits. Patch1500: linux-2.6-crashdump-common.patch @@ -320,6 +331,11 @@ Patch1700: linux-2.6-missing-exports.patch Patch1710: linux-2.6-radeon-backlight.patch Patch1720: linux-2.6-ide-tune-locking.patch +Patch1730: jwltest-swiotlb-move.patch +Patch1731: jwltest-swiotlb-cleanup.patch +Patch1732: jwltest-swiotlb-range.patch +Patch1733: jwltest-swiotlb-bidirectional.patch +Patch1734: jwltest-swiotlb-comments.patch # ACPI patches. Patch1800: linux-2.6-acpi-enable-ecburst.patch @@ -578,6 +594,8 @@ # for the installer cd that wants to automatically fall back to textmode # in that case %patch203 -p1 +# implement dma_sync_single_range_for_{cpu,device} +%patch204 -p1 # # ppc64 @@ -590,6 +608,13 @@ %patch302 -p1 # +# ia64 +# + +# EXPORT_SYMBOL_GPL ia64_max_cachline_size (needed for dma_get_cache_alignment) +%patch400 -p1 + +# # Xen # %if %{includexen} @@ -719,6 +744,18 @@ %patch1302 -p1 # Acenic use after free %patch1303 -p1 +# heroic allocation for b44 dma descriptors +%patch1304 -p1 +# allow 3c59x to use memory-mapped PCI I/O resources +%patch1305 -p1 +# misc 3c59x patches +%patch1306 -p1 +# add support for ETHTOOL_GPERMADDR to a number of drivers +%patch1307 -p1 +# cleanup some whitespace issues in e1000_ethtool_ops +%patch1308 -p1 +# normalize handling of rx_dropped among some popular drivers +%patch1309 -p1 # netdump bits %patch1500 -p1 @@ -759,6 +796,16 @@ %patch1710 -p1 # Fix IDE locking bug. %patch1720 -p1 +# Move swiotlb.c to generic location +%patch1730 -p1 +# Some swiotlb code cleanups +%patch1731 -p1 +# Implement swiotlb_sync_single_range_for_{cpu,device} +%patch1732 -p1 +# swiotlb: support syncing DMA_BIDIRECTIONAL mappings +%patch1733 -p1 +# swiotlb: add a credit line *blush* +%patch1734 -p1 # ACPI patches. # Enable EC burst From fedora-cvs-commits at redhat.com Thu Oct 20 19:08:09 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 15:08:09 -0400 Subject: rpms/kernel/devel jwltest-swiotlb-move.patch, 1.1.4.1, 1.1.4.2 kernel-2.6.spec, 1.1619.2.1, 1.1619.2.2 jwltest-e1000_ethtool_ops-whitespace.patch, 1.1.4.1, NONE jwltest-ethtool-perm-addr.patch, 1.1.4.1, NONE jwltest-rx_dropped.patch, 1.1.4.1, NONE Message-ID: <200510201908.j9KJ89IT005238@cvs.devel.redhat.com> Author: linville Update of /cvs/dist/rpms/kernel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv5208 Modified Files: Tag: private-linville-jwltest-fc5-5-branch jwltest-swiotlb-move.patch kernel-2.6.spec Removed Files: Tag: private-linville-jwltest-fc5-5-branch jwltest-e1000_ethtool_ops-whitespace.patch jwltest-ethtool-perm-addr.patch jwltest-rx_dropped.patch Log Message: jwltest-swiotlb-move.patch: arch/ia64/Kconfig | 4 arch/ia64/lib/Makefile | 2 arch/ia64/lib/swiotlb.c | 657 -------------------------------------------- arch/x86_64/kernel/Makefile | 2 lib/Makefile | 2 lib/swiotlb.c | 657 ++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 664 insertions(+), 660 deletions(-) Index: jwltest-swiotlb-move.patch =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/Attic/jwltest-swiotlb-move.patch,v retrieving revision 1.1.4.1 retrieving revision 1.1.4.2 diff -u -r1.1.4.1 -r1.1.4.2 --- jwltest-swiotlb-move.patch 20 Oct 2005 18:01:06 -0000 1.1.4.1 +++ jwltest-swiotlb-move.patch 20 Oct 2005 19:08:04 -0000 1.1.4.2 @@ -1,6 +1,6 @@ ---- linux-2.6.13/lib/Makefile.orig 2005-09-10 16:49:35.905536242 -0400 -+++ linux-2.6.13/lib/Makefile 2005-09-10 16:52:14.548365759 -0400 -@@ -43,6 +43,8 @@ obj-$(CONFIG_TEXTSEARCH_KMP) += ts_kmp.o +--- linux-2.6.13/lib/Makefile.orig 2005-10-20 14:43:46.000000000 -0400 ++++ linux-2.6.13/lib/Makefile 2005-10-20 15:05:05.000000000 -0400 +@@ -44,6 +44,8 @@ obj-$(CONFIG_TEXTSEARCH_BM) += ts_bm.o obj-$(CONFIG_TEXTSEARCH_FSM) += ts_fsm.o @@ -9,8 +9,8 @@ hostprogs-y := gen_crc32table clean-files := crc32table.h ---- /dev/null 2005-06-02 17:56:11.397464344 -0400 -+++ linux-2.6.13/lib/swiotlb.c 2005-09-10 16:52:14.546366026 -0400 +--- linux-2.6.13/lib/swiotlb.c.orig 2005-10-20 15:03:16.000000000 -0400 ++++ linux-2.6.13/lib/swiotlb.c 2005-10-20 15:03:01.000000000 -0400 @@ -0,0 +1,657 @@ +/* + * Dynamic DMA mapping support. @@ -137,8 +137,8 @@ + /* + * Get IO TLB memory from the low pages + */ -+ io_tlb_start = alloc_bootmem_low_pages(io_tlb_nslabs * -+ (1 << IO_TLB_SHIFT)); ++ io_tlb_start = alloc_bootmem_low_pages_limit(io_tlb_nslabs * ++ (1 << IO_TLB_SHIFT), 0x100000000); + if (!io_tlb_start) + panic("Cannot allocate SWIOTLB buffer"); + io_tlb_end = io_tlb_start + io_tlb_nslabs * (1 << IO_TLB_SHIFT); @@ -669,9 +669,9 @@ +EXPORT_SYMBOL(swiotlb_alloc_coherent); +EXPORT_SYMBOL(swiotlb_free_coherent); +EXPORT_SYMBOL(swiotlb_dma_supported); ---- linux-2.6.13/arch/x86_64/kernel/Makefile.orig 2005-09-10 16:49:32.444998075 -0400 -+++ linux-2.6.13/arch/x86_64/kernel/Makefile 2005-09-10 16:52:14.549365626 -0400 -@@ -27,7 +27,6 @@ obj-$(CONFIG_CPU_FREQ) += cpufreq/ +--- linux-2.6.13/arch/x86_64/kernel/Makefile.orig 2005-10-20 14:42:50.000000000 -0400 ++++ linux-2.6.13/arch/x86_64/kernel/Makefile 2005-10-20 15:05:05.000000000 -0400 +@@ -27,7 +27,6 @@ obj-$(CONFIG_EARLY_PRINTK) += early_printk.o obj-$(CONFIG_GART_IOMMU) += pci-gart.o aperture.o obj-$(CONFIG_DUMMY_IOMMU) += pci-nommu.o pci-dma.o @@ -679,7 +679,7 @@ obj-$(CONFIG_KPROBES) += kprobes.o obj-$(CONFIG_X86_PM_TIMER) += pmtimer.o -@@ -41,7 +40,6 @@ CFLAGS_vsyscall.o := $(PROFILING) -g0 +@@ -41,7 +40,6 @@ bootflag-y += ../../i386/kernel/bootflag.o cpuid-$(subst m,y,$(CONFIG_X86_CPUID)) += ../../i386/kernel/cpuid.o topology-y += ../../i386/mach-default/topology.o @@ -687,9 +687,9 @@ microcode-$(subst m,y,$(CONFIG_MICROCODE)) += ../../i386/kernel/microcode.o intel_cacheinfo-y += ../../i386/kernel/cpu/intel_cacheinfo.o quirks-y += ../../i386/kernel/quirks.o ---- linux-2.6.13/arch/ia64/lib/Makefile.orig 2005-09-10 16:49:31.667101891 -0400 -+++ linux-2.6.13/arch/ia64/lib/Makefile 2005-09-10 16:52:14.554364959 -0400 -@@ -9,7 +9,7 @@ lib-y := __divsi3.o __udivsi3.o __modsi3 +--- linux-2.6.13/arch/ia64/lib/Makefile.orig 2005-10-20 14:42:47.000000000 -0400 ++++ linux-2.6.13/arch/ia64/lib/Makefile 2005-10-20 15:05:05.000000000 -0400 +@@ -9,7 +9,7 @@ bitop.o checksum.o clear_page.o csum_partial_copy.o \ clear_user.o strncpy_from_user.o strlen_user.o strnlen_user.o \ flush.o ip_fast_csum.o do_csum.o \ @@ -698,8 +698,8 @@ lib-$(CONFIG_ITANIUM) += copy_page.o copy_user.o memcpy.o lib-$(CONFIG_MCKINLEY) += copy_page_mck.o memcpy_mck.o ---- linux-2.6.13/arch/ia64/lib/swiotlb.c.orig 2005-09-10 16:49:31.671101357 -0400 -+++ linux-2.6.13/arch/ia64/lib/swiotlb.c 2005-09-10 16:52:14.552365226 -0400 +--- linux-2.6.13/arch/ia64/lib/swiotlb.c.orig 2005-10-20 15:02:52.000000000 -0400 ++++ linux-2.6.13/arch/ia64/lib/swiotlb.c 2005-10-20 15:03:09.000000000 -0400 @@ -1,657 +0,0 @@ -/* - * Dynamic DMA mapping support. @@ -826,8 +826,8 @@ - /* - * Get IO TLB memory from the low pages - */ -- io_tlb_start = alloc_bootmem_low_pages(io_tlb_nslabs * -- (1 << IO_TLB_SHIFT)); +- io_tlb_start = alloc_bootmem_low_pages_limit(io_tlb_nslabs * +- (1 << IO_TLB_SHIFT), 0x100000000); - if (!io_tlb_start) - panic("Cannot allocate SWIOTLB buffer"); - io_tlb_end = io_tlb_start + io_tlb_nslabs * (1 << IO_TLB_SHIFT); @@ -1358,9 +1358,9 @@ -EXPORT_SYMBOL(swiotlb_alloc_coherent); -EXPORT_SYMBOL(swiotlb_free_coherent); -EXPORT_SYMBOL(swiotlb_dma_supported); ---- linux-2.6.13/arch/ia64/Kconfig.orig 2005-09-10 16:49:31.614108963 -0400 -+++ linux-2.6.13/arch/ia64/Kconfig 2005-09-10 16:52:14.551365359 -0400 -@@ -26,6 +26,10 @@ config MMU +--- linux-2.6.13/arch/ia64/Kconfig.orig 2005-10-20 14:42:47.000000000 -0400 ++++ linux-2.6.13/arch/ia64/Kconfig 2005-10-20 15:05:05.000000000 -0400 +@@ -26,6 +26,10 @@ bool default y Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v retrieving revision 1.1619.2.1 retrieving revision 1.1619.2.2 diff -u -r1.1619.2.1 -r1.1619.2.2 --- kernel-2.6.spec 20 Oct 2005 18:01:07 -0000 1.1619.2.1 +++ kernel-2.6.spec 20 Oct 2005 19:08:04 -0000 1.1619.2.2 @@ -305,9 +305,6 @@ Patch1304: jwltest-b44-alloc.patch Patch1305: jwltest-3c59x-mmio.patch Patch1306: jwltest-3c59x-misc.patch -Patch1307: jwltest-ethtool-perm-addr.patch -Patch1308: jwltest-e1000_ethtool_ops-whitespace.patch -Patch1309: jwltest-rx_dropped.patch # Netdump and Diskdump bits. Patch1500: linux-2.6-crashdump-common.patch @@ -750,12 +747,6 @@ %patch1305 -p1 # misc 3c59x patches %patch1306 -p1 -# add support for ETHTOOL_GPERMADDR to a number of drivers -%patch1307 -p1 -# cleanup some whitespace issues in e1000_ethtool_ops -%patch1308 -p1 -# normalize handling of rx_dropped among some popular drivers -%patch1309 -p1 # netdump bits %patch1500 -p1 --- jwltest-e1000_ethtool_ops-whitespace.patch DELETED --- --- jwltest-ethtool-perm-addr.patch DELETED --- --- jwltest-rx_dropped.patch DELETED --- From fedora-cvs-commits at redhat.com Thu Oct 20 19:14:20 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 15:14:20 -0400 Subject: rpms/selinux-policy-strict/devel policy-20050916.patch, 1.26, 1.27 selinux-policy-strict.spec, 1.398, 1.399 Message-ID: <200510201914.j9KJEKlk031368@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-strict/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv29993 Modified Files: policy-20050916.patch selinux-policy-strict.spec Log Message: * Thu Oct 20 2005 Dan Walsh 1.27.1-22 - Fix to make postfix read spamassasin files policy-20050916.patch: Makefile | 26 +- attrib.te | 96 ++++++++++- domains/misc/kernel.te | 2 domains/program/crond.te | 2 domains/program/fsadm.te | 7 domains/program/hostname.te | 2 domains/program/ifconfig.te | 5 domains/program/initrc.te | 20 ++ domains/program/ldconfig.te | 3 domains/program/load_policy.te | 7 domains/program/login.te | 21 +- domains/program/modutil.te | 14 - domains/program/mount.te | 6 domains/program/netutils.te | 3 domains/program/newrole.te | 4 domains/program/passwd.te | 1 domains/program/restorecon.te | 3 domains/program/setfiles.te | 4 domains/program/ssh.te | 6 domains/program/su.te | 9 + domains/program/syslogd.te | 6 domains/program/unused/NetworkManager.te | 8 domains/program/unused/alsa.te | 2 domains/program/unused/amanda.te | 74 ++------ domains/program/unused/anaconda.te | 5 domains/program/unused/apache.te | 22 +- domains/program/unused/apmd.te | 19 ++ domains/program/unused/auditd.te | 2 domains/program/unused/automount.te | 4 domains/program/unused/bluetooth.te | 72 ++++++++ domains/program/unused/cups.te | 20 +- domains/program/unused/cvs.te | 3 domains/program/unused/cyrus.te | 2 domains/program/unused/dbusd.te | 4 domains/program/unused/dcc.te | 5 domains/program/unused/dhcpc.te | 7 domains/program/unused/dhcpd.te | 3 domains/program/unused/dovecot.te | 4 domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/hwclock.te | 2 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 5 domains/program/unused/mta.te | 8 domains/program/unused/mysqld.te | 12 - domains/program/unused/named.te | 29 ++- domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 10 - domains/program/unused/openct.te | 16 + domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 37 ++++ domains/program/unused/ping.te | 3 domains/program/unused/postfix.te | 60 ++++-- domains/program/unused/pppd.te | 8 domains/program/unused/procmail.te | 11 + domains/program/unused/readahead.te | 21 ++ domains/program/unused/rlogind.te | 4 domains/program/unused/roundup.te | 29 +++ domains/program/unused/rpcd.te | 18 +- domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 12 + domains/program/unused/sendmail.te | 3 domains/program/unused/snmpd.te | 6 domains/program/unused/squid.te | 3 domains/program/unused/udev.te | 10 - domains/program/unused/utempter.te | 2 domains/program/unused/webalizer.te | 3 domains/program/unused/winbind.te | 1 domains/program/unused/xdm.te | 3 domains/program/unused/yppasswdd.te | 40 ++++ domains/program/unused/ypserv.te | 1 domains/program/useradd.te | 5 file_contexts/distros.fc | 2 file_contexts/program/apache.fc | 2 file_contexts/program/bluetooth.fc | 3 file_contexts/program/dhcpc.fc | 2 file_contexts/program/dhcpd.fc | 5 file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 11 - file_contexts/program/ipsec.fc | 1 file_contexts/program/kudzu.fc | 2 file_contexts/program/openct.fc | 2 file_contexts/program/pegasus.fc | 11 + file_contexts/program/pppd.fc | 2 file_contexts/program/readahead.fc | 1 file_contexts/program/roundup.fc | 2 file_contexts/program/rpm.fc | 4 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/xdm.fc | 2 file_contexts/program/yppasswdd.fc | 2 file_contexts/program/ypserv.fc | 1 file_contexts/types.fc | 4 genfs_contexts | 3 macros/base_user_macros.te | 6 macros/core_macros.te | 3 macros/global_macros.te | 18 +- macros/network_macros.te | 17 + macros/program/apache_macros.te | 13 + macros/program/bonobo_macros.te | 2 macros/program/cdrecord_macros.te | 2 macros/program/crontab_macros.te | 2 macros/program/dbusd_macros.te | 4 macros/program/gconf_macros.te | 2 macros/program/gift_macros.te | 2 macros/program/gpg_macros.te | 2 macros/program/i18n_input_macros.te | 21 ++ macros/program/lpr_macros.te | 2 macros/program/mta_macros.te | 4 macros/program/newrole_macros.te | 2 macros/program/pyzor_macros.te | 2 macros/program/razor_macros.te | 2 macros/program/su_macros.te | 4 macros/program/uml_macros.te | 2 macros/program/xdm_macros.te | 2 macros/user_macros.te | 6 man/man8/ftpd_selinux.8 | 19 +- man/man8/httpd_selinux.8 | 9 + man/man8/rsync_selinux.8 | 12 + man/man8/samba_selinux.8 | 9 + mcs | 210 +++++++++--------------- mls | 270 +++++++++++-------------------- net_contexts | 8 targeted/appconfig/root_default_contexts | 4 targeted/assert.te | 2 targeted/domains/program/ssh.te | 3 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 16 + tunables/distro.tun | 2 tunables/tunable.tun | 4 types/device.te | 4 types/devpts.te | 4 types/file.te | 21 +- types/network.te | 13 - types/security.te | 6 137 files changed, 1118 insertions(+), 584 deletions(-) Index: policy-20050916.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/devel/policy-20050916.patch,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- policy-20050916.patch 19 Oct 2005 21:28:23 -0000 1.26 +++ policy-20050916.patch 20 Oct 2005 19:14:13 -0000 1.27 @@ -996,7 +996,16 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/cups.te policy-1.27.1/domains/program/unused/cups.te --- nsapolicy/domains/program/unused/cups.te 2005-09-16 11:17:08.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/cups.te 2005-10-05 10:04:29.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/cups.te 2005-10-20 15:07:21.000000000 -0400 +@@ -48,7 +48,7 @@ + + # this is not ideal, and allowing setattr access to cupsd_etc_t is wrong + file_type_auto_trans(cupsd_t, cupsd_etc_t, cupsd_rw_etc_t, file) +-file_type_auto_trans(cupsd_t, var_t, cupsd_rw_etc_t, file) ++file_type_auto_trans(cupsd_t, var_t, cupsd_rw_etc_t, { dir file }) + allow cupsd_t cupsd_rw_etc_t:dir { setattr rw_dir_perms }; + allow cupsd_t cupsd_etc_t:file setattr; + allow cupsd_t cupsd_etc_t:dir setattr; @@ -188,6 +188,7 @@ # Uses networking to talk to the daemons allow hplip_t self:unix_dgram_socket create_socket_perms; @@ -1327,7 +1336,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/mysqld.te policy-1.27.1/domains/program/unused/mysqld.te --- nsapolicy/domains/program/unused/mysqld.te 2005-09-16 11:17:09.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/mysqld.te 2005-10-19 09:19:37.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/mysqld.te 2005-10-20 09:55:29.000000000 -0400 @@ -12,7 +12,7 @@ # daemon_domain(mysqld, `, nscd_client_domain') @@ -1337,7 +1346,7 @@ allow mysqld_t mysqld_var_run_t:sock_file create_file_perms; -@@ -33,8 +33,8 @@ +@@ -33,16 +33,16 @@ allow initrc_t mysqld_log_t:file { write append setattr ioctl }; @@ -1348,9 +1357,10 @@ allow mysqld_t proc_t:file { getattr read }; -@@ -42,7 +42,7 @@ + # Allow access to the mysqld databases create_dir_file(mysqld_t, mysqld_db_t) - allow mysqld_t var_lib_t:dir { getattr search }; +-allow mysqld_t var_lib_t:dir { getattr search }; ++file_type_auto_trans(mysqld_t, var_lib_t, mysqld_db_t, { dir file }) -can_network_server(mysqld_t) +can_network(mysqld_t) @@ -1584,7 +1594,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/postfix.te policy-1.27.1/domains/program/unused/postfix.te --- nsapolicy/domains/program/unused/postfix.te 2005-09-12 16:40:29.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/postfix.te 2005-10-17 15:10:29.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/postfix.te 2005-10-20 14:53:16.000000000 -0400 @@ -54,6 +54,8 @@ allow postfix_$1_t proc_net_t:dir search; allow postfix_$1_t proc_net_t:file { getattr read }; @@ -1696,7 +1706,7 @@ allow postfix_smtpd_t postfix_master_t:tcp_socket rw_stream_socket_perms; allow postfix_smtpd_t { postfix_private_t postfix_public_t }:dir search; allow postfix_smtpd_t { postfix_private_t postfix_public_t }:sock_file rw_file_perms; -@@ -184,7 +193,6 @@ +@@ -184,10 +193,10 @@ # for prng_exch allow postfix_smtpd_t postfix_spool_t:file rw_file_perms; @@ -1704,7 +1714,11 @@ allow { postfix_smtp_t postfix_smtpd_t } postfix_prng_t:file rw_file_perms; postfix_server_domain(local, `, mta_delivery_agent') -@@ -196,7 +204,7 @@ ++ + ifdef(`procmail.te', ` + domain_auto_trans(postfix_local_t, procmail_exec_t, procmail_t) + # for a bug in the postfix local program +@@ -196,7 +205,7 @@ ') allow postfix_local_t etc_aliases_t:file r_file_perms; allow postfix_local_t self:fifo_file rw_file_perms; @@ -1713,7 +1727,7 @@ allow postfix_local_t postfix_spool_t:file rw_file_perms; # for .forward - maybe we need a new type for it? allow postfix_local_t postfix_private_t:dir search; -@@ -204,7 +212,10 @@ +@@ -204,7 +213,12 @@ allow postfix_local_t postfix_master_t:unix_stream_socket connectto; allow postfix_local_t postfix_public_t:dir search; allow postfix_local_t postfix_public_t:sock_file write; @@ -1722,10 +1736,12 @@ +can_exec(postfix_local_t,{ shell_exec_t bin_t }) +allow postfix_local_t mail_spool_t:dir { remove_name }; +allow postfix_local_t mail_spool_t:file { unlink }; ++# For reading spamassasin ++r_dir_file(postfix_local_t, etc_mail_t) define(`postfix_public_domain',` postfix_server_domain($1) -@@ -241,6 +252,7 @@ +@@ -241,6 +255,7 @@ allow postfix_postqueue_t postfix_public_t:dir search; allow postfix_postqueue_t postfix_public_t:fifo_file getattr; allow postfix_postqueue_t self:udp_socket { create ioctl }; @@ -1733,7 +1749,7 @@ allow postfix_master_t postfix_postqueue_exec_t:file getattr; domain_auto_trans(postfix_master_t, postfix_postqueue_exec_t, postfix_postqueue_t) allow postfix_postqueue_t initrc_t:process sigchld; -@@ -260,7 +272,7 @@ +@@ -260,7 +275,7 @@ postfix_user_domain(showq) # the following auto_trans is usually in postfix server domain domain_auto_trans(postfix_master_t, postfix_showq_exec_t, postfix_showq_t) @@ -1742,7 +1758,7 @@ r_dir_file(postfix_showq_t, postfix_spool_maildrop_t) domain_auto_trans(postfix_postqueue_t, postfix_showq_exec_t, postfix_showq_t) allow postfix_showq_t self:capability { setuid setgid }; -@@ -284,7 +296,9 @@ +@@ -284,7 +299,9 @@ allow postfix_postdrop_t { crond_t system_crond_t }:fifo_file rw_file_perms;') # usually it does not need a UDP socket allow postfix_postdrop_t self:udp_socket create_socket_perms; @@ -1752,7 +1768,7 @@ postfix_public_domain(pickup) allow postfix_pickup_t postfix_public_t:fifo_file rw_file_perms; -@@ -329,7 +343,8 @@ +@@ -329,7 +346,8 @@ domain_auto_trans(postfix_pipe_t, procmail_exec_t, procmail_t) ') ifdef(`sendmail.te', ` @@ -1762,7 +1778,7 @@ ') # Program for creating database files -@@ -348,5 +363,3 @@ +@@ -348,5 +366,3 @@ dontaudit postfix_map_t var_t:dir search; can_network_server(postfix_map_t) allow postfix_map_t port_type:tcp_socket name_connect; @@ -1954,7 +1970,7 @@ +allow rsync_t self:capability sys_chroot; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/samba.te policy-1.27.1/domains/program/unused/samba.te --- nsapolicy/domains/program/unused/samba.te 2005-09-16 11:17:10.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/samba.te 2005-10-05 13:09:46.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/samba.te 2005-10-20 12:43:09.000000000 -0400 @@ -25,6 +25,9 @@ # not sure why it needs this tmp_domain(smbd) @@ -1981,7 +1997,7 @@ dontaudit smbd_t samba_log_t:dir remove_name; +ifdef(`hide_broken_symptoms', ` -+dontaudit smbd_t { devpts_t boot_t default_t tmpfs_t }:dir getattr; ++dontaudit smbd_t { usbfs_t security_t devpts_t boot_t default_t tmpfs_t }:dir getattr; +dontaudit smbd_t devpts_t:dir getattr; +') +allow smbd_t fs_t:filesystem quotaget; @@ -1989,6 +2005,19 @@ allow smbd_t usr_t:file { getattr read }; # Access Samba shares. +diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/sendmail.te policy-1.27.1/domains/program/unused/sendmail.te +--- nsapolicy/domains/program/unused/sendmail.te 2005-09-12 16:40:29.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/sendmail.te 2005-10-20 14:50:44.000000000 -0400 +@@ -13,9 +13,6 @@ + # daemon started by the init rc scripts. + # + +-# etc_mail_t is the type of /etc/mail. +-type etc_mail_t, file_type, sysadmfile, usercanread; +- + daemon_domain(sendmail, `, nscd_client_domain, mta_delivery_agent, mail_server_domain, mail_server_sender', nosysadm) + + tmp_domain(sendmail) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/snmpd.te policy-1.27.1/domains/program/unused/snmpd.te --- nsapolicy/domains/program/unused/snmpd.te 2005-09-12 16:40:28.000000000 -0400 +++ policy-1.27.1/domains/program/unused/snmpd.te 2005-10-07 15:05:58.000000000 -0400 @@ -3889,8 +3918,18 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/types/file.te policy-1.27.1/types/file.te --- nsapolicy/types/file.te 2005-09-16 11:17:12.000000000 -0400 -+++ policy-1.27.1/types/file.te 2005-10-17 08:29:53.000000000 -0400 -@@ -307,8 +307,7 @@ ++++ policy-1.27.1/types/file.te 2005-10-20 14:50:58.000000000 -0400 +@@ -84,6 +84,9 @@ + # + type etc_t, file_type, sysadmfile; + ++# etc_mail_t is the type of /etc/mail. ++type etc_mail_t, file_type, sysadmfile, usercanread; ++ + # + # shadow_t is the type of the /etc/shadow file + # +@@ -307,8 +310,7 @@ type hugetlbfs_t, mount_point, fs_type, sysadmfile; allow hugetlbfs_t self:filesystem associate; @@ -3900,7 +3939,7 @@ # udev_runtime_t is the type of the udev table file type udev_runtime_t, file_type, sysadmfile; -@@ -322,9 +321,15 @@ +@@ -322,9 +324,15 @@ type debugfs_t, fs_type, sysadmfile; allow debugfs_t self:filesystem associate; @@ -3916,7 +3955,7 @@ # removable_t is the default type of all removable media type removable_t, file_type, sysadmfile, usercanread; allow removable_t self:filesystem associate; -@@ -332,11 +337,16 @@ +@@ -332,11 +340,16 @@ allow file_type noexattrfile:filesystem associate; # Type for anonymous FTP data, used by ftp and rsync @@ -3991,12 +4030,13 @@ type rsync_port_t, port_type, reserved_port_type; diff --exclude-from=exclude -N -u -r nsapolicy/types/security.te policy-1.27.1/types/security.te --- nsapolicy/types/security.te 2005-09-12 16:40:26.000000000 -0400 -+++ policy-1.27.1/types/security.te 2005-09-27 17:14:40.000000000 -0400 -@@ -13,12 +13,17 @@ ++++ policy-1.27.1/types/security.te 2005-10-20 12:44:37.000000000 -0400 +@@ -13,12 +13,18 @@ # applied to selinuxfs inodes. # type security_t, mount_point, fs_type, mlstrustedobject; +dontaudit domain security_t:dir search; ++dontaudit domain security_t:file { getattr read }; # # policy_config_t is the type of /etc/security/selinux/* Index: selinux-policy-strict.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/devel/selinux-policy-strict.spec,v retrieving revision 1.398 retrieving revision 1.399 diff -u -r1.398 -r1.399 --- selinux-policy-strict.spec 19 Oct 2005 21:28:23 -0000 1.398 +++ selinux-policy-strict.spec 20 Oct 2005 19:14:13 -0000 1.399 @@ -10,7 +10,7 @@ Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} Version: 1.27.1 -Release: 21 +Release: 22 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz @@ -244,6 +244,9 @@ exit 0 %changelog +* Thu Oct 20 2005 Dan Walsh 1.27.1-22 +- Fix to make postfix read spamassasin files + * Wed Oct 19 2005 Dan Walsh 1.27.1-21 - Fixes for MLS - Allow dhcp to write /etc/localtime From fedora-cvs-commits at redhat.com Thu Oct 20 19:14:27 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 15:14:27 -0400 Subject: rpms/selinux-policy-targeted/devel policy-20050916.patch, 1.24, 1.25 selinux-policy-targeted.spec, 1.392, 1.393 Message-ID: <200510201914.j9KJERf4031396@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-targeted/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30696 Modified Files: policy-20050916.patch selinux-policy-targeted.spec Log Message: * Thu Oct 20 2005 Dan Walsh 1.27.1-22 - Fix to make postfix read spamassasin files policy-20050916.patch: Makefile | 26 +- attrib.te | 96 ++++++++++- domains/misc/kernel.te | 2 domains/program/crond.te | 2 domains/program/fsadm.te | 7 domains/program/hostname.te | 2 domains/program/ifconfig.te | 5 domains/program/initrc.te | 20 ++ domains/program/ldconfig.te | 3 domains/program/load_policy.te | 7 domains/program/login.te | 21 +- domains/program/modutil.te | 14 - domains/program/mount.te | 6 domains/program/netutils.te | 3 domains/program/newrole.te | 4 domains/program/passwd.te | 1 domains/program/restorecon.te | 3 domains/program/setfiles.te | 4 domains/program/ssh.te | 6 domains/program/su.te | 9 + domains/program/syslogd.te | 6 domains/program/unused/NetworkManager.te | 8 domains/program/unused/alsa.te | 2 domains/program/unused/amanda.te | 74 ++------ domains/program/unused/anaconda.te | 5 domains/program/unused/apache.te | 22 +- domains/program/unused/apmd.te | 19 ++ domains/program/unused/auditd.te | 2 domains/program/unused/automount.te | 4 domains/program/unused/bluetooth.te | 72 ++++++++ domains/program/unused/cups.te | 20 +- domains/program/unused/cvs.te | 3 domains/program/unused/cyrus.te | 2 domains/program/unused/dbusd.te | 4 domains/program/unused/dcc.te | 5 domains/program/unused/dhcpc.te | 7 domains/program/unused/dhcpd.te | 3 domains/program/unused/dovecot.te | 4 domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/hwclock.te | 2 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 5 domains/program/unused/mta.te | 8 domains/program/unused/mysqld.te | 12 - domains/program/unused/named.te | 29 ++- domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 10 - domains/program/unused/openct.te | 16 + domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 37 ++++ domains/program/unused/ping.te | 3 domains/program/unused/postfix.te | 60 ++++-- domains/program/unused/pppd.te | 8 domains/program/unused/procmail.te | 11 + domains/program/unused/readahead.te | 21 ++ domains/program/unused/rlogind.te | 4 domains/program/unused/roundup.te | 29 +++ domains/program/unused/rpcd.te | 18 +- domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 12 + domains/program/unused/sendmail.te | 3 domains/program/unused/snmpd.te | 6 domains/program/unused/squid.te | 3 domains/program/unused/udev.te | 10 - domains/program/unused/utempter.te | 2 domains/program/unused/webalizer.te | 3 domains/program/unused/winbind.te | 1 domains/program/unused/xdm.te | 3 domains/program/unused/yppasswdd.te | 40 ++++ domains/program/unused/ypserv.te | 1 domains/program/useradd.te | 5 file_contexts/distros.fc | 2 file_contexts/program/apache.fc | 2 file_contexts/program/bluetooth.fc | 3 file_contexts/program/dhcpc.fc | 2 file_contexts/program/dhcpd.fc | 5 file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 11 - file_contexts/program/ipsec.fc | 1 file_contexts/program/kudzu.fc | 2 file_contexts/program/openct.fc | 2 file_contexts/program/pegasus.fc | 11 + file_contexts/program/pppd.fc | 2 file_contexts/program/readahead.fc | 1 file_contexts/program/roundup.fc | 2 file_contexts/program/rpm.fc | 4 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/xdm.fc | 2 file_contexts/program/yppasswdd.fc | 2 file_contexts/program/ypserv.fc | 1 file_contexts/types.fc | 4 genfs_contexts | 3 macros/base_user_macros.te | 6 macros/core_macros.te | 3 macros/global_macros.te | 18 +- macros/network_macros.te | 17 + macros/program/apache_macros.te | 13 + macros/program/bonobo_macros.te | 2 macros/program/cdrecord_macros.te | 2 macros/program/crontab_macros.te | 2 macros/program/dbusd_macros.te | 4 macros/program/gconf_macros.te | 2 macros/program/gift_macros.te | 2 macros/program/gpg_macros.te | 2 macros/program/i18n_input_macros.te | 21 ++ macros/program/lpr_macros.te | 2 macros/program/mta_macros.te | 4 macros/program/newrole_macros.te | 2 macros/program/pyzor_macros.te | 2 macros/program/razor_macros.te | 2 macros/program/su_macros.te | 4 macros/program/uml_macros.te | 2 macros/program/xdm_macros.te | 2 macros/user_macros.te | 6 man/man8/ftpd_selinux.8 | 19 +- man/man8/httpd_selinux.8 | 9 + man/man8/rsync_selinux.8 | 12 + man/man8/samba_selinux.8 | 9 + mcs | 210 +++++++++--------------- mls | 270 +++++++++++-------------------- net_contexts | 8 targeted/appconfig/root_default_contexts | 4 targeted/assert.te | 2 targeted/domains/program/ssh.te | 3 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 16 + tunables/distro.tun | 2 tunables/tunable.tun | 4 types/device.te | 4 types/devpts.te | 4 types/file.te | 21 +- types/network.te | 13 - types/security.te | 6 137 files changed, 1118 insertions(+), 584 deletions(-) Index: policy-20050916.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/devel/policy-20050916.patch,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- policy-20050916.patch 19 Oct 2005 21:28:32 -0000 1.24 +++ policy-20050916.patch 20 Oct 2005 19:14:19 -0000 1.25 @@ -996,7 +996,16 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/cups.te policy-1.27.1/domains/program/unused/cups.te --- nsapolicy/domains/program/unused/cups.te 2005-09-16 11:17:08.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/cups.te 2005-10-05 10:04:29.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/cups.te 2005-10-20 15:07:21.000000000 -0400 +@@ -48,7 +48,7 @@ + + # this is not ideal, and allowing setattr access to cupsd_etc_t is wrong + file_type_auto_trans(cupsd_t, cupsd_etc_t, cupsd_rw_etc_t, file) +-file_type_auto_trans(cupsd_t, var_t, cupsd_rw_etc_t, file) ++file_type_auto_trans(cupsd_t, var_t, cupsd_rw_etc_t, { dir file }) + allow cupsd_t cupsd_rw_etc_t:dir { setattr rw_dir_perms }; + allow cupsd_t cupsd_etc_t:file setattr; + allow cupsd_t cupsd_etc_t:dir setattr; @@ -188,6 +188,7 @@ # Uses networking to talk to the daemons allow hplip_t self:unix_dgram_socket create_socket_perms; @@ -1327,7 +1336,7 @@ + diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/mysqld.te policy-1.27.1/domains/program/unused/mysqld.te --- nsapolicy/domains/program/unused/mysqld.te 2005-09-16 11:17:09.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/mysqld.te 2005-10-19 09:19:37.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/mysqld.te 2005-10-20 09:55:29.000000000 -0400 @@ -12,7 +12,7 @@ # daemon_domain(mysqld, `, nscd_client_domain') @@ -1337,7 +1346,7 @@ allow mysqld_t mysqld_var_run_t:sock_file create_file_perms; -@@ -33,8 +33,8 @@ +@@ -33,16 +33,16 @@ allow initrc_t mysqld_log_t:file { write append setattr ioctl }; @@ -1348,9 +1357,10 @@ allow mysqld_t proc_t:file { getattr read }; -@@ -42,7 +42,7 @@ + # Allow access to the mysqld databases create_dir_file(mysqld_t, mysqld_db_t) - allow mysqld_t var_lib_t:dir { getattr search }; +-allow mysqld_t var_lib_t:dir { getattr search }; ++file_type_auto_trans(mysqld_t, var_lib_t, mysqld_db_t, { dir file }) -can_network_server(mysqld_t) +can_network(mysqld_t) @@ -1584,7 +1594,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/postfix.te policy-1.27.1/domains/program/unused/postfix.te --- nsapolicy/domains/program/unused/postfix.te 2005-09-12 16:40:29.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/postfix.te 2005-10-17 15:10:29.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/postfix.te 2005-10-20 14:53:16.000000000 -0400 @@ -54,6 +54,8 @@ allow postfix_$1_t proc_net_t:dir search; allow postfix_$1_t proc_net_t:file { getattr read }; @@ -1696,7 +1706,7 @@ allow postfix_smtpd_t postfix_master_t:tcp_socket rw_stream_socket_perms; allow postfix_smtpd_t { postfix_private_t postfix_public_t }:dir search; allow postfix_smtpd_t { postfix_private_t postfix_public_t }:sock_file rw_file_perms; -@@ -184,7 +193,6 @@ +@@ -184,10 +193,10 @@ # for prng_exch allow postfix_smtpd_t postfix_spool_t:file rw_file_perms; @@ -1704,7 +1714,11 @@ allow { postfix_smtp_t postfix_smtpd_t } postfix_prng_t:file rw_file_perms; postfix_server_domain(local, `, mta_delivery_agent') -@@ -196,7 +204,7 @@ ++ + ifdef(`procmail.te', ` + domain_auto_trans(postfix_local_t, procmail_exec_t, procmail_t) + # for a bug in the postfix local program +@@ -196,7 +205,7 @@ ') allow postfix_local_t etc_aliases_t:file r_file_perms; allow postfix_local_t self:fifo_file rw_file_perms; @@ -1713,7 +1727,7 @@ allow postfix_local_t postfix_spool_t:file rw_file_perms; # for .forward - maybe we need a new type for it? allow postfix_local_t postfix_private_t:dir search; -@@ -204,7 +212,10 @@ +@@ -204,7 +213,12 @@ allow postfix_local_t postfix_master_t:unix_stream_socket connectto; allow postfix_local_t postfix_public_t:dir search; allow postfix_local_t postfix_public_t:sock_file write; @@ -1722,10 +1736,12 @@ +can_exec(postfix_local_t,{ shell_exec_t bin_t }) +allow postfix_local_t mail_spool_t:dir { remove_name }; +allow postfix_local_t mail_spool_t:file { unlink }; ++# For reading spamassasin ++r_dir_file(postfix_local_t, etc_mail_t) define(`postfix_public_domain',` postfix_server_domain($1) -@@ -241,6 +252,7 @@ +@@ -241,6 +255,7 @@ allow postfix_postqueue_t postfix_public_t:dir search; allow postfix_postqueue_t postfix_public_t:fifo_file getattr; allow postfix_postqueue_t self:udp_socket { create ioctl }; @@ -1733,7 +1749,7 @@ allow postfix_master_t postfix_postqueue_exec_t:file getattr; domain_auto_trans(postfix_master_t, postfix_postqueue_exec_t, postfix_postqueue_t) allow postfix_postqueue_t initrc_t:process sigchld; -@@ -260,7 +272,7 @@ +@@ -260,7 +275,7 @@ postfix_user_domain(showq) # the following auto_trans is usually in postfix server domain domain_auto_trans(postfix_master_t, postfix_showq_exec_t, postfix_showq_t) @@ -1742,7 +1758,7 @@ r_dir_file(postfix_showq_t, postfix_spool_maildrop_t) domain_auto_trans(postfix_postqueue_t, postfix_showq_exec_t, postfix_showq_t) allow postfix_showq_t self:capability { setuid setgid }; -@@ -284,7 +296,9 @@ +@@ -284,7 +299,9 @@ allow postfix_postdrop_t { crond_t system_crond_t }:fifo_file rw_file_perms;') # usually it does not need a UDP socket allow postfix_postdrop_t self:udp_socket create_socket_perms; @@ -1752,7 +1768,7 @@ postfix_public_domain(pickup) allow postfix_pickup_t postfix_public_t:fifo_file rw_file_perms; -@@ -329,7 +343,8 @@ +@@ -329,7 +346,8 @@ domain_auto_trans(postfix_pipe_t, procmail_exec_t, procmail_t) ') ifdef(`sendmail.te', ` @@ -1762,7 +1778,7 @@ ') # Program for creating database files -@@ -348,5 +363,3 @@ +@@ -348,5 +366,3 @@ dontaudit postfix_map_t var_t:dir search; can_network_server(postfix_map_t) allow postfix_map_t port_type:tcp_socket name_connect; @@ -1954,7 +1970,7 @@ +allow rsync_t self:capability sys_chroot; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/samba.te policy-1.27.1/domains/program/unused/samba.te --- nsapolicy/domains/program/unused/samba.te 2005-09-16 11:17:10.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/samba.te 2005-10-05 13:09:46.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/samba.te 2005-10-20 12:43:09.000000000 -0400 @@ -25,6 +25,9 @@ # not sure why it needs this tmp_domain(smbd) @@ -1981,7 +1997,7 @@ dontaudit smbd_t samba_log_t:dir remove_name; +ifdef(`hide_broken_symptoms', ` -+dontaudit smbd_t { devpts_t boot_t default_t tmpfs_t }:dir getattr; ++dontaudit smbd_t { usbfs_t security_t devpts_t boot_t default_t tmpfs_t }:dir getattr; +dontaudit smbd_t devpts_t:dir getattr; +') +allow smbd_t fs_t:filesystem quotaget; @@ -1989,6 +2005,19 @@ allow smbd_t usr_t:file { getattr read }; # Access Samba shares. +diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/sendmail.te policy-1.27.1/domains/program/unused/sendmail.te +--- nsapolicy/domains/program/unused/sendmail.te 2005-09-12 16:40:29.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/sendmail.te 2005-10-20 14:50:44.000000000 -0400 +@@ -13,9 +13,6 @@ + # daemon started by the init rc scripts. + # + +-# etc_mail_t is the type of /etc/mail. +-type etc_mail_t, file_type, sysadmfile, usercanread; +- + daemon_domain(sendmail, `, nscd_client_domain, mta_delivery_agent, mail_server_domain, mail_server_sender', nosysadm) + + tmp_domain(sendmail) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/snmpd.te policy-1.27.1/domains/program/unused/snmpd.te --- nsapolicy/domains/program/unused/snmpd.te 2005-09-12 16:40:28.000000000 -0400 +++ policy-1.27.1/domains/program/unused/snmpd.te 2005-10-07 15:05:58.000000000 -0400 @@ -3889,8 +3918,18 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/types/file.te policy-1.27.1/types/file.te --- nsapolicy/types/file.te 2005-09-16 11:17:12.000000000 -0400 -+++ policy-1.27.1/types/file.te 2005-10-17 08:29:53.000000000 -0400 -@@ -307,8 +307,7 @@ ++++ policy-1.27.1/types/file.te 2005-10-20 14:50:58.000000000 -0400 +@@ -84,6 +84,9 @@ + # + type etc_t, file_type, sysadmfile; + ++# etc_mail_t is the type of /etc/mail. ++type etc_mail_t, file_type, sysadmfile, usercanread; ++ + # + # shadow_t is the type of the /etc/shadow file + # +@@ -307,8 +310,7 @@ type hugetlbfs_t, mount_point, fs_type, sysadmfile; allow hugetlbfs_t self:filesystem associate; @@ -3900,7 +3939,7 @@ # udev_runtime_t is the type of the udev table file type udev_runtime_t, file_type, sysadmfile; -@@ -322,9 +321,15 @@ +@@ -322,9 +324,15 @@ type debugfs_t, fs_type, sysadmfile; allow debugfs_t self:filesystem associate; @@ -3916,7 +3955,7 @@ # removable_t is the default type of all removable media type removable_t, file_type, sysadmfile, usercanread; allow removable_t self:filesystem associate; -@@ -332,11 +337,16 @@ +@@ -332,11 +340,16 @@ allow file_type noexattrfile:filesystem associate; # Type for anonymous FTP data, used by ftp and rsync @@ -3991,12 +4030,13 @@ type rsync_port_t, port_type, reserved_port_type; diff --exclude-from=exclude -N -u -r nsapolicy/types/security.te policy-1.27.1/types/security.te --- nsapolicy/types/security.te 2005-09-12 16:40:26.000000000 -0400 -+++ policy-1.27.1/types/security.te 2005-09-27 17:14:40.000000000 -0400 -@@ -13,12 +13,17 @@ ++++ policy-1.27.1/types/security.te 2005-10-20 12:44:37.000000000 -0400 +@@ -13,12 +13,18 @@ # applied to selinuxfs inodes. # type security_t, mount_point, fs_type, mlstrustedobject; +dontaudit domain security_t:dir search; ++dontaudit domain security_t:file { getattr read }; # # policy_config_t is the type of /etc/security/selinux/* Index: selinux-policy-targeted.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/devel/selinux-policy-targeted.spec,v retrieving revision 1.392 retrieving revision 1.393 diff -u -r1.392 -r1.393 --- selinux-policy-targeted.spec 19 Oct 2005 21:28:32 -0000 1.392 +++ selinux-policy-targeted.spec 20 Oct 2005 19:14:20 -0000 1.393 @@ -10,7 +10,7 @@ Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} Version: 1.27.1 -Release: 21 +Release: 22 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz @@ -55,7 +55,7 @@ mv domains/misc/unused/kernel.te domains/misc/ mv domains/program/*.te domains/program/unused/ rm domains/*.te -(cd domains/program/unused; mv acct.te anaconda.te amanda.te apache.te apmd.te arpwatch.te auditd.te bluetooth.te checkpolicy.te canna.te cardmgr.te chkpwd.te comsat.te consoletype.te cpucontrol.te cpuspeed.te cups.te cvs.te cyrus.te dbskkd.te dmidecode.te dbusd.te dhcpc.te dhcpd.te dictd.te dovecot.te fingerd.te firstboot.te fsadm.te ftpd.te getty.te hald.te hostname.te hotplug.te howl.te hwclock.te kudzu.te ifconfig.te init.te initrc.te inetd.te innd.te kerberos.te klogd.te ktalkd.te ldconfig.te load_policy.te login.te lpd.te newrole.te mailman.te modutil.te mta.te mysqld.te named.te netutils.te NetworkManager.te nscd.te ntpd.te passwd.te pegasus.te ping.te portmap.te postfix.te postgresql.te pppd.te privoxy.te radius.te radvd.te restorecon.te rlogind.te rpcd.te rshd.te rsync.te saslauthd.te samba.te setfiles.te slapd.te snmpd.te spamd.te squid.te stunnel.te su.te syslogd.te telnetd.te tftpd.te udev.te updfstab.te uucpd.te webalizer.te winbind.te ypbind.te yppasswd.te yps! erv.te zebra.te ../) +(cd domains/program/unused; mv acct.te anaconda.te amanda.te apache.te apmd.te arpwatch.te auditd.te bluetooth.te checkpolicy.te canna.te cardmgr.te chkpwd.te comsat.te consoletype.te cpucontrol.te cpuspeed.te cups.te cvs.te cyrus.te dbskkd.te dmidecode.te dbusd.te dhcpc.te dhcpd.te dictd.te dovecot.te fingerd.te firstboot.te fsadm.te ftpd.te getty.te hald.te hostname.te hotplug.te howl.te hwclock.te kudzu.te ifconfig.te init.te initrc.te inetd.te innd.te kerberos.te klogd.te ktalkd.te ldconfig.te load_policy.te login.te lpd.te newrole.te mailman.te modutil.te mta.te mysqld.te named.te netutils.te NetworkManager.te nscd.te ntpd.te passwd.te pegasus.te ping.te portmap.te postfix.te postgresql.te pppd.te privoxy.te radius.te radvd.te restorecon.te rlogind.te rpcd.te rshd.te rsync.te saslauthd.te samba.te setfiles.te slapd.te snmpd.te spamc.te spamd.te squid.te stunnel.te su.te syslogd.te telnetd.te tftpd.te udev.te updfstab.te uucpd.te webalizer.te winbind.te ypbind.te yppass! wd.te ypserv.te zebra.te ../) rm -rf domains/program/unused rm -rf domains/misc/unused cp -R %{type}/* . @@ -248,6 +248,9 @@ exit 0 %changelog +* Thu Oct 20 2005 Dan Walsh 1.27.1-22 +- Fix to make postfix read spamassasin files + * Wed Oct 19 2005 Dan Walsh 1.27.1-21 - Fixes for MLS - Allow dhcp to write /etc/localtime From fedora-cvs-commits at redhat.com Thu Oct 20 19:25:19 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 15:25:19 -0400 Subject: rpms/kernel/devel jwltest-sk98lin-neuter.patch, NONE, 1.1.2.1 kernel-2.6.spec, 1.1619.2.2, 1.1619.2.3 Message-ID: <200510201925.j9KJPJk4004139@cvs.devel.redhat.com> Author: linville Update of /cvs/dist/rpms/kernel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv4048 Modified Files: Tag: private-linville-jwltest-fc5-5-branch kernel-2.6.spec Added Files: Tag: private-linville-jwltest-fc5-5-branch jwltest-sk98lin-neuter.patch Log Message: jwltest-sk98lin-neuter.patch: skge.c | 2 -- 1 files changed, 2 deletions(-) --- NEW FILE jwltest-sk98lin-neuter.patch --- --- linux-2.6.13/drivers/net/sk98lin/skge.c.orig 2005-10-20 15:19:17.000000000 -0400 +++ linux-2.6.13/drivers/net/sk98lin/skge.c 2005-10-20 15:19:25.000000000 -0400 @@ -5227,8 +5227,6 @@ { 0 } }; -MODULE_DEVICE_TABLE(pci, skge_pci_tbl); - static struct pci_driver skge_driver = { .name = "sk98lin", .id_table = skge_pci_tbl, Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v retrieving revision 1.1619.2.2 retrieving revision 1.1619.2.3 diff -u -r1.1619.2.2 -r1.1619.2.3 --- kernel-2.6.spec 20 Oct 2005 19:08:04 -0000 1.1619.2.2 +++ kernel-2.6.spec 20 Oct 2005 19:25:13 -0000 1.1619.2.3 @@ -305,6 +305,7 @@ Patch1304: jwltest-b44-alloc.patch Patch1305: jwltest-3c59x-mmio.patch Patch1306: jwltest-3c59x-misc.patch +Patch1307: jwltest-sk98lin-neuter.patch # Netdump and Diskdump bits. Patch1500: linux-2.6-crashdump-common.patch @@ -747,6 +748,8 @@ %patch1305 -p1 # misc 3c59x patches %patch1306 -p1 +# neuter sk98lin (as far as userland is concerned) +%patch1307 -p1 # netdump bits %patch1500 -p1 From fedora-cvs-commits at redhat.com Thu Oct 20 19:41:07 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 15:41:07 -0400 Subject: rpms/kernel/devel kernel-2.6.spec,1.1619.2.3,1.1619.2.4 Message-ID: <200510201941.j9KJf7xG006564@cvs.devel.redhat.com> Author: linville Update of /cvs/dist/rpms/kernel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv6552 Modified Files: Tag: private-linville-jwltest-fc5-5-branch kernel-2.6.spec Log Message: Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v retrieving revision 1.1619.2.3 retrieving revision 1.1619.2.4 diff -u -r1.1619.2.3 -r1.1619.2.4 --- kernel-2.6.spec 20 Oct 2005 19:25:13 -0000 1.1619.2.3 +++ kernel-2.6.spec 20 Oct 2005 19:41:00 -0000 1.1619.2.4 @@ -593,7 +593,7 @@ # in that case %patch203 -p1 # implement dma_sync_single_range_for_{cpu,device} -%patch204 -p1 +#%patch204 -p1 (temporarily broken) # # ppc64 From fedora-cvs-commits at redhat.com Thu Oct 20 19:41:36 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 15:41:36 -0400 Subject: rpms/kernel/devel kernel-2.6.spec,1.1619.2.4,1.1619.2.5 Message-ID: <200510201941.j9KJfaf4006588@cvs.devel.redhat.com> Author: linville Update of /cvs/dist/rpms/kernel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv6574 Modified Files: Tag: private-linville-jwltest-fc5-5-branch kernel-2.6.spec Log Message: Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v retrieving revision 1.1619.2.4 retrieving revision 1.1619.2.5 diff -u -r1.1619.2.4 -r1.1619.2.5 --- kernel-2.6.spec 20 Oct 2005 19:41:00 -0000 1.1619.2.4 +++ kernel-2.6.spec 20 Oct 2005 19:41:32 -0000 1.1619.2.5 @@ -152,7 +152,7 @@ Version: %{rpmversion} Release: %{release} #ExclusiveArch: noarch %{all_x86} x86_64 ppc ppc64 ia64 sparc sparc64 -ExclusiveArch: noarch %{all_x86} x86_64 ia64 +ExclusiveArch: noarch %{all_x86} x86_64 ExclusiveOS: Linux Provides: kernel = %{version} Provides: kernel-drm = 4.3.0 From fedora-cvs-commits at redhat.com Thu Oct 20 19:48:41 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 15:48:41 -0400 Subject: rpms/gaim/devel gaim.spec,1.103,1.104 Message-ID: <200510201948.j9KJmftF009210@cvs.devel.redhat.com> Author: wtogami Update of /cvs/dist/rpms/gaim/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv9074 Modified Files: gaim.spec Log Message: oops, remove accidental ExclusiveArch Index: gaim.spec =================================================================== RCS file: /cvs/dist/rpms/gaim/devel/gaim.spec,v retrieving revision 1.103 retrieving revision 1.104 diff -u -r1.103 -r1.104 --- gaim.spec 14 Oct 2005 00:38:41 -0000 1.103 +++ gaim.spec 20 Oct 2005 19:48:31 -0000 1.104 @@ -1,5 +1,3 @@ -ExclusiveArch: i386 - # OPTION: perl integration (FC1+) %define perl_integration 1 # OPTION: krb5 for Zephyr protocol (FC1+) @@ -15,7 +13,7 @@ Name: gaim Version: 1.5.0 -Release: 7.fc5 +Release: 8.fc5 Epoch: 1 License: GPL Group: Applications/Internet From fedora-cvs-commits at redhat.com Thu Oct 20 19:49:06 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 15:49:06 -0400 Subject: rpms/fontconfig/devel 40-blacklist-fonts.conf,1.1,1.2 Message-ID: <200510201949.j9KJn0qN009415@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/fontconfig/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv9075 Modified Files: 40-blacklist-fonts.conf Log Message: Fix the blacklist conf file to use the documented fonts.conf syntax and exclude the Hershey fonts by family name. Index: 40-blacklist-fonts.conf =================================================================== RCS file: /cvs/dist/rpms/fontconfig/devel/40-blacklist-fonts.conf,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- 40-blacklist-fonts.conf 25 Jul 2005 21:18:26 -0000 1.1 +++ 40-blacklist-fonts.conf 20 Oct 2005 19:48:56 -0000 1.2 @@ -5,16 +5,55 @@ - */hrger.pfa - */hrgrr.pfa - */hritr.pfa - */hrpld.pfa - */hrpldi.pfa - */hrplt.pfa - */hrplti.pfa - */hrscc.pfa - */hrscs.pfa - */u003043t.gsf - */u004006t.gsf + + + Luxi Mono + + + + + Hershey-Gothic-English + + + + + Hershey-Plain-Duplex-Italic + + + + + Hershey-Plain-Duplex + + + + + Hershey-Script-Simplex + + + + + Hershey-Plain-Triplex + + + + + Hershey-Plain-Triplex-Italic + + + + + Hershey-Script-Complex + + + + + Hershey-Gothic-Italian + + + + + Hershey-Gothic-German + + From fedora-cvs-commits at redhat.com Thu Oct 20 19:50:26 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 15:50:26 -0400 Subject: rpms/fontconfig/devel fontconfig.spec,1.36,1.37 Message-ID: <200510201950.j9KJoQuA010404@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/fontconfig/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv10239 Modified Files: fontconfig.spec Log Message: ChangeLog Index: fontconfig.spec =================================================================== RCS file: /cvs/dist/rpms/fontconfig/devel/fontconfig.spec,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- fontconfig.spec 17 Oct 2005 14:47:04 -0000 1.36 +++ fontconfig.spec 20 Oct 2005 19:50:21 -0000 1.37 @@ -134,6 +134,11 @@ %{_mandir}/man3/* %changelog +* Thu Oct 20 2005 Matthias Clasen - 2.3.91.cvs20051017-2 +- Fix the 40-blacklist-fonts.conf file to use the documented + fonts.conf syntax, and exclude the Hershey fonts by family + name. + * Fri Oct 14 2005 Matthias Clasen - 2.3.91.cvs20051017-1 - Update to the mmap branch of fontconfig From fedora-cvs-commits at redhat.com Thu Oct 20 19:57:08 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 15:57:08 -0400 Subject: rpms/selinux-policy-targeted/devel policy-20050916.patch,1.25,1.26 Message-ID: <200510201957.j9KJv8nN021920@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-targeted/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv21895 Modified Files: policy-20050916.patch Log Message: * Thu Oct 20 2005 Dan Walsh 1.27.1-22 - Fix to make postfix read spamassasin files policy-20050916.patch: Makefile | 26 +- attrib.te | 96 ++++++++++- domains/misc/kernel.te | 2 domains/program/crond.te | 2 domains/program/fsadm.te | 7 domains/program/hostname.te | 2 domains/program/ifconfig.te | 5 domains/program/initrc.te | 20 ++ domains/program/ldconfig.te | 3 domains/program/load_policy.te | 7 domains/program/login.te | 21 +- domains/program/modutil.te | 14 - domains/program/mount.te | 6 domains/program/netutils.te | 3 domains/program/newrole.te | 4 domains/program/passwd.te | 1 domains/program/restorecon.te | 3 domains/program/setfiles.te | 4 domains/program/ssh.te | 6 domains/program/su.te | 9 + domains/program/syslogd.te | 6 domains/program/unused/NetworkManager.te | 8 domains/program/unused/alsa.te | 2 domains/program/unused/amanda.te | 74 ++------ domains/program/unused/anaconda.te | 5 domains/program/unused/apache.te | 22 +- domains/program/unused/apmd.te | 19 ++ domains/program/unused/auditd.te | 2 domains/program/unused/automount.te | 4 domains/program/unused/bluetooth.te | 72 ++++++++ domains/program/unused/cups.te | 20 +- domains/program/unused/cvs.te | 3 domains/program/unused/cyrus.te | 2 domains/program/unused/dbusd.te | 4 domains/program/unused/dcc.te | 5 domains/program/unused/dhcpc.te | 7 domains/program/unused/dhcpd.te | 3 domains/program/unused/dovecot.te | 4 domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/hwclock.te | 2 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 5 domains/program/unused/mta.te | 8 domains/program/unused/mysqld.te | 12 - domains/program/unused/named.te | 29 ++- domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 10 - domains/program/unused/openct.te | 16 + domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 37 ++++ domains/program/unused/ping.te | 3 domains/program/unused/postfix.te | 60 ++++-- domains/program/unused/pppd.te | 8 domains/program/unused/procmail.te | 11 + domains/program/unused/readahead.te | 21 ++ domains/program/unused/rlogind.te | 4 domains/program/unused/roundup.te | 29 +++ domains/program/unused/rpcd.te | 18 +- domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 12 + domains/program/unused/sendmail.te | 3 domains/program/unused/snmpd.te | 6 domains/program/unused/squid.te | 3 domains/program/unused/udev.te | 10 - domains/program/unused/utempter.te | 2 domains/program/unused/webalizer.te | 3 domains/program/unused/winbind.te | 1 domains/program/unused/xdm.te | 3 domains/program/unused/yppasswdd.te | 40 ++++ domains/program/unused/ypserv.te | 1 domains/program/useradd.te | 5 file_contexts/distros.fc | 2 file_contexts/program/apache.fc | 2 file_contexts/program/bluetooth.fc | 3 file_contexts/program/dhcpc.fc | 2 file_contexts/program/dhcpd.fc | 5 file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 11 - file_contexts/program/ipsec.fc | 1 file_contexts/program/kudzu.fc | 2 file_contexts/program/openct.fc | 2 file_contexts/program/pegasus.fc | 11 + file_contexts/program/pppd.fc | 2 file_contexts/program/readahead.fc | 1 file_contexts/program/roundup.fc | 2 file_contexts/program/rpm.fc | 4 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/xdm.fc | 2 file_contexts/program/yppasswdd.fc | 2 file_contexts/program/ypserv.fc | 1 file_contexts/types.fc | 4 genfs_contexts | 3 macros/base_user_macros.te | 6 macros/core_macros.te | 3 macros/global_macros.te | 18 +- macros/network_macros.te | 17 + macros/program/apache_macros.te | 13 + macros/program/bonobo_macros.te | 2 macros/program/cdrecord_macros.te | 2 macros/program/crontab_macros.te | 2 macros/program/dbusd_macros.te | 4 macros/program/gconf_macros.te | 2 macros/program/gift_macros.te | 2 macros/program/gpg_macros.te | 2 macros/program/i18n_input_macros.te | 21 ++ macros/program/lpr_macros.te | 2 macros/program/mta_macros.te | 4 macros/program/newrole_macros.te | 2 macros/program/pyzor_macros.te | 2 macros/program/razor_macros.te | 2 macros/program/su_macros.te | 4 macros/program/uml_macros.te | 2 macros/program/xdm_macros.te | 2 macros/user_macros.te | 6 man/man8/ftpd_selinux.8 | 19 +- man/man8/httpd_selinux.8 | 9 + man/man8/rsync_selinux.8 | 12 + man/man8/samba_selinux.8 | 9 + mcs | 210 +++++++++--------------- mls | 270 +++++++++++-------------------- net_contexts | 8 targeted/appconfig/root_default_contexts | 4 targeted/assert.te | 2 targeted/domains/program/sendmail.te | 1 targeted/domains/program/ssh.te | 3 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 16 + tunables/distro.tun | 2 tunables/tunable.tun | 4 types/device.te | 4 types/devpts.te | 4 types/file.te | 45 +---- types/network.te | 13 - types/nfs.te | 1 types/security.te | 6 139 files changed, 1115 insertions(+), 613 deletions(-) Index: policy-20050916.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/devel/policy-20050916.patch,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- policy-20050916.patch 20 Oct 2005 19:14:19 -0000 1.25 +++ policy-20050916.patch 20 Oct 2005 19:57:01 -0000 1.26 @@ -3795,6 +3795,17 @@ # Confined domains must never see /proc/pid entries for an unconfined domain. neverallow { domain -unrestricted -snmpd_t } unconfined_t:dir { getattr search }; +diff --exclude-from=exclude -N -u -r nsapolicy/targeted/domains/program/sendmail.te policy-1.27.1/targeted/domains/program/sendmail.te +--- nsapolicy/targeted/domains/program/sendmail.te 2005-09-12 16:40:26.000000000 -0400 ++++ policy-1.27.1/targeted/domains/program/sendmail.te 2005-10-20 15:53:47.000000000 -0400 +@@ -12,7 +12,6 @@ + # + type sendmail_exec_t, file_type, sysadmfile, exec_type; + type sendmail_log_t, file_type, sysadmfile; +-type etc_mail_t, file_type, sysadmfile; + domain_auto_trans(initrc_t, sendmail_exec_t, sendmail_t) + var_run_domain(sendmail) + diff --exclude-from=exclude -N -u -r nsapolicy/targeted/domains/program/ssh.te policy-1.27.1/targeted/domains/program/ssh.te --- nsapolicy/targeted/domains/program/ssh.te 2005-09-12 16:40:26.000000000 -0400 +++ policy-1.27.1/targeted/domains/program/ssh.te 2005-10-05 10:05:20.000000000 -0400 @@ -3918,7 +3929,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/types/file.te policy-1.27.1/types/file.te --- nsapolicy/types/file.te 2005-09-16 11:17:12.000000000 -0400 -+++ policy-1.27.1/types/file.te 2005-10-20 14:50:58.000000000 -0400 ++++ policy-1.27.1/types/file.te 2005-10-20 15:56:01.000000000 -0400 @@ -84,6 +84,9 @@ # type etc_t, file_type, sysadmfile; @@ -3929,50 +3940,85 @@ # # shadow_t is the type of the /etc/shadow file # -@@ -307,8 +310,7 @@ - type hugetlbfs_t, mount_point, fs_type, sysadmfile; - allow hugetlbfs_t self:filesystem associate; +@@ -273,9 +276,6 @@ + # + allow { file_type device_type ttyfile } fs_t:filesystem associate; +-# Allow the pty to be associated with the file system. +-allow devpts_t self:filesystem associate; +- + type tmpfs_t, file_type, mount_point, sysadmfile, fs_type; + allow { logfile tmpfs_t tmpfile home_type } tmpfs_t:filesystem associate; + allow { logfile tmpfile home_type } tmp_t:filesystem associate; +@@ -284,31 +284,14 @@ + ') + + type autofs_t, fs_type, noexattrfile, sysadmfile; +-allow autofs_t self:filesystem associate; +- + type usbdevfs_t, fs_type, mount_point, noexattrfile, sysadmfile; +-allow usbdevfs_t self:filesystem associate; +- + type sysfs_t, mount_point, fs_type, sysadmfile; +-allow sysfs_t self:filesystem associate; +- + type iso9660_t, fs_type, noexattrfile, sysadmfile; +-allow iso9660_t self:filesystem associate; +- + type romfs_t, fs_type, sysadmfile; +-allow romfs_t self:filesystem associate; +- + type ramfs_t, fs_type, sysadmfile; +-allow ramfs_t self:filesystem associate; +- + type dosfs_t, fs_type, noexattrfile, sysadmfile; +-allow dosfs_t self:filesystem associate; +- + type hugetlbfs_t, mount_point, fs_type, sysadmfile; +-allow hugetlbfs_t self:filesystem associate; +- -type mqueue_t, mount_point, fs_type, sysadmfile; -allow mqueue_t self:filesystem associate; +typealias file_t alias mqueue_t; # udev_runtime_t is the type of the udev table file type udev_runtime_t, file_type, sysadmfile; -@@ -322,9 +324,15 @@ - type debugfs_t, fs_type, sysadmfile; - allow debugfs_t self:filesystem associate; +@@ -317,26 +300,26 @@ + type krb5_conf_t, file_type, sysadmfile; + type cifs_t, fs_type, noexattrfile, sysadmfile; +-allow cifs_t self:filesystem associate; +- + type debugfs_t, fs_type, sysadmfile; +-allow debugfs_t self:filesystem associate; +- +type configfs_t, fs_type, sysadmfile; -+allow configfs_t self:filesystem associate; -+ type inotifyfs_t, fs_type, sysadmfile; - allow inotifyfs_t self:filesystem associate; - +-allow inotifyfs_t self:filesystem associate; +type capifs_t, fs_type, sysadmfile; -+allow capifs_t self:filesystem associate; -+ + # removable_t is the default type of all removable media type removable_t, file_type, sysadmfile, usercanread; - allow removable_t self:filesystem associate; -@@ -332,11 +340,16 @@ +-allow removable_t self:filesystem associate; + allow file_type removable_t:filesystem associate; allow file_type noexattrfile:filesystem associate; # Type for anonymous FTP data, used by ftp and rsync -type ftpd_anon_t, file_type, sysadmfile, customizable; -type ftpd_anon_rw_t, file_type, sysadmfile, customizable; +- +-allow customizable self:filesystem associate; +type public_content_t, file_type, sysadmfile, customizable; +type public_content_rw_t, file_type, sysadmfile, customizable; +typealias public_content_t alias ftpd_anon_t; +typealias public_content_rw_t alias ftpd_anon_rw_t; - allow customizable self:filesystem associate; - # type for /tmp/.ICE-unix type ice_tmp_t, file_type, sysadmfile, tmpfile; +# type for /usr/share/hwdata +type hwdata_t, file_type, sysadmfile; ++allow { fs_type file_type } self:filesystem associate; + diff --exclude-from=exclude -N -u -r nsapolicy/types/network.te policy-1.27.1/types/network.te --- nsapolicy/types/network.te 2005-09-16 11:17:12.000000000 -0400 @@ -4028,6 +4074,15 @@ type inetd_child_port_t, port_type, reserved_port_type; type ktalkd_port_t, port_type, reserved_port_type; type rsync_port_t, port_type, reserved_port_type; +diff --exclude-from=exclude -N -u -r nsapolicy/types/nfs.te policy-1.27.1/types/nfs.te +--- nsapolicy/types/nfs.te 2005-09-12 16:40:26.000000000 -0400 ++++ policy-1.27.1/types/nfs.te 2005-10-20 15:38:54.000000000 -0400 +@@ -18,5 +18,4 @@ + # + # Allow NFS files to be associated with an NFS file system. + # +-allow nfs_t self:filesystem associate; + allow file_type nfs_t:filesystem associate; diff --exclude-from=exclude -N -u -r nsapolicy/types/security.te policy-1.27.1/types/security.te --- nsapolicy/types/security.te 2005-09-12 16:40:26.000000000 -0400 +++ policy-1.27.1/types/security.te 2005-10-20 12:44:37.000000000 -0400 From fedora-cvs-commits at redhat.com Thu Oct 20 20:10:45 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 16:10:45 -0400 Subject: rpms/anaconda/devel .cvsignore, 1.150, 1.151 anaconda.spec, 1.266, 1.267 sources, 1.268, 1.269 Message-ID: <200510202010.j9KKAj8N023251@cvs.devel.redhat.com> Author: katzj Update of /cvs/dist/rpms/anaconda/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv23185/devel Modified Files: .cvsignore anaconda.spec sources Log Message: auto-import anaconda-10.89.0-1 on branch devel from anaconda-10.89.0-1.src.rpm Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/anaconda/devel/.cvsignore,v retrieving revision 1.150 retrieving revision 1.151 diff -u -r1.150 -r1.151 --- .cvsignore 15 Oct 2005 03:35:16 -0000 1.150 +++ .cvsignore 20 Oct 2005 20:10:37 -0000 1.151 @@ -1 +1 @@ -anaconda-10.3.0.32.tar.bz2 +anaconda-10.89.0.tar.bz2 Index: anaconda.spec =================================================================== RCS file: /cvs/dist/rpms/anaconda/devel/anaconda.spec,v retrieving revision 1.266 retrieving revision 1.267 diff -u -r1.266 -r1.267 --- anaconda.spec 15 Oct 2005 03:35:16 -0000 1.266 +++ anaconda.spec 20 Oct 2005 20:10:37 -0000 1.267 @@ -1,12 +1,12 @@ Name: anaconda -Version: 10.3.0.32 +Version: 10.89.0 Release: 1 License: GPL Summary: Graphical system installer Group: Applications/System Source: anaconda-%{PACKAGE_VERSION}.tar.bz2 BuildPreReq: pump-devel >= 0.8.20, kudzu-devel >= 1.2.0, pciutils-devel, bzip2-devel, e2fsprogs-devel, python-devel gtk2-devel rpm-python >= 4.2-0.61, newt-devel, rpm-devel, gettext >= 0.11, rhpl, booty, libxml2-python, zlib-devel, bogl-devel >= 0:0.1.9-17, bogl-bterm >= 0:0.1.9-17, elfutils-devel, beecrypt-devel, libselinux-devel >= 1.6, xorg-x11-devel, intltool >= 0.31.2-3, python-urlgrabber, pykickstart -Requires: rpm-python >= 4.2-0.61, rhpl >= 0.170, parted >= 1.6.3-7, booty, kudzu > 1.2.0 +Requires: rpm-python >= 4.2-0.61, rhpl >= 0.170, parted >= 1.6.3-7, booty, kudzu > 1.2.0, yum >= 2.4.0 Requires: pyparted, libxml2-python, python-urlgrabber Requires: anaconda-help, system-logos, pykickstart %ifnarch s390 s390x ppc64 @@ -25,7 +25,7 @@ Summary: Graphical system installer portions needed only for fresh installs. Group: Applications/System AutoReqProv: false -Requires: libxml2-python, python, rpm-python >= 4.2-0.61 +Requires: libxml2-python, python, rpm-python >= 4.2-0.61, yum >= 2.4.0 %description runtime The anaconda-runtime package contains parts of the installation system which @@ -72,6 +72,17 @@ /sbin/chkconfig --del reconfig >/dev/null 2>&1 || : %changelog +* Thu Oct 20 2005 Jeremy Katz - 10.89.0-1 +- Fix SELinux policy loading (clumens) +- Fix translation import for kickstart (laroche) +- Add yumcache (pnasrat) +- Upgrade blacklisting (pnasrat) +- Clean up exception copying (clumens) +- Improve text mode exception dialog too (clumens) +- Don't allow bootable partitions on XFS +- Some speed improvements, progress bars, etc for package stuff (pnasrat) +- Clean up image creation, move all modules to initrd.img. + * Fri Oct 14 2005 Jeremy Katz - 10.3.0.32-1 - fix typo causing traceback (pnasrat) - Create character device nodes to fix synaptics (clumens) Index: sources =================================================================== RCS file: /cvs/dist/rpms/anaconda/devel/sources,v retrieving revision 1.268 retrieving revision 1.269 diff -u -r1.268 -r1.269 --- sources 15 Oct 2005 03:35:16 -0000 1.268 +++ sources 20 Oct 2005 20:10:37 -0000 1.269 @@ -1 +1 @@ -be8f0baea3a7937aff0481b20ebccb5d anaconda-10.3.0.32.tar.bz2 +852ceb4505cf1981dd9b976acfe209dc anaconda-10.89.0.tar.bz2 From fedora-cvs-commits at redhat.com Thu Oct 20 20:24:00 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 16:24:00 -0400 Subject: rpms/libsepol/devel .cvsignore, 1.58, 1.59 libsepol.spec, 1.77, 1.78 sources, 1.59, 1.60 Message-ID: <200510202024.j9KKO0Qj028931@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libsepol/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv28846 Modified Files: .cvsignore libsepol.spec sources Log Message: * Tue Oct 18 2005 Dan Walsh 1.9.23-1 * Added check flag to expand_module() to control assertion and hierarchy checking on expansion. * Reworked check_assertions() and hierarchy_check_constraints() to take handles and use callback-based error reporting. * Changed expand_module() to call check_assertions() and hierarchy_check_constraints() prior to returning the expanded policy. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/libsepol/devel/.cvsignore,v retrieving revision 1.58 retrieving revision 1.59 diff -u -r1.58 -r1.59 --- .cvsignore 18 Oct 2005 17:43:53 -0000 1.58 +++ .cvsignore 20 Oct 2005 20:23:56 -0000 1.59 @@ -55,3 +55,4 @@ libsepol-1.9.18.tgz libsepol-1.9.19.tgz libsepol-1.9.21.tgz +libsepol-1.9.23.tgz Index: libsepol.spec =================================================================== RCS file: /cvs/dist/rpms/libsepol/devel/libsepol.spec,v retrieving revision 1.77 retrieving revision 1.78 diff -u -r1.77 -r1.78 --- libsepol.spec 18 Oct 2005 17:43:53 -0000 1.77 +++ libsepol.spec 20 Oct 2005 20:23:56 -0000 1.78 @@ -1,6 +1,6 @@ Summary: SELinux binary policy manipulation library Name: libsepol -Version: 1.9.21 +Version: 1.9.23 Release: 1 License: GPL Group: System Environment/Libraries @@ -79,7 +79,16 @@ %{_includedir}/sepol/policydb/*.h %changelog -* Tue Oct 18 2005 Dan Walsh 1.9.19-1 +* Tue Oct 18 2005 Dan Walsh 1.9.23-1 + * Added check flag to expand_module() to control assertion + and hierarchy checking on expansion. + * Reworked check_assertions() and hierarchy_check_constraints() + to take handles and use callback-based error reporting. + * Changed expand_module() to call check_assertions() and + hierarchy_check_constraints() prior to returning the expanded + policy. + +* Tue Oct 18 2005 Dan Walsh 1.9.21-1 - Upgrade to latest from NSA * Changed sepol_module_package_set_file_contexts to copy the file contexts data since it is internally managed. Index: sources =================================================================== RCS file: /cvs/dist/rpms/libsepol/devel/sources,v retrieving revision 1.59 retrieving revision 1.60 diff -u -r1.59 -r1.60 --- sources 18 Oct 2005 17:43:53 -0000 1.59 +++ sources 20 Oct 2005 20:23:56 -0000 1.60 @@ -1 +1 @@ -774427219df3498c5485e61d8803d733 libsepol-1.9.21.tgz +e4bea847a239b1eeefcc5bbef6ae0775 libsepol-1.9.23.tgz From fedora-cvs-commits at redhat.com Thu Oct 20 20:34:14 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 16:34:14 -0400 Subject: rpms/libsemanage/devel .cvsignore, 1.19, 1.20 libsemanage.spec, 1.23, 1.24 sources, 1.20, 1.21 Message-ID: <200510202034.j9KKYEI0000403@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libsemanage/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv364 Modified Files: .cvsignore libsemanage.spec sources Log Message: * Thu Oct 20 2005 Dan Walsh 1.3.28-1 - Update from NSA * Merged interface renaming patch from Ivan Gyurdiev. * Merged policy component patch from Ivan Gyurdiev. * Renamed 'check=' configuration value to 'expand-check=' for clarity. * Changed semanage_commit_sandbox to check for and report errors on rename(2) calls performed during rollback. * Added optional check= configuration value to semanage.conf and updated call to sepol_expand_module to pass its value to control assertion and hierarchy checking on module expansion. * Merged fixes for make DESTDIR= builds from Joshua Brindle. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/.cvsignore,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- .cvsignore 19 Oct 2005 20:59:28 -0000 1.19 +++ .cvsignore 20 Oct 2005 20:34:00 -0000 1.20 @@ -16,3 +16,4 @@ libsemanage-1.3.20.tgz libsemanage-1.3.23.tgz libsemanage-1.3.24.tgz +libsemanage-1.3.28.tgz Index: libsemanage.spec =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/libsemanage.spec,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- libsemanage.spec 19 Oct 2005 20:59:28 -0000 1.23 +++ libsemanage.spec 20 Oct 2005 20:34:00 -0000 1.24 @@ -1,7 +1,7 @@ -%define libsepolver 1.9.21-1 +%define libsepolver 1.9.23-1 Summary: SELinux binary policy manipulation library Name: libsemanage -Version: 1.3.24 +Version: 1.3.28 Release: 1 License: GPL Group: System Environment/Libraries @@ -66,7 +66,20 @@ %{_includedir}/semanage/*.h %changelog -* Tue Oct 17 2005 Dan Walsh 1.3.24-1 +* Thu Oct 20 2005 Dan Walsh 1.3.28-1 +- Update from NSA + * Merged interface renaming patch from Ivan Gyurdiev. + * Merged policy component patch from Ivan Gyurdiev. + * Renamed 'check=' configuration value to 'expand-check=' for + clarity. + * Changed semanage_commit_sandbox to check for and report errors + on rename(2) calls performed during rollback. + * Added optional check= configuration value to semanage.conf + and updated call to sepol_expand_module to pass its value + to control assertion and hierarchy checking on module expansion. + * Merged fixes for make DESTDIR= builds from Joshua Brindle. + +* Tue Oct 18 2005 Dan Walsh 1.3.24-1 - Update from NSA * Merged default database from Ivan Gyurdiev. * Merged removal of connect requirement in policydb backend from @@ -83,7 +96,7 @@ * Updated call to sepol_policydb_from_image to pass the handle. -* Tue Oct 17 2005 Dan Walsh 1.3.20-1 +* Tue Oct 18 2005 Dan Walsh 1.3.20-1 - Update from NSA * Changed default args for load_policy to be null, as it no longer takes a pathname argument and we want to preserve booleans. @@ -94,7 +107,7 @@ to invoking sepol operations on policy files. * Updated call to sepol_policydb_from_image to pass the handle. -* Tue Oct 17 2005 Dan Walsh 1.3.20-1 +* Tue Oct 18 2005 Dan Walsh 1.3.20-1 - Update from NSA * Merged user and port APIs - policy database patch from Ivan Gyurdiev. Index: sources =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/sources,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- sources 19 Oct 2005 20:59:28 -0000 1.20 +++ sources 20 Oct 2005 20:34:00 -0000 1.21 @@ -1 +1 @@ -87094b13dfaabba28af24515853e3b5a libsemanage-1.3.24.tgz +46d0f6bd7dd7e400bf47d66826536ac3 libsemanage-1.3.28.tgz From fedora-cvs-commits at redhat.com Thu Oct 20 20:34:44 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 16:34:44 -0400 Subject: rpms/checkpolicy/devel .cvsignore, 1.49, 1.50 checkpolicy.spec, 1.69, 1.70 sources, 1.50, 1.51 Message-ID: <200510202034.j9KKYi4S000424@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/checkpolicy/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv374 Modified Files: .cvsignore checkpolicy.spec sources Log Message: * Thu Oct 20 2005 Dan Walsh 1.27.16-1 - Latest upgrade from NSA * Removed obsolete cond_check_type_rules() function and call and cond_optimize_lists() call from checkpolicy.c; these are handled during parsing and expansion now. * Updated calls to expand_module for interface change. * Changed checkmodule to verify that expand_module succeeds when building base modules. * Merged module compiler fixes from Joshua Brindle. * Removed direct calls to hierarchy_check_constraints() and check_assertions() from checkpolicy since they are now called internally by expand_module(). Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/checkpolicy/devel/.cvsignore,v retrieving revision 1.49 retrieving revision 1.50 diff -u -r1.49 -r1.50 --- .cvsignore 18 Oct 2005 18:27:54 -0000 1.49 +++ .cvsignore 20 Oct 2005 20:34:02 -0000 1.50 @@ -32,3 +32,4 @@ checkpolicy-1.27.9.tgz checkpolicy-1.27.10.tgz checkpolicy-1.27.11.tgz +checkpolicy-1.27.16.tgz Index: checkpolicy.spec =================================================================== RCS file: /cvs/dist/rpms/checkpolicy/devel/checkpolicy.spec,v retrieving revision 1.69 retrieving revision 1.70 diff -u -r1.69 -r1.70 --- checkpolicy.spec 18 Oct 2005 18:23:44 -0000 1.69 +++ checkpolicy.spec 20 Oct 2005 20:34:02 -0000 1.70 @@ -1,7 +1,7 @@ -%define libsepolver 1.9.21-1 +%define libsepolver 1.9.23-1 Summary: SELinux policy compiler Name: checkpolicy -Version: 1.27.11 +Version: 1.27.16 Release: 1 License: GPL Group: Development/System @@ -44,6 +44,19 @@ %{_mandir}/man8/checkpolicy.8.gz %changelog +* Thu Oct 20 2005 Dan Walsh 1.27.16-1 +- Latest upgrade from NSA + * Removed obsolete cond_check_type_rules() function and call and + cond_optimize_lists() call from checkpolicy.c; these are handled + during parsing and expansion now. + * Updated calls to expand_module for interface change. + * Changed checkmodule to verify that expand_module succeeds + when building base modules. + * Merged module compiler fixes from Joshua Brindle. + * Removed direct calls to hierarchy_check_constraints() and + check_assertions() from checkpolicy since they are now called + internally by expand_module(). + * Tue Oct 18 2005 Dan Walsh 1.27.11-1 - Latest upgrade from NSA * Updated for changes to sepol policydb_index_others interface. Index: sources =================================================================== RCS file: /cvs/dist/rpms/checkpolicy/devel/sources,v retrieving revision 1.50 retrieving revision 1.51 diff -u -r1.50 -r1.51 --- sources 18 Oct 2005 18:27:54 -0000 1.50 +++ sources 20 Oct 2005 20:34:02 -0000 1.51 @@ -1 +1 @@ -818395004e2df274bf12aa3dacfb9b64 checkpolicy-1.27.11.tgz +425ed4fa903e77fe63b951257e73b9dd checkpolicy-1.27.16.tgz From fedora-cvs-commits at redhat.com Thu Oct 20 20:34:47 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 16:34:47 -0400 Subject: rpms/libselinux/devel .cvsignore, 1.81, 1.82 libselinux.spec, 1.130, 1.131 sources, 1.83, 1.84 Message-ID: <200510202034.j9KKYloq000464@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libselinux/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv402 Modified Files: .cvsignore libselinux.spec sources Log Message: * Thu Oct 20 2005 Dan Walsh 1.27.13-1 - Update to latest from NSA * Merged fixes for make DESTDIR= builds from Joshua Brindle. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/libselinux/devel/.cvsignore,v retrieving revision 1.81 retrieving revision 1.82 diff -u -r1.81 -r1.82 --- .cvsignore 18 Oct 2005 18:23:34 -0000 1.81 +++ .cvsignore 20 Oct 2005 20:34:16 -0000 1.82 @@ -55,3 +55,4 @@ libselinux-1.27.9.tgz libselinux-1.27.10.tgz libselinux-1.27.12.tgz +libselinux-1.27.13.tgz Index: libselinux.spec =================================================================== RCS file: /cvs/dist/rpms/libselinux/devel/libselinux.spec,v retrieving revision 1.130 retrieving revision 1.131 diff -u -r1.130 -r1.131 --- libselinux.spec 18 Oct 2005 18:23:34 -0000 1.130 +++ libselinux.spec 20 Oct 2005 20:34:28 -0000 1.131 @@ -1,7 +1,7 @@ -%define libsepolver 1.9.21-1 +%define libsepolver 1.9.23-1 Summary: SELinux library and simple utilities Name: libselinux -Version: 1.27.12 +Version: 1.27.13 Release: 1 License: Public domain (uncopyrighted) Group: System Environment/Libraries @@ -92,6 +92,10 @@ %{_mandir}/man8/* %changelog +* Thu Oct 20 2005 Dan Walsh 1.27.13-1 +- Update to latest from NSA + * Merged fixes for make DESTDIR= builds from Joshua Brindle. + * Mon Oct 17 2005 Dan Walsh 1.27.12-1 - Update to latest from NSA * Merged get_default_context_with_rolelevel and man pages from Index: sources =================================================================== RCS file: /cvs/dist/rpms/libselinux/devel/sources,v retrieving revision 1.83 retrieving revision 1.84 diff -u -r1.83 -r1.84 --- sources 18 Oct 2005 18:23:34 -0000 1.83 +++ sources 20 Oct 2005 20:34:28 -0000 1.84 @@ -1 +1 @@ -0c74dd29a27e67312c943e81873d576b libselinux-1.27.12.tgz +af6b763f11480d98fc0e3807c244a9f5 libselinux-1.27.13.tgz From fedora-cvs-commits at redhat.com Thu Oct 20 20:47:13 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 16:47:13 -0400 Subject: rpms/anaconda/devel .cvsignore, 1.151, 1.152 anaconda.spec, 1.267, 1.268 sources, 1.269, 1.270 Message-ID: <200510202047.j9KKlDrt003164@cvs.devel.redhat.com> Author: katzj Update of /cvs/dist/rpms/anaconda/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv3086/devel Modified Files: .cvsignore anaconda.spec sources Log Message: auto-import anaconda-10.89.1-1 on branch devel from anaconda-10.89.1-1.src.rpm Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/anaconda/devel/.cvsignore,v retrieving revision 1.151 retrieving revision 1.152 diff -u -r1.151 -r1.152 --- .cvsignore 20 Oct 2005 20:10:37 -0000 1.151 +++ .cvsignore 20 Oct 2005 20:47:08 -0000 1.152 @@ -1 +1 @@ -anaconda-10.89.0.tar.bz2 +anaconda-10.89.1.tar.bz2 Index: anaconda.spec =================================================================== RCS file: /cvs/dist/rpms/anaconda/devel/anaconda.spec,v retrieving revision 1.267 retrieving revision 1.268 diff -u -r1.267 -r1.268 --- anaconda.spec 20 Oct 2005 20:10:37 -0000 1.267 +++ anaconda.spec 20 Oct 2005 20:47:08 -0000 1.268 @@ -1,5 +1,5 @@ Name: anaconda -Version: 10.89.0 +Version: 10.89.1 Release: 1 License: GPL Summary: Graphical system installer @@ -72,6 +72,10 @@ /sbin/chkconfig --del reconfig >/dev/null 2>&1 || : %changelog +* Thu Oct 20 2005 Jeremy Katz - 10.89.1-1 +- fix for mkcramfs -> mkfs.cramfs +- Use minstg2.img instead of netstg2.img/hdstg2.img in the loader + * Thu Oct 20 2005 Jeremy Katz - 10.89.0-1 - Fix SELinux policy loading (clumens) - Fix translation import for kickstart (laroche) Index: sources =================================================================== RCS file: /cvs/dist/rpms/anaconda/devel/sources,v retrieving revision 1.269 retrieving revision 1.270 diff -u -r1.269 -r1.270 --- sources 20 Oct 2005 20:10:37 -0000 1.269 +++ sources 20 Oct 2005 20:47:08 -0000 1.270 @@ -1 +1 @@ -852ceb4505cf1981dd9b976acfe209dc anaconda-10.89.0.tar.bz2 +59004b9375b0c90cd6f3cb15d3669dbd anaconda-10.89.1.tar.bz2 From fedora-cvs-commits at redhat.com Thu Oct 20 21:16:14 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 17:16:14 -0400 Subject: rpms/kernel/devel linux-2.6-autofs-pathlookup.patch, NONE, 1.1 kernel-2.6.spec, 1.1620, 1.1621 Message-ID: <200510202116.j9KLGErq013287@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv13174 Modified Files: kernel-2.6.spec Added Files: linux-2.6-autofs-pathlookup.patch Log Message: Fix autofs4 looking up wrong path element when ghosting is enabled. linux-2.6-autofs-pathlookup.patch: expire.c | 4 ++-- root.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) --- NEW FILE linux-2.6-autofs-pathlookup.patch --- From: Ian Kent To: Jeff Moyer cc: autofs at linux.kernel.org, linux-kernel at vger.kernel.org Subject: Re: autofs4 looks up wrong path element when ghosting is enabled Date: Sat, 15 Oct 2005 20:30:47 +0800 (WST) On Mon, 26 Sep 2005, Jeff Moyer wrote: > ==> Regarding Re: autofs4 looks up wrong path element when ghosting is enabled; Ian Kent adds: > > raven> On Sat, 24 Sep 2005, Jeff Moyer wrote: > >> >> >> >> >> Ian, I'm not really sure how we can address this issue > >> without VFS >> >> changes. Any ideas? > >> >> >> > >> >> > raven> I'm aware of this problem. I'm not sure how to deal with it yet. > raven> The case above is probably not that difficult to solve but if the > raven> last component is a directory it's hard to work out it's a problem. > >> >> Ugh. If you're thinking what I think you're thinking, that's an ugly > >> >> hack. > >> > raven> Don't think so. > >> > raven> I've been seeing this for a while. I wasn't quite sure of the source > raven> but, for some reason your report has cleared that up. > >> > raven> The problem is not so much the success returned on the failed mount > raven> (revalidate). It's the return from the following lookup. This is a > raven> lookup in a non-root directory. I replaced the non-root lookup with > raven> the root lookup a while ago and I think this is an unexpected side > raven> affect of that. Becuase of other changes that lead to that decision > raven> I think that it should be now be OK to put back the null function > raven> (always return a negative dentry) that was there before I started > raven> working on the browable maps feature. > >> I've had a look at this a bit more deeply. As we know we can't make the path walk lookup fail by autofs4_revalidate simply returning 0 and to change that in the kernel would be far to dangerous. So we need to deal with this during the following lookup. This just means we get an unwanted callback to the daemon which will fail and should not cause a problem. I'm still not fully clear on the reasoning behind the logic in try_to_fill_dentry when called with a negative dentry. One of the things it attempts to do is cache a lookup failure (ENOENT return from the wait). Unfortuneatly the subsequent test in autofs4_revalidate is a tautology, always returning true. So d_invalidate is never called to cleanup what might be a stale dentry. While this is not causing the problem stale dentrys are the problem. I still haven't decided whether it would be a good idea to return 0 instead of 1 from try_to_fill_dentry for these failed mount attempts. All this would do is give the kernel more chances to clean up the stale dentries. The dentry in question won't be released at this point as it has a non zero reference count (I believe). But sooner or later they will go anyway when d_invalidate is called. So to resolve this we need to ignore negative and unhashed dentries when checking if directory dentry is empty. Please test this patch and let me know how you go. diff -Nurp linux-2.6.12.orig/fs/autofs4/expire.c linux-2.6.12/fs/autofs4/expire.c --- linux-2.6.12.orig/fs/autofs4/expire.c 2005-06-18 03:48:29.000000000 +0800 +++ linux-2.6.12/fs/autofs4/expire.c 2005-10-09 15:11:37.000000000 +0800 @@ -177,7 +177,7 @@ resume: DPRINTK("dentry %p %.*s", dentry, (int)dentry->d_name.len, dentry->d_name.name); - if (!list_empty(&dentry->d_subdirs)) { + if (!simple_empty_nolock(dentry)) { this_parent = dentry; goto repeat; } @@ -269,7 +269,7 @@ static struct dentry *autofs4_expire(str goto next; } - if ( simple_empty(dentry) ) + if (simple_empty(dentry)) goto next; /* Case 2: tree mount, expire iff entire tree is not busy */ diff -Nurp linux-2.6.12.orig/fs/autofs4/root.c linux-2.6.12/fs/autofs4/root.c --- linux-2.6.12.orig/fs/autofs4/root.c 2005-06-18 03:48:29.000000000 +0800 +++ linux-2.6.12/fs/autofs4/root.c 2005-10-09 15:52:04.000000000 +0800 @@ -386,13 +386,13 @@ static int autofs4_revalidate(struct den /* Negative dentry.. invalidate if "old" */ if (dentry->d_inode == NULL) - return (dentry->d_time - jiffies <= AUTOFS_NEGATIVE_TIMEOUT); + return (dentry->d_time - jiffies <= 0); /* Check for a non-mountpoint directory with no contents */ spin_lock(&dcache_lock); if (S_ISDIR(dentry->d_inode->i_mode) && !d_mountpoint(dentry) && - list_empty(&dentry->d_subdirs)) { + simple_empty_nolock(dentry)) { DPRINTK("dentry=%p %.*s, emptydir", dentry, dentry->d_name.len, dentry->d_name.name); spin_unlock(&dcache_lock); Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v retrieving revision 1.1620 retrieving revision 1.1621 diff -u -r1.1620 -r1.1621 --- kernel-2.6.spec 20 Oct 2005 18:01:43 -0000 1.1620 +++ kernel-2.6.spec 20 Oct 2005 21:16:10 -0000 1.1621 @@ -320,6 +320,7 @@ Patch1700: linux-2.6-missing-exports.patch Patch1710: linux-2.6-radeon-backlight.patch Patch1720: linux-2.6-ide-tune-locking.patch +Patch1730: linux-2.6-autofs-pathlookup.patch # ACPI patches. Patch1800: linux-2.6-acpi-enable-ecburst.patch @@ -759,6 +760,8 @@ %patch1710 -p1 # Fix IDE locking bug. %patch1720 -p1 +# autofs4 looks up wrong path element when ghosting is enabled +%patch1730 -p1 # ACPI patches. # Enable EC burst @@ -1266,6 +1269,7 @@ * Thu Oct 20 2005 Dave Jones - 2.6.14-rc5 - Aparently the ipw2200 drivers need 2.2 of the firmware right now. +- Fix autofs4 looking up wrong path element when ghosting is enabled. * Thu Oct 20 2005 David Woodhouse - Bring forward 8250 OpenFirmware probe patch from FC4. From fedora-cvs-commits at redhat.com Thu Oct 20 21:34:48 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 17:34:48 -0400 Subject: rpms/anaconda/devel .cvsignore, 1.152, 1.153 anaconda.spec, 1.268, 1.269 sources, 1.270, 1.271 Message-ID: <200510202134.j9KLYm73021499@cvs.devel.redhat.com> Author: katzj Update of /cvs/dist/rpms/anaconda/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv21432/devel Modified Files: .cvsignore anaconda.spec sources Log Message: auto-import anaconda-10.89.2-1 on branch devel from anaconda-10.89.2-1.src.rpm Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/anaconda/devel/.cvsignore,v retrieving revision 1.152 retrieving revision 1.153 diff -u -r1.152 -r1.153 --- .cvsignore 20 Oct 2005 20:47:08 -0000 1.152 +++ .cvsignore 20 Oct 2005 21:34:16 -0000 1.153 @@ -1 +1 @@ -anaconda-10.89.1.tar.bz2 +anaconda-10.89.2.tar.bz2 Index: anaconda.spec =================================================================== RCS file: /cvs/dist/rpms/anaconda/devel/anaconda.spec,v retrieving revision 1.268 retrieving revision 1.269 diff -u -r1.268 -r1.269 --- anaconda.spec 20 Oct 2005 20:47:08 -0000 1.268 +++ anaconda.spec 20 Oct 2005 21:34:16 -0000 1.269 @@ -1,5 +1,5 @@ Name: anaconda -Version: 10.89.1 +Version: 10.89.2 Release: 1 License: GPL Summary: Graphical system installer @@ -72,6 +72,9 @@ /sbin/chkconfig --del reconfig >/dev/null 2>&1 || : %changelog +* Thu Oct 20 2005 Jeremy Katz - 10.89.2-1 +- fix references to second stage module stuff that caused breakage + * Thu Oct 20 2005 Jeremy Katz - 10.89.1-1 - fix for mkcramfs -> mkfs.cramfs - Use minstg2.img instead of netstg2.img/hdstg2.img in the loader Index: sources =================================================================== RCS file: /cvs/dist/rpms/anaconda/devel/sources,v retrieving revision 1.270 retrieving revision 1.271 diff -u -r1.270 -r1.271 --- sources 20 Oct 2005 20:47:08 -0000 1.270 +++ sources 20 Oct 2005 21:34:17 -0000 1.271 @@ -1 +1 @@ -59004b9375b0c90cd6f3cb15d3669dbd anaconda-10.89.1.tar.bz2 +cdcd0212ad83c91842fe01edbc272f9d anaconda-10.89.2.tar.bz2 From fedora-cvs-commits at redhat.com Thu Oct 20 21:58:24 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 17:58:24 -0400 Subject: rpms/util-linux/devel util-linux-2.13-cramfs-maxentries.patch, NONE, 1.1 util-linux.spec, 1.91, 1.92 Message-ID: <200510202158.j9KLwOAA030555@cvs.devel.redhat.com> Author: kzak Update of /cvs/dist/rpms/util-linux/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30294 Modified Files: util-linux.spec Added Files: util-linux-2.13-cramfs-maxentries.patch Log Message: fix cramfs util-linux-2.13-cramfs-maxentries.patch: mkfs.cramfs.c | 21 ++++++++++++--------- 1 files changed, 12 insertions(+), 9 deletions(-) --- NEW FILE util-linux-2.13-cramfs-maxentries.patch --- --- util-linux-2.13-pre5/disk-utils/mkfs.cramfs.c.maxentries 2005-10-20 23:46:19.000000000 +0200 +++ util-linux-2.13-pre5/disk-utils/mkfs.cramfs.c 2005-10-20 23:54:07.000000000 +0200 @@ -471,11 +471,13 @@ * entries, using a stack to remember the directories * we've seen. */ -#define MAXENTRIES (100) static unsigned int write_directory_structure(struct entry *entry, char *base, unsigned int offset) { int stack_entries = 0; - struct entry *entry_stack[MAXENTRIES]; + int stack_size = 64; + struct entry **entry_stack; + + entry_stack = xmalloc(stack_size * sizeof(struct entry *)); for (;;) { int dir_start = stack_entries; @@ -508,13 +510,13 @@ if (verbose) printf(" %s\n", entry->name); if (entry->child) { - if (stack_entries >= MAXENTRIES) { - fprintf(stderr, - _("Exceeded MAXENTRIES. Raise" - " this value in mkcramfs.c " - "and recompile. Exiting.\n") - ); - exit(8); + if (stack_entries >= stack_size) { + stack_size *= 2; + entry_stack = realloc(entry_stack, stack_size * sizeof(struct entry *)); + if (!entry_stack) { + perror(NULL); + exit(8); /* out of memory */ + } } entry_stack[stack_entries] = entry; stack_entries++; @@ -551,6 +553,7 @@ printf("'%s':\n", entry->name); entry = entry->child; } + free(entry_stack); return offset; } Index: util-linux.spec =================================================================== RCS file: /cvs/dist/rpms/util-linux/devel/util-linux.spec,v retrieving revision 1.91 retrieving revision 1.92 diff -u -r1.91 -r1.92 --- util-linux.spec 20 Oct 2005 14:54:21 -0000 1.91 +++ util-linux.spec 20 Oct 2005 21:58:21 -0000 1.92 @@ -25,7 +25,7 @@ Summary: A collection of basic system utilities. Name: util-linux Version: 2.13 -Release: 0.6.pre5 +Release: 0.7.pre5 License: distributable Group: System Environment/Base @@ -155,6 +155,8 @@ Patch215: util-linux-2.13-audit-login.patch # 170171 - ipcs -lm always report "max total shared memory (kbytes) = 0" Patch216: util-linux-2.13-ipcs-shmax.patch +# 171337 - mkfs.cramfs dies creating installer image +Patch217: util-linux-2.13-cramfs-maxentries.patch # When adding patches, please make sure that it is easy to find out what bug # the # patch fixes. @@ -221,8 +223,10 @@ %patch212 -p1 %patch213 -p1 %patch214 -p1 +# audit %patch215 -p1 %patch216 -p1 +%patch217 -p1 %build unset LINGUAS || : @@ -606,6 +610,9 @@ /sbin/losetup %changelog +* Thu Oct 20 2005 Karel Zak 2.13-0.7.pre5 +- fix #171337 - mkfs.cramfs dies creating installer image + * Thu Oct 20 2005 Karel Zak 2.13-0.6.pre5 - update to upstream 2.13pre5 - remove separated cramfs1.1 (already in upstream package) From fedora-cvs-commits at redhat.com Fri Oct 21 03:46:22 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Thu, 20 Oct 2005 23:46:22 -0400 Subject: rpms/pup/devel .cvsignore,1.6,1.7 pup.spec,1.7,1.8 sources,1.8,1.9 Message-ID: <200510210346.j9L3kMas009348@cvs.devel.redhat.com> Author: katzj Update of /cvs/dist/rpms/pup/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv9237/devel Modified Files: .cvsignore pup.spec sources Log Message: auto-import pup-0.1.3-1 on branch devel from pup-0.1.3-1.src.rpm Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/pup/devel/.cvsignore,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- .cvsignore 19 Oct 2005 18:05:36 -0000 1.6 +++ .cvsignore 21 Oct 2005 03:46:13 -0000 1.7 @@ -1 +1 @@ -pup-0.1.2.tar.bz2 +pup-0.1.3.tar.bz2 Index: pup.spec =================================================================== RCS file: /cvs/dist/rpms/pup/devel/pup.spec,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- pup.spec 19 Oct 2005 18:05:36 -0000 1.7 +++ pup.spec 21 Oct 2005 03:46:13 -0000 1.8 @@ -1,6 +1,6 @@ Summary: Graphical package updater Name: pup -Version: 0.1.2 +Version: 0.1.3 Release: 1 License: GPL Group: System Environment/Base @@ -42,6 +42,10 @@ %attr(0644,root,root) %config /etc/pam.d/pup %changelog +* Thu Oct 20 2005 Jeremy Katz - 0.1.3-1 +- Don't let people use the main window when a progress bar is up (#171231) +- Give details of download and dependency errors. + * Wed Oct 19 2005 Jeremy Katz - 0.1.2-1 - fix using file:/// paths for repos - error correctly when there's an unresolvable dependency Index: sources =================================================================== RCS file: /cvs/dist/rpms/pup/devel/sources,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- sources 19 Oct 2005 18:05:36 -0000 1.8 +++ sources 21 Oct 2005 03:46:13 -0000 1.9 @@ -1 +1 @@ -472736b08b5d4d94fe3ad11a9ca8493d pup-0.1.2.tar.bz2 +5b65ff0a711c4416018fb3d12d1ed7be pup-0.1.3.tar.bz2 From fedora-cvs-commits at redhat.com Fri Oct 21 07:41:05 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 03:41:05 -0400 Subject: rpms/kernel/FC-3 kernel-2.6.spec,1.894,1.895 Message-ID: <200510210741.j9L7f5I8012047@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-3 In directory cvs.devel.redhat.com:/tmp/cvs-serv12035 Modified Files: kernel-2.6.spec Log Message: disable stacked md for a test Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-3/kernel-2.6.spec,v retrieving revision 1.894 retrieving revision 1.895 diff -u -r1.894 -r1.895 --- kernel-2.6.spec 19 Oct 2005 23:42:57 -0000 1.894 +++ kernel-2.6.spec 21 Oct 2005 07:41:01 -0000 1.895 @@ -670,7 +670,7 @@ # Power up the pwc camera by default. %patch1628 -p1 # Cut down stack usage in md layer. (#167173) -%patch1629 -p1 +#%patch1629 -p1 # Fix no blue/fuzzy video on ibmcam (#148832) %patch1630 -p1 # Fix up the SATA vs IDE issue. @@ -1027,6 +1027,9 @@ %endif %changelog +* Fri Oct 21 2005 Dave Jones +- Disable the stacked md patch again. + * Wed Oct 19 2005 Dave Jones [2.6.12-1.1380_FC3] - CAN-2005-2973 (ipv6 infinite loop) - CAN-2005-3179 (world writable drm sysfs file) From fedora-cvs-commits at redhat.com Fri Oct 21 07:41:36 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 03:41:36 -0400 Subject: rpms/openoffice.org/devel openoffice.org.spec,1.514,1.515 Message-ID: <200510210741.j9L7faGT012129@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/openoffice.org/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv12117 Modified Files: openoffice.org.spec Log Message: launchers for fc4 Index: openoffice.org.spec =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/devel/openoffice.org.spec,v retrieving revision 1.514 retrieving revision 1.515 diff -u -r1.514 -r1.515 --- openoffice.org.spec 20 Oct 2005 09:02:17 -0000 1.514 +++ openoffice.org.spec 21 Oct 2005 07:41:31 -0000 1.515 @@ -1129,6 +1129,10 @@ echo exec %{instdir}/program/soffice \"\$@\" >> $RPM_BUILD_ROOT/%{_bindir}/openoffice.org-2.0 chmod a+x $RPM_BUILD_ROOT/%{_bindir}/openoffice.org-2.0 +%if %{build_fc4} +cp $RPM_BUILD_ROOT/%{_bindir}/openoffice.org-2.0 $RPM_BUILD_ROOT/%{_bindir}/openoffice.org-1.9 +%endif + echo \#\!/bin/sh > $RPM_BUILD_ROOT/usr/bin/ooffice echo exec %{instdir}/program/soffice \"\$@\" >> $RPM_BUILD_ROOT/%{_bindir}/ooffice chmod a+x $RPM_BUILD_ROOT/%{_bindir}/ooffice @@ -2743,6 +2747,9 @@ #spellchecking lib %{instdir}/program/liblnth680*.so #launchers +%if %{build_fc4} +%{_bindir}/openoffice.org-1.9 +%endif %{_bindir}/openoffice.org-2.0 %{_bindir}/ooffice %{_bindir}/ooviewdoc From fedora-cvs-commits at redhat.com Fri Oct 21 07:52:48 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 03:52:48 -0400 Subject: rpms/am-utils/devel .cvsignore, 1.8, 1.9 am-utils.spec, 1.30, 1.31 sources, 1.8, 1.9 am-utils-6.1.2.1-unregAmd.patch, 1.1, NONE Message-ID: <200510210752.j9L7qm5H017385@cvs.devel.redhat.com> Author: pvrabec Update of /cvs/dist/rpms/am-utils/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv17227 Modified Files: .cvsignore am-utils.spec sources Removed Files: am-utils-6.1.2.1-unregAmd.patch Log Message: upgrade Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/am-utils/devel/.cvsignore,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- .cvsignore 5 Oct 2005 16:26:58 -0000 1.8 +++ .cvsignore 21 Oct 2005 07:52:45 -0000 1.9 @@ -1 +1 @@ -am-utils-6.1.2.1.tar.gz +am-utils-6.1.3.tar.gz Index: am-utils.spec =================================================================== RCS file: /cvs/dist/rpms/am-utils/devel/am-utils.spec,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- am-utils.spec 5 Oct 2005 19:23:45 -0000 1.30 +++ am-utils.spec 21 Oct 2005 07:52:45 -0000 1.31 @@ -1,6 +1,6 @@ Summary: Automount utilities including an updated version of Amd. Name: am-utils -Version: 6.1.2.1 +Version: 6.1.3 Release: 1 License: BSD Epoch: 5 @@ -11,8 +11,7 @@ Source2: am-utils.conf Source3: am-utils.sysconf Source4: am-utils.net.map -Patch1: am-utils-6.1.2.1-unregAmd.patch -Patch2: am-utils-6.1.1-linuxNfsMountCheck.patch +Patch1: am-utils-6.1.1-linuxNfsMountCheck.patch BuildRoot: %{_tmppath}/%{name}-root BuildPrereq: gdbm-devel, hesiod-devel, openldap-devel autoconf automake libtool Requires: portmap, grep, gawk, findutils @@ -36,8 +35,7 @@ %prep %setup -q -%patch1 -p1 -b .unregAmd -%patch2 -p1 -b .linuxNfsMountCheck +%patch1 -p1 -b .linuxNfsMountCheck autoconf @@ -134,6 +132,9 @@ %{_libdir}/libamu.so* %changelog +* Fri Oct 20 2005 Peter Vrabec 6.1.3-1 +- upgrade + * Wed Oct 04 2005 Peter Vrabec 6.1.2.1-1 - upgrade - fix amd shutdown(#158268,#54246) Index: sources =================================================================== RCS file: /cvs/dist/rpms/am-utils/devel/sources,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- sources 5 Oct 2005 16:26:58 -0000 1.8 +++ sources 21 Oct 2005 07:52:45 -0000 1.9 @@ -1 +1 @@ -ac781b1e7db007c7379a90843e37f229 am-utils-6.1.2.1.tar.gz +6b023c3d5270429f4ce54ee1edea4f8f am-utils-6.1.3.tar.gz --- am-utils-6.1.2.1-unregAmd.patch DELETED --- From fedora-cvs-commits at redhat.com Fri Oct 21 08:18:26 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 04:18:26 -0400 Subject: rpms/logrotate/devel logrotate-3.7.2-fix_free_segfaults2.patch, NONE, 1.1 logrotate.spec, 1.34, 1.35 Message-ID: <200510210818.j9L8IQmo021647@cvs.devel.redhat.com> Author: pvrabec Update of /cvs/dist/rpms/logrotate/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv21519 Modified Files: logrotate.spec Added Files: logrotate-3.7.2-fix_free_segfaults2.patch Log Message: fix_free_segfaults (#171093) logrotate-3.7.2-fix_free_segfaults2.patch: logrotate.c | 70 +++++++++++++++++++++++++++++++++--------------------------- 1 files changed, 39 insertions(+), 31 deletions(-) --- NEW FILE logrotate-3.7.2-fix_free_segfaults2.patch --- diff -ur logrotate-3.7.2-orig/logrotate.c logrotate-3.7.2/logrotate.c --- logrotate-3.7.2-orig/logrotate.c 2005-10-19 08:20:15.000000000 -0200 +++ logrotate-3.7.2/logrotate.c 2005-10-20 09:25:19.000000000 -0200 @@ -64,36 +64,44 @@ return 1; } -static void free_single_loginfo_item(logInfo *itemPtr) -{ - int i; - if (itemPtr->pattern) free(itemPtr->pattern); - if (itemPtr->oldDir) free(itemPtr->oldDir); - if (itemPtr->pre) free(itemPtr->pre); - if (itemPtr->post) free(itemPtr->post); - if (itemPtr->first) free(itemPtr->first); - if (itemPtr->last) free(itemPtr->last); - if (itemPtr->logAddress) free(itemPtr->logAddress); - if (itemPtr->extension) free(itemPtr->extension); - if (itemPtr->rotatePattern) free(itemPtr->rotatePattern); - - for (i = 0; i < itemPtr->numFiles; i++) - free(itemPtr->files[i]); - free(itemPtr->files); - - for (i = 0; i < itemPtr->compress_options_count; i++) - free((char *) itemPtr->compress_options_list[i]); - - free(itemPtr->compress_options_list); -} - - -static void free_loginfo(logInfo ** logsPtr, int * numLogsPtr) { - int i; - for (i = 0; i < *numLogsPtr; i++) - free_single_loginfo_item(*logsPtr + i); - - /* free the whole block which was realloc'ed */ +/* logInfo instances may share dynamic allocated memory, so to avoid + * free memory already free'd, it is necessary check if a item in a + * logInfo instance points to the same memory address of the item in + * previous instances, which were free'd before. */ + +#define freeLogItem(what) \ + if (log->what) { \ + for (j = 0; j < i; j++) \ + if (log->what == (*logsPtr + j)->what) \ + break; \ + if (j == i) \ + free(log->what); \ + } + +static void free_logInfo(logInfo ** logsPtr, int * numLogsPtr) { + int i, j; + logInfo * log; + + for (i = 0; i < *numLogsPtr; i++) { + log = *logsPtr + i; + freeLogItem(pattern); + freeLogItem(oldDir); + freeLogItem(pre); + freeLogItem(post); + freeLogItem(first); + freeLogItem(last); + freeLogItem(logAddress); + freeLogItem(extension); + freeLogItem(rotatePattern); + + for (j = 0; j < log->numFiles; j++) + free(log->files[j]); + free(log->files); + + for (j = 0; j < log->compress_options_count; j++) + free((char *) log->compress_options_list[j]); + free(log->compress_options_list); + } free(*logsPtr); } @@ -1365,6 +1373,6 @@ } free(si.states); - free_loginfo(&logs, &numLogs); + free_logInfo(&logs, &numLogs); return (rc != 0); } Index: logrotate.spec =================================================================== RCS file: /cvs/dist/rpms/logrotate/devel/logrotate.spec,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- logrotate.spec 18 Oct 2005 14:14:51 -0000 1.34 +++ logrotate.spec 21 Oct 2005 08:18:24 -0000 1.35 @@ -5,7 +5,7 @@ Summary: Rotates, compresses, removes and mails system log files. Name: logrotate Version: 3.7.2 -Release: 8 +Release: 9 License: GPL Group: System Environment/Base Source: logrotate-%{PACKAGE_VERSION}.tar.gz @@ -17,6 +17,7 @@ Patch5: logrotate-3.7.2-cleanUp.patch Patch6: logrotate-3.7.2-fix_free_segfaults.patch Patch7: logrotate-3.7.2-fixLeaks_tabooExts.patch +Patch8: logrotate-3.7.2-fix_free_segfaults2.patch %description The logrotate utility is designed to simplify the administration of @@ -38,6 +39,7 @@ %patch5 -p1 -b .cleanUp %patch6 -p1 -b .fix_free_segfaults %patch7 -p1 -b .fixLeaks_tabooExts +%patch8 -p1 -b .fix_free_segfaults2 %build @@ -71,6 +73,9 @@ %attr(0644, root, root) %verify(not size md5 mtime) %config(noreplace) /var/lib/logrotate.status %changelog +* Thu Oct 20 2005 Peter Vrabec 3.7.2-9 +- fix_free_segfaults (#171093) + * Tue Oct 18 2005 Peter Vrabec 3.7.2-8 - fix leaks of tabooExts From fedora-cvs-commits at redhat.com Fri Oct 21 08:25:09 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 04:25:09 -0400 Subject: rpms/cups/devel cups.spec,1.121,1.122 Message-ID: <200510210825.j9L8P9AQ032255@cvs.devel.redhat.com> Author: twaugh Update of /cvs/dist/rpms/cups/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30250 Modified Files: cups.spec Log Message: 1:1.1.23-24 Index: cups.spec =================================================================== RCS file: /cvs/dist/rpms/cups/devel/cups.spec,v retrieving revision 1.121 retrieving revision 1.122 diff -u -r1.121 -r1.122 --- cups.spec 20 Oct 2005 16:11:25 -0000 1.121 +++ cups.spec 21 Oct 2005 08:25:06 -0000 1.122 @@ -6,7 +6,7 @@ Summary: Common Unix Printing System Name: cups Version: 1.1.23 -Release: 23 +Release: 24 License: GPL Group: System Environment/Daemons Source: ftp://ftp.easysw.com/pub/cups/test/cups-%{version}-source.tar.bz2 @@ -425,7 +425,7 @@ %{_libdir}/cups/daemon/cups-lpd %changelog -* Thu Oct 20 2005 Tim Waugh +* Thu Oct 20 2005 Tim Waugh 1:1.1.23-24 - Build with -fstack-protector-all. * Sat Oct 15 2005 Florian La Roche 1:1.1.23-23 From fedora-cvs-commits at redhat.com Fri Oct 21 09:16:32 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 05:16:32 -0400 Subject: rpms/system-config-date/devel .cvsignore, 1.23, 1.24 sources, 1.24, 1.25 system-config-date.spec, 1.29, 1.30 Message-ID: <200510210916.j9L9GWWP014923@cvs.devel.redhat.com> Author: nphilipp Update of /cvs/dist/rpms/system-config-date/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv14121 Modified Files: .cvsignore sources system-config-date.spec Log Message: revamp pot file generation (#171330) don't use pam_stack (#170623) Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/system-config-date/devel/.cvsignore,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- .cvsignore 7 Oct 2005 11:21:54 -0000 1.23 +++ .cvsignore 21 Oct 2005 09:16:22 -0000 1.24 @@ -1 +1 @@ -system-config-date-1.7.99.2.tar.bz2 +system-config-date-1.7.99.3.tar.bz2 Index: sources =================================================================== RCS file: /cvs/dist/rpms/system-config-date/devel/sources,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- sources 7 Oct 2005 11:21:54 -0000 1.24 +++ sources 21 Oct 2005 09:16:22 -0000 1.25 @@ -1 +1 @@ -06264b85f644656b0a2ea9bb812998d1 system-config-date-1.7.99.2.tar.bz2 +bbd11ec516b28090d2d27821885a5d63 system-config-date-1.7.99.3.tar.bz2 Index: system-config-date.spec =================================================================== RCS file: /cvs/dist/rpms/system-config-date/devel/system-config-date.spec,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- system-config-date.spec 7 Oct 2005 11:21:54 -0000 1.29 +++ system-config-date.spec 21 Oct 2005 09:16:22 -0000 1.30 @@ -1,6 +1,6 @@ Summary: A graphical interface for modifying system date and time Name: system-config-date -Version: 1.7.99.2 +Version: 1.7.99.3 Release: 1 URL: http://fedora.redhat.com/projects/config-tools/ License: GPL @@ -92,6 +92,12 @@ %attr(0644,root,root) %config(noreplace) /usr/share/system-config-date/ntp.template %changelog +* Fri Oct 21 2005 Nils Philippsen 1.7.99.3 +- revamp pot file generation (#171330) + +* Fri Oct 14 2005 Nils Philippsen +- don't use pam_stack (#170623) + * Fri Oct 07 2005 Nils Philippsen 1.7.99.2 - write comment about the ZONE parameter into /etc/sysconfig/clock (#123101) - handle comments when reading /etc/sysconfig/clock From fedora-cvs-commits at redhat.com Fri Oct 21 09:54:31 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 05:54:31 -0400 Subject: rpms/s390utils/devel s390-tools-1.5.0-automenu.patch, NONE, 1.1 s390-tools-1.5.0-fdasd-raid.patch, NONE, 1.1 s390-tools-1.5.0-fmtpercentage.patch, NONE, 1.1 s390-tools-1.5.0-rhconf.patch, NONE, 1.1 s390-tools-1.5.0-su.patch, NONE, 1.1 s390-tools-1.5.0-subdirs.patch, NONE, 1.1 .cvsignore, 1.11, 1.12 s390utils.spec, 1.24, 1.25 sources, 1.12, 1.13 s390-tools-1.1.6-fmtpercentage.patch, 1.1, NONE s390-tools-1.2.1-rhconf.patch, 1.2, NONE s390-tools-1.3.1-automenu.patch, 1.4, NONE s390-tools-1.3.1-fdasd-raid.patch, 1.1, NONE s390-tools-1.3.2-su.patch, 1.1, NONE s390-tools-1.3.2-subdirs.patch, 1.1, NONE Message-ID: <200510210954.j9L9sVOc030323@cvs.devel.redhat.com> Author: pknirsch Update of /cvs/dist/rpms/s390utils/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30204 Modified Files: .cvsignore s390utils.spec sources Added Files: s390-tools-1.5.0-automenu.patch s390-tools-1.5.0-fdasd-raid.patch s390-tools-1.5.0-fmtpercentage.patch s390-tools-1.5.0-rhconf.patch s390-tools-1.5.0-su.patch s390-tools-1.5.0-subdirs.patch Removed Files: s390-tools-1.1.6-fmtpercentage.patch s390-tools-1.2.1-rhconf.patch s390-tools-1.3.1-automenu.patch s390-tools-1.3.1-fdasd-raid.patch s390-tools-1.3.2-su.patch s390-tools-1.3.2-subdirs.patch Log Message: - Large update from 1.3.2 to 1.5.0 - Include osasnmpd and vmcp now by default s390-tools-1.5.0-automenu.patch: man/zipl.8 | 7 +++ src/job.c | 134 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- src/scan.c | 4 - src/zipl.c | 1 4 files changed, 140 insertions(+), 6 deletions(-) --- NEW FILE s390-tools-1.5.0-automenu.patch --- --- s390-tools-1.5.0/zipl/man/zipl.8.automenu 2004-10-06 10:11:14.000000000 +0200 +++ s390-tools-1.5.0/zipl/man/zipl.8 2005-10-20 10:09:31.000000000 +0200 @@ -217,6 +217,13 @@ Note that when working with tapes, the current device position will be changed even when specifying this option. +.TP +.BR "\-x" " or " "\-\-no-automenu" +Disables the automatic creation of a multiboot menu. Specifying a menu with the +"-m " option or a section disables this feature, too. This option was +added for compatibility with previous versions of the multiboot version of +zipl. + .SH EXAMPLE 1. Scenario: prepare disk for booting a Linux kernel image using the following parameters: --- s390-tools-1.5.0/zipl/src/job.c.automenu 2004-10-06 10:11:14.000000000 +0200 +++ s390-tools-1.5.0/zipl/src/job.c 2005-10-20 10:41:33.000000000 +0200 @@ -42,13 +42,14 @@ { "version", no_argument, NULL, 'v'}, { "verbose", no_argument, NULL, 'V'}, { "add-files", no_argument, NULL, 'a'}, + { "no-automenu", no_argument, NULL, 'x'}, { "tape", required_argument, NULL, 'T'}, { "dry-run", no_argument, NULL, '0'}, { NULL, 0, NULL, 0 } }; /* Command line option abbreviations */ -static const char option_string[] = "-c:t:i:r:p:P:d:D:s:m:hHnVvaT:"; +static const char option_string[] = "-c:t:i:r:p:P:d:D:s:m:hHnVvaxT:"; struct command_line { char* data[SCAN_KEYWORD_NUM]; @@ -60,10 +61,13 @@ int version; int verbose; int add_files; + int automenu; int dry_run; enum scan_section_type type; }; +/* Global variable for default boot target. Ugly but necessary... */ +static char *default_target; static int store_option(struct command_line* cmdline, enum scan_keyword_id keyword, @@ -89,6 +93,7 @@ int i; memset((void *) &cmdline, 0, sizeof(struct command_line)); + cmdline.automenu = 1; cmdline.type = section_invalid; /* Turn off standard option parser errors - we have our own */ opterr = 0; @@ -176,6 +181,9 @@ case '0': cmdline.dry_run = 1; break; + case 'x': + cmdline.automenu = 0; + break; case 1: /* Non-option is interpreted as section name */ if (cmdline.section != NULL) { @@ -221,6 +229,9 @@ if (cmdline.help || cmdline.version) { /* Always accept --help and --version */ } else if ((cmdline.menu != NULL) || (cmdline.section != NULL)) { + /* If either menu or section has been selected disable + automenu generation */ + cmdline.automenu = 0; /* Config file mode */ if ((cmdline.menu != NULL) && (cmdline.section != NULL)) { error_reason("Option 'menu' cannot be used when " @@ -759,7 +770,10 @@ /* IPL job */ job->id = job_ipl; /* Fill in name of bootmap directory */ - job->bootmap_dir = misc_strdup(data[(int) scan_keyword_target]); + if (data[(int) scan_keyword_target] == NULL) + job->bootmap_dir = misc_strdup(default_target); + else + job->bootmap_dir = misc_strdup(data[(int) scan_keyword_target]); if (job->bootmap_dir == NULL) return -1; /* Fill in name and address of image file */ @@ -1008,6 +1022,8 @@ if (temp_job == NULL) return -1; memset((void *) temp_job, 0, sizeof(struct job_data)); + if (data[(int) scan_keyword_target] == NULL) + data[(int) scan_keyword_target] = misc_strdup(job->bootmap_dir); rc = get_job_from_section_data(data, temp_job, job->data.menu.entry[current].name); if (rc) { @@ -1174,10 +1190,109 @@ } +/* Create a fake menu to simulate the old s390utils-1.1.7 multiboot + * behaviour. */ +static struct scan_token * +create_fake_menu(struct scan_token *scan) +{ + int i, j, pos, numsec, size, defaultpos; + char *name; + char *target; + char *seclist[1024]; + char *defaultsection; + char buf[1024]; + struct scan_token *tmp; + + /* Count # of sections */ + numsec = 0; + name = NULL; + target = NULL; + for (i = 0; (int) scan[i].id != 0; i++) { + if (scan[i].id == scan_id_section_heading) { + name = scan[i].content.section.name; + if (strcmp(DEFAULTBOOT_SECTION, name)) + seclist[numsec++] = name; + } + if (scan[i].id == scan_id_keyword_assignment && + (scan[i].content.keyword.keyword == scan_keyword_dumpto || + scan[i].content.keyword.keyword == scan_keyword_dumptofs)) { + numsec--; + continue; + } + if (scan[i].id == scan_id_keyword_assignment && + scan[i].content.keyword.keyword == scan_keyword_target && + !strcmp(DEFAULTBOOT_SECTION, name)) + target = scan[i].content.keyword.value; + } + get_default_section(scan, &defaultsection, &j); + + if (defaultsection == NULL) { + error_text("Unable to find default section in your config file."); + return NULL; + } + + if (target == NULL) { + error_text("Keyword target is missing in default section."); + return NULL; + } + + default_target = misc_strdup(target); + + size = i+6+numsec; + tmp = (struct scan_token *) misc_malloc(size * sizeof(struct scan_token)); + if (tmp == NULL) { + error_text("Couldn't allocate memory for menu entries"); + return NULL; + } + + memset(tmp, 0, size * sizeof(struct scan_token)); + memcpy(tmp, scan, i * sizeof(struct scan_token)); + free(scan); + scan = tmp; + + defaultpos = 0; + for (j = 0; j < numsec; j++) { + if (!strcmp(defaultsection, seclist[j])) + defaultpos = j+1; + } + + snprintf(buf, 1024, "%d", defaultpos); + + scan[i].id = scan_id_menu_heading; + scan[i].line = i; + scan[i++].content.menu.name = misc_strdup("rh-automatic-menu"); + scan[i].id = scan_id_keyword_assignment; + scan[i].line = i; + scan[i].content.keyword.keyword = scan_keyword_target; + scan[i++].content.keyword.value = misc_strdup(target); + scan[i].id = scan_id_keyword_assignment; + scan[i].line = i; + scan[i].content.keyword.keyword = scan_keyword_default; + scan[i++].content.keyword.value = misc_strdup(buf); + scan[i].id = scan_id_keyword_assignment; + scan[i].line = i; + scan[i].content.keyword.keyword = scan_keyword_prompt; + scan[i++].content.keyword.value = misc_strdup("1"); + scan[i].id = scan_id_keyword_assignment; + scan[i].line = i; + scan[i].content.keyword.keyword = scan_keyword_timeout; + scan[i++].content.keyword.value = misc_strdup("15"); + + pos = i; + for (i = 0; imenu != NULL) + if (cmdline->menu != NULL || cmdline->automenu) { + if (cmdline->automenu) + cmdline->menu = misc_strdup("rh-automatic-menu"); rc = get_menu_job(scan, cmdline->menu, job); + } else { rc = get_section_job(scan, cmdline->section, job, cmdline->data[(int) scan_keyword_parameters]); --- s390-tools-1.5.0/zipl/src/scan.c.automenu 2004-07-20 15:09:21.000000000 +0200 +++ s390-tools-1.5.0/zipl/src/scan.c 2005-10-20 10:09:31.000000000 +0200 @@ -33,9 +33,9 @@ * rs enu */ /* defaultboot */ - {opt, inv, inv, inv, inv, inv, inv, inv, inv, inv, inv, opt, inv}, + {opt, inv, inv, inv, inv, inv, inv, inv, req, inv, inv, opt, inv}, /* ipl */ - {inv, inv, inv, req, opt, opt, opt, inv, req, inv, inv, inv, inv}, + {inv, inv, inv, req, opt, opt, opt, inv, opt, inv, inv, inv, inv}, /* segment load */ {inv, inv, inv, inv, inv, inv, inv, req, req, inv, inv, inv, inv}, /* part dump */ --- s390-tools-1.5.0/zipl/src/zipl.c.automenu 2004-11-22 14:05:21.000000000 +0100 +++ s390-tools-1.5.0/zipl/src/zipl.c 2005-10-20 10:41:21.000000000 +0200 @@ -73,6 +73,7 @@ "-n, --noninteractive Answer all confirmation questions with 'yes'", "-V, --verbose Provide more verbose output", "-a, --add-files Add all referenced files to bootmap file", +"-x, --no-automenu Don't autogenerate multiboot menu", " --dry-run Simulate run but don't modify IPL records", "" }; s390-tools-1.5.0-fdasd-raid.patch: fdasd.c | 48 +++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 39 insertions(+), 9 deletions(-) --- NEW FILE s390-tools-1.5.0-fdasd-raid.patch --- --- s390-tools-1.5.0/fdasd/fdasd.c.fdasd-raid 2005-10-20 09:22:40.000000000 +0200 +++ s390-tools-1.5.0/fdasd/fdasd.c 2005-10-20 09:34:03.000000000 +0200 @@ -215,10 +215,10 @@ static int read_line(void) { - bzero(line_buffer, LINE_LENGTH); line_ptr = line_buffer; if (!fgets(line_buffer, LINE_LENGTH, stdin)) return 0; + line_buffer[LINE_LENGTH-1] = 0; while (*line_ptr && !isgraph(*line_ptr)) line_ptr++; return *line_ptr; @@ -279,6 +279,8 @@ strcpy(str, "Linux native"); else if (strncmp("SWAP ", str, 6) == 0) strcpy(str, "Linux swap"); + else if (strncmp("RAID ", str, 6) == 0) + strcpy(str, "Linux Raid"); else strcpy(str, "unknown"); @@ -1065,6 +1067,7 @@ strncpy(c1, s2, 31); } else { + char str[20]; char *tmp = strstr(ch, "SWAP"); /* create a new data set name */ @@ -1072,7 +1075,15 @@ k++; setpos(anc, k, i-1); - + + strncpy(s2, ch, 44); + s2[44]=0; + vtoc_ebcdic_dec(s2, s2, 44); + c2 = strstr(s2, "PART"); + if (c2 != NULL) strncpy(str, c2+=9, 6); + str[6] = '\0'; + fdasd_partition_type(str); + strncpy(ch, "LINUX.V " " ", 44); @@ -1090,8 +1101,16 @@ c1 += 4; if (tmp) strncpy(c1, ".SWAP", 5); - else - strncpy(c1, ".NATIVE", 7); + else { + if (strcmp("unknown", str) == 0) { + strncpy(c1, ".NATIVE", 7); + } + else { + strncpy(c1, ".", 1); + strncpy(c1+1, c2, 6); + } + } + } vtoc_ebcdic_enc(ch, ch, 44); if (anc->verbose) printf("f1 "); @@ -1328,9 +1347,10 @@ printf("current partition type is: %s\n\n", fdasd_partition_type(str)); printf(" 1 Linux native\n" \ - " 2 Linux swap\n\n"); + " 2 Linux swap\n" \ + " 3 Linux raid\n\n"); part_type = 0; - while ((part_type < 1) || (part_type > 2)) { + while ((part_type < 1) || (part_type > 3)) { while (!isdigit(part_type = read_char("new partition type: "))); part_type -= 48; @@ -1343,6 +1363,9 @@ case 2: strncpy(str, "SWAP ", 6); break; + case 3: + strncpy(str, "RAID ", 6); + break; default: printf("'%d' is not supported!\n", part_type); } @@ -1541,14 +1564,21 @@ vtoc_ebcdic_enc(part_info->f1->DS1DSNAM, part_info->f1->DS1DSNAM, 44); - if ((part_no < 0) || (part_no >= USABLE_PARTITIONS)) + if (((oldfmt == 0) && (part_no < 0)) + || (part_no >= USABLE_PARTITIONS)) printf("WARNING: partition number (%i) found " "in data set name of an existing " "partition\ndoes not match range of " "possible partition numbers (1-%d)\n\n", part_no + 1, USABLE_PARTITIONS); - else - setpos(anc, part_no, f1_counter); + else { + if (oldfmt) /* correct +1 */ { + setpos(anc, part_no+1, f1_counter); + printf("Correcting f1 header number!\n"); + } + else + setpos(anc, part_no, f1_counter); + } part_info = part_info->next; f1_counter++; s390-tools-1.5.0-fmtpercentage.patch: dasdfmt.c | 32 +++++++++++++++++++++++++++++--- dasdfmt.h | 4 +++- 2 files changed, 32 insertions(+), 4 deletions(-) --- NEW FILE s390-tools-1.5.0-fmtpercentage.patch --- --- s390-tools-1.5.0/dasdfmt/dasdfmt.c.fmtpercentage 2005-09-16 09:18:32.000000000 +0200 +++ s390-tools-1.5.0/dasdfmt/dasdfmt.c 2005-10-20 09:36:21.000000000 +0200 @@ -48,6 +48,7 @@ " -V or --version means print version\n" " -L or --no_label means don't write disk label\n" " -p or --progressbar means show a progress bar\n" + " -P or --percentage means show a progress bar\n" " -m x or --hashmarks=x means show a hashmark every x " "cylinders\n" " -v means verbose mode\n" @@ -172,6 +173,7 @@ info->print_progressbar = 0; info->print_hashmarks = 0; info->hashstep = 0; + info->print_percentage = 0; info->force = 0; info->writenolabel = 0; info->labelspec = 0; @@ -553,7 +555,7 @@ format_data_t *format_params) { format_data_t format_step; - int j, k, cyl, tmp, p1, p2; + int j, k, cyl, tmp, p1, p2, p; if (info->print_hashmarks) { if ((info->hashstep < 1) || (info->hashstep > 1000)) { @@ -612,6 +614,24 @@ printf("#"); fflush(stdout); } + if(info->print_percentage) + { + p2 = p1; + p1 = cyl*100/drive_geo->cylinders; + if (p1 != p2) + { + p = (k - format_params->start_unit) * 100 / + (format_params->stop_unit + - format_params->start_unit); + printf("cyl %5d of %5d | %3d%%\n", + (k - format_params->start_unit) + / drive_geo->heads, + (format_params->stop_unit + - format_params->start_unit) + / drive_geo->heads, p); + fflush(stdout); + } + } if (k % drive_geo->heads == 0) { k += drive_geo->heads; @@ -846,11 +866,17 @@ break; case 'p': - if (!info.print_hashmarks) info.print_progressbar=1; + if (!info.print_hashmarks && !info.print_percentage) + info.print_progressbar=1; + break; + + case 'P': + if (!info.print_hashmarks && !info.print_progressbar) + info.print_percentage=1; break; case 'm': - if (!info.print_progressbar) + if (!info.print_progressbar && !info.print_percentage) { hashstep_str=optarg; info.print_hashmarks=1; --- s390-tools-1.5.0/dasdfmt/dasdfmt.h.fmtpercentage 2005-05-18 19:24:28.000000000 +0200 +++ s390-tools-1.5.0/dasdfmt/dasdfmt.h 2005-10-20 09:45:14.000000000 +0200 @@ -148,7 +148,7 @@ if (*endptr) ERRMSG_EXIT(EXIT_MISUSE,"%s: " str " " \ "is in invalid format\n",prog_name);} -#define dasdfmt_getopt_string "b:n:l:f:d:m:hpLty?vVFk" +#define dasdfmt_getopt_string "b:n:l:f:d:m:hpPLty?vVFk" static struct option dasdfmt_getopt_long_options[]= { @@ -159,6 +159,7 @@ { "force", 0, 0, 'F'}, { "progressbar", 0, 0, 'p'}, { "hashmarks", 1, 0, 'm'}, + { "percentage", 0, 0, 'P'}, { "label", 1, 0, 'l'}, { "devno", 1, 0, 'n'}, { "device", 1, 0, 'f'}, @@ -193,6 +194,7 @@ int withoutprompt; int print_progressbar; int print_hashmarks, hashstep; + int print_percentage; int force; int writenolabel; int labelspec; s390-tools-1.5.0-rhconf.patch: common.mak | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) --- NEW FILE s390-tools-1.5.0-rhconf.patch --- --- s390-tools-1.5.0/common.mak.rhconf 2005-09-14 17:45:14.000000000 +0200 +++ s390-tools-1.5.0/common.mak 2005-10-21 11:35:55.000000000 +0200 @@ -25,11 +25,11 @@ export AS LD CC CPP AR NM STRIP OBJCOPY OBJDUMP INSTALL # Support alternate install root -INSTROOT = -USRBINDIR = $(INSTROOT)/usr/bin -BINDIR = $(INSTROOT)/sbin -LIBDIR = $(INSTROOT)/lib -MANDIR = $(INSTROOT)/usr/share/man +INSTROOT := $(INSTROOT) +USRBINDIR = $(bindir) +BINDIR = $(sbindir) +LIBDIR = $(libdir) +MANDIR = $(mandir) OWNER = $(shell id -un) GROUP = $(shell id -gn) export INSTROOT BINDIR LIBDIR MANDIR OWNER GROUP s390-tools-1.5.0-su.patch: fdasd.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) --- NEW FILE s390-tools-1.5.0-su.patch --- --- s390-tools-1.5.0/fdasd/fdasd.c.su 2005-09-16 09:18:33.000000000 +0200 +++ s390-tools-1.5.0/fdasd/fdasd.c 2005-10-20 09:21:45.000000000 +0200 @@ -1854,10 +1854,12 @@ if (anc->verbose) printf("disk type check : ok\n"); if (dasd_info.FBA_layout != 0) { - snprintf(err_str, ERROR_STRING_SIZE, - "%s is not formatted with z/OS compatible " - "disk layout!", options.device); - fdasd_error(anc, wrong_disk_format, err_str); + if(!anc->silent) { + snprintf(err_str, ERROR_STRING_SIZE, + "%s is not formatted with z/OS compatible " + "disk layout!", options.device); + fdasd_error(anc, wrong_disk_format, err_str); + } } if (anc->verbose) printf("disk layout check : ok\n"); s390-tools-1.5.0-subdirs.patch: Makefile | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) --- NEW FILE s390-tools-1.5.0-subdirs.patch --- --- s390-tools-1.5.0/Makefile.subdirs 2005-05-30 15:07:36.000000000 +0200 +++ s390-tools-1.5.0/Makefile 2005-10-20 10:08:35.000000000 +0200 @@ -3,7 +3,7 @@ # Include commond definitions include common.mak -SUB_DIRS = libvtoc zipl zdump zfcpdump fdasd dasdfmt dasdview tunedasd tape390 osasnmpd qetharp ip_watcher qethconf scripts zconf vmconvert zt_error vmcp +SUB_DIRS = libvtoc zipl zdump fdasd dasdfmt dasdview tunedasd tape390 osasnmpd qetharp ip_watcher qethconf scripts zconf zt_error vmcp ifeq ($(strip $(SYSFS)),true) SUB_DIRS+=libu2s Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/s390utils/devel/.cvsignore,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- .cvsignore 15 Oct 2004 15:44:16 -0000 1.11 +++ .cvsignore 21 Oct 2005 09:54:26 -0000 1.12 @@ -1,3 +1,4 @@ cmsfs-1.1.8.tar.gz s390-tools-1.3.1.tar.gz s390-tools-1.3.2.tar.gz +s390-tools-1.5.0.tar.gz Index: s390utils.spec =================================================================== RCS file: /cvs/dist/rpms/s390utils/devel/s390utils.spec,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- s390utils.spec 6 Sep 2005 15:01:17 -0000 1.24 +++ s390utils.spec 21 Oct 2005 09:54:26 -0000 1.25 @@ -2,8 +2,8 @@ %define vipaver 2.0.3 Summary: Linux/390 specific utilities. Name: s390utils -Version: 1.3.2 -Release: 7 +Version: 1.5.0 +Release: 1 Epoch: 2 License: GPL Group: System Environment/Base @@ -13,18 +13,18 @@ Source4: cmsfs-%{cmsfsver}.tar.gz Source5: zfcpconf.sh Source6: src_vipa-%{vipaver}.tar.gz -Patch1: s390-tools-1.3.2-su.patch -Patch2: s390-tools-1.3.1-fdasd-raid.patch -Patch3: s390-tools-1.1.6-fmtpercentage.patch -Patch4: s390-tools-1.3.2-subdirs.patch -Patch5: s390-tools-1.3.1-automenu.patch -Patch6: s390-tools-1.2.1-rhconf.patch -Patch7: s390-tools-1.3.1-zfcpdump.patch +Patch1: s390-tools-1.5.0-su.patch +Patch2: s390-tools-1.5.0-fdasd-raid.patch +Patch3: s390-tools-1.5.0-fmtpercentage.patch +Patch4: s390-tools-1.5.0-subdirs.patch +Patch5: s390-tools-1.5.0-automenu.patch +Patch6: s390-tools-1.5.0-rhconf.patch +#Patch7: s390-tools-1.3.1-zfcpdump.patch Patch8: s390-tools-1.3.1-kernheader.patch Patch9: s390-tools-1.3.2-warnings.patch Patch20: cmsfs-1.1.8-kernel26.patch BuildRoot: /var/tmp/%{name}-root -ExclusiveArch: s390 s390x +#ExclusiveArch: s390 s390x %define _sbindir /sbin %description @@ -40,10 +40,12 @@ of a DASD to the console. - fdasd, which is used to create or modify partitions on eckd-dasds formatted with the z/OS compatible disk layout. + - osasnmpd, a subagent for net-snmp to access the OSA hardware. - qetharp to query and purge address data in the OSA and HiperSockets hardware - qethconf to configure IBM QETH function IPA, VIPA and Proxy ARP. - src_vipa.sh to start applications using VIPA capabilities - tunedasd, a tool to adjust tunable parameters on DASD devices + - vmcp, a tool to send CP commands from a Linux guest to the VM. - zipl, which is used to make either dasds or tapes bootable for system IPL or system dump. - zdump, which is used to retrieve system dumps from either @@ -51,9 +53,17 @@ %prep %setup -q -n s390-tools-%{version} -a 4 -a 6 + +# Fix to honor the silent flag for wrongly formated disks %patch1 -p1 -b .su + +# Enhancement to add raid partiton support to dasds %patch2 -p1 -b .fdasd-raid + +# Enhancement to add a percentage output bar to dasdfmt, needed for anaconda %patch3 -p1 -b .fmtpercentage + +# Limit the subdirs and tools we support %patch4 -p1 -b .subdirs # Patch to maintain backwards compatibility with older zipl multiboot feature @@ -63,7 +73,8 @@ %patch6 -p1 -b .rhconf # Patch to make zfcpdump build without getting tarballs from the internet. -%patch7 -p1 -b .zfcpdump +# Disabled and unmaintained for now as we don't ship and support zfcpdump +# %patch7 -p1 -b .zfcpdump # Patch to fix conflicting include of asm/statfs.h and bits/statfs.h %patch8 -p1 -b .kernheader @@ -135,6 +146,10 @@ %{_mandir}/man5/* %changelog +* Thu Oct 20 2005 Phil Knirsch 2:1.5.0-1 +- Large update from 1.3.2 to 1.5.0 +- Include osasnmpd and vmcp now by default + * Tue Sep 06 2005 Phil Knirsch 2:1.3.2-7 - Fixed a couple of code bugs (#143808) Index: sources =================================================================== RCS file: /cvs/dist/rpms/s390utils/devel/sources,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- sources 21 Jun 2005 10:15:34 -0000 1.12 +++ sources 21 Oct 2005 09:54:26 -0000 1.13 @@ -1,3 +1,3 @@ fb114c924837ee702e56149c27519588 cmsfs-1.1.8.tar.gz -38bdde5fec5f266ab5a054a3dad437ff s390-tools-1.3.2.tar.gz 54ad59b0c1dfa84ba17c34114368a3af src_vipa-2.0.3.tar.gz +7fa31ecd41044220908af8432ef2bc45 s390-tools-1.5.0.tar.gz --- s390-tools-1.1.6-fmtpercentage.patch DELETED --- --- s390-tools-1.2.1-rhconf.patch DELETED --- --- s390-tools-1.3.1-automenu.patch DELETED --- --- s390-tools-1.3.1-fdasd-raid.patch DELETED --- --- s390-tools-1.3.2-su.patch DELETED --- --- s390-tools-1.3.2-subdirs.patch DELETED --- From fedora-cvs-commits at redhat.com Fri Oct 21 10:10:40 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 06:10:40 -0400 Subject: rpms/nc/devel nc-1.82-reuseaddr.patch,NONE,1.1 nc.spec,1.18,1.19 Message-ID: <200510211010.j9LAAelM001592@cvs.devel.redhat.com> Author: rvokal Update of /cvs/dist/rpms/nc/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv1571 Modified Files: nc.spec Added Files: nc-1.82-reuseaddr.patch Log Message: use SO_REUSEADDR (#171315) nc-1.82-reuseaddr.patch: netcat.c | 4 ++++ 1 files changed, 4 insertions(+) --- NEW FILE nc-1.82-reuseaddr.patch --- --- nc/netcat.c.reuseaddr 2005-10-21 11:58:56.000000000 +0200 +++ nc/netcat.c 2005-10-21 11:59:30.000000000 +0200 @@ -548,6 +548,10 @@ local_listen(char *host, char *port, str if ((s = socket(res0->ai_family, res0->ai_socktype, res0->ai_protocol)) < 0) continue; + + ret = setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &x, sizeof(x)); + if (ret == -1) + err(1, NULL); #ifdef SO_REUSEPORT ret = setsockopt(s, SOL_SOCKET, SO_REUSEPORT, &x, sizeof(x)); if (ret == -1) Index: nc.spec =================================================================== RCS file: /cvs/dist/rpms/nc/devel/nc.spec,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- nc.spec 27 Sep 2005 11:36:44 -0000 1.18 +++ nc.spec 21 Oct 2005 10:10:36 -0000 1.19 @@ -1,11 +1,12 @@ Summary: Reads and writes data across network connections using TCP or UDP. Name: nc Version: 1.82 -Release: 1 +Release: 2 URL: http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/nc/ Source0: nc-%{version}.tar.bz2 Patch0: nc-glib.patch Patch1: nc-1.78-pollhup.patch +Patch2: nc-1.82-reuseaddr.patch License: GPL Group: Applications/Internet BuildRoot: %{_tmppath}/%{name}-root @@ -29,6 +30,7 @@ %setup -q -n nc %patch0 -p1 -b .glib %patch1 -p1 -b .pollhup +%patch2 -p1 -b .reuseaddr %build gcc $RPM_OPT_FLAGS `pkg-config --cflags --libs glib-2.0` netcat.c atomicio.c socks.c -o nc @@ -50,6 +52,9 @@ %doc README scripts %changelog +* Fri Oct 21 2005 Radek Vokal 1.82-2 +- use SO_REUSEADDR (#171315) + * Tue Sep 27 2005 Tomas Mraz 1.82-1 - update from OpenBSD upstream CVS - fix pollhup patch so it reads everything before shutdown From fedora-cvs-commits at redhat.com Fri Oct 21 10:20:44 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 06:20:44 -0400 Subject: rpms/s390utils/devel s390utils.spec,1.25,1.26 Message-ID: <200510211020.j9LAKitP005895@cvs.devel.redhat.com> Author: pknirsch Update of /cvs/dist/rpms/s390utils/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv5620 Modified Files: s390utils.spec Log Message: - Darn, forgot to include the exclusive arch again. Fixed. Index: s390utils.spec =================================================================== RCS file: /cvs/dist/rpms/s390utils/devel/s390utils.spec,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- s390utils.spec 21 Oct 2005 09:54:26 -0000 1.25 +++ s390utils.spec 21 Oct 2005 10:20:41 -0000 1.26 @@ -24,7 +24,7 @@ Patch9: s390-tools-1.3.2-warnings.patch Patch20: cmsfs-1.1.8-kernel26.patch BuildRoot: /var/tmp/%{name}-root -#ExclusiveArch: s390 s390x +ExclusiveArch: s390 s390x %define _sbindir /sbin %description From fedora-cvs-commits at redhat.com Fri Oct 21 10:21:20 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 06:21:20 -0400 Subject: rpms/gimp-help/devel .cvsignore, 1.5, 1.6 gimp-help.spec, 1.6, 1.7 sources, 1.5, 1.6 Message-ID: <200510211021.j9LALKj5006340@cvs.devel.redhat.com> Author: nphilipp Update of /cvs/dist/rpms/gimp-help/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv6222 Modified Files: .cvsignore gimp-help.spec sources Log Message: version 2-0.9 Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/gimp-help/devel/.cvsignore,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- .cvsignore 23 Feb 2005 09:51:03 -0000 1.5 +++ .cvsignore 21 Oct 2005 10:21:17 -0000 1.6 @@ -1 +1 @@ -gimp-help-2-0.7.tar.gz +gimp-help-2-0.9.tar.gz Index: gimp-help.spec =================================================================== RCS file: /cvs/dist/rpms/gimp-help/devel/gimp-help.spec,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- gimp-help.spec 23 Feb 2005 09:51:03 -0000 1.6 +++ gimp-help.spec 21 Oct 2005 10:21:17 -0000 1.7 @@ -1,4 +1,4 @@ -%define gimphelpver 2-0.7 +%define gimphelpver 2-0.9 %define gimpsubver 2.0 Summary: Help files for the GIMP. @@ -40,6 +40,9 @@ %{_datadir}/gimp/%{gimpsubver}/help %changelog +* Fri Oct 21 2005 Nils Philippsen +- version 2-0.9 + * Wed Feb 23 2005 Nils Philippsen - version 2-0.7 Index: sources =================================================================== RCS file: /cvs/dist/rpms/gimp-help/devel/sources,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- sources 23 Feb 2005 09:51:03 -0000 1.5 +++ sources 21 Oct 2005 10:21:17 -0000 1.6 @@ -1 +1 @@ -aee429af1f99e3d1f9e23d5d4a6d3622 gimp-help-2-0.7.tar.gz +c2f5c20cc5d861e7d403dda8e46d1c97 gimp-help-2-0.9.tar.gz From fedora-cvs-commits at redhat.com Fri Oct 21 10:37:30 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 06:37:30 -0400 Subject: rpms/gimp-help/FC-4 .cvsignore, 1.5, 1.6 gimp-help.spec, 1.6, 1.7 sources, 1.5, 1.6 Message-ID: <200510211037.j9LAbUej011384@cvs.devel.redhat.com> Author: nphilipp Update of /cvs/dist/rpms/gimp-help/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv11350 Modified Files: .cvsignore gimp-help.spec sources Log Message: version 2-0.9 Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/gimp-help/FC-4/.cvsignore,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- .cvsignore 23 Feb 2005 09:51:03 -0000 1.5 +++ .cvsignore 21 Oct 2005 10:37:21 -0000 1.6 @@ -1 +1 @@ -gimp-help-2-0.7.tar.gz +gimp-help-2-0.9.tar.gz Index: gimp-help.spec =================================================================== RCS file: /cvs/dist/rpms/gimp-help/FC-4/gimp-help.spec,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- gimp-help.spec 23 Feb 2005 09:51:03 -0000 1.6 +++ gimp-help.spec 21 Oct 2005 10:37:21 -0000 1.7 @@ -1,10 +1,10 @@ -%define gimphelpver 2-0.7 +%define gimphelpver 2-0.9 %define gimpsubver 2.0 Summary: Help files for the GIMP. Name: gimp-help Version: %(echo %gimphelpver|cut -d- -f1) -Release: 0.1.%(echo %gimphelpver|cut -d- -f2).1 +Release: 0.1.%(echo %gimphelpver|cut -d- -f2).0.fc4.1 License: GNU FDL Group: Applications/Multimedia URL: http://wiki.gimp.org/gimp/GimpDocs @@ -40,6 +40,9 @@ %{_datadir}/gimp/%{gimpsubver}/help %changelog +* Fri Oct 21 2005 Nils Philippsen +- version 2-0.9 + * Wed Feb 23 2005 Nils Philippsen - version 2-0.7 Index: sources =================================================================== RCS file: /cvs/dist/rpms/gimp-help/FC-4/sources,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- sources 23 Feb 2005 09:51:03 -0000 1.5 +++ sources 21 Oct 2005 10:37:21 -0000 1.6 @@ -1 +1 @@ -aee429af1f99e3d1f9e23d5d4a6d3622 gimp-help-2-0.7.tar.gz +c2f5c20cc5d861e7d403dda8e46d1c97 gimp-help-2-0.9.tar.gz From fedora-cvs-commits at redhat.com Fri Oct 21 12:53:01 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 08:53:01 -0400 Subject: rpms/netpbm/devel .cvsignore, 1.17, 1.18 netpbm-10.23-security.patch, 1.10, 1.11 netpbm-10.27-bmptopnm.patch, 1.1, 1.2 netpbm-10.28-gcc4.patch, 1.1, 1.2 netpbm-10.29-pnmtopng.patch, 1.1, 1.2 netpbm.spec, 1.45, 1.46 sources, 1.18, 1.19 netpbm-10.18-manpath.patch, 1.1, NONE netpbm-10.26.4-gcc4.patch, 1.1, NONE Message-ID: <200510211253.j9LCr1Ie027291@cvs.devel.redhat.com> Author: jnovy Update of /cvs/dist/rpms/netpbm/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv26781 Modified Files: .cvsignore netpbm-10.23-security.patch netpbm-10.27-bmptopnm.patch netpbm-10.28-gcc4.patch netpbm-10.29-pnmtopng.patch netpbm.spec sources Removed Files: netpbm-10.18-manpath.patch netpbm-10.26.4-gcc4.patch Log Message: update to 10.30 Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/netpbm/devel/.cvsignore,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- .cvsignore 16 Aug 2005 14:36:00 -0000 1.17 +++ .cvsignore 21 Oct 2005 12:52:58 -0000 1.18 @@ -12,3 +12,5 @@ netpbmdoc-10.28.tar.bz2 netpbm-10.29.tar.bz2 netpbmdoc-10.29.tar.bz2 +netpbmdoc-10.30.tar.bz2 +netpbm-10.30.tar.bz2 netpbm-10.23-security.patch: OPENLICENSE | 163 +++++++++++++++++++++++++++++++++++++ analyzer/pgmhist.c | 1 analyzer/pgmtexture.c | 9 ++ converter/other/gemtopnm.c | 1 converter/other/jpegtopnm.c | 1 converter/other/pbmtopgm.c | 1 converter/other/pngtopnm.c | 19 ++-- converter/other/pnmtoddif.c | 2 converter/other/pnmtojpeg.c | 9 +- converter/other/pnmtops.c | 11 +- converter/other/pnmtorle.c | 2 converter/other/pnmtosgi.c | 19 ++++ converter/other/rletopnm.c | 2 converter/other/sgitopnm.c | 6 + converter/other/sirtopnm.c | 1 converter/other/tifftopnm.c | 3 converter/other/xwdtopnm.c | 8 + converter/pbm/icontopbm.c | 6 + converter/pbm/mdatopbm.c | 5 - converter/pbm/mgrtopbm.c | 2 converter/pbm/pbmto10x.c | 2 converter/pbm/pbmto4425.c | 3 converter/pbm/pbmtoascii.c | 2 converter/pbm/pbmtocmuwm.c | 1 converter/pbm/pbmtogem.c | 1 converter/pbm/pbmtogo.c | 1 converter/pbm/pbmtoicon.c | 1 converter/pbm/pbmtolj.c | 4 converter/pbm/pbmtomacp.c | 3 converter/pbm/pbmtomda.c | 1 converter/pbm/pbmtomgr.c | 1 converter/pbm/pbmtoppa/pbm.c | 4 converter/pbm/pbmtoppa/pbmtoppa.c | 1 converter/pbm/pbmtox10bm.c | 1 converter/pbm/pbmtoxbm.c | 1 converter/pbm/pbmtoybm.c | 1 converter/pbm/pbmtozinc.c | 1 converter/pbm/pktopbm.c | 1 converter/pbm/thinkjettopbm.l | 4 converter/pbm/ybmtopbm.c | 1 converter/pgm/lispmtopgm.c | 5 - converter/pgm/psidtopgm.c | 1 converter/ppm/Makefile | 2 converter/ppm/ilbmtoppm.c | 28 ++++++ converter/ppm/imgtoppm.c | 2 converter/ppm/pcxtoppm.c | 3 converter/ppm/picttoppm.c | 2 converter/ppm/pjtoppm.c | 21 ++-- converter/ppm/ppmtoeyuv.c | 1 converter/ppm/ppmtoicr.c | 2 converter/ppm/ppmtoilbm.c | 9 +- converter/ppm/ppmtolj.c | 1 converter/ppm/ppmtomitsu.c | 2 converter/ppm/ppmtompeg/frame.c | 73 ++++++++-------- converter/ppm/ppmtompeg/iframe.c | 18 ++-- converter/ppm/ppmtompeg/jpeg.c | 2 converter/ppm/ppmtompeg/parallel.c | 4 converter/ppm/ppmtompeg/psearch.c | 18 +++- converter/ppm/ppmtompeg/rgbtoycc.c | 2 converter/ppm/ppmtopcx.c | 2 converter/ppm/ppmtopict.c | 2 converter/ppm/ppmtopj.c | 1 converter/ppm/ppmtopjxl.c | 8 + converter/ppm/ppmtowinicon.c | 8 + converter/ppm/ppmtoxpm.c | 2 converter/ppm/qrttoppm.c | 2 converter/ppm/sldtoppm.c | 4 converter/ppm/ximtoppm.c | 4 converter/ppm/xpmtoppm.c | 1 converter/ppm/yuvtoppm.c | 1 doc/COPYRIGHT.PATENT | 5 + editor/pamcut.c | 2 editor/pamoil.c | 1 editor/pbmclean.c | 2 editor/pbmlife.c | 2 editor/pbmpscale.c | 1 editor/pbmreduce.c | 1 editor/pnmcut.c | 1 editor/pnmgamma.c | 1 editor/pnmhisteq.c | 1 editor/pnmindex.csh | 3 editor/pnmpad.c | 2 editor/pnmpaste.c | 5 + editor/pnmremap.c | 2 editor/pnmrotate.c | 8 + editor/pnmscalefixed.c | 7 + editor/pnmshear.c | 6 + editor/ppmdither.c | 6 + generator/pbmpage.c | 3 generator/pbmtext.c | 15 +++ generator/pgmcrater.c | 2 generator/pgmkernel.c | 2 generator/ppmrainbow | 2 lib/libpam.c | 3 lib/libpammap.c | 2 lib/libpbm1.c | 1 lib/libpbmvms.c | 2 lib/libpm.c | 54 +++++++++++- lib/pm.h | 6 + other/pnmcolormap.c | 1 urt/README | 5 + urt/Runput.c | 10 +- urt/rle.h | 13 ++ urt/rle_addhist.c | 15 ++- urt/rle_getrow.c | 3 urt/rle_hdr.c | 19 +++- urt/rle_open_f.c | 8 + urt/rle_putcom.c | 6 + urt/scanargs.c | 6 - 109 files changed, 671 insertions(+), 100 deletions(-) View full diff with command: /usr/bin/cvs -f diff -kk -u -N -r 1.10 -r 1.11 netpbm-10.23-security.patch Index: netpbm-10.23-security.patch =================================================================== RCS file: /cvs/dist/rpms/netpbm/devel/netpbm-10.23-security.patch,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- netpbm-10.23-security.patch 16 Aug 2005 14:36:00 -0000 1.10 +++ netpbm-10.23-security.patch 21 Oct 2005 12:52:58 -0000 1.11 @@ -1,5 +1,5 @@ ---- /dev/null 2005-08-16 12:27:18.576893136 +0200 -+++ netpbm-10.29/OPENLICENSE 2005-08-16 16:24:14.000000000 +0200 +--- /dev/null 2005-10-21 08:18:57.827007136 +0200 ++++ netpbm-10.30/OPENLICENSE 2005-10-21 11:08:57.000000000 +0200 @@ -0,0 +1,163 @@ + The Open Software License + v. 1.1 @@ -164,9 +164,9 @@ +Permission is hereby granted to copy and distribute this license without +modification. This license may not be modified without the express written +permission of its copyright owner. ---- netpbm-10.29/generator/pbmtext.c.security 2005-07-18 03:14:10.000000000 +0200 -+++ netpbm-10.29/generator/pbmtext.c 2005-08-16 16:27:32.000000000 +0200 -@@ -89,12 +89,14 @@ +--- netpbm-10.30/generator/pbmtext.c.security 2005-07-18 03:14:10.000000000 +0200 ++++ netpbm-10.30/generator/pbmtext.c 2005-10-21 11:08:57.000000000 +0200 +@@ -89,12 +89,14 @@ parse_command_line(int argc, char ** arg for (i = 1; i < argc; i++) { if (i > 1) { @@ -181,7 +181,7 @@ totaltextsize += strlen(argv[i]); text = realloc(text, totaltextsize); if (text == NULL) -@@ -581,6 +583,7 @@ +@@ -581,6 +583,7 @@ getText(const char cmdline_text struct text input_text; if (cmdline_text) { @@ -189,7 +189,7 @@ allocTextArray(&input_text, 1, strlen(cmdline_text)); strcpy(input_text.textArray[0], cmdline_text); fix_control_chars(input_text.textArray[0], fn); -@@ -603,7 +606,9 @@ +@@ -603,7 +606,9 @@ getText(const char cmdline_text while (fgets(buf, sizeof(buf), stdin) != NULL) { fix_control_chars(buf, fn); if (lineCount >= maxlines) { @@ -199,7 +199,7 @@ text_array = (char**) realloc((char*) text_array, maxlines * sizeof(char*)); if (text_array == NULL) -@@ -689,6 +694,7 @@ +@@ -689,6 +694,7 @@ main(int argc, char *argv[]) { hmargin = fontP->maxwidth; } else { vmargin = fontP->maxheight; @@ -207,7 +207,7 @@ hmargin = 2 * fontP->maxwidth; } } -@@ -705,6 +711,12 @@ +@@ -705,6 +711,12 @@ main(int argc, char *argv[]) { } else formattedText = inputText; @@ -220,7 +220,7 @@ rows = 2 * vmargin + formattedText.lineCount * fontP->maxheight + (formattedText.lineCount-1) * cmdline.lspace; -@@ -712,6 +724,9 @@ +@@ -712,6 +724,9 @@ main(int argc, char *argv[]) { compute_image_width(formattedText, fontP, cmdline.space, &maxwidth, &maxleftb); @@ -230,9 +230,9 @@ cols = 2 * hmargin + maxwidth; bits = pbm_allocarray(cols, rows); ---- netpbm-10.29/generator/pgmkernel.c.security 2003-07-06 22:03:29.000000000 +0200 -+++ netpbm-10.29/generator/pgmkernel.c 2005-08-16 16:24:14.000000000 +0200 -@@ -68,7 +68,7 @@ +--- netpbm-10.30/generator/pgmkernel.c.security 2003-07-06 22:03:29.000000000 +0200 ++++ netpbm-10.30/generator/pgmkernel.c 2005-10-21 11:08:57.000000000 +0200 +@@ -68,7 +68,7 @@ main ( argc, argv ) kycenter = (fysize - 1) / 2.0; ixsize = fxsize + 0.999; iysize = fysize + 0.999; @@ -241,10 +241,10 @@ for (i = 0; i < iysize; i++) for (j = 0; j < ixsize; j++) { fkernel[i*ixsize+j] = 1.0 / (1.0 + w * sqrt((double) ---- netpbm-10.29/generator/pgmcrater.c.security 2005-08-15 08:16:42.000000000 +0200 -+++ netpbm-10.29/generator/pgmcrater.c 2005-08-16 16:24:14.000000000 +0200 -@@ -129,7 +129,7 @@ - /* Acquire the elevation array and initialise it to mean +--- netpbm-10.30/generator/pgmcrater.c.security 2005-09-10 22:51:24.000000000 +0200 ++++ netpbm-10.30/generator/pgmcrater.c 2005-10-21 11:08:57.000000000 +0200 +@@ -129,7 +129,7 @@ static void gencraters() + /* Acquire the elevation array and initialize it to mean surface elevation. */ - MALLOCARRAY(aux, SCRX * SCRY); @@ -252,9 +252,9 @@ if (aux == NULL) pm_error("out of memory allocating elevation array"); ---- netpbm-10.29/generator/pbmpage.c.security 2005-08-15 03:00:54.000000000 +0200 -+++ netpbm-10.29/generator/pbmpage.c 2005-08-16 16:24:14.000000000 +0200 -@@ -172,6 +172,9 @@ +--- netpbm-10.30/generator/pbmpage.c.security 2005-08-27 19:27:19.000000000 +0200 ++++ netpbm-10.30/generator/pbmpage.c 2005-10-21 11:08:57.000000000 +0200 +@@ -170,6 +170,9 @@ outputPbm(FILE * const file, /* We round the allocated row space up to a multiple of 8 so the ugly fast code below can work. */ @@ -264,9 +264,9 @@ pbmrow = pbm_allocrow(((bitmap.Width+7)/8)*8); bitmap_cursor = 0; ---- netpbm-10.29/generator/ppmrainbow.security 2003-01-04 01:40:56.000000000 +0100 -+++ netpbm-10.29/generator/ppmrainbow 2005-08-16 16:24:14.000000000 +0200 -@@ -11,7 +11,7 @@ +--- netpbm-10.30/generator/ppmrainbow.security 2003-01-04 01:40:56.000000000 +0100 ++++ netpbm-10.30/generator/ppmrainbow 2005-10-21 11:08:57.000000000 +0200 +@@ -11,7 +11,7 @@ my ($Twid, $Thgt, $tmpdir, $norepeat, $v # set defaults $Twid = 600; $Thgt = 8; @@ -275,9 +275,9 @@ $norepeat = $FALSE; $verbose = $FALSE; ---- netpbm-10.29/other/pnmcolormap.c.security 2005-04-10 18:19:43.000000000 +0200 -+++ netpbm-10.29/other/pnmcolormap.c 2005-08-16 16:24:14.000000000 +0200 -@@ -788,6 +788,7 @@ +--- netpbm-10.30/other/pnmcolormap.c.security 2005-09-23 18:28:19.000000000 +0200 ++++ netpbm-10.30/other/pnmcolormap.c 2005-10-21 11:08:57.000000000 +0200 +@@ -774,6 +774,7 @@ colormapToSquare(struct pam * const pamP pamP->width = intsqrt; else pamP->width = intsqrt + 1; @@ -285,9 +285,9 @@ } { unsigned int const intQuotient = colormapSize / pamP->width; ---- netpbm-10.29/doc/COPYRIGHT.PATENT.security 2004-05-01 01:54:22.000000000 +0200 -+++ netpbm-10.29/doc/COPYRIGHT.PATENT 2005-08-16 16:24:14.000000000 +0200 -@@ -33,6 +33,11 @@ +--- netpbm-10.30/doc/COPYRIGHT.PATENT.security 2004-05-01 01:54:22.000000000 +0200 ++++ netpbm-10.30/doc/COPYRIGHT.PATENT 2005-10-21 11:08:57.000000000 +0200 +@@ -33,6 +33,11 @@ no warranties regarding any of the code all the above to be modified by "to the best of the Netpbm maintainer's knowledge." @@ -299,19 +299,19 @@ PATENTS ---- netpbm-10.29/converter/pgm/psidtopgm.c.security 2002-07-30 17:57:36.000000000 +0200 -+++ netpbm-10.29/converter/pgm/psidtopgm.c 2005-08-16 16:24:14.000000000 +0200 -@@ -60,6 +60,7 @@ - "bits/sample (%d) is too large.", bitspersample ); +--- netpbm-10.30/converter/pgm/psidtopgm.c.security 2005-08-27 20:38:40.000000000 +0200 ++++ netpbm-10.30/converter/pgm/psidtopgm.c 2005-10-21 12:13:31.000000000 +0200 +@@ -78,6 +78,7 @@ main(int argc, + pm_error("bits/sample (%d) is too large.", bitspersample); - pgm_writepgminit( stdout, cols, rows, (gray) maxval, 0 ); + pgm_writepgminit(stdout, cols, rows, maxval, 0); + overflow_add(cols, 7); - grayrow = pgm_allocrow( ( cols + 7 ) / 8 * 8 ); - for ( row = 0; row < rows; ++row) - { ---- netpbm-10.29/converter/pgm/lispmtopgm.c.security 2002-09-06 18:27:00.000000000 +0200 -+++ netpbm-10.29/converter/pgm/lispmtopgm.c 2005-08-16 16:24:14.000000000 +0200 -@@ -57,6 +57,7 @@ + grayrow = pgm_allocrow((cols + 7) / 8 * 8); + for (row = 0; row < rows; ++row) { + unsigned int col; +--- netpbm-10.30/converter/pgm/lispmtopgm.c.security 2005-10-07 09:03:29.000000000 +0200 ++++ netpbm-10.30/converter/pgm/lispmtopgm.c 2005-10-21 11:08:57.000000000 +0200 +@@ -58,6 +58,7 @@ main( argc, argv ) pm_error( "depth (%d bits) is too large", depth); pgm_writepgminit( stdout, cols, rows, (gray) maxval, 0 ); @@ -319,7 +319,7 @@ grayrow = pgm_allocrow( ( cols + 7 ) / 8 * 8 ); for ( row = 0; row < rows; ++row ) -@@ -101,7 +102,9 @@ +@@ -102,7 +103,9 @@ getinit( file, colsP, rowsP, depthP, pad if ( *depthP == 0 ) *depthP = 1; /* very old file */ @@ -330,9 +330,9 @@ *padrightP = ( ( *colsP + 31 ) / 32 ) * 32 - *colsP; if ( *colsP != (cols_32 - *padrightP) ) { ---- netpbm-10.29/converter/ppm/pjtoppm.c.security 2003-07-06 23:45:36.000000000 +0200 -+++ netpbm-10.29/converter/ppm/pjtoppm.c 2005-08-16 16:24:14.000000000 +0200 [...2217 lines suppressed...] @@ -2348,7 +2315,7 @@ RLE_CHECK_ALLOC( pgmname, tmp, 0 ); strcpy( tmp, pgmname ); the_hdr->cmd = tmp; -@@ -85,7 +90,9 @@ +@@ -87,7 +92,9 @@ int img_num; if ( the_hdr->file_name != fname ) { @@ -2359,7 +2326,7 @@ RLE_CHECK_ALLOC( pgmname, tmp, 0 ); strcpy( tmp, fname ); the_hdr->file_name = tmp; -@@ -150,6 +157,7 @@ +@@ -152,6 +159,7 @@ rle_hdr *from_hdr, *to_hdr; if ( to_hdr->bg_color ) { int size = to_hdr->ncolors * sizeof(int); @@ -2367,7 +2334,7 @@ to_hdr->bg_color = (int *)malloc( size ); RLE_CHECK_ALLOC( to_hdr->cmd, to_hdr->bg_color, "background color" ); memcpy( to_hdr->bg_color, from_hdr->bg_color, size ); -@@ -158,7 +166,7 @@ +@@ -160,7 +168,7 @@ rle_hdr *from_hdr, *to_hdr; if ( to_hdr->cmap ) { int size = to_hdr->ncmap * (1 << to_hdr->cmaplen) * sizeof(rle_map); @@ -2376,7 +2343,7 @@ RLE_CHECK_ALLOC( to_hdr->cmd, to_hdr->cmap, "color map" ); memcpy( to_hdr->cmap, from_hdr->cmap, size ); } -@@ -171,11 +179,16 @@ +@@ -173,11 +181,16 @@ rle_hdr *from_hdr, *to_hdr; int size = 0; CONST_DECL char **cp; for ( cp=to_hdr->comments; *cp; cp++ ) @@ -2393,9 +2360,9 @@ size *= sizeof(char *); to_hdr->comments = (CONST_DECL char **)malloc( size ); RLE_CHECK_ALLOC( to_hdr->cmd, to_hdr->comments, "comments" ); ---- netpbm-10.29/urt/README.security 2000-06-02 22:53:04.000000000 +0200 -+++ netpbm-10.29/urt/README 2005-08-16 16:24:14.000000000 +0200 -@@ -18,3 +18,8 @@ +--- netpbm-10.30/urt/README.security 2000-06-02 22:53:04.000000000 +0200 ++++ netpbm-10.30/urt/README 2005-10-21 11:08:57.000000000 +0200 +@@ -18,3 +18,8 @@ in its initializer in the original. But defines stdout as a variable, so that wouldn't compile. So I changed it to NULL and added a line to rle_hdr_init to set that field to 'stdout' dynamically. 2000.06.02 BJH. @@ -2404,8 +2371,8 @@ +Removed pipe through and compress support (unsafe) + +Alan Cox ---- netpbm-10.29/urt/Runput.c.security 2002-03-13 05:24:43.000000000 +0100 -+++ netpbm-10.29/urt/Runput.c 2005-08-16 16:24:14.000000000 +0200 +--- netpbm-10.30/urt/Runput.c.security 2005-10-16 23:36:29.000000000 +0200 ++++ netpbm-10.30/urt/Runput.c 2005-10-21 11:08:57.000000000 +0200 @@ -17,6 +17,8 @@ * * Modified at BRL 16-May-88 by Mike Muuss to avoid Alliant STDC desire @@ -2415,7 +2382,7 @@ */ /* * Runput.c - General purpose Run Length Encoding. -@@ -200,9 +202,11 @@ +@@ -202,9 +204,11 @@ RunSetup(rle_hdr * the_hdr) if ( the_hdr->background != 0 ) { register int i; @@ -2429,7 +2396,7 @@ /* * If even number of bg color bytes, put out one more to get to * 16 bit boundary. -@@ -222,7 +226,7 @@ +@@ -224,7 +228,7 @@ RunSetup(rle_hdr * the_hdr) /* Big-endian machines are harder */ register int i, nmap = (1 << the_hdr->cmaplen) * the_hdr->ncmap; @@ -2438,8 +2405,8 @@ if ( h_cmap == NULL ) { fprintf( stderr, ---- netpbm-10.29/urt/rle_getrow.c.security 2004-10-19 17:41:01.000000000 +0200 -+++ netpbm-10.29/urt/rle_getrow.c 2005-08-16 16:24:14.000000000 +0200 +--- netpbm-10.30/urt/rle_getrow.c.security 2005-10-16 23:47:53.000000000 +0200 ++++ netpbm-10.30/urt/rle_getrow.c 2005-10-21 11:32:32.000000000 +0200 @@ -17,6 +17,8 @@ * * Modified at BRL 16-May-88 by Mike Muuss to avoid Alliant STDC desire @@ -2449,51 +2416,16 @@ */ /* * rle_getrow.c - Read an RLE file in. -@@ -99,10 +101,8 @@ +@@ -168,6 +170,7 @@ rle_get_setup(rle_hdr * const the_hdr) { + register char * cp; - if ( !(setup.h_flags & H_NO_BACKGROUND) && setup.h_ncolors > 0 ) - { -- the_hdr->bg_color = (int *)malloc( -- (unsigned)(sizeof(int) * setup.h_ncolors) ); -- bg_color = (rle_pixel *)malloc( -- (unsigned)(1 + (setup.h_ncolors / 2) * 2) ); -+ the_hdr->bg_color = (int *)malloc2(sizeof(int), setup.h_ncolors); -+ bg_color = (rle_pixel *)malloc2(1 + (setup.h_ncolors / 2), 2); - RLE_CHECK_ALLOC( the_hdr->cmd, the_hdr->bg_color && bg_color, - "background color" ); - fread( (char *)bg_color, 1, 1 + (setup.h_ncolors / 2) * 2, infile ); -@@ -144,9 +144,8 @@ - register int i; - register char *maptemp; - -- the_hdr->cmap = (rle_map *)malloc( -- (unsigned)(sizeof(rle_map) * maplen) ); -- maptemp = (char *)malloc( 2 * maplen ); -+ the_hdr->cmap = (rle_map *)malloc2(sizeof(rle_map), maplen ); -+ maptemp = (char *)malloc2( 2, maplen ); - if ( the_hdr->cmap == NULL || maptemp == NULL ) - { - fprintf( stderr, -@@ -169,6 +168,8 @@ - register char * cp; - - VAXSHORT( comlen, infile ); /* get comment length */ -+ -+ overflow_add(comlen, 1); - evenlen = (comlen + 1) & ~1; /* make it even */ - if ( evenlen ) - { -@@ -189,7 +190,7 @@ - i++; /* extra for NULL pointer at end */ - /* Get space to put pointers to comments */ - the_hdr->comments = -- (CONST_DECL char **)malloc( (unsigned)(i * sizeof(char *)) ); -+ (CONST_DECL char **)malloc2(i, sizeof(char *)); - if ( the_hdr->comments == NULL ) + VAXSHORT( comlen, infile ); /* get comment length */ ++ overflow_add(comlen, 1); + evenlen = (comlen + 1) & ~1; /* make it even */ + if ( evenlen ) { - fprintf( stderr, ---- netpbm-10.29/urt/rle_putcom.c.security 2000-05-19 01:12:22.000000000 +0200 -+++ netpbm-10.29/urt/rle_putcom.c 2005-08-16 16:24:14.000000000 +0200 +--- netpbm-10.30/urt/rle_putcom.c.security 2005-10-07 18:01:42.000000000 +0200 ++++ netpbm-10.30/urt/rle_putcom.c 2005-10-21 11:34:46.000000000 +0200 @@ -14,6 +14,8 @@ * If you modify this software, you should include a notice giving the * name of the person performing the modification, the date of modification, @@ -2503,36 +2435,19 @@ */ /* * rle_putcom.c - Add a picture comment to the header struct. -@@ -89,19 +91,22 @@ - - if ( the_hdr->comments == NULL ) - { -- the_hdr->comments = (CONST_DECL char **)malloc( 2 * sizeof(char *) ); -+ the_hdr->comments = (CONST_DECL char **)malloc2( 2, sizeof(char *) ); - the_hdr->comments[0] = value; - the_hdr->comments[1] = NULL; - } - else - { - for ( i = 2, cp = the_hdr->comments; *cp != NULL; i++, cp++ ) -+ { +@@ -98,12 +100,14 @@ rle_putcom(const char * const value, + const char * v; + const char ** old_comments; + int i; +- for (i = 2, cp = the_hdr->comments; *cp != NULL; ++i, ++cp) ++ for (i = 2, cp = the_hdr->comments; *cp != NULL; ++i, ++cp) { + overflow_add(i, 1); - if ( match( value, *cp ) != NULL ) - { - v = *cp; - *cp = value; - return v; - } + if (match(value, *cp) != NULL) { + v = *cp; + *cp = value; + return v; + } + } - /* Not found */ - /* Can't realloc because somebody else might be pointing to this - * comments block. Of course, if this were true, then the -@@ -111,7 +116,7 @@ - * could copy the pointers, too. - */ - old_comments = the_hdr->comments; -- the_hdr->comments = (CONST_DECL char **)malloc(i * sizeof(char *) ); -+ the_hdr->comments = (CONST_DECL char **)malloc2(i , sizeof(char *) ); - the_hdr->comments[--i] = NULL; - the_hdr->comments[--i] = value; - for ( i--; i >= 0; i-- ) + /* Not found */ + /* Can't realloc because somebody else might be pointing to this + * comments block. Of course, if this were true, then the netpbm-10.27-bmptopnm.patch: bmptopnm.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: netpbm-10.27-bmptopnm.patch =================================================================== RCS file: /cvs/dist/rpms/netpbm/devel/netpbm-10.27-bmptopnm.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- netpbm-10.27-bmptopnm.patch 9 May 2005 10:18:31 -0000 1.1 +++ netpbm-10.27-bmptopnm.patch 21 Oct 2005 12:52:58 -0000 1.2 @@ -9,15 +9,6 @@ unsigned int pos; /* The following are all information from the BMP headers */ -@@ -1081,7 +1081,7 @@ main(int argc, char ** argv) { - parse_command_line(argc, argv, &cmdline); - - ifP = pm_openr(cmdline.input_filespec); -- if (strcmp(cmdline.input_filespec, "-")) -+ if (!strcmp(cmdline.input_filespec, "-")) - ifname = "Standard Input"; - else - ifname = cmdline.input_filespec; @@ -1106,7 +1106,7 @@ main(int argc, char ** argv) { writeRaster(BMPraster, cols, rows, outputType, cBitCount, pixelformat, colormap); netpbm-10.28-gcc4.patch: lib/pm.h | 1 + urt/rle.h | 1 + 2 files changed, 2 insertions(+) Index: netpbm-10.28-gcc4.patch =================================================================== RCS file: /cvs/dist/rpms/netpbm/devel/netpbm-10.28-gcc4.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- netpbm-10.28-gcc4.patch 10 Jun 2005 09:25:59 -0000 1.1 +++ netpbm-10.28-gcc4.patch 21 Oct 2005 12:52:58 -0000 1.2 @@ -1,26 +1,5 @@ ---- netpbm-10.28/converter/ppm/ppmtowinicon.c.gcc4 2005-06-10 10:34:45.341676768 +0200 -+++ netpbm-10.28/converter/ppm/ppmtowinicon.c 2005-06-10 10:34:51.749702600 +0200 -@@ -745,7 +745,7 @@ addEntryToIcon(MS_Ico const MSIcon - * Perhaps I should use something that allocs a decent amount at start... - */ - MSIconData->entries = -- realloc2 (MSIconData->entries, MSIconData->count * sizeof(IC_Entry *)); -+ (IC_Entry*)realloc2 (MSIconData->entries, MSIconData->count * sizeof(IC_Entry *)); - MSIconData->entries[MSIconData->count-1] = entry; - } - ---- netpbm-10.28/buildtools/typegen.c.gcc4 2005-04-27 18:24:29.000000000 +0200 -+++ netpbm-10.28/buildtools/typegen.c 2005-06-10 10:34:51.749702600 +0200 -@@ -28,6 +28,7 @@ - We also include the multiple inclusion guard ifdef. - -----------------------------------------------------------------------------*/ - #include -+#include - #include - - ---- netpbm-10.28/lib/pm.h.gcc4 2005-06-10 10:34:45.399667952 +0200 -+++ netpbm-10.28/lib/pm.h 2005-06-10 10:34:51.750702448 +0200 +--- netpbm-10.30/lib/pm.h.gcc4 2005-10-21 12:19:56.000000000 +0200 ++++ netpbm-10.30/lib/pm.h 2005-10-21 12:20:03.000000000 +0200 @@ -18,6 +18,7 @@ #include #include @@ -29,37 +8,13 @@ #include #include #include ---- netpbm-10.28/urt/rle_getrow.c.gcc4 2005-06-10 10:34:45.401667648 +0200 -+++ netpbm-10.28/urt/rle_getrow.c 2005-06-10 10:34:51.751702296 +0200 -@@ -32,7 +32,8 @@ - * $Id$ - */ - --#include "stdio.h" -+#include -+#include - #include "rle.h" - #include "rle_code.h" - #include "vaxshort.h" ---- netpbm-10.28/urt/rle.h.gcc4 2005-06-10 10:34:45.402667496 +0200 -+++ netpbm-10.28/urt/rle.h 2005-06-10 10:34:51.752702144 +0200 +--- netpbm-10.30/urt/rle.h.gcc4 2005-10-21 12:19:56.000000000 +0200 ++++ netpbm-10.30/urt/rle.h 2005-10-21 12:21:31.000000000 +0200 @@ -36,6 +36,7 @@ - #include "rle_config.h" /* Configuration parameters. */ + #include "rle_config.h" /* Configuration parameters. */ - #include /* Declare FILE. */ + #include /* Declare FILE. */ +#include #ifdef c_plusplus #define USE_PROTOTYPES ---- netpbm-10.28/urt/Runput.c.gcc4 2005-06-10 10:34:45.400667800 +0200 -+++ netpbm-10.28/urt/Runput.c 2005-06-10 10:34:51.753701992 +0200 -@@ -92,7 +92,8 @@ - * follow the last byte in the run. - */ - --#include "stdio.h" -+#include -+#include - #include "rle_put.h" - #include "rle.h" - #include "rle_code.h" netpbm-10.29-pnmtopng.patch: pnmtopng.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: netpbm-10.29-pnmtopng.patch =================================================================== RCS file: /cvs/dist/rpms/netpbm/devel/netpbm-10.29-pnmtopng.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- netpbm-10.29-pnmtopng.patch 6 Oct 2005 12:22:14 -0000 1.1 +++ netpbm-10.29-pnmtopng.patch 21 Oct 2005 12:52:58 -0000 1.2 @@ -18,14 +18,3 @@ int const png_alphaval = (int) alpha_mask[col] * (float) png_maxval / maxval + 0.5; if (depth == 16) -@@ -1690,8 +1690,8 @@ writeRaster(png_struct * const p - pnm_promoteformatrow(xelrow, cols, maxval, format, maxval, - PPM_TYPE); - -- makePngLine(line, xelrow, cols, maxval, alpha, alpha_mask[row], -- cht, caht, info_ptr, png_maxval, depth); -+ makePngLine(line, xelrow, cols, maxval, alpha, alpha_mask?alpha_mask[row]:NULL, -+ cht, caht, info_ptr, png_maxval, depth); - - png_write_row(png_ptr, line); - } Index: netpbm.spec =================================================================== RCS file: /cvs/dist/rpms/netpbm/devel/netpbm.spec,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- netpbm.spec 6 Oct 2005 12:22:14 -0000 1.45 +++ netpbm.spec 21 Oct 2005 12:52:58 -0000 1.46 @@ -1,7 +1,7 @@ Summary: A library for handling different graphics file formats. Name: netpbm -Version: 10.29 -Release: 2 +Version: 10.30 +Release: 1 License: freeware Group: System Environment/Libraries URL: http://netpbm.sourceforge.net/ @@ -10,16 +10,15 @@ Patch0: netpbm-10.28-legal.patch Patch1: netpbm-10.17-time.patch Patch2: netpbm-9.24-strip.patch -Patch3: netpbm-10.18-manpath.patch -Patch4: netpbm-10.19-message.patch -Patch5: netpbm-10.22-security2.patch -Patch6: netpbm-10.22-cmapsize.patch -Patch7: netpbm-10.23-security.patch -Patch8: netpbm-10.24-nodoc.patch -Patch9: netpbm-10.28-gcc4.patch -Patch10: netpbm-10.27-bmptopnm.patch -Patch11: netpbm-10.28-CAN-2005-2471.patch -Patch12: netpbm-10.29-pnmtopng.patch +Patch3: netpbm-10.19-message.patch +Patch4: netpbm-10.22-security2.patch +Patch5: netpbm-10.22-cmapsize.patch +Patch6: netpbm-10.23-security.patch +Patch7: netpbm-10.24-nodoc.patch +Patch8: netpbm-10.28-gcc4.patch +Patch9: netpbm-10.27-bmptopnm.patch +Patch10: netpbm-10.28-CAN-2005-2471.patch +Patch11: netpbm-10.29-pnmtopng.patch Buildroot: %{_tmppath}/%{name}-root BuildPrereq: libjpeg-devel, libpng-devel, libtiff-devel, perl Obsoletes: libgr @@ -66,16 +65,15 @@ %patch0 -p1 -b .legal %patch1 -p1 -b .time %patch2 -p1 -b .strip -%patch3 -p1 -b .manpath -%patch4 -p1 -b .message -%patch5 -p1 -b .security2 -%patch6 -p1 -b .cmapsize -%patch7 -p1 -b .security -%patch8 -p1 -b .nodoc -%patch9 -p1 -b .gcc4 -%patch10 -p1 -b .bmptopnm -%patch11 -p1 -b .CAN-2005-2471 -%patch12 -p1 -b .pnmtopng +%patch3 -p1 -b .message +%patch4 -p1 -b .security2 +%patch5 -p1 -b .cmapsize +%patch6 -p1 -b .security +%patch7 -p1 -b .nodoc +%patch8 -p1 -b .gcc4 +%patch9 -p1 -b .bmptopnm +%patch10 -p1 -b .CAN-2005-2471 +%patch11 -p1 -b .pnmtopng ##mv shhopt/shhopt.h shhopt/pbmshhopt.h ##perl -pi -e 's|shhopt.h|pbmshhopt.h|g' `find -name "*.c" -o -name "*.h"` ./GNUmakefile @@ -174,6 +172,14 @@ %{_mandir}/man5/* %changelog +* Fri Oct 21 2005 Jindrich Novy 10.30-1 +- update to 10.30 +- update manpath, gcc4 patches +- update security patch - fixed length problem in rle_addhist +- update partly upstreamed bmptopnm, pnmtopng patches +- drop manpath patch +- regenerate man pages + * Thu Oct 06 2005 Jindrich Novy 10.29-2 - fix segfault in pnmtopng caused by referencing a NULL pointer (#169532) @@ -181,7 +187,6 @@ - update to 10.29 - drop upstreamed .libpm, .pnmtojpeg, .pbmtolj patches - update .CAN-2005-2471 patch -- regenerate man pages * Mon Aug 15 2005 Jindrich Novy 10.28-6 - link libnetpbm.so against -lm (#165980) Index: sources =================================================================== RCS file: /cvs/dist/rpms/netpbm/devel/sources,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- sources 16 Aug 2005 14:36:00 -0000 1.18 +++ sources 21 Oct 2005 12:52:58 -0000 1.19 @@ -1,2 +1,2 @@ -51bd472bde201b3dad0bccfb8c6bf47e netpbm-10.29.tar.bz2 -21c6d8ba70222b1afdddcdffe6517bdc netpbmdoc-10.29.tar.bz2 +48c40649d090c65f344afb9f6792bcc6 netpbm-10.30.tar.bz2 +ad2ba0a739bc3948295e0c74c8da9e11 netpbmdoc-10.30.tar.bz2 --- netpbm-10.18-manpath.patch DELETED --- --- netpbm-10.26.4-gcc4.patch DELETED --- From fedora-cvs-commits at redhat.com Fri Oct 21 13:48:42 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 09:48:42 -0400 Subject: rpms/openssl/devel openssl-0.9.7d-ICA_engine-sep142005.patch, NONE, 1.1 .cvsignore, 1.10, 1.11 openssl.spec, 1.60, 1.61 sources, 1.12, 1.13 libica-1.2-struct.patch, 1.1, NONE openssl-0.9.7d-ICA_engine-jun142004.patch, 1.1, NONE Message-ID: <200510211348.j9LDmgWv000366@cvs.devel.redhat.com> Author: tmraz Update of /cvs/dist/rpms/openssl/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv32601 Modified Files: .cvsignore openssl.spec sources Added Files: openssl-0.9.7d-ICA_engine-sep142005.patch Removed Files: libica-1.2-struct.patch openssl-0.9.7d-ICA_engine-jun142004.patch Log Message: * Fri Oct 21 2005 Tomas Mraz 0.9.7f-11 - updated IBM ICA engine library and patch to latest upstream version openssl-0.9.7d-ICA_engine-sep142005.patch: crypto/engine/Makefile | 6 openssl-0.9.7d-libica-aes/crypto/engine/eng_all.c | 3 openssl-0.9.7d-libica-aes/crypto/engine/eng_err.c | 15 openssl-0.9.7d-libica-aes/crypto/engine/engine.h | 15 openssl-0.9.7d-libica-aes/crypto/engine/hw.ec | 1 openssl-0.9.7d-libica-aes/crypto/engine/hw_ibmca.c | 1834 ++++++++++ openssl-0.9.7d-libica-aes/crypto/engine/hw_ibmca_err.c | 160 openssl-0.9.7d-libica-aes/crypto/engine/hw_ibmca_err.h | 51 openssl-0.9.7d-libica-aes/crypto/engine/vendor_defns/ica_openssl_api.h | 242 + 9 files changed, 2325 insertions(+), 2 deletions(-) --- NEW FILE openssl-0.9.7d-ICA_engine-sep142005.patch --- diff -urN -X openssl.exclude openssl-0.9.7d/crypto/engine/Makefile.ssl openssl-0.9.7d_icanocleanse/crypto/engine/Makefile.ssl --- openssl-0.9.7d/crypto/engine/Makefile 2003-12-27 07:00:00.000000000 -0800 +++ openssl-0.9.7d_icanocleanse/crypto/engine/Makefile 2004-06-14 15:53:52.638458336 -0700 @@ -28,13 +28,15 @@ tb_rsa.c tb_dsa.c tb_dh.c tb_rand.c tb_cipher.c tb_digest.c \ eng_openssl.c eng_dyn.c eng_cnf.c \ hw_atalla.c hw_cswift.c hw_ncipher.c hw_nuron.c hw_ubsec.c \ - hw_cryptodev.c hw_aep.c hw_sureware.c hw_4758_cca.c + hw_cryptodev.c hw_aep.c hw_sureware.c hw_4758_cca.c \ + hw_ibmca.c LIBOBJ= eng_err.o eng_lib.o eng_list.o eng_init.o eng_ctrl.o \ eng_table.o eng_pkey.o eng_fat.o eng_all.o \ tb_rsa.o tb_dsa.o tb_dh.o tb_rand.o tb_cipher.o tb_digest.o \ eng_openssl.o eng_dyn.o eng_cnf.o \ hw_atalla.o hw_cswift.o hw_ncipher.o hw_nuron.o hw_ubsec.o \ - hw_cryptodev.o hw_aep.o hw_sureware.o hw_4758_cca.o + hw_cryptodev.o hw_aep.o hw_sureware.o hw_4758_cca.o \ + hw_ibmca.o SRC= $(LIBSRC) diff -x tools -x opensslconf.h -x 'Makefile*' -x test -x cscope.out -x '*.txt' -x '*~' -x certs -x apps -Naur openssl-0.9.7d/crypto/engine/eng_all.c openssl-0.9.7d-libica-aes/crypto/engine/eng_all.c --- openssl-0.9.7d/crypto/engine/eng_all.c 2003-01-16 12:29:33.000000000 -0600 +++ openssl-0.9.7d-libica-aes/crypto/engine/eng_all.c 2005-08-30 13:59:36.000000000 -0500 @@ -89,6 +89,9 @@ #ifndef OPENSSL_NO_HW_AEP ENGINE_load_aep(); #endif +#ifndef OPENSSL_NO_HW_IBMCA + ENGINE_load_ibmca(); +#endif #ifndef OPENSSL_NO_HW_SUREWARE ENGINE_load_sureware(); #endif diff -x tools -x opensslconf.h -x 'Makefile*' -x test -x cscope.out -x '*.txt' -x '*~' -x certs -x apps -Naur openssl-0.9.7d/crypto/engine/eng_err.c openssl-0.9.7d-libica-aes/crypto/engine/eng_err.c --- openssl-0.9.7d/crypto/engine/eng_err.c 2002-10-15 20:32:35.000000000 -0500 +++ openssl-0.9.7d-libica-aes/crypto/engine/eng_err.c 2005-08-30 13:59:36.000000000 -0500 @@ -97,6 +97,16 @@ {ERR_PACK(0,ENGINE_F_ENGINE_TABLE_REGISTER,0), "ENGINE_TABLE_REGISTER"}, {ERR_PACK(0,ENGINE_F_ENGINE_UNLOAD_KEY,0), "ENGINE_UNLOAD_KEY"}, {ERR_PACK(0,ENGINE_F_ENGINE_UP_REF,0), "ENGINE_up_ref"}, +{ERR_PACK(0,ENGINE_F_IBMCA_FINISH,0), "IBMCA_FINISH"}, +{ERR_PACK(0,ENGINE_F_IBMCA_INIT,0), "IBMCA_INIT"}, +{ERR_PACK(0,ENGINE_F_IBMCA_MOD_EXP,0), "IBMCA_MOD_EXP"}, +{ERR_PACK(0,ENGINE_F_IBMCA_MOD_EXP_CRT,0), "IBMCA_MOD_EXP_CRT"}, +{ERR_PACK(0,ENGINE_F_IBMCA_RAND_BYTES,0), "IBMCA_RAND_BYTES"}, +{ERR_PACK(0,ENGINE_F_IBMCA_RSA_MOD_EXP,0), "IBMCA_RSA_MOD_EXP"}, +{ERR_PACK(0,ENGINE_F_IBMCA_DES_CIPHER,0), "IBMCA_DES_CIPHER"}, +{ERR_PACK(0,ENGINE_F_IBMCA_TDES_CIPHER,0), "IBMCA_TDES_CIPHER"}, +{ERR_PACK(0,ENGINE_F_IBMCA_SHA1_UPDATE,0), "IBMCA_SHA1_UPDATE"}, +{ERR_PACK(0,ENGINE_F_IBMCA_SHA1_FINAL,0), "IBMCA_SHA1_FINAL"}, {ERR_PACK(0,ENGINE_F_INT_CTRL_HELPER,0), "INT_CTRL_HELPER"}, {ERR_PACK(0,ENGINE_F_INT_ENGINE_CONFIGURE,0), "INT_ENGINE_CONFIGURE"}, {ERR_PACK(0,ENGINE_F_LOG_MESSAGE,0), "LOG_MESSAGE"}, @@ -108,6 +118,8 @@ { {ENGINE_R_ALREADY_LOADED ,"already loaded"}, {ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER ,"argument is not a number"}, +{ENGINE_R_BN_CTX_FULL ,"bn ctx full"}, +{ENGINE_R_BN_EXPAND_FAIL ,"bn expand fail"}, {ENGINE_R_CMD_NOT_EXECUTABLE ,"cmd not executable"}, {ENGINE_R_COMMAND_TAKES_INPUT ,"command takes input"}, {ENGINE_R_COMMAND_TAKES_NO_INPUT ,"command takes no input"}, @@ -132,6 +144,7 @@ {ENGINE_R_INVALID_CMD_NUMBER ,"invalid cmd number"}, {ENGINE_R_INVALID_INIT_VALUE ,"invalid init value"}, {ENGINE_R_INVALID_STRING ,"invalid string"}, +{ENGINE_R_MISSING_KEY_COMPONENTS ,"missing key components"}, {ENGINE_R_NOT_INITIALISED ,"not initialised"}, {ENGINE_R_NOT_LOADED ,"not loaded"}, {ENGINE_R_NO_CONTROL_FUNCTION ,"no control function"}, @@ -141,9 +154,11 @@ {ENGINE_R_NO_SUCH_ENGINE ,"no such engine"}, {ENGINE_R_NO_UNLOAD_FUNCTION ,"no unload function"}, {ENGINE_R_PROVIDE_PARAMETERS ,"provide parameters"}, +{ENGINE_R_REQUEST_FAILED ,"request failed"}, {ENGINE_R_RSA_NOT_IMPLEMENTED ,"rsa not implemented"}, {ENGINE_R_UNIMPLEMENTED_CIPHER ,"unimplemented cipher"}, {ENGINE_R_UNIMPLEMENTED_DIGEST ,"unimplemented digest"}, +{ENGINE_R_UNIT_FAILURE ,"unit failure"}, {ENGINE_R_VERSION_INCOMPATIBILITY ,"version incompatibility"}, {0,NULL} }; diff -x tools -x opensslconf.h -x 'Makefile*' -x test -x cscope.out -x '*.txt' -x '*~' -x certs -x apps -Naur openssl-0.9.7d/crypto/engine/engine.h openssl-0.9.7d-libica-aes/crypto/engine/engine.h --- openssl-0.9.7d/crypto/engine/engine.h 2003-11-29 04:25:41.000000000 -0600 +++ openssl-0.9.7d-libica-aes/crypto/engine/engine.h 2005-08-30 13:59:36.000000000 -0500 @@ -677,6 +677,16 @@ #define ENGINE_F_ENGINE_TABLE_REGISTER 184 #define ENGINE_F_ENGINE_UNLOAD_KEY 152 #define ENGINE_F_ENGINE_UP_REF 190 +#define ENGINE_F_IBMCA_FINISH 191 +#define ENGINE_F_IBMCA_INIT 192 +#define ENGINE_F_IBMCA_MOD_EXP 193 +#define ENGINE_F_IBMCA_MOD_EXP_CRT 194 +#define ENGINE_F_IBMCA_RAND_BYTES 195 +#define ENGINE_F_IBMCA_RSA_MOD_EXP 196 +#define ENGINE_F_IBMCA_DES_CIPHER 197 +#define ENGINE_F_IBMCA_TDES_CIPHER 198 +#define ENGINE_F_IBMCA_SHA1_UPDATE 199 +#define ENGINE_F_IBMCA_SHA1_FINAL 200 #define ENGINE_F_INT_CTRL_HELPER 172 #define ENGINE_F_INT_ENGINE_CONFIGURE 188 #define ENGINE_F_LOG_MESSAGE 141 @@ -685,6 +695,8 @@ /* Reason codes. */ #define ENGINE_R_ALREADY_LOADED 100 #define ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER 133 +#define ENGINE_R_BN_CTX_FULL 151 +#define ENGINE_R_BN_EXPAND_FAIL 152 #define ENGINE_R_CMD_NOT_EXECUTABLE 134 #define ENGINE_R_COMMAND_TAKES_INPUT 135 #define ENGINE_R_COMMAND_TAKES_NO_INPUT 136 @@ -709,6 +721,7 @@ #define ENGINE_R_INVALID_CMD_NUMBER 138 #define ENGINE_R_INVALID_INIT_VALUE 151 #define ENGINE_R_INVALID_STRING 150 +#define ENGINE_R_MISSING_KEY_COMPONENTS 153 #define ENGINE_R_NOT_INITIALISED 117 #define ENGINE_R_NOT_LOADED 112 #define ENGINE_R_NO_CONTROL_FUNCTION 120 @@ -718,9 +731,11 @@ #define ENGINE_R_NO_SUCH_ENGINE 116 #define ENGINE_R_NO_UNLOAD_FUNCTION 126 #define ENGINE_R_PROVIDE_PARAMETERS 113 +#define ENGINE_R_REQUEST_FAILED 154 #define ENGINE_R_RSA_NOT_IMPLEMENTED 141 #define ENGINE_R_UNIMPLEMENTED_CIPHER 146 #define ENGINE_R_UNIMPLEMENTED_DIGEST 147 +#define ENGINE_R_UNIT_FAILURE 155 #define ENGINE_R_VERSION_INCOMPATIBILITY 145 #ifdef __cplusplus diff -x tools -x opensslconf.h -x 'Makefile*' -x test -x cscope.out -x '*.txt' -x '*~' -x certs -x apps -Naur openssl-0.9.7d/crypto/engine/hw.ec openssl-0.9.7d-libica-aes/crypto/engine/hw.ec --- openssl-0.9.7d/crypto/engine/hw.ec 2002-02-27 16:44:43.000000000 -0600 +++ openssl-0.9.7d-libica-aes/crypto/engine/hw.ec 2005-08-30 13:59:36.000000000 -0500 @@ -6,3 +6,4 @@ L SUREWARE hw_sureware_err.h hw_sureware_err.c L UBSEC hw_ubsec_err.h hw_ubsec_err.c L CCA4758 hw_4758_cca_err.h hw_4758_cca_err.c +L IBMCA hw_ibmca_err.h hw_ibmca_err.c diff -x tools -x opensslconf.h -x 'Makefile*' -x test -x cscope.out -x '*.txt' -x '*~' -x certs -x apps -Naur openssl-0.9.7d/crypto/engine/hw_ibmca.c openssl-0.9.7d-libica-aes/crypto/engine/hw_ibmca.c --- openssl-0.9.7d/crypto/engine/hw_ibmca.c 1969-12-31 18:00:00.000000000 -0600 +++ openssl-0.9.7d-libica-aes/crypto/engine/hw_ibmca.c 2005-08-30 16:06:47.000000000 -0500 @@ -0,0 +1,1834 @@ +/* crypto/engine/hw_ibmca.c */ +/* Written by Geoff Thorpe (geoff at geoffthorpe.net) for the OpenSSL + * project 2000. + */ +/* ==================================================================== + * Copyright (c) 1999 The OpenSSL Project. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * 3. All advertising materials mentioning features or use of this + * software must display the following acknowledgment: + * "This product includes software developed by the OpenSSL Project + * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" + * + * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to + * endorse or promote products derived from this software without + * prior written permission. For written permission, please contact + * licensing at OpenSSL.org. + * + * 5. Products derived from this software may not be called "OpenSSL" + * nor may "OpenSSL" appear in their names without prior written + * permission of the OpenSSL Project. + * + * 6. Redistributions of any form whatsoever must retain the following + * acknowledgment: + * "This product includes software developed by the OpenSSL Project + * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" + * + * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY + * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + * ==================================================================== + * + * This product includes cryptographic software written by Eric Young + * (eay at cryptsoft.com). This product includes software written by Tim + * Hudson (tjh at cryptsoft.com). [...2044 lines suppressed...] +typedef unsigned char ICA_DES_VECTOR[8]; + +typedef unsigned char ICA_KEY_DES_SINGLE[8]; + +typedef struct _ICA_KEY_DES_TRIPLE{ + ICA_KEY_DES_SINGLE key1; + ICA_KEY_DES_SINGLE key2; + ICA_KEY_DES_SINGLE key3; +} ICA_KEY_DES_TRIPLE; + +/*------------------------------------------------* + | SHA defines and typedefs from ica_api.h | + *------------------------------------------------*/ +#define SHA_MSG_PART_ONLY 0 +#define SHA_MSG_PART_FIRST 1 +#define SHA_MSG_PART_MIDDLE 2 +#define SHA_MSG_PART_FINAL 3 +#define LENGTH_SHA_HASH 20 +#define SHA_BLOCK_SIZE 64 +#define LENGTH_SHA_CONTEXT sizeof(ICA_SHA_CONTEXT) +typedef struct _ICA_SHA_CONTEXT{ +#ifdef __s390__ + unsigned long long runningLength; +#else + unsigned long runningLength; +#endif + unsigned char sha_hash[LENGTH_SHA_HASH]; +} ICA_SHA_CONTEXT; + +/*------------------------------------------------* + | RSA defines and typedefs | + *------------------------------------------------*/ + /* + * All data elements of the RSA key are in big-endian format + * Modulus-Exponent form of key + * + */ + #define MAX_EXP_SIZE 256 + #define MAX_MODULUS_SIZE 256 + #define MAX_MODEXP_SIZE (MAX_EXP_SIZE + MAX_MODULUS_SIZE) + + #define MAX_OPERAND_SIZE MAX_EXP_SIZE + + typedef unsigned char ICA_KEY_RSA_MODEXPO_REC[MAX_MODEXP_SIZE]; + /* + * All data elements of the RSA key are in big-endian format + * Chinese Remainder Thereom(CRT) form of key + * Used only for Decrypt, the encrypt form is typically Modulus-Exponent + * + */ + #define MAX_BP_SIZE 136 + #define MAX_BQ_SIZE 128 + #define MAX_NP_SIZE 136 + #define MAX_NQ_SIZE 128 + #define MAX_QINV_SIZE 136 + #define MAX_RSACRT_SIZE (MAX_BP_SIZE+MAX_BQ_SIZE+MAX_NP_SIZE+MAX_NQ_SIZE+MAX_QINV_SIZE) + +#define RSA_GEN_OPERAND_MAX 256 /* bytes */ + +typedef unsigned char ICA_KEY_RSA_CRT_REC[MAX_RSACRT_SIZE]; +/*------------------------------------------------* + | RSA key token types | + *------------------------------------------------*/ + +#define RSA_PUBLIC_MODULUS_EXPONENT 3 +#define RSA_PKCS_PRIVATE_CHINESE_REMAINDER 6 + +#define KEYTYPE_MODEXPO 1 +#define KEYTYPE_PKCSCRT 2 + + +/*------------------------------------------------* + | RSA Key Token format | + *------------------------------------------------*/ + +/* + * NOTE: All the fields in the ICA_KEY_RSA_MODEXPO structure + * (lengths, offsets, exponents, modulus, etc.) are + * stored in big-endian format + */ + +typedef struct _ICA_KEY_RSA_MODEXPO +{ unsigned int keyType; /* RSA key type. */ + unsigned int keyLength; /* Total length of the token. */ + unsigned int modulusBitLength; /* Modulus n bit length. */ + /* -- Start of the data length.*/ + unsigned int nLength; /* Modulus n = p * q */ + unsigned int expLength; /* exponent (public or private)*/ + /* e = 1/d * mod(p-1)(q-1) */ + /* -- Start of the data offsets*/ + unsigned int nOffset; /* Modulus n . */ + unsigned int expOffset; /* exponent (public or private)*/ + unsigned char reserved[112]; /* reserved area */ + /* -- Start of the variable -- */ + /* -- length token data. -- */ + ICA_KEY_RSA_MODEXPO_REC keyRecord; +} ICA_KEY_RSA_MODEXPO; +#define SZ_HEADER_MODEXPO (sizeof(ICA_KEY_RSA_MODEXPO) - sizeof(ICA_KEY_RSA_MODEXPO_REC)) + +/* + * NOTE: All the fields in the ICA_KEY_RSA_CRT structure + * (lengths, offsets, exponents, modulus, etc.) are + * stored in big-endian format + */ + +typedef struct _ICA_KEY_RSA_CRT +{ unsigned int keyType; /* RSA key type. */ + unsigned int keyLength; /* Total length of the token. */ + unsigned int modulusBitLength; /* Modulus n bit length. */ + /* -- Start of the data length.*/ +#if _AIX + unsigned int nLength; /* Modulus n = p * q */ +#endif + unsigned int pLength; /* Prime number p . */ + unsigned int qLength; /* Prime number q . */ + unsigned int dpLength; /* dp = d * mod(p-1) . */ + unsigned int dqLength; /* dq = d * mod(q-1) . */ + unsigned int qInvLength; /* PKCS: qInv = Ap/q */ + /* -- Start of the data offsets*/ +#if _AIX + unsigned int nOffset; /* Modulus n . */ +#endif + unsigned int pOffset; /* Prime number p . */ + unsigned int qOffset; /* Prime number q . */ + unsigned int dpOffset; /* dp . */ + unsigned int dqOffset; /* dq . */ + unsigned int qInvOffset; /* qInv for PKCS */ +#if _AIX + unsigned char reserved[80]; /* reserved area */ +#else + unsigned char reserved[88]; /* reserved area */ +#endif + /* -- Start of the variable -- */ + /* -- length token data. -- */ + ICA_KEY_RSA_CRT_REC keyRecord; +} ICA_KEY_RSA_CRT; +#define SZ_HEADER_CRT (sizeof(ICA_KEY_RSA_CRT) - sizeof(ICA_KEY_RSA_CRT_REC)) + +unsigned int +icaOpenAdapter( unsigned int adapterId, + ICA_ADAPTER_HANDLE *pAdapterHandle ); + +unsigned int +icaCloseAdapter( ICA_ADAPTER_HANDLE adapterHandle ); + +unsigned int +icaRsaModExpo( ICA_ADAPTER_HANDLE hAdapterHandle, + unsigned int inputDataLength, + unsigned char *pInputData, + ICA_KEY_RSA_MODEXPO *pKeyModExpo, + unsigned int *pOutputDataLength, + unsigned char *pOutputData ); + +unsigned int +icaRsaCrt( ICA_ADAPTER_HANDLE hAdapterHandle, + unsigned int inputDataLength, + unsigned char *pInputData, + ICA_KEY_RSA_CRT *pKeyCrt, + unsigned int *pOutputDataLength, + unsigned char *pOutputData ); + +unsigned int +icaRandomNumberGenerate( ICA_ADAPTER_HANDLE hAdapterHandle, + unsigned int outputDataLength, + unsigned char *pOutputData ); + +/* Specific macros and definitions to not have IFDEF;s all over the + main code */ + +#if (_AIX) +static const char *IBMCA_LIBNAME = "/lib/libica.a(shr.o)"; +#elif (WIN32) +static const char *IBMCA_LIBNAME = "cryptica"; +#else +static const char *IBMCA_LIBNAME = "ica"; +#endif + +#if (WIN32) +/* + The ICA_KEY_RSA_MODEXPO & ICA_KEY_RSA_CRT lengths and + offsets must be in big-endian format. + +*/ +#define CORRECT_ENDIANNESS(b) ( \ + (((unsigned long) (b) & 0x000000ff) << 24) | \ + (((unsigned long) (b) & 0x0000ff00) << 8) | \ + (((unsigned long) (b) & 0x00ff0000) >> 8) | \ + (((unsigned long) (b) & 0xff000000) >> 24) \ + ) +#define CRT_KEY_TYPE RSA_PKCS_PRIVATE_CHINESE_REMAINDER +#define ME_KEY_TYPE RSA_PUBLIC_MODULUS_EXPONENT +#else +#define CORRECT_ENDIANNESS(b) (b) +#define CRT_KEY_TYPE KEYTYPE_PKCSCRT +#define ME_KEY_TYPE KEYTYPE_MODEXPO +#endif + + + +#endif /* __ICA_OPENSSL_API_H__ */ Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/openssl/devel/.cvsignore,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- .cvsignore 30 Mar 2005 09:14:37 -0000 1.10 +++ .cvsignore 21 Oct 2005 13:48:38 -0000 1.11 @@ -1,3 +1,2 @@ -libica-1.3.5.tar.gz -libica-1.3.5-3.tar.gz openssl-0.9.7f-usa.tar.bz2 +libica-1.3.6-rc2.tar.bz2 Index: openssl.spec =================================================================== RCS file: /cvs/dist/rpms/openssl/devel/openssl.spec,v retrieving revision 1.60 retrieving revision 1.61 diff -u -r1.60 -r1.61 --- openssl.spec 12 Oct 2005 12:01:16 -0000 1.60 +++ openssl.spec 21 Oct 2005 13:48:38 -0000 1.61 @@ -17,12 +17,12 @@ # Arches for which we don't build subpackages. %define optimize_arches i686 -%define libicaversion 1.3.5-3 +%define libicaversion 1.3.6-rc2 Summary: The OpenSSL toolkit. Name: openssl Version: 0.9.7f -Release: 10 +Release: 11 Source: openssl-%{version}-usa.tar.bz2 Source1: hobble-openssl Source2: Makefile.certificate @@ -30,7 +30,8 @@ Source4: https://rhn.redhat.com/help/RHNS-CA-CERT Source5: https://rhn.redhat.com/help/RHNS-CA-CERT.asc Source6: make-dummy-cert -Source7: libica-%{libicaversion}.tar.gz +# http://sourceforge.net/projects/opencryptoki/ +Source7: libica-%{libicaversion}.tar.bz2 Source8: openssl-thread-test.c Source9: opensslconf-new.h Source10: opensslconf-new-warning.h @@ -40,12 +41,11 @@ Patch3: openssl-0.9.7e-soversion.patch Patch4: openssl-0.9.6-x509.patch Patch5: openssl-0.9.7-beta5-version-add-engines.patch -Patch6: openssl-0.9.7d-ICA_engine-jun142004.patch -Patch10: libica-1.2-struct.patch +Patch6: openssl-0.9.7d-ICA_engine-sep142005.patch +Patch10: libica-1.3.4-urandom.patch Patch11: libica-1.2-cleanup.patch Patch12: openssl-0.9.7a-libica-autoconf.patch Patch18: openssl-0.9.7a-krb5-1.3.patch -Patch40: libica-1.3.4-urandom.patch Patch42: openssl-0.9.7e-krb5.patch Patch43: openssl-0.9.7f-bn-asm-uninitialized.patch Patch44: openssl-0.9.7f-ca-dir.patch @@ -106,9 +106,12 @@ %patch5 -p1 -b .version-add-engines %patch6 -p1 -b .ibmca -%ifarch s390 s390x pushd libica-%{libicaversion} +# Patch for libica to use /dev/urandom instead of internal pseudo random number +# generator. +%patch10 -p2 -b .urandom %patch11 -p1 -b .cleanup +%ifarch s390 s390x if [[ $RPM_BUILD_ROOT ]] ; then export INSROOT=$RPM_BUILD_ROOT fi @@ -117,15 +120,12 @@ automake --gnu -acf autoconf libtoolize --copy --force -popd %endif +popd %patch12 -p1 -b .libica-autoconf %patch18 -p1 -b .krb5-1.3 -# Patch for libica to use /dev/urandom instead of internal pseudo random number -# generator. -%patch40 -p1 -b .urandom # Fix link line for libssl (bug #111154). %patch42 -p1 -b .krb5 @@ -410,6 +410,9 @@ %postun -p /sbin/ldconfig %changelog +* Fri Oct 21 2005 Tomas Mraz 0.9.7f-11 +- updated IBM ICA engine library and patch to latest upstream version + * Wed Oct 12 2005 Tomas Mraz 0.9.7f-10 - fix CAN-2005-2969 - remove SSL_OP_MSIE_SSLV2_RSA_PADDING which disables the countermeasure against man in the middle attack in SSLv2 Index: sources =================================================================== RCS file: /cvs/dist/rpms/openssl/devel/sources,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- sources 30 Mar 2005 09:14:37 -0000 1.12 +++ sources 21 Oct 2005 13:48:38 -0000 1.13 @@ -1,3 +1,2 @@ -c8b206aa3ff78d963f81d8ae1fa9c4f4 libica-1.3.5.tar.gz -ec395d0e264f756a5fc0a8ecdcc81d8b libica-1.3.5-3.tar.gz 1f93cf2986593d14b2a64983e4e347e3 openssl-0.9.7f-usa.tar.bz2 +a915bcff41b687cb5a4f0091374b421d libica-1.3.6-rc2.tar.bz2 --- libica-1.2-struct.patch DELETED --- --- openssl-0.9.7d-ICA_engine-jun142004.patch DELETED --- From fedora-cvs-commits at redhat.com Fri Oct 21 14:07:57 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 10:07:57 -0400 Subject: rpms/NetworkManager/FC-4 NetworkManager.spec,1.68,1.69 Message-ID: <200510211407.j9LE7vLQ014007@cvs.devel.redhat.com> Author: caillon Update of /cvs/dist/rpms/NetworkManager/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv13980 Modified Files: NetworkManager.spec Log Message: * Fri Oct 21 2005 Christopher Aillon - 0.5.1-1.FC4.2 - Include Epoch in the wireless-tools version check Index: NetworkManager.spec =================================================================== RCS file: /cvs/dist/rpms/NetworkManager/FC-4/NetworkManager.spec,v retrieving revision 1.68 retrieving revision 1.69 diff -u -r1.68 -r1.69 --- NetworkManager.spec 19 Oct 2005 20:57:41 -0000 1.68 +++ NetworkManager.spec 21 Oct 2005 14:07:53 -0000 1.69 @@ -3,11 +3,12 @@ %define hal_version 0.5.0 %define dbus_version 0.31 %define gtk2_version 2.6.0 +%define wireless_tools_version 1:28-0.pre9 Name: NetworkManager Summary: Network link manager and user applications Version: 0.5.1 -Release: 1.FC4.1 +Release: 1.FC4.2 Group: System Environment/Base License: GPL URL: http://people.redhat.com/dcbw/NetworkManager/ @@ -17,7 +18,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root PreReq: chkconfig -Requires: wireless-tools >= 28-0.pre9 +Requires: wireless-tools >= %{wireless_tools_version} Requires: dbus >= %{dbus_version} Requires: dbus-glib >= %{dbus_version} Requires: hal >= %{hal_version} @@ -28,7 +29,7 @@ BuildRequires: dbus-devel >= %{dbus_version} BuildRequires: hal-devel >= %{hal_version} -BuildRequires: wireless-tools >= 28-0.pre9 +BuildRequires: wireless-tools >= %{wireless_tools_version} BuildRequires: glib2-devel gtk2-devel BuildRequires: libglade2-devel BuildRequires: openssl-devel @@ -185,6 +186,9 @@ %changelog +* Fri Oct 21 2005 Christopher Aillon - 0.5.1-1.FC4.2 +- Include Epoch in the wireless-tools version check + * Wed Oct 19 2005 Christopher Aillon - 0.5.1-1.FC4.1 - Update to NetworkManager 0.5.1 From fedora-cvs-commits at redhat.com Fri Oct 21 14:10:09 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 10:10:09 -0400 Subject: rpms/nautilus/devel nautilus-2.12.1-format.patch, NONE, 1.1 nautilus.spec, 1.74, 1.75 Message-ID: <200510211410.j9LEA9TH014290@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/nautilus/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv14242 Modified Files: nautilus.spec Added Files: nautilus-2.12.1-format.patch Log Message: Add "Format" to the floppy context menu nautilus-2.12.1-format.patch: fm-actions.h | 1 fm-directory-view.c | 53 ++++++++++++++++++++++++++++++++++++++--- nautilus-directory-view-ui.xml | 1 3 files changed, 52 insertions(+), 3 deletions(-) --- NEW FILE nautilus-2.12.1-format.patch --- --- nautilus-2.12.1/src/file-manager/fm-actions.h.format 2005-07-01 06:22:19.000000000 -0400 +++ nautilus-2.12.1/src/file-manager/fm-actions.h 2005-10-21 09:44:06.000000000 -0400 @@ -57,6 +57,7 @@ #define FM_ACTION_MOUNT_VOLUME "Mount Volume" #define FM_ACTION_UNMOUNT_VOLUME "Unmount Volume" #define FM_ACTION_EJECT_VOLUME "Eject Volume" +#define FM_ACTION_FORMAT_VOLUME "Format Volume" #define FM_ACTION_SCRIPTS "Scripts" #define FM_ACTION_NEW_DOCUMENTS "New Documents" #define FM_ACTION_NEW_EMPTY_FILE "New Empty File" --- nautilus-2.12.1/src/file-manager/fm-directory-view.c.format 2005-09-27 04:31:43.000000000 -0400 +++ nautilus-2.12.1/src/file-manager/fm-directory-view.c 2005-10-21 09:53:53.000000000 -0400 @@ -377,6 +377,8 @@ gpointer data); static void action_unmount_volume_callback (GtkAction *action, gpointer data); +static void action_format_volume_callback (GtkAction *action, + gpointer data); /* location popup-related actions */ @@ -5796,6 +5798,31 @@ nautilus_file_list_free (selection); } +static void +action_format_volume_callback (GtkAction *action, + gpointer data) +{ + NautilusFile *file; + GList *selection, *l; + GnomeVFSDrive *drive; + FMDirectoryView *view; + + view = FM_DIRECTORY_VIEW (data); + + selection = fm_directory_view_get_selection (view); + for (l = selection; l != NULL; l = l->next) { + file = NAUTILUS_FILE (l->data); + + if (nautilus_file_has_drive (file)) { + drive = nautilus_file_get_drive (file); + if (gnome_vfs_drive_get_device_type (drive) == GNOME_VFS_DEVICE_TYPE_FLOPPY) { + g_spawn_command_line_async ("gfloppy", NULL); + } + } + } + nautilus_file_list_free (selection); +} + static void action_eject_volume_callback (GtkAction *action, gpointer data) @@ -6218,6 +6245,10 @@ N_("_Eject"), NULL, /* label, accelerator */ N_("Eject the selected volume"), /* tooltip */ G_CALLBACK (action_eject_volume_callback) }, + { "Format Volume", NULL, /* name, stock id */ + N_("_Format"), NULL, /* label, accelerator */ + N_("Format the selected volume"), /* tooltip */ + G_CALLBACK (action_format_volume_callback) }, { "OpenCloseParent", NULL, /* name, stock id */ N_("Open File and Close window"), "Down", /* label, accelerator */ NULL, /* tooltip */ @@ -6457,7 +6488,8 @@ gboolean *show_mount, gboolean *show_unmount, gboolean *show_eject, - gboolean *show_connect) + gboolean *show_connect, + gboolean *show_format) { GnomeVFSVolume *volume; GnomeVFSDrive *drive; @@ -6467,6 +6499,7 @@ *show_unmount = FALSE; *show_eject = FALSE; *show_connect = FALSE; + *show_format = FALSE; if (nautilus_file_has_volume (file)) { *show_unmount = TRUE; @@ -6481,6 +6514,10 @@ } else { *show_mount = TRUE; } + + if (gnome_vfs_drive_get_device_type (drive) == GNOME_VFS_DEVICE_TYPE_FLOPPY) { + *show_format = TRUE; + } } else if (nautilus_file_is_nautilus_link (file)) { uri = nautilus_file_get_activation_uri (file); if (uri != NULL && @@ -6507,32 +6544,38 @@ gboolean show_unmount; gboolean show_eject; gboolean show_connect; + gboolean show_format; GtkAction *action; show_mount = (selection != NULL); show_unmount = (selection != NULL); show_eject = (selection != NULL); show_connect = (selection != NULL && selection_count == 1); + show_format = (selection != NULL && selection_count == 1); for (l = selection; l != NULL && (show_mount || show_unmount - || show_eject || show_connect); + || show_eject || show_connect + || show_format); l = l->next) { gboolean show_mount_one; gboolean show_unmount_one; gboolean show_eject_one; gboolean show_connect_one; + gboolean show_format_one; file = NAUTILUS_FILE (l->data); file_should_show_foreach (file, &show_mount_one, &show_unmount_one, &show_eject_one, - &show_connect_one); + &show_connect_one, + &show_format_one); show_mount &= show_mount_one; show_unmount &= show_unmount_one; show_eject &= show_eject_one; show_connect &= show_connect_one; + show_format &= show_format_one; } /* We don't want both eject and unmount, since eject @@ -6556,6 +6599,10 @@ action = gtk_action_group_get_action (view->details->dir_action_group, FM_ACTION_EJECT_VOLUME); gtk_action_set_visible (action, show_eject); + + action = gtk_action_group_get_action (view->details->dir_action_group, + FM_ACTION_FORMAT_VOLUME); + gtk_action_set_visible (action, show_format); } static void --- nautilus-2.12.1/src/file-manager/nautilus-directory-view-ui.xml.format 2005-10-03 03:45:27.000000000 -0400 +++ nautilus-2.12.1/src/file-manager/nautilus-directory-view-ui.xml 2005-10-21 09:44:06.000000000 -0400 @@ -147,6 +147,7 @@ + Index: nautilus.spec =================================================================== RCS file: /cvs/dist/rpms/nautilus/devel/nautilus.spec,v retrieving revision 1.74 retrieving revision 1.75 diff -u -r1.74 -r1.75 --- nautilus.spec 6 Oct 2005 04:54:09 -0000 1.74 +++ nautilus.spec 21 Oct 2005 14:10:06 -0000 1.75 @@ -18,7 +18,7 @@ Name: nautilus Summary: Nautilus is a file manager for GNOME. Version: 2.12.1 -Release: 1 +Release: 2 License: GPL Group: User Interface/Desktops Source: ftp://ftp.gnome.org/pub/GNOME/sources/2.7/%{name}/%{name}-%{version}.tar.bz2 @@ -78,6 +78,8 @@ # Some changes to default config Patch1: nautilus-2.5.7-rhconfig.patch +# Upstream in 2.13 +Patch2: nautilus-2.12.1-format.patch %description Nautilus integrates access to files, applications, media, @@ -90,6 +92,7 @@ %setup -q -n %{name}-%{version} %patch1 -p1 -b .rhconfig +%patch2 -p1 -b .format %build @@ -166,6 +169,9 @@ %{_includedir}/nautilus %changelog +* Fri Oct 21 2005 Matthias Clasen 2.12.1-2 +- Add a "Format" context menu item to the floppy in "Computer" + * Thu Oct 6 2005 Matthias Clasen 2.12.1-1 - Update to 2.12.1 From fedora-cvs-commits at redhat.com Fri Oct 21 14:11:19 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 10:11:19 -0400 Subject: rpms/NetworkManager/FC-4 NetworkManager.spec,1.69,1.70 Message-ID: <200510211411.j9LEBJ97014433@cvs.devel.redhat.com> Author: caillon Update of /cvs/dist/rpms/NetworkManager/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv14415 Modified Files: NetworkManager.spec Log Message: * Fri Oct 21 2005 Christopher Aillon - 0.5.1-1.FC4.2 - Include Epoch in the bind version check Index: NetworkManager.spec =================================================================== RCS file: /cvs/dist/rpms/NetworkManager/FC-4/NetworkManager.spec,v retrieving revision 1.69 retrieving revision 1.70 diff -u -r1.69 -r1.70 --- NetworkManager.spec 21 Oct 2005 14:07:53 -0000 1.69 +++ NetworkManager.spec 21 Oct 2005 14:11:15 -0000 1.70 @@ -4,6 +4,7 @@ %define dbus_version 0.31 %define gtk2_version 2.6.0 %define wireless_tools_version 1:28-0.pre9 +%define bind_version 24:9.3.1-14 Name: NetworkManager Summary: Network link manager and user applications @@ -25,7 +26,7 @@ Requires: iproute openssl Requires: caching-nameserver Requires: dhcdbd -Requires: bind >= 9.3.1-14 +Requires: bind >= ${bind_version} BuildRequires: dbus-devel >= %{dbus_version} BuildRequires: hal-devel >= %{hal_version} @@ -187,6 +188,7 @@ %changelog * Fri Oct 21 2005 Christopher Aillon - 0.5.1-1.FC4.2 +- Include Epoch in the bind version check - Include Epoch in the wireless-tools version check * Wed Oct 19 2005 Christopher Aillon - 0.5.1-1.FC4.1 From fedora-cvs-commits at redhat.com Fri Oct 21 14:24:13 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 10:24:13 -0400 Subject: rpms/libsemanage/devel .cvsignore, 1.20, 1.21 libsemanage.spec, 1.24, 1.25 sources, 1.21, 1.22 Message-ID: <200510211424.j9LEODtS023362@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libsemanage/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv23341 Modified Files: .cvsignore libsemanage.spec sources Log Message: * Fri Oct 21 2005 Dan Walsh 1.3.30-1 - Update from NSA * Fixed policy file leaks in semanage_load_module and semanage_write_module. * Merged further database work from Ivan Gyurdiev. * Fixed bug in semanage_direct_disconnect. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/.cvsignore,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- .cvsignore 20 Oct 2005 20:34:00 -0000 1.20 +++ .cvsignore 21 Oct 2005 14:24:08 -0000 1.21 @@ -17,3 +17,4 @@ libsemanage-1.3.23.tgz libsemanage-1.3.24.tgz libsemanage-1.3.28.tgz +libsemanage-1.3.30.tgz Index: libsemanage.spec =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/libsemanage.spec,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- libsemanage.spec 20 Oct 2005 20:34:00 -0000 1.24 +++ libsemanage.spec 21 Oct 2005 14:24:08 -0000 1.25 @@ -1,7 +1,7 @@ %define libsepolver 1.9.23-1 Summary: SELinux binary policy manipulation library Name: libsemanage -Version: 1.3.28 +Version: 1.3.30 Release: 1 License: GPL Group: System Environment/Libraries @@ -66,6 +66,13 @@ %{_includedir}/semanage/*.h %changelog +* Fri Oct 21 2005 Dan Walsh 1.3.30-1 +- Update from NSA + * Fixed policy file leaks in semanage_load_module and + semanage_write_module. + * Merged further database work from Ivan Gyurdiev. + * Fixed bug in semanage_direct_disconnect. + * Thu Oct 20 2005 Dan Walsh 1.3.28-1 - Update from NSA * Merged interface renaming patch from Ivan Gyurdiev. Index: sources =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/sources,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- sources 20 Oct 2005 20:34:00 -0000 1.21 +++ sources 21 Oct 2005 14:24:09 -0000 1.22 @@ -1 +1 @@ -46d0f6bd7dd7e400bf47d66826536ac3 libsemanage-1.3.28.tgz +8461948bb16d40ed1d21257c3ebf1844 libsemanage-1.3.30.tgz From fedora-cvs-commits at redhat.com Fri Oct 21 14:26:22 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 10:26:22 -0400 Subject: rpms/openCryptoki/devel openCryptoki.spec, 1.10, 1.11 sources, 1.4, 1.5 Message-ID: <200510211426.j9LEQMb6023666@cvs.devel.redhat.com> Author: pknirsch Update of /cvs/dist/rpms/openCryptoki/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv13785 Modified Files: openCryptoki.spec sources Log Message: - Updated openCryptoki to latest version. Index: openCryptoki.spec =================================================================== RCS file: /cvs/dist/rpms/openCryptoki/devel/openCryptoki.spec,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- openCryptoki.spec 6 Sep 2005 10:42:42 -0000 1.10 +++ openCryptoki.spec 21 Oct 2005 14:26:17 -0000 1.11 @@ -1,8 +1,8 @@ -%define sub_version 6 +%define sub_version rc2 Name: openCryptoki Summary: Implementation of Cryptoki v2.11 for IBM Crypto Hardware -Version: 2.1.5 -Release: 10 +Version: 2.1.6 +Release: 1 License: Other License(s), see package Group: Productivity/Security Source: %{name}-%{version}-%{sub_version}.tar.bz2 @@ -88,7 +88,10 @@ %endif %changelog -* Tue Sep 06 2005 Phil Knirsch 2.1.5.6.10 +* Fri Oct 21 2005 Phil Knirsch 2.1.6-rc2.1 +- Update to openCryptoki-2.1.6-rc2 + +* Tue Sep 06 2005 Phil Knirsch 2.1.5-6.10 - Fixed quite a few warnings and actual errors (#143768) - Fixed the initscript for failed startups (#154495) Index: sources =================================================================== RCS file: /cvs/dist/rpms/openCryptoki/devel/sources,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- sources 9 Sep 2004 09:26:50 -0000 1.4 +++ sources 21 Oct 2005 14:26:17 -0000 1.5 @@ -1 +1,2 @@ e205cde79b56ed6507b0fa7b3cde64ca openCryptoki-2.1.5-6.tar.bz2 +ca2b255a837c028002106a5261590355 openCryptoki-2.1.6-rc2.tar.bz2 From fedora-cvs-commits at redhat.com Fri Oct 21 14:35:33 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 10:35:33 -0400 Subject: rpms/policycoreutils/devel .cvsignore, 1.74, 1.75 policycoreutils.spec, 1.159, 1.160 sources, 1.77, 1.78 Message-ID: <200510211435.j9LEZXfF024492@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/policycoreutils/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv24470 Modified Files: .cvsignore policycoreutils.spec sources Log Message: * Thu Oct 20 2005 Dan Walsh 1.27.18-1 - Update to match NSA * Cleaned up usage and error messages and releasing of memory by semodule_* utilities. * Corrected error reporting by semodule. * Updated semodule_expand for change to sepol interface. * Merged fixes for make DESTDIR= builds from Joshua Brindle. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/policycoreutils/devel/.cvsignore,v retrieving revision 1.74 retrieving revision 1.75 diff -u -r1.74 -r1.75 --- .cvsignore 18 Oct 2005 18:40:47 -0000 1.74 +++ .cvsignore 21 Oct 2005 14:35:30 -0000 1.75 @@ -58,3 +58,4 @@ policycoreutils-1.27.12.tgz policycoreutils-1.27.13.tgz policycoreutils-1.27.14.tgz +policycoreutils-1.27.18.tgz Index: policycoreutils.spec =================================================================== RCS file: /cvs/dist/rpms/policycoreutils/devel/policycoreutils.spec,v retrieving revision 1.159 retrieving revision 1.160 diff -u -r1.159 -r1.160 --- policycoreutils.spec 18 Oct 2005 18:40:47 -0000 1.159 +++ policycoreutils.spec 21 Oct 2005 14:35:30 -0000 1.160 @@ -1,9 +1,9 @@ -%define libselinuxver 1.27.12-1 -%define libsepolver 1.9.21-1 -%define libsemanagever 1.3.23-1 +%define libselinuxver 1.27.13-1 +%define libsepolver 1.9.23-1 +%define libsemanagever 1.3.28-1 Summary: SELinux policy core utilities. Name: policycoreutils -Version: 1.27.14 +Version: 1.27.18 Release: 1 License: GPL Group: System Environment/Base @@ -86,6 +86,14 @@ %config(noreplace) %{_sysconfdir}/sestatus.conf %changelog +* Thu Oct 20 2005 Dan Walsh 1.27.18-1 +- Update to match NSA + * Cleaned up usage and error messages and releasing of memory by + semodule_* utilities. + * Corrected error reporting by semodule. + * Updated semodule_expand for change to sepol interface. + * Merged fixes for make DESTDIR= builds from Joshua Brindle. + * Tue Oct 18 2005 Dan Walsh 1.27.14-1 - Update to match NSA * Updated semodule_package for sepol interface changes. Index: sources =================================================================== RCS file: /cvs/dist/rpms/policycoreutils/devel/sources,v retrieving revision 1.77 retrieving revision 1.78 diff -u -r1.77 -r1.78 --- sources 18 Oct 2005 18:40:47 -0000 1.77 +++ sources 21 Oct 2005 14:35:30 -0000 1.78 @@ -1 +1 @@ -01190ff0ca2daec9a06bfb3f775ef918 policycoreutils-1.27.14.tgz +525096aac40224a2dfa4a6d8d05dafaf policycoreutils-1.27.18.tgz From fedora-cvs-commits at redhat.com Fri Oct 21 14:37:26 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 10:37:26 -0400 Subject: rpms/gnuplot/devel gnuplot-4.0.0-x11segv.patch, NONE, 1.1 gnuplot.spec, 1.18, 1.19 Message-ID: <200510211437.j9LEbQ80024777@cvs.devel.redhat.com> Author: pknirsch Update of /cvs/dist/rpms/gnuplot/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv24750 Modified Files: gnuplot.spec Added Files: gnuplot-4.0.0-x11segv.patch Log Message: - Fixed 64bit problem with x11 display (#167508) gnuplot-4.0.0-x11segv.patch: gplt_x11.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) --- NEW FILE gnuplot-4.0.0-x11segv.patch --- diff -uNr gnuplot-4.0.0.orig/src/gplt_x11.c gnuplot-4.0.0/src/gplt_x11.c --- gnuplot-4.0.0.orig/src/gplt_x11.c 2004-04-13 19:23:53.000000000 +0200 +++ gnuplot-4.0.0/src/gplt_x11.c 2005-10-15 19:23:38.000000000 +0200 @@ -1104,7 +1104,7 @@ read_input() { static int rdbuf_size = 10 * Nbuf; - static char rdbuf[10 * Nbuf - 1]; + static char rdbuf[10 * Nbuf]; static int total_chars; static int rdbuf_offset; static int buf_offset; Index: gnuplot.spec =================================================================== RCS file: /cvs/dist/rpms/gnuplot/devel/gnuplot.spec,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- gnuplot.spec 2 Sep 2005 11:12:06 -0000 1.18 +++ gnuplot.spec 21 Oct 2005 14:37:20 -0000 1.19 @@ -1,11 +1,12 @@ Summary: A program for plotting mathematical expressions and data. Name: gnuplot Version: 4.0.0 -Release: 8 +Release: 9 License: Redistributable, with restrictions Group: Applications/Engineering Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source2: gnuplot-init.el +Patch0: gnuplot-4.0.0-x11segv.patch BuildPrereq: libpng-devel, tetex-latex, zlib-devel, xorg-x11-devel, emacs BuildRequires: texinfo, readline-devel Requires: libpng @@ -32,6 +33,7 @@ %prep %setup -q +%patch0 -p 1 -b .x11segv %build %configure --with-readline=gnu --with-png --without-linux-vga \ @@ -89,6 +91,9 @@ %changelog +* Fri Oct 21 2005 Phil Knirsch 4.0.0-9 +- Fixed 64bit problem with x11 display (#167508) + * Fri Sep 02 2005 Phil Knirsch 4.0.0-8 - Fixed missing Requires: emacs for the gnuplot-emacs package - Added a gnuplot-init.el file for startup (#151122) From fedora-cvs-commits at redhat.com Fri Oct 21 14:43:03 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 10:43:03 -0400 Subject: rpms/less/devel less-392-Foption.patch, NONE, 1.1 less.spec, 1.21, 1.22 Message-ID: <200510211443.j9LEh3wV025593@cvs.devel.redhat.com> Author: jnovy Update of /cvs/dist/rpms/less/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv25454 Modified Files: less.spec Added Files: less-392-Foption.patch Log Message: fix the -F option less-392-Foption.patch: screen.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) --- NEW FILE less-392-Foption.patch --- --- less-392/screen.c.rasold 2005-10-21 13:54:22.000000000 +0200 +++ less-392/screen.c 2005-10-21 13:57:58.000000000 +0200 @@ -1547,8 +1547,12 @@ #if !MSDOS_COMPILER if (!no_keypad) tputs(sc_e_keypad, sc_height, putchr); - if (!no_init) - tputs(sc_deinit, sc_height, putchr); + if (!no_init){ + extern int quit_if_one_screen; + if(quit_if_one_screen == FALSE){ + tputs(sc_deinit, sc_height, putchr); + } + } #else /* Restore system colors. */ SETCOLORS(sy_fg_color, sy_bg_color); Index: less.spec =================================================================== RCS file: /cvs/dist/rpms/less/devel/less.spec,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- less.spec 19 Oct 2005 10:39:46 -0000 1.21 +++ less.spec 21 Oct 2005 14:42:56 -0000 1.22 @@ -1,15 +1,15 @@ Summary: A text file browser similar to more, but better. Name: less Version: 392 -Release: 1 +Release: 2 License: GPL Group: Applications/Text Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz Source1: lesspipe.sh Source2: less.sh Source3: less.csh - Patch0: less-382-fixline.patch +Patch1: less-392-Foption.patch URL: http://www.greenwoodsoftware.com/less/ Buildroot: %{_tmppath}/%{name}-root @@ -28,6 +28,7 @@ %prep %setup -q %patch0 -p1 -b .fixline +%patch1 -p1 -b .Foption chmod -R a+w * %build @@ -53,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Oct 21 2005 Jindrich Novy 392-2 +- fix the -F option (#79650), thanks to Petr Raszyk + * Wed Oct 19 2005 Jindrich Novy 392-1 - update to less-392 - fixes #122847 and enhances UTF8 support From fedora-cvs-commits at redhat.com Fri Oct 21 14:46:32 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 10:46:32 -0400 Subject: rpms/gnuplot/devel gnuplot.spec,1.19,1.20 Message-ID: <200510211446.j9LEkWoW026668@cvs.devel.redhat.com> Author: pknirsch Update of /cvs/dist/rpms/gnuplot/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv26502 Modified Files: gnuplot.spec Log Message: - Added missing file ownage of /usr/share/gnuplot (#169333) Index: gnuplot.spec =================================================================== RCS file: /cvs/dist/rpms/gnuplot/devel/gnuplot.spec,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- gnuplot.spec 21 Oct 2005 14:37:20 -0000 1.19 +++ gnuplot.spec 21 Oct 2005 14:46:29 -0000 1.20 @@ -78,6 +78,7 @@ %{_mandir}/man1/gnuplot.1.gz %{_datadir}/gnuplot/4.0/gnuplot.gih %{_infodir}/gnuplot.info.gz +%dir %{_datadir}/gnuplot %files emacs %defattr(-,root,root) @@ -93,6 +94,7 @@ %changelog * Fri Oct 21 2005 Phil Knirsch 4.0.0-9 - Fixed 64bit problem with x11 display (#167508) +- Added missing file ownage of /usr/share/gnuplot (#169333) * Fri Sep 02 2005 Phil Knirsch 4.0.0-8 - Fixed missing Requires: emacs for the gnuplot-emacs package From fedora-cvs-commits at redhat.com Fri Oct 21 14:46:57 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 10:46:57 -0400 Subject: rpms/nautilus/devel nautilus-2.12.1-format.patch, 1.1, 1.2 nautilus.spec, 1.75, 1.76 Message-ID: <200510211446.j9LEkvKw026995@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/nautilus/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv26792 Modified Files: nautilus-2.12.1-format.patch nautilus.spec Log Message: Improve the last patch nautilus-2.12.1-format.patch: fm-actions.h | 1 fm-directory-view.c | 54 ++++++++++++++++++++++++++++++++++++++--- nautilus-directory-view-ui.xml | 1 3 files changed, 53 insertions(+), 3 deletions(-) Index: nautilus-2.12.1-format.patch =================================================================== RCS file: /cvs/dist/rpms/nautilus/devel/nautilus-2.12.1-format.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- nautilus-2.12.1-format.patch 21 Oct 2005 14:10:06 -0000 1.1 +++ nautilus-2.12.1-format.patch 21 Oct 2005 14:46:54 -0000 1.2 @@ -1,5 +1,5 @@ --- nautilus-2.12.1/src/file-manager/fm-actions.h.format 2005-07-01 06:22:19.000000000 -0400 -+++ nautilus-2.12.1/src/file-manager/fm-actions.h 2005-10-21 09:44:06.000000000 -0400 ++++ nautilus-2.12.1/src/file-manager/fm-actions.h 2005-10-21 10:35:58.000000000 -0400 @@ -57,6 +57,7 @@ #define FM_ACTION_MOUNT_VOLUME "Mount Volume" #define FM_ACTION_UNMOUNT_VOLUME "Unmount Volume" @@ -9,7 +9,7 @@ #define FM_ACTION_NEW_DOCUMENTS "New Documents" #define FM_ACTION_NEW_EMPTY_FILE "New Empty File" --- nautilus-2.12.1/src/file-manager/fm-directory-view.c.format 2005-09-27 04:31:43.000000000 -0400 -+++ nautilus-2.12.1/src/file-manager/fm-directory-view.c 2005-10-21 09:53:53.000000000 -0400 ++++ nautilus-2.12.1/src/file-manager/fm-directory-view.c 2005-10-21 10:38:28.000000000 -0400 @@ -377,6 +377,8 @@ gpointer data); static void action_unmount_volume_callback (GtkAction *action, @@ -80,18 +80,19 @@ if (nautilus_file_has_volume (file)) { *show_unmount = TRUE; -@@ -6481,6 +6514,10 @@ +@@ -6481,6 +6514,11 @@ } else { *show_mount = TRUE; } + -+ if (gnome_vfs_drive_get_device_type (drive) == GNOME_VFS_DEVICE_TYPE_FLOPPY) { ++ if (gnome_vfs_drive_get_device_type (drive) == GNOME_VFS_DEVICE_TYPE_FLOPPY && ++ g_find_program_in_path ("gfloppy")) { + *show_format = TRUE; + } } else if (nautilus_file_is_nautilus_link (file)) { uri = nautilus_file_get_activation_uri (file); if (uri != NULL && -@@ -6507,32 +6544,38 @@ +@@ -6507,32 +6545,38 @@ gboolean show_unmount; gboolean show_eject; gboolean show_connect; @@ -132,7 +133,7 @@ } /* We don't want both eject and unmount, since eject -@@ -6556,6 +6599,10 @@ +@@ -6556,6 +6600,10 @@ action = gtk_action_group_get_action (view->details->dir_action_group, FM_ACTION_EJECT_VOLUME); gtk_action_set_visible (action, show_eject); @@ -144,7 +145,7 @@ static void --- nautilus-2.12.1/src/file-manager/nautilus-directory-view-ui.xml.format 2005-10-03 03:45:27.000000000 -0400 -+++ nautilus-2.12.1/src/file-manager/nautilus-directory-view-ui.xml 2005-10-21 09:44:06.000000000 -0400 ++++ nautilus-2.12.1/src/file-manager/nautilus-directory-view-ui.xml 2005-10-21 10:35:58.000000000 -0400 @@ -147,6 +147,7 @@ Index: nautilus.spec =================================================================== RCS file: /cvs/dist/rpms/nautilus/devel/nautilus.spec,v retrieving revision 1.75 retrieving revision 1.76 diff -u -r1.75 -r1.76 --- nautilus.spec 21 Oct 2005 14:10:06 -0000 1.75 +++ nautilus.spec 21 Oct 2005 14:46:54 -0000 1.76 @@ -18,7 +18,7 @@ Name: nautilus Summary: Nautilus is a file manager for GNOME. Version: 2.12.1 -Release: 2 +Release: 3 License: GPL Group: User Interface/Desktops Source: ftp://ftp.gnome.org/pub/GNOME/sources/2.7/%{name}/%{name}-%{version}.tar.bz2 @@ -169,6 +169,9 @@ %{_includedir}/nautilus %changelog +* Fri Oct 21 2005 Matthias Clasen 2.12.1-3 +- Only show the "Format menu item if gfloppy is present + * Fri Oct 21 2005 Matthias Clasen 2.12.1-2 - Add a "Format" context menu item to the floppy in "Computer" From fedora-cvs-commits at redhat.com Fri Oct 21 14:51:39 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 10:51:39 -0400 Subject: rpms/libselinux/devel libselinux.spec,1.131,1.132 Message-ID: <200510211451.j9LEpd8i030448@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libselinux/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30348 Modified Files: libselinux.spec Log Message: * Fri Oct 21 2005 Dan Walsh 1.9.23-2 - Need to check for /sbin/telinit Index: libselinux.spec =================================================================== RCS file: /cvs/dist/rpms/libselinux/devel/libselinux.spec,v retrieving revision 1.131 retrieving revision 1.132 diff -u -r1.131 -r1.132 --- libselinux.spec 20 Oct 2005 20:34:28 -0000 1.131 +++ libselinux.spec 21 Oct 2005 14:51:35 -0000 1.132 @@ -2,14 +2,14 @@ Summary: SELinux library and simple utilities Name: libselinux Version: 1.27.13 -Release: 1 +Release: 2 License: Public domain (uncopyrighted) Group: System Environment/Libraries Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz Patch: libselinux-rhat.patch Prereq: libsetrans -Requires: libsepol >= %{libsepolver} +Requires: libsepol >= %{libsepolver} BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot @@ -31,7 +31,7 @@ %package devel Summary: Header files and libraries used to build SELinux Group: Development/Libraries -Requires: libselinux = %{version}-%{release} +Requires: libselinux = %{version}-%{release} %description devel The selinux-devel package contains the static libraries and header files @@ -72,7 +72,7 @@ %post /sbin/ldconfig -/sbin/telinit U +[ -x /sbin/telinit ] && /sbin/telinit U exit 0 %postun -p /sbin/ldconfig @@ -92,6 +92,9 @@ %{_mandir}/man8/* %changelog +* Fri Oct 21 2005 Dan Walsh 1.9.23-2 +- Need to check for /sbin/telinit + * Thu Oct 20 2005 Dan Walsh 1.27.13-1 - Update to latest from NSA * Merged fixes for make DESTDIR= builds from Joshua Brindle. From fedora-cvs-commits at redhat.com Fri Oct 21 14:51:40 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 10:51:40 -0400 Subject: rpms/libsepol/devel libsepol.spec,1.78,1.79 Message-ID: <200510211451.j9LEpefQ030425@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libsepol/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30321 Modified Files: libsepol.spec Log Message: * Fri Oct 21 2005 Dan Walsh 1.9.23-2 - Need to check for /sbin/telinit Index: libsepol.spec =================================================================== RCS file: /cvs/dist/rpms/libsepol/devel/libsepol.spec,v retrieving revision 1.78 retrieving revision 1.79 diff -u -r1.78 -r1.79 --- libsepol.spec 20 Oct 2005 20:23:56 -0000 1.78 +++ libsepol.spec 21 Oct 2005 14:51:33 -0000 1.79 @@ -1,7 +1,7 @@ Summary: SELinux binary policy manipulation library Name: libsepol Version: 1.9.23 -Release: 1 +Release: 2 License: GPL Group: System Environment/Libraries Source: http://www.nsa.gov/selinux/archives/libsepol-%{version}.tgz @@ -29,7 +29,7 @@ %package devel Summary: Header files and libraries used to build policy manipulation tools Group: Development/Libraries -Requires: libsepol = %{version} +Requires: libsepol = %{version} %description devel The sepol-devel package contains the static libraries and header files @@ -59,7 +59,7 @@ %post /sbin/ldconfig -/sbin/telinit U +[ -x /sbin/telinit ] && /sbin/telinit U exit 0 %postun -p /sbin/ldconfig @@ -79,6 +79,9 @@ %{_includedir}/sepol/policydb/*.h %changelog +* Fri Oct 21 2005 Dan Walsh 1.9.23-2 +- Need to check for /sbin/telinit + * Tue Oct 18 2005 Dan Walsh 1.9.23-1 * Added check flag to expand_module() to control assertion and hierarchy checking on expansion. From fedora-cvs-commits at redhat.com Fri Oct 21 14:55:30 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 10:55:30 -0400 Subject: rpms/eclipse/FC-4 buildDocPlugins.sh, NONE, 1.1 ecj.sh.in, NONE, 1.1 eclipse-buildDocPlugins.patch, NONE, 1.1 eclipse-e.o111299.patch, NONE, 1.1 eclipse-ecj-classpath.patch, NONE, 1.1 eclipse-gre64.conf.patch, NONE, 1.1 eclipse-libswt-mozilla.patch, 1.6, 1.7 eclipse-tomcat5-build.2.patch, 1.1, 1.2 eclipse.script, 1.14, 1.15 eclipse.spec, 1.152, 1.153 Message-ID: <200510211455.j9LEtUrp032300@cvs.devel.redhat.com> Author: overholt Update of /cvs/dist/rpms/eclipse/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv32099 Modified Files: eclipse-libswt-mozilla.patch eclipse-tomcat5-build.2.patch eclipse.script eclipse.spec Added Files: buildDocPlugins.sh ecj.sh.in eclipse-buildDocPlugins.patch eclipse-e.o111299.patch eclipse-ecj-classpath.patch eclipse-gre64.conf.patch Log Message: * Fri Oct 21 2005 Andrew Overholt 3.1.1-1jpp_1fc.FC4.1 - Back-port 3.1.1 to FC4. --- NEW FILE buildDocPlugins.sh --- #!/bin/sh pushd plugins/org.eclipse.platform.doc.isv ant -f buildDoc.xml popd pushd plugins/org.eclipse.platform.doc.isv ant -Ddestination.temp.folder=../../tmp/eclipse/plugins gather.bin.parts popd pushd plugins/org.eclipse.platform.doc.user ant -Ddestination.temp.folder=../../tmp/eclipse/plugins gather.bin.parts popd pushd plugins/org.eclipse.jdt.doc.isv ant -f buildDoc.xml popd pushd plugins/org.eclipse.jdt.doc.isv ant -Ddestination.temp.folder=../../tmp/eclipse/plugins gather.bin.parts popd pushd plugins/org.eclipse.jdt.doc.user ant -Ddestination.temp.folder=../../tmp/eclipse/plugins gather.bin.parts popd pushd plugins/org.eclipse.pde.doc.user ant -f buildDoc.xml popd pushd plugins/org.eclipse.pde.doc.user ant -Ddestination.temp.folder=../../tmp/eclipse/plugins gather.bin.parts popd --- NEW FILE ecj.sh.in --- #!/bin/sh CLASSPATH=@JAVADIR@/eclipse-ecj.jar${CLASSPATH:+:}$CLASSPATH \ java org.eclipse.jdt.internal.compiler.batch.Main "$@" eclipse-buildDocPlugins.patch: build.xml | 10 ++++++++++ 1 files changed, 10 insertions(+) --- NEW FILE eclipse-buildDocPlugins.patch --- --- build.xml.orig 2005-10-11 16:53:24.000000000 -0400 +++ build.xml 2005-10-11 16:54:08.000000000 -0400 @@ -126,10 +126,17 @@ + + + + + + + + eclipse-e.o111299.patch: JavaModelCache.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletion(-) --- NEW FILE eclipse-e.o111299.patch --- =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelCache.java,v retrieving revision 1.20.4.1 retrieving revision 1.20.4.2 diff -u -r1.20.4.1 -r1.20.4.2 --- org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelCache.java 2005/09/02 12:39:41 1.20.4.1 +++ org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelCache.java 2005/10/05 13:14:59 1.20.4.2 @@ -57,7 +57,10 @@ public JavaModelCache() { // set the size of the caches in function of the maximum amount of memory available - double ratio = Runtime.getRuntime().maxMemory() / 64000000; // 64000000 is the base memory for most JVM + long maxMemory = Runtime.getRuntime().maxMemory(); + // if max memory is infinite, set the ratio to 4d which corresponds to the 256MB that Eclipse defaults to + // (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=111299) + double ratio = maxMemory == Long.MAX_VALUE ? 4d : maxMemory / 64000000; // 64000000 is the base memory for most JVM this.projectCache = new HashMap(DEFAULT_PROJECT_SIZE); // NB: Don't use a LRUCache for projects as they are constantly reopened (e.g. during delta processing) this.rootCache = new ElementCache((int) (DEFAULT_ROOT_SIZE * ratio)); this.pkgCache = new ElementCache((int) (DEFAULT_PKG_SIZE * ratio)); eclipse-ecj-classpath.patch: Main.java | 2 ++ 1 files changed, 2 insertions(+) --- NEW FILE eclipse-ecj-classpath.patch --- --- eclipse-3.1.0_fc/plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java.orig 2005-07-28 10:15:53.000000000 +0100 +++ eclipse-3.1.0_fc/plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java 2005-07-27 17:21:16.000000000 +0100 @@ -2049,6 +2049,8 @@ token = tokenizer.nextToken(); if (token.equals(File.pathSeparator)) { switch (state) { + case start: + break; case readyToClose: case readyToCloseEndingWithRules: case readyToCloseOrOtherEntry: eclipse-gre64.conf.patch: eclipseGtk.c | 10 ++++++++++ 1 files changed, 10 insertions(+) --- NEW FILE eclipse-gre64.conf.patch --- =================================================================== RCS file: /home/eclipse/platform-launcher/library/gtk/eclipseGtk.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- platform-launcher/library/gtk/eclipseGtk.c 2005/08/16 16:19:58 1.23 +++ platform-launcher/library/gtk/eclipseGtk.c 2005/09/17 03:35:52 1.24 @@ -375,6 +375,16 @@ { struct stat buf; FILE *file = NULL; +#if defined(__amd64__) || defined(__x86_64__) + if (stat("/etc/gre64.conf", &buf) == 0) + { + file = fopen("/etc/gre64.conf", "r"); + } + else if (stat("/etc/gre.d/gre64.conf", &buf) == 0) + { + file = fopen("/etc/gre.d/gre64.conf", "r"); + } else +#endif if (stat("/etc/gre.conf", &buf) == 0) { file = fopen("/etc/gre.conf", "r"); eclipse-libswt-mozilla.patch: build.sh | 14 ++++++++++++++ 1 files changed, 14 insertions(+) Index: eclipse-libswt-mozilla.patch =================================================================== RCS file: /cvs/dist/rpms/eclipse/FC-4/eclipse-libswt-mozilla.patch,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- eclipse-libswt-mozilla.patch 27 Jul 2005 20:39:26 -0000 1.6 +++ eclipse-libswt-mozilla.patch 21 Oct 2005 14:55:24 -0000 1.7 @@ -1,20 +1,20 @@ ---- build.sh.orig 2005-03-03 10:02:42.072310342 -0500 -+++ build.sh 2005-03-03 10:14:53.994542649 -0500 -@@ -24,6 +24,20 @@ +--- build.sh.orig 2005-07-14 11:16:27.000000000 -0400 ++++ build.sh 2005-07-14 11:18:08.000000000 -0400 +@@ -23,6 +23,20 @@ case $OS in "Linux") + GECKO_INCLUDES="\ + -include mozilla-config.h \ -+ -I/usr/include/mozilla-1.7.10 \ -+ -I/usr/include/mozilla-1.7.10/xpcom \ -+ -I/usr/include/mozilla-1.7.10/string \ -+ -I/usr/include/mozilla-1.7.10/nspr \ -+ -I/usr/include/mozilla-1.7.10/embed_base \ -+ -I/usr/include/mozilla-1.7.10/gfx" ++ -I/usr/include/mozilla-1.7.11 \ ++ -I/usr/include/mozilla-1.7.11/xpcom \ ++ -I/usr/include/mozilla-1.7.11/string \ ++ -I/usr/include/nspr4 \ ++ -I/usr/include/mozilla-1.7.11/embed_base \ ++ -I/usr/include/mozilla-1.7.11/gfx" + GECKO_LIBS="\ -+ -L/usr/lib/mozilla-1.7.10 \ -+ -L/usr/lib/mozilla-1.7.10/components \ ++ -L/usr/lib/mozilla-1.7.11 \ ++ -L/usr/lib/mozilla-1.7.11/components \ + -lgtkembedmoz -lxpcom" + # Set this to something to override the presets + GECKO_SDK="_" eclipse-tomcat5-build.2.patch: assemble.org.eclipse.sdk.aix.motif.ppc.xml | 2 +- assemble.org.eclipse.sdk.hpux.motif.PA_RISC.xml | 2 +- assemble.org.eclipse.sdk.hpux.motif.ia64.xml | 2 +- assemble.org.eclipse.sdk.solaris.gtk.sparc.xml | 2 +- assemble.org.eclipse.sdk.solaris.motif.sparc.xml | 2 +- assemble.org.eclipse.sdk.win32.win32.x86.xml | 2 +- features/org.eclipse.platform/build.xml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) Index: eclipse-tomcat5-build.2.patch =================================================================== RCS file: /cvs/dist/rpms/eclipse/FC-4/eclipse-tomcat5-build.2.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- eclipse-tomcat5-build.2.patch 5 Jul 2005 15:33:20 -0000 1.1 +++ eclipse-tomcat5-build.2.patch 21 Oct 2005 14:55:24 -0000 1.2 @@ -1,84 +1,84 @@ diff -uNr assemble.org.eclipse.sdk.aix.motif.ppc.xml assemble.org.eclipse.sdk.aix.motif.ppc.xml ---- assemble.org.eclipse.sdk.aix.motif.ppc.xml 2005-06-27 16:12:54.000000000 -0400 -+++ assemble.org.eclipse.sdk.aix.motif.ppc.xml 2005-06-27 16:13:47.000000000 -0400 -@@ -610,7 +610,7 @@ - - - +--- assemble.org.eclipse.sdk.aix.motif.ppc.xml 2005-10-11 10:56:12.000000000 -0400 ++++ assemble.org.eclipse.sdk.aix.motif.ppc.xml 2005-10-11 10:57:32.000000000 -0400 +@@ -584,7 +584,7 @@ + + + - + - - - + + + diff -uNr assemble.org.eclipse.sdk.hpux.motif.ia64.xml assemble.org.eclipse.sdk.hpux.motif.ia64.xml ---- assemble.org.eclipse.sdk.hpux.motif.ia64.xml 2005-06-27 16:12:54.000000000 -0400 -+++ assemble.org.eclipse.sdk.hpux.motif.ia64.xml 2005-06-27 16:14:06.000000000 -0400 -@@ -601,7 +601,7 @@ - - - +--- assemble.org.eclipse.sdk.hpux.motif.ia64.xml 2005-10-11 10:56:12.000000000 -0400 ++++ assemble.org.eclipse.sdk.hpux.motif.ia64.xml 2005-10-11 10:57:32.000000000 -0400 +@@ -580,7 +580,7 @@ + + + - + - - + + diff -uNr assemble.org.eclipse.sdk.hpux.motif.PA_RISC.xml assemble.org.eclipse.sdk.hpux.motif.PA_RISC.xml ---- assemble.org.eclipse.sdk.hpux.motif.PA_RISC.xml 2005-06-27 16:12:54.000000000 -0400 -+++ assemble.org.eclipse.sdk.hpux.motif.PA_RISC.xml 2005-06-27 16:14:11.000000000 -0400 -@@ -620,7 +620,7 @@ - - - +--- assemble.org.eclipse.sdk.hpux.motif.PA_RISC.xml 2005-10-11 10:56:12.000000000 -0400 ++++ assemble.org.eclipse.sdk.hpux.motif.PA_RISC.xml 2005-10-11 10:57:32.000000000 -0400 +@@ -594,7 +594,7 @@ + + + - + - - - + + + diff -uNr assemble.org.eclipse.sdk.solaris.gtk.sparc.xml assemble.org.eclipse.sdk.solaris.gtk.sparc.xml ---- assemble.org.eclipse.sdk.solaris.gtk.sparc.xml 2005-06-27 16:12:54.000000000 -0400 -+++ assemble.org.eclipse.sdk.solaris.gtk.sparc.xml 2005-06-27 16:14:15.000000000 -0400 -@@ -610,7 +610,7 @@ - - - +--- assemble.org.eclipse.sdk.solaris.gtk.sparc.xml 2005-10-11 10:56:12.000000000 -0400 ++++ assemble.org.eclipse.sdk.solaris.gtk.sparc.xml 2005-10-11 10:57:32.000000000 -0400 +@@ -584,7 +584,7 @@ + + + - + - - - + + + diff -uNr assemble.org.eclipse.sdk.solaris.motif.sparc.xml assemble.org.eclipse.sdk.solaris.motif.sparc.xml ---- assemble.org.eclipse.sdk.solaris.motif.sparc.xml 2005-06-27 16:12:54.000000000 -0400 -+++ assemble.org.eclipse.sdk.solaris.motif.sparc.xml 2005-06-27 16:14:19.000000000 -0400 -@@ -610,7 +610,7 @@ - - - +--- assemble.org.eclipse.sdk.solaris.motif.sparc.xml 2005-10-11 10:56:12.000000000 -0400 ++++ assemble.org.eclipse.sdk.solaris.motif.sparc.xml 2005-10-11 10:57:32.000000000 -0400 +@@ -584,7 +584,7 @@ + + + - + - - - + + + diff -uNr assemble.org.eclipse.sdk.win32.win32.x86.xml assemble.org.eclipse.sdk.win32.win32.x86.xml ---- assemble.org.eclipse.sdk.win32.win32.x86.xml 2005-06-27 16:12:54.000000000 -0400 -+++ assemble.org.eclipse.sdk.win32.win32.x86.xml 2005-06-27 16:14:23.000000000 -0400 -@@ -637,7 +637,7 @@ - - - +--- assemble.org.eclipse.sdk.win32.win32.x86.xml 2005-10-11 10:56:12.000000000 -0400 ++++ assemble.org.eclipse.sdk.win32.win32.x86.xml 2005-10-11 10:57:32.000000000 -0400 +@@ -608,7 +608,7 @@ + + + - + - - - + + + diff -uNr features/org.eclipse.platform/build.xml features/org.eclipse.platform/build.xml ---- features/org.eclipse.platform/build.xml 2005-06-27 16:24:04.000000000 -0400 -+++ features/org.eclipse.platform/build.xml 2005-06-27 16:24:19.000000000 -0400 +--- features/org.eclipse.platform/build.xml 2005-10-11 10:56:12.000000000 -0400 ++++ features/org.eclipse.platform/build.xml 2005-10-11 10:57:32.000000000 -0400 @@ -346,7 +346,7 @@ - + -- -+ +- ++ Index: eclipse.script =================================================================== RCS file: /cvs/dist/rpms/eclipse/FC-4/eclipse.script,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- eclipse.script 5 Jul 2005 15:53:35 -0000 1.14 +++ eclipse.script 21 Oct 2005 14:55:24 -0000 1.15 @@ -35,11 +35,4 @@ perl -p -i.bak -e 's|^site\.[0-9]*\.list\.[0-9]*=.*\n||g;' $USER_DIR/.metadata/.config/platform.cfg fi -# This makes the embedded browser work. -if [ -z "$MOZILLA_FIVE_HOME" ]; then - XPCOM=$(ls -t /usr/lib/mozilla-*/libxpcom.so|head -n1) - export MOZILLA_FIVE_HOME=$(dirname $XPCOM) -fi -export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MOZILLA_FIVE_HOME - exec /usr/share/eclipse/eclipse $ECLIPSE_OPTS $@ $VM_OPTS Index: eclipse.spec =================================================================== RCS file: /cvs/dist/rpms/eclipse/FC-4/eclipse.spec,v retrieving revision 1.152 retrieving revision 1.153 diff -u -r1.152 -r1.153 --- eclipse.spec 28 Jul 2005 18:20:55 -0000 1.152 +++ eclipse.spec 21 Oct 2005 14:55:24 -0000 1.153 @@ -5,14 +5,13 @@ %define tomcatlibdir %{_var}/lib/tomcat5 %define pkg_summary An open, extensible IDE %define section free -%define swt_version 3138 +%define swt_version 3139 %define eclipse_major 3 %define eclipse_minor 1 %define eclipse_majmin %{eclipse_major}.%{eclipse_minor} -%define eclipse_micro 0 -%define eclipse_oldmajminmic 3.0.0 +%define eclipse_micro 1 %define libname libswt3 -%define build_id I20050627-1435 +%define build_id M20050929-0840 # All arches line up except i386 -> x86 %ifarch %{ix86} @@ -23,12 +22,12 @@ Summary: %{pkg_summary} Name: eclipse -Version: %{eclipse_majmin}.%{eclipse_micro}_fc -Release: 11 +Version: %{eclipse_majmin}.%{eclipse_micro} +Release: 1jpp_1fc.FC4.1 License: EPL Group: Text Editors/Integrated Development Environments (IDE) URL: http://www.eclipse.org/ -Source0: http://download.eclipse.org/eclipse/downloads/drops/I20050627-1435/eclipse-sourceBuild-srcIncluded-I20050627-1435.zip +Source0: http://download.eclipse.org/eclipse/downloads/drops/R-3.1.1-200509290840/eclipse-sourceBuild-srcIncluded-3.1.1.zip Source1: %{name}.script Source2: %{name}.desktop Source5: %{name}-48.png @@ -43,6 +42,8 @@ # this zip was taken from the M6 source drop Source18: ecj-M5.zip Source19: %{name}-filenamepatterns.txt +Source20: ecj.sh.in +Source21: buildDocPlugins.sh # Build libswt-mozilla # https://bugs.eclipse.org/bugs/show_bug.cgi?id=71637 @@ -96,6 +97,16 @@ # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=162177 Patch34: %{name}-bz162177.patch Patch35: %{name}-javadoc.patch +# https://bugs.eclipse.org/bugs/show_bug.cgi?id=105430 +Patch36: %{name}-ecj-classpath.patch +# https://bugs.eclipse.org/bugs/show_bug.cgi?id=109253 +# http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=168040 +Patch37: %{name}-gre64.conf.patch +# gij fails with the antRunner tasks for building the doc plugins +# so we use a shell script to call ant directly for each doc plug-in +Patch38: %{name}-buildDocPlugins.patch +# https://bugs.eclipse.org/bugs/show_bug.cgi?id=111299 +Patch39: %{name}-e.o111299.patch %if %{gcj_support} ExclusiveArch: %{ix86} x86_64 ppc @@ -111,9 +122,9 @@ BuildRequires: glib2-devel BuildRequires: gcc-c++ %ifnarch ppc64 -BuildRequires: mozilla = 37:1.7.10 -BuildRequires: mozilla-devel = 37:1.7.10 -BuildRequires: mozilla-nspr-devel = 37:1.7.10 +BuildRequires: mozilla = 37:1.7.12 +BuildRequires: mozilla-devel = 37:1.7.12 +BuildRequires: mozilla-nspr-devel = 37:1.7.12 BuildRequires: xorg-x11-devel %endif %if %{gcj_support} @@ -351,6 +362,15 @@ popd %patch34 -p1 %patch35 -p0 +%patch36 -p1 +pushd features/org.eclipse.platform.launchers +%patch37 -p1 +popd +%patch38 -p0 +pushd plugins +%patch39 -p0 +popd +cp %{SOURCE21} . %if %{gcj_support} # Fedora splash screen. @@ -417,6 +437,9 @@ # BEGIN LUCENE ## ln -sf %{_javadir}/lucene.jar plugins/org.apache.lucene/lucene-1.4.3.jar ln -sf %{_datadir}/lucene/lucene-demos-1.4.3.jar plugins/org.apache.lucene/parser.jar +# FIXME: Remove this zip until we have a lucene-devel package containing it. +# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=170343 +rm -f plugins/org.apache.lucene/lucene-1.4.3-src.zip # END LUCENE ## ln -sf %{_javadir}/jsch.jar plugins/org.eclipse.team.cvs.ssh2/jsch-0.1.18.jar ## BEGIN TOMCAT ## @@ -681,6 +704,7 @@ 's|/usr/lib/eclipse/|%{_libdir}/%{name}/|g ; s|/etc/|%{_sysconfdir}/|g ; s|/usr/bin/|%{_bindir}/|g' \ + s|/usr/lib/|%{_libdir}/|g' \ %{SOURCE1} > $RPM_BUILD_ROOT%{_bindir}/eclipse chmod a+x $RPM_BUILD_ROOT%{_bindir}/eclipse @@ -769,6 +793,7 @@ # we can build them using free stuff, we will. -- overholt, 2005-07-04 rm -f plugins/org.apache.ant_*/lib/ant-icontract.jar rm -f plugins/org.apache.ant_*/lib/ant-jai.jar +rm -f plugins/org.apache.ant_*/lib/ant-jmf.jar rm -f plugins/org.apache.ant_*/lib/ant-netrexx.jar rm -f plugins/org.apache.ant_*/lib/ant-starteam.jar rm -f plugins/org.apache.ant_*/lib/ant-stylebook.jar @@ -780,6 +805,9 @@ # BEGIN LUCENE ## ln -sf %{_javadir}/lucene.jar plugins/org.apache.lucene_*/lucene-1.4.3.jar ln -sf %{_datadir}/lucene/lucene-demos-1.4.3.jar plugins/org.apache.lucene_*/parser.jar +# FIXME: Remove this zip until we have a lucene-devel package containing it. +# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=170343 +rm -f plugins/org.apache.lucene_*/lucene-1.4.3-src.zip # END LUCENE ## ln -sf %{_javadir}/jsch.jar plugins/org.eclipse.team.cvs.ssh2_*/jsch-0.1.18.jar ## BEGIN TOMCAT ## @@ -831,6 +859,11 @@ ln -s %{_datadir}/%{name}/plugins/org.eclipse.jdt.core_%{eclipse_majmin}.%{eclipse_micro}.jar \ $RPM_BUILD_ROOT%{_datadir}/java/eclipse-ecj.jar +# Install /usr/bin/ecj script +sed 's:@JAVADIR@:%{_javadir}:g' < %{SOURCE20} > ecj +install -m755 ecj $RPM_BUILD_ROOT%{_bindir} +rm ecj + %if %{gcj_support} # FIXME: temporarily disable org.eclipse.ui.forms_3.1.0.jar.so # see: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=146463 @@ -843,14 +876,6 @@ --exclude %{_datadir}/%{name}/plugins/org.eclipse.ui.forms_%{eclipse_majmin}.%{eclipse_micro}.jar \ --exclude %{_datadir}/%{name}/plugins/org.eclipse.osgi_%{eclipse_majmin}.%{eclipse_micro}.jar -# Build and install ecj binary -pushd $RPM_BUILD_ROOT%{_libdir}/gcj/%{name} - gcj -g -O2 --main=org.eclipse.jdt.internal.compiler.batch.Main \ - -Wl,-R,%{_libdir}/gcj/%{name} \ - org.eclipse.jdt.core_3.1.0.jar.so jdtCompilerAdapter.jar.so -o \ - $RPM_BUILD_ROOT%{_bindir}/ecj -popd -chmod a+x $RPM_BUILD_ROOT%{_bindir}/ecj %endif %clean @@ -1163,6 +1188,37 @@ %{_datadir}/%{name}/plugins/org.eclipse.platform.source.linux.gtk.*_3.1.0 %changelog +* Fri Oct 21 2005 Andrew Overholt 3.1.1-1jpp_1fc.FC4.1 +- Back-port 3.1.1 to FC4. + +* Wed Oct 12 2005 Andrew Overholt 3.1.1-1jpp_2fc +- Add JavaModelCache overflow patch (e.o#111299). + +* Tue Oct 11 2005 Andrew Overholt 3.1.1-1jpp_1fc +- 3.1.1. +- Patch around gij failing for the doc plug-in generation. +- Make /usr/bin/ecj a script (allows all jvms to call it). + +* Sat Oct 08 2005 Andrew Overholt 3.1.0_fc-15 +- Bump mozilla requirement. +- Re-enable org.eclipse.ui.forms_3.1.0.jar.so, org.eclipse.osgi_3.1.0.jar.so, + and org.eclipse.ui.workbench_3.1.0.jar.so (rh#146463, rh#158137, rh#151919) +- Add patch for /etc/gre64.conf (for 64-bit systems, rh#168040, e.o#109253). +- Remove MOZILLA_FIVE_HOME magic from eclipse.script. +- Remove jdtCompilerAdapter.jar due to aot-compile-rpm smarts. +- Bump gcc and java-gcj-compat requirements. +- Remove lucene-1.4.3-src.zip (rh#170343). + +* Wed Aug 24 2005 Andrew Overholt 3.1.0_fc-14 +- /usr/lib -> %{_libdir} in eclipse.script (rh#159031). + +* Tue Aug 23 2005 Andrew Overholt 3.1.0_fc-13 +- Bump mozilla requirement. + +* Thu Jul 28 2005 Gary Benson 3.1.0_fc-12 +- Allow leading separators in classpaths (e.o#105430). +- Clear away ant-jmf entirely. + * Wed Jul 27 2005 Andrew Overholt 3.1.0_fc-11 - Bump release for FC4 update. - Remove ant-jmf from exclude list. From fedora-cvs-commits at redhat.com Fri Oct 21 14:57:07 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 10:57:07 -0400 Subject: rpms/eclipse/FC-4 .cvsignore,1.14,1.15 sources,1.24,1.25 Message-ID: <200510211457.j9LEv77C000667@cvs.devel.redhat.com> Author: overholt Update of /cvs/dist/rpms/eclipse/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv617 Modified Files: .cvsignore sources Log Message: 3.1.1 sources Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/eclipse/FC-4/.cvsignore,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- .cvsignore 5 Jul 2005 15:53:35 -0000 1.14 +++ .cvsignore 21 Oct 2005 14:57:02 -0000 1.15 @@ -1,3 +1,3 @@ -eclipse-sourceBuild-srcIncluded-I20050627-1435.zip +eclipse-sourceBuild-srcIncluded-3.1.1.zip eclipse-native-splash-3.1.png ecj-M5.zip Index: sources =================================================================== RCS file: /cvs/dist/rpms/eclipse/FC-4/sources,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- sources 5 Jul 2005 15:33:20 -0000 1.24 +++ sources 21 Oct 2005 14:57:02 -0000 1.25 @@ -1,3 +1,3 @@ -19ad65d52005da5eaa1d3687b3a50de2 eclipse-sourceBuild-srcIncluded-I20050627-1435.zip +0d78d5f8afe767014a1cc69ee8c20869 eclipse-sourceBuild-srcIncluded-3.1.1.zip e938246ecd12c7c139fec749b8615425 eclipse-native-splash-3.1.png 60f8146948470d0ef7c275f26b874a31 ecj-M5.zip From fedora-cvs-commits at redhat.com Fri Oct 21 14:58:05 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 10:58:05 -0400 Subject: rpms/java-1.4.2-gcj-compat/FC-4 java-gcj-compat-fjni.patch, NONE, 1.1 java-1.4.2-gcj-compat.spec, 1.70, 1.71 Message-ID: <200510211458.j9LEw51C001189@cvs.devel.redhat.com> Author: overholt Update of /cvs/dist/rpms/java-1.4.2-gcj-compat/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv1077 Modified Files: java-1.4.2-gcj-compat.spec Added Files: java-gcj-compat-fjni.patch Log Message: * Tue Oct 11 2005 Andrew Overholt 1.4.2.0-40jpp_31rh.FC4.2 - Add -fjni to gcc arg list. java-gcj-compat-fjni.patch: aot-compile-rpm.in | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) --- NEW FILE java-gcj-compat-fjni.patch --- --- aot-compile-rpm.in.orig 2005-10-11 14:59:04.000000000 -0400 +++ aot-compile-rpm.in 2005-10-11 14:59:12.000000000 -0400 @@ -10,7 +10,7 @@ "dbtool": "@GCJ_BIN_DIR@/gcj-dbtool at gcc_suffix@"} GCJFLAGS = os.environ.get("RPM_OPT_FLAGS", "").split() + [ - "-fPIC", "-findirect-dispatch"] + "-fjni", "-fPIC", "-findirect-dispatch"] LDFLAGS = ["-Wl,-Bsymbolic"] class Error(Exception): Index: java-1.4.2-gcj-compat.spec =================================================================== RCS file: /cvs/dist/rpms/java-1.4.2-gcj-compat/FC-4/java-1.4.2-gcj-compat.spec,v retrieving revision 1.70 retrieving revision 1.71 diff -u -r1.70 -r1.71 --- java-1.4.2-gcj-compat.spec 15 Jul 2005 15:15:29 -0000 1.70 +++ java-1.4.2-gcj-compat.spec 21 Oct 2005 14:58:01 -0000 1.71 @@ -14,7 +14,7 @@ %define name java-%{javaver}-%{origin}-compat %define version %{javaver}.%{buildver} -%define release 40jpp_31rh.FC4.1 +%define release 40jpp_31rh.FC4.2 %define cname java-%{javaver}-%{origin} #%define bcarchivever 127 @@ -38,6 +38,7 @@ Source0: java-gcj-compat-%{jgcver}.tar.gz #Source1: bcprov-jdk14-%{bcarchivever}.tar.gz Patch1: java-gcj-compat-FC4.patch +Patch2: java-gcj-compat-fjni.patch BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: jpackage-utils >= 0:1.5, sed BuildRequires: gcc%{gccsuffix}-java >= %{gccver} @@ -103,6 +104,7 @@ %prep %setup -q -n java-gcj-compat-%{jgcver} %patch1 -p0 -b .orig +%patch2 -p0 -b .orig %build %if %{custom} @@ -411,6 +413,9 @@ %defattr(-,root,root) %changelog +* Tue Oct 11 2005 Andrew Overholt 1.4.2.0-40jpp_31rh.FC4.2 +- Add -fjni to gcc arg list. + * Fri Jul 15 2005 Gary Benson 0:1.4.2.0-40jpp_31rh.FC4.1 - Import java-gcj-compat 1.0.33. - Add virtual dependencies to indicate our upstream version. From fedora-cvs-commits at redhat.com Fri Oct 21 15:05:51 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 11:05:51 -0400 Subject: rpms/mtr/devel mtr.spec,1.27,1.28 xmtr.consolehelper,1.1,1.2 Message-ID: <200510211505.j9LF5prf002639@cvs.devel.redhat.com> Author: pknirsch Update of /cvs/dist/rpms/mtr/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv2576 Modified Files: mtr.spec xmtr.consolehelper Log Message: - Fixed xmtr to be installed in /usr/bin instead of /usr/X11R6/bin (#170945) Index: mtr.spec =================================================================== RCS file: /cvs/dist/rpms/mtr/devel/mtr.spec,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- mtr.spec 10 Oct 2005 14:20:17 -0000 1.27 +++ mtr.spec 21 Oct 2005 15:05:05 -0000 1.28 @@ -1,7 +1,7 @@ Summary: A network diagnostic tool. Name: mtr Version: 0.69 -Release: 6 +Release: 7 Epoch: 2 Group: Applications/Internet License: GPL @@ -51,12 +51,12 @@ %install rm -rf $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT/usr/{X11R6/bin,bin,sbin,share/pixmaps} +mkdir -p $RPM_BUILD_ROOT/usr/{bin,sbin,share/pixmaps} mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8 install -m 0755 mtr $RPM_BUILD_ROOT%{_sbindir}/mtr make DESTDIR=$RPM_BUILD_ROOT install -install -m 0755 xmtr $RPM_BUILD_ROOT/usr/X11R6/bin +install -m 0755 xmtr $RPM_BUILD_ROOT/%{_bindir}/xmtr.bin install -m 644 img/mtr_icon.xpm $RPM_BUILD_ROOT/usr/share/pixmaps mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/security/console.apps install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/security/console.apps/xmtr @@ -91,13 +91,16 @@ %files gtk %defattr(-,root,root) %config(missingok) %{_datadir}/applications/net-xmtr.desktop -%attr(0755,root,root) /usr/X11R6/bin/xmtr +%attr(0755,root,root) %{_bindir}/xmtr %{_bindir}/xmtr %{_sysconfdir}/pam.d/* %{_sysconfdir}/security/console.apps/* %{_datadir}/pixmaps/mtr_icon.xpm %changelog +* Fri Oct 21 2005 Phil Knirsch 2:0.69-7 +- Fixed xmtr to be installed in /usr/bin instead of /usr/X11R6/bin (#170945) + * Mon Oct 10 2005 Phil Knirsch 2:0.69-6 - Added missing gtk+-devel BuildPreReq (#168215) Index: xmtr.consolehelper =================================================================== RCS file: /cvs/dist/rpms/mtr/devel/xmtr.consolehelper,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- xmtr.consolehelper 9 Sep 2004 08:51:18 -0000 1.1 +++ xmtr.consolehelper 21 Oct 2005 15:05:05 -0000 1.2 @@ -1,3 +1,3 @@ USER=root -PROGRAM=/usr/X11R6/bin/xmtr +PROGRAM=/usr/bin/xmtr.bin SESSION=true From fedora-cvs-commits at redhat.com Fri Oct 21 15:10:56 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 11:10:56 -0400 Subject: rpms/java-1.4.2-gcj-compat/FC-4 java-1.4.2-gcj-compat.spec, 1.71, 1.72 Message-ID: <200510211510.j9LFAuNP003210@cvs.devel.redhat.com> Author: overholt Update of /cvs/dist/rpms/java-1.4.2-gcj-compat/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv3190 Modified Files: java-1.4.2-gcj-compat.spec Log Message: bump jgcver Index: java-1.4.2-gcj-compat.spec =================================================================== RCS file: /cvs/dist/rpms/java-1.4.2-gcj-compat/FC-4/java-1.4.2-gcj-compat.spec,v retrieving revision 1.71 retrieving revision 1.72 diff -u -r1.71 -r1.72 --- java-1.4.2-gcj-compat.spec 21 Oct 2005 14:58:01 -0000 1.71 +++ java-1.4.2-gcj-compat.spec 21 Oct 2005 15:10:50 -0000 1.72 @@ -10,7 +10,7 @@ %define buildver 0 # the version-release string for the gcj rpms we require %define gccver 4.0.0-0.42 -%define jgcver 1.0.33 +%define jgcver 1.0.34 %define name java-%{javaver}-%{origin}-compat %define version %{javaver}.%{buildver} From fedora-cvs-commits at redhat.com Fri Oct 21 15:13:19 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 11:13:19 -0400 Subject: rpms/mtr/devel mtr.spec,1.28,1.29 Message-ID: <200510211513.j9LFDJqm003645@cvs.devel.redhat.com> Author: pknirsch Update of /cvs/dist/rpms/mtr/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv3594 Modified Files: mtr.spec Log Message: - Doh.... Pack the correct files dude. :) Index: mtr.spec =================================================================== RCS file: /cvs/dist/rpms/mtr/devel/mtr.spec,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- mtr.spec 21 Oct 2005 15:05:05 -0000 1.28 +++ mtr.spec 21 Oct 2005 15:13:13 -0000 1.29 @@ -91,7 +91,7 @@ %files gtk %defattr(-,root,root) %config(missingok) %{_datadir}/applications/net-xmtr.desktop -%attr(0755,root,root) %{_bindir}/xmtr +%attr(0755,root,root) %{_bindir}/xmtr.bin %{_bindir}/xmtr %{_sysconfdir}/pam.d/* %{_sysconfdir}/security/console.apps/* From fedora-cvs-commits at redhat.com Fri Oct 21 15:15:31 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 11:15:31 -0400 Subject: rpms/java-1.4.2-gcj-compat/FC-4 java-1.4.2-gcj-compat.spec, 1.72, 1.73 Message-ID: <200510211515.j9LFFVdY003966@cvs.devel.redhat.com> Author: overholt Update of /cvs/dist/rpms/java-1.4.2-gcj-compat/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv3947 Modified Files: java-1.4.2-gcj-compat.spec Log Message: foo Index: java-1.4.2-gcj-compat.spec =================================================================== RCS file: /cvs/dist/rpms/java-1.4.2-gcj-compat/FC-4/java-1.4.2-gcj-compat.spec,v retrieving revision 1.72 retrieving revision 1.73 diff -u -r1.72 -r1.73 --- java-1.4.2-gcj-compat.spec 21 Oct 2005 15:10:50 -0000 1.72 +++ java-1.4.2-gcj-compat.spec 21 Oct 2005 15:15:25 -0000 1.73 @@ -10,7 +10,7 @@ %define buildver 0 # the version-release string for the gcj rpms we require %define gccver 4.0.0-0.42 -%define jgcver 1.0.34 +%define jgcver 1.0.33 %define name java-%{javaver}-%{origin}-compat %define version %{javaver}.%{buildver} From fedora-cvs-commits at redhat.com Fri Oct 21 15:46:17 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 11:46:17 -0400 Subject: rpms/docbook-dtds/devel docbook-dtds.spec,1.11,1.12 Message-ID: <200510211546.j9LFkHwV014653@cvs.devel.redhat.com> Author: twaugh Update of /cvs/dist/rpms/docbook-dtds/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv14596 Modified Files: docbook-dtds.spec Log Message: * Fri Oct 21 2005 Tim Waugh 1.0-29 - Scriptlet fix (bug #171229). Index: docbook-dtds.spec =================================================================== RCS file: /cvs/dist/rpms/docbook-dtds/devel/docbook-dtds.spec,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- docbook-dtds.spec 13 Oct 2005 08:34:18 -0000 1.11 +++ docbook-dtds.spec 21 Oct 2005 15:46:13 -0000 1.12 @@ -1,6 +1,6 @@ Name: docbook-dtds Version: 1.0 -Release: 28 +Release: 29 Group: Applications/Text Summary: SGML and XML document type definitions for DocBook. @@ -504,7 +504,7 @@ SGML=$(cat -n ${CATALOG} | grep sgml-docbook | head -1 | (read n line;echo $n)) XML=$(cat -n ${CATALOG} | grep xml-docbook | head -1 | (read n line; echo $n)) # Do they need switching around? -if [ "${XML}" -lt "${SGML}" ] +if [ -n "${XML}" ] && [ -n "${SGML}" ] && [ "${XML}" -lt "${SGML}" ] then # Switch those two lines around. XML=$((XML - 1)) @@ -951,7 +951,7 @@ SGML=$(cat -n ${CATALOG} | grep sgml-docbook | head -1 | (read n line;echo $n)) XML=$(cat -n ${CATALOG} | grep xml-docbook | head -1 | (read n line; echo $n)) # Do they need switching around? -if [ "${XML}" -lt "${SGML}" ] +if [ -n "${XML}" ] && [ -n "${SGML}" ] && [ "${XML}" -lt "${SGML}" ] then # Switch those two lines around. XML=$((XML - 1)) @@ -1203,6 +1203,9 @@ fi %changelog +* Fri Oct 21 2005 Tim Waugh 1.0-29 +- Scriptlet fix (bug #171229). + * Thu Oct 13 2005 Tim Waugh 1.0-28 - Fixed last fix (bug #159382). From fedora-cvs-commits at redhat.com Fri Oct 21 15:52:48 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 11:52:48 -0400 Subject: rpms/system-config-keyboard/devel .cvsignore, 1.7, 1.8 sources, 1.8, 1.9 system-config-keyboard.spec, 1.12, 1.13 Message-ID: <200510211552.j9LFqmYo018339@cvs.devel.redhat.com> Author: pnasrat Update of /cvs/dist/rpms/system-config-keyboard/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv18301 Modified Files: .cvsignore sources system-config-keyboard.spec Log Message: New version Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/system-config-keyboard/devel/.cvsignore,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- .cvsignore 4 Apr 2005 08:44:42 -0000 1.7 +++ .cvsignore 21 Oct 2005 15:52:44 -0000 1.8 @@ -2,3 +2,4 @@ system-config-keyboard-1.2.4.tar.bz2 system-config-keyboard-1.2.5.tar.bz2 system-config-keyboard-1.2.6.tar.bz2 +system-config-keyboard-1.2.7.tar.bz2 Index: sources =================================================================== RCS file: /cvs/dist/rpms/system-config-keyboard/devel/sources,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- sources 4 Apr 2005 08:44:42 -0000 1.8 +++ sources 21 Oct 2005 15:52:44 -0000 1.9 @@ -1 +1 @@ -841242560be026f21a83810152bcf51b system-config-keyboard-1.2.6.tar.bz2 +625462272563a04e917229c1a06fd372 system-config-keyboard-1.2.7.tar.bz2 Index: system-config-keyboard.spec =================================================================== RCS file: /cvs/dist/rpms/system-config-keyboard/devel/system-config-keyboard.spec,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- system-config-keyboard.spec 15 Sep 2005 21:40:21 -0000 1.12 +++ system-config-keyboard.spec 21 Oct 2005 15:52:44 -0000 1.13 @@ -1,7 +1,7 @@ Summary: A graphical interface for modifying the keyboard Name: system-config-keyboard -Version: 1.2.6 -Release: 3 +Version: 1.2.7 +Release: 1 URL: http://fedora.redhat.com/projects/config-tools License: GPL ExclusiveOS: Linux @@ -75,6 +75,10 @@ %attr(0644,root,root) %{_datadir}/icons/hicolor/48x48/apps/system-config-keyboard.png %changelog +* Thu Oct 20 2005 Paul Nasrat - 1.2.7-1 +- Update pam file (#170630) +- New firstboot module + * Thu Sep 15 2005 Jeremy Katz - 1.2.6-3 - exclude ppc64 since we don't have X stuff there From fedora-cvs-commits at redhat.com Fri Oct 21 16:05:21 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 12:05:21 -0400 Subject: rpms/system-config-keyboard/devel system-config-keyboard.spec, 1.13, 1.14 Message-ID: <200510211605.j9LG5LVl022913@cvs.devel.redhat.com> Author: pnasrat Update of /cvs/dist/rpms/system-config-keyboard/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv22889 Modified Files: system-config-keyboard.spec Log Message: python compiled files Index: system-config-keyboard.spec =================================================================== RCS file: /cvs/dist/rpms/system-config-keyboard/devel/system-config-keyboard.spec,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- system-config-keyboard.spec 21 Oct 2005 15:52:44 -0000 1.13 +++ system-config-keyboard.spec 21 Oct 2005 16:04:58 -0000 1.14 @@ -68,7 +68,7 @@ /usr/share/system-config-keyboard/* %dir /usr/share/firstboot/ %dir /usr/share/firstboot/modules -/usr/share/firstboot/modules/keyboard.py +/usr/share/firstboot/modules/* %attr(0644,root,root) %{_datadir}/applications/system-config-keyboard.desktop %attr(0644,root,root) %config /etc/security/console.apps/system-config-keyboard %attr(0644,root,root) %config /etc/pam.d/system-config-keyboard @@ -78,6 +78,7 @@ * Thu Oct 20 2005 Paul Nasrat - 1.2.7-1 - Update pam file (#170630) - New firstboot module +- Compiled python * Thu Sep 15 2005 Jeremy Katz - 1.2.6-3 - exclude ppc64 since we don't have X stuff there From fedora-cvs-commits at redhat.com Fri Oct 21 16:17:00 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 12:17:00 -0400 Subject: rpms/redhat-menus/devel .cvsignore, 1.26, 1.27 redhat-menus.spec, 1.42, 1.43 sources, 1.27, 1.28 Message-ID: <200510211617.j9LGH05k025282@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/redhat-menus/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv25200 Modified Files: .cvsignore redhat-menus.spec sources Log Message: Hide gfloppy Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/redhat-menus/devel/.cvsignore,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- .cvsignore 27 Sep 2005 15:17:05 -0000 1.26 +++ .cvsignore 21 Oct 2005 16:16:56 -0000 1.27 @@ -1 +1,2 @@ redhat-menus-5.0.1.tar.gz +redhat-menus-5.0.2.tar.gz Index: redhat-menus.spec =================================================================== RCS file: /cvs/dist/rpms/redhat-menus/devel/redhat-menus.spec,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- redhat-menus.spec 27 Sep 2005 15:12:50 -0000 1.42 +++ redhat-menus.spec 21 Oct 2005 16:16:56 -0000 1.43 @@ -3,7 +3,7 @@ Summary: Configuration and data files for the desktop menus Name: redhat-menus -Version: 5.0.1 +Version: 5.0.2 Release: 1 URL: http://www.redhat.com Source0: %{name}-%{version}.tar.gz @@ -63,6 +63,9 @@ %{_datadir}/desktop-directories/*.directory %changelog +* Fri Oct 21 2005 Matthias Clasen 5.0.2-1 +- Hide gfloppy by default + * Tue Sep 27 2005 Ray Strode 5.0.1-1 - don't use dir name preferences-merged. It has special significance (bug 169108) Index: sources =================================================================== RCS file: /cvs/dist/rpms/redhat-menus/devel/sources,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- sources 27 Sep 2005 15:17:05 -0000 1.27 +++ sources 21 Oct 2005 16:16:56 -0000 1.28 @@ -1 +1 @@ -8ec7daa96ae2d5449e6fc21e99d13dbf redhat-menus-5.0.1.tar.gz +1f2846e41f4280790bde1921069cb3cd redhat-menus-5.0.2.tar.gz From fedora-cvs-commits at redhat.com Fri Oct 21 16:26:29 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 12:26:29 -0400 Subject: rpms/libselinux/devel libselinux.spec,1.132,1.133 Message-ID: <200510211626.j9LGQT2h031443@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libselinux/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv31393 Modified Files: libselinux.spec Log Message: * Fri Oct 21 2005 Dan Walsh 1.9.23-2 - Need to check for /sbin/telinit Index: libselinux.spec =================================================================== RCS file: /cvs/dist/rpms/libselinux/devel/libselinux.spec,v retrieving revision 1.132 retrieving revision 1.133 diff -u -r1.132 -r1.133 --- libselinux.spec 21 Oct 2005 14:51:35 -0000 1.132 +++ libselinux.spec 21 Oct 2005 16:26:20 -0000 1.133 @@ -6,7 +6,6 @@ License: Public domain (uncopyrighted) Group: System Environment/Libraries Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz -Patch: libselinux-rhat.patch Prereq: libsetrans Requires: libsepol >= %{libsepolver} @@ -39,7 +38,6 @@ %prep %setup -q -%patch -p1 -b .rhat %build make CFLAGS="-g %{optflags}" From fedora-cvs-commits at redhat.com Fri Oct 21 17:19:58 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 13:19:58 -0400 Subject: rpms/mkinitrd/devel .cvsignore, 1.76, 1.77 mkinitrd.spec, 1.80, 1.81 sources, 1.81, 1.82 Message-ID: <200510211719.j9LHJwNK015641@cvs.devel.redhat.com> Author: katzj Update of /cvs/dist/rpms/mkinitrd/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv15564/devel Modified Files: .cvsignore mkinitrd.spec sources Log Message: auto-import mkinitrd-5.0.7-1 on branch devel from mkinitrd-5.0.7-1.src.rpm Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/mkinitrd/devel/.cvsignore,v retrieving revision 1.76 retrieving revision 1.77 diff -u -r1.76 -r1.77 --- .cvsignore 18 Oct 2005 17:17:20 -0000 1.76 +++ .cvsignore 21 Oct 2005 17:19:54 -0000 1.77 @@ -1 +1 @@ -mkinitrd-5.0.6.tar.bz2 +mkinitrd-5.0.7.tar.bz2 Index: mkinitrd.spec =================================================================== RCS file: /cvs/dist/rpms/mkinitrd/devel/mkinitrd.spec,v retrieving revision 1.80 retrieving revision 1.81 diff -u -r1.80 -r1.81 --- mkinitrd.spec 18 Oct 2005 17:17:20 -0000 1.80 +++ mkinitrd.spec 21 Oct 2005 17:19:54 -0000 1.81 @@ -1,6 +1,6 @@ Summary: Creates an initial ramdisk image for preloading modules. Name: mkinitrd -Version: 5.0.6 +Version: 5.0.7 Release: 1 License: GPL Group: System Environment/Base @@ -57,6 +57,9 @@ %attr(644,root,root) %{_mandir}/man8/grubby.8* %changelog +* Fri Oct 21 2005 Jeremy Katz - 5.0.7-1 +- fix new-kernel-pkg --multiboot= + * Tue Oct 18 2005 - 5.0.6-1 - make lvm work again Index: sources =================================================================== RCS file: /cvs/dist/rpms/mkinitrd/devel/sources,v retrieving revision 1.81 retrieving revision 1.82 diff -u -r1.81 -r1.82 --- sources 18 Oct 2005 17:17:20 -0000 1.81 +++ sources 21 Oct 2005 17:19:54 -0000 1.82 @@ -1 +1 @@ -b57e43460b78e37a14b9f928439ea8a4 mkinitrd-5.0.6.tar.bz2 +147488fc08d36c79389a3f9142a12362 mkinitrd-5.0.7.tar.bz2 From fedora-cvs-commits at redhat.com Fri Oct 21 17:39:02 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 13:39:02 -0400 Subject: rpms/eclipse/FC-4 eclipse-libswt-mozilla.patch,1.7,1.8 Message-ID: <200510211739.j9LHd2p9021249@cvs.devel.redhat.com> Author: overholt Update of /cvs/dist/rpms/eclipse/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv21225 Modified Files: eclipse-libswt-mozilla.patch Log Message: mozilla version in swt patch eclipse-libswt-mozilla.patch: build.sh | 14 ++++++++++++++ 1 files changed, 14 insertions(+) Index: eclipse-libswt-mozilla.patch =================================================================== RCS file: /cvs/dist/rpms/eclipse/FC-4/eclipse-libswt-mozilla.patch,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- eclipse-libswt-mozilla.patch 21 Oct 2005 14:55:24 -0000 1.7 +++ eclipse-libswt-mozilla.patch 21 Oct 2005 17:38:59 -0000 1.8 @@ -6,15 +6,15 @@ "Linux") + GECKO_INCLUDES="\ + -include mozilla-config.h \ -+ -I/usr/include/mozilla-1.7.11 \ -+ -I/usr/include/mozilla-1.7.11/xpcom \ -+ -I/usr/include/mozilla-1.7.11/string \ ++ -I/usr/include/mozilla-1.7.12 \ ++ -I/usr/include/mozilla-1.7.12/xpcom \ ++ -I/usr/include/mozilla-1.7.12/string \ + -I/usr/include/nspr4 \ -+ -I/usr/include/mozilla-1.7.11/embed_base \ -+ -I/usr/include/mozilla-1.7.11/gfx" ++ -I/usr/include/mozilla-1.7.12/embed_base \ ++ -I/usr/include/mozilla-1.7.12/gfx" + GECKO_LIBS="\ -+ -L/usr/lib/mozilla-1.7.11 \ -+ -L/usr/lib/mozilla-1.7.11/components \ ++ -L/usr/lib/mozilla-1.7.12 \ ++ -L/usr/lib/mozilla-1.7.12/components \ + -lgtkembedmoz -lxpcom" + # Set this to something to override the presets + GECKO_SDK="_" From fedora-cvs-commits at redhat.com Fri Oct 21 18:21:00 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 14:21:00 -0400 Subject: rpms/selinux-policy-strict/devel .cvsignore, 1.122, 1.123 policy-20050916.patch, 1.27, 1.28 selinux-policy-strict.spec, 1.399, 1.400 sources, 1.128, 1.129 Message-ID: <200510211821.j9LIL0J8003047@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-strict/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv2974 Modified Files: .cvsignore policy-20050916.patch selinux-policy-strict.spec sources Log Message: * Fri Oct 21 2005 Dan Walsh 1.27.2-1 - Update to latest from NSA * Merged patch from Chad Hanson. Modified MLS constraints. Provided comments for the MLS attributes. * Merged two patches from Thomas Bleher which made some minor fixes and cleanups. * Merged patches from Russell Coker. Added comments to some of the MLS attributes. Added the secure_mode_insmod boolean to determine whether the system permits loading policy, setting enforcing mode, and changing boolean values. Made minor fixes for the cdrecord_domain macro, application_domain, newrole_domain, and daemon_base_domain macros. Added rules to allow the mail server to access the user home directories in the targeted policy and allows the postfix showq program to do DNS lookups. Minor fixes for the MCS policy. Made other minor fixes and cleanups. * Merged patch from Dan Walsh. Added opencd, pegasus, readahead, and roundup policies. Created can_access_pty macro to handle pty output. Created nsswithch_domain macro for domains using nsswitch. Added mcs transition rules. Removed mqueue and added capifs genfscon entries. Added dhcpd and pegasus ports. Added domain transitions from login domains to pam_console and alsa domains. Added rules to allow the httpd and squid domains to relay more protocols. For the targeted policy, removed sysadm_r role from unconfined_t. Made other fixes and cleanups. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/devel/.cvsignore,v retrieving revision 1.122 retrieving revision 1.123 diff -u -r1.122 -r1.123 --- .cvsignore 16 Sep 2005 15:57:44 -0000 1.122 +++ .cvsignore 21 Oct 2005 18:20:54 -0000 1.123 @@ -88,3 +88,4 @@ policy-1.25.4.tgz policy-1.26.tgz policy-1.27.1.tgz +policy-1.27.2.tgz policy-20050916.patch: Makefile | 26 +- attrib.te | 96 ++++++++++- domains/admin.te | 2 domains/misc/kernel.te | 2 domains/program/crond.te | 2 domains/program/fsadm.te | 9 - domains/program/hostname.te | 2 domains/program/ifconfig.te | 5 domains/program/init.te | 2 domains/program/initrc.te | 26 ++ domains/program/ldconfig.te | 3 domains/program/load_policy.te | 7 domains/program/login.te | 21 +- domains/program/logrotate.te | 2 domains/program/modutil.te | 14 - domains/program/mount.te | 6 domains/program/netutils.te | 3 domains/program/newrole.te | 4 domains/program/passwd.te | 1 domains/program/restorecon.te | 3 domains/program/setfiles.te | 4 domains/program/ssh.te | 6 domains/program/su.te | 9 + domains/program/syslogd.te | 6 domains/program/tmpreaper.te | 2 domains/program/unused/NetworkManager.te | 8 domains/program/unused/alsa.te | 2 domains/program/unused/amanda.te | 74 ++------ domains/program/unused/anaconda.te | 5 domains/program/unused/apache.te | 22 +- domains/program/unused/apmd.te | 19 ++ domains/program/unused/auditd.te | 8 domains/program/unused/automount.te | 4 domains/program/unused/bluetooth.te | 72 ++++++++ domains/program/unused/cups.te | 20 +- domains/program/unused/cvs.te | 3 domains/program/unused/cyrus.te | 2 domains/program/unused/dbusd.te | 4 domains/program/unused/dcc.te | 5 domains/program/unused/dhcpc.te | 7 domains/program/unused/dhcpd.te | 3 domains/program/unused/dovecot.te | 4 domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/hwclock.te | 2 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 5 domains/program/unused/mta.te | 8 domains/program/unused/mysqld.te | 12 - domains/program/unused/named.te | 29 ++- domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 10 - domains/program/unused/openct.te | 16 + domains/program/unused/pamconsole.te | 4 domains/program/unused/pegasus.te | 37 ++++ domains/program/unused/ping.te | 3 domains/program/unused/postfix.te | 60 ++++-- domains/program/unused/pppd.te | 8 domains/program/unused/procmail.te | 11 + domains/program/unused/readahead.te | 21 ++ domains/program/unused/rlogind.te | 4 domains/program/unused/roundup.te | 29 +++ domains/program/unused/rpcd.te | 18 +- domains/program/unused/rpm.te | 4 domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 12 + domains/program/unused/sendmail.te | 3 domains/program/unused/snmpd.te | 6 domains/program/unused/squid.te | 3 domains/program/unused/udev.te | 10 - domains/program/unused/utempter.te | 2 domains/program/unused/webalizer.te | 3 domains/program/unused/winbind.te | 1 domains/program/unused/xdm.te | 3 domains/program/unused/yppasswdd.te | 40 ++++ domains/program/unused/ypserv.te | 1 domains/program/useradd.te | 5 file_contexts/distros.fc | 2 file_contexts/program/apache.fc | 2 file_contexts/program/bluetooth.fc | 3 file_contexts/program/dhcpc.fc | 2 file_contexts/program/dhcpd.fc | 5 file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 11 - file_contexts/program/ipsec.fc | 1 file_contexts/program/kudzu.fc | 2 file_contexts/program/openct.fc | 2 file_contexts/program/pegasus.fc | 11 + file_contexts/program/pppd.fc | 2 file_contexts/program/readahead.fc | 1 file_contexts/program/roundup.fc | 2 file_contexts/program/rpm.fc | 4 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/xdm.fc | 2 file_contexts/program/yppasswdd.fc | 2 file_contexts/program/ypserv.fc | 1 file_contexts/types.fc | 4 genfs_contexts | 3 macros/base_user_macros.te | 6 macros/core_macros.te | 3 macros/global_macros.te | 18 +- macros/network_macros.te | 17 + macros/program/apache_macros.te | 13 + macros/program/bonobo_macros.te | 2 macros/program/cdrecord_macros.te | 2 macros/program/crontab_macros.te | 2 macros/program/dbusd_macros.te | 4 macros/program/gconf_macros.te | 2 macros/program/gift_macros.te | 2 macros/program/gpg_macros.te | 2 macros/program/i18n_input_macros.te | 21 ++ macros/program/lpr_macros.te | 2 macros/program/mta_macros.te | 4 macros/program/newrole_macros.te | 2 macros/program/pyzor_macros.te | 2 macros/program/razor_macros.te | 2 macros/program/su_macros.te | 4 macros/program/uml_macros.te | 2 macros/program/xdm_macros.te | 2 macros/user_macros.te | 6 man/man8/ftpd_selinux.8 | 19 +- man/man8/httpd_selinux.8 | 9 + man/man8/rsync_selinux.8 | 12 + man/man8/samba_selinux.8 | 9 + mcs | 210 +++++++++--------------- mls | 270 +++++++++++-------------------- net_contexts | 8 targeted/appconfig/root_default_contexts | 4 targeted/assert.te | 2 targeted/domains/program/sendmail.te | 1 targeted/domains/program/ssh.te | 3 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 16 + tunables/distro.tun | 2 tunables/tunable.tun | 4 types/device.te | 4 types/devpts.te | 4 types/file.te | 45 +---- types/network.te | 13 - types/nfs.te | 1 types/security.te | 6 144 files changed, 1134 insertions(+), 622 deletions(-) Index: policy-20050916.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/devel/policy-20050916.patch,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- policy-20050916.patch 20 Oct 2005 19:14:13 -0000 1.27 +++ policy-20050916.patch 21 Oct 2005 18:20:55 -0000 1.28 @@ -149,6 +149,18 @@ # For clients of nscd. attribute nscd_client_domain; +diff --exclude-from=exclude -N -u -r nsapolicy/domains/admin.te policy-1.27.1/domains/admin.te +--- nsapolicy/domains/admin.te 2005-09-12 16:40:28.000000000 -0400 ++++ policy-1.27.1/domains/admin.te 2005-10-21 11:29:09.000000000 -0400 +@@ -4,7 +4,7 @@ + + # sysadm_t is the system administrator domain. + type sysadm_t, domain, privlog, privowner, admin, userdomain, web_client_domain, privhome, etc_writer, privmodule, nscd_client_domain +-ifdef(`direct_sysadm_daemon', `, priv_system_role') ++ifdef(`direct_sysadm_daemon', `, priv_system_role, privrangetrans') + ; dnl end of sysadm_t type declaration + + allow privhome home_root_t:dir { getattr search }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/misc/kernel.te policy-1.27.1/domains/misc/kernel.te --- nsapolicy/domains/misc/kernel.te 2005-09-16 11:17:08.000000000 -0400 +++ policy-1.27.1/domains/misc/kernel.te 2005-10-13 09:32:32.000000000 -0400 @@ -175,7 +187,16 @@ allow system_crond_t self:capability { dac_read_search chown setgid setuid fowner net_bind_service fsetid }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/fsadm.te policy-1.27.1/domains/program/fsadm.te --- nsapolicy/domains/program/fsadm.te 2005-09-16 11:17:08.000000000 -0400 -+++ policy-1.27.1/domains/program/fsadm.te 2005-09-27 17:14:40.000000000 -0400 ++++ policy-1.27.1/domains/program/fsadm.te 2005-10-21 11:29:24.000000000 -0400 +@@ -12,7 +12,7 @@ + # administration. + # fsadm_exec_t is the type of the corresponding programs. + # +-type fsadm_t, domain, privlog, fs_domain, mlsfileread; ++type fsadm_t, domain, privlog, fs_domain, mlsfileread, mlsfilewrite; + role system_r types fsadm_t; + role sysadm_r types fsadm_t; + @@ -102,10 +102,10 @@ allow fsadm_t kernel_t:system syslog_console; @@ -230,7 +251,16 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/initrc.te policy-1.27.1/domains/program/initrc.te --- nsapolicy/domains/program/initrc.te 2005-09-16 11:17:08.000000000 -0400 -+++ policy-1.27.1/domains/program/initrc.te 2005-10-17 15:59:18.000000000 -0400 ++++ policy-1.27.1/domains/program/initrc.te 2005-10-21 11:29:24.000000000 -0400 +@@ -12,7 +12,7 @@ + # initrc_exec_t is the type of the init program. + # + # do not use privmail for sendmail as it creates a type transition conflict +-type initrc_t, fs_domain, ifdef(`unlimitedRC', `admin, etc_writer, privmem, auth_write, ') domain, privlog, privowner, privmodule, ifdef(`sendmail.te', `', `privmail,') ifdef(`distro_debian', `etc_writer, ') sysctl_kernel_writer, nscd_client_domain, mlsfileread, mlsfilewrite, mlsprocread, mlsprocwrite; ++type initrc_t, fs_domain, ifdef(`unlimitedRC', `admin, etc_writer, privmem, auth_write, ') domain, privlog, privowner, privmodule, ifdef(`sendmail.te', `', `privmail,') ifdef(`distro_debian', `etc_writer, ') sysctl_kernel_writer, nscd_client_domain, mlsfileread, mlsfilewrite, mlsprocread, mlsprocwrite, privrangetrans; + + role system_r types initrc_t; + uses_shlib(initrc_t); @@ -56,6 +56,10 @@ can_create_pty(initrc) @@ -259,7 +289,18 @@ ')dnl end distro_redhat allow initrc_t system_map_t:{ file lnk_file } r_file_perms; -@@ -322,3 +334,9 @@ +@@ -271,6 +283,10 @@ + ifdef(`direct_sysadm_daemon', ` + role_transition sysadm_r initrc_exec_t system_r; + domain_auto_trans(sysadm_t, initrc_exec_t, initrc_t) ++ifdef(`mls_policy', ` ++typeattribute initrc_t mlsrangetrans; ++range_transition sysadm_t initrc_exec_t s0 - s15:c0.c255; ++') + ') + + # +@@ -322,3 +338,9 @@ ifdef(`dbusd.te', ` allow initrc_t system_dbusd_var_run_t:sock_file write; ') @@ -269,6 +310,18 @@ +ifdef(`use_mcs', ` +range_transition sysadm_t initrc_exec_t s0; +') +diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/init.te policy-1.27.1/domains/program/init.te +--- nsapolicy/domains/program/init.te 2005-09-12 16:40:29.000000000 -0400 ++++ policy-1.27.1/domains/program/init.te 2005-10-21 11:29:24.000000000 -0400 +@@ -14,7 +14,7 @@ + # by init during initialization. This pipe is used + # to communicate with init. + # +-type init_t, domain, privlog, sysctl_kernel_writer, nscd_client_domain, mlsrangetrans, mlsfileread, mlsfilewrite; ++type init_t, domain, privlog, sysctl_kernel_writer, nscd_client_domain, mlsrangetrans, mlsfileread, mlsfilewrite, mlsprocwrite; + role system_r types init_t; + uses_shlib(init_t); + type init_exec_t, file_type, sysadmfile, exec_type; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/ldconfig.te policy-1.27.1/domains/program/ldconfig.te --- nsapolicy/domains/program/ldconfig.te 2005-09-12 16:40:28.000000000 -0400 +++ policy-1.27.1/domains/program/ldconfig.te 2005-09-27 17:14:40.000000000 -0400 @@ -353,6 +406,18 @@ +range_transition getty_t login_exec_t s0 - s0:c0.c255; +') +') +diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/logrotate.te policy-1.27.1/domains/program/logrotate.te +--- nsapolicy/domains/program/logrotate.te 2005-09-12 16:40:29.000000000 -0400 ++++ policy-1.27.1/domains/program/logrotate.te 2005-10-21 11:29:24.000000000 -0400 +@@ -13,7 +13,7 @@ + # logrotate_t is the domain for the logrotate program. + # logrotate_exec_t is the type of the corresponding program. + # +-type logrotate_t, domain, privowner, privmail, priv_system_role, nscd_client_domain; ++type logrotate_t, domain, privowner, privmail, priv_system_role, nscd_client_domain, mlsfileread, mlsfilewrite, mlsfileupgrade; + role system_r types logrotate_t; + role sysadm_r types logrotate_t; + uses_shlib(logrotate_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/modutil.te policy-1.27.1/domains/program/modutil.te --- nsapolicy/domains/program/modutil.te 2005-09-12 16:40:29.000000000 -0400 +++ policy-1.27.1/domains/program/modutil.te 2005-09-27 17:14:40.000000000 -0400 @@ -570,6 +635,18 @@ # Use capabilities. allow syslogd_t self:capability { dac_override net_admin net_bind_service sys_resource sys_tty_config }; +diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/tmpreaper.te policy-1.27.1/domains/program/tmpreaper.te +--- nsapolicy/domains/program/tmpreaper.te 2005-09-12 16:40:28.000000000 -0400 ++++ policy-1.27.1/domains/program/tmpreaper.te 2005-10-21 11:29:48.000000000 -0400 +@@ -8,7 +8,7 @@ + # + # Rules for the tmpreaper_t domain. + # +-type tmpreaper_t, domain, privlog; ++type tmpreaper_t, domain, privlog, mlsfileread, mlsfilewrite; + type tmpreaper_exec_t, file_type, sysadmfile, exec_type; + + role system_r types tmpreaper_t; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/alsa.te policy-1.27.1/domains/program/unused/alsa.te --- nsapolicy/domains/program/unused/alsa.te 2005-09-16 11:17:08.000000000 -0400 +++ policy-1.27.1/domains/program/unused/alsa.te 2005-09-27 17:14:40.000000000 -0400 @@ -858,8 +935,21 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/auditd.te policy-1.27.1/domains/program/unused/auditd.te --- nsapolicy/domains/program/unused/auditd.te 2005-09-12 16:40:28.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/auditd.te 2005-09-27 17:14:40.000000000 -0400 -@@ -65,3 +65,5 @@ ++++ policy-1.27.1/domains/program/unused/auditd.te 2005-10-21 11:29:24.000000000 -0400 +@@ -12,6 +12,12 @@ + + daemon_domain(auditd) + ++ifdef(`mls_policy', ` ++# run at the highest MLS level ++typeattribute auditd_t mlsrangetrans; ++range_transition initrc_t auditd_exec_t s15:c0.c255; ++') ++ + allow auditd_t self:netlink_audit_socket { create_netlink_socket_perms nlmsg_relay nlmsg_readpriv }; + allow auditd_t self:unix_dgram_socket create_socket_perms; + allow auditd_t self:capability { audit_write audit_control sys_nice sys_resource }; +@@ -65,3 +71,5 @@ allow auditctl_t privfd:fd use; @@ -1518,7 +1608,16 @@ +allow openct_t etc_t:file r_file_perms; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/pamconsole.te policy-1.27.1/domains/program/unused/pamconsole.te --- nsapolicy/domains/program/unused/pamconsole.te 2005-09-12 16:40:28.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/pamconsole.te 2005-09-27 17:14:40.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/pamconsole.te 2005-10-21 11:29:39.000000000 -0400 +@@ -3,7 +3,7 @@ + # + # pam_console_apply + +-daemon_base_domain(pam_console, `, nscd_client_domain, mlsfileread') ++daemon_base_domain(pam_console, `, nscd_client_domain, mlsfileread, mlsfilewrite') + + type pam_var_console_t, file_type, sysadmfile; + @@ -25,6 +25,7 @@ # for /var/run/console.lock checking allow pam_console_t { var_t var_run_t }:dir search; @@ -1958,6 +2057,27 @@ +allow gssd_t user_tmpfile:file write; +') +} +diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/rpm.te policy-1.27.1/domains/program/unused/rpm.te +--- nsapolicy/domains/program/unused/rpm.te 2005-09-16 11:17:09.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/rpm.te 2005-10-21 11:29:48.000000000 -0400 +@@ -10,7 +10,7 @@ + # rpm_log_t is the type for rpm log files (/var/log/rpmpkgs*) + # rpm_var_lib_t is the type for rpm files in /var/lib + # +-type rpm_t, domain, admin, etc_writer, privlog, privowner, privmem, priv_system_role, fs_domain, privfd; ++type rpm_t, domain, admin, etc_writer, privlog, privowner, privmem, priv_system_role, fs_domain, privfd, mlsfileread, mlsfilewrite, mlsfileupgrade; + role system_r types rpm_t; + uses_shlib(rpm_t) + type rpm_exec_t, file_type, sysadmfile, exec_type; +@@ -114,7 +114,7 @@ + + allow { insmod_t depmod_t } rpm_t:fifo_file rw_file_perms; + +-type rpm_script_t, domain, admin, etc_writer, privlog, privowner, privmodule, privmem, fs_domain, privfd, privrole, priv_system_role; ++type rpm_script_t, domain, admin, etc_writer, privlog, privowner, privmodule, privmem, fs_domain, privfd, privrole, priv_system_role, mlsfileread, mlsfilewrite; + # policy for rpm scriptlet + role system_r types rpm_script_t; + uses_shlib(rpm_script_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/rsync.te policy-1.27.1/domains/program/unused/rsync.te --- nsapolicy/domains/program/unused/rsync.te 2005-09-16 11:17:09.000000000 -0400 +++ policy-1.27.1/domains/program/unused/rsync.te 2005-10-11 12:50:03.000000000 -0400 @@ -2472,7 +2592,7 @@ /etc/ypserv\.conf -- system_u:object_r:ypserv_conf_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/types.fc policy-1.27.1/file_contexts/types.fc --- nsapolicy/file_contexts/types.fc 2005-09-16 11:17:10.000000000 -0400 -+++ policy-1.27.1/file_contexts/types.fc 2005-10-15 14:02:25.000000000 -0400 ++++ policy-1.27.1/file_contexts/types.fc 2005-10-21 11:29:48.000000000 -0400 @@ -133,6 +133,7 @@ /dev/dcbri[0-9]+ -c system_u:object_r:tty_device_t /dev/irlpt[0-9]+ -c system_u:object_r:printer_device_t @@ -3795,6 +3915,17 @@ # Confined domains must never see /proc/pid entries for an unconfined domain. neverallow { domain -unrestricted -snmpd_t } unconfined_t:dir { getattr search }; +diff --exclude-from=exclude -N -u -r nsapolicy/targeted/domains/program/sendmail.te policy-1.27.1/targeted/domains/program/sendmail.te +--- nsapolicy/targeted/domains/program/sendmail.te 2005-09-12 16:40:26.000000000 -0400 ++++ policy-1.27.1/targeted/domains/program/sendmail.te 2005-10-20 15:53:47.000000000 -0400 +@@ -12,7 +12,6 @@ + # + type sendmail_exec_t, file_type, sysadmfile, exec_type; + type sendmail_log_t, file_type, sysadmfile; +-type etc_mail_t, file_type, sysadmfile; + domain_auto_trans(initrc_t, sendmail_exec_t, sendmail_t) + var_run_domain(sendmail) + diff --exclude-from=exclude -N -u -r nsapolicy/targeted/domains/program/ssh.te policy-1.27.1/targeted/domains/program/ssh.te --- nsapolicy/targeted/domains/program/ssh.te 2005-09-12 16:40:26.000000000 -0400 +++ policy-1.27.1/targeted/domains/program/ssh.te 2005-10-05 10:05:20.000000000 -0400 @@ -3918,7 +4049,7 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/types/file.te policy-1.27.1/types/file.te --- nsapolicy/types/file.te 2005-09-16 11:17:12.000000000 -0400 -+++ policy-1.27.1/types/file.te 2005-10-20 14:50:58.000000000 -0400 ++++ policy-1.27.1/types/file.te 2005-10-20 15:56:01.000000000 -0400 @@ -84,6 +84,9 @@ # type etc_t, file_type, sysadmfile; @@ -3929,50 +4060,85 @@ # # shadow_t is the type of the /etc/shadow file # -@@ -307,8 +310,7 @@ - type hugetlbfs_t, mount_point, fs_type, sysadmfile; - allow hugetlbfs_t self:filesystem associate; +@@ -273,9 +276,6 @@ + # + allow { file_type device_type ttyfile } fs_t:filesystem associate; +-# Allow the pty to be associated with the file system. +-allow devpts_t self:filesystem associate; +- + type tmpfs_t, file_type, mount_point, sysadmfile, fs_type; + allow { logfile tmpfs_t tmpfile home_type } tmpfs_t:filesystem associate; + allow { logfile tmpfile home_type } tmp_t:filesystem associate; +@@ -284,31 +284,14 @@ + ') + + type autofs_t, fs_type, noexattrfile, sysadmfile; +-allow autofs_t self:filesystem associate; +- + type usbdevfs_t, fs_type, mount_point, noexattrfile, sysadmfile; +-allow usbdevfs_t self:filesystem associate; +- + type sysfs_t, mount_point, fs_type, sysadmfile; +-allow sysfs_t self:filesystem associate; +- + type iso9660_t, fs_type, noexattrfile, sysadmfile; +-allow iso9660_t self:filesystem associate; +- + type romfs_t, fs_type, sysadmfile; +-allow romfs_t self:filesystem associate; +- + type ramfs_t, fs_type, sysadmfile; +-allow ramfs_t self:filesystem associate; +- + type dosfs_t, fs_type, noexattrfile, sysadmfile; +-allow dosfs_t self:filesystem associate; +- + type hugetlbfs_t, mount_point, fs_type, sysadmfile; +-allow hugetlbfs_t self:filesystem associate; +- -type mqueue_t, mount_point, fs_type, sysadmfile; -allow mqueue_t self:filesystem associate; +typealias file_t alias mqueue_t; # udev_runtime_t is the type of the udev table file type udev_runtime_t, file_type, sysadmfile; -@@ -322,9 +324,15 @@ - type debugfs_t, fs_type, sysadmfile; - allow debugfs_t self:filesystem associate; +@@ -317,26 +300,26 @@ + type krb5_conf_t, file_type, sysadmfile; + type cifs_t, fs_type, noexattrfile, sysadmfile; +-allow cifs_t self:filesystem associate; +- + type debugfs_t, fs_type, sysadmfile; +-allow debugfs_t self:filesystem associate; +- +type configfs_t, fs_type, sysadmfile; -+allow configfs_t self:filesystem associate; -+ type inotifyfs_t, fs_type, sysadmfile; - allow inotifyfs_t self:filesystem associate; - +-allow inotifyfs_t self:filesystem associate; +type capifs_t, fs_type, sysadmfile; -+allow capifs_t self:filesystem associate; -+ + # removable_t is the default type of all removable media type removable_t, file_type, sysadmfile, usercanread; - allow removable_t self:filesystem associate; -@@ -332,11 +340,16 @@ +-allow removable_t self:filesystem associate; + allow file_type removable_t:filesystem associate; allow file_type noexattrfile:filesystem associate; # Type for anonymous FTP data, used by ftp and rsync -type ftpd_anon_t, file_type, sysadmfile, customizable; -type ftpd_anon_rw_t, file_type, sysadmfile, customizable; +- +-allow customizable self:filesystem associate; +type public_content_t, file_type, sysadmfile, customizable; +type public_content_rw_t, file_type, sysadmfile, customizable; +typealias public_content_t alias ftpd_anon_t; +typealias public_content_rw_t alias ftpd_anon_rw_t; - allow customizable self:filesystem associate; - # type for /tmp/.ICE-unix type ice_tmp_t, file_type, sysadmfile, tmpfile; +# type for /usr/share/hwdata +type hwdata_t, file_type, sysadmfile; ++allow { fs_type file_type } self:filesystem associate; + diff --exclude-from=exclude -N -u -r nsapolicy/types/network.te policy-1.27.1/types/network.te --- nsapolicy/types/network.te 2005-09-16 11:17:12.000000000 -0400 @@ -4028,6 +4194,15 @@ type inetd_child_port_t, port_type, reserved_port_type; type ktalkd_port_t, port_type, reserved_port_type; type rsync_port_t, port_type, reserved_port_type; +diff --exclude-from=exclude -N -u -r nsapolicy/types/nfs.te policy-1.27.1/types/nfs.te +--- nsapolicy/types/nfs.te 2005-09-12 16:40:26.000000000 -0400 ++++ policy-1.27.1/types/nfs.te 2005-10-20 15:38:54.000000000 -0400 +@@ -18,5 +18,4 @@ + # + # Allow NFS files to be associated with an NFS file system. + # +-allow nfs_t self:filesystem associate; + allow file_type nfs_t:filesystem associate; diff --exclude-from=exclude -N -u -r nsapolicy/types/security.te policy-1.27.1/types/security.te --- nsapolicy/types/security.te 2005-09-12 16:40:26.000000000 -0400 +++ policy-1.27.1/types/security.te 2005-10-20 12:44:37.000000000 -0400 Index: selinux-policy-strict.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/devel/selinux-policy-strict.spec,v retrieving revision 1.399 retrieving revision 1.400 diff -u -r1.399 -r1.400 --- selinux-policy-strict.spec 20 Oct 2005 19:14:13 -0000 1.399 +++ selinux-policy-strict.spec 21 Oct 2005 18:20:55 -0000 1.400 @@ -9,8 +9,8 @@ Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} -Version: 1.27.1 -Release: 22 +Version: 1.27.2 +Release: 1 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz @@ -19,7 +19,7 @@ Source3: selinux.csh Source4: seusers BuildRoot: %{_tmppath}/%{name}-buildroot -Patch: policy-20050916.patch +Patch: policy-20051021.patch BuildArch: noarch BuildRequires: checkpolicy >= %{CHECKPOLICYVER} m4 policycoreutils >= %{POLICYCOREUTILSVER} @@ -244,6 +244,31 @@ exit 0 %changelog +* Fri Oct 21 2005 Dan Walsh 1.27.2-1 +- Update to latest from NSA + * Merged patch from Chad Hanson. Modified MLS constraints. + Provided comments for the MLS attributes. + * Merged two patches from Thomas Bleher which made some minor + fixes and cleanups. + * Merged patches from Russell Coker. Added comments to some of the + MLS attributes. Added the secure_mode_insmod boolean to determine + whether the system permits loading policy, setting enforcing mode, + and changing boolean values. Made minor fixes for the cdrecord_domain + macro, application_domain, newrole_domain, and daemon_base_domain + macros. Added rules to allow the mail server to access the user + home directories in the targeted policy and allows the postfix + showq program to do DNS lookups. Minor fixes for the MCS + policy. Made other minor fixes and cleanups. + * Merged patch from Dan Walsh. Added opencd, pegasus, readahead, + and roundup policies. Created can_access_pty macro to handle pty + output. Created nsswithch_domain macro for domains using + nsswitch. Added mcs transition rules. Removed mqueue and added + capifs genfscon entries. Added dhcpd and pegasus ports. Added + domain transitions from login domains to pam_console and alsa + domains. Added rules to allow the httpd and squid domains to + relay more protocols. For the targeted policy, removed sysadm_r + role from unconfined_t. Made other fixes and cleanups. + * Thu Oct 20 2005 Dan Walsh 1.27.1-22 - Fix to make postfix read spamassasin files Index: sources =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/devel/sources,v retrieving revision 1.128 retrieving revision 1.129 diff -u -r1.128 -r1.129 --- sources 16 Sep 2005 15:57:44 -0000 1.128 +++ sources 21 Oct 2005 18:20:55 -0000 1.129 @@ -1 +1 @@ -ea5c830df3d0627a1b67ce1bec40ada2 policy-1.27.1.tgz +7a3f5b1224a4d1475fb146b2fb6950bc policy-1.27.2.tgz From fedora-cvs-commits at redhat.com Fri Oct 21 18:21:07 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 14:21:07 -0400 Subject: rpms/selinux-policy-targeted/devel .cvsignore, 1.118, 1.119 policy-20050916.patch, 1.26, 1.27 selinux-policy-targeted.spec, 1.393, 1.394 sources, 1.124, 1.125 Message-ID: <200510211821.j9LIL7In003087@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-targeted/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv3016 Modified Files: .cvsignore policy-20050916.patch selinux-policy-targeted.spec sources Log Message: * Fri Oct 21 2005 Dan Walsh 1.27.2-1 - Update to latest from NSA * Merged patch from Chad Hanson. Modified MLS constraints. Provided comments for the MLS attributes. * Merged two patches from Thomas Bleher which made some minor fixes and cleanups. * Merged patches from Russell Coker. Added comments to some of the MLS attributes. Added the secure_mode_insmod boolean to determine whether the system permits loading policy, setting enforcing mode, and changing boolean values. Made minor fixes for the cdrecord_domain macro, application_domain, newrole_domain, and daemon_base_domain macros. Added rules to allow the mail server to access the user home directories in the targeted policy and allows the postfix showq program to do DNS lookups. Minor fixes for the MCS policy. Made other minor fixes and cleanups. * Merged patch from Dan Walsh. Added opencd, pegasus, readahead, and roundup policies. Created can_access_pty macro to handle pty output. Created nsswithch_domain macro for domains using nsswitch. Added mcs transition rules. Removed mqueue and added capifs genfscon entries. Added dhcpd and pegasus ports. Added domain transitions from login domains to pam_console and alsa domains. Added rules to allow the httpd and squid domains to relay more protocols. For the targeted policy, removed sysadm_r role from unconfined_t. Made other fixes and cleanups. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/devel/.cvsignore,v retrieving revision 1.118 retrieving revision 1.119 diff -u -r1.118 -r1.119 --- .cvsignore 16 Sep 2005 15:58:04 -0000 1.118 +++ .cvsignore 21 Oct 2005 18:20:58 -0000 1.119 @@ -83,3 +83,4 @@ policy-1.25.4.tgz policy-1.26.tgz policy-1.27.1.tgz +policy-1.27.2.tgz policy-20050916.patch: Makefile | 26 +- attrib.te | 96 ++++++++++- domains/admin.te | 2 domains/misc/kernel.te | 2 domains/program/crond.te | 2 domains/program/fsadm.te | 9 - domains/program/hostname.te | 2 domains/program/ifconfig.te | 5 domains/program/init.te | 2 domains/program/initrc.te | 26 ++ domains/program/ldconfig.te | 3 domains/program/load_policy.te | 7 domains/program/login.te | 21 +- domains/program/logrotate.te | 2 domains/program/modutil.te | 14 - domains/program/mount.te | 6 domains/program/netutils.te | 3 domains/program/newrole.te | 4 domains/program/passwd.te | 1 domains/program/restorecon.te | 3 domains/program/setfiles.te | 4 domains/program/ssh.te | 6 domains/program/su.te | 9 + domains/program/syslogd.te | 6 domains/program/tmpreaper.te | 2 domains/program/unused/NetworkManager.te | 8 domains/program/unused/alsa.te | 2 domains/program/unused/amanda.te | 74 ++------ domains/program/unused/anaconda.te | 5 domains/program/unused/apache.te | 22 +- domains/program/unused/apmd.te | 19 ++ domains/program/unused/auditd.te | 8 domains/program/unused/automount.te | 4 domains/program/unused/bluetooth.te | 72 ++++++++ domains/program/unused/cups.te | 20 +- domains/program/unused/cvs.te | 3 domains/program/unused/cyrus.te | 2 domains/program/unused/dbusd.te | 4 domains/program/unused/dcc.te | 5 domains/program/unused/dhcpc.te | 7 domains/program/unused/dhcpd.te | 3 domains/program/unused/dovecot.te | 4 domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/hwclock.te | 2 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 5 domains/program/unused/mta.te | 8 domains/program/unused/mysqld.te | 12 - domains/program/unused/named.te | 29 ++- domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 10 - domains/program/unused/openct.te | 16 + domains/program/unused/pamconsole.te | 4 domains/program/unused/pegasus.te | 37 ++++ domains/program/unused/ping.te | 3 domains/program/unused/postfix.te | 60 ++++-- domains/program/unused/pppd.te | 8 domains/program/unused/procmail.te | 11 + domains/program/unused/readahead.te | 21 ++ domains/program/unused/rlogind.te | 4 domains/program/unused/roundup.te | 29 +++ domains/program/unused/rpcd.te | 18 +- domains/program/unused/rpm.te | 4 domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 12 + domains/program/unused/sendmail.te | 3 domains/program/unused/snmpd.te | 6 domains/program/unused/squid.te | 3 domains/program/unused/udev.te | 10 - domains/program/unused/utempter.te | 2 domains/program/unused/webalizer.te | 3 domains/program/unused/winbind.te | 1 domains/program/unused/xdm.te | 3 domains/program/unused/yppasswdd.te | 40 ++++ domains/program/unused/ypserv.te | 1 domains/program/useradd.te | 5 file_contexts/distros.fc | 2 file_contexts/program/apache.fc | 2 file_contexts/program/bluetooth.fc | 3 file_contexts/program/dhcpc.fc | 2 file_contexts/program/dhcpd.fc | 5 file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 11 - file_contexts/program/ipsec.fc | 1 file_contexts/program/kudzu.fc | 2 file_contexts/program/openct.fc | 2 file_contexts/program/pegasus.fc | 11 + file_contexts/program/pppd.fc | 2 file_contexts/program/readahead.fc | 1 file_contexts/program/roundup.fc | 2 file_contexts/program/rpm.fc | 4 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/xdm.fc | 2 file_contexts/program/yppasswdd.fc | 2 file_contexts/program/ypserv.fc | 1 file_contexts/types.fc | 4 genfs_contexts | 3 macros/base_user_macros.te | 6 macros/core_macros.te | 3 macros/global_macros.te | 18 +- macros/network_macros.te | 17 + macros/program/apache_macros.te | 13 + macros/program/bonobo_macros.te | 2 macros/program/cdrecord_macros.te | 2 macros/program/crontab_macros.te | 2 macros/program/dbusd_macros.te | 4 macros/program/gconf_macros.te | 2 macros/program/gift_macros.te | 2 macros/program/gpg_macros.te | 2 macros/program/i18n_input_macros.te | 21 ++ macros/program/lpr_macros.te | 2 macros/program/mta_macros.te | 4 macros/program/newrole_macros.te | 2 macros/program/pyzor_macros.te | 2 macros/program/razor_macros.te | 2 macros/program/su_macros.te | 4 macros/program/uml_macros.te | 2 macros/program/xdm_macros.te | 2 macros/user_macros.te | 6 man/man8/ftpd_selinux.8 | 19 +- man/man8/httpd_selinux.8 | 9 + man/man8/rsync_selinux.8 | 12 + man/man8/samba_selinux.8 | 9 + mcs | 210 +++++++++--------------- mls | 270 +++++++++++-------------------- net_contexts | 8 targeted/appconfig/root_default_contexts | 4 targeted/assert.te | 2 targeted/domains/program/sendmail.te | 1 targeted/domains/program/ssh.te | 3 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 16 + tunables/distro.tun | 2 tunables/tunable.tun | 4 types/device.te | 4 types/devpts.te | 4 types/file.te | 45 +---- types/network.te | 13 - types/nfs.te | 1 types/security.te | 6 144 files changed, 1134 insertions(+), 622 deletions(-) Index: policy-20050916.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/devel/policy-20050916.patch,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- policy-20050916.patch 20 Oct 2005 19:57:01 -0000 1.26 +++ policy-20050916.patch 21 Oct 2005 18:20:58 -0000 1.27 @@ -149,6 +149,18 @@ # For clients of nscd. attribute nscd_client_domain; +diff --exclude-from=exclude -N -u -r nsapolicy/domains/admin.te policy-1.27.1/domains/admin.te +--- nsapolicy/domains/admin.te 2005-09-12 16:40:28.000000000 -0400 ++++ policy-1.27.1/domains/admin.te 2005-10-21 11:29:09.000000000 -0400 +@@ -4,7 +4,7 @@ + + # sysadm_t is the system administrator domain. + type sysadm_t, domain, privlog, privowner, admin, userdomain, web_client_domain, privhome, etc_writer, privmodule, nscd_client_domain +-ifdef(`direct_sysadm_daemon', `, priv_system_role') ++ifdef(`direct_sysadm_daemon', `, priv_system_role, privrangetrans') + ; dnl end of sysadm_t type declaration + + allow privhome home_root_t:dir { getattr search }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/misc/kernel.te policy-1.27.1/domains/misc/kernel.te --- nsapolicy/domains/misc/kernel.te 2005-09-16 11:17:08.000000000 -0400 +++ policy-1.27.1/domains/misc/kernel.te 2005-10-13 09:32:32.000000000 -0400 @@ -175,7 +187,16 @@ allow system_crond_t self:capability { dac_read_search chown setgid setuid fowner net_bind_service fsetid }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/fsadm.te policy-1.27.1/domains/program/fsadm.te --- nsapolicy/domains/program/fsadm.te 2005-09-16 11:17:08.000000000 -0400 -+++ policy-1.27.1/domains/program/fsadm.te 2005-09-27 17:14:40.000000000 -0400 ++++ policy-1.27.1/domains/program/fsadm.te 2005-10-21 11:29:24.000000000 -0400 +@@ -12,7 +12,7 @@ + # administration. + # fsadm_exec_t is the type of the corresponding programs. + # +-type fsadm_t, domain, privlog, fs_domain, mlsfileread; ++type fsadm_t, domain, privlog, fs_domain, mlsfileread, mlsfilewrite; + role system_r types fsadm_t; + role sysadm_r types fsadm_t; + @@ -102,10 +102,10 @@ allow fsadm_t kernel_t:system syslog_console; @@ -230,7 +251,16 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/initrc.te policy-1.27.1/domains/program/initrc.te --- nsapolicy/domains/program/initrc.te 2005-09-16 11:17:08.000000000 -0400 -+++ policy-1.27.1/domains/program/initrc.te 2005-10-17 15:59:18.000000000 -0400 ++++ policy-1.27.1/domains/program/initrc.te 2005-10-21 11:29:24.000000000 -0400 +@@ -12,7 +12,7 @@ + # initrc_exec_t is the type of the init program. + # + # do not use privmail for sendmail as it creates a type transition conflict +-type initrc_t, fs_domain, ifdef(`unlimitedRC', `admin, etc_writer, privmem, auth_write, ') domain, privlog, privowner, privmodule, ifdef(`sendmail.te', `', `privmail,') ifdef(`distro_debian', `etc_writer, ') sysctl_kernel_writer, nscd_client_domain, mlsfileread, mlsfilewrite, mlsprocread, mlsprocwrite; ++type initrc_t, fs_domain, ifdef(`unlimitedRC', `admin, etc_writer, privmem, auth_write, ') domain, privlog, privowner, privmodule, ifdef(`sendmail.te', `', `privmail,') ifdef(`distro_debian', `etc_writer, ') sysctl_kernel_writer, nscd_client_domain, mlsfileread, mlsfilewrite, mlsprocread, mlsprocwrite, privrangetrans; + + role system_r types initrc_t; + uses_shlib(initrc_t); @@ -56,6 +56,10 @@ can_create_pty(initrc) @@ -259,7 +289,18 @@ ')dnl end distro_redhat allow initrc_t system_map_t:{ file lnk_file } r_file_perms; -@@ -322,3 +334,9 @@ +@@ -271,6 +283,10 @@ + ifdef(`direct_sysadm_daemon', ` + role_transition sysadm_r initrc_exec_t system_r; + domain_auto_trans(sysadm_t, initrc_exec_t, initrc_t) ++ifdef(`mls_policy', ` ++typeattribute initrc_t mlsrangetrans; ++range_transition sysadm_t initrc_exec_t s0 - s15:c0.c255; ++') + ') + + # +@@ -322,3 +338,9 @@ ifdef(`dbusd.te', ` allow initrc_t system_dbusd_var_run_t:sock_file write; ') @@ -269,6 +310,18 @@ +ifdef(`use_mcs', ` +range_transition sysadm_t initrc_exec_t s0; +') +diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/init.te policy-1.27.1/domains/program/init.te +--- nsapolicy/domains/program/init.te 2005-09-12 16:40:29.000000000 -0400 ++++ policy-1.27.1/domains/program/init.te 2005-10-21 11:29:24.000000000 -0400 +@@ -14,7 +14,7 @@ + # by init during initialization. This pipe is used + # to communicate with init. + # +-type init_t, domain, privlog, sysctl_kernel_writer, nscd_client_domain, mlsrangetrans, mlsfileread, mlsfilewrite; ++type init_t, domain, privlog, sysctl_kernel_writer, nscd_client_domain, mlsrangetrans, mlsfileread, mlsfilewrite, mlsprocwrite; + role system_r types init_t; + uses_shlib(init_t); + type init_exec_t, file_type, sysadmfile, exec_type; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/ldconfig.te policy-1.27.1/domains/program/ldconfig.te --- nsapolicy/domains/program/ldconfig.te 2005-09-12 16:40:28.000000000 -0400 +++ policy-1.27.1/domains/program/ldconfig.te 2005-09-27 17:14:40.000000000 -0400 @@ -353,6 +406,18 @@ +range_transition getty_t login_exec_t s0 - s0:c0.c255; +') +') +diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/logrotate.te policy-1.27.1/domains/program/logrotate.te +--- nsapolicy/domains/program/logrotate.te 2005-09-12 16:40:29.000000000 -0400 ++++ policy-1.27.1/domains/program/logrotate.te 2005-10-21 11:29:24.000000000 -0400 +@@ -13,7 +13,7 @@ + # logrotate_t is the domain for the logrotate program. + # logrotate_exec_t is the type of the corresponding program. + # +-type logrotate_t, domain, privowner, privmail, priv_system_role, nscd_client_domain; ++type logrotate_t, domain, privowner, privmail, priv_system_role, nscd_client_domain, mlsfileread, mlsfilewrite, mlsfileupgrade; + role system_r types logrotate_t; + role sysadm_r types logrotate_t; + uses_shlib(logrotate_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/modutil.te policy-1.27.1/domains/program/modutil.te --- nsapolicy/domains/program/modutil.te 2005-09-12 16:40:29.000000000 -0400 +++ policy-1.27.1/domains/program/modutil.te 2005-09-27 17:14:40.000000000 -0400 @@ -570,6 +635,18 @@ # Use capabilities. allow syslogd_t self:capability { dac_override net_admin net_bind_service sys_resource sys_tty_config }; +diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/tmpreaper.te policy-1.27.1/domains/program/tmpreaper.te +--- nsapolicy/domains/program/tmpreaper.te 2005-09-12 16:40:28.000000000 -0400 ++++ policy-1.27.1/domains/program/tmpreaper.te 2005-10-21 11:29:48.000000000 -0400 +@@ -8,7 +8,7 @@ + # + # Rules for the tmpreaper_t domain. + # +-type tmpreaper_t, domain, privlog; ++type tmpreaper_t, domain, privlog, mlsfileread, mlsfilewrite; + type tmpreaper_exec_t, file_type, sysadmfile, exec_type; + + role system_r types tmpreaper_t; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/alsa.te policy-1.27.1/domains/program/unused/alsa.te --- nsapolicy/domains/program/unused/alsa.te 2005-09-16 11:17:08.000000000 -0400 +++ policy-1.27.1/domains/program/unused/alsa.te 2005-09-27 17:14:40.000000000 -0400 @@ -858,8 +935,21 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/auditd.te policy-1.27.1/domains/program/unused/auditd.te --- nsapolicy/domains/program/unused/auditd.te 2005-09-12 16:40:28.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/auditd.te 2005-09-27 17:14:40.000000000 -0400 -@@ -65,3 +65,5 @@ ++++ policy-1.27.1/domains/program/unused/auditd.te 2005-10-21 11:29:24.000000000 -0400 +@@ -12,6 +12,12 @@ + + daemon_domain(auditd) + ++ifdef(`mls_policy', ` ++# run at the highest MLS level ++typeattribute auditd_t mlsrangetrans; ++range_transition initrc_t auditd_exec_t s15:c0.c255; ++') ++ + allow auditd_t self:netlink_audit_socket { create_netlink_socket_perms nlmsg_relay nlmsg_readpriv }; + allow auditd_t self:unix_dgram_socket create_socket_perms; + allow auditd_t self:capability { audit_write audit_control sys_nice sys_resource }; +@@ -65,3 +71,5 @@ allow auditctl_t privfd:fd use; @@ -1518,7 +1608,16 @@ +allow openct_t etc_t:file r_file_perms; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/pamconsole.te policy-1.27.1/domains/program/unused/pamconsole.te --- nsapolicy/domains/program/unused/pamconsole.te 2005-09-12 16:40:28.000000000 -0400 -+++ policy-1.27.1/domains/program/unused/pamconsole.te 2005-09-27 17:14:40.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/pamconsole.te 2005-10-21 11:29:39.000000000 -0400 +@@ -3,7 +3,7 @@ + # + # pam_console_apply + +-daemon_base_domain(pam_console, `, nscd_client_domain, mlsfileread') ++daemon_base_domain(pam_console, `, nscd_client_domain, mlsfileread, mlsfilewrite') + + type pam_var_console_t, file_type, sysadmfile; + @@ -25,6 +25,7 @@ # for /var/run/console.lock checking allow pam_console_t { var_t var_run_t }:dir search; @@ -1958,6 +2057,27 @@ +allow gssd_t user_tmpfile:file write; +') +} +diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/rpm.te policy-1.27.1/domains/program/unused/rpm.te +--- nsapolicy/domains/program/unused/rpm.te 2005-09-16 11:17:09.000000000 -0400 ++++ policy-1.27.1/domains/program/unused/rpm.te 2005-10-21 11:29:48.000000000 -0400 +@@ -10,7 +10,7 @@ + # rpm_log_t is the type for rpm log files (/var/log/rpmpkgs*) + # rpm_var_lib_t is the type for rpm files in /var/lib + # +-type rpm_t, domain, admin, etc_writer, privlog, privowner, privmem, priv_system_role, fs_domain, privfd; ++type rpm_t, domain, admin, etc_writer, privlog, privowner, privmem, priv_system_role, fs_domain, privfd, mlsfileread, mlsfilewrite, mlsfileupgrade; + role system_r types rpm_t; + uses_shlib(rpm_t) + type rpm_exec_t, file_type, sysadmfile, exec_type; +@@ -114,7 +114,7 @@ + + allow { insmod_t depmod_t } rpm_t:fifo_file rw_file_perms; + +-type rpm_script_t, domain, admin, etc_writer, privlog, privowner, privmodule, privmem, fs_domain, privfd, privrole, priv_system_role; ++type rpm_script_t, domain, admin, etc_writer, privlog, privowner, privmodule, privmem, fs_domain, privfd, privrole, priv_system_role, mlsfileread, mlsfilewrite; + # policy for rpm scriptlet + role system_r types rpm_script_t; + uses_shlib(rpm_script_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/rsync.te policy-1.27.1/domains/program/unused/rsync.te --- nsapolicy/domains/program/unused/rsync.te 2005-09-16 11:17:09.000000000 -0400 +++ policy-1.27.1/domains/program/unused/rsync.te 2005-10-11 12:50:03.000000000 -0400 @@ -2472,7 +2592,7 @@ /etc/ypserv\.conf -- system_u:object_r:ypserv_conf_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/types.fc policy-1.27.1/file_contexts/types.fc --- nsapolicy/file_contexts/types.fc 2005-09-16 11:17:10.000000000 -0400 -+++ policy-1.27.1/file_contexts/types.fc 2005-10-15 14:02:25.000000000 -0400 ++++ policy-1.27.1/file_contexts/types.fc 2005-10-21 11:29:48.000000000 -0400 @@ -133,6 +133,7 @@ /dev/dcbri[0-9]+ -c system_u:object_r:tty_device_t /dev/irlpt[0-9]+ -c system_u:object_r:printer_device_t Index: selinux-policy-targeted.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/devel/selinux-policy-targeted.spec,v retrieving revision 1.393 retrieving revision 1.394 diff -u -r1.393 -r1.394 --- selinux-policy-targeted.spec 20 Oct 2005 19:14:20 -0000 1.393 +++ selinux-policy-targeted.spec 21 Oct 2005 18:20:58 -0000 1.394 @@ -9,14 +9,14 @@ Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} -Version: 1.27.1 -Release: 22 +Version: 1.27.2 +Release: 1 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz Source1: booleans BuildRoot: %{_tmppath}/%{name}-buildroot -Patch: policy-20050916.patch +Patch: policy-20051021.patch Patch1: policy-%{type}.patch Patch2: policy-mcs.patch Patch3: policy-mcsroot.patch @@ -248,6 +248,31 @@ exit 0 %changelog +* Fri Oct 21 2005 Dan Walsh 1.27.2-1 +- Update to latest from NSA + * Merged patch from Chad Hanson. Modified MLS constraints. + Provided comments for the MLS attributes. + * Merged two patches from Thomas Bleher which made some minor + fixes and cleanups. + * Merged patches from Russell Coker. Added comments to some of the + MLS attributes. Added the secure_mode_insmod boolean to determine + whether the system permits loading policy, setting enforcing mode, + and changing boolean values. Made minor fixes for the cdrecord_domain + macro, application_domain, newrole_domain, and daemon_base_domain + macros. Added rules to allow the mail server to access the user + home directories in the targeted policy and allows the postfix + showq program to do DNS lookups. Minor fixes for the MCS + policy. Made other minor fixes and cleanups. + * Merged patch from Dan Walsh. Added opencd, pegasus, readahead, + and roundup policies. Created can_access_pty macro to handle pty + output. Created nsswithch_domain macro for domains using + nsswitch. Added mcs transition rules. Removed mqueue and added + capifs genfscon entries. Added dhcpd and pegasus ports. Added + domain transitions from login domains to pam_console and alsa + domains. Added rules to allow the httpd and squid domains to + relay more protocols. For the targeted policy, removed sysadm_r + role from unconfined_t. Made other fixes and cleanups. + * Thu Oct 20 2005 Dan Walsh 1.27.1-22 - Fix to make postfix read spamassasin files Index: sources =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/devel/sources,v retrieving revision 1.124 retrieving revision 1.125 diff -u -r1.124 -r1.125 --- sources 16 Sep 2005 15:58:05 -0000 1.124 +++ sources 21 Oct 2005 18:20:58 -0000 1.125 @@ -1 +1 @@ -ea5c830df3d0627a1b67ce1bec40ada2 policy-1.27.1.tgz +7a3f5b1224a4d1475fb146b2fb6950bc policy-1.27.2.tgz From fedora-cvs-commits at redhat.com Fri Oct 21 18:23:59 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 14:23:59 -0400 Subject: rpms/selinux-policy-strict/devel policy-20051021.patch,NONE,1.1 Message-ID: <200510211823.j9LINx8W004540@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-strict/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv4487 Added Files: policy-20051021.patch Log Message: * Fri Oct 21 2005 Dan Walsh 1.27.2-1 - Update to latest from NSA * Merged patch from Chad Hanson. Modified MLS constraints. Provided comments for the MLS attributes. * Merged two patches from Thomas Bleher which made some minor fixes and cleanups. * Merged patches from Russell Coker. Added comments to some of the MLS attributes. Added the secure_mode_insmod boolean to determine whether the system permits loading policy, setting enforcing mode, and changing boolean values. Made minor fixes for the cdrecord_domain macro, application_domain, newrole_domain, and daemon_base_domain macros. Added rules to allow the mail server to access the user home directories in the targeted policy and allows the postfix showq program to do DNS lookups. Minor fixes for the MCS policy. Made other minor fixes and cleanups. * Merged patch from Dan Walsh. Added opencd, pegasus, readahead, and roundup policies. Created can_access_pty macro to handle pty output. Created nsswithch_domain macro for domains using nsswitch. Added mcs transition rules. Removed mqueue and added capifs genfscon entries. Added dhcpd and pegasus ports. Added domain transitions from login domains to pam_console and alsa domains. Added rules to allow the httpd and squid domains to relay more protocols. For the targeted policy, removed sysadm_r role from unconfined_t. Made other fixes and cleanups. policy-20051021.patch: Makefile | 6 attrib.te | 18 +- domains/admin.te | 2 domains/misc/kernel.te | 2 domains/program/fsadm.te | 2 domains/program/ifconfig.te | 2 domains/program/init.te | 2 domains/program/initrc.te | 13 + domains/program/logrotate.te | 2 domains/program/modutil.te | 8 - domains/program/newrole.te | 4 domains/program/restorecon.te | 1 domains/program/setfiles.te | 2 domains/program/ssh.te | 2 domains/program/su.te | 4 domains/program/syslogd.te | 4 domains/program/tmpreaper.te | 2 domains/program/unused/NetworkManager.te | 10 + domains/program/unused/amanda.te | 21 +- domains/program/unused/apache.te | 15 +- domains/program/unused/apmd.te | 13 + domains/program/unused/auditd.te | 6 domains/program/unused/bluetooth.te | 57 +++++++ domains/program/unused/cups.te | 11 - domains/program/unused/dbusd.te | 2 domains/program/unused/dhcpc.te | 3 domains/program/unused/dhcpd.te | 3 domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 3 domains/program/unused/mysqld.te | 6 domains/program/unused/named.te | 17 ++ domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 5 domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 10 + domains/program/unused/ping.te | 2 domains/program/unused/postfix.te | 50 ++++-- domains/program/unused/pppd.te | 17 +- domains/program/unused/rpcd.te | 16 ++ domains/program/unused/rpm.te | 4 domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 3 domains/program/unused/sendmail.te | 3 domains/program/unused/snmpd.te | 1 domains/program/unused/udev.te | 8 - domains/program/unused/webalizer.te | 3 domains/program/unused/xdm.te | 2 domains/program/unused/yppasswdd.te | 40 +++++ file_contexts/distros.fc | 1 file_contexts/program/apache.fc | 2 file_contexts/program/backup.fc | 2 file_contexts/program/bluetooth.fc | 2 file_contexts/program/dhcpc.fc | 1 file_contexts/program/dhcpd.fc | 5 file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 3 file_contexts/program/kudzu.fc | 2 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/yppasswdd.fc | 2 file_contexts/types.fc | 4 genfs_contexts | 1 macros/base_user_macros.te | 6 macros/global_macros.te | 23 --- macros/program/chkpwd_macros.te | 2 macros/program/su_macros.te | 2 man/man8/ftpd_selinux.8 | 19 +- man/man8/httpd_selinux.8 | 9 + man/man8/rsync_selinux.8 | 12 + man/man8/samba_selinux.8 | 9 + mcs | 194 ++++++++------------------ mls | 227 +++++++++++-------------------- targeted/assert.te | 2 targeted/domains/program/sendmail.te | 1 targeted/domains/program/ssh.te | 2 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 7 tunables/distro.tun | 2 tunables/tunable.tun | 4 types/devpts.te | 4 types/file.te | 43 +---- types/network.te | 10 - types/nfs.te | 1 types/security.te | 2 88 files changed, 587 insertions(+), 465 deletions(-) --- NEW FILE policy-20051021.patch --- diff --exclude-from=exclude -N -u -r nsapolicy/attrib.te policy-1.27.2/attrib.te --- nsapolicy/attrib.te 2005-10-21 11:36:15.000000000 -0400 +++ policy-1.27.2/attrib.te 2005-10-21 12:55:51.000000000 -0400 @@ -28,7 +28,8 @@ # # Grant MLS read access to files not dominated by the process Effective SL attribute mlsfileread; -# Grant MLS read access to files dominated by the process Clearance SL +# Grant MLS read access to files which dominate the process Effective SL +# and are dominated by the process Clearance SL attribute mlsfilereadtoclr; # Grant MLS write access to files not equal to the Effective SL attribute mlsfilewrite; @@ -47,7 +48,8 @@ # # Grant MLS read access to packets not dominated by the process Effective SL attribute mlsnetread; -# Grant MLS read access to packets dominated by the process Clearance SL +# Grant MLS read access to packets which dominate the process Effective SL +# and are dominated by the process Clearance SL attribute mlsnetreadtoclr; # Grant MLS write access to packets not equal to the Effective SL attribute mlsnetwrite; @@ -69,7 +71,8 @@ # # Grant MLS read access to IPC objects not dominated by the process Effective SL attribute mlsipcread; -# Grant MLS read access to IPC objects dominated by the process Clearance SL +# Grant MLS read access to IPC objects which dominate the process Effective SL +# and are dominated by the process Clearance SL attribute mlsipcreadtoclr; # Grant MLS write access to IPC objects not equal to the process Effective SL attribute mlsipcwrite; @@ -82,7 +85,8 @@ # # Grant MLS read access to processes not dominated by the process Effective SL attribute mlsprocread; -# Grant MLS read access to processes dominated by the process Clearance SL +# Grant MLS read access to processes which dominate the process Effective SL +# and are dominated by the process Clearance SL attribute mlsprocreadtoclr; # Grant MLS write access to processes not equal to the Effective SL attribute mlsprocwrite; @@ -98,7 +102,8 @@ # # Grant MLS read access to X objects not dominated by the process Effective SL attribute mlsxwinread; -# Grant MLS read access to X objects dominated by the process Clearance SL +# Grant MLS read access to X objects which dominate the process Effective SL +# and are dominated by the process Clearance SL attribute mlsxwinreadtoclr; # Grant MLS write access to X objects not equal to the process Effective SL attribute mlsxwinwrite; @@ -517,6 +522,9 @@ # Attribute to designate unrestricted access attribute unrestricted; +# Attribute to designate can transition to unconfined_t +attribute unconfinedtrans; + # For clients of nscd. attribute nscd_client_domain; diff --exclude-from=exclude -N -u -r nsapolicy/domains/admin.te policy-1.27.2/domains/admin.te --- nsapolicy/domains/admin.te 2005-09-12 16:40:28.000000000 -0400 +++ policy-1.27.2/domains/admin.te 2005-10-21 12:55:51.000000000 -0400 @@ -4,7 +4,7 @@ # sysadm_t is the system administrator domain. type sysadm_t, domain, privlog, privowner, admin, userdomain, web_client_domain, privhome, etc_writer, privmodule, nscd_client_domain -ifdef(`direct_sysadm_daemon', `, priv_system_role') +ifdef(`direct_sysadm_daemon', `, priv_system_role, privrangetrans') ; dnl end of sysadm_t type declaration allow privhome home_root_t:dir { getattr search }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/misc/kernel.te policy-1.27.2/domains/misc/kernel.te --- nsapolicy/domains/misc/kernel.te 2005-09-16 11:17:08.000000000 -0400 +++ policy-1.27.2/domains/misc/kernel.te 2005-10-21 12:55:51.000000000 -0400 @@ -30,7 +30,7 @@ ifdef(`mls_policy', ` # run init with maximum MLS range -range_transition kernel_t init_exec_t s0 - s9:c0.c127; +range_transition kernel_t init_exec_t s0 - s15:c0.c255; ') # Share state with the init process. diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/fsadm.te policy-1.27.2/domains/program/fsadm.te --- nsapolicy/domains/program/fsadm.te 2005-10-21 11:36:15.000000000 -0400 +++ policy-1.27.2/domains/program/fsadm.te 2005-10-21 12:55:51.000000000 -0400 @@ -12,7 +12,7 @@ # administration. # fsadm_exec_t is the type of the corresponding programs. # -type fsadm_t, domain, privlog, fs_domain, mlsfileread; +type fsadm_t, domain, privlog, fs_domain, mlsfileread, mlsfilewrite; role system_r types fsadm_t; role sysadm_r types fsadm_t; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/ifconfig.te policy-1.27.2/domains/program/ifconfig.te --- nsapolicy/domains/program/ifconfig.te 2005-10-21 11:36:15.000000000 -0400 +++ policy-1.27.2/domains/program/ifconfig.te 2005-10-21 12:55:51.000000000 -0400 @@ -61,7 +61,7 @@ # ifconfig attempts to search some sysctl entries. # Do not audit those attempts; comment out these rules if it is desired to # see the denials. -dontaudit ifconfig_t { sysctl_t sysctl_net_t }:dir search; +allow ifconfig_t { sysctl_t sysctl_net_t }:dir search; allow ifconfig_t fs_t:filesystem getattr; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/initrc.te policy-1.27.2/domains/program/initrc.te --- nsapolicy/domains/program/initrc.te 2005-10-21 11:36:15.000000000 -0400 +++ policy-1.27.2/domains/program/initrc.te 2005-10-21 12:55:51.000000000 -0400 @@ -12,7 +12,7 @@ # initrc_exec_t is the type of the init program. # # do not use privmail for sendmail as it creates a type transition conflict -type initrc_t, fs_domain, ifdef(`unlimitedRC', `admin, etc_writer, privmem, auth_write, ') domain, privlog, privowner, privmodule, ifdef(`sendmail.te', `', `privmail,') ifdef(`distro_debian', `etc_writer, ') sysctl_kernel_writer, nscd_client_domain, mlsfileread, mlsfilewrite, mlsprocread, mlsprocwrite; +type initrc_t, fs_domain, ifdef(`unlimitedRC', `admin, etc_writer, privmem, auth_write, ') domain, privlog, privowner, privmodule, ifdef(`sendmail.te', `', `privmail,') ifdef(`distro_debian', `etc_writer, ') sysctl_kernel_writer, nscd_client_domain, mlsfileread, mlsfilewrite, mlsprocread, mlsprocwrite, privrangetrans; role system_r types initrc_t; uses_shlib(initrc_t); @@ -56,6 +56,10 @@ can_create_pty(initrc) tmp_domain(initrc) +# +# Some initscripts generate scripts that they need to execute (ldap) +# +can_exec(initrc_t, initrc_tmp_t) var_run_domain(initrc) allow initrc_t var_run_t:{ file sock_file lnk_file } unlink; @@ -279,6 +283,10 @@ ifdef(`direct_sysadm_daemon', ` role_transition sysadm_r initrc_exec_t system_r; domain_auto_trans(sysadm_t, initrc_exec_t, initrc_t) +ifdef(`mls_policy', ` +typeattribute initrc_t mlsrangetrans; +range_transition sysadm_t initrc_exec_t s0 - s15:c0.c255; +') ') # @@ -333,3 +341,6 @@ # Slapd needs to read cert files from its initscript r_dir_file(initrc_t, cert_t) +ifdef(`use_mcs', ` +range_transition sysadm_t initrc_exec_t s0; +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/init.te policy-1.27.2/domains/program/init.te --- nsapolicy/domains/program/init.te 2005-09-12 16:40:29.000000000 -0400 +++ policy-1.27.2/domains/program/init.te 2005-10-21 12:55:51.000000000 -0400 @@ -14,7 +14,7 @@ # by init during initialization. This pipe is used # to communicate with init. # -type init_t, domain, privlog, sysctl_kernel_writer, nscd_client_domain, mlsrangetrans, mlsfileread, mlsfilewrite; +type init_t, domain, privlog, sysctl_kernel_writer, nscd_client_domain, mlsrangetrans, mlsfileread, mlsfilewrite, mlsprocwrite; role system_r types init_t; uses_shlib(init_t); type init_exec_t, file_type, sysadmfile, exec_type; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/logrotate.te policy-1.27.2/domains/program/logrotate.te --- nsapolicy/domains/program/logrotate.te 2005-09-12 16:40:29.000000000 -0400 +++ policy-1.27.2/domains/program/logrotate.te 2005-10-21 12:55:51.000000000 -0400 @@ -13,7 +13,7 @@ # logrotate_t is the domain for the logrotate program. # logrotate_exec_t is the type of the corresponding program. # -type logrotate_t, domain, privowner, privmail, priv_system_role, nscd_client_domain; +type logrotate_t, domain, privowner, privmail, priv_system_role, nscd_client_domain, mlsfileread, mlsfilewrite, mlsfileupgrade; role system_r types logrotate_t; role sysadm_r types logrotate_t; uses_shlib(logrotate_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/modutil.te policy-1.27.2/domains/program/modutil.te --- nsapolicy/domains/program/modutil.te 2005-10-21 11:36:15.000000000 -0400 +++ policy-1.27.2/domains/program/modutil.te 2005-10-21 13:31:27.000000000 -0400 @@ -82,7 +82,6 @@ bool secure_mode_insmod false; can_ypbind(insmod_t) -if (!secure_mode_insmod) { ifdef(`unlimitedUtils', ` unconfined_domain(insmod_t) @@ -133,7 +132,7 @@ allow insmod_t self:unix_dgram_socket create_socket_perms; allow insmod_t self:unix_stream_socket create_stream_socket_perms; allow insmod_t self:rawip_socket create_socket_perms; -allow insmod_t self:capability { dac_override kill net_raw sys_module sys_tty_config }; +allow insmod_t self:capability { dac_override kill net_raw sys_tty_config }; allow insmod_t domain:process signal; allow insmod_t self:process { fork signal_perms }; allow insmod_t device_t:dir search; @@ -166,7 +165,11 @@ allow insmod_t device_t:dir read; allow insmod_t devpts_t:dir { getattr search }; [...2014 lines suppressed...] +') + diff --exclude-from=exclude -N -u -r nsapolicy/tunables/distro.tun policy-1.27.2/tunables/distro.tun --- nsapolicy/tunables/distro.tun 2005-09-12 16:40:26.000000000 -0400 +++ policy-1.27.2/tunables/distro.tun 2005-10-21 12:55:51.000000000 -0400 @@ -5,7 +5,7 @@ # appropriate ifdefs. -dnl define(`distro_redhat') +define(`distro_redhat') dnl define(`distro_suse') diff --exclude-from=exclude -N -u -r nsapolicy/tunables/tunable.tun policy-1.27.2/tunables/tunable.tun --- nsapolicy/tunables/tunable.tun 2005-09-12 16:40:26.000000000 -0400 +++ policy-1.27.2/tunables/tunable.tun 2005-10-21 12:55:51.000000000 -0400 @@ -1,5 +1,5 @@ # Allow rpm to run unconfined. -dnl define(`unlimitedRPM') +define(`unlimitedRPM') # Allow privileged utilities like hotplug and insmod to run unconfined. dnl define(`unlimitedUtils') @@ -17,7 +17,7 @@ # Do not audit things that we know to be broken but which # are not security risks -dnl define(`hide_broken_symptoms') +define(`hide_broken_symptoms') # Allow user_r to reach sysadm_r via su, sudo, or userhelper. # Otherwise, only staff_r can do so. diff --exclude-from=exclude -N -u -r nsapolicy/types/devpts.te policy-1.27.2/types/devpts.te --- nsapolicy/types/devpts.te 2005-09-12 16:40:26.000000000 -0400 +++ policy-1.27.2/types/devpts.te 2005-10-21 12:55:51.000000000 -0400 @@ -18,4 +18,6 @@ # type devpts_t, mount_point, fs_type; - +ifdef(`targeted_policy', ` +typeattribute devpts_t ttyfile; +') diff --exclude-from=exclude -N -u -r nsapolicy/types/file.te policy-1.27.2/types/file.te --- nsapolicy/types/file.te 2005-10-21 11:36:16.000000000 -0400 +++ policy-1.27.2/types/file.te 2005-10-21 12:55:51.000000000 -0400 @@ -84,6 +84,9 @@ # type etc_t, file_type, sysadmfile; +# etc_mail_t is the type of /etc/mail. +type etc_mail_t, file_type, sysadmfile, usercanread; + # # shadow_t is the type of the /etc/shadow file # @@ -273,9 +276,6 @@ # allow { file_type device_type ttyfile } fs_t:filesystem associate; -# Allow the pty to be associated with the file system. -allow devpts_t self:filesystem associate; - type tmpfs_t, file_type, mount_point, sysadmfile, fs_type; allow { logfile tmpfs_t tmpfile home_type } tmpfs_t:filesystem associate; allow { logfile tmpfile home_type } tmp_t:filesystem associate; @@ -284,29 +284,13 @@ ') type autofs_t, fs_type, noexattrfile, sysadmfile; -allow autofs_t self:filesystem associate; - type usbdevfs_t, fs_type, mount_point, noexattrfile, sysadmfile; -allow usbdevfs_t self:filesystem associate; - type sysfs_t, mount_point, fs_type, sysadmfile; -allow sysfs_t self:filesystem associate; - type iso9660_t, fs_type, noexattrfile, sysadmfile; -allow iso9660_t self:filesystem associate; - type romfs_t, fs_type, sysadmfile; -allow romfs_t self:filesystem associate; - type ramfs_t, fs_type, sysadmfile; -allow ramfs_t self:filesystem associate; - type dosfs_t, fs_type, noexattrfile, sysadmfile; -allow dosfs_t self:filesystem associate; - type hugetlbfs_t, mount_point, fs_type, sysadmfile; -allow hugetlbfs_t self:filesystem associate; - typealias file_t alias mqueue_t; # udev_runtime_t is the type of the udev table file @@ -316,29 +300,26 @@ type krb5_conf_t, file_type, sysadmfile; type cifs_t, fs_type, noexattrfile, sysadmfile; -allow cifs_t self:filesystem associate; - type debugfs_t, fs_type, sysadmfile; -allow debugfs_t self:filesystem associate; - +type configfs_t, fs_type, sysadmfile; type inotifyfs_t, fs_type, sysadmfile; -allow inotifyfs_t self:filesystem associate; - type capifs_t, fs_type, sysadmfile; -allow capifs_t self:filesystem associate; # removable_t is the default type of all removable media type removable_t, file_type, sysadmfile, usercanread; -allow removable_t self:filesystem associate; allow file_type removable_t:filesystem associate; allow file_type noexattrfile:filesystem associate; # Type for anonymous FTP data, used by ftp and rsync -type ftpd_anon_t, file_type, sysadmfile, customizable; -type ftpd_anon_rw_t, file_type, sysadmfile, customizable; - -allow customizable self:filesystem associate; +type public_content_t, file_type, sysadmfile, customizable; +type public_content_rw_t, file_type, sysadmfile, customizable; +typealias public_content_t alias ftpd_anon_t; +typealias public_content_rw_t alias ftpd_anon_rw_t; # type for /tmp/.ICE-unix type ice_tmp_t, file_type, sysadmfile, tmpfile; +# type for /usr/share/hwdata +type hwdata_t, file_type, sysadmfile; +allow { fs_type file_type } self:filesystem associate; + diff --exclude-from=exclude -N -u -r nsapolicy/types/network.te policy-1.27.2/types/network.te --- nsapolicy/types/network.te 2005-10-21 11:36:16.000000000 -0400 +++ policy-1.27.2/types/network.te 2005-10-21 12:55:51.000000000 -0400 @@ -18,7 +18,7 @@ type dhcpd_port_t, port_type, reserved_port_type; type smbd_port_t, port_type, reserved_port_type; type nmbd_port_t, port_type, reserved_port_type; -type http_cache_port_t, port_type, reserved_port_type; +type http_cache_port_t, port_type; type http_port_t, port_type, reserved_port_type; type ipp_port_t, port_type, reserved_port_type; type gopher_port_t, port_type, reserved_port_type; @@ -104,7 +104,7 @@ type printer_port_t, port_type, reserved_port_type; type mysqld_port_t, port_type; type postgresql_port_t, port_type; -type ptal_port_t, port_type, reserved_port_type; +type ptal_port_t, port_type; type howl_port_t, port_type; type dict_port_t, port_type; type syslogd_port_t, port_type, reserved_port_type; @@ -122,10 +122,10 @@ type pegasus_http_port_t, port_type; type pegasus_https_port_t, port_type; type openvpn_port_t, port_type; -type clamd_port_t, port_type, reserved_port_type; +type clamd_port_t, port_type; type transproxy_port_t, port_type; type clockspeed_port_t, port_type; -type pyzor_port_t, port_type, reserved_port_type; +type pyzor_port_t, port_type; type postgrey_port_t, port_type; type asterisk_port_t, port_type; type utcpserver_port_t, port_type; @@ -158,7 +158,7 @@ type telnetd_port_t, port_type, reserved_port_type; type comsat_port_t, port_type, reserved_port_type; type cvs_port_t, port_type; -type dbskkd_port_t, port_type, reserved_port_type; +type dbskkd_port_t, port_type; type inetd_child_port_t, port_type, reserved_port_type; type ktalkd_port_t, port_type, reserved_port_type; type rsync_port_t, port_type, reserved_port_type; diff --exclude-from=exclude -N -u -r nsapolicy/types/nfs.te policy-1.27.2/types/nfs.te --- nsapolicy/types/nfs.te 2005-09-12 16:40:26.000000000 -0400 +++ policy-1.27.2/types/nfs.te 2005-10-21 12:55:51.000000000 -0400 @@ -18,5 +18,4 @@ # # Allow NFS files to be associated with an NFS file system. # -allow nfs_t self:filesystem associate; allow file_type nfs_t:filesystem associate; diff --exclude-from=exclude -N -u -r nsapolicy/types/security.te policy-1.27.2/types/security.te --- nsapolicy/types/security.te 2005-10-21 11:36:16.000000000 -0400 +++ policy-1.27.2/types/security.te 2005-10-21 12:55:51.000000000 -0400 @@ -13,6 +13,8 @@ # applied to selinuxfs inodes. # type security_t, mount_point, fs_type, mlstrustedobject; +dontaudit domain security_t:dir search; +dontaudit domain security_t:file { getattr read }; # # policy_config_t is the type of /etc/security/selinux/* From fedora-cvs-commits at redhat.com Fri Oct 21 18:25:19 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 14:25:19 -0400 Subject: rpms/selinux-policy-targeted/devel policy-20051021.patch,NONE,1.1 Message-ID: <200510211825.j9LIPJV3005162@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-targeted/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv5022 Added Files: policy-20051021.patch Log Message: * Fri Oct 21 2005 Dan Walsh 1.27.2-1 - Update to latest from NSA * Merged patch from Chad Hanson. Modified MLS constraints. Provided comments for the MLS attributes. * Merged two patches from Thomas Bleher which made some minor fixes and cleanups. * Merged patches from Russell Coker. Added comments to some of the MLS attributes. Added the secure_mode_insmod boolean to determine whether the system permits loading policy, setting enforcing mode, and changing boolean values. Made minor fixes for the cdrecord_domain macro, application_domain, newrole_domain, and daemon_base_domain macros. Added rules to allow the mail server to access the user home directories in the targeted policy and allows the postfix showq program to do DNS lookups. Minor fixes for the MCS policy. Made other minor fixes and cleanups. * Merged patch from Dan Walsh. Added opencd, pegasus, readahead, and roundup policies. Created can_access_pty macro to handle pty output. Created nsswithch_domain macro for domains using nsswitch. Added mcs transition rules. Removed mqueue and added capifs genfscon entries. Added dhcpd and pegasus ports. Added domain transitions from login domains to pam_console and alsa domains. Added rules to allow the httpd and squid domains to relay more protocols. For the targeted policy, removed sysadm_r role from unconfined_t. Made other fixes and cleanups. policy-20051021.patch: Makefile | 6 attrib.te | 18 +- domains/admin.te | 2 domains/misc/kernel.te | 2 domains/program/fsadm.te | 2 domains/program/ifconfig.te | 2 domains/program/init.te | 2 domains/program/initrc.te | 13 + domains/program/logrotate.te | 2 domains/program/modutil.te | 8 - domains/program/newrole.te | 4 domains/program/restorecon.te | 1 domains/program/setfiles.te | 2 domains/program/ssh.te | 2 domains/program/su.te | 4 domains/program/syslogd.te | 4 domains/program/tmpreaper.te | 2 domains/program/unused/NetworkManager.te | 10 + domains/program/unused/amanda.te | 21 +- domains/program/unused/apache.te | 15 +- domains/program/unused/apmd.te | 13 + domains/program/unused/auditd.te | 6 domains/program/unused/bluetooth.te | 57 +++++++ domains/program/unused/cups.te | 11 - domains/program/unused/dbusd.te | 2 domains/program/unused/dhcpc.te | 3 domains/program/unused/dhcpd.te | 3 domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 3 domains/program/unused/mysqld.te | 6 domains/program/unused/named.te | 17 ++ domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 5 domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 10 + domains/program/unused/ping.te | 2 domains/program/unused/postfix.te | 50 ++++-- domains/program/unused/pppd.te | 17 +- domains/program/unused/rpcd.te | 16 ++ domains/program/unused/rpm.te | 4 domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 3 domains/program/unused/sendmail.te | 3 domains/program/unused/snmpd.te | 1 domains/program/unused/udev.te | 8 - domains/program/unused/webalizer.te | 3 domains/program/unused/xdm.te | 2 domains/program/unused/yppasswdd.te | 40 +++++ file_contexts/distros.fc | 1 file_contexts/program/apache.fc | 2 file_contexts/program/backup.fc | 2 file_contexts/program/bluetooth.fc | 2 file_contexts/program/dhcpc.fc | 1 file_contexts/program/dhcpd.fc | 5 file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 3 file_contexts/program/kudzu.fc | 2 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/yppasswdd.fc | 2 file_contexts/types.fc | 4 genfs_contexts | 1 macros/base_user_macros.te | 6 macros/global_macros.te | 23 --- macros/program/chkpwd_macros.te | 2 macros/program/su_macros.te | 2 man/man8/ftpd_selinux.8 | 19 +- man/man8/httpd_selinux.8 | 9 + man/man8/rsync_selinux.8 | 12 + man/man8/samba_selinux.8 | 9 + mcs | 194 ++++++++------------------ mls | 227 +++++++++++-------------------- targeted/assert.te | 2 targeted/domains/program/sendmail.te | 1 targeted/domains/program/ssh.te | 2 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 7 tunables/distro.tun | 2 tunables/tunable.tun | 4 types/devpts.te | 4 types/file.te | 43 +---- types/network.te | 10 - types/nfs.te | 1 types/security.te | 2 88 files changed, 587 insertions(+), 465 deletions(-) --- NEW FILE policy-20051021.patch --- diff --exclude-from=exclude -N -u -r nsapolicy/attrib.te policy-1.27.2/attrib.te --- nsapolicy/attrib.te 2005-10-21 11:36:15.000000000 -0400 +++ policy-1.27.2/attrib.te 2005-10-21 12:55:51.000000000 -0400 @@ -28,7 +28,8 @@ # # Grant MLS read access to files not dominated by the process Effective SL attribute mlsfileread; -# Grant MLS read access to files dominated by the process Clearance SL +# Grant MLS read access to files which dominate the process Effective SL +# and are dominated by the process Clearance SL attribute mlsfilereadtoclr; # Grant MLS write access to files not equal to the Effective SL attribute mlsfilewrite; @@ -47,7 +48,8 @@ # # Grant MLS read access to packets not dominated by the process Effective SL attribute mlsnetread; -# Grant MLS read access to packets dominated by the process Clearance SL +# Grant MLS read access to packets which dominate the process Effective SL +# and are dominated by the process Clearance SL attribute mlsnetreadtoclr; # Grant MLS write access to packets not equal to the Effective SL attribute mlsnetwrite; @@ -69,7 +71,8 @@ # # Grant MLS read access to IPC objects not dominated by the process Effective SL attribute mlsipcread; -# Grant MLS read access to IPC objects dominated by the process Clearance SL +# Grant MLS read access to IPC objects which dominate the process Effective SL +# and are dominated by the process Clearance SL attribute mlsipcreadtoclr; # Grant MLS write access to IPC objects not equal to the process Effective SL attribute mlsipcwrite; @@ -82,7 +85,8 @@ # # Grant MLS read access to processes not dominated by the process Effective SL attribute mlsprocread; -# Grant MLS read access to processes dominated by the process Clearance SL +# Grant MLS read access to processes which dominate the process Effective SL +# and are dominated by the process Clearance SL attribute mlsprocreadtoclr; # Grant MLS write access to processes not equal to the Effective SL attribute mlsprocwrite; @@ -98,7 +102,8 @@ # # Grant MLS read access to X objects not dominated by the process Effective SL attribute mlsxwinread; -# Grant MLS read access to X objects dominated by the process Clearance SL +# Grant MLS read access to X objects which dominate the process Effective SL +# and are dominated by the process Clearance SL attribute mlsxwinreadtoclr; # Grant MLS write access to X objects not equal to the process Effective SL attribute mlsxwinwrite; @@ -517,6 +522,9 @@ # Attribute to designate unrestricted access attribute unrestricted; +# Attribute to designate can transition to unconfined_t +attribute unconfinedtrans; + # For clients of nscd. attribute nscd_client_domain; diff --exclude-from=exclude -N -u -r nsapolicy/domains/admin.te policy-1.27.2/domains/admin.te --- nsapolicy/domains/admin.te 2005-09-12 16:40:28.000000000 -0400 +++ policy-1.27.2/domains/admin.te 2005-10-21 12:55:51.000000000 -0400 @@ -4,7 +4,7 @@ # sysadm_t is the system administrator domain. type sysadm_t, domain, privlog, privowner, admin, userdomain, web_client_domain, privhome, etc_writer, privmodule, nscd_client_domain -ifdef(`direct_sysadm_daemon', `, priv_system_role') +ifdef(`direct_sysadm_daemon', `, priv_system_role, privrangetrans') ; dnl end of sysadm_t type declaration allow privhome home_root_t:dir { getattr search }; diff --exclude-from=exclude -N -u -r nsapolicy/domains/misc/kernel.te policy-1.27.2/domains/misc/kernel.te --- nsapolicy/domains/misc/kernel.te 2005-09-16 11:17:08.000000000 -0400 +++ policy-1.27.2/domains/misc/kernel.te 2005-10-21 12:55:51.000000000 -0400 @@ -30,7 +30,7 @@ ifdef(`mls_policy', ` # run init with maximum MLS range -range_transition kernel_t init_exec_t s0 - s9:c0.c127; +range_transition kernel_t init_exec_t s0 - s15:c0.c255; ') # Share state with the init process. diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/fsadm.te policy-1.27.2/domains/program/fsadm.te --- nsapolicy/domains/program/fsadm.te 2005-10-21 11:36:15.000000000 -0400 +++ policy-1.27.2/domains/program/fsadm.te 2005-10-21 12:55:51.000000000 -0400 @@ -12,7 +12,7 @@ # administration. # fsadm_exec_t is the type of the corresponding programs. # -type fsadm_t, domain, privlog, fs_domain, mlsfileread; +type fsadm_t, domain, privlog, fs_domain, mlsfileread, mlsfilewrite; role system_r types fsadm_t; role sysadm_r types fsadm_t; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/ifconfig.te policy-1.27.2/domains/program/ifconfig.te --- nsapolicy/domains/program/ifconfig.te 2005-10-21 11:36:15.000000000 -0400 +++ policy-1.27.2/domains/program/ifconfig.te 2005-10-21 12:55:51.000000000 -0400 @@ -61,7 +61,7 @@ # ifconfig attempts to search some sysctl entries. # Do not audit those attempts; comment out these rules if it is desired to # see the denials. -dontaudit ifconfig_t { sysctl_t sysctl_net_t }:dir search; +allow ifconfig_t { sysctl_t sysctl_net_t }:dir search; allow ifconfig_t fs_t:filesystem getattr; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/initrc.te policy-1.27.2/domains/program/initrc.te --- nsapolicy/domains/program/initrc.te 2005-10-21 11:36:15.000000000 -0400 +++ policy-1.27.2/domains/program/initrc.te 2005-10-21 12:55:51.000000000 -0400 @@ -12,7 +12,7 @@ # initrc_exec_t is the type of the init program. # # do not use privmail for sendmail as it creates a type transition conflict -type initrc_t, fs_domain, ifdef(`unlimitedRC', `admin, etc_writer, privmem, auth_write, ') domain, privlog, privowner, privmodule, ifdef(`sendmail.te', `', `privmail,') ifdef(`distro_debian', `etc_writer, ') sysctl_kernel_writer, nscd_client_domain, mlsfileread, mlsfilewrite, mlsprocread, mlsprocwrite; +type initrc_t, fs_domain, ifdef(`unlimitedRC', `admin, etc_writer, privmem, auth_write, ') domain, privlog, privowner, privmodule, ifdef(`sendmail.te', `', `privmail,') ifdef(`distro_debian', `etc_writer, ') sysctl_kernel_writer, nscd_client_domain, mlsfileread, mlsfilewrite, mlsprocread, mlsprocwrite, privrangetrans; role system_r types initrc_t; uses_shlib(initrc_t); @@ -56,6 +56,10 @@ can_create_pty(initrc) tmp_domain(initrc) +# +# Some initscripts generate scripts that they need to execute (ldap) +# +can_exec(initrc_t, initrc_tmp_t) var_run_domain(initrc) allow initrc_t var_run_t:{ file sock_file lnk_file } unlink; @@ -279,6 +283,10 @@ ifdef(`direct_sysadm_daemon', ` role_transition sysadm_r initrc_exec_t system_r; domain_auto_trans(sysadm_t, initrc_exec_t, initrc_t) +ifdef(`mls_policy', ` +typeattribute initrc_t mlsrangetrans; +range_transition sysadm_t initrc_exec_t s0 - s15:c0.c255; +') ') # @@ -333,3 +341,6 @@ # Slapd needs to read cert files from its initscript r_dir_file(initrc_t, cert_t) +ifdef(`use_mcs', ` +range_transition sysadm_t initrc_exec_t s0; +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/init.te policy-1.27.2/domains/program/init.te --- nsapolicy/domains/program/init.te 2005-09-12 16:40:29.000000000 -0400 +++ policy-1.27.2/domains/program/init.te 2005-10-21 12:55:51.000000000 -0400 @@ -14,7 +14,7 @@ # by init during initialization. This pipe is used # to communicate with init. # -type init_t, domain, privlog, sysctl_kernel_writer, nscd_client_domain, mlsrangetrans, mlsfileread, mlsfilewrite; +type init_t, domain, privlog, sysctl_kernel_writer, nscd_client_domain, mlsrangetrans, mlsfileread, mlsfilewrite, mlsprocwrite; role system_r types init_t; uses_shlib(init_t); type init_exec_t, file_type, sysadmfile, exec_type; diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/logrotate.te policy-1.27.2/domains/program/logrotate.te --- nsapolicy/domains/program/logrotate.te 2005-09-12 16:40:29.000000000 -0400 +++ policy-1.27.2/domains/program/logrotate.te 2005-10-21 12:55:51.000000000 -0400 @@ -13,7 +13,7 @@ # logrotate_t is the domain for the logrotate program. # logrotate_exec_t is the type of the corresponding program. # -type logrotate_t, domain, privowner, privmail, priv_system_role, nscd_client_domain; +type logrotate_t, domain, privowner, privmail, priv_system_role, nscd_client_domain, mlsfileread, mlsfilewrite, mlsfileupgrade; role system_r types logrotate_t; role sysadm_r types logrotate_t; uses_shlib(logrotate_t) diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/modutil.te policy-1.27.2/domains/program/modutil.te --- nsapolicy/domains/program/modutil.te 2005-10-21 11:36:15.000000000 -0400 +++ policy-1.27.2/domains/program/modutil.te 2005-10-21 13:31:27.000000000 -0400 @@ -82,7 +82,6 @@ bool secure_mode_insmod false; can_ypbind(insmod_t) -if (!secure_mode_insmod) { ifdef(`unlimitedUtils', ` unconfined_domain(insmod_t) @@ -133,7 +132,7 @@ allow insmod_t self:unix_dgram_socket create_socket_perms; allow insmod_t self:unix_stream_socket create_stream_socket_perms; allow insmod_t self:rawip_socket create_socket_perms; -allow insmod_t self:capability { dac_override kill net_raw sys_module sys_tty_config }; +allow insmod_t self:capability { dac_override kill net_raw sys_tty_config }; allow insmod_t domain:process signal; allow insmod_t self:process { fork signal_perms }; allow insmod_t device_t:dir search; @@ -166,7 +165,11 @@ allow insmod_t device_t:dir read; allow insmod_t devpts_t:dir { getattr search }; [...2014 lines suppressed...] +') + diff --exclude-from=exclude -N -u -r nsapolicy/tunables/distro.tun policy-1.27.2/tunables/distro.tun --- nsapolicy/tunables/distro.tun 2005-09-12 16:40:26.000000000 -0400 +++ policy-1.27.2/tunables/distro.tun 2005-10-21 12:55:51.000000000 -0400 @@ -5,7 +5,7 @@ # appropriate ifdefs. -dnl define(`distro_redhat') +define(`distro_redhat') dnl define(`distro_suse') diff --exclude-from=exclude -N -u -r nsapolicy/tunables/tunable.tun policy-1.27.2/tunables/tunable.tun --- nsapolicy/tunables/tunable.tun 2005-09-12 16:40:26.000000000 -0400 +++ policy-1.27.2/tunables/tunable.tun 2005-10-21 12:55:51.000000000 -0400 @@ -1,5 +1,5 @@ # Allow rpm to run unconfined. -dnl define(`unlimitedRPM') +define(`unlimitedRPM') # Allow privileged utilities like hotplug and insmod to run unconfined. dnl define(`unlimitedUtils') @@ -17,7 +17,7 @@ # Do not audit things that we know to be broken but which # are not security risks -dnl define(`hide_broken_symptoms') +define(`hide_broken_symptoms') # Allow user_r to reach sysadm_r via su, sudo, or userhelper. # Otherwise, only staff_r can do so. diff --exclude-from=exclude -N -u -r nsapolicy/types/devpts.te policy-1.27.2/types/devpts.te --- nsapolicy/types/devpts.te 2005-09-12 16:40:26.000000000 -0400 +++ policy-1.27.2/types/devpts.te 2005-10-21 12:55:51.000000000 -0400 @@ -18,4 +18,6 @@ # type devpts_t, mount_point, fs_type; - +ifdef(`targeted_policy', ` +typeattribute devpts_t ttyfile; +') diff --exclude-from=exclude -N -u -r nsapolicy/types/file.te policy-1.27.2/types/file.te --- nsapolicy/types/file.te 2005-10-21 11:36:16.000000000 -0400 +++ policy-1.27.2/types/file.te 2005-10-21 12:55:51.000000000 -0400 @@ -84,6 +84,9 @@ # type etc_t, file_type, sysadmfile; +# etc_mail_t is the type of /etc/mail. +type etc_mail_t, file_type, sysadmfile, usercanread; + # # shadow_t is the type of the /etc/shadow file # @@ -273,9 +276,6 @@ # allow { file_type device_type ttyfile } fs_t:filesystem associate; -# Allow the pty to be associated with the file system. -allow devpts_t self:filesystem associate; - type tmpfs_t, file_type, mount_point, sysadmfile, fs_type; allow { logfile tmpfs_t tmpfile home_type } tmpfs_t:filesystem associate; allow { logfile tmpfile home_type } tmp_t:filesystem associate; @@ -284,29 +284,13 @@ ') type autofs_t, fs_type, noexattrfile, sysadmfile; -allow autofs_t self:filesystem associate; - type usbdevfs_t, fs_type, mount_point, noexattrfile, sysadmfile; -allow usbdevfs_t self:filesystem associate; - type sysfs_t, mount_point, fs_type, sysadmfile; -allow sysfs_t self:filesystem associate; - type iso9660_t, fs_type, noexattrfile, sysadmfile; -allow iso9660_t self:filesystem associate; - type romfs_t, fs_type, sysadmfile; -allow romfs_t self:filesystem associate; - type ramfs_t, fs_type, sysadmfile; -allow ramfs_t self:filesystem associate; - type dosfs_t, fs_type, noexattrfile, sysadmfile; -allow dosfs_t self:filesystem associate; - type hugetlbfs_t, mount_point, fs_type, sysadmfile; -allow hugetlbfs_t self:filesystem associate; - typealias file_t alias mqueue_t; # udev_runtime_t is the type of the udev table file @@ -316,29 +300,26 @@ type krb5_conf_t, file_type, sysadmfile; type cifs_t, fs_type, noexattrfile, sysadmfile; -allow cifs_t self:filesystem associate; - type debugfs_t, fs_type, sysadmfile; -allow debugfs_t self:filesystem associate; - +type configfs_t, fs_type, sysadmfile; type inotifyfs_t, fs_type, sysadmfile; -allow inotifyfs_t self:filesystem associate; - type capifs_t, fs_type, sysadmfile; -allow capifs_t self:filesystem associate; # removable_t is the default type of all removable media type removable_t, file_type, sysadmfile, usercanread; -allow removable_t self:filesystem associate; allow file_type removable_t:filesystem associate; allow file_type noexattrfile:filesystem associate; # Type for anonymous FTP data, used by ftp and rsync -type ftpd_anon_t, file_type, sysadmfile, customizable; -type ftpd_anon_rw_t, file_type, sysadmfile, customizable; - -allow customizable self:filesystem associate; +type public_content_t, file_type, sysadmfile, customizable; +type public_content_rw_t, file_type, sysadmfile, customizable; +typealias public_content_t alias ftpd_anon_t; +typealias public_content_rw_t alias ftpd_anon_rw_t; # type for /tmp/.ICE-unix type ice_tmp_t, file_type, sysadmfile, tmpfile; +# type for /usr/share/hwdata +type hwdata_t, file_type, sysadmfile; +allow { fs_type file_type } self:filesystem associate; + diff --exclude-from=exclude -N -u -r nsapolicy/types/network.te policy-1.27.2/types/network.te --- nsapolicy/types/network.te 2005-10-21 11:36:16.000000000 -0400 +++ policy-1.27.2/types/network.te 2005-10-21 12:55:51.000000000 -0400 @@ -18,7 +18,7 @@ type dhcpd_port_t, port_type, reserved_port_type; type smbd_port_t, port_type, reserved_port_type; type nmbd_port_t, port_type, reserved_port_type; -type http_cache_port_t, port_type, reserved_port_type; +type http_cache_port_t, port_type; type http_port_t, port_type, reserved_port_type; type ipp_port_t, port_type, reserved_port_type; type gopher_port_t, port_type, reserved_port_type; @@ -104,7 +104,7 @@ type printer_port_t, port_type, reserved_port_type; type mysqld_port_t, port_type; type postgresql_port_t, port_type; -type ptal_port_t, port_type, reserved_port_type; +type ptal_port_t, port_type; type howl_port_t, port_type; type dict_port_t, port_type; type syslogd_port_t, port_type, reserved_port_type; @@ -122,10 +122,10 @@ type pegasus_http_port_t, port_type; type pegasus_https_port_t, port_type; type openvpn_port_t, port_type; -type clamd_port_t, port_type, reserved_port_type; +type clamd_port_t, port_type; type transproxy_port_t, port_type; type clockspeed_port_t, port_type; -type pyzor_port_t, port_type, reserved_port_type; +type pyzor_port_t, port_type; type postgrey_port_t, port_type; type asterisk_port_t, port_type; type utcpserver_port_t, port_type; @@ -158,7 +158,7 @@ type telnetd_port_t, port_type, reserved_port_type; type comsat_port_t, port_type, reserved_port_type; type cvs_port_t, port_type; -type dbskkd_port_t, port_type, reserved_port_type; +type dbskkd_port_t, port_type; type inetd_child_port_t, port_type, reserved_port_type; type ktalkd_port_t, port_type, reserved_port_type; type rsync_port_t, port_type, reserved_port_type; diff --exclude-from=exclude -N -u -r nsapolicy/types/nfs.te policy-1.27.2/types/nfs.te --- nsapolicy/types/nfs.te 2005-09-12 16:40:26.000000000 -0400 +++ policy-1.27.2/types/nfs.te 2005-10-21 12:55:51.000000000 -0400 @@ -18,5 +18,4 @@ # # Allow NFS files to be associated with an NFS file system. # -allow nfs_t self:filesystem associate; allow file_type nfs_t:filesystem associate; diff --exclude-from=exclude -N -u -r nsapolicy/types/security.te policy-1.27.2/types/security.te --- nsapolicy/types/security.te 2005-10-21 11:36:16.000000000 -0400 +++ policy-1.27.2/types/security.te 2005-10-21 12:55:51.000000000 -0400 @@ -13,6 +13,8 @@ # applied to selinuxfs inodes. # type security_t, mount_point, fs_type, mlstrustedobject; +dontaudit domain security_t:dir search; +dontaudit domain security_t:file { getattr read }; # # policy_config_t is the type of /etc/security/selinux/* From fedora-cvs-commits at redhat.com Fri Oct 21 18:26:50 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 14:26:50 -0400 Subject: rpms/eclipse/devel eclipse-libswt-mozilla.patch,1.8,1.9 Message-ID: <200510211826.j9LIQoUN005949@cvs.devel.redhat.com> Author: overholt Update of /cvs/dist/rpms/eclipse/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv5846 Modified Files: eclipse-libswt-mozilla.patch Log Message: change nspr back eclipse-libswt-mozilla.patch: build.sh | 14 ++++++++++++++ 1 files changed, 14 insertions(+) Index: eclipse-libswt-mozilla.patch =================================================================== RCS file: /cvs/dist/rpms/eclipse/devel/eclipse-libswt-mozilla.patch,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- eclipse-libswt-mozilla.patch 23 Aug 2005 14:18:01 -0000 1.8 +++ eclipse-libswt-mozilla.patch 21 Oct 2005 18:26:45 -0000 1.9 @@ -9,7 +9,7 @@ + -I/usr/include/mozilla-1.7.11 \ + -I/usr/include/mozilla-1.7.11/xpcom \ + -I/usr/include/mozilla-1.7.11/string \ -+ -I/usr/include/nspr4 \ ++ -I/usr/include/mozilla-1.7.11/nspr \ + -I/usr/include/mozilla-1.7.11/embed_base \ + -I/usr/include/mozilla-1.7.11/gfx" + GECKO_LIBS="\ From fedora-cvs-commits at redhat.com Fri Oct 21 18:40:10 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 14:40:10 -0400 Subject: rpms/libsepol/devel .cvsignore, 1.59, 1.60 libsepol.spec, 1.79, 1.80 sources, 1.60, 1.61 Message-ID: <200510211840.j9LIeANe009752@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libsepol/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv9726 Modified Files: .cvsignore libsepol.spec sources Log Message: * Fri Oct 21 2005 Dan Walsh 1.9.25-1 - Upgrade to latest from NSA * Merged users cleanup patch from Ivan Gyurdiev. * Merged user record memory leak fix from Ivan Gyurdiev. * Merged reorganize users patch from Ivan Gyurdiev. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/libsepol/devel/.cvsignore,v retrieving revision 1.59 retrieving revision 1.60 diff -u -r1.59 -r1.60 --- .cvsignore 20 Oct 2005 20:23:56 -0000 1.59 +++ .cvsignore 21 Oct 2005 18:40:07 -0000 1.60 @@ -56,3 +56,4 @@ libsepol-1.9.19.tgz libsepol-1.9.21.tgz libsepol-1.9.23.tgz +libsepol-1.9.25.tgz Index: libsepol.spec =================================================================== RCS file: /cvs/dist/rpms/libsepol/devel/libsepol.spec,v retrieving revision 1.79 retrieving revision 1.80 diff -u -r1.79 -r1.80 --- libsepol.spec 21 Oct 2005 14:51:33 -0000 1.79 +++ libsepol.spec 21 Oct 2005 18:40:07 -0000 1.80 @@ -1,7 +1,7 @@ Summary: SELinux binary policy manipulation library Name: libsepol -Version: 1.9.23 -Release: 2 +Version: 1.9.25 +Release: 1 License: GPL Group: System Environment/Libraries Source: http://www.nsa.gov/selinux/archives/libsepol-%{version}.tgz @@ -79,10 +79,16 @@ %{_includedir}/sepol/policydb/*.h %changelog -* Fri Oct 21 2005 Dan Walsh 1.9.23-2 +* Fri Oct 21 2005 Dan Walsh 1.9.25-1 +- Upgrade to latest from NSA + * Merged users cleanup patch from Ivan Gyurdiev. + * Merged user record memory leak fix from Ivan Gyurdiev. + * Merged reorganize users patch from Ivan Gyurdiev. + - Need to check for /sbin/telinit * Tue Oct 18 2005 Dan Walsh 1.9.23-1 +- Upgrade to latest from NSA * Added check flag to expand_module() to control assertion and hierarchy checking on expansion. * Reworked check_assertions() and hierarchy_check_constraints() Index: sources =================================================================== RCS file: /cvs/dist/rpms/libsepol/devel/sources,v retrieving revision 1.60 retrieving revision 1.61 diff -u -r1.60 -r1.61 --- sources 20 Oct 2005 20:23:56 -0000 1.60 +++ sources 21 Oct 2005 18:40:07 -0000 1.61 @@ -1 +1 @@ -e4bea847a239b1eeefcc5bbef6ae0775 libsepol-1.9.23.tgz +67b11fff5d6c394fbdab4bed342e40e5 libsepol-1.9.25.tgz From fedora-cvs-commits at redhat.com Fri Oct 21 18:45:43 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 14:45:43 -0400 Subject: rpms/libsemanage/devel .cvsignore, 1.21, 1.22 libsemanage.spec, 1.25, 1.26 sources, 1.22, 1.23 Message-ID: <200510211845.j9LIjh8E010590@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/libsemanage/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv10523 Modified Files: .cvsignore libsemanage.spec sources Log Message: * Fri Oct 21 2005 Dan Walsh 1.3.30-1 - Update from NSA * Fixed policy file leaks in semanage_load_module and semanage_write_module. * Merged further database work from Ivan Gyurdiev. * Fixed bug in semanage_direct_disconnect. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/.cvsignore,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- .cvsignore 21 Oct 2005 14:24:08 -0000 1.21 +++ .cvsignore 21 Oct 2005 18:45:39 -0000 1.22 @@ -18,3 +18,4 @@ libsemanage-1.3.24.tgz libsemanage-1.3.28.tgz libsemanage-1.3.30.tgz +libsemanage-1.3.31.tgz Index: libsemanage.spec =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/libsemanage.spec,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- libsemanage.spec 21 Oct 2005 14:24:08 -0000 1.25 +++ libsemanage.spec 21 Oct 2005 18:45:39 -0000 1.26 @@ -1,7 +1,7 @@ -%define libsepolver 1.9.23-1 +%define libsepolver 1.9.25-1 Summary: SELinux binary policy manipulation library Name: libsemanage -Version: 1.3.30 +Version: 1.3.31 Release: 1 License: GPL Group: System Environment/Libraries Index: sources =================================================================== RCS file: /cvs/dist/rpms/libsemanage/devel/sources,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- sources 21 Oct 2005 14:24:09 -0000 1.22 +++ sources 21 Oct 2005 18:45:39 -0000 1.23 @@ -1 +1 @@ -8461948bb16d40ed1d21257c3ebf1844 libsemanage-1.3.30.tgz +ff2ae015d873ab10d67b55dc189db23a libsemanage-1.3.31.tgz From fedora-cvs-commits at redhat.com Fri Oct 21 18:47:16 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 14:47:16 -0400 Subject: rpms/eclipse/FC-4 eclipse-libswt-mozilla.patch,1.8,1.9 Message-ID: <200510211847.j9LIlGEA011549@cvs.devel.redhat.com> Author: overholt Update of /cvs/dist/rpms/eclipse/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv11494 Modified Files: eclipse-libswt-mozilla.patch Log Message: change nspr back eclipse-libswt-mozilla.patch: build.sh | 14 ++++++++++++++ 1 files changed, 14 insertions(+) Index: eclipse-libswt-mozilla.patch =================================================================== RCS file: /cvs/dist/rpms/eclipse/FC-4/eclipse-libswt-mozilla.patch,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- eclipse-libswt-mozilla.patch 21 Oct 2005 17:38:59 -0000 1.8 +++ eclipse-libswt-mozilla.patch 21 Oct 2005 18:47:12 -0000 1.9 @@ -9,7 +9,7 @@ + -I/usr/include/mozilla-1.7.12 \ + -I/usr/include/mozilla-1.7.12/xpcom \ + -I/usr/include/mozilla-1.7.12/string \ -+ -I/usr/include/nspr4 \ ++ -I/usr/include/mozilla-1.7.11/nspr \ + -I/usr/include/mozilla-1.7.12/embed_base \ + -I/usr/include/mozilla-1.7.12/gfx" + GECKO_LIBS="\ From fedora-cvs-commits at redhat.com Fri Oct 21 18:48:15 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 14:48:15 -0400 Subject: rpms/eclipse/devel eclipse-libswt-mozilla.patch,1.9,1.10 Message-ID: <200510211848.j9LImFRl012226@cvs.devel.redhat.com> Author: overholt Update of /cvs/dist/rpms/eclipse/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv12112 Modified Files: eclipse-libswt-mozilla.patch Log Message: change nspr back eclipse-libswt-mozilla.patch: build.sh | 14 ++++++++++++++ 1 files changed, 14 insertions(+) Index: eclipse-libswt-mozilla.patch =================================================================== RCS file: /cvs/dist/rpms/eclipse/devel/eclipse-libswt-mozilla.patch,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- eclipse-libswt-mozilla.patch 21 Oct 2005 18:26:45 -0000 1.9 +++ eclipse-libswt-mozilla.patch 21 Oct 2005 18:48:10 -0000 1.10 @@ -9,7 +9,7 @@ + -I/usr/include/mozilla-1.7.11 \ + -I/usr/include/mozilla-1.7.11/xpcom \ + -I/usr/include/mozilla-1.7.11/string \ -+ -I/usr/include/mozilla-1.7.11/nspr \ ++ -I/usr/include/nspr4 \ + -I/usr/include/mozilla-1.7.11/embed_base \ + -I/usr/include/mozilla-1.7.11/gfx" + GECKO_LIBS="\ From fedora-cvs-commits at redhat.com Fri Oct 21 18:49:00 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 14:49:00 -0400 Subject: rpms/checkpolicy/devel checkpolicy.spec,1.70,1.71 Message-ID: <200510211849.j9LIn0Re012544@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/checkpolicy/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv12493 Modified Files: checkpolicy.spec Log Message: * Thu Oct 20 2005 Dan Walsh 1.27.16-1 - Latest upgrade from NSA * Removed obsolete cond_check_type_rules() function and call and cond_optimize_lists() call from checkpolicy.c; these are handled during parsing and expansion now. * Updated calls to expand_module for interface change. * Changed checkmodule to verify that expand_module succeeds when building base modules. * Merged module compiler fixes from Joshua Brindle. * Removed direct calls to hierarchy_check_constraints() and check_assertions() from checkpolicy since they are now called internally by expand_module(). Index: checkpolicy.spec =================================================================== RCS file: /cvs/dist/rpms/checkpolicy/devel/checkpolicy.spec,v retrieving revision 1.70 retrieving revision 1.71 diff -u -r1.70 -r1.71 --- checkpolicy.spec 20 Oct 2005 20:34:02 -0000 1.70 +++ checkpolicy.spec 21 Oct 2005 18:48:50 -0000 1.71 @@ -1,4 +1,4 @@ -%define libsepolver 1.9.23-1 +%define libsepolver 1.9.25-1 Summary: SELinux policy compiler Name: checkpolicy Version: 1.27.16 From fedora-cvs-commits at redhat.com Fri Oct 21 18:54:00 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 14:54:00 -0400 Subject: rpms/eclipse-cdt/devel eclipse-cdt.spec,1.24,1.25 Message-ID: <200510211854.j9LIs0JK015389@cvs.devel.redhat.com> Author: overholt Update of /cvs/dist/rpms/eclipse-cdt/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv14566 Modified Files: eclipse-cdt.spec Log Message: * Fri Oct 21 2005 Andrew Overholt 3.0.0_fc-2 - Rebuild against gcc 4.0.2 Index: eclipse-cdt.spec =================================================================== RCS file: /cvs/dist/rpms/eclipse-cdt/devel/eclipse-cdt.spec,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- eclipse-cdt.spec 23 Aug 2005 20:21:54 -0000 1.24 +++ eclipse-cdt.spec 21 Oct 2005 18:53:53 -0000 1.25 @@ -21,7 +21,7 @@ Summary: %{pkg_summary} Name: %{eclipse_name}-cdt Version: %{majmin}.%{micro}_fc -Release: 1 +Release: 2 License: Eclipse Public License - v 1.0 (EPL) Group: Text Editors/Integrated Development Environments (IDE) URL: http://www.eclipse.org/cdt @@ -37,7 +37,7 @@ BuildRequires: eclipse-pde %if %{gcj_support} -BuildRequires: gcc-java >= 4.0.0-1 +BuildRequires: gcc-java >= 4.0.2 BuildRequires: java-1.4.2-gcj-compat-devel >= 1.4.2.0-40jpp_37rh Requires(post,postun): java-1.4.2-gcj-compat >= 1.4.2.0-40jpp_37rh %else @@ -45,7 +45,7 @@ %endif Requires: ctags gdb make -Requires: eclipse-platform >= 3.1.0_fc-1 +Requires: eclipse-platform >= 3.1.0 %if %{gcj_support} ExclusiveArch: %{ix86} x86_64 ppc @@ -214,6 +214,9 @@ %changelog +* Fri Oct 21 2005 Andrew Overholt 3.0.0_fc-2 +- Rebuild against gcc 4.0.2 + * Tue Aug 23 2005 Andrew Overholt 3.0.0_fc-1 - Import new upstream version (3.0). From fedora-cvs-commits at redhat.com Fri Oct 21 18:56:07 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 14:56:07 -0400 Subject: rpms/eclipse-cdt/devel eclipse-cdt.spec,1.25,1.26 Message-ID: <200510211856.j9LIu77Y016524@cvs.devel.redhat.com> Author: overholt Update of /cvs/dist/rpms/eclipse-cdt/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv16460 Modified Files: eclipse-cdt.spec Log Message: bump j-g-c requirement Index: eclipse-cdt.spec =================================================================== RCS file: /cvs/dist/rpms/eclipse-cdt/devel/eclipse-cdt.spec,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- eclipse-cdt.spec 21 Oct 2005 18:53:53 -0000 1.25 +++ eclipse-cdt.spec 21 Oct 2005 18:56:03 -0000 1.26 @@ -38,8 +38,9 @@ BuildRequires: eclipse-pde %if %{gcj_support} BuildRequires: gcc-java >= 4.0.2 -BuildRequires: java-1.4.2-gcj-compat-devel >= 1.4.2.0-40jpp_37rh -Requires(post,postun): java-1.4.2-gcj-compat >= 1.4.2.0-40jpp_37rh +BuildRequires: java-gcj-compat-devel >= 1.0.43 +Requires(post): java-gcj-compat >= 1.0.43 +Requires(postun): java-gcj-compat >= 1.0.43 %else BuildRequires: java-devel >= 1.4.2 %endif From fedora-cvs-commits at redhat.com Fri Oct 21 18:59:30 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 14:59:30 -0400 Subject: rpms/eclipse-cdt/FC-4 eclipse-cdt.spec,1.17,1.18 Message-ID: <200510211859.j9LIxUk7018475@cvs.devel.redhat.com> Author: overholt Update of /cvs/dist/rpms/eclipse-cdt/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv18319 Modified Files: eclipse-cdt.spec Log Message: * Fri Oct 21 2005 Andrew Overholt 3.0.0_fc-1.FC4 - Build 3.0.0 for FC4 - Disable native compilation Index: eclipse-cdt.spec =================================================================== RCS file: /cvs/dist/rpms/eclipse-cdt/FC-4/eclipse-cdt.spec,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- eclipse-cdt.spec 23 May 2005 14:23:56 -0000 1.17 +++ eclipse-cdt.spec 21 Oct 2005 18:59:26 -0000 1.18 @@ -1,5 +1,4 @@ Epoch: 1 -ExclusiveArch: i386 x86_64 ppc %define gcj_support 1 %define pkg_summary C/C++ Development Tools (CDT) plugin for Eclipse @@ -21,15 +20,15 @@ Summary: %{pkg_summary} Name: %{eclipse_name}-cdt +# FIXME: when 3.0.1 comes out, make "_fc" part of Release, not Version Version: %{majmin}.%{micro}_fc -Release: 0.M6.7 +Release: 1.FC4 License: Eclipse Public License - v 1.0 (EPL) Group: Text Editors/Integrated Development Environments (IDE) URL: http://www.eclipse.org/cdt Requires: eclipse-platform - -Source0: %{name}-fetched-src-3.0-I200505212125.tar.gz +Source0: %{name}-fetched-src-3.0.0.tar.gz Patch1: %{name}-no-cvs2-patch Patch2: %{name}-platform-build-linux.patch Patch3: %{name}-sdk-build-linux.patch @@ -40,22 +39,27 @@ BuildRequires: eclipse-pde %if %{gcj_support} BuildRequires: gcc-java >= 4.0.0-1 -BuildRequires: java-1.4.2-gcj-compat-devel >= 1.4.2.0-40jpp_24rh -Requires(post,postun): java-1.4.2-gcj-compat >= 1.4.2.0-40jpp_24rh +BuildRequires: java-gcj-compat-devel >= 1.0.33 +Requires(post): java-gcj-compat >= 1.0.33 +Requires(postun): java-gcj-compat >= 1.0.33 %else BuildRequires: java-devel >= 1.4.2 %endif Requires: ctags gdb make -Requires: eclipse-platform >= 3.1.0_fc-0.M7.4 +Requires: eclipse-platform >= 3.1.0 +%if %{gcj_support} +ExclusiveArch: %{ix86} x86_64 ppc +%else +BuildArch: noarch +%endif BuildRoot: %{_tmppath}/%{name}-buildroot %description The eclipse-cdt package contains Eclipse features and plugins that are useful for C and C++ development. - %prep %setup -q -c pushd "org.eclipse.cdt.releng" @@ -97,7 +101,6 @@ java -cp $SDK/startup.jar \ -Duser.home=$homedir \ -Dosgi.install.area=%{eclipse_base} \ - -Dorg.eclipse.core.runtime.ignoreLockFile=true \ org.eclipse.core.launcher.Main \ -application org.eclipse.ant.core.antRunner \ -DjavacFailOnError=true \ @@ -111,24 +114,6 @@ else buildArch=%{eclipse_arch} fi - -%if %{gcj_support} - mkdir native - for file in $(pwd)/results/I.*/*.tar.gz; do - case $file in - */org.eclipse.cdt-*-linux.$buildArch.*) - tar -zx -C native -f $file *.jar - cd native - %ifarch %{ix86} ppc - find-and-aot-compile %{name}-native "-fPIC -fjni -O2" - %else - find-and-aot-compile %{name}-native "-fPIC -fjni -O1" - %endif - mv %{name}-native.tar.gz .. - ;; - esac - done -%endif popd %install @@ -151,43 +136,6 @@ esac done -%if %{gcj_support} - - # Create plugins directory in eclipse lib base - install -d -m755 $RPM_BUILD_ROOT/%{eclipse_lib_base}/plugins - - cd org.eclipse.cdt.releng/native - tar zxf ../%{name}-native.tar.gz - mv %{name}-native/eclipse/plugins/* $RPM_BUILD_ROOT/%{eclipse_lib_base}/plugins - - # Directory to hold all the .jar->.so mapping dbs - install -d -m 755 $RPM_BUILD_ROOT`gcj-dbtool -p %{_libdir}` - install -d -m 755 $RPM_BUILD_ROOT`gcj-dbtool -p %{_libdir}`.d - - # Create the cdt database - gcjdbdir=$RPM_BUILD_ROOT`gcj-dbtool -p %{_libdir}`.d - mkdir -p $gcjdbdir - gcj-dbtool -n $gcjdbdir/%{name}.db 8000 - - # Populate it - for j in `find $RPM_BUILD_ROOT/%{eclipse_base} -name \*.jar`; do - lib=`echo $j | sed "s:%{_datadir}:%{_libdir}:"`.so; - lib=`dirname $lib`/lib`basename $lib`; - ls -l $lib; - if [ -f $lib ]; then - gcj-dbtool -f $gcjdbdir/%{name}.db \ - $j `echo $lib | sed "s:$RPM_BUILD_ROOT/::"`; - fi; - done; - - # FIXME: temporarily disable org.eclipse.cdt.managedbuilder.core_3.0.0/libmngbuildcore.jar.so - # see: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=157123 - mv \ - $RPM_BUILD_ROOT/%{_libdir}/eclipse/plugins/org.eclipse.cdt.managedbuilder.core_3.0.0/libmngbuildcore.jar.so{,.bak} - -%endif - - # We move the libraries to libdir, leaving symlinks behind. And since # zip doesn't preserve file permissions, we must also mark all the .so # files as executable. @@ -204,27 +152,30 @@ done ) +%if %{gcj_support} +#aot-compile-rpm +%endif + %clean rm -rf ${RPM_BUILD_ROOT} %if %{gcj_support} %post -/usr/bin/rebuild-gcj-db %{_libdir} +/usr/bin/rebuild-gcj-db %postun -/usr/bin/rebuild-gcj-db %{_libdir} +/usr/bin/rebuild-gcj-db %endif - %files %defattr(-,root,root) -%if %{gcj_support} -%{eclipse_lib_base}/plugins/org.eclipse.cdt* -%{_libdir}/gcj-4.0.0/classmap.db.d/%{name}.db -%endif %{eclipse_base}/features/org.eclipse.cdt* %{eclipse_base}/plugins/org.eclipse.cdt* - +%{_libdir}/eclipse/plugins/org.eclipse.cdt.core.linux.x86_3.0.0/os/linux/x86/libpty.so +%{_libdir}/eclipse/plugins/org.eclipse.cdt.core.linux.x86_3.0.0/os/linux/x86/libspawner.so +%if %{gcj_support} +#%{_libdir}/gcj/%{name} +%endif # Cannot get dir name org.eclipse.cdt.source.linux.*.x86_2.0.2 to glob # properly. Will fix later @@ -265,6 +216,27 @@ %changelog +* Fri Oct 21 2005 Andrew Overholt 3.0.0_fc-1.FC4 +- Build 3.0.0 for FC4 +- Disable native compilation + +* Tue Aug 23 2005 Andrew Overholt 3.0.0_fc-1 +- Import new upstream version (3.0). + +* Thu Jul 14 2005 Andrew Overholt 3.0.0_fc-0.RC2.1 +- Import new upstream version (3.0RC2). +- Use gbenson's new aot-compile-rpm and change requirements appropriately. +- Re-enable native compilation - let's see what happens. + +* Wed Jun 22 2005 Andrew Overholt 3.0.0_fc-0.M7.1 +- Import new upstream version (3.0M7). +- Remove refactoring/build.properties patch (now unneeeded). + +* Fri Jun 03 2005 Jeff Pound 3.0.0_fc-0.M6.8 +- Patch refactoring/build.properties to include plugin.properties. +- Temporarily move all *.so's to *.so.bak due to native compilation bug. +- Temporarily remove gcj .jar -> .so db population. + * Mon May 23 2005 Andrew Overholt 3.0.0_fc-0.M6.7 - Bring in new I-build to enable jump to Eclipse 3.1M7 and fix some critical issues. From fedora-cvs-commits at redhat.com Fri Oct 21 19:40:36 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 15:40:36 -0400 Subject: rpms/eclipse/FC-4 eclipse-libswt-mozilla.patch,1.9,1.10 Message-ID: <200510211940.j9LJeaPK022288@cvs.devel.redhat.com> Author: overholt Update of /cvs/dist/rpms/eclipse/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv22274 Modified Files: eclipse-libswt-mozilla.patch Log Message: 1.7.11 -> 1.7.12 eclipse-libswt-mozilla.patch: build.sh | 14 ++++++++++++++ 1 files changed, 14 insertions(+) Index: eclipse-libswt-mozilla.patch =================================================================== RCS file: /cvs/dist/rpms/eclipse/FC-4/eclipse-libswt-mozilla.patch,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- eclipse-libswt-mozilla.patch 21 Oct 2005 18:47:12 -0000 1.9 +++ eclipse-libswt-mozilla.patch 21 Oct 2005 19:40:32 -0000 1.10 @@ -9,7 +9,7 @@ + -I/usr/include/mozilla-1.7.12 \ + -I/usr/include/mozilla-1.7.12/xpcom \ + -I/usr/include/mozilla-1.7.12/string \ -+ -I/usr/include/mozilla-1.7.11/nspr \ ++ -I/usr/include/mozilla-1.7.12/nspr \ + -I/usr/include/mozilla-1.7.12/embed_base \ + -I/usr/include/mozilla-1.7.12/gfx" + GECKO_LIBS="\ From fedora-cvs-commits at redhat.com Fri Oct 21 20:13:06 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 16:13:06 -0400 Subject: rpms/fontconfig/devel fontconfig-2.3.2-defaultconfig.patch, 1.1, 1.2 fontconfig.spec, 1.37, 1.38 Message-ID: <200510212013.j9LKD6e8029579@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/fontconfig/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv29349 Modified Files: fontconfig-2.3.2-defaultconfig.patch fontconfig.spec Log Message: Add new Chinese fonts fontconfig-2.3.2-defaultconfig.patch: fonts.conf.in | 103 ++++++++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 82 insertions(+), 21 deletions(-) Index: fontconfig-2.3.2-defaultconfig.patch =================================================================== RCS file: /cvs/dist/rpms/fontconfig/devel/fontconfig-2.3.2-defaultconfig.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- fontconfig-2.3.2-defaultconfig.patch 25 Jul 2005 21:39:09 -0000 1.1 +++ fontconfig-2.3.2-defaultconfig.patch 21 Oct 2005 20:13:00 -0000 1.2 @@ -1,22 +1,26 @@ ---- fontconfig-2.3.2/fonts.conf.in.defaultconfig 2005-04-03 17:07:50.000000000 -0400 -+++ fontconfig-2.3.2/fonts.conf.in 2005-07-22 14:35:46.000000000 -0400 -@@ -78,6 +78,7 @@ +--- fontconfig-2.3.91.cvs20051017/fonts.conf.in.defaultconfig 2005-10-06 22:15:04.000000000 -0400 ++++ fontconfig-2.3.91.cvs20051017/fonts.conf.in 2005-10-21 16:06:27.000000000 -0400 +@@ -78,7 +78,9 @@ Times Nimbus Roman No9 L Luxi Serif + Sazanami Mincho Kochi Mincho ++ AR PL ShanHeiSun Uni AR PL SungtiL GB AR PL Mingti2L Big5 -@@ -97,6 +98,7 @@ + ?????? ?????? +@@ -98,7 +100,9 @@ Albany AMT Nimbus Sans L Luxi Sans + Sazanami Gothic Kochi Gothic ++ AR PL ZenKai Uni AR PL KaitiM GB AR PL KaitiM Big5 -@@ -144,15 +146,37 @@ + ?????? ???????????? +@@ -146,15 +150,37 @@ --> Times @@ -57,7 +61,7 @@ Times New Roman @@ -78,7 +82,7 @@ Courier New -@@ -258,14 +289,22 @@ +@@ -260,16 +293,25 @@ serif @@ -91,21 +95,24 @@ - Nimbus Roman No9 L Times - Frank Ruehl -- Kochi Mincho + KacstQura + Frank Ruehl CLM -+ Lohit Bengali ++ Lohit Bengali + Lohit Gujarati + Lohit Hindi + Lohit Punjabi + Lohit Tamil + Sazanami Mincho -+ Kochi Mincho -+ ZYSong18030 ++ Kochi Mincho ++ ZYSong18030 + MgOpen Canonica + FreeSerif +- Kochi Mincho ++ AR PL ShanHeiSun Uni AR PL SungtiL GB AR PL Mingti2L Big5 ?????? ?????? -@@ -276,19 +315,27 @@ +@@ -279,39 +321,58 @@ sans-serif @@ -118,10 +125,11 @@ - Luxi Sans Nimbus Sans L Helvetica -- Nachlieli + KacstQura -+ Nachlieli CLM -+ Lohit Bengali + Nachlieli +- MgOpen Modata +- FreeSans ++ Lohit Bengali + Lohit Gujarati + Lohit Hindi + Lohit Punjabi @@ -132,14 +140,16 @@ - AR PL KaitiM Big5 ?????? ???????????? - Baekmuk Dotum -+ ZYSong18030 -+ AR PL SungtiL GB -+ AR PL Mingti2L Big5 -+ Baekmuk Gulim ++ MgOpen Modata ++ FreeSans ++ ZYSong18030 ++ AR PL ShanHeiSun Uni ++ AR PL SungtiL GB ++ AR PL Mingti2L Big5 ++ Baekmuk Gulim SimSun - FreeSans -@@ -296,17 +343,27 @@ + monospace @@ -148,26 +158,28 @@ Andale Mono Courier New Cumberland AMT - Luxi Mono -+ KacstQura -+ Miriam Mono CLM -+ Lohit Bengali -+ Lohit Gujarati -+ Lohit Hindi -+ Lohit Punjabi -+ Lohit Tamil +- Luxi Mono ++ KacstQura ++ Miriam Mono CLM ++ Lohit Bengali ++ Lohit Gujarati ++ Lohit Hindi ++ Lohit Punjabi ++ Lohit Tamil Nimbus Mono L Courier - Miriam Mono ++ Sazanami Gothic ++ Kochi Gothic ++ ZYSong18030 ++ AR PL ShanHeiSun Uni ++ AR PL SungtiL GB ++ AR PL Mingti2L Big5 ++ Baekmuk Gulim + FreeMono - Kochi Gothic - AR PL KaitiM GB - Baekmuk Dotum -+ Sazanami Gothic -+ Kochi Gothic -+ ZYSong18030 -+ AR PL SungtiL GB -+ AR PL Mingti2L Big5 -+ Baekmuk Gulim - FreeMono + Index: fontconfig.spec =================================================================== RCS file: /cvs/dist/rpms/fontconfig/devel/fontconfig.spec,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- fontconfig.spec 20 Oct 2005 19:50:21 -0000 1.37 +++ fontconfig.spec 21 Oct 2005 20:13:00 -0000 1.38 @@ -3,7 +3,7 @@ Summary: Font configuration and customization library Name: fontconfig Version: 2.3.91.cvs20051017 -Release: 1 +Release: 2 License: MIT Group: System Environment/Libraries Source: http://fontconfig.org/release/fontconfig-%{version}.tar.gz @@ -134,7 +134,8 @@ %{_mandir}/man3/* %changelog -* Thu Oct 20 2005 Matthias Clasen - 2.3.91.cvs20051017-2 +* Fri Oct 21 2005 Matthias Clasen - 2.3.91.cvs20051017-2 +- Add new Chinese fonts - Fix the 40-blacklist-fonts.conf file to use the documented fonts.conf syntax, and exclude the Hershey fonts by family name. From fedora-cvs-commits at redhat.com Fri Oct 21 20:14:55 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 16:14:55 -0400 Subject: rpms/fontconfig/devel fontconfig.spec,1.38,1.39 Message-ID: <200510212014.j9LKEtjQ029615@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/fontconfig/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv29602 Modified Files: fontconfig.spec Log Message: Cleanup Index: fontconfig.spec =================================================================== RCS file: /cvs/dist/rpms/fontconfig/devel/fontconfig.spec,v retrieving revision 1.38 retrieving revision 1.39 diff -u -r1.38 -r1.39 --- fontconfig.spec 21 Oct 2005 20:13:00 -0000 1.38 +++ fontconfig.spec 21 Oct 2005 20:14:48 -0000 1.39 @@ -13,12 +13,6 @@ Source2: 50-no-hint-fonts.conf Patch1: fontconfig-2.3.91-defaultconfig.patch -# Ignore .fulldir entries from earlier versions 'dircache' fix. -# Patch13: fontconfig-2.1-fulldir.patch - -# Make sure we only parse files ending in .conf in conf.d directories. -# We don't want to parse .rpmsave files. -# Patch15: fontconfig-2.3.2-only-parse-conf-files.patch BuildRequires: freetype-devel >= %{freetype_version} BuildRequires: expat-devel @@ -52,8 +46,6 @@ %setup -q %patch1 -p1 -b .defaultconfig -#%patch13 -p1 -b .fulldir -#%patch15 -p1 -b .only-parse-conf-files %build From fedora-cvs-commits at redhat.com Fri Oct 21 20:18:05 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 16:18:05 -0400 Subject: rpms/kernel/FC-4/configs config-generic, 1.37, 1.37.6.1 config-ia64-generic, 1.4, 1.4.8.1 config-x86-generic, 1.11, 1.11.8.1 config-x86_64-generic, 1.11, 1.11.8.1 Message-ID: <200510212018.j9LKI5rN031138@cvs.devel.redhat.com> Author: linville Update of /cvs/dist/rpms/kernel/FC-4/configs In directory cvs.devel.redhat.com:/tmp/cvs-serv31052/configs Modified Files: Tag: private-linville-jwltest-fc4-21-branch config-generic config-ia64-generic config-x86-generic config-x86_64-generic Log Message: Index: config-generic =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/configs/config-generic,v retrieving revision 1.37 retrieving revision 1.37.6.1 diff -u -r1.37 -r1.37.6.1 --- config-generic 2 Oct 2005 21:15:02 -0000 1.37 +++ config-generic 21 Oct 2005 20:18:01 -0000 1.37.6.1 @@ -1407,7 +1407,7 @@ CONFIG_STALDRV=y # CONFIG_FTAPE is not set # CONFIG_IBM_ASM is not set -# CONFIG_TCG_TPM is not set +CONFIG_TCG_TPM=m CONFIG_TCG_NSC=m CONFIG_TCG_ATMEL=m CONFIG_TCG_INFINEON=m Index: config-ia64-generic =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/configs/config-ia64-generic,v retrieving revision 1.4 retrieving revision 1.4.8.1 diff -u -r1.4 -r1.4.8.1 --- config-ia64-generic 29 Sep 2005 23:07:41 -0000 1.4 +++ config-ia64-generic 21 Oct 2005 20:18:01 -0000 1.4.8.1 @@ -124,6 +124,7 @@ CONFIG_ACPI_SYSTEM=y CONFIG_ACPI_NUMA=y CONFIG_ACPI_BLACKLIST_YEAR=2001 +CONFIG_ACPI_INITRD=y CONFIG_SERIAL_SGI_L1_CONSOLE=y CONFIG_PM=y CONFIG_HOTPLUG_PCI=y Index: config-x86-generic =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/configs/config-x86-generic,v retrieving revision 1.11 retrieving revision 1.11.8.1 diff -u -r1.11 -r1.11.8.1 --- config-x86-generic 29 Sep 2005 23:07:41 -0000 1.11 +++ config-x86-generic 21 Oct 2005 20:18:01 -0000 1.11.8.1 @@ -148,6 +148,7 @@ CONFIG_ACPI_BLACKLIST_YEAR=2001 CONFIG_ACPI_VIDEO=m CONFIG_ACPI_IBM=m +CONFIG_ACPI_INITRD=y CONFIG_PNPACPI=y # Index: config-x86_64-generic =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/configs/config-x86_64-generic,v retrieving revision 1.11 retrieving revision 1.11.8.1 diff -u -r1.11 -r1.11.8.1 --- config-x86_64-generic 29 Sep 2005 23:07:41 -0000 1.11 +++ config-x86_64-generic 21 Oct 2005 20:18:01 -0000 1.11.8.1 @@ -79,6 +79,7 @@ CONFIG_ACPI_BLACKLIST_YEAR=2001 CONFIG_ACPI_VIDEO=m CONFIG_ACPI_IBM=m +CONFIG_ACPI_INITRD=y CONFIG_CRASH=m From fedora-cvs-commits at redhat.com Fri Oct 21 20:18:04 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 21 Oct 2005 16:18:04 -0400 Subject: rpms/kernel/FC-4 jwltest-3c59x-misc.patch, NONE, 1.1.4.1 jwltest-3c59x-mmio.patch, NONE, 1.1.12.1 jwltest-8139too-resume.patch, NONE, 1.1.6.1 jwltest-acpi-dsdt-initrd.patch, NONE, 1.1.30.1 jwltest-b44-alloc.patch, NONE, 1.1.2.1 jwltest-dma-x86_64.patch, NONE, 1.1.2.1 jwltest-ia64-dma-get-cache-align.patch, NONE, 1.1.2.1 jwltest-ipw2100-1_1_0.patch, NONE, 1.1.34.1 jwltest-libata-atapi.patch, NONE, 1.1.14.1 jwltest-pci-d3hot-d0.patch, NONE, 1.1.20.1 jwltest-sundance-fixes.patch, NONE, 1.1.10.1 jwltest-sundance-icplus.patch, NONE, 1.1.14.1 kernel-2.6.spec, 1.1480, 1.1480.2.1 Message-ID: <200510212018.j9LKI4ur031113@cvs.devel.redhat.com> Author: linville Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv31052 Modified Files: Tag: private-linville-jwltest-fc4-21-branch kernel-2.6.spec Added Files: Tag: private-linville-jwltest-fc4-21-branch jwltest-3c59x-misc.patch jwltest-3c59x-mmio.patch jwltest-8139too-resume.patch jwltest-acpi-dsdt-initrd.patch jwltest-b44-alloc.patch jwltest-dma-x86_64.patch jwltest-ia64-dma-get-cache-align.patch jwltest-ipw2100-1_1_0.patch jwltest-libata-atapi.patch jwltest-pci-d3hot-d0.patch jwltest-sundance-fixes.patch jwltest-sundance-icplus.patch Log Message: jwltest-3c59x-misc.patch: 3c59x.c | 33 ++++++++++++++++++--------------- 1 files changed, 18 insertions(+), 15 deletions(-) --- NEW FILE jwltest-3c59x-misc.patch --- --- linux-2.6.13/drivers/net/3c59x.c.orig 2005-09-11 16:16:39.612186537 -0400 +++ linux-2.6.13/drivers/net/3c59x.c 2005-09-11 16:18:52.538437848 -0400 @@ -903,12 +903,12 @@ static void set_8021q_mode(struct net_de /* This driver uses 'options' to pass the media type, full-duplex flag, etc. */ /* Option count limit only -- unlimited interfaces are supported. */ #define MAX_UNITS 8 -static int options[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1,}; -static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; -static int hw_checksums[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; -static int flow_ctrl[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; -static int enable_wol[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; -static int use_mmio[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; +static int options[MAX_UNITS] = { [0 ... MAX_UNITS-1] = -1 }; +static int full_duplex[MAX_UNITS] = { [0 ... MAX_UNITS-1] = -1 }; +static int hw_checksums[MAX_UNITS] = { [0 ... MAX_UNITS-1] = -1 }; +static int flow_ctrl[MAX_UNITS] = { [0 ... MAX_UNITS-1] = -1 }; +static int enable_wol[MAX_UNITS] = { [0 ... MAX_UNITS-1] = -1 }; +static int use_mmio[MAX_UNITS] = { [0 ... MAX_UNITS-1] = -1 }; static int global_options = -1; static int global_full_duplex = -1; static int global_enable_wol = -1; @@ -943,18 +943,18 @@ MODULE_PARM_DESC(debug, "3c59x debug lev MODULE_PARM_DESC(options, "3c59x: Bits 0-3: media type, bit 4: bus mastering, bit 9: full duplex"); MODULE_PARM_DESC(global_options, "3c59x: same as options, but applies to all NICs if options is unset"); MODULE_PARM_DESC(full_duplex, "3c59x full duplex setting(s) (1)"); -MODULE_PARM_DESC(global_full_duplex, "3c59x: same as full_duplex, but applies to all NICs if options is unset"); +MODULE_PARM_DESC(global_full_duplex, "3c59x: same as full_duplex, but applies to all NICs if full_duplex is unset"); MODULE_PARM_DESC(hw_checksums, "3c59x Hardware checksum checking by adapter(s) (0-1)"); MODULE_PARM_DESC(flow_ctrl, "3c59x 802.3x flow control usage (PAUSE only) (0-1)"); MODULE_PARM_DESC(enable_wol, "3c59x: Turn on Wake-on-LAN for adapter(s) (0-1)"); -MODULE_PARM_DESC(global_enable_wol, "3c59x: same as enable_wol, but applies to all NICs if options is unset"); +MODULE_PARM_DESC(global_enable_wol, "3c59x: same as enable_wol, but applies to all NICs if enable_wol is unset"); MODULE_PARM_DESC(rx_copybreak, "3c59x copy breakpoint for copy-only-tiny-frames"); MODULE_PARM_DESC(max_interrupt_work, "3c59x maximum events handled per interrupt"); MODULE_PARM_DESC(compaq_ioaddr, "3c59x PCI I/O base address (Compaq BIOS problem workaround)"); MODULE_PARM_DESC(compaq_irq, "3c59x PCI IRQ number (Compaq BIOS problem workaround)"); MODULE_PARM_DESC(compaq_device_id, "3c59x PCI device ID (Compaq BIOS problem workaround)"); MODULE_PARM_DESC(watchdog, "3c59x transmit timeout in milliseconds"); -MODULE_PARM_DESC(global_use_mmio, "3c59x: same as use_mmio, but applies to all NICs if options is unset"); +MODULE_PARM_DESC(global_use_mmio, "3c59x: same as use_mmio, but applies to all NICs if use_mmio is unset"); MODULE_PARM_DESC(use_mmio, "3c59x: use memory-mapped PCI I/O resource (0-1)"); #ifdef CONFIG_NET_POLL_CONTROLLER @@ -1531,9 +1531,11 @@ static int __devinit vortex_probe1(struc dev->hard_start_xmit = boomerang_start_xmit; /* Actually, it still should work with iommu. */ dev->features |= NETIF_F_SG; - if (((hw_checksums[card_idx] == -1) && (vp->drv_flags & HAS_HWCKSM)) || - (hw_checksums[card_idx] == 1)) { - dev->features |= NETIF_F_IP_CSUM; + if ((card_idx < MAX_UNITS) && + (((hw_checksums[card_idx] == -1) && + (vp->drv_flags & HAS_HWCKSM)) || + (hw_checksums[card_idx] == 1))) { + dev->features |= NETIF_F_IP_CSUM; } } else { dev->hard_start_xmit = vortex_start_xmit; @@ -2806,9 +2808,10 @@ vortex_close(struct net_device *dev) } #if DO_ZEROCOPY - if ( vp->rx_csumhits && - ((vp->drv_flags & HAS_HWCKSM) == 0) && - (hw_checksums[vp->card_idx] == -1)) { + if (vp->rx_csumhits && + ((vp->drv_flags & HAS_HWCKSM) == 0) && + ((vp->card_idx >= MAX_UNITS) || + (hw_checksums[vp->card_idx] == -1))) { printk(KERN_WARNING "%s supports hardware checksums, and we're not using them!\n", dev->name); } #endif jwltest-3c59x-mmio.patch: 3c59x.c | 532 ++++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 284 insertions(+), 248 deletions(-) --- NEW FILE jwltest-3c59x-mmio.patch --- --- linux-2.6.13/drivers/net/3c59x.c.orig 2005-09-10 17:18:41.843300468 -0400 +++ linux-2.6.13/drivers/net/3c59x.c 2005-09-10 17:21:29.554911748 -0400 @@ -602,7 +602,7 @@ MODULE_DEVICE_TABLE(pci, vortex_pci_tbl) First the windows. There are eight register windows, with the command and status registers available in each. */ -#define EL3WINDOW(win_num) outw(SelectWindow + (win_num), ioaddr + EL3_CMD) +#define EL3WINDOW(win_num) iowrite16(SelectWindow + (win_num), ioaddr + EL3_CMD) #define EL3_CMD 0x0e #define EL3_STATUS 0x0e @@ -776,7 +776,8 @@ struct vortex_private { /* PCI configuration space information. */ struct device *gendev; - char __iomem *cb_fn_base; /* CardBus function status addr space. */ + void __iomem *ioaddr; /* IO address space */ + void __iomem *cb_fn_base; /* CardBus function status addr space. */ /* Some values here only for performance evaluation and path-coverage */ int rx_nocopy, rx_copy, queued_packet, rx_csumhits; @@ -869,12 +870,12 @@ static struct { /* number of ETHTOOL_GSTATS u64's */ #define VORTEX_NUM_STATS 3 -static int vortex_probe1(struct device *gendev, long ioaddr, int irq, +static int vortex_probe1(struct device *gendev, void __iomem *ioaddr, int irq, int chip_idx, int card_idx); static void vortex_up(struct net_device *dev); static void vortex_down(struct net_device *dev, int final); static int vortex_open(struct net_device *dev); -static void mdio_sync(long ioaddr, int bits); +static void mdio_sync(void __iomem *ioaddr, int bits); static int mdio_read(struct net_device *dev, int phy_id, int location); static void mdio_write(struct net_device *vp, int phy_id, int location, int value); static void vortex_timer(unsigned long arg); @@ -887,7 +888,7 @@ static irqreturn_t vortex_interrupt(int static irqreturn_t boomerang_interrupt(int irq, void *dev_id, struct pt_regs *regs); static int vortex_close(struct net_device *dev); static void dump_tx_ring(struct net_device *dev); -static void update_stats(long ioaddr, struct net_device *dev); +static void update_stats(void __iomem *ioaddr, struct net_device *dev); static struct net_device_stats *vortex_get_stats(struct net_device *dev); static void set_rx_mode(struct net_device *dev); #ifdef CONFIG_PCI @@ -907,9 +908,11 @@ static int full_duplex[MAX_UNITS] = {-1, static int hw_checksums[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; static int flow_ctrl[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; static int enable_wol[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; +static int use_mmio[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; static int global_options = -1; static int global_full_duplex = -1; static int global_enable_wol = -1; +static int global_use_mmio = -1; /* #define dev_alloc_skb dev_alloc_skb_debug */ @@ -934,6 +937,8 @@ module_param(compaq_ioaddr, int, 0); module_param(compaq_irq, int, 0); module_param(compaq_device_id, int, 0); module_param(watchdog, int, 0); +module_param(global_use_mmio, int, 0); +module_param_array(use_mmio, int, NULL, 0); MODULE_PARM_DESC(debug, "3c59x debug level (0-6)"); MODULE_PARM_DESC(options, "3c59x: Bits 0-3: media type, bit 4: bus mastering, bit 9: full duplex"); MODULE_PARM_DESC(global_options, "3c59x: same as options, but applies to all NICs if options is unset"); @@ -949,6 +954,8 @@ MODULE_PARM_DESC(compaq_ioaddr, "3c59x P MODULE_PARM_DESC(compaq_irq, "3c59x PCI IRQ number (Compaq BIOS problem workaround)"); MODULE_PARM_DESC(compaq_device_id, "3c59x PCI device ID (Compaq BIOS problem workaround)"); MODULE_PARM_DESC(watchdog, "3c59x transmit timeout in milliseconds"); +MODULE_PARM_DESC(global_use_mmio, "3c59x: same as use_mmio, but applies to all NICs if options is unset"); +MODULE_PARM_DESC(use_mmio, "3c59x: use memory-mapped PCI I/O resource (0-1)"); #ifdef CONFIG_NET_POLL_CONTROLLER static void poll_vortex(struct net_device *dev) @@ -1029,18 +1036,19 @@ static struct eisa_driver vortex_eisa_dr static int vortex_eisa_probe (struct device *device) { - long ioaddr; + void __iomem *ioaddr; struct eisa_device *edev; edev = to_eisa_device (device); - ioaddr = edev->base_addr; - if (!request_region(ioaddr, VORTEX_TOTAL_SIZE, DRV_NAME)) + if (!request_region(edev->base_addr, VORTEX_TOTAL_SIZE, DRV_NAME)) return -EBUSY; - if (vortex_probe1(device, ioaddr, inw(ioaddr + 0xC88) >> 12, + ioaddr = ioport_map(edev->base_addr, VORTEX_TOTAL_SIZE); + + if (vortex_probe1(device, ioaddr, ioread16(ioaddr + 0xC88) >> 12, edev->id.driver_data, vortex_cards_found)) { - release_region (ioaddr, VORTEX_TOTAL_SIZE); + release_region (edev->base_addr, VORTEX_TOTAL_SIZE); return -ENODEV; } @@ -1054,7 +1062,7 @@ static int vortex_eisa_remove (struct de struct eisa_device *edev; struct net_device *dev; struct vortex_private *vp; - long ioaddr; + void __iomem *ioaddr; edev = to_eisa_device (device); dev = eisa_get_drvdata (edev); @@ -1065,11 +1073,11 @@ static int vortex_eisa_remove (struct de } vp = netdev_priv(dev); - ioaddr = dev->base_addr; + ioaddr = vp->ioaddr; unregister_netdev (dev); - outw (TotalReset|0x14, ioaddr + EL3_CMD); - release_region (ioaddr, VORTEX_TOTAL_SIZE); + iowrite16 (TotalReset|0x14, ioaddr + EL3_CMD); + release_region (dev->base_addr, VORTEX_TOTAL_SIZE); free_netdev (dev); return 0; @@ -1096,8 +1104,8 @@ static int __init vortex_eisa_init (void /* Special code to work-around the Compaq PCI BIOS32 problem. */ if (compaq_ioaddr) { - vortex_probe1(NULL, compaq_ioaddr, compaq_irq, - compaq_device_id, vortex_cards_found++); + vortex_probe1(NULL, ioport_map(compaq_ioaddr, VORTEX_TOTAL_SIZE), + compaq_irq, compaq_device_id, vortex_cards_found++); } return vortex_cards_found - orig_cards_found + eisa_found; @@ -1107,15 +1115,32 @@ static int __init vortex_eisa_init (void static int __devinit vortex_init_one (struct pci_dev *pdev, const struct pci_device_id *ent) { - int rc; + int rc, unit, pci_bar; + struct vortex_chip_info *vci; + void __iomem *ioaddr; /* wake up and enable device */ rc = pci_enable_device (pdev); if (rc < 0) goto out; - rc = vortex_probe1 (&pdev->dev, pci_resource_start (pdev, 0), - pdev->irq, ent->driver_data, vortex_cards_found); + unit = vortex_cards_found; + + if (global_use_mmio < 0 && (unit >= MAX_UNITS || use_mmio[unit] < 0)) { + /* Determine the default if the user didn't override us */ + vci = &vortex_info_tbl[ent->driver_data]; + pci_bar = vci->drv_flags & (IS_CYCLONE | IS_TORNADO) ? 1 : 0; + } else if (unit < MAX_UNITS && use_mmio[unit] >= 0) + pci_bar = use_mmio[unit] ? 1 : 0; + else + pci_bar = global_use_mmio ? 1 : 0; + + ioaddr = pci_iomap(pdev, pci_bar, 0); + if (!ioaddr) /* If mapping fails, fall-back to BAR 0... */ + ioaddr = pci_iomap(pdev, 0, 0); + + rc = vortex_probe1 (&pdev->dev, pci_iomap(pdev, pci_bar, 0), + pdev->irq, ent->driver_data, unit); if (rc < 0) { pci_disable_device (pdev); goto out; @@ -1134,7 +1154,7 @@ out: * NOTE: pdev can be NULL, for the case of a Compaq device */ static int __devinit vortex_probe1(struct device *gendev, - long ioaddr, int irq, + void __iomem *ioaddr, int irq, int chip_idx, int card_idx) { struct vortex_private *vp; @@ -1202,15 +1222,16 @@ static int __devinit vortex_probe1(struc if (print_info) printk (KERN_INFO "See Documentation/networking/vortex.txt\n"); - printk(KERN_INFO "%s: 3Com %s %s at 0x%lx. Vers " DRV_VERSION "\n", + printk(KERN_INFO "%s: 3Com %s %s at %p. Vers " DRV_VERSION "\n", print_name, pdev ? "PCI" : "EISA", vci->name, ioaddr); - dev->base_addr = ioaddr; + dev->base_addr = (unsigned long)ioaddr; dev->irq = irq; dev->mtu = mtu; + vp->ioaddr = ioaddr; vp->large_frames = mtu > 1500; vp->drv_flags = vci->drv_flags; vp->has_nway = (vci->drv_flags & HAS_NWAY) ? 1 : 0; @@ -1226,7 +1247,7 @@ static int __devinit vortex_probe1(struc if (pdev) { /* EISA resources already marked, so only PCI needs to do this here */ /* Ignore return value, because Cardbus drivers already allocate for us */ - if (request_region(ioaddr, vci->io_size, print_name) != NULL) + if (request_region(dev->base_addr, vci->io_size, print_name) != NULL) vp->must_free_region = 1; /* enable bus-mastering if necessary */ @@ -1316,14 +1337,14 @@ static int __devinit vortex_probe1(struc for (i = 0; i < 0x40; i++) { int timer; - outw(base + i, ioaddr + Wn0EepromCmd); + iowrite16(base + i, ioaddr + Wn0EepromCmd); /* Pause for at least 162 us. for the read to take place. */ for (timer = 10; timer >= 0; timer--) { udelay(162); - if ((inw(ioaddr + Wn0EepromCmd) & 0x8000) == 0) + if ((ioread16(ioaddr + Wn0EepromCmd) & 0x8000) == 0) break; } - eeprom[i] = inw(ioaddr + Wn0EepromData); + eeprom[i] = ioread16(ioaddr + Wn0EepromData); } } for (i = 0; i < 0x18; i++) @@ -1351,7 +1372,7 @@ static int __devinit vortex_probe1(struc } EL3WINDOW(2); for (i = 0; i < 6; i++) - outb(dev->dev_addr[i], ioaddr + i); + iowrite8(dev->dev_addr[i], ioaddr + i); #ifdef __sparc__ if (print_info) @@ -1366,7 +1387,7 @@ static int __devinit vortex_probe1(struc #endif EL3WINDOW(4); - step = (inb(ioaddr + Wn4_NetDiag) & 0x1e) >> 1; + step = (ioread8(ioaddr + Wn4_NetDiag) & 0x1e) >> 1; if (print_info) { printk(KERN_INFO " product code %02x%02x rev %02x.%d date %02d-" "%02d-%02d\n", eeprom[6]&0xff, eeprom[6]>>8, eeprom[0x14], @@ -1375,31 +1396,30 @@ static int __devinit vortex_probe1(struc if (pdev && vci->drv_flags & HAS_CB_FNS) { - unsigned long fn_st_addr; /* Cardbus function status space */ unsigned short n; - fn_st_addr = pci_resource_start (pdev, 2); - if (fn_st_addr) { - vp->cb_fn_base = ioremap(fn_st_addr, 128); + vp->cb_fn_base = pci_iomap(pdev, 2, 0); + if (!vp->cb_fn_base) { retval = -ENOMEM; - if (!vp->cb_fn_base) - goto free_ring; + goto free_ring; } + if (print_info) { printk(KERN_INFO "%s: CardBus functions mapped %8.8lx->%p\n", - print_name, fn_st_addr, vp->cb_fn_base); + print_name, pci_resource_start(pdev, 2), + vp->cb_fn_base); } EL3WINDOW(2); - n = inw(ioaddr + Wn2_ResetOptions) & ~0x4010; + n = ioread16(ioaddr + Wn2_ResetOptions) & ~0x4010; if (vp->drv_flags & INVERT_LED_PWR) n |= 0x10; if (vp->drv_flags & INVERT_MII_PWR) n |= 0x4000; - outw(n, ioaddr + Wn2_ResetOptions); + iowrite16(n, ioaddr + Wn2_ResetOptions); if (vp->drv_flags & WNO_XCVR_PWR) { EL3WINDOW(0); - outw(0x0800, ioaddr); + iowrite16(0x0800, ioaddr); } } @@ -1418,13 +1438,13 @@ static int __devinit vortex_probe1(struc static const char * ram_split[] = {"5:3", "3:1", "1:1", "3:5"}; unsigned int config; EL3WINDOW(3); - vp->available_media = inw(ioaddr + Wn3_Options); + vp->available_media = ioread16(ioaddr + Wn3_Options); if ((vp->available_media & 0xff) == 0) /* Broken 3c916 */ vp->available_media = 0x40; - config = inl(ioaddr + Wn3_Config); + config = ioread32(ioaddr + Wn3_Config); if (print_info) { printk(KERN_DEBUG " Internal config register is %4.4x, " - "transceivers %#x.\n", config, inw(ioaddr + Wn3_Options)); + "transceivers %#x.\n", config, ioread16(ioaddr + Wn3_Options)); printk(KERN_INFO " %dK %s-wide RAM %s Rx:Tx split, %s%s interface.\n", 8 << RAM_SIZE(config), RAM_WIDTH(config) ? "word" : "byte", @@ -1555,7 +1575,7 @@ free_ring: vp->rx_ring_dma); free_region: if (vp->must_free_region) - release_region(ioaddr, vci->io_size); + release_region(dev->base_addr, vci->io_size); free_netdev(dev); printk(KERN_ERR PFX "vortex_probe1 fails. Returns %d\n", retval); out: @@ -1565,17 +1585,19 @@ out: static void issue_and_wait(struct net_device *dev, int cmd) { + struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; int i; - outw(cmd, dev->base_addr + EL3_CMD); + iowrite16(cmd, ioaddr + EL3_CMD); for (i = 0; i < 2000; i++) { - if (!(inw(dev->base_addr + EL3_STATUS) & CmdInProgress)) + if (!(ioread16(ioaddr + EL3_STATUS) & CmdInProgress)) return; } /* OK, that didn't work. Do it the slow way. One second */ for (i = 0; i < 100000; i++) { - if (!(inw(dev->base_addr + EL3_STATUS) & CmdInProgress)) { + if (!(ioread16(ioaddr + EL3_STATUS) & CmdInProgress)) { if (vortex_debug > 1) printk(KERN_INFO "%s: command 0x%04x took %d usecs\n", dev->name, cmd, i * 10); @@ -1584,14 +1606,14 @@ issue_and_wait(struct net_device *dev, i udelay(10); } printk(KERN_ERR "%s: command 0x%04x did not complete! Status=0x%x\n", - dev->name, cmd, inw(dev->base_addr + EL3_STATUS)); + dev->name, cmd, ioread16(ioaddr + EL3_STATUS)); } static void vortex_up(struct net_device *dev) { - long ioaddr = dev->base_addr; struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; unsigned int config; int i; @@ -1604,7 +1626,7 @@ vortex_up(struct net_device *dev) /* Before initializing select the active media port. */ EL3WINDOW(3); - config = inl(ioaddr + Wn3_Config); + config = ioread32(ioaddr + Wn3_Config); if (vp->media_override != 7) { printk(KERN_INFO "%s: Media override to transceiver %d (%s).\n", @@ -1651,7 +1673,7 @@ vortex_up(struct net_device *dev) config = BFINS(config, dev->if_port, 20, 4); if (vortex_debug > 6) printk(KERN_DEBUG "vortex_up(): writing 0x%x to InternalConfig\n", config); - outl(config, ioaddr + Wn3_Config); + iowrite32(config, ioaddr + Wn3_Config); if (dev->if_port == XCVR_MII || dev->if_port == XCVR_NWAY) { int mii_reg1, mii_reg5; @@ -1679,7 +1701,7 @@ vortex_up(struct net_device *dev) } /* Set the full-duplex bit. */ - outw( ((vp->info1 & 0x8000) || vp->full_duplex ? 0x20 : 0) | + iowrite16( ((vp->info1 & 0x8000) || vp->full_duplex ? 0x20 : 0) | (vp->large_frames ? 0x40 : 0) | ((vp->full_duplex && vp->flow_ctrl && vp->partner_flow_ctrl) ? 0x100 : 0), ioaddr + Wn3_MAC_Ctrl); @@ -1695,51 +1717,51 @@ vortex_up(struct net_device *dev) */ issue_and_wait(dev, RxReset|0x04); - outw(SetStatusEnb | 0x00, ioaddr + EL3_CMD); + iowrite16(SetStatusEnb | 0x00, ioaddr + EL3_CMD); if (vortex_debug > 1) { EL3WINDOW(4); printk(KERN_DEBUG "%s: vortex_up() irq %d media status %4.4x.\n", - dev->name, dev->irq, inw(ioaddr + Wn4_Media)); + dev->name, dev->irq, ioread16(ioaddr + Wn4_Media)); } /* Set the station address and mask in window 2 each time opened. */ EL3WINDOW(2); for (i = 0; i < 6; i++) - outb(dev->dev_addr[i], ioaddr + i); + iowrite8(dev->dev_addr[i], ioaddr + i); for (; i < 12; i+=2) - outw(0, ioaddr + i); + iowrite16(0, ioaddr + i); if (vp->cb_fn_base) { - unsigned short n = inw(ioaddr + Wn2_ResetOptions) & ~0x4010; + unsigned short n = ioread16(ioaddr + Wn2_ResetOptions) & ~0x4010; if (vp->drv_flags & INVERT_LED_PWR) n |= 0x10; if (vp->drv_flags & INVERT_MII_PWR) n |= 0x4000; - outw(n, ioaddr + Wn2_ResetOptions); + iowrite16(n, ioaddr + Wn2_ResetOptions); } if (dev->if_port == XCVR_10base2) /* Start the thinnet transceiver. We should really wait 50ms...*/ - outw(StartCoax, ioaddr + EL3_CMD); + iowrite16(StartCoax, ioaddr + EL3_CMD); if (dev->if_port != XCVR_NWAY) { EL3WINDOW(4); - outw((inw(ioaddr + Wn4_Media) & ~(Media_10TP|Media_SQE)) | + iowrite16((ioread16(ioaddr + Wn4_Media) & ~(Media_10TP|Media_SQE)) | media_tbl[dev->if_port].media_bits, ioaddr + Wn4_Media); } /* Switch to the stats window, and clear all stats by reading. */ - outw(StatsDisable, ioaddr + EL3_CMD); + iowrite16(StatsDisable, ioaddr + EL3_CMD); EL3WINDOW(6); for (i = 0; i < 10; i++) - inb(ioaddr + i); - inw(ioaddr + 10); - inw(ioaddr + 12); + ioread8(ioaddr + i); + ioread16(ioaddr + 10); + ioread16(ioaddr + 12); /* New: On the Vortex we must also clear the BadSSD counter. */ EL3WINDOW(4); - inb(ioaddr + 12); + ioread8(ioaddr + 12); /* ..and on the Boomerang we enable the extra statistics bits. */ - outw(0x0040, ioaddr + Wn4_NetDiag); + iowrite16(0x0040, ioaddr + Wn4_NetDiag); /* Switch to register set 7 for normal use. */ EL3WINDOW(7); @@ -1747,30 +1769,30 @@ vortex_up(struct net_device *dev) if (vp->full_bus_master_rx) { /* Boomerang bus master. */ vp->cur_rx = vp->dirty_rx = 0; /* Initialize the RxEarly register as recommended. */ - outw(SetRxThreshold + (1536>>2), ioaddr + EL3_CMD); - outl(0x0020, ioaddr + PktStatus); - outl(vp->rx_ring_dma, ioaddr + UpListPtr); + iowrite16(SetRxThreshold + (1536>>2), ioaddr + EL3_CMD); + iowrite32(0x0020, ioaddr + PktStatus); + iowrite32(vp->rx_ring_dma, ioaddr + UpListPtr); } if (vp->full_bus_master_tx) { /* Boomerang bus master Tx. */ vp->cur_tx = vp->dirty_tx = 0; if (vp->drv_flags & IS_BOOMERANG) - outb(PKT_BUF_SZ>>8, ioaddr + TxFreeThreshold); /* Room for a packet. */ + iowrite8(PKT_BUF_SZ>>8, ioaddr + TxFreeThreshold); /* Room for a packet. */ /* Clear the Rx, Tx rings. */ for (i = 0; i < RX_RING_SIZE; i++) /* AKPM: this is done in vortex_open, too */ vp->rx_ring[i].status = 0; for (i = 0; i < TX_RING_SIZE; i++) vp->tx_skbuff[i] = NULL; - outl(0, ioaddr + DownListPtr); + iowrite32(0, ioaddr + DownListPtr); } /* Set receiver mode: presumably accept b-case and phys addr only. */ set_rx_mode(dev); /* enable 802.1q tagged frames */ set_8021q_mode(dev, 1); - outw(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */ + iowrite16(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */ // issue_and_wait(dev, SetTxStart|0x07ff); - outw(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */ - outw(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */ + iowrite16(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */ + iowrite16(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */ /* Allow status bits to be seen. */ vp->status_enable = SetStatusEnb | HostError|IntReq|StatsFull|TxComplete| (vp->full_bus_master_tx ? DownComplete : TxAvailable) | @@ -1780,13 +1802,13 @@ vortex_up(struct net_device *dev) (vp->full_bus_master_rx ? 0 : RxComplete) | StatsFull | HostError | TxComplete | IntReq | (vp->bus_master ? DMADone : 0) | UpComplete | DownComplete; - outw(vp->status_enable, ioaddr + EL3_CMD); + iowrite16(vp->status_enable, ioaddr + EL3_CMD); /* Ack all pending events, and set active indicator mask. */ - outw(AckIntr | IntLatch | TxAvailable | RxEarly | IntReq, + iowrite16(AckIntr | IntLatch | TxAvailable | RxEarly | IntReq, ioaddr + EL3_CMD); - outw(vp->intr_enable, ioaddr + EL3_CMD); + iowrite16(vp->intr_enable, ioaddr + EL3_CMD); if (vp->cb_fn_base) /* The PCMCIA people are idiots. */ - writel(0x8000, vp->cb_fn_base + 4); + iowrite32(0x8000, vp->cb_fn_base + 4); netif_start_queue (dev); } @@ -1852,7 +1874,7 @@ vortex_timer(unsigned long data) { struct net_device *dev = (struct net_device *)data; struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; int next_tick = 60*HZ; int ok = 0; int media_status, mii_status, old_window; @@ -1866,9 +1888,9 @@ vortex_timer(unsigned long data) if (vp->medialock) goto leave_media_alone; disable_irq(dev->irq); - old_window = inw(ioaddr + EL3_CMD) >> 13; + old_window = ioread16(ioaddr + EL3_CMD) >> 13; EL3WINDOW(4); - media_status = inw(ioaddr + Wn4_Media); + media_status = ioread16(ioaddr + Wn4_Media); switch (dev->if_port) { case XCVR_10baseT: case XCVR_100baseTx: case XCVR_100baseFx: if (media_status & Media_LnkBeat) { @@ -1909,7 +1931,7 @@ vortex_timer(unsigned long data) vp->phys[0], mii_reg5); /* Set the full-duplex bit. */ EL3WINDOW(3); - outw( (vp->full_duplex ? 0x20 : 0) | + iowrite16( (vp->full_duplex ? 0x20 : 0) | (vp->large_frames ? 0x40 : 0) | ((vp->full_duplex && vp->flow_ctrl && vp->partner_flow_ctrl) ? 0x100 : 0), ioaddr + Wn3_MAC_Ctrl); @@ -1950,15 +1972,15 @@ vortex_timer(unsigned long data) dev->name, media_tbl[dev->if_port].name); next_tick = media_tbl[dev->if_port].wait; } - outw((media_status & ~(Media_10TP|Media_SQE)) | + iowrite16((media_status & ~(Media_10TP|Media_SQE)) | media_tbl[dev->if_port].media_bits, ioaddr + Wn4_Media); EL3WINDOW(3); - config = inl(ioaddr + Wn3_Config); + config = ioread32(ioaddr + Wn3_Config); config = BFINS(config, dev->if_port, 20, 4); - outl(config, ioaddr + Wn3_Config); + iowrite32(config, ioaddr + Wn3_Config); - outw(dev->if_port == XCVR_10base2 ? StartCoax : StopCoax, + iowrite16(dev->if_port == XCVR_10base2 ? StartCoax : StopCoax, ioaddr + EL3_CMD); if (vortex_debug > 1) printk(KERN_DEBUG "wrote 0x%08x to Wn3_Config\n", config); @@ -1974,29 +1996,29 @@ leave_media_alone: mod_timer(&vp->timer, RUN_AT(next_tick)); if (vp->deferred) - outw(FakeIntr, ioaddr + EL3_CMD); + iowrite16(FakeIntr, ioaddr + EL3_CMD); return; } static void vortex_tx_timeout(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; printk(KERN_ERR "%s: transmit timed out, tx_status %2.2x status %4.4x.\n", - dev->name, inb(ioaddr + TxStatus), - inw(ioaddr + EL3_STATUS)); + dev->name, ioread8(ioaddr + TxStatus), + ioread16(ioaddr + EL3_STATUS)); EL3WINDOW(4); printk(KERN_ERR " diagnostics: net %04x media %04x dma %08x fifo %04x\n", - inw(ioaddr + Wn4_NetDiag), - inw(ioaddr + Wn4_Media), - inl(ioaddr + PktStatus), - inw(ioaddr + Wn4_FIFODiag)); + ioread16(ioaddr + Wn4_NetDiag), + ioread16(ioaddr + Wn4_Media), + ioread32(ioaddr + PktStatus), + ioread16(ioaddr + Wn4_FIFODiag)); /* Slight code bloat to be user friendly. */ - if ((inb(ioaddr + TxStatus) & 0x88) == 0x88) + if ((ioread8(ioaddr + TxStatus) & 0x88) == 0x88) printk(KERN_ERR "%s: Transmitter encountered 16 collisions --" " network cable problem?\n", dev->name); - if (inw(ioaddr + EL3_STATUS) & IntLatch) { + if (ioread16(ioaddr + EL3_STATUS) & IntLatch) { printk(KERN_ERR "%s: Interrupt posted but not delivered --" " IRQ blocked by another device?\n", dev->name); /* Bad idea here.. but we might as well handle a few events. */ @@ -2022,21 +2044,21 @@ static void vortex_tx_timeout(struct net vp->stats.tx_errors++; if (vp->full_bus_master_tx) { printk(KERN_DEBUG "%s: Resetting the Tx ring pointer.\n", dev->name); - if (vp->cur_tx - vp->dirty_tx > 0 && inl(ioaddr + DownListPtr) == 0) - outl(vp->tx_ring_dma + (vp->dirty_tx % TX_RING_SIZE) * sizeof(struct boom_tx_desc), + if (vp->cur_tx - vp->dirty_tx > 0 && ioread32(ioaddr + DownListPtr) == 0) + iowrite32(vp->tx_ring_dma + (vp->dirty_tx % TX_RING_SIZE) * sizeof(struct boom_tx_desc), ioaddr + DownListPtr); if (vp->cur_tx - vp->dirty_tx < TX_RING_SIZE) netif_wake_queue (dev); if (vp->drv_flags & IS_BOOMERANG) - outb(PKT_BUF_SZ>>8, ioaddr + TxFreeThreshold); - outw(DownUnstall, ioaddr + EL3_CMD); + iowrite8(PKT_BUF_SZ>>8, ioaddr + TxFreeThreshold); + iowrite16(DownUnstall, ioaddr + EL3_CMD); } else { vp->stats.tx_dropped++; netif_wake_queue(dev); } /* Issue Tx Enable */ - outw(TxEnable, ioaddr + EL3_CMD); + iowrite16(TxEnable, ioaddr + EL3_CMD); dev->trans_start = jiffies; /* Switch to register set 7 for normal use. */ @@ -2051,7 +2073,7 @@ static void vortex_error(struct net_device *dev, int status) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; int do_tx_reset = 0, reset_mask = 0; unsigned char tx_status = 0; @@ -2060,7 +2082,7 @@ vortex_error(struct net_device *dev, int } if (status & TxComplete) { /* Really "TxError" for us. */ - tx_status = inb(ioaddr + TxStatus); + tx_status = ioread8(ioaddr + TxStatus); /* Presumably a tx-timeout. We must merely re-enable. */ if (vortex_debug > 2 || (tx_status != 0x88 && vortex_debug > 0)) { @@ -2074,20 +2096,20 @@ vortex_error(struct net_device *dev, int } if (tx_status & 0x14) vp->stats.tx_fifo_errors++; if (tx_status & 0x38) vp->stats.tx_aborted_errors++; - outb(0, ioaddr + TxStatus); + iowrite8(0, ioaddr + TxStatus); if (tx_status & 0x30) { /* txJabber or txUnderrun */ do_tx_reset = 1; } else if ((tx_status & 0x08) && (vp->drv_flags & MAX_COLLISION_RESET)) { /* maxCollisions */ do_tx_reset = 1; reset_mask = 0x0108; /* Reset interface logic, but not download logic */ } else { /* Merely re-enable the transmitter. */ - outw(TxEnable, ioaddr + EL3_CMD); + iowrite16(TxEnable, ioaddr + EL3_CMD); } } if (status & RxEarly) { /* Rx early is unused. */ vortex_rx(dev); - outw(AckIntr | RxEarly, ioaddr + EL3_CMD); + iowrite16(AckIntr | RxEarly, ioaddr + EL3_CMD); } if (status & StatsFull) { /* Empty statistics. */ static int DoneDidThat; @@ -2097,29 +2119,29 @@ vortex_error(struct net_device *dev, int /* HACK: Disable statistics as an interrupt source. */ /* This occurs when we have the wrong media type! */ if (DoneDidThat == 0 && - inw(ioaddr + EL3_STATUS) & StatsFull) { + ioread16(ioaddr + EL3_STATUS) & StatsFull) { printk(KERN_WARNING "%s: Updating statistics failed, disabling " "stats as an interrupt source.\n", dev->name); EL3WINDOW(5); - outw(SetIntrEnb | (inw(ioaddr + 10) & ~StatsFull), ioaddr + EL3_CMD); + iowrite16(SetIntrEnb | (ioread16(ioaddr + 10) & ~StatsFull), ioaddr + EL3_CMD); vp->intr_enable &= ~StatsFull; EL3WINDOW(7); DoneDidThat++; } } if (status & IntReq) { /* Restore all interrupt sources. */ - outw(vp->status_enable, ioaddr + EL3_CMD); - outw(vp->intr_enable, ioaddr + EL3_CMD); + iowrite16(vp->status_enable, ioaddr + EL3_CMD); + iowrite16(vp->intr_enable, ioaddr + EL3_CMD); } if (status & HostError) { u16 fifo_diag; EL3WINDOW(4); - fifo_diag = inw(ioaddr + Wn4_FIFODiag); + fifo_diag = ioread16(ioaddr + Wn4_FIFODiag); printk(KERN_ERR "%s: Host error, FIFO diagnostic register %4.4x.\n", dev->name, fifo_diag); /* Adapter failure requires Tx/Rx reset and reinit. */ if (vp->full_bus_master_tx) { - int bus_status = inl(ioaddr + PktStatus); + int bus_status = ioread32(ioaddr + PktStatus); /* 0x80000000 PCI master abort. */ /* 0x40000000 PCI target abort. */ if (vortex_debug) @@ -2139,14 +2161,14 @@ vortex_error(struct net_device *dev, int set_rx_mode(dev); /* enable 802.1q VLAN tagged frames */ set_8021q_mode(dev, 1); - outw(RxEnable, ioaddr + EL3_CMD); /* Re-enable the receiver. */ - outw(AckIntr | HostError, ioaddr + EL3_CMD); + iowrite16(RxEnable, ioaddr + EL3_CMD); /* Re-enable the receiver. */ + iowrite16(AckIntr | HostError, ioaddr + EL3_CMD); } } if (do_tx_reset) { issue_and_wait(dev, TxReset|reset_mask); - outw(TxEnable, ioaddr + EL3_CMD); + iowrite16(TxEnable, ioaddr + EL3_CMD); if (!vp->full_bus_master_tx) netif_wake_queue(dev); } @@ -2156,29 +2178,29 @@ static int vortex_start_xmit(struct sk_buff *skb, struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; /* Put out the doubleword header... */ - outl(skb->len, ioaddr + TX_FIFO); + iowrite32(skb->len, ioaddr + TX_FIFO); if (vp->bus_master) { /* Set the bus-master controller to transfer the packet. */ int len = (skb->len + 3) & ~3; - outl( vp->tx_skb_dma = pci_map_single(VORTEX_PCI(vp), skb->data, len, PCI_DMA_TODEVICE), + iowrite32( vp->tx_skb_dma = pci_map_single(VORTEX_PCI(vp), skb->data, len, PCI_DMA_TODEVICE), ioaddr + Wn7_MasterAddr); - outw(len, ioaddr + Wn7_MasterLen); + iowrite16(len, ioaddr + Wn7_MasterLen); vp->tx_skb = skb; - outw(StartDMADown, ioaddr + EL3_CMD); + iowrite16(StartDMADown, ioaddr + EL3_CMD); /* netif_wake_queue() will be called at the DMADone interrupt. */ } else { /* ... and the packet rounded to a doubleword. */ - outsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2); + iowrite32_rep(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2); dev_kfree_skb (skb); - if (inw(ioaddr + TxFree) > 1536) { + if (ioread16(ioaddr + TxFree) > 1536) { netif_start_queue (dev); /* AKPM: redundant? */ } else { /* Interrupt us when the FIFO has room for max-sized packet. */ netif_stop_queue(dev); - outw(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD); + iowrite16(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD); } } @@ -2189,7 +2211,7 @@ vortex_start_xmit(struct sk_buff *skb, s int tx_status; int i = 32; - while (--i > 0 && (tx_status = inb(ioaddr + TxStatus)) > 0) { + while (--i > 0 && (tx_status = ioread8(ioaddr + TxStatus)) > 0) { if (tx_status & 0x3C) { /* A Tx-disabling error occurred. */ if (vortex_debug > 2) printk(KERN_DEBUG "%s: Tx error, status %2.2x.\n", @@ -2199,9 +2221,9 @@ vortex_start_xmit(struct sk_buff *skb, s if (tx_status & 0x30) { issue_and_wait(dev, TxReset); } - outw(TxEnable, ioaddr + EL3_CMD); + iowrite16(TxEnable, ioaddr + EL3_CMD); } - outb(0x00, ioaddr + TxStatus); /* Pop the status stack. */ + iowrite8(0x00, ioaddr + TxStatus); /* Pop the status stack. */ } } return 0; @@ -2211,7 +2233,7 @@ static int boomerang_start_xmit(struct sk_buff *skb, struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; /* Calculate the next Tx descriptor entry. */ int entry = vp->cur_tx % TX_RING_SIZE; struct boom_tx_desc *prev_entry = &vp->tx_ring[(vp->cur_tx-1) % TX_RING_SIZE]; @@ -2275,8 +2297,8 @@ boomerang_start_xmit(struct sk_buff *skb /* Wait for the stall to complete. */ issue_and_wait(dev, DownStall); prev_entry->next = cpu_to_le32(vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc)); - if (inl(ioaddr + DownListPtr) == 0) { - outl(vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc), ioaddr + DownListPtr); + if (ioread32(ioaddr + DownListPtr) == 0) { + iowrite32(vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc), ioaddr + DownListPtr); vp->queued_packet++; } @@ -2291,7 +2313,7 @@ boomerang_start_xmit(struct sk_buff *skb prev_entry->status &= cpu_to_le32(~TxIntrUploaded); #endif } - outw(DownUnstall, ioaddr + EL3_CMD); + iowrite16(DownUnstall, ioaddr + EL3_CMD); spin_unlock_irqrestore(&vp->lock, flags); dev->trans_start = jiffies; return 0; @@ -2310,15 +2332,15 @@ vortex_interrupt(int irq, void *dev_id, { struct net_device *dev = dev_id; struct vortex_private *vp = netdev_priv(dev); - long ioaddr; + void __iomem *ioaddr; int status; int work_done = max_interrupt_work; int handled = 0; - ioaddr = dev->base_addr; + ioaddr = vp->ioaddr; spin_lock(&vp->lock); - status = inw(ioaddr + EL3_STATUS); + status = ioread16(ioaddr + EL3_STATUS); if (vortex_debug > 6) printk("vortex_interrupt(). status=0x%4x\n", status); @@ -2337,7 +2359,7 @@ vortex_interrupt(int irq, void *dev_id, if (vortex_debug > 4) printk(KERN_DEBUG "%s: interrupt, status %4.4x, latency %d ticks.\n", - dev->name, status, inb(ioaddr + Timer)); + dev->name, status, ioread8(ioaddr + Timer)); do { if (vortex_debug > 5) @@ -2350,16 +2372,16 @@ vortex_interrupt(int irq, void *dev_id, if (vortex_debug > 5) printk(KERN_DEBUG " TX room bit was handled.\n"); /* There's room in the FIFO for a full-sized packet. */ - outw(AckIntr | TxAvailable, ioaddr + EL3_CMD); + iowrite16(AckIntr | TxAvailable, ioaddr + EL3_CMD); netif_wake_queue (dev); } if (status & DMADone) { - if (inw(ioaddr + Wn7_MasterStatus) & 0x1000) { - outw(0x1000, ioaddr + Wn7_MasterStatus); /* Ack the event. */ + if (ioread16(ioaddr + Wn7_MasterStatus) & 0x1000) { + iowrite16(0x1000, ioaddr + Wn7_MasterStatus); /* Ack the event. */ pci_unmap_single(VORTEX_PCI(vp), vp->tx_skb_dma, (vp->tx_skb->len + 3) & ~3, PCI_DMA_TODEVICE); dev_kfree_skb_irq(vp->tx_skb); /* Release the transferred buffer */ - if (inw(ioaddr + TxFree) > 1536) { + if (ioread16(ioaddr + TxFree) > 1536) { /* * AKPM: FIXME: I don't think we need this. If the queue was stopped due to * insufficient FIFO room, the TxAvailable test will succeed and call @@ -2367,7 +2389,7 @@ vortex_interrupt(int irq, void *dev_id, */ netif_wake_queue(dev); } else { /* Interrupt when FIFO has room for max-sized packet. */ - outw(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD); + iowrite16(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD); netif_stop_queue(dev); } } @@ -2385,17 +2407,17 @@ vortex_interrupt(int irq, void *dev_id, /* Disable all pending interrupts. */ do { vp->deferred |= status; - outw(SetStatusEnb | (~vp->deferred & vp->status_enable), + iowrite16(SetStatusEnb | (~vp->deferred & vp->status_enable), ioaddr + EL3_CMD); - outw(AckIntr | (vp->deferred & 0x7ff), ioaddr + EL3_CMD); - } while ((status = inw(ioaddr + EL3_CMD)) & IntLatch); + iowrite16(AckIntr | (vp->deferred & 0x7ff), ioaddr + EL3_CMD); + } while ((status = ioread16(ioaddr + EL3_CMD)) & IntLatch); /* The timer will reenable interrupts. */ mod_timer(&vp->timer, jiffies + 1*HZ); break; } /* Acknowledge the IRQ. */ - outw(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); - } while ((status = inw(ioaddr + EL3_STATUS)) & (IntLatch | RxComplete)); + iowrite16(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); + } while ((status = ioread16(ioaddr + EL3_STATUS)) & (IntLatch | RxComplete)); if (vortex_debug > 4) printk(KERN_DEBUG "%s: exiting interrupt, status %4.4x.\n", @@ -2415,11 +2437,11 @@ boomerang_interrupt(int irq, void *dev_i { struct net_device *dev = dev_id; struct vortex_private *vp = netdev_priv(dev); - long ioaddr; + void __iomem *ioaddr; int status; int work_done = max_interrupt_work; - ioaddr = dev->base_addr; + ioaddr = vp->ioaddr; /* * It seems dopey to put the spinlock this early, but we could race against vortex_tx_timeout @@ -2427,7 +2449,7 @@ boomerang_interrupt(int irq, void *dev_i */ spin_lock(&vp->lock); - status = inw(ioaddr + EL3_STATUS); + status = ioread16(ioaddr + EL3_STATUS); if (vortex_debug > 6) printk(KERN_DEBUG "boomerang_interrupt. status=0x%4x\n", status); @@ -2448,13 +2470,13 @@ boomerang_interrupt(int irq, void *dev_i if (vortex_debug > 4) printk(KERN_DEBUG "%s: interrupt, status %4.4x, latency %d ticks.\n", - dev->name, status, inb(ioaddr + Timer)); + dev->name, status, ioread8(ioaddr + Timer)); do { if (vortex_debug > 5) printk(KERN_DEBUG "%s: In interrupt loop, status %4.4x.\n", dev->name, status); if (status & UpComplete) { - outw(AckIntr | UpComplete, ioaddr + EL3_CMD); + iowrite16(AckIntr | UpComplete, ioaddr + EL3_CMD); if (vortex_debug > 5) printk(KERN_DEBUG "boomerang_interrupt->boomerang_rx\n"); boomerang_rx(dev); @@ -2463,11 +2485,11 @@ boomerang_interrupt(int irq, void *dev_i if (status & DownComplete) { unsigned int dirty_tx = vp->dirty_tx; - outw(AckIntr | DownComplete, ioaddr + EL3_CMD); + iowrite16(AckIntr | DownComplete, ioaddr + EL3_CMD); while (vp->cur_tx - dirty_tx > 0) { int entry = dirty_tx % TX_RING_SIZE; #if 1 /* AKPM: the latter is faster, but cyclone-only */ - if (inl(ioaddr + DownListPtr) == + if (ioread32(ioaddr + DownListPtr) == vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc)) break; /* It still hasn't been processed. */ #else @@ -2514,20 +2536,20 @@ boomerang_interrupt(int irq, void *dev_i /* Disable all pending interrupts. */ do { vp->deferred |= status; - outw(SetStatusEnb | (~vp->deferred & vp->status_enable), + iowrite16(SetStatusEnb | (~vp->deferred & vp->status_enable), ioaddr + EL3_CMD); - outw(AckIntr | (vp->deferred & 0x7ff), ioaddr + EL3_CMD); - } while ((status = inw(ioaddr + EL3_CMD)) & IntLatch); + iowrite16(AckIntr | (vp->deferred & 0x7ff), ioaddr + EL3_CMD); + } while ((status = ioread16(ioaddr + EL3_CMD)) & IntLatch); /* The timer will reenable interrupts. */ mod_timer(&vp->timer, jiffies + 1*HZ); break; } /* Acknowledge the IRQ. */ - outw(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); + iowrite16(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); if (vp->cb_fn_base) /* The PCMCIA people are idiots. */ - writel(0x8000, vp->cb_fn_base + 4); + iowrite32(0x8000, vp->cb_fn_base + 4); - } while ((status = inw(ioaddr + EL3_STATUS)) & IntLatch); + } while ((status = ioread16(ioaddr + EL3_STATUS)) & IntLatch); if (vortex_debug > 4) printk(KERN_DEBUG "%s: exiting interrupt, status %4.4x.\n", @@ -2540,16 +2562,16 @@ handler_exit: static int vortex_rx(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; int i; short rx_status; if (vortex_debug > 5) printk(KERN_DEBUG "vortex_rx(): status %4.4x, rx_status %4.4x.\n", - inw(ioaddr+EL3_STATUS), inw(ioaddr+RxStatus)); - while ((rx_status = inw(ioaddr + RxStatus)) > 0) { + ioread16(ioaddr+EL3_STATUS), ioread16(ioaddr+RxStatus)); + while ((rx_status = ioread16(ioaddr + RxStatus)) > 0) { if (rx_status & 0x4000) { /* Error, update stats. */ - unsigned char rx_error = inb(ioaddr + RxErrors); + unsigned char rx_error = ioread8(ioaddr + RxErrors); if (vortex_debug > 2) printk(KERN_DEBUG " Rx error: status %2.2x.\n", rx_error); vp->stats.rx_errors++; @@ -2572,27 +2594,28 @@ static int vortex_rx(struct net_device * skb_reserve(skb, 2); /* Align IP on 16 byte boundaries */ /* 'skb_put()' points to the start of sk_buff data area. */ if (vp->bus_master && - ! (inw(ioaddr + Wn7_MasterStatus) & 0x8000)) { + ! (ioread16(ioaddr + Wn7_MasterStatus) & 0x8000)) { dma_addr_t dma = pci_map_single(VORTEX_PCI(vp), skb_put(skb, pkt_len), pkt_len, PCI_DMA_FROMDEVICE); - outl(dma, ioaddr + Wn7_MasterAddr); - outw((skb->len + 3) & ~3, ioaddr + Wn7_MasterLen); - outw(StartDMAUp, ioaddr + EL3_CMD); - while (inw(ioaddr + Wn7_MasterStatus) & 0x8000) + iowrite32(dma, ioaddr + Wn7_MasterAddr); + iowrite16((skb->len + 3) & ~3, ioaddr + Wn7_MasterLen); + iowrite16(StartDMAUp, ioaddr + EL3_CMD); + while (ioread16(ioaddr + Wn7_MasterStatus) & 0x8000) ; pci_unmap_single(VORTEX_PCI(vp), dma, pkt_len, PCI_DMA_FROMDEVICE); } else { - insl(ioaddr + RX_FIFO, skb_put(skb, pkt_len), - (pkt_len + 3) >> 2); + ioread32_rep(ioaddr + RX_FIFO, + skb_put(skb, pkt_len), + (pkt_len + 3) >> 2); } - outw(RxDiscard, ioaddr + EL3_CMD); /* Pop top Rx packet. */ + iowrite16(RxDiscard, ioaddr + EL3_CMD); /* Pop top Rx packet. */ skb->protocol = eth_type_trans(skb, dev); netif_rx(skb); dev->last_rx = jiffies; vp->stats.rx_packets++; /* Wait a limited time to go to next packet. */ for (i = 200; i >= 0; i--) - if ( ! (inw(ioaddr + EL3_STATUS) & CmdInProgress)) + if ( ! (ioread16(ioaddr + EL3_STATUS) & CmdInProgress)) break; continue; } else if (vortex_debug > 0) @@ -2611,12 +2634,12 @@ boomerang_rx(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); int entry = vp->cur_rx % RX_RING_SIZE; - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; int rx_status; int rx_work_limit = vp->dirty_rx + RX_RING_SIZE - vp->cur_rx; if (vortex_debug > 5) - printk(KERN_DEBUG "boomerang_rx(): status %4.4x\n", inw(ioaddr+EL3_STATUS)); + printk(KERN_DEBUG "boomerang_rx(): status %4.4x\n", ioread16(ioaddr+EL3_STATUS)); while ((rx_status = le32_to_cpu(vp->rx_ring[entry].status)) & RxDComplete){ if (--rx_work_limit < 0) @@ -2699,7 +2722,7 @@ boomerang_rx(struct net_device *dev) vp->rx_skbuff[entry] = skb; } vp->rx_ring[entry].status = 0; /* Clear complete bit. */ - outw(UpUnstall, ioaddr + EL3_CMD); + iowrite16(UpUnstall, ioaddr + EL3_CMD); } return 0; } @@ -2728,7 +2751,7 @@ static void vortex_down(struct net_device *dev, int final_down) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; netif_stop_queue (dev); @@ -2736,26 +2759,26 @@ vortex_down(struct net_device *dev, int del_timer_sync(&vp->timer); /* Turn off statistics ASAP. We update vp->stats below. */ - outw(StatsDisable, ioaddr + EL3_CMD); + iowrite16(StatsDisable, ioaddr + EL3_CMD); /* Disable the receiver and transmitter. */ - outw(RxDisable, ioaddr + EL3_CMD); - outw(TxDisable, ioaddr + EL3_CMD); + iowrite16(RxDisable, ioaddr + EL3_CMD); + iowrite16(TxDisable, ioaddr + EL3_CMD); /* Disable receiving 802.1q tagged frames */ set_8021q_mode(dev, 0); if (dev->if_port == XCVR_10base2) /* Turn off thinnet power. Green! */ - outw(StopCoax, ioaddr + EL3_CMD); + iowrite16(StopCoax, ioaddr + EL3_CMD); - outw(SetIntrEnb | 0x0000, ioaddr + EL3_CMD); + iowrite16(SetIntrEnb | 0x0000, ioaddr + EL3_CMD); update_stats(ioaddr, dev); if (vp->full_bus_master_rx) - outl(0, ioaddr + UpListPtr); + iowrite32(0, ioaddr + UpListPtr); if (vp->full_bus_master_tx) - outl(0, ioaddr + DownListPtr); + iowrite32(0, ioaddr + DownListPtr); if (final_down && VORTEX_PCI(vp)) { vp->pm_state_valid = 1; @@ -2768,7 +2791,7 @@ static int vortex_close(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; int i; if (netif_device_present(dev)) @@ -2776,7 +2799,7 @@ vortex_close(struct net_device *dev) if (vortex_debug > 1) { printk(KERN_DEBUG"%s: vortex_close() status %4.4x, Tx status %2.2x.\n", - dev->name, inw(ioaddr + EL3_STATUS), inb(ioaddr + TxStatus)); + dev->name, ioread16(ioaddr + EL3_STATUS), ioread8(ioaddr + TxStatus)); printk(KERN_DEBUG "%s: vortex close stats: rx_nocopy %d rx_copy %d" " tx_queued %d Rx pre-checksummed %d.\n", dev->name, vp->rx_nocopy, vp->rx_copy, vp->queued_packet, vp->rx_csumhits); @@ -2830,18 +2853,18 @@ dump_tx_ring(struct net_device *dev) { if (vortex_debug > 0) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; if (vp->full_bus_master_tx) { int i; - int stalled = inl(ioaddr + PktStatus) & 0x04; /* Possible racy. But it's only debug stuff */ + int stalled = ioread32(ioaddr + PktStatus) & 0x04; /* Possible racy. But it's only debug stuff */ printk(KERN_ERR " Flags; bus-master %d, dirty %d(%d) current %d(%d)\n", vp->full_bus_master_tx, vp->dirty_tx, vp->dirty_tx % TX_RING_SIZE, vp->cur_tx, vp->cur_tx % TX_RING_SIZE); printk(KERN_ERR " Transmit list %8.8x vs. %p.\n", - inl(ioaddr + DownListPtr), + ioread32(ioaddr + DownListPtr), &vp->tx_ring[vp->dirty_tx % TX_RING_SIZE]); issue_and_wait(dev, DownStall); for (i = 0; i < TX_RING_SIZE; i++) { @@ -2855,7 +2878,7 @@ dump_tx_ring(struct net_device *dev) le32_to_cpu(vp->tx_ring[i].status)); } if (!stalled) - outw(DownUnstall, ioaddr + EL3_CMD); + iowrite16(DownUnstall, ioaddr + EL3_CMD); } } } @@ -2863,11 +2886,12 @@ dump_tx_ring(struct net_device *dev) static struct net_device_stats *vortex_get_stats(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; if (netif_device_present(dev)) { /* AKPM: Used to be netif_running */ spin_lock_irqsave (&vp->lock, flags); - update_stats(dev->base_addr, dev); + update_stats(ioaddr, dev); spin_unlock_irqrestore (&vp->lock, flags); } return &vp->stats; @@ -2880,37 +2904,37 @@ static struct net_device_stats *vortex_g table. This is done by checking that the ASM (!) code generated uses atomic updates with '+='. */ -static void update_stats(long ioaddr, struct net_device *dev) +static void update_stats(void __iomem *ioaddr, struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - int old_window = inw(ioaddr + EL3_CMD); + int old_window = ioread16(ioaddr + EL3_CMD); if (old_window == 0xffff) /* Chip suspended or ejected. */ return; /* Unlike the 3c5x9 we need not turn off stats updates while reading. */ /* Switch to the stats window, and read everything. */ EL3WINDOW(6); - vp->stats.tx_carrier_errors += inb(ioaddr + 0); - vp->stats.tx_heartbeat_errors += inb(ioaddr + 1); - vp->stats.collisions += inb(ioaddr + 3); - vp->stats.tx_window_errors += inb(ioaddr + 4); - vp->stats.rx_fifo_errors += inb(ioaddr + 5); - vp->stats.tx_packets += inb(ioaddr + 6); - vp->stats.tx_packets += (inb(ioaddr + 9)&0x30) << 4; - /* Rx packets */ inb(ioaddr + 7); /* Must read to clear */ + vp->stats.tx_carrier_errors += ioread8(ioaddr + 0); + vp->stats.tx_heartbeat_errors += ioread8(ioaddr + 1); + vp->stats.collisions += ioread8(ioaddr + 3); + vp->stats.tx_window_errors += ioread8(ioaddr + 4); + vp->stats.rx_fifo_errors += ioread8(ioaddr + 5); + vp->stats.tx_packets += ioread8(ioaddr + 6); + vp->stats.tx_packets += (ioread8(ioaddr + 9)&0x30) << 4; + /* Rx packets */ ioread8(ioaddr + 7); /* Must read to clear */ /* Don't bother with register 9, an extension of registers 6&7. If we do use the 6&7 values the atomic update assumption above is invalid. */ - vp->stats.rx_bytes += inw(ioaddr + 10); - vp->stats.tx_bytes += inw(ioaddr + 12); + vp->stats.rx_bytes += ioread16(ioaddr + 10); + vp->stats.tx_bytes += ioread16(ioaddr + 12); /* Extra stats for get_ethtool_stats() */ - vp->xstats.tx_multiple_collisions += inb(ioaddr + 2); - vp->xstats.tx_deferred += inb(ioaddr + 8); + vp->xstats.tx_multiple_collisions += ioread8(ioaddr + 2); + vp->xstats.tx_deferred += ioread8(ioaddr + 8); EL3WINDOW(4); - vp->xstats.rx_bad_ssd += inb(ioaddr + 12); + vp->xstats.rx_bad_ssd += ioread8(ioaddr + 12); { - u8 up = inb(ioaddr + 13); + u8 up = ioread8(ioaddr + 13); vp->stats.rx_bytes += (up & 0x0f) << 16; vp->stats.tx_bytes += (up & 0xf0) << 12; } @@ -2922,7 +2946,7 @@ static void update_stats(long ioaddr, st static int vortex_nway_reset(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; int rc; @@ -2936,7 +2960,7 @@ static int vortex_nway_reset(struct net_ static u32 vortex_get_link(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; int rc; @@ -2950,7 +2974,7 @@ static u32 vortex_get_link(struct net_de static int vortex_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; int rc; @@ -2964,7 +2988,7 @@ static int vortex_get_settings(struct ne static int vortex_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; int rc; @@ -2994,10 +3018,11 @@ static void vortex_get_ethtool_stats(str struct ethtool_stats *stats, u64 *data) { struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; spin_lock_irqsave(&vp->lock, flags); - update_stats(dev->base_addr, dev); + update_stats(ioaddr, dev); spin_unlock_irqrestore(&vp->lock, flags); data[0] = vp->xstats.tx_deferred; @@ -3057,7 +3082,7 @@ static int vortex_ioctl(struct net_devic { int err; struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; unsigned long flags; int state = 0; @@ -3085,7 +3110,8 @@ static int vortex_ioctl(struct net_devic the chip has a very clean way to set the mode, unlike many others. */ static void set_rx_mode(struct net_device *dev) { - long ioaddr = dev->base_addr; + struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; int new_mode; if (dev->flags & IFF_PROMISC) { @@ -3097,7 +3123,7 @@ static void set_rx_mode(struct net_devic } else new_mode = SetRxFilter | RxStation | RxBroadcast; - outw(new_mode, ioaddr + EL3_CMD); + iowrite16(new_mode, ioaddr + EL3_CMD); } #if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE) @@ -3111,8 +3137,8 @@ static void set_rx_mode(struct net_devic static void set_8021q_mode(struct net_device *dev, int enable) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; - int old_window = inw(ioaddr + EL3_CMD); + void __iomem *ioaddr = vp->ioaddr; + int old_window = ioread16(ioaddr + EL3_CMD); int mac_ctrl; if ((vp->drv_flags&IS_CYCLONE) || (vp->drv_flags&IS_TORNADO)) { @@ -3124,24 +3150,24 @@ static void set_8021q_mode(struct net_de max_pkt_size += 4; /* 802.1Q VLAN tag */ EL3WINDOW(3); - outw(max_pkt_size, ioaddr+Wn3_MaxPktSize); + iowrite16(max_pkt_size, ioaddr+Wn3_MaxPktSize); /* set VlanEtherType to let the hardware checksumming treat tagged frames correctly */ EL3WINDOW(7); - outw(VLAN_ETHER_TYPE, ioaddr+Wn7_VlanEtherType); + iowrite16(VLAN_ETHER_TYPE, ioaddr+Wn7_VlanEtherType); } else { /* on older cards we have to enable large frames */ vp->large_frames = dev->mtu > 1500 || enable; EL3WINDOW(3); - mac_ctrl = inw(ioaddr+Wn3_MAC_Ctrl); + mac_ctrl = ioread16(ioaddr+Wn3_MAC_Ctrl); if (vp->large_frames) mac_ctrl |= 0x40; else mac_ctrl &= ~0x40; - outw(mac_ctrl, ioaddr+Wn3_MAC_Ctrl); + iowrite16(mac_ctrl, ioaddr+Wn3_MAC_Ctrl); } EL3WINDOW(old_window); @@ -3163,7 +3189,7 @@ static void set_8021q_mode(struct net_de /* The maximum data clock rate is 2.5 Mhz. The minimum timing is usually met by back-to-back PCI I/O cycles, but we insert a delay to avoid "overclocking" issues. */ -#define mdio_delay() inl(mdio_addr) +#define mdio_delay() ioread32(mdio_addr) #define MDIO_SHIFT_CLK 0x01 #define MDIO_DIR_WRITE 0x04 @@ -3174,15 +3200,15 @@ static void set_8021q_mode(struct net_de /* Generate the preamble required for initial synchronization and a few older transceivers. */ -static void mdio_sync(long ioaddr, int bits) +static void mdio_sync(void __iomem *ioaddr, int bits) { - long mdio_addr = ioaddr + Wn4_PhysicalMgmt; + void __iomem *mdio_addr = ioaddr + Wn4_PhysicalMgmt; /* Establish sync by sending at least 32 logic ones. */ while (-- bits >= 0) { - outw(MDIO_DATA_WRITE1, mdio_addr); + iowrite16(MDIO_DATA_WRITE1, mdio_addr); mdio_delay(); - outw(MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, mdio_addr); + iowrite16(MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, mdio_addr); mdio_delay(); } } @@ -3190,10 +3216,11 @@ static void mdio_sync(long ioaddr, int b static int mdio_read(struct net_device *dev, int phy_id, int location) { int i; - long ioaddr = dev->base_addr; + struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; int read_cmd = (0xf6 << 10) | (phy_id << 5) | location; unsigned int retval = 0; - long mdio_addr = ioaddr + Wn4_PhysicalMgmt; + void __iomem *mdio_addr = ioaddr + Wn4_PhysicalMgmt; if (mii_preamble_required) mdio_sync(ioaddr, 32); @@ -3201,17 +3228,17 @@ static int mdio_read(struct net_device * /* Shift the read command bits out. */ for (i = 14; i >= 0; i--) { int dataval = (read_cmd&(1< 0; i--) { - outw(MDIO_ENB_IN, mdio_addr); + iowrite16(MDIO_ENB_IN, mdio_addr); mdio_delay(); - retval = (retval << 1) | ((inw(mdio_addr) & MDIO_DATA_READ) ? 1 : 0); - outw(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); + retval = (retval << 1) | ((ioread16(mdio_addr) & MDIO_DATA_READ) ? 1 : 0); + iowrite16(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); mdio_delay(); } return retval & 0x20000 ? 0xffff : retval>>1 & 0xffff; @@ -3219,9 +3246,10 @@ static int mdio_read(struct net_device * static void mdio_write(struct net_device *dev, int phy_id, int location, int value) { - long ioaddr = dev->base_addr; + struct vortex_private *vp = netdev_priv(dev); + void __iomem *ioaddr = vp->ioaddr; int write_cmd = 0x50020000 | (phy_id << 23) | (location << 18) | value; - long mdio_addr = ioaddr + Wn4_PhysicalMgmt; + void __iomem *mdio_addr = ioaddr + Wn4_PhysicalMgmt; int i; if (mii_preamble_required) @@ -3230,16 +3258,16 @@ static void mdio_write(struct net_device /* Shift the command bits out. */ for (i = 31; i >= 0; i--) { int dataval = (write_cmd&(1<= 0; i--) { - outw(MDIO_ENB_IN, mdio_addr); + iowrite16(MDIO_ENB_IN, mdio_addr); mdio_delay(); - outw(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); + iowrite16(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); mdio_delay(); } return; @@ -3250,15 +3278,15 @@ static void mdio_write(struct net_device static void acpi_set_WOL(struct net_device *dev) { struct vortex_private *vp = netdev_priv(dev); - long ioaddr = dev->base_addr; + void __iomem *ioaddr = vp->ioaddr; if (vp->enable_wol) { /* Power up on: 1==Downloaded Filter, 2==Magic Packets, 4==Link Status. */ EL3WINDOW(7); - outw(2, ioaddr + 0x0c); + iowrite16(2, ioaddr + 0x0c); /* The RxFilter must accept the WOL frames. */ - outw(SetRxFilter|RxStation|RxMulticast|RxBroadcast, ioaddr + EL3_CMD); - outw(RxEnable, ioaddr + EL3_CMD); + iowrite16(SetRxFilter|RxStation|RxMulticast|RxBroadcast, ioaddr + EL3_CMD); + iowrite16(RxEnable, ioaddr + EL3_CMD); pci_enable_wake(VORTEX_PCI(vp), 0, 1); @@ -3280,10 +3308,9 @@ static void __devexit vortex_remove_one vp = netdev_priv(dev); - /* AKPM: FIXME: we should have - * if (vp->cb_fn_base) iounmap(vp->cb_fn_base); - * here - */ + if (vp->cb_fn_base) + pci_iounmap(VORTEX_PCI(vp), vp->cb_fn_base); + unregister_netdev(dev); if (VORTEX_PCI(vp)) { @@ -3293,8 +3320,10 @@ static void __devexit vortex_remove_one pci_disable_device(VORTEX_PCI(vp)); } /* Should really use issue_and_wait() here */ - outw(TotalReset | ((vp->drv_flags & EEPROM_RESET) ? 0x04 : 0x14), - dev->base_addr + EL3_CMD); + iowrite16(TotalReset | ((vp->drv_flags & EEPROM_RESET) ? 0x04 : 0x14), + vp->ioaddr + EL3_CMD); + + pci_iounmap(VORTEX_PCI(vp), vp->ioaddr); pci_free_consistent(pdev, sizeof(struct boom_rx_desc) * RX_RING_SIZE @@ -3342,7 +3371,7 @@ static int __init vortex_init (void) static void __exit vortex_eisa_cleanup (void) { struct vortex_private *vp; - long ioaddr; + void __iomem *ioaddr; #ifdef CONFIG_EISA /* Take care of the EISA devices */ @@ -3351,11 +3380,13 @@ static void __exit vortex_eisa_cleanup ( if (compaq_net_device) { vp = compaq_net_device->priv; - ioaddr = compaq_net_device->base_addr; + ioaddr = ioport_map(compaq_net_device->base_addr, + VORTEX_TOTAL_SIZE); unregister_netdev (compaq_net_device); - outw (TotalReset, ioaddr + EL3_CMD); - release_region (ioaddr, VORTEX_TOTAL_SIZE); + iowrite16 (TotalReset, ioaddr + EL3_CMD); + release_region(compaq_net_device->base_addr, + VORTEX_TOTAL_SIZE); free_netdev (compaq_net_device); } jwltest-8139too-resume.patch: 8139too.c | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) --- NEW FILE jwltest-8139too-resume.patch --- --- linux-2.6.13/drivers/net/8139too.c.orig 2005-10-04 15:34:39.497774524 -0400 +++ linux-2.6.13/drivers/net/8139too.c 2005-10-04 15:42:08.356105533 -0400 @@ -552,7 +552,8 @@ const static struct { { "RTL-8100B/8139D", HW_REVID(1, 1, 1, 0, 1, 0, 1), - HasLWake, + HasHltClk /* XXX undocumented? */ + | HasLWake, }, { "RTL-8101", @@ -2597,17 +2598,11 @@ static int rtl8139_suspend (struct pci_d static int rtl8139_resume (struct pci_dev *pdev) { struct net_device *dev = pci_get_drvdata (pdev); - struct rtl8139_private *tp = netdev_priv(dev); - void __iomem *ioaddr = tp->mmio_addr; pci_restore_state (pdev); if (!netif_running (dev)) return 0; pci_set_power_state (pdev, PCI_D0); - - /* Bring old chips out of low-power mode. */ - RTL_W8 (HltClk, 'R'); - rtl8139_init_ring (dev); rtl8139_hw_start (dev); netif_device_attach (dev); jwltest-acpi-dsdt-initrd.patch: drivers/acpi/Kconfig | 13 ++++ drivers/acpi/osl.c | 115 +++++++++++++++++++++++++++++++++++++------- drivers/acpi/tables/tbget.c | 8 ++- init/main.c | 16 +++--- 4 files changed, 126 insertions(+), 26 deletions(-) --- NEW FILE jwltest-acpi-dsdt-initrd.patch --- --- linux-2.6.12/drivers/acpi/Kconfig.orig 2005-06-17 15:48:29.000000000 -0400 +++ linux-2.6.12/drivers/acpi/Kconfig 2005-06-22 12:23:14.467811177 -0400 @@ -352,4 +352,17 @@ config ACPI_HOTPLUG_MEMORY $>modprobe acpi_memhotplug endif # ACPI +config ACPI_INITRD + bool "Read DSDT from initrd or initramfs" + depends on ACPI && BLK_DEV_INITRD && !ACPI_CUSTOM_DSDT + default n + help + The DSDT (Differentiated System Description Table) often needs to be + overridden because of broken BIOS implementations. If you want to use + a customized DSDT, please use the mkinitrd tool (mkinitrd package) to + attach the DSDT to the initrd or initramfs + (see http://gaugusch.at/kernel.shtml for details) + If there is no DSDT found in the initrd, the DSDT from the BIOS is + used. It is save to say yes here. + endmenu --- linux-2.6.12/drivers/acpi/osl.c.orig 2005-06-17 15:48:29.000000000 -0400 +++ linux-2.6.12/drivers/acpi/osl.c 2005-06-22 12:23:14.469810910 -0400 @@ -44,7 +44,10 @@ #include #include - +#ifdef CONFIG_ACPI_INITRD +#include +#include +#endif #define _COMPONENT ACPI_OS_SERVICES ACPI_MODULE_NAME ("osl") @@ -246,25 +249,105 @@ acpi_os_predefined_override (const struc return AE_OK; } -acpi_status -acpi_os_table_override (struct acpi_table_header *existing_table, - struct acpi_table_header **new_table) -{ - if (!existing_table || !new_table) - return AE_BAD_PARAMETER; +#ifdef CONFIG_ACPI_INITRD +static char * +acpi_find_dsdt_initrd(void) +{ + static const char signature[] = "INITRDDSDT123DSDT123"; + char *dsdt_start = NULL; + char *dsdt_buffer = NULL; + unsigned long len = 0, len2 = 0; + int fd; + char ramfs_dsdt_name[10] = "/DSDT.aml"; + struct kstat stat; + + /* try to get dsdt from tail of initrd */ + if ((fd = sys_open(ramfs_dsdt_name, O_RDONLY, 0)) < 0) { + if (initrd_start) { + char *data = (char *)initrd_start; + + printk(KERN_INFO PREFIX "Looking for DSDT in initrd..."); + + /* Search for the start signature */ + while (data < (char *)initrd_end - sizeof(signature) - 4) { + if (!memcmp(data, signature, sizeof(signature))) { + data += sizeof(signature); + if (!memcmp(data, "DSDT", 4)) + dsdt_start = data; + break; + } + data++; + } -#ifdef CONFIG_ACPI_CUSTOM_DSDT - if (strncmp(existing_table->signature, "DSDT", 4) == 0) - *new_table = (struct acpi_table_header*)AmlCode; - else + if (dsdt_start){ + printk(PREFIX " found at offset %zu", + dsdt_start - (char *)initrd_start); + len = (char*) initrd_end - dsdt_start; + printk(", size: %lu bytes\n", len); + dsdt_buffer = ACPI_MEM_ALLOCATE(len + 1); + memcpy(dsdt_buffer, dsdt_start, len); + *(dsdt_buffer + len + 1)= '\0'; + } + else + printk(" not found!\n"); + } + } + /* get dsdt from initramfs */ + else{ + printk(KERN_INFO PREFIX "Looking for DSDT in initramfs..."); + if (vfs_stat(ramfs_dsdt_name, &stat) < 0){ + printk ("error getting stats for file %s\n", ramfs_dsdt_name); + return NULL; + } + + len = stat.size; + dsdt_buffer = ACPI_MEM_ALLOCATE(len + 1); + if (!dsdt_buffer) { + printk("Could not allocate %lu bytes of memory\n", len); + return NULL; + } + printk (" found %s ...", ramfs_dsdt_name); + + len2 = sys_read (fd, (char __user *) dsdt_buffer, len); + if (len2 < len ){ + printk(PREFIX "\nError trying to read %lu bytes from %s\n", + len, ramfs_dsdt_name); + ACPI_MEM_FREE (dsdt_buffer); + dsdt_buffer = NULL; + } + else{ + printk(" successfully read %lu bytes from %s\n", + len, ramfs_dsdt_name); + *(dsdt_buffer + len + 1) = '\0'; + } + } + if (!dsdt_buffer) + printk(" not found!\n"); + return dsdt_buffer; +} +#endif + +acpi_status + acpi_os_table_override (struct acpi_table_header *existing_table, + struct acpi_table_header **new_table) + { + if (!existing_table || !new_table) + return AE_BAD_PARAMETER; + *new_table = NULL; -#else - *new_table = NULL; + if (strncmp(existing_table->signature, "DSDT", 4) == 0) { +#ifdef CONFIG_ACPI_CUSTOM_DSDT + *new_table = (struct acpi_table_header*)AmlCode; +#elif defined(CONFIG_ACPI_INITRD) + *new_table = (struct acpi_table_header*)acpi_find_dsdt_initrd(); #endif + if (*new_table) + printk(KERN_INFO PREFIX "Using customized DSDT\n"); + } return AE_OK; -} - -static irqreturn_t + } + + static irqreturn_t acpi_irq(int irq, void *dev_id, struct pt_regs *regs) { return (*acpi_irq_handler)(acpi_irq_context) ? IRQ_HANDLED : IRQ_NONE; --- linux-2.6.12/drivers/acpi/tables/tbget.c.orig 2005-06-17 15:48:29.000000000 -0400 +++ linux-2.6.12/drivers/acpi/tables/tbget.c 2005-06-22 12:23:14.471810644 -0400 @@ -45,7 +45,6 @@ #include #include - #define _COMPONENT ACPI_TABLES ACPI_MODULE_NAME ("tbget") @@ -287,12 +286,17 @@ acpi_tb_table_override ( acpi_format_exception (status))); return_ACPI_STATUS (status); } - + /* Copy the table info */ ACPI_REPORT_INFO (("Table [%4.4s] replaced by host OS\n", table_info->pointer->signature)); +#ifdef CONFIG_ACPI_INITRD + if (new_table) + ACPI_MEM_FREE(new_table); +#endif + return_ACPI_STATUS (AE_OK); } --- linux-2.6.12/init/main.c.orig 2005-06-22 12:16:17.014413511 -0400 +++ linux-2.6.12/init/main.c 2005-06-22 12:23:14.473810378 -0400 @@ -520,8 +520,6 @@ asmlinkage void __init start_kernel(void check_bugs(); - acpi_early_init(); /* before LAPIC and SMP init */ - /* Do the rest non-__init'ed, we're now alive */ rest_init(); } @@ -651,6 +649,14 @@ static int init(void * unused) */ child_reaper = current; + /* + * Do this before initcalls, because some drivers want to access + * firmware files. + */ + populate_rootfs(); + + acpi_early_init(); /* before LAPIC and SMP init */ + /* Sets up cpus_possible() */ smp_prepare_cpus(max_cpus); @@ -661,12 +667,6 @@ static int init(void * unused) cpuset_init_smp(); - /* - * Do this before initcalls, because some drivers want to access - * firmware files. - */ - populate_rootfs(); - do_basic_setup(); sched_init_smp(); jwltest-b44-alloc.patch: b44.c | 134 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---- b44.h | 2 2 files changed, 128 insertions(+), 8 deletions(-) --- NEW FILE jwltest-b44-alloc.patch --- --- linux-2.6.13/drivers/net/b44.c.orig 2005-10-21 15:41:30.000000000 -0400 +++ linux-2.6.13/drivers/net/b44.c 2005-10-21 15:56:03.000000000 -0400 @@ -107,6 +107,29 @@ static void b44_poll_controller(struct net_device *dev); #endif +static int dma_desc_align_mask; +static int dma_desc_sync_size; + +static inline void b44_sync_dma_desc_for_device(struct pci_dev *pdev, + dma_addr_t dma_base, + unsigned long offset, + enum dma_data_direction dir) +{ + dma_sync_single_range_for_device(&pdev->dev, dma_base, + offset & dma_desc_align_mask, + dma_desc_sync_size, dir); +} + +static inline void b44_sync_dma_desc_for_cpu(struct pci_dev *pdev, + dma_addr_t dma_base, + unsigned long offset, + enum dma_data_direction dir) +{ + dma_sync_single_range_for_cpu(&pdev->dev, dma_base, + offset & dma_desc_align_mask, + dma_desc_sync_size, dir); +} + static inline unsigned long br32(const struct b44 *bp, unsigned long reg) { return readl(bp->regs + reg); @@ -669,6 +692,11 @@ dp->ctrl = cpu_to_le32(ctrl); dp->addr = cpu_to_le32((u32) mapping + bp->rx_offset + bp->dma_offset); + if (bp->flags & B44_FLAG_RX_RING_HACK) + b44_sync_dma_desc_for_device(bp->pdev, bp->rx_ring_dma, + dest_idx * sizeof(dp), + DMA_BIDIRECTIONAL); + return RX_PKT_BUF_SZ; } @@ -693,6 +721,11 @@ pci_unmap_addr_set(dest_map, mapping, pci_unmap_addr(src_map, mapping)); + if (bp->flags & B44_FLAG_RX_RING_HACK) + b44_sync_dma_desc_for_cpu(bp->pdev, bp->rx_ring_dma, + src_idx * sizeof(src_desc), + DMA_BIDIRECTIONAL); + ctrl = src_desc->ctrl; if (dest_idx == (B44_RX_RING_SIZE - 1)) ctrl |= cpu_to_le32(DESC_CTRL_EOT); @@ -701,8 +734,14 @@ dest_desc->ctrl = ctrl; dest_desc->addr = src_desc->addr; + src_map->skb = NULL; + if (bp->flags & B44_FLAG_RX_RING_HACK) + b44_sync_dma_desc_for_device(bp->pdev, bp->rx_ring_dma, + dest_idx * sizeof(dest_desc), + DMA_BIDIRECTIONAL); + pci_dma_sync_single_for_device(bp->pdev, src_desc->addr, RX_PKT_BUF_SZ, PCI_DMA_FROMDEVICE); @@ -960,6 +999,11 @@ bp->tx_ring[entry].ctrl = cpu_to_le32(ctrl); bp->tx_ring[entry].addr = cpu_to_le32((u32) mapping+bp->dma_offset); + if (bp->flags & B44_FLAG_TX_RING_HACK) + b44_sync_dma_desc_for_device(bp->pdev, bp->tx_ring_dma, + entry * sizeof(bp->tx_ring[0]), + DMA_TO_DEVICE); + entry = NEXT_TX(entry); bp->tx_prod = entry; @@ -1065,6 +1109,16 @@ memset(bp->rx_ring, 0, B44_RX_RING_BYTES); memset(bp->tx_ring, 0, B44_TX_RING_BYTES); + if (bp->flags & B44_FLAG_RX_RING_HACK) + dma_sync_single_for_device(&bp->pdev->dev, bp->rx_ring_dma, + DMA_TABLE_BYTES, + PCI_DMA_BIDIRECTIONAL); + + if (bp->flags & B44_FLAG_TX_RING_HACK) + dma_sync_single_for_device(&bp->pdev->dev, bp->tx_ring_dma, + DMA_TABLE_BYTES, + PCI_DMA_TODEVICE); + for (i = 0; i < bp->rx_pending; i++) { if (b44_alloc_rx_skb(bp, -1, i) < 0) break; @@ -1086,14 +1140,28 @@ bp->tx_buffers = NULL; } if (bp->rx_ring) { - pci_free_consistent(bp->pdev, DMA_TABLE_BYTES, - bp->rx_ring, bp->rx_ring_dma); + if (bp->flags & B44_FLAG_RX_RING_HACK) { + dma_unmap_single(&bp->pdev->dev, bp->rx_ring_dma, + DMA_TABLE_BYTES, + DMA_BIDIRECTIONAL); + kfree(bp->rx_ring); + } else + pci_free_consistent(bp->pdev, DMA_TABLE_BYTES, + bp->rx_ring, bp->rx_ring_dma); bp->rx_ring = NULL; + bp->flags &= ~B44_FLAG_RX_RING_HACK; } if (bp->tx_ring) { - pci_free_consistent(bp->pdev, DMA_TABLE_BYTES, - bp->tx_ring, bp->tx_ring_dma); + if (bp->flags & B44_FLAG_TX_RING_HACK) { + dma_unmap_single(&bp->pdev->dev, bp->tx_ring_dma, + DMA_TABLE_BYTES, + DMA_TO_DEVICE); + kfree(bp->tx_ring); + } else + pci_free_consistent(bp->pdev, DMA_TABLE_BYTES, + bp->tx_ring, bp->tx_ring_dma); bp->tx_ring = NULL; + bp->flags &= ~B44_FLAG_TX_RING_HACK; } } @@ -1119,12 +1187,56 @@ size = DMA_TABLE_BYTES; bp->rx_ring = pci_alloc_consistent(bp->pdev, size, &bp->rx_ring_dma); - if (!bp->rx_ring) - goto out_err; + if (!bp->rx_ring) { + /* Allocation may have failed due to pci_alloc_consistent + insisting on use of GFP_DMA, which is more restrictive + than necessary... */ + struct dma_desc *rx_ring; + dma_addr_t rx_ring_dma; + + if (!(rx_ring = (struct dma_desc *)kmalloc(size, GFP_KERNEL))) + goto out_err; + + memset(rx_ring, 0, size); + rx_ring_dma = dma_map_single(&bp->pdev->dev, rx_ring, + DMA_TABLE_BYTES, + DMA_BIDIRECTIONAL); + + if (rx_ring_dma + size > B44_DMA_MASK) { + kfree(rx_ring); + goto out_err; + } + + bp->rx_ring = rx_ring; + bp->rx_ring_dma = rx_ring_dma; + bp->flags |= B44_FLAG_RX_RING_HACK; + } bp->tx_ring = pci_alloc_consistent(bp->pdev, size, &bp->tx_ring_dma); - if (!bp->tx_ring) - goto out_err; + if (!bp->tx_ring) { + /* Allocation may have failed due to pci_alloc_consistent + insisting on use of GFP_DMA, which is more restrictive + than necessary... */ + struct dma_desc *tx_ring; + dma_addr_t tx_ring_dma; + + if (!(tx_ring = (struct dma_desc *)kmalloc(size, GFP_KERNEL))) + goto out_err; + + memset(tx_ring, 0, size); + tx_ring_dma = dma_map_single(&bp->pdev->dev, tx_ring, + DMA_TABLE_BYTES, + DMA_TO_DEVICE); + + if (tx_ring_dma + size > B44_DMA_MASK) { + kfree(tx_ring); + goto out_err; + } + + bp->tx_ring = tx_ring; + bp->tx_ring_dma = tx_ring_dma; + bp->flags |= B44_FLAG_TX_RING_HACK; + } return 0; @@ -1972,6 +2084,12 @@ static int __init b44_init(void) { + unsigned int dma_desc_align_size = dma_get_cache_alignment(); + + /* Setup paramaters for syncing RX/TX DMA descriptors */ + dma_desc_align_mask = ~(dma_desc_align_size - 1); + dma_desc_sync_size = max(dma_desc_align_size, sizeof(struct dma_desc)); + return pci_module_init(&b44_driver); } --- linux-2.6.13/drivers/net/b44.h.orig 2005-08-28 19:41:01.000000000 -0400 +++ linux-2.6.13/drivers/net/b44.h 2005-10-21 15:56:03.000000000 -0400 @@ -400,6 +400,8 @@ #define B44_FLAG_ADV_100HALF 0x04000000 #define B44_FLAG_ADV_100FULL 0x08000000 #define B44_FLAG_INTERNAL_PHY 0x10000000 +#define B44_FLAG_RX_RING_HACK 0x20000000 +#define B44_FLAG_TX_RING_HACK 0x40000000 u32 rx_offset; jwltest-dma-x86_64.patch: dma-mapping.h | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+) --- NEW FILE jwltest-dma-x86_64.patch --- --- linux-2.6.13/include/asm-x86_64/dma-mapping.h.orig 2005-08-28 19:41:01.000000000 -0400 +++ linux-2.6.13/include/asm-x86_64/dma-mapping.h 2005-10-21 15:54:12.000000000 -0400 @@ -85,6 +85,34 @@ flush_write_buffers(); } +static inline void dma_sync_single_range_for_cpu(struct device *hwdev, + dma_addr_t dma_handle, + unsigned long offset, + size_t size, int direction) +{ + if (direction == DMA_NONE) + out_of_line_bug(); + + if (swiotlb) + return swiotlb_sync_single_for_cpu(hwdev,dma_handle,offset+size,direction); + + flush_write_buffers(); +} + +static inline void dma_sync_single_range_for_device(struct device *hwdev, + dma_addr_t dma_handle, + unsigned long offset, + size_t size, int direction) +{ + if (direction == DMA_NONE) + out_of_line_bug(); + + if (swiotlb) + return swiotlb_sync_single_for_device(hwdev,dma_handle,offset+size,direction); + + flush_write_buffers(); +} + static inline void dma_sync_sg_for_cpu(struct device *hwdev, struct scatterlist *sg, int nelems, int direction) jwltest-ia64-dma-get-cache-align.patch: arch/ia64/kernel/setup.c | 7 +++++++ include/asm-ia64/dma-mapping.h | 7 +------ 2 files changed, 8 insertions(+), 6 deletions(-) --- NEW FILE jwltest-ia64-dma-get-cache-align.patch --- --- linux-2.6.13/include/asm-ia64/dma-mapping.h.orig 2005-08-28 19:41:01.000000000 -0400 +++ linux-2.6.13/include/asm-ia64/dma-mapping.h 2005-10-21 15:55:21.000000000 -0400 @@ -48,12 +48,7 @@ return 0; } -static inline int -dma_get_cache_alignment (void) -{ - extern int ia64_max_cacheline_size; - return ia64_max_cacheline_size; -} +extern int dma_get_cache_alignment(void); static inline void dma_cache_sync (void *vaddr, size_t size, enum dma_data_direction dir) --- linux-2.6.13/arch/ia64/kernel/setup.c.orig 2005-08-28 19:41:01.000000000 -0400 +++ linux-2.6.13/arch/ia64/kernel/setup.c 2005-10-21 15:55:21.000000000 -0400 @@ -79,6 +79,13 @@ unsigned long vga_console_membase; unsigned long ia64_max_cacheline_size; + +int dma_get_cache_alignment(void) +{ + return ia64_max_cacheline_size; +} +EXPORT_SYMBOL(dma_get_cache_alignment); + unsigned long ia64_iobase; /* virtual address for I/O accesses */ EXPORT_SYMBOL(ia64_iobase); struct io_space io_space[MAX_IO_SPACES]; jwltest-ipw2100-1_1_0.patch: Documentation/networking/README.ipw2100 | 162 drivers/net/wireless/Kconfig | 55 drivers/net/wireless/Makefile | 4 drivers/net/wireless/ieee80211/ieee80211.h | 85 drivers/net/wireless/ieee80211/ieee80211_crypt.c | 4 drivers/net/wireless/ieee80211/ieee80211_crypt.h | 6 drivers/net/wireless/ieee80211/ieee80211_crypt_ccmp.c | 3 drivers/net/wireless/ieee80211/ieee80211_crypt_tkip.c | 3 drivers/net/wireless/ieee80211/ieee80211_crypt_wep.c | 4 drivers/net/wireless/ieee80211/ieee80211_module.c | 50 drivers/net/wireless/ieee80211/ieee80211_rx.c | 226 drivers/net/wireless/ieee80211/ieee80211_tx.c | 113 drivers/net/wireless/ieee80211/ieee80211_wx.c | 148 drivers/net/wireless/ipw2100.c | 8649 +++++++++++++++++ drivers/net/wireless/ipw2100.h | 1278 ++ drivers/net/wireless/ipw2100/LICENSE | 339 drivers/net/wireless/ipw2100/Makefile | 15 drivers/net/wireless/ipw2100/ipw2100.c | 8972 ------------------ drivers/net/wireless/ipw2100/ipw2100.h | 1287 -- 19 files changed, 10409 insertions(+), 10994 deletions(-) --- NEW FILE jwltest-ipw2100-1_1_0.patch --- --- linux-2.6.12/Documentation/networking/README.ipw2100.orig 2005-06-22 13:38:36.756298804 -0400 +++ linux-2.6.12/Documentation/networking/README.ipw2100 2005-06-22 13:39:36.938279261 -0400 @@ -1,32 +1,59 @@ -Intel PRO/Wireless 2100 802.11b Driver for Linux +=========================== +Intel(R) PRO/Wireless 2100 Network Connection Driver for Linux README.ipw2100 -October 13, 2004 +March 14, 2005 +=========================== +Index +--------------------------- +0. Introduction +1. Release 1.1.0 Current Features +2. Command Line Parameters +3. Sysfs Helper Files +4. Radio Kill Switch +5. Dynamic Firmware +6. Power Management +7. Support +8. License -Release 0.56 Current Features + +=========================== +0. Introduction ------------ ----- ----- ---- --- -- - -- IBSS and BSS modes -- 802.11 fragmentation +This document provides a brief overview of the features supported by the +IPW2100 driver project. The main project website, where the latest +development version of the driver can be found, is: + + http://ipw2100.sourceforge.net + +There you can find the not only the latest releases, but also information about +potential fixes and patches, as well as links to the development mailing list +for the driver project. + + +=========================== +1. Release 1.1.0 Current Supported Features +--------------------------- +- Managed (BSS) and Ad-Hoc (IBSS) - WEP (shared key and open) -- wireless extension support -- 802.1x EAP via xsupplicant +- Wireless Tools support +- 802.1x (tested with XSupplicant 1.0.1) + +Enabled (but not supported) features: - Monitor/RFMon mode -- transmit power control -- long/short preamble support -- power states support (ACPI) +- WPA/WPA2 -TODO ------------- ----- ----- ---- --- -- - -- Fix bugs... The biggies: - C3 corruption - Fragmentation +The distinction between officially supported and enabled is a reflection +on the amount of validation and interoperability testing that has been +performed on a given feature. -Command Line Parameters ------------- ----- ----- ---- --- -- - +=========================== +2. Command Line Parameters +--------------------------- If the driver is built as a module, the following optional parameters are used by entering them on the command line with the modprobe command using this @@ -34,54 +61,82 @@ syntax: modprobe ipw2100 [ + + + + + @@ -357,6 +362,8 @@ + + @@ -368,6 +375,8 @@ + + @@ -379,6 +388,8 @@ + + @@ -389,6 +400,8 @@ + + @@ -400,6 +413,8 @@ + + @@ -411,6 +426,8 @@ + + @@ -424,6 +441,8 @@ + + @@ -435,6 +454,8 @@ + + @@ -445,6 +466,8 @@ + + @@ -455,6 +478,8 @@ + + @@ -465,6 +490,8 @@ + + @@ -475,6 +502,8 @@ + + @@ -485,6 +514,8 @@ + + @@ -495,6 +526,8 @@ + + @@ -511,6 +544,8 @@ + + Index: eclipse.spec =================================================================== RCS file: /cvs/dist/rpms/eclipse/FC-4/eclipse.spec,v retrieving revision 1.160 retrieving revision 1.161 diff -u -r1.160 -r1.161 --- eclipse.spec 27 Oct 2005 18:33:07 -0000 1.160 +++ eclipse.spec 28 Oct 2005 16:28:46 -0000 1.161 @@ -23,7 +23,7 @@ Summary: %{pkg_summary} Name: eclipse Version: %{eclipse_majmin}.%{eclipse_micro} -Release: 1jpp_1fc.FC4.3 +Release: 1jpp_1fc.FC4.4 License: EPL Group: Text Editors/Integrated Development Environments (IDE) URL: http://www.eclipse.org/ @@ -106,6 +106,7 @@ Patch38: %{name}-buildDocPlugins.patch # https://bugs.eclipse.org/bugs/show_bug.cgi?id=111299 Patch39: %{name}-e.o111299.patch +Patch40: %{name}-usebuiltlauncher.patch %if %{gcj_support} ExclusiveArch: %{ix86} x86_64 ppc @@ -366,6 +367,7 @@ pushd plugins %patch39 -p0 popd +%patch40 -p0 cp %{SOURCE21} . # Because the launcher source is zipped up, we need to unzip, patch, and re-pack @@ -1201,6 +1203,9 @@ %{_datadir}/%{name}/plugins/org.eclipse.platform.source.linux.gtk.*_3.1.1 %changelog +* Fri Oct 28 2005 Andrew Overholt 3.1.1-1jpp_1fc.FC4.4 +- Add patch to use built launcher (e.o#83454). + * Thu Oct 27 2005 Andrew Overholt 3.1.1-1jpp_1fc.FC4.3 - Really fix browser issue on x86_64 (rh#168040). From fedora-cvs-commits at redhat.com Fri Oct 28 17:32:50 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 28 Oct 2005 13:32:50 -0400 Subject: rpms/xorg-x11/devel xorg-x11.spec,1.236,1.237 Message-ID: <200510281732.j9SHWoJx008030@cvs.devel.redhat.com> Author: mharris Update of /cvs/dist/rpms/xorg-x11/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv8008 Modified Files: xorg-x11.spec Log Message: * Fri Oct 28 2005 Mike A. Harris 6.8.2-57 - Re-enable s390x arch Index: xorg-x11.spec =================================================================== RCS file: /cvs/dist/rpms/xorg-x11/devel/xorg-x11.spec,v retrieving revision 1.236 retrieving revision 1.237 diff -u -r1.236 -r1.237 --- xorg-x11.spec 26 Oct 2005 03:49:45 -0000 1.236 +++ xorg-x11.spec 28 Oct 2005 17:32:13 -0000 1.237 @@ -6,8 +6,8 @@ # builds cleanly on currently. As new platforms are supported, they'll # be added to the list. Please file bug reqports in bugzilla.redhat.com to # have architecture specific patches and modifications added to this file -#ExclusiveArch: %{ix86} x86_64 alpha ia64 s390 s390x ppc ppc64 sparc sparc64 -ExclusiveArch: %{ix86} x86_64 alpha ia64 s390 ppc ppc64 sparc sparc64 +ExclusiveArch: %{ix86} x86_64 alpha ia64 s390 s390x ppc ppc64 sparc sparc64 +#ExclusiveArch: %{ix86} x86_64 alpha ia64 s390 ppc ppc64 sparc sparc64 # xorg-x11 build requires about 1Gb of disk space, however other disk space # users may be running simultaneously, so we set requirements to 4Gb. This @@ -19,7 +19,7 @@ Name: xorg-x11 Version: 6.8.2 -Release: 56 +Release: 57 #Release: 1.FC3.54.0 #Release: ?.FC4.54.0 @@ -3686,6 +3686,9 @@ [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %changelog +* Fri Oct 28 2005 Mike A. Harris 6.8.2-57 +- Re-enable s390x arch + * Tue Oct 25 2005 Mike A. Harris 6.8.2-56 - Added "Provides: lib*-devel" virtual provides to 'devel' subpackage, so that packages updated tp build in the modular tree will still build in the From fedora-cvs-commits at redhat.com Fri Oct 28 17:33:38 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 28 Oct 2005 13:33:38 -0400 Subject: rpms/pykickstart/devel .cvsignore, 1.6, 1.7 pykickstart.spec, 1.6, 1.7 sources, 1.7, 1.8 Message-ID: <200510281733.j9SHXcOJ008068@cvs.devel.redhat.com> Author: clumens Update of /cvs/dist/rpms/pykickstart/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv8023 Modified Files: .cvsignore pykickstart.spec sources Log Message: Bump version. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/pykickstart/devel/.cvsignore,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- .cvsignore 24 Oct 2005 21:13:43 -0000 1.6 +++ .cvsignore 28 Oct 2005 17:33:22 -0000 1.7 @@ -3,3 +3,4 @@ pykickstart-0.3.tar.gz pykickstart-0.4.tar.gz pykickstart-0.5.tar.gz +pykickstart-0.6.tar.gz Index: pykickstart.spec =================================================================== RCS file: /cvs/dist/rpms/pykickstart/devel/pykickstart.spec,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- pykickstart.spec 24 Oct 2005 21:13:43 -0000 1.6 +++ pykickstart.spec 28 Oct 2005 17:33:22 -0000 1.7 @@ -2,7 +2,7 @@ Summary: A python library for manipulating kickstart files Name: pykickstart -Version: 0.5 +Version: 0.6 Release: 1 Source0: %{name}-%{version}.tar.gz License: GPL @@ -36,6 +36,10 @@ /usr/bin/ksvalidator %changelog +* Fri Oct 28 2005 Chris Lumens 0.6-1 +- Add --resolvedeps and --ignoredeps as deprecated options. +- Pass line number to header functions. + * Mon Oct 24 2005 Chris Lumens 0.5-1 - Add line numbers to exception reporting. - Added ksvalidator. Index: sources =================================================================== RCS file: /cvs/dist/rpms/pykickstart/devel/sources,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- sources 24 Oct 2005 21:13:43 -0000 1.7 +++ sources 28 Oct 2005 17:33:22 -0000 1.8 @@ -1 +1 @@ -0af74fa2b025439146a7cf629fc79929 pykickstart-0.5.tar.gz +8997962b34bcc7ba8673383dfa03d27d pykickstart-0.6.tar.gz From fedora-cvs-commits at redhat.com Fri Oct 28 17:44:17 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 28 Oct 2005 13:44:17 -0400 Subject: rpms/redhat-menus/devel .cvsignore, 1.28, 1.29 redhat-menus.spec, 1.44, 1.45 sources, 1.29, 1.30 Message-ID: <200510281744.j9SHiHY4009427@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/redhat-menus/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv8991 Modified Files: .cvsignore redhat-menus.spec sources Log Message: Hide usermount Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/redhat-menus/devel/.cvsignore,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- .cvsignore 25 Oct 2005 23:13:55 -0000 1.28 +++ .cvsignore 28 Oct 2005 17:44:10 -0000 1.29 @@ -1 +1,8 @@ +<<<<<<< .cvsignore +redhat-menus-5.0.1.tar.gz +redhat-menus-5.0.2.tar.gz redhat-menus-5.0.4.tar.gz +======= +redhat-menus-5.0.4.tar.gz +>>>>>>> 1.28 +redhat-menus-5.0.5.tar.gz Index: redhat-menus.spec =================================================================== RCS file: /cvs/dist/rpms/redhat-menus/devel/redhat-menus.spec,v retrieving revision 1.44 retrieving revision 1.45 diff -u -r1.44 -r1.45 --- redhat-menus.spec 25 Oct 2005 23:13:55 -0000 1.44 +++ redhat-menus.spec 28 Oct 2005 17:44:11 -0000 1.45 @@ -3,7 +3,7 @@ Summary: Configuration and data files for the desktop menus Name: redhat-menus -Version: 5.0.4 +Version: 5.0.5 Release: 1 URL: http://www.redhat.com Source0: %{name}-%{version}.tar.gz @@ -65,6 +65,9 @@ %{_datadir}/desktop-directories/*.directory %changelog +* Fri Oct 28 2005 Matthias Clasen 5.0.5-1 +- Hide usermount by default + * Tue Oct 25 2005 David Malcolm - 5.0.4-1 - Split the evolution desktop file into four separate ones: one per component. Force people to update evolution, to avoid it using a stale symlink. Index: sources =================================================================== RCS file: /cvs/dist/rpms/redhat-menus/devel/sources,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- sources 25 Oct 2005 23:13:55 -0000 1.29 +++ sources 28 Oct 2005 17:44:11 -0000 1.30 @@ -1 +1 @@ -0cff6b3449b70112713eee8801d46a6d redhat-menus-5.0.4.tar.gz +7526fa73d73b1751ee94cea45dee0612 redhat-menus-5.0.5.tar.gz From fedora-cvs-commits at redhat.com Fri Oct 28 18:05:42 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 28 Oct 2005 14:05:42 -0400 Subject: rpms/totem/devel totem-1.2.0-gmoduledep.patch, NONE, 1.1 totem.spec, 1.30, 1.31 Message-ID: <200510281805.j9SI5gSr018628@cvs.devel.redhat.com> Author: johnp Update of /cvs/dist/rpms/totem/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv18566 Modified Files: totem.spec Added Files: totem-1.2.0-gmoduledep.patch Log Message: - Add patch to include gmodule explicitly to comply with changes in glib totem-1.2.0-gmoduledep.patch: configure.in | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) --- NEW FILE totem-1.2.0-gmoduledep.patch --- --- totem-1.2.0/configure.in.gmoduledep 2005-10-28 11:22:19.000000000 -0400 +++ totem-1.2.0/configure.in 2005-10-28 11:22:47.000000000 -0400 @@ -139,10 +139,10 @@ dnl Seems that the order matters because libtool blows dnl Also check if we're going to be using GTK+ only if test x$ENABLE_GTK = "xno" ; then - PKG_CHECK_MODULES(EXTRA_GNOME, glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS libgnomeui-2.0 >= $GNOMEUI_REQS libglade-2.0 gnome-vfs-2.0 >= $GNOMEVFS_REQS gnome-vfs-module-2.0 >= $GNOMEVFS_REQS gnome-desktop-2.0 >= 2.1.5 gnome-icon-theme >= $GNOMEICON_REQS iso-codes libmusicbrainz $MM) + PKG_CHECK_MODULES(EXTRA_GNOME, glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS libgnomeui-2.0 >= $GNOMEUI_REQS libglade-2.0 gnome-vfs-2.0 >= $GNOMEVFS_REQS gnome-vfs-module-2.0 >= $GNOMEVFS_REQS gnome-desktop-2.0 >= 2.1.5 gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 iso-codes libmusicbrainz $MM) HAVE_GNOME=yes else - PKG_CHECK_MODULES(EXTRA_GNOME, glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS libglade-2.0 gnome-vfs-2.0 >= $GNOMEVFS_REQS gnome-vfs-module-2.0 >= $GNOMEVFS_REQS gnome-icon-theme >= $GNOMEICON_REQS iso-codes libmusicbrainz $MM) + PKG_CHECK_MODULES(EXTRA_GNOME, glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS libglade-2.0 gnome-vfs-2.0 >= $GNOMEVFS_REQS gnome-vfs-module-2.0 >= $GNOMEVFS_REQS gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 iso-codes libmusicbrainz $MM) AC_DEFINE(USE_STABLE_LIBGNOMEUI, 1, [defined if we don't have GNOME]) AC_DEFINE(HAVE_GTK_ONLY, 1, [defined if GNOME isn't used]) HAVE_GNOME=no Index: totem.spec =================================================================== RCS file: /cvs/dist/rpms/totem/devel/totem.spec,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- totem.spec 26 Oct 2005 20:28:49 -0000 1.30 +++ totem.spec 28 Oct 2005 18:04:54 -0000 1.31 @@ -4,14 +4,14 @@ Summary: Movie player for GNOME 2 Name: totem Version: 1.2.0 -Release: 1 +Release: 2 License: GPL Group: Applications/Multimedia URL: http://www.hadess.net/totem.php3 Source0: http://ftp.gnome.org/pub/GNOME/sources/totem/0.99/totem-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Patch1: totem-0.99.19-feature-help-removal.patch - +Patch2: totem-1.2.0-gmoduledep.patch Requires(post): GConf2 Requires: gnome-desktop >= 2.6.0 Requires: gstreamer >= %gstreamer_version @@ -50,9 +50,10 @@ %prep %setup -q %patch1 -p1 -b .feature-help-removal +%patch2 -p1 -b .gmoduledep %build - +autoreconf %configure --enable-gstreamer --disable-lirc --disable-vanity --disable-mozilla --disable-nvtv #apparently someone forgot to autogen before disting 0.99.17 :) From fedora-cvs-commits at redhat.com Fri Oct 28 19:22:28 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 28 Oct 2005 15:22:28 -0400 Subject: rpms/selinux-policy-strict/devel policy-20051021.patch, 1.9, 1.10 selinux-policy-strict.spec, 1.408, 1.409 Message-ID: <200510281922.j9SJMSS6011541@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-strict/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv11460 Modified Files: policy-20051021.patch selinux-policy-strict.spec Log Message: * Fri Oct 28 2005 Dan Walsh 1.27.2-9 - Add avahi policy policy-20051021.patch: Makefile | 14 - attrib.te | 18 + domains/admin.te | 2 domains/misc/kernel.te | 2 domains/program/fsadm.te | 2 domains/program/ifconfig.te | 2 domains/program/init.te | 2 domains/program/initrc.te | 13 + domains/program/logrotate.te | 2 domains/program/modutil.te | 8 domains/program/newrole.te | 4 domains/program/restorecon.te | 4 domains/program/setfiles.te | 2 domains/program/ssh.te | 2 domains/program/su.te | 4 domains/program/syslogd.te | 4 domains/program/tmpreaper.te | 2 domains/program/unused/NetworkManager.te | 10 + domains/program/unused/amanda.te | 21 +- domains/program/unused/apache.te | 15 + domains/program/unused/apmd.te | 13 + domains/program/unused/auditd.te | 6 domains/program/unused/avahi.te | 29 ++ domains/program/unused/bluetooth.te | 57 +++++ domains/program/unused/cups.te | 11 - domains/program/unused/dbusd.te | 2 domains/program/unused/dhcpc.te | 3 domains/program/unused/dhcpd.te | 3 domains/program/unused/exim.te | 309 +++++++++++++++++++++++++++++++ domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 3 domains/program/unused/mysqld.te | 6 domains/program/unused/named.te | 17 + domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 5 domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 16 + domains/program/unused/ping.te | 2 domains/program/unused/postfix.te | 54 +++-- domains/program/unused/postgresql.te | 11 - domains/program/unused/pppd.te | 22 +- domains/program/unused/rpcd.te | 16 + domains/program/unused/rpm.te | 4 domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 3 domains/program/unused/sendmail.te | 3 domains/program/unused/snmpd.te | 1 domains/program/unused/spamd.te | 28 -- domains/program/unused/udev.te | 8 domains/program/unused/webalizer.te | 3 domains/program/unused/xdm.te | 2 domains/program/unused/yppasswdd.te | 40 ++++ file_contexts/distros.fc | 1 file_contexts/program/apache.fc | 2 file_contexts/program/avahi.fc | 4 file_contexts/program/backup.fc | 2 file_contexts/program/bluetooth.fc | 2 file_contexts/program/dhcpc.fc | 1 file_contexts/program/dhcpd.fc | 5 file_contexts/program/exim.fc | 18 + file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 3 file_contexts/program/kudzu.fc | 2 file_contexts/program/pegasus.fc | 6 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/yppasswdd.fc | 2 file_contexts/types.fc | 4 genfs_contexts | 1 macros/base_user_macros.te | 7 macros/global_macros.te | 25 -- macros/home_macros.te | 9 macros/program/chkpwd_macros.te | 7 macros/program/dbusd_macros.te | 1 macros/program/exim_macros.te | 75 +++++++ macros/program/su_macros.te | 2 macros/program/ypbind_macros.te | 1 macros/user_macros.te | 1 man/man8/ftpd_selinux.8 | 19 + man/man8/httpd_selinux.8 | 9 man/man8/rsync_selinux.8 | 12 - man/man8/samba_selinux.8 | 9 mcs | 194 ++++++------------- mls | 227 ++++++++-------------- targeted/assert.te | 2 targeted/domains/program/sendmail.te | 1 targeted/domains/program/ssh.te | 2 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 7 tunables/distro.tun | 2 tunables/tunable.tun | 4 types/devpts.te | 4 types/file.te | 43 +--- types/network.te | 10 - types/nfs.te | 1 types/security.te | 2 100 files changed, 1069 insertions(+), 509 deletions(-) Index: policy-20051021.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/devel/policy-20051021.patch,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- policy-20051021.patch 28 Oct 2005 14:41:47 -0000 1.9 +++ policy-20051021.patch 28 Oct 2005 19:22:25 -0000 1.10 @@ -227,12 +227,12 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/restorecon.te policy-1.27.2/domains/program/restorecon.te --- nsapolicy/domains/program/restorecon.te 2005-10-21 11:36:15.000000000 -0400 -+++ policy-1.27.2/domains/program/restorecon.te 2005-10-27 10:26:28.000000000 -0400 ++++ policy-1.27.2/domains/program/restorecon.te 2005-10-28 10:58:06.000000000 -0400 @@ -63,3 +63,7 @@ allow restorecon_t kernel_t:fifo_file { read write }; allow restorecon_t kernel_t:unix_dgram_socket { read write }; r_dir_file(restorecon_t, { selinux_config_t file_context_t default_context_t } ) -+allow restorecon_t autofs_t:dir search; ++allow restorecon_t autofs_t:dir r_dir_perms; +ifdef(`targeted_policy', ` +allow restorecon_t devpts_t:chr_file getattr; +') @@ -446,6 +446,39 @@ allow auditd_t self:netlink_audit_socket { create_netlink_socket_perms nlmsg_relay nlmsg_readpriv }; allow auditd_t self:unix_dgram_socket create_socket_perms; allow auditd_t self:capability { audit_write audit_control sys_nice sys_resource }; +diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/avahi.te policy-1.27.2/domains/program/unused/avahi.te +--- nsapolicy/domains/program/unused/avahi.te 1969-12-31 19:00:00.000000000 -0500 ++++ policy-1.27.2/domains/program/unused/avahi.te 2005-10-28 15:20:50.000000000 -0400 +@@ -0,0 +1,29 @@ ++#DESC avahi - mDNS/DNS-SD daemon implementing Apple???s ZeroConf architecture ++# ++# Author: Dan Walsh ++# ++ ++daemon_domain(avahi, `, privsysmod') ++r_dir_file(avahi_t, proc_net_t) ++can_network_server(avahi_t) ++can_ypbind(avahi_t) ++allow avahi_t self:unix_stream_socket { connectto create_stream_socket_perms }; ++allow avahi_t self:unix_dgram_socket create_socket_perms; ++allow avahi_t self:capability { dac_override setgid chown kill setuid }; ++allow avahi_t urandom_device_t:chr_file r_file_perms; ++allow avahi_t howl_port_t:{ udp_socket tcp_socket } name_bind; ++allow avahi_t self:fifo_file { read write }; ++allow avahi_t self:netlink_route_socket r_netlink_socket_perms; ++allow avahi_t self:process setrlimit; ++allow avahi_t etc_t:file { getattr read }; ++allow avahi_t initrc_t:process { signal signull }; ++allow avahi_t system_dbusd_t:dbus { acquire_svc send_msg }; ++allow avahi_t avahi_var_run_t:dir setattr; ++allow avahi_t avahi_var_run_t:sock_file create_file_perms; ++ ++ifdef(`dbusd.te', ` ++dbusd_client(system, avahi) ++allow avahi_t unconfined_t:dbus send_msg; ++allow unconfined_t avahi_t:dbus send_msg; ++') ++ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/bluetooth.te policy-1.27.2/domains/program/unused/bluetooth.te --- nsapolicy/domains/program/unused/bluetooth.te 2005-10-21 11:36:15.000000000 -0400 +++ policy-1.27.2/domains/program/unused/bluetooth.te 2005-10-27 10:26:28.000000000 -0400 @@ -1190,7 +1223,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/postfix.te policy-1.27.2/domains/program/unused/postfix.te --- nsapolicy/domains/program/unused/postfix.te 2005-10-21 11:36:15.000000000 -0400 -+++ policy-1.27.2/domains/program/unused/postfix.te 2005-10-27 10:26:28.000000000 -0400 ++++ policy-1.27.2/domains/program/unused/postfix.te 2005-10-28 13:42:12.000000000 -0400 @@ -54,6 +54,8 @@ allow postfix_$1_t proc_net_t:dir search; allow postfix_$1_t proc_net_t:file { getattr read }; @@ -1306,13 +1339,16 @@ allow postfix_local_t postfix_spool_t:file rw_file_perms; # for .forward - maybe we need a new type for it? allow postfix_local_t postfix_private_t:dir search; -@@ -207,7 +213,12 @@ +@@ -207,7 +213,15 @@ allow postfix_local_t postfix_master_t:unix_stream_socket connectto; allow postfix_local_t postfix_public_t:dir search; allow postfix_local_t postfix_public_t:sock_file write; -can_exec(postfix_local_t, shell_exec_t) +tmp_domain(postfix_local) +can_exec(postfix_local_t,{ shell_exec_t bin_t }) ++ifdef(`spamc.te' ++can_exec(postfix_local_t, spamc_exec_t) ++') +allow postfix_local_t mail_spool_t:dir { remove_name }; +allow postfix_local_t mail_spool_t:file { unlink }; +# For reading spamassasin @@ -1320,7 +1356,7 @@ define(`postfix_public_domain',` postfix_server_domain($1) -@@ -244,6 +255,7 @@ +@@ -244,6 +258,7 @@ allow postfix_postqueue_t postfix_public_t:dir search; allow postfix_postqueue_t postfix_public_t:fifo_file getattr; allow postfix_postqueue_t self:udp_socket { create ioctl }; @@ -1328,7 +1364,15 @@ allow postfix_master_t postfix_postqueue_exec_t:file getattr; domain_auto_trans(postfix_master_t, postfix_postqueue_exec_t, postfix_postqueue_t) allow postfix_postqueue_t initrc_t:process sigchld; -@@ -287,7 +299,9 @@ +@@ -274,6 +289,7 @@ + dontaudit postfix_showq_t net_conf_t:file r_file_perms; + + postfix_user_domain(postdrop, `, mta_user_agent') ++can_resolve(postfix_postdrop_t) + allow postfix_postdrop_t postfix_spool_maildrop_t:dir rw_dir_perms; + allow postfix_postdrop_t postfix_spool_maildrop_t:file create_file_perms; + allow postfix_postdrop_t user_mail_domain:unix_stream_socket rw_socket_perms; +@@ -287,7 +303,9 @@ allow postfix_postdrop_t { crond_t system_crond_t }:fifo_file rw_file_perms;') # usually it does not need a UDP socket allow postfix_postdrop_t self:udp_socket create_socket_perms; @@ -1338,7 +1382,7 @@ postfix_public_domain(pickup) allow postfix_pickup_t postfix_public_t:fifo_file rw_file_perms; -@@ -352,5 +366,3 @@ +@@ -352,5 +370,3 @@ dontaudit postfix_map_t var_t:dir search; can_network_server(postfix_map_t) allow postfix_map_t port_type:tcp_socket name_connect; @@ -1715,6 +1759,14 @@ /etc/httpd -d system_u:object_r:httpd_config_t /etc/httpd/conf.* system_u:object_r:httpd_config_t /etc/httpd/logs system_u:object_r:httpd_log_t +diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/avahi.fc policy-1.27.2/file_contexts/program/avahi.fc +--- nsapolicy/file_contexts/program/avahi.fc 1969-12-31 19:00:00.000000000 -0500 ++++ policy-1.27.2/file_contexts/program/avahi.fc 2005-10-28 15:21:02.000000000 -0400 +@@ -0,0 +1,4 @@ ++#DESC avahi - mDNS/DNS-SD daemon implementing Apple???s ZeroConf architecture ++/usr/sbin/avahi-daemon -- system_u:object_r:avahi_exec_t:s0 ++/usr/sbin/avahi-dnsconfd -- system_u:object_r:avahi_exec_t:s0 ++/var/run/avahi-daemon(/.*)? system_u:object_r:avahi_var_run_t:s0 diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/backup.fc policy-1.27.2/file_contexts/program/backup.fc --- nsapolicy/file_contexts/program/backup.fc 2005-10-21 11:36:15.000000000 -0400 +++ policy-1.27.2/file_contexts/program/backup.fc 2005-10-27 10:26:28.000000000 -0400 Index: selinux-policy-strict.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/devel/selinux-policy-strict.spec,v retrieving revision 1.408 retrieving revision 1.409 diff -u -r1.408 -r1.409 --- selinux-policy-strict.spec 28 Oct 2005 14:41:47 -0000 1.408 +++ selinux-policy-strict.spec 28 Oct 2005 19:22:25 -0000 1.409 @@ -9,7 +9,7 @@ Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} Version: 1.27.2 -Release: 8 +Release: 9 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz @@ -245,6 +245,9 @@ exit 0 %changelog +* Fri Oct 28 2005 Dan Walsh 1.27.2-9 +- Add avahi policy + * Fri Oct 28 2005 Dan Walsh 1.27.2-8 - Allow spamd to rewrite ~/.spamassin file From fedora-cvs-commits at redhat.com Fri Oct 28 19:22:42 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 28 Oct 2005 15:22:42 -0400 Subject: rpms/selinux-policy-mls/devel policy-20051021.patch, 1.9, 1.10 selinux-policy-mls.spec, 1.110, 1.111 Message-ID: <200510281922.j9SJMgtv011662@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-mls/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv11601 Modified Files: policy-20051021.patch selinux-policy-mls.spec Log Message: * Fri Oct 28 2005 Dan Walsh 1.27.2-9 - Add avahi policy policy-20051021.patch: Makefile | 14 - attrib.te | 18 + domains/admin.te | 2 domains/misc/kernel.te | 2 domains/program/fsadm.te | 2 domains/program/ifconfig.te | 2 domains/program/init.te | 2 domains/program/initrc.te | 13 + domains/program/logrotate.te | 2 domains/program/modutil.te | 8 domains/program/newrole.te | 4 domains/program/restorecon.te | 4 domains/program/setfiles.te | 2 domains/program/ssh.te | 2 domains/program/su.te | 4 domains/program/syslogd.te | 4 domains/program/tmpreaper.te | 2 domains/program/unused/NetworkManager.te | 10 + domains/program/unused/amanda.te | 21 +- domains/program/unused/apache.te | 15 + domains/program/unused/apmd.te | 13 + domains/program/unused/auditd.te | 6 domains/program/unused/avahi.te | 29 ++ domains/program/unused/bluetooth.te | 57 +++++ domains/program/unused/cups.te | 11 - domains/program/unused/dbusd.te | 2 domains/program/unused/dhcpc.te | 3 domains/program/unused/dhcpd.te | 3 domains/program/unused/exim.te | 309 +++++++++++++++++++++++++++++++ domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 3 domains/program/unused/mysqld.te | 6 domains/program/unused/named.te | 17 + domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 5 domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 16 + domains/program/unused/ping.te | 2 domains/program/unused/postfix.te | 54 +++-- domains/program/unused/postgresql.te | 11 - domains/program/unused/pppd.te | 22 +- domains/program/unused/rpcd.te | 16 + domains/program/unused/rpm.te | 4 domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 3 domains/program/unused/sendmail.te | 3 domains/program/unused/snmpd.te | 1 domains/program/unused/spamd.te | 28 -- domains/program/unused/udev.te | 8 domains/program/unused/webalizer.te | 3 domains/program/unused/xdm.te | 2 domains/program/unused/yppasswdd.te | 40 ++++ file_contexts/distros.fc | 1 file_contexts/program/apache.fc | 2 file_contexts/program/avahi.fc | 4 file_contexts/program/backup.fc | 2 file_contexts/program/bluetooth.fc | 2 file_contexts/program/dhcpc.fc | 1 file_contexts/program/dhcpd.fc | 5 file_contexts/program/exim.fc | 18 + file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 3 file_contexts/program/kudzu.fc | 2 file_contexts/program/pegasus.fc | 6 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/yppasswdd.fc | 2 file_contexts/types.fc | 4 genfs_contexts | 1 macros/base_user_macros.te | 7 macros/global_macros.te | 25 -- macros/home_macros.te | 9 macros/program/chkpwd_macros.te | 7 macros/program/dbusd_macros.te | 1 macros/program/exim_macros.te | 75 +++++++ macros/program/su_macros.te | 2 macros/program/ypbind_macros.te | 1 macros/user_macros.te | 1 man/man8/ftpd_selinux.8 | 19 + man/man8/httpd_selinux.8 | 9 man/man8/rsync_selinux.8 | 12 - man/man8/samba_selinux.8 | 9 mcs | 194 ++++++------------- mls | 227 ++++++++-------------- targeted/assert.te | 2 targeted/domains/program/sendmail.te | 1 targeted/domains/program/ssh.te | 2 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 7 tunables/distro.tun | 2 tunables/tunable.tun | 4 types/devpts.te | 4 types/file.te | 43 +--- types/network.te | 10 - types/nfs.te | 1 types/security.te | 2 100 files changed, 1069 insertions(+), 509 deletions(-) Index: policy-20051021.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-mls/devel/policy-20051021.patch,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- policy-20051021.patch 28 Oct 2005 14:42:15 -0000 1.9 +++ policy-20051021.patch 28 Oct 2005 19:22:36 -0000 1.10 @@ -227,12 +227,12 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/restorecon.te policy-1.27.2/domains/program/restorecon.te --- nsapolicy/domains/program/restorecon.te 2005-10-21 11:36:15.000000000 -0400 -+++ policy-1.27.2/domains/program/restorecon.te 2005-10-27 10:26:28.000000000 -0400 ++++ policy-1.27.2/domains/program/restorecon.te 2005-10-28 10:58:06.000000000 -0400 @@ -63,3 +63,7 @@ allow restorecon_t kernel_t:fifo_file { read write }; allow restorecon_t kernel_t:unix_dgram_socket { read write }; r_dir_file(restorecon_t, { selinux_config_t file_context_t default_context_t } ) -+allow restorecon_t autofs_t:dir search; ++allow restorecon_t autofs_t:dir r_dir_perms; +ifdef(`targeted_policy', ` +allow restorecon_t devpts_t:chr_file getattr; +') @@ -446,6 +446,39 @@ allow auditd_t self:netlink_audit_socket { create_netlink_socket_perms nlmsg_relay nlmsg_readpriv }; allow auditd_t self:unix_dgram_socket create_socket_perms; allow auditd_t self:capability { audit_write audit_control sys_nice sys_resource }; +diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/avahi.te policy-1.27.2/domains/program/unused/avahi.te +--- nsapolicy/domains/program/unused/avahi.te 1969-12-31 19:00:00.000000000 -0500 ++++ policy-1.27.2/domains/program/unused/avahi.te 2005-10-28 15:20:50.000000000 -0400 +@@ -0,0 +1,29 @@ ++#DESC avahi - mDNS/DNS-SD daemon implementing Apple???s ZeroConf architecture ++# ++# Author: Dan Walsh ++# ++ ++daemon_domain(avahi, `, privsysmod') ++r_dir_file(avahi_t, proc_net_t) ++can_network_server(avahi_t) ++can_ypbind(avahi_t) ++allow avahi_t self:unix_stream_socket { connectto create_stream_socket_perms }; ++allow avahi_t self:unix_dgram_socket create_socket_perms; ++allow avahi_t self:capability { dac_override setgid chown kill setuid }; ++allow avahi_t urandom_device_t:chr_file r_file_perms; ++allow avahi_t howl_port_t:{ udp_socket tcp_socket } name_bind; ++allow avahi_t self:fifo_file { read write }; ++allow avahi_t self:netlink_route_socket r_netlink_socket_perms; ++allow avahi_t self:process setrlimit; ++allow avahi_t etc_t:file { getattr read }; ++allow avahi_t initrc_t:process { signal signull }; ++allow avahi_t system_dbusd_t:dbus { acquire_svc send_msg }; ++allow avahi_t avahi_var_run_t:dir setattr; ++allow avahi_t avahi_var_run_t:sock_file create_file_perms; ++ ++ifdef(`dbusd.te', ` ++dbusd_client(system, avahi) ++allow avahi_t unconfined_t:dbus send_msg; ++allow unconfined_t avahi_t:dbus send_msg; ++') ++ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/bluetooth.te policy-1.27.2/domains/program/unused/bluetooth.te --- nsapolicy/domains/program/unused/bluetooth.te 2005-10-21 11:36:15.000000000 -0400 +++ policy-1.27.2/domains/program/unused/bluetooth.te 2005-10-27 10:26:28.000000000 -0400 @@ -1190,7 +1223,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/postfix.te policy-1.27.2/domains/program/unused/postfix.te --- nsapolicy/domains/program/unused/postfix.te 2005-10-21 11:36:15.000000000 -0400 -+++ policy-1.27.2/domains/program/unused/postfix.te 2005-10-27 10:26:28.000000000 -0400 ++++ policy-1.27.2/domains/program/unused/postfix.te 2005-10-28 13:42:12.000000000 -0400 @@ -54,6 +54,8 @@ allow postfix_$1_t proc_net_t:dir search; allow postfix_$1_t proc_net_t:file { getattr read }; @@ -1306,13 +1339,16 @@ allow postfix_local_t postfix_spool_t:file rw_file_perms; # for .forward - maybe we need a new type for it? allow postfix_local_t postfix_private_t:dir search; -@@ -207,7 +213,12 @@ +@@ -207,7 +213,15 @@ allow postfix_local_t postfix_master_t:unix_stream_socket connectto; allow postfix_local_t postfix_public_t:dir search; allow postfix_local_t postfix_public_t:sock_file write; -can_exec(postfix_local_t, shell_exec_t) +tmp_domain(postfix_local) +can_exec(postfix_local_t,{ shell_exec_t bin_t }) ++ifdef(`spamc.te' ++can_exec(postfix_local_t, spamc_exec_t) ++') +allow postfix_local_t mail_spool_t:dir { remove_name }; +allow postfix_local_t mail_spool_t:file { unlink }; +# For reading spamassasin @@ -1320,7 +1356,7 @@ define(`postfix_public_domain',` postfix_server_domain($1) -@@ -244,6 +255,7 @@ +@@ -244,6 +258,7 @@ allow postfix_postqueue_t postfix_public_t:dir search; allow postfix_postqueue_t postfix_public_t:fifo_file getattr; allow postfix_postqueue_t self:udp_socket { create ioctl }; @@ -1328,7 +1364,15 @@ allow postfix_master_t postfix_postqueue_exec_t:file getattr; domain_auto_trans(postfix_master_t, postfix_postqueue_exec_t, postfix_postqueue_t) allow postfix_postqueue_t initrc_t:process sigchld; -@@ -287,7 +299,9 @@ +@@ -274,6 +289,7 @@ + dontaudit postfix_showq_t net_conf_t:file r_file_perms; + + postfix_user_domain(postdrop, `, mta_user_agent') ++can_resolve(postfix_postdrop_t) + allow postfix_postdrop_t postfix_spool_maildrop_t:dir rw_dir_perms; + allow postfix_postdrop_t postfix_spool_maildrop_t:file create_file_perms; + allow postfix_postdrop_t user_mail_domain:unix_stream_socket rw_socket_perms; +@@ -287,7 +303,9 @@ allow postfix_postdrop_t { crond_t system_crond_t }:fifo_file rw_file_perms;') # usually it does not need a UDP socket allow postfix_postdrop_t self:udp_socket create_socket_perms; @@ -1338,7 +1382,7 @@ postfix_public_domain(pickup) allow postfix_pickup_t postfix_public_t:fifo_file rw_file_perms; -@@ -352,5 +366,3 @@ +@@ -352,5 +370,3 @@ dontaudit postfix_map_t var_t:dir search; can_network_server(postfix_map_t) allow postfix_map_t port_type:tcp_socket name_connect; @@ -1715,6 +1759,14 @@ /etc/httpd -d system_u:object_r:httpd_config_t /etc/httpd/conf.* system_u:object_r:httpd_config_t /etc/httpd/logs system_u:object_r:httpd_log_t +diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/avahi.fc policy-1.27.2/file_contexts/program/avahi.fc +--- nsapolicy/file_contexts/program/avahi.fc 1969-12-31 19:00:00.000000000 -0500 ++++ policy-1.27.2/file_contexts/program/avahi.fc 2005-10-28 15:21:02.000000000 -0400 +@@ -0,0 +1,4 @@ ++#DESC avahi - mDNS/DNS-SD daemon implementing Apple???s ZeroConf architecture ++/usr/sbin/avahi-daemon -- system_u:object_r:avahi_exec_t:s0 ++/usr/sbin/avahi-dnsconfd -- system_u:object_r:avahi_exec_t:s0 ++/var/run/avahi-daemon(/.*)? system_u:object_r:avahi_var_run_t:s0 diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/backup.fc policy-1.27.2/file_contexts/program/backup.fc --- nsapolicy/file_contexts/program/backup.fc 2005-10-21 11:36:15.000000000 -0400 +++ policy-1.27.2/file_contexts/program/backup.fc 2005-10-27 10:26:28.000000000 -0400 Index: selinux-policy-mls.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-mls/devel/selinux-policy-mls.spec,v retrieving revision 1.110 retrieving revision 1.111 diff -u -r1.110 -r1.111 --- selinux-policy-mls.spec 28 Oct 2005 14:42:15 -0000 1.110 +++ selinux-policy-mls.spec 28 Oct 2005 19:22:36 -0000 1.111 @@ -9,7 +9,7 @@ Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} Version: 1.27.2 -Release: 8 +Release: 9 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz @@ -245,6 +245,9 @@ exit 0 %changelog +* Fri Oct 28 2005 Dan Walsh 1.27.2-9 +- Add avahi policy + * Fri Oct 28 2005 Dan Walsh 1.27.2-8 - Allow spamd to rewrite ~/.spamassin file From fedora-cvs-commits at redhat.com Fri Oct 28 19:22:42 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 28 Oct 2005 15:22:42 -0400 Subject: rpms/selinux-policy-targeted/devel policy-20051021.patch, 1.9, 1.10 selinux-policy-targeted.spec, 1.402, 1.403 Message-ID: <200510281922.j9SJMgdN011607@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-targeted/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv11552 Modified Files: policy-20051021.patch selinux-policy-targeted.spec Log Message: * Fri Oct 28 2005 Dan Walsh 1.27.2-9 - Add avahi policy policy-20051021.patch: Makefile | 14 - attrib.te | 18 + domains/admin.te | 2 domains/misc/kernel.te | 2 domains/program/fsadm.te | 2 domains/program/ifconfig.te | 2 domains/program/init.te | 2 domains/program/initrc.te | 13 + domains/program/logrotate.te | 2 domains/program/modutil.te | 8 domains/program/newrole.te | 4 domains/program/restorecon.te | 4 domains/program/setfiles.te | 2 domains/program/ssh.te | 2 domains/program/su.te | 4 domains/program/syslogd.te | 4 domains/program/tmpreaper.te | 2 domains/program/unused/NetworkManager.te | 10 + domains/program/unused/amanda.te | 21 +- domains/program/unused/apache.te | 15 + domains/program/unused/apmd.te | 13 + domains/program/unused/auditd.te | 6 domains/program/unused/avahi.te | 29 ++ domains/program/unused/bluetooth.te | 57 +++++ domains/program/unused/cups.te | 11 - domains/program/unused/dbusd.te | 2 domains/program/unused/dhcpc.te | 3 domains/program/unused/dhcpd.te | 3 domains/program/unused/exim.te | 309 +++++++++++++++++++++++++++++++ domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 3 domains/program/unused/mysqld.te | 6 domains/program/unused/named.te | 17 + domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 5 domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 16 + domains/program/unused/ping.te | 2 domains/program/unused/postfix.te | 54 +++-- domains/program/unused/postgresql.te | 11 - domains/program/unused/pppd.te | 22 +- domains/program/unused/rpcd.te | 16 + domains/program/unused/rpm.te | 4 domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 3 domains/program/unused/sendmail.te | 3 domains/program/unused/snmpd.te | 1 domains/program/unused/spamd.te | 28 -- domains/program/unused/udev.te | 8 domains/program/unused/webalizer.te | 3 domains/program/unused/xdm.te | 2 domains/program/unused/yppasswdd.te | 40 ++++ file_contexts/distros.fc | 1 file_contexts/program/apache.fc | 2 file_contexts/program/avahi.fc | 4 file_contexts/program/backup.fc | 2 file_contexts/program/bluetooth.fc | 2 file_contexts/program/dhcpc.fc | 1 file_contexts/program/dhcpd.fc | 5 file_contexts/program/exim.fc | 18 + file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 3 file_contexts/program/kudzu.fc | 2 file_contexts/program/pegasus.fc | 6 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/yppasswdd.fc | 2 file_contexts/types.fc | 4 genfs_contexts | 1 macros/base_user_macros.te | 7 macros/global_macros.te | 25 -- macros/home_macros.te | 9 macros/program/chkpwd_macros.te | 7 macros/program/dbusd_macros.te | 1 macros/program/exim_macros.te | 75 +++++++ macros/program/su_macros.te | 2 macros/program/ypbind_macros.te | 1 macros/user_macros.te | 1 man/man8/ftpd_selinux.8 | 19 + man/man8/httpd_selinux.8 | 9 man/man8/rsync_selinux.8 | 12 - man/man8/samba_selinux.8 | 9 mcs | 194 ++++++------------- mls | 227 ++++++++-------------- targeted/assert.te | 2 targeted/domains/program/sendmail.te | 1 targeted/domains/program/ssh.te | 2 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 7 tunables/distro.tun | 2 tunables/tunable.tun | 4 types/devpts.te | 4 types/file.te | 43 +--- types/network.te | 10 - types/nfs.te | 1 types/security.te | 2 100 files changed, 1069 insertions(+), 509 deletions(-) Index: policy-20051021.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/devel/policy-20051021.patch,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- policy-20051021.patch 28 Oct 2005 14:42:05 -0000 1.9 +++ policy-20051021.patch 28 Oct 2005 19:22:32 -0000 1.10 @@ -227,12 +227,12 @@ +') diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/restorecon.te policy-1.27.2/domains/program/restorecon.te --- nsapolicy/domains/program/restorecon.te 2005-10-21 11:36:15.000000000 -0400 -+++ policy-1.27.2/domains/program/restorecon.te 2005-10-27 10:26:28.000000000 -0400 ++++ policy-1.27.2/domains/program/restorecon.te 2005-10-28 10:58:06.000000000 -0400 @@ -63,3 +63,7 @@ allow restorecon_t kernel_t:fifo_file { read write }; allow restorecon_t kernel_t:unix_dgram_socket { read write }; r_dir_file(restorecon_t, { selinux_config_t file_context_t default_context_t } ) -+allow restorecon_t autofs_t:dir search; ++allow restorecon_t autofs_t:dir r_dir_perms; +ifdef(`targeted_policy', ` +allow restorecon_t devpts_t:chr_file getattr; +') @@ -446,6 +446,39 @@ allow auditd_t self:netlink_audit_socket { create_netlink_socket_perms nlmsg_relay nlmsg_readpriv }; allow auditd_t self:unix_dgram_socket create_socket_perms; allow auditd_t self:capability { audit_write audit_control sys_nice sys_resource }; +diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/avahi.te policy-1.27.2/domains/program/unused/avahi.te +--- nsapolicy/domains/program/unused/avahi.te 1969-12-31 19:00:00.000000000 -0500 ++++ policy-1.27.2/domains/program/unused/avahi.te 2005-10-28 15:20:50.000000000 -0400 +@@ -0,0 +1,29 @@ ++#DESC avahi - mDNS/DNS-SD daemon implementing Apple???s ZeroConf architecture ++# ++# Author: Dan Walsh ++# ++ ++daemon_domain(avahi, `, privsysmod') ++r_dir_file(avahi_t, proc_net_t) ++can_network_server(avahi_t) ++can_ypbind(avahi_t) ++allow avahi_t self:unix_stream_socket { connectto create_stream_socket_perms }; ++allow avahi_t self:unix_dgram_socket create_socket_perms; ++allow avahi_t self:capability { dac_override setgid chown kill setuid }; ++allow avahi_t urandom_device_t:chr_file r_file_perms; ++allow avahi_t howl_port_t:{ udp_socket tcp_socket } name_bind; ++allow avahi_t self:fifo_file { read write }; ++allow avahi_t self:netlink_route_socket r_netlink_socket_perms; ++allow avahi_t self:process setrlimit; ++allow avahi_t etc_t:file { getattr read }; ++allow avahi_t initrc_t:process { signal signull }; ++allow avahi_t system_dbusd_t:dbus { acquire_svc send_msg }; ++allow avahi_t avahi_var_run_t:dir setattr; ++allow avahi_t avahi_var_run_t:sock_file create_file_perms; ++ ++ifdef(`dbusd.te', ` ++dbusd_client(system, avahi) ++allow avahi_t unconfined_t:dbus send_msg; ++allow unconfined_t avahi_t:dbus send_msg; ++') ++ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/bluetooth.te policy-1.27.2/domains/program/unused/bluetooth.te --- nsapolicy/domains/program/unused/bluetooth.te 2005-10-21 11:36:15.000000000 -0400 +++ policy-1.27.2/domains/program/unused/bluetooth.te 2005-10-27 10:26:28.000000000 -0400 @@ -1190,7 +1223,7 @@ diff --exclude-from=exclude -N -u -r nsapolicy/domains/program/unused/postfix.te policy-1.27.2/domains/program/unused/postfix.te --- nsapolicy/domains/program/unused/postfix.te 2005-10-21 11:36:15.000000000 -0400 -+++ policy-1.27.2/domains/program/unused/postfix.te 2005-10-27 10:26:28.000000000 -0400 ++++ policy-1.27.2/domains/program/unused/postfix.te 2005-10-28 13:42:12.000000000 -0400 @@ -54,6 +54,8 @@ allow postfix_$1_t proc_net_t:dir search; allow postfix_$1_t proc_net_t:file { getattr read }; @@ -1306,13 +1339,16 @@ allow postfix_local_t postfix_spool_t:file rw_file_perms; # for .forward - maybe we need a new type for it? allow postfix_local_t postfix_private_t:dir search; -@@ -207,7 +213,12 @@ +@@ -207,7 +213,15 @@ allow postfix_local_t postfix_master_t:unix_stream_socket connectto; allow postfix_local_t postfix_public_t:dir search; allow postfix_local_t postfix_public_t:sock_file write; -can_exec(postfix_local_t, shell_exec_t) +tmp_domain(postfix_local) +can_exec(postfix_local_t,{ shell_exec_t bin_t }) ++ifdef(`spamc.te' ++can_exec(postfix_local_t, spamc_exec_t) ++') +allow postfix_local_t mail_spool_t:dir { remove_name }; +allow postfix_local_t mail_spool_t:file { unlink }; +# For reading spamassasin @@ -1320,7 +1356,7 @@ define(`postfix_public_domain',` postfix_server_domain($1) -@@ -244,6 +255,7 @@ +@@ -244,6 +258,7 @@ allow postfix_postqueue_t postfix_public_t:dir search; allow postfix_postqueue_t postfix_public_t:fifo_file getattr; allow postfix_postqueue_t self:udp_socket { create ioctl }; @@ -1328,7 +1364,15 @@ allow postfix_master_t postfix_postqueue_exec_t:file getattr; domain_auto_trans(postfix_master_t, postfix_postqueue_exec_t, postfix_postqueue_t) allow postfix_postqueue_t initrc_t:process sigchld; -@@ -287,7 +299,9 @@ +@@ -274,6 +289,7 @@ + dontaudit postfix_showq_t net_conf_t:file r_file_perms; + + postfix_user_domain(postdrop, `, mta_user_agent') ++can_resolve(postfix_postdrop_t) + allow postfix_postdrop_t postfix_spool_maildrop_t:dir rw_dir_perms; + allow postfix_postdrop_t postfix_spool_maildrop_t:file create_file_perms; + allow postfix_postdrop_t user_mail_domain:unix_stream_socket rw_socket_perms; +@@ -287,7 +303,9 @@ allow postfix_postdrop_t { crond_t system_crond_t }:fifo_file rw_file_perms;') # usually it does not need a UDP socket allow postfix_postdrop_t self:udp_socket create_socket_perms; @@ -1338,7 +1382,7 @@ postfix_public_domain(pickup) allow postfix_pickup_t postfix_public_t:fifo_file rw_file_perms; -@@ -352,5 +366,3 @@ +@@ -352,5 +370,3 @@ dontaudit postfix_map_t var_t:dir search; can_network_server(postfix_map_t) allow postfix_map_t port_type:tcp_socket name_connect; @@ -1715,6 +1759,14 @@ /etc/httpd -d system_u:object_r:httpd_config_t /etc/httpd/conf.* system_u:object_r:httpd_config_t /etc/httpd/logs system_u:object_r:httpd_log_t +diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/avahi.fc policy-1.27.2/file_contexts/program/avahi.fc +--- nsapolicy/file_contexts/program/avahi.fc 1969-12-31 19:00:00.000000000 -0500 ++++ policy-1.27.2/file_contexts/program/avahi.fc 2005-10-28 15:21:02.000000000 -0400 +@@ -0,0 +1,4 @@ ++#DESC avahi - mDNS/DNS-SD daemon implementing Apple???s ZeroConf architecture ++/usr/sbin/avahi-daemon -- system_u:object_r:avahi_exec_t:s0 ++/usr/sbin/avahi-dnsconfd -- system_u:object_r:avahi_exec_t:s0 ++/var/run/avahi-daemon(/.*)? system_u:object_r:avahi_var_run_t:s0 diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/backup.fc policy-1.27.2/file_contexts/program/backup.fc --- nsapolicy/file_contexts/program/backup.fc 2005-10-21 11:36:15.000000000 -0400 +++ policy-1.27.2/file_contexts/program/backup.fc 2005-10-27 10:26:28.000000000 -0400 Index: selinux-policy-targeted.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/devel/selinux-policy-targeted.spec,v retrieving revision 1.402 retrieving revision 1.403 diff -u -r1.402 -r1.403 --- selinux-policy-targeted.spec 28 Oct 2005 14:42:05 -0000 1.402 +++ selinux-policy-targeted.spec 28 Oct 2005 19:22:32 -0000 1.403 @@ -9,7 +9,7 @@ Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} Version: 1.27.2 -Release: 8 +Release: 9 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz @@ -55,7 +55,7 @@ mv domains/misc/unused/kernel.te domains/misc/ mv domains/program/*.te domains/program/unused/ rm domains/*.te -(cd domains/program/unused; mv acct.te anaconda.te amanda.te apache.te apmd.te arpwatch.te auditd.te bluetooth.te checkpolicy.te canna.te cardmgr.te chkpwd.te comsat.te consoletype.te cpucontrol.te cpuspeed.te cups.te cvs.te cyrus.te dbskkd.te dmidecode.te dbusd.te dhcpc.te dhcpd.te dictd.te dovecot.te fingerd.te firstboot.te fsadm.te ftpd.te getty.te hald.te hostname.te hotplug.te howl.te hwclock.te kudzu.te ifconfig.te init.te initrc.te inetd.te innd.te kerberos.te klogd.te ktalkd.te ldconfig.te load_policy.te login.te lpd.te newrole.te mailman.te modutil.te mta.te mysqld.te named.te netutils.te NetworkManager.te nscd.te ntpd.te passwd.te pegasus.te ping.te portmap.te postfix.te postgresql.te pppd.te privoxy.te radius.te radvd.te restorecon.te rlogind.te rpcd.te rshd.te rsync.te saslauthd.te samba.te setfiles.te slapd.te snmpd.te spamc.te spamd.te squid.te stunnel.te su.te syslogd.te telnetd.te tftpd.te udev.te updfstab.te uucpd.te webalizer.te winbind.te ypbind.te yppass! wd.te ypserv.te zebra.te ../) +(cd domains/program/unused; mv acct.te anaconda.te amanda.te apache.te apmd.te arpwatch.te auditd.te avahi.te bluetooth.te checkpolicy.te canna.te cardmgr.te chkpwd.te comsat.te consoletype.te cpucontrol.te cpuspeed.te cups.te cvs.te cyrus.te dbskkd.te dmidecode.te dbusd.te dhcpc.te dhcpd.te dictd.te dovecot.te fingerd.te firstboot.te fsadm.te ftpd.te getty.te hald.te hostname.te hotplug.te howl.te hwclock.te kudzu.te ifconfig.te init.te initrc.te inetd.te innd.te kerberos.te klogd.te ktalkd.te ldconfig.te load_policy.te login.te lpd.te newrole.te mailman.te modutil.te mta.te mysqld.te named.te netutils.te NetworkManager.te nscd.te ntpd.te passwd.te pegasus.te ping.te portmap.te postfix.te postgresql.te pppd.te privoxy.te radius.te radvd.te restorecon.te rlogind.te rpcd.te rshd.te rsync.te saslauthd.te samba.te setfiles.te slapd.te snmpd.te spamc.te spamd.te squid.te stunnel.te su.te syslogd.te telnetd.te tftpd.te udev.te updfstab.te uucpd.te webalizer.te winbind.te ypbind.! te yppasswd.te ypserv.te zebra.te ../) rm -rf domains/program/unused rm -rf domains/misc/unused cp -R %{type}/* . @@ -249,6 +249,9 @@ exit 0 %changelog +* Fri Oct 28 2005 Dan Walsh 1.27.2-9 +- Add avahi policy + * Fri Oct 28 2005 Dan Walsh 1.27.2-8 - Allow spamd to rewrite ~/.spamassin file From fedora-cvs-commits at redhat.com Fri Oct 28 19:25:07 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 28 Oct 2005 15:25:07 -0400 Subject: rpms/checkpolicy/devel checkpolicy.spec,1.72,1.73 Message-ID: <200510281925.j9SJP77S012882@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/checkpolicy/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv12821 Modified Files: checkpolicy.spec Log Message: * Fri Oct 25 2005 Dan Walsh 1.27.17-2 - Rebuild to get latest libsepol Index: checkpolicy.spec =================================================================== RCS file: /cvs/dist/rpms/checkpolicy/devel/checkpolicy.spec,v retrieving revision 1.72 retrieving revision 1.73 diff -u -r1.72 -r1.73 --- checkpolicy.spec 25 Oct 2005 19:18:26 -0000 1.72 +++ checkpolicy.spec 28 Oct 2005 19:25:01 -0000 1.73 @@ -1,8 +1,8 @@ -%define libsepolver 1.9.30-1 +%define libsepolver 1.9.33-1 Summary: SELinux policy compiler Name: checkpolicy Version: 1.27.17 -Release: 1 +Release: 2 License: GPL Group: Development/System Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz @@ -44,6 +44,9 @@ %{_mandir}/man8/checkpolicy.8.gz %changelog +* Fri Oct 25 2005 Dan Walsh 1.27.17-2 +- Rebuild to get latest libsepol + * Tue Oct 25 2005 Dan Walsh 1.27.17-1 - Latest upgrade from NSA * Merged dismod fix from Joshua Brindle. From fedora-cvs-commits at redhat.com Fri Oct 28 19:45:10 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 28 Oct 2005 15:45:10 -0400 Subject: rpms/firstboot/devel .cvsignore, 1.36, 1.37 firstboot.spec, 1.53, 1.54 sources, 1.51, 1.52 Message-ID: <200510281945.j9SJjA14017292@cvs.devel.redhat.com> Author: clumens Update of /cvs/dist/rpms/firstboot/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv17260 Modified Files: .cvsignore firstboot.spec sources Log Message: Bump version. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/firstboot/devel/.cvsignore,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- .cvsignore 17 Oct 2005 21:03:49 -0000 1.36 +++ .cvsignore 28 Oct 2005 19:45:06 -0000 1.37 @@ -8,3 +8,4 @@ firstboot-1.3.49.tar.bz2 firstboot-1.3.50.tar.bz2 firstboot-1.3.51.tar.bz2 +firstboot-1.3.52.tar.bz2 Index: firstboot.spec =================================================================== RCS file: /cvs/dist/rpms/firstboot/devel/firstboot.spec,v retrieving revision 1.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- firstboot.spec 17 Oct 2005 21:03:50 -0000 1.53 +++ firstboot.spec 28 Oct 2005 19:45:06 -0000 1.54 @@ -1,6 +1,6 @@ Summary: Initial system configuration utility Name: firstboot -Version: 1.3.51 +Version: 1.3.52 Release: 1 URL: http://fedora.redhat.com/projects/config-tools/ License: GPL @@ -75,6 +75,12 @@ /usr/sbin/firstboot %changelog +* Fri Oct 28 2005 Chris Lumens 1.3.52-1 +- Set a timeout on waiting for the window manager to start. +- Correct ps output. +- Move keyboard initialization to after the modules have been loaded + (#133074, #157870). + * Mon Oct 17 2005 Chris Lumens 1.3.51-1 - Fix whrandom deprecation warnings. - Fix render_to_drawable deprecation warnings. Index: sources =================================================================== RCS file: /cvs/dist/rpms/firstboot/devel/sources,v retrieving revision 1.51 retrieving revision 1.52 diff -u -r1.51 -r1.52 --- sources 17 Oct 2005 21:03:50 -0000 1.51 +++ sources 28 Oct 2005 19:45:06 -0000 1.52 @@ -1 +1 @@ -7b630da8e65e390f3dd20eae1540b49c firstboot-1.3.51.tar.bz2 +01c1f01197fc00666db9f3a9a440d9ab firstboot-1.3.52.tar.bz2 From fedora-cvs-commits at redhat.com Fri Oct 28 20:06:45 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 28 Oct 2005 16:06:45 -0400 Subject: rpms/kudzu/devel .cvsignore, 1.87, 1.88 kudzu.spec, 1.97, 1.98 sources, 1.96, 1.97 Message-ID: <200510282006.j9SK6j8b026080@cvs.devel.redhat.com> Author: katzj Update of /cvs/dist/rpms/kudzu/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv26034/devel Modified Files: .cvsignore kudzu.spec sources Log Message: auto-import kudzu-1.2.10-1 on branch devel from kudzu-1.2.10-1.src.rpm Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/kudzu/devel/.cvsignore,v retrieving revision 1.87 retrieving revision 1.88 diff -u -r1.87 -r1.88 --- .cvsignore 23 Sep 2005 19:20:56 -0000 1.87 +++ .cvsignore 28 Oct 2005 20:06:20 -0000 1.88 @@ -1 +1 @@ -kudzu-1.2.9.tar.gz +kudzu-1.2.10.tar.gz Index: kudzu.spec =================================================================== RCS file: /cvs/dist/rpms/kudzu/devel/kudzu.spec,v retrieving revision 1.97 retrieving revision 1.98 diff -u -r1.97 -r1.98 --- kudzu.spec 23 Sep 2005 19:20:56 -0000 1.97 +++ kudzu.spec 28 Oct 2005 20:06:21 -0000 1.98 @@ -1,5 +1,5 @@ Name: kudzu -Version: 1.2.9 +Version: 1.2.10 Release: 1 License: GPL Summary: The Red Hat Linux hardware probing tool. @@ -79,6 +79,9 @@ %{_includedir}/kudzu %changelog +* Fri Oct 28 2005 Jeremy Katz - 1.2.10-1 +- add some basic xen device probing + * Fri Sep 23 2005 Bill Nottingham 1.2.9-1 - move kudzu to /sbin (since we no longer use newt (#74736)) - don't congfigure usb/firewire controllers, modems, scanners Index: sources =================================================================== RCS file: /cvs/dist/rpms/kudzu/devel/sources,v retrieving revision 1.96 retrieving revision 1.97 diff -u -r1.96 -r1.97 --- sources 23 Sep 2005 19:20:56 -0000 1.96 +++ sources 28 Oct 2005 20:06:21 -0000 1.97 @@ -1 +1 @@ -a6deca3cf1ee269c5825e627d35ef760 kudzu-1.2.9.tar.gz +199900cf221177dc55b73ec4f5f150e9 kudzu-1.2.10.tar.gz From fedora-cvs-commits at redhat.com Fri Oct 28 20:12:22 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 28 Oct 2005 16:12:22 -0400 Subject: rpms/bind/devel named.init,1.37,1.38 Message-ID: <200510282012.j9SKCMBm026812@cvs.devel.redhat.com> Author: jvdias Update of /cvs/dist/rpms/bind/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv26791 Modified Files: named.init Log Message: check for -D option properly Index: named.init =================================================================== RCS file: /cvs/dist/rpms/bind/devel/named.init,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- named.init 19 Oct 2005 21:48:56 -0000 1.37 +++ named.init 28 Oct 2005 20:12:12 -0000 1.38 @@ -67,14 +67,19 @@ if ! egrep -q "/proc ${ROOTDIR}/proc" /proc/mounts; then mount --bind /proc ${ROOTDIR}/proc >/dev/null 2>&1 fi - if echo "$OPTIONS" | egrep -q '(\<|['"'"'"\ ])-D(\>|['"'"'"\ ])'; then + dbus=0; + for a in $OPTIONS; do + if [ $a = "-D" ]; then + dbus=1; + fi; + done + if [ $dbus -eq 1 ]; then if ! /bin/mount | egrep -q "^/var/run/dbus/system_bus_socket on ${ROOTDIR}/var/run/dbus/system_bus_socket"; then mkdir -p ${ROOTDIR}/var/run/dbus touch ${ROOTDIR}/var/run/dbus/system_bus_socket; mount --bind /var/run/dbus/system_bus_socket ${ROOTDIR}/var/run/dbus/system_bus_socket > /dev/null 2>&1; fi; - fi; - + fi; fi no_write_master_zones=0 if [ -e /etc/selinux/config ]; then From fedora-cvs-commits at redhat.com Fri Oct 28 21:09:56 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 28 Oct 2005 17:09:56 -0400 Subject: rpms/booty/devel .cvsignore, 1.29, 1.30 booty.spec, 1.29, 1.30 sources, 1.29, 1.30 Message-ID: <200510282109.j9SL9uKw014613@cvs.devel.redhat.com> Author: katzj Update of /cvs/dist/rpms/booty/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv14573/devel Modified Files: .cvsignore booty.spec sources Log Message: auto-import booty-0.59-1 on branch devel from booty-0.59-1.src.rpm Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/booty/devel/.cvsignore,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- .cvsignore 27 Oct 2005 21:53:47 -0000 1.29 +++ .cvsignore 28 Oct 2005 21:09:52 -0000 1.30 @@ -1 +1 @@ -booty-0.58.tar.bz2 +booty-0.59.tar.bz2 Index: booty.spec =================================================================== RCS file: /cvs/dist/rpms/booty/devel/booty.spec,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- booty.spec 27 Oct 2005 21:53:47 -0000 1.29 +++ booty.spec 28 Oct 2005 21:09:52 -0000 1.30 @@ -1,6 +1,6 @@ Summary: simple python bootloader config lib Name: booty -Version: 0.58 +Version: 0.59 Release: 1 License: LGPL Source0: %{name}-%{version}.tar.bz2 @@ -34,6 +34,9 @@ %changelog +* Fri Oct 28 2005 Jeremy Katz - 0.59-1 +- support serial console for xen + * Thu Oct 27 2005 Jeremy Katz - 0.58-1 - quick version of getting xen dom0 kernel setup properly in grub.conf Index: sources =================================================================== RCS file: /cvs/dist/rpms/booty/devel/sources,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- sources 27 Oct 2005 21:53:47 -0000 1.29 +++ sources 28 Oct 2005 21:09:52 -0000 1.30 @@ -1 +1 @@ -6a3544cf1518c3c09e44683172203d51 booty-0.58.tar.bz2 +d19d6153139c50b1ac4d365e54017068 booty-0.59.tar.bz2 From fedora-cvs-commits at redhat.com Fri Oct 28 23:13:58 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 28 Oct 2005 19:13:58 -0400 Subject: rpms/anaconda/devel .cvsignore, 1.156, 1.157 anaconda.spec, 1.272, 1.273 sources, 1.274, 1.275 Message-ID: <200510282313.j9SNDwqG011696@cvs.devel.redhat.com> Author: katzj Update of /cvs/dist/rpms/anaconda/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv11673/devel Modified Files: .cvsignore anaconda.spec sources Log Message: auto-import anaconda-10.89.6-1 on branch devel from anaconda-10.89.6-1.src.rpm Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/anaconda/devel/.cvsignore,v retrieving revision 1.156 retrieving revision 1.157 diff -u -r1.156 -r1.157 --- .cvsignore 27 Oct 2005 21:53:27 -0000 1.156 +++ .cvsignore 28 Oct 2005 23:13:55 -0000 1.157 @@ -1 +1 @@ -anaconda-10.89.5.tar.bz2 +anaconda-10.89.6.tar.bz2 Index: anaconda.spec =================================================================== RCS file: /cvs/dist/rpms/anaconda/devel/anaconda.spec,v retrieving revision 1.272 retrieving revision 1.273 diff -u -r1.272 -r1.273 --- anaconda.spec 27 Oct 2005 21:53:27 -0000 1.272 +++ anaconda.spec 28 Oct 2005 23:13:55 -0000 1.273 @@ -1,5 +1,5 @@ Name: anaconda -Version: 10.89.5 +Version: 10.89.6 Release: 1 License: GPL Summary: Graphical system installer @@ -72,6 +72,15 @@ /sbin/chkconfig --del reconfig >/dev/null 2>&1 || : %changelog +* Fri Oct 28 2005 Jeremy Katz - 10.89.6-1 +- Make char devices slightly later to avoid tracebacks during tree compose +- Extract kernel-xen-guest for vmlinuz and initrd in images/xen +- Kickstart fix (clumens) +- Add some support for xen xvd blockdevs +- Select kernel-xen-guest as appropriate +- Ensure proper arch of glibc is selected (#171997) +- Select all proper multilib parts of a package (#171026) + * Thu Oct 27 2005 Jeremy Katz - 10.89.5-1 - Another fix for kickstart + help hiding - Fix finding of kernel type Index: sources =================================================================== RCS file: /cvs/dist/rpms/anaconda/devel/sources,v retrieving revision 1.274 retrieving revision 1.275 diff -u -r1.274 -r1.275 --- sources 27 Oct 2005 21:53:27 -0000 1.274 +++ sources 28 Oct 2005 23:13:55 -0000 1.275 @@ -1 +1 @@ -c00949ea773c44ecc37cc034e504f0a2 anaconda-10.89.5.tar.bz2 +a4fad16ee61ffb268e0bfd6dc76ade12 anaconda-10.89.6.tar.bz2 From fedora-cvs-commits at redhat.com Fri Oct 28 23:29:00 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 28 Oct 2005 19:29:00 -0400 Subject: rpms/avahi/devel avahi-0.5.2-start_after_dbus.patch, NONE, 1.1 avahi.spec, 1.3, 1.4 Message-ID: <200510282329.j9SNT0K7018474@cvs.devel.redhat.com> Author: jvdias Update of /cvs/dist/rpms/avahi/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv18459 Modified Files: avahi.spec Added Files: avahi-0.5.2-start_after_dbus.patch Log Message: change avahi-daemon initscript to start after messagebus avahi-0.5.2-start_after_dbus.patch: avahi-daemon.in | 2 +- avahi-dnsconfd.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- NEW FILE avahi-0.5.2-start_after_dbus.patch --- --- avahi-0.5.2/initscript/fedora/avahi-daemon.in.start_after_dbus 2005-10-28 18:44:31.000000000 -0400 +++ avahi-0.5.2/initscript/fedora/avahi-daemon.in 2005-10-28 18:44:56.000000000 -0400 @@ -2,7 +2,7 @@ # # avahi-daemon: Starts the Avahi Daemon # -# chkconfig: 345 34 66 +# chkconfig: 345 98 02 # description: This is a daemon which runs on client machines to perform \ # Zeroconf service discovery on a network. avahi-daemon must be \ # running on systems that use Avahi for service discovery. \ --- avahi-0.5.2/initscript/fedora/avahi-dnsconfd.in.start_after_dbus 2005-10-28 18:44:31.000000000 -0400 +++ avahi-0.5.2/initscript/fedora/avahi-dnsconfd.in 2005-10-28 18:45:09.000000000 -0400 @@ -2,7 +2,7 @@ # # avahi-daemon: Starts the Avahi dns configuration daemon # -# chkconfig: - 34 66 +# chkconfig: - 34 98 02 # description: avahi-dnsconfd connects to a running avahi-daemon and runs the script # /etc/avahi/dnsconf.action for each unicast DNS server that is announced # on the local LAN. This is useful for configuring unicast DNS servers in Index: avahi.spec =================================================================== RCS file: /cvs/dist/rpms/avahi/devel/avahi.spec,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- avahi.spec 26 Oct 2005 09:44:57 -0000 1.3 +++ avahi.spec 28 Oct 2005 23:28:55 -0000 1.4 @@ -1,6 +1,6 @@ Name: avahi Version: 0.5.2 -Release: 2 +Release: 3 Summary: local network service discovery Group: System Environment/Base @@ -8,10 +8,13 @@ URL: http://www.freedesktop.org/Software/Avahi Source0: %{name}-%{version}.tar.gz Patch1: avahi-0.5.2-fedora.patch +Patch2: avahi-0.5.2-start_after_dbus.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: doxygen, gtk2-devel, qt-devel, libdaemon-devel, dbus-devel, expat-devel, python, dbus-python + Requires: dbus +Obsoletes: howl, howl-libs %description Avahi is a system which facilitates service discovery on @@ -72,6 +75,7 @@ Summary: libraries and header files for avahi development Group: Development/Libraries Requires: %{name} = %{version} +Obsoletes: howl-devel %description devel The avahi-devel package contains the header files and libraries @@ -82,6 +86,7 @@ %prep %setup -q %patch1 -p1 -b .fedora +%patch2 -p1 -b .start_after_dbus %build # auto* update needed for avahi-0.5.2-fedora.patch @@ -117,8 +122,18 @@ %post /sbin/ldconfig -# We should realy makee dbus reload the system.d config here. Dunno how though. -/sbin/chkconfig --add avahi-daemon +if [ "$1" -eq 1 ]; then + /sbin/chkconfig --add avahi-daemon >/dev/null 2>&1 +# We should realy make dbus reload the system.d config here. Dunno how though. +# kill -HUP `cat /var/run/messagebus.pid` ? +elif [ "$1" -gt 1 ]; then +# reset initscript run order: + LC_ALL=C /sbin/chkconfig --levels=0123456 avahi-daemon reset >/dev/null 2>&1 +# pre 0.5.2-3, avahi-daemon initscript had 'chkconfig: 345 34 66', +# so it got started AFTER messagebus ( 97 ) and was unable to start. +# It now has 'chkconfig: 345 98 02'. + /sbin/service avahi-daemon condrestart >/dev/null 2>&1 +fi; %postun /sbin/ldconfig @@ -184,6 +199,9 @@ %{_includedir}/avahi-qt3 %changelog +* Fri Oct 28 2005 Jason Vas Dias - 0.5.2-3 +- change initscript to start avahi-daemon AFTER messagebus + * Wed Oct 26 2005 Karsten Hopp 0.5.2-2 - add buildrequires dbus-python From fedora-cvs-commits at redhat.com Sat Oct 29 00:53:13 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 28 Oct 2005 20:53:13 -0400 Subject: rpms/selinux-policy-targeted/devel policy-20051021.patch, 1.10, 1.11 selinux-policy-targeted.spec, 1.403, 1.404 Message-ID: <200510290053.j9T0rDRn018354@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-targeted/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv18190 Modified Files: policy-20051021.patch selinux-policy-targeted.spec Log Message: * Fri Oct 28 2005 Dan Walsh 1.27.2-10 - Fix file_context policy-20051021.patch: Makefile | 14 - attrib.te | 18 + domains/admin.te | 2 domains/misc/kernel.te | 2 domains/program/fsadm.te | 2 domains/program/ifconfig.te | 2 domains/program/init.te | 2 domains/program/initrc.te | 13 + domains/program/logrotate.te | 2 domains/program/modutil.te | 8 domains/program/newrole.te | 4 domains/program/restorecon.te | 4 domains/program/setfiles.te | 2 domains/program/ssh.te | 2 domains/program/su.te | 4 domains/program/syslogd.te | 4 domains/program/tmpreaper.te | 2 domains/program/unused/NetworkManager.te | 10 + domains/program/unused/amanda.te | 21 +- domains/program/unused/apache.te | 15 + domains/program/unused/apmd.te | 13 + domains/program/unused/auditd.te | 6 domains/program/unused/avahi.te | 29 ++ domains/program/unused/bluetooth.te | 57 +++++ domains/program/unused/cups.te | 11 - domains/program/unused/dbusd.te | 2 domains/program/unused/dhcpc.te | 3 domains/program/unused/dhcpd.te | 3 domains/program/unused/exim.te | 309 +++++++++++++++++++++++++++++++ domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 3 domains/program/unused/mysqld.te | 6 domains/program/unused/named.te | 17 + domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 5 domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 16 + domains/program/unused/ping.te | 2 domains/program/unused/postfix.te | 54 +++-- domains/program/unused/postgresql.te | 11 - domains/program/unused/pppd.te | 22 +- domains/program/unused/rpcd.te | 16 + domains/program/unused/rpm.te | 4 domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 3 domains/program/unused/sendmail.te | 3 domains/program/unused/snmpd.te | 1 domains/program/unused/spamd.te | 28 -- domains/program/unused/udev.te | 8 domains/program/unused/webalizer.te | 3 domains/program/unused/xdm.te | 2 domains/program/unused/yppasswdd.te | 40 ++++ file_contexts/distros.fc | 1 file_contexts/program/apache.fc | 2 file_contexts/program/avahi.fc | 4 file_contexts/program/backup.fc | 2 file_contexts/program/bluetooth.fc | 2 file_contexts/program/dhcpc.fc | 1 file_contexts/program/dhcpd.fc | 5 file_contexts/program/exim.fc | 18 + file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 3 file_contexts/program/kudzu.fc | 2 file_contexts/program/pegasus.fc | 6 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/yppasswdd.fc | 2 file_contexts/types.fc | 4 genfs_contexts | 1 macros/base_user_macros.te | 7 macros/global_macros.te | 25 -- macros/home_macros.te | 9 macros/program/chkpwd_macros.te | 7 macros/program/dbusd_macros.te | 1 macros/program/exim_macros.te | 75 +++++++ macros/program/su_macros.te | 2 macros/program/ypbind_macros.te | 1 macros/user_macros.te | 1 man/man8/ftpd_selinux.8 | 19 + man/man8/httpd_selinux.8 | 9 man/man8/rsync_selinux.8 | 12 - man/man8/samba_selinux.8 | 9 mcs | 194 ++++++------------- mls | 227 ++++++++-------------- targeted/assert.te | 2 targeted/domains/program/sendmail.te | 1 targeted/domains/program/ssh.te | 2 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 7 tunables/distro.tun | 2 tunables/tunable.tun | 4 types/devpts.te | 4 types/file.te | 43 +--- types/network.te | 10 - types/nfs.te | 1 types/security.te | 2 100 files changed, 1069 insertions(+), 509 deletions(-) Index: policy-20051021.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/devel/policy-20051021.patch,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- policy-20051021.patch 28 Oct 2005 19:22:32 -0000 1.10 +++ policy-20051021.patch 29 Oct 2005 00:53:09 -0000 1.11 @@ -1761,12 +1761,12 @@ /etc/httpd/logs system_u:object_r:httpd_log_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/avahi.fc policy-1.27.2/file_contexts/program/avahi.fc --- nsapolicy/file_contexts/program/avahi.fc 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.2/file_contexts/program/avahi.fc 2005-10-28 15:21:02.000000000 -0400 ++++ policy-1.27.2/file_contexts/program/avahi.fc 2005-10-28 20:52:18.000000000 -0400 @@ -0,0 +1,4 @@ +#DESC avahi - mDNS/DNS-SD daemon implementing Apple???s ZeroConf architecture -+/usr/sbin/avahi-daemon -- system_u:object_r:avahi_exec_t:s0 -+/usr/sbin/avahi-dnsconfd -- system_u:object_r:avahi_exec_t:s0 -+/var/run/avahi-daemon(/.*)? system_u:object_r:avahi_var_run_t:s0 ++/usr/sbin/avahi-daemon -- system_u:object_r:avahi_exec_t ++/usr/sbin/avahi-dnsconfd -- system_u:object_r:avahi_exec_t ++/var/run/avahi-daemon(/.*)? system_u:object_r:avahi_var_run_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/backup.fc policy-1.27.2/file_contexts/program/backup.fc --- nsapolicy/file_contexts/program/backup.fc 2005-10-21 11:36:15.000000000 -0400 +++ policy-1.27.2/file_contexts/program/backup.fc 2005-10-27 10:26:28.000000000 -0400 Index: selinux-policy-targeted.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-targeted/devel/selinux-policy-targeted.spec,v retrieving revision 1.403 retrieving revision 1.404 diff -u -r1.403 -r1.404 --- selinux-policy-targeted.spec 28 Oct 2005 19:22:32 -0000 1.403 +++ selinux-policy-targeted.spec 29 Oct 2005 00:53:09 -0000 1.404 @@ -9,7 +9,7 @@ Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} Version: 1.27.2 -Release: 9 +Release: 10 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz @@ -249,6 +249,9 @@ exit 0 %changelog +* Fri Oct 28 2005 Dan Walsh 1.27.2-10 +- Fix file_context + * Fri Oct 28 2005 Dan Walsh 1.27.2-9 - Add avahi policy From fedora-cvs-commits at redhat.com Sat Oct 29 00:53:25 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Fri, 28 Oct 2005 20:53:25 -0400 Subject: rpms/selinux-policy-strict/devel policy-20051021.patch, 1.10, 1.11 selinux-policy-strict.spec, 1.409, 1.410 Message-ID: <200510290053.j9T0rPht018515@cvs.devel.redhat.com> Author: dwalsh Update of /cvs/dist/rpms/selinux-policy-strict/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv18311 Modified Files: policy-20051021.patch selinux-policy-strict.spec Log Message: * Fri Oct 28 2005 Dan Walsh 1.27.2-10 - Fix file_context policy-20051021.patch: Makefile | 14 - attrib.te | 18 + domains/admin.te | 2 domains/misc/kernel.te | 2 domains/program/fsadm.te | 2 domains/program/ifconfig.te | 2 domains/program/init.te | 2 domains/program/initrc.te | 13 + domains/program/logrotate.te | 2 domains/program/modutil.te | 8 domains/program/newrole.te | 4 domains/program/restorecon.te | 4 domains/program/setfiles.te | 2 domains/program/ssh.te | 2 domains/program/su.te | 4 domains/program/syslogd.te | 4 domains/program/tmpreaper.te | 2 domains/program/unused/NetworkManager.te | 10 + domains/program/unused/amanda.te | 21 +- domains/program/unused/apache.te | 15 + domains/program/unused/apmd.te | 13 + domains/program/unused/auditd.te | 6 domains/program/unused/avahi.te | 29 ++ domains/program/unused/bluetooth.te | 57 +++++ domains/program/unused/cups.te | 11 - domains/program/unused/dbusd.te | 2 domains/program/unused/dhcpc.te | 3 domains/program/unused/dhcpd.te | 3 domains/program/unused/exim.te | 309 +++++++++++++++++++++++++++++++ domains/program/unused/ftpd.te | 6 domains/program/unused/hald.te | 5 domains/program/unused/hotplug.te | 5 domains/program/unused/ipsec.te | 2 domains/program/unused/kudzu.te | 3 domains/program/unused/mysqld.te | 6 domains/program/unused/named.te | 17 + domains/program/unused/nscd.te | 1 domains/program/unused/ntpd.te | 5 domains/program/unused/pamconsole.te | 2 domains/program/unused/pegasus.te | 16 + domains/program/unused/ping.te | 2 domains/program/unused/postfix.te | 54 +++-- domains/program/unused/postgresql.te | 11 - domains/program/unused/pppd.te | 22 +- domains/program/unused/rpcd.te | 16 + domains/program/unused/rpm.te | 4 domains/program/unused/rsync.te | 3 domains/program/unused/samba.te | 3 domains/program/unused/sendmail.te | 3 domains/program/unused/snmpd.te | 1 domains/program/unused/spamd.te | 28 -- domains/program/unused/udev.te | 8 domains/program/unused/webalizer.te | 3 domains/program/unused/xdm.te | 2 domains/program/unused/yppasswdd.te | 40 ++++ file_contexts/distros.fc | 1 file_contexts/program/apache.fc | 2 file_contexts/program/avahi.fc | 4 file_contexts/program/backup.fc | 2 file_contexts/program/bluetooth.fc | 2 file_contexts/program/dhcpc.fc | 1 file_contexts/program/dhcpd.fc | 5 file_contexts/program/exim.fc | 18 + file_contexts/program/ftpd.fc | 5 file_contexts/program/games.fc | 3 file_contexts/program/kudzu.fc | 2 file_contexts/program/pegasus.fc | 6 file_contexts/program/rshd.fc | 1 file_contexts/program/rsync.fc | 2 file_contexts/program/squid.fc | 3 file_contexts/program/yppasswdd.fc | 2 file_contexts/types.fc | 4 genfs_contexts | 1 macros/base_user_macros.te | 7 macros/global_macros.te | 25 -- macros/home_macros.te | 9 macros/program/chkpwd_macros.te | 7 macros/program/dbusd_macros.te | 1 macros/program/exim_macros.te | 75 +++++++ macros/program/su_macros.te | 2 macros/program/ypbind_macros.te | 1 macros/user_macros.te | 1 man/man8/ftpd_selinux.8 | 19 + man/man8/httpd_selinux.8 | 9 man/man8/rsync_selinux.8 | 12 - man/man8/samba_selinux.8 | 9 mcs | 194 ++++++------------- mls | 227 ++++++++-------------- targeted/assert.te | 2 targeted/domains/program/sendmail.te | 1 targeted/domains/program/ssh.te | 2 targeted/domains/program/xdm.te | 4 targeted/domains/unconfined.te | 7 tunables/distro.tun | 2 tunables/tunable.tun | 4 types/devpts.te | 4 types/file.te | 43 +--- types/network.te | 10 - types/nfs.te | 1 types/security.te | 2 100 files changed, 1069 insertions(+), 509 deletions(-) Index: policy-20051021.patch =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/devel/policy-20051021.patch,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- policy-20051021.patch 28 Oct 2005 19:22:25 -0000 1.10 +++ policy-20051021.patch 29 Oct 2005 00:53:20 -0000 1.11 @@ -1761,12 +1761,12 @@ /etc/httpd/logs system_u:object_r:httpd_log_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/avahi.fc policy-1.27.2/file_contexts/program/avahi.fc --- nsapolicy/file_contexts/program/avahi.fc 1969-12-31 19:00:00.000000000 -0500 -+++ policy-1.27.2/file_contexts/program/avahi.fc 2005-10-28 15:21:02.000000000 -0400 ++++ policy-1.27.2/file_contexts/program/avahi.fc 2005-10-28 20:52:18.000000000 -0400 @@ -0,0 +1,4 @@ +#DESC avahi - mDNS/DNS-SD daemon implementing Apple???s ZeroConf architecture -+/usr/sbin/avahi-daemon -- system_u:object_r:avahi_exec_t:s0 -+/usr/sbin/avahi-dnsconfd -- system_u:object_r:avahi_exec_t:s0 -+/var/run/avahi-daemon(/.*)? system_u:object_r:avahi_var_run_t:s0 ++/usr/sbin/avahi-daemon -- system_u:object_r:avahi_exec_t ++/usr/sbin/avahi-dnsconfd -- system_u:object_r:avahi_exec_t ++/var/run/avahi-daemon(/.*)? system_u:object_r:avahi_var_run_t diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/backup.fc policy-1.27.2/file_contexts/program/backup.fc --- nsapolicy/file_contexts/program/backup.fc 2005-10-21 11:36:15.000000000 -0400 +++ policy-1.27.2/file_contexts/program/backup.fc 2005-10-27 10:26:28.000000000 -0400 Index: selinux-policy-strict.spec =================================================================== RCS file: /cvs/dist/rpms/selinux-policy-strict/devel/selinux-policy-strict.spec,v retrieving revision 1.409 retrieving revision 1.410 diff -u -r1.409 -r1.410 --- selinux-policy-strict.spec 28 Oct 2005 19:22:25 -0000 1.409 +++ selinux-policy-strict.spec 29 Oct 2005 00:53:20 -0000 1.410 @@ -9,7 +9,7 @@ Summary: SELinux %{type} policy configuration Name: selinux-policy-%{type} Version: 1.27.2 -Release: 9 +Release: 10 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policy-%{version}.tgz @@ -245,6 +245,9 @@ exit 0 %changelog +* Fri Oct 28 2005 Dan Walsh 1.27.2-10 +- Fix file_context + * Fri Oct 28 2005 Dan Walsh 1.27.2-9 - Add avahi policy From fedora-cvs-commits at redhat.com Sat Oct 29 06:44:14 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sat, 29 Oct 2005 02:44:14 -0400 Subject: rpms/kernel/FC-4 linux-2.6-pcmcia-disable-warning.patch, NONE, 1.1 kernel-2.6.spec, 1.1483, 1.1484 Message-ID: <200510290644.j9T6iEEr026476@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4 In directory cvs.devel.redhat.com:/tmp/cvs-serv26447 Modified Files: kernel-2.6.spec Added Files: linux-2.6-pcmcia-disable-warning.patch Log Message: disable warning linux-2.6-pcmcia-disable-warning.patch: pcmcia_ioctl.c | 11 ----------- 1 files changed, 11 deletions(-) --- NEW FILE linux-2.6-pcmcia-disable-warning.patch --- FC4 isnt going to get the new pcmcia tools, so disable this warning. --- linux-2.6.14/drivers/pcmcia/pcmcia_ioctl.c~ 2005-10-29 02:41:36.000000000 -0400 +++ linux-2.6.14/drivers/pcmcia/pcmcia_ioctl.c 2005-10-29 02:41:55.000000000 -0400 @@ -408,17 +408,6 @@ static int ds_open(struct inode *inode, s->user = user; file->private_data = user; - if (!warning_printed) { - printk(KERN_INFO "pcmcia: Detected deprecated PCMCIA ioctl " - "usage.\n"); - printk(KERN_INFO "pcmcia: This interface will soon be removed from " - "the kernel; please expect breakage unless you upgrade " - "to new tools.\n"); - printk(KERN_INFO "pcmcia: see http://www.kernel.org/pub/linux/" - "utils/kernel/pcmcia/pcmcia.html for details.\n"); - warning_printed = 1; - } - if (s->pcmcia_state.present) queue_event(user, CS_EVENT_CARD_INSERTION); return 0; Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/kernel-2.6.spec,v retrieving revision 1.1483 retrieving revision 1.1484 diff -u -r1.1483 -r1.1484 --- kernel-2.6.spec 28 Oct 2005 06:15:08 -0000 1.1483 +++ kernel-2.6.spec 29 Oct 2005 06:44:09 -0000 1.1484 @@ -299,6 +299,8 @@ Patch1302: linux-2.6-net-atm-lanai-nodev-rmmod.patch Patch1303: linux-2.6-net-acenic-use-after-free.patch +Patch1400: linux-2.6-pcmcia-disable-warning.patch + # Netdump and Diskdump bits. Patch1500: linux-2.6-crashdump-common.patch Patch1501: linux-2.6-netdump.patch @@ -690,6 +692,9 @@ # Acenic use after free %patch1303 -p1 +# disable pcmcia warnings +%patch1400 -p1 + # netdump bits %patch1500 -p1 %patch1501 -p1 @@ -1206,6 +1211,9 @@ %endif %changelog +* Sat Oct 29 2005 Dave Jones +- Disable deprecation warning in PCMCIA ioctl. + * Thu Oct 27 2005 Dave Jones - Rebase to 2.6.14 From fedora-cvs-commits at redhat.com Sat Oct 29 08:36:29 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sat, 29 Oct 2005 04:36:29 -0400 Subject: rpms/kernel/FC-4/configs config-generic,1.39,1.40 Message-ID: <200510290836.j9T8aTZg000620@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/FC-4/configs In directory cvs.devel.redhat.com:/tmp/cvs-serv576/configs Modified Files: config-generic Log Message: reenable FUSE (packages are in extras) Index: config-generic =================================================================== RCS file: /cvs/dist/rpms/kernel/FC-4/configs/config-generic,v retrieving revision 1.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- config-generic 28 Oct 2005 05:48:33 -0000 1.39 +++ config-generic 29 Oct 2005 08:36:25 -0000 1.40 @@ -2384,7 +2384,7 @@ CONFIG_UFS_FS=m # CONFIG_UFS_FS_WRITE is not set CONFIG_9P_FS=m -# CONFIG_FUSE_FS is not set +CONFIG_FUSE_FS=m # # Network File Systems From fedora-cvs-commits at redhat.com Sun Oct 30 06:56:39 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 30 Oct 2005 01:56:39 -0500 Subject: rpms/kernel-xen/devel kernel-2.6.12-i686-guest.config, 1.1, 1.2 kernel-xen.spec, 1.8, 1.9 Message-ID: <200510300656.j9U6udkG002385@cvs.devel.redhat.com> Author: arjanv Update of /cvs/dist/rpms/kernel-xen/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv2203 Modified Files: kernel-2.6.12-i686-guest.config kernel-xen.spec Log Message: see if this makes the guest boot Index: kernel-2.6.12-i686-guest.config =================================================================== RCS file: /cvs/dist/rpms/kernel-xen/devel/kernel-2.6.12-i686-guest.config,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- kernel-2.6.12-i686-guest.config 21 Oct 2005 17:43:32 -0000 1.1 +++ kernel-2.6.12-i686-guest.config 30 Oct 2005 06:56:36 -0000 1.2 @@ -2797,7 +2797,7 @@ # CONFIG_X86_LONGHAUL is not set # CONFIG_X86_CPUFREQ_NFORCE2 is not set CONFIG_X86_SMP=y -CONFIG_X86_HT=y +# CONFIG_X86_HT is not set CONFIG_X86_BIOS_REBOOT=y CONFIG_X86_TRAMPOLINE=y CONFIG_NVRAM=m @@ -2806,7 +2806,7 @@ CONFIG_CRYPTO_DEV_PADLOCK=m CONFIG_CRYPTO_DEV_PADLOCK_AES=y CONFIG_GENERIC_ISA_DMA=y -CONFIG_SCHED_SMT=y +# CONFIG_SCHED_SMT is not set # CONFIG_IRQBALANCE is not set CONFIG_SOFTWARE_SUSPEND=y CONFIG_PM_DEBUG=y Index: kernel-xen.spec =================================================================== RCS file: /cvs/dist/rpms/kernel-xen/devel/kernel-xen.spec,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- kernel-xen.spec 27 Oct 2005 15:55:20 -0000 1.8 +++ kernel-xen.spec 30 Oct 2005 06:56:36 -0000 1.9 @@ -537,3 +537,4 @@ * Fri Oct 21 2005 Arjan van de Ven - start packaging a temporary Xen kernel rpm set + From fedora-cvs-commits at redhat.com Mon Oct 31 02:56:50 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 30 Oct 2005 21:56:50 -0500 Subject: rpms/ruby/devel .cvsignore, 1.12, 1.13 ruby.spec, 1.43, 1.44 sources, 1.11, 1.12 ruby-1.8.2-strscan-memset.patch, 1.1, NONE Message-ID: <200510310256.j9V2uona030800@cvs.devel.redhat.com> Author: tagoh Update of /cvs/dist/rpms/ruby/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30741 Modified Files: .cvsignore ruby.spec sources Removed Files: ruby-1.8.2-strscan-memset.patch Log Message: * Mon Oct 31 2005 Akira TAGOH - 1.8.4-0.1.preview1 - New upstream release. - ruby-1.8.2-strscan-memset.patch: removed because it's no longer needed. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/ruby/devel/.cvsignore,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- .cvsignore 21 Sep 2005 07:29:44 -0000 1.12 +++ .cvsignore 31 Oct 2005 02:56:40 -0000 1.13 @@ -6,3 +6,4 @@ *.rpm ruby-1.8.2.tar.gz ruby-1.8.3.tar.gz +ruby-1.8.4-preview1.tar.gz Index: ruby.spec =================================================================== RCS file: /cvs/dist/rpms/ruby/devel/ruby.spec,v retrieving revision 1.43 retrieving revision 1.44 diff -u -r1.43 -r1.44 --- ruby.spec 4 Oct 2005 04:40:06 -0000 1.43 +++ ruby.spec 31 Oct 2005 02:56:40 -0000 1.44 @@ -3,14 +3,14 @@ %define sitedir %{_libdir}/site_ruby Name: ruby -Version: 1.8.3 -Release: 4 +Version: 1.8.4 +Release: 0.1.preview1 License: Distributable URL: http://www.ruby-lang.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: readline readline-devel ncurses ncurses-devel gdbm gdbm-devel glibc-devel tcl tk xorg-x11-devel autoconf gcc unzip openssl-devel db4-devel emacs -Source0: ftp://ftp.ruby-lang.org/pub/%{name}/%{name}-%{version}.tar.gz +Source0: ftp://ftp.ruby-lang.org/pub/%{name}/%{name}-%{version}-preview1.tar.gz ##Source1: ftp://ftp.ruby-lang.org/pub/%{name}/doc/%{name}-man-%{manver}.tar.gz Source1: %{name}-man-%{manver}.tar.bz2 Source2: http://www7.tok2.com/home/misc/files/%{name}/%{name}-refm-rdp-1.8.1-ja-html.tar.gz @@ -22,7 +22,6 @@ Source10: ruby-mode-init.el Patch1: ruby-multilib.patch -Patch2: ruby-1.8.2-strscan-memset.patch Patch3: ruby-1.8.2-deadcode.patch Patch4: ruby-1.8.2-tcltk-multilib.patch @@ -128,7 +127,6 @@ %ifarch ppc64 s390x sparc64 x86_64 %patch1 -p1 %endif -%patch2 -p1 %patch3 -p1 %ifarch ppc64 s390x sparc64 x86_64 %patch4 -p1 @@ -414,6 +412,10 @@ %dir %{_datadir}/emacs/site-lisp/ruby-mode %changelog +* Mon Oct 31 2005 Akira TAGOH - 1.8.4-0.1.preview1 +- New upstream release. +- ruby-1.8.2-strscan-memset.patch: removed because it's no longer needed. + * Tue Oct 4 2005 Akira TAGOH - 1.8.3-4 - moved the documents from ruby-libs to ruby-docs, which contains the arch specific thing and to be multilib support. (#168826) Index: sources =================================================================== RCS file: /cvs/dist/rpms/ruby/devel/sources,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- sources 21 Sep 2005 07:29:44 -0000 1.11 +++ sources 31 Oct 2005 02:56:40 -0000 1.12 @@ -2,4 +2,4 @@ d65e3a216d6d345a2a6f1aa8758c2f75 ruby-refm-rdp-1.8.1-ja-html.tar.gz 7f3e181c0be9a1579e43a5a8b26372d6 rubyfaq-990927.tar.bz2 8aa2e2da327dc43ff6e46e634eb657b6 rubyfaq-jp-990927.tar.bz2 -63d6c2bddd6af86664e338b31f3189a6 ruby-1.8.3.tar.gz +cfb6e4c53369c016ebb4061c240c493d ruby-1.8.4-preview1.tar.gz --- ruby-1.8.2-strscan-memset.patch DELETED --- From fedora-cvs-commits at redhat.com Mon Oct 31 03:03:44 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 30 Oct 2005 22:03:44 -0500 Subject: rpms/kernel/devel/configs config-generic,1.69,1.70 Message-ID: <200510310303.j9V33iqU032309@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/devel/configs In directory cvs.devel.redhat.com:/tmp/cvs-serv32248/configs Modified Files: config-generic Log Message: Blood! Guts! Gore! -git2 ! Index: config-generic =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/configs/config-generic,v retrieving revision 1.69 retrieving revision 1.70 diff -u -r1.69 -r1.70 --- config-generic 26 Oct 2005 21:32:12 -0000 1.69 +++ config-generic 31 Oct 2005 03:03:29 -0000 1.70 @@ -435,6 +435,8 @@ CONFIG_SCSI_SATA_ULI=m CONFIG_SCSI_SATA_QSTOR=m CONFIG_SCSI_SATA_MV=m +CONFIG_SCSI_SATA_SIL24=m +CONFIG_SCSI_PDC_ADMA=m CONFIG_SCSI_BUSLOGIC=m CONFIG_SCSI_INITIO=m @@ -1602,6 +1604,8 @@ CONFIG_SENSORS_W83627EHF=m CONFIG_SENSORS_W83792D=m +CONFIG_RTC_X1205_I2C=m + CONFIG_W1=m CONFIG_W1_MATROX=m CONFIG_W1_DS9490=m @@ -2201,15 +2205,21 @@ # CONFIG_USB_SERIAL=m CONFIG_USB_SERIAL_GENERIC=y +CONFIG_USB_SERIAL_AIRPRIME=m CONFIG_USB_SERIAL_BELKIN=m +CONFIG_USB_SERIAL_CP2101=m +CONFIG_USB_SERIAL_CYPRESS_M8=m +CONFIG_USB_SERIAL_CYBERJACK=m CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m +CONFIG_USB_SERIAL_EDGEPORT=m +CONFIG_USB_SERIAL_EDGEPORT_TI=m CONFIG_USB_SERIAL_EMPEG=m CONFIG_USB_SERIAL_FTDI_SIO=m -CONFIG_USB_SERIAL_VISOR=m +CONFIG_USB_SERIAL_GARMIN=m +CONFIG_USB_SERIAL_HP4X=m CONFIG_USB_SERIAL_IPAQ=m +CONFIG_USB_SERIAL_IPW=m CONFIG_USB_SERIAL_IR=m -CONFIG_USB_SERIAL_EDGEPORT=m -CONFIG_USB_SERIAL_EDGEPORT_TI=m CONFIG_USB_SERIAL_KEYSPAN_PDA=m CONFIG_USB_SERIAL_KEYSPAN=m CONFIG_USB_SERIAL_KEYSPAN_MPR=y @@ -2227,21 +2237,16 @@ CONFIG_USB_SERIAL_KLSI=m CONFIG_USB_SERIAL_KOBIL_SCT=m CONFIG_USB_SERIAL_MCT_U232=m +CONFIG_USB_SERIAL_NOKIA_DKU2=m +CONFIG_USB_SERIAL_OPTION=y +CONFIG_USB_SERIAL_OMNINET=m CONFIG_USB_SERIAL_PL2303=m CONFIG_USB_SERIAL_SAFE=m CONFIG_USB_SERIAL_SAFE_PADDED=y -CONFIG_USB_SERIAL_CYBERJACK=m -CONFIG_USB_SERIAL_XIRCOM=m -CONFIG_USB_SERIAL_OPTION=y -CONFIG_USB_SERIAL_OMNINET=m -CONFIG_USB_SERIAL_WHITEHEAT=m -CONFIG_USB_SERIAL_CP2101=m -CONFIG_USB_SERIAL_AIRPRIME=m -CONFIG_USB_SERIAL_HP4X=m -CONFIG_USB_SERIAL_GARMIN=m CONFIG_USB_SERIAL_TI=m -CONFIG_USB_SERIAL_CYPRESS_M8=m -CONFIG_USB_SERIAL_IPW=m +CONFIG_USB_SERIAL_VISOR=m +CONFIG_USB_SERIAL_WHITEHEAT=m +CONFIG_USB_SERIAL_XIRCOM=m CONFIG_USB_EZUSB=y CONFIG_USB_EMI62=m From fedora-cvs-commits at redhat.com Mon Oct 31 03:03:31 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 30 Oct 2005 22:03:31 -0500 Subject: rpms/kernel/devel .cvsignore, 1.261, 1.262 kernel-2.6.spec, 1.1633, 1.1634 linux-2.6-execshield.patch, 1.1, 1.2 linux-2.6-modsign-include.patch, 1.1, 1.2 linux-2.6-netdump.patch, 1.1, 1.2 linux-2.6-scsi-advansys-pcitable.patch, 1.1, 1.2 sources, 1.203, 1.204 upstream, 1.189, 1.190 Message-ID: <200510310303.j9V33VmM032294@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv32248 Modified Files: .cvsignore kernel-2.6.spec linux-2.6-execshield.patch linux-2.6-modsign-include.patch linux-2.6-netdump.patch linux-2.6-scsi-advansys-pcitable.patch sources upstream Log Message: Blood! Guts! Gore! -git2 ! Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/.cvsignore,v retrieving revision 1.261 retrieving revision 1.262 diff -u -r1.261 -r1.262 --- .cvsignore 28 Oct 2005 01:55:23 -0000 1.261 +++ .cvsignore 31 Oct 2005 03:03:26 -0000 1.262 @@ -2,5 +2,4 @@ temp-* kernel-2.6.14 linux-2.6.14.tar.bz2 -patch-2.6.14-rc5.bz2 -patch-2.6.14-rc5-git7.bz2 +patch-2.6.14-git2.bz2 Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v retrieving revision 1.1633 retrieving revision 1.1634 diff -u -r1.1633 -r1.1634 --- kernel-2.6.spec 28 Oct 2005 05:03:41 -0000 1.1633 +++ kernel-2.6.spec 31 Oct 2005 03:03:26 -0000 1.1634 @@ -198,7 +198,7 @@ # # Patches 0 through 100 are meant for core subsystem upgrades # -Patch1: patch-2.6.14-rc5.bz2 +Patch1: patch-2.6.14-git2.bz2 Patch2: patch-2.6.14-rc5-git7.bz2 # Patches 100 through 500 are meant for architecture patches @@ -548,7 +548,7 @@ cd linux-%{kversion} # Update to latest upstream. -#%patch1 -p1 +%patch1 -p1 #%patch2 -p1 # @@ -1266,6 +1266,9 @@ %endif %changelog +* Sun Oct 30 2005 Dave Jones +- 2.6.14-git2 + * Thu Oct 27 2005 Dave Jones - 2.6.14 linux-2.6-execshield.patch: linux-2.6.13-a/arch/x86_64/ia32/ia32_binfmt.c | 4 linux-2.6.13-a/arch/x86_64/kernel/process.c | 6 - linux-2.6.13-a/arch/x86_64/kernel/setup64.c | 25 ----- linux-2.6.13-a/include/asm-x86_64/pgtable.h | 2 linux-2.6.13/mm/fremap.c | 16 +-- linux-810/arch/i386/kernel/asm-offsets.c | 1 linux-810/arch/i386/kernel/entry.S | 8 + linux-810/arch/i386/kernel/process.c | 59 ++++++++++++ linux-810/arch/i386/kernel/signal.c | 4 linux-810/arch/i386/kernel/smp.c | 3 linux-810/arch/i386/kernel/sysenter.c | 55 +++++++++++ linux-810/arch/i386/kernel/traps.c | 93 ++++++++++++++++++- linux-810/arch/i386/kernel/vsyscall-sysenter.S | 6 - linux-810/arch/i386/kernel/vsyscall.lds.S | 4 linux-810/arch/i386/mm/init.c | 6 + linux-810/arch/i386/mm/mmap.c | 6 - linux-810/arch/ia64/ia32/binfmt_elf32.c | 2 linux-810/arch/x86_64/ia32/ia32_binfmt.c | 2 linux-810/arch/x86_64/kernel/process.c | 7 - linux-810/arch/x86_64/mm/Makefile | 2 linux-810/arch/x86_64/mm/fault.c | 2 linux-810/arch/x86_64/mm/mmap.c | 95 +++++++++++++++++++ linux-810/drivers/char/random.c | 7 + linux-810/fs/binfmt_elf.c | 120 ++++++++++++++++++++----- linux-810/fs/proc/array.c | 8 + linux-810/fs/proc/base.c | 4 linux-810/fs/proc/task_mmu.c | 25 ++++- linux-810/include/asm-i386/desc.h | 14 ++ linux-810/include/asm-i386/elf.h | 42 +++++--- linux-810/include/asm-i386/mmu.h | 6 + linux-810/include/asm-i386/pgalloc.h | 1 linux-810/include/asm-i386/processor.h | 8 + linux-810/include/asm-i386/thread_info.h | 1 linux-810/include/asm-ia64/pgalloc.h | 4 linux-810/include/asm-ppc/pgalloc.h | 5 + linux-810/include/asm-ppc64/pgalloc.h | 5 + linux-810/include/asm-s390/pgalloc.h | 4 linux-810/include/asm-sparc/pgalloc.h | 4 linux-810/include/asm-sparc64/pgalloc.h | 4 linux-810/include/asm-x86_64/pgalloc.h | 7 + linux-810/include/asm-x86_64/processor.h | 5 + linux-810/include/linux/mm.h | 9 + linux-810/include/linux/resource.h | 5 - linux-810/include/linux/sched.h | 9 + linux-810/include/linux/sysctl.h | 3 linux-810/kernel/signal.c | 38 +++++++ linux-810/kernel/sysctl.c | 39 ++++++++ linux-810/mm/mmap.c | 105 ++++++++++++++++++++- linux-810/mm/mprotect.c | 5 - linux-810/mm/mremap.c | 4 linux-813/arch/i386/kernel/cpu/common.c | 7 + 51 files changed, 780 insertions(+), 126 deletions(-) Index: linux-2.6-execshield.patch =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/linux-2.6-execshield.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- linux-2.6-execshield.patch 15 Oct 2005 01:02:15 -0000 1.1 +++ linux-2.6-execshield.patch 31 Oct 2005 03:03:27 -0000 1.2 @@ -923,7 +923,7 @@ diff -urNp --exclude-from=/home/davej/.exclude linux-804/fs/proc/task_mmu.c linux-810/fs/proc/task_mmu.c --- linux-804/fs/proc/task_mmu.c +++ linux-810/fs/proc/task_mmu.c -@@ -26,13 +26,23 @@ char *task_mem(struct mm_struct *mm, cha +@@ -43,7 +43,11 @@ char *task_mem(struct mm_struct *mm, cha "VmStk:\t%8lu kB\n" "VmExe:\t%8lu kB\n" "VmLib:\t%8lu kB\n" @@ -933,9 +933,11 @@ + "Brk:\t%08lx kB\n" + "StaStk:\t%08lx kB\n" + , - (mm->total_vm - mm->reserved_vm) << (PAGE_SHIFT-10), + hiwater_vm << (PAGE_SHIFT-10), + (total_vm - mm->reserved_vm) << (PAGE_SHIFT-10), mm->locked_vm << (PAGE_SHIFT-10), - get_mm_counter(mm, rss) << (PAGE_SHIFT-10), +@@ -51,7 +55,13 @@ char *task_mem(struct mm_struct *mm, cha + total_rss << (PAGE_SHIFT-10), data << (PAGE_SHIFT-10), mm->stack_vm << (PAGE_SHIFT-10), text, lib, - (PTRS_PER_PTE*sizeof(pte_t)*mm->nr_ptes) >> 10); @@ -944,7 +946,7 @@ +#ifdef __i386__ + if (!nx_enabled) + buffer += sprintf(buffer, -+ "ExecLim:\t%08lx\n", mm->context.exec_limit); ++ "ExecLim:\t%08lx\n", mm->context.exec_limit); +#endif return buffer; } @@ -1466,29 +1468,29 @@ .data = &core_uses_pid, --- linux-2.6.13/mm/fremap.c~ 2005-10-13 17:34:08.000000000 -0400 +++ linux-2.6.13/mm/fremap.c 2005-10-13 17:34:58.000000000 -0400 -@@ -85,13 +85,15 @@ int install_page(struct mm_struct *mm, s +@@ -83,13 +83,15 @@ int install_page(struct mm_struct *mm, s * caller about it. */ err = -EINVAL; - inode = vma->vm_file->f_mapping->host; - size = (i_size_read(inode) + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT; - if (!page->mapping || page->index >= size) -- goto err_unlock; +- goto unlock; - err = -ENOMEM; - if (page_mapcount(page) > INT_MAX/2) -- goto err_unlock; +- goto unlock; + if (vma->vm_file) { + inode = vma->vm_file->f_mapping->host; + size = (i_size_read(inode) + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT; + if (!page->mapping || page->index >= size) -+ goto err_unlock; ++ goto unlock; + err = -ENOMEM; + if (page_mapcount(page) > INT_MAX/2) -+ goto err_unlock; ++ goto unlock; + } - zap_pte(mm, vma, addr, pte); - + if (pte_none(*pte) || !zap_pte(mm, vma, addr, pte)) + inc_mm_counter(mm, file_rss); diff -urNp --exclude-from=/home/davej/.exclude linux-804/mm/mmap.c linux-810/mm/mmap.c --- linux-804/mm/mmap.c +++ linux-810/mm/mmap.c @@ -1675,14 +1677,14 @@ vma_adjust(vma, vma->vm_start, addr, vma->vm_pgoff, new); return 0; -@@ -1960,6 +2048,7 @@ void exit_mmap(struct mm_struct *mm) - set_mm_counter(mm, rss, 0); - mm->total_vm = 0; - mm->locked_vm = 0; +@@ -2048,6 +2048,7 @@ void exit_mmap(struct mm_struct *mm) + vm_unacct_memory(nr_accounted); + free_pgtables(&tlb, vma, FIRST_USER_ADDRESS, 0); + tlb_finish_mmu(tlb, 0, end); + arch_flush_exec_range(mm); - spin_unlock(&mm->page_table_lock); - + /* + * Walk the list again, actually closing and freeing it, diff -urNp --exclude-from=/home/davej/.exclude linux-804/mm/mprotect.c linux-810/mm/mprotect.c --- linux-804/mm/mprotect.c +++ linux-810/mm/mprotect.c linux-2.6-modsign-include.patch: linux-2.6.13/include/asm-powerpc/module.h | 10 ++++++++++ linux-2.6.14/include/asm-mips/module.h | 12 ++++++++++-- linux-905/include/asm-alpha/module.h | 3 +++ linux-905/include/asm-arm/module.h | 5 +++++ linux-905/include/asm-cris/module.h | 5 +++++ linux-905/include/asm-h8300/module.h | 5 +++++ linux-905/include/asm-i386/module.h | 5 +++++ linux-905/include/asm-ia64/module.h | 5 +++++ linux-905/include/asm-m32r/module.h | 5 +++++ linux-905/include/asm-m68k/module.h | 5 +++++ linux-905/include/asm-parisc/module.h | 8 ++++++++ linux-905/include/asm-s390/module.h | 3 +++ linux-905/include/asm-sh/module.h | 5 +++++ linux-905/include/asm-sparc/module.h | 5 +++++ linux-905/include/asm-sparc64/module.h | 5 +++++ linux-905/include/asm-um/module-i386.h | 4 ++++ linux-905/include/asm-v850/module.h | 5 +++++ linux-905/include/asm-x86_64/module.h | 5 +++++ 18 files changed, 98 insertions(+), 2 deletions(-) Index: linux-2.6-modsign-include.patch =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/linux-2.6-modsign-include.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- linux-2.6-modsign-include.patch 16 Oct 2005 22:23:45 -0000 1.1 +++ linux-2.6-modsign-include.patch 31 Oct 2005 03:03:28 -0000 1.2 @@ -141,9 +141,9 @@ +#define ELF_R_SYM(X) ELF32_R_SYM(X) #endif /* _ASM_M68K_MODULE_H */ ---- linux-2.6.13/include/asm-mips/module.h~ 2005-09-05 17:18:22.000000000 -0400 -+++ linux-2.6.13/include/asm-mips/module.h 2005-09-05 17:20:33.000000000 -0400 -@@ -26,19 +26,26 @@ typedef struct +--- linux-2.6.14/include/asm-mips/module.h~ 2005-10-30 21:31:42.000000000 -0500 ++++ linux-2.6.14/include/asm-mips/module.h 2005-10-30 21:33:30.000000000 -0500 +@@ -34,11 +34,15 @@ typedef struct { } Elf64_Mips_Rela; #ifdef CONFIG_32BIT @@ -152,11 +152,15 @@ #define Elf_Shdr Elf32_Shdr #define Elf_Sym Elf32_Sym #define Elf_Ehdr Elf32_Ehdr + #define Elf_Addr Elf32_Addr +#define Elf_Rel Elf32_Rel +#define Elf_Rela Elf32_Rela +#define ELF_R_TYPE(X) ELF32_R_TYPE(X) +#define ELF_R_SYM(X) ELF32_R_SYM(X) + #define Elf_Mips_Rel Elf32_Rel + #define Elf_Mips_Rela Elf32_Rela +@@ -49,11 +53,15 @@ typedef struct { #endif #ifdef CONFIG_64BIT @@ -165,14 +169,14 @@ #define Elf_Shdr Elf64_Shdr #define Elf_Sym Elf64_Sym #define Elf_Ehdr Elf64_Ehdr -- + #define Elf_Addr Elf64_Addr +#define Elf_Rel Elf64_Rel +#define Elf_Rela Elf64_Rela +#define ELF_R_TYPE(X) ELF64_R_TYPE(X) +#define ELF_R_SYM(X) ELF64_R_SYM(X) - #endif - #ifdef CONFIG_MODULES + #define Elf_Mips_Rel Elf64_Mips_Rel + #define Elf_Mips_Rela Elf64_Mips_Rela diff -urNp --exclude-from=/home/davej/.exclude linux-904/include/asm-parisc/module.h linux-905/include/asm-parisc/module.h --- linux-904/include/asm-parisc/module.h +++ linux-905/include/asm-parisc/module.h linux-2.6-netdump.patch: linux-2.6.12/drivers/net/Kconfig | 7 linux-2.6.12/drivers/net/netdump.c | 550 +++++++++++++++++++++++++++++ linux-2.6.12/drivers/net/netdump.h | 90 ++++ linux-2.6.12/include/asm-generic/netdump.h | 48 ++ linux-2.6.12/include/asm-i386/netdump.h | 79 ++++ linux-2.6.12/include/asm-ia64/netdump.h | 82 ++++ linux-2.6.12/include/asm-ppc64/netdump.h | 79 ++++ linux-2.6.12/include/asm-s390/netdump.h | 6 linux-2.6.12/include/asm-x86_64/netdump.h | 79 ++++ linux-2.6.12/include/linux/netdevice.h | 8 linux-2.6.12/include/linux/netpoll.h | 4 linux-2.6.12/net/core/netpoll.c | 17 linux-2.6.14/drivers/net/Makefile | 1 13 files changed, 1039 insertions(+), 11 deletions(-) Index: linux-2.6-netdump.patch =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/linux-2.6-netdump.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- linux-2.6-netdump.patch 24 Aug 2005 18:42:15 -0000 1.1 +++ linux-2.6-netdump.patch 31 Oct 2005 03:03:28 -0000 1.2 @@ -660,13 +660,16 @@ endif #NETDEVICES config NETPOLL ---- linux-2.6.12/drivers/net/Makefile.netdump.orig 2005-08-19 17:45:43.053483367 -0400 -+++ linux-2.6.12/drivers/net/Makefile 2005-08-19 17:47:33.025203810 -0400 -@@ -195,3 +195,4 @@ obj-$(CONFIG_IRDA) += irda/ +--- linux-2.6.14/drivers/net/Makefile~ 2005-10-30 21:44:17.000000000 -0500 ++++ linux-2.6.14/drivers/net/Makefile 2005-10-30 21:44:33.000000000 -0500 +@@ -203,6 +203,7 @@ obj-$(CONFIG_IRDA) += irda/ obj-$(CONFIG_ETRAX_ETHERNET) += cris/ obj-$(CONFIG_NETCONSOLE) += netconsole.o +obj-$(CONFIG_NETDUMP) += netdump.o + + obj-$(CONFIG_FS_ENET) += fs_enet/ + --- linux-2.6.12/net/core/netpoll.c.netdump.orig 2005-08-19 17:46:01.104483015 -0400 +++ linux-2.6.12/net/core/netpoll.c 2005-08-19 17:47:33.034202314 -0400 @@ -20,10 +20,12 @@ linux-2.6-scsi-advansys-pcitable.patch: drivers/scsi/advansys.c | 82 +++++++++++++++++------------------ linux-2.6.14/include/linux/pci_ids.h | 7 ++ 2 files changed, 48 insertions(+), 41 deletions(-) Index: linux-2.6-scsi-advansys-pcitable.patch =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/linux-2.6-scsi-advansys-pcitable.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- linux-2.6-scsi-advansys-pcitable.patch 15 Oct 2005 01:14:29 -0000 1.1 +++ linux-2.6-scsi-advansys-pcitable.patch 31 Oct 2005 03:03:28 -0000 1.2 @@ -1,21 +1,21 @@ Remove a lot of duplicate #defines from the advansys driver. ---- linux-2.6.12/include/linux/pci_ids.h~ 2005-07-05 23:18:13.000000000 -0400 -+++ linux-2.6.12/include/linux/pci_ids.h 2005-07-05 23:30:02.000000000 -0400 -@@ -1101,9 +1101,12 @@ - #define PCI_DEVICE_ID_NEOMAGIC_MAGICGRAPH_128ZVPLUS 0x0083 +--- linux-2.6.14/include/linux/pci_ids.h~ 2005-10-30 21:36:21.000000000 -0500 ++++ linux-2.6.14/include/linux/pci_ids.h 2005-10-30 21:37:16.000000000 -0500 +@@ -949,6 +949,13 @@ + #define PCI_DEVICE_ID_NEOMAGIC_NM256ZX_AUDIO 0x8006 + #define PCI_DEVICE_ID_NEOMAGIC_NM256XL_PLUS_AUDIO 0x8016 - #define PCI_VENDOR_ID_ASP 0x10cd ++#define PCI_VENDOR_ID_ASP 0x10cd +#define PCI_DEVICE_ID_ASP_1200A 0x1100 - #define PCI_DEVICE_ID_ASP_ABP940 0x1200 - #define PCI_DEVICE_ID_ASP_ABP940U 0x1300 - #define PCI_DEVICE_ID_ASP_ABP940UW 0x2300 ++#define PCI_DEVICE_ID_ASP_ABP940 0x1200 ++#define PCI_DEVICE_ID_ASP_ABP940U 0x1300 ++#define PCI_DEVICE_ID_ASP_ABP940UW 0x2300 +#define PCI_DEVICE_ID_38C0800_REV1 0x2500 +#define PCI_DEVICE_ID_38C1600_REV1 0x2700 - #define PCI_VENDOR_ID_MACRONIX 0x10d9 - #define PCI_DEVICE_ID_MACRONIX_MX98713 0x0512 - + #define PCI_VENDOR_ID_TCONRAD 0x10da + #define PCI_DEVICE_ID_TCONRAD_TOKENRING 0x0508 --- vanilla/drivers/scsi/advansys.c 2005-06-17 15:48:29.000000000 -0400 +++ linux-2.6.12/drivers/scsi/advansys.c 2005-07-05 23:27:48.000000000 -0400 @@ -889,10 +889,6 @@ typedef unsigned char uchar; Index: sources =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/sources,v retrieving revision 1.203 retrieving revision 1.204 diff -u -r1.203 -r1.204 --- sources 28 Oct 2005 01:55:23 -0000 1.203 +++ sources 31 Oct 2005 03:03:28 -0000 1.204 @@ -1,3 +1,2 @@ 66d02cbd723876c6d69846a067875a22 linux-2.6.14.tar.bz2 -556b3ad322a1466ccbf6c6d0a8db3a3d patch-2.6.14-rc5.bz2 -5c6088472b098a36ac5246fa8fd73700 patch-2.6.14-rc5-git7.bz2 +3db58f38e8a3c001d1a18eb1ee27db3b patch-2.6.14-git2.bz2 Index: upstream =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/upstream,v retrieving revision 1.189 retrieving revision 1.190 diff -u -r1.189 -r1.190 --- upstream 27 Oct 2005 17:01:53 -0000 1.189 +++ upstream 31 Oct 2005 03:03:28 -0000 1.190 @@ -1,3 +1,2 @@ -linux-2.6.13.tar.bz2 -patch-2.6.14-rc5.bz2 -patch-2.6.14-rc5-git7.bz2 +linux-2.6.14.tar.bz2 +patch-2.6.14-git2.bz2 From fedora-cvs-commits at redhat.com Mon Oct 31 03:08:54 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 30 Oct 2005 22:08:54 -0500 Subject: rpms/anthy/devel .cvsignore, 1.8, 1.9 anthy.spec, 1.12, 1.13 sources, 1.8, 1.9 Message-ID: <200510310308.j9V38sNr032741@cvs.devel.redhat.com> Author: tagoh Update of /cvs/dist/rpms/anthy/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv32714 Modified Files: .cvsignore anthy.spec sources Log Message: * Mon Oct 31 2005 Akira TAGOH - 7029-1 - New upstream snapshot release. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/anthy/devel/.cvsignore,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- .cvsignore 14 Oct 2005 10:06:03 -0000 1.8 +++ .cvsignore 31 Oct 2005 03:08:45 -0000 1.9 @@ -11,3 +11,4 @@ anthy-7013.tar.gz anthy_gcanna_ut-20051002.tar.bz2 anthy-7015.tar.gz +anthy-7029.tar.gz Index: anthy.spec =================================================================== RCS file: /cvs/dist/rpms/anthy/devel/anthy.spec,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- anthy.spec 14 Oct 2005 10:06:03 -0000 1.12 +++ anthy.spec 31 Oct 2005 03:08:45 -0000 1.13 @@ -1,4 +1,4 @@ -%define version 7015 +%define version 7029 %define gcanna_ver 20051002 %{expand: %%define build_with_xemacs %{?_with_xemacs:1}%{!?_with_xemacs:0}} @@ -113,6 +113,9 @@ %endif %changelog +* Mon Oct 31 2005 Akira TAGOH - 7029-1 +- New upstream snapshot release. + * Fri Oct 14 2005 Akira TAGOH - 7015-1 - New upstream snapshot release. Index: sources =================================================================== RCS file: /cvs/dist/rpms/anthy/devel/sources,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- sources 14 Oct 2005 10:06:03 -0000 1.8 +++ sources 31 Oct 2005 03:08:45 -0000 1.9 @@ -1,2 +1,2 @@ d0f6128b6e000e85764abbc030399db7 anthy_gcanna_ut-20051002.tar.bz2 -f2f7cfdaa6dffeb71476a3ea4ed29ac9 anthy-7015.tar.gz +a72608deb5040cd65d0249d89d0668a2 anthy-7029.tar.gz From fedora-cvs-commits at redhat.com Mon Oct 31 03:11:49 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 30 Oct 2005 22:11:49 -0500 Subject: rpms/kernel/devel kernel-2.6.spec,1.1634,1.1635 Message-ID: <200510310311.j9V3Bn50000579@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv554 Modified Files: kernel-2.6.spec Log Message: no patch2 Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v retrieving revision 1.1634 retrieving revision 1.1635 diff -u -r1.1634 -r1.1635 --- kernel-2.6.spec 31 Oct 2005 03:03:26 -0000 1.1634 +++ kernel-2.6.spec 31 Oct 2005 03:11:44 -0000 1.1635 @@ -199,7 +199,6 @@ # Patches 0 through 100 are meant for core subsystem upgrades # Patch1: patch-2.6.14-git2.bz2 -Patch2: patch-2.6.14-rc5-git7.bz2 # Patches 100 through 500 are meant for architecture patches Patch100: linux-2.6-bzimage.patch @@ -549,7 +548,6 @@ # Update to latest upstream. %patch1 -p1 -#%patch2 -p1 # # Patches 10 through 100 are meant for core subsystem upgrades From fedora-cvs-commits at redhat.com Mon Oct 31 03:12:52 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 30 Oct 2005 22:12:52 -0500 Subject: rpms/kernel/devel patch-2.6.14-git2.bz2.sign,NONE,1.1 Message-ID: <200510310312.j9V3CqOa000769@cvs.devel.redhat.com> Author: davej Update of /cvs/dist/rpms/kernel/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv733 Added Files: patch-2.6.14-git2.bz2.sign Log Message: sign --- NEW FILE patch-2.6.14-git2.bz2.sign --- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: See http://www.kernel.org/signature.html for info iD8DBQBDZJrayGugalF9Dw4RAkJvAJ9bfX4Q4ktpfLYLPPE706FQirkvYACeJ9ST +068vZHgF9DLba5c7EqhYzw= =blOi -----END PGP SIGNATURE----- From fedora-cvs-commits at redhat.com Mon Oct 31 03:32:27 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 30 Oct 2005 22:32:27 -0500 Subject: rpms/scim-hangul/devel .cvsignore, 1.3, 1.4 scim-hangul.spec, 1.7, 1.8 sources, 1.2, 1.3 scim-hangul-0.2.0-ignore-invisible-char.patch, 1.1, NONE Message-ID: <200510310332.j9V3WRNH009797@cvs.devel.redhat.com> Author: tagoh Update of /cvs/dist/rpms/scim-hangul/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv9770 Modified Files: .cvsignore scim-hangul.spec sources Removed Files: scim-hangul-0.2.0-ignore-invisible-char.patch Log Message: * Mon Oct 31 2005 Akira TAGOH - 0.2.1-1 - New upstream release. - scim-hangul-0.2.0-ignore-invisible-char.patch: removed. Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/scim-hangul/devel/.cvsignore,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- .cvsignore 4 Aug 2005 00:42:53 -0000 1.3 +++ .cvsignore 31 Oct 2005 03:32:24 -0000 1.4 @@ -3,3 +3,4 @@ *.gz *.rpm scim-hangul-0.2.0.tar.gz +scim-hangul-0.2.1.tar.gz Index: scim-hangul.spec =================================================================== RCS file: /cvs/dist/rpms/scim-hangul/devel/scim-hangul.spec,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- scim-hangul.spec 6 Oct 2005 10:53:29 -0000 1.7 +++ scim-hangul.spec 31 Oct 2005 03:32:24 -0000 1.8 @@ -1,13 +1,12 @@ Name: scim-hangul -Version: 0.2.0 -Release: 6.fc5 +Version: 0.2.1 +Release: 1.fc5 License: GPL URL: http://www.scim-im.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: scim-devel >= 1.2.0 Source0: http://dl.sourceforge.net/scim/%{name}-%{version}.tar.gz -Patch0: scim-hangul-0.2.0-ignore-invisible-char.patch Summary: Hangul Input Method Engine for SCIM @@ -19,7 +18,6 @@ %prep %setup -q -n %{name}-%{version} -%patch0 -p1 -b .invisible-char %build @@ -49,15 +47,19 @@ %changelog -* Thu Oct 6 2005 Jens Petersen - 0.2.0-6.fc5 +* Mon Oct 31 2005 Akira TAGOH - 0.2.1-1 +- New upstream release. +- scim-hangul-0.2.0-ignore-invisible-char.patch: removed. + +* Thu Oct 6 2005 Jens Petersen - 0.2.0-6 - require scim -* Thu Aug 25 2005 Akira TAGOH - 0.2.0-5.fc5 +* Thu Aug 25 2005 Akira TAGOH - 0.2.0-5 - fixed the description of this package. (Ryo Dairiki) - scim-hangul-0.2.0-ignore-invisible-char.patch: applied to not commit any Hangul characters with the keys unrelated to Yetgeul. (#166138) -* Tue Aug 16 2005 Akira TAGOH - 0.2.0-4.fc5 +* Tue Aug 16 2005 Akira TAGOH - 0.2.0-4 - Rebuild. * Fri Aug 5 2005 Warren Togami - 0.2.0-3 Index: sources =================================================================== RCS file: /cvs/dist/rpms/scim-hangul/devel/sources,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- sources 3 Aug 2005 10:42:47 -0000 1.2 +++ sources 31 Oct 2005 03:32:24 -0000 1.3 @@ -1 +1 @@ -7068660db156f0744e244aecef3ed4af scim-hangul-0.2.0.tar.gz +586dbd1c01d414125e1bb13821c57f93 scim-hangul-0.2.1.tar.gz --- scim-hangul-0.2.0-ignore-invisible-char.patch DELETED --- From fedora-cvs-commits at redhat.com Mon Oct 31 06:34:20 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 31 Oct 2005 01:34:20 -0500 Subject: rpms/lv/devel lv.spec,1.18,1.19 Message-ID: <200510310634.j9V6YKDM002511@cvs.devel.redhat.com> Author: tagoh Update of /cvs/dist/rpms/lv/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv2499 Modified Files: lv.spec Log Message: * Mon Oct 31 2005 Akira TAGOH - 4.51-7 - lv-num-option.patch: applied a patch to allow num option to jump to the specific line. - lv-fastio.patch: applied a patch to improve the performance to read the files. - lv-lfs.patch: applied a patch for Lerge File Summit support. Index: lv.spec =================================================================== RCS file: /cvs/dist/rpms/lv/devel/lv.spec,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- lv.spec 11 Jul 2005 05:01:40 -0000 1.18 +++ lv.spec 31 Oct 2005 06:34:03 -0000 1.19 @@ -3,7 +3,7 @@ Summary: A Powerful Multilingual File Viewer Name: lv Version: 4.51 -Release: 6 +Release: 7 License: distributable Group: Applications/Text URL: http://www.ff.iij4u.or.jp/~nrt/lv/ @@ -12,6 +12,9 @@ Source: http://www.ff.iij4u.or.jp/~nrt/freeware/%{name}%{vver}.tar.gz Patch1: lv-4.49.4-nonstrip.patch Patch2: lv-4.51-162372.patch +Patch3: lv-+num-option.patch +Patch4: lv-fastio.patch +Patch5: lv-lfs.patch %description lv is a powerful file viewer like less. @@ -27,10 +30,14 @@ %setup -q -n %{name}%{vver} %patch1 -p1 -b .nonstrip %patch2 -p1 -b .162372 +%patch3 -p1 -b .num +%patch4 -p1 -b .fastio +%patch5 -p1 -b .lfs %build cd src -%configure +autoconf +%configure --enable-fastio make %install @@ -54,6 +61,11 @@ [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %changelog +* Mon Oct 31 2005 Akira TAGOH - 4.51-7 +- lv-+num-option.patch: applied a patch to allow +num option to jump to the specific line. +- lv-fastio.patch: applied a patch to improve the performance to read the files. +- lv-lfs.patch: applied a patch for Lerge File Summit support. + * Mon Jul 11 2005 Akira TAGOH - 4.51-6 - lv-4.51-162372.patch: silence gcc warning. (#162372) From fedora-cvs-commits at redhat.com Mon Oct 31 06:35:15 2005 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Mon, 31 Oct 2005 01:35:15 -0500 Subject: rpms/lv/devel lv-+num-option.patch, NONE, 1.1 lv-fastio.patch, NONE, 1.1 lv-lfs.patch, NONE, 1.1 .cvsignore, 1.10, 1.11 Message-ID: <200510310635.j9V6ZF2m002626@cvs.devel.redhat.com> Author: tagoh Update of /cvs/dist/rpms/lv/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv2599 Modified Files: .cvsignore Added Files: lv-+num-option.patch lv-fastio.patch lv-lfs.patch Log Message: lv-+num-option.patch: lv.1 | 12 +++++++-- src/command.c | 29 ++++++++++++++++++------ src/command.h | 6 ++++ src/conf.c | 70 ++++++++++++++++++++++++++++++++++------------------------ 4 files changed, 79 insertions(+), 38 deletions(-) --- NEW FILE lv-+num-option.patch --- 2005-05-02 GOTO Masanori * Add +num and +/pat option. diff -Nuarp lv451/lv.1 lv451.gotom.+num/lv.1 --- lv451/lv.1 2004-01-16 21:23:33.000000000 +0900 +++ lv451.gotom.+num/lv.1 2005-05-02 21:17:52.000000000 +0900 @@ -11,7 +11,7 @@ lv \- a Powerful Multilingual File Viewe -V .br .B lv -[-[+]acdfgiklmnqsuvz] +[-acdfgiklmnqsuvz] [+acdfgiklmnqsuvz] .br [-A\fIcoding-system\fP] [-I\fIcoding-system\fP] [-K\fIcoding-system\fP] .br @@ -21,7 +21,9 @@ lv \- a Powerful Multilingual File Viewe .br [-T\fInumber\fP] [-W\fIwidth\fP] [-H\fIheight\fP] [-E'\fIeditor'\fP] [-+] .br - [-] (\fIgrep pattern\fP) [\fIfiles ...\fP] + [+\fInumber\fP] [+/\fIgrep-pattern\fP] +.br + [-] (\fIgrep-pattern\fP) [\fIfiles ...\fP] .SH DESCRIPTION .IP "\fIMultilingual file viewer\fP" \fIlv\fP is a powerful multilingual file viewer. @@ -223,8 +225,12 @@ You can also turn OFF specified options, using ``+