[BusyBox-cvs] busybox/debian changelog,1.28,1.29 config-deb,1.1,1.2 config-static,1.2,1.3 config-udeb,1.3,1.4 control,1.12,1.13 rules,1.17,1.18

Glenn McGrath bug1 at busybox.net
Sun Dec 1 02:09:24 UTC 2002


Update of /var/cvs/busybox/debian
In directory winder:/tmp/cvs-serv26362

Modified Files:
	changelog config-deb config-static config-udeb control rules 
Log Message:
Patch from Bastian Blank (waldi) for debian installer


Index: changelog
===================================================================
RCS file: /var/cvs/busybox/debian/changelog,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- changelog	27 Nov 2002 23:40:46 -0000	1.28
+++ changelog	1 Dec 2002 02:09:19 -0000	1.29
@@ -1,9 +1,9 @@
-busybox-unstable (1:0.61.pre.custom) unstable; urgency=low
+busybox-cvs (0.61.pre-custom1) unstable; urgency=low
 
   * This is just to make it easier to make custom debs
   * Replace this changelog before makeing offical debs
 
- -- Glenn McGrath <bug1 at home>  Thu, 28 Nov 2002 10:25:43 +1100
+ -- Bastian Blank <waldi at debian.org>  Sun, 01 Dec 2002 02:02:46 +0100
 
 busybox (1:0.60.0-1) unstable; urgency=low
 

Index: config-deb
===================================================================
RCS file: /var/cvs/busybox/debian/config-deb,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- config-deb	22 Nov 2002 22:16:19 -0000	1.1
+++ config-deb	1 Dec 2002 02:09:19 -0000	1.2
@@ -300,6 +300,7 @@
 CONFIG_DMESG=y
 # CONFIG_FBSET is not set
 # CONFIG_FDFLUSH is not set
+# CONFIG_FDISK is not set
 # CONFIG_FREERAMDISK is not set
 # CONFIG_FSCK_MINIX is not set
 # CONFIG_MKFS_MINIX is not set

Index: config-static
===================================================================
RCS file: /var/cvs/busybox/debian/config-static,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- config-static	26 Nov 2002 03:01:27 -0000	1.2
+++ config-static	1 Dec 2002 02:09:19 -0000	1.3
@@ -177,17 +177,10 @@
 #
 # Module Utilities
 #
-CONFIG_INSMOD=y
-CONFIG_LSMOD=y
-CONFIG_MODPROBE=y
-CONFIG_RMMOD=y
-# CONFIG_FEATURE_OLD_MODULE_INTERFACE is not set
-CONFIG_FEATURE_NEW_MODULE_INTERFACE=y
-CONFIG_FEATURE_NEW_MODULE_INTERFACE=y
-CONFIG_FEATURE_INSMOD_VERSION_CHECKING=y
-# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set
-CONFIG_FEATURE_QUERY_MODULE_INTERFACE=y
-CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
+# CONFIG_INSMOD is not set
+# CONFIG_LSMOD is not set
+# CONFIG_MODPROBE is not set
+# CONFIG_RMMOD is not set
 
 #
 # Networking Utilities
@@ -357,6 +350,7 @@
 CONFIG_FEATURE_FBSET_FANCY=y
 CONFIG_FEATURE_FBSET_READMODE=y
 CONFIG_FDFLUSH=y
+# CONFIG_FDISK is not set
 CONFIG_FREERAMDISK=y
 CONFIG_FSCK_MINIX=y
 CONFIG_MKFS_MINIX=y

Index: config-udeb
===================================================================
RCS file: /var/cvs/busybox/debian/config-udeb,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- config-udeb	22 Nov 2002 21:43:08 -0000	1.3
+++ config-udeb	1 Dec 2002 02:09:19 -0000	1.4
@@ -121,7 +121,7 @@
 CONFIG_FEATURE_INITRD=y
 # CONFIG_FEATURE_INIT_COREDUMPS is not set
 # CONFIG_FEATURE_EXTRA_QUIET is not set
-# CONFIG_HALT is not set
+CONFIG_HALT=y
 # CONFIG_POWEROFF is not set
 CONFIG_REBOOT=y
 # CONFIG_START_STOP_DAEMON is not set
@@ -161,22 +161,16 @@
 # Module Utilities
 #
 # CONFIG_INSMOD is not set
-CONFIG_LSMOD=y
+# CONFIG_LSMOD is not set
 # CONFIG_MODPROBE is not set
 # CONFIG_RMMOD is not set
-# CONFIG_FEATURE_CHECK_TAINTED_MODULE is not set
 
 #
 # Networking Utilities
 #
 # CONFIG_FEATURE_IPV6 is not set
 # CONFIG_HOSTNAME is not set
-CONFIG_IFCONFIG=y
-CONFIG_FEATURE_IFCONFIG_STATUS=y
-# CONFIG_FEATURE_IFCONFIG_SLIP is not set
-CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ=y
-CONFIG_FEATURE_IFCONFIG_HW=y
-# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set
+# CONFIG_IFCONFIG is not set
 # CONFIG_IFUPDOWN is not set
 CONFIG_IP=y
 CONFIG_FEATURE_IP_ADDRESS=y
@@ -189,10 +183,10 @@
 # CONFIG_NSLOOKUP is not set
 CONFIG_PING=y
 CONFIG_FEATURE_FANCY_PING=y
-CONFIG_ROUTE=y
+# CONFIG_ROUTE is not set
 CONFIG_TELNET=y
 CONFIG_FEATURE_TELNET_TTYPE=y
-# CONFIG_TELNETD is not set
+CONFIG_TELNETD=y
 # CONFIG_TFTP is not set
 # CONFIG_TRACEROUTE is not set
 CONFIG_WGET=y
@@ -222,20 +216,12 @@
 #
 # Bourne Shell
 #
-CONFIG_FEATURE_SH_IS_ASH=y
+# CONFIG_FEATURE_SH_IS_ASH is not set
 # CONFIG_FEATURE_SH_IS_HUSH is not set
 # CONFIG_FEATURE_SH_IS_LASH is not set
 # CONFIG_FEATURE_SH_IS_MSH is not set
-# CONFIG_FEATURE_SH_IS_NONE is not set
-CONFIG_ASH=y
-CONFIG_ASH=y
-# CONFIG_ASH_JOB_CONTROL is not set
-CONFIG_ASH_ALIAS=y
-# CONFIG_ASH_MATH_SUPPORT is not set
-# CONFIG_ASH_GETOPTS is not set
-# CONFIG_ASH_CMDCMD is not set
-# CONFIG_ASH_MAIL is not set
-CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
+CONFIG_FEATURE_SH_IS_NONE=y
+# CONFIG_ASH is not set
 # CONFIG_HUSH is not set
 # CONFIG_LASH is not set
 # CONFIG_MSH is not set
@@ -291,11 +277,11 @@
 #
 CONFIG_CAT=y
 # CONFIG_CMP is not set
-CONFIG_CUT=y
+# CONFIG_CUT is not set
 # CONFIG_DOS2UNIX is not set
 CONFIG_HEAD=y
 # CONFIG_LENGTH is not set
-CONFIG_MD5SUM=y
+# CONFIG_MD5SUM is not set
 # CONFIG_OD is not set
 CONFIG_SORT=y
 # CONFIG_FEATURE_SORT_REVERSE is not set
@@ -314,6 +300,7 @@
 CONFIG_DMESG=y
 # CONFIG_FBSET is not set
 # CONFIG_FDFLUSH is not set
+# CONFIG_FDISK is not set
 CONFIG_FREERAMDISK=y
 # CONFIG_FSCK_MINIX is not set
 # CONFIG_MKFS_MINIX is not set

Index: control
===================================================================
RCS file: /var/cvs/busybox/debian/control,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- control	26 Nov 2002 09:05:15 -0000	1.12
+++ control	1 Dec 2002 02:09:19 -0000	1.13
@@ -1,21 +1,21 @@
-Source: busybox-unstable
+Source: busybox-cvs
 Priority: optional
 Maintainer: Erik Andersen <andersee at debian.org>
 Build-Depends: debhelper (>= 2.1.18), dpkg-dev (>= 1.7.0)
 Build-Depends-Indep: sgmltools-lite, w3m
 Standards-Version: 3.2.1.0
 
-Package: busybox-unstable-doc
+Package: busybox-cvs-doc
 Architecture: all
 Section: doc
 Description: Documentation for busybox
  Documentation in various formats on busybox commands and their options.
 
-Package: busybox-unstable
+Package: busybox-cvs
 Architecture: any
 Depends: ${shlibs:Depends}
-Conflicts: busybox-unstable-static, busybox, busybox-static
-Replaces: busybox-unstable-static, busybox, busybox-static
+Conflicts: busybox-cvs-static, busybox, busybox-static
+Replaces: busybox-cvs-static, busybox, busybox-static
 Section: utils
 Description: Tiny utilities for small and embedded systems. 
  BusyBox combines tiny versions of many common UNIX utilities into a single
@@ -31,11 +31,11 @@
  to install BusyBox to the current directory (you do not want to do this
  in / on your Debian system!).
 
-Package: busybox-unstable-static
+Package: busybox-cvs-static
 Architecture: any
 Depends: ${shlibs:Depends}
-Conflicts: busybox-unstable, busybox-static, busybox
-Replaces: busybox-unstable, busybox-static, busybox
+Conflicts: busybox-cvs, busybox-static, busybox
+Replaces: busybox-cvs, busybox-static, busybox
 Section: shells
 Description: Standalone rescue shell with tons of builtin utilities. 
  BusyBox combines tiny versions of many common UNIX utilities into a single
@@ -53,7 +53,7 @@
  your system from certain destruction.  Invoke "busybox", and it will list the
  available builtin commands.
 
-Package: busybox-unstable-udeb
+Package: busybox-cvs-udeb
 Architecture: any
 Depends: ${shlibs:Depends}
 Section: debian-installer

Index: rules
===================================================================
RCS file: /var/cvs/busybox/debian/rules,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- rules	27 Nov 2002 23:24:49 -0000	1.17
+++ rules	1 Dec 2002 02:09:19 -0000	1.18
@@ -1,90 +1,129 @@
 #!/usr/bin/make -f
 
-export DH_VERBOSE=1
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
 export DH_COMPAT=3
 
-# These wont actually do anything yet, need to hack Rules.mak
+VERSION = $(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2)
+ARCH = $(shell dpkg --print-architecture)
+
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -g
+	DODEBUG = true
 endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-	INSTALL_PROGRAM += -s
+ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	DODEBUG = true
 endif
 
-busybox-deb:
-	dh_testdir
-	dh_testroot
+build-arch: build-arch-stamp
+build-arch-stamp:
 	$(MAKE) clean
 	cp ./debian/config-deb .config
-	cp ./debian/Rules.mak.shared Rules.mak
 	$(MAKE) dep
-	$(MAKE)
-	install -D busybox ./debian/busybox-unstable/bin/busybox
-	dh_installchangelogs Changelog -pbusybox-unstable
-	dh_installdocs -pbusybox-unstable
-	dh_strip -pbusybox-unstable
-	dh_compress -pbusybox-unstable
-	dh_fixperms -pbusybox-unstable
-	dh_installdeb -pbusybox-unstable
-	dh_shlibdeps -pbusybox-unstable
-	dh_gencontrol -pbusybox-unstable
-	dh_md5sums -pbusybox-unstable
-	dh_builddeb -pbusybox-unstable
-			
-busybox-udeb:
-	dh_testdir
-	dh_testroot
+	$(MAKE) DODEBUG=$(DODEBUG)
+	install busybox busybox-deb
+
+	$(MAKE) clean
+	cp ./debian/config-static .config
+	$(MAKE) dep
+	$(MAKE) DOSTATIC=true DODEBUG=$(DODEBUG)
+	install busybox busybox-static
+
 	$(MAKE) clean
 	cp ./debian/config-udeb .config
-	cp ./debian/Rules.mak.shared Rules.mak
 	$(MAKE) dep
-	$(MAKE)
-	$(MAKE) PREFIX=./debian/busybox-udeb/ install
-	dh_strip -pbusybox-unstable-udeb
-	dh_compress -pbusybox-unstable-udeb
-	dh_fixperms -pbusybox-unstable-udeb
-	dh_installdeb -pbusybox-unstable-udeb
-	dh_shlibdeps -pbusybox-unstable-udeb
-	dh_gencontrol -pbusybox-unstable-udeb
-	dh_md5sums -pbusybox-unstable-udeb
-	dh_builddeb -pbusybox-unstable-udeb
+	$(MAKE) DODEBUG=$(DODEBUG)
 
+	touch build-arch-stamp
 
-busybox-static:
+build-indep: build-indep-stamp
+build-indep-stamp:
+	$(MAKE) newdoc
+
+	touch build-indep-stamp
+
+build: build-arch build-indep
+
+clean:
 	dh_testdir
 	dh_testroot
-	$(MAKE) clean
-	cp ./debian/config-static .config
-	cp ./debian/Rules.mak.static Rules.mak
-	$(MAKE) dep
-	$(MAKE)
-	install -D busybox ./debian/busybox-unstable-static/bin/busybox
-	dh_installchangelogs Changelog -pbusybox-unstable-static
-	dh_installdocs -pbusybox-unstable-static
-	dh_strip -pbusybox-unstable-static
-	dh_compress -pbusybox-unstable-static
-	dh_fixperms -pbusybox-unstable-static
-	dh_installdeb -pbusybox-unstable-static
-	dh_shlibdeps -pbusybox-unstable-static
-	dh_gencontrol -pbusybox-unstable-static
-	dh_md5sums -pbusybox-unstable-static
-	dh_builddeb -pbusybox-unstable-static
+	rm -f build-arch-stamp build-indep-stamp
 
-binary-arch: busybox-deb busybox-udeb busybox-static
+	$(MAKE) distclean
+	-rm -f busybox-deb busybox-static
 
-binary-indep:
+	dh_clean
+
+install: build-arch
 	dh_testdir
 	dh_testroot
-	$(MAKE) clean
-	$(MAKE) newdoc
-	dh_installdocs -pbusybox-unstable-doc
-	dh_installchangelogs Changelog -pbusybox-unstable-doc
-	dh_compress -pbusybox-unstable-doc
-	dh_fixperms -pbusybox-unstable-doc
-	dh_installdeb -pbusybox-unstable-doc
-	dh_gencontrol -pbusybox-unstable-doc
-	dh_md5sums -pbusybox-unstable-doc
-	dh_builddeb -pbusybox-unstable-doc
+	dh_clean -k
+	dh_installdirs
+
+	install busybox-deb $(CURDIR)/debian/busybox-cvs/bin/busybox
+	install busybox-static $(CURDIR)/debian/busybox-cvs-static/bin/busybox
+	$(MAKE) PREFIX=$(CURDIR)/debian/busybox-cvs-udeb install
+
+# Build architecture-independent files here.
+# Pass -i to all debhelper commands in this target to reduce clutter.
+binary-indep: build
+	dh_testdir -i
+	dh_testroot -i
+#	dh_installdebconf -i
+	dh_installdocs -i
+#	dh_installexamples -i
+#	dh_installmenu -i
+#	dh_installlogrotate -i
+#	dh_installemacsen -i
+#	dh_installpam -i
+#	dh_installmime -i
+#	dh_installinit -i
+#	dh_installcron -i
+#	dh_installman -i
+#	dh_installinfo -i
+#	dh_undocumented -i
+	dh_installchangelogs Changelog -i
+	dh_link -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+#	dh_perl -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build-arch install
+	dh_testdir -a
+	dh_testroot -a
+#	dh_installdebconf -a
+	dh_installdocs -a -Nbusybox-cvs-udeb
+#	dh_installexamples -a
+#	dh_installmenu -a
+#	dh_installlogrotate -a
+#	dh_installemacsen -a
+#	dh_installpam -a
+#	dh_installmime -a
+#	dh_installinit -a
+#	dh_installcron -a
+#	dh_installman -a
+#	dh_installinfo -a
+#	dh_undocumented -a
+	dh_installchangelogs Changelog -a -Nbusybox-cvs-udeb
+	dh_strip -a
+	dh_link -a
+	dh_compress -a
+	dh_fixperms -a
+#	dh_makeshlibs -a
+	dh_installdeb -a
+#	dh_perl -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a -Nbusybox-cvs-udeb
+	dh_builddeb -a -Nbusybox-cvs-udeb
+	dpkg-distaddfile busybox-cvs-udeb-$(VERSION)_$(ARCH).udeb debian-installer optional
+	dh_builddeb -pbusybox-cvs-udeb --filename=busybox-cvs-udeb-$(VERSION)_$(ARCH).udeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install




More information about the busybox-cvs mailing list