Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

OS X 10.8 and 10.9 SUS catalogs in Mac OS X 10.7 SUS

By: a guest on Jun 16th, 2013  |  syntax: None  |  size: 1.62 KB  |  views: 801  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Enable OS X 10.8 and 10.9 Software Update Server catalogs in Mac OS X 10.7 Software Update Server
  2.  
  3.  
  4. $ diff /etc/swupd.conf~ /etc/swupd.conf
  5.  
  6.  <IfModule mod_rewrite.c>
  7.      RewriteEngine On
  8.      RewriteCond %{HTTP_USER_AGENT} Darwin/9
  9.      RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-leopard.merged-1.sucatalog
  10.      RewriteCond %{HTTP_USER_AGENT} Darwin/10
  11.      RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-leopard-snowleopard.merged-1.sucatalog
  12.      RewriteCond %{HTTP_USER_AGENT} Darwin/11
  13.      RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-lion-snowleopard-leopard.merged-1.sucatalog
  14. +    RewriteCond %{HTTP_USER_AGENT} Darwin/12
  15. +    RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
  16. +    RewriteCond %{HTTP_USER_AGENT} Darwin/13
  17. +    RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
  18.  </IfModule>
  19.  
  20.  
  21. $ diff /etc/swupd.plist~ /etc/swupd.plist
  22.  
  23.         <key>otherCatalogs</key>
  24.         <array>
  25.                 <string>index-leopard.merged-1.sucatalog</string>
  26.                 <string>index-leopard-snowleopard.merged-1.sucatalog</string>
  27.                 <string>index-lion-snowleopard-leopard.merged-1.sucatalog</string>
  28. +               <string>index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog</string>
  29. +               <string>index-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog</string>
  30.         </array>