Package hotplug: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 | Name: hotplug Version: 2004_09_23 Release: alt17 Summary: A helper application for loading modules Summary(ru_RU.KOI8-R): \xf0\xd2\xc9\xcc\xcf\xd6\xc5\xce\xc9\xc5 \xc4\xcc\xd1 \xc1\xd7\xd4\xcf\xcd\xc1\xd4\xc9\xde\xc5\xd3\xcb\xcf\xca \xda\xc1\xc7\xd2\xd5\xda\xcb\xc9 \xcd\xcf\xc4\xd5\xcc\xc5\xca Group: System/Configuration/Hardware License: GPL Url: http://kernel.org/pub/linux/utils/kernel/hotplug/ Source0: http://kernel.org/pub/linux/utils/kernel/hotplug/%name-%version.tar.bz2 Source1: http://www.linuxalpha.compaq.com/pcihpd/files/cpqphpd_gui-0.1.2.tar.bz2 Source2: http://www.linuxalpha.compaq.com/pcihpd/files/hpioctl.tar.bz2 Source3: cpqphpd_ioctl.h Source4: hotplug-modutils Source5: hotplug-usb.sysconfig Source6: hotplug.conf Patch0: hotplug-2004_09_23-alt.patch PreReq: chkconfig Requires: udev Obsoletes: usbd kudzu linux-hotplug Conflicts: kudzu linux-hotplug Provides: usbd PreReq: modutils >= 2.4.25-alt3 PreReq: libhw-tools >= 0.2.13 Requires: startup >= 0.9.0-alt1 BuildPreReq: libhw-tools >= 0.2.9 Conflicts: libhw-tools < 0.2.12-alt1 %description This package contains the scripts necessary for hotplug Linux support, and lets you plug in new devices and use them immediately. Initially, it includes support for USB and PCI (Cardbus) devices, and can automatically configure network interfaces. %description -l ru_RU.KOI8-R \xfc\xd4\xcf\xd4 \xd0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 \xd3\xcb\xd2\xc9\xd0\xd4\xd9 \xc4\xcc\xd1 \xc1\xd7\xd4\xcf\xcd\xc1\xd4\xc9\xde\xc5\xd3\xcb\xcf\xca \xda\xc1\xc7\xd2\xd5\xda\xcb\xc9 \xcd\xcf\xc4\xd5\xcc\xc5\xca \xc9 \xce\xc1\xd3\xd4\xd2\xcf\xca\xcb\xc9 \xc4\xcf\xc2\xc1\xd7\xcc\xd1\xc5\xcd\xcf\xc7\xcf \xcf\xc2\xcf\xd2\xcf\xc4\xcf\xd7\xc1\xce\xc9\xd1. %package gtk Summary: GTK control interface for Hotplug PCI Group: System/Configuration/Hardware %description gtk This is the GTK interface for the Compaq PCI hotplug controller %prep %setup -q -a1 -a2 %patch0 -p1 %build %make_build CFLAGS="%optflags" %install make prefix=$RPM_BUILD_ROOT install # hotplug PCI program mkdir -p $RPM_BUILD_ROOT/usr/sbin mkdir -p $RPM_BUILD_ROOT%_sysconfdir/dev.d/sound mkdir -p $RPM_BUILD_ROOT%_sysconfdir/modutils.d mkdir -p $RPM_BUILD_ROOT%_sysconfdir/hotplug/usb mkdir -p $RPM_BUILD_ROOT%_sysconfdir/hotplug/pci mkdir -p $RPM_BUILD_ROOT%_sysconfdir/hotplug/ieee1394 mkdir -p $RPM_BUILD_ROOT/lib/firmware mkdir -p $RPM_BUILD_ROOT%_sysconfdir/sysconfig mkdir -p $RPM_BUILD_ROOT/usr/lib/hotplug/firmware install -m644 %SOURCE5 $RPM_BUILD_ROOT%_sysconfdir/sysconfig/usb install -m644 %SOURCE6 $RPM_BUILD_ROOT%_sysconfdir/sysconfig/hotplug mkdir -p $RPM_BUILD_ROOT/var/log/hotplug mkdir -p $RPM_BUILD_ROOT/var/lib/hotplug install -m 644 %SOURCE4 $RPM_BUILD_ROOT%_sysconfdir/modutils.d/%name %post %post_service hotplug # hotplug must be enabled ;-( /sbin/chkconfig --add hotplug %preun %preun_service hotplug %files %doc README ChangeLog %config(noreplace) /etc/modutils.d/%name %config(noreplace) /etc/hotplug/blacklist %config(noreplace) /etc/sysconfig/%name /etc/hotplug/hotplug.functions /etc/hotplug/ieee1394.agent /etc/hotplug/net.agent /etc/hotplug/pci.agent /etc/hotplug/usb.agent %config(noreplace) /etc/hotplug/pnp.distmap %config(noreplace) /etc/hotplug/usb.distmap %config(noreplace) /etc/hotplug/usb.handmap %config(noreplace) /etc/hotplug/usb.usermap %dir /etc/hotplug.d %dir /etc/hotplug.d/default %config(noreplace) /etc/hotplug.d/default/default.hotplug /etc/hotplug/dasd.agent /etc/hotplug/firmware.agent /etc/hotplug/input.agent /etc/hotplug/scsi.agent /etc/hotplug/tape.agent /etc/dev.d/sound /etc/modutils.d/oss #config(noreplace) /etc/sysconfig/usb /etc/hotplug/*.rc /etc/rc.d/init.d/hotplug /sbin/* %dir /etc/hotplug %dir %_sysconfdir/hotplug/usb %dir %_sysconfdir/hotplug/pci %dir %_sysconfdir/hotplug/ieee1394 %dir /lib/firmware %dir /usr/lib/hotplug %dir /usr/lib/hotplug/firmware %dir /var/run/usb %dir /var/log/hotplug %dir /var/lib/hotplug %_mandir/man?/* %changelog * Wed Mar 01 2006 Anton Farygin <rider@altlinux.ru> 2004_09_23-alt17 - force ac loading from acpi.rc * Tue Feb 21 2006 Anton Farygin <rider@altlinux.ru> 2004_09_23-alt16 - added conflicts and obsoletes with linux-hotplug * Mon Feb 13 2006 Anton Farygin <rider@altlinux.ru> 2004_09_23-alt15 - added force parameter to alsactl into sound.dev script (#8995) - added shpchp to blacklist (#7535) - added /usr/lib/hotplug to package (#8947) * Thu Jul 14 2005 Anton Farygin <rider@altlinux.ru> 2004_09_23-alt14 - start usb.rc after sound.rc - added nvidiafb to blacklist (#7360) - corrected sound.dev and sound.rc scripts for saving/restoring mixer values * Fri Jun 03 2005 Anton Farygin <rider@altlinux.ru> 2004_09_23-alt13 - blacklisted all framebuffer modules - added Conflict with old libhw-tools * Mon May 16 2005 Anton Farygin <rider@altlinux.ru> 2004_09_23-alt12 - blacklisted audio and usb-midi modules * Thu May 12 2005 Anton Farygin <rider@altlinux.ru> 2004_09_23-alt11 - added provides for /usr/lib/hotplug/firmware directory (#5951) - added missing /etc/dev.d/sound/sound.dev (#6805) * Wed Apr 27 2005 Anton Farygin <rider@altlinux.ru> 2004_09_23-alt10 - use only new pciscan for resolve kernel modules for PCI bus * Thu Apr 14 2005 Anton Farygin <rider@altlinux.ru> 2004_09_23-alt9 - bugfixes into block.rc and sound.rc - added modutils.d/oss for autoloading snd-pcm-oss drivers * Thu Apr 07 2005 Anton Farygin <rider@altlinux.ru> 2004_09_23-alt8 - added block.rc for autoloading drivers for storages - fixed pciscan options into hotplug.functions - added sound.dev for storing/restoring mixer values * Wed Feb 16 2005 Anton Farygin <rider@altlinux.ru> 2004_09_23-alt7 - removed block.rc, block.agent - rewrited pnp.rc * Tue Jan 25 2005 Anton Farygin <rider@altlinux.ru> 2004_09_23-alt6 - use process pid for creating temporary files for fstab (#5889, #5797) - install default pnp.distmap (#5893, #5842) - use /lib/firmware/ default catalog for firmware.agent (#5893) - added noauto option for unknown block devices (#5945) - new sysfs mountpoint detection code (more agents and rc-scripts don't work if sysfs not mounted) * Tue Dec 28 2004 Anton Farygin <rider@altlinux.ru> 2004_09_23-alt5 - ifrename path fixed (#5776) - disabled startup misc.rc on kernel 2.4 (#5779) - pciscan: more correct usage * Thu Dec 23 2004 Anton Farygin <rider@altlinux.ru> 2004_09_23-alt4 - net.agent: use CONFMETHOD from /etc/sysconfig/network - block.agent, block.rc: create /etc/fstab.backup with previos fstab state * Tue Dec 14 2004 Anton Farygin <rider@altlinux.ru> 2004_09_23-alt3 - fixed etcnet support - added directory for firmware agent * Wed Dec 08 2004 Anton Farygin <rider@altlinux.ru> 2004_09_23-alt2 - added conflicts with kudzu - enabled loading network modules in pci.rc * Mon Nov 29 2004 Anton Farygin <rider@altlinux.ru> 2004_09_23-alt1 - new version from mainstream (2004_09_23) - etcnet support added - disabled misc.rc for kernel 2.4 - removed updfstab support - added pnp.rc to default config file * Wed Nov 03 2004 Anton Farygin <rider@altlinux.ru> 2004_03_29-alt12 - mountpoints to block devices moved to /media * Mon Nov 01 2004 Anton Farygin <rider@altlinux.ru> 2004_03_29-alt11 - mountpoints to block devices renamed to /mnt/<storage_type>_<device_name> - fixed block.rc races - fixed block.agent races * Mon Oct 18 2004 Anton Farygin <rider@altlinux.ru> 2004_03_29-alt10 - added cpu.rc - detection and loading cpufreq modules - added acpi.rc - detection and loading modules for acpi devices - added misc.rc - detection and loading kernel modules for miscellaneous devices (psmouse) - fixed races into block.agent - added filesystem detection code to block.agent (with new libhw-tools) * Sun Sep 12 2004 Anton Farygin <rider@altlinux.ru> 2004_03_29-alt8 - added block.rc - script for cleanup hotplug entries from /etc/fstab - added probing ide devices after hotplug start - it's need for loading ide-cd modules - mountpoints detect by storagescan added into block.agent - added radeonfb to blacklist'ed modules - added buildprereq to libhw-tools * Mon Jul 19 2004 Anton Farygin <rider@altlinux.ru> 2004_03_29-alt7 - fixed start/stop chkconfig priority for hotplug initscript (32 69) (#4668) - added status information for sound.rc (#4825) - renamed *START options in sysconfig file to HOTPLUGRC - used "action" into initscript for starting hotplugging services - Russian summary and description added * Sun Jul 18 2004 Anton Farygin <rider@altlinux.ru> 2004_03_29-alt6 - fixed typo in sound.agent - don't probe modules, if pciscan return driver with "Card:", "ISDN:", "Bad:" or "Server:" words * Wed Jul 14 2004 Anton Farygin <rider@altlinux.ru> 2004_03_29-alt5 - sound.agent and sound.rc added (only for kernel 2.6) - into "pci.rc status" output from lspci changed to output from pciscan -v - added configuration file /etc/sysconfig/hotplug (user may be disable hotplug functions) - enabled stop service on hotplug initscripts (only for kernel 2.6) * Tue Jul 13 2004 Anton Farygin <rider@altlinux.ru> 2004_03_29-alt4 - skip blank lines into usb_map_modules - requires fixed - added eth1394 and i8xx_tco to blacklist * Fri Jul 09 2004 Anton Farygin <rider@altlinux.ru> 2004_03_29-alt3 - fixed #4301 - block.agent added (work only for kernel 2.6.x) - added remove event support for network interfaces (#4668) * Mon May 31 2004 Anton Farygin <rider@altlinux.ru> 2004_03_29-alt2 - load_driver don't load missing kernel module - fixed loading usb drivers for usb 2.0 controllers with usb 1.x - ignoring all PCI network adapters added at start hotplug (kernel 2.6) * Wed May 26 2004 Anton Farygin <rider@altlinux.ru> 2004_03_29-alt1 - new version with kernel 2.6 support * Thu Oct 16 2003 Rider <rider@altlinux.ru> 2002_08_26-alt5 - added ieee1394 storages support * Wed Oct 01 2003 Rider <rider@altlinux.ru> 2002_08_26-alt4 - fixed requires to /etc/pcmcia/wireless * Mon Sep 29 2003 Rider <rider@altlinux.ru> 2002_08_26-alt3 - install %name config into %_sysconfdir/modutils.d/ for loading sd_mod above usb-storage * Tue Jul 08 2003 Rider <rider@altlinux.ru> 2002_08_26-alt2 - run updfstab with LANG variable - run updfstab after remove USB storage device * Mon Mar 31 2003 Stanislav Ievlev <inger@altlinux.ru> 2002_08_26-alt1.1 - Enable Debian's update-usb.usermap utility. We'll need it for some printer drivers * Thu Oct 24 2002 Konstantin Volckov <goldhead@altlinux.ru> 2002_08_26-alt1 - Rebuilt in new environment - 2002_08_26 - Added some Mandrake patches * Tue May 21 2002 Konstantin Volckov <goldhead@altlinux.ru> 2002_04_01-alt2 - Added joydev patch to support some joystics * Thu Apr 04 2002 Konstantin Volckov <goldhead@altlinux.ru> 2002_04_01-alt1 - 2002-04-01 - Added -gtk subpackage * Fri Dec 07 2001 Konstantin Volckov <goldhead@altlinux.ru> 2001_09_19-alt2 - Added requires to right modutils * Thu Dec 06 2001 Konstantin Volckov <goldhead@altlinux.ru> 2001_09_19-alt1 - First build for Sisyphus * Mon Sep 17 2001 Frederic Lepied <flepied@mandrakesoft.com> 2001_06_12-8mdk - added ieee1934.agent from cvs (Chmouel) * Fri Sep 14 2001 Frederic Lepied <flepied@mandrakesoft.com> 2001_06_12-7mdk - storage handling is handled by dynamic now. * Thu Sep 6 2001 Frederic Lepied <flepied@mandrakesoft.com> 2001_06_12-6mdk - fix for wacom module load * Sat Sep 1 2001 Frederic Lepied <flepied@mandrakesoft.com> 2001_06_12-5mdk - updated patch1 for wireless devices - don't install patch backup files * Thu Aug 30 2001 Frederic Lepied <flepied@mandrakesoft.com> 2001_06_12-4mdk - Run ifdown on interface unregistration (kill stale DHCP clients) - own /etc/hotplug * Wed Jul 11 2001 Frederic Lepied <flepied@mandrakesoft.com> 2001_06_12-3mdk - added a call to updfstab when usb-storage is loaded * Wed Jun 13 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2001_06_12-2mdk - noreplace /etc/ files. - Update description. - ifdown net when unregister net card. * Tue Jun 12 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2001_06_12-1mdk - First mandrake release (generated from cvs, spec file inspired from rh). |