2 # - path, files, configs, fixes etc (see http://cvs.openpkg.org/fileview?f=openpkg-src/delegate/delegate.spec&v=1.141)
3 Summary: A multi-purpose application level gateway, or a proxy server
7 License: Freely distributable via publicly accessible on-line media
8 Group: Networking/Daemons
9 Source0: ftp://ftp.delegate.org/pub/DeleGate/%{name}%{version}.tar.gz
10 # Source0-md5: 903d76beaaa1125d828829b52339086a
11 URL: http://www.delegate.org/
12 BuildRequires: libstdc++-devel
13 BuildRequires: openssl-devel
14 BuildRequires: pam-devel
15 BuildRequires: zlib-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 DeleGate is a multi-purpose application level gateway, or a proxy
20 server which runs on multiple platforms (Unix, Windows, MacOS X and
21 OS/2). DeleGate mediates communication of various protocols (HTTP,
22 FTP, NNTP, SMTP, POP, IMAP, LDAP, Telnet, SOCKS, DNS, etc.), applying
23 cache and conversion for mediated data, controlling access from
24 clients and routing toward servers. It translates protocols between
25 clients and servers, applying SSL(TLS) to arbitrary protocols,
26 converting between IPv4 and IPv6, merging several servers into a
27 single server view with aliasing and filtering. Born as a tiny proxy
28 for Gopher in March 1994, it has steadily grown into a general purpose
29 proxy server. Besides being a proxy, DeleGate can be used as a simple
30 origin server for some protocols (HTTP, FTP and NNTP).
33 %setup -q -n %{name}%{version}
35 cat << 'EOF' > src/DELEGATE_CONF
36 ADMIN = root@localhost
39 CFLAGS = %{rpmcflags} %{rpmcppflags}
46 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{_sbindir}
50 install src/delegated $RPM_BUILD_ROOT%{_sbindir}
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
57 %doc CHANGES COPYRIGHT *.html *.txt doc/*.*