--- augeas-0.4.0.orig/debian/watch +++ augeas-0.4.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://augeas.net/download/ augeas-(.*)\.tar\.gz --- augeas-0.4.0.orig/debian/rules +++ augeas-0.4.0/debian/rules @@ -0,0 +1,86 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +config.status: configure + dh_testdir + + # Add here commands to configure the package. +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" --enable-compile-warnings=yes + +build: build-stamp patch +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + rm -f config.sub config.guess config.log + + dh_clean --exclude ./tests/root/etc/hosts.orig + +install: build + dh_testdir + dh_testroot + dh_clean -k --exclude ./tests/root/etc/hosts.orig + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs NEWS + dh_installdocs + dh_installexamples + dh_install --sourcedir=debian/tmp + dh_installman + dh_link + dh_strip + #Strip rpath. + chrpath -d $(CURDIR)/debian/augeas-tools/usr/bin/augtool + chrpath -d $(CURDIR)/debian/augeas-tools/usr/bin/augparse + chrpath -d $(CURDIR)/debian/libaugeas0/usr/lib/libfa.so.* + chrpath -d $(CURDIR)/debian/libaugeas0/usr/lib/libaugeas.so.* + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- augeas-0.4.0.orig/debian/libaugeas-dev.install +++ augeas-0.4.0/debian/libaugeas-dev.install @@ -0,0 +1,3 @@ +usr/include/* +usr/lib/*.so +usr/lib/pkgconfig/augeas.pc --- augeas-0.4.0.orig/debian/control +++ augeas-0.4.0/debian/control @@ -0,0 +1,67 @@ +Source: augeas +Priority: optional +Maintainer: Nicolas Valcárcel +Uploaders: Free Ekanayaka +Build-Depends: debhelper (>= 5), autotools-dev, libreadline5-dev, chrpath, quilt +Standards-Version: 3.8.0 +Section: libs +Homepage: http://augeas.net/ +Vcs-Browser: http://git.debian.org/?p=collab-maint/augeas.git;a=summary +Vcs-Git: git://git.debian.org/git/collab-maint/augeas.git + +Package: augeas-tools +Section: admin +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Augeas command line tools + Augeas is a configuration editing tool. It parses configuration files in their + native formats and transforms them into a tree. Configuration changes are made + by manipulating this tree and saving it back into native config files. + . + This package provides command line tools based on libaugeas0: + - augtool, a tool to manage configuration files. + - augparse, a testing and debugging tool for augeas lenses. + +Package: libaugeas-dev +Section: libdevel +Architecture: any +Depends: libaugeas0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: Development files for writing applications based on libaugeas0 + Augeas is a configuration editing tool. It parses configuration files in their + native formats and transforms them into a tree. Configuration changes are made + by manipulating this tree and saving it back into native config files. + . + This package includes the development files to write programs using the Augeas + API. + +Package: libaugeas0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, augeas-lenses +Suggests: augeas-tools +Description: The augeas configuration editing library and API + Augeas is a configuration editing tool. It parses configuration files in their + native formats and transforms them into a tree. Configuration changes are made + by manipulating this tree and saving it back into native config files. + . + The transformation works very hard to preserve comments and formatting + details. It is controlled by ``lens'' definitions that describe the file + format and the transformation into a tree. + +Package: augeas-lenses +Section: misc +Suggests: libaugeas0 +Architecture: all +Description: Set of lenses needed by libaugeas0 to parse config files + Augeas parses configuration files described in lenses into a tree structure, + which it exposes through its public API. Changes made through the API are + written back to the initially read files. + . + Lenses are the building blocks of the file <-> tree transformation; they + combine parsing a file and building the tree (the get transformation), with + turning the tree back into an (updated) file (the put transformation). + . + The transformation works very hard to preserve comments and formatting + details. It is controlled by ``lens'' definitions that describe the file + format and the transformation into a tree. This package includes the official + set of lenses. --- augeas-0.4.0.orig/debian/changelog +++ augeas-0.4.0/debian/changelog @@ -0,0 +1,103 @@ +augeas (0.4.0-1) unstable; urgency=low + + * New Upstream Version + + -- Free Ekanayaka Sun, 08 Feb 2009 10:58:29 +0100 + +augeas (0.3.6-1) unstable; urgency=low + + * New Upstream Version + * Add Vcs-Browser and Vcs-Git fields + + -- Free Ekanayaka Tue, 27 Jan 2009 21:49:47 +0000 + +augeas (0.3.5-1) unstable; urgency=low + + * New upstream release + * Drop 60_extra-lenses patch, all lenses merged upstream + + -- Free Ekanayaka Wed, 24 Dec 2008 16:11:49 +0000 + +augeas (0.3.4-2) unstable; urgency=low + + * Update extra-lenses patch (add passwd lens) + + -- Free Ekanayaka Mon, 22 Dec 2008 11:27:18 +0000 + +augeas (0.3.4-1) unstable; urgency=low + + * New Upstream Version + + -- Free Ekanayaka Mon, 10 Nov 2008 13:48:04 +0100 + +augeas (0.3.3-2) unstable; urgency=low + + * Update extra-lenses patch (group and cron-apt lenses) + + -- Free Ekanayaka Tue, 28 Oct 2008 12:30:48 +0100 + +augeas (0.3.3-1) unstable; urgency=low + + * New upstream release + + -- Free Ekanayaka Sat, 25 Oct 2008 14:05:54 +0200 + +augeas (0.3.2-1) unstable; urgency=low + + * New upstream version + * Add extra-lenses patch (phpvars, squid, postfix, webmin) + + -- Free Ekanayaka Wed, 22 Oct 2008 11:04:09 +0200 + +augeas (0.3.1-1) unstable; urgency=low + + * New upstream release + * Pass --enable-compile-warnings=yes to ./configure, which makes + the package buildable on etch + * Added myself to Uploaders: + + -- Free Ekanayaka Fri, 05 Sep 2008 10:04:12 +0200 + +augeas (0.3.0-1) unstable; urgency=low + + * New upstream release. + + -- Nicolas Valcárcel Fri, 08 Aug 2008 00:31:56 -0500 + +augeas (0.2.2-1) unstable; urgency=low + + * New upstream release. + * Dropped: 51_alias_commas.diff, 52_dput_support.diff and + 20_autool_null_printing.diff since they are not needed anymore. + * Install NEWS file with changelogs. + + -- Nicolas Valcárcel Fri, 18 Jul 2008 19:05:12 -0500 + +augeas (0.2.1-2) unstable; urgency=low + + * Removed required spaces after commas on aliases.aug (51_alias_commas.diff) + - Added test cases to tests/test_aliases.aug + (Patch taken from upstream) + * Added dput support (dput.aug) + - Added test cases to tests/test_dput.aug (52_dput_support.diff) + (Patch taken from upstream, originally written by Raphael Pinson) + * debian/control: + - augeas-lenses: + + Droped Depends field + + Added libaugeas0 (= ${binary:Version}) to Suggests field + - libaugeas0: + + Added augeas-tools to Suggests field + * Fixed printing of null values in augtool (20_autool_null_printing.diff) + (Patch taken from upstream) + + -- Nicolas Valcárcel Fri, 18 Jul 2008 00:10:06 -0500 + +augeas (0.2.1-1) unstable; urgency=low + + * Initial packaging for debian. (Closes: #476648) + * Fix rpath issue. http://wiki.debian.org/RpathIssue + * 50_grub_lense.diff: + - Fix configuration file path for grub (Debian systems only). + + -- Nicolas Valcárcel Thu, 03 Jul 2008 19:52:15 -0500 + --- augeas-0.4.0.orig/debian/libaugeas0.install +++ augeas-0.4.0/debian/libaugeas0.install @@ -0,0 +1 @@ +usr/lib/*.so.* --- augeas-0.4.0.orig/debian/compat +++ augeas-0.4.0/debian/compat @@ -0,0 +1 @@ +5 --- augeas-0.4.0.orig/debian/augeas-lenses.install +++ augeas-0.4.0/debian/augeas-lenses.install @@ -0,0 +1 @@ +usr/share/augeas/* --- augeas-0.4.0.orig/debian/augeas-tools.install +++ augeas-0.4.0/debian/augeas-tools.install @@ -0,0 +1,3 @@ +usr/bin/augtool +usr/bin/augparse +usr/share/man/* --- augeas-0.4.0.orig/debian/copyright +++ augeas-0.4.0/debian/copyright @@ -0,0 +1,137 @@ +This package was debianized by Nicolas Valcárcel on +Wed, 18 Jun 2008 18:57:49 -0500. + +It was downloaded from http://augeas.net/download/. + +Upstream Authors: + + Written by: + David Lutterkort + + Contributions by: + Harald Hoyer + Jim Meyering + Alan Pevec + Dean Wilson + + +Copyright: + + Augeas: + Copyright (C) 2007, 2008 Red Hat Inc. + Cutest (tests/cutest.{c,h}): + Copyright (c) 2003 Asim Jalis + Bison (src/parser.{c,h}): + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 + Free Software Foundation, Inc. + Hash Table Data Type (src/hash.{c,h}): + Copyright (C) 1997 Kaz Kylheku + Safer Memory Allocation (src/memory.{c,h}): + Copyright (C) 2008 Daniel P. Berrange + Gnulib (gnulib/): + Copyright (C) 1992, 1995-1998, 2000-2008 Free Software Foundation, Inc. + ./missing: + Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 + Free Software Foundation, Inc. + ./ylwrap: + Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, + 2007 Free Software Foundation, Inc. + + + +License: + + Augeas, Safer Memory Allocation (src/memory.{c,h}), Gnulib (gnulib/lib/): + This package 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. + + 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser 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 + + Hash Table Data Type (src/hash.{c,h}): + All rights are reserved by the author, with the following exceptions: + Permission is granted to freely reproduce and distribute this software, + possibly in exchange for a fee, provided that this copyright notice appears + intact. Permission is also granted to adapt this software to produce + derivative works, as long as the modified versions carry this copyright + notice and additional notices stating that the work has been modified. + This source code may be translated into executable form and incorporated + into proprietary software; there is no requirement for such software to + contain a copyright notice related to this source. + + Cutest (tests/cutest.{c,h}): + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software in + a product, an acknowledgment in the product documentation would be + appreciated but is not required. + + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source distribution. + + Bison (src/parser.{c,h}), ./missing, ./ylwrap: + 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 + + Gnulib (gnulib/tests): + 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 3 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 + + Gnulib (gnulib/m4/): + This file is free software, distributed under the terms of the GNU + General Public License. As a special exception to the GNU General + Public License, this file may be distributed as part of a program + that contains a configuration script generated by Autoconf, under + the same distribution terms as the rest of that program. + + +On Debian systems, the complete text of the GNU Lesser General Public +License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + +On Debian systems, the complete text of the GNU General Public +License version 2 can be found in `/usr/share/common-licenses/GPL-2' + +On Debian systems, the complete text of the GNU General Public +License version 3 can be found in `/usr/share/common-licenses/GPL-3' + +The Debian packaging is (C) 2008, Nicolas Valcárcel and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- augeas-0.4.0.orig/debian/augeas-tools.manpages +++ augeas-0.4.0/debian/augeas-tools.manpages @@ -0,0 +1 @@ +usr/share/man/* --- augeas-0.4.0.orig/debian/patches/series +++ augeas-0.4.0/debian/patches/series @@ -0,0 +1 @@ +50_grub_lense.diff --- augeas-0.4.0.orig/debian/patches/50_grub_lense.diff +++ augeas-0.4.0/debian/patches/50_grub_lense.diff @@ -0,0 +1,10 @@ +Index: augeas-0.2.1/lenses/grub.aug +=================================================================== +--- augeas-0.2.1.orig/lenses/grub.aug 2008-07-03 19:47:15.000000000 -0500 ++++ augeas-0.2.1/lenses/grub.aug 2008-07-03 19:47:40.000000000 -0500 +@@ -43,4 +43,4 @@ + let comment = [ del /(#.*|[ \t]*)\n/ "# " ] + + let lns = (comment | menu_setting | boot)* +- let xfm = transform lns (incl "/etc/grub.conf") ++ let xfm = transform lns (incl "/boot/grub/menu.lst")