packages: ctunnel/ctunnel.spec (NEW) - init PLD spec

areq areq at pld-linux.org
Sun Feb 13 15:14:51 CET 2011


Author: areq                         Date: Sun Feb 13 14:14:51 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- init PLD spec

---- Files affected:
packages/ctunnel:
   ctunnel.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/ctunnel/ctunnel.spec
diff -u /dev/null packages/ctunnel/ctunnel.spec:1.1
--- /dev/null	Sun Feb 13 15:14:51 2011
+++ packages/ctunnel/ctunnel.spec	Sun Feb 13 15:14:45 2011
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+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/*
+
+
+%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  2011/02/13 14:14:45  areq
+- init PLD spec
+
================================================================


More information about the pld-cvs-commit mailing list