From aee5bf89192680dde5460c8e23e6ee543149d362 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Sat, 11 Apr 2009 09:00:22 +0000 Subject: [PATCH 1/1] - new, almost raw Changed files: delegate.spec -> 1.1 --- delegate.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 delegate.spec diff --git a/delegate.spec b/delegate.spec new file mode 100644 index 0000000..348701b --- /dev/null +++ b/delegate.spec @@ -0,0 +1,57 @@ +# TODO: +# - path, files, configs, fixes etc (see http://cvs.openpkg.org/fileview?f=openpkg-src/delegate/delegate.spec&v=1.141) +Summary: A multi-purpose application level gateway, or a proxy server +Name: delegate +Version: 9.9.2 +Release: 0.1 +License: Freely distributable via publicly accessible on-line media +Group: Networking/Daemons +Source0: ftp://ftp.delegate.org/pub/DeleGate/%{name}%{version}.tar.gz +# Source0-md5: 903d76beaaa1125d828829b52339086a +URL: http://www.delegate.org/ +BuildRequires: libstdc++-devel +BuildRequires: openssl-devel +BuildRequires: pam-devel +BuildRequires: zlib-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +DeleGate is a multi-purpose application level gateway, or a proxy +server which runs on multiple platforms (Unix, Windows, MacOS X and +OS/2). DeleGate mediates communication of various protocols (HTTP, +FTP, NNTP, SMTP, POP, IMAP, LDAP, Telnet, SOCKS, DNS, etc.), applying +cache and conversion for mediated data, controlling access from +clients and routing toward servers. It translates protocols between +clients and servers, applying SSL(TLS) to arbitrary protocols, +converting between IPv4 and IPv6, merging several servers into a +single server view with aliasing and filtering. Born as a tiny proxy +for Gopher in March 1994, it has steadily grown into a general purpose +proxy server. Besides being a proxy, DeleGate can be used as a simple +origin server for some protocols (HTTP, FTP and NNTP). + +%prep +%setup -q -n %{name}%{version} + +cat << 'EOF' > src/DELEGATE_CONF +ADMIN = root@localhost +CC = %{__cc} +CXX = %{__cxx} +CFLAGS = %{rpmcflags} %{rpmcppflags} +EOF + +%build +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT%{_sbindir} + +install src/delegated $RPM_BUILD_ROOT%{_sbindir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc CHANGES COPYRIGHT *.html *.txt doc/*.* -- 2.43.0