代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/yp-tools 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global __filter_GLIBC_PRIVATE 1
Name: yp-tools
Version: 4.2.3
Release: 7
Summary: Network Information Service (YP) client utilities
License: GPLv2
URL: https://github.com/thkukuk/yp-tools
Source0: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz
Patch0: yp-tools-2.12-hash.patch
Patch1: yp-tools-2.12-crypt.patch
Patch2: yp-tools-2.12-adjunct.patch
Patch3: yp-tools-4.2.2-strict-prototypes.patch
Patch9000: huawei-replace-random-with-RAND_priv_bytes.patch
BuildRequires: autoconf automake libtool
BuildRequires: gettext-devel libtirpc-devel libnsl2-devel openssl-devel
Requires: ypbind >= 3:2.4-2 glibc openssl-libs
%description
This package provides NIS client programs.NIS,Network Information
Service,provides passwords,groupinformation and other network information
to machines on a network.It is also known as Sun Yellow Pages.
You need to install ypbind on machine which runs NIS programs.
%package help
Summary: Doc files for yp-tools
Buildarch: noarch
%description help
The help package contains doc files for yp-tools.
%prep
%autosetup -n %{name}-%{version} -p1
autoreconf -ifv
%build
export CFLAGS="$CFLAGS %{optflags} -Wno-cast-function-type -lcrypto"
%configure --disable-domainname
%make_build
%install
%make_install
%find_lang %{name}
%files -f %{name}.lang
%doc COPYING AUTHORS THANKS etc/nsswitch.conf
%{_sbindir}/*
%{_bindir}/*
/var/yp/nicknames
%files help
%doc README NEWS ChangeLog
%{_mandir}/*/*
%changelog
* Wed Aug 25 2021 heyaohua<[email protected]> - 4.2.3-7
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:replace random with RAND_priv_bytes
* Fri Jul 30 2021 chenyanpanHW <[email protected]> - 4.2.3-6
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Tue Dec 15 2020 xihaochen <[email protected]> - 4.2.3-5
- Type:requirement
- ID:NA
- SUG:NA
- DESC:update url
* Thu Nov 7 2019 openEuler Buildteam <[email protected]> - 4.2.3-4
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:modify the release
* Fri Aug 30 2019 luhuaxin <[email protected]> - 4.2.3-3
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。