Re: Uploaded glibc-pre2.1 2.0.92-0.1 (source powerpc all) to master
- To: Juan Cespedes <cespedes@etsit.upm.es>, debian-powerpc@lists.debian.org
- Subject: Re: Uploaded glibc-pre2.1 2.0.92-0.1 (source powerpc all) to master
- From: Joel Klecker <jk@espy.org>
- Date: Thu, 16 Apr 1998 22:51:25 -0700
- Message-id: <v04003a1cb15c961e0464@[206.163.71.146]>
- In-reply-to: <19980416120742.52018@salmon.etsit.upm.es>
- References: <199804152100.VAA18803@tervola.infodrom.north.de>; from jk@espy.org on Wed, Apr 15, 1998 at 09:00:53PM +0000 <199804152100.VAA18803@tervola.infodrom.north.de>
At 12:07 +0200 1998-04-16, Juan Cespedes wrote:
> If it is the one in ftp://alpha.gnu.org/gnu/glibc-2.0.92.tar.gz,
>then it is the same as glibc_2.0.92-980326.
>
I suddenly realized that I may have stepped on an an upload of yours, is
that the case? My apologies for doing that, I should have announced my
intent to do a NMU.
I intend to ask that my glibc-pre2.1 release be removed from the archive.
I have attached my modified debian/rules for your perusal. I would have
made a diff, but I obviously don't have your latest changes, so I figured
I'd send the whole thing.
I will clean up the glibc patches for powerpc and make a diff available soon.
I wonder if you'd be interested in getting CVS set up so that we can more
easily work together on glibc-pre2.1.
#!/usr/bin/make -f
# Sample debian/rules file - for GNU Hello (1.3).
# Copyright 1994,1995 by Ian Jackson.
# I hereby give you perpetual unlimited permission to copy,
# modify and relicense this file, provided that you do not remove
# my name from the file itself. (I assert my moral right of
# paternity under the Copyright, Designs and Patents Act 1988.)
# This file may have to be extensively modified
#
# Modified for glibc by David Engel <david@debian.org>
arch = $(shell dpkg --print-architecture)
ifeq ($(arch),powerpc)
karch = ppc
else
karch = $(arch)
endif
ifeq ($(arch),sparc)
p = libc6
LOADER = ld-linux.so.2
KVERSION = 2.0.33
KREVISION = 3
LDCONFIG = ldso (>= 1.8.10-1)
else
ifeq ($(arch),powerpc)
p = libc6
LOADER = ld.so.1
KVERSION = 2.1.86
KREVISION = 1
LDCONFIG = ldconfig
else
ifeq ($(arch),alpha)
p = libc6.1
LOADER = ld-linux.so.2
KVERSION = 2.0.32
KREVISION = 2
LDCONFIG = ldconfig
else
ifeq ($(arch),m68k)
p = libc6
LOADER = ld.so.1
KVERSION = 2.0.32
KREVISION = 2
LDCONFIG = ldso (>= 1.8.10-1)
else
ifeq ($(arch),i386)
p = libc6
LOADER = ld-linux.so.2
KVERSION = 2.0.32
KREVISION = 2
LDCONFIG = ldso (>= 1.8.10-1)
endif
endif
endif
endif
endif
build:
ifeq ($(MAKE_VERSION), 3.76)
echo "Make 3.76 is broken! Use make 3.76.1"
false
endif
if [ ! -d builddir ]; then \
mkdir builddir; fi
if [ ! -f configparms -a -f debian/configparms.${arch} ]; then \
cp debian/configparms.${arch} configparms; \
fi
rm -f linux ; \
ln -s /usr/src/kernel-headers-${KVERSION}/include/linux linux
rm -f asm ; \
ln -s /usr/src/kernel-headers-${KVERSION}/include/asm-${karch} asm
chmod +x configure
(cd builddir ; \
if [ ! -f config.status ]; then \
../configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --enable-add-ons=crypt,linuxthreads; \
fi ; \
$(MAKE) )
cd linuxthreads/man && make all
touch build
clean:
-find . -name '*~' | xargs rm -f
-rm -rf build builddir linux asm pre-binary
-cd linuxthreads/man && make clean
-rm -rf debian/hold debian/tmp debian/files*
binary: build binary-indep binary-arch
binary-indep: binary-doc
binary-arch: binary-run binary-dev binary-dbg binary-pic \
binary-locales binary-timezones
pre-binary: build
# copy most everything into debian/hold
-rm -rf debian/hold
install -d debian/hold
cd builddir && make install_root=`pwd`/../debian/hold \
INSTALL_INFO=true install
install -d debian/hold/usr/man/man3
cd linuxthreads/man && \
make MANDIR='../../debian/hold/usr/man/man3' install
rm -f debian/hold/usr/lib/libg.a
sed -e 's/LIBC/$(p)/g' < debian/control.in > debian/control
echo "$(arch):libc6=$(LDCONFIG)" > debian/substvars
echo "kversion=$(KVERSION)" >> debian/substvars
echo "krevision=$(KREVISION)" >> debian/substvars
touch pre-binary
binary-run: checkroot pre-binary
# build the libc6 binary
-rm -rf debian/tmp
install -d debian/tmp/usr/bin \
debian/tmp/lib \
debian/tmp/usr/sbin \
debian/tmp/usr/doc/$(p) \
debian/tmp/DEBIAN
ifeq ($(arch),alpha)
cp -a debian/hold/usr/bin/ldd debian/tmp/usr/bin
else
ifeq ($(arch),powerpc)
cp -a debian/hold/usr/bin/ldd debian/tmp/usr/bin
endif
endif
cp -a debian/hold/usr/libexec/pt_chown debian/tmp/usr/sbin
cp -a debian/hold/usr/sbin/{nscd,utmpd} debian/tmp/usr/sbin
cp -a debian/hold/lib/{ld,lib}*-2*.so debian/tmp/lib
cp -a debian/hold/lib/lib*-0*.so debian/tmp/lib
#strip -g -K _dl_debug_state debian/tmp/lib/ld*.so
strip debian/tmp/lib/lib*.so
cp -a debian/hold/lib/{ld,lib}*.so.* debian/tmp/lib
for f in ChangeLog* BUGS FAQ INSTALL NEWS NOTES PROJECTS README ; do \
cp -a $$f debian/tmp/usr/doc/$(p)/$$f ; \
done
cd crypt && for f in README ; do \
cp -a $$f ../debian/tmp/usr/doc/$(p)/$$f.crypt ; \
done
cd linuxthreads && for f in README* Changes ChangeLog ; do \
cp -a $$f ../debian/tmp/usr/doc/$(p)/$$f.linuxthreads ; \
done
cd localedata && for f in README ChangeLog ; do \
cp -a $$f ../debian/tmp/usr/doc/$(p)/$$f.localedata ; \
done
cp debian/changelog debian/tmp/usr/doc/$(p)/changelog.Debian
cp debian/FAQ debian/tmp/usr/doc/$(p)/FAQ.Debian
gzip -f9 debian/tmp/usr/doc/$(p)/*
cp debian/copyright debian/tmp/usr/doc/$(p)
cp debian/libc/* debian/tmp/DEBIAN
if [ -f debian/shlibs.$(arch) ] ; then \
cp debian/shlibs.$(arch) debian/tmp/DEBIAN/shlibs ; \
else \
cp debian/shlibs debian/tmp/DEBIAN ; \
fi
chmod +x debian/tmp/DEBIAN/p*
dpkg-gencontrol -p$(p) -isp
chmod -R g-w debian/tmp
chown -R root.root debian/tmp
dpkg --build debian/tmp ..
binary-dev: checkroot pre-binary
# build the $(p)-dev binary
-rm -rf debian/tmp
install -d debian/tmp/usr/bin \
debian/tmp/usr/lib \
debian/tmp/usr/include \
debian/tmp/usr/doc \
debian/tmp/DEBIAN
cp -a debian/hold/usr/bin/{gencat,getconf,makedb} debian/tmp/usr/bin
strip debian/tmp/usr/bin/*
cp -a debian/hold/usr/bin/glibcbug debian/tmp/usr/bin
cp -a debian/hold/usr/lib/*.{o,a} debian/tmp/usr/lib
rm -f debian/tmp/usr/lib/lib*_p.a
strip -g debian/tmp/usr/lib/*.{o,a}
cp -a debian/hold/usr/lib/lib*.so debian/tmp/usr/lib
cp -a debian/hold/usr/include/* debian/tmp/usr/include
ln -sf /usr/src/kernel-headers-${KVERSION}/include/linux \
debian/tmp/usr/include/linux
ln -sf /usr/src/kernel-headers-${KVERSION}/include/asm \
debian/tmp/usr/include/asm
ln -sf $(p) debian/tmp/usr/doc/$(p)-dev
cp debian/libc-dev/* debian/tmp/DEBIAN
chmod +x debian/tmp/DEBIAN/p*
dpkg-gencontrol -p$(p)-dev -isp
chmod -R g-w debian/tmp
chown -R root.root debian/tmp
dpkg --build debian/tmp ..
binary-dbg: checkroot pre-binary
# build the $(p)-dbg binary
-rm -rf debian/tmp
install -d debian/tmp/usr/lib \
debian/tmp/usr/doc \
debian/tmp/DEBIAN
for f in `find debian/hold/usr/lib -name '*.a' ! -name '*_p.a'` ; do \
cp $$f debian/tmp/usr/lib/`basename $$f .a`_g.a ; \
done
cp -a debian/hold/usr/lib/*_p.a debian/tmp/usr/lib
ln -sf $(p) debian/tmp/usr/doc/$(p)-dbg
#cp debian/libc-dbg/* debian/tmp/DEBIAN
#chmod +x debian/tmp/DEBIAN/p*
dpkg-gencontrol -p$(p)-dbg -isp
chmod -R g-w debian/tmp
chown -R root.root debian/tmp
dpkg --build debian/tmp ..
binary-pic: checkroot pre-binary
# build the $(p)-pic binary
-rm -rf debian/tmp
install -d debian/tmp/usr/lib \
debian/tmp/usr/doc \
debian/tmp/DEBIAN \
debian/tmp/usr/lib/lib_pic
cp builddir/libc_pic.a debian/tmp/usr/lib
cp builddir/interp.os debian/tmp/usr/lib/lib_pic/interp.so
cp builddir/elf/soinit.os debian/tmp/usr/lib/lib_pic/soinit.so
cp builddir/elf/sofini.os debian/tmp/usr/lib/lib_pic/sofini.so
ln -sf $(p) debian/tmp/usr/doc/$(p)-pic
dpkg-gencontrol -p$(p)-pic -isp
chmod -R g-w debian/tmp
chown -R root.root debian/tmp
dpkg --build debian/tmp ..
binary-doc: checkroot pre-binary
# build the $(p)-doc binary
-rm -rf debian/tmp
install -d debian/tmp/usr/info \
debian/tmp/usr/man \
debian/tmp/usr/doc \
debian/tmp/DEBIAN
cp -a debian/hold/usr/info/* debian/tmp/usr/info
rm -f debian/tmp/usr/info/dir
gzip -f9 debian/tmp/usr/info/*
cp -a debian/hold/usr/man/* debian/tmp/usr/man
gzip -f9 debian/tmp/usr/man/*/*
ln -sf $(p) debian/tmp/usr/doc/$(p)-pre2.1-doc
cp debian/libc-doc/* debian/tmp/DEBIAN
chmod +x debian/tmp/DEBIAN/p*
dpkg-gencontrol -p$(p)-pre2.1-doc -isp
chmod -R g-w debian/tmp
chown -R root.root debian/tmp
dpkg --build debian/tmp ..
binary-locales: checkroot pre-binary
# build the locales binary
-rm -rf debian/tmp
install -d debian/tmp/usr/bin \
debian/tmp/usr/share \
debian/tmp/usr/doc \
debian/tmp/DEBIAN
cp -a debian/hold/usr/bin/{locale,localedef} debian/tmp/usr/bin
strip debian/tmp/usr/bin/*
cp -a debian/hold/usr/share/{i18n,locale} debian/tmp/usr/share
bash debian/do_locales $(LOADER)
ln -s $(p) debian/tmp/usr/doc/locales
#cp debian/locales/* debian/tmp/DEBIAN
#chmod +x debian/tmp/DEBIAN/p*
dpkg-gencontrol -plocales -isp
chmod -R g-w debian/tmp
chown -R root.root debian/tmp
dpkg --build debian/tmp ..
binary-timezones: checkroot pre-binary
# build the timezones binary
-rm -rf debian/tmp
install -d debian/tmp/etc \
debian/tmp/usr/bin \
debian/tmp/usr/sbin \
debian/tmp/usr/share \
debian/tmp/usr/doc \
debian/tmp/DEBIAN
echo Factory > debian/tmp/etc/timezone
cp -a debian/hold/usr/bin/tzselect debian/tmp/usr/bin
cp -a debian/hold/usr/sbin/{zdump,zic} debian/tmp/usr/sbin
strip debian/tmp/usr/sbin/*
cp -a debian/tzconfig debian/tmp/usr/sbin
chmod +x debian/tmp/usr/sbin/tzconfig
cp -a debian/hold/usr/share/zoneinfo debian/tmp/usr/share
cp debian/timezones/* debian/tmp/DEBIAN
chmod +x debian/tmp/DEBIAN/p*
ln -s $(p) debian/tmp/usr/doc/timezones
dpkg-gencontrol -ptimezones -isp
chmod -R g-w debian/tmp
chown -R root.root debian/tmp
dpkg --build debian/tmp ..
checkroot:
$(checkdir)
test root = "`whoami`"
.PHONY: binary binary-arch binary-indep clean checkroot
# Local Variables:
# mode: makefile
# end:
#
--
Joel "Espy" Klecker <mailto:jk@espy.org> <http://web.espy.org/>
Debian GNU/Linux Developer...................<http://www.debian.org/>
--
To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: