auto-import changelog data from gpm-1.19.3-16.src.rpm

Fri Apr 06 2001 Preston Brown <pbrown@redhat.com>
- work better with unsupported devfs (#23500, #34883)
Mon Feb 05 2001 Karsten Hopp <karsten@redhat.de>
- found another bug: tmpfile was never removed if gpm was already running
Mon Feb 05 2001 Karsten Hopp <karsten@redhat.de>
- really fix tmpfile path
Mon Feb 05 2001 Karsten Hopp <karsten@redhat.de>
- fix tmpfile path (bugzilla #25967)
Tue Jan 30 2001 Preston Brown <pbrown@redhat.com>
- don't make PID file world-writable.
Mon Jan 29 2001 Preston Brown <pbrown@redhat.com>
- fix up devel dependency on main package
Sun Jan 28 2001 Bernhard Rosenkraenzer <bero@redhat.com>
- Don't crash if we can't open /dev/console (Happens with some devfs
    enabled kernels)
Tue Jan 23 2001 Trond Eivind Glomsrd <teg@redhat.com>
- fix bug in i18n of initscript
Tue Jan 23 2001 Preston Brown <pbrown@redhat.com>
- bash2 style of i18n for initscript
Wed Jan 17 2001 Preston Brown <pbrown@redhat.com>
- i18n the initscript.
Thu Jan 11 2001 Bernhard Rosenkraenzer <bero@redhat.com>
- Add hooks for extra options in /etc/sysconfig/gpm (#23547)
Fri Jan 05 2001 Preston Brown <pbrown@redhat.com>
- patch added to abort if running on a serial console (#15784)
This commit is contained in:
cvsdist 2004-09-09 05:49:48 +00:00
parent 7b28834266
commit 84a7019a72
2 changed files with 76 additions and 20 deletions

View File

@ -11,22 +11,23 @@
# source function library # source function library
. /etc/init.d/functions . /etc/init.d/functions
[ -e /etc/sysconfig/gpm ] && . /etc/sysconfig/gpm
MOUSECFG=/etc/sysconfig/mouse MOUSECFG=/etc/sysconfig/mouse
RETVAL=0 RETVAL=0
start() { start() {
echo -n "Starting console mouse services: " echo -n $"Starting console mouse services: "
if [ -f "$MOUSECFG" ]; then if [ -f "$MOUSECFG" ]; then
. "$MOUSECFG" . "$MOUSECFG"
else else
echo "(no mouse is configured)" echo $"(no mouse is configured)"
exit 0 exit 0
fi fi
if [ "$MOUSETYPE" = "none" ]; then if [ "$MOUSETYPE" = "none" ]; then
echo "(no mouse is configured)" echo $"(no mouse is configured)"
exit 0 exit 0
fi fi
@ -35,10 +36,14 @@ start() {
MOUSETYPE=ms MOUSETYPE=ms
fi fi
if [ -n "$DEVICE" ]; then
DEVICE="/dev/mouse"
fi
if [ -n "$MOUSETYPE" ]; then if [ -n "$MOUSETYPE" ]; then
daemon gpm -t $MOUSETYPE daemon gpm $OPTIONS -t $MOUSETYPE -m $DEVICE
else else
daemon gpm daemon gpm $OPTIONS -m $DEVICE
fi fi
RETVAL=$? RETVAL=$?
echo echo
@ -46,7 +51,7 @@ start() {
} }
stop() { stop() {
echo -n "Shutting down console mouse services: " echo -n $"Shutting down console mouse services: "
killproc gpm killproc gpm
RETVAL=$? RETVAL=$?
@ -78,7 +83,7 @@ case "$1" in
RETVAL=$? RETVAL=$?
;; ;;
*) *)
echo "Usage: gpm {start|stop|restart|condrestart|status}" echo $"Usage: $0 {start|stop|restart|condrestart|status}"
exit 1 exit 1
esac esac

View File

@ -1,7 +1,7 @@
Summary: A mouse server for the Linux console. Summary: A mouse server for the Linux console.
Name: gpm Name: gpm
Version: 1.19.3 Version: 1.19.3
Release: 4 Release: 16
License: GPL License: GPL
Group: System Environment/Daemons Group: System Environment/Daemons
Source: ftp://ftp.systemy.it/pub/develop/%{name}-%{version}.tar.gz Source: ftp://ftp.systemy.it/pub/develop/%{name}-%{version}.tar.gz
@ -12,8 +12,12 @@ Patch3: gpm-1.19.3-root.patch
Patch4: gpm-root.patch Patch4: gpm-root.patch
Patch5: gpm-1.19.1-secenhance.patch Patch5: gpm-1.19.1-secenhance.patch
Patch6: gpm-1.19.2-limits.patch Patch6: gpm-1.19.2-limits.patch
Prereq: /sbin/chkconfig /sbin/ldconfig /sbin/install-info /etc/init.d Patch7: gpm-1.19.3-serialconsole.patch
Requires: pam >= 0.72-22 Patch8: gpm-1.19.3-devfs.patch
Patch9: gpm-1.19.3-noworldwrite.patch
Prereq: /sbin/chkconfig /sbin/ldconfig /sbin/install-info
Requires: pam >= 0.72-22 bash >= 2.0
# this defines the library version that this package builds. # this defines the library version that this package builds.
%define LIBVER 1.18.0 %define LIBVER 1.18.0
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -25,21 +29,19 @@ also provides console cut-and-paste operations using the mouse and
includes a program to allow pop-up menus to appear at the click of a includes a program to allow pop-up menus to appear at the click of a
mouse button. mouse button.
Gpm should be installed if you intend to use a mouse with your Red Hat
Linux system.
%package devel %package devel
Requires: gpm Requires: %{name} = %{version}
Summary: Libraries and header files for developing mouse driven programs. Summary: A mouse server for the Linux console.
Group: Development/Libraries Group: System Environment/Daemons
%description devel %description devel
The gpm-devel program contains the libraries and header files needed Gpm provides mouse support to text-based Linux applications like the
for the development of mouse driven programs for the console. This Emacs editor and the Midnight Commander file management system. Gpm
package allows you to develop text-mode programs which use the mouse. also provides console cut-and-paste operations using the mouse and
includes a program to allow pop-up menus to appear at the click of a
mouse button.
Install gpm-devel if you need to develop text-mode programs which will
use the mouse. You'll also need to install the gpm package.
%prep %prep
%setup -q %setup -q
@ -49,6 +51,9 @@ use the mouse. You'll also need to install the gpm package.
%patch4 -p1 -b .root %patch4 -p1 -b .root
%patch5 -p1 -b .secenhance %patch5 -p1 -b .secenhance
%patch6 -p1 -b .limits %patch6 -p1 -b .limits
%patch7 -p1 -b .serialconsole
%patch8 -p1 -b .devfs
%patch9 -p1 -b .noworldwrite
%build %build
autoconf autoconf
@ -83,6 +88,13 @@ cp t-mouse.el* %{buildroot}%{_datadir}/emacs/site-lisp
mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d
install -m 755 $RPM_SOURCE_DIR/gpm.init %{buildroot}%{_sysconfdir}/rc.d/init.d/gpm install -m 755 $RPM_SOURCE_DIR/gpm.init %{buildroot}%{_sysconfdir}/rc.d/init.d/gpm
mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
cat >$RPM_BUILD_ROOT/etc/sysconfig/gpm <<EOF
# Additional options for gpm (e.g. acceleration), device
OPTIONS=""
DEVICE="/dev/mouse"
EOF
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
@ -120,6 +132,7 @@ fi
%{_mandir}/man8/gpm.8* %{_mandir}/man8/gpm.8*
%{_libdir}/libgpm.so.%{LIBVER} %{_libdir}/libgpm.so.%{LIBVER}
%config %{_sysconfdir}/rc.d/init.d/gpm %config %{_sysconfdir}/rc.d/init.d/gpm
%config %{_sysconfdir}/sysconfig/gpm
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
@ -128,6 +141,44 @@ fi
%{_libdir}/libgpm.so %{_libdir}/libgpm.so
%changelog %changelog
* Fri Apr 6 2001 Preston Brown <pbrown@redhat.com>
- work better with unsupported devfs (#23500, #34883)
* Mon Feb 05 2001 Karsten Hopp <karsten@redhat.de>
- found another bug: tmpfile was never removed if
gpm was already running
* Mon Feb 05 2001 Karsten Hopp <karsten@redhat.de>
- really fix tmpfile path
* Mon Feb 05 2001 Karsten Hopp <karsten@redhat.de>
- fix tmpfile path (bugzilla #25967)
* Tue Jan 30 2001 Preston Brown <pbrown@redhat.com>
- don't make PID file world-writable.
* Mon Jan 29 2001 Preston Brown <pbrown@redhat.com>
- fix up devel dependency on main package
* Sun Jan 28 2001 Bernhard Rosenkraenzer <bero@redhat.com>
- Don't crash if we can't open /dev/console
(Happens with some devfs enabled kernels)
* Tue Jan 23 2001 Trond Eivind Glomsrød <teg@redhat.com>
- fix bug in i18n of initscript
* Tue Jan 23 2001 Preston Brown <pbrown@redhat.com>
- bash2 style of i18n for initscript
* Wed Jan 17 2001 Preston Brown <pbrown@redhat.com>
- i18n the initscript.
* Thu Jan 11 2001 Bernhard Rosenkraenzer <bero@redhat.com>
- Add hooks for extra options in /etc/sysconfig/gpm (#23547)
* Fri Jan 05 2001 Preston Brown <pbrown@redhat.com>
- patch added to abort if running on a serial console (#15784)
* Fri Jul 28 2000 Preston Brown <pbrown@redhat.com> * Fri Jul 28 2000 Preston Brown <pbrown@redhat.com>
- cleaned up post section - cleaned up post section