# changelog

author: Matt Domsch <Matt_Domsch@dell.com> - 2.1.0.0-1
changelog:
  - update to latest upstream
  - drop Requires: lsb.  avoid calling rpm (recursively) if possible.
  - add recognition for Oracle Enterprise Linux, Oracle VM, Scientific
    Linux, and VMware 3.x


author: Matt Domsch <Matt_Domsch@dell.com> 2.0.19.1
changelog:
  - depmod on uninstall before mkinitrd, depmod fix & cleanups
  - find_module_from_ko() could incorrectly return multiple values


author: Matt Domsch <Matt_Domsch@dell.com> 2.0.18
changelog:
  - don't include dist/ in tarball
  - use /etc/kernel/{prerm,postinst}.d/dkms in RPMs now too
  - mkrpm: display rpmbuild log on error, write RPMs to $dkms_tree/$module/$module_version/rpm
  - clarify license in spec to GPLv2+


author: Matt Domsch <Matt_Domsch@dell.com> 2.0.17.6
changelog:
  - call udevadm trigger instead of udevtrigger for newer udev (Launchpad #192241)
  - omit installed-weak modules from remove --all (Red Hat BZ#429410)


author: Matt Domsch <Matt_Domsch@dell.com> 2.0.17.5
changelog:
  - call udevtrigger if we install a module for the currently running kernel
  - uninstall from /extra before DEST_MODULE_LOCATION (Red Hat BZ#264981)
  - Run depmod after uninstall


author: Matt Domsch <Matt_Domsch@dell.com> 2.0.16.1
changelog:
  - spec file cleanups per re-review in Fedora
  - add bash completion, rpmbuild check, pinit, pass-arch patches from
    Mandriva.  These are generic.  The other Mandriva patches appear to
    be distro-specific.
  - Look for /etc/sysconfig/module-init-tools to get some values.


author: Matt Domsch <Matt_Domsch@dell.com> 2.0.16
changelog:
  - fix override_dest_module_location() for historical distro versions
  - don't run weak-modules if it doesn't exist


author: Matt Domsch <Matt_Domsch@dell.com> 2.0.14.1
changelog:
  - After upgrading from older DKMS versions to 2.0.14, any previously
    installed modules wouldn't show status properly, and wouldn't
    uninstall properly, due to the new policy of using /extras/ and
    /updates/.  Needed to take that into account and look in both places.
  - SuSE puts weak-modules in /usr/lib/module-init-tools not /sbin.


author: Matt Domsch <Matt_Domsch@dell.com> 2.0.13.2
changelog:
  - RHEL5 weak module recognition with new state installed-weak
  - autoinstaller recognizes installed-weak and doesn't rebuild
  - RHEL5 and SLES10 and higher weak module code expects modules to go
    into /lib/modules/$kern/{extra,updates} respectively, so force that.


author: Matt Domsch <Matt_Domsch@dell.com>
changelog:
  - patch from http://qa.mandriva.com/show_bug.cgi?id=27985 assigns new
    modprobe.conf alias ordinals starting at zero.


author: Matt Domsch <Matt_Domsch@dell.com> 2.0.13.1
changelog:
  - properly create driver disks for Fedora Core 6 and RHEL5
  - make .iso, .tar, and floppy .img driver disks for Red Hat and SuSE
  - set CLEAN properly even if MAKE[] isn't set.
  - fix install.sh buglet installing the manpage


author: Matt Domsch <Matt_Domsch@dell.com> 2.0.10.1-1
changelog:
  - fix munging of /etc/sysconfig/kernel INITRD_MODULES= line
    so it doesn't move already-present entries to the end


author: Matt Domsch <Matt_Domsch@dell.com> 2.0.9.1-1
changelog:
  - patch from Eric Devolder enables mkinitrd for Debian Sarge
  - include debian/ directory in upstream tarball


author: Matt Domsch <Matt_Domsch@dell.com> 2.0.8.3
changelog:
  - look to DKMS_DIRECTIVE* environment variables to override dkms.conf settings
  - don't create/remove (unused) /var/lock/subsys/dkms files in autoinstaller


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 2.0.8.2
changelog:
  - Multi driver suse driver disk support (thanks to Sreenivas.Bagalkote@engenio.com)
  - Cleanup tempdir when ldtarball fails


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 2.0.5.9
changelog:
  - FIXED BUG, when only some modules have original_modules, ARCHIVE_PREF3 wasn't getting reset causing big problems


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 2.0.4.3
changelog:
  - Allow MAKE_MATCH[0] to decide if MAKE[0] will be used
  - Add Taroon check in template-dkms-mkrpm.spec for ia32e detection


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 2.0.3.3
changelog:
  - Added quotes to $kernel_config when checking variable
  - Tweak the multiowned arch detection workaround to deal with no ownership


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 2.0.2.5
changelog:
  - DKMS ldtarball arch fix for changed Andreas 2.0.2 code
  - Workaround for Red Hat's new source symlink in 2.6.9
  - All 'cd -' now output to /dev/null


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 2.0.1.2-1
changelog:
  - Charles Duffy's fix for multiple rpms owning /lib/modules/kernel...
  - Andreas Gruenbacher's removal of IFS usage
  - Andreas Gruenbacher's reorganizing prepare check into prepare_kernel
  - Andreas Gruenbacher's patch to cut down on line length by using $base_dir
  - fixed $base_dir so it gets set after setup_kernels_arches


author: Andreas Gruenbacher <agruen@suse.de>
changelog:
  - patch to remove tick usage
  - patch to rewrite version comparison code
  - patch to switch to usage of case, remove use of grep -c, remove use of IFS
  - patch to change handling of stderr


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 2.0.0-1
changelog:
  - Output to stderr is now >> and not >
  - Added kludge to allow redhat1 driver disks with BOOT kernel modules
  - Allow cross arch building on 2.6 if --kernelsourcedir is passed
  - Generic make commands now respect --kernelsourcedir
  - Bumped dkms_dbversion to 2.0.0


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 1.96.01-1
changelog:
  - Look for /etc/SuSEconfig also to know if its a SuSE box
  - If no make command, set the clean command


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 1.95.11-1
changelog:
  - Split modulesconf_modify to separate add and remove functions
  - Added support for /etc/modprobe.conf


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 1.95.06-1
changelog:
  - Buchan Milne's Mandrake prep support patch
  - Buchan Milne's macro additions to template-dkms-mkrpm.spec
  - Buchan Milne's typo corrections in mkrpm
  - Buchan Milne's change to how mkrpm works (mktarball happen in rpm prep)


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 1.94.16-1
changelog:
  - Added a dependency on modutils for usage of modinfo
  - Added version sanity check
  - dkms_autoinstaller now check for sanity of version
  - Changed conversion algorithm for /var/dkms to /var/lib/dkms
  - Changed all warning to get to stderr
  - set_module_suffix doesn't use version_checker because its too slow


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 1.94.06-1
changelog:
  - Reworked version checking to handle non-digit characters
  - Added coreutils as a dependency
  - Create a tempdir in mkdriverdisk, whoops (thanks Charles Duffy)


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 1.94.03-1
changelog:
  - dkms_dbversion belongs in /var/lib/dkms (thanks Thomas Palmieri)
  - Added a version checking subroutine
  - Removed gt2dot4 variable in favor of kernel version checking
  - MAKE is no longer required.  If none specified, it uses a default.


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 1.93.14-1
changelog:
  - Fixed bug when find finds more than one thing (thanks Paul Howarth)
  - Changed arch detection code to first try RPM which always will get it right (thanks Vladimir Simonov)


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 1.93.12-1
changelog:
  - Initial mkrpm is working
  - Added --source-only option to mktarball
  - mkrpm handles --source-only
  - Updated manpage


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 1.92.24-1
changelog:
  - Continue rework of kernelver/arch handling
  - Added PATH fix (thanks Andrey Ulanov <andrey.ulanov@acronis.com>)
  - config_contents should not be local (thanks Andrey Ulanov)
  - If no config in /configs, just use .config (thanks Andrey Ulanov)
  - match now pays attention to --kernelsourcedir


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 1.92.04-1
changelog:
  - Added STRIP[] directive.  By default dkms now runs strip -g on all built modules.
  - Fix set_module_suffix in dkms build
  - Changed /etc/dkms_framework.conf to /etc/dkms/framework.conf
  - Added reload into dkms_autoinstaller to limit Mandrake error messages
  - Moved /var/dkms to /var/lib/dkms !!!!!!!!!!!!!!!!


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 1.91.18-1
changelog:
  - Added --installtree option to specify different install location besides /lib/modules
  - Took Charles Duffy's advice and removed brackets on error messages


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 1.91.11-1
changelog:
  - Added build time check for gcc and make if there is a build failure
  - You can now specify --archive to mktarball to control the naming of the made tarball (thanks Vladimir Simonov)


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 1.90.45-1
changelog:
  - Pass --targetarch to dkms_mkkerneldoth (thanks to Vladimir Simonov <validimir.simonov@acronis.com>)
  - Moved arch detection into a function called detect_arch


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 1.90.32-1
changelog:
  - Completing arch awareness and transition scripts
  - Created upgrade_dkms_archify.sh to update DKMS trees for arch support


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 1.09.21-1
changelog:
  - Improved readability of install and uninstall text to the screen
  - You can now specify multiple actions in the same command


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 1.09.05-1
changelog:
  - Added arch_used as part of the filename of a tarball created by mktarball
  - If multiple original modules exist in a single kernel, the one in /updates is preferred
  - Changed multiple original module handling to move out and store all collisions


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 1.09.01-1
changelog:
  - Changed 2.6 prep prepare-all target usage to make modules_prepare
  - Changed 2.6 make command to always use M= as this is fixed in 2.6.6-rc3-bk5


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 1.09-1
changelog:
  - If module build exit status is bad, die accordingly
  - 2.6 kernel prep changes (not quite there yet, still broken)


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 1.08.06-1
changelog:
  - Added BUILD_EXCLUSIVE_KERNEL & BUILD_EXCLUSIVE_ARCH directives for dkms.conf
  - Tweaked dkms_autoinstaller to more gracefully handle a build failure


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 1.07-1
changelog:
  - Added work-around to recognize ia32e kernel config instead of x86_64
  - Got rid of start and stop functions which were no-ops anyway


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.99.01-1
changelog:
  - Only edit /etc/modules.conf if remake_initrd is set or if this is the last uninstall and no original module exists
  - Added MODULES_CONF_OBSOLETE_ONLY array directive in dkms.conf
  - Updated man page


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.45.01-1
changelog:
  - Added kernel config prepping for hugemem kernel (thanks Amit Bhutani)
  - modules.conf only now gets changed during install or uninstall of active module


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.44.05-1
changelog:
  - Changed MODULES_CONF_ALIAS_TYPE to an array in dkms.conf
  - Added MODULES_CONF_OBSOLETES array in dkms.conf
  - Reworked modules_conf_modify to make use of OBSOLETES logic
  - Updated man page


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.41.15-1
changelog:
  - If depmod or mkinitrd fail during install, automatically go back to built state
  - Warn heavily if mkinitrd fails during uninstall


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.41.10-1
changelog:
  - Added Red Hat specific kernel prep to avoid make dep (Thanks Matt Domsch)
  - Added dkms_mkkerneldoth script to support RH kernel prep
  - Moved dkms from /sbin/ to /usr/sbin
  - Fixed typo which caused original_module not to get replaced on uninstall
  - No longer edit Makefiles, just specify KERNELVERSION=$kernel_version on the command line
  - Removed unnecessary depmod during uninstall


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.40.05-1
changelog:
  - No longer copy dkms.conf into /var/dkms tree, just go to the source_tree so as to reduce duplication
  - Got rid of --post-add, --post-build, --post-install and --post-remove
  - Replaced the above with DKMS directives POST_ADD, POST_BUILD, POST_INSTALL, POST_REMOVE
  - Fixed ldtarball and mktarball to no longer look for these duplicate files
  - Added a sample.conf for /usr/share/doc
  - Updated dkms_dbversion to 1.01 from 1.00 due to these changes
  - Update the man page


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.39.17-1
changelog:
  - Added diff checking in status command in case modules are overwritten by someone else
  - Fixed already built error message in build_module
  - Changed build-arch to noarch
  - Updated sample.spec
  - Change dest_module_location to not get prefaced by /lib/modules/$kernel_version
  - When saving old initrd, copy it instead of moving it in case new one doesn't build
  - Only create source symlink during loadtarball if --force or if it doesn't exist
  - Decide to completely remove during remove_module after doing find with maxdepth of 0 not 1


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.39.08-1
changelog:
  - Reworked mktarball format to remove dependence on /var/dkms and /usr/src
  - Reworked ldtarball to match new tarball format
  - Ldtarball now uses --archive=tarball-location flag instead of --config flag
  - Ldtarball can now load any old source tarball as long as it contains a good dkms.conf
  - Added --kernelsourcedir cli option to provide alternate location for kernel source
  - Driver disk files are now looked for in /redhat_driver_disk
  - Added $tmp_location specifiable in /etc/dkms_framework.conf to specify your /tmp dir (default /tmp)
  - Updated man page


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.38.03-1
changelog:
  - Fixed tmp_dir_name typo in ldtarball
  - Fixed mkdriverdisk to correctly create kernel/module structure
  - Don't expect a rhdd-6.1 file for RH driver disk, dkms will create it
  - Remove mkdriverdisk warning on non BOOT kernels
  - Moved driver_disk directory location to underneath $module_version
  - mkdriverdisk can now accept multiple kernel versions
  - Updated man page with info about $dkms_tree and $source_tree as dkms.conf variables


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.37.10-1
changelog:
  - Don't allow installs of modules onto non-existant kernels
  - Suppressed stderr on some commands
  - Fixed brain-dead bug for REMAKE INITRD
  - During uninstall, dont remake initrd if it was not installed
  - ldtarball into unique tempdir and delete it when finished


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.37.04-1
changelog:
  - Changed PATCH to array based system (added PATCH_MATCH array)
  - PATCHes can now be matched against regular expressions, not just substrings
  - Changed MODULES_CONF to array based system
  - CHANGED MAKE to array based system (added MAKE_MATCH array)
  - MAKEs can now be matched against regular expressions, not just substrings.
  - Updated man page


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.36.10-1
changelog:
  - Changed autoinstaller bootup priority from 08 to 04
  - Changed invoke_command routine to use mktemp for better security
  - Changed invoke_command in dkms_autoinstaller too


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.36.02-1
changelog:
  - Got rid of MODULE_NAME: replaced with BUILT_MODULE_NAME, DEST_MODULE_NAME arrays
  - Got rid of LOCATION: replaced with BUILT_MODULE_LOCATION, DEST_MODULE_LOCATION arrays
  - Update man page


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.35.02-1
changelog:
  - Added PACKAGE_NAME, PACKAGE_VERSION requirements to dkms.conf for gmodconfig use
  - Fixed creation of /var/dkms before cp of dkms_dbversion in install.sh


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.34.01-1
changelog:
  - Added dkms_autoinstaller service (builds module on boot if AUTOINSTALL="yes" in dkms.conf)
  - DKMS usage no longer sent to std_err
  - Added --no-prepare-kernel cli option


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.33.02-1
changelog:
  - Fixed quote bugs in match (Reported by: John Hull <john_hull@dell.com>)
  - Added Fred Treasure to the AUTHORS list
  - Added dkms_dbversion file to DKMS tree to track architecture of dkms db layout


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.32.04-1
changelog:
  - Added mkinitrd support for SuSE (etc_sysconfig_kernel_modify)
  - Added generic make command for kernel >2.4 (make -C <path-to-kernel-source> SUBDIRS=<build dir> modules)
  - Fixed kernel prepare to do Red Hat/Generic by default
  - Only do make dep if < 2.5


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.31.04-1
changelog:
  - Modified the Red Hat prep routine to be smaller and more robust (including summit support)
  - Added sample.spec to the sources for /usr/share/doc
  - If you save a .config before make mrproper, return it right afterwards
  - Updated the man page


author: Gary Lerhaupt <gary_lerahupt@dell.com> 0.30.17-1
changelog:
  - Added a remake_initrd function to keep SuSE from doing wrong things
  - If you know the correct right steps for rebuilding SuSE initrds, please let me know!
  - Updated man page


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.30.15-1
changelog:
  - Added a native readlink function to make sure it exists
  - Added a mkdir -p to $location to make sure it exists
  - Added --directive


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.30.05-1
changelog:
  - Added kernel preparation support for SLES/United Linux (Many thanks to: Fred Treasure <fwtreas@us.ibm.com>)


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.29.09-1
changelog:
  - On remove, to remove all kernel versions you must now specify --all
  - Added grep, cpio and gzip to the Requires of the RPM
  - Added cleaning kernel tree (make mrproper) after last build completes
  - Before prepare kernel, the current .config is stored in memory to be restored later
  - Added a verbose warning to the status command to remind people it only shows DKMS modules
  - Added /etc/dkms_framwork.conf for controlling source_tree and dkms_tree
  - Added the undocumented --dkmstree and --sourcetree options for cli control of these vars
  - When looking for original modules, dkms now employs the find command to expand search past $location
  - Updated man page


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.28.04-1
changelog:
  - Fixed ldtarball/mktarball to obey source_tree & dkms_tree (Reported By: Jordan Hargrave <jordan_hargrave@dell.com>)
  - Added DKMS mailing list to man page


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.27.05-1
changelog:
  - Changed NEEDED_FOR_BOOT to REMAKE_INITRD as this makes more sense
  - Redid handling of modifying modules.conf
  - Added MODULE_CONF_ALIAS_TYPE to specs


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.25.03-1
changelog:
  - Added renaming ability to modules after builds (MODULE_NAME="beforename.o:aftername.o")
  - Started adding mkdriverdisk support
  - Added distro parameter for use with mkdriverdisk
  - Now using readlink to determine symlink pointing location
  - Added redhat BOOT config to default location of config files
  - Fixed a bug in read_conf that caused the wrong make subdirective to be used
  - Remove root requirement for build action


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.23.16-1
changelog:
  - Removed the sourcing in of /etc/init.d/functions as it was unused anyway
  - Implemented generic patching support
  - Updated man page
  - Fixed timing of the creation of DKMS built infrastructure in case of failure


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.23.11-1
changelog:
  - Builds now occur in /var/dkms/$module/$module_version/build and not in /usr/src
  - Fixed the logging of the kernel_config


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.23.01-1
changelog:
  - Started adding patch support
  - Redid reading implementation of modules_conf entries in dkms.conf (now supports more than 5)
  - Updated man page


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.22.06-1
changelog:
  - Module names are not just assumed to end in .o any longer (you must specify full module name)
  - At exit status to invoke_command when bad exit status is returned


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.20.06-1
changelog:
  - Added --config option to specify where alternate .config location exists
  - Updated the man page to indicate the new option.
  - Updated the spec to allow for software versioning printout
  - Added -V which prints out the current dkms version and exits


author: Gary Lerhaupt <gary_lerhaupt@dell.com> 0.18.04-1
changelog:
  - Added support for multiple modules within the same install
  - Added postadd and fixed up the man page


author: Gary Lerhaupt <gary_lerhaupt@dell.com>
changelog:
  - Fixed make.log path error when module make fails
  - Fixed invoke_command to work under RH8.0
  - DKMS now edits kernel makefile to get around RH8.0 problems


author: Gary Lerhaupt <gary_lerhaupt@dell.com>
changelog:
  - Version 0.13: added match option
  - Version 0.14: dkms is no longer a SysV service
  - Added depmod after install and remove
  - Version 0.15: added MODULES_CONF directives in dkms.conf


author: Gary Lerhaupt <gary_lerhaupt@dell.com>
changelog:
  - Changed the name to DKMS
  - Moved original_module to its own separate directory structure
  - Removal now does a complete clean up


author: Gary Lerhaupt <gary_lerhaupt@dell.com>
changelog:
  - Split build into build and install
  - dkds.conf is now sourced in
  - added kernelver variable to dkds.conf


