]> git.pld-linux.org Git - packages/ctunnel.git/commitdiff
- init PLD spec
authorareq <areq@pld-linux.org>
Sun, 13 Feb 2011 14:14:45 +0000 (14:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ctunnel.spec -> 1.1

ctunnel.spec [new file with mode: 0644]

diff --git a/ctunnel.spec b/ctunnel.spec
new file mode 100644 (file)
index 0000000..512fbab
--- /dev/null
@@ -0,0 +1,48 @@
+Summary:       Crypto Tunnel for Proxying and Forwarding TCP/UDP Connections
+Name:          ctunnel
+Version:       0.5
+Release:       1
+License:       GPL
+Group:         Networking/Utilities
+Source0:       http://www.nardcore.org/ctunnel/%{name}-%{version}.tar.gz
+# Source0-md5: cf849741590cdcea776b5a9d67975b20
+URL:           http://nardcore.org/ctunnel/
+BuildRequires: rpmbuild(macros) >= 1.268
+BuildRequires: openssl-devel
+BuildRequires: zlib-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ctunnel is a software for proxying and forwarding TCP connections via
+a cryptographic tunnel.
+
+ctunnel can be used to secure any existing TCP based protocol, such as
+HTTP, VNC, Telnet, FTP, RSH, MySQL, etc, as well as UDP. You can even
+tunnel SSH! (if you are really paranoid!).
+
+You can also chain/bounce connections to any number of intermediary
+hosts.ctunnel is a software for proxying and forwarding TCP
+connections via a cryptographic tunnel.
+
+%prep
+%setup -q
+sed -i 's/=.*-O2/=%{rpmcflags}/' src/Makefile
+
+%build
+%{__make} \
+     CC="%{__cc}" 
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -D src/ctunnel $RPM_BUILD_ROOT%{_bindir}/ctunnel
+install -D ctunnel.1   $RPM_BUILD_ROOT%{_mandir}/man1/ctunnel.1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_bindir}/ctunnel
+%{_mandir}/man1/*
This page took 0.089004 seconds and 4 git commands to generate.