rev 8085 - in kde-extras: . kdesudo kdesudo/trunk kdesudo/trunk/debian kdesudo/trunk/debian/po

Sune Vuorela pusling-guest at alioth.debian.org
Mon Nov 26 08:20:05 UTC 2007


Author: pusling-guest
Date: 2007-11-26 08:20:05 +0000 (Mon, 26 Nov 2007)
New Revision: 8085

Added:
   kde-extras/kdesudo/
   kde-extras/kdesudo/branches/
   kde-extras/kdesudo/tags/
   kde-extras/kdesudo/trunk/
   kde-extras/kdesudo/trunk/debian/
   kde-extras/kdesudo/trunk/debian/changelog
   kde-extras/kdesudo/trunk/debian/compat
   kde-extras/kdesudo/trunk/debian/config
   kde-extras/kdesudo/trunk/debian/control
   kde-extras/kdesudo/trunk/debian/copyright
   kde-extras/kdesudo/trunk/debian/kdesudo.1.docbook
   kde-extras/kdesudo/trunk/debian/kdesudo.templates
   kde-extras/kdesudo/trunk/debian/patches/
   kde-extras/kdesudo/trunk/debian/po/
   kde-extras/kdesudo/trunk/debian/po/POTFILES.in
   kde-extras/kdesudo/trunk/debian/po/templates.pot
   kde-extras/kdesudo/trunk/debian/postinst
   kde-extras/kdesudo/trunk/debian/postrm
   kde-extras/kdesudo/trunk/debian/rules
Log:
initial import of kdesudo


Added: kde-extras/kdesudo/trunk/debian/changelog
===================================================================
--- kde-extras/kdesudo/trunk/debian/changelog	                        (rev 0)
+++ kde-extras/kdesudo/trunk/debian/changelog	2007-11-26 08:20:05 UTC (rev 8085)
@@ -0,0 +1,44 @@
+kdesudo (1.4-1) unstable; urgency=low
+
+  * Steal package from ubuntu..
+  * Initial upload to debian.. (Closes: #452659)
+  * Put me as maintainer..
+  * Use new homepage field..
+  * Remove kubuntu patch..
+  * Do debconf-stuff to ask wether using kdesudo as kdesu instead of
+    the ubuntu way of unconditionally doing it. Heavily inspired by dash
+    packaging..
+  * build with -Wl,--as-needed to shut up dpkg-shlibdeps..
+
+ -- Sune Vuorela <debian at pusling.com>  Sat, 24 Nov 2007 13:04:21 +0100
+
+kdesudo (1.4-0ubuntu1) hardy; urgency=low
+
+  * New upstream release
+
+ -- Anthony Mercatante <tonio at ubuntu.com>  Tue, 20 Nov 2007 12:46:56 +0100
+
+kdesudo (1.3-0ubuntu1) hardy; urgency=low
+
+  * New upstream release. Closes LP: #163417
+
+ -- Anthony Mercatante <tonio at ubuntu.com>  Mon, 19 Nov 2007 20:36:49 +0100
+
+kdesudo (1.2-0ubuntu2) hardy; urgency=low
+
+  * Reupload as the build farm should now be fixed
+
+ -- Anthony Mercatante <tonio at ubuntu.com>  Mon, 12 Nov 2007 12:22:07 +0100
+
+kdesudo (1.2-0ubuntu1) hardy; urgency=low
+
+  * New upstream release, fixes the user's $HOME usage
+    potential corrupting files issue
+
+ -- Anthony Mercatante <tonio at ubuntu.com>  Sat, 10 Nov 2007 12:58:57 +0100
+
+kdesudo (1.1-0ubuntu1) gutsy; urgency=low
+
+  * Initial release
+
+ -- Anthony Mercatante <tonio at ubuntu.com>  Fri, 01 Jun 2007 01:04:36 +0200

Added: kde-extras/kdesudo/trunk/debian/compat
===================================================================
--- kde-extras/kdesudo/trunk/debian/compat	                        (rev 0)
+++ kde-extras/kdesudo/trunk/debian/compat	2007-11-26 08:20:05 UTC (rev 8085)
@@ -0,0 +1 @@
+5

Added: kde-extras/kdesudo/trunk/debian/config
===================================================================
--- kde-extras/kdesudo/trunk/debian/config	                        (rev 0)
+++ kde-extras/kdesudo/trunk/debian/config	2007-11-26 08:20:05 UTC (rev 8085)
@@ -0,0 +1,34 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+db_version 2.0
+
+if [ "$1" = configure ] && [ -z "$2" ]; then
+	set +e
+	db_fget kdesudo/kdesu seen
+	err=$?
+	set -e
+
+	case $err in
+	0)
+		if [ "$RET" = true ]; then
+			db_fset kdesudo/kdesu seen true
+			db_get kdesudo/kdesu
+			db_set kdesudo/kdesu "$RET"
+			exit
+		fi
+		;;
+	10)
+		;;
+	*)
+		echo "db_fget exited with $err" >&2
+		exit $err
+		;;
+	esac
+fi
+
+db_input low kdesudo/kdesu || true
+db_go

Added: kde-extras/kdesudo/trunk/debian/control
===================================================================
--- kde-extras/kdesudo/trunk/debian/control	                        (rev 0)
+++ kde-extras/kdesudo/trunk/debian/control	2007-11-26 08:20:05 UTC (rev 8085)
@@ -0,0 +1,14 @@
+Source: kdesudo
+Section: kde
+Priority: optional
+Maintainer: Sune Vuorela <debian at pusling.com>
+Build-Depends: debhelper (>> 5), cdbs, kdelibs4-dev, docbook2x
+Standards-Version: 3.7.2
+Homepage: https://launchpad.net/kdesudo
+
+Package: kdesudo
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, sudo
+Description: sudo frontend for KDE
+ KdeSudo is a graphical frontend for the sudo utility.
+ It allows you to run programs as another user by entering your password.

Added: kde-extras/kdesudo/trunk/debian/copyright
===================================================================
--- kde-extras/kdesudo/trunk/debian/copyright	                        (rev 0)
+++ kde-extras/kdesudo/trunk/debian/copyright	2007-11-26 08:20:05 UTC (rev 8085)
@@ -0,0 +1,57 @@
+This package was debianized by Anthony Mercatante <tonio at ubuntu.com>
+on Fri, 01 Jun 2007 01:07:10 +0200
+
+It was downloaded from
+    https://code.launchpad.net/kdesudo
+
+This version is a fork of the original kdesudo from
+    http://ksudo.sourceforge.net/kdesudo/
+
+Upstream authors:
+    Robert Gruber
+    Anthony Mercatante
+    Martin Böhm
+    Jonathan Riddell
+
+Copyright:
+    (C) 2003 Robert Gruber <rgruber at users.sourceforge.net>
+    (C) 2007 Anthony Mercatante <tonio at ubuntu.com>
+    (C) 2007 Martin Böhm <martin.bohm at kubuntu.org
+    (C) 2007 Canonical Ltd (Jonathan Riddell <jriddell at ubuntu.com>)
+
+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
+   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, 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'.
+
+---
+
+The documentation is licensed under the terms of the GNU Free
+Documentation License version 1.2 with no Invariant Sections, no
+Front-Cover Texts and no Back-Cover Texts.
+
+On Debian systems, the complete text of the GNU GNU Free Documentation
+License can be found in `/usr/share/common-licenses/GFDL'.
+
+---
+
+The packaging in debian/ is licensed under the terms of the GNU General
+Public License either version 2 of the License, or
+(at your option) any later version.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.

Added: kde-extras/kdesudo/trunk/debian/kdesudo.1.docbook
===================================================================
--- kde-extras/kdesudo/trunk/debian/kdesudo.1.docbook	                        (rev 0)
+++ kde-extras/kdesudo/trunk/debian/kdesudo.1.docbook	2007-11-26 08:20:05 UTC (rev 8085)
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+]>
+<refentry>
+  <refentryinfo>
+    <author>
+      <firstname>Anthony</firstname>
+      <surname>Mercatante</surname>
+      <email>tonio at ubuntu.com</email>
+    </author>
+    <copyright>
+      <year>2007</year>
+      <holder>Anthony Mercatante</holder>
+    </copyright>
+    <!-- XXX IMPORTANT XXX -->
+    <!-- Keep this date up to date: -->
+    <date>2007-03-26</date>
+    <!--  ^^^^^^^^^^ -->
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>kdesudo</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>kdesudo</refname>
+    <refpurpose>a sudo frontend for KDE</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>kdesudo</command>
+      <arg choice="opt">
+        <option><replaceable>Qt-options</replaceable></option>
+      </arg>
+      <arg choice="opt">
+        <option><replaceable>KDE-options</replaceable></option>
+      </arg>
+      <arg choice="opt">
+        <option><replaceable>kdesu-options</replaceable></option>
+      </arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+    <para>
+      kdesudo is a frontend for sudo for the <productname>KDE</productname> desktop.
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+    <para>
+      <variablelist>
+        <title>Generic options:</title>
+        <varlistentry>
+          <term> <option>--help</option> </term>
+          <listitem> <para>Show help about options</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>--help-qt</option> </term>
+          <listitem> <para>Show Qt specific options</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>--help-kde</option> </term>
+          <listitem> <para>Show KDE specific options</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>--help-all</option> </term>
+          <listitem> <para>Show all options</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>--author</option> </term>
+          <listitem> <para>Show author information</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>-v</option>, <option>--version</option> </term>
+          <listitem> <para>Show version information</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>--license</option> </term>
+          <listitem> <para>Show license information</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>--</option> </term>
+          <listitem> <para>Indicates end of options</para> </listitem>
+        </varlistentry>
+      </variablelist>
+    </para>
+    <para>
+      <variablelist>  
+      <title>KdeSudo options:</title>
+        <varlistentry>
+          <term> <option>-u</option> </term>
+          <listitem> <para>Sets a runas user</para> </listitem>
+        </varlistentry>
+      </variablelist>
+      <!-- TODO * add all the rest of the options, but maybe find an automated
+      way to keep it up to date -->
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>COPYRIGHT</title>
+    <para>
+      This manual page was written by Anthony Mercatante
+      <email>tonio at ubuntu.com</email> for the
+      <productname>Ubuntu</productname> system (but may be used by others).
+      Permission is granted to copy, distribute and/or modify this document
+      under the terms of the <acronym>GNU</acronym> General Public License,
+      Version 2 or any later version published by the Free Software Foundation.
+    </para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in
+      <filename>/usr/share/common-licenses/GPL</filename>.
+    </para>
+  </refsect1>
+</refentry>

Added: kde-extras/kdesudo/trunk/debian/kdesudo.templates
===================================================================
--- kde-extras/kdesudo/trunk/debian/kdesudo.templates	                        (rev 0)
+++ kde-extras/kdesudo/trunk/debian/kdesudo.templates	2007-11-26 08:20:05 UTC (rev 8085)
@@ -0,0 +1,6 @@
+Template: kdesudo/kdesu
+Type: boolean
+Default: false
+_Description: Use kdesudo as kdesu?
+ Kdesudo is command line compatible with kdesu and can be used as a drop-in 
+ replacement. There is a big chance that you want kdesudo used as kdesu.

Added: kde-extras/kdesudo/trunk/debian/po/POTFILES.in
===================================================================
--- kde-extras/kdesudo/trunk/debian/po/POTFILES.in	                        (rev 0)
+++ kde-extras/kdesudo/trunk/debian/po/POTFILES.in	2007-11-26 08:20:05 UTC (rev 8085)
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] kdesudo.templates

Added: kde-extras/kdesudo/trunk/debian/po/templates.pot
===================================================================
--- kde-extras/kdesudo/trunk/debian/po/templates.pot	                        (rev 0)
+++ kde-extras/kdesudo/trunk/debian/po/templates.pot	2007-11-26 08:20:05 UTC (rev 8085)
@@ -0,0 +1,31 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: Source: kdesudo at packages.debian.org\n"
+"POT-Creation-Date: 2007-11-24 14:33+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../kdesudo.templates:1001
+msgid "Use kdesudo as kdesu?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../kdesudo.templates:1001
+msgid ""
+"Kdesudo is command line compatible with kdesu and can be used as a drop-in  "
+"replacement. There is a big chance that you want kdesudo used as kdesu."
+msgstr ""

Added: kde-extras/kdesudo/trunk/debian/postinst
===================================================================
--- kde-extras/kdesudo/trunk/debian/postinst	                        (rev 0)
+++ kde-extras/kdesudo/trunk/debian/postinst	2007-11-26 08:20:05 UTC (rev 8085)
@@ -0,0 +1,59 @@
+#!/bin/sh
+set -e 
+
+case "$1" in
+	configure)
+
+	debconf=
+	if [ -f /usr/share/debconf/confmodule ]; then
+		. /usr/share/debconf/confmodule
+		debconf=yes
+	fi
+
+	if [ $debconf ]; then
+		db_get kdesudo/kdesu
+		case "$RET" in
+		true)
+			if ! dpkg-divert --list /usr/bin/kdesu | grep -q /usr/bin/kdesu
+			then
+				dpkg-divert --package kdesudo --divert /usr/bin/kdesu.kde --rename /usr/bin/kdesu
+				dpkg-divert --package kdesudo --divert /usr/share/man/man1/kdesu.1.gz.kde --rename /usr/share/man/man1/kdesu.1.gz
+				ln -s kdesudo /usr/bin/kdesu
+				ln -s kdesudo.1.gz /usr/share/man/man1/kdesu.1.gz
+			fi
+		;;
+		false)
+			if dpkg-divert --list /usr/bin/kdesu | grep -q "by kdesu"
+			then
+				if [ -L /usr/bin/kdesu ]
+				then
+					if [ "$(readlink -f /usr/bin/kdesu)" = "/usr/bin/kdesudo" ]
+					then
+						rm /usr/bin/kdesu
+						rm /usr/share/man/man1/kdesu.1.gz
+					fi
+				fi
+				if [ ! -e /usr/bin/kdesu ]
+				then
+					dpkg-divert --package kdesudo --rename --remove /usr/bin/kdesu
+					dpkg-divert --package kdesudo --rename --remove /usr/share/man/man1/kdesu.1.gz
+				fi
+			fi
+
+		;;
+		esac
+	fi
+	;;
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+
+#DEBHELPER#
+
+exit 0

Added: kde-extras/kdesudo/trunk/debian/postrm
===================================================================
--- kde-extras/kdesudo/trunk/debian/postrm	                        (rev 0)
+++ kde-extras/kdesudo/trunk/debian/postrm	2007-11-26 08:20:05 UTC (rev 8085)
@@ -0,0 +1,39 @@
+#! /bin/sh
+
+set -e
+
+case "$1" in
+  remove)
+        div=$(dpkg-divert --list $1)
+        if dpkg-divert --list /usr/bin/kdesu | grep -q "by kdesudo" 
+	then
+		if [ -L /usr/bin/kdesu ]
+		then
+			if [ "$(readlink -f /usr/bin/kdesu)" = "/usr/bin/kdesudo" ]
+			then
+				rm /usr/bin/kdesu
+				rm /usr/share/man/man1/kdesu.1.gz
+			fi
+		fi
+		if [ ! -e /usr/bin/kdesu ]
+		then
+                	dpkg-divert --package kdesudo --rename --remove /usr/bin/kdesu
+			dpkg-divert --package kdesudo --rename --remove /usr/share/man/man1/kdesu.1.gz
+		fi
+		
+        fi
+    ;;
+  purge)
+	if [ -e /usr/share/debconf/confmodule ]
+	then
+		. /usr/share/debconf/confmodule
+		db_purge
+	fi
+    ;;
+  *) echo "$0: didn't understand being called with \`$1'" 1>&2
+     exit 0;;
+esac
+
+#DEBHELPER#
+
+exit 0

Added: kde-extras/kdesudo/trunk/debian/rules
===================================================================
--- kde-extras/kdesudo/trunk/debian/rules	                        (rev 0)
+++ kde-extras/kdesudo/trunk/debian/rules	2007-11-26 08:20:05 UTC (rev 8085)
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+export LDFLAGS="-Wl,--as-needed"
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/class/kde.mk
+
+DEB_INSTALL_MANPAGES_kdesudo = kdesudo.1
+
+build/kdesudo::
+	docbook2x-man debian/kdesudo.1.docbook
+
+clean::
+	debconf-updatepo
+	rm -f kdesudo.1


Property changes on: kde-extras/kdesudo/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the pkg-kde-commits mailing list