rpms/cstream/F-8 cstream-2.7.4-Wextra.patch, NONE, 1.1 cstream.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Hans Ulrich Niedermann (ndim)
fedora-extras-commits at redhat.com
Mon Feb 11 20:57:59 UTC 2008
- Previous message (by thread): rpms/cstream/F-7 cstream-2.7.4-Wextra.patch, NONE, 1.1 cstream.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/systemtap/F-7 .cvsignore, 1.8, 1.9 sources, 1.21, 1.22 systemtap.spec, 1.30, 1.31
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ndim
Update of /cvs/pkgs/rpms/cstream/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15721
Modified Files:
.cvsignore sources
Added Files:
cstream-2.7.4-Wextra.patch cstream.spec
Log Message:
Initial import of cstream-2.7.4-4
cstream-2.7.4-Wextra.patch:
--- NEW FILE cstream-2.7.4-Wextra.patch ---
--- cstream-2.7.4-orig/cstream.c 2007-09-18 21:47:49.000000000 +0200
+++ cstream-2.7.4-Wextra/cstream.c 2008-02-08 19:10:07.000000000 +0100
@@ -97,6 +97,7 @@
#else
#ifdef HAVE_SYS_SOUNDCARD_H
#include <sys/soundcard.h>
+#include <sys/ioctl.h>
#define WANT_SOUND 1
#else
#ifdef HAVE_LINUX_SOUNDCARD_H
@@ -266,7 +267,10 @@ static void sigreport(int signal)
static void sighup(int signal)
{
- write(2, "SIGHUP\n", sizeof("SIGHUP\n")-1);
+ ssize_t s = write(STDERR_FILENO, "SIGHUP\n", sizeof("SIGHUP\n")-1);
+ if (s != sizeof("SIGHUP\n")) {
+ /* ignore write error */
+ }
n_sighups++;
}
@@ -390,7 +394,7 @@ static int open_tcp(const struct options
const char *spec;
int newfd;
struct sockaddr_in serv_addr;
- int *size;
+ socklen_t *size;
if (mode == O_WRONLY) {
spec = o->o;
@@ -520,7 +524,7 @@ static int open_tcp(const struct options
} *it, funcs[3] = {
{getsockname, "getsockname", "Local binding"},
{getpeername, "getpeername", "Remote binding"},
- {NULL}
+ {NULL, NULL, NULL}
};
union {
struct sockaddr sa;
--- NEW FILE cstream.spec ---
Summary: General-purpose stream-handling tool
Name: cstream
Version: 2.7.4
Release: 4%{?dist}
Group: Applications/System
License: MIT
URL: http://www.cons.org/cracauer/cstream.html
Source: http://www.cons.org/cracauer/download/%{name}-%{version}.tar.gz
Patch2: %{name}-%{version}-Wextra.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%description
cstream filters data streams, much like the UNIX tool dd(1).
It has a more traditional commandline syntax, support for precise
bandwidth limiting and reporting and support for FIFOs.
Data limits and throughput rate calculation will work for files > 4 GB.
%prep
%setup -q
%patch2 -p1 -b .Wextra
%build
%{configure} INSTALL="%{__install} -p"
%{__make} %{?_smp_mflags} CFLAGS="%{optflags} -Wall -Wextra -Wno-unused-parameter -Werror"
%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"
%clean
%{__rm} -rf %{buildroot}
%check
%{__make} check installcheck DESTDIR="%{buildroot}"
%files
%defattr(-, root, root, 0755)
%doc CHANGES COPYRIGHT README TODO
%doc %{_mandir}/man1/cstream.1*
%{_bindir}/cstream
%changelog
* Sat Feb 09 2008 Hans Ulrich Niedermann <hun at n-dimensional.de> - 2.7.4-4
- Add %%{?dist} to Release:
* Fri Feb 08 2008 Hans Ulrich Niedermann <hun at n-dimensional.de> - 2.7.4-3
- More compile warnings (-Wall -Wextra -Werror).
- Redacted description down to the most important points.
* Fri Feb 08 2008 Hans Ulrich Niedermann <hun at n-dimensional.de> - 2.7.4-2
- Spec file cleanups (use install target, get rpmlint to shut up).
* Fri Feb 08 2008 Mike Weisenborn <mike at weisenborn.com> - 2.7.4-1
- Initial package
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/cstream/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 11 Feb 2008 17:57:16 -0000 1.1
+++ .cvsignore 11 Feb 2008 20:57:23 -0000 1.2
@@ -0,0 +1 @@
+cstream-2.7.4.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/cstream/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 11 Feb 2008 17:57:16 -0000 1.1
+++ sources 11 Feb 2008 20:57:23 -0000 1.2
@@ -0,0 +1 @@
+eab4c98afef79766dd61a6a36dec845a cstream-2.7.4.tar.gz
- Previous message (by thread): rpms/cstream/F-7 cstream-2.7.4-Wextra.patch, NONE, 1.1 cstream.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/systemtap/F-7 .cvsignore, 1.8, 1.9 sources, 1.21, 1.22 systemtap.spec, 1.30, 1.31
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list