--- dotdee-1.11.orig/debian/changelog +++ dotdee-1.11/debian/changelog @@ -0,0 +1,192 @@ +dotdee (1.11-0ubuntu1~raring) raring; urgency=low + + [ Laszlo Boszormenyi ] + * debian/control, debian/copyright, debian/dirs, debian/rules: + - fixes for Debian + - remove accented characters + - use DEP5 copyright format + - drop unecessary dirs file + - specify rules format + + -- Dustin Kirkland Fri, 16 Aug 2013 14:03:25 -0500 + +dotdee (1.10-0ubuntu1) saucy; urgency=low + + * Packaged and released for upload to Debian, closes: #719691 + * debian/default, debian/upstart: LP: #993503 + - provide an easy mechanism for diabling inotify + vi configuration + * debian/control: + - bump standards + - add uploader, Laszlo Boszormenyi (GCS) + - fix lintian error + + -- Dustin Kirkland Fri, 16 Aug 2013 14:03:20 -0500 + +dotdee (1.9-0ubuntu1) oneiric; urgency=low + + [ Juan L. Negron ] + * etc/dotdee.xml: LP: #803030 + - Original dotdee.xml file needs to not be installed as a conffile + + -- Dustin Kirkland Wed, 29 Jun 2011 02:30:17 +0000 + +dotdee (1.8-0ubuntu1) oneiric; urgency=low + + * debian/postinst, usr/sbin/dotdee: + - fix some installation time breakage + - must update the contents, before the link, else update-alternatives + fails + - simplify the postinst /etc/dotdee.xml setup logic for idempotence + + -- Dustin Kirkland Wed, 15 Jun 2011 10:28:40 -0500 + +dotdee (1.7-0ubuntu1) oneiric; urgency=low + + * === added directory usr/share/dotdee, debian/postinst, === removed + directory etc/dotdee/usr, === removed directory + etc/dotdee/usr/share, === removed directory + etc/dotdee/usr/share/dotdee, === renamed directory + etc/dotdee/usr/share/dotdee/dotdee.xml.d => etc/dotdee/dotdee.xml.d, + usr/sbin/dotdee, usr/share/dotdee/watch_template: + - manage /etc/dotdee.xml with dotdee itself + - watch the managed file (symlink) for changes + - if the managed file changes, reinstall our dotdee managed link + * === added directory etc/dotdee/etc, debian/postinst, + etc/dotdee/dotdee.xml.d/51-etcdotdee-watch => + etc/dotdee/etc/dotdee.xml.d/51-main, === renamed directory + etc/dotdee/dotdee.xml.d => etc/dotdee/etc/dotdee.xml.d, + usr/lib/dotdee/dotdee-inotify-handler, usr/sbin/dotdee, + usr/share/dotdee/watch_template, usr/share/man/man8/dotdee.8: + - add update-link, update-contents, list methods + * usr/lib/dotdee/dotdee-inotify-handler, usr/sbin/dotdee: + - move the inotify handling code into dotdee itself, which already + has several helper functions; should improve performance for + inotify handling situations + * usr/sbin/dotdee, usr/share/dotdee/watch_template: + - fixup a couple of minor bugs around canonicalizing the path and + handle + - update the template to use --handle-inotify + * etc/dotdee/etc/dotdee.xml.d/51-main, usr/sbin/dotdee: + - get dotdee restarting when /etc/dotdee.xml changes + - clean up restart procedures + + -- Dustin Kirkland Mon, 13 Jun 2011 00:12:23 -0500 + +dotdee (1.6-0ubuntu1) oneiric; urgency=low + + * === added directory etc, === added directory etc/dotdee, === added + directory etc/dotdee/usr, === added directory etc/dotdee/usr/share, + === added directory etc/dotdee/usr/share/dotdee, === added directory + etc/dotdee/usr/share/dotdee/dotdee.xml.d, === added directory usr, + === added directory usr/lib, === added directory usr/lib/dotdee, === + added directory usr/sbin, === added directory usr/share, === added + directory usr/share/icons, === added directory + usr/share/icons/hicolor, === added directory + usr/share/icons/hicolor/192x192, === added directory usr/share/man, + === added directory usr/share/man/man8, debian/install, + debian/manpages, dotdee.8 => usr/share/man/man8/dotdee.8, dotdee- + inotify-handler => usr/lib/dotdee/dotdee-inotify-handler, dotdee => + usr/sbin/dotdee, dotdee.xml => + etc/dotdee/usr/share/dotdee/dotdee.xml.d/50-original, dpkg.txt, + etc/dotdee/usr/share/dotdee/dotdee.xml.d/10-header, + etc/dotdee/usr/share/dotdee/dotdee.xml.d/90-footer, + etc/dotdee/usr/share/dotdee/dotdee.xml.d/.comment, img/dotdee.png => + usr/share/icons/hicolor/192x192/dotdee.png, === removed directory + img: + - reorganize the layout for simpler installation + - scale the dotdee.png down to 192x192 + * === added directory usr/share/dotdee, debian/postinst, + etc/dotdee/usr/share/dotdee/dotdee.xml.d/50-original => + etc/dotdee/usr/share/dotdee/dotdee.xml.d/51-etcdotdee-watch, + usr/sbin/dotdee, usr/share/dotdee/dotdee.xml: + - add a --setup-force mode (don't document this) + * usr/sbin/dotdee, usr/share/man/man8/dotdee.8: + - add support for comment start and end characters, like + and /* */ + * usr/sbin/dotdee: + - add a bug/note about XML special case needed for comments + * debian/postinst, debian/upstart, === removed directory + usr/share/dotdee, usr/share/dotdee/dotdee.xml, etc/dotdee.xml: + - flatten back to a single dotdee.xml + - move it to /etc, for admin configurability + * debian/upstart: + - respawn in case iwatch fails + * usr/lib/dotdee/dotdee-inotify-handler: + - update on .comment changes + * etc/dotdee.xml: + - try only sending event once; should make inotify events far less + frequent; testing will show if this is sufficient + + -- Dustin Kirkland Thu, 02 Jun 2011 15:06:30 -0400 + +dotdee (1.5-0ubuntu1) oneiric; urgency=low + + * dotdee.xml: + - need moved_self + + -- Dustin Kirkland Wed, 01 Jun 2011 13:15:59 -0500 + +dotdee (1.4-0ubuntu1) oneiric; urgency=low + + * dotdee, dotdee.8: + - drop the maintenance of .attr; let's just pull this from 50-original + - fix chmod to affect all write access + + -- Dustin Kirkland Tue, 31 May 2011 17:55:08 -0500 + +dotdee (1.3-0ubuntu1) oneiric; urgency=low + + * dotdee, dotdee.8: + - add support for a .comment file in the .d configuration directory + + -- Dustin Kirkland Tue, 31 May 2011 17:34:52 -0500 + +dotdee (1.2-0ubuntu1) oneiric; urgency=low + + * dotdee, dotdee.8: + - add one-character shortcut parameters + - add a --dir option; useful when someone or something (dpkg?) needs + to add a snippet + + -- Dustin Kirkland Tue, 31 May 2011 12:50:24 -0500 + +dotdee (1.1-0ubuntu1) oneiric; urgency=low + + * === added directory img, img/dotdee.png: + - branding + * dotdee, dotdee.8: + - add a --original option; useful when someone or something (dpkg?) needs + to modify the original file + + -- Dustin Kirkland Tue, 31 May 2011 12:30:29 -0500 + +dotdee (1.0-0ubuntu1) oneiric; urgency=low + + * Initial release + * === added directory debian, debian/compat, debian/control, + debian/copyright, debian/install, debian/manpages, debian/rules: + - initial packaging + * debian/control, debian/install, debian/upstart, dotdee.8, dotdee- + inotify-handler: + - add inotify support + * dotdee: + - preserve permissions, use function for all + - use ":" to signify "/" in update-alternatives pathnames + - add support for executables + - add support for .patch and .diff files + - only preserve timestamps at undo + * dotdee-inotify-handler: + - relax naming requirements slightly + * debian/upstart: + - fix path + - drop respawn, get the quoting right + * debian/dirs: + - added, needed for upstart job to work + * dotdee.8: + - add a bunch of examples + * debian/install, debian/upstart, dotdee.xml: + - use an xml configuration instead of command line, for the iwatch + daemon; offers more flexibility + + -- Dustin Kirkland Tue, 24 May 2011 20:11:55 -0500 --- dotdee-1.11.orig/debian/upstart +++ dotdee-1.11/debian/upstart @@ -0,0 +1,18 @@ +# dotdee - dotdee inotify daemon +# +# Update dotdee-managed files immediately on constituent modification + +description "dotdee inotify daemon" +author "Dustin Kirkland " + +start on filesystem or runlevel [2345] +stop on runlevel [!2345] + +respawn + +script + . /etc/default/dotdee + if [ "$INOTIFY" = "1" ]; then + exec iwatch -f /etc/dotdee.xml -p /var/run/dotdee.pid + fi +end script --- dotdee-1.11.orig/debian/postinst +++ dotdee-1.11/debian/postinst @@ -0,0 +1,8 @@ +#!/bin/sh -e + +XML="/etc/dotdee.xml" +touch "${XML}" +dotdee --setup "${XML}" || true +dotdee --update "${XML}" + +#DEBHELPER# --- dotdee-1.11.orig/debian/compat +++ dotdee-1.11/debian/compat @@ -0,0 +1 @@ +7 --- dotdee-1.11.orig/debian/install +++ dotdee-1.11/debian/install @@ -0,0 +1,2 @@ +etc/ +usr/ --- dotdee-1.11.orig/debian/init +++ dotdee-1.11/debian/init @@ -0,0 +1,41 @@ +#!/bin/sh +# Start/stop dotdee daemon +# chkconfig: 2345 60 80 + +### BEGIN INIT INFO +# Provides: dotdee +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Converting a flatfile into a dynamically generated file. +# Description: It is generated from a .d directory. +### END INIT INFO + +# Get LSB functions +. /lib/lsb/init-functions + +case "$1" in + start) + echo "Starting dotdee..." + [ -f /etc/default/dotdee ] && . /etc/default/dotdee + if [ "$INOTIFY" = "1" ]; then + exec iwatch -f /etc/dotdee.xml -p /var/run/dotdee.pid + fi + ;; + reload) + echo "Reloading dotdee..." +# start-stop-daemon --stop --signal HUP -x dotdee --oknodo + ;; + restart|force-reload) + $0 stop + $0 start + ;; + stop) +# start-stop-daemon --stop -x dotdee --oknodo + ;; + *) + echo "Usage: $0 start|stop|restart" >&2 + exit 3 + ;; +esac --- dotdee-1.11.orig/debian/default +++ dotdee-1.11/debian/default @@ -0,0 +1,4 @@ +# Enable/disable dotdee's use of inotify for watching for +# changes to configuration .d directories +# Set INOTIFY=1 to enable, or anything else to disable +INOTIFY=1 --- dotdee-1.11.orig/debian/rules +++ dotdee-1.11/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ --- dotdee-1.11.orig/debian/control +++ dotdee-1.11/debian/control @@ -0,0 +1,16 @@ +Source: dotdee +Section: admin +Priority: optional +Maintainer: Dustin Kirkland +Uploaders: Laszlo Boszormenyi (GCS) +Build-Depends: debhelper (>= 7) +Standards-Version: 3.9.4 +Homepage: http://launchpad.net/dotdee + +Package: dotdee +Architecture: all +Depends: ${misc:Depends}, iwatch, patch +Description: convert a flat file to a file concatenated from a .d-style directory + dotdee is a handy utility for converting a single flat text file to a + symlink to a file constructed by concatenating a set of files in .d-style + directory. --- dotdee-1.11.orig/debian/copyright +++ dotdee-1.11/debian/copyright @@ -0,0 +1,28 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: dotdee +Source: http://launchpad.net/dotdee + +Files: * +Copyright: (C) 2010- Dustin Kirkland +License: GPL-3 + +Files: debian/* +Copyright: (C) 2011- Dustin Kirkland , + (C) 2013- Laszlo Boszormenyi (GCS) +License: GPL-3 + +License: GPL-3 + 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 version 3 of the License. + . + 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 + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General Public + License, version 3, can be found in `/usr/share/common-licenses/GPL-3'.