samba ver. bump
This commit is contained in:
@@ -0,0 +1,106 @@
|
||||
diff -Nuar a/nsswitch/nsstest.c b/nsswitch/nsstest.c
|
||||
--- a/nsswitch/nsstest.c 2019-12-06 12:46:56.000000000 +0300
|
||||
+++ b/nsswitch/nsstest.c 2020-11-03 13:50:40.318374062 +0300
|
||||
@@ -137,7 +137,7 @@
|
||||
return &pwd;
|
||||
}
|
||||
|
||||
-static void nss_setpwent(void)
|
||||
+static void nss_setpwent2(void)
|
||||
{
|
||||
NSS_STATUS (*_nss_setpwent)(void) =
|
||||
(NSS_STATUS(*)(void))find_fn("setpwent");
|
||||
@@ -146,13 +146,13 @@
|
||||
if (!_nss_setpwent)
|
||||
return;
|
||||
|
||||
- status = _nss_setpwent();
|
||||
+ status = _nss_setpwent2();
|
||||
if (status != NSS_STATUS_SUCCESS) {
|
||||
report_nss_error("setpwent", status);
|
||||
}
|
||||
}
|
||||
|
||||
-static void nss_endpwent(void)
|
||||
+static void nss_endpwent2(void)
|
||||
{
|
||||
NSS_STATUS (*_nss_endpwent)(void) =
|
||||
(NSS_STATUS (*)(void))find_fn("endpwent");
|
||||
@@ -161,7 +161,7 @@
|
||||
if (!_nss_endpwent)
|
||||
return;
|
||||
|
||||
- status = _nss_endpwent();
|
||||
+ status = _nss_endpwent2();
|
||||
if (status != NSS_STATUS_SUCCESS) {
|
||||
report_nss_error("endpwent", status);
|
||||
}
|
||||
@@ -290,7 +290,7 @@
|
||||
return &grp;
|
||||
}
|
||||
|
||||
-static void nss_setgrent(void)
|
||||
+static void nss_setgrent2(void)
|
||||
{
|
||||
NSS_STATUS (*_nss_setgrent)(void) =
|
||||
(NSS_STATUS (*)(void))find_fn("setgrent");
|
||||
@@ -299,13 +299,13 @@
|
||||
if (!_nss_setgrent)
|
||||
return;
|
||||
|
||||
- status = _nss_setgrent();
|
||||
+ status = _nss_setgrent2();
|
||||
if (status != NSS_STATUS_SUCCESS) {
|
||||
report_nss_error("setgrent", status);
|
||||
}
|
||||
}
|
||||
|
||||
-static void nss_endgrent(void)
|
||||
+static void nss_endgrent2(void)
|
||||
{
|
||||
NSS_STATUS (*_nss_endgrent)(void) =
|
||||
(NSS_STATUS (*)(void))find_fn("endgrent");
|
||||
@@ -314,7 +314,7 @@
|
||||
if (!_nss_endgrent)
|
||||
return;
|
||||
|
||||
- status = _nss_endgrent();
|
||||
+ status = _nss_endgrent2();
|
||||
if (status != NSS_STATUS_SUCCESS) {
|
||||
report_nss_error("endgrent", status);
|
||||
}
|
||||
@@ -402,7 +402,7 @@
|
||||
{
|
||||
struct passwd *pwd;
|
||||
|
||||
- nss_setpwent();
|
||||
+ nss_setpwent2();
|
||||
/* loop over all users */
|
||||
while ((pwd = nss_getpwent())) {
|
||||
printf("Testing user %s\n", pwd->pw_name);
|
||||
@@ -424,14 +424,14 @@
|
||||
printf("initgroups: "); nss_test_initgroups(pwd->pw_name, pwd->pw_gid);
|
||||
printf("\n");
|
||||
}
|
||||
- nss_endpwent();
|
||||
+ nss_endpwent2();
|
||||
}
|
||||
|
||||
static void nss_test_groups(void)
|
||||
{
|
||||
struct group *grp;
|
||||
|
||||
- nss_setgrent();
|
||||
+ nss_setgrent2();
|
||||
/* loop over all groups */
|
||||
while ((grp = nss_getgrent())) {
|
||||
printf("Testing group %s\n", grp->gr_name);
|
||||
@@ -452,7 +452,7 @@
|
||||
printf("getgrgid: "); print_group(grp);
|
||||
printf("\n");
|
||||
}
|
||||
- nss_endgrent();
|
||||
+ nss_endgrent2();
|
||||
}
|
||||
|
||||
static void nss_test_errors(void)
|
||||
File diff suppressed because it is too large
Load Diff
+11
-1
@@ -12,7 +12,7 @@
|
||||
<IsA>service</IsA>
|
||||
<Summary>A suite of SMB and CIFS client/server programs for UNIX</Summary>
|
||||
<Description>samba is a free software implementation of Microsoft's networking protocol released under the GNU General Public License. As of version 4, Samba not only provides file and print services for various Microsoft Windows clients but can also integrate with a Windows Server domain, either as a Primary Domain Controller (PDC) or as a Domain Member. It can also be part of an Active Directory domain.</Description>
|
||||
<Archive sha1sum="d06abddcbb5ec1800f30ac2f9b760515e3f2f2ce" type="targz">https://download.samba.org/pub/samba/samba-4.11.5.tar.gz</Archive>
|
||||
<Archive sha1sum="69787e767b237c434d3152f0314c0fcacd56d51d" type="targz">https://download.samba.org/pub/samba/samba-4.13.3.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>keyutils</Dependency>
|
||||
<Dependency>acl-devel</Dependency>
|
||||
@@ -55,6 +55,9 @@
|
||||
<Dependency versionFrom="1.2.12">libtdb-devel</Dependency>
|
||||
<Dependency versionFrom="2.1.26">cyrus-sasl-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">samba-4.13-redhat.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
@@ -145,6 +148,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="8">
|
||||
<Date>2020-12-18</Date>
|
||||
<Version>4.13.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2020-01-19</Date>
|
||||
<Version>4.11.5</Version>
|
||||
|
||||
Reference in New Issue
Block a user