summaryrefslogtreecommitdiffstats
path: root/dist/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-11 08:21:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-11 08:21:29 +0000
commit29cd838eab01ed7110f3ccb2e8c6a35c8a31dbcc (patch)
tree63ef546b10a81d461e5cf5ed9e98a68cd7dee1aa /dist/debian
parentInitial commit. (diff)
downloadkbuild-29cd838eab01ed7110f3ccb2e8c6a35c8a31dbcc.tar.xz
kbuild-29cd838eab01ed7110f3ccb2e8c6a35c8a31dbcc.zip
Adding upstream version 1:0.1.9998svn3589+dfsg.upstream/1%0.1.9998svn3589+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dist/debian')
-rw-r--r--dist/debian/changelog213
-rw-r--r--dist/debian/compat1
-rw-r--r--dist/debian/control33
-rw-r--r--dist/debian/copyright43
-rw-r--r--dist/debian/install2
-rw-r--r--dist/debian/kbuild.doc-base9
-rw-r--r--dist/debian/kmk.pod26
-rw-r--r--dist/debian/links25
-rw-r--r--dist/debian/manpages1
-rwxr-xr-xdist/debian/orig-tar.sh20
-rwxr-xr-xdist/debian/rules56
11 files changed, 429 insertions, 0 deletions
diff --git a/dist/debian/changelog b/dist/debian/changelog
new file mode 100644
index 0000000..cd34516
--- /dev/null
+++ b/dist/debian/changelog
@@ -0,0 +1,213 @@
+kbuild (1:0.1.5-1) unstable; urgency=low
+
+ * New upstream version.
+ * Adopted for tarball use.
+
+ -- bird <bird-kBuild-spamx@anduin.net> Thu, 22 Jan 2009 01:05:00 +0100
+
+kbuild (1:0.1.5svn2062-1) unstable; urgency=low
+
+ * new upstream version
+ * Remove patch lazy.diff that has been applied upstream.
+
+ -- Torsten Werner <twerner@debian.org> Wed, 12 Nov 2008 21:54:38 +0100
+
+kbuild (1:0.1.5svn2059-2) unstable; urgency=low
+
+ * Create SvnInfo.kmk during build process because the upstream svn does not
+ ship it anymore.
+
+ -- Torsten Werner <twerner@debian.org> Sat, 08 Nov 2008 09:17:10 +0100
+
+kbuild (1:0.1.5svn2059-1) unstable; urgency=low
+
+ * new upstream version
+ * Add patch lazy.diff to fix build process.
+ * Add more manpage symlinks.
+
+ -- Torsten Werner <twerner@debian.org> Fri, 07 Nov 2008 23:25:40 +0100
+
+kbuild (1:0.1.4svn1804-1) unstable; urgency=low
+
+ * new upstream version
+ * Bump up Standards-Version: 3.8.0 (no changes).
+
+ -- Torsten Werner <twerner@debian.org> Tue, 07 Oct 2008 20:50:48 +0200
+
+kbuild (1:0.1.3svn1610-1) unstable; urgency=low
+
+ * new upstream version (Closes: #479046, #480012)
+ * Remove patch cpu.diff that has been applied upstream.
+
+ -- Torsten Werner <twerner@debian.org> Thu, 08 May 2008 20:20:07 +0200
+
+kbuild (1:0.1.3svn1587-1) unstable; urgency=low
+
+ * new upstream version
+ * Add support for armv5tejl.
+
+ -- Torsten Werner <twerner@debian.org> Thu, 17 Apr 2008 22:08:34 +0200
+
+kbuild (1:0.1.2svn1393-2) unstable; urgency=high
+
+ * Add patch to fix build on parisc.
+ * Set urgency to high because we are fixing a FTBFS bug on 1 arch.
+
+ -- Torsten Werner <twerner@debian.org> Thu, 10 Apr 2008 22:42:26 +0200
+
+kbuild (1:0.1.2svn1393-1) unstable; urgency=low
+
+ * new upstream release
+ * Remove our patch because it has been applied upstream.
+
+ -- Torsten Werner <twerner@debian.org> Sun, 09 Mar 2008 22:29:26 +0100
+
+kbuild (1:0.1.2svn1377-5) unstable; urgency=low
+
+ * Add support for s390x.
+
+ -- Torsten Werner <twerner@debian.org> Sun, 30 Dec 2007 23:54:18 +0100
+
+kbuild (1:0.1.2svn1377-4) unstable; urgency=low
+
+ * Add support for mips.
+
+ -- Torsten Werner <twerner@debian.org> Sun, 30 Dec 2007 22:53:09 +0100
+
+kbuild (1:0.1.2svn1377-3) unstable; urgency=low
+
+ * Add support for armv5tel.
+
+ -- Torsten Werner <twerner@debian.org> Fri, 28 Dec 2007 23:39:11 +0100
+
+kbuild (1:0.1.2svn1377-2) unstable; urgency=low
+
+ * Add support for PA-RISC.
+
+ -- Torsten Werner <twerner@debian.org> Fri, 28 Dec 2007 13:20:11 +0100
+
+kbuild (1:0.1.2svn1377-1) unstable; urgency=low
+
+ * Use version number (KBUILD_VERSION) from file Config.kmk for our package.
+ * Always bootstrap kBuild because it is required.
+ * Add Build-Depends: autoconf, automake, cvs.
+ * Remove Build-Depends: doxygen, kbuild.
+
+ -- Torsten Werner <twerner@debian.org> Sat, 22 Dec 2007 11:53:03 +0100
+
+kbuild (1377-2) unstable; urgency=low
+
+ * Add patch cpu.diff to support Debian's architectures.
+ * Set LDFLAGS to -Wl,--as-needed to avoid linking of unneeded libraries.
+ * Use the freshly built kmk for the installation step instead of the old one
+ used for the build step. Rationale: that is a very basic test that the new
+ kmk is really working.
+
+ -- Torsten Werner <twerner@debian.org> Fri, 21 Dec 2007 18:06:38 +0100
+
+kbuild (1377-1) unstable; urgency=low
+
+ * new upstream version
+ * Add some debugging output (gcc macros).
+ * Update Homepage and Vcs headers in debian/control.
+ * Change Standards-Version: 3.7.3.
+ * Add manpage symlinks for kmk_redirect and kmk_test.
+
+ -- Torsten Werner <twerner@debian.org> Fri, 21 Dec 2007 12:30:37 +0100
+
+kbuild (1366-1) unstable; urgency=low
+
+ * new upstream version
+ - Does not ship kBuild.Doxyfile any more.
+ * Remove all references to the obsoleted documentation files.
+ (Closes: #454038)
+ * Remove Depends: autoconf, automake1.9.
+
+ -- Torsten Werner <twerner@debian.org> Mon, 03 Dec 2007 18:59:04 +0100
+
+kbuild (1258-1) unstable; urgency=low
+
+ * new upstream release
+ * Remove the last patch because it has been applied upstream.
+
+ -- Torsten Werner <twerner@debian.org> Sun, 28 Oct 2007 23:05:09 +0100
+
+kbuild (1173-1) unstable; urgency=low
+
+ * new upstream release
+ * Fix the get-orig-source target in debian/rules.
+ * Removed all patches that have been applied upstream.
+ * Add more man page symlinks (kmk_cmp and kmk_md5sum).
+
+ -- Torsten Werner <twerner@debian.org> Tue, 02 Oct 2007 21:59:51 +0200
+
+kbuild (1096-1) unstable; urgency=low
+
+ * new upstream version
+ * Add kbuild to Build-Depends.
+ * Fix clean target. (Closes: #442611)
+ * Comment the patches.
+
+ -- Torsten Werner <twerner@debian.org> Sun, 16 Sep 2007 19:06:22 +0200
+
+kbuild (1080-2) unstable; urgency=low
+
+ * Add patch arm.diff to support armv4l too.
+
+ -- Torsten Werner <twerner@debian.org> Sat, 21 Jul 2007 12:26:46 +0200
+
+kbuild (1080-1) unstable; urgency=low
+
+ * New upstream version
+ * Add a patch debug.diff that fixes debugging output.
+
+ -- Torsten Werner <twerner@debian.org> Sat, 21 Jul 2007 08:27:12 +0200
+
+kbuild (1060-1) unstable; urgency=low
+
+ * New upstream version
+ * Bootstrap every architecture again because some binaries are buggy.
+
+ -- Torsten Werner <twerner@debian.org> Sat, 9 Jun 2007 07:42:44 +0200
+
+kbuild (894-5) unstable; urgency=low
+
+ * Remove directory 'out' in clean target. (Closes: #424426)
+
+ -- Torsten Werner <twerner@debian.org> Sat, 19 May 2007 23:25:17 +0200
+
+kbuild (894-4) unstable; urgency=low
+
+ * Add hppa, ia64, mips, mipsel, powerpc, s390 to already bootstrapped
+ architectures.
+ * Add patch unused.diff to fix a build problem on alpha.
+
+ -- Torsten Werner <twerner@debian.org> Mon, 14 May 2007 05:30:43 +0200
+
+kbuild (894-3) unstable; urgency=low
+
+ * Add yet another fix for the missing architectures.
+
+ -- Torsten Werner <twerner@debian.org> Sat, 12 May 2007 18:32:30 +0200
+
+kbuild (894-2) unstable; urgency=low
+
+ * Complete the last (incomplete) patch.
+
+ -- Torsten Werner <twerner@debian.org> Sat, 12 May 2007 15:20:34 +0200
+
+kbuild (894-1) unstable; urgency=low
+
+ * New upstream revision.
+ * Use the revision number from debian/changelog for debian/orig-tar.sh.
+ * Add Build-Depends: kbuild [amd64 i386].
+ * Add a patch to support all Debian architectures.
+
+ -- Torsten Werner <twerner@debian.org> Sat, 12 May 2007 14:38:49 +0200
+
+kbuild (893-1) unstable; urgency=low
+
+ * Initial release (Closes: #422367)
+
+ -- Torsten Werner <twerner@debian.org> Fri, 4 May 2007 20:35:40 +0200
+
diff --git a/dist/debian/compat b/dist/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/dist/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/dist/debian/control b/dist/debian/control
new file mode 100644
index 0000000..893044b
--- /dev/null
+++ b/dist/debian/control
@@ -0,0 +1,33 @@
+Source: kbuild
+Section: devel
+Priority: extra
+Maintainer: Torsten Werner <twerner@debian.org>
+Build-Depends: autoconf, automake, byacc, cdbs, cvs, debhelper (>= 5), flex,
+ quilt
+Standards-Version: 3.8.0
+Homepage: http://svn.netlabs.org/kbuild
+Vcs-Svn: https://bollin.googlecode.com/svn/kbuild/trunk
+Vcs-Browser: http://bollin.googlecode.com/svn/kbuild/trunk
+
+Package: kbuild
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: framework for writing simple makefiles for complex tasks
+ The goals of the kBuild framework:
+ - Similar behavior cross all supported platforms.
+ - Flexibility, don't create unnecessary restrictions preventing ad-hoc
+ solutions.
+ - Makefile can very simple to write and maintain.
+ .
+ There are four concepts being tried out in the current kBuild incaration:
+ - One configuration file for a subtree automatically included.
+ - Target configuration templates as the primary mechanism for makefile
+ simplification.
+ - Tools and SDKs for helping out the templates with flexibility.
+ - Non-recursive makefile method by using sub-makefiles.
+ .
+ kBuild does not provide any facilities for checking compiler/library/header
+ configurations, that's not in its scope. If this is important for your
+ project, check out the autoconf tool in the GNU build system. It is possible
+ to use kBuild together with autoconf if you like, but you might just as well
+ use the full GNU package.
diff --git a/dist/debian/copyright b/dist/debian/copyright
new file mode 100644
index 0000000..2e9daa1
--- /dev/null
+++ b/dist/debian/copyright
@@ -0,0 +1,43 @@
+This package was debianized by Torsten Werner <twerner@debian.org> on
+Sat May 5 14:23:24 CEST 2007.
+
+It was downloaded from http://svn.netlabs.org/kbuild
+
+Upstream Author:
+2004-2010 knut st. osmundsen <bird-kBuild-spamx@anduin.net>
+
+Copyright:
+(C) 2004-2010 knut st. osmundsen <bird-kBuild-spamx@anduin.net>
+
+License:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+On Debian systems, the complete text of the GNU General Public License can be
+found in `/usr/share/common-licenses/GPL'.
+
+
+kBuild ships modified sources of ash, make and sed.
+
+NetBSD ash is Copyright (C) 1993 The Regents of the University of California. ash is
+licensed under the BSD license, see `/usr/share/common-licenses/BSD'.
+
+GNU make is Copyright (C) 2007 Free Software Foundation, Inc.
+License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
+
+GNU sed is Copyright (C) 2003 Free Software Foundation, Inc.
+licensed under the GPL, see `/usr/share/common-licenses/GPL`.
+
+The Debian packaging is (C) 2007, Torsten Werner <twerner@debian.org> and is
+licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/dist/debian/install b/dist/debian/install
new file mode 100644
index 0000000..c86604c
--- /dev/null
+++ b/dist/debian/install
@@ -0,0 +1,2 @@
+out/*.*/release/usr /
+
diff --git a/dist/debian/kbuild.doc-base b/dist/debian/kbuild.doc-base
new file mode 100644
index 0000000..0d8ebef
--- /dev/null
+++ b/dist/debian/kbuild.doc-base
@@ -0,0 +1,9 @@
+Document: kBuild
+Title: kmk Quick Reference
+Author: Knut St. Osmundsen
+Abstract: Brief description of all the features of the make program.
+Section: Devel/Tools
+
+Format: HTML
+Index: /usr/share/doc/kbuild/kmk-QuickReference-kmk.html
+Files: /usr/share/doc/kbuild*.html \ No newline at end of file
diff --git a/dist/debian/kmk.pod b/dist/debian/kmk.pod
new file mode 100644
index 0000000..92124dd
--- /dev/null
+++ b/dist/debian/kmk.pod
@@ -0,0 +1,26 @@
+=head1 NAME
+
+kmk - framework for writing simple makefiles for complex tasks
+
+=head1 SYNOPSIS
+
+B<kmk> [S<I<options>>]
+
+=head1 DESCRIPTION
+
+kmk and its helper tools are an extension to GNU make to ease writing
+portable Makefile. There is not a lot of documentation though. A
+starting point is L<http://svn.netlabs.org/kbuild>.
+
+On Debian systems the kBuild binaries can be found in F</usr/bin>, its data
+files in F</usr/share/kBuild> and its documentation in
+F</usr/share/doc/kbuild>.
+
+=head1 SEE ALSO
+
+L<make(1)>
+
+=head1 AUTHOR
+
+Torsten Werner <twerner@debian.org>
+
diff --git a/dist/debian/links b/dist/debian/links
new file mode 100644
index 0000000..fb6a427
--- /dev/null
+++ b/dist/debian/links
@@ -0,0 +1,25 @@
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_append.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_ash.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_cat.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_chmod.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_cmp.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_cp.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_echo.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_expr.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_gmake.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_install.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_ln.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_md5sum.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_mkdir.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_mv.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_printf.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_redirect.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_rm.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_rmdir.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_sed.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_sleep.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_test.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kmk_time.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kDepPre.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kDepIDB.1.gz
+/usr/share/man/man1/kmk.1.gz /usr/share/man/man1/kObjCache.1.gz
diff --git a/dist/debian/manpages b/dist/debian/manpages
new file mode 100644
index 0000000..724f12e
--- /dev/null
+++ b/dist/debian/manpages
@@ -0,0 +1 @@
+debian/kmk.1
diff --git a/dist/debian/orig-tar.sh b/dist/debian/orig-tar.sh
new file mode 100755
index 0000000..c1c26fe
--- /dev/null
+++ b/dist/debian/orig-tar.sh
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+
+SVNROOT=$1
+VERSION=$2
+REVISION=$3
+
+DIR=kbuild-$REVISION
+TAR=../kbuild_$VERSION.orig.tar.gz
+
+svn co -r $REVISION $SVNROOT $DIR
+tar -c -z --exclude '*/kBuild/bin*' --exclude '*/out/*' --exclude '*/.svn*' -f $TAR $DIR
+rm -rf $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir
+ echo "moved $TAR to $origDir"
+fi
+
diff --git a/dist/debian/rules b/dist/debian/rules
new file mode 100755
index 0000000..22995b6
--- /dev/null
+++ b/dist/debian/rules
@@ -0,0 +1,56 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+YACC := YACC=/usr/bin/byacc
+BOOTSTRAP := ASH=/bin/bash ECHO=/bin/echo MKDIR=/bin/mkdir CP=/bin/cp \
+ RM=/bin/rm INSTALL=/usr/bin/install $(YACC)
+
+ifdef KBUILD_FROM_SVN
+SVNROOT := http://svn.netlabs.org/repos/kbuild/trunk
+REVISION := $(shell echo $(DEB_UPSTREAM_VERSION) | sed -e's,.*svn,,')
+
+makebuilddir:: SvnInfo.kmk
+SvnInfo.kmk:
+ echo "KBUILD_SVN_URL := $(SVNROOT)" > $@
+ echo "KBUILD_SVN_REV := $(REVISION)" >> $@
+endif
+
+build/kbuild:: debian/stamp-build
+debian/stamp-build:
+ $(info DEBUG: macros defined by gcc:)
+ -gcc -dM -E - < /dev/null
+ kBuild/env.sh --full make -f bootstrap.gmk SRCDIR=`pwd` $(BOOTSTRAP)
+ kBuild/env.sh kmk rebuild PATH_INS=`pwd` $(YACC)
+ pod2man -c 'kBuild for Debian GNU/Linux' \
+ -r kBuild-$(DEB_UPSTREAM_VERSION) debian/kmk.pod > debian/kmk.1
+ touch $@
+
+install/kbuild::
+ kBuild/env.sh kmk install NIX_INSTALL_DIR=/usr \
+ MY_INST_DOC=share/doc/kbuild/ LDFLAGS=-Wl,--as-needed
+
+clean::
+ -kBuild/env.sh kmk uninstall
+ $(RM) -r debian/stamp-* debian/kmk.1 out kBuild/bin/*/*
+ifdef KBUILD_FROM_SVN
+ $(RM) SvnInfo.kmk
+endif
+
+## @todo fetch from ftp://ftp.netlabs.org/pub/kbuild or
+## ftp://ftp.netlabs.org/incoming/kbuild when KBUILD_FROM_SVN isn't
+## defined... (fetch the kBuild-x.y.z-src.tar.gz file)
+
+ifdef KBUILD_FROM_SVN
+get-orig-info:
+ svn info $(SVNROOT)
+
+get-orig-source:
+ sh debian/orig-tar.sh $(SVNROOT) $(DEB_UPSTREAM_VERSION) $(REVISION)
+else
+get-orig-source:
+ wget -O ../tarballs/kbuild_$(DEB_UPSTREAM_VERSION).orig.tar.gz \
+ ftp://ftp.netlabs.org/incoming/kbuild/kBuild-$(DEB_UPSTREAM_VERSION)-src.tar.gz
+endif
+