From fedora-cvs-commits at redhat.com Sun Apr 1 00:09:12 2007 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sat, 31 Mar 2007 20:09:12 -0400 Subject: rpms/bouncycastle/devel bouncycastle.spec,1.3,1.4 Message-ID: <200704010009.l3109C3h020109@cvs.devel.redhat.com> Author: fitzsim Update of /cvs/dist/rpms/bouncycastle/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv20095 Modified Files: bouncycastle.spec Log Message: * Sat Mar 31 2007 Thomas Fitzsimmons - 1.34-3 - Require java-1.5.0-gcj. Index: bouncycastle.spec =================================================================== RCS file: /cvs/dist/rpms/bouncycastle/devel/bouncycastle.spec,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- bouncycastle.spec 12 Dec 2006 20:46:30 -0000 1.3 +++ bouncycastle.spec 1 Apr 2007 00:09:10 -0000 1.4 @@ -3,7 +3,7 @@ Summary: Bouncy Castle Crypto Package for Java Name: bouncycastle Version: 1.34 -Release: 2%{?dist} +Release: 3%{?dist} Group: System Environment/Libraries License: BSD URL: http://www.%{name}.org/ @@ -11,7 +11,7 @@ Source0: bcprov-jdk14-134-FEDORA.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: jpackage-utils >= 1.5 -Requires: java-1.4.2-gcj-compat >= 1.4.2.0-40jpp_88rh +Requires: java-1.5.0-gcj Requires(post): jpackage-utils >= 1.5 Requires(postun): jpackage-utils >= 1.5 Requires(post): java-gcj-compat @@ -97,7 +97,10 @@ %attr(-,root,root) %{_libdir}/gcj/%{name} %changelog -* Tue Dec 12 2006 Thomas Fitzsimmons - 1.34-2.fc7 +* Sat Mar 31 2007 Thomas Fitzsimmons - 1.34-3 +- Require java-1.5.0-gcj. + +* Tue Dec 12 2006 Thomas Fitzsimmons - 1.34-2 - Install bcprov jar and unversioned symlink in %{_javadir}. - Install bcprov symlink in %{_javadir}/gcj-endorsed. - Change release numbering format to X.fc7. From fedora-cvs-commits at redhat.com Sun Apr 1 00:11:46 2007 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sat, 31 Mar 2007 20:11:46 -0400 Subject: rpms/lucene/devel lucene.spec,1.23,1.24 Message-ID: <200704010011.l310BkGh020208@cvs.devel.redhat.com> Author: fitzsim Update of /cvs/dist/rpms/lucene/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv20194 Modified Files: lucene.spec Log Message: * Sat Mar 31 2007 Thomas Fitzsimmons - 0:1.4.3-1jpp.18 - Require java-1.5.0-gcj for post and postun. Index: lucene.spec =================================================================== RCS file: /cvs/dist/rpms/lucene/devel/lucene.spec,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- lucene.spec 27 Mar 2007 22:56:30 -0000 1.23 +++ lucene.spec 1 Apr 2007 00:11:44 -0000 1.24 @@ -4,7 +4,7 @@ Summary: High-performance, full-featured text search engine Name: lucene Version: 1.4.3 -Release: 1jpp.17 +Release: 1jpp.18 Epoch: 0 License: Apache Software License URL: http://jakarta.apache.org/lucene/ @@ -22,8 +22,8 @@ BuildRequires: javacc %if %{gcj_support} BuildRequires: java-gcj-compat-devel >= 1.0.43 -Requires(post): java-1.4.2-gcj-compat -Requires(postun): java-1.4.2-gcj-compat +Requires(post): java-1.5.0-gcj +Requires(postun): java-1.5.0-gcj %endif BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot @@ -179,6 +179,9 @@ # ----------------------------------------------------------------------------- %changelog +* Sat Mar 31 2007 Thomas Fitzsimmons - 0:1.4.3-1jpp.18 +- Require java-1.5.0-gcj for post and postun. + * Tue Mar 27 2007 Deepak Bhole 1.4.3-1jpp.17 - Added unowned directory to files list. bz# 233878. From fedora-cvs-commits at redhat.com Sun Apr 1 10:33:11 2007 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Apr 2007 06:33:11 -0400 Subject: rpms/openoffice.org/devel openoffice.org.spec,1.1142,1.1143 Message-ID: <200704011033.l31AXBN9019177@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/openoffice.org/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv19124 Modified Files: openoffice.org.spec Log Message: images_hicontrast.zip Index: openoffice.org.spec =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/devel/openoffice.org.spec,v retrieving revision 1.1142 retrieving revision 1.1143 diff -u -r1.1142 -r1.1143 --- openoffice.org.spec 31 Mar 2007 22:40:16 -0000 1.1142 +++ openoffice.org.spec 1 Apr 2007 10:33:08 -0000 1.1143 @@ -1892,6 +1892,7 @@ %dir %{instdir}/share/config %{instdir}/share/config/images.zip %{instdir}/share/config/images_crystal.zip +%{instdir}/share/config/images_hicontrast.zip %{instdir}/share/config/images_tango.zip %{instdir}/share/config/javavendors.xml %{instdir}/share/config/psetup.xpm From fedora-cvs-commits at redhat.com Sun Apr 1 10:33:59 2007 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Apr 2007 06:33:59 -0400 Subject: rpms/openoffice.org/devel openoffice.org.spec,1.1143,1.1144 Message-ID: <200704011033.l31AXx62019802@cvs.devel.redhat.com> Author: caolanm Update of /cvs/dist/rpms/openoffice.org/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv19767 Modified Files: openoffice.org.spec Log Message: comparison build Index: openoffice.org.spec =================================================================== RCS file: /cvs/dist/rpms/openoffice.org/devel/openoffice.org.spec,v retrieving revision 1.1143 retrieving revision 1.1144 diff -u -r1.1143 -r1.1144 --- openoffice.org.spec 1 Apr 2007 10:33:08 -0000 1.1143 +++ openoffice.org.spec 1 Apr 2007 10:33:57 -0000 1.1144 @@ -1,6 +1,6 @@ %define oootag OOF680 %define ooomilestone 14 -%define rh_rpm_release 2.0 +%define rh_rpm_release 2.1 # gcc#19664# %define stlvisibilityfcked 1 @@ -9,7 +9,7 @@ # undef to revert to the traditional print dialog %define gtkprintui 1 # undef to revert from combining startup libs into a single libsoffice -%define linkopt 1 +%define linkopt 0 %if %{stlvisibilityfcked} %define stlflags --with-stlport4 From fedora-cvs-commits at redhat.com Sun Apr 1 13:24:17 2007 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Apr 2007 09:24:17 -0400 Subject: rpms/gnome-screensaver/devel gnome-screensaver-2.18.0-user-dirs.patch, 1.1, 1.2 gnome-screensaver.spec, 1.142, 1.143 Message-ID: <200704011324.l31DOHfp013611@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/gnome-screensaver/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv13362 Modified Files: gnome-screensaver-2.18.0-user-dirs.patch gnome-screensaver.spec Log Message: Fall back to HOME/Pictures if PICTURES isn't set gnome-screensaver-2.18.0-user-dirs.patch: personal-slideshow.desktop.in | 2 slideshow.c | 12 +++ xdg-user-dir-lookup.c | 167 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 180 insertions(+), 1 deletion(-) Index: gnome-screensaver-2.18.0-user-dirs.patch =================================================================== RCS file: /cvs/dist/rpms/gnome-screensaver/devel/gnome-screensaver-2.18.0-user-dirs.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- gnome-screensaver-2.18.0-user-dirs.patch 31 Mar 2007 02:38:51 -0000 1.1 +++ gnome-screensaver-2.18.0-user-dirs.patch 1 Apr 2007 13:24:14 -0000 1.2 @@ -10,7 +10,7 @@ StartupNotify=false Terminal=false --- gnome-screensaver-2.18.0/savers/slideshow.c.user-dirs 2007-02-22 23:39:09.000000000 -0500 -+++ gnome-screensaver-2.18.0/savers/slideshow.c 2007-03-30 22:13:17.000000000 -0400 ++++ gnome-screensaver-2.18.0/savers/slideshow.c 2007-04-01 09:17:56.000000000 -0400 @@ -34,6 +34,8 @@ #include "gs-theme-engine.h" #include "gste-slideshow.h" @@ -20,19 +20,24 @@ int main (int argc, char **argv) { -@@ -79,6 +81,11 @@ +@@ -79,6 +81,16 @@ G_CALLBACK (gtk_main_quit), NULL); engine = g_object_new (GSTE_TYPE_SLIDESHOW, NULL); + + if (location == NULL) { + location = xdg_user_dir_lookup ("PICTURES"); ++ if (strcmp (location, "/tmp") == 0 || ++ strcmp (location, g_get_home_dir ()) == 0) { ++ free (location); ++ location = g_build_filename (g_get_home_dir (), "Pictures", NULL); ++ } + } + if (location != NULL) { g_object_set (engine, "images-location", location, NULL); } ---- /dev/null 2007-03-30 22:25:08.845418234 -0400 +--- /dev/null 2007-04-01 08:32:00.119333847 -0400 +++ gnome-screensaver-2.18.0/savers/xdg-user-dir-lookup.c 2007-03-30 22:13:17.000000000 -0400 @@ -0,0 +1,167 @@ +/* Index: gnome-screensaver.spec =================================================================== RCS file: /cvs/dist/rpms/gnome-screensaver/devel/gnome-screensaver.spec,v retrieving revision 1.142 retrieving revision 1.143 diff -u -r1.142 -r1.143 --- gnome-screensaver.spec 31 Mar 2007 02:45:23 -0000 1.142 +++ gnome-screensaver.spec 1 Apr 2007 13:24:14 -0000 1.143 @@ -13,7 +13,7 @@ Summary: GNOME Screensaver Name: gnome-screensaver Version: 2.18.0 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL Group: Amusements/Graphics Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-screensaver/2.18/%{name}-%{version}.tar.bz2 @@ -126,6 +126,9 @@ %{_sysconfdir}/skel/Pictures %changelog +* Sun Apr 1 2007 Matthias Clasen - 2.18.0-3 +- Fall back to HOME/Pictures if PICTURES is not set + * Fri Mar 30 2007 Matthias Clasen - 2.18.0-2 - Use the PICTURES user dir in the Pictures screensaver From fedora-cvs-commits at redhat.com Sun Apr 1 14:47:12 2007 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Apr 2007 10:47:12 -0400 Subject: rpms/eog/devel eog-2.18.0.1-svgz.patch, NONE, 1.1 eog.spec, 1.76, 1.77 eog-2.17.4-svgz.patch, 1.1, NONE Message-ID: <200704011447.l31ElCua011494@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/eog/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv11370 Modified Files: eog.spec Added Files: eog-2.18.0.1-svgz.patch Removed Files: eog-2.17.4-svgz.patch Log Message: Fix the svgz fix eog-2.18.0.1-svgz.patch: eog-image.c | 17 ++++++++++++++--- 1 files changed, 14 insertions(+), 3 deletions(-) --- NEW FILE eog-2.18.0.1-svgz.patch --- --- eog-2.18.0.1/libeog/eog-image.c.svgz 2007-03-12 19:43:29.000000000 -0400 +++ eog-2.18.0.1/libeog/eog-image.c 2007-04-01 10:39:49.000000000 -0400 @@ -455,7 +455,7 @@ } static GnomeVFSFileSize -eog_image_determine_file_bytes (EogImage *img, GError **error) +eog_image_determine_file_bytes (EogImage *img, gchar **mime_type, GError **error) { GnomeVFSFileInfo *info; GnomeVFSFileSize bytes; @@ -466,15 +466,20 @@ result = gnome_vfs_get_file_info_uri (img->priv->uri, info, GNOME_VFS_FILE_INFO_DEFAULT | + GNOME_VFS_FILE_INFO_GET_MIME_TYPE | GNOME_VFS_FILE_INFO_FOLLOW_LINKS); if ((result != GNOME_VFS_OK) || (info->valid_fields & GNOME_VFS_FILE_INFO_FIELDS_SIZE) == 0) { bytes = 0; + if (mime_type) + *mime_type = NULL; g_set_error (error, EOG_IMAGE_ERROR, EOG_IMAGE_ERROR_VFS, gnome_vfs_result_to_string (result)); } else { bytes = info->size; + if (mime_type) + *mime_type = g_strdup (info->mime_type); } gnome_vfs_file_info_unref (info); @@ -643,6 +648,7 @@ gboolean first_run = TRUE; EogMetadataReader *md_reader = NULL; GdkPixbufFormat *format; + gchar *mime_type; gboolean read_image_data = (data2read & EOG_IMAGE_DATA_IMAGE); g_assert (error == NULL || *error == NULL); @@ -660,24 +666,29 @@ priv->file_type = NULL; } - priv->bytes = eog_image_determine_file_bytes (img, error); + priv->bytes = eog_image_determine_file_bytes (img, &mime_type, error); if (priv->bytes == 0 && (error == NULL || *error != NULL)) { + g_free (mime_type); return FALSE; } result = gnome_vfs_open_uri (&handle, priv->uri, GNOME_VFS_OPEN_READ); if (result != GNOME_VFS_OK) { + g_free (mime_type); g_set_error (error, EOG_IMAGE_ERROR, EOG_IMAGE_ERROR_VFS, gnome_vfs_result_to_string (result)); return FALSE; } buffer = g_new0 (guchar, READ_BUFFER_SIZE); + loader = gdk_pixbuf_loader_new_with_mime_type (mime_type, NULL); + g_free (mime_type); + if (loader == NULL) + loader = gdk_pixbuf_loader_new (); failed = FALSE; bytes_read_total = 0; if (read_image_data) { - loader = gdk_pixbuf_loader_new (); g_signal_connect_object (G_OBJECT (loader), "size-prepared", (GCallback) load_size_prepared, img, 0); } Index: eog.spec =================================================================== RCS file: /cvs/dist/rpms/eog/devel/eog.spec,v retrieving revision 1.76 retrieving revision 1.77 diff -u -r1.76 -r1.77 --- eog.spec 13 Mar 2007 04:00:12 -0000 1.76 +++ eog.spec 1 Apr 2007 14:47:10 -0000 1.77 @@ -15,10 +15,10 @@ Summary: Eye of GNOME image viewer Name: eog Version: 2.18.0.1 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://www.gnome.org Source: http://ftp.gnome.org/pub/gnome/sources/eog/2.17/%{name}-%{version}.tar.bz2 -Patch0: eog-2.17.4-svgz.patch +Patch0: eog-2.18.0.1-svgz.patch License: GPL Group: User Interface/Desktops BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -124,6 +124,9 @@ %{_sysconfdir}/gconf/schemas/*.schemas %changelog +* Sun Apr 1 2007 Matthias Clasen - 2.18.0.1-2 +- Fix a problem with the svgz patch + * Tue Mar 13 2007 Matthias Clasen - 2.18.0.1-1 - Update to 2.18.0.1 --- eog-2.17.4-svgz.patch DELETED --- From fedora-cvs-commits at redhat.com Sun Apr 1 15:01:34 2007 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Apr 2007 11:01:34 -0400 Subject: rpms/evince/devel evince.spec,1.75,1.76 Message-ID: <200704011501.l31F1YJf021974@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/evince/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv21825 Modified Files: evince.spec Log Message: Drop libgnomeprintui22 BR Index: evince.spec =================================================================== RCS file: /cvs/dist/rpms/evince/devel/evince.spec,v retrieving revision 1.75 retrieving revision 1.76 diff -u -r1.75 -r1.76 --- evince.spec 31 Mar 2007 13:31:31 -0000 1.75 +++ evince.spec 1 Apr 2007 15:01:32 -0000 1.76 @@ -4,7 +4,7 @@ Name: evince Version: 0.8.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Document viewer License: GPL @@ -20,7 +20,6 @@ BuildRequires: poppler-devel >= %{poppler_version} BuildRequires: libXt-devel BuildRequires: nautilus-devel -BuildRequires: libgnomeprintui22-devel BuildRequires: libgnomeui-devel BuildRequires: gnome-vfs2-devel BuildRequires: libglade2-devel @@ -50,7 +49,7 @@ %patch1 -p1 -b .user-dirs %build -%configure --disable-static --disable-scrollkeeper +%configure --disable-static --disable-scrollkeeper --with-print=gtk make %{?_smp_mflags} @@ -142,6 +141,10 @@ %changelog +* Sun Apr 1 2007 Matthias Clasen - 0.8.0-3 +- Add an explicit --with-print=gtk to configure +- Drop libgnomeprintui22 BR + * Sat Mar 31 2007 Matthias Clasen - 0.8.0-2 - Add support for xdg-user-dirs From fedora-cvs-commits at redhat.com Sun Apr 1 15:15:11 2007 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Apr 2007 11:15:11 -0400 Subject: rpms/mono/devel mono.spec,1.50,1.51 Message-ID: <200704011515.l31FFBU7032075@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/mono/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv31969 Modified Files: mono.spec Log Message: Fix a spec format error Index: mono.spec =================================================================== RCS file: /cvs/dist/rpms/mono/devel/mono.spec,v retrieving revision 1.50 retrieving revision 1.51 diff -u -r1.50 -r1.51 --- mono.spec 29 Mar 2007 13:37:27 -0000 1.50 +++ mono.spec 1 Apr 2007 15:15:08 -0000 1.51 @@ -1,6 +1,6 @@ Name: mono Version: 1.2.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: a .NET runtime environment Group: Development/Languages @@ -47,16 +47,16 @@ Obsoletes: mono-lib Provides: mono-lib +# Mono-basic was removed in 1.1.17 +Obsoletes: mono-basic +Provides: mono-basic + %description core This package contains the core of the Mono runtime including its Virtual Machine, Just-in-time compiler, C# compiler, security tools and libraries (corlib, XML, System.Security, ZipLib, I18N, Cairo and Mono.*). -# Mono-basic was removed in 1.1.17 -Obsoletes: mono-basic -Provides: mono-basic - %package devel Summary: Development tools for Mono Group: Development/Languages @@ -68,14 +68,14 @@ Obsoletes: mono-lib-devel Provides: mono-lib-devel -%description devel -This package completes the Mono developer toolchain with the mono profiler, -assembler and other various tools. - # Temporary provides due to transient package, remove when rawhide is settled Obsoletes: mono-devtools Provides: mono-devtools +%description devel +This package completes the Mono developer toolchain with the mono profiler, +assembler and other various tools. + %package nunit Summary: NUnit Testing Framework Group: Development/Languages @@ -557,6 +557,9 @@ %gac_dll IBM.Data.DB2 %changelog +* Sun Apr 1 2007 Matthias Clasen - 1.2.3-3 +- Fix a spec format error (#210633) + * Thu Mar 29 2007 Alexander Larsson - 1.2.3-2 - Also build on alpha (#232268) From fedora-cvs-commits at redhat.com Sun Apr 1 15:48:57 2007 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Apr 2007 11:48:57 -0400 Subject: rpms/dhcp/FC-6 dhcp.spec, 1.120, 1.121 dhcp-3.0.5-no-win32.patch, 1.1, NONE dhcptables.pl, 1.1, NONE Message-ID: <200704011548.l31FmvBC009407@cvs.devel.redhat.com> Author: dcantrel Update of /cvs/dist/rpms/dhcp/FC-6 In directory cvs.devel.redhat.com:/tmp/cvs-serv9391 Modified Files: dhcp.spec Removed Files: dhcp-3.0.5-no-win32.patch dhcptables.pl Log Message: * Sun Apr 01 2007 David Cantrell - 12:3.0.5-4 - Make sure rpm doesn't pick up dependencies for contrib/ms2isc/Registry.pm in the /usr/share/doc/dhcp-3.0.5 directory (#234688) Index: dhcp.spec =================================================================== RCS file: /cvs/dist/rpms/dhcp/FC-6/dhcp.spec,v retrieving revision 1.120 retrieving revision 1.121 diff -u -r1.120 -r1.121 --- dhcp.spec 1 Mar 2007 23:13:15 -0000 1.120 +++ dhcp.spec 1 Apr 2007 15:48:55 -0000 1.121 @@ -8,7 +8,7 @@ Summary: DHCP (Dynamic Host Configuration Protocol) server and relay agent. Name: dhcp Version: 3.0.5 -Release: 3%{?dist} +Release: 4%{?dist} Epoch: 12 License: distributable Group: System Environment/Daemons @@ -19,7 +19,6 @@ Source3: dhcrelay.init Source4: dhcpd.conf Source5: libdhcp4client.pc -Source6: dhcptables.pl Patch0: dhcp-3.0.5-extended-new-option-info.patch Patch1: dhcp-3.0.5-Makefile.patch @@ -35,7 +34,6 @@ Patch11: dhcp-3.0.5-libdhcp4client.patch Patch12: dhcp-3.0.5-timeouts.patch Patch13: dhcp-3.0.5-fix-warnings.patch -Patch14: dhcp-3.0.5-no-win32.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires(post): chkconfig, coreutils @@ -144,8 +142,11 @@ # Fix up anything that fails -Wall -Werror %patch13 -p1 -b .warnings -# Prevent package dependency on Win32API::Registry perl module -%patch14 -p1 -b .win32 +# Rename Registry.pm to Registry.perlmodule so find-requires doesn't pick it +# up as a script that we need to add dependencies for (preserve permissions) +cp -p contrib/ms2isc/Registry.pm contrib/ms2isc/Registry.perlmodule +rm -f contrib/ms2isc/Registry.pm +chmod -x contrib/3.0b1-lease-convert %build cp %SOURCE1 . @@ -345,6 +346,10 @@ %{_libdir}/libdhcp4client.so %changelog +* Sun Apr 01 2007 David Cantrell - 12:3.0.5-4 +- Make sure rpm doesn't pick up dependencies for contrib/ms2isc/Registry.pm + in the /usr/share/doc/dhcp-3.0.5 directory (#234688) + * Thu Mar 01 2007 David Cantrell - 12:3.0.5-3 - Prevent package dependency on Win32API::Registry Perl module --- dhcp-3.0.5-no-win32.patch DELETED --- --- dhcptables.pl DELETED --- From fedora-cvs-commits at redhat.com Sun Apr 1 19:37:09 2007 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Apr 2007 15:37:09 -0400 Subject: rpms/hal/devel .cvsignore, 1.45, 1.46 hal.spec, 1.121, 1.122 sources, 1.46, 1.47 Message-ID: <200704011937.l31Jb9kZ023377@cvs.devel.redhat.com> Author: davidz Update of /cvs/dist/rpms/hal/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv23361 Modified Files: .cvsignore hal.spec sources Log Message: * Sun Apr 01 2007 David Zeuthen - 0.5.9-0.git20070401 - Update to hal 0.5.9rc3 and hal-info-20070401 - Drop Fedora eject patch in favor of new --with-eject build option - Man pages and new tools; notably hal-lock(1) and hal-disable-polling(1) Index: .cvsignore =================================================================== RCS file: /cvs/dist/rpms/hal/devel/.cvsignore,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- .cvsignore 26 Mar 2007 05:42:23 -0000 1.45 +++ .cvsignore 1 Apr 2007 19:37:06 -0000 1.46 @@ -36,3 +36,5 @@ hal-0.5.9.git20070304.tar.gz hal-info-20070326.tar.gz hal-0.5.9.git20070326.tar.gz +hal-info-20070328.tar.gz +hal-0.5.9.git20070401.tar.gz Index: hal.spec =================================================================== RCS file: /cvs/dist/rpms/hal/devel/hal.spec,v retrieving revision 1.121 retrieving revision 1.122 diff -u -r1.121 -r1.122 --- hal.spec 26 Mar 2007 05:42:23 -0000 1.121 +++ hal.spec 1 Apr 2007 19:37:06 -0000 1.122 @@ -26,13 +26,12 @@ Summary: Hardware Abstraction Layer Name: hal Version: 0.5.9 -Release: 0.git20070326%{?dist} +Release: 0.git20070401%{?dist} URL: http://www.freedesktop.org/Software/hal -Source0: http://people.freedesktop.org/~david/dist/%{name}-%{version}.git20070326.tar.gz +Source0: http://people.freedesktop.org/~david/dist/%{name}-%{version}.git20070401.tar.gz Source1: 99-redhat-storage-policy-fixed-drives.fdi Source2: hal-device-manager.desktop Source3: http://people.freedesktop.org/~david/dist/hal-info-%{hal_info_version}.tar.gz -Patch0: hal-0.5.8.1-fedora-eject.patch License: AFL/GPL Group: System Environment/Libraries @@ -117,10 +116,9 @@ %prep %setup -q -a 3 -%patch0 -p0 -b .fedora-eject %build -%configure --with-os-type=redhat --enable-console-kit --enable-acl-management --enable-umount-helper --enable-docbook-docs +%configure --with-os-type=redhat --enable-console-kit --enable-acl-management --enable-umount-helper --enable-docbook-docs --enable-acpi-ibm --enable-acpi-toshiba --with-eject=/usr/sbin/eject cd hal-info-%{hal_info_version} %configure @@ -207,6 +205,7 @@ %dir %{_libdir}/hal %dir %{_libdir}/hal/scripts %{_libdir}/hal/scripts/* +%{_mandir}/man1/* %{_sysconfdir}/udev/rules.d/90-hal.rules @@ -241,6 +240,11 @@ %{_datadir}/applications/*.desktop %changelog +* Sun Apr 01 2007 David Zeuthen - 0.5.9-0.git20070401 +- Update to hal 0.5.9rc3 and hal-info-20070401 +- Drop Fedora eject patch in favor of new --with-eject build option +- Man pages and new tools; notably hal-lock(1) and hal-disable-polling(1) + * Mon Mar 26 2007 David Zeuthen - 0.5.9-0.git20070326 - Update to hal 0.5.9rc2 and hal-info-20070326 - Bring back Fedora eject patch (#231459) Index: sources =================================================================== RCS file: /cvs/dist/rpms/hal/devel/sources,v retrieving revision 1.46 retrieving revision 1.47 diff -u -r1.46 -r1.47 --- sources 26 Mar 2007 05:42:23 -0000 1.46 +++ sources 1 Apr 2007 19:37:06 -0000 1.47 @@ -1,2 +1,2 @@ -3781c41b2f54c780216d549831965830 hal-info-20070326.tar.gz -d3e2d565d019f626d96632d2034d9b05 hal-0.5.9.git20070326.tar.gz +7c5ddf3fe462b225f7c0be69843631c7 hal-info-20070328.tar.gz +53a0a42f66b13db93757db923f8d720c hal-0.5.9.git20070401.tar.gz From fedora-cvs-commits at redhat.com Sun Apr 1 19:40:02 2007 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Apr 2007 15:40:02 -0400 Subject: rpms/hal/devel hal.spec,1.122,1.123 Message-ID: <200704011940.l31Je2TM023477@cvs.devel.redhat.com> Author: davidz Update of /cvs/dist/rpms/hal/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv23459 Modified Files: hal.spec Log Message: * Sun Apr 01 2007 David Zeuthen - 0.5.9-0.git20070401.1 - Rebuild Index: hal.spec =================================================================== RCS file: /cvs/dist/rpms/hal/devel/hal.spec,v retrieving revision 1.122 retrieving revision 1.123 diff -u -r1.122 -r1.123 --- hal.spec 1 Apr 2007 19:37:06 -0000 1.122 +++ hal.spec 1 Apr 2007 19:40:00 -0000 1.123 @@ -21,12 +21,12 @@ %define hal_user_uid 68 -%define hal_info_version 20070326 +%define hal_info_version 20070328 Summary: Hardware Abstraction Layer Name: hal Version: 0.5.9 -Release: 0.git20070401%{?dist} +Release: 0.git20070401.1%{?dist} URL: http://www.freedesktop.org/Software/hal Source0: http://people.freedesktop.org/~david/dist/%{name}-%{version}.git20070401.tar.gz Source1: 99-redhat-storage-policy-fixed-drives.fdi @@ -240,6 +240,9 @@ %{_datadir}/applications/*.desktop %changelog +* Sun Apr 01 2007 David Zeuthen - 0.5.9-0.git20070401.1 +- Rebuild + * Sun Apr 01 2007 David Zeuthen - 0.5.9-0.git20070401 - Update to hal 0.5.9rc3 and hal-info-20070401 - Drop Fedora eject patch in favor of new --with-eject build option From fedora-cvs-commits at redhat.com Sun Apr 1 20:52:30 2007 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Apr 2007 16:52:30 -0400 Subject: rpms/dhcp/devel Makefile.dist, NONE, 1.1 dhcp-3.0.5-default-requested-options.patch, NONE, 1.1 dhcp-3.0.5-dhclient-decline-backoff.patch, NONE, 1.1 dhcp-3.0.5-dhclient-usage.patch, NONE, 1.1 dhcp-3.0.5-enable-timeout-functions.patch, NONE, 1.1 dhcp-3.0.5-errwarn-message.patch, NONE, 1.1 dhcp-3.0.5-failover-ports.patch, NONE, 1.1 dhcp-3.0.5-fast-timeout.patch, NONE, 1.1 dhcp-3.0.5-inherit-leases.patch, NONE, 1.1 dhcp-3.0.5-manpages.patch, NONE, 1.1 dhcp-3.0.5-memory.patch, NONE, 1.1 dhcp-3.0.5-options.patch, NONE, 1.1 dhcp-3.0.5-prototypes.patch, NONE, 1.1 dhcp-3.0.5-release-by-ifup.patch, NONE, 1.1 dhcp-3.0.5-selinux.patch, NONE, 1.1 dhcp-3.0.5-unicast-bootp.patch, NONE, 1.1 dhcp-3.0.5-warnings.patch, NONE, 1.1 dhcp4client.h, NONE, 1.1 dhcpd-conf-to-ldap, NONE, 1.1 libdhcp_control.h, NONE, 1.1 linux, NONE, 1.1 dhcp-3.0.5-extended-new-option-info.patch, 1.3, 1.4 dhcp-3.0.5-ldap-configuration.patch, 1.5, 1.6 dhcp-3.0.5-libdhcp4client.patch, 1.10, 1.11 dhcp-3.0.5-xen-checksum.patch, 1.2, 1.3 dhcp.spec, 1.150, 1.151 dhcp! -3.0.5-fix-warnings.patch, 1.4, NONE dhcp-3.0.5-no-win32.patch, 1.1, NONE dhcpd-conf-to-ldap.pl, 1.3, NONE Message-ID: <200704012052.l31KqU38020355@cvs.devel.redhat.com> Author: dcantrel Update of /cvs/dist/rpms/dhcp/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv20199 Modified Files: dhcp-3.0.5-extended-new-option-info.patch dhcp-3.0.5-ldap-configuration.patch dhcp-3.0.5-libdhcp4client.patch dhcp-3.0.5-xen-checksum.patch dhcp.spec Added Files: Makefile.dist dhcp-3.0.5-default-requested-options.patch dhcp-3.0.5-dhclient-decline-backoff.patch dhcp-3.0.5-dhclient-usage.patch dhcp-3.0.5-enable-timeout-functions.patch dhcp-3.0.5-errwarn-message.patch dhcp-3.0.5-failover-ports.patch dhcp-3.0.5-fast-timeout.patch dhcp-3.0.5-inherit-leases.patch dhcp-3.0.5-manpages.patch dhcp-3.0.5-memory.patch dhcp-3.0.5-options.patch dhcp-3.0.5-prototypes.patch dhcp-3.0.5-release-by-ifup.patch dhcp-3.0.5-selinux.patch dhcp-3.0.5-unicast-bootp.patch dhcp-3.0.5-warnings.patch dhcp4client.h dhcpd-conf-to-ldap libdhcp_control.h linux Removed Files: dhcp-3.0.5-fix-warnings.patch dhcp-3.0.5-no-win32.patch dhcpd-conf-to-ldap.pl Log Message: * Sun Apr 01 2007 David Cantrell - 12:3.0.5-27 - Ensure that Perl and Perl modules are not added as dependencies (#234688) - Reorganize patches by feature/bug per packaging guidelines (#225691) - Move the following files from patches to source files: linux.dbus-example, linux, Makefile.dist, dhcp4client.h, libdhcp_control.h - Compile with -fno-strict-aliasing as ISC coding standards generally don't agree well with gcc 4.x.x --- NEW FILE Makefile.dist --- # Makefile.dist for libdhcp4client # # We get the libdhcp4client library from the patched ISC source code. We # rebuild key C files with -DLIBDHCP to turn on the library features we # need. Normal build results in standard ISC code (i.e., not LIBDHCP # stuff enabled). We then link together a static library and a shared # library with the new resulting objects. # # David Cantrell # What version of ISC DHCP is this? VER = $(shell grep DHCP_VERSION ../../includes/version.h | head -1 | cut -d '"' -f 2 | cut -d 'V' -f 2 | cut -d '-' -f 1) PROGS = libdhcp4client.a libdhcp4client-$(VER).so.0 # NOTE: The ordering of these file lists is important! We are using the # whole program optimization features of gcc, so the order matters here. # Source files shared by all objects COMMON_SRCS = client_clparse.c client_dhclient.c common_alloc.c common_bpf.c \ common_comapi.c common_conflex.c common_discover.c \ common_dispatch.c common_dns.c common_ethernet.c \ common_execute.c common_inet.c common_lpf.c common_memory.c \ common_options.c common_packet.c common_parse.c common_print.c \ common_socket.c common_tables.c common_tr.c common_tree.c \ dst_dst_api.c dst_base64.c dst_hmac_link.c dst_md5_dgst.c \ omapip_alloc.c omapip_array.c omapip_auth.c omapip_buffer.c \ omapip_connection.c omapip_convert.c omapip_dispatch.c \ omapip_errwarn.c omapip_handle.c omapip_hash.c \ omapip_listener.c omapip_mrtrace.c omapip_result.c \ omapip_support.c omapip_toisc.c omapip_trace.c # Source files for libdhcp4client.o CLIENT_SRCS = common_ctrace.c common_dlpi.c common_nit.c common_upf.c \ dst_dst_support.c dst_prandom.c omapip_generic.c \ omapip_message.c omapip_protocol.c # Source files for libres.o (minires) MINIRES_SRCS = minires_ns_date.c minires_ns_name.c minires_ns_parse.c \ minires_ns_samedomain.c minires_ns_sign.c minires_ns_verify.c \ minires_res_comp.c minires_res_findzonecut.c \ minires_res_init.c minires_res_mkquery.c \ minires_res_mkupdate.c minires_res_query.c minires_res_send.c \ minires_res_sendsigned.c minires_res_update.c HDRS = dhcp4client.h libdhcp_control.h SRCS = $(COMMON_SRCS) $(CLIENT_SRCS) OBJS = $(SRCS:.c=.o) INCLUDES = -I$(TOP) -I$(TOP)/includes -I$(TOP)/dst -I. CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS) \ -DCLIENT_PATH=${CLIENT_PATH} -DLIBDHCP -DUSE_MD5 all: $(PROGS) install: all install -p -m 0755 -D libdhcp4client-$(VER).so.0 $(DESTDIR)$(LIBDIR)/libdhcp4client-$(VER).so.0 ln -sf libdhcp4client-$(VER).so.0 $(DESTDIR)/$(LIBDIR)/libdhcp4client.so install -p -m 0644 -D libdhcp4client.a $(DESTDIR)$(LIBDIR)/libdhcp4client.a install -p -m 0644 -D dhcp4client.h $(DESTDIR)$(INCDIR)/dhcp4client/dhcp4client.h install -p -m 0644 -D libdhcp_control.h $(DESTDIR)$(INCDIR)/dhcp4client/libdhcp_control.h ( cd $(TOP)/includes ; \ find . -name "*.h" -type f | while read h ; do \ install -p -m 0644 -D $$h $(DESTDIR)$(INCDIR)/dhcp4client/isc_dhcp/$$h ; \ done ; \ ) depend: $(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRCS) clean: -rm -f $(OBJS) realclean: clean -rm -f $(PROG) *~ #* distclean: realclean -rm -f Makefile # This isn't the cleanest way to set up links, but I prefer this so I don't # need object targets for each subdirectory. The idea is simple. Since # libdhcp4client is a linked together wad of objects from across the source # tree, we change / to _ when linking source files here. Follow this example: # # We need to use client/dhclient.c, so we make this link: # rm -f client_dhclient.c # ln -s $(TOP)/client/dhclient.c client_dhclient.c # # Simple. Given the way the ISC build system works, this is the easiest to # maintain and least invasive. # # David Cantrell links: @for target in $(SRCS); do \ source="`echo $$target | sed -e 's|_|/|'`"; \ if [ ! -b $$target ]; then \ rm -f $$target; \ fi; \ ln -s $(TOP)/$$source $$target; \ done; \ for hdr in $(HDRS); do \ if [ ! -b $$hdr ]; then \ rm -f $$hdr; \ fi; \ ln -s $(TOP)/libdhcp4client/$$hdr $$hdr; \ done # minires is difficult to build because it overrides things in common and dst, # so we just link with the already built libres.a since we need it all anyway libres.a: if [ ! -f ../minires/$@ ]; then \ $(MAKE) -C ../minires; \ fi; \ ln ../minires/libres.a .; \ $(AR) x libres.a # Create the libraries # minires/res_query.o contains an undefined symbol __h_errno_set, is not # used by any dhcp code, and is optimized out by the linker when producing # the dhclient executable or a shared library libdhcp4client.a: $(OBJS) libres.a $(AR) crus $@ $(OBJS) `$(AR) t libres.a | grep -v res_query.o` libdhcp4client-$(VER).so.0: $(OBJS) libres.a $(CC) -shared -o $@ -Wl,-soname,$@ $(OBJS) `$(AR) t libres.a | grep -v res_query.o` # Dependencies (semi-automatically-generated) dhcp-3.0.5-default-requested-options.patch: clparse.c | 3 +++ 1 files changed, 3 insertions(+) --- NEW FILE dhcp-3.0.5-default-requested-options.patch --- --- dhcp-3.0.5/client/clparse.c.dho 2007-03-30 16:40:14.000000000 -0400 +++ dhcp-3.0.5/client/clparse.c 2007-03-30 16:43:53.000000000 -0400 @@ -49,6 +49,9 @@ DHO_DOMAIN_NAME, DHO_DOMAIN_NAME_SERVERS, DHO_HOST_NAME, + DHO_NIS_DOMAIN, + DHO_NIS_SERVERS, + DHO_NTP_SERVERS, 0 }; dhcp-3.0.5-dhclient-decline-backoff.patch: client/dhclient.c | 16 +++++++++++++--- includes/dhcpd.h | 3 ++- 2 files changed, 15 insertions(+), 4 deletions(-) --- NEW FILE dhcp-3.0.5-dhclient-decline-backoff.patch --- --- dhcp-3.0.5/client/dhclient.c.decline 2007-03-30 15:29:58.000000000 -0400 +++ dhcp-3.0.5/client/dhclient.c 2007-03-30 15:50:25.000000000 -0400 @@ -934,6 +934,7 @@ void *cpp; { struct client_state *client = cpp; + enum dhcp_state init_state = client->state; ASSERT_STATE(state, S_INIT); @@ -946,9 +947,16 @@ client -> first_sending = cur_time; client -> interval = client -> config -> initial_interval; - /* Add an immediate timeout to cause the first DHCPDISCOVER packet - to go out. */ - send_discover (client); + if (init_state != S_DECLINED) { + /* Add an immediate timeout to cause the first DHCPDISCOVER packet + to go out. */ + send_discover(client); + } else { + /* We've received an OFFER and it has been DECLINEd by dhclient-script. + * wait for a random time between 1 and backoff_cutoff seconds before + * trying again. */ + add_timeout(cur_time + ((1 + (random() >> 2)) % client->config->backoff_cutoff), send_discover, client, 0, 0); + } } /* state_selecting is called when one or more DHCPOFFER packets have been @@ -1215,6 +1223,7 @@ send_decline (client); destroy_client_lease (client -> new); client -> new = (struct client_lease *)0; + client -> state = S_DECLINED; state_init (client); return; } @@ -3183,6 +3192,7 @@ case S_INIT: case S_REBINDING: case S_STOPPED: + case S_DECLINED: break; } client -> state = S_INIT; --- dhcp-3.0.5/includes/dhcpd.h.decline 2007-03-30 15:30:14.000000000 -0400 +++ dhcp-3.0.5/includes/dhcpd.h 2007-03-30 15:50:53.000000000 -0400 @@ -704,7 +704,8 @@ S_BOUND = 5, S_RENEWING = 6, S_REBINDING = 7, - S_STOPPED = 8 + S_STOPPED = 8, + S_DECLINED = 9 }; /* Authentication and BOOTP policy possibilities (not all values work dhcp-3.0.5-dhclient-usage.patch: dhclient.c | 29 +++++++++++++++++++---------- 1 files changed, 19 insertions(+), 10 deletions(-) --- NEW FILE dhcp-3.0.5-dhclient-usage.patch --- --- dhcp-3.0.5/client/dhclient.c.usage 2007-04-01 13:49:43.000000000 -0400 +++ dhcp-3.0.5/client/dhclient.c 2007-04-01 13:51:25.000000000 -0400 @@ -819,20 +819,29 @@ static void usage () { - log_info ("%s %s", message, DHCP_VERSION); - log_info (copyright); - log_info (arr); - log_info (url); + printf ("%s %s\n", message, DHCP_VERSION); + printf (copyright); + printf ("\n"); + printf (arr); + printf ("\n"); + printf (url); + printf ("\n"); #ifdef EXTENDED_NEW_OPTION_INFO - log_error ("Usage: dhclient [-1dqr] [-nwx] [-p ] %s", + printf ("Usage: dhclient [-1dqr] [-nwx] [-p ] %s", #else - log_error ("Usage: dhclient [-1dqr] [-nw] [-p ] %s", + printf ("Usage: dhclient [-1dqr] [-nw] [-p ] %s", #endif - "[-s server]"); - log_error (" [-cf config-file] [-lf lease-file]%s", - "[-pf pid-file] [-e VAR=val]"); - log_fatal (" [-sf script-file] [interface]"); + "[-s server]"); + printf (" [-cf config-file] [-lf lease-file]%s", + "[-pf pid-file] [-e VAR=val]"); + printf (" [ -I ] [-B]\n"); + printf (" [ -H | -F ] [ -T ]\n"); + printf (" [ -V ]\n"); + printf (" [ -R ]\n"); + printf (" [-sf script-file] [interface]"); + + exit (EXIT_FAILURE); } isc_result_t find_class (struct class **c, dhcp-3.0.5-enable-timeout-functions.patch: dispatch.c | 2 -- 1 files changed, 2 deletions(-) --- NEW FILE dhcp-3.0.5-enable-timeout-functions.patch --- --- dhcp-3.0.5/common/dispatch.c.ecat 2006-02-22 17:43:27.000000000 -0500 +++ dhcp-3.0.5/common/dispatch.c 2007-03-30 15:54:15.000000000 -0400 @@ -195,7 +195,6 @@ } } -#if defined (DEBUG_MEMORY_LEAKAGE_ON_EXIT) void cancel_all_timeouts () { struct timeout *t, *n; @@ -216,4 +215,3 @@ dfree (t, MDL); } } -#endif dhcp-3.0.5-errwarn-message.patch: errwarn.c | 19 ++++++------------- 1 files changed, 6 insertions(+), 13 deletions(-) --- NEW FILE dhcp-3.0.5-errwarn-message.patch --- --- dhcp-3.0.5/omapip/errwarn.c.message 2007-03-29 15:03:12.000000000 -0400 +++ dhcp-3.0.5/omapip/errwarn.c 2007-03-29 15:08:50.000000000 -0400 @@ -80,20 +80,13 @@ #if !defined (NOMINUM) log_error ("%s", ""); - log_error ("If you did not get this software from ftp.isc.org, please"); - log_error ("get the latest from ftp.isc.org and install that before"); - log_error ("requesting help."); + log_error ("This version of ISC DHCP is based on the release available"); + log_error ("on ftp.isc.org. Features have been added and other changes"); + log_error ("have been made to the base software release in order to make"); + log_error ("it work better with this distribution."); log_error ("%s", ""); - log_error ("If you did get this software from ftp.isc.org and have not"); - log_error ("yet read the README, please read it before requesting help."); - log_error ("If you intend to request help from the dhcp-server at isc.org"); - log_error ("mailing list, please read the section on the README about"); - log_error ("submitting bug reports and requests for help."); - log_error ("%s", ""); - log_error ("Please do not under any circumstances send requests for"); - log_error ("help directly to the authors of this software - please"); - log_error ("send them to the appropriate mailing list as described in"); - log_error ("the README file."); + log_error ("Please report for this software via the Red Hat Bugzilla site:"); + log_error (" http://bugzilla.redhat.com"); log_error ("%s", ""); log_error ("exiting."); #endif dhcp-3.0.5-failover-ports.patch: confpars.c | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) --- NEW FILE dhcp-3.0.5-failover-ports.patch --- --- dhcp-3.0.5/server/confpars.c.failover 2007-03-30 16:28:08.000000000 -0400 +++ dhcp-3.0.5/server/confpars.c 2007-03-30 16:32:39.000000000 -0400 @@ -998,10 +998,17 @@ parse_warn (cfile, "peer address may not be omitted"); /* XXX - when/if we get a port number assigned, just set as default */ + /* See Red Hat Bugzilla 167292: + * we do now: dhcp-failover 647/tcp + * dhcp-failover 647/udp + * dhcp-failover 847/tcp + * dhcp-failover 847/udp + * IANA registration by Bernard Volz + */ if (!peer -> me.port) - parse_warn (cfile, "local port may not be omitted"); + peer -> me.port = 647; if (!peer -> partner.port) - parse_warn (cfile, "peer port may not be omitted"); + peer -> partner.port = 847; if (peer -> i_am == primary) { if (!peer -> hba) { dhcp-3.0.5-fast-timeout.patch: dhclient.c | 5 +---- 1 files changed, 1 insertion(+), 4 deletions(-) --- NEW FILE dhcp-3.0.5-fast-timeout.patch --- --- dhcp-3.0.5/client/dhclient.c.fast 2007-03-30 16:22:54.000000000 -0400 +++ dhcp-3.0.5/client/dhclient.c 2007-03-30 16:26:11.000000000 -0400 @@ -766,10 +766,7 @@ do_release (client); else { client -> state = S_INIT; - /* Set up a timeout to start the initialization - process. */ - add_timeout (cur_time + random () % 5, - state_reboot, client, 0, 0); + add_timeout (cur_time, state_reboot, client, 0, 0); } } } dhcp-3.0.5-inherit-leases.patch: dhclient.c | 8 ++++++++ 1 files changed, 8 insertions(+) --- NEW FILE dhcp-3.0.5-inherit-leases.patch --- --- dhcp-3.0.5/client/dhclient.c.inherit 2007-03-30 16:06:30.000000000 -0400 +++ dhcp-3.0.5/client/dhclient.c 2007-03-30 16:09:06.000000000 -0400 @@ -720,6 +720,14 @@ continue; script_init (ip -> client, "PREINIT", (struct string_list *)0); + /* Has an active lease */ + if (ip->client->active && + !ip->client->active->is_bootp && + ip->client->active->expiry > cur_time && + ip->primary_address.s_addr != 0 && + ip->client->active->address.len == 4 && + memcmp(ip->client->active->address.iabuf, &ip->primary_address, 4) == 0) + client_envadd(ip->client, "", "keep_old_ip", "%s", "yes"); if (ip -> client -> alias) script_write_params (ip -> client, "alias_", ip -> client -> alias); dhcp-3.0.5-manpages.patch: client/dhclient-script.8 | 23 ++++++++ client/dhclient.8 | 123 +++++++++++++++++++++++++++++++++++++++++++++++ client/dhclient.conf.5 | 15 +++++ common/dhcp-options.5 | 18 ++++++ dhcpctl/dhcpctl.3 | 5 + server/dhcpd.conf.5 | 18 ++---- 6 files changed, 187 insertions(+), 15 deletions(-) --- NEW FILE dhcp-3.0.5-manpages.patch --- --- dhcp-3.0.5/client/dhclient-script.8.manpages 2005-09-28 15:17:08.000000000 -0400 +++ dhcp-3.0.5/client/dhclient-script.8 2007-03-29 14:55:09.000000000 -0400 @@ -47,7 +47,7 @@ exit hooks provided (see HOOKS for details). These hooks will allow the user to override the default behaviour of the client in creating a .B /etc/resolv.conf -file. +file, and to handle DHCP options not handled by default. .PP No standard client script exists for some operating systems, even though the actual client may work, so a pioneering user may well need to create @@ -91,6 +91,27 @@ .B ETCDIR/dhclient-exit-hooks script can modify the valid of exit_status to change the exit status of dhclient-script. +.PP +Immediately after dhclient brings an interface UP with a new IP address, +subnet mask, and routes, in the REBOOT/BOUND states, it will check for the +existence of an executable +.B ETCDIR/dhclient-up-hooks +script, and source it if found. This script can handle DHCP options in +the environment that are not handled by default. A per-interface +.B ETCDIR/dhclient-up-${IF}-hooks +script will override the generic script and be sourced when interface +$IF has been brought up. +.PP +Immediately before dhclient brings an interface DOWN, removing its IP +address, subnet mask, and routes, in the STOP/RELEASE states, it will +check for the existence of an executable +.B ETCDIR/dhclient-down-hooks +script, and source it if found. This script can handle DHCP options in +the environment that are not handled by default. A per-interface +.B ETCDIR/dhclient-down-${IF}-hooks +script will override the generic script and be sourced when interface +$IF is about to be brought down. + .SH OPERATION When dhclient needs to invoke the client configuration script, it defines a set of variables in the environment, and then invokes --- dhcp-3.0.5/client/dhclient.conf.5.manpages 2005-06-16 15:40:13.000000000 -0400 +++ dhcp-3.0.5/client/dhclient.conf.5 2007-03-29 14:55:21.000000000 -0400 @@ -185,7 +185,8 @@ options. Only the option names should be specified in the request statement - not option parameters. By default, the DHCP server requests the subnet-mask, broadcast-address, time-offset, routers, -domain-name, domain-name-servers and host-name options. +domain-name, domain-name-servers, host-name, nis-domain, nis-servers, +and ntp-servers options. .PP In some cases, it may be desirable to send no parameter request list at all. To do this, simply write the request statement but specify @@ -581,6 +582,18 @@ Whenever the client tries to renew the lease, it will use that same media type. The lease must expire before the client will go back to cycling through media types. +.PP + \fBbootp-broadcast-always;\fR +.PP +The +.B bootp-broadcast-always +statement instructs dhclient to always set the bootp broadcast flag in +request packets, so that servers will always broadcast replies. +This is equivalent to supplying the dhclient -B argument, and has +the same effect as specifying 'always-broadcast' in the server's dhcpd.conf. +This option is provided as a Red Hat extension to enable dhclient to work +on IBM zSeries z/OS Linux guests . +.PP .SH SAMPLE The following configuration file is used on a laptop running NetBSD 1.3. The laptop has an IP alias of 192.5.5.213, and has one --- dhcp-3.0.5/client/dhclient.8.manpages 2007-03-29 14:54:16.000000000 -0400 +++ dhcp-3.0.5/client/dhclient.8 2007-03-29 14:58:16.000000000 -0400 @@ -85,6 +85,28 @@ .B -x ] [ +.B -I +.I dhcp-client-identifier +] +[ +.B -H +.I host-name +.R | +.B -F fqdn.fqdn +] +[ +.B -V +.I vendor-class-identifier +] +[ +.B -R +.I request option list +] +[ +.B -T +.I timeout +] +[ .I if0 [ .I ...ifN @@ -273,6 +295,107 @@ -s dhclient-script environment, which would allow applications running in that environment to handle options they do not know about in advance - this is a Red Hat extension to support dhcdbd and NetworkManager. +.PP +The -I argument allows you to specify the dhcp-client-identifier string, , +to be sent to the dhcp server on the command line. It is equivalent to the +top level dhclient.conf statement: +.br + \fBsend dhcp-client-identifier "";\fR +.br +The -I command line option will override any top level dhclient.conf + 'send dhcp-client-identifier' statement, but more specific per-interface + 'interface "X" { send dhcp-client-identifier...; }' statements in dhclient.conf +will override the -I command line option for interface "X". +This option is provided as a Red Hat extension to enable dhclient to work +on IBM zSeries z/OS Linux guests. +.PP +The -B option instructs dhclient to set the bootp broadcast flag in request +packets, so that servers will always broadcast replies. This is equivalent +to specifying the 'bootp-broadcast-always' option in dhclient.conf, and has +the same effect as specifying 'always-broadcast' in the server's dhcpd.conf. +This option is provided as a Red Hat extension to enable dhclient to work +on IBM zSeries z/OS Linux guests. +.PP +The -H option allows you to specify the DHCP host-name option +to send to the server on the dhclient command line. It is equivalent to the +top level dhclient.conf statement: +.br +\f send host-name "";\fR +.br +The -H option will override any top level dhclient.conf + 'send host-name' statement, but more specific per-interface + 'interface "X" { send host-name...;' statements in dhclient.conf +will override the -H command line option for interface "X". +The host-name option only specifies the client's host name prefix, to which +the server will append the 'ddns-domainname' or 'domain-name' options, if any, +to derive the fully qualified domain name of the client host. +The -H option cannot be used with the -F option. +Only one -H option may be specified. +The -H option is provided as a Red Hat extension to simplify +configuration of clients of DHCP servers that require the host-name option +to be sent (eg. some modern cable modems), and for dynamic DNS updates (DDNS). +.PP +The -F option allows you to specify the DHCP fqdn.fqdn option +to send to the server on the dhclient command line. It is equivalent to the +top level dhclient.conf statement: +.br +\f send fqdn.fqdn "";\fR +.br +The -F option will override any top level dhclient.conf + 'send fqdn.fqdn' statement, but more specific per-interface + 'interface "X" { send fqdn.fqdn...;' statements in dhclient.conf +will override the -F command line option for interface "X". +This option cannot be used with the -H option. +The DHCP fqdn.fqdn option must specify the complete domain name of the client +host, which the server may use for dynamic DNS updates. +Only one -F option may be specified. +The -F option is provided as a Red Hat extension to simplify +configuration of DDNS. +.PP +The -T option allows you to specify the time after which +the dhclient will decide that no DHCP servers can be contacted when +no responses have been received. It is equivalent to the +.br +\f timeout ;\fR +.br +dhclient.conf statement, and will override any such statements in dhclient.conf. +.br +This option is provided as a Red Hat extension. +.PP +The -V option allows you to specify the DHCP +vendor-class-identifier option to send to the server on the dhclient command line. +It is equivalent to the top level dhclient.conf statement: +.br +\f send vendor-class-identifier "";\fR +.br +The -V option will override any top level dhclient.conf + 'send vendor-class-identifier' statement, but more specific per-interface + 'interface "X" { send vendor-class-identifier...;' statements in dhclient.conf +will override the -V command line option for interface "X". +The -V option is provided as a Red Hat extension to simplify +configuration of clients of DHCP servers that require the vendor-class-identifier option +to be sent. +.PP +The -R option allows you to specify the list of options the +client is to request from the server on the dhclient command line. +The option list must be a single string, consisting of option names separated +by at least one comma and optional space characters. The default option list +is : +.br + subnet-mask, broadcast-address, time-offset, routers, +.br + domain-name, domain-name-servers, host-name, nis-domain, +.br + nis-servers, ntp-servers +.br +You can specify a different list of options to request with the -R