Projects
Eulaceura:Factory
ypserv
_service:obs_scm:ypserv.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:ypserv.spec of Package ypserv
Name: ypserv Version: 4.2 Release: 3 Summary: The NIS server License: GPLv2 URL: https://github.com/thkukuk/ypserv Source0: https://github.com/thkukuk/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: ypserv.service Source2: yppasswdd.service Source3: ypxfrd.service Source4: rpc.yppasswdd.env Source5: yppasswdd-pre-setdomain Source6: yppasswdd Patch1: ypserv-2.5-nfsnobody2.patch Patch2: ypserv-2.13-ypxfr-zeroresp.patch Patch3: ypserv-2.13-nonedomain.patch Patch4: ypserv-2.19-slp-warning.patch Patch5: ypserv-4.0-manfix.patch Patch6: ypserv-2.24-aliases.patch Patch7: ypserv-2.27-confpost.patch Patch8: ypserv-2.31-netgrprecur.patch Patch9: ypserv-4.0-headers.patch Patch10: ypserv-4.0-selinux-context.patch BuildRequires: gcc systemd libxslt autoconf automake BuildRequires: docbook-style-xsl tokyocabinet-devel libnsl2-devel BuildRequires: libtirpc-devel systemd-devel libselinux-devel Requires: tokyocabinet gawk make portmap bash >= 2.0 Requires(pre): hostname Requires(post): systemd Requires(preun): systemd Requires(postun): systemd %description The ypserv distributes NIS databases to client systems.The client must run ypbind.The databases are stored in /var/yp/[domainname]. The domainname is the name of the domain being served. %package help Summary: Doc files for ypserv BuildArch: noarch %description help The help package contains doc files for ypserv. %prep %autosetup -n %{name}-%{version} -p1 rm -f etc/netgroup.5 etc/ypserv.conf.5 makedbm/makedbm.8 mknetid/mknetid.8 autoreconf -i %build cp etc/README etc/README.etc export CFLAGS="$RPM_OPT_FLAGS -fpic" %if "%toolchain" == "clang" export CFLAGS="$CFLAGS -Wno-error=strict-prototypes" %endif export CFLAGS="$CFLAGS -Wno-format-overflow" %configure --enable-checkroot --enable-fqdn --libexecdir=%{_libdir}/yp \ --with-dbmliborder=tokyocabinet --localstatedir=%{_localstatedir} --with-selinux %make_build %install %make_install mkdir -p %{buildroot}/%{_libexecdir} mkdir -p %{buildroot}/%{_sysconfdir} mkdir -p %{buildroot}/%{_unitdir} mkdir -p %{buildroot}/etc/sysconfig install -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}/ypserv.service install -m 644 %{SOURCE2} %{buildroot}/%{_unitdir}/yppasswdd.service install -m 644 %{SOURCE3} %{buildroot}/%{_unitdir}/ypxfrd.service install -m 755 %{SOURCE4} %{buildroot}/%{_libexecdir}/rpc.yppasswdd.env install -m 755 %{SOURCE5} %{buildroot}/%{_libexecdir}/yppasswdd-pre-setdomain install -m 644 %{SOURCE6} %{buildroot}/etc/sysconfig/yppasswdd install -m 644 etc/ypserv.conf %{buildroot}/%{_sysconfdir} %pre %preun %systemd_preun ypserv.service %systemd_preun ypxfrd.service %systemd_preun yppasswdd.service %post %systemd_post ypserv.service %systemd_post ypxfrd.service %systemd_post yppasswdd.service %postun %systemd_postun_with_restart ypserv.service %systemd_postun_with_restart ypxfrd.service %systemd_postun_with_restart yppasswdd.service %files %doc COPYING AUTHORS %doc etc/ypserv.conf etc/README.etc etc/securenets %doc etc/netgroup etc/timezone etc/locale etc/netmasks %config(noreplace) %{_sysconfdir}/ypserv.conf %config(noreplace) %{_sysconfdir}/sysconfig/yppasswdd %{_unitdir}/*.service %{_includedir}/rpcsvc/ypxfrd.x %{_libdir}/yp/* %{_sbindir}/* %{_libexecdir}/* %config(noreplace) /var/yp/* %files help %doc README INSTALL TODO NEWS ChangeLog %{_mandir}/*/* %changelog * Fri Jun 30 2023 xingwei <xingwei14@h-partners.com> - 4.2-3 - Type:bugfix - ID:NA - SUG:NA - DESC:Fix gcc12 compilation issues * Thu Apr 20 2023 jammyjellyfish <jammyjellyfish255@outlook.com> - 4.2-2 - Type:requirement - ID:NA - SUG:NA - DESC:Fix clang build error * Tue Nov 15 2022 xingwei <xingwei14@h-partners.com> - 4.2-1 - Type:requirement - ID:NA - SUG:NA - DESC:upgrade ypserv to 4.2 * Thu Aug 12 2021 yanglu <yanglu72@huawei.com> - 4.1-6 - DESC:delete -S git from %autosetup,and delete BuildRequires git * Tue Dec 15 2020 xihaochen <xihaochen@huawei.com> - 4.1-5 - Type:requirement - ID:NA - SUG:NA - DESC:update url * Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.1-4 - optimization the spec * Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.1-3 - delete unused patch * Thu Nov 7 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.1-2 - Type:enhancement - Id:NA - SUG:NA - DESC:modify the release * Mon Sep 9 2019 luhuaxin <luhuaxin@huawei.com> - 4.1-1 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2