Compare commits
No commits in common. "rawhide" and "f28" have entirely different histories.
3 changed files with 11 additions and 115 deletions
|
|
@ -1,15 +0,0 @@
|
|||
diff -ur yp-tools-4.2.3/src/yppasswd.c yp-tools-4.2.3/src/yppasswd.c
|
||||
--- yp-tools-4.2.3/src/yppasswd.c 2018-03-27 15:47:48.000000000 +0200
|
||||
+++ yp-tools-4.2.3/src/yppasswd.c 2022-08-16 19:02:41.727441211 +0200
|
||||
@@ -689,6 +689,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
+ if (strchr(pwd->pw_passwd, '!') != NULL || strchr(pwd->pw_passwd, '*') != NULL) {
|
||||
+ printf("%s: The account is locked or has no password. Please unlock the account or set an initial password\n", progname);
|
||||
+ return 1;
|
||||
+ }
|
||||
+
|
||||
/* Initialize password information */
|
||||
memset (&yppwd, '\0', sizeof (yppwd));
|
||||
yppwd.newpw.pw_passwd = pwd->pw_passwd;
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
author Filip Januš (fjanus@redhat.com)
|
||||
date 29. 10. 2019
|
||||
|
||||
|
||||
diff -ur yp-tools-4.2.3/src/yppasswd.c yp-tools-master/src/yppasswd.c
|
||||
--- yp-tools-4.2.3/src/yppasswd.c 2018-03-27 15:47:48.000000000 +0200
|
||||
+++ yp-tools-master/src/yppasswd.c 2019-10-29 12:00:29.000000000 +0100
|
||||
@@ -281,6 +281,11 @@
|
||||
CLIENT *clnt;
|
||||
|
||||
clnt = clnt_create (master, YPPROG, YPVERS, "udp");
|
||||
+
|
||||
+ /* clnt_create can return NULL in some cases */
|
||||
+ if (clnt == NULL)
|
||||
+ return NULL;
|
||||
+
|
||||
clnt->cl_auth = authunix_create_default ();
|
||||
|
||||
if (name == NULL)
|
||||
|
|
@ -1,21 +1,15 @@
|
|||
Summary: NIS (or YP) client programs
|
||||
Name: yp-tools
|
||||
Version: 4.2.3
|
||||
Release: 23%{?dist}
|
||||
License: GPL-2.0-only
|
||||
|
||||
URL: https://www.thkukuk.de/nis/nis/yp-tools/
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2
|
||||
Group: System Environment/Base
|
||||
Source: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz
|
||||
|
||||
Patch1: yp-tools-2.12-hash.patch
|
||||
Patch2: yp-tools-2.12-crypt.patch
|
||||
Patch3: yp-tools-2.12-adjunct.patch
|
||||
Patch4: yp-tools-4.2.2-strict-prototypes.patch
|
||||
Patch5: yp-tools-4.2.3-yppasswd.patch
|
||||
Patch6: yp-tools-4.2.3-yppasswd-exclamation_mark.patch
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: libxcrypt-devel
|
||||
Url: http://www.linux-nis.org/nis/yp-tools/index.html
|
||||
BuildRequires: autoconf, automake, gettext-devel, libtool, libtirpc-devel, libnsl2-devel
|
||||
Requires: ypbind >= 3:2.4-2
|
||||
Requires: glibc
|
||||
|
|
@ -44,6 +38,7 @@ you'll need to install the ypserv package on one machine on the network.
|
|||
|
||||
%package devel
|
||||
Summary: NIS (or YP) client programs
|
||||
Group: System Environment/Base
|
||||
Requires: yp-tools
|
||||
|
||||
%description devel
|
||||
|
|
@ -51,7 +46,12 @@ Install yp-tools-devel package for developing applications that use yp-tools
|
|||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch1 -p1 -b .hash
|
||||
%patch2 -p1 -b .crypt
|
||||
%patch3 -p1 -b .adjunct
|
||||
%patch4 -p1 -b .strict-prototypes
|
||||
|
||||
|
||||
autoreconf -i -f -v
|
||||
|
||||
|
|
@ -59,7 +59,6 @@ autoreconf -i -f -v
|
|||
|
||||
export CFLAGS="$CFLAGS %{optflags} -Wno-cast-function-type"
|
||||
|
||||
# If needed the yppasswd can be deprecated by --enable-call-passwd
|
||||
%configure --disable-domainname
|
||||
|
||||
%make_build
|
||||
|
|
@ -80,75 +79,6 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install
|
|||
/var/yp/nicknames
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-23
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-22
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sat Feb 01 2025 Björn Esser <besser82@fedoraproject.org> - 4.2.3-20
|
||||
- Add explicit BR: libxcrypt-devel
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Tue Jan 30 2024 Ondrej Sloup <osloup@redhat.com> - 4.2.3-17
|
||||
- Update license tag to the SPDX format (GPL-2.0-only)
|
||||
- Fix /etc/passwd flags for locked and deactivated account (rhbz#2093381)
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Nov 12 2021 Björn Esser <besser82@fedoraproject.org> - 4.2.3-11
|
||||
- Rebuild(libnsl2)
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Tue Oct 29 2019 Filip Januš <fjanus@redhat.com> - 4.2.3-6
|
||||
- Add yppasswd patch
|
||||
- Bug https://bugzilla.redhat.com/show_bug.cgi?id=1671452
|
||||
- Pull request https://github.com/thkukuk/yp-tools/pull/7
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Mon Jan 14 2019 Björn Esser <besser82@fedoraproject.org> - 4.2.3-3
|
||||
- Rebuilt for libcrypt.so.2 (#1666033)
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Apr 19 2018 Petr Kubat <pkubat@redhat.com> - 4.2.3-1
|
||||
- Update to version 4.2.3
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue