[uClibc-cvs] uClibc/debian config,NONE,1.1 libuclibc-dev.files,NONE,1.1 libuclibc0.files,NONE,1.1 uclibc-toolchain.files,NONE,1.1 changelog,1.15,1.16 control,1.14,1.15 control.in,1.11,1.12 fixlinks,1.1,1.2 libuclibc0.shlibs,1.4,1.5 rules,1.25,1.26

David Schleef ds at uclibc.org
Wed Feb 12 22:07:42 UTC 2003


Update of /var/cvs/uClibc/debian
In directory winder:/tmp/cvs-serv24193

Modified Files:
	changelog control control.in fixlinks libuclibc0.shlibs rules 
Added Files:
	config libuclibc-dev.files libuclibc0.files 
	uclibc-toolchain.files 
Log Message:
Update CVS to Debian 0.9.18-1 package


--- NEW FILE: config ---
#
# Automatically generated make config: don't edit
#

#
# Target Architecture Features and Options
#
HAVE_ELF=y
CONFIG_386=y
# CONFIG_486 is not set
# CONFIG_586 is not set
# CONFIG_586MMX is not set
# CONFIG_686 is not set
# CONFIG_PENTIUMIII is not set
# CONFIG_PENTIUM4 is not set
# CONFIG_K6 is not set
# CONFIG_K7 is not set
# CONFIG_CRUSOE is not set
# CONFIG_WINCHIPC6 is not set
# CONFIG_WINCHIP2 is not set
# CONFIG_CYRIXIII is not set
UCLIBC_HAS_MMU=y
UCLIBC_HAS_FLOATS=y
HAS_FPU=y
DO_C99_MATH=y
WARNINGS="-Wall"
KERNEL_SOURCE="/usr/src/linux"
C_SYMBOL_PREFIX=""

#
# General Library Settings
#
DOPIC=y
HAVE_SHARED=y
BUILD_UCLIBC_LDSO=y
LDSO_LDD_SUPPORT=y
UCLIBC_HAS_THREADS=y
UCLIBC_HAS_LFS=y
# MALLOC is not set
MALLOC_930716=y
HAS_SHADOW=y
UCLIBC_HAS_REGEX=y
UNIX98PTY_ONLY=y
ASSUME_DEVPTS=y

#
# Networking Support
#
UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y

#
# String and Stdio Support
#
UCLIBC_HAS_WCHAR=y
# USE_OLD_VFPRINTF is not set

#
# Library Installation Options
#
SHARED_LIB_LOADER_PATH="$(DEVEL_PREFIX)/lib"
DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc"
SYSTEM_DEVEL_PREFIX="$(DEVEL_PREFIX)"
DEVEL_TOOL_PREFIX="$(DEVEL_PREFIX)/usr"

#
# uClibc hacking options
#
# DODEBUG is not set
# DOASSERTS is not set
# SUPPORT_LD_DEBUG is not set
# SUPPORT_LD_DEBUG_EARLY is not set

--- NEW FILE: libuclibc-dev.files ---
usr/*-linux-uclibc/include
usr/*-linux-uclibc/lib/*.a
usr/*-linux-uclibc/lib/libcrypt.so
usr/*-linux-uclibc/lib/libdl.so
usr/*-linux-uclibc/lib/libm.so
usr/*-linux-uclibc/lib/libpthread.so
usr/*-linux-uclibc/lib/libresolv.so
usr/*-linux-uclibc/lib/libc.so
usr/*-linux-uclibc/lib/libutil.so
usr/*-linux-uclibc/lib/*.o

--- NEW FILE: libuclibc0.files ---
lib/*
usr/*-linux-uclibc/lib/*.so.*
usr/*-linux-uclibc/lib/*-*.so

--- NEW FILE: uclibc-toolchain.files ---
usr/*-linux-uclibc/bin/*
usr/bin/*
usr/share/man/man1/*

Index: changelog
===================================================================
RCS file: /var/cvs/uClibc/debian/changelog,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- changelog	9 Aug 2002 23:05:27 -0000	1.15
+++ changelog	12 Feb 2003 22:07:37 -0000	1.16
@@ -1,3 +1,59 @@
+uclibc (0.9.18-1) unstable; urgency=low
+
+  * New upstream release
+  * Update to kernel-source-2.4.20
+  * Upgrade .shlib dependencies
+  * Enable IPv6 and other options (Closes: #174092)
+  * Remove build directory from ld script (Closes: #161474)
+  * Add/fix /lib/ld-uClibc.so.0 symlink
+
+ -- David Schleef <ds at schleef.org>  Wed, 12 Feb 2003 12:40:38 -0800
+
+uclibc (0.9.16-6) unstable; urgency=low
+
+  * Reenable FPU and C99 math support that were accidentally
+    disabled in the move to 0.9.16. (Closes: #171359, #172686)
+  * Fix ${arch}-uclibc-xx installation directory (should be /usr/bin)
+  * Make ldd work with dh_shlibdeps (Closes: #171282, #171287)
+
+ -- David Schleef <ds at schleef.org>  Wed, 11 Dec 2002 15:55:52 -0800
+
+uclibc (0.9.16-5) unstable; urgency=low
+
+  * (Attempt #2) Removed some default flags on sparc.
+
+ -- David Schleef <ds at schleef.org>  Wed, 27 Nov 2002 13:56:39 -0800
+
+uclibc (0.9.16-4) unstable; urgency=low
+
+  * Removed some default flags on m68k and sparc, since they don't
+    work with the standard gcc.
+  * Stripped quotes around ARCH_CFLAGS
+
+ -- David Schleef <ds at schleef.org>  Fri, 22 Nov 2002 15:15:25 -0800
+
+uclibc (0.9.16-3) unstable; urgency=low
+
+  * Got the last change wrong.
+  * Enabled alpha build.
+
+ -- David Schleef <ds at schleef.org>  Thu, 21 Nov 2002 16:24:27 -0800
+
+uclibc (0.9.16-2) unstable; urgency=low
+
+  * Disable shared lib loader on m68k and sparc
+
+ -- David Schleef <ds at schleef.org>  Wed, 20 Nov 2002 19:45:31 -0800
+
+uclibc (0.9.16-1) unstable; urgency=low
+
+  * New upstream release (Closes: #169650, #169547)
+  * Rewrote much of the installation code to use dh_ more
+  * Removed gasp man page link (Closes: #169648)
+  * Upstream uses new configuration method (Closes: #169513)
+
+ -- David Schleef <ds at schleef.org>  Mon, 18 Nov 2002 11:32:43 -0800
+
 uclibc (0.9.12-2) unstable; urgency=low
 
   * Make sure MAS_MMU=true on m68k

Index: control
===================================================================
RCS file: /var/cvs/uClibc/debian/control,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- control	19 Apr 2002 17:24:35 -0000	1.14
+++ control	12 Feb 2003 22:07:38 -0000	1.15
@@ -2,12 +2,12 @@
 Section: devel
 Priority: optional
 Maintainer: David Schleef <ds at schleef.org>
-Build-Depends: debhelper, bzip2, kernel-source-2.4.18
-Standards-Version: 3.5.6
+Build-Depends: debhelper, bzip2, kernel-source-2.4.20
+Standards-Version: 3.5.8
 
 Package: libuclibc-dev
 Section: devel
-Architecture: arm i386 m68k mips mipsel powerpc sh sparc
+Architecture: alpha arm i386 m68k mips mipsel powerpc sh sparc
 Depends: libuclibc0 (= ${Source-Version})
 Description: A small implementation of the C library
  uClibc is an implementation of the standard C library that is
@@ -17,7 +17,7 @@
 
 Package: libuclibc0
 Section: libs
-Architecture: arm i386 m68k mips mipsel powerpc sh sparc
+Architecture: alpha arm i386 m68k mips mipsel powerpc sh sparc
 Depends:
 Description: A small implementation of the C library
  uClibc is an implementation of the standard C library that is
@@ -30,7 +30,7 @@
 
 Package: uclibc-toolchain
 Section: devel
-Architecture: arm i386 m68k mips mipsel powerpc sh sparc
+Architecture: alpha arm i386 m68k mips mipsel powerpc sh sparc
 Depends: gcc|c-compiler, binutils, ${shlibs:Depends}
 Recommends: libuclibc-dev
 Conflicts: uclibc-gcc

Index: control.in
===================================================================
RCS file: /var/cvs/uClibc/debian/control.in,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- control.in	3 Mar 2002 23:46:04 -0000	1.11
+++ control.in	12 Feb 2003 22:07:38 -0000	1.12
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: David Schleef <ds at schleef.org>
 Build-Depends: debhelper, bzip2, _KERNEL_
-Standards-Version: 3.5.6
+Standards-Version: 3.5.8
 
 Package: libuclibc-dev_TARGET_
 Section: devel

Index: fixlinks
===================================================================
RCS file: /var/cvs/uClibc/debian/fixlinks,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- fixlinks	10 Nov 2001 12:02:35 -0000	1.1
+++ fixlinks	12 Feb 2003 22:07:38 -0000	1.2
@@ -2,10 +2,11 @@
 # vi: set ts=4:
 
 
- at LINKS=`find . -type l|xargs ls -l`;
+ at LINKS=`find . -type l|LC_ALL=C xargs ls -l`;
 
 #print @LINKS;
 
+#$debug = 1;
 
 while($_ = shift @LINKS){
 	chomp;
@@ -34,7 +35,7 @@
 			pop(@newcomponents);
 
 			while($comp = shift @linkcomponents){
-				#print "path: ",join(':', at newcomponents)," -- $comp -- ", join(':', at linkcomponents),"\n";
+				$debug && print "path: ",join(':', at newcomponents)," -- $comp -- ", join(':', at linkcomponents),"\n";
 
 				if($comp eq ""){
 					# ignore
@@ -57,8 +58,8 @@
 		#print "to ",join('/', at newcomponents),"\n";
 
 		if($newcomponents[0] eq $pathcomponents[0]){
-			#print $newcomponents[0],", ",$pathcomponents[0];
-			#print "should be relative\n";
+			$debug && print $newcomponents[0],", ",$pathcomponents[0];
+			$debug && print "should be relative\n";
 			while($newcomponents[0] eq $pathcomponents[0]){
 				shift(@newcomponents);
 				shift(@pathcomponents);
@@ -68,7 +69,7 @@
 				unshift(@newcomponents,"..");
 			}
 		}else{
-			#print "should be absolute\n";
+			$debug && print "should be absolute\n";
 			unshift(@newcomponents,"");
 		}
 		$newlink=join('/', at newcomponents);

Index: libuclibc0.shlibs
===================================================================
RCS file: /var/cvs/uClibc/debian/libuclibc0.shlibs,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- libuclibc0.shlibs	6 Apr 2002 22:22:37 -0000	1.4
+++ libuclibc0.shlibs	12 Feb 2003 22:07:38 -0000	1.5
@@ -1,7 +1,8 @@
-libc 0 libuclibc0 (>> 0.9.10-0)
-libm 0 libuclibc0 (>> 0.9.10-0)
-ld-uClibc 0 libuclibc0 (>> 0.9.10-0)
-libdl 0 libuclibc0 (>> 0.9.10-0)
-libcrypt 0 libuclibc0 (>> 0.9.10-0)
-libutil 0 libuclibc0 (>> 0.9.10-0)
-libresolv 0 libuclibc0 (>> 0.9.10-0)
+libc 0 libuclibc0 (>= 0.9.17-1)
+libm 0 libuclibc0 (>= 0.9.17-1)
+ld-uClibc 0 libuclibc0 (>= 0.9.17-1)
+libdl 0 libuclibc0 (>= 0.9.17-1)
+libcrypt 0 libuclibc0 (>= 0.9.17-1)
+libutil 0 libuclibc0 (>= 0.9.17-1)
+libresolv 0 libuclibc0 (>= 0.9.17-1)
+libpthread 0 libpthread0 (>= 0.9.17-1)

Index: rules
===================================================================
RCS file: /var/cvs/uClibc/debian/rules,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- rules	9 Aug 2002 23:05:27 -0000	1.25
+++ rules	12 Feb 2003 22:07:38 -0000	1.26
@@ -6,16 +6,18 @@
 #export DH_VERBOSE=1
 
 # This is the debhelper compatability version to use.
-export DH_COMPAT=1
+export DH_COMPAT=3
 
 #include version
 major=$(shell grep '^MAJOR_VERSION' Rules.mak|sed 's/.*=//')
 minor=$(shell grep '^MINOR_VERSION' Rules.mak|sed 's/.*=//')
 version:=$(strip $(major)).$(strip $(minor))
 
-kernel_version=2.4.18
+kernel_version=2.4.20
 kernel_source=kernel-source-$(kernel_version)
 
+builddir=$(shell pwd)
+
 target=$(DEB_HOST_GNU_CPU)
 #target=arm
 
@@ -34,12 +36,6 @@
 target_suffix=-$(target)
 endif
 
-ifneq ($(target),mipsel)
-config_orig = extra/Configs/Config.$(target)
-else
-config_orig = extra/Configs/Config.mips
-endif
-
 ifneq ($(target),$(DEB_HOST_GNU_CPU))
 cross_options = --cross="$(target)-linux-"
 else
@@ -52,7 +48,7 @@
 
 debian/control: debian/control.in debian/rules
 	sed -e s/_TARGET_/$(target_suffix)/ \
-	  -e "s/_ARCHS_/arm i386 m68k mips mipsel powerpc sh sparc/" \
+	  -e "s/_ARCHS_/alpha arm i386 m68k mips mipsel powerpc sh sparc/" \
 	  -e "s/_KERNEL_/$(kernel_source)/" \
 	  debian/control.in >debian/control
 
@@ -82,55 +78,21 @@
 		echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))'; \
 		echo '#define LINUX_VERSION_CODE KERNEL_VERSION($(shell echo $(kernel_version) | sed s/\\./,/g))'; \
 	) >$(kernel_source)/include/linux/version.h
-
-	extra/Configs/uClibc_config_fix.pl \
-		--arch=$(target) \
-		$(cross_options) \
-		--devel_prefix=/usr/$(target)-linux-uclibc \
-		--system_devel_prefix=/usr \
-		--kernel_dir=`pwd`/$(kernel_source) \
-		--large_file=true \
-		--rpc_support=true \
-		--c99_math=true \
-		--threads=true \
-		--long_long=true \
-		--float=true \
-		--shadow=true \
-		--mmu=true \
-		--ldso_path="/lib" \
-		--shared_support=$(shared_libs_true) \
-		--file=$(config_orig) \
-		>Config
-
-ifeq (yes,no)
-	echo '#Debian configuration overrides'  >>Config
-ifneq ($(target),$(DEB_HOST_GNU_CPU))
-	echo 'TARGET_ARCH = $(target)'  >>Config
-	echo 'CROSS = $(target)-linux-'  >>Config
-else
-	echo 'CROSS = '  >>Config
-endif
-	echo 'DOPIC = true'  >>Config
-	echo 'SYSTEM_DEVEL_PREFIX = /usr'  >>Config
-	echo 'DEVEL_PREFIX = /usr/$$(TARGET_ARCH)-linux-uclibc'  >>Config
-	echo 'SHARED_LIB_LOADER_PATH = /lib'  >>Config
-	#echo 'TARGET_PREFIX = /'  >>Config
-ifeq ($(with_shared_libs),n)
-	echo 'HAVE_SHARED = false' >>Config
-else
-	echo 'HAVE_SHARED = true' >>Config
-endif
-	echo 'KERNEL_SOURCE = '`pwd`/$(kernel_source) >>Config
-	echo 'HAS_MMU = true' >>Config
-	echo 'HAS_FLOATING_POINT = true' >>Config
-	echo 'DO_C99_MATH = true' >>Config
-	echo 'DODEBUG = false' >>Config
-	echo 'INCLUDE_THREADS = true' >>Config
+	
+	cp debian/config .config
+	echo CONFIG_386=y >>.config
+ifeq ($(findstring $(target),alpha m68k sparc),$(target))
+	echo BUILD_UCLIBC_LDSO=n >>.config
 endif
+	echo SHARED_LIB_LOADER_PATH=\"/lib\" >>.config
+	echo KERNEL_SOURCE=\"$(builddir)/$(kernel_source)\" >>.config
+	echo 'DEVEL_TOOL_PREFIX="$$(DEVEL_PREFIX)"' >>.config
+	echo 'SYSTEM_DEVEL_PREFIX="/usr"' >>.config
+	yes '' | make oldconfig
 
 	mkdir -p lib
 
-	$(MAKE)
+	$(MAKE) TARGET_ARCH=$(target)
 
 	touch build-stamp
 
@@ -139,14 +101,12 @@
 	dh_testroot
 	rm -f build-stamp
 
-	rm -f debian/$(p_dev)
-
 	rm -rf kernel-source-*
 
 	# Add here commands to clean up after the build process.
-	-$(MAKE) clean
+	-$(MAKE) distclean
 
-	-rm Config
+	-rm -f Config
 
 	dh_clean
 
@@ -156,44 +116,38 @@
 	dh_clean -k
 	dh_installdirs
 
-	-rm debian/$(p_dev)
-	ln -s tmp debian/$(p_dev)
+	-rm debian/tmp
+	-mkdir debian/tmp
+	#ln -s tmp debian/tmp
 
 	# Add here commands to install the package into debian/tmp.
-	$(MAKE) install_dev PREFIX=`pwd`/debian/$(p_dev)
-	$(MAKE) install_runtime PREFIX=`pwd`/debian/$(p_lib)
-	$(MAKE) install_toolchain PREFIX=`pwd`/debian/$(p_gcc)
-	$(MAKE) install_utils PREFIX=`pwd`/debian/$(p_gcc)
+	$(MAKE) install PREFIX=`pwd`/debian/tmp
+	$(MAKE) install_runtime PREFIX=`pwd`/debian/tmp
 
-	install -d debian/$(p_gcc)/usr/share/man/man1
+	install -d debian/tmp/usr/share/man/man1
 	install -m 644 debian/uclibc-gcc.1 \
-	  debian/$(p_gcc)/usr/share/man/man1/$(target)-uclibc-gcc.1
-	(cd debian/$(p_gcc)/usr/share/man/man1; \
+	  debian/tmp/usr/share/man/man1/$(target)-uclibc-gcc.1
+	(cd debian/tmp/usr/share/man/man1; \
 	  ln -sf $(target)-uclibc-gcc.1.gz $(target)-uclibc-cc.1.gz; \
 	  ln -sf $(target)-uclibc-gcc.1.gz $(target)-uclibc-ld.1.gz; \
-	  for x in addr2line ar as cpp gasp nm objcopy objdump ranlib \
+	  for x in addr2line ar as cpp nm objcopy objdump ranlib \
 	  size strings strip;do \
 	    ln -sf $$x.1.gz $(target)-uclibc-$$x.1.gz;done)
 	
-	install -d debian/$(p_lib)/usr/share/man/man1
+	install -d debian/tmp/usr/share/man/man1
 	install -m 644 debian/uclibc-ldd.1 \
-	  debian/$(p_lib)/usr/share/man/man1/$(target)-uclibc-ldd.1
+	  debian/tmp/usr/share/man/man1/$(target)-uclibc-ldd.1
 	install -m 644 debian/uclibc-ldconfig.1 \
-	  debian/$(p_lib)/usr/share/man/man1/$(target)-uclibc-ldconfig.1
+	  debian/tmp/usr/share/man/man1/$(target)-uclibc-ldconfig.1
 	install -m 644 debian/uclibc-readelf.1 \
-	  debian/$(p_lib)/usr/share/man/man1/$(target)-uclibc-readelf.1
+	  debian/tmp/usr/share/man/man1/$(target)-uclibc-readelf.1
+	
+	mkdir debian/tmp/lib/
+	cd debian/tmp/lib && ln -sf /usr/$(target)-linux-uclibc/lib/ld-uClibc.so.0 .
 
-	(cd debian/$(p_dev); find . -name '.*' -exec rm -f '{}' ';')
-	(cd debian/$(p_lib); find . -name '.*' -exec rm -f '{}' ';')
-	(cd debian/$(p_gcc); find . -name '.*' -exec rm -f '{}' ';')
+	cd debian/tmp && ../fixlinks
 
-ifeq ($(with_shared_libs),y)
-ifeq ($(target),$(DEB_HOST_GNU_CPU))
-	mkdir -p debian/$(p_lib)/lib/
-	ln -sf /usr/$(target)-linux-uclibc/lib/ld-uClibc.so.0 \
-	  debian/$(p_lib)/lib/ld-uClibc.so.0
-endif
-endif
+	(cd debian/tmp; find . -name '.*' -exec rm -f '{}' ';')
 
 # Build architecture-independent files here.
 binary-indep:
@@ -204,6 +158,7 @@
 	dh_testdir
 	dh_testroot
 
+	dh_movefiles
 #	dh_installdebconf	
 	dh_installdocs
 	dh_installexamples
@@ -217,9 +172,6 @@
 #	dh_undocumented
 	dh_installchangelogs 
 	dh_link
-	cd debian/libuclibc0 && ../fixlinks
-	cd debian/libuclibc-dev && ../fixlinks
-	cd debian/uclibc-toolchain && ../fixlinks
 	dh_strip
 	dh_compress
 	dh_fixperms -Xld-uClibc
@@ -228,11 +180,11 @@
 #	dh_makeshlibs
 	dh_installdeb
 #	dh_perl
-ifeq ($(target),$(DEB_HOST_GNU_CPU))
-	dh_shlibdeps --exclude=ld_uclibc -ldebian/$(p_lib)/usr/$(target)-linux-uclibc/lib
-else
+#ifeq ($(target),$(DEB_HOST_GNU_CPU))
+#	dh_shlibdeps --exclude=ld_uclibc -ldebian/$(p_lib)/usr/$(target)-linux-uclibc/lib
+#else
 	dh_shlibdeps --exclude=lib
-endif
+#endif
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb




More information about the uClibc-cvs mailing list