From c66f10205c8a4cc9043e7e0abd67a5aa6d9e429b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 10 Dec 2014 23:49:44 -0600 Subject: [PATCH] Add Debian packaging files for tde-ubuntu-integration, originally uploaded to the PPA (cherry picked from commit 118299b6794f2ee32960ce503c10b5362416da63) --- .../lenny/metapackages/tde-ubuntu-integration | 1 + .../metapackages/tde-ubuntu-integration | 1 + .../tde-ubuntu-integration/debian/changelog | 5 +++++ .../tde-ubuntu-integration/debian/compat | 1 + .../tde-ubuntu-integration/debian/control | 14 ++++++++++++ .../tde-ubuntu-integration/debian/dirs | 1 + .../debian/distrospecific/Makefile | 12 ++++++++++ .../polkit-tde-authentication-agent-1.desktop | 11 ++++++++++ .../tde-ubuntu-integration/debian/rules | 22 +++++++++++++++++++ 9 files changed, 68 insertions(+) create mode 120000 debian/lenny/metapackages/tde-ubuntu-integration create mode 120000 debian/squeeze/metapackages/tde-ubuntu-integration create mode 100755 ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/changelog create mode 100755 ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/compat create mode 100755 ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/control create mode 100755 ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/dirs create mode 100755 ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/distrospecific/Makefile create mode 100644 ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/distrospecific/etc/xdg/autostart/polkit-tde-authentication-agent-1.desktop create mode 100755 ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/rules diff --git a/debian/lenny/metapackages/tde-ubuntu-integration b/debian/lenny/metapackages/tde-ubuntu-integration new file mode 120000 index 000000000..4d48f38a1 --- /dev/null +++ b/debian/lenny/metapackages/tde-ubuntu-integration @@ -0,0 +1 @@ +../../../ubuntu/maverick/metapackages/tde-ubuntu-integration \ No newline at end of file diff --git a/debian/squeeze/metapackages/tde-ubuntu-integration b/debian/squeeze/metapackages/tde-ubuntu-integration new file mode 120000 index 000000000..4d48f38a1 --- /dev/null +++ b/debian/squeeze/metapackages/tde-ubuntu-integration @@ -0,0 +1 @@ +../../../ubuntu/maverick/metapackages/tde-ubuntu-integration \ No newline at end of file diff --git a/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/changelog b/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/changelog new file mode 100755 index 000000000..c0e67bf63 --- /dev/null +++ b/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/changelog @@ -0,0 +1,5 @@ +tde-ubuntu-integration (0.1-0) maverick; urgency=low + + * Initial version + + -- Timothy Pearson Mon, 08 Aug 2011 13:03:00 -0600 diff --git a/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/compat b/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/compat new file mode 100755 index 000000000..7ed6ff82d --- /dev/null +++ b/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/compat @@ -0,0 +1 @@ +5 diff --git a/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/control b/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/control new file mode 100755 index 000000000..ef312903b --- /dev/null +++ b/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/control @@ -0,0 +1,14 @@ +Source: tde-ubuntu-integration +Section: kde +Priority: extra +Maintainer: Timothy Pearson +Uploaders: Timothy Pearson +Build-Depends: debhelper (>=5.0), cdbs +Standards-Version: 3.8.4 + +Package: tde-ubuntu-integration +Architecture: all +Depends: policykit-1-gnome +Description: TDE Ubuntu Integration + Ubuntu integration for TDE + This includes files needed for Polkit to function correctly under TDE diff --git a/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/dirs b/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/dirs new file mode 100755 index 000000000..ee19d5d17 --- /dev/null +++ b/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/dirs @@ -0,0 +1 @@ +etc diff --git a/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/distrospecific/Makefile b/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/distrospecific/Makefile new file mode 100755 index 000000000..2da7146a3 --- /dev/null +++ b/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/distrospecific/Makefile @@ -0,0 +1,12 @@ +FPACKAGE = tde-ubuntu-integration +VERSION = 0.1-0 + +build: + +clean: + +install: + + mkdir -p /etc + cp -Rp etc/* $(DESTDIR)/etc/ + chmod -R 644 $(DESTDIR)/etc/ diff --git a/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/distrospecific/etc/xdg/autostart/polkit-tde-authentication-agent-1.desktop b/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/distrospecific/etc/xdg/autostart/polkit-tde-authentication-agent-1.desktop new file mode 100644 index 000000000..7720f1ca8 --- /dev/null +++ b/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/distrospecific/etc/xdg/autostart/polkit-tde-authentication-agent-1.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=PolicyKit Authentication Agent +Comment=PolicyKit Authentication Agent +Exec=/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 +Terminal=false +Type=Application +Categories= +NoDisplay=true +OnlyShowIn=TDE; +X-TDE-AutoRestart=true +X-Ubuntu-Gettext-Domain=polkit-gnome-1 diff --git a/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/rules b/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/rules new file mode 100755 index 000000000..e6b6748ab --- /dev/null +++ b/ubuntu/maverick/metapackages/tde-ubuntu-integration/debian/rules @@ -0,0 +1,22 @@ +#! /usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk + +DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ + && echo xz || echo bzip2) + +build: debian/stamp-distrospecific + +debian/stamp-distrospecific: + dh_testdir + [ -e debian/stamp-distrospecific ] || \ + ls -a1 debian/distrospecific | grep -v "^\.*$$" | \ + tee debian/stamp-distrospecific | \ + tr "\n" "\0" | (cd debian/distrospecific && xargs -r0 mv -t ../..) + +clean:: + dh_testdir + [ ! -e debian/stamp-distrospecific ] || \ + cat debian/stamp-distrospecific | \ + tr "\n" "\0" | xargs -r0 mv -t debian/distrospecific + rm -f debian/stamp-distrospecific