Ignore:
Timestamp:
May 22, 2012, 10:52:35 PM (12 years ago)
Author:
ezyang
Message:
Merge changes from trunk.
Location:
branches/fc17-dev
Files:
10 edited
3 copied

Legend:

Unmodified
Added
Removed
  • branches/fc17-dev

  • branches/fc17-dev/server/fedora/specs/accountadm.spec

    r1377 r2195  
    99Source: %{name}.tar.gz
    1010BuildRoot: %{_tmppath}/%(%{__id_u} -n)-%{name}-%{version}-root
    11 BuildRequires: scripts-openafs-devel
     11BuildRequires: scripts-openafs-devel, scripts-openafs-authlibs-devel
    1212BuildRequires: hesinfo
    1313BuildRequires: openldap-clients
     
    2525Contains:
    2626 - 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>
    2827 - Perl script that handles signup requests <signup-scripts-backend>
    2928 - vhostadd,vhostedit: admin tools for adding and editing virtualhosts
     
    5756/usr/local/sbin/vhostedit
    5857/usr/local/sbin/ldap-backup
    59 %defattr(4755, signup, signup)
    60 /usr/local/sbin/signup-scripts-frontend
    6158
    6259%pre
  • branches/fc17-dev/server/fedora/specs/httpd.spec.patch

    r2066 r2195  
    1 --- httpd.spec.orig     2011-09-13 09:43:36.000000000 -0400
    2 +++ httpd.spec  2011-11-05 20:57:13.910145847 -0400
     1--- httpd.spec.~1~      2012-02-13 09:46:36.000000000 -0500
     2+++ httpd.spec  2012-03-26 01:33:53.247271289 -0400
    33@@ -8,7 +8,7 @@
    44 Summary: Apache HTTP Server
    55 Name: httpd
    6  Version: 2.2.21
     6 Version: 2.2.22
    77-Release: 1%{?dist}
    88+Release: 1%{?dist}.scripts.%{scriptsversion}
     
    2626 The Apache HTTP Server is a powerful, efficient, and extensible
    2727 web server.
    28 @@ -64,6 +73,7 @@
     28@@ -64,6 +76,7 @@
    2929 Obsoletes: secureweb-devel, apache-devel, stronghold-apache-devel
    3030 Requires: apr-devel, apr-util-devel, pkgconfig
     
    3434 %description devel
    3535 The httpd-devel package contains the APXS binary and other files
    36 @@ -102,6 +112,7 @@
     36@@ -102,6 +115,7 @@
    3737 Requires(post): openssl, /bin/cat
    3838 Requires(pre): httpd
     
    4242 
    4343 %description -n mod_ssl
    44 @@ -110,6 +121,11 @@
     44@@ -110,6 +124,11 @@
    4545 Security (TLS) protocols.
    4646 
     
    5454 %patch1 -p1 -b .apctl
    5555 %patch2 -p1 -b .apxs
    56 @@ -128,6 +144,13 @@
     56@@ -128,6 +147,14 @@
    5757 # Patch in vendor/release string
    5858 sed "s/@RELEASE@/%{vstring}/" < %{PATCH20} | patch -p1
     
    6464+%patch1006 -p1 -b .cloexec
    6565+%patch1007 -p1 -b .fixup-vhost
     66+# Note that patch1008 is not here, as it patches the initscript elsewhere in this .spec
    6667+
    6768 # Safety check: prevent build if defined MMN does not equal upstream MMN.
    6869 vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'`
    6970 if test "x${vmmn}" != "x%{mmn}"; then
    70 @@ -175,10 +198,12 @@
     71@@ -175,10 +205,12 @@
    7172         --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
    7273        --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 -0500
    2 +++ krb5.spec   2011-11-16 12:42:47.134740975 -0500
     1--- krb5.spec.~1~       2012-03-08 16:20:41.000000000 -0500
     2+++ krb5.spec   2012-04-01 22:07:14.834013302 -0400
    33@@ -6,7 +6,7 @@
    44 Summary: The Kerberos network authentication system
    55 Name: krb5
    6  Version: 1.9.1
    7 -Release: 14%{?dist}
    8 +Release: 14%{?dist}.scripts.%{scriptsversion}
     6 Version: 1.9.3
     7-Release: 1%{?dist}
     8+Release: 1%{?dist}.scripts.%{scriptsversion}
    99 # 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.tar
     10 # http://web.mit.edu/kerberos/dist/krb5/1.9/krb5-1.9.3-signed.tar
    1111 Source0: krb5-%{version}.tar.gz
    12 @@ -65,6 +65,8 @@
    13  Patch89: krb5-1.9.1-sendto_poll3.patch
    14  Patch90: krb5-1.9-MITKRB5-SA-2011-006.patch
     12@@ -64,6 +64,8 @@
     13 Patch102: krb5-1.9-7048.patch
     14 Patch103: krb5-kvno-230379.patch
    1515 
    1616+Patch1000: krb5-kuserok-scripts.patch
     
    1919 URL: http://web.mit.edu/kerberos/www/
    2020 Group: System Environment/Libraries
    21 @@ -114,6 +116,7 @@
     21@@ -113,6 +115,7 @@
    2222 %package libs
    2323 Summary: The shared libraries used by Kerberos 5
     
    2727 %description libs
    2828 Kerberos is a network authentication system. The krb5-libs package
    29 @@ -221,6 +224,7 @@
    30  %patch88 -p1 -b .crossrealm
    31  %patch89 -p1 -b .sendto_poll3
    32  %patch90 -p1 -b .2011-006
     29@@ -219,6 +222,7 @@
     30 %patch101 -p1 -b .7047
     31 %patch102 -p1 -b .7048
     32 %patch103 -p1 -b .kvno
    3333+%patch1000 -p1 -b .kuserok
    3434 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 @@
    54 Packager: OpenAFS Gatekeepers <openafs-gatekeepers@openafs.org>
    65 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
    910 %if 0%{?fedora}
    1011 BuildRequires: perl-devel perl-ExtUtils-Embed
    1112 %endif
    12 @@ -323,6 +323,12 @@
     13@@ -326,6 +329,12 @@
    1314 %package client
    1415 Provides: scripts-openafs-client
     
    2324 %if %{fedorakmod}
    2425 Requires: %{name}-kmod >= %{version}
    25 @@ -347,6 +353,12 @@
     26@@ -350,6 +359,12 @@
    2627 Requires: openafs = %{version}
    2728 Summary: OpenAFS Filesystem Server
     
    3637 %description server
    3738 The AFS distributed filesystem.  AFS is a distributed filesystem
    38 @@ -999,7 +1011,12 @@
     39@@ -1005,7 +1020,12 @@
    3940 mkdir -p $RPM_BUILD_ROOT%{_sbindir}
    4041 mkdir -p $RPM_BUILD_ROOT%{_libdir}
     
    4950 mkdir -p $RPM_BUILD_ROOT%{pamdir}
    5051 mkdir -p $RPM_BUILD_ROOT%{_prefix}/afs/etc
    51 @@ -1029,8 +1046,14 @@
     52@@ -1035,8 +1055,14 @@
    5253 
    5354 # Copy root.client config files
     
    6465 # Copy PAM modules
    6566 install -m 755 ${sysname}/dest/lib/pam* $RPM_BUILD_ROOT%{pamdir}
    66 @@ -1310,7 +1333,14 @@
     67@@ -1318,7 +1344,14 @@
    6768 fi
    6869 
     
    7980        mkdir /afs
    8081        chown root.root /afs
    81 @@ -1327,10 +1357,17 @@
     82@@ -1335,10 +1368,17 @@
    8283 
    8384 %post server
     
    9798 %if %{build_authlibs}
    9899 %post authlibs
    99 @@ -1346,16 +1383,45 @@
     100@@ -1354,16 +1394,39 @@
    100101 fi
    101102 
     
    127128+%endif
    128129+
     130+%if 0%{?fedora} >= 15
    129131+%postun client
    130132+/bin/systemctl daemon-reload >/dev/null 2>&1 || :
    131 +if [ $1 -ge 1 ] ; then
    132 +    # Package upgrade, not uninstall
    133 +    /bin/systemctl try-restart openafs-client.service >/dev/null 2>&1 || :
    134 +fi
    135133+
    136134+%postun server
    137135+/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
    142137 
    143138 %if %{build_dkmspkg}
    144139 %post -n dkms-%{name}
    145 @@ -1413,6 +1479,32 @@
     140@@ -1421,6 +1484,26 @@
    146141 %endif
    147142 %endif
    148143 
     144+%if 0%{?fedora} >= 15
    149145+%triggerun -- openafs-client < 1.6.0-1
    150146+# Save the current service runlevel info
     
    153149+/usr/bin/systemd-sysv-convert --save openafs-client >/dev/null 2>&1 ||:
    154150+
    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
    159152+/sbin/chkconfig --del openafs-client >/dev/null 2>&1 || :
    160 +/bin/systemctl try-restart openafs-client.service >/dev/null 2>&1 || :
    161153+
    162154+%triggerun -- openafs-server < 1.6.0-1
     
    166158+/usr/bin/systemd-sysv-convert --save openafs-server >/dev/null 2>&1 ||:
    167159+
    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
    172161+/sbin/chkconfig --del openafs-server >/dev/null 2>&1 || :
    173 +/bin/systemctl try-restart openafs-server.service >/dev/null 2>&1 || :
     162+%endif
    174163+
    175164 ##############################################################################
    176165 ###
    177166 ### file lists
    178 @@ -1450,7 +1542,12 @@
     167@@ -1458,7 +1541,12 @@
    179168 %{pamdir}/pam_afs.krb.so
    180169 %{pamdir}/pam_afs.so.1
     
    189178 %{_mandir}/man1/copyauth.*
    190179 %{_mandir}/man1/up.*
    191 @@ -1498,7 +1595,11 @@
     180@@ -1506,7 +1594,11 @@
    192181 %{_sbindir}/vldb_check
    193182 %{_sbindir}/vldb_convert
  • branches/fc17-dev/server/fedora/specs/openafs.spec.patch

    r2066 r2195  
    1 --- rpmbuild/SPECS/openafs.spec
    2 +++ rpmbuild/SPECS/openafs.spec.~3~     2011-11-20 20:13:52.211673609 -0500
     1--- openafs.spec        2012-02-13 15:41:02.757592190 -0500
     2+++ openafs.spec.~3~    2012-02-13 15:48:25.366294629 -0500
    33@@ -4,7 +4,7 @@
    44 %define pkgvers 1.6.0
     
    1010 %{!?fedorakmod: %define fedorakmod 1}
    1111 %{!?build_dkmspkg: %define build_dkmspkg 1}
    12 @@ -237,6 +237,14 @@
     12@@ -237,6 +237,15 @@
    1313 
    1414 ExclusiveArch: %{ix86} x86_64 ia64 s390 s390x sparc64 ppc ppc64
    1515 
    1616+Patch1000: openafs-scripts.patch
    17 +Patch1001: openafs-localcsdb.patch
    18 +Patch1002: openafs-systemd.patch
    19 +Patch1003: openafs-systemd-crond.patch
     17+Patch1001: openafs-systemd.patch
     18+Patch1002: openafs-systemd-crond.patch
     19+Patch1003: openafs-systemd-csdb.patch
    2020+Patch1004: openafs-linux-3.1-rcu.patch
    2121+Patch1005: openafs-linux-3.1-fsync.patch
    2222+Patch1006: openafs-linux-3.1-zalloc.patch
     23+Patch1007: openafs-linux-3.2-nlink.patch
    2324+
    2425 #    http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/...
    2526 Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2
    2627 Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2
    27 @@ -316,6 +324,7 @@
     28@@ -316,6 +325,7 @@
    2829 %if %{build_userspace}
    2930 
     
    3334 
    3435 %if %{fedorakmod}
    35 @@ -376,6 +385,7 @@
     36@@ -376,6 +386,7 @@
    3637 
    3738 %if %{build_authlibs}
     
    4142 Group: Networking/Filesystems
    4243 
    43 @@ -392,6 +402,7 @@
     44@@ -392,6 +403,7 @@
    4445 %endif
    4546 
     
    4950 Requires: openafs-authlibs = %{version}-%{release}
    5051 %endif
    51 @@ -410,6 +421,7 @@
     52@@ -410,6 +422,7 @@
    5253 libraries.
    5354 
     
    5758 Group: Development/Filesystems
    5859 Requires: openafs = %{version}-%{release}
    59 @@ -439,6 +451,7 @@
     60@@ -439,6 +452,7 @@
    6061 administrators.
    6162 
     
    6566 Group: Networking/Filesystems
    6667 Provides: openafs-kernel = %{version}
    67 @@ -488,6 +501,7 @@
     68@@ -488,6 +502,7 @@
    6869 
    6970 %if %{krb5support}
     
    7374 Requires: openafs = %{version}
    7475 Group: Networking/Filesystems
    75 @@ -514,7 +528,7 @@
     76@@ -514,7 +529,7 @@
    7677 %if %{build_modules}
    7778 
     
    8283 %else
    8384 
    84 @@ -671,6 +685,15 @@
     85@@ -671,6 +686,16 @@
    8586 #%setup -q -n %{srcdir}
    8687 %setup -q -b 1 -n %{srcdir}
     
    8889+# Apply the Scripts patch
    8990+%patch1000 -p1 -b .scripts
    90 +%patch1001 -p1 -b .localcsdb
    91 +%patch1002 -p1 -b .systemd
    92 +%patch1003 -p1 -b .systemd-crond
     91+%patch1001 -p1 -b .systemd
     92+%patch1002 -p1 -b .systemd-crond
     93+%patch1003 -p1 -b .systemd-csdb
    9394+%patch1004 -p1 -b .rcu
    9495+%patch1005 -p1 -b .fsync
    9596+%patch1006 -p1 -b .zalloc
     97+%patch1007 -p1 -b .nlink
    9698+
    9799 ##############################################################################
    98100 #
    99101 # building
    100 @@ -1212,6 +1235,13 @@
     102@@ -1212,6 +1237,13 @@
    101103 rm -f $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so
    102104 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 -0400
    2 +++ openssh.spec        2010-09-06 21:53:21.000000000 -0400
     1--- openssh.spec.~1~    2012-02-14 11:06:13.000000000 -0500
     2+++ openssh.spec        2012-02-25 13:02:28.660616538 -0500
    33@@ -78,7 +78,7 @@
    44 Summary: An open source implementation of SSH protocol versions 1 and 2
    55 Name: openssh
    66 Version: %{openssh_ver}
    7 -Release: %{openssh_rel}%{?dist}%{?rescue_rel}.1
    8 +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}
    99 URL: http://www.openssh.com/portable.html
    1010 #URL1: http://pamsshagentauth.sourceforge.net
     
    1515 Source5: pam_ssh_agent-rmheaders
    1616+Patch1001: openssh-4.7p1-gssapi-name-in-env.patch
    17 
     17 
    1818 Patch100: openssh-5.6p1-wIm.patch
    1919 Patch0: openssh-5.6p1-redhat.patch
    20 @@ -207,6 +209,7 @@
     20@@ -214,6 +215,7 @@
    2121 Requires(pre): /usr/sbin/useradd
    2222 Requires: pam >= 1.0.1-3
     
    2626 %if %{ldap}
    2727 %package ldap
    28 @@ -323,6 +326,8 @@
    29  %patch80 -p1 -b .biguid
    30  %patch81 -p1 -b .clientloop
     28@@ -333,6 +335,8 @@
     29 %patch83 -p0 -b .oomkiller
     30 %patch84 -p1 -b .legacy
    3131 
    3232+%patch1001 -p1 -b .gssapi-env
     
    3535 pushd pam_ssh_agent_auth-%{pam_ssh_agent_ver}
    3636 autoreconf
    37 
  • branches/fc17-dev/server/fedora/specs/rubygems.spec.patch

    r2066 r2195  
    1 --- rubygems.spec.orig  2011-11-04 14:16:37.000000000 -0400
    2 +++ rubygems.spec       2011-11-04 14:32:02.000000000 -0400
     1--- rubygems.spec.~1~   2012-04-20 14:46:27.000000000 -0400
     2+++ rubygems.spec       2012-05-03 14:12:52.421863447 -0400
    33@@ -15,7 +15,7 @@
    44 Summary:       The Ruby standard for packaging ruby libraries
    55 Name:          rubygems
    66 Version:       1.7.2
    7 -Release:       3%{?dist}
    8 +Release:       3%{?dist}.scripts.%{scriptsversion}
     7-Release:       5%{?dist}
     8+Release:       5%{?dist}.scripts.%{scriptsversion}
    99 Group:         Development/Libraries
    1010 # No GPL version is specified.
    1111 License:       Ruby or GPL+
    12 @@ -40,6 +40,9 @@
    13  # ... and spec_file is not supported yet
    14  Patch7:                rubygems-1.7.2-escape-string-skip-test.patch
     12@@ -42,6 +42,9 @@
     13 # Insecure connection to SSL repository fix
     14 Patch10:       rubygems-1.x.x-ssl-connection-don_t-revert.patch
    1515 
    1616+Provides: scripts-rubygems = %{version}-%{release}
     
    2020 Requires:      ruby >= 1.8.7
    2121 Requires:      ruby-rdoc
    22 @@ -69,6 +72,8 @@
    23  %patch6 -p1 -b .esc
     22@@ -83,6 +86,8 @@
    2423 %patch7 -p1 -b .esc.skip
     24 %patch10 -p1 -b .ssl
    2525 
    2626+%patch1000 -p1 -b .thread
  • branches/fc17-dev/server/fedora/specs/scripts-base.spec

    r2066 r2195  
    2727Requires: whoisd
    2828Requires: logview
     29Requires: fuse-better-mousetrapfs
    2930Requires: %{all_archs nss-pam-ldapd}
    3031Requires: php_scripts
  • branches/fc17-dev/server/fedora/specs/scripts-static-cat.spec

    r2066 r2195  
    22# - https://fedoraproject.org/wiki/Packaging:Haskell
    33# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
     4
     5# Link Haskell libs statically for 3x faster startup speed.
     6%define ghc_without_dynamic 1
    47
    58Name:           scripts-static-cat
Note: See TracChangeset for help on using the changeset viewer.