Changeset 2195 for branches/fc17-dev/server/fedora/specs
- Timestamp:
- May 22, 2012, 10:52:35 PM (12 years ago)
- Location:
- branches/fc17-dev
- Files:
-
- 10 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/fc17-dev
- Property svn:mergeinfo changed
/trunk (added) merged: 2082-2122,2125-2148,2150-2194
- Property svn:mergeinfo changed
-
branches/fc17-dev/server/fedora/specs/accountadm.spec
r1377 r2195 9 9 Source: %{name}.tar.gz 10 10 BuildRoot: %{_tmppath}/%(%{__id_u} -n)-%{name}-%{version}-root 11 BuildRequires: scripts-openafs-devel 11 BuildRequires: scripts-openafs-devel, scripts-openafs-authlibs-devel 12 12 BuildRequires: hesinfo 13 13 BuildRequires: openldap-clients … … 25 25 Contains: 26 26 - Perl script for checking whether a user is a locker admin <admof> 27 - setuid C program used to start a signup request <signup-scripts-frontend>28 27 - Perl script that handles signup requests <signup-scripts-backend> 29 28 - vhostadd,vhostedit: admin tools for adding and editing virtualhosts … … 57 56 /usr/local/sbin/vhostedit 58 57 /usr/local/sbin/ldap-backup 59 %defattr(4755, signup, signup)60 /usr/local/sbin/signup-scripts-frontend61 58 62 59 %pre -
branches/fc17-dev/server/fedora/specs/httpd.spec.patch
r2066 r2195 1 --- httpd.spec. orig 2011-09-13 09:43:36.000000000 -04002 +++ httpd.spec 201 1-11-05 20:57:13.910145847-04001 --- httpd.spec.~1~ 2012-02-13 09:46:36.000000000 -0500 2 +++ httpd.spec 2012-03-26 01:33:53.247271289 -0400 3 3 @@ -8,7 +8,7 @@ 4 4 Summary: Apache HTTP Server 5 5 Name: httpd 6 Version: 2.2.2 16 Version: 2.2.22 7 7 -Release: 1%{?dist} 8 8 +Release: 1%{?dist}.scripts.%{scriptsversion} … … 26 26 The Apache HTTP Server is a powerful, efficient, and extensible 27 27 web server. 28 @@ -64,6 +7 3,7 @@28 @@ -64,6 +76,7 @@ 29 29 Obsoletes: secureweb-devel, apache-devel, stronghold-apache-devel 30 30 Requires: apr-devel, apr-util-devel, pkgconfig … … 34 34 %description devel 35 35 The httpd-devel package contains the APXS binary and other files 36 @@ -102,6 +11 2,7 @@36 @@ -102,6 +115,7 @@ 37 37 Requires(post): openssl, /bin/cat 38 38 Requires(pre): httpd … … 42 42 43 43 %description -n mod_ssl 44 @@ -110,6 +12 1,11 @@44 @@ -110,6 +124,11 @@ 45 45 Security (TLS) protocols. 46 46 … … 54 54 %patch1 -p1 -b .apctl 55 55 %patch2 -p1 -b .apxs 56 @@ -128,6 +14 4,13@@56 @@ -128,6 +147,14 @@ 57 57 # Patch in vendor/release string 58 58 sed "s/@RELEASE@/%{vstring}/" < %{PATCH20} | patch -p1 … … 64 64 +%patch1006 -p1 -b .cloexec 65 65 +%patch1007 -p1 -b .fixup-vhost 66 +# Note that patch1008 is not here, as it patches the initscript elsewhere in this .spec 66 67 + 67 68 # Safety check: prevent build if defined MMN does not equal upstream MMN. 68 69 vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'` 69 70 if test "x${vmmn}" != "x%{mmn}"; then 70 @@ -175,10 + 198,12 @@71 @@ -175,10 +205,12 @@ 71 72 --with-apr=%{_prefix} --with-apr-util=%{_prefix} \ 72 73 --enable-suexec --with-suexec \ -
branches/fc17-dev/server/fedora/specs/krb5.spec.patch
r2066 r2195 1 --- krb5.spec. orig 2011-11-16 12:37:32.246736120 -05002 +++ krb5.spec 201 1-11-16 12:42:47.134740975 -05001 --- krb5.spec.~1~ 2012-03-08 16:20:41.000000000 -0500 2 +++ krb5.spec 2012-04-01 22:07:14.834013302 -0400 3 3 @@ -6,7 +6,7 @@ 4 4 Summary: The Kerberos network authentication system 5 5 Name: krb5 6 Version: 1.9. 17 -Release: 1 4%{?dist}8 +Release: 1 4%{?dist}.scripts.%{scriptsversion}6 Version: 1.9.3 7 -Release: 1%{?dist} 8 +Release: 1%{?dist}.scripts.%{scriptsversion} 9 9 # Maybe we should explode from the now-available-to-everybody tarball instead? 10 # http://web.mit.edu/kerberos/dist/krb5/1.9/krb5-1.9. 1-signed.tar10 # http://web.mit.edu/kerberos/dist/krb5/1.9/krb5-1.9.3-signed.tar 11 11 Source0: krb5-%{version}.tar.gz 12 @@ -6 5,6 +65,8 @@13 Patch 89: krb5-1.9.1-sendto_poll3.patch14 Patch 90: krb5-1.9-MITKRB5-SA-2011-006.patch12 @@ -64,6 +64,8 @@ 13 Patch102: krb5-1.9-7048.patch 14 Patch103: krb5-kvno-230379.patch 15 15 16 16 +Patch1000: krb5-kuserok-scripts.patch … … 19 19 URL: http://web.mit.edu/kerberos/www/ 20 20 Group: System Environment/Libraries 21 @@ -11 4,6 +116,7 @@21 @@ -113,6 +115,7 @@ 22 22 %package libs 23 23 Summary: The shared libraries used by Kerberos 5 … … 27 27 %description libs 28 28 Kerberos is a network authentication system. The krb5-libs package 29 @@ -2 21,6 +224,7 @@30 %patch 88 -p1 -b .crossrealm31 %patch 89 -p1 -b .sendto_poll332 %patch 90 -p1 -b .2011-00629 @@ -219,6 +222,7 @@ 30 %patch101 -p1 -b .7047 31 %patch102 -p1 -b .7048 32 %patch103 -p1 -b .kvno 33 33 +%patch1000 -p1 -b .kuserok 34 34 gzip doc/*.ps -
branches/fc17-dev/server/fedora/specs/openafs-systemd.spec.patch
r2066 r2195 1 --- rpmbuild/SPECS/openafs.spec.orig 2011-10-17 23:46:35.000000000 -0400 2 +++ rpmbuild/SPECS/openafs.spec 2011-10-17 23:48:41.000000000 -0400 3 @@ -224,7 +224,7 @@ 4 BuildRoot: %{_tmppath}/%{name}-%{version}-root 1 --- openafs.spec.orig 2011-12-11 04:48:08.257676312 -0500 2 +++ openafs.spec 2011-12-11 04:49:43.101175888 -0500 3 @@ -225,6 +225,9 @@ 5 4 Packager: OpenAFS Gatekeepers <openafs-gatekeepers@openafs.org> 6 5 Group: Networking/Filesystems 7 -BuildRequires: %{?kdepend:%{kdepend}, } pam-devel, ncurses-devel, flex, bison 8 +BuildRequires: %{?kdepend:%{kdepend}, } pam-devel, ncurses-devel, flex, bison, systemd-units 6 BuildRequires: %{?kdepend:%{kdepend}, } pam-devel, ncurses-devel, flex, bison 7 +%if 0%{?fedora} >= 15 8 +BuildRequires: systemd-units 9 +%endif 9 10 %if 0%{?fedora} 10 11 BuildRequires: perl-devel perl-ExtUtils-Embed 11 12 %endif 12 @@ -32 3,6 +323,12 @@13 @@ -326,6 +329,12 @@ 13 14 %package client 14 15 Provides: scripts-openafs-client … … 23 24 %if %{fedorakmod} 24 25 Requires: %{name}-kmod >= %{version} 25 @@ -3 47,6 +353,12 @@26 @@ -350,6 +359,12 @@ 26 27 Requires: openafs = %{version} 27 28 Summary: OpenAFS Filesystem Server … … 36 37 %description server 37 38 The AFS distributed filesystem. AFS is a distributed filesystem 38 @@ - 999,7 +1011,12 @@39 @@ -1005,7 +1020,12 @@ 39 40 mkdir -p $RPM_BUILD_ROOT%{_sbindir} 40 41 mkdir -p $RPM_BUILD_ROOT%{_libdir} … … 49 50 mkdir -p $RPM_BUILD_ROOT%{pamdir} 50 51 mkdir -p $RPM_BUILD_ROOT%{_prefix}/afs/etc 51 @@ -10 29,8 +1046,14 @@52 @@ -1035,8 +1055,14 @@ 52 53 53 54 # Copy root.client config files … … 64 65 # Copy PAM modules 65 66 install -m 755 ${sysname}/dest/lib/pam* $RPM_BUILD_ROOT%{pamdir} 66 @@ -131 0,7 +1333,14 @@67 @@ -1318,7 +1344,14 @@ 67 68 fi 68 69 … … 79 80 mkdir /afs 80 81 chown root.root /afs 81 @@ -13 27,10 +1357,17 @@82 @@ -1335,10 +1368,17 @@ 82 83 83 84 %post server … … 97 98 %if %{build_authlibs} 98 99 %post authlibs 99 @@ -13 46,16 +1383,45@@100 @@ -1354,16 +1394,39 @@ 100 101 fi 101 102 … … 127 128 +%endif 128 129 + 130 +%if 0%{?fedora} >= 15 129 131 +%postun client 130 132 +/bin/systemctl daemon-reload >/dev/null 2>&1 || : 131 +if [ $1 -ge 1 ] ; then132 + # Package upgrade, not uninstall133 + /bin/systemctl try-restart openafs-client.service >/dev/null 2>&1 || :134 +fi135 133 + 136 134 +%postun server 137 135 +/bin/systemctl daemon-reload >/dev/null 2>&1 || : 138 +if [ $1 -ge 1 ] ; then 139 + # Package upgrade, not uninstall 140 + /bin/systemctl try-restart openafs-server.service >/dev/null 2>&1 || : 141 +fi 136 +%endif 142 137 143 138 %if %{build_dkmspkg} 144 139 %post -n dkms-%{name} 145 @@ -14 13,6 +1479,32@@140 @@ -1421,6 +1484,26 @@ 146 141 %endif 147 142 %endif 148 143 144 +%if 0%{?fedora} >= 15 149 145 +%triggerun -- openafs-client < 1.6.0-1 150 146 +# Save the current service runlevel info … … 153 149 +/usr/bin/systemd-sysv-convert --save openafs-client >/dev/null 2>&1 ||: 154 150 + 155 +# If the package is allowed to autostart: 156 +/bin/systemctl --no-reload enable openafs-client.service >/dev/null 2>&1 ||: 157 + 158 +# Run these because the SysV package being removed won't do them 151 +# Run this because the SysV package being removed won't do it 159 152 +/sbin/chkconfig --del openafs-client >/dev/null 2>&1 || : 160 +/bin/systemctl try-restart openafs-client.service >/dev/null 2>&1 || :161 153 + 162 154 +%triggerun -- openafs-server < 1.6.0-1 … … 166 158 +/usr/bin/systemd-sysv-convert --save openafs-server >/dev/null 2>&1 ||: 167 159 + 168 +# If the package is allowed to autostart: 169 +/bin/systemctl --no-reload enable openafs-server.service >/dev/null 2>&1 ||: 170 + 171 +# Run these because the SysV package being removed won't do them 160 +# Run this because the SysV package being removed won't do it 172 161 +/sbin/chkconfig --del openafs-server >/dev/null 2>&1 || : 173 + /bin/systemctl try-restart openafs-server.service >/dev/null 2>&1 || :162 +%endif 174 163 + 175 164 ############################################################################## 176 165 ### 177 166 ### file lists 178 @@ -145 0,7 +1542,12 @@167 @@ -1458,7 +1541,12 @@ 179 168 %{pamdir}/pam_afs.krb.so 180 169 %{pamdir}/pam_afs.so.1 … … 189 178 %{_mandir}/man1/copyauth.* 190 179 %{_mandir}/man1/up.* 191 @@ -1 498,7 +1595,11 @@180 @@ -1506,7 +1594,11 @@ 192 181 %{_sbindir}/vldb_check 193 182 %{_sbindir}/vldb_convert -
branches/fc17-dev/server/fedora/specs/openafs.spec.patch
r2066 r2195 1 --- rpmbuild/SPECS/openafs.spec2 +++ rpmbuild/SPECS/openafs.spec.~3~ 2011-11-20 20:13:52.211673609 -05001 --- openafs.spec 2012-02-13 15:41:02.757592190 -0500 2 +++ openafs.spec.~3~ 2012-02-13 15:48:25.366294629 -0500 3 3 @@ -4,7 +4,7 @@ 4 4 %define pkgvers 1.6.0 … … 10 10 %{!?fedorakmod: %define fedorakmod 1} 11 11 %{!?build_dkmspkg: %define build_dkmspkg 1} 12 @@ -237,6 +237,1 4@@12 @@ -237,6 +237,15 @@ 13 13 14 14 ExclusiveArch: %{ix86} x86_64 ia64 s390 s390x sparc64 ppc ppc64 15 15 16 16 +Patch1000: openafs-scripts.patch 17 +Patch1001: openafs- localcsdb.patch18 +Patch1002: openafs-systemd .patch19 +Patch1003: openafs-systemd-c rond.patch17 +Patch1001: openafs-systemd.patch 18 +Patch1002: openafs-systemd-crond.patch 19 +Patch1003: openafs-systemd-csdb.patch 20 20 +Patch1004: openafs-linux-3.1-rcu.patch 21 21 +Patch1005: openafs-linux-3.1-fsync.patch 22 22 +Patch1006: openafs-linux-3.1-zalloc.patch 23 +Patch1007: openafs-linux-3.2-nlink.patch 23 24 + 24 25 # http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/... 25 26 Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2 26 27 Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2 27 @@ -316,6 +32 4,7 @@28 @@ -316,6 +325,7 @@ 28 29 %if %{build_userspace} 29 30 … … 33 34 34 35 %if %{fedorakmod} 35 @@ -376,6 +38 5,7 @@36 @@ -376,6 +386,7 @@ 36 37 37 38 %if %{build_authlibs} … … 41 42 Group: Networking/Filesystems 42 43 43 @@ -392,6 +40 2,7 @@44 @@ -392,6 +403,7 @@ 44 45 %endif 45 46 … … 49 50 Requires: openafs-authlibs = %{version}-%{release} 50 51 %endif 51 @@ -410,6 +42 1,7 @@52 @@ -410,6 +422,7 @@ 52 53 libraries. 53 54 … … 57 58 Group: Development/Filesystems 58 59 Requires: openafs = %{version}-%{release} 59 @@ -439,6 +45 1,7 @@60 @@ -439,6 +452,7 @@ 60 61 administrators. 61 62 … … 65 66 Group: Networking/Filesystems 66 67 Provides: openafs-kernel = %{version} 67 @@ -488,6 +50 1,7 @@68 @@ -488,6 +502,7 @@ 68 69 69 70 %if %{krb5support} … … 73 74 Requires: openafs = %{version} 74 75 Group: Networking/Filesystems 75 @@ -514,7 +52 8,7 @@76 @@ -514,7 +529,7 @@ 76 77 %if %{build_modules} 77 78 … … 82 83 %else 83 84 84 @@ -671,6 +68 5,15@@85 @@ -671,6 +686,16 @@ 85 86 #%setup -q -n %{srcdir} 86 87 %setup -q -b 1 -n %{srcdir} … … 88 89 +# Apply the Scripts patch 89 90 +%patch1000 -p1 -b .scripts 90 +%patch1001 -p1 -b . localcsdb91 +%patch1002 -p1 -b .systemd 92 +%patch1003 -p1 -b .systemd-c rond91 +%patch1001 -p1 -b .systemd 92 +%patch1002 -p1 -b .systemd-crond 93 +%patch1003 -p1 -b .systemd-csdb 93 94 +%patch1004 -p1 -b .rcu 94 95 +%patch1005 -p1 -b .fsync 95 96 +%patch1006 -p1 -b .zalloc 97 +%patch1007 -p1 -b .nlink 96 98 + 97 99 ############################################################################## 98 100 # 99 101 # building 100 @@ -1212,6 +123 5,13 @@102 @@ -1212,6 +1237,13 @@ 101 103 rm -f $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so 102 104 rm -f $RPM_BUILD_ROOT%{_libdir}/libafsauthent.so.* -
branches/fc17-dev/server/fedora/specs/openssh.spec.patch
r2066 r2195 1 --- openssh.spec. orig 2010-05-31 06:20:02.000000000 -04002 +++ openssh.spec 201 0-09-06 21:53:21.000000000 -04001 --- openssh.spec.~1~ 2012-02-14 11:06:13.000000000 -0500 2 +++ openssh.spec 2012-02-25 13:02:28.660616538 -0500 3 3 @@ -78,7 +78,7 @@ 4 4 Summary: An open source implementation of SSH protocol versions 1 and 2 5 5 Name: openssh 6 6 Version: %{openssh_ver} 7 -Release: %{openssh_rel}%{?dist}%{?rescue_rel} .18 +Release: %{openssh_rel}%{?dist}%{?rescue_rel}. 1.scripts.%{scriptsversion}7 -Release: %{openssh_rel}%{?dist}%{?rescue_rel} 8 +Release: %{openssh_rel}%{?dist}%{?rescue_rel}.scripts.%{scriptsversion} 9 9 URL: http://www.openssh.com/portable.html 10 10 #URL1: http://pamsshagentauth.sourceforge.net … … 15 15 Source5: pam_ssh_agent-rmheaders 16 16 +Patch1001: openssh-4.7p1-gssapi-name-in-env.patch 17 17 18 18 Patch100: openssh-5.6p1-wIm.patch 19 19 Patch0: openssh-5.6p1-redhat.patch 20 @@ -2 07,6 +209,7 @@20 @@ -214,6 +215,7 @@ 21 21 Requires(pre): /usr/sbin/useradd 22 22 Requires: pam >= 1.0.1-3 … … 26 26 %if %{ldap} 27 27 %package ldap 28 @@ -3 23,6 +326,8 @@29 %patch8 0 -p1 -b .biguid30 %patch8 1 -p1 -b .clientloop28 @@ -333,6 +335,8 @@ 29 %patch83 -p0 -b .oomkiller 30 %patch84 -p1 -b .legacy 31 31 32 32 +%patch1001 -p1 -b .gssapi-env … … 35 35 pushd pam_ssh_agent_auth-%{pam_ssh_agent_ver} 36 36 autoreconf 37 -
branches/fc17-dev/server/fedora/specs/rubygems.spec.patch
r2066 r2195 1 --- rubygems.spec. orig 2011-11-04 14:16:37.000000000 -04002 +++ rubygems.spec 201 1-11-04 14:32:02.000000000-04001 --- rubygems.spec.~1~ 2012-04-20 14:46:27.000000000 -0400 2 +++ rubygems.spec 2012-05-03 14:12:52.421863447 -0400 3 3 @@ -15,7 +15,7 @@ 4 4 Summary: The Ruby standard for packaging ruby libraries 5 5 Name: rubygems 6 6 Version: 1.7.2 7 -Release: 3%{?dist}8 +Release: 3%{?dist}.scripts.%{scriptsversion}7 -Release: 5%{?dist} 8 +Release: 5%{?dist}.scripts.%{scriptsversion} 9 9 Group: Development/Libraries 10 10 # No GPL version is specified. 11 11 License: Ruby or GPL+ 12 @@ -4 0,6 +40,9 @@13 # ... and spec_file is not supported yet14 Patch 7: rubygems-1.7.2-escape-string-skip-test.patch12 @@ -42,6 +42,9 @@ 13 # Insecure connection to SSL repository fix 14 Patch10: rubygems-1.x.x-ssl-connection-don_t-revert.patch 15 15 16 16 +Provides: scripts-rubygems = %{version}-%{release} … … 20 20 Requires: ruby >= 1.8.7 21 21 Requires: ruby-rdoc 22 @@ -69,6 +72,8 @@ 23 %patch6 -p1 -b .esc 22 @@ -83,6 +86,8 @@ 24 23 %patch7 -p1 -b .esc.skip 24 %patch10 -p1 -b .ssl 25 25 26 26 +%patch1000 -p1 -b .thread -
branches/fc17-dev/server/fedora/specs/scripts-base.spec
r2066 r2195 27 27 Requires: whoisd 28 28 Requires: logview 29 Requires: fuse-better-mousetrapfs 29 30 Requires: %{all_archs nss-pam-ldapd} 30 31 Requires: php_scripts -
branches/fc17-dev/server/fedora/specs/scripts-static-cat.spec
r2066 r2195 2 2 # - https://fedoraproject.org/wiki/Packaging:Haskell 3 3 # - https://fedoraproject.org/wiki/PackagingDrafts/Haskell 4 5 # Link Haskell libs statically for 3x faster startup speed. 6 %define ghc_without_dynamic 1 4 7 5 8 Name: scripts-static-cat
Note: See TracChangeset
for help on using the changeset viewer.