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: [PATCH] Update remaining metapackages on Debian and Ubuntu to conform the current automated scripts on build-farm --- .../lenny/metapackages/rename-meta/Makefile | 8 ------- .../metapackages/rename-meta/debian/rules | 1 - .../sudo-trinity/debian/changelog | 0 .../metapackages/sudo-trinity/debian/compat | 0 .../metapackages/sudo-trinity/debian/dirs | 0 .../debian/distrospecific}/Makefile | 24 +++++++++---------- .../etc/sudoers.d/tde-secure-path | 0 .../metapackages/sudo-trinity/debian/rules | 16 +++++++++++++ .../squeeze/metapackages/rename-meta/Makefile | 8 ------- .../metapackages/rename-meta/debian/rules | 1 - .../sudo-trinity/debian/changelog | 0 .../metapackages/sudo-trinity/debian/compat | 0 .../metapackages/sudo-trinity/debian/dirs | 0 .../debian/distrospecific}/Makefile | 24 +++++++++---------- .../etc/sudoers.d/tde-secure-path | 0 .../metapackages/sudo-trinity/debian/rules | 16 +++++++++++++ .../wheezy/metapackages/rename-meta/Makefile | 8 ------- .../metapackages/rename-meta/debian/rules | 1 - .../sudo-trinity/debian/changelog | 0 .../metapackages/sudo-trinity/debian/compat | 0 .../metapackages/sudo-trinity/debian/dirs | 0 .../debian/distrospecific}/Makefile | 24 +++++++++---------- .../etc/sudoers.d/tde-secure-path | 0 .../metapackages/sudo-trinity/debian/rules | 16 +++++++++++++ .../scripts/casper-bottom/15autologin-trinity | 0 .../scripts/casper-bottom/25adduser-trinity | 0 .../metapackages/casper-trinity/debian/rules | 16 +++++++++++++ .../metapackages/rename-meta/Makefile | 8 ------- .../metapackages/rename-meta/debian/rules | 1 - .../sudo-trinity/debian/changelog | 0 .../metapackages/sudo-trinity/debian/compat | 0 .../metapackages/sudo-trinity/debian/dirs | 0 .../debian/distrospecific}/Makefile | 24 +++++++++---------- .../etc/sudoers.d/tde-secure-path | 0 .../metapackages/sudo-trinity/debian/rules | 16 +++++++++++++ .../{ => debian/distrospecific}/changelog | 0 .../keyrings/trinity-keyring.gpg | 0 .../{ => debian/distrospecific}/md5sums.txt | 0 .../distrospecific}/repositories/trinity.list | 0 .../metapackages/trinity-keyring/debian/rules | 16 +++++++++++-- .../distrospecific}/ubiquity-hooks/55_trinity | 0 .../ubiquity-trinity/debian/rules | 16 +++++++++++++ .../scripts/casper-bottom/15autologin-trinity | 0 .../scripts/casper-bottom/25adduser-trinity | 0 .../metapackages/casper-trinity/debian/rules | 16 +++++++++++++ .../precise/metapackages/rename-meta/Makefile | 8 ------- .../metapackages/rename-meta/debian/rules | 1 - .../metapackages/sudo-trinity/Makefile | 12 ---------- .../sudo-trinity/debian/changelog | 0 .../metapackages/sudo-trinity/debian/compat | 0 .../metapackages/sudo-trinity/debian/dirs | 0 .../debian/distrospecific/Makefile | 12 ++++++++++ .../etc/sudoers.d/tde-secure-path | 0 .../metapackages/sudo-trinity/debian/rules | 16 +++++++++++++ .../distrospecific}/ubiquity-hooks/55_trinity | 0 .../ubiquity-trinity/debian/rules | 16 +++++++++++++ .../scripts/casper-bottom/15autologin-trinity | 0 .../scripts/casper-bottom/25adduser-trinity | 0 .../metapackages/casper-trinity/debian/rules | 16 +++++++++++++ .../raring/metapackages/rename-meta/Makefile | 8 ------- .../metapackages/rename-meta/debian/rules | 1 - .../raring/metapackages/sudo-trinity/Makefile | 12 ---------- .../sudo-trinity/debian/changelog | 0 .../metapackages/sudo-trinity/debian/compat | 0 .../metapackages/sudo-trinity/debian/dirs | 0 .../debian/distrospecific/Makefile | 12 ++++++++++ .../etc/sudoers.d/tde-secure-path | 0 .../metapackages/sudo-trinity/debian/rules | 16 +++++++++++++ .../distrospecific}/ubiquity-hooks/55_trinity | 0 .../ubiquity-trinity/debian/rules | 16 +++++++++++++ 70 files changed, 278 insertions(+), 128 deletions(-) delete mode 100644 debian/lenny/metapackages/rename-meta/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 rename debian/{wheezy/metapackages/sudo-trinity => lenny/metapackages/sudo-trinity/debian/distrospecific}/Makefile (67%) mode change 100755 => 100644 rename debian/lenny/metapackages/sudo-trinity/{ => debian/distrospecific}/etc/sudoers.d/tde-secure-path (100%) delete mode 100644 debian/squeeze/metapackages/rename-meta/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 rename debian/{lenny/metapackages/sudo-trinity => squeeze/metapackages/sudo-trinity/debian/distrospecific}/Makefile (67%) mode change 100755 => 100644 rename debian/squeeze/metapackages/sudo-trinity/{ => debian/distrospecific}/etc/sudoers.d/tde-secure-path (100%) delete mode 100644 debian/wheezy/metapackages/rename-meta/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 rename {ubuntu/maverick/metapackages/sudo-trinity => debian/wheezy/metapackages/sudo-trinity/debian/distrospecific}/Makefile (67%) mode change 100755 => 100644 rename debian/wheezy/metapackages/sudo-trinity/{ => debian/distrospecific}/etc/sudoers.d/tde-secure-path (100%) rename ubuntu/maverick/metapackages/casper-trinity/{ => debian/distrospecific}/scripts/casper-bottom/15autologin-trinity (100%) rename ubuntu/maverick/metapackages/casper-trinity/{ => debian/distrospecific}/scripts/casper-bottom/25adduser-trinity (100%) delete mode 100644 ubuntu/maverick/metapackages/rename-meta/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 rename {debian/squeeze/metapackages/sudo-trinity => ubuntu/maverick/metapackages/sudo-trinity/debian/distrospecific}/Makefile (67%) mode change 100755 => 100644 rename ubuntu/maverick/metapackages/sudo-trinity/{ => debian/distrospecific}/etc/sudoers.d/tde-secure-path (100%) rename ubuntu/maverick/metapackages/trinity-keyring/{ => debian/distrospecific}/changelog (100%) rename ubuntu/maverick/metapackages/trinity-keyring/{ => debian/distrospecific}/keyrings/trinity-keyring.gpg (100%) rename ubuntu/maverick/metapackages/trinity-keyring/{ => debian/distrospecific}/md5sums.txt (100%) rename ubuntu/maverick/metapackages/trinity-keyring/{ => debian/distrospecific}/repositories/trinity.list (100%) rename ubuntu/maverick/metapackages/ubiquity-trinity/{ => debian/distrospecific}/ubiquity-hooks/55_trinity (100%) rename ubuntu/precise/metapackages/casper-trinity/{ => debian/distrospecific}/scripts/casper-bottom/15autologin-trinity (100%) rename ubuntu/precise/metapackages/casper-trinity/{ => debian/distrospecific}/scripts/casper-bottom/25adduser-trinity (100%) 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 rename ubuntu/precise/metapackages/sudo-trinity/{ => debian/distrospecific}/etc/sudoers.d/tde-secure-path (100%) rename ubuntu/precise/metapackages/ubiquity-trinity/{ => debian/distrospecific}/ubiquity-hooks/55_trinity (100%) rename ubuntu/raring/metapackages/casper-trinity/{ => debian/distrospecific}/scripts/casper-bottom/15autologin-trinity (100%) rename ubuntu/raring/metapackages/casper-trinity/{ => debian/distrospecific}/scripts/casper-bottom/25adduser-trinity (100%) 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 rename ubuntu/raring/metapackages/sudo-trinity/{ => debian/distrospecific}/etc/sudoers.d/tde-secure-path (100%) rename ubuntu/raring/metapackages/ubiquity-trinity/{ => debian/distrospecific}/ubiquity-hooks/55_trinity (100%) 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/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/wheezy/metapackages/sudo-trinity/Makefile b/debian/lenny/metapackages/sudo-trinity/debian/distrospecific/Makefile old mode 100755 new mode 100644 similarity index 67% rename from debian/wheezy/metapackages/sudo-trinity/Makefile rename to debian/lenny/metapackages/sudo-trinity/debian/distrospecific/Makefile index bc4653675..f106ff05e --- a/debian/wheezy/metapackages/sudo-trinity/Makefile +++ b/debian/lenny/metapackages/sudo-trinity/debian/distrospecific/Makefile @@ -1,12 +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 \ No newline at end of file +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/etc/sudoers.d/tde-secure-path b/debian/lenny/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path similarity index 100% rename from debian/lenny/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path rename to debian/lenny/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path 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/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/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/lenny/metapackages/sudo-trinity/Makefile b/debian/squeeze/metapackages/sudo-trinity/debian/distrospecific/Makefile old mode 100755 new mode 100644 similarity index 67% rename from debian/lenny/metapackages/sudo-trinity/Makefile rename to debian/squeeze/metapackages/sudo-trinity/debian/distrospecific/Makefile index bc4653675..f106ff05e --- a/debian/lenny/metapackages/sudo-trinity/Makefile +++ b/debian/squeeze/metapackages/sudo-trinity/debian/distrospecific/Makefile @@ -1,12 +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 \ No newline at end of file +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/etc/sudoers.d/tde-secure-path b/debian/squeeze/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path similarity index 100% rename from debian/squeeze/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path rename to debian/squeeze/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path 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/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/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/ubuntu/maverick/metapackages/sudo-trinity/Makefile b/debian/wheezy/metapackages/sudo-trinity/debian/distrospecific/Makefile old mode 100755 new mode 100644 similarity index 67% rename from ubuntu/maverick/metapackages/sudo-trinity/Makefile rename to debian/wheezy/metapackages/sudo-trinity/debian/distrospecific/Makefile index bc4653675..f106ff05e --- a/ubuntu/maverick/metapackages/sudo-trinity/Makefile +++ b/debian/wheezy/metapackages/sudo-trinity/debian/distrospecific/Makefile @@ -1,12 +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 \ No newline at end of file +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/etc/sudoers.d/tde-secure-path b/debian/wheezy/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path similarity index 100% rename from debian/wheezy/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path rename to debian/wheezy/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path 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/ubuntu/maverick/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity b/ubuntu/maverick/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity similarity index 100% rename from ubuntu/maverick/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity rename to ubuntu/maverick/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity diff --git a/ubuntu/maverick/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity b/ubuntu/maverick/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity similarity index 100% rename from ubuntu/maverick/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity rename to ubuntu/maverick/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity 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/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/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/debian/squeeze/metapackages/sudo-trinity/Makefile b/ubuntu/maverick/metapackages/sudo-trinity/debian/distrospecific/Makefile old mode 100755 new mode 100644 similarity index 67% rename from debian/squeeze/metapackages/sudo-trinity/Makefile rename to ubuntu/maverick/metapackages/sudo-trinity/debian/distrospecific/Makefile index bc4653675..f106ff05e --- a/debian/squeeze/metapackages/sudo-trinity/Makefile +++ b/ubuntu/maverick/metapackages/sudo-trinity/debian/distrospecific/Makefile @@ -1,12 +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 \ No newline at end of file +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/etc/sudoers.d/tde-secure-path b/ubuntu/maverick/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path similarity index 100% rename from ubuntu/maverick/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path rename to ubuntu/maverick/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path 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/trinity-keyring/changelog b/ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/changelog similarity index 100% rename from ubuntu/maverick/metapackages/trinity-keyring/changelog rename to ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/changelog diff --git a/ubuntu/maverick/metapackages/trinity-keyring/keyrings/trinity-keyring.gpg b/ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/keyrings/trinity-keyring.gpg similarity index 100% rename from ubuntu/maverick/metapackages/trinity-keyring/keyrings/trinity-keyring.gpg rename to ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/keyrings/trinity-keyring.gpg diff --git a/ubuntu/maverick/metapackages/trinity-keyring/md5sums.txt b/ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/md5sums.txt similarity index 100% rename from ubuntu/maverick/metapackages/trinity-keyring/md5sums.txt rename to ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/md5sums.txt diff --git a/ubuntu/maverick/metapackages/trinity-keyring/repositories/trinity.list b/ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/repositories/trinity.list similarity index 100% rename from ubuntu/maverick/metapackages/trinity-keyring/repositories/trinity.list rename to ubuntu/maverick/metapackages/trinity-keyring/debian/distrospecific/repositories/trinity.list 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/ubiquity-trinity/ubiquity-hooks/55_trinity b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/distrospecific/ubiquity-hooks/55_trinity similarity index 100% rename from ubuntu/maverick/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity rename to ubuntu/maverick/metapackages/ubiquity-trinity/debian/distrospecific/ubiquity-hooks/55_trinity 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/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity b/ubuntu/precise/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity similarity index 100% rename from ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity rename to ubuntu/precise/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity diff --git a/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity b/ubuntu/precise/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity similarity index 100% rename from ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity rename to ubuntu/precise/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity 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/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/etc/sudoers.d/tde-secure-path b/ubuntu/precise/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path similarity index 100% rename from ubuntu/precise/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path rename to ubuntu/precise/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path 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/ubiquity-trinity/ubiquity-hooks/55_trinity b/ubuntu/precise/metapackages/ubiquity-trinity/debian/distrospecific/ubiquity-hooks/55_trinity similarity index 100% rename from ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity rename to ubuntu/precise/metapackages/ubiquity-trinity/debian/distrospecific/ubiquity-hooks/55_trinity 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/raring/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity b/ubuntu/raring/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity similarity index 100% rename from ubuntu/raring/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity rename to ubuntu/raring/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity diff --git a/ubuntu/raring/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity b/ubuntu/raring/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity similarity index 100% rename from ubuntu/raring/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity rename to ubuntu/raring/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity 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/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/etc/sudoers.d/tde-secure-path b/ubuntu/raring/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path similarity index 100% rename from ubuntu/raring/metapackages/sudo-trinity/etc/sudoers.d/tde-secure-path rename to ubuntu/raring/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path 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/ubiquity-trinity/ubiquity-hooks/55_trinity b/ubuntu/raring/metapackages/ubiquity-trinity/debian/distrospecific/ubiquity-hooks/55_trinity similarity index 100% rename from ubuntu/raring/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity rename to ubuntu/raring/metapackages/ubiquity-trinity/debian/distrospecific/ubiquity-hooks/55_trinity 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