[X2Go-Commits] [nx-libs] 01/05: debian/roll-tarball.sh: Make sure *.keyboard, debian/**, nx-libs.spec, .pc/** don't end up in tarball (special focuse on the nx-libs-lite tarball).

git-admin at x2go.org git-admin at x2go.org
Thu May 28 14:57:45 CEST 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.5.0.x
in repository nx-libs.

commit b3ece6448e5f5bf979395b7f98be979961413ee8
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu May 28 12:55:34 2015 +0200

    debian/roll-tarball.sh: Make sure *.keyboard, debian/**, nx-libs.spec, .pc/** don't end up in tarball (special focuse on the nx-libs-lite tarball).
---
 debian/changelog        |    3 +++
 debian/roll-tarballs.sh |   11 +++++------
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 69c7f03..e2fbcc4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -179,6 +179,9 @@ nx-libs (2:3.5.0.32-0x2go1) UNRELEASED; urgency=low
   * Security fixes:
     - X.Org CVE-2015-3418:
       1210-CVE-2015-3418-dix-Allow-zero-height-PutImage-re.full.patch
+  * debian/roll-tarball.sh:
+    + Make sure *.keyboard, debian/**, nx-libs.spec, .pc/** don't end up
+      in tarball (special focuse on the nx-libs-lite tarball).
 
   [ Nito Martinez ]
   * nxcomp: fix DEBUG, TEST, DUMP, FLUSH, TOKEN, PING, MIXED et al builds.
diff --git a/debian/roll-tarballs.sh b/debian/roll-tarballs.sh
index d091b90..e5dd8e6 100755
--- a/debian/roll-tarballs.sh
+++ b/debian/roll-tarballs.sh
@@ -104,8 +104,6 @@ else
 fi
 cp -v "debian/VERSION" "./nxcomp/VERSION"
 cp -v "debian/COPYING.full+lite" "COPYING"
-cp -v "debian/nxagent.keyboard" "nxagent.keyboard"
-cp -v "debian/x2goagent.keyboard" "x2goagent.keyboard"
 
 # apply all patches shipped in debian/patches and create a copy of them that we ship with the tarball
 if [ -s "doc/applied-patches/series" ]; then
@@ -149,10 +147,6 @@ if [ "x$MODE" = "xfull" ]; then
     PRESERVE_INCLUDED_FILES="$(cat "debian/CODE-REDUCTION_PRESERVE-INCLUDED")"
     PRESERVE_NEEDED_FILES="$(cat "debian/CODE-REDUCTION_PRESERVE-NEEDED")"
 
-    # remove folders that we do not want to roll into the tarball
-    rm -Rf ".pc/"
-    rm -Rf "debian/"
-
     mkdir -p ".preserve/"
     for path in ${PRESERVE_SYMLINKED_FILES} ${PRESERVE_INCLUDED_FILES} ${PRESERVE_NEEDED_FILES}; do
         if [ ! -d "$path" ]; then
@@ -173,6 +167,11 @@ if [ "x$MODE" = "xfull" ]; then
     rm -Rf ".preserve/"
 fi
 
+# remove files/folders that we do not want to roll into the tarball
+rm -Rf ".pc/"
+rm -Rf "debian/"
+rm -f  "nx-libs.spec"
+
 # remove files, that we do not want in the tarballs (build cruft)
 rm -Rf nx*/configure nx*/autom4te.cache*
 

--
Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list