/[packages]/cauldron/autofs/current/SPECS/autofs.spec
ViewVC logotype

Diff of /cauldron/autofs/current/SPECS/autofs.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 133581 by ennael, Tue Feb 8 16:35:13 2011 UTC revision 133582 by guillomovitch, Mon Aug 15 15:17:15 2011 UTC
# Line 1  Line 1 
1  %define name    autofs  %define name    autofs
2  %define version 5.0.5  %define version 5.0.6
3  %define release %mkrel 4  %define release %mkrel 1
4    
5  Name:           %{name}  Name:           %{name}
6  Version:        %{version}  Version:        %{version}
# Line 11  Group:          System/Kernel and hardwa Line 11  Group:          System/Kernel and hardwa
11  URL:            ftp://ftp.kernel.org/pub/linux/daemons/autofs  URL:            ftp://ftp.kernel.org/pub/linux/daemons/autofs
12  Source0:        ftp://ftp.kernel.org/pub/linux/daemons/autofs/v5/autofs-%{version}.tar.bz2  Source0:        ftp://ftp.kernel.org/pub/linux/daemons/autofs/v5/autofs-%{version}.tar.bz2
13  Source1:        %{name}.init  Source1:        %{name}.init
14  Patch01:    autofs-5.0.5-fix-included-map-read-fail-handling.patch  Patch0:         autofs-5.0.6-fix-ipv6-name-for-lookup-fix.patch
 Patch02:    autofs-5.0.5-refactor-ldap-sasl-bind.patch  
 Patch03:    autofs-5.0.4-add-mount-wait-parameter.patch  
 Patch04:    autofs-5.0.5-special-case-cifs-escapes.patch  
 Patch05:    autofs-5.0.5-fix-libxml2-workaround-configure.patch  
 Patch06:    autofs-5.0.5-more-code-analysis-corrections.patch  
 Patch07:    autofs-5.0.5-fix-backwards-ifndef-INET6.patch  
 Patch08:    autofs-5.0.5-fix-stale-init-for-file-map-instance.patch  
 Patch09:    autofs-5.0.5-fix-ext4-fsck-at-mount.patch  
 Patch10:    autofs-5.0.5-dont-use-master_lex_destroy-to-clear-parse-buffer.patch  
 Patch11:    autofs-5.0.5-make-documentation-for-set-log-priority-clearer.patch  
 Patch12:    autofs-5.0.5-fix-timeout-in-connect_nb.patch  
 Patch13:    autofs-5.0.5-fix-pidof-init-script-usage.patch  
 Patch14:    autofs-5.0.5-check-for-path-mount-location-in-generic-module.patch  
 Patch15:    autofs-5.0.5-dont-fail-mount-on-access-fail.patch  
 Patch16:    autofs-5.0.5-fix-rpc-large-export-list.patch  
 Patch17:    autofs-5.0.5-fix-memory-leak-on-reload.patch  
 Patch18:    autofs-5.0.5-update-kernel-patches-2.6.18-and-2.6.19.patch  
 Patch19:    autofs-5.0.5-dont-connect-at-ldap-lookup-module-init.patch  
 Patch20:    autofs-5.0.5-fix-random-selection-option.patch  
 Patch21:    autofs-5.0.5-fix-disable-timeout.patch  
 Patch22:    autofs-5.0.5-fix-strdup-return-value-check.patch  
 Patch23:    autofs-5.0.5-fix-reconnect-get-base-dn.patch  
 Patch24:    autofs-5.0.5-add-sasl-mutex-callbacks.patch  
 Patch25:    autofs-5.0.5-fix-get-qdn-fail.patch  
 Patch26:    autofs-5.0.5-fix-ampersand-escape-in-auto-smb.patch  
 Patch27:    autofs-5.0.5-add-locality-as-valid-ldap-master-map-attribute.patch  
 Patch28:        autofs-5.0.5-add-locality-as-valid-ldap-master-map-attribute-fix.patch  
 Patch29:        autofs-5.0.5-make-nfs4-default-for-redhat-replicated-selection.patch  
 Patch30:        autofs-5.0.5-add-simple-bind-auth.patch  
 Patch31:        autofs-5.0.5-fix-master-map-source-server-unavialable-handling.patch  
 Patch32:        autofs-5.0.5-add-autofs_ldap_auth_conf-man-page.patch  
 Patch33:        autofs-5.0.5-fix-random-selection-for-host-on-different-network.patch  
 Patch34:        autofs-5.0.5-make-redhat-init-script-more-lsb-compliant.patch  
 Patch35:        autofs-5.0.5-dont-hold-lock-for-simple-mounts.patch  
 Patch36:        autofs-5.0.5-fix-remount-locking.patch  
 Patch37:        autofs-5.0.5-fix-wildcard-map-entry-match.patch  
 Patch38:        autofs-5.0.5-fix-parse_sun-module-init.patch  
 Patch39:        autofs-5.0.5-dont-check-null-cache-on-expire.patch  
 Patch40:        autofs-5.0.5-fix-null-cache-race.patch  
 Patch41:        autofs-5.0.5-fix-cache_init-on-source-re-read.patch  
 Patch42:        autofs-5.0.5-mapent-becomes-negative-during-lookup.patch  
 Patch43:        autofs-5.0.5-check-each-dc-server.patch  
 Patch44:        autofs-5.0.5-fix-negative-cache-included-map-lookup.patch  
 Patch45:        autofs-5.0.5-remove-state-machine-timed-wait.patch  
 Patch46:        autofs-5.0.5-remove-extra-read-master-map-call.patch  
 Patch47:        autofs-5.0.5-fix-fix-cache_init-on-source-re-read.patch  
 Patch48:        autofs-5.0.5-fix-error-handing-in-do_mount_indirect.patch  
 Patch49:        autofs-5.0.5-expire-thread-use-pending-mutex.patch  
 Patch50:        autofs-5.0.5-include-krb5-library.patch  
 Patch51:        autofs-5.0.5-make-verbose-mode-a-little-less-verbose.patch  
 Patch52:        autofs-5.0.5-remove-ERR_remove_state-openssl-call.patch  
 Patch53:        autofs-5.0.5-fix-restart.patch  
 Patch54:        autofs-5.0.5-fix-status-privilege-error.patch  
 Patch55:        autofs-5.0.4-always-read-file-maps-mount-lookup-map-read-fix.patch  
 Patch56:        autofs-5.0.5-fix-direct-map-not-updating-on-reread.patch  
 Patch57:        autofs-5.0.5-add-external-bind-method.patch  
 Patch58:        autofs-5.0.5-fix-add-simple-bind-auth.patch  
 Patch59:        autofs-5.0.5-add-dump-maps-option.patch  
 Patch60:        autofs-5.0.5-fix-submount-shutdown-wait.patch  
15  Patch102:       autofs-5.0.4-separate-config-files.patch  Patch102:       autofs-5.0.4-separate-config-files.patch
16  Patch103:       autofs-5.0.4-rename-configuration-file.patch  Patch103:       autofs-5.0.4-rename-configuration-file.patch
 Conflicts:       kernel < 2.6.17  
17  Requires(post): rpm-helper  Requires(post): rpm-helper
18  Requires(preun):rpm-helper  Requires(preun):rpm-helper
19  BuildRequires:  openldap-devel  BuildRequires:  openldap-devel
# Line 92  include network filesystems, CD-ROMs, fl Line 32  include network filesystems, CD-ROMs, fl
32    
33  %prep  %prep
34  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
35  %patch01 -p 1  %patch0 -p 1
 %patch02 -p 1  
 %patch03 -p 1  
 %patch04 -p 1  
 %patch05 -p 1  
 %patch06 -p 1  
 %patch07 -p 1  
 %patch08 -p 1  
 %patch09 -p 1  
 %patch10 -p 1  
 %patch11 -p 1  
 %patch12 -p 1  
 %patch13 -p 1  
 %patch14 -p 1  
 %patch15 -p 1  
 %patch16 -p 1  
 %patch17 -p 1  
 %patch18 -p 1  
 %patch19 -p 1  
 %patch20 -p 1  
 %patch21 -p 1  
 %patch22 -p 1  
 %patch23 -p 1  
 %patch24 -p 1  
 %patch25 -p 1  
 %patch26 -p 1  
 %patch27 -p 1  
 %patch28 -p 1  
 %patch29 -p 1  
 %patch30 -p 1  
 %patch31 -p 1  
 %patch32 -p 1  
 %patch33 -p 1  
 %patch34 -p 1  
 %patch35 -p 1  
 %patch36 -p 1  
 %patch37 -p 1  
 %patch38 -p 1  
 %patch39 -p 1  
 %patch40 -p 1  
 %patch41 -p 1  
 %patch42 -p 1  
 %patch43 -p 1  
 %patch44 -p 1  
 %patch45 -p 1  
 %patch46 -p 1  
 %patch47 -p 1  
 %patch48 -p 1  
 %patch49 -p 1  
 %patch50 -p 1  
 %patch51 -p 1  
 %patch52 -p 1  
 %patch53 -p 1  
 %patch54 -p 1  
 %patch55 -p 1  
 %patch56 -p 1  
 %patch57 -p 1  
 %patch58 -p 1  
 %patch59 -p 1  
 %patch60 -p 1  
36  %patch102 -p 1  %patch102 -p 1
37  %patch103 -p 1  %patch103 -p 1
38    
# Line 189  Mandriva RPM specific notes Line 70  Mandriva RPM specific notes
70    
71  setup  setup
72  -----  -----
73  Configuration handling in Mandriva package differs from upstream one on several points:  Configuration handling in Mageia package differs from upstream one on several
74    points:
75  - the automounts daemon configuration file is %{_sysconfdir}/autofs/autofs.conf  - the automounts daemon configuration file is %{_sysconfdir}/autofs/autofs.conf
76  - the autofs service configuration file is %{_sysconfdir}/sysconfig/autofs  - the autofs service configuration file is %{_sysconfdir}/sysconfig/autofs
 - the configuration directives in %{_sysconfdir}/autofs/autofs.conf don't have  
   the 'DEFAULT_' prefix (for instance, DEFAULT_TIMEOUT is just TIMEOUT). This  
   has recently been changed upstream in version 5.0.2 too, but given than  
   documentation still refers to old names  
77    
78  Upgrade  Upgrade
79  -------  -------
# Line 216  perl -pi \ Line 94  perl -pi \
94      -e 's|^/net\t|#/net\t|;' \      -e 's|^/net\t|#/net\t|;' \
95      %{buildroot}%{_sysconfdir}/autofs/auto.master      %{buildroot}%{_sysconfdir}/autofs/auto.master
96    
 %pre  
 if [ $1 != "0" ]; then  
     # upgrade  
     if [ ! -d %{_sysconfdir}/autofs ]; then  
         # 4 -> 5 upgrade  
         mkdir %{_sysconfdir}/autofs  
         for file in %{_sysconfdir}/auto.{master,misc,net,smb}; do  
             if [ -f "$file" ]; then  
                 mv $file* %{_sysconfdir}/autofs  
             fi  
         done  
     fi  
 fi  
   
97  %post  %post
98  %_post_service autofs  %_post_service autofs
99    
100  %preun  %preun
101  %_preun_service autofs  %_preun_service autofs
102    
 %clean  
 rm -rf %{buildroot}  
   
103  %files  %files
 %defattr(-,root,root)  
104  %doc INSTALL CHANGELOG CREDITS README* examples  %doc INSTALL CHANGELOG CREDITS README* examples
105  %config(noreplace) %{_sysconfdir}/autofs  %config(noreplace) %{_sysconfdir}/autofs
106  %config(noreplace) %{_sysconfdir}/sysconfig/autofs  %config(noreplace) %{_sysconfdir}/sysconfig/autofs

Legend:
Removed from v.133581  
changed lines
  Added in v.133582

  ViewVC Help
Powered by ViewVC 1.1.28