[Glibc-bsd-commits] r1474 - in trunk: . freebsd-libs kfreebsd-loader kfreebsd-loader/debian kfreebsd-loader/debian/patches

Robert Millan rmh at costa.debian.org
Fri Apr 21 20:08:11 UTC 2006


Author: rmh
Date: 2006-04-21 20:08:10 +0000 (Fri, 21 Apr 2006)
New Revision: 1474

Added:
   trunk/kfreebsd-loader/
   trunk/kfreebsd-loader/debian/
   trunk/kfreebsd-loader/debian/changelog
   trunk/kfreebsd-loader/debian/control
   trunk/kfreebsd-loader/debian/copyright
   trunk/kfreebsd-loader/debian/dirs
   trunk/kfreebsd-loader/debian/patches/
   trunk/kfreebsd-loader/debian/patches/01_debianise_breastie.diff
   trunk/kfreebsd-loader/debian/rules
Modified:
   trunk/freebsd-libs/fetch
Log:
Add (incomplete) kfreebsd-loader package.

Modified: trunk/freebsd-libs/fetch
===================================================================
--- trunk/freebsd-libs/fetch	2006-04-21 16:31:57 UTC (rev 1473)
+++ trunk/freebsd-libs/fetch	2006-04-21 20:08:10 UTC (rev 1474)
@@ -13,7 +13,7 @@
 fi
 
 for i in \
-    src/lib/lib{cam,geom,ipx,kvm,sbuf,usbhid} \
+    src/lib/lib{cam,geom,ipx,kvm,sbuf,stand,usbhid} \
   ; do
   cvs ${action} -r RELENG_5_4_0_RELEASE $i
   test -e $i

Added: trunk/kfreebsd-loader/debian/changelog
===================================================================
--- trunk/kfreebsd-loader/debian/changelog	2006-04-21 16:31:57 UTC (rev 1473)
+++ trunk/kfreebsd-loader/debian/changelog	2006-04-21 20:08:10 UTC (rev 1474)
@@ -0,0 +1,20 @@
+kfreebsd-loader (5.4-2) unreleased; urgency=low
+
+  * Make it a real debian package.
+
+ -- Robert Millan <rmh at aybabtu.com>  Fri, 21 Apr 2006 21:08:14 +0200
+
+kfreebsd-loader (5.4-1) unreleased; urgency=low
+
+  * New upstream release.
+  * Debianise loader menu.
+    - root/boot/beastie.4th:  s/FreeBSD/Debian/g, and add color and b&w swirls.
+
+ -- Robert Millan <rmh at aybabtu.com>  Sun, 23 Oct 2005 11:57:09 +0200
+
+kfreebsd-loader (5.2.1-1) unreleased; urgency=low
+
+  * Initial Release.
+
+ -- Robert Millan <rmh at debian.org>  Sat, 22 May 2004 22:21:45 +0200
+

Added: trunk/kfreebsd-loader/debian/control
===================================================================
--- trunk/kfreebsd-loader/debian/control	2006-04-21 16:31:57 UTC (rev 1473)
+++ trunk/kfreebsd-loader/debian/control	2006-04-21 20:08:10 UTC (rev 1474)
@@ -0,0 +1,13 @@
+Source: kfreebsd-loader
+Section: base
+Priority: required
+Maintainer: GNU/kFreeBSD Maintainers <debian-bsd at lists.debian.org>
+Uploaders: Aurelien Jarno <aurel32 at debian.org>, Guillem Jover <guillem at debian.org>
+Build-Depends: cdbs, debhelper (>= 4.1.0), kfreebsd-source-5, bzip2, freebsd5-buildutils
+Standards-Version: 3.6.0
+
+Package: kfreebsd-loader
+Architecture: kfreebsd-i386 kfreebsd-amd64
+Description: Loader for kernel of FreeBSD.
+ Loader for kernel of FreeBSD.
+

Added: trunk/kfreebsd-loader/debian/copyright
===================================================================
--- trunk/kfreebsd-loader/debian/copyright	2006-04-21 16:31:57 UTC (rev 1473)
+++ trunk/kfreebsd-loader/debian/copyright	2006-04-21 20:08:10 UTC (rev 1474)
@@ -0,0 +1,26 @@
+This package was debianized by Robert Millan <rmh at aybabtu.com> on
+Sat, 22 May 2004 22:21:45 +0200
+
+It was downloaded from http://www.freebsd.org/
+
+Copyright Holder: The FreeBSD project.
+
+License:
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted under the terms of the BSD License.
+
+    THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+    ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+    OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+    LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+    OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+    SUCH DAMAGE.
+
+On Debian GNU systems, the complete text of the BSD License can be 
+found in `/usr/share/common-licenses/BSD'.

Added: trunk/kfreebsd-loader/debian/dirs
===================================================================
--- trunk/kfreebsd-loader/debian/dirs	2006-04-21 16:31:57 UTC (rev 1473)
+++ trunk/kfreebsd-loader/debian/dirs	2006-04-21 20:08:10 UTC (rev 1474)
@@ -0,0 +1 @@
+boot

Added: trunk/kfreebsd-loader/debian/patches/01_debianise_breastie.diff
===================================================================
--- trunk/kfreebsd-loader/debian/patches/01_debianise_breastie.diff	2006-04-21 16:31:57 UTC (rev 1473)
+++ trunk/kfreebsd-loader/debian/patches/01_debianise_breastie.diff	2006-04-21 20:08:10 UTC (rev 1474)
@@ -0,0 +1,122 @@
+--- sys/boot/forth/beastie.4th.old	2006-04-21 22:04:10.000000000 +0200
++++ sys/boot/forth/beastie.4th	2006-04-21 22:04:16.000000000 +0200
+@@ -49,49 +49,47 @@
+ 
+ 46 constant dot
+ 
+-\ The BSD Daemon.  He is 19 rows high and 34 columns wide
++\ Debian swirl
+ : technicolor-beastie ( x y -- )
+-2dup at-xy ."               ,        ," 1+
+-2dup at-xy ."              /(        )`" 1+
+-2dup at-xy ."              \ \___   / |" 1+
+-2dup at-xy ."              /- _  `-/  '" 1+
+-2dup at-xy ."             (/\/ \ \   /\" 1+
+-2dup at-xy ."             / /   | `    \" 1+
+-2dup at-xy ."             O O   ) /    |" 1+
+-2dup at-xy ."             `-^--'`<     '" 1+
+-2dup at-xy ."            (_.)  _  )   /" 1+
+-2dup at-xy ."             `.___/`    /       " 1+
+-2dup at-xy ."               `-----' /" 1+
+-2dup at-xy ."  <----.     __ / __   \" 1+
+-2dup at-xy ."  <----|====O)))==) \) /====|" 1+
+-2dup at-xy ."  <----'    `--' `.__,' \" 1+
+-2dup at-xy ."               |        |" 1+
+-2dup at-xy ."                \       /       /\" 1+
+-2dup at-xy ."           ______( (_  / \______/" 1+
+-2dup at-xy ."         ,'  ,-----'   |" 1+
+-at-xy ."         `--{__________) "
++2dup at-xy ." " 1+
++2dup at-xy ." " 1+
++2dup at-xy ."           _sudZUZ#Z#XZo=_" 1+
++2dup at-xy ."        _jmZZ2!!~---~!!X##wa" 1+
++2dup at-xy ."     .<wdP~~            -!YZL,   " 1+
++2dup at-xy ."    .mX2'       _%aaa__     XZ[. " 1+
++2dup at-xy ."    oZ[      _jdXY!~?S#wa   ]Xb; " 1+
++2dup at-xy ."   _#e'     .]X2(     ~Xw|  )XXc " 1+
++2dup at-xy ."  .2Z`      ]X[.       xY|  ]oZ( " 1+
++2dup at-xy ."  .2#;      )3k;     _s!~   jXf` " 1+
++2dup at-xy ."   1Z>      -]Xb/    ~    __#2(  " 1+
++2dup at-xy ."   -Zo;       +!4ZwaaaauZZXY'    " 1+
++2dup at-xy ."    *#[,        ~-?!!!!!!-~      " 1+
++2dup at-xy ."     XUb;.                       " 1+
++2dup at-xy ."      )YXL,,                     " 1+
++2dup at-xy ."        +3#bc,                   " 1+
++2dup at-xy ."          -)SSL,,                " 1+
++     at-xy ."             ~~~~~               "
+ ;
+ 
+ : boring-beastie ( x y -- )
+-	2dup at-xy ."              ,        ," 1+
+-	2dup at-xy ."             /(        )`" 1+
+-	2dup at-xy ."             \ \___   / |" 1+
+-	2dup at-xy ."             /- _  `-/  '" 1+
+-	2dup at-xy ."            (/\/ \ \   /\" 1+
+-	2dup at-xy ."            / /   | `    \" 1+
+-	2dup at-xy ."            O O   ) /    |" 1+
+-	2dup at-xy ."            `-^--'`<     '" 1+
+-	2dup at-xy ."           (_.)  _  )   /" 1+
+-	2dup at-xy ."            `.___/`    /" 1+
+-	2dup at-xy ."              `-----' /" 1+
+-	2dup at-xy ." <----.     __ / __   \" 1+
+-	2dup at-xy ." <----|====O)))==) \) /====" 1+
+-	2dup at-xy ." <----'    `--' `.__,' \" 1+
+-	2dup at-xy ."              |        |" 1+
+-	2dup at-xy ."               \       /       /\" 1+
+-	2dup at-xy ."          ______( (_  / \______/" 1+
+-	2dup at-xy ."        ,'  ,-----'   |" 1+
+-	     at-xy ."        `--{__________)"
++2dup at-xy ." " 1+
++2dup at-xy ." " 1+
++2dup at-xy ."           _sudZUZ#Z#XZo=_" 1+
++2dup at-xy ."        _jmZZ2!!~---~!!X##wa" 1+
++2dup at-xy ."     .<wdP~~            -!YZL," 1+
++2dup at-xy ."    .mX2'       _%aaa__     XZ[." 1+
++2dup at-xy ."    oZ[      _jdXY!~?S#wa   ]Xb;" 1+
++2dup at-xy ."   _#e'     .]X2(     ~Xw|  )XXc" 1+
++2dup at-xy ."  ..2Z`      ]X[.       xY|  ]oZ(" 1+
++2dup at-xy ."  ..2#;      )3k;     _s!~   jXf`" 1+
++2dup at-xy ."   1Z>      -]Xb/    ~    __#2(" 1+
++2dup at-xy ."   -Zo;       +!4ZwaaaauZZXY'" 1+
++2dup at-xy ."    *#[,        ~-?!!!!!!-~" 1+
++2dup at-xy ."     XUb;." 1+
++2dup at-xy ."      )YXL,," 1+
++2dup at-xy ."        +3#bc," 1+
++2dup at-xy ."          -)SSL,," 1+
++     at-xy ."             ~~~~~"
+ ;
+ 
+ : print-beastie ( x y -- )
+@@ -146,11 +144,11 @@
+ 	clear
+ 	46 4 print-beastie
+ 	42 20 2 2 box
+-	13 6 at-xy ." Welcome to FreeBSD!"
+-	printmenuitem ."  Boot FreeBSD [default]" bootkey !
++	7 6 at-xy ." Welcome to Debian GNU/kFreeBSD!"
++	printmenuitem ."  Boot Debian [default]" bootkey !
+ 	s" arch-i386" environment? if
+ 		drop
+-		printmenuitem ."  Boot FreeBSD with ACPI " bootacpikey !
++		printmenuitem ."  Boot Debian with ACPI " bootacpikey !
+ 		acpienabled? if
+ 			." disabled"
+ 		else
+@@ -159,13 +157,13 @@
+ 	else
+ 		-2 bootacpikey !
+ 	then
+-	printmenuitem ."  Boot FreeBSD in Safe Mode" bootsafekey !
+-	printmenuitem ."  Boot FreeBSD in single user mode" bootsinglekey !
+-	printmenuitem ."  Boot FreeBSD with verbose logging" bootverbosekey !
++	printmenuitem ."  Boot Debian in Safe Mode" bootsafekey !
++	printmenuitem ."  Boot Debian in single user mode" bootsinglekey !
++	printmenuitem ."  Boot Debian with verbose logging" bootverbosekey !
+ 	printmenuitem ."  Escape to loader prompt" escapekey !
+ 	s" arch-i386" environment? if
+ 		drop
+-		printmenuitem ."  Boot FreeBSD with USB keyboard" bootusbkey !
++		printmenuitem ."  Boot Debian with USB keyboard" bootusbkey !
+ 	else
+ 		-2 bootusbkey !
+ 	then

Added: trunk/kfreebsd-loader/debian/rules
===================================================================
--- trunk/kfreebsd-loader/debian/rules	2006-04-21 16:31:57 UTC (rev 1473)
+++ trunk/kfreebsd-loader/debian/rules	2006-04-21 20:08:10 UTC (rev 1474)
@@ -0,0 +1,41 @@
+#!/usr/bin/make -f
+
+v		:= $(shell dpkg-parsechangelog | grep ^Version: | sed -e 's/^.*: //g' -e 's/[+-].*//g')
+cpu		:= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
+
+ifeq ($(cpu), amd64)
+cpu := i386
+endif
+
+DEB_TAR_SRCDIR                  := kfreebsd-source-$(v)
+#DEB_AUTO_CLEANUP_RCS            := yes
+
+package=kfreebsd-loader
+
+PATH:=/usr/lib/freebsd:$(PATH)
+PMAKE=make COPTS="-D_GNU_SOURCE" NO_WERROR=1 NOGCCERROR=1 NOSHARED=NO NO_SHARED=NO
+#export LDADD=-lbsd -lfreebsd
+
+build/$(package):: apply-patches
+	set -e ; for i in loader cdboot ; do \
+		$(PMAKE) -C $(DEB_SRCDIR)/sys/boot/$(cpu)/$$i ; \
+	done
+
+clean::
+	ln -sf /usr/src/kfreebsd-source-$(v).tar.bz2 src.tar.bz2
+
+include /usr/share/cdbs/1/rules/tarball.mk
+
+pre-build:: $(_cdbs_tarball_stamps)
+	find $(DEB_SRCDIR)/sys/boot/ -type f | (set -e ; while read i ; do sed -i $$i \
+		-e "/^__FBSDID/d" \
+		-e "s/[ \t]*__\(dead2\|used\|unused\|result\|section\)[ \t]*//g" \
+		-e "s,<sys/queue\.h>,<bsd/queue.h>,g" \
+		-e "s,<sys/iconv\.h>,<iconv.h>,g" \
+		-e "s/^LDADD=/LDADD+=/g" \
+		-e "s/getline/bsd_&/g" \
+	; done)
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/tarball.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk


Property changes on: trunk/kfreebsd-loader/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the Glibc-bsd-commits mailing list