auto-import changelog data from lm_sensors-2.8.1-1.src.rpm
Fri Oct 24 2003 Phil Knirsch <pknirsch@redhat.com> 2.8.1-1 - Update to latest upstream version 2.8.1 Wed Jul 23 2003 Phil Knirsch <pknirsch@redhat.com> 2.8.0-1 - Update to latest upstream version 2.8.0 Fri Jun 27 2003 Phil Knirsch <pknirsch@redhat.com> 2.6.5-6.1 - rebuilt Fri Jun 27 2003 Phil Knirsch <pknirsch@redhat.com> 2.6.5-6 - Included prog/init scripts and README (#90606). - Require kernel-utils for dmidecode (#88367, #65057).
This commit is contained in:
parent
1ac7ca4752
commit
7149d2de51
@ -1 +1 @@
|
|||||||
lm_sensors-2.6.5.tar.gz
|
lm_sensors-2.8.1.tar.gz
|
||||||
|
11
lm_sensors-2.8.0-utf8.patch
Normal file
11
lm_sensors-2.8.0-utf8.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- lm_sensors-2.8.0/prog/detect/sensors-detect.utf8 2003-07-08 15:07:59.000000000 +0200
|
||||||
|
+++ lm_sensors-2.8.0/prog/detect/sensors-detect 2003-07-23 12:40:03.000000000 +0200
|
||||||
|
@@ -1394,7 +1394,7 @@
|
||||||
|
"*** Terminating.\n";
|
||||||
|
exit(-1);
|
||||||
|
}
|
||||||
|
- my $towrite = pack "C", $_[1];
|
||||||
|
+ my $towrite = pack "C", ($_[1] & 0xff);
|
||||||
|
sysseek IOPORTS, $_[0], 0 or return -1;
|
||||||
|
my $nrchars = syswrite IOPORTS, $towrite, 1;
|
||||||
|
return -1 if not defined $nrchars or $nrchars != 1;
|
@ -1,16 +1,16 @@
|
|||||||
Name: lm_sensors
|
Name: lm_sensors
|
||||||
Version: 2.6.5
|
Version: 2.8.1
|
||||||
Release: 5
|
Release: 1
|
||||||
URL: http://secure.netroedge.com/~lm78/
|
URL: http://secure.netroedge.com/~lm78/
|
||||||
Source: http://secure.netroedge.com/~lm78/archive/lm_sensors-%{version}.tar.gz
|
Source: http://secure.netroedge.com/~lm78/archive/lm_sensors-%{version}.tar.gz
|
||||||
Patch1: lm_sensors-2.5.2-redhat.patch
|
Patch1: lm_sensors-2.5.5-glibc22.patch
|
||||||
Patch2: lm_sensors-2.5.5-glibc22.patch
|
Patch2: lm_sensors-2.8.0-redhat.patch
|
||||||
Patch3: lm_sensors-2.6.5-utf8.patch
|
Patch3: lm_sensors-2.8.0-utf8.patch
|
||||||
Patch4: lm_sensors-2.6.5-fixinstall.patch
|
|
||||||
Summary: Hardware monitoring tools.
|
Summary: Hardware monitoring tools.
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: GPL
|
License: GPL
|
||||||
Buildroot: %{_tmppath}/%{name}-root
|
Buildroot: %{_tmppath}/%{name}-root
|
||||||
|
Requires: kernel-utils
|
||||||
BuildPrereq: kernel-headers >= 2.2.16
|
BuildPrereq: kernel-headers >= 2.2.16
|
||||||
ExclusiveArch: alpha %{ix86}
|
ExclusiveArch: alpha %{ix86}
|
||||||
|
|
||||||
@ -30,24 +30,26 @@ when building applications that make use of sensor data.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1 -b .redhat
|
%patch1 -p1 -b .glibc22
|
||||||
%patch2 -p1 -b .glibc22
|
%patch2 -p1 -b .redhat
|
||||||
%patch3 -p1 -b .utf8
|
%patch3 -p1 -b .utf8
|
||||||
%patch4 -p1 -b .fixinstall
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p kernel/include/linux/
|
mkdir -p kernel/include/linux
|
||||||
ln -s /usr/src/linux-2.4/include/linux/i2c* kernel/include/linux/
|
ln -sf /usr/include/linux/* kernel/include/linux
|
||||||
#make LINUX_HEADERS=/usr/include LINUX=/usr/src/linux-2.4
|
make user
|
||||||
make
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT
|
||||||
%{makeinstall}
|
make prefix=/usr exec_prefix=/usr bindir=/usr/bin sbindir=/usr/sbin sysconfdir=/etc datadir=/usr/share includedir=/usr/include libdir=/usr/lib libexecdir=/usr/libexec localstatedir=/var sharedstatedir=/usr/com mandir=/usr/share/man infodir=/usr/share/info DESTDIR=$RPM_BUILD_ROOT user_install
|
||||||
chmod 755 $RPM_BUILD_ROOT%{_libdir}/*.so*
|
chmod 755 $RPM_BUILD_ROOT%{_libdir}/*.so*
|
||||||
|
|
||||||
# remove dmidecode from the buildroot
|
# remove dmidecode from the buildroot
|
||||||
rm -f $RPM_BUILD_ROOT%{_sbindir}/dmidecode
|
rm -f $RPM_BUILD_ROOT%{_sbindir}/dmidecode
|
||||||
|
mv prog/init/README prog/init/README.initscripts
|
||||||
|
|
||||||
|
# Remove userland kernel headers, belong in glibc-kernheaders.
|
||||||
|
rm -rf $RPM_BUILD_ROOT%{_includedir}/linux
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT
|
||||||
@ -58,7 +60,7 @@ rm -f $RPM_BUILD_ROOT%{_sbindir}/dmidecode
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc BACKGROUND BUGS CHANGES CONTRIBUTORS COPYING doc INSTALL QUICKSTART README* TODO
|
%doc BACKGROUND BUGS CHANGES CONTRIBUTORS COPYING doc INSTALL QUICKSTART README* TODO prog/init/*
|
||||||
%config %{_sysconfdir}/sensors.conf
|
%config %{_sysconfdir}/sensors.conf
|
||||||
%{_bindir}/sensors
|
%{_bindir}/sensors
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
@ -72,7 +74,20 @@ rm -f $RPM_BUILD_ROOT%{_sbindir}/dmidecode
|
|||||||
%{_libdir}/lib*.so
|
%{_libdir}/lib*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
* Fri Oct 24 2003 Phil Knirsch <pknirsch@redhat.com> 2.8.1-1
|
||||||
|
- Update to latest upstream version 2.8.1
|
||||||
|
|
||||||
|
* Wed Jul 23 2003 Phil Knirsch <pknirsch@redhat.com> 2.8.0-1
|
||||||
|
- Update to latest upstream version 2.8.0
|
||||||
|
|
||||||
|
* Fri Jun 27 2003 Phil Knirsch <pknirsch@redhat.com> 2.6.5-6.1
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Fri Jun 27 2003 Phil Knirsch <pknirsch@redhat.com> 2.6.5-6
|
||||||
|
- Included prog/init scripts and README (#90606).
|
||||||
|
- Require kernel-utils for dmidecode (#88367, #65057).
|
||||||
|
|
||||||
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 2.6.5-5
|
||||||
- rebuilt
|
- rebuilt
|
||||||
|
|
||||||
* Wed Dec 04 2002 Phil Knirsch <pknirsch@redhat.com> 2.6.5-4
|
* Wed Dec 04 2002 Phil Knirsch <pknirsch@redhat.com> 2.6.5-4
|
||||||
|
Loading…
Reference in New Issue
Block a user