From e6d7e8e6936e70e1d6a7d1f5df5171280befbfd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 15 Jan 2014 20:07:03 +0100 Subject: Update remaining metapackages on Debian and Ubuntu to conform the current automated scripts on build-farm --- debian/lenny/metapackages/rename-meta/Makefile | 8 ---- debian/lenny/metapackages/rename-meta/debian/rules | 1 - debian/lenny/metapackages/sudo-trinity/Makefile | 12 ----- .../metapackages/sudo-trinity/debian/changelog | 0 .../lenny/metapackages/sudo-trinity/debian/compat | 0 debian/lenny/metapackages/sudo-trinity/debian/dirs | 0 .../sudo-trinity/debian/distrospecific/Makefile | 12 +++++ .../distrospecific/etc/sudoers.d/tde-secure-path | 1 + .../lenny/metapackages/sudo-trinity/debian/rules | 16 +++++++ .../sudo-trinity/etc/sudoers.d/tde-secure-path | 1 - debian/squeeze/metapackages/rename-meta/Makefile | 8 ---- .../squeeze/metapackages/rename-meta/debian/rules | 1 - debian/squeeze/metapackages/sudo-trinity/Makefile | 12 ----- .../metapackages/sudo-trinity/debian/changelog | 0 .../metapackages/sudo-trinity/debian/compat | 0 .../squeeze/metapackages/sudo-trinity/debian/dirs | 0 .../sudo-trinity/debian/distrospecific/Makefile | 12 +++++ .../distrospecific/etc/sudoers.d/tde-secure-path | 1 + .../squeeze/metapackages/sudo-trinity/debian/rules | 16 +++++++ .../sudo-trinity/etc/sudoers.d/tde-secure-path | 1 - debian/wheezy/metapackages/rename-meta/Makefile | 8 ---- .../wheezy/metapackages/rename-meta/debian/rules | 1 - debian/wheezy/metapackages/sudo-trinity/Makefile | 12 ----- .../metapackages/sudo-trinity/debian/changelog | 0 .../wheezy/metapackages/sudo-trinity/debian/compat | 0 .../wheezy/metapackages/sudo-trinity/debian/dirs | 0 .../sudo-trinity/debian/distrospecific/Makefile | 12 +++++ .../distrospecific/etc/sudoers.d/tde-secure-path | 1 + .../wheezy/metapackages/sudo-trinity/debian/rules | 16 +++++++ .../sudo-trinity/etc/sudoers.d/tde-secure-path | 1 - .../scripts/casper-bottom/15autologin-trinity | 41 +++++++++++++++++ .../scripts/casper-bottom/25adduser-trinity | 33 ++++++++++++++ .../metapackages/casper-trinity/debian/rules | 16 +++++++ .../scripts/casper-bottom/15autologin-trinity | 41 ----------------- .../scripts/casper-bottom/25adduser-trinity | 33 -------------- ubuntu/maverick/metapackages/rename-meta/Makefile | 8 ---- .../maverick/metapackages/rename-meta/debian/rules | 1 - ubuntu/maverick/metapackages/sudo-trinity/Makefile | 12 ----- .../metapackages/sudo-trinity/debian/changelog | 0 .../metapackages/sudo-trinity/debian/compat | 0 .../maverick/metapackages/sudo-trinity/debian/dirs | 0 .../sudo-trinity/debian/distrospecific/Makefile | 12 +++++ .../distrospecific/etc/sudoers.d/tde-secure-path | 1 + .../metapackages/sudo-trinity/debian/rules | 16 +++++++ .../sudo-trinity/etc/sudoers.d/tde-secure-path | 1 - .../metapackages/trinity-keyring/changelog | 5 --- .../debian/distrospecific/changelog | 5 +++ .../distrospecific/keyrings/trinity-keyring.gpg | 13 ++++++ .../debian/distrospecific/md5sums.txt | 11 +++++ .../distrospecific/repositories/trinity.list | 6 +++ .../metapackages/trinity-keyring/debian/rules | 16 ++++++- .../trinity-keyring/keyrings/trinity-keyring.gpg | 13 ------ .../metapackages/trinity-keyring/md5sums.txt | 11 ----- .../trinity-keyring/repositories/trinity.list | 6 --- .../distrospecific/ubiquity-hooks/55_trinity | 52 ++++++++++++++++++++++ .../metapackages/ubiquity-trinity/debian/rules | 16 +++++++ .../ubiquity-trinity/ubiquity-hooks/55_trinity | 52 ---------------------- .../scripts/casper-bottom/15autologin-trinity | 41 +++++++++++++++++ .../scripts/casper-bottom/25adduser-trinity | 33 ++++++++++++++ .../metapackages/casper-trinity/debian/rules | 16 +++++++ .../scripts/casper-bottom/15autologin-trinity | 41 ----------------- .../scripts/casper-bottom/25adduser-trinity | 33 -------------- ubuntu/precise/metapackages/rename-meta/Makefile | 8 ---- .../precise/metapackages/rename-meta/debian/rules | 1 - ubuntu/precise/metapackages/sudo-trinity/Makefile | 12 ----- .../metapackages/sudo-trinity/debian/changelog | 0 .../metapackages/sudo-trinity/debian/compat | 0 .../precise/metapackages/sudo-trinity/debian/dirs | 0 .../sudo-trinity/debian/distrospecific/Makefile | 12 +++++ .../distrospecific/etc/sudoers.d/tde-secure-path | 1 + .../precise/metapackages/sudo-trinity/debian/rules | 16 +++++++ .../sudo-trinity/etc/sudoers.d/tde-secure-path | 1 - .../distrospecific/ubiquity-hooks/55_trinity | 52 ++++++++++++++++++++++ .../metapackages/ubiquity-trinity/debian/rules | 16 +++++++ .../ubiquity-trinity/ubiquity-hooks/55_trinity | 52 ---------------------- .../scripts/casper-bottom/15autologin-trinity | 41 +++++++++++++++++ .../scripts/casper-bottom/25adduser-trinity | 33 ++++++++++++++ .../metapackages/casper-trinity/debian/rules | 16 +++++++ .../scripts/casper-bottom/15autologin-trinity | 41 ----------------- .../scripts/casper-bottom/25adduser-trinity | 33 -------------- ubuntu/raring/metapackages/rename-meta/Makefile | 8 ---- .../raring/metapackages/rename-meta/debian/rules | 1 - ubuntu/raring/metapackages/sudo-trinity/Makefile | 12 ----- .../metapackages/sudo-trinity/debian/changelog | 0 .../raring/metapackages/sudo-trinity/debian/compat | 0 .../raring/metapackages/sudo-trinity/debian/dirs | 0 .../sudo-trinity/debian/distrospecific/Makefile | 12 +++++ .../distrospecific/etc/sudoers.d/tde-secure-path | 1 + .../raring/metapackages/sudo-trinity/debian/rules | 16 +++++++ .../sudo-trinity/etc/sudoers.d/tde-secure-path | 1 - .../distrospecific/ubiquity-hooks/55_trinity | 52 ++++++++++++++++++++++ .../metapackages/ubiquity-trinity/debian/rules | 16 +++++++ .../ubiquity-trinity/ubiquity-hooks/55_trinity | 52 ---------------------- 93 files changed, 697 insertions(+), 547 deletions(-) delete mode 100644 debian/lenny/metapackages/rename-meta/Makefile delete mode 100755 debian/lenny/metapackages/sudo-trinity/Makefile mode change 100755 => 100644 debian/lenny/metapackages/sudo-trinity/debian/changelog mode change 100755 => 100644 debian/lenny/metapackages/sudo-trinity/debian/compat mode change 100755 => 100644 debian/lenny/metapackages/sudo-trinity/debian/dirs create mode 100644 debian/lenny/metapackages/sudo-trinity/debian/distrospecific/Makefile create mode 100644 debian/lenny/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path delete mode 100644 debian/lenny/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path delete mode 100644 debian/squeeze/metapackages/rename-meta/Makefile delete mode 100755 debian/squeeze/metapackages/sudo-trinity/Makefile mode change 100755 => 100644 debian/squeeze/metapackages/sudo-trinity/debian/changelog mode change 100755 => 100644 debian/squeeze/metapackages/sudo-trinity/debian/compat mode change 100755 => 100644 debian/squeeze/metapackages/sudo-trinity/debian/dirs create mode 100644 debian/squeeze/metapackages/sudo-trinity/debian/distrospecific/Makefile create mode 100644 debian/squeeze/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path delete mode 100644 debian/squeeze/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path delete mode 100644 debian/wheezy/metapackages/rename-meta/Makefile delete mode 100755 debian/wheezy/metapackages/sudo-trinity/Makefile mode change 100755 => 100644 debian/wheezy/metapackages/sudo-trinity/debian/changelog mode change 100755 => 100644 debian/wheezy/metapackages/sudo-trinity/debian/compat mode change 100755 => 100644 debian/wheezy/metapackages/sudo-trinity/debian/dirs create mode 100644 debian/wheezy/metapackages/sudo-trinity/debian/distrospecific/Makefile create mode 100644 debian/wheezy/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path delete mode 100644 debian/wheezy/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path create mode 100755 ubuntu/maverick/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity create mode 100755 ubuntu/maverick/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity delete mode 100755 ubuntu/maverick/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity delete mode 100755 ubuntu/maverick/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity delete mode 100644 ubuntu/maverick/metapackages/rename-meta/Makefile delete mode 100755 ubuntu/maverick/metapackages/sudo-trinity/Makefile mode change 100755 => 100644 ubuntu/maverick/metapackages/sudo-trinity/debian/changelog mode change 100755 => 100644 ubuntu/maverick/metapackages/sudo-trinity/debian/compat mode change 100755 => 100644 ubuntu/maverick/metapackages/sudo-trinity/debian/dirs create mode 100644 ubuntu/maverick/metapackages/sudo-trinity/debian/distrospecific/Makefile create mode 100644 ubuntu/maverick/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path delete mode 100644 ubuntu/maverick/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path delete mode 100644 ubuntu/maverick/metapackages/trinity-keyring/changelog create mode 100644 ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/changelog create mode 100644 ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/keyrings/trinity-keyring.gpg create mode 100644 ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/md5sums.txt create mode 100644 ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/repositories/trinity.list delete mode 100644 ubuntu/maverick/metapackages/trinity-keyring/keyrings/trinity-keyring.gpg delete mode 100644 ubuntu/maverick/metapackages/trinity-keyring/md5sums.txt delete mode 100644 ubuntu/maverick/metapackages/trinity-keyring/repositories/trinity.list create mode 100755 ubuntu/maverick/metapackages/ubiquity-trinity/debian/distrospecific/ubiquity-hooks/55_trinity delete mode 100755 ubuntu/maverick/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity create mode 100755 ubuntu/precise/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity create mode 100755 ubuntu/precise/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity delete mode 100755 ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity delete mode 100755 ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity delete mode 100644 ubuntu/precise/metapackages/rename-meta/Makefile delete mode 100755 ubuntu/precise/metapackages/sudo-trinity/Makefile mode change 100755 => 100644 ubuntu/precise/metapackages/sudo-trinity/debian/changelog mode change 100755 => 100644 ubuntu/precise/metapackages/sudo-trinity/debian/compat mode change 100755 => 100644 ubuntu/precise/metapackages/sudo-trinity/debian/dirs create mode 100644 ubuntu/precise/metapackages/sudo-trinity/debian/distrospecific/Makefile create mode 100644 ubuntu/precise/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path delete mode 100644 ubuntu/precise/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path create mode 100755 ubuntu/precise/metapackages/ubiquity-trinity/debian/distrospecific/ubiquity-hooks/55_trinity delete mode 100755 ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity create mode 100755 ubuntu/raring/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity create mode 100755 ubuntu/raring/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity delete mode 100755 ubuntu/raring/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity delete mode 100755 ubuntu/raring/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity delete mode 100644 ubuntu/raring/metapackages/rename-meta/Makefile delete mode 100755 ubuntu/raring/metapackages/sudo-trinity/Makefile mode change 100755 => 100644 ubuntu/raring/metapackages/sudo-trinity/debian/changelog mode change 100755 => 100644 ubuntu/raring/metapackages/sudo-trinity/debian/compat mode change 100755 => 100644 ubuntu/raring/metapackages/sudo-trinity/debian/dirs create mode 100644 ubuntu/raring/metapackages/sudo-trinity/debian/distrospecific/Makefile create mode 100644 ubuntu/raring/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path delete mode 100644 ubuntu/raring/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path create mode 100755 ubuntu/raring/metapackages/ubiquity-trinity/debian/distrospecific/ubiquity-hooks/55_trinity delete mode 100755 ubuntu/raring/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity diff --git a/debian/lenny/metapackages/rename-meta/Makefile b/debian/lenny/metapackages/rename-meta/Makefile deleted file mode 100644 index a36e6a1c9..000000000 --- a/debian/lenny/metapackages/rename-meta/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -FPACKAGE = ubuntu-trinity-rename-meta -VERSION = 1.0 - -build: - -clean: - -install: diff --git a/debian/lenny/metapackages/rename-meta/debian/rules b/debian/lenny/metapackages/rename-meta/debian/rules index a9e7e66cb..bcf749744 100755 --- a/debian/lenny/metapackages/rename-meta/debian/rules +++ b/debian/lenny/metapackages/rename-meta/debian/rules @@ -1,5 +1,4 @@ #!/usr/bin/make -f -include /usr/share/cdbs/1/class/makefile.mk include /usr/share/cdbs/1/rules/debhelper.mk DEB_BUILD_OPTIONS := nostrip diff --git a/debian/lenny/metapackages/sudo-trinity/Makefile b/debian/lenny/metapackages/sudo-trinity/Makefile deleted file mode 100755 index bc4653675..000000000 --- a/debian/lenny/metapackages/sudo-trinity/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -FPACKAGE = sudo-trinity -VERSION = 1.0 - -build: - -clean: - -install: - mkdir -p /etc - cp -Rp etc/* $(DESTDIR)/etc/ - chmod -R 644 $(DESTDIR)/etc - chmod -R 0440 $(DESTDIR)/etc/sudoers.d/tde-secure-path \ No newline at end of file diff --git a/debian/lenny/metapackages/sudo-trinity/debian/changelog b/debian/lenny/metapackages/sudo-trinity/debian/changelog old mode 100755 new mode 100644 diff --git a/debian/lenny/metapackages/sudo-trinity/debian/compat b/debian/lenny/metapackages/sudo-trinity/debian/compat old mode 100755 new mode 100644 diff --git a/debian/lenny/metapackages/sudo-trinity/debian/dirs b/debian/lenny/metapackages/sudo-trinity/debian/dirs old mode 100755 new mode 100644 diff --git a/debian/lenny/metapackages/sudo-trinity/debian/distrospecific/Makefile b/debian/lenny/metapackages/sudo-trinity/debian/distrospecific/Makefile new file mode 100644 index 000000000..f106ff05e --- /dev/null +++ b/debian/lenny/metapackages/sudo-trinity/debian/distrospecific/Makefile @@ -0,0 +1,12 @@ +FPACKAGE = sudo-trinity +VERSION = 1.0 + +build: + +clean: + +install: + mkdir -p /etc + cp -Rp etc/* $(DESTDIR)/etc/ + chmod -R 644 $(DESTDIR)/etc + chmod -R 0440 $(DESTDIR)/etc/sudoers.d/tde-secure-path diff --git a/debian/lenny/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path b/debian/lenny/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path new file mode 100644 index 000000000..f3c34f20a --- /dev/null +++ b/debian/lenny/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path @@ -0,0 +1 @@ +Defaults secure_path=/usr/local/sbin:/usr/local/bin:/opt/trinity/sbin:/usr/sbin:/opt/trinity/bin:/usr/bin:/sbin:/bin:/usr/X11R6/bin diff --git a/debian/lenny/metapackages/sudo-trinity/debian/rules b/debian/lenny/metapackages/sudo-trinity/debian/rules index f8c89d5db..e5e2870b7 100755 --- a/debian/lenny/metapackages/sudo-trinity/debian/rules +++ b/debian/lenny/metapackages/sudo-trinity/debian/rules @@ -9,3 +9,19 @@ DEB_INSTALL_DOCS_ALL := DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) + +pre-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 diff --git a/debian/lenny/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path b/debian/lenny/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path deleted file mode 100644 index f3c34f20a..000000000 --- a/debian/lenny/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path +++ /dev/null @@ -1 +0,0 @@ -Defaults secure_path=/usr/local/sbin:/usr/local/bin:/opt/trinity/sbin:/usr/sbin:/opt/trinity/bin:/usr/bin:/sbin:/bin:/usr/X11R6/bin diff --git a/debian/squeeze/metapackages/rename-meta/Makefile b/debian/squeeze/metapackages/rename-meta/Makefile deleted file mode 100644 index a36e6a1c9..000000000 --- a/debian/squeeze/metapackages/rename-meta/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -FPACKAGE = ubuntu-trinity-rename-meta -VERSION = 1.0 - -build: - -clean: - -install: diff --git a/debian/squeeze/metapackages/rename-meta/debian/rules b/debian/squeeze/metapackages/rename-meta/debian/rules index a9e7e66cb..bcf749744 100755 --- a/debian/squeeze/metapackages/rename-meta/debian/rules +++ b/debian/squeeze/metapackages/rename-meta/debian/rules @@ -1,5 +1,4 @@ #!/usr/bin/make -f -include /usr/share/cdbs/1/class/makefile.mk include /usr/share/cdbs/1/rules/debhelper.mk DEB_BUILD_OPTIONS := nostrip diff --git a/debian/squeeze/metapackages/sudo-trinity/Makefile b/debian/squeeze/metapackages/sudo-trinity/Makefile deleted file mode 100755 index bc4653675..000000000 --- a/debian/squeeze/metapackages/sudo-trinity/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -FPACKAGE = sudo-trinity -VERSION = 1.0 - -build: - -clean: - -install: - mkdir -p /etc - cp -Rp etc/* $(DESTDIR)/etc/ - chmod -R 644 $(DESTDIR)/etc - chmod -R 0440 $(DESTDIR)/etc/sudoers.d/tde-secure-path \ No newline at end of file diff --git a/debian/squeeze/metapackages/sudo-trinity/debian/changelog b/debian/squeeze/metapackages/sudo-trinity/debian/changelog old mode 100755 new mode 100644 diff --git a/debian/squeeze/metapackages/sudo-trinity/debian/compat b/debian/squeeze/metapackages/sudo-trinity/debian/compat old mode 100755 new mode 100644 diff --git a/debian/squeeze/metapackages/sudo-trinity/debian/dirs b/debian/squeeze/metapackages/sudo-trinity/debian/dirs old mode 100755 new mode 100644 diff --git a/debian/squeeze/metapackages/sudo-trinity/debian/distrospecific/Makefile b/debian/squeeze/metapackages/sudo-trinity/debian/distrospecific/Makefile new file mode 100644 index 000000000..f106ff05e --- /dev/null +++ b/debian/squeeze/metapackages/sudo-trinity/debian/distrospecific/Makefile @@ -0,0 +1,12 @@ +FPACKAGE = sudo-trinity +VERSION = 1.0 + +build: + +clean: + +install: + mkdir -p /etc + cp -Rp etc/* $(DESTDIR)/etc/ + chmod -R 644 $(DESTDIR)/etc + chmod -R 0440 $(DESTDIR)/etc/sudoers.d/tde-secure-path diff --git a/debian/squeeze/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path b/debian/squeeze/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path new file mode 100644 index 000000000..f3c34f20a --- /dev/null +++ b/debian/squeeze/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path @@ -0,0 +1 @@ +Defaults secure_path=/usr/local/sbin:/usr/local/bin:/opt/trinity/sbin:/usr/sbin:/opt/trinity/bin:/usr/bin:/sbin:/bin:/usr/X11R6/bin diff --git a/debian/squeeze/metapackages/sudo-trinity/debian/rules b/debian/squeeze/metapackages/sudo-trinity/debian/rules index f8c89d5db..e5e2870b7 100755 --- a/debian/squeeze/metapackages/sudo-trinity/debian/rules +++ b/debian/squeeze/metapackages/sudo-trinity/debian/rules @@ -9,3 +9,19 @@ DEB_INSTALL_DOCS_ALL := DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) + +pre-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 diff --git a/debian/squeeze/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path b/debian/squeeze/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path deleted file mode 100644 index f3c34f20a..000000000 --- a/debian/squeeze/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path +++ /dev/null @@ -1 +0,0 @@ -Defaults secure_path=/usr/local/sbin:/usr/local/bin:/opt/trinity/sbin:/usr/sbin:/opt/trinity/bin:/usr/bin:/sbin:/bin:/usr/X11R6/bin diff --git a/debian/wheezy/metapackages/rename-meta/Makefile b/debian/wheezy/metapackages/rename-meta/Makefile deleted file mode 100644 index a36e6a1c9..000000000 --- a/debian/wheezy/metapackages/rename-meta/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -FPACKAGE = ubuntu-trinity-rename-meta -VERSION = 1.0 - -build: - -clean: - -install: diff --git a/debian/wheezy/metapackages/rename-meta/debian/rules b/debian/wheezy/metapackages/rename-meta/debian/rules index a9e7e66cb..bcf749744 100755 --- a/debian/wheezy/metapackages/rename-meta/debian/rules +++ b/debian/wheezy/metapackages/rename-meta/debian/rules @@ -1,5 +1,4 @@ #!/usr/bin/make -f -include /usr/share/cdbs/1/class/makefile.mk include /usr/share/cdbs/1/rules/debhelper.mk DEB_BUILD_OPTIONS := nostrip diff --git a/debian/wheezy/metapackages/sudo-trinity/Makefile b/debian/wheezy/metapackages/sudo-trinity/Makefile deleted file mode 100755 index bc4653675..000000000 --- a/debian/wheezy/metapackages/sudo-trinity/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -FPACKAGE = sudo-trinity -VERSION = 1.0 - -build: - -clean: - -install: - mkdir -p /etc - cp -Rp etc/* $(DESTDIR)/etc/ - chmod -R 644 $(DESTDIR)/etc - chmod -R 0440 $(DESTDIR)/etc/sudoers.d/tde-secure-path \ No newline at end of file diff --git a/debian/wheezy/metapackages/sudo-trinity/debian/changelog b/debian/wheezy/metapackages/sudo-trinity/debian/changelog old mode 100755 new mode 100644 diff --git a/debian/wheezy/metapackages/sudo-trinity/debian/compat b/debian/wheezy/metapackages/sudo-trinity/debian/compat old mode 100755 new mode 100644 diff --git a/debian/wheezy/metapackages/sudo-trinity/debian/dirs b/debian/wheezy/metapackages/sudo-trinity/debian/dirs old mode 100755 new mode 100644 diff --git a/debian/wheezy/metapackages/sudo-trinity/debian/distrospecific/Makefile b/debian/wheezy/metapackages/sudo-trinity/debian/distrospecific/Makefile new file mode 100644 index 000000000..f106ff05e --- /dev/null +++ b/debian/wheezy/metapackages/sudo-trinity/debian/distrospecific/Makefile @@ -0,0 +1,12 @@ +FPACKAGE = sudo-trinity +VERSION = 1.0 + +build: + +clean: + +install: + mkdir -p /etc + cp -Rp etc/* $(DESTDIR)/etc/ + chmod -R 644 $(DESTDIR)/etc + chmod -R 0440 $(DESTDIR)/etc/sudoers.d/tde-secure-path diff --git a/debian/wheezy/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path b/debian/wheezy/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path new file mode 100644 index 000000000..f3c34f20a --- /dev/null +++ b/debian/wheezy/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path @@ -0,0 +1 @@ +Defaults secure_path=/usr/local/sbin:/usr/local/bin:/opt/trinity/sbin:/usr/sbin:/opt/trinity/bin:/usr/bin:/sbin:/bin:/usr/X11R6/bin diff --git a/debian/wheezy/metapackages/sudo-trinity/debian/rules b/debian/wheezy/metapackages/sudo-trinity/debian/rules index f8c89d5db..e5e2870b7 100755 --- a/debian/wheezy/metapackages/sudo-trinity/debian/rules +++ b/debian/wheezy/metapackages/sudo-trinity/debian/rules @@ -9,3 +9,19 @@ DEB_INSTALL_DOCS_ALL := DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) + +pre-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 diff --git a/debian/wheezy/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path b/debian/wheezy/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path deleted file mode 100644 index f3c34f20a..000000000 --- a/debian/wheezy/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path +++ /dev/null @@ -1 +0,0 @@ -Defaults secure_path=/usr/local/sbin:/usr/local/bin:/opt/trinity/sbin:/usr/sbin:/opt/trinity/bin:/usr/bin:/sbin:/bin:/usr/X11R6/bin diff --git a/ubuntu/maverick/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity b/ubuntu/maverick/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity new file mode 100755 index 000000000..a018471b7 --- /dev/null +++ b/ubuntu/maverick/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity @@ -0,0 +1,41 @@ +#!/bin/sh + +PREREQ="" +DESCRIPTION="Setting up automatic login (Trinity)..." + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +. /scripts/casper-functions + +log_begin_msg "$DESCRIPTION" + +if [ -f /root/etc/trinity/kdm/kdmrc ]; then + # Configure KDM-Trinity autologin + sed -i -r \ + -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ + -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USERNAME/" \ + -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ + /root/etc/trinity/kdm/kdmrc +fi + +if [ -f /root/etc/trinity/tdm/tdmrc ]; then + # Configure TDM-Trinity autologin + sed -i -r \ + -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ + -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USERNAME/" \ + -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ + /root/etc/trinity/tdm/tdmrc +fi + +log_end_msg diff --git a/ubuntu/maverick/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity b/ubuntu/maverick/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity new file mode 100755 index 000000000..bd764edcc --- /dev/null +++ b/ubuntu/maverick/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity @@ -0,0 +1,33 @@ +#!/bin/sh + +PREREQ="" +DESCRIPTION="Adding live session user (Trinity)..." + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +. /scripts/casper-functions + +log_begin_msg "$DESCRIPTION" + +#Trinity +if [ -d "/root/etc/trinity" ]; then + if [ -f "/root/usr/share/applications/ubiquity-gtkui.desktop" ]; then + sed -i 's/\(OnlyShowIn=.*\)/\1KDE;TDE;/' "/root/usr/share/applications/ubiquity-gtkui.desktop" + fi + if [ -f "/root/home/$USERNAME/Desktop/ubiquity-gtkui.desktop" ]; then + sed -i 's/\(OnlyShowIn=.*\)/\1KDE;TDE;/' "/root/home/$USERNAME/Desktop/ubiquity-gtkui.desktop" + fi +fi + +log_end_msg diff --git a/ubuntu/maverick/metapackages/casper-trinity/debian/rules b/ubuntu/maverick/metapackages/casper-trinity/debian/rules index 9ded53d05..e6b6748ab 100755 --- a/ubuntu/maverick/metapackages/casper-trinity/debian/rules +++ b/ubuntu/maverick/metapackages/casper-trinity/debian/rules @@ -4,3 +4,19 @@ 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 diff --git a/ubuntu/maverick/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity b/ubuntu/maverick/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity deleted file mode 100755 index a018471b7..000000000 --- a/ubuntu/maverick/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh - -PREREQ="" -DESCRIPTION="Setting up automatic login (Trinity)..." - -prereqs() -{ - echo "$PREREQ" -} - -case $1 in -# get pre-requisites -prereqs) - prereqs - exit 0 - ;; -esac - -. /scripts/casper-functions - -log_begin_msg "$DESCRIPTION" - -if [ -f /root/etc/trinity/kdm/kdmrc ]; then - # Configure KDM-Trinity autologin - sed -i -r \ - -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ - -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USERNAME/" \ - -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ - /root/etc/trinity/kdm/kdmrc -fi - -if [ -f /root/etc/trinity/tdm/tdmrc ]; then - # Configure TDM-Trinity autologin - sed -i -r \ - -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ - -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USERNAME/" \ - -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ - /root/etc/trinity/tdm/tdmrc -fi - -log_end_msg diff --git a/ubuntu/maverick/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity b/ubuntu/maverick/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity deleted file mode 100755 index bd764edcc..000000000 --- a/ubuntu/maverick/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh - -PREREQ="" -DESCRIPTION="Adding live session user (Trinity)..." - -prereqs() -{ - echo "$PREREQ" -} - -case $1 in -# get pre-requisites -prereqs) - prereqs - exit 0 - ;; -esac - -. /scripts/casper-functions - -log_begin_msg "$DESCRIPTION" - -#Trinity -if [ -d "/root/etc/trinity" ]; then - if [ -f "/root/usr/share/applications/ubiquity-gtkui.desktop" ]; then - sed -i 's/\(OnlyShowIn=.*\)/\1KDE;TDE;/' "/root/usr/share/applications/ubiquity-gtkui.desktop" - fi - if [ -f "/root/home/$USERNAME/Desktop/ubiquity-gtkui.desktop" ]; then - sed -i 's/\(OnlyShowIn=.*\)/\1KDE;TDE;/' "/root/home/$USERNAME/Desktop/ubiquity-gtkui.desktop" - fi -fi - -log_end_msg diff --git a/ubuntu/maverick/metapackages/rename-meta/Makefile b/ubuntu/maverick/metapackages/rename-meta/Makefile deleted file mode 100644 index a36e6a1c9..000000000 --- a/ubuntu/maverick/metapackages/rename-meta/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -FPACKAGE = ubuntu-trinity-rename-meta -VERSION = 1.0 - -build: - -clean: - -install: diff --git a/ubuntu/maverick/metapackages/rename-meta/debian/rules b/ubuntu/maverick/metapackages/rename-meta/debian/rules index a9e7e66cb..bcf749744 100755 --- a/ubuntu/maverick/metapackages/rename-meta/debian/rules +++ b/ubuntu/maverick/metapackages/rename-meta/debian/rules @@ -1,5 +1,4 @@ #!/usr/bin/make -f -include /usr/share/cdbs/1/class/makefile.mk include /usr/share/cdbs/1/rules/debhelper.mk DEB_BUILD_OPTIONS := nostrip diff --git a/ubuntu/maverick/metapackages/sudo-trinity/Makefile b/ubuntu/maverick/metapackages/sudo-trinity/Makefile deleted file mode 100755 index bc4653675..000000000 --- a/ubuntu/maverick/metapackages/sudo-trinity/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -FPACKAGE = sudo-trinity -VERSION = 1.0 - -build: - -clean: - -install: - mkdir -p /etc - cp -Rp etc/* $(DESTDIR)/etc/ - chmod -R 644 $(DESTDIR)/etc - chmod -R 0440 $(DESTDIR)/etc/sudoers.d/tde-secure-path \ No newline at end of file diff --git a/ubuntu/maverick/metapackages/sudo-trinity/debian/changelog b/ubuntu/maverick/metapackages/sudo-trinity/debian/changelog old mode 100755 new mode 100644 diff --git a/ubuntu/maverick/metapackages/sudo-trinity/debian/compat b/ubuntu/maverick/metapackages/sudo-trinity/debian/compat old mode 100755 new mode 100644 diff --git a/ubuntu/maverick/metapackages/sudo-trinity/debian/dirs b/ubuntu/maverick/metapackages/sudo-trinity/debian/dirs old mode 100755 new mode 100644 diff --git a/ubuntu/maverick/metapackages/sudo-trinity/debian/distrospecific/Makefile b/ubuntu/maverick/metapackages/sudo-trinity/debian/distrospecific/Makefile new file mode 100644 index 000000000..f106ff05e --- /dev/null +++ b/ubuntu/maverick/metapackages/sudo-trinity/debian/distrospecific/Makefile @@ -0,0 +1,12 @@ +FPACKAGE = sudo-trinity +VERSION = 1.0 + +build: + +clean: + +install: + mkdir -p /etc + cp -Rp etc/* $(DESTDIR)/etc/ + chmod -R 644 $(DESTDIR)/etc + chmod -R 0440 $(DESTDIR)/etc/sudoers.d/tde-secure-path diff --git a/ubuntu/maverick/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path b/ubuntu/maverick/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path new file mode 100644 index 000000000..f3c34f20a --- /dev/null +++ b/ubuntu/maverick/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path @@ -0,0 +1 @@ +Defaults secure_path=/usr/local/sbin:/usr/local/bin:/opt/trinity/sbin:/usr/sbin:/opt/trinity/bin:/usr/bin:/sbin:/bin:/usr/X11R6/bin diff --git a/ubuntu/maverick/metapackages/sudo-trinity/debian/rules b/ubuntu/maverick/metapackages/sudo-trinity/debian/rules index f8c89d5db..e5e2870b7 100755 --- a/ubuntu/maverick/metapackages/sudo-trinity/debian/rules +++ b/ubuntu/maverick/metapackages/sudo-trinity/debian/rules @@ -9,3 +9,19 @@ DEB_INSTALL_DOCS_ALL := DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) + +pre-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 diff --git a/ubuntu/maverick/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path b/ubuntu/maverick/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path deleted file mode 100644 index f3c34f20a..000000000 --- a/ubuntu/maverick/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path +++ /dev/null @@ -1 +0,0 @@ -Defaults secure_path=/usr/local/sbin:/usr/local/bin:/opt/trinity/sbin:/usr/sbin:/opt/trinity/bin:/usr/bin:/sbin:/bin:/usr/X11R6/bin diff --git a/ubuntu/maverick/metapackages/trinity-keyring/changelog b/ubuntu/maverick/metapackages/trinity-keyring/changelog deleted file mode 100644 index eca44f384..000000000 --- a/ubuntu/maverick/metapackages/trinity-keyring/changelog +++ /dev/null @@ -1,5 +0,0 @@ -debian-archive-keyring (2006.01.10) unstable; urgency=low - - * Initial release - - -- Michael Vogt Tue, 10 Jan 2006 09:17:43 +0100 diff --git a/ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/changelog b/ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/changelog new file mode 100644 index 000000000..eca44f384 --- /dev/null +++ b/ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/changelog @@ -0,0 +1,5 @@ +debian-archive-keyring (2006.01.10) unstable; urgency=low + + * Initial release + + -- Michael Vogt Tue, 10 Jan 2006 09:17:43 +0100 diff --git a/ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/keyrings/trinity-keyring.gpg b/ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/keyrings/trinity-keyring.gpg new file mode 100644 index 000000000..d703b13cc --- /dev/null +++ b/ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/keyrings/trinity-keyring.gpg @@ -0,0 +1,13 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.10 (GNU/Linux) + +mI0ETBb5vwEEANKouZGon6I/wxSh8LO49a/JRCsEI/wiXMBDw/eOa+AF6onugRs3 +9XYo0fPuSu5OzJW+Mjt7FD+IYBwrqWH8kqshXHEpiPfVh1uEa0lSDmDoEx6BEude +CVvt/tc2x4YDzwxdChQ5X/Bwhq/kfTXCUXuNLmT1rifJiujeuISd+06VABEBAAG0 +JlF1aWNrQnVpbGQgVHJpbml0eSBEZXNrdG9wIEVudmlyb25tZW50iLgEEwECACIF +AkwW+b8CGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEEPx3E8rhjjQu30E +AJpz2+fjYXvpQOGIN3w2BoKBF0jVROS+xPs1dZMzHhvdwQR6/2KI8RVZ7M+VnnJi +Y0VaYf6jYd08S4SsX5LuDuiCxxkMkno7RRdEOdsnxfiqGnv2EjvQEM3trflQzIBi +9wc+mh9XeI7OZNke/KryAqRTLMdYlTIlv2XNAy/bXFS4 +=qpbT +-----END PGP PUBLIC KEY BLOCK----- diff --git a/ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/md5sums.txt b/ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/md5sums.txt new file mode 100644 index 000000000..f65dfc593 --- /dev/null +++ b/ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/md5sums.txt @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +c92d44bfab485525f3078b6bcdafa0aa keyrings/kde3-maintainers-keyring.gpg +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iEYEARECAAYFAknxzxAACgkQ1qe3DOI85pKjkgCeLm9YEGnuXOvhzuCQF2UDLLAn +pC0AoMNmSPQt2+W0jStHxn7lnHHnoqHd +=068G +-----END PGP SIGNATURE----- diff --git a/ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/repositories/trinity.list b/ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/repositories/trinity.list new file mode 100644 index 000000000..cea2cf093 --- /dev/null +++ b/ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/repositories/trinity.list @@ -0,0 +1,6 @@ +# Trinity repositories + +deb http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-nightly-build-dependencies/ubuntu maverick main +deb-src http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-nightly-build-dependencies/ubuntu maverick main +deb http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-nightly-builds/ubuntu maverick main +deb-src http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-nightly-builds/ubuntu maverick main diff --git a/ubuntu/maverick/metapackages/trinity-keyring/debian/rules b/ubuntu/maverick/metapackages/trinity-keyring/debian/rules index 8695ad9dc..39064539d 100755 --- a/ubuntu/maverick/metapackages/trinity-keyring/debian/rules +++ b/ubuntu/maverick/metapackages/trinity-keyring/debian/rules @@ -17,10 +17,22 @@ install_binary=install -m 755 -s VERSION := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2) DISTRIBUTION := $(shell dpkg-parsechangelog | grep ^Distribution: | cut -d' ' -f2) -build: +build: debian/stamp-distrospecific + $(checkdir) + +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: - $(checkdir) + dh_testdir + [ ! -e debian/stamp-distrospecific ] || \ + cat debian/stamp-distrospecific | \ + tr "\n" "\0" | xargs -r0 mv -t debian/distrospecific + rm -f debian/stamp-distrospecific -rm -f foo foo.asc *.bak *~ */*~ debian/files* debian/*substvars -rm -rf debian/tmp diff --git a/ubuntu/maverick/metapackages/trinity-keyring/keyrings/trinity-keyring.gpg b/ubuntu/maverick/metapackages/trinity-keyring/keyrings/trinity-keyring.gpg deleted file mode 100644 index d703b13cc..000000000 --- a/ubuntu/maverick/metapackages/trinity-keyring/keyrings/trinity-keyring.gpg +++ /dev/null @@ -1,13 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1.4.10 (GNU/Linux) - -mI0ETBb5vwEEANKouZGon6I/wxSh8LO49a/JRCsEI/wiXMBDw/eOa+AF6onugRs3 -9XYo0fPuSu5OzJW+Mjt7FD+IYBwrqWH8kqshXHEpiPfVh1uEa0lSDmDoEx6BEude -CVvt/tc2x4YDzwxdChQ5X/Bwhq/kfTXCUXuNLmT1rifJiujeuISd+06VABEBAAG0 -JlF1aWNrQnVpbGQgVHJpbml0eSBEZXNrdG9wIEVudmlyb25tZW50iLgEEwECACIF -AkwW+b8CGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEEPx3E8rhjjQu30E -AJpz2+fjYXvpQOGIN3w2BoKBF0jVROS+xPs1dZMzHhvdwQR6/2KI8RVZ7M+VnnJi -Y0VaYf6jYd08S4SsX5LuDuiCxxkMkno7RRdEOdsnxfiqGnv2EjvQEM3trflQzIBi -9wc+mh9XeI7OZNke/KryAqRTLMdYlTIlv2XNAy/bXFS4 -=qpbT ------END PGP PUBLIC KEY BLOCK----- diff --git a/ubuntu/maverick/metapackages/trinity-keyring/md5sums.txt b/ubuntu/maverick/metapackages/trinity-keyring/md5sums.txt deleted file mode 100644 index f65dfc593..000000000 --- a/ubuntu/maverick/metapackages/trinity-keyring/md5sums.txt +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -c92d44bfab485525f3078b6bcdafa0aa keyrings/kde3-maintainers-keyring.gpg ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.9 (GNU/Linux) - -iEYEARECAAYFAknxzxAACgkQ1qe3DOI85pKjkgCeLm9YEGnuXOvhzuCQF2UDLLAn -pC0AoMNmSPQt2+W0jStHxn7lnHHnoqHd -=068G ------END PGP SIGNATURE----- diff --git a/ubuntu/maverick/metapackages/trinity-keyring/repositories/trinity.list b/ubuntu/maverick/metapackages/trinity-keyring/repositories/trinity.list deleted file mode 100644 index cea2cf093..000000000 --- a/ubuntu/maverick/metapackages/trinity-keyring/repositories/trinity.list +++ /dev/null @@ -1,6 +0,0 @@ -# Trinity repositories - -deb http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-nightly-build-dependencies/ubuntu maverick main -deb-src http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-nightly-build-dependencies/ubuntu maverick main -deb http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-nightly-builds/ubuntu maverick main -deb-src http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-nightly-builds/ubuntu maverick main diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/distrospecific/ubiquity-hooks/55_trinity b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/distrospecific/ubiquity-hooks/55_trinity new file mode 100755 index 000000000..e31165c02 --- /dev/null +++ b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/distrospecific/ubiquity-hooks/55_trinity @@ -0,0 +1,52 @@ +#! /bin/sh +set -e + +#-- configure autologin +. /usr/share/debconf/confmodule + +export LANG=C # avoid locale errors from perl +ROOT=/target +chroot=chroot +log='log-output -t trinity-livecd' + +db_get passwd/username +USER="$RET" +db_get passwd/auto-login +if [ -n "$USER" ] && [ "$RET" = true ]; then + if $chroot $ROOT [ -f /etc/trinity/kdm/kdmrc ]; then + # Configure KDM autologin + $log $chroot $ROOT sed -i$BACKUP -r \ + -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ + -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USER/" \ + -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ + /etc/trinity/kdm/kdmrc + fi + + if $chroot $ROOT [ -f /etc/trinity/tdm/tdmrc ]; then + # Configure TDM autologin + $log $chroot $ROOT sed -i$BACKUP -r \ + -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ + -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USER/" \ + -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ + /etc/trinity/tdm/tdmrc + fi +fi + +#-- cleanup additional packages +packages="" +if [ -f "$ROOT/var/lib/dpkg/info/casper-trinity.list" ]; then + packages="$packages casper-trinity" +fi +if [ -f "$ROOT/var/lib/dpkg/info/ubiquity-trinity.list" ]; then + packages="$packages ubiquity-trinity" +fi +if [ -n "$packages" ]; then + if [ -f "$ROOT/usr/bin/apt-get" ]; then + $chroot $ROOT apt-get -y purge $packages + $chroot $ROOT apt-get -y --purge autoremove + else + $chroot $ROOT dpkg -P $packages + fi +fi + +exit 0 diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/rules b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/rules index 9ded53d05..e6b6748ab 100755 --- a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/rules +++ b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/rules @@ -4,3 +4,19 @@ 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 diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity b/ubuntu/maverick/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity deleted file mode 100755 index e31165c02..000000000 --- a/ubuntu/maverick/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity +++ /dev/null @@ -1,52 +0,0 @@ -#! /bin/sh -set -e - -#-- configure autologin -. /usr/share/debconf/confmodule - -export LANG=C # avoid locale errors from perl -ROOT=/target -chroot=chroot -log='log-output -t trinity-livecd' - -db_get passwd/username -USER="$RET" -db_get passwd/auto-login -if [ -n "$USER" ] && [ "$RET" = true ]; then - if $chroot $ROOT [ -f /etc/trinity/kdm/kdmrc ]; then - # Configure KDM autologin - $log $chroot $ROOT sed -i$BACKUP -r \ - -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ - -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USER/" \ - -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ - /etc/trinity/kdm/kdmrc - fi - - if $chroot $ROOT [ -f /etc/trinity/tdm/tdmrc ]; then - # Configure TDM autologin - $log $chroot $ROOT sed -i$BACKUP -r \ - -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ - -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USER/" \ - -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ - /etc/trinity/tdm/tdmrc - fi -fi - -#-- cleanup additional packages -packages="" -if [ -f "$ROOT/var/lib/dpkg/info/casper-trinity.list" ]; then - packages="$packages casper-trinity" -fi -if [ -f "$ROOT/var/lib/dpkg/info/ubiquity-trinity.list" ]; then - packages="$packages ubiquity-trinity" -fi -if [ -n "$packages" ]; then - if [ -f "$ROOT/usr/bin/apt-get" ]; then - $chroot $ROOT apt-get -y purge $packages - $chroot $ROOT apt-get -y --purge autoremove - else - $chroot $ROOT dpkg -P $packages - fi -fi - -exit 0 diff --git a/ubuntu/precise/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity b/ubuntu/precise/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity new file mode 100755 index 000000000..a018471b7 --- /dev/null +++ b/ubuntu/precise/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity @@ -0,0 +1,41 @@ +#!/bin/sh + +PREREQ="" +DESCRIPTION="Setting up automatic login (Trinity)..." + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +. /scripts/casper-functions + +log_begin_msg "$DESCRIPTION" + +if [ -f /root/etc/trinity/kdm/kdmrc ]; then + # Configure KDM-Trinity autologin + sed -i -r \ + -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ + -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USERNAME/" \ + -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ + /root/etc/trinity/kdm/kdmrc +fi + +if [ -f /root/etc/trinity/tdm/tdmrc ]; then + # Configure TDM-Trinity autologin + sed -i -r \ + -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ + -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USERNAME/" \ + -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ + /root/etc/trinity/tdm/tdmrc +fi + +log_end_msg diff --git a/ubuntu/precise/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity b/ubuntu/precise/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity new file mode 100755 index 000000000..bd764edcc --- /dev/null +++ b/ubuntu/precise/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity @@ -0,0 +1,33 @@ +#!/bin/sh + +PREREQ="" +DESCRIPTION="Adding live session user (Trinity)..." + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +. /scripts/casper-functions + +log_begin_msg "$DESCRIPTION" + +#Trinity +if [ -d "/root/etc/trinity" ]; then + if [ -f "/root/usr/share/applications/ubiquity-gtkui.desktop" ]; then + sed -i 's/\(OnlyShowIn=.*\)/\1KDE;TDE;/' "/root/usr/share/applications/ubiquity-gtkui.desktop" + fi + if [ -f "/root/home/$USERNAME/Desktop/ubiquity-gtkui.desktop" ]; then + sed -i 's/\(OnlyShowIn=.*\)/\1KDE;TDE;/' "/root/home/$USERNAME/Desktop/ubiquity-gtkui.desktop" + fi +fi + +log_end_msg diff --git a/ubuntu/precise/metapackages/casper-trinity/debian/rules b/ubuntu/precise/metapackages/casper-trinity/debian/rules index 9ded53d05..e6b6748ab 100755 --- a/ubuntu/precise/metapackages/casper-trinity/debian/rules +++ b/ubuntu/precise/metapackages/casper-trinity/debian/rules @@ -4,3 +4,19 @@ 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 diff --git a/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity b/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity deleted file mode 100755 index a018471b7..000000000 --- a/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh - -PREREQ="" -DESCRIPTION="Setting up automatic login (Trinity)..." - -prereqs() -{ - echo "$PREREQ" -} - -case $1 in -# get pre-requisites -prereqs) - prereqs - exit 0 - ;; -esac - -. /scripts/casper-functions - -log_begin_msg "$DESCRIPTION" - -if [ -f /root/etc/trinity/kdm/kdmrc ]; then - # Configure KDM-Trinity autologin - sed -i -r \ - -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ - -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USERNAME/" \ - -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ - /root/etc/trinity/kdm/kdmrc -fi - -if [ -f /root/etc/trinity/tdm/tdmrc ]; then - # Configure TDM-Trinity autologin - sed -i -r \ - -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ - -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USERNAME/" \ - -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ - /root/etc/trinity/tdm/tdmrc -fi - -log_end_msg diff --git a/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity b/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity deleted file mode 100755 index bd764edcc..000000000 --- a/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh - -PREREQ="" -DESCRIPTION="Adding live session user (Trinity)..." - -prereqs() -{ - echo "$PREREQ" -} - -case $1 in -# get pre-requisites -prereqs) - prereqs - exit 0 - ;; -esac - -. /scripts/casper-functions - -log_begin_msg "$DESCRIPTION" - -#Trinity -if [ -d "/root/etc/trinity" ]; then - if [ -f "/root/usr/share/applications/ubiquity-gtkui.desktop" ]; then - sed -i 's/\(OnlyShowIn=.*\)/\1KDE;TDE;/' "/root/usr/share/applications/ubiquity-gtkui.desktop" - fi - if [ -f "/root/home/$USERNAME/Desktop/ubiquity-gtkui.desktop" ]; then - sed -i 's/\(OnlyShowIn=.*\)/\1KDE;TDE;/' "/root/home/$USERNAME/Desktop/ubiquity-gtkui.desktop" - fi -fi - -log_end_msg diff --git a/ubuntu/precise/metapackages/rename-meta/Makefile b/ubuntu/precise/metapackages/rename-meta/Makefile deleted file mode 100644 index a36e6a1c9..000000000 --- a/ubuntu/precise/metapackages/rename-meta/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -FPACKAGE = ubuntu-trinity-rename-meta -VERSION = 1.0 - -build: - -clean: - -install: diff --git a/ubuntu/precise/metapackages/rename-meta/debian/rules b/ubuntu/precise/metapackages/rename-meta/debian/rules index a9e7e66cb..bcf749744 100755 --- a/ubuntu/precise/metapackages/rename-meta/debian/rules +++ b/ubuntu/precise/metapackages/rename-meta/debian/rules @@ -1,5 +1,4 @@ #!/usr/bin/make -f -include /usr/share/cdbs/1/class/makefile.mk include /usr/share/cdbs/1/rules/debhelper.mk DEB_BUILD_OPTIONS := nostrip diff --git a/ubuntu/precise/metapackages/sudo-trinity/Makefile b/ubuntu/precise/metapackages/sudo-trinity/Makefile deleted file mode 100755 index bc4653675..000000000 --- a/ubuntu/precise/metapackages/sudo-trinity/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -FPACKAGE = sudo-trinity -VERSION = 1.0 - -build: - -clean: - -install: - mkdir -p /etc - cp -Rp etc/* $(DESTDIR)/etc/ - chmod -R 644 $(DESTDIR)/etc - chmod -R 0440 $(DESTDIR)/etc/sudoers.d/tde-secure-path \ No newline at end of file diff --git a/ubuntu/precise/metapackages/sudo-trinity/debian/changelog b/ubuntu/precise/metapackages/sudo-trinity/debian/changelog old mode 100755 new mode 100644 diff --git a/ubuntu/precise/metapackages/sudo-trinity/debian/compat b/ubuntu/precise/metapackages/sudo-trinity/debian/compat old mode 100755 new mode 100644 diff --git a/ubuntu/precise/metapackages/sudo-trinity/debian/dirs b/ubuntu/precise/metapackages/sudo-trinity/debian/dirs old mode 100755 new mode 100644 diff --git a/ubuntu/precise/metapackages/sudo-trinity/debian/distrospecific/Makefile b/ubuntu/precise/metapackages/sudo-trinity/debian/distrospecific/Makefile new file mode 100644 index 000000000..f106ff05e --- /dev/null +++ b/ubuntu/precise/metapackages/sudo-trinity/debian/distrospecific/Makefile @@ -0,0 +1,12 @@ +FPACKAGE = sudo-trinity +VERSION = 1.0 + +build: + +clean: + +install: + mkdir -p /etc + cp -Rp etc/* $(DESTDIR)/etc/ + chmod -R 644 $(DESTDIR)/etc + chmod -R 0440 $(DESTDIR)/etc/sudoers.d/tde-secure-path diff --git a/ubuntu/precise/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path b/ubuntu/precise/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path new file mode 100644 index 000000000..f3c34f20a --- /dev/null +++ b/ubuntu/precise/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path @@ -0,0 +1 @@ +Defaults secure_path=/usr/local/sbin:/usr/local/bin:/opt/trinity/sbin:/usr/sbin:/opt/trinity/bin:/usr/bin:/sbin:/bin:/usr/X11R6/bin diff --git a/ubuntu/precise/metapackages/sudo-trinity/debian/rules b/ubuntu/precise/metapackages/sudo-trinity/debian/rules index f8c89d5db..e5e2870b7 100755 --- a/ubuntu/precise/metapackages/sudo-trinity/debian/rules +++ b/ubuntu/precise/metapackages/sudo-trinity/debian/rules @@ -9,3 +9,19 @@ DEB_INSTALL_DOCS_ALL := DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) + +pre-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 diff --git a/ubuntu/precise/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path b/ubuntu/precise/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path deleted file mode 100644 index f3c34f20a..000000000 --- a/ubuntu/precise/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path +++ /dev/null @@ -1 +0,0 @@ -Defaults secure_path=/usr/local/sbin:/usr/local/bin:/opt/trinity/sbin:/usr/sbin:/opt/trinity/bin:/usr/bin:/sbin:/bin:/usr/X11R6/bin diff --git a/ubuntu/precise/metapackages/ubiquity-trinity/debian/distrospecific/ubiquity-hooks/55_trinity b/ubuntu/precise/metapackages/ubiquity-trinity/debian/distrospecific/ubiquity-hooks/55_trinity new file mode 100755 index 000000000..e31165c02 --- /dev/null +++ b/ubuntu/precise/metapackages/ubiquity-trinity/debian/distrospecific/ubiquity-hooks/55_trinity @@ -0,0 +1,52 @@ +#! /bin/sh +set -e + +#-- configure autologin +. /usr/share/debconf/confmodule + +export LANG=C # avoid locale errors from perl +ROOT=/target +chroot=chroot +log='log-output -t trinity-livecd' + +db_get passwd/username +USER="$RET" +db_get passwd/auto-login +if [ -n "$USER" ] && [ "$RET" = true ]; then + if $chroot $ROOT [ -f /etc/trinity/kdm/kdmrc ]; then + # Configure KDM autologin + $log $chroot $ROOT sed -i$BACKUP -r \ + -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ + -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USER/" \ + -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ + /etc/trinity/kdm/kdmrc + fi + + if $chroot $ROOT [ -f /etc/trinity/tdm/tdmrc ]; then + # Configure TDM autologin + $log $chroot $ROOT sed -i$BACKUP -r \ + -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ + -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USER/" \ + -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ + /etc/trinity/tdm/tdmrc + fi +fi + +#-- cleanup additional packages +packages="" +if [ -f "$ROOT/var/lib/dpkg/info/casper-trinity.list" ]; then + packages="$packages casper-trinity" +fi +if [ -f "$ROOT/var/lib/dpkg/info/ubiquity-trinity.list" ]; then + packages="$packages ubiquity-trinity" +fi +if [ -n "$packages" ]; then + if [ -f "$ROOT/usr/bin/apt-get" ]; then + $chroot $ROOT apt-get -y purge $packages + $chroot $ROOT apt-get -y --purge autoremove + else + $chroot $ROOT dpkg -P $packages + fi +fi + +exit 0 diff --git a/ubuntu/precise/metapackages/ubiquity-trinity/debian/rules b/ubuntu/precise/metapackages/ubiquity-trinity/debian/rules index 9ded53d05..e6b6748ab 100755 --- a/ubuntu/precise/metapackages/ubiquity-trinity/debian/rules +++ b/ubuntu/precise/metapackages/ubiquity-trinity/debian/rules @@ -4,3 +4,19 @@ 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 diff --git a/ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity b/ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity deleted file mode 100755 index e31165c02..000000000 --- a/ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity +++ /dev/null @@ -1,52 +0,0 @@ -#! /bin/sh -set -e - -#-- configure autologin -. /usr/share/debconf/confmodule - -export LANG=C # avoid locale errors from perl -ROOT=/target -chroot=chroot -log='log-output -t trinity-livecd' - -db_get passwd/username -USER="$RET" -db_get passwd/auto-login -if [ -n "$USER" ] && [ "$RET" = true ]; then - if $chroot $ROOT [ -f /etc/trinity/kdm/kdmrc ]; then - # Configure KDM autologin - $log $chroot $ROOT sed -i$BACKUP -r \ - -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ - -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USER/" \ - -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ - /etc/trinity/kdm/kdmrc - fi - - if $chroot $ROOT [ -f /etc/trinity/tdm/tdmrc ]; then - # Configure TDM autologin - $log $chroot $ROOT sed -i$BACKUP -r \ - -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ - -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USER/" \ - -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ - /etc/trinity/tdm/tdmrc - fi -fi - -#-- cleanup additional packages -packages="" -if [ -f "$ROOT/var/lib/dpkg/info/casper-trinity.list" ]; then - packages="$packages casper-trinity" -fi -if [ -f "$ROOT/var/lib/dpkg/info/ubiquity-trinity.list" ]; then - packages="$packages ubiquity-trinity" -fi -if [ -n "$packages" ]; then - if [ -f "$ROOT/usr/bin/apt-get" ]; then - $chroot $ROOT apt-get -y purge $packages - $chroot $ROOT apt-get -y --purge autoremove - else - $chroot $ROOT dpkg -P $packages - fi -fi - -exit 0 diff --git a/ubuntu/raring/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity b/ubuntu/raring/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity new file mode 100755 index 000000000..a018471b7 --- /dev/null +++ b/ubuntu/raring/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity @@ -0,0 +1,41 @@ +#!/bin/sh + +PREREQ="" +DESCRIPTION="Setting up automatic login (Trinity)..." + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +. /scripts/casper-functions + +log_begin_msg "$DESCRIPTION" + +if [ -f /root/etc/trinity/kdm/kdmrc ]; then + # Configure KDM-Trinity autologin + sed -i -r \ + -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ + -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USERNAME/" \ + -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ + /root/etc/trinity/kdm/kdmrc +fi + +if [ -f /root/etc/trinity/tdm/tdmrc ]; then + # Configure TDM-Trinity autologin + sed -i -r \ + -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ + -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USERNAME/" \ + -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ + /root/etc/trinity/tdm/tdmrc +fi + +log_end_msg diff --git a/ubuntu/raring/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity b/ubuntu/raring/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity new file mode 100755 index 000000000..bd764edcc --- /dev/null +++ b/ubuntu/raring/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity @@ -0,0 +1,33 @@ +#!/bin/sh + +PREREQ="" +DESCRIPTION="Adding live session user (Trinity)..." + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +. /scripts/casper-functions + +log_begin_msg "$DESCRIPTION" + +#Trinity +if [ -d "/root/etc/trinity" ]; then + if [ -f "/root/usr/share/applications/ubiquity-gtkui.desktop" ]; then + sed -i 's/\(OnlyShowIn=.*\)/\1KDE;TDE;/' "/root/usr/share/applications/ubiquity-gtkui.desktop" + fi + if [ -f "/root/home/$USERNAME/Desktop/ubiquity-gtkui.desktop" ]; then + sed -i 's/\(OnlyShowIn=.*\)/\1KDE;TDE;/' "/root/home/$USERNAME/Desktop/ubiquity-gtkui.desktop" + fi +fi + +log_end_msg diff --git a/ubuntu/raring/metapackages/casper-trinity/debian/rules b/ubuntu/raring/metapackages/casper-trinity/debian/rules index 9ded53d05..e6b6748ab 100755 --- a/ubuntu/raring/metapackages/casper-trinity/debian/rules +++ b/ubuntu/raring/metapackages/casper-trinity/debian/rules @@ -4,3 +4,19 @@ 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 diff --git a/ubuntu/raring/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity b/ubuntu/raring/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity deleted file mode 100755 index a018471b7..000000000 --- a/ubuntu/raring/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh - -PREREQ="" -DESCRIPTION="Setting up automatic login (Trinity)..." - -prereqs() -{ - echo "$PREREQ" -} - -case $1 in -# get pre-requisites -prereqs) - prereqs - exit 0 - ;; -esac - -. /scripts/casper-functions - -log_begin_msg "$DESCRIPTION" - -if [ -f /root/etc/trinity/kdm/kdmrc ]; then - # Configure KDM-Trinity autologin - sed -i -r \ - -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ - -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USERNAME/" \ - -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ - /root/etc/trinity/kdm/kdmrc -fi - -if [ -f /root/etc/trinity/tdm/tdmrc ]; then - # Configure TDM-Trinity autologin - sed -i -r \ - -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ - -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USERNAME/" \ - -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ - /root/etc/trinity/tdm/tdmrc -fi - -log_end_msg diff --git a/ubuntu/raring/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity b/ubuntu/raring/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity deleted file mode 100755 index bd764edcc..000000000 --- a/ubuntu/raring/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh - -PREREQ="" -DESCRIPTION="Adding live session user (Trinity)..." - -prereqs() -{ - echo "$PREREQ" -} - -case $1 in -# get pre-requisites -prereqs) - prereqs - exit 0 - ;; -esac - -. /scripts/casper-functions - -log_begin_msg "$DESCRIPTION" - -#Trinity -if [ -d "/root/etc/trinity" ]; then - if [ -f "/root/usr/share/applications/ubiquity-gtkui.desktop" ]; then - sed -i 's/\(OnlyShowIn=.*\)/\1KDE;TDE;/' "/root/usr/share/applications/ubiquity-gtkui.desktop" - fi - if [ -f "/root/home/$USERNAME/Desktop/ubiquity-gtkui.desktop" ]; then - sed -i 's/\(OnlyShowIn=.*\)/\1KDE;TDE;/' "/root/home/$USERNAME/Desktop/ubiquity-gtkui.desktop" - fi -fi - -log_end_msg diff --git a/ubuntu/raring/metapackages/rename-meta/Makefile b/ubuntu/raring/metapackages/rename-meta/Makefile deleted file mode 100644 index a36e6a1c9..000000000 --- a/ubuntu/raring/metapackages/rename-meta/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -FPACKAGE = ubuntu-trinity-rename-meta -VERSION = 1.0 - -build: - -clean: - -install: diff --git a/ubuntu/raring/metapackages/rename-meta/debian/rules b/ubuntu/raring/metapackages/rename-meta/debian/rules index a9e7e66cb..bcf749744 100755 --- a/ubuntu/raring/metapackages/rename-meta/debian/rules +++ b/ubuntu/raring/metapackages/rename-meta/debian/rules @@ -1,5 +1,4 @@ #!/usr/bin/make -f -include /usr/share/cdbs/1/class/makefile.mk include /usr/share/cdbs/1/rules/debhelper.mk DEB_BUILD_OPTIONS := nostrip diff --git a/ubuntu/raring/metapackages/sudo-trinity/Makefile b/ubuntu/raring/metapackages/sudo-trinity/Makefile deleted file mode 100755 index bc4653675..000000000 --- a/ubuntu/raring/metapackages/sudo-trinity/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -FPACKAGE = sudo-trinity -VERSION = 1.0 - -build: - -clean: - -install: - mkdir -p /etc - cp -Rp etc/* $(DESTDIR)/etc/ - chmod -R 644 $(DESTDIR)/etc - chmod -R 0440 $(DESTDIR)/etc/sudoers.d/tde-secure-path \ No newline at end of file diff --git a/ubuntu/raring/metapackages/sudo-trinity/debian/changelog b/ubuntu/raring/metapackages/sudo-trinity/debian/changelog old mode 100755 new mode 100644 diff --git a/ubuntu/raring/metapackages/sudo-trinity/debian/compat b/ubuntu/raring/metapackages/sudo-trinity/debian/compat old mode 100755 new mode 100644 diff --git a/ubuntu/raring/metapackages/sudo-trinity/debian/dirs b/ubuntu/raring/metapackages/sudo-trinity/debian/dirs old mode 100755 new mode 100644 diff --git a/ubuntu/raring/metapackages/sudo-trinity/debian/distrospecific/Makefile b/ubuntu/raring/metapackages/sudo-trinity/debian/distrospecific/Makefile new file mode 100644 index 000000000..f106ff05e --- /dev/null +++ b/ubuntu/raring/metapackages/sudo-trinity/debian/distrospecific/Makefile @@ -0,0 +1,12 @@ +FPACKAGE = sudo-trinity +VERSION = 1.0 + +build: + +clean: + +install: + mkdir -p /etc + cp -Rp etc/* $(DESTDIR)/etc/ + chmod -R 644 $(DESTDIR)/etc + chmod -R 0440 $(DESTDIR)/etc/sudoers.d/tde-secure-path diff --git a/ubuntu/raring/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path b/ubuntu/raring/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path new file mode 100644 index 000000000..f3c34f20a --- /dev/null +++ b/ubuntu/raring/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path @@ -0,0 +1 @@ +Defaults secure_path=/usr/local/sbin:/usr/local/bin:/opt/trinity/sbin:/usr/sbin:/opt/trinity/bin:/usr/bin:/sbin:/bin:/usr/X11R6/bin diff --git a/ubuntu/raring/metapackages/sudo-trinity/debian/rules b/ubuntu/raring/metapackages/sudo-trinity/debian/rules index f8c89d5db..e5e2870b7 100755 --- a/ubuntu/raring/metapackages/sudo-trinity/debian/rules +++ b/ubuntu/raring/metapackages/sudo-trinity/debian/rules @@ -9,3 +9,19 @@ DEB_INSTALL_DOCS_ALL := DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) + +pre-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 diff --git a/ubuntu/raring/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path b/ubuntu/raring/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path deleted file mode 100644 index f3c34f20a..000000000 --- a/ubuntu/raring/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path +++ /dev/null @@ -1 +0,0 @@ -Defaults secure_path=/usr/local/sbin:/usr/local/bin:/opt/trinity/sbin:/usr/sbin:/opt/trinity/bin:/usr/bin:/sbin:/bin:/usr/X11R6/bin diff --git a/ubuntu/raring/metapackages/ubiquity-trinity/debian/distrospecific/ubiquity-hooks/55_trinity b/ubuntu/raring/metapackages/ubiquity-trinity/debian/distrospecific/ubiquity-hooks/55_trinity new file mode 100755 index 000000000..e31165c02 --- /dev/null +++ b/ubuntu/raring/metapackages/ubiquity-trinity/debian/distrospecific/ubiquity-hooks/55_trinity @@ -0,0 +1,52 @@ +#! /bin/sh +set -e + +#-- configure autologin +. /usr/share/debconf/confmodule + +export LANG=C # avoid locale errors from perl +ROOT=/target +chroot=chroot +log='log-output -t trinity-livecd' + +db_get passwd/username +USER="$RET" +db_get passwd/auto-login +if [ -n "$USER" ] && [ "$RET" = true ]; then + if $chroot $ROOT [ -f /etc/trinity/kdm/kdmrc ]; then + # Configure KDM autologin + $log $chroot $ROOT sed -i$BACKUP -r \ + -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ + -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USER/" \ + -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ + /etc/trinity/kdm/kdmrc + fi + + if $chroot $ROOT [ -f /etc/trinity/tdm/tdmrc ]; then + # Configure TDM autologin + $log $chroot $ROOT sed -i$BACKUP -r \ + -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ + -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USER/" \ + -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ + /etc/trinity/tdm/tdmrc + fi +fi + +#-- cleanup additional packages +packages="" +if [ -f "$ROOT/var/lib/dpkg/info/casper-trinity.list" ]; then + packages="$packages casper-trinity" +fi +if [ -f "$ROOT/var/lib/dpkg/info/ubiquity-trinity.list" ]; then + packages="$packages ubiquity-trinity" +fi +if [ -n "$packages" ]; then + if [ -f "$ROOT/usr/bin/apt-get" ]; then + $chroot $ROOT apt-get -y purge $packages + $chroot $ROOT apt-get -y --purge autoremove + else + $chroot $ROOT dpkg -P $packages + fi +fi + +exit 0 diff --git a/ubuntu/raring/metapackages/ubiquity-trinity/debian/rules b/ubuntu/raring/metapackages/ubiquity-trinity/debian/rules index 9ded53d05..e6b6748ab 100755 --- a/ubuntu/raring/metapackages/ubiquity-trinity/debian/rules +++ b/ubuntu/raring/metapackages/ubiquity-trinity/debian/rules @@ -4,3 +4,19 @@ 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 diff --git a/ubuntu/raring/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity b/ubuntu/raring/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity deleted file mode 100755 index e31165c02..000000000 --- a/ubuntu/raring/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity +++ /dev/null @@ -1,52 +0,0 @@ -#! /bin/sh -set -e - -#-- configure autologin -. /usr/share/debconf/confmodule - -export LANG=C # avoid locale errors from perl -ROOT=/target -chroot=chroot -log='log-output -t trinity-livecd' - -db_get passwd/username -USER="$RET" -db_get passwd/auto-login -if [ -n "$USER" ] && [ "$RET" = true ]; then - if $chroot $ROOT [ -f /etc/trinity/kdm/kdmrc ]; then - # Configure KDM autologin - $log $chroot $ROOT sed -i$BACKUP -r \ - -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ - -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USER/" \ - -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ - /etc/trinity/kdm/kdmrc - fi - - if $chroot $ROOT [ -f /etc/trinity/tdm/tdmrc ]; then - # Configure TDM autologin - $log $chroot $ROOT sed -i$BACKUP -r \ - -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ - -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USER/" \ - -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ - /etc/trinity/tdm/tdmrc - fi -fi - -#-- cleanup additional packages -packages="" -if [ -f "$ROOT/var/lib/dpkg/info/casper-trinity.list" ]; then - packages="$packages casper-trinity" -fi -if [ -f "$ROOT/var/lib/dpkg/info/ubiquity-trinity.list" ]; then - packages="$packages ubiquity-trinity" -fi -if [ -n "$packages" ]; then - if [ -f "$ROOT/usr/bin/apt-get" ]; then - $chroot $ROOT apt-get -y purge $packages - $chroot $ROOT apt-get -y --purge autoremove - else - $chroot $ROOT dpkg -P $packages - fi -fi - -exit 0 -- cgit v1.2.1