2004-09-09 08:33:51 +00:00
|
|
|
|
%define with_desktop_menu_entry 0
|
|
|
|
|
|
2004-09-09 08:31:37 +00:00
|
|
|
|
Summary: A text-based modem control and terminal emulation program.
|
|
|
|
|
Name: minicom
|
2004-09-09 08:33:32 +00:00
|
|
|
|
Version: 2.00.0
|
2005-03-07 14:20:36 +00:00
|
|
|
|
Release: 21
|
2004-09-09 08:32:18 +00:00
|
|
|
|
License: GPL
|
2004-09-09 08:31:37 +00:00
|
|
|
|
Group: Applications/Communications
|
2004-09-09 08:32:18 +00:00
|
|
|
|
ExcludeArch: s390 s390x
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
2004-09-09 08:32:23 +00:00
|
|
|
|
BuildPrereq: lockdev-devel >= 1.0.0-13
|
2004-09-09 08:33:51 +00:00
|
|
|
|
PreReq: coreutils
|
|
|
|
|
Requires: lockdev
|
2004-09-09 08:34:14 +00:00
|
|
|
|
URL: http://alioth.debian.org/projects/minicom/
|
2004-09-09 08:32:18 +00:00
|
|
|
|
|
|
|
|
|
Source: ftp://metalab.unc.edu/pub/Linux/apps/serialcomm/dialout/minicom-%{version}.src.tar.bz2
|
2004-09-09 08:33:32 +00:00
|
|
|
|
Source1: minicom.desktop
|
2004-09-09 08:31:37 +00:00
|
|
|
|
Patch0: minicom-1.81-config.patch
|
|
|
|
|
Patch1: minicom-1.83.1-make.patch
|
|
|
|
|
Patch2: minicom-drop-privs.patch
|
2004-09-09 08:31:43 +00:00
|
|
|
|
Patch3: minicom-1.83.1-time.patch
|
2004-09-09 08:32:04 +00:00
|
|
|
|
Patch4: minicom-umask.patch
|
2004-09-09 08:33:32 +00:00
|
|
|
|
|
2004-09-09 08:32:18 +00:00
|
|
|
|
Patch7: minicom-1.83.1-disable-message.patch
|
|
|
|
|
Patch8: minicom-1.83.1-rh.patch
|
2004-09-09 08:33:32 +00:00
|
|
|
|
Patch9: minicom-1.83-badlocales.patch
|
2004-09-09 08:34:14 +00:00
|
|
|
|
Patch10: minicom-2.00.0-staticbuf.patch
|
|
|
|
|
Patch11: minicom-2.00.0-esc.patch
|
|
|
|
|
Patch12: minicom-2.00.0-inssp.patch
|
|
|
|
|
Patch13: minicom-2.00.0-gotodir.patch
|
2004-10-20 20:29:49 +00:00
|
|
|
|
Patch14: minicom-2.00.0-offby1.patch
|
2004-09-09 08:32:04 +00:00
|
|
|
|
|
2004-09-09 08:31:37 +00:00
|
|
|
|
%description
|
|
|
|
|
Minicom is a simple text-based modem control and terminal emulation
|
2004-09-09 08:32:18 +00:00
|
|
|
|
program somewhat similar to MSDOS Telix. Minicom includes a dialing
|
2004-09-09 08:31:37 +00:00
|
|
|
|
directory, full ANSI and VT100 emulation, an (external) scripting
|
|
|
|
|
language, and other features.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
2004-09-09 08:33:32 +00:00
|
|
|
|
###%patch0 -p1 -b .config Appears unneeded in 2.00.0
|
|
|
|
|
###%patch1 -p1 -b .make Appears unneeded in 2.00.0
|
2004-09-09 08:31:37 +00:00
|
|
|
|
%patch2 -p1 -b .privs
|
2004-09-09 08:33:32 +00:00
|
|
|
|
###%patch3 -p1 -b .time Appears unneeded in 2.00.0
|
2004-09-09 08:32:04 +00:00
|
|
|
|
%patch4 -p1 -b .umask
|
2004-09-09 08:33:32 +00:00
|
|
|
|
###%patch7 -p0 -b .disable-message Stay or go? We'll wait and see...
|
2004-09-09 08:32:18 +00:00
|
|
|
|
%patch8 -p1 -b .rh
|
2004-09-09 08:33:32 +00:00
|
|
|
|
###%patch9 -p1 Needs removal, or repair
|
2004-09-09 08:34:14 +00:00
|
|
|
|
%patch10 -p1 -b .staticbuf
|
|
|
|
|
%patch11 -p1 -b .esc
|
|
|
|
|
%patch12 -p1 -b .ins
|
|
|
|
|
%patch13 -p1 -b .gotodir
|
2004-10-20 20:29:49 +00:00
|
|
|
|
%patch14 -p1 -b .offby1
|
2004-09-09 08:33:32 +00:00
|
|
|
|
|
2004-09-09 08:31:37 +00:00
|
|
|
|
|
|
|
|
|
%build
|
2004-09-09 08:33:32 +00:00
|
|
|
|
%configure
|
|
|
|
|
make
|
2004-09-09 08:31:37 +00:00
|
|
|
|
|
2004-09-09 08:32:04 +00:00
|
|
|
|
|
2004-09-09 08:33:32 +00:00
|
|
|
|
%install
|
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%makeinstall
|
2004-09-09 08:33:51 +00:00
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc
|
|
|
|
|
%if %{with_desktop_menu_entry}
|
2004-09-09 08:32:18 +00:00
|
|
|
|
install -d $RPM_BUILD_ROOT/etc/X11/applnk/Internet
|
2004-09-09 08:33:32 +00:00
|
|
|
|
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/etc/X11/applnk/Internet/minicom.desktop
|
2004-09-09 08:33:51 +00:00
|
|
|
|
%endif
|
2004-09-09 08:33:32 +00:00
|
|
|
|
install -m 644 doc/minicom.users $RPM_BUILD_ROOT/etc/minicom.users
|
|
|
|
|
|
2004-09-09 08:33:51 +00:00
|
|
|
|
%find_lang %name
|
2004-09-09 08:31:37 +00:00
|
|
|
|
|
|
|
|
|
%clean
|
2004-09-09 08:33:32 +00:00
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
2004-09-09 08:33:51 +00:00
|
|
|
|
%files -f %name.lang
|
2004-09-09 08:31:37 +00:00
|
|
|
|
%defattr(-,root,root)
|
2004-09-09 08:33:32 +00:00
|
|
|
|
%doc doc
|
2004-09-09 08:33:51 +00:00
|
|
|
|
#%attr(0644,root,root)
|
|
|
|
|
%config(noreplace) /etc/minicom.users
|
2004-09-09 08:32:04 +00:00
|
|
|
|
# DO NOT MAKE minicom SUID/SGID anything.
|
2004-09-09 08:32:18 +00:00
|
|
|
|
%attr(0755,root,uucp) %{_bindir}/minicom
|
|
|
|
|
%{_bindir}/runscript
|
|
|
|
|
%{_bindir}/xminicom
|
|
|
|
|
%{_bindir}/ascii-xfr
|
|
|
|
|
%{_mandir}/man1/*
|
2004-09-09 08:33:51 +00:00
|
|
|
|
%if %{with_desktop_menu_entry}
|
|
|
|
|
%config(missingok) /etc/X11/applnk/Internet/minicom.desktop
|
|
|
|
|
%endif
|
2004-09-09 08:33:32 +00:00
|
|
|
|
|
2004-09-09 08:31:37 +00:00
|
|
|
|
%changelog
|
2005-03-07 14:20:36 +00:00
|
|
|
|
* Mon Mar 7 2005 Martin Stransky <stransky@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
2004-10-20 20:29:49 +00:00
|
|
|
|
* Wed Oct 20 2004 Adrian Havill <havill@redhat.com> 2.00.0-20
|
|
|
|
|
- correct an off-by-one error array-store error (#110770)
|
|
|
|
|
|
2004-09-09 08:35:11 +00:00
|
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
2004-09-09 08:35:06 +00:00
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
|
|
* Fri Sep 12 2003 Adrian Havill <havill@redhat.com> 2.00.0-17.1
|
|
|
|
|
- bump n-v-r for RHEL
|
|
|
|
|
|
2004-09-09 08:34:14 +00:00
|
|
|
|
* Fri Sep 12 2003 Adrian Havill <havill@redhat.com> 2.00.0-17
|
|
|
|
|
- fix error handling for the case when you attempt to "goto" a dir
|
|
|
|
|
that doesn't exist. (#103902)
|
|
|
|
|
- updated URL in spec file
|
|
|
|
|
|
|
|
|
|
* Thu Aug 21 2003 Adrian Havill <havill@redhat.com> 2.00.0-16.1
|
|
|
|
|
- bump n-v-r for RHEL
|
|
|
|
|
|
|
|
|
|
* Thu Aug 21 2003 Adrian Havill <havill@redhat.com> 2.00.0-16
|
|
|
|
|
- don't overwrite buffer when ins chars (#98733)
|
|
|
|
|
|
|
|
|
|
* Wed Aug 20 2003 Adrian Havill <havill@redhat.com> 2.00.0-15.1
|
|
|
|
|
- bump n-v-r for RHEL
|
|
|
|
|
|
|
|
|
|
* Wed Aug 20 2003 Adrian Havill <havill@redhat.com> 2.00.0-15
|
|
|
|
|
- initialize savetrans, check vttrans to prevent segfaults with
|
|
|
|
|
certain ESC sequences (#84129)
|
|
|
|
|
|
|
|
|
|
* Fri Aug 01 2003 Adrian Havill <havill@redhat.com> 2.00.0-14
|
|
|
|
|
- removed static buffers that limit multi-file zmodem functionality (#98654)
|
|
|
|
|
- removed assertions from above patch, massage out conflicts with rh patch
|
|
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
2004-09-09 08:33:51 +00:00
|
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
|
|
* Sat Jan 18 2003 Mike A. Harris <mharris@redhat.com> 2.00.0-11
|
|
|
|
|
- Update spec file URL to new homepage (#71894)
|
|
|
|
|
|
|
|
|
|
* Mon Dec 2 2002 Tim Powers <timp@redhat.com> 2.00.0-10
|
|
|
|
|
- add PreReq coreutils so that we get the ordering right in the
|
|
|
|
|
install
|
|
|
|
|
|
|
|
|
|
* Wed Nov 13 2002 Mike A. Harris <mharris@redhat.com> 2.00.0-9
|
|
|
|
|
- Added find_lang macro andlang files to package, also avoiding
|
|
|
|
|
_unpackaged_files_terminate_build
|
|
|
|
|
- Added with_desktop_menu_entry macro to disable minicom.desktop by default
|
|
|
|
|
|
|
|
|
|
* Tue Oct 8 2002 Mike A. Harris <mharris@redhat.com> 2.00.0-8
|
|
|
|
|
- All-arch rebuild
|
|
|
|
|
- Make /etc/minicom.users config(noreplace)
|
|
|
|
|
|
2004-09-09 08:33:43 +00:00
|
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
2004-09-09 08:33:38 +00:00
|
|
|
|
* Sun May 26 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
|
|
* Tue May 21 2002 Mike A. Harris <mharris@redhat.com> 2.00.0-4
|
|
|
|
|
- Rebuilt in new build environment
|
|
|
|
|
|
2004-09-09 08:33:32 +00:00
|
|
|
|
* Tue Feb 26 2002 Mike A. Harris <mharris@redhat.com> 2.00.0-3
|
|
|
|
|
- Rebuilt in new build environment
|
|
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 2.00.0-2
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Nov 21 2001 Mike A. Harris <mharris@redhat.com> 2.00.0-1
|
|
|
|
|
- Updated to version 2.00.0-0, which now uses GNU autoconf for everything,
|
|
|
|
|
to ease portability and internationalization issues. Hold on for the
|
|
|
|
|
ride, as there's bound to be some bumps on the way. ;o) On the up side,
|
|
|
|
|
the packaging is likely to be MUCH more maintainable in the future, which
|
|
|
|
|
is very nice to see.
|
|
|
|
|
- Disabled most patches as they are either included now, not needed, or
|
|
|
|
|
it has yet to be determined.
|
|
|
|
|
|
|
|
|
|
* Fri Oct 12 2001 Trond Eivind Glomsr<EFBFBD>d <teg@redhat.com> 1.83.1-17
|
|
|
|
|
- Delete bad entries in ko.po, fix charset in ja.po
|
|
|
|
|
|
2004-09-09 08:32:23 +00:00
|
|
|
|
* Tue Aug 28 2001 Jeff Johnson <jbj@redhat.com>
|
|
|
|
|
- map specific errno's into status for return from helper.
|
|
|
|
|
|
2004-09-09 08:32:21 +00:00
|
|
|
|
* Tue Aug 14 2001 Jeff Johnson <jbj@redhat.com>
|
|
|
|
|
- rebuild against unzigged lockdev-1.0.0-11 (#51577).
|
|
|
|
|
- add BuildPrereq: on lockdev-devel, not /usr/include/baudboy.h.
|
|
|
|
|
|
2004-09-09 08:32:18 +00:00
|
|
|
|
* Sun Aug 12 2001 Mike A. Harris <mharris@redhat.com> 1.83.1-14
|
|
|
|
|
- Added Requires: lockdev (#51576)
|
|
|
|
|
- s/Copyright/License/
|
|
|
|
|
|
|
|
|
|
* Sat Jul 28 2001 Jeff Johnson <jbj@redhat.com>
|
|
|
|
|
- use baudboy for serial port locking.
|
|
|
|
|
|
|
|
|
|
* Mon Jul 23 2001 Mike A. Harris <mharris@redhat.com> 1.83.1-12
|
|
|
|
|
- Added minicom-1.83.1-disable-message.patch to disable warning message and
|
|
|
|
|
delay when running minicom as root since root-only is the only supported
|
|
|
|
|
method of running minicom now due to security issues.
|
|
|
|
|
|
|
|
|
|
* Sat Jul 21 2001 Tim Powers <timp@redhat.com> 1.83.1-11
|
|
|
|
|
- no minicom applnk entry. Is cluttering up the menus
|
|
|
|
|
|
|
|
|
|
* Tue Jun 19 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
|
- add ExcludeArch: s390 s390x
|
|
|
|
|
- allow to build with newer gettext versions
|
|
|
|
|
|
2004-09-09 08:32:04 +00:00
|
|
|
|
* Thu May 3 2001 Mike A. Harris <mharris@redhat.com> 1.83.1-8
|
|
|
|
|
- Changed minicom to disable SGID/SUID operation completely as it was
|
|
|
|
|
never designed to be secure, and likely never will be. (#35613)
|
|
|
|
|
- Updated the format string patch I made to fix more format string abuses.
|
|
|
|
|
- Added Czeck cs_CZ locale translations.
|
|
|
|
|
|
|
|
|
|
* Thu Apr 12 2001 Mike A. Harris <mharris@redhat.com>
|
|
|
|
|
- Fixed format string vuln in usage of do_log() (bug #35613)
|
|
|
|
|
- Fixed misc other format string abuse with werror().
|
|
|
|
|
- Changed main tarball to bzip2 compression
|
|
|
|
|
- Corrected Buildroot to use _tmppath
|
|
|
|
|
|
|
|
|
|
* Tue Mar 27 2001 Crutcher Dunnavant <crutcher@redhat.com>
|
|
|
|
|
- patch to drop mask for config file
|
|
|
|
|
|
2004-09-09 08:31:43 +00:00
|
|
|
|
* Fri Feb 23 2001 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
- fix build under glibc 2.2.2
|
|
|
|
|
|
2004-09-09 08:31:37 +00:00
|
|
|
|
* Thu Aug 24 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
|
- drop privs on opening of capture file
|
|
|
|
|
|
|
|
|
|
* Fri Aug 4 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
|
- add translation to desktop entry
|
|
|
|
|
|
|
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jun 10 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
|
- update to 1.83.1
|
|
|
|
|
|
|
|
|
|
* Wed Apr 5 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
|
- rebuild against current ncurses/readline
|
|
|
|
|
|
|
|
|
|
* Tue Mar 7 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
|
- rebuild for sparc baud rates > 38400.
|
|
|
|
|
|
|
|
|
|
* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
|
- wmconfig -> desktop
|
|
|
|
|
|
|
|
|
|
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
|
|
|
|
|
- fix description
|
|
|
|
|
|
|
|
|
|
* Fri Dec 17 1999 Bill Nottingham <notting@redhat.com>
|
|
|
|
|
- update to 1.83.0
|
|
|
|
|
|
|
|
|
|
* Fri Jul 30 1999 Bill Nottingham <notting@redhat.com>
|
|
|
|
|
- update to 1.82.1
|
|
|
|
|
- s/sunsite/metalab
|
|
|
|
|
|
|
|
|
|
* Wed May 19 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
|
- restore setgid uucp to permit minicom to lock in /var/lock (#2922).
|
|
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
|
- auto rebuild in the new build environment (release 5)
|
|
|
|
|
|
|
|
|
|
* Tue Jan 24 1999 Michael Maher <mike@redhat.com>
|
|
|
|
|
- fixed bug, changed groups.
|
|
|
|
|
|
|
|
|
|
* Thu Oct 01 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
|
- updated to 1.82 to include i18n fixes
|
|
|
|
|
|
|
|
|
|
* Wed Sep 02 1998 Michael Maher <mike@redhat.com>
|
|
|
|
|
- Built package for 5.2.
|
|
|
|
|
|
|
|
|
|
* Sun May 10 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
|
- security fixes (alan cox, but he forgot about the changelog)
|
|
|
|
|
|
|
|
|
|
* Thu May 07 1998 Prospector System <bugs@redhat.com>
|
|
|
|
|
- translations modified for de, fr, tr
|
|
|
|
|
|
|
|
|
|
* Thu May 07 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
|
- BuildRoot; updated .make patch to cope with the buildroot
|
|
|
|
|
- fixed the spec file
|
|
|
|
|
|
|
|
|
|
* Tue May 06 1998 Michael Maher <mike@redhat.com>
|
|
|
|
|
- update of package (1.81)
|
|
|
|
|
|
|
|
|
|
* Wed Oct 29 1997 Otto Hammersmith <otto@redhat.com>
|
|
|
|
|
- added wmconfig entries
|
|
|
|
|
|
|
|
|
|
* Tue Oct 21 1997 Otto Hammersmith <otto@redhat.com>
|
|
|
|
|
- fixed source url
|
|
|
|
|
|
|
|
|
|
* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
|
- built against glibc
|