Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
server:proxy
proxy-suite
proxy-suite.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File proxy-suite.spec of Package proxy-suite
# # spec file for package proxy-suite # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: proxy-suite Summary: The SuSE Proxy Suite - FTP-Proxy License: GPL-2.0+ Group: Productivity/Networking/Web/Proxy Version: 1.9.2.4 Release: 0 Url: http://proxy-suite.suse.de/ Source0: ftp://ftp.suse.com/pub/projects/proxy-suite/src/proxy-suite-%{version}.tar.bz2 Source1: ftp://ftp.suse.com/pub/projects/proxy-suite/src/proxy-suite-%{version}.tar.bz2.asc Patch0: %{name}-suse8x.dif Patch1: %{name}-%{version}-socklen.dif Patch2: %{name}-%{version}-warnings.dif Patch3: %{name}-%{version}-no-strip.dif Patch4: %{name}-%{version}-includes.dif Patch5: %{name}-%{version}-lsb-info.dif Patch6: %{name}-%{version}-lsb-network-remotefs.dif Patch7: 0007-Use-PublicAddress-to-override-outgoing-PORT-IP.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %insserv_prereq %fillup_prereq BuildRequires: awk ctags openldap2-devel tcpd-devel BuildRequires: autoconf automake Requires: openldap2-client Provides: ftp-proxy = %{version} %description FTP-Proxy relays FTP connections in a secure way between clients and servers, if configured also as transparent proxy. It provides security features like command restriction, argument scanning and port ranges. User actions can easily be audited. %prep %setup -n %{name}-%{version} %patch0 %patch1 %patch2 %patch3 %patch4 %patch5 #if %{?suse_version:%suse_version}%{?!suse_version:0} >= 1110 %if 0%{?suse_version} >= 1110 %patch6 %endif %patch7 -p1 %build %if 0%{?suse_version} < 1220 %{?suse_update_config:%{suse_update_config}} %endif CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED" #if %{?suse_version:%suse_version}%{?!suse_version:99999} > 930 CFLAGS="${CFLAGS} -fpie" LDFLAGS="-pie" autoreconf export CFLAGS LDFLAGS %configure \ --enable-so-linger \ --enable-warnings \ --with-regex \ --with-libwrap \ --with-libldap make %install export RPM_BUILD_ROOT export RPM_SOURCE_DIR install -d $RPM_BUILD_ROOT/usr/sbin install -d $RPM_BUILD_ROOT/etc/init.d install -m750 -d $RPM_BUILD_ROOT/var/lib/ftp-proxy/rundir INST_ROOT=$RPM_BUILD_ROOT make install install -m755 ftp-proxy/rc.script $RPM_BUILD_ROOT/etc/init.d/ftp-proxy ln -sf ../../etc/init.d/ftp-proxy $RPM_BUILD_ROOT/usr/sbin/rcftp-proxy mkdir -p ftp/html cp ftp-proxy/{NEWS,FAQ,TODO,SYSLOG,*.txt} ftp/ cp doc/*.pdf ftp/ cp doc/*.html ftp/html/ awk '/^# \$Log:/ { a=1; } /^#$|^#[^#]/ { if(a) {gsub("^#[ ]?", ""); print $0; }}' \ < changelog > changelog.txt %post %{fillup_and_insserv ftp-proxy -i} %preun %{stop_on_removal ftp-proxy} %postun %{restart_on_update ftp-proxy} %insserv_cleanup %files %defattr(-,root,root) %doc ftp AUTHORS COPYING CREDITS INSTALL changelog.txt %config(noreplace) /etc/%{name}/ftp-proxy.conf %dir /etc/%{name} %dir /var/lib/ftp-proxy %dir /var/lib/ftp-proxy/rundir %{_mandir}/man5/ftp-proxy.conf.5* %{_mandir}/man8/ftp-proxy.8* /etc/init.d/ftp-proxy /usr/sbin/ftp-proxy /usr/sbin/rcftp-proxy %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor