rpms/trickle/F-9 import.log, NONE, 1.1 trickle-1.07-include_netdb.patch, NONE, 1.1 trickle-1.07-libdir.patch, NONE, 1.1 trickle.spec, NONE, 1.1 trickled.conf, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Nicoleau Fabien (eponyme)
fedora-extras-commits at redhat.com
Thu Jun 19 16:36:28 UTC 2008
- Previous message: [pkgdb] Miro: wguaraldi has requested watchcommits
- Next message: rpms/trickle/F-8 import.log, NONE, 1.1 trickle-1.07-include_netdb.patch, NONE, 1.1 trickle-1.07-libdir.patch, NONE, 1.1 trickle.spec, NONE, 1.1 trickled.conf, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: eponyme
Update of /cvs/pkgs/rpms/trickle/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16842/F-9
Modified Files:
.cvsignore sources
Added Files:
import.log trickle-1.07-include_netdb.patch
trickle-1.07-libdir.patch trickle.spec trickled.conf
Log Message:
New package
--- NEW FILE import.log ---
trickle-1_07-3_fc9_eponyme:F-9:trickle-1.07-3.fc9.eponyme.src.rpm:1213893302
trickle-1.07-include_netdb.patch:
--- NEW FILE trickle-1.07-include_netdb.patch ---
diff -up trickle-1.06/client.c.include_netdb trickle-1.06/client.c
--- trickle-1.06/client.c.include_netdb 2003-05-09 04:16:42.000000000 +0200
+++ trickle-1.06/client.c 2008-06-07 17:16:50.000000000 +0200
@@ -6,7 +6,7 @@
*
* $Id: client.c,v 1.14 2003/05/09 02:16:42 marius Exp $
*/
-
+#include <netdb.h>
#include <sys/types.h>
#ifdef HAVE_CONFIG_H
diff -up trickle-1.06/tricklectl.c.include_netdb trickle-1.06/tricklectl.c
--- trickle-1.06/tricklectl.c.include_netdb 2003-06-03 01:13:28.000000000 +0200
+++ trickle-1.06/tricklectl.c 2008-06-07 17:18:01.000000000 +0200
@@ -6,7 +6,7 @@
*
* $Id: tricklectl.c,v 1.4 2003/06/02 23:13:28 marius Exp $
*/
-
+#include <netdb.h>
#include <sys/types.h>
#ifdef HAVE_CONFIG_H
diff -up trickle-1.06/trickled.c.include_netdb trickle-1.06/trickled.c
--- trickle-1.06/trickled.c.include_netdb 2003-05-09 04:16:42.000000000 +0200
+++ trickle-1.06/trickled.c 2008-06-07 17:16:34.000000000 +0200
@@ -13,6 +13,7 @@
* initial spike
*/
+#include <netdb.h>
#include <sys/types.h>
#ifdef HAVE_CONFIG_H
diff -up trickle-1.06/trickledu.c.include_netdb trickle-1.06/trickledu.c
--- trickle-1.06/trickledu.c.include_netdb 2003-05-09 04:16:42.000000000 +0200
+++ trickle-1.06/trickledu.c 2008-06-07 17:20:42.000000000 +0200
@@ -7,6 +7,7 @@
* $Id: trickledu.c,v 1.15 2003/05/09 02:16:42 marius Exp $
*/
+#include <netdb.h>
#include <sys/types.h>
#ifdef HAVE_CONFIG_H
diff -up trickle-1.06/trickle-overload.c.include_netdb trickle-1.06/trickle-overload.c
--- trickle-1.06/trickle-overload.c.include_netdb 2003-06-03 01:13:28.000000000 +0200
+++ trickle-1.06/trickle-overload.c 2008-06-07 17:21:51.000000000 +0200
@@ -10,6 +10,7 @@
/* Ick. linux sucks. */
#define _GNU_SOURCE
+#include <netdb.h>
#include <sys/types.h>
#ifdef HAVE_CONFIG_H
trickle-1.07-libdir.patch:
--- NEW FILE trickle-1.07-libdir.patch ---
--- trickle-1.07/configure.in.libdir 2005-01-09 05:19:38.000000000 +0900
+++ trickle-1.07/configure.in 2008-06-17 00:16:32.000000000 +0900
@@ -212,7 +212,7 @@
csysconfdir="$sysconfdir"
fi
-clibdir="$prefix/lib/trickle"
+clibdir="$libdir/trickle"
AC_DEFINE_UNQUOTED(SYSCONFDIR, "$csysconfdir")
AC_DEFINE_UNQUOTED(LIBDIR, "$clibdir")
--- trickle-1.07/configure.libdir 2005-01-09 05:20:06.000000000 +0900
+++ trickle-1.07/configure 2008-06-17 00:21:05.000000000 +0900
@@ -21005,7 +21005,7 @@
csysconfdir="$sysconfdir"
fi
-clibdir="$prefix/lib/trickle"
+clibdir="$libdir/trickle"
cat >>confdefs.h <<_ACEOF
#define SYSCONFDIR "$csysconfdir"
--- NEW FILE trickle.spec ---
Name: trickle
Version: 1.07
Release: 3%{?dist}
Summary: Portable lightweight userspace bandwidth shaper
Group: Applications/System
License: BSD with advertising
URL: http://monkey.org/~marius/pages/?page=trickle
Source0: http://monkey.org/~marius/trickle/%{name}-%{version}.tar.gz
Source1: %{name}d.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libevent-devel
Patch0: %{name}-%{version}-include_netdb.patch
Patch1: %{name}-%{version}-libdir.patch
%description
trickle is a portable lightweight userspace bandwidth shaper.
It can run in collaborative mode or in stand alone mode.
trickle works by taking advantage of the unix loader preloading.
Essentially it provides, to the application,
a new version of the functionality that is required
to send and receive data through sockets.
It then limits traffic based on delaying the sending
and receiving of data over a socket.
trickle runs entirely in userspace and does not require root privileges.
%prep
%setup -q
%patch0 -p1 -b .include_netdb
%patch1 -p1 -b .libdir
touch -r configure aclocal.m4 Makefile.in stamp-h.in
iconv -f ISO88591 -t UTF8 < README > README.UTF8
mv README.UTF8 README
%build
%configure
# Parallel make is unsafe for this package, so %%{?_smp_mflags} is not used
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# for rpmlint warning : unstripped-binary-or-object
chmod +x $RPM_BUILD_ROOT%{_libdir}/%{name}/%{name}-overload.so
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
install -m 644 -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc LICENSE README TODO
%dir %{_libdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}d.conf
%{_bindir}/%{name}
%{_bindir}/%{name}ctl
%{_bindir}/%{name}d
%{_libdir}/%{name}/%{name}-overload.so
%{_mandir}/man1/%{name}.1.gz
%{_mandir}/man5/%{name}d.conf.5.gz
%{_mandir}/man8/%{name}d.8.gz
%changelog
* Mon Jun 16 2008 Nicoleau Fabien <nicoleau.fabien at gmail.com> 1.07-3
- add configure.in
- add default configuration file for trickled
* Sun Jun 15 2008 Nicoleau Fabien <nicoleau.fabien at gmail.com> 1.07-2
- Licence changed
- ldconfig no more used
- dir macro used for libdir/name
- config.h file modified (/lib/ hardcoded)
* Sun Jun 8 2008 Nicoleau Fabien <nicoleau.fabien at gmail.com> 1.07-1
- Rebuild for version 1.07
- Removed smp_mflags flag for make
* Sat Jun 7 2008 Nicoleau Fabien <nicoleau.fabien at gmail.com> 1.06-1
- Initital build
--- NEW FILE trickled.conf ---
# trickled configuration file example
# uncomment section to use it
#[ssh]
#Priority = 1
#Time-Smoothing = 0.1
#Length-Smoothing = 2
#[ftp]
#Priority = 8
#Time-Smoothing = 5
#Length-Smoothing = 20
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/trickle/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 19 Jun 2008 02:49:46 -0000 1.1
+++ .cvsignore 19 Jun 2008 16:35:39 -0000 1.2
@@ -0,0 +1 @@
+trickle-1.07.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/trickle/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 19 Jun 2008 02:49:46 -0000 1.1
+++ sources 19 Jun 2008 16:35:39 -0000 1.2
@@ -0,0 +1 @@
+860ebc4abbbd82957c20a28bd9390d7d trickle-1.07.tar.gz
- Previous message: [pkgdb] Miro: wguaraldi has requested watchcommits
- Next message: rpms/trickle/F-8 import.log, NONE, 1.1 trickle-1.07-include_netdb.patch, NONE, 1.1 trickle-1.07-libdir.patch, NONE, 1.1 trickle.spec, NONE, 1.1 trickled.conf, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list