--- purelibc-0.4.1.orig/debian/watch
+++ purelibc-0.4.1/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/view-os/purelibc-(.*)\.tar\.gz
--- purelibc-0.4.1.orig/debian/copyright
+++ purelibc-0.4.1/debian/copyright
@@ -0,0 +1,51 @@
+This package was debianized by Ludovico Gardenghi <garden@acheronte.it> on
+Fri, 20 Oct 2006 15:20:09 +0200.
+
+It was downloaded from http://savannah.nongnu.org/projects/view-os/
+
+Upstream Author: Renzo Davoli <renzo@cs.unibo.it> and others
+
+Copyright: 2006 Renzo Davoli, Andrea Gasparini
+
+License:
+
+ This package 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 package 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
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+As for the kernel_termios.ppc.h file (taken from the GNU C Library):
+
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library 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 GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, 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', and
+the complete text of the GNU Lesser General Public License can be found in
+`/usr/share/common-licenses/LGPL'.
+
+The Debian packaging is (C) 2006, Ludovico Gardenghi <garden@acheronte.it> and
+is licensed under the GPL, see above.
--- purelibc-0.4.1.orig/debian/libpurelibc-dev.install
+++ purelibc-0.4.1/debian/libpurelibc-dev.install
@@ -0,0 +1,3 @@
+debian/tmp/usr/include/*
+debian/tmp/usr/lib/lib*.a
+debian/tmp/usr/lib/lib*.so
--- purelibc-0.4.1.orig/debian/control
+++ purelibc-0.4.1/debian/control
@@ -0,0 +1,48 @@
+Source: purelibc
+Priority: optional
+Maintainer: Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>
+Uploaders: Ludovico Gardenghi <garden@debian.org>, Guido Trotter <ultrotter@debian.org>, Filippo Giunchedi <filippo@debian.org>
+DM-Upload-Allowed: yes
+Build-Depends: debhelper (>= 5), autotools-dev, cdbs
+Standards-Version: 3.9.2
+Vcs-Svn: svn://svn.debian.org/pkg-vsquare/purelibc/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-vsquare/purelibc/trunk/
+Section: libs
+
+Package: libpurelibc-dev
+Section: libdevel
+Architecture: i386 amd64 powerpc ppc64
+Replaces: libpurelibc0-dev
+Conflicts: libpurelibc0-dev
+Depends: libpurelibc1 (= ${binary:Version}), ${misc:Depends}
+Description: Development files for the purelibc library
+ purelibc is an overlay library that converts the glibc, the GNU standard C
+ library, into a pure library, i.e. a library that can upcall instead of
+ running the system calls. With purelibc a process can trace (and virtualize)
+ its own calls. It is used, for instance, by the UMView modules to support
+ the recursion of virtual environments.
+ .
+ purelibc, along with UMView, is part of the View-OS project:
+ http://wiki.virtualsquare.org
+ .
+ This package contains the files needed to compile applications that link
+ purelibc.
+
+Package: libpurelibc1
+Section: libs
+Architecture: i386 amd64 powerpc ppc64
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: libpurelibc0
+Conflicts: libpurelibc0
+Description: libc+syscalls to libc-only wrapper for libc functions
+ purelibc is an overlay library that converts the glibc, the GNU standard C
+ library, into a pure library, i.e. a library that can upcall instead of
+ running the system calls. With purelibc a process can trace (and virtualize)
+ its own calls. It is used, for instance, by the UMView modules to support
+ the recursion of virtual environments.
+ .
+ purelibc, along with UMView, is part of the View-OS project:
+ http://wiki.virtualsquare.org
+ .
+ This package contains the library, that can be linked with an application or
+ preloaded using the LD_PRELOAD environment variable.
--- purelibc-0.4.1.orig/debian/changelog
+++ purelibc-0.4.1/debian/changelog
@@ -0,0 +1,62 @@
+purelibc (0.4.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Bump to Standards-Version to 3.9.2:
+ + Stop shipping .la files
+ * Removed useless .dirs files
+
+ -- Ludovico Gardenghi <garden@debian.org> Sun, 05 Feb 2012 11:48:07 +0100
+
+purelibc (0.4+r960-1) unstable; urgency=low
+
+ * Snapshot from upstream SVN:
+ + Fix: -nostartfile -> -nostartfiles option (FTBFS). (Closes: #625086)
+ + Fix: wrong index on socketcalls.
+ + Fixes (thanks to Alexander Block): wrong __NR constants, wrong
+ detection of Open # of args.
+ + Fix: evecl, exevle, execlp args count was wrong.
+ + fcntl -> fcntl64 conversion.
+ + preadv/pwritev emulation. accept4.
+ + raise added (glibc implements a useless cache for getpid! purelibc
+ solves also this problem)
+ + Fix: negative hash values caused purelibc to write randomly in the
+ memory. This was the cause of random segfaults.
+
+ -- Ludovico Gardenghi <garden@debian.org> Mon, 02 May 2011 17:33:44 +0200
+
+purelibc (0.4+r646-1) unstable; urgency=low
+
+ [ Filippo Giunchedi ]
+ * Add DM-Upload-Allowed field
+
+ [ Ludovico Gardenghi ]
+ * Snapshot from upstream
+ + Fixed FTBFS on amd64 with libc 2.9 (Closes: #490389)
+ + Added support for *at system calls
+ * Changed my email address to @debian.org
+
+ -- Ludovico Gardenghi <garden@debian.org> Thu, 09 Apr 2009 20:49:10 +0200
+
+purelibc (0.4-1) unstable; urgency=low
+
+ * New upstream release
+ + soname switched to 1
+ * Ship libpurelibc-dev with soname removed
+
+ -- Filippo Giunchedi <filippo@debian.org> Wed, 16 Apr 2008 22:01:11 +0200
+
+purelibc (0.3-1) unstable; urgency=low
+
+ * New upstream release (Closes: #403658, #410543, #404517)
+ * Fix watch file
+ * Restrict architectures to i386 amd64 powerpc ppc64
+ * Switch to cdbs
+
+ -- Filippo Giunchedi <filippo@debian.org> Thu, 07 Feb 2008 00:33:38 +0100
+
+purelibc (0.2-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Guido Trotter <ultrotter@debian.org> Fri, 20 Oct 2006 15:20:09 +0200
+
--- purelibc-0.4.1.orig/debian/libpurelibc1.install
+++ purelibc-0.4.1/debian/libpurelibc1.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/lib*.so.*
--- purelibc-0.4.1.orig/debian/compat
+++ purelibc-0.4.1/debian/compat
@@ -0,0 +1 @@
+5
--- purelibc-0.4.1.orig/debian/rules
+++ purelibc-0.4.1/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/buildcore.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+#include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/class/autotools.mk
--- purelibc-0.4.1.orig/debian/docs
+++ purelibc-0.4.1/debian/docs
@@ -0,0 +1,2 @@
+README
+TODO