10 Star 0 Fork 10

src-openEuler/xinetd

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
xinetd.spec 5.29 KB
一键复制 编辑 原始数据 按行查看 历史
wuzx 提交于 2022-10-26 11:35 . Add sw64 architecture
Name: xinetd
Epoch: 2
Version: 2.3.15
Release: 35
Summary: A super-server daemon that manages Internet-based connectivity
License: xinetd
URL: https://github.com/openSUSE/xinetd
Source0: https://ftp.osuosl.org/pub/blfs/conglomeration/xinetd/%{name}-%{version}.tar.gz
Source1: xinetd.service
#patches from the opensource fedora/redhat repository
Patch0001: xinetd-2.3.15-add-pie.patch
Patch0002: xinetd-2.3.14-bind-ipv6.patch
Patch0003: xinetd-2.3.14-man-section.patch
Patch0004: xinetd-2.3.14-ident-bind.patch
Patch0005: xinetd-2.3.14-readable-debuginfo.patch
Patch0006: xinetd-2.3.14-autoconf.patch
Patch0007: xinetd-2.3.14-poll.patch
Patch0008: xinetd-2.3.14-file-limit.patch
Patch0009: xinetd-2.3.14-tcpmux.patch
Patch0010: xinetd-2.3.14-clean-pfd.patch
Patch0011: xinetd-2.3.14-ipv6confusion.patch
Patch0012: xinetd-2.3.14-udp-reconfig.patch
Patch0013: xinetd-2.3.14-rpc-specific-port.patch
Patch0014: xinetd-2.3.14-signal-log-hang.patch
Patch0015: xinetd-2.3.14-fix-type-punned-ptr.patch
Patch0016: xinetd-2.3.14-leaking-fds.patch
Patch0017: xinetd-2.3.14-many-services.patch
Patch0018: xinetd-2.3.14-realloc-remove.patch
Patch0019: xinetd-2.3.14-leaking-fds-2a.patch
Patch0020: xinetd-2.3.14-instances.patch
Patch0021: xinetd-2.3.14-retry-svc-activate-in-cps-restart.patch
Patch0022: xinetd-2.3.15-bad-port-check.patch
Patch0023: xinetd-2.3.15-context-exepath.patch
Patch0024: xinetd-2.3.15-creds.patch
Patch0025: xinetd-2.3.15-tcpmux-nameinargs-disable-service.patch
Patch0026: xinetd-2.3.15-udp-wait.patch
#backport patches
Patch0027: connection.c-fix-pointer-dereference-before-NULL-che.patch
Patch0028: tcpint.c-fix-memleak.patch
Patch0029: inet.c-avoid-using-pointer-after-free.patch
Patch0030: service.c-avoid-dereferencing-NULL-pointer.patch
Patch0031: sconf.c-fix-possible-memleak.patch
Patch0032: xinetd-remove-deprecation-warning-about-flask.h-usage.patch
Patch0033: xinetd-2.3.15-sw.patch
BuildRequires: autoconf automake libtirpc-devel libselinux-devel >= 1.30 systemd-units
BuildRequires: gcc
Requires: filesystem >= 2.0.1 setup
Requires(post): systemd-sysv systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
Provides: inetd
%description
xinetd is a powerful replacement for inetd.
xinetd has access control mechanisms, extensive logging capabilities,
the ability to make services available based on time, can place
limits on the number of servers that can be started, and has deployable
defence mechanisms to protect against port scanners, among other things.
xinetd listens for incoming requests over a network and launches the
appropriate service for that request. Requests are made using port numbers
as identifiers and xinetd usually launches another daemon to handle the
request. It can be used to start services with both privileged and
non-privileged port numbers.
%package help
Summary: Help package for %{name}, containing some readme, man, etc. files
%description help
This is the help package for %{name} package. It includes some readme, man and other
related files.
%prep
%autosetup -n %{name}-%{version} -p1
%build
aclocal
autoconf
%configure --with-loadavg --with-inet6 --with-labeled-networking
make CFLAGS="$CFLAGS $(pkg-config --cflags libtirpc)" LDFLAGS="$LDFLAGS $(pkg-config --libs libtirpc) -Wl,-z,relro,-z,now"
%install
%make_install DAEMONDIR=%{buildroot}%{_sbindir} MANDIR=%{buildroot}%{_mandir}
mkdir -m 700 -p %{buildroot}%{_sysconfdir}/xinetd.d
install -Dm644 %{SOURCE1} %{buildroot}%{_unitdir}/xinetd.service
install -m600 contrib/xinetd.conf %{buildroot}%{_sysconfdir}
install -m600 contrib/xinetd.d/* %{buildroot}%{_sysconfdir}/xinetd.d
%post
%systemd_post xinetd
%preun
%systemd_preun xinetd
%postun
%systemd_postun_with_restart xinetd
%files
%doc COPYRIGHT
%config(noreplace) %{_sysconfdir}/xinetd.conf
%config(noreplace) %{_sysconfdir}/xinetd.d/*
%{_unitdir}/xinetd.service
%{_sbindir}/xinetd
%exclude %{_sysconfdir}/xinetd.d/ftp-sensor
%exclude %{_sbindir}/itox
%exclude %{_sbindir}/xconv.pl
%files help
%doc CHANGELOG README xinetd/sample.conf contrib/empty.conf
%{_mandir}/*/*
%exclude %{_mandir}/man8/itox*
%exclude %{_mandir}/man8/xconv.pl*
%changelog
* Wed Oct 26 2022 wuzx<[email protected]> - 2:2.3.15-35
- Type:feature
- CVE:NA
- SUG:NA
- DESC:Add sw64 architecture
* Fri Jun 10 2022 gaihuiying <[email protected]> - 2:2.3.15-34
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:add Restart=on-failure in xinetd.service
* Tue Jun 1 2021 gaihuiying <[email protected]> - 2:2.3.15-33
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:change URL
* Thu May 27 2021 lijingyuan <[email protected]> - 2:2.3.15-32
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Add the compilation dependency of gcc.
* Thu Sep 10 2020 hanzhijun<[email protected]> - 2:2.3.15-31
- solve source url problem
* Mon Aug 03 2020 gaihuiying <[email protected]> - 2:2.3.15-30
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix build error
* Tue Dec 24 2019 openEuler Buildteam <[email protected]> - 2:2.3.15-29
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add the systemd-units in requires
* Thu Sep 12 2019 huzhiyu<[email protected]> - 2:2.3.15-28
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/xinetd.git
[email protected]:src-openeuler/xinetd.git
src-openeuler
xinetd
xinetd
master

搜索帮助