SPECS: proftpd-mod_shaper.spec (NEW) - new, impossible to build ou...
glen
glen at pld-linux.org
Sat Apr 29 15:36:05 CEST 2006
Author: glen Date: Sat Apr 29 13:36:05 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new, impossible to build outside proftpd sources
---- Files affected:
SPECS:
proftpd-mod_shaper.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/proftpd-mod_shaper.spec
diff -u /dev/null SPECS/proftpd-mod_shaper.spec:1.1
--- /dev/null Sat Apr 29 15:36:05 2006
+++ SPECS/proftpd-mod_shaper.spec Sat Apr 29 15:36:00 2006
@@ -0,0 +1,51 @@
+# $Revision$, $Date$
+Summary: PROfessional FTP Daemon with apache-like configuration syntax
+Name: proftpd-mod_shaper
+Version: 0.5.6
+Release: 0.1
+License: GPL v2+
+Group: Daemons
+Source0: http://www.castaglia.org/proftpd/modules/proftpd-mod-shaper-%{version}.tar.gz
+# Source0-md5: a81c3ed2d45f7c938416a970fd559703
+URL: http://www.castaglia.org/proftpd/modules/mod_shaper.html
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _sysconfdir /etc/ftpd
+%define _localstatedir /var/run
+%define _libexecdir %{_prefix}/%{_lib}/%{name}
+
+%description
+The mod_shaper module is designed to split overall rates, both
+download and upload, for the proftpd daemon among all connected FTP
+clients, shaping each session to use only a portion of the overall
+rate. mod_shaper shapes both transmitted traffic, e.g. bits being
+downloaded via the RETR command, and received traffic, e.g. bits being
+uploaded via the APPE, STOR, and STOU commands.
+
+%prep
+%setup -q -n mod_shaper
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/04/29 13:36:00 glen
+- new, impossible to build outside proftpd sources
+
================================================================
More information about the pld-cvs-commit
mailing list