Compare commits
10 Commits
c996092e37
...
cc5b1758d7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc5b1758d7 | ||
|
|
f8a5d6f05a | ||
|
|
1d4fe4afbc | ||
|
|
05978fd144 | ||
|
|
1166fb3ecf | ||
|
|
4d9adf511a | ||
|
|
5c528a1223 | ||
|
|
6013ac104d | ||
|
|
3087a36d70 | ||
|
|
e9544af2e1 |
Binary file not shown.
BIN
ypserv-4.2.tar.gz
Normal file
BIN
ypserv-4.2.tar.gz
Normal file
Binary file not shown.
35
ypserv.spec
35
ypserv.spec
@ -1,9 +1,9 @@
|
||||
Name: ypserv
|
||||
Version: 4.1
|
||||
Release: 4
|
||||
Version: 4.2
|
||||
Release: 2
|
||||
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,10 @@ 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
|
||||
|
||||
%configure --enable-checkroot --enable-fqdn --libexecdir=%{_libdir}/yp \
|
||||
--with-dbmliborder=tokyocabinet --localstatedir=%{_localstatedir} --with-selinux
|
||||
%make_build
|
||||
@ -105,6 +109,27 @@ install -m 644 etc/ypserv.conf %{buildroot}/%{_sysconfdir}
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
|
||||
4
ypserv.yaml
Normal file
4
ypserv.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: thkukuk/ypserv
|
||||
tag_prefix: ^v
|
||||
seperator: .
|
||||
Loading…
x
Reference in New Issue
Block a user