Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
xinetd
xinetd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xinetd.spec of Package xinetd
# # spec file for package xinetd # # Copyright (c) 2014 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: xinetd Version: 2.3.15 Release: 0 Url: http://www.xinetd.org/ Summary: An 'inetd' with Expanded Functionality License: xinetd Group: Productivity/Networking/System Source0: http://www.xinetd.org/%{name}-%{version}.tar.gz Source1: xinetd.service Source2: FAQ Source3: README.SUSE Source4: %{name}-service_files.tar.bz2 Source5: logrotate Patch0: %{name}-2.3.14-man.dif Patch4: %{name}-2.3.14-server_args-fix.diff Patch5: %{name}-2.3.14-strict-aliasing-fix.diff Patch6: %{name}-2.3.14-nodeadlock.diff Patch8: %{name}-2.3.14-pie.patch Patch9: %{name}-2.3.14-ipv6-ipv4-fallback.patch Patch10: %{name}-2.3.14-honour_disable.patch Patch11: %{name}-2.3.14-ident-bind.patch Patch12: %{name}-2.3.14-nodeadlock-revisited.patch #PATCH-FIX-SUSE: merge the SUSE's default xinetd.conf with upstream one Patch13: xinetd-config.patch Patch15: xinetd-CVE-2013-4342.patch Patch16: xinetd-2.3.14-file-limit.patch Patch17: xinetd-2.3.14-restore-nofile-limits.patch Patch18: xinetd-deactivating-error.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: systemd BuildRequires: tcpd-devel %{systemd_requires} Provides: inet-daemon %description xinetd takes the abilities of inetd and appends additional functionality: - Access Control - Prevention of 'denial of access' attacks - Extensive logging abilities - Clear configuration file %prep %setup -b 0 -T -D -a 4 %patch0 %patch4 %patch5 %patch6 %patch8 %patch9 %patch10 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch15 -p1 %patch16 -p1 %patch17 -p1 %patch18 -p1 # FAQ, README.SUSE and logrotate cp %{SOURCE2} %{SOURCE3} %{SOURCE5} . %build autoconf export CFLAGS="$RPM_OPT_FLAGS -Wformat=2" ./configure \ --prefix=%{_prefix} \ --sysconfdir=%{_sysconfdir} \ --mandir=%{_mandir}\ --with-loadavg \ --with-libwrap make %{?_smp_mflags} %install install -d -m 755 %{buildroot}%{_mandir} make install DAEMONDIR=%{buildroot}%{_sbindir} MANDIR=${RPM_BUILD_ROOT}/%{_mandir} #config file and initial services install -d -m 0755 %{buildroot}%{_sysconfdir} install -m 644 contrib/%{name}.conf %{buildroot}%{_sysconfdir}/%{name}.conf cp -a etc %{buildroot} #xinetd.service install -d -m 0755 %{buildroot}%{_unitdir} install -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service ln -sf ../../sbin/service %{buildroot}%{_sbindir}/rc%{name} %pre %service_add_pre %{name}.service %post %service_add_post %{name}.service %preun if [ -x /etc/init.d/%{name} ]; then %stop_on_removal xinetd fi %service_del_preun %{name}.service %postun %service_del_postun %{name}.service %files %defattr(-,root,root) %doc README CHANGELOG COPYRIGHT FAQ README.SUSE logrotate %doc %{_mandir}/man5/%{name}.conf.* %doc %{_mandir}/man8/* %config(noreplace) %{_sysconfdir}/xinetd.d/* %config(noreplace) %{_sysconfdir}/%{name}.conf %{_sbindir}/* %{_unitdir}/%{name}.service %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