Compare commits
No commits in common. "imports/c8s/yp-tools-4.2.3-1.el8" and "c8s" have entirely different histories.
imports/c8
...
c8s
8
.gitignore
vendored
8
.gitignore
vendored
@ -1 +1,7 @@
|
||||
SOURCES/v4.2.3.tar.gz
|
||||
yp-tools-2.11.tar.bz2
|
||||
/yp-tools-2.12.tar.bz2
|
||||
/yp-tools-2.14.tar.bz2
|
||||
/yp-tools-3.0.1.tar.bz2
|
||||
/yp-tools-3.3.tar.bz2
|
||||
/yp-tools-yp-tools-4.2.2.tar.gz
|
||||
/v4.2.3.tar.gz
|
||||
|
@ -1 +0,0 @@
|
||||
cc4a69be612195ccd5ddcc9bc39f01d4e1a8041b SOURCES/v4.2.3.tar.gz
|
8
gating.yaml
Normal file
8
gating.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-8
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
|
||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1-gating-ypserv.functional}
|
||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1-gating-ypbind.functional}
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
||||
SHA512 (v4.2.3.tar.gz) = 2fcdaaeb8af4c3f62aa571a488c04561356681fc18b919ef728cfc1941578870cce74b136959f49e4ab04f988a79252163c1abe30b357788cb0b5faca7b5d147
|
24
yp-tools-3.3-no-nss-nis6.patch
Normal file
24
yp-tools-3.3-no-nss-nis6.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff -ru yp-tools-3.3-orig/Makefile.am yp-tools-3.3/Makefile.am
|
||||
--- yp-tools-3.3-orig/Makefile.am 2014-10-29 15:28:02.000000000 +0100
|
||||
+++ yp-tools-3.3/Makefile.am 2014-12-10 18:47:11.864137423 +0100
|
||||
@@ -5,7 +5,7 @@
|
||||
#
|
||||
AUTOMAKE_OPTIONS = 1.5 gnits dist-bzip2
|
||||
#
|
||||
-SUBDIRS = lib src nss_nis6 po man etc
|
||||
+SUBDIRS = lib src po man etc
|
||||
|
||||
CLEANFILES = *~
|
||||
|
||||
diff -ru yp-tools-3.3-orig/Makefile.in yp-tools-3.3/Makefile.in
|
||||
--- yp-tools-3.3-orig/Makefile.in 2014-12-05 12:44:37.000000000 +0100
|
||||
+++ yp-tools-3.3/Makefile.in 2014-12-10 18:16:20.996550012 +0100
|
||||
@@ -382,7 +382,7 @@
|
||||
#
|
||||
AUTOMAKE_OPTIONS = 1.5 gnits dist-bzip2
|
||||
#
|
||||
-SUBDIRS = lib src nss_nis6 po man etc
|
||||
+SUBDIRS = lib src po man etc
|
||||
CLEANFILES = *~
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
M4_FILES = m4/getline.m4
|
15
yp-tools-4.2.3-yppasswd-exclamation_mark.patch
Normal file
15
yp-tools-4.2.3-yppasswd-exclamation_mark.patch
Normal file
@ -0,0 +1,15 @@
|
||||
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.\nPlease use 'passwd' or other tools that support this change. For more information, please check man pages 'passwd(5)' or 'shadow(5)'\n", progname);
|
||||
+ return 1;
|
||||
+ }
|
||||
+
|
||||
/* Initialize password information */
|
||||
memset (&yppwd, '\0', sizeof (yppwd));
|
||||
yppwd.newpw.pw_passwd = pwd->pw_passwd;
|
@ -1,7 +1,7 @@
|
||||
Summary: NIS (or YP) client programs
|
||||
Name: yp-tools
|
||||
Version: 4.2.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2
|
||||
Group: System Environment/Base
|
||||
Source: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz
|
||||
@ -9,6 +9,7 @@ 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-exclamation_mark.patch
|
||||
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
|
||||
@ -46,12 +47,7 @@ Install yp-tools-devel package for developing applications that use yp-tools
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch1 -p1 -b .hash
|
||||
%patch2 -p1 -b .crypt
|
||||
%patch3 -p1 -b .adjunct
|
||||
%patch4 -p1 -b .strict-prototypes
|
||||
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
autoreconf -i -f -v
|
||||
|
||||
@ -59,6 +55,7 @@ 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
|
||||
@ -79,6 +76,11 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install
|
||||
/var/yp/nicknames
|
||||
|
||||
%changelog
|
||||
* Wed Aug 03 2022 Ondrej Sloup <osloup@redhat.com> - 4.2.3-2
|
||||
- Fix /etc/passwd flags for locked and deactivated account
|
||||
- Use autosetup
|
||||
Resolves: 2093381
|
||||
|
||||
* Thu Apr 19 2018 Petr Kubat <pkubat@redhat.com> - 4.2.3-1
|
||||
- Update to version 4.2.3
|
||||
|
Loading…
Reference in New Issue
Block a user