[Demudi-commits] r916 - in sysv-rc-bootsplash/trunk: . debian
debian/po
Free Ekanayaka
free-guest at costa.debian.org
Wed Sep 20 11:50:04 UTC 2006
Author: free-guest
Date: 2006-09-20 11:50:03 +0000 (Wed, 20 Sep 2006)
New Revision: 916
Added:
sysv-rc-bootsplash/trunk/debian/
sysv-rc-bootsplash/trunk/debian/README.Debian
sysv-rc-bootsplash/trunk/debian/changelog
sysv-rc-bootsplash/trunk/debian/compat
sysv-rc-bootsplash/trunk/debian/control
sysv-rc-bootsplash/trunk/debian/copyright
sysv-rc-bootsplash/trunk/debian/dirs
sysv-rc-bootsplash/trunk/debian/po/
sysv-rc-bootsplash/trunk/debian/po/POTFILES.in
sysv-rc-bootsplash/trunk/debian/postinst
sysv-rc-bootsplash/trunk/debian/prerm
sysv-rc-bootsplash/trunk/debian/rules
sysv-rc-bootsplash/trunk/debian/sysv-rc-bootsplash.config
sysv-rc-bootsplash/trunk/debian/sysv-rc-bootsplash.templates
Log:
Load sysv-rc-bootsplash-1.0.2 into sysv-rc-bootsplash/trunk.
Added: sysv-rc-bootsplash/trunk/debian/README.Debian
===================================================================
--- sysv-rc-bootsplash/trunk/debian/README.Debian (rev 0)
+++ sysv-rc-bootsplash/trunk/debian/README.Debian 2006-09-20 11:50:03 UTC (rev 916)
@@ -0,0 +1,8 @@
+sysv-rc-bootsplash for Debian
+-----------------------------
+
+This package contains patches to the /etc/init.d/rc and
+/etc/init.d/rcS files that enable Debian to use bootsplash. If
+the package is removed the original rc and rcS files will be restored.
+
+ -- Matthew A. Nicholson <debian at matt-land.com>, Wed, 17 Dec 2003 14:01:25 -0500
Added: sysv-rc-bootsplash/trunk/debian/changelog
===================================================================
--- sysv-rc-bootsplash/trunk/debian/changelog (rev 0)
+++ sysv-rc-bootsplash/trunk/debian/changelog 2006-09-20 11:50:03 UTC (rev 916)
@@ -0,0 +1,54 @@
+sysv-rc-bootsplash (1.0.2-1) unstable; urgency=low
+
+ * New upstream. The patches now work with sysv-rc version 2.85.ds1-15,
+ thanks to Pablo Chinea.
+ * Better debconf titles
+ * First upload to Debian (closes: #382334, #385459)
+
+ -- Free Ekanayaka <freee at debian.org> Thu, 31 Aug 2006 13:46:26 +0200
+
+sysv-rc-bootsplash (1.0.1-1) unstable; urgency=low
+
+ * New upstream, works with sysv-rc version 2.86.ds1-14.1
+
+ -- Free Ekanayaka <freee at debian.org> Sun, 9 Jul 2006 15:47:13 +0200
+
+sysv-rc-bootsplash (1.0.0-5inniyah1) unstable; urgency=low
+
+ * Modified rv-bootsplash.pathc and rcS-bootsplash.patch to make them
+ work with sysv-rc version 2.86.ds1-4.
+
+ -- Miriam Ruiz <little_miry at yahoo.es> Sat, 8 Oct 2005 19:35:42 +0200
+
+sysv-rc-bootsplash (1.0.0-5) unstable; urgency=low
+
+ * Added conflict againts sysv-rc-fbsplash
+ * Changed package-maintainer
+
+ -- Oliver Sorge <oliver at dediziert.org> Mon, 7 Feb 2005 08:52:27 +0200
+
+sysv-rc-bootsplash (1.0.0-4) unstable; urgency=low
+
+ * Fixed dependency problems due to new sysv-rc package
+
+ -- Oliver Sorge <oliver at dediziert.org> Thu, 2 Sep 2004 17:17:31 +0200
+
+sysv-rc-bootsplash (1.0.0-3) unstable; urgency=low
+
+ * Changed #!/bin/sh to #!/bin/bash in startup scripts
+
+ -- Matthew A. Nicholson <debian at matt-land.com> Thu, 22 Jan 2004 20:54:23 -0600
+
+sysv-rc-bootsplash (1.0.0-2) unstable; urgency=low
+
+ * Edited patching and unpatching scripts
+
+ -- Matthew A. Nicholson <debian at matt-land.com> Mon, 19 Jan 2004 03:21:03 -0600
+
+sysv-rc-bootsplash (1.0.0-1) unstable; urgency=low
+
+ * Initial Release.
+ * Created patches from sysv-rc rc and rcS files
+
+ -- Matthew A. Nicholson <debian at matt-land.com> Sun, 21 Dec 2003 03:14:00 -0500
+
Added: sysv-rc-bootsplash/trunk/debian/compat
===================================================================
--- sysv-rc-bootsplash/trunk/debian/compat (rev 0)
+++ sysv-rc-bootsplash/trunk/debian/compat 2006-09-20 11:50:03 UTC (rev 916)
@@ -0,0 +1 @@
+4
Added: sysv-rc-bootsplash/trunk/debian/control
===================================================================
--- sysv-rc-bootsplash/trunk/debian/control (rev 0)
+++ sysv-rc-bootsplash/trunk/debian/control 2006-09-20 11:50:03 UTC (rev 916)
@@ -0,0 +1,17 @@
+Source: sysv-rc-bootsplash
+Section: base
+Priority: optional
+Maintainer: Free Ekanayaka <freee at debian.org>
+Build-Depends: debhelper (>= 4.0.0)
+Standards-Version: 3.7.2
+
+Package: sysv-rc-bootsplash
+Architecture: all
+Depends: sysv-rc (>= 2.86.ds1-15), initramfs-tools, patch, ${misc:Depends}, po-debconf
+Recommends: bootsplash (>= 3.0.0)
+Conflicts: sysv-rc-fbsplash
+Description: Bootsplash patches for rc files
+ This package provides support bootsplash (progress bars, animations,
+ etc...) during boot. It patches the /etc/init.d/rc and
+ /usr/share/initramfs-tools/scripts/functions files. Upon removal the
+ original files are restored.
Added: sysv-rc-bootsplash/trunk/debian/copyright
===================================================================
--- sysv-rc-bootsplash/trunk/debian/copyright (rev 0)
+++ sysv-rc-bootsplash/trunk/debian/copyright 2006-09-20 11:50:03 UTC (rev 916)
@@ -0,0 +1,28 @@
+This package was debianized by Matthew A. Nicholson <debian at matt-land.com> on
+Sun, 21 Dec 2003 03:14:00 -0500.
+
+This package contains patches to the Debian init scripts (rc and rcS)
+to enable Debian to work correctly with bootsplash.
+
+Upstream Author: Matthew A. Nicholson <debian at matt-land.com>
+
+The original rc and rcS scripts are copyright:
+ Copyright (C) 2000-2003 Miquel van Smoorenburg <miquels at cistron.nl>
+ Copyright (C) 2000,2001 Henrique de Moraes Holschuh <hmh at debian.org>
+
+These patches are copyright:
+ (c) 2003 Matthew A. Nicholson <debian at matt-land.com>
+
+ 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
+ GNU General Public License for more details.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
Added: sysv-rc-bootsplash/trunk/debian/dirs
===================================================================
--- sysv-rc-bootsplash/trunk/debian/dirs (rev 0)
+++ sysv-rc-bootsplash/trunk/debian/dirs 2006-09-20 11:50:03 UTC (rev 916)
@@ -0,0 +1,3 @@
+usr
+usr/share
+usr/share/sysv-rc-bootsplash
Added: sysv-rc-bootsplash/trunk/debian/po/POTFILES.in
===================================================================
--- sysv-rc-bootsplash/trunk/debian/po/POTFILES.in (rev 0)
+++ sysv-rc-bootsplash/trunk/debian/po/POTFILES.in 2006-09-20 11:50:03 UTC (rev 916)
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] sysv-rc-bootsplash.templates
Added: sysv-rc-bootsplash/trunk/debian/postinst
===================================================================
--- sysv-rc-bootsplash/trunk/debian/postinst (rev 0)
+++ sysv-rc-bootsplash/trunk/debian/postinst 2006-09-20 11:50:03 UTC (rev 916)
@@ -0,0 +1,78 @@
+#! /bin/sh
+# postinst script for sysv-rc-bootsplash
+#
+# see: dh_installdeb(1)
+
+set -e
+. /usr/share/debconf/confmodule
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+# quoting from the policy:
+# Any necessary prompting should almost always be confined to the
+# post-installation script, and should be protected with a conditional
+# so that unnecessary prompting doesn't happen if a package's
+# installation fails and the `postinst' is called with `abort-upgrade',
+# `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+ configure)
+
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+function print_error {
+ echo "Patches would not apply cleanly."
+# db_input high sysv-rc-bootsplash/failed || true
+# db_go
+# db_stop
+ exit 1;
+}
+
+
+db_get sysv-rc-bootsplash/should-patch
+SHOULD_PATCH="$RET"
+
+if [ $SHOULD_PATCH = "true" ]
+then
+ # attempt to patch the rc and rcS files, if we fail
+ # notify the user and report the error.
+ echo "Testing if patches apply cleanly..."
+ patch /usr/share/initramfs-tools/scripts/functions --dry-run -bfs /usr/share/sysv-rc-bootsplash/functions-bootsplash.patch || print_error
+ patch /etc/init.d/rc --dry-run -bfs /usr/share/sysv-rc-bootsplash/rc-bootsplash.patch || print_error
+
+ # apply the patches
+ echo "Patching files..."
+ patch /usr/share/initramfs-tools/scripts/functions -b /usr/share/sysv-rc-bootsplash/functions-bootsplash.patch
+ patch /etc/init.d/rc -b /usr/share/sysv-rc-bootsplash/rc-bootsplash.patch
+else
+ echo "Not patching start up files..."
+fi
+
+db_stop
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
Added: sysv-rc-bootsplash/trunk/debian/prerm
===================================================================
--- sysv-rc-bootsplash/trunk/debian/prerm (rev 0)
+++ sysv-rc-bootsplash/trunk/debian/prerm 2006-09-20 11:50:03 UTC (rev 916)
@@ -0,0 +1,70 @@
+#! /bin/sh
+# prerm script for sysv-rc-bootsplash
+#
+# see: dh_installdeb(1)
+
+set -e
+. /usr/share/debconf/confmodule
+# summary of how this script can be called:
+# * <prerm> `remove'
+# * <old-prerm> `upgrade' <new-version>
+# * <new-prerm> `failed-upgrade' <old-version>
+# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+# * <deconfigured's-prerm> `deconfigure' `in-favour'
+# <package-being-installed> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ remove|upgrade|deconfigure)
+# install-info --quiet --remove /usr/info/sysv-rc-bootsplash.info.gz
+ ;;
+ failed-upgrade)
+ ;;
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+function print_error {
+ echo "Patches would not removed cleanly."
+ db_input high sysv-rc-bootsplash/failed-removal || true
+ db_go
+}
+
+
+db_get sysv-rc-bootsplash/should-patch
+SHOULD_PATCH="$RET"
+
+if [ $SHOULD_PATCH = "true" ]
+then
+
+ # attempt to un-patch the rc and rcS files, if we fail
+ # notify the user and report the error.
+
+ FAILED="false"
+
+ echo "Testing if patches remove cleanly..."
+ patch /usr/share/initramfs-tools/scripts/functions --dry-run -Rfs /usr/share/sysv-rc-bootsplash/functions-bootsplash.patch || FAILED="true"
+ patch /etc/init.d/rc --dry-run -Rfs /usr/share/sysv-rc-bootsplash/rc-bootsplash.patch || FAILED="true"
+
+ if [ $FAILED != "true" ]
+ then
+ echo "Patches remove cleanly, un-patching files..."
+ patch /usr/share/initramfs-tools/scripts/functions -R /usr/share/sysv-rc-bootsplash/functions-bootsplash.patch
+ patch /etc/init.d/rc -R /usr/share/sysv-rc-bootsplash/rc-bootsplash.patch
+ else
+ print_error
+ fi
+fi
+db_stop
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
Added: sysv-rc-bootsplash/trunk/debian/rules
===================================================================
--- sysv-rc-bootsplash/trunk/debian/rules (rev 0)
+++ sysv-rc-bootsplash/trunk/debian/rules 2006-09-20 11:50:03 UTC (rev 916)
@@ -0,0 +1,84 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+INSTALL_DIR = $(CURDIR)/debian/sysv-rc-bootsplash
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+
+ # Add here commands to compile the package.
+ diff -U 3 -dHNa -- functions.initramfs-tools functions.bootsplash | cat > functions-bootsplash.patch
+ diff -U 3 -dHNa -- rc.sysv-rc rc.bootsplash | cat > rc-bootsplash.patch
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ rm -f functions-bootsplash.patch rc-bootsplash.patch
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ install -g root -m 644 rc-bootsplash.patch functions-bootsplash.patch \
+ "$(INSTALL_DIR)/usr/share/sysv-rc-bootsplash/"
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+# dh_install
+ dh_installdebconf
+# dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
Property changes on: sysv-rc-bootsplash/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: sysv-rc-bootsplash/trunk/debian/sysv-rc-bootsplash.config
===================================================================
--- sysv-rc-bootsplash/trunk/debian/sysv-rc-bootsplash.config (rev 0)
+++ sysv-rc-bootsplash/trunk/debian/sysv-rc-bootsplash.config 2006-09-20 11:50:03 UTC (rev 916)
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+# source debconf stuff
+. /usr/share/debconf/confmodule
+
+# let the user know what we are about to do
+db_input medium sysv-rc-bootsplash/should-patch || true
+db_go
+
+exit 0
Added: sysv-rc-bootsplash/trunk/debian/sysv-rc-bootsplash.templates
===================================================================
--- sysv-rc-bootsplash/trunk/debian/sysv-rc-bootsplash.templates (rev 0)
+++ sysv-rc-bootsplash/trunk/debian/sysv-rc-bootsplash.templates 2006-09-20 11:50:03 UTC (rev 916)
@@ -0,0 +1,40 @@
+Template: sysv-rc-bootsplash/info
+Type: note
+Description: The system rc and functions files have to be patched
+ Your /etc/init.d/rc and /etc/init.d/rcS files will be patched
+ to operate correctly with bootsplash. Do not edit them after patching;
+ if you do, upon removal this package will not be able to restore the
+ original files. If you have already editied your rc and rcS files
+ and the patch fails, you will be notified, and your rc and rcS files
+ will not be changed.
+ .
+ You should also install the bootsplash package with this one.
+
+Template: sysv-rc-bootsplash/should-patch
+Type: boolean
+Default: true
+Description: Should bootsplash patch your start up scripts?
+ In order to operate correctly, bootsplash must patch your
+ /etc/init.d/rc and /etc/init.d/rcS files. Upon removal of
+ this package the patches will be removed. If for some reason
+ the patches are not reversed upon removal of this package
+ just run 'apt-get install --reinstall sysv-rc' to restore
+ your startup scripts or rename the rc.orig and rcS.orig
+ files in your /etc/init.d/ directory.
+ .
+ If you do not patch your start up scripts progress bars and
+ animations will not work.
+
+Template: sysv-rc-bootsplash/failed
+Type: note
+Description: Patching your rc and rcS files has failed
+ Bootsplash was unable to patch your /etc/init.d/rc and /etc/init.d/rcS files,
+ please run 'apt-get install --reinstall sysv-rc' to restore the original
+ rc/S scripts and then run 'dpkg --pending --configure' to complete this install.
+
+Template: sysv-rc-bootsplash/failed-removal
+Type: note
+Description: Un-patching your rc and rcS files has failed
+ Bootsplash was unable to un-patch your /etc/init.d/rc and /etc/init.d/rcS files,
+ please run 'apt-get install --reinstall sysv-rc' to replace the original
+ rc scripts after the removal of this package.
More information about the Demudi-commits
mailing list