Hide Forgot
Description: libxcrypt is a modern library for one-way hashing of passwords. It supports DES, MD5, SHA-2-256, SHA-2-512, and bcrypt-based password hashes, and provides the traditional Unix 'crypt' and 'crypt_r' interfaces, as well as a set of extended interfaces pioneered by Openwall Linux, 'crypt_rn', 'crypt_ra', 'crypt_gensalt', 'crypt_gensalt_rn', and 'crypt_gensalt_ra'. libxcrypt is intended to be used by login(1), passwd(1), and other similar programs; that is, to hash a small number of passwords during an interactive authentication dialogue with a human. It is not suitable for use in bulk password-cracking applications, or in any other situation where speed is more important than careful handling of sensitive data. However, it *is* intended to be fast and lightweight enough for use in servers that must field thousands of login attempts per minute. On Linux-based systems, by default libxcrypt will be binary backward compatible with the libcrypt.so.1 shipped as part of the GNU C Library. This means that all existing binary executables linked against glibc's libcrypt should work unmodified with this library's libcrypt.so.1. We have taken pains to provide exactly the same "symbol versions" as were used by glibc on various CPU architectures, and to account for the variety of ways in which the Openwall extensions were patched into glibc's libcrypt by some Linux distributions. (For instance, compatibility symlinks for SuSE's "libowcrypt" are provided.) However, the converse is not true: programs linked against libxcrypt will not work with glibc's libcrypt. Also, programs that use certain legacy APIs supplied by glibc's libcrypt ('encrypt', 'encrypt_r', 'setkey', 'setkey_r', and 'fcrypt') cannot be compiled against libxcrypt. Issues: fedora-review shows no obvious issues. FAS-User: besser82 Urls: Spec URL: https://pagure.io/besser82/package-review/raw/master/f/libxcrypt.spec SRPM URL: https://pagure.io/besser82/package-review/raw/master/f/libxcrypt-4.0.0-0.100.git20171109.15447aa.fc28.src.rpm Thanks for review in advance!
https://pagure.io/besser82/package-review/raw/master/f/libxcrypt.spec returns Page not found (404)
(In reply to Igor Gnatenko from comment #1) > https://pagure.io/besser82/package-review/raw/master/f/libxcrypt.spec > > returns Page not found (404) Just uploaded the spec and srpm file; the link is fine now. *** Scratch build: Rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=24101163 Urls: Spec URL: https://pagure.io/besser82/package-review/raw/master/f/libxcrypt.spec SRPM URL: https://pagure.io/besser82/package-review/raw/master/f/libxcrypt-4.0.0-0.100.git20171109.15447aa.fc28.src.rpm
Why is it in /lib and not /usr/lib?
(In reply to Igor Gnatenko from comment #3) > Why is it in /lib and not /usr/lib? Because this will replace `libcrypt.so*` from glibc; since the files from glibc are in /lib, we need to put them there as well, because they might be needed at a point before /usr (when it is on a seperate partition) is mounted.
Release tag format should be: .%{commit_date}git%{short_commit} See https://fedoraproject.org/wiki/Packaging:Versioning#Snapshots
(In reply to Robert-André Mauchin from comment #5) > Release tag format should be: .%{commit_date}git%{short_commit} > See https://fedoraproject.org/wiki/Packaging:Versioning#Snapshots *** Updated package: - Fix style of %%git_{rel,ver} Scratch build: Rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=24110237 Urls: Spec URL: https://pagure.io/besser82/package-review/raw/master/f/libxcrypt.spec SRPM URL: https://pagure.io/besser82/package-review/raw/master/f/libxcrypt-4.0.0-0.101.20171109git15447aa.fc28.src.rpm
"this will replace `libcrypt.so*` from glibc" so I assume the following problems will be solved too, right? DEBUG util.py:479: Error: Transaction check error: DEBUG util.py:479: file /usr/include/crypt.h from install of libxcrypt-devel-4.0.0-0.101.20171109git15447aa.fc28.x86_64 conflicts with file from package glibc-headers-2.26.9000-37.fc28.x86_64 DEBUG util.py:479: file /lib64/libcrypt.so from install of libxcrypt-devel-4.0.0-0.101.20171109git15447aa.fc28.x86_64 conflicts with file from package glibc-devel-2.26.9000-37.fc28.x86_64 DEBUG util.py:479: file /lib64/libcrypt.a conflicts between attempted installs of libxcrypt-static-4.0.0-0.101.20171109git15447aa.fc28.x86_64 and glibc-static-2.26.9000-37.fc28.x86_64 Package is approved. Package Review ============== Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed Issues: ======= - Package installs properly. Note: Installation errors (see attachment) See: https://fedoraproject.org/wiki/Packaging:Guidelines ===== MUST items ===== C/C++: [x]: Package does not contain kernel modules. [x]: Package contains no static executables. [x]: Header files in -devel subpackage, if present. [x]: Package does not contain any libtool archives (.la) [x]: Rpath absent or only used for internal libs. [x]: Development (unversioned) .so files in -devel subpackage, if present. Generic: [x]: Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. [x]: License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. Licenses found: "Unknown or generated", "GPL (v3.0)", "*No copyright* LGPL", "*No copyright* Public domain", "CDDL (v1.0)", "BSD (3 clause)", "BSD (2 clause)", "LGPL (v2.1 or later)", "FSF All Permissive". 51 files have unknown license. Detailed output of licensecheck in /home/bob/packaging/review/libxcrypt/review-libxcrypt/licensecheck.txt [x]: License file installed when any subpackage combination is installed. [x]: If the package is under multiple licenses, the licensing breakdown must be documented in the spec. [x]: %build honors applicable compiler flags or justifies otherwise. [x]: Package contains no bundled libraries without FPC exception. [x]: Changelog in prescribed format. [x]: Sources contain only permissible code or content. [-]: Package contains desktop file if it is a GUI application. [x]: Development files must be in a -devel package [x]: Package uses nothing in %doc for runtime. [x]: Package consistently uses macros (instead of hard-coded directory names). [x]: Package is named according to the Package Naming Guidelines. [x]: Package does not generate any conflict. [x]: Package obeys FHS, except libexecdir and /usr/target. [-]: If the package is a rename of another package, proper Obsoletes and Provides are present. [x]: Requires correct, justified where necessary. [x]: Spec file is legible and written in American English. [-]: Package contains systemd file(s) if in need. [x]: Useful -debuginfo package or justification otherwise. [x]: Package is not known to require an ExcludeArch tag. [-]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 40960 bytes in 5 files. [x]: Package complies to the Packaging Guidelines [x]: Package successfully compiles and builds into binary rpms on at least one supported primary architecture. [x]: Rpmlint is run on all rpms the build produces. Note: There are rpmlint messages (see attachment). [x]: If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package is included in %license. [x]: Package requires other packages for directories it uses. [x]: Package must own all directories that it creates. [x]: Package does not own files or directories owned by other packages. [x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT [x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install. [x]: Macros in Summary, %description expandable at SRPM build time. [x]: Dist tag is present. [x]: Package does not contain duplicates in %files. [x]: Permissions on files are set properly. [x]: Package use %makeinstall only when make install DESTDIR=... doesn't work. [x]: Package is named using only allowed ASCII characters. [x]: Package does not use a name that already exists. [x]: Package is not relocatable. [x]: Sources used to build the package match the upstream source, as provided in the spec URL. [x]: Spec file name must match the spec package %{name}, in the format %{name}.spec. [x]: Static libraries in -static or -devel subpackage, providing -devel if present. Note: Package has .a files: libxcrypt-static. [x]: File names are valid UTF-8. [x]: Packages must not store files under /srv, /opt or /usr/local ===== SHOULD items ===== Generic: [-]: If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it. [x]: Final provides and requires are sane (see attachments). [x]: Fully versioned dependency in subpackages if applicable. Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in libxcrypt-static [?]: Package functions as described. [x]: Latest version is packaged. [x]: Package does not include license text files separate from upstream. [x]: Scriptlets must be sane, if used. [-]: Description and summary sections in the package spec file contains translations for supported Non-English languages, if available. [x]: Package should compile and build into binary rpms on all supported architectures. [x]: %check is present and all tests pass. [x]: Packages should try to preserve timestamps of original installed files. [x]: Spec use %global instead of %define unless justified. Note: %define requiring justification: # binaries. %%define with lazy globbing is used here, %define __spec_install_post %{?__debug_package:%{__debug_install_post}} %{__arch_install_post} %{__os_install_post} %{_bindir}/fipshmac %{buildroot}/%{_lib}/libcrypt.so.%{sov} %{__ln_s} .libcrypt.so.%{sov}.hmac \\%{buildroot}/%{_lib}/.libcrypt.so.%{soc}.hmac %{nil} [x]: Reviewer should test that the package builds in mock. [x]: Buildroot is not present [x]: Package has no %clean section with rm -rf %{buildroot} (or $RPM_BUILD_ROOT) [x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin. [x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file [x]: The placement of pkgconfig(.pc) files are correct. [x]: Sources can be downloaded from URI in Source: tag [x]: SourceX is a working URL. ===== EXTRA items ===== Generic: [x]: Rpmlint is run on all installed packages. [x]: Large data in /usr/share should live in a noarch subpackage if package is arched. [x]: Package should not use obsolete m4 macros [x]: Spec file according to URL is the same as in SRPM. Rpmlint ------- Checking: libxcrypt-4.0.0-0.101.20171109git15447aa.fc28.x86_64.rpm libxcrypt-devel-4.0.0-0.101.20171109git15447aa.fc28.x86_64.rpm libxcrypt-static-4.0.0-0.101.20171109git15447aa.fc28.x86_64.rpm libxcrypt-debuginfo-4.0.0-0.101.20171109git15447aa.fc28.x86_64.rpm libxcrypt-debugsource-4.0.0-0.101.20171109git15447aa.fc28.x86_64.rpm libxcrypt-4.0.0-0.101.20171109git15447aa.fc28.src.rpm libxcrypt.x86_64: W: spelling-error %description -l en_US bcrypt -> crypt, b crypt libxcrypt.x86_64: W: spelling-error %description -l en_US rn -> RN, Rn, en libxcrypt.x86_64: W: spelling-error %description -l en_US ra -> Ra, ea, ta libxcrypt.x86_64: W: spelling-error %description -l en_US gensalt -> gen salt, gen-salt, gens alt libxcrypt.x86_64: W: spelling-error %description -l en_US passwd -> passed, password libxcrypt.x86_64: W: spelling-error %description -l en_US libcrypt -> lib crypt, lib-crypt, cryptic libxcrypt.x86_64: W: spelling-error %description -l en_US glibc's -> glibness's libxcrypt.x86_64: W: spelling-error %description -l en_US glibc -> glib, glib c libxcrypt.x86_64: W: spelling-error %description -l en_US symlinks -> slinks libxcrypt.x86_64: W: spelling-error %description -l en_US libowcrypt -> Cryptozoic libxcrypt.x86_64: W: spelling-error %description -l en_US setkey -> set key, set-key, Kelsey libxcrypt.x86_64: W: spelling-error %description -l en_US fcrypt -> crypt, f crypt libxcrypt.x86_64: W: only-non-binary-in-usr-lib libxcrypt.x86_64: W: hidden-file-or-dir /lib64/.libcrypt.so.1.1.0.hmac libxcrypt.x86_64: W: hidden-file-or-dir /lib64/.libcrypt.so.1.hmac libxcrypt-devel.x86_64: W: only-non-binary-in-usr-lib libxcrypt-static.x86_64: W: no-documentation libxcrypt-debugsource.x86_64: W: no-documentation libxcrypt.src: W: spelling-error %description -l en_US bcrypt -> crypt, b crypt libxcrypt.src: W: spelling-error %description -l en_US rn -> RN, Rn, en libxcrypt.src: W: spelling-error %description -l en_US ra -> Ra, ea, ta libxcrypt.src: W: spelling-error %description -l en_US gensalt -> gen salt, gen-salt, gens alt libxcrypt.src: W: spelling-error %description -l en_US passwd -> passed, password libxcrypt.src: W: spelling-error %description -l en_US libcrypt -> lib crypt, lib-crypt, cryptic libxcrypt.src: W: spelling-error %description -l en_US glibc's -> glibness's libxcrypt.src: W: spelling-error %description -l en_US glibc -> glib, glib c libxcrypt.src: W: spelling-error %description -l en_US symlinks -> slinks libxcrypt.src: W: spelling-error %description -l en_US libowcrypt -> Cryptozoic libxcrypt.src: W: spelling-error %description -l en_US setkey -> set key, set-key, Kelsey libxcrypt.src: W: spelling-error %description -l en_US fcrypt -> crypt, f crypt 6 packages and 0 specfiles checked; 0 errors, 30 warnings.
(In reply to Robert-André Mauchin from comment #7) > "this will replace `libcrypt.so*` from glibc" so I assume the following > problems will be solved too, right? > > DEBUG util.py:479: Error: Transaction check error: > DEBUG util.py:479: file /usr/include/crypt.h from install of > libxcrypt-devel-4.0.0-0.101.20171109git15447aa.fc28.x86_64 conflicts with > file from package glibc-headers-2.26.9000-37.fc28.x86_64 > DEBUG util.py:479: file /lib64/libcrypt.so from install of > libxcrypt-devel-4.0.0-0.101.20171109git15447aa.fc28.x86_64 conflicts with > file from package glibc-devel-2.26.9000-37.fc28.x86_64 > DEBUG util.py:479: file /lib64/libcrypt.a conflicts between attempted > installs of libxcrypt-static-4.0.0-0.101.20171109git15447aa.fc28.x86_64 and > glibc-static-2.26.9000-37.fc28.x86_64 Yes, those conflicts will be gone after libcrypt is finally disabled in glibc. See: > Package is approved. Thank you! =)
(fedrepo-req-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/libxcrypt
The spec file has been imported to dist-git [1]. It will be build after FESCo decided positively about the propsed change and the needed changes to glibc are ready. The files behind the previous links to the spec file and srpm have been removed. [1] https://src.fedoraproject.org/rpms/libxcrypt
Package has been imported an built.