-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathforce_bind.spec.in
More file actions
46 lines (37 loc) · 1.16 KB
/
force_bind.spec.in
File metadata and controls
46 lines (37 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Summary: Force binding to a specif address and/or port, changing TOS/TTL/MSS/etc
Name: @PRJ@
Version: @VER@
Release: @REV@
License: GPLv3+
Group: Applications/Communications
Source: http://kernel.embedromix.ro/us/%{name}/%{name}-%{version}.tar.gz
URL: http://kernel.embedromix.ro/us/
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
BuildRequires: gcc, make
%description
It uses LD_PRELOAD to manipulate socket calls. Environment variables
can be used to control in what way you want to bind/change TOS/MSS/KA/bandwidth.
%prep
%setup -q
%build
%configure
make
%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}
make install DESTDIR=${RPM_BUILD_ROOT}
%clean
rm -rf ${RPM_BUILD_ROOT}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%attr (-,root,root)
%{_libdir}/*.so
%doc README LICENSE Changelog TODO
%changelog
* Tue Feb 5 2019 Catalin(ux) M. BOIE <catab at embedromix dot ro> 0.13-1
Minor fixes.
* Wed Jul 18 2012 Catalin(ux) M. BOIE <catab at embedromix dot ro> - 0.11-1
Added support for deny and fake.
* Mon Aug 22 2011 Catalin(ux) M. BOIE <catab at embedromix dot ro> - 0.8-1
Added support for SO_PRIORITY, FWMARK and IPv6 flowinfo and other fixes.