rebuilt [release 2.17-2mamba;Mon May 21 2007]

This commit is contained in:
Aleph0 2024-01-05 17:45:13 +01:00
parent 7a1283fe15
commit c70a6a9ce0
4 changed files with 81 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# setserial # setserial
Setserial is a program designed to set and/or report the configuration information associated with a serial port.

View File

@ -0,0 +1,11 @@
--- setserial.c.orig 2000-01-27 16:40:52.000000000 +0100
+++ setserial.c 2010-03-25 21:48:21.554872081 +0100
@@ -24,6 +24,8 @@
#endif
#include <linux/serial.h>
+#undef TIOCGHAYESESP
+
#include "version.h"
static char version_str[] = "setserial version " SETSERIAL_VERSION ", "

View File

@ -0,0 +1,23 @@
--- setserial-2.17/Makefile.in 2000-01-27 16:39:07.000000000 +0100
+++ setserial-2.17/Makefile.in.fix 2007-05-21 11:56:46.000000000 +0200
@@ -6,6 +6,7 @@
VERSION = @RELEASE_VERSION@
INSTALL = @INSTALL@
+INSTALL_DIR = ${INSTALL} -d -m 755
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
STRIP = @STRIP@
@@ -26,9 +27,10 @@
nroff -man setserial.8 > setserial.cat
install: setserial setserial.8
+ $(INSTALL_DIR) $(DESTDIR)/bin/
$(INSTALL_PROGRAM) setserial $(DESTDIR)/bin
- $(STRIP) $(DESTDIR)/bin/setserial
- $(INSTALL_DATA) setserial.8 $(DESTDIR)/usr/man/man8
+ $(INSTALL_DIR) $(DESTDIR)/usr/share/man/man8
+ $(INSTALL_DATA) setserial.8 $(DESTDIR)/usr/share/man/man8
clean:
$(RM) setserial setserial.o setserial.cat *~

45
setserial.spec Normal file
View File

@ -0,0 +1,45 @@
Name: setserial
Version: 2.17
Release: 2mamba
Summary: Set and/or report the configuration information associated with a serial port
Group: System/Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@qinet.it>
URL: http://sourceforge.net/projects/setserial/
Source: http://easynews.dl.sourceforge.net/sourceforge/setserial/setserial-%{version}.tar.gz
Patch: setserial-2.17-makeinstall.patch
Patch1: setserial-2.17-kernel-2.6.33.patch
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Setserial is a program designed to set and/or report the configuration information associated with a serial port.
%prep
%setup -q
%patch -p1
%patch1 -p0
%build
%configure
%make CC=%{_host}-gcc DEFS="-DHAVE_ASM_IOCTLS_H=1"
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
/bin/setserial
%{_mandir}/man8/*
%changelog
* Mon May 21 2007 Aleph0 <aleph0@openmamba.org> 2.17-2mamba
- rebuilt
* Thu Aug 07 2003 Silvan Calarco <silvan.calarco@qinet.it> 2.17-1qilnx
- First build of setserial