1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
|
# $Id: /local/debian/dists/ezm3/debian/packages 2 2005-11-23T13:58:03.728179Z svm $
# If the debian/rules or debian/control file is missing, rebuild the file:
#
# $ yada rebuild control
# $ yada rebuild rules
%define ezm3_version 1.2
Source: ezm3
Section: devel
Priority: extra
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.6.2
Upstream-Source: <URL:ftp://ftp.freebsd.org/pub/FreeBSD/development/CVSup/ezm3/>
Home-Page: <URL:http://www.polstra.com/projects/freeware/ezm3/>
Description: easier Modula-3 distribution
Copyright: .
.
Digital License Agreement
.
SRC Modula-3
.
1. Grant Of License. Digital Equipment Corporation, having a principal
office at 146 Main Street, Maynard, MA 01754 ("DIGITAL") grants to
you ("LICENSEE") the non-exclusive, non-transferable, royalty free
right to use, modify, reproduce and distribute SRC Modula-3 ("SOFTWARE")
subject to the terms set forth herein. Any distribution of SOFTWARE
shall include this Digital License Agreement in human readable form.
.
2. Title to Intellectual Property and Software. Subject to the limited
rights and licenses granted under this License Agreement, all rights,
title and interests including patent, copyright, and trademark rights
in SOFTWARE are and shall remain vested in DIGITAL to the exclusion
of LICENSEE. DIGITAL represents and warrants that DIGITAL has the
legal right to grant such licenses as are expressly granted under
this Agreement.
.
3. Copyright. The SOFTWARE is owned by DIGITAL or its suppliers and is
protected by United States copyright laws and international treaty
provisions. Therefore, you must treat the SOFTWARE like any other
copyrighted material (e.g., a book or musical recording) except
that you may use the SOFTWARE as provided in this Digital License
Agreement.
.
4. Improvements. LICENSEE hereby grants to DIGITAL a non-exclusive,
non-transferable, royalty free right to use, modify, reproduce
and distribute with the right to sublicense at any tier, any
improvements, enhancements, extensions, or modifications that
LICENSEE make to SOFTWARE, provided such are returned to DIGITAL
by LICENSEE.
.
5. DISCLAIMER OF WARRANTY. Because the SOFTWARE is a research work and
not a released product, it is provided "AS IS" WITHOUT WARRANTY OF ANY
KIND AND WITHOUT ANY SUPPORT SERVICES. EXCEPT AS SPECIFICALLY PROVIDED
ABOVE IN SECTION 2, DIGITAL FURTHER DISCLAIMS ALL OTHER EXPRESS OR
IMPLIED WARRANTIES OF MERCHANTABILITY OR OF FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK ARISING OUT OF THE USE OR PERFORMANCE OF
THE SOFTWARE REMAINS WITH YOU.
.
6. Limitation of Liability. IN NO EVENT SHALL DIGITAL OR ITS SUPPLIERS BE
LIABLE IN AN AMOUNT THAT EXCEEDS THE LICENSE FEE PAID BY LICENSEE FOR
ANY DAMAGES (INCLUDING, WITH LIMITATION, DAMAGES FOR LOSS OF BUSINESS
PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR OTHER
PECUNIARY LOSS), REGARDLESS OF THE FORM OF CLAIM OR ACTIONS, ARISING
OUT OF THE USE OF OR INABILITY TO USE THE SOFTWARE OR DOCUMENTATION,
EVEN IF DIGITAL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
BECAUSE SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY
FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, THE ABOVE LIMITATION MAY NOT
APPLY TO YOU.
.
7. Acknowledgement of Allocation of Risk. LICENSEE acknowledges and agrees
that the fees charged by DIGITAL in this Agreement reflect the allocation
of risks provided by the foregoing limitation of liability. LICENSEE
acknowledges and represents that it has read and understands these
allocations of risk limiting the liability of DIGITAL and that it
understands that a modification of the allocation of risks set forth
in this agreement would affect the fees charged by DIGITAL, and that
LICENSEE, in consideration of such fees, agrees to such allocations
of risk.
.
8. LICENSEE INDEMNIFICATION. LICENSEE SHALL INDEMNIFY DIGITAL AGAINST
ALL COSTS AND DAMAGE JUDGEMENTS, INCLUDING ATTORNEY'S FEES AND COSTS
OF DEFENSE, INCURRED BECAUSE OF CLAIMS OF DAMAGE ARISING FROM LICENSEE'S
POSSESSION OR USE OR INABILITY TO USE SOFTWARE.
.
9. GOVERNMENT RESTRICTED RIGHTS. The SOFTWARE and documentation are provided
with RESTRICTED RIGHTS. Use duplication, or disclosure by the Government
is subject restrictions as set forth in subparagraph (c)(1)(ii) of The
Rights in Technical Data and Computer Software clause in DFARS
252.227-7013, or subparagraphs (c)(i) and (2) of the Commercial Computer
Software -- Restricted Rights at 48 CFR 52.227-19, as applicable.
Manufacturer is Digital Equipment Corporation, 130 Lytton Avenue,
Palo Alto, CA 94301-1044.
.
10. Severability. If any provision of the Agreement is held illegal or
unenforceable by any court of competent jurisdiction, such provision
shall be deemed separable from the remaining provisions of this Agreement
and shall not affect or impair the validity or enforceability of the
remaining provisions of this Agreement.
.
11. Governing Law. This Agreement is governed by the laws of the
Commonwealth of Massachusetts.
.
12. Publicity. You my not use the name of DIGITAL in any advertisement,
press release or other publicity with reference to SRC Modula-3
without prior written consent of DIGITAL.
.
13. Should you have any questions concerning this Agreement, or if you
desire to contact Digital for any reason, please do so via E-mail:
M3-REQUEST@SRC.DEC.COM.
Major-Changes:
%`cd debian/patches; ls *.patch | sed -e 's/^/ /'`
Build-Depends: bzip2, fakechroot
Build: sh
HOST=LINUXLIBC6
.
if ! [ -f fakechroot-stamp ]; then
mkdir -p build
for d in /*; do
ln -s $d build
done
rm -rf build/usr
mkdir build/usr
for d in /usr/*; do
ln -s $d build/usr
done
rm -rf build/usr/bin build/usr/lib build/usr/man build/usr/src
mkdir build/usr/bin build/usr/lib build/usr/src
for d in /usr/bin/*; do
ln -s $d build/usr/bin
done
for d in /usr/lib/*; do
ln -s $d build/usr/lib
done
rm -rf build/usr/lib/m3
/bin/ls -ldi /
fakechroot /usr/sbin/chroot build /bin/ls -ldi /
sleep 1 && touch fakechroot-stamp
fi
.
if ! [ unpack-stamp -nt fakechroot-stamp ]; then
for f in *.bz2; do
tar jxf $f
done
rm -f build/usr/src/*
ln -s $pwd/ezm3-%{ezm3_version} build/usr/src
sleep 1 && touch unpack-stamp
fi
.
if ! [ patch-stamp -nt unpack-stamp ]; then
yada patch debian/patches/*.patch
sleep 1 && touch patch-stamp
fi
.
if ! [ configure-stamp -nt patch-stamp ]; then
echo 'M3CC_MAKE = ["make", "BISON=yacc"]' >> ezm3-%{ezm3_version}/m3config/src/$HOST
echo 'RPATH_FLAG = ""' >> ezm3-%{ezm3_version}/m3config/src/$HOST
echo 'RPATH_prefix = "-Wl,"' >> ezm3-%{ezm3_version}/m3config/src/$HOST
sed -i \
-e "s:/usr/local:/usr:" \
-e "s:gmake:make:" \
-e "s:touch:ranlib:" \
ezm3-%{ezm3_version}/m3config/src/COMMON
sed -i \
-e "s:/usr/local:/usr:" \
ezm3-%{ezm3_version}/m3config/src/$HOST
sleep 1 && touch configure-stamp
fi
.
if ! [ build-stamp -nt configure-stamp ]; then
fakechroot /usr/sbin/chroot build /bin/sh -c 'cd /usr/src/ezm3-%{ezm3_version} && make'
fi
Clean: sh
rm -rf build || true
yada unpatch
rm -rf ezm3-%{ezm3_version} || true
Package: ezm3
Architecture: i386
Depends: []
Provides: m3
Conflicts: m3, libpm3
Description: easier Modula-3 distribution
A simpler, more portable distribution of the Modula-3 compiler and runtime
libraries. It is designed for people who would like to install CVSup on their
systems as quickly and as painlessly as possible. Ezm3 is derived from the
robust and comprehensive PM3 release of Modula-3. Only the components and
features which are needed by CVSup were retained. Features which made the
package harder to port and install were removed.
.
Ezm3 is not a full release of the entire Modula-3 source base. It contains
only those components which are required for building and running CVSup. If
you are interested in using Modula-3 for anything except building CVSup, you
might be better off using a more complete distribution such as PM3 or CM3.
.
Ezm3 does not bother building shared library versions of the Modula-3 runtime
libraries. This means that CVSup and other programs you build with Ezm3 will
be self-sufficient. They will run on systems which don't have Ezm3 installed.
.
Ezm3 does not bother trying to support Modula-3's incremental garbage
collection feature. This feature is the leading cause of portability and
installation problems in other distributions of Modula-3. It does not benefit
CVSup, so it has been removed. As a lucky side-effect, removing the
incremental GC reduces dynamic memory usage by about 25%.
Install: sh
yada copy -into /usr/lib build/usr/lib/m3
yada install -bin build/usr/bin/m3build build/usr/bin/m3ship build/usr/bin/m3bundle
yada install -man build/usr/man/man1/m3bundle.1
yada undocumented m3ship.1 m3build.1
|