From: Chaskiel M Grundman Date: Mon, 26 Aug 2002 21:24:11 +0000 (+0000) Subject: packaging-add-macos-bits-20020826 X-Git-Tag: openafs-devel-1_3_50~632 X-Git-Url: http://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=9d55bb0ee5fed23bb74703b3bad3d77a16294fdb packaging-add-macos-bits-20020826 the macos x packaging --- diff --git a/src/packaging/MacOS/CellServDB b/src/packaging/MacOS/CellServDB new file mode 100644 index 0000000..51cd3c9 --- /dev/null +++ b/src/packaging/MacOS/CellServDB @@ -0,0 +1,239 @@ +>grand.central.org #GCO Public CellServDB 10 Apr 2002 +18.7.14.88 #grand-opening.mit.edu +128.2.191.224 #penn.central.org +>wu-wien.ac.at #University of Economics, Vienna, Austria +137.208.3.33 #afsdb1.wu-wien.ac.at +137.208.7.4 #afsdb2.wu-wien.ac.at +137.208.7.7 #afsdb3.wu-wien.ac.at +>cern.ch #European Laboratory for Particle Physics, Geneva +137.138.128.148 #afsdb1.cern.ch +137.138.246.50 #afsdb3.cern.ch +137.138.246.51 #afsdb2.cern.ch +>ethz.ch #Swiss Federal Inst. of Tech. - Zurich, Switzerland +129.132.97.19 #amalthea.ethz.ch +129.132.97.27 #nethzafs-001.ethz.ch +129.132.115.3 #himalia.ethz.ch +129.132.115.37 #nethzafs-005.ethz.ch +129.132.115.38 #nethzafs-006.ethz.ch +>extundo.com #Simon Josefsson's cell +195.42.214.241 #slipsten.extundo.com +>mekinok.com #Mekinok, Inc. +4.17.166.66 #loggerhead.mekinok.com +>sodre.cx #Sodre.cx +128.8.140.165 #greed.sodre.cx +>ipp-garching.mpg.de #Institut fuer Plasmaphysik +130.183.9.5 #afs-db1.rzg.mpg.de +130.183.100.10 #afs-db2.aug.ipp-garching.mpg.de +130.183.100.23 #afs-db3.aug.ipp-garching.mpg.de +>tu-chemnitz.de #Technische Universitaet Chemnitz, Germany +134.109.2.1 #zuse.hrz.tu-chemnitz.de +134.109.2.15 #phoenix.hrz.tu-chemnitz.de +134.109.200.7 #aetius.hrz.tu-chemnitz.de +>uni-bonn.de #Cell name +131.220.14.198 #work15-eth.rhrz.uni-bonn.de +131.220.14.203 #node03-en2.rhrz.uni-bonn.de +131.220.14.205 #node05.rhrz.uni-bonn.de +>uni-freiburg.de #Albert-Ludwigs-Universitat Freiburg +132.230.6.235 #sv6.ruf.uni-freiburg.de +132.230.6.236 #sv7.ruf.uni-freiburg.de +132.230.6.237 #sv8.ruf.uni-freiburg.de +>uni-hohenheim.de #University of Hohenheim +144.41.2.2 #rs13.serv.uni-hohenheim.de +144.41.2.3 #rs14.serv.uni-hohenheim.de +144.41.2.4 #rs15.serv.uni-hohenheim.de +>meteo.uni-koeln.de #Univ. of Cologne - Inst. for Geophysics & Meteorology +134.95.144.200 #bora.meteo.uni-koeln.de +134.95.144.208 #monsun.meteo.uni-koeln.de +134.95.144.213 #brise.meteo.uni-koeln.de +>sunsite.dk #SunSITE.dk +130.225.51.30 #sunsite.dk +>andrew.cmu.edu #Carnegie Mellon University - Computing Services +128.2.10.2 #vice2.fs.andrew.cmu.edu +128.2.10.7 #vice7.fs.andrew.cmu.edu +128.2.10.11 #vice11.fs.andrew.cmu.edu +128.2.10.12 #vice12.fs.andrew.cmu.edu +128.2.10.28 #vice28.fs.andrew.cmu.edu +>club.cc.cmu.edu #Carnegie Mellon University Computer Club +128.2.4.131 #yttrium.club.cc.cmu.edu +128.2.4.132 #zirconium.club.cc.cmu.edu +>cs.cmu.edu #Carnegie Mellon University - School of Comp. Sci. +128.2.206.130 #cucumber.srv.cs.cmu.edu +128.2.222.199 #papaya.srv.cs.cmu.edu +128.2.242.86 #lemon.srv.cs.cmu.edu +>ece.cmu.edu #Carnegie Mellon University - Elec. Comp. Eng. Dept. +128.2.129.7 #porok.ece.cmu.edu +128.2.129.8 #vicio.ece.cmu.edu +128.2.129.9 #e-xing.ece.cmu.edu +128.2.136.109 #last.ece.cmu.edu +>msc.cornell.edu #Cornell University Materials Science Center +128.84.231.242 #miranda.ccmr.cornell.edu +128.84.241.35 #co.ccmr.cornell.edu +128.84.249.78 #dax.ccmr.cornell.edu +>iastate.edu #Iowa State University +129.186.1.243 #afsdb-1.iastate.edu +129.186.6.243 #afsdb-2.iastate.edu +129.186.142.243 #afsdb-3.iastate.edu +>athena.mit.edu #MIT/Athena cell +18.7.1.66 #paris.mit.edu. +18.145.0.25 #agamemnon.mit.edu. +18.158.0.37 #prill.mit.edu. +>dev.mit.edu #MIT/IS Development cell +18.7.1.70 #wham.mit.edu. +18.7.15.89 #rattle.mit.edu. +18.7.15.93 #hum.mit.edu. +>net.mit.edu #MIT/Network Group cell +18.72.0.26 #cetus.mit.edu. +18.72.1.38 #gracie.mit.edu. +>sipb.mit.edu #MIT/SIPB cell +18.181.0.19 #reynelda.mit.edu. +18.181.0.22 #rosebud.mit.edu. +18.181.0.23 #ronald-ann.mit.edu. +>msu.edu #Michigan State University Main Cell +35.9.7.10 #afsdb0.cl.msu.edu +>nd.edu #University of Notre Dame +129.74.223.17 #john.helios.nd.edu +129.74.223.33 #lizardo.helios.nd.edu +129.74.223.65 #buckaroo.helios.nd.edu +>pitt.edu #University of Pittsburgh +136.142.8.15 #afs09.srv.cis.pitt.edu +136.142.8.20 #afs10.srv.cis.pitt.edu +136.142.8.21 #afs11.srv.cis.pitt.edu +>rose-hulman.edu #Rose-Hulman Institute of Technology +137.112.7.11 #afs1.rose-hulman.edu +137.112.7.12 #afs2.rose-hulman.edu +137.112.7.13 #afs3.rose-hulman.edu +>cs.rose-hulman.edu #Rose-Hulman CS Department +137.112.40.10 #galaxy.cs.rose-hulman.edu +>rpi.edu #Rensselaer Polytechnic Institute +128.113.22.11 #saul.server.rpi.edu +128.113.22.12 #joab.server.rpi.edu +128.113.22.13 #korah.server.rpi.edu +128.113.22.14 #achan.server.rpi.edu +>hep.sc.edu #USC HEP cell +129.252.78.77 #cpeven.physics.sc.edu +129.252.78.79 #redbaron.physics.sc.edu +>ir.stanford.edu #Stanford University +171.64.7.222 #afsdb1.stanford.edu +171.64.7.234 #afsdb2.stanford.edu +171.64.7.246 #afsdb3.stanford.edu +>slac.stanford.edu #Stanford Linear Accelerator Center +134.79.18.25 #afsdb1.slac.stanford.edu +134.79.18.26 #afsdb2.slac.stanford.edu +134.79.18.27 #afsdb3.slac.stanford.edu +>cats.ucsc.edu #UC Santa Cruz, Comm. and Tech. Services, California U.S.A +128.114.129.14 #elan.ucsc.edu +128.114.129.15 #ichabod.ucsc.edu +128.114.129.18 #maneki.ucsc.edu +>ncsa.uiuc.edu #University of Illinois +141.142.3.5 #congo.ncsa.uiuc.edu +141.142.3.8 #nile.ncsa.uiuc.edu +141.142.230.19 #jinx.ncsa.uiuc.edu +>umbc.edu #University of Maryland, Baltimore County +130.85.1.13 #db2.afs.umbc.edu +130.85.6.33 #db1.afs.umbc.edu +130.85.60.12 #db3.afs.umbc.edu +>glue.umd.edu #University of Maryland - Project Glue +128.8.10.44 #tin.umd.edu +128.8.10.126 #iron.umd.edu +128.8.70.10 #copper.umd.edu +>wam.umd.edu #University of Maryland Network WAM Project +128.8.70.9 #csc-srv.wam.umd.edu +128.8.73.9 #pg2-srv.wam.umd.edu +129.2.128.54 #avw-srv.wam.umd.edu +>umich.edu #University of Michigan - Campus +141.211.1.32 #fear.ifs.umich.edu +141.211.1.33 #surprise.ifs.umich.edu +141.211.1.34 #ruthless.ifs.umich.edu +>citi.umich.edu #University of Michigan - CITI +141.211.92.144 #babble.citi.umich.edu +>lsa.umich.edu #University of Michigan - College of LS&A +141.211.54.132 #curtis.admin.lsa.umich.edu +141.211.61.23 #zee.admin.lsa.umich.edu +141.211.68.15 #marshall.lsa.umich.edu +>math.lsa.umich.edu #University of Michigan - Math Department +141.211.61.40 #ike.math.lsa.umich.edu +141.211.61.41 #clark.math.lsa.umich.edu +141.211.61.42 #nimitz.math.lsa.umich.edu +>umr.edu #University of Missouri - Rolla +131.151.1.59 #afs1.umr.edu +131.151.1.70 #afs6.umr.edu +131.151.1.146 #afs5.umr.edu +>eng.utah.edu #University of Utah - Engineering +155.99.222.40 #afs1.eng.utah.edu +155.99.222.41 #afs2.eng.utah.edu +>cs.uwm.edu #University of Wisconsin--Milwaukee +129.89.38.124 #solomons.cs.uwm.edu +>cs.wisc.edu #Univ. of Wisconsin-Madison, Computer Sciences Dept. +128.105.132.14 #timon.cs.wisc.edu +128.105.132.15 #pumbaa.cs.wisc.edu +128.105.132.16 #zazu.cs.wisc.edu +>hep.wisc.edu #University of Wisconsin -- High Energy Physics +128.104.28.219 #anise.physics.wisc.edu +>biocenter.helsinki.fi #University of Helsinki, Institute of Biotechnology +128.214.58.174 #afsdb1.biocenter.helsinki.fi +128.214.88.114 #afsdb2.biocenter.helsinki.fi +>in2p3.fr #IN2P3 production cell +134.158.232.11 #ccafsdb1.in2p3.fr +134.158.232.12 #ccafsdb2.in2p3.fr +134.158.232.13 #ccafsdb3.in2p3.fr +>anl.gov #Argonne National Laboratory +146.137.96.33 #arteus.ctd.anl.gov +146.137.162.88 #agamemnon.ctd.anl.gov +146.137.194.80 #antenor.ctd.anl.gov +>usatlas.bnl.gov #US Atlas Tier 1 Facility at BNL +130.199.48.32 #aafs01.usatlas.bnl.gov +130.199.48.33 #aafs02.usatlas.bnl.gov +130.199.48.34 #aafs03.usatlas.bnl.gov +>fnal.gov #Fermi National Acclerator Laboratory +131.225.68.1 #fsus01.fnal.gov +131.225.68.4 #fsus03.fnal.gov +131.225.68.14 #fsus04.fnal.gov +>ictp.trieste.it #The Abdus Salam International Centre for Theoretical Physics (IC +140.105.16.8 #fs1.ictp.trieste.it +140.105.16.9 #fs2.ictp.trieste.it +>cmf.nrl.navy.mil #Naval Research Lab - CCS +134.207.10.68 #picard.cmf.nrl.navy.mil +134.207.10.69 #riker.cmf.nrl.navy.mil +134.207.10.70 #kirk.cmf.nrl.navy.mil +>lcp.nrl.navy.mil #Naval Research Lab - Lab for Computational Physics +132.250.114.2 #afs1.lcp.nrl.navy.mil +132.250.114.4 #afs2.lcp.nrl.navy.mil +132.250.114.6 #afs3.lcp.nrl.navy.mil +>es.net #Energy Sciences Net +198.128.3.21 #fs1.es.net +198.128.3.22 #fs2.es.net +198.128.3.23 #fs3.es.net +>zepa.net #Kolya/zepa.net cell +205.245.53.21 #perseus.zepa.net. +205.245.53.48 #neptune.zepa.net. +>nikhef.nl #The Dutch National Institute for High Energy Physics +192.16.185.26 #afs1.nikhef.nl +192.16.185.27 #afs2.nikhef.nl +>1ts.org #KCR/private Karl Ramm, Cambridge, MA +4.36.43.102 #dol-guldur.1ts.org +>dementia.org #Dementia Unlimited +128.2.12.45 #alycia.dementia.org +128.2.120.216 #meredith.dementia.org +>nimlabs.org #Nimlabs, Ink. Cell. +18.238.1.103 #olfin.nimlabs.org +18.238.1.105 #caerbanog.nimlabs.org +>openafs.org #OpenAFS +128.2.121.218 #virtue.openafs.org +>rhic #Relativistic Heavy Ion Collider +130.199.6.51 #rafs03.rcf.bnl.gov +130.199.6.52 #rafs02.rcf.bnl.gov +130.199.6.69 #rafs01.rcf.bnl.gov +>dynarc.se #Dynarc +62.65.1.17 #adder.dynarc.se +>isk.kth.se #Royal Institute of Technology, ISK +130.237.202.12 #afsdb2.isk.kth.se +130.237.206.13 #afsdb1.isk.kth.se +130.237.209.141 #afsdb3.isk.kth.se +>phy.bris.ac.uk #Bristol University - phyics +137.222.58.9 #afs1.phy.bris.ac.uk +>hep.man.ac.uk #Manchester HEP +194.36.2.3 #afs1.hep.man.ac.uk +>rl.ac.uk #Rutherford Appleton Lab, England +130.246.12.45 #isabel.cc.rl.ac.uk +130.246.15.135 #tinkerbel.cc.rl.ac.uk +130.246.183.164 #wallace.cc.rl.ac.uk diff --git a/src/packaging/MacOS/CellServDB.list b/src/packaging/MacOS/CellServDB.list new file mode 100644 index 0000000..14b5b4f --- /dev/null +++ b/src/packaging/MacOS/CellServDB.list @@ -0,0 +1,14 @@ +Following are the md5 hashes of all the cellservdb's shipped with +macos x openafs releases prior to 1.2.7. No newer files need to be +added to this file, since the way CellServDB files are managed changed +in 1.2.7 +MD5 (1.0.4/CellServDB) = 4ac0ebd85f6790cdd64d61ff85e5a3f7 +MD5 (1.1.0/CellServDB) = 122a61939725a7b7175ab79816cf4ebf +MD5 (1.1.1/CellServDB) = 122a61939725a7b7175ab79816cf4ebf +MD5 (1.2.0/CellServDB) = 122a61939725a7b7175ab79816cf4ebf +MD5 (1.2.1/CellServDB) = 122a61939725a7b7175ab79816cf4ebf +MD5 (1.2.2a/CellServDB) = f19fe18f0f4fc3910a0354bfd479b217 +MD5 (1.2.3/CellServDB) = f19fe18f0f4fc3910a0354bfd479b217 +MD5 (1.2.4/CellServDB) = ad94cdff3fcfbd1763099032dd3a0c84 +MD5 (1.2.5/CellServDB) = ad94cdff3fcfbd1763099032dd3a0c84 +MD5 (1.2.6/CellServDB) = 66ad76e99c0f88a7e113c1ccce83819a diff --git a/src/packaging/MacOS/License.rtf b/src/packaging/MacOS/License.rtf new file mode 100644 index 0000000..586d973 --- /dev/null +++ b/src/packaging/MacOS/License.rtf @@ -0,0 +1,249 @@ +{\rtf1\mac\ansicpg10000\cocoartf100 +{\fonttbl\f0\fswiss\fcharset77 Helvetica;\f1\fnil\fcharset77 HelveticaNeue-CondensedBlack;\f2\fswiss\fcharset77 ArialMT; +} +{\colortbl;\red255\green255\blue255;} +\margl1440\margr1440\vieww10620\viewh8860\viewkind0 +\pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural + +\f0\fs20 \cf0 IBM Public License Version 1.0\ + \ + +\f1 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS IBM\ + PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF\ + THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.\ + +\f0\fs16 \ + +\fs20 1. DEFINITIONS\ + \ + "Contribution" means:\ + a) in the case of International Business Machines Corporation ("IBM"),\ + the Original Program, and\ + \ + b) in the case of each Contributor,\ + \ + i) changes to the Program, and\ + \ + ii) additions to the Program;\ + \ + where such changes and/or additions to the Program originate from and\ + are distributed by that particular Contributor. A Contribution\ + 'originates' from a Contributor if it was added to the Program by\ + such Contributor itself or anyone acting on such Contributor's\ + behalf. Contributions do not include additions to the Program\ + which: (i) are separate modules of software distributed in\ + conjunction with the Program under their own license agreement,\ + and (ii) are not derivative works of the Program.\ + \ + "Contributor" means IBM and any other entity that distributes the\ + Program.\ + \ + "Licensed Patents " mean patent claims licensable by a Contributor\ + which are necessarily infringed by the use or sale of its Contribution\ + alone or when combined with the Program.\ + \ + "Original Program" means the original version of the software\ + accompanying this Agreement as released by IBM, including source code,\ + object code and documentation, if any.\ + \ + "Program" means the Original Program and Contributions.\ + \ + "Recipient" means anyone who receives the Program under this\ + Agreement, including all Contributors.\ + \ + 2. GRANT OF RIGHTS\ + a) Subject to the terms of this Agreement, each Contributor hereby\ + grants Recipient a non-exclusive, worldwide, royalty-free\ + copyright license to reproduce, prepare derivative works of,\ + publicly display, publicly perform, distribute and sublicense the\ + Contribution of such Contributor, if any, and such derivative\ + works, in source code and object code form.\ + \ + b) Subject to the terms of this Agreement, each Contributor hereby\ + grants Recipient a non-exclusive, worldwide, royalty-free patent\ + license under Licensed Patents to make, use, sell, offer to sell,\ + import and otherwise transfer the Contribution of such\ + Contributor, if any, in source code and object code form. This\ + patent license shall apply to the combination of the Contribution\ + and the Program if, at the time the Contribution is added by the\ + Contributor, such addition of the Contribution causes such\ + combination to be covered by the Licensed Patents. The patent\ + license shall not apply to any other combinations which include\ + the Contribution. No hardware per se is licensed hereunder.\ + \ + c) Recipient understands that although each Contributor grants the\ + licenses to its Contributions set forth herein, no assurances are\ + provided by any Contributor that the Program does not infringe the\ + patent or other intellectual property rights of any other entity.\ + Each Contributor disclaims any liability to Recipient for claims\ + brought by any other entity based on infringement of intellectual\ + property rights or otherwise. As a condition to exercising the\ + rights and licenses granted hereunder, each Recipient hereby\ + assumes sole responsibility to secure any other intellectual\ + property rights needed, if any. For example, if a third party\ + patent license is required to allow Recipient to distribute the\ + Program, it is Recipient's responsibility to acquire that license\ + before distributing the Program.\ + \ + d) Each Contributor represents that to its knowledge it has sufficient\ + copyright rights in its Contribution, if any, to grant the\ + copyright license set forth in this Agreement.\ + \ + 3. REQUIREMENTS\ + \ + A Contributor may choose to distribute the Program in object code form\ + under its own license agreement, provided that:\ + a) it complies with the terms and conditions of this Agreement; and\ + \ + b) its license agreement:\ + \ + i) effectively disclaims on behalf of all Contributors all warranties\ + and conditions, express and implied, including warranties or\ + conditions of title and non-infringement, and implied warranties\ + or conditions of merchantability and fitness for a particular\ + purpose;\ + \ + ii) effectively excludes on behalf of all Contributors all liability\ + for damages, including direct, indirect, special, incidental and\ + consequential damages, such as lost profits;\ + \ + iii) states that any provisions which differ from this Agreement are\ + offered by that Contributor alone and not by any other party; and\ + \ + iv) states that source code for the Program is available from such\ + Contributor, and informs licensees how to obtain it in a\ + reasonable manner on or through a medium customarily used for\ + software exchange.\ + \ + When the Program is made available in source code form:\ + a) it must be made available under this Agreement; and\ + \ + b) a copy of this Agreement must be included with each copy of the\ + Program.\ + \ + Each Contributor must include the following in a conspicuous location\ + in the Program:\ + \ + Copyright \'a9 \{date here\}, International Business Machines Corporation\ + and others. All Rights Reserved.\ + \ + In addition, each Contributor must identify itself as the originator\ + of its Contribution, if any, in a manner that reasonably allows\ + subsequent Recipients to identify the originator of the Contribution.\ + \ + 4. COMMERCIAL DISTRIBUTION\ + \ + Commercial distributors of software may accept certain\ + responsibilities with respect to end users, business partners and the\ + like. While this license is intended to facilitate the commercial use\ + of the Program, the Contributor who includes the Program in a\ + commercial product offering should do so in a manner which does not\ + create potential liability for other Contributors. Therefore, if a\ + Contributor includes the Program in a commercial product offering,\ + such Contributor ("Commercial Contributor") hereby agrees to defend\ + and indemnify every other Contributor ("Indemnified Contributor")\ + against any losses, damages and costs (collectively "Losses") arising\ + from claims, lawsuits and other legal actions brought by a third party\ + against the Indemnified Contributor to the extent caused by the acts\ + or omissions of such Commercial Contributor in connection with its\ + distribution of the Program in a commercial product offering. The\ + obligations in this section do not apply to any claims or Losses\ + relating to any actual or alleged intellectual property infringement.\ + In order to qualify, an Indemnified Contributor must: a) promptly\ + notify the Commercial Contributor in writing of such claim, and b)\ + allow the Commercial Contributor to control, and cooperate with the\ + Commercial Contributor in, the defense and any related settlement\ + negotiations. The Indemnified Contributor may participate in any such\ + claim at its own expense.\ + \ + For example, a Contributor might include the Program in a commercial\ + product offering, Product X. That Contributor is then a Commercial\ + Contributor. If that Commercial Contributor then makes performance\ + claims, or offers warranties related to Product X, those performance\ + claims and warranties are such Commercial Contributor's responsibility\ + alone. Under this section, the Commercial Contributor would have to\ + defend claims against the other Contributors related to those\ + performance claims and warranties, and if a court requires any other\ + Contributor to pay any damages as a result, the Commercial Contributor\ + must pay those damages.\ + \ + 5. NO WARRANTY\ + \ + +\f1 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS\ + PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\ + KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY\ + WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY\ + OR FITNESS FOR A PARTICULAR PURPOSE +\f0 . Each Recipient is solely\ + responsible for determining the appropriateness of using and\ + distributing the Program and assumes all risks associated with its\ + exercise of rights under this Agreement, including but not limited to\ + the risks and costs of program errors, compliance with applicable\ + laws, damage to or loss of data, programs or equipment, and\ + unavailability or interruption of operations.\ + \ + 6. DISCLAIMER OF LIABILITY\ + \ + +\f1 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR\ + ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,\ + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING\ + WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF\ + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\ + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR\ + DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED\ + HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\ + +\f2\fs16 \ + +\f0\fs20 7. GENERAL\ + \ + If any provision of this Agreement is invalid or unenforceable under\ + applicable law, it shall not affect the validity or enforceability of\ + the remainder of the terms of this Agreement, and without further\ + action by the parties hereto, such provision shall be reformed to the\ + minimum extent necessary to make such provision valid and enforceable.\ + \ + If Recipient institutes patent litigation against a Contributor with\ + respect to a patent applicable to software (including a cross-claim or\ + counterclaim in a lawsuit), then any patent licenses granted by that\ + Contributor to such Recipient under this Agreement shall terminate as\ + of the date such litigation is filed. In addition, If Recipient\ + institutes patent litigation against any entity (including a\ + cross-claim or counterclaim in a lawsuit) alleging that the Program\ + itself (excluding combinations of the Program with other software or\ + hardware) infringes such Recipient's patent(s), then such Recipient's\ + rights granted under Section 2(b) shall terminate as of the date such\ + litigation is filed.\ + \ + All Recipient's rights under this Agreement shall terminate if it\ + fails to comply with any of the material terms or conditions of this\ + Agreement and does not cure such failure in a reasonable period of\ + time after becoming aware of such noncompliance. If all Recipient's\ + rights under this Agreement terminate, Recipient agrees to cease use\ + and distribution of the Program as soon as reasonably practicable.\ + However, Recipient's obligations under this Agreement and any licenses\ + granted by Recipient relating to the Program shall continue and\ + survive.\ + \ + IBM may publish new versions (including revisions) of this Agreement\ + from time to time. Each new version of the Agreement will be given a\ + distinguishing version number. The Program (including Contributions)\ + may always be distributed subject to the version of the Agreement\ + under which it was received. In addition, after a new version of the\ + Agreement is published, Contributor may elect to distribute the\ + Program (including its Contributions) under the new version. No one\ + other than IBM has the right to modify this Agreement. Except as\ + expressly stated in Sections 2(a) and 2(b) above, Recipient receives\ + no rights or licenses to the intellectual property of any Contributor\ + under this Agreement, whether expressly, by implication, estoppel or\ + otherwise. All rights in the Program not expressly granted under this\ + Agreement are reserved.\ + \ + This Agreement is governed by the laws of the State of New York and\ + the intellectual property laws of the United States of America. No\ + party to this Agreement will bring a legal action under this Agreement\ + more than one year after the cause of action arose. Each party waives\ + its rights to a jury trial in any resulting litigation.\ +} diff --git a/src/packaging/MacOS/OpenAFS.info b/src/packaging/MacOS/OpenAFS.info new file mode 100644 index 0000000..f587cac --- /dev/null +++ b/src/packaging/MacOS/OpenAFS.info @@ -0,0 +1,16 @@ +Title OpenAFS +Version 1.2.6 +Description The OpenAFS distributed filesystem. This package installs an almost-ready-to-run client for OpenAFS. see http://www.openafs.org for more information. +DefaultLocation / +Diskname (null) +DeleteWarning +NeedsAuthorization YES +DisableStop NO +UseUserMask NO +Application NO +Relocatable NO +Required NO +InstallOnly NO +RequiresReboot NO +InstallFat NO +rootVolumeOnly YES diff --git a/src/packaging/MacOS/OpenAFS.post_install b/src/packaging/MacOS/OpenAFS.post_install new file mode 100644 index 0000000..82f2534 --- /dev/null +++ b/src/packaging/MacOS/OpenAFS.post_install @@ -0,0 +1,51 @@ +#!/bin/sh +if [ -d /afs -a ! -h /afs ]; then + rmdir /afs +fi +mkdir -p /Network/afs +if [ ! -h /afs ]; then + ln -s /Network/afs /afs +fi + +cd /var/db/openafs/etc + +if [ ! -f cacheinfo ]; then + cp cacheinfo.sample cacheinfo +fi + +# testing case -- upgrading from pre 1.2.7, but .last file exists. +# merge the .save and .last.... +if [ ! -f CellServDB -a -f CellServDB.save -a -f CellServDB.master.last ]; then + cp CellServDB.save CellServDB +fi + +# upgrading between 2 post-1.2.7 releases (or the testing case) +if [ -f CellServDB.master.last ]; then + if cmp -s CellServDB.master.last CellServDB.master ; then + echo No CellServDB updates + done=1 + fi +fi + +# the local changes were included in the update +if [ -z "$done" -a -f CellServDB ]; then + if cmp -s CellServDB CellServDB.master ; then + echo CellServDB is up to date. + cp CellServDB.master CellServDB.master.last + done=1 + fi +fi + +if [ -z "$done" ]; then + # there are local changes to be merged + if [ -f CellServDB -a -f CellServDB.master.last ]; then + echo Merging CellServDB entries.... + perl $1/Contents/Resources/csrvdbmerge.pl + echo done + else + # this is a new install, or an upgrade from pre-1.2.7 + echo "Installing new CellServDB" + cp CellServDB.master CellServDB.master.last + cp CellServDB.master CellServDB + fi +fi diff --git a/src/packaging/MacOS/OpenAFS.pre_upgrade b/src/packaging/MacOS/OpenAFS.pre_upgrade new file mode 100644 index 0000000..43056e7 --- /dev/null +++ b/src/packaging/MacOS/OpenAFS.pre_upgrade @@ -0,0 +1,24 @@ +#!/bin/sh + +cd /var/db/openafs/etc +# only do these checks if we're upgrading from a pre-1.2.7 +if [ -f CellServDB -a ! -f CellServDB.master ]; then + CK=`md5 CellServDB | awk '{ print $4 }'` + if grep -q $CK $1/Contents/Resources/CellServDB.list; then + # it matched one of our previously released files + echo Unmodified CellServDB -- not preserving + : + else + if [ ! -f CellServDB.master.last ]; then + echo Modified CellServDB -- saving as /var/db/openafs/etc/CellServDB.save + echo Please re-merge it manually -- this will not be required for future upgrades + fi + cp CellServDB CellServDB.save + fi +fi +if [ -f config/afsd.options -a -f config/afsd.options.sample ]; then + if cmp -s config/afsd.options config/afs.options.sample; then + echo Removing no-longer needed afsd.options file + rm -f config/afsd.options + fi +fi diff --git a/src/packaging/MacOS/ReadMe.rtf b/src/packaging/MacOS/ReadMe.rtf new file mode 100644 index 0000000..f1ef68a --- /dev/null +++ b/src/packaging/MacOS/ReadMe.rtf @@ -0,0 +1,19 @@ +{\rtf1\mac\ansicpg10000\cocoartf100 +{\fonttbl\f0\fswiss\fcharset77 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\margl1440\margr1440\vieww9000\viewh9000\viewkind0 +\pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural + +\f0\fs20 \cf0 This release of OpenAFS is known to be compatible with MacOS 10.1 (kernel version 1.4, build 5L21) as well as 10.1.1 (kernel version 5.1, build 5M28), 10.1.2 (Darwin 5.2, build 5P48), 10.1.3 (Darwin 5.3, build 5Q45), 10.1.4 (Darwin 5.4, build 5Q125), and 10.1.5 (Darwin 5.5, build 5S60a)\ +\ +Select a client cell name by creating /var/db/openafs/etc/ThisCell\ +\ +The Finder may not detect the existance of afs at login. If you open the /Network folder, it should be visible there.\ +\ +The root.afs.local hack should no longer be required beginning with OpenAFS rele +ases newer than 1.2.6. The OpenAFS cache manager now includes functionality that + should prevent lengthy delays when the finder accesses the afs root. If you cre +ated a /var/db/openafs/etc/config/afsd.options file for this purpose, it should +be removed.\ +\ +Reboot when all of this is done.} diff --git a/src/packaging/MacOS/buildpkg.sh b/src/packaging/MacOS/buildpkg.sh new file mode 100644 index 0000000..d0ec614 --- /dev/null +++ b/src/packaging/MacOS/buildpkg.sh @@ -0,0 +1,126 @@ +#!/bin/sh + +if [ -z "$1" ]; then + echo Usage: buildpkg binary-dir + exit 1 +fi +BINDEST=$1 +RESSRC=`pwd` +if [ ! -f /usr/bin/package ]; then + echo "/usr/bin/package does not exist. Please run this script on a MacOS X system" + echo "with the BSD subsystem installed" + exit 1 +fi +if grep -q 'set resDir = ""' /usr/bin/package ; then + echo /usr/bin/package is buggy. + echo remove the line \''set resDir = ""'\' from /usr/bin/package and try again + exit 1 +fi + +if [ ! -f CellServDB ]; then + echo "A CellServDB file must be placed in the working directory" + die=1 +fi +FILES="ReadMe.rtf License.rtf CellServDB.list OpenAFS.info OpenAFS.post_install OpenAFS.pre_upgrade csrvdbmerge.pl" +for f in $FILES; do + if [ ! -f $f ]; then + echo "file missing: " $f + die=1 + fi +done +if [ "$die" ]; then + echo "Correct above errors; then retry" + exit 1 +fi +if [ ! -f $BINDEST/bin/translate_et ]; then + die=1 +fi +if [ ! -f $BINDEST/root.client/usr/vice/etc/afs.kext/Contents/MacOS/afs ]; then + die=1 +fi +if [ "$die" ]; then + echo $BINDEST " is not a valid binary dir. it should be the result of" + echo "make dest" + exit 1 +fi + +PKGROOT=$RESSRC/pkgroot +PKGRES=$RESSRC/pkgres +rm -rf pkgroot pkgres +mkdir -p $PKGROOT $PKGRES + +mkdir $PKGROOT/Library +chown -R root.admin $PKGROOT +chmod -R 775 $PKGROOT +mkdir $PKGROOT/Library/OpenAFS $PKGROOT/Library/OpenAFS/Tools +cd $BINDEST +pax -rw * $PKGROOT/Library/OpenAFS/Tools +cd $RESSRC +mkdir $PKGROOT/Library +mkdir $PKGROOT/Library/StartupItems +mkdir $PKGROOT/Library/StartupItems/OpenAFS +cp $BINDEST/root.client/usr/vice/etc/afs.rc $PKGROOT/Library/StartupItems/OpenAFS/OpenAFS +chmod a+x $PKGROOT/Library/StartupItems/OpenAFS/OpenAFS +cp $BINDEST/root.client/usr/vice/etc/StartupParameters.plist $PKGROOT/Library/StartupItems/OpenAFS/StartupParameters.plist +chown -R root.admin $PKGROOT/Library +chmod -R o-w $PKGROOT/Library +chmod -R g+w $PKGROOT/Library +chown -R root.wheel $PKGROOT/Library/OpenAFS/Tools +chmod -R og-w $PKGROOT/Library/OpenAFS/Tools + +mkdir $PKGROOT/private $PKGROOT/private/var $PKGROOT/private/var/db +mkdir $PKGROOT/private/var/db/openafs $PKGROOT/private/var/db/openafs/cache +mkdir $PKGROOT/private/var/db/openafs/etc $PKGROOT/private/var/db/openafs/etc/config +cp $RESSRC/CellServDB $PKGROOT/private/var/db/openafs/etc/CellServDB.master +echo andrew.cmu.edu > $PKGROOT/private/var/db/openafs/etc/ThisCell.sample +echo /Network/afs:/var/db/openafs/cache:30000 > $PKGROOT/private/var/db/openafs/etc/cacheinfo.sample +#echo '-stat 2000 -dcache 800 -daemons 3 -volumes 70 -rootvol root.afs.local' > $PKGROOT/private/var/db/openafs/etc/config/afsd.options.sample + +strip -X -S $PKGROOT/Library/OpenAFS/Tools/root.client/usr/vice/etc/afs.kext/Contents/MacOS/afs + +cp -RP $PKGROOT/Library/OpenAFS/Tools/root.client/usr/vice/etc/afs.kext $PKGROOT/private/var/db/openafs/etc + +chown -R root.wheel $PKGROOT/private +chmod -R og-w $PKGROOT/private +chmod og-rx $PKGROOT/private/var/db/openafs/cache + +mkdir $PKGROOT/usr $PKGROOT/usr/bin $PKGROOT/usr/sbin + +BINLIST="fs klog klog.krb kpasswd pagsh pagsh.krb pts sys tokens tokens.krb unlog unlog.krb" + +# Should these be linked into /usr too? +OTHER_BINLIST="bos cmdebug rxgen translate_et udebug xstat_cm_test xstat_fs_test" +OTHER_ETCLIST="vos rxdebug" + +for f in $BINLIST; do + ln -s ../../Library/OpenAFS/Tools/bin/$f $PKGROOT/usr/bin/$f +done + +ln -s ../../Library/OpenAFS/Tools/root.client/usr/vice/etc/afsd $PKGROOT/usr/sbin/afsd + +chown -R root.wheel $PKGROOT/usr +chmod -R og-w $PKGROOT/usr + +cp License.rtf ReadMe.rtf OpenAFS.post_install OpenAFS.pre_upgrade $PKGRES +cp OpenAFS.post_install $PKGRES/OpenAFS.post_upgrade +chmod a+x $PKGRES/OpenAFS.post_install $PKGRES/OpenAFS.post_upgrade $PKGRES/OpenAFS.pre_upgrade +cp csrvdbmerge.pl $PKGRES +chmod a+x $PKGRES/csrvdbmerge.pl +cp CellServDB.list $PKGRES +chown -R root.wheel $PKGRES +rm -rf OpenAFS.pkg +echo /usr/bin/package $PKGROOT OpenAFS.info -r $PKGRES +/usr/bin/package $PKGROOT OpenAFS.info -r $PKGRES +#old versions of package didn't handle this properly +if [ ! -r OpenAFS.pkg/Contents ]; then + mkdir OpenAFS.pkg/Contents OpenAFS.pkg/Contents/Resources + mv OpenAFS.pkg/OpenAFS.* OpenAFS.pkg/Contents/Resources + mv OpenAFS.pkg/*.rtf OpenAFS.pkg/Contents/Resources + mv OpenAFS.pkg/csrvdbmerge.pl OpenAFS.pkg/Contents/Resources + mv OpenAFS.pkg/CellServDB* OpenAFS.pkg/Contents/Resources +fi + +rm -rf pkgroot pkgres +# Unfortunately, sudo sets $USER to root, so I can't chown the +#.pkg dir back to myself +#chown -R $USER OpenAFS.pkg diff --git a/src/packaging/MacOS/csrvdbmerge.pl b/src/packaging/MacOS/csrvdbmerge.pl new file mode 100644 index 0000000..25426ea --- /dev/null +++ b/src/packaging/MacOS/csrvdbmerge.pl @@ -0,0 +1,91 @@ +#!/usr/bin/perl +# CellServDB merging script +# only tested on darwin systems + +use File::Copy; +use IO::File; +use Fcntl; +use strict; + + +sub doit { + my ($cur,$in,$last,$new); + my ($line, $oline, $cell, $pos, $which); + my %cellstat; + + $cur=new IO::File ')) { + if ($line =~ /^>([-a-zA-Z0-9\._]+)\s/) { + if ($cell) { + $oline=<$last>; + if ($oline && $oline !~ /^>/) { # fewer servers in user's file than master + $cellstat{$cell} = 1; + } + } + $cell=$1; + $cellstat{$cell}=2; + # start at the beginning of the old file, and find $cell + $last->seek(0,SEEK_SET); + while (<$last>) { + if (/>$cell\s/) { # note that we don't compare the cell comments + $cellstat{$cell}=0; + last; + } + } + next; + } + if (! $cell) { + die "First CellServDB line isn't a cell\n"; + } + next if ($cellstat{$cell} == 2); # cell only in local CellServDB + next if ($cellstat{$cell} == 1); # already found a local change + $oline=<$last>; + if ($oline =~ /^>/) { # more servers in user's file than master + $last->setpos($pos); + $cellstat{$cell} = 1; + next; + } + next if ($line eq $oline); + $cellstat{$cell} = 1; + } + close($last); + $cur->seek(0,SEEK_SET); + $cur=new IO::File 'CellServDB.NEW' or die "Cannot create output CellServDB: $!\n"; + while (defined($line=<$cur>)) { + if ($line =~ /^>([-a-zA-Z0-9\._]+)\s/) { + $cell=$1; + $which=$cellstat{$cell}; + unless ($which) { + $in->seek(0,SEEK_SET); + while (<$in>) { + if (/>$cell\s/) { + last; + } + } + if (defined($_)) { + print $new $_; + while (defined($line=<$in>) && $line !~ /^>/) { + print $new $line; + } + } + } + } + if (! $cell) { + die "First CellServDB line isn't a cell\n"; + } + if ($which) { + print $new $line; + } + } + close($in); + close($cur); + close($new); + rename('CellServDB.NEW', 'CellServDB'); + copy('CellServDB.master', 'CellServDB.master.last'); +} + +doit;