Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
proftpd
> proftpd.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File proftpd.spec of Package proftpd (Revision 36)
Currently displaying revision
36
,
show latest
# # spec file for package proftpd (Version 1.3.2rc3) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild %define _pversion 1.3.2rc3 Name: proftpd Version: 1.3.1_1.3.2rc3 Release: 6 License: GPL Group: Productivity/Networking/Ftp/Servers BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libacl-devel libattr-devel mysql-devel openssl-devel pam-devel postgresql-devel glibc-devel libgcc gcc gcc-c++ sed %if 0%{?suse_version} <= 1000 BuildRequires: libcap %endif %if 0%{?suse_version} >= 1030 BuildRequires: libcap-devel %endif %if 0%{?suse_version} BuildRequires: mysql-client openldap2-devel tcpd-devel %endif %if 0%{?sles_version} != 9 BuildRequires: krb5-devel %endif %if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} BuildRequires: tcp_wrappers openldap-devel openldap mysql libcap-devel %endif %if 0%{?fedora_version} >= 7 BuildRequires: tcp_wrappers-devel %endif Url: http://www.proftpd.org/ Packager: Carsten Schoene <cs@linux-administrator.com> Vendor: linux-administrator.com Source: ftp://ftp.proftpd.org/distrib/source/proftpd-%{_pversion}.tar.bz2 Source1: %{name}.init #Patch0: %{name}-gcc43.patch #Patch1: %{name}-dfsg_%{version}-11.diff Patch2: %{name}-%{_pversion}-open.patch Summary: Highly configurable GPL-licensed FTP server software %description Highly configurable GPL-licensed FTP server software %package sql-mysql Group: Productivity/Networking/Ftp/Servers Requires: %{name} = %{version} Summary: mysql module for proftpd %description sql-mysql mysql module for proftpd %package sql-postgresql Group: Productivity/Networking/Ftp/Servers Requires: %{name} = %{version} Summary: postgresql module for proftpd %description sql-postgresql postgresql module for proftpd %package devel Group: Productivity/Networking/Ftp/Servers Requires: %{name} = %{version} Summary: Development headers %description devel Development headers for proftpd %prep %setup -n %{name}-%{_pversion} #%patch0 #%patch1 -p1 %patch2 #for PATCH in `cat debian/patches/00list` ; do #patch -p1 < debian/patches/${PATCH}.dpatch #done %build %configure \ --bindir=%{_sbindir} \ --libexecdir=%{_libdir}/%{name} \ --libdir=%{_libdir} \ --sysconfdir=%{_sysconfdir}/%{name} \ --localstatedir=%{_var}/run/ \ --enable-sendfile \ --enable-ipv6 \ --enable-ctrls \ --enable-facl \ --enable-dso \ --with-libraries="%{_libdir}/mysql" \ --with-includes="%{_includedir}/mysql:%{_includedir}/pgsql" \ --with-shared="mod_ctrls_admin:mod_ifsession:mod_ldap:mod_load:mod_quotatab:mod_quotatab_file:mod_quotatab_ldap:mod_quotatab_sql:mod_radius:mod_ratio:mod_readme:mod_rewrite:mod_site_misc:mod_sql:mod_sql_mysql:mod_sql_postgres:mod_tls:mod_wrap" %{__make} %install make DESTDIR=$RPM_BUILD_ROOT install INSTALL_USER=`id -un` INSTALL_GROUP=`id -gn` %{__rm} -fv %{buildroot}%{_libdir}/%{name}/*.a %{__install} -D -m 0644 contrib/dist/rpm/xinetd %{buildroot}%{_sysconfdir}/xinetd.d/%{name} %{__install} -D -m 0644 contrib/dist/rpm/proftpd.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/%{name} %{__install} -D -m 0755 %{S:1} %{buildroot}%{_sysconfdir}/init.d/%{name} %{__ln_s} -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name} for FILE in `ls -1A %{buildroot}/%{_libdir}/proftpd/*.la` ; do sed -i s#${RPM_BUILD_DIR}/%{name}-%{_pversion}#%{_prefix}#g ${FILE} done %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %dir %attr(0750,root,root) %{_sysconfdir}/%{name}/ %config(noreplace) %attr(0640,root,root) %{_sysconfdir}/%{name}/proftpd.conf %{_sysconfdir}/xinetd.d/%{name} %{_sysconfdir}/logrotate.d/%{name} %{_sysconfdir}/init.d/%{name} %{_var}/run/%{name} %{_sbindir}/rc%{name} %{_sbindir}/ftpcount %{_sbindir}/ftpdctl %{_sbindir}/ftpshut %{_sbindir}/ftptop %{_sbindir}/ftpwho %{_sbindir}/proftpd %{_sbindir}/in.proftpd %{_mandir}/man1/ftpcount.1* %{_mandir}/man1/ftptop.1* %{_mandir}/man1/ftpwho.1* %{_mandir}/man5/xferlog.5* %{_mandir}/man8/ftpdctl.8* %{_mandir}/man8/ftpshut.8* %{_mandir}/man8/proftpd.8* %{_libdir}/%{name}/mod_ctrls_admin.la %{_libdir}/%{name}/mod_ctrls_admin.so %{_libdir}/%{name}/mod_ifsession.la %{_libdir}/%{name}/mod_ifsession.so %{_libdir}/%{name}/mod_ldap.la %{_libdir}/%{name}/mod_ldap.so %{_libdir}/%{name}/mod_load.la %{_libdir}/%{name}/mod_load.so %{_libdir}/%{name}/mod_quotatab.la %{_libdir}/%{name}/mod_quotatab.so %{_libdir}/%{name}/mod_quotatab_file.la %{_libdir}/%{name}/mod_quotatab_file.so %{_libdir}/%{name}/mod_quotatab_ldap.la %{_libdir}/%{name}/mod_quotatab_ldap.so %{_libdir}/%{name}/mod_quotatab_sql.la %{_libdir}/%{name}/mod_quotatab_sql.so %{_libdir}/%{name}/mod_radius.la %{_libdir}/%{name}/mod_radius.so %{_libdir}/%{name}/mod_ratio.la %{_libdir}/%{name}/mod_ratio.so %{_libdir}/%{name}/mod_readme.la %{_libdir}/%{name}/mod_readme.so %{_libdir}/%{name}/mod_rewrite.la %{_libdir}/%{name}/mod_rewrite.so %{_libdir}/%{name}/mod_site_misc.la %{_libdir}/%{name}/mod_site_misc.so %{_libdir}/%{name}/mod_sql.la %{_libdir}/%{name}/mod_sql.so %{_libdir}/%{name}/mod_tls.la %{_libdir}/%{name}/mod_tls.so %{_libdir}/%{name}/mod_wrap.la %{_libdir}/%{name}/mod_wrap.so %doc COPYING CREDITS ChangeLog INSTALL NEWS README* RELEASE_NOTES %doc contrib/README* contrib/xferstats.holger-preiss* contrib/ftpasswd contrib/ftpquota %doc doc/ sample-configurations/ %files sql-mysql %defattr(-,root,root,-) %{_libdir}/%{name}/mod_sql_mysql.la %{_libdir}/%{name}/mod_sql_mysql.so %files sql-postgresql %defattr(-,root,root,-) %{_libdir}/%{name}/mod_sql_postgres.la %{_libdir}/%{name}/mod_sql_postgres.so %files devel %defattr(-,root,root,-) %{_sbindir}/prxs %{_includedir}/proftpd/* %{_libdir}/pkgconfig/proftpd.pc %changelog -n proftpd * Sat Oct 06 2007 - cs@linux-administrator.com - changed release to 1.3.1 and remove patches - added devel sub-package * Mon Jan 22 2007 - cs@linux-administrator.com - change buildrequirements, to fix build on sles9 * Wed Nov 29 2006 - mrueckert@suse.de - update to 1.3.0a: fixes a remote code execution. CVE-2006-5815 (http://bugs.proftpd.org/show_bug.cgi?id=2858)