Пакет cifs-utils: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 | Name: cifs-utils Version: 6.7 Release: alt1%ubt Summary: Utilities for doing and managing mounts of the Linux CIFS filesystem Group: System/Kernel and hardware License: GPLv3+ Url: https://wiki.samba.org/index.php/LinuxCIFS_utils Source: %name-%version.tar BuildRequires(pre):rpm-build-ubt Requires: keyutils BuildRequires: libcap-ng-devel libkeyutils-devel libkrb5-devel libtalloc-devel libwbclient-devel libpam-devel Conflicts: samba-client < 3.6.0-alt1 %description This is the release version of cifs-utils, a package of utilities for doing and managing mounts of the Linux CIFS filesystem. These programs were originally part of Samba, but have now been split off into a separate package. %package devel Summary: Files needed for building plugins for cifs-utils Group: Development/C %description devel The SMB/CIFS protocol is a standard file sharing protocol widely deployed on Microsoft Windows machines. This package contains the header file necessary for building ID mapping plugins for cifs-utils. %package -n pam_cifscreds Summary: PAM module to manage NTLM credentials in kernel keyring Group: System/Base %description -n pam_cifscreds The pam_cifscreds PAM module is a tool for automatically adding credentials (username and password) for the purpose of establishing sessions in multiuser mounts. When a cifs filesystem is mounted with the "multiuser" option, and does not use krb5 authentication, it needs to be able to get the credentials for each user from somewhere. The pam_cifscreds module can be used to provide these credentials to the kernel automatically at login. %prep %setup %build %autoreconf %configure \ --with-pamdir=/%_lib/security \ --with-idmap-plugin=%_libdir/%name/idmap-plugin %make_build %install %makeinstall_std mkdir -p %buildroot%_sysconfdir/request-key.d install -m 644 contrib/request-key.d/cifs.idmap.conf %buildroot%_sysconfdir/request-key.d install -m 644 contrib/request-key.d/cifs.spnego.conf %buildroot%_sysconfdir/request-key.d # Add alternatives for idmap-plugin mkdir -p %buildroot/%_altdir printf '%_libdir/%name/idmap-plugin\t%_libdir/%name/idmapwb.so\t10\n' > %buildroot/%_altdir/cifs-idmap-plugin-idmapwb %files /sbin/mount.cifs %_sbindir/cifs.upcall %_sbindir/cifs.idmap %_bindir/cifscreds %_bindir/getcifsacl %_bindir/setcifsacl %dir %_libdir/%name %_libdir/%name/idmapwb.so %_altdir/cifs-idmap-plugin-idmapwb %_man8dir/cifs.idmap.8* %_man8dir/cifs.upcall.8* %_man8dir/mount.cifs.8* %_man8dir/idmapwb.8.* %_man1dir/getcifsacl.1* %_man1dir/setcifsacl.1* %_man1dir/cifscreds.1* %doc AUTHORS ChangeLog README %config(noreplace) %_sysconfdir/request-key.d/cifs.idmap.conf %config(noreplace) %_sysconfdir/request-key.d/cifs.spnego.conf %files devel %_includedir/* %files -n pam_cifscreds %_pam_modules_dir/pam_cifscreds.so %_man8dir/pam_cifscreds.* %changelog * Mon Apr 10 2017 Evgeny Sinelnikov <sin@altlinux.ru> 6.7-alt1%ubt - 6.7 - Build package with unified build tag aka ubt macros * Tue Jun 14 2016 Alexey Shabalin <shaba@altlinux.ru> 6.5-alt1 - 6.5 * Mon Jul 28 2014 Alexey Shabalin <shaba@altlinux.ru> 6.4-alt1 - 6.4 - revert "move cifs.upcall to /sbin" * Mon Feb 03 2014 Alexey Shabalin <shaba@altlinux.ru> 6.3-alt1 - 6.3 - add pam_cifscreds package - add devel package * Tue Apr 02 2013 Andrey Cherepanov <cas@altlinux.org> 5.7-alt2 - Build with renamed libwbclient-devel * Wed Oct 31 2012 Michael Shigorin <mike@altlinux.org> 5.7-alt1 - 5.7 (closes: #27909) * Sat Apr 28 2012 Vitaly Kuznetsov <vitty@altlinux.ru> 5.4-alt1 - 5.4 (cifs-utils-5.3-19-ga91fb06) * Tue Sep 27 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 5.1-alt1 - 5.1 * Mon Aug 15 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 5.0-alt3 - conflicts with samba-client < 3.6.0-alt1 * Mon Aug 01 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 5.0-alt2 - CVE-2011-2724 - move cifs.upcall to /sbin - build with libpcap and libwbclient * Mon Aug 01 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 5.0-alt1 - 5.0 * Sun Mar 20 2011 Michael Shigorin <mike@altlinux.org> 4.9-alt1 - 4.9 - fix BuildRequires: * Fri Jan 21 2011 Michael Shigorin <mike@altlinux.org> 4.8-alt1 - 4.8 (thanks force@) * Wed Mar 31 2010 Michael Shigorin <mike@altlinux.org> 4.1-alt2 - added Conflicts: samba-client (should be removed after that package drops these files as anticipated) * Wed Mar 31 2010 Michael Shigorin <mike@altlinux.org> 4.1-alt1 - built for ALT Linux + thanks ab@ for advice + somewhat based on Debian/Fedora/openSUSE packages |