/force_bind.spec.in (b7ef7798c25d781fc2c7790aa80f8f431703e781) (804 bytes) (mode 100644) (type blob)
Summary: Force binding to a specif address and/or port
Name: @PRJ@
Version: @VER@
Release: @REV@
License: LGPL
Group: Applications/Network
Source: http://kernel.embedromix.ro/us/Conn/%{name}-%{version}.tar.gz
URL: http://kernel.embedromix.ro/us/
Packager: Catalin(ux) M BOIE <catab@embedromix.ro>
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description
It uses LD_PRELOAD to hijack 'bind' system call. Environment variables
FORCE_BIND_ADDRESS and FORCE_BIND_PORT can be used to control it.
%prep
%setup
%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)
%dir @USR_LIB@/*
%doc README LICENSE Changelog
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
43 |
9108d94cb8e6f127c99b7099975be00532899907 |
.gitignore |
100644 |
blob |
30 |
d987fa5df957830331139935d517009e2911b0cf |
INSTALL |
100644 |
blob |
35147 |
94a9ed024d3859793618152ea559a168bbcbb5e2 |
LICENSE |
100644 |
blob |
541 |
b035b10712cea5a98c1d9e50887c363226307608 |
Makefile.in |
100644 |
blob |
855 |
70d1482667fbea25d33d3bbed803bb508cf0dd53 |
README |
100644 |
blob |
174 |
a0af61e812bd62970aa1e3dc33c883c756520f42 |
TODO |
100755 |
blob |
23 |
d33bb6c4ecdce1390ce1db3c79ea3b93e22ea755 |
configure |
100755 |
blob |
12723 |
62411b6de6bc9d88b550b7c96e140e8ce9015086 |
duilder |
100644 |
blob |
261 |
11bcae688fe61c68a0e1ac8e6694459208cbc2e3 |
duilder.conf |
100644 |
blob |
3807 |
a5207a60db67a4c778de9ee0e238069c6c978978 |
force_bind.c |
100644 |
blob |
804 |
b7ef7798c25d781fc2c7790aa80f8f431703e781 |
force_bind.spec.in |
100755 |
blob |
165 |
83d21d25e27dc624569788a2467ff66002d3b4a3 |
test1.sh |
100644 |
blob |
1135 |
ef564034e516db96e7e9346000e4a7917da3b82d |
test_bind.c |
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/catalinux/force_bind
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/catalinux/force_bind
Clone this repository using git:
git clone git://git.rocketgit.com/user/catalinux/force_bind
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main