|
@@ -1,8 +1,9 @@
|
|
|
|
+%bcond_with ja_docs
|
|
%bcond_with systemd
|
|
%bcond_with systemd
|
|
%bcond_with tracker
|
|
%bcond_with tracker
|
|
%bcond_without pidl
|
|
%bcond_without pidl
|
|
|
|
|
|
-%define samba_version 4.18.2
|
|
+%define samba_version 4.19.2
|
|
#define rc_number rc4
|
|
#define rc_number rc4
|
|
%define samba_release 1
|
|
%define samba_release 1
|
|
|
|
|
|
@@ -50,8 +51,10 @@ URL: http://www.samba.org/
|
|
Source: https://download.samba.org/pub/samba/stable/samba-%{version}%{?rc_number}.tar.gz
|
|
Source: https://download.samba.org/pub/samba/stable/samba-%{version}%{?rc_number}.tar.gz
|
|
# Vine specific replacement-files
|
|
# Vine specific replacement-files
|
|
Source1: samba.log
|
|
Source1: samba.log
|
|
|
|
+%if %{with ja_docs}
|
|
# https://ja.osdn.net/projects/samba-jp/releases/
|
|
# https://ja.osdn.net/projects/samba-jp/releases/
|
|
Source2: https://ja.osdn.net/dl/samba-jp/samba-ja-docs-%{doc_version}.tar.gz
|
|
Source2: https://ja.osdn.net/dl/samba-jp/samba-ja-docs-%{doc_version}.tar.gz
|
|
|
|
+%endif
|
|
Source5: pam_winbind.conf
|
|
Source5: pam_winbind.conf
|
|
Source6: samba.pamd
|
|
Source6: samba.pamd
|
|
|
|
|
|
@@ -467,10 +470,12 @@ the Samba suite.
|
|
%prep
|
|
%prep
|
|
%setup -q -n samba-%{samba_version}%{?rc_number}
|
|
%setup -q -n samba-%{samba_version}%{?rc_number}
|
|
|
|
|
|
|
|
+%if %{with ja_docs}
|
|
mkdir -p docs-ja
|
|
mkdir -p docs-ja
|
|
pushd docs-ja
|
|
pushd docs-ja
|
|
tar zxf %{SOURCE2}
|
|
tar zxf %{SOURCE2}
|
|
popd
|
|
popd
|
|
|
|
+%endif
|
|
|
|
|
|
## ====================================================================
|
|
## ====================================================================
|
|
%build
|
|
%build
|
|
@@ -656,6 +661,7 @@ touch %{buildroot}%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
|
|
# the ldconfig-created links be recorded in the RPM.
|
|
# the ldconfig-created links be recorded in the RPM.
|
|
/sbin/ldconfig -N -n %{buildroot}%{_libdir}
|
|
/sbin/ldconfig -N -n %{buildroot}%{_libdir}
|
|
|
|
|
|
|
|
+%if %{with ja_docs}
|
|
rm -rf docs-ja
|
|
rm -rf docs-ja
|
|
mkdir -p docs-ja
|
|
mkdir -p docs-ja
|
|
pushd docs-ja
|
|
pushd docs-ja
|
|
@@ -670,6 +676,7 @@ find docs-ja/docs-xml/output/manpages/ -type f| while read f; do
|
|
done
|
|
done
|
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/ja/man1/winexe.1*
|
|
rm -f %{buildroot}%{_mandir}/ja/man1/winexe.1*
|
|
|
|
+%endif
|
|
|
|
|
|
|
|
|
|
## ====================================================================
|
|
## ====================================================================
|
|
@@ -921,7 +928,9 @@ fi
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%license COPYING
|
|
%license COPYING
|
|
%doc PFIF.txt README.md README.contributing VERSION WHATSNEW.txt
|
|
%doc PFIF.txt README.md README.contributing VERSION WHATSNEW.txt
|
|
|
|
+%if %{with ja_docs}
|
|
%doc docs-ja/docs-xml/output/htmldocs
|
|
%doc docs-ja/docs-xml/output/htmldocs
|
|
|
|
+%endif
|
|
%{_bindir}/dumpmscat
|
|
%{_bindir}/dumpmscat
|
|
%{_bindir}/ldbadd
|
|
%{_bindir}/ldbadd
|
|
%{_bindir}/ldbdel
|
|
%{_bindir}/ldbdel
|
|
@@ -1019,6 +1028,7 @@ fi
|
|
%{_mandir}/man8/vfs_worm.8*
|
|
%{_mandir}/man8/vfs_worm.8*
|
|
%{_mandir}/man8/vfs_widelinks.8*
|
|
%{_mandir}/man8/vfs_widelinks.8*
|
|
%{_mandir}/man8/vfs_xattr_tdb.8*
|
|
%{_mandir}/man8/vfs_xattr_tdb.8*
|
|
|
|
+%if %{with ja_docs}
|
|
# ja manuals
|
|
# ja manuals
|
|
%{_mandir}/ja/man1/mvxattr.1*
|
|
%{_mandir}/ja/man1/mvxattr.1*
|
|
%{_mandir}/ja/man1/smbstatus.1*
|
|
%{_mandir}/ja/man1/smbstatus.1*
|
|
@@ -1077,7 +1087,7 @@ fi
|
|
%{_mandir}/ja/man8/vfs_widelinks.8*
|
|
%{_mandir}/ja/man8/vfs_widelinks.8*
|
|
%{_mandir}/ja/man8/vfs_xattr_tdb.8*
|
|
%{_mandir}/ja/man8/vfs_xattr_tdb.8*
|
|
%{_mandir}/ja/man8/vfs_zfsacl.8*
|
|
%{_mandir}/ja/man8/vfs_zfsacl.8*
|
|
-
|
|
+%endif
|
|
## --------------------------------------------------------------------
|
|
## --------------------------------------------------------------------
|
|
%files libs
|
|
%files libs
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
@@ -1228,8 +1238,10 @@ fi
|
|
%{_libdir}/libsmbclient.so.*
|
|
%{_libdir}/libsmbclient.so.*
|
|
%{_libdir}/libsmbsharemodes.so.*
|
|
%{_libdir}/libsmbsharemodes.so.*
|
|
%{_mandir}/man7/libsmbclient.7.gz
|
|
%{_mandir}/man7/libsmbclient.7.gz
|
|
|
|
+%if %{with ja_docs}
|
|
# ja manual
|
|
# ja manual
|
|
%{_mandir}/ja/man7/libsmbclient.7.gz
|
|
%{_mandir}/ja/man7/libsmbclient.7.gz
|
|
|
|
+%endif
|
|
%endif # ! with_libsmbclient
|
|
%endif # ! with_libsmbclient
|
|
|
|
|
|
%if ! %with_libwbclient
|
|
%if ! %with_libwbclient
|
|
@@ -1246,6 +1258,7 @@ fi
|
|
%{_bindir}/net
|
|
%{_bindir}/net
|
|
%{_bindir}/pdbedit
|
|
%{_bindir}/pdbedit
|
|
%{_bindir}/profiles
|
|
%{_bindir}/profiles
|
|
|
|
+%{_bindir}/samba-log-parser
|
|
%{_bindir}/smbcontrol
|
|
%{_bindir}/smbcontrol
|
|
%{_bindir}/testparm
|
|
%{_bindir}/testparm
|
|
#%{_datadir}/samba/codepages
|
|
#%{_datadir}/samba/codepages
|
|
@@ -1263,12 +1276,14 @@ fi
|
|
%config(noreplace) %{_sysconfdir}/samba/lmhosts
|
|
%config(noreplace) %{_sysconfdir}/samba/lmhosts
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/samba
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/samba
|
|
%{_mandir}/man1/profiles.1.gz
|
|
%{_mandir}/man1/profiles.1.gz
|
|
|
|
+%{_mandir}/man1/samba-log-parser.1*
|
|
%{_mandir}/man1/smbcontrol.1.gz
|
|
%{_mandir}/man1/smbcontrol.1.gz
|
|
%{_mandir}/man1/testparm.1.gz
|
|
%{_mandir}/man1/testparm.1.gz
|
|
%{_mandir}/man5/lmhosts.5.gz
|
|
%{_mandir}/man5/lmhosts.5.gz
|
|
%{_mandir}/man5/smb.conf.5.gz
|
|
%{_mandir}/man5/smb.conf.5.gz
|
|
%{_mandir}/man8/net.8.gz
|
|
%{_mandir}/man8/net.8.gz
|
|
%{_mandir}/man8/pdbedit.8.gz
|
|
%{_mandir}/man8/pdbedit.8.gz
|
|
|
|
+%if %{with ja_docs}
|
|
# ja manuals
|
|
# ja manuals
|
|
%{_mandir}/ja/man1/profiles.1.gz
|
|
%{_mandir}/ja/man1/profiles.1.gz
|
|
%{_mandir}/ja/man1/smbcontrol.1.gz
|
|
%{_mandir}/ja/man1/smbcontrol.1.gz
|
|
@@ -1277,6 +1292,7 @@ fi
|
|
%{_mandir}/ja/man5/smb.conf.5.gz
|
|
%{_mandir}/ja/man5/smb.conf.5.gz
|
|
%{_mandir}/ja/man8/net.8.gz
|
|
%{_mandir}/ja/man8/net.8.gz
|
|
%{_mandir}/ja/man8/pdbedit.8.gz
|
|
%{_mandir}/ja/man8/pdbedit.8.gz
|
|
|
|
+%endif
|
|
|
|
|
|
# common libraries
|
|
# common libraries
|
|
%{_libdir}/samba/libgenrand-samba4.so
|
|
%{_libdir}/samba/libgenrand-samba4.so
|
|
@@ -1293,6 +1309,8 @@ fi
|
|
%{_libdir}/libdcerpc-samr.so.*
|
|
%{_libdir}/libdcerpc-samr.so.*
|
|
%{_libdir}/libdcerpc-server.so.*
|
|
%{_libdir}/libdcerpc-server.so.*
|
|
%{_libdir}/libsamba-policy.*.so.*
|
|
%{_libdir}/libsamba-policy.*.so.*
|
|
|
|
+%{_libdir}/samba/libad-claims-samba4.so
|
|
|
|
+%{_libdir}/samba/libauthn-policy-util-samba4.so
|
|
%{_libdir}/samba/libHDB-SAMBA4-samba4.so
|
|
%{_libdir}/samba/libHDB-SAMBA4-samba4.so
|
|
%{_libdir}/samba/libdnsserver-common-samba4.so
|
|
%{_libdir}/samba/libdnsserver-common-samba4.so
|
|
%{_libdir}/samba/libscavenge-dns-records-samba4.so
|
|
%{_libdir}/samba/libscavenge-dns-records-samba4.so
|
|
@@ -1330,10 +1348,12 @@ fi
|
|
%{_mandir}/man8/samba-tool.8*
|
|
%{_mandir}/man8/samba-tool.8*
|
|
%{_mandir}/man8/samba_downgrade_db.8.gz
|
|
%{_mandir}/man8/samba_downgrade_db.8.gz
|
|
%{_mandir}/man8/samba-gpupdate.8*
|
|
%{_mandir}/man8/samba-gpupdate.8*
|
|
|
|
+%if %{with ja_docs}
|
|
# ja manuals
|
|
# ja manuals
|
|
%{_mandir}/ja/man8/samba.8*
|
|
%{_mandir}/ja/man8/samba.8*
|
|
%{_mandir}/ja/man8/samba-tool.8*
|
|
%{_mandir}/ja/man8/samba-tool.8*
|
|
%{_mandir}/ja/man8/samba_downgrade_db.8.gz
|
|
%{_mandir}/ja/man8/samba_downgrade_db.8.gz
|
|
|
|
+%endif
|
|
|
|
|
|
## --------------------------------------------------------------------
|
|
## --------------------------------------------------------------------
|
|
%files winbind
|
|
%files winbind
|
|
@@ -1355,10 +1375,12 @@ fi
|
|
%else
|
|
%else
|
|
%{_initrddir}/winbind
|
|
%{_initrddir}/winbind
|
|
%endif
|
|
%endif
|
|
|
|
+%if %{with ja_docs}
|
|
# ja manuals
|
|
# ja manuals
|
|
%{_mandir}/ja/man5/pam_winbind.conf.5*
|
|
%{_mandir}/ja/man5/pam_winbind.conf.5*
|
|
%{_mandir}/ja/man8/winbindd.8*
|
|
%{_mandir}/ja/man8/winbindd.8*
|
|
%{_mandir}/ja/man8/idmap_*.8*
|
|
%{_mandir}/ja/man8/idmap_*.8*
|
|
|
|
+%endif
|
|
|
|
|
|
## --------------------------------------------------------------------
|
|
## --------------------------------------------------------------------
|
|
%files winbind-krb5-locator
|
|
%files winbind-krb5-locator
|
|
@@ -1367,8 +1389,10 @@ fi
|
|
%{_libdir}/samba/krb5/winbind_krb5_locator.so
|
|
%{_libdir}/samba/krb5/winbind_krb5_locator.so
|
|
%{_libdir}/samba/krb5/async_dns_krb5_locator.so
|
|
%{_libdir}/samba/krb5/async_dns_krb5_locator.so
|
|
%{_mandir}/man8/winbind_krb5_locator.8*
|
|
%{_mandir}/man8/winbind_krb5_locator.8*
|
|
|
|
+%if %{with ja_docs}
|
|
# ja manual
|
|
# ja manual
|
|
%{_mandir}/ja/man8/winbind_krb5_locator.8*
|
|
%{_mandir}/ja/man8/winbind_krb5_locator.8*
|
|
|
|
+%endif
|
|
|
|
|
|
## --------------------------------------------------------------------
|
|
## --------------------------------------------------------------------
|
|
%files winbind-clients
|
|
%files winbind-clients
|
|
@@ -1384,10 +1408,12 @@ fi
|
|
%{_mandir}/man1/ntlm_auth.1.gz
|
|
%{_mandir}/man1/ntlm_auth.1.gz
|
|
%{_mandir}/man1/wbinfo.1.gz
|
|
%{_mandir}/man1/wbinfo.1.gz
|
|
%{_mandir}/man8/pam_winbind.8.gz
|
|
%{_mandir}/man8/pam_winbind.8.gz
|
|
|
|
+%if %{with ja_docs}
|
|
# ja manuals
|
|
# ja manuals
|
|
%{_mandir}/ja/man1/ntlm_auth.1.gz
|
|
%{_mandir}/ja/man1/ntlm_auth.1.gz
|
|
%{_mandir}/ja/man1/wbinfo.1.gz
|
|
%{_mandir}/ja/man1/wbinfo.1.gz
|
|
%{_mandir}/ja/man8/pam_winbind.8.gz
|
|
%{_mandir}/ja/man8/pam_winbind.8.gz
|
|
|
|
+%endif
|
|
|
|
|
|
## --------------------------------------------------------------------
|
|
## --------------------------------------------------------------------
|
|
%files client
|
|
%files client
|
|
@@ -1439,7 +1465,6 @@ fi
|
|
%{_mandir}/man1/smbget.1.gz
|
|
%{_mandir}/man1/smbget.1.gz
|
|
%{_mandir}/man1/smbtar.1.gz
|
|
%{_mandir}/man1/smbtar.1.gz
|
|
%{_mandir}/man1/smbtree.1.gz
|
|
%{_mandir}/man1/smbtree.1.gz
|
|
-%{_mandir}/man5/smbgetrc.5.gz
|
|
|
|
%{_mandir}/man5/smbpasswd.5.gz
|
|
%{_mandir}/man5/smbpasswd.5.gz
|
|
%{_mandir}/man7/traffic_learner.7.gz
|
|
%{_mandir}/man7/traffic_learner.7.gz
|
|
%{_mandir}/man7/traffic_replay.7.gz
|
|
%{_mandir}/man7/traffic_replay.7.gz
|
|
@@ -1448,6 +1473,7 @@ fi
|
|
%{_mandir}/man8/smbpasswd.8.gz
|
|
%{_mandir}/man8/smbpasswd.8.gz
|
|
%{_mandir}/man8/smbspool.8.gz
|
|
%{_mandir}/man8/smbspool.8.gz
|
|
%{_mandir}/man8/smbspool_krb5_wrapper.8.gz
|
|
%{_mandir}/man8/smbspool_krb5_wrapper.8.gz
|
|
|
|
+%if %{with ja_docs}
|
|
#ja manuals
|
|
#ja manuals
|
|
%{_mandir}/ja/man1/dbwrap_tool.1.gz
|
|
%{_mandir}/ja/man1/dbwrap_tool.1.gz
|
|
#{_mandir}/ja/man1/findsmb.1.gz
|
|
#{_mandir}/ja/man1/findsmb.1.gz
|
|
@@ -1462,7 +1488,6 @@ fi
|
|
%{_mandir}/ja/man1/smbget.1.gz
|
|
%{_mandir}/ja/man1/smbget.1.gz
|
|
%{_mandir}/ja/man1/smbtar.1.gz
|
|
%{_mandir}/ja/man1/smbtar.1.gz
|
|
%{_mandir}/ja/man1/smbtree.1.gz
|
|
%{_mandir}/ja/man1/smbtree.1.gz
|
|
-%{_mandir}/ja/man5/smbgetrc.5.gz
|
|
|
|
%{_mandir}/ja/man5/smbpasswd.5.gz
|
|
%{_mandir}/ja/man5/smbpasswd.5.gz
|
|
%{_mandir}/ja/man7/traffic_learner.7.gz
|
|
%{_mandir}/ja/man7/traffic_learner.7.gz
|
|
%{_mandir}/ja/man7/traffic_replay.7.gz
|
|
%{_mandir}/ja/man7/traffic_replay.7.gz
|
|
@@ -1471,6 +1496,7 @@ fi
|
|
%{_mandir}/ja/man8/smbpasswd.8.gz
|
|
%{_mandir}/ja/man8/smbpasswd.8.gz
|
|
%{_mandir}/ja/man8/smbspool.8.gz
|
|
%{_mandir}/ja/man8/smbspool.8.gz
|
|
%{_mandir}/ja/man8/smbspool_krb5_wrapper.8.gz
|
|
%{_mandir}/ja/man8/smbspool_krb5_wrapper.8.gz
|
|
|
|
+%endif
|
|
|
|
|
|
## --------------------------------------------------------------------
|
|
## --------------------------------------------------------------------
|
|
%files test
|
|
%files test
|
|
@@ -1490,8 +1516,10 @@ fi
|
|
%{_libdir}/samba/libdlz-bind9-for-torture-samba4.so
|
|
%{_libdir}/samba/libdlz-bind9-for-torture-samba4.so
|
|
%{_libdir}/samba/libtorture-samba4.so
|
|
%{_libdir}/samba/libtorture-samba4.so
|
|
|
|
|
|
|
|
+%if %{with ja_docs}
|
|
# ja manual
|
|
# ja manual
|
|
%{_mandir}/ja/man1/vfstest.1*
|
|
%{_mandir}/ja/man1/vfstest.1*
|
|
|
|
+%endif
|
|
|
|
|
|
## --------------------------------------------------------------------
|
|
## --------------------------------------------------------------------
|
|
%files devel
|
|
%files devel
|
|
@@ -1647,8 +1675,10 @@ fi
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libsmbclient.so.*
|
|
%{_libdir}/libsmbclient.so.*
|
|
%{_mandir}/man7/libsmbclient.7*
|
|
%{_mandir}/man7/libsmbclient.7*
|
|
|
|
+%if %{with ja_docs}
|
|
# ja manual
|
|
# ja manual
|
|
%{_mandir}/ja/man7/libsmbclient.7*
|
|
%{_mandir}/ja/man7/libsmbclient.7*
|
|
|
|
+%endif
|
|
|
|
|
|
## --------------------------------------------------------------------
|
|
## --------------------------------------------------------------------
|
|
%files -n libsmbclient-devel
|
|
%files -n libsmbclient-devel
|
|
@@ -1825,6 +1855,24 @@ fi
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Oct 17 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.19.2-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
|
|
+* Wed Oct 11 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.19.1-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
|
|
+* Thu Sep 28 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.18.7-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
|
|
+* Fri Aug 18 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.18.6-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
|
|
+* Wed Aug 02 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.18.5-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
|
|
+* Wed Jul 05 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.18.4-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Fri Apr 21 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.18.2-1
|
|
* Fri Apr 21 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.18.2-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|