Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
6dd2bd55ac
!14 Fix gcc12 compilation issues
From: @XWwalker 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
2023-07-04 01:38:18 +00:00
xingwei
fa15538c98 Fix gcc12 compilation issues 2023-06-30 12:39:09 +00:00
openeuler-ci-bot
5474682309
!9 修复 clang 构建错误
From: @jammyjellyfish 
Reviewed-by: @leeffo 
Signed-off-by: @leeffo
2023-04-24 08:10:28 +00:00
jammyjellyfish
da5dffff33 Fix clang build error 2023-04-20 17:48:56 +08:00
openeuler-ci-bot
c4de696250
!8 upgrade ypserv to 4.2
From: @XWwalker 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
2022-11-16 08:29:42 +00:00
xingwei
cc4f8228ce upgrade ypserv to 4.2 2022-11-16 06:57:12 +00:00
openeuler-ci-bot
c9c25d6748 !7 ypserv delete -S git from %autosetup, and delete BuildRequires git
From: @yangl777
Reviewed-by: @weidongkl,@small_leek
Signed-off-by: @small_leek
2021-08-13 08:51:59 +00:00
yangl777
46f3f46db5 ypserv delete -S git from %autosetup,and delete Buildrequires git 2021-08-12 15:48:08 +08:00
openeuler-ci-bot
5c528a1223 !4 update url
From: @haochenstar
Reviewed-by: @orange-snn
Signed-off-by: @orange-snn
2020-12-16 14:25:59 +08:00
haochenstar
6013ac104d update url 2020-12-15 18:21:50 +08:00
3 changed files with 38 additions and 5 deletions

Binary file not shown.

BIN
ypserv-4.2.tar.gz Normal file

Binary file not shown.

View File

@ -1,9 +1,9 @@
Name: ypserv
Version: 4.1
Release: 4
Version: 4.2
Release: 3
Summary: The NIS server
License: GPLv2
URL: http://www.linux-nis.org/nis/ypserv/index.html
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
@ -22,7 +22,7 @@ Patch8: ypserv-2.31-netgrprecur.patch
Patch9: ypserv-4.0-headers.patch
Patch10: ypserv-4.0-selinux-context.patch
BuildRequires: gcc git systemd libxslt autoconf automake
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
@ -44,7 +44,7 @@ BuildArch: noarch
The help package contains doc files for ypserv.
%prep
%autosetup -n %{name}-%{version} -p1 -S git
%autosetup -n %{name}-%{version} -p1
rm -f etc/netgroup.5 etc/ypserv.conf.5 makedbm/makedbm.8 mknetid/mknetid.8
autoreconf -i
@ -52,6 +52,12 @@ autoreconf -i
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
@ -105,6 +111,33 @@ install -m 644 etc/ypserv.conf %{buildroot}/%{_sysconfdir}
%{_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