[26473] in Source-Commits
Re: /svn/athena r25583 - in trunk/debathena/debathena: . ldso1-stub
daemon@ATHENA.MIT.EDU (Benjamin Kaduk)
Thu Jun 14 12:55:31 2012
Date: Thu, 14 Jun 2012 12:55:26 -0400 (EDT)
From: Benjamin Kaduk <kaduk@MIT.EDU>
To: Geoffrey Thomas <geofft@MIT.EDU>
cc: source-commits@MIT.EDU
In-Reply-To: <201206082358.q58Nw4uG021883@drugstore.mit.edu>
Message-ID: <alpine.GSO.1.10.1206141254550.18441@multics.mit.edu>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-1738154980-1339692926=:18441"
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
---559023410-1738154980-1339692926=:18441
Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
You were still planning to remove the amd64_deb60 mention, right?
I'll ACK after that hits; the rest seems good.
-Ben
On Fri, 8 Jun 2012, Geoffrey Thomas wrote:
> Author: geofft
> Date: 2012-06-08 19:58:04 -0400 (Fri, 08 Jun 2012)
> New Revision: 25583
>
> Added:
> trunk/debathena/debathena/ldso1-stub/
> trunk/debathena/debathena/ldso1-stub/Makefile
> trunk/debathena/debathena/ldso1-stub/debian/
> trunk/debathena/debathena/ldso1-stub/debian/changelog
> trunk/debathena/debathena/ldso1-stub/debian/compat
> trunk/debathena/debathena/ldso1-stub/debian/control.in
> trunk/debathena/debathena/ldso1-stub/debian/copyright
> trunk/debathena/debathena/ldso1-stub/debian/debathena-ldso1-stub.lintia=
n-overrides
> trunk/debathena/debathena/ldso1-stub/debian/rules
> trunk/debathena/debathena/ldso1-stub/ld-linux-1.c
> Log:
> In ldso1-stub:
> * Initial release. (Trac: #476)
>
>
> Added: trunk/debathena/debathena/ldso1-stub/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- trunk/debathena/debathena/ldso1-stub/Makefile=09 =
(rev 0)
> +++ trunk/debathena/debathena/ldso1-stub/Makefile=092012-06-08 23:58:04 U=
TC (rev 25583)
> @@ -0,0 +1,13 @@
> +all: ld-linux-1
> +
> +ld-linux-1: ld-linux-1.c
> +=09$(CC) -static -fPIC -m32 -o ld-linux-1 ld-linux-1.c
> +
> +install: all
> +=09install -d $(DESTDIR)/lib
> +=09install -m755 ld-linux-1 $(DESTDIR)/lib/ld-linux.so.1
> +
> +clean:
> +=09-rm ld-linux-1
> +
> +.PHONY: clean all
>
> Added: trunk/debathena/debathena/ldso1-stub/debian/changelog
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- trunk/debathena/debathena/ldso1-stub/debian/changelog=09 =
(rev 0)
> +++ trunk/debathena/debathena/ldso1-stub/debian/changelog=092012-06-08 23=
:58:04 UTC (rev 25583)
> @@ -0,0 +1,5 @@
> +debathena-ldso1-stub (1.0) unstable; urgency=3Dlow
> +
> + * Initial release. (Trac: #476)
> +
> + -- Geoffrey Thomas <geofft@mit.edu> Fri, 08 Jun 2012 12:45:09 -0700
>
> Added: trunk/debathena/debathena/ldso1-stub/debian/compat
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- trunk/debathena/debathena/ldso1-stub/debian/compat=09 =
(rev 0)
> +++ trunk/debathena/debathena/ldso1-stub/debian/compat=092012-06-08 23:58=
:04 UTC (rev 25583)
> @@ -0,0 +1 @@
> +6
>
> Added: trunk/debathena/debathena/ldso1-stub/debian/control.in
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- trunk/debathena/debathena/ldso1-stub/debian/control.in=09 =
(rev 0)
> +++ trunk/debathena/debathena/ldso1-stub/debian/control.in=092012-06-08 2=
3:58:04 UTC (rev 25583)
> @@ -0,0 +1,18 @@
> +Source: debathena-ldso1-stub
> +Section: debathena/libs
> +Priority: extra
> +Maintainer: Debathena Project <debathena@mit.edu>
> +Build-Depends: @cdbs@, gcc-multilib [amd64]
> +Standards-Version: 3.9.1
> +
> +Package: debathena-ldso1-stub
> +Architecture: i386 amd64
> +Depends: ${misc:Depends}
> +Provides: ldso
> +Conflicts: ldso
> +Replaces: ldso
> +Description: Stub program interpreter (ld-linux.so.1) for old binaries
> + There's a good amount of old Linux software in Athena lockers
> + compiled against libc5, which uses /lib/ld-linux.so.1 as its program
> + interpreter. This package provides a stub version of that interpreter
> + that prints a helpful error message and exits.
>
> Added: trunk/debathena/debathena/ldso1-stub/debian/copyright
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- trunk/debathena/debathena/ldso1-stub/debian/copyright=09 =
(rev 0)
> +++ trunk/debathena/debathena/ldso1-stub/debian/copyright=092012-06-08 23=
:58:04 UTC (rev 25583)
> @@ -0,0 +1,32 @@
> +This package was created as part of the Debathena Project
> +<http://debathena.mit.edu/> of the MIT Student Information Processing
> +Board.
> +
> +The source code was obtained from the Athena SVN repository at
> +<svn://debathena.mit.edu/athena/trunk/debathena/debathena>, and is
> +licensed as follows:
> +
> + Copyright =C2=A9 2009, 2012 Geoffrey Thomas <geofft@mit.edu>
> +
> + Permission is hereby granted, free of charge, to any person
> + obtaining a copy of this software and associated documentation files
> + (the "Software"), to deal in the Software without restriction,
> + including without limitation the rights to use, copy, modify, merge,
> + publish, distribute, sublicense, and/or sell copies of the Software,
> + and to permit persons to whom the Software is furnished to do so,
> + subject to the following conditions:
> +
> + The above copyright notice and this permission notice shall be
> + included in all copies or substantial portions of the Software.
> +
> + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
> + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
> + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
> + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> + SOFTWARE.
> +
> +The Debian packaging is Copyright =C2=A9 2012 Geoffrey Thomas, and has t=
he same
> +license as the original software.
>
> Added: trunk/debathena/debathena/ldso1-stub/debian/debathena-ldso1-stub.l=
intian-overrides
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- trunk/debathena/debathena/ldso1-stub/debian/debathena-ldso1-stub.lint=
ian-overrides=09 (rev 0)
> +++ trunk/debathena/debathena/ldso1-stub/debian/debathena-ldso1-stub.lint=
ian-overrides=092012-06-08 23:58:04 UTC (rev 25583)
> @@ -0,0 +1,2 @@
> +# That's the point.
> +statically-linked-binary ./lib/ld-linux.so.1
>
> Added: trunk/debathena/debathena/ldso1-stub/debian/rules
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- trunk/debathena/debathena/ldso1-stub/debian/rules=09 =
(rev 0)
> +++ trunk/debathena/debathena/ldso1-stub/debian/rules=092012-06-08 23:58:=
04 UTC (rev 25583)
> @@ -0,0 +1,10 @@
> +#!/usr/bin/make -f
> +
> +DEB_MAKE_CLEAN_TARGET =3D clean
> +DEB_MAKE_BUILD_TARGET =3D all
> +DEB_MAKE_INSTALL_TARGET =3D install DESTDIR=3D$(DEB_DESTDIR)
> +
> +DEB_DH_FIXPERMS_ARGS :=3D -Xld-linux.so.1
> +
> +include /usr/share/cdbs/1/rules/debhelper.mk
> +include /usr/share/cdbs/1/class/makefile.mk
>
>
> Property changes on: trunk/debathena/debathena/ldso1-stub/debian/rules
> ___________________________________________________________________
> Added: svn:executable
> + *
>
> Added: trunk/debathena/debathena/ldso1-stub/ld-linux-1.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- trunk/debathena/debathena/ldso1-stub/ld-linux-1.c=09 =
(rev 0)
> +++ trunk/debathena/debathena/ldso1-stub/ld-linux-1.c=092012-06-08 23:58:=
04 UTC (rev 25583)
> @@ -0,0 +1,13 @@
> +#include <unistd.h>
> +
> +int main() {
> +#define PRINT(x) write(2, x, sizeof(x))
> + PRINT(
> +"Error:\n"
> +" The software you are trying to run is too old for this system. Please=
\n"
> +" ask its maintainer to compile a newer version of the software for\n"
> +" Debathena (amd64_deb60). If you have questions, contact <debathena@mi=
t.edu>.\n\n"
> +" (ld-linux.so.1 has not been supported on Ubuntu since 2006 or\n"
> +" Debian since 2007.)\n");
> + return 72; //EX_OSFILE "Some system file does not exist..." from FreeB=
SD
> +}
>
>
---559023410-1738154980-1339692926=:18441--