]> git.sven.stormbind.net Git - sven/java-package.git/commitdiff
Removed trailing spaces
authorEmmanuel Bourg <ebourg@apache.org>
Thu, 24 Apr 2014 21:21:10 +0000 (23:21 +0200)
committerEmmanuel Bourg <ebourg@apache.org>
Thu, 24 Apr 2014 21:21:10 +0000 (23:21 +0200)
README
debian/changelog
debian/copyright
lib/common.sh
lib/javase.sh
lib/oracle-jdk.sh
make-jpkg
make-jpkg.1

diff --git a/README b/README
index 7367c22bf58c1b7f3166df8d7fd3495e0008096e..4436370e8ca1f67002fe66b9fa198ad3053f6ae7 100644 (file)
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
 
 
-* To be done : 
+* To be done :
 
 - update java-package wiki page : http://wiki.debian.org/JavaPackage?action=edit&editor=text
 - make symbolic links for j2se/jre/bin/* in j2se/bin/ to avoid duplication
 
 - update java-package wiki page : http://wiki.debian.org/JavaPackage?action=edit&editor=text
 - make symbolic links for j2se/jre/bin/* in j2se/bin/ to avoid duplication
index 25345235b02a7321e036c7383731fd3b596dd960..10defdba2cc7ac628979018f99ac7df49af4feb8 100644 (file)
@@ -138,7 +138,7 @@ java-package (0.50) unstable; urgency=low
   * debian-rules-missing-recommended-target removed
   * maintainer-script-lacks-debhelper-token removed
   * Declare the debian/compat to 7 to avoid warnings
   * debian-rules-missing-recommended-target removed
   * maintainer-script-lacks-debhelper-token removed
   * Declare the debian/compat to 7 to avoid warnings
-  
+
   [ Michael Koch ]
   * Remove Java plugins for all browsers (Closes: #367887).
   * Add support for Sun Java 6 Update XX (Closes: #514364).
   [ Michael Koch ]
   * Remove Java plugins for all browsers (Closes: #367887).
   * Add support for Sun Java 6 Update XX (Closes: #514364).
@@ -261,13 +261,13 @@ java-package (0.28) unstable; urgency=low
     (Closes: #338569)
   * Corrected pathing for alternatives installation for Mozilla and
     Firefox plugins (Closes: #341751)
     (Closes: #338569)
   * Corrected pathing for alternatives installation for Mozilla and
     Firefox plugins (Closes: #341751)
-  * Relaxed architectural restrictions on plugin alternative 
+  * Relaxed architectural restrictions on plugin alternative
     installation for IBM Java 5 JREs and JDKs (Closes: #343837)
   * Added plugin installation for the new packaging of Firefox 1.5 and
     later (Closes: #341749)
     installation for IBM Java 5 JREs and JDKs (Closes: #343837)
   * Added plugin installation for the new packaging of Firefox 1.5 and
     later (Closes: #341749)
-  * Modified warning suppression for dh_shlibdeps to accommodate 
+  * Modified warning suppression for dh_shlibdeps to accommodate
     changes in dpkg-dev (Closes: #354427)
     changes in dpkg-dev (Closes: #354427)
-  * Added quotes to variable tests for maintainer name and email 
+  * Added quotes to variable tests for maintainer name and email
     (Closes: #342623)
   * Refactored architecture evaluation to eliminate repetition and
     evaluate DEB_BUILD_GNU_TYPE correctly for i486-linux-gnu
     (Closes: #342623)
   * Refactored architecture evaluation to eliminate repetition and
     evaluate DEB_BUILD_GNU_TYPE correctly for i486-linux-gnu
@@ -293,7 +293,7 @@ java-package (0.26) unstable; urgency=low
   * Resolve issues with powerpc-linux support detection (Closes: #317671)
   * Added support for Blackdown 1.4.2+02 release (Closes: #316831)
   * Added support for packaging Sun JDK documentation (Closes: #272971)
   * Resolve issues with powerpc-linux support detection (Closes: #317671)
   * Added support for Blackdown 1.4.2+02 release (Closes: #316831)
   * Added support for packaging Sun JDK documentation (Closes: #272971)
-  * Modified make-jpkg behavior to default the generated packages' 
+  * Modified make-jpkg behavior to default the generated packages'
     name and email address for the maintainer to Debian Java Maintainers
     (Closes: #325554)
 
     name and email address for the maintainer to Debian Java Maintainers
     (Closes: #325554)
 
@@ -309,7 +309,7 @@ java-package (0.25) unstable; urgency=low
 java-package (0.24) unstable; urgency=low
 
   * Added plugin alternatives support for i386 IBM JREs and JDKs
 java-package (0.24) unstable; urgency=low
 
   * Added plugin alternatives support for i386 IBM JREs and JDKs
-  * Corrected pathing for plugin alternatives to reflect difference in 
+  * Corrected pathing for plugin alternatives to reflect difference in
     layout between JREs and JDKs for Sun and Blackdown (Closes: #305219,
     #301806)
 
     layout between JREs and JDKs for Sun and Blackdown (Closes: #305219,
     #301806)
 
@@ -317,7 +317,7 @@ java-package (0.24) unstable; urgency=low
 
 java-package (0.23.1) experimental; urgency=low
 
 
 java-package (0.23.1) experimental; urgency=low
 
-  * Added architecture-specific pathing for plugin alternatives for 
+  * Added architecture-specific pathing for plugin alternatives for
     Blackdown 1.3 and 1.4 JREs and JDKs
 
  -- Barry Hawkins <barry@bytemason.org>  Wed, 06 Apr 2005 00:03:40 -0500
     Blackdown 1.3 and 1.4 JREs and JDKs
 
  -- Barry Hawkins <barry@bytemason.org>  Wed, 06 Apr 2005 00:03:40 -0500
@@ -325,9 +325,9 @@ java-package (0.23.1) experimental; urgency=low
 java-package (0.23) unstable; urgency=low
 
   * Further expanded 1.3.1 Blackdown JRE/JDK support for i386
 java-package (0.23) unstable; urgency=low
 
   * Further expanded 1.3.1 Blackdown JRE/JDK support for i386
-  * Added architecture-specific pathing for plugin alternatives for 
+  * Added architecture-specific pathing for plugin alternatives for
     Sun 1.4 and 1.5 JREs and JDKs (Closes: #301806)
     Sun 1.4 and 1.5 JREs and JDKs (Closes: #301806)
-  * Added recommends for system elements required by applets and 
+  * Added recommends for system elements required by applets and
     graphical user interface elements (Closes: #300817)
   * Jeroen van Wolffelaar:
     + Fixed packages description to not have too long lines, and make the 3
     graphical user interface elements (Closes: #300817)
   * Jeroen van Wolffelaar:
     + Fixed packages description to not have too long lines, and make the 3
@@ -340,24 +340,24 @@ java-package (0.22.1) experimental; urgency=low
   * Corrected IBM and Blackdown JRE/JDK file size specifications
   * Added support for additional 1.3.1 Blackdown JREs and JDKs for i386,
     powerpc (Closes: #301092)
   * Corrected IBM and Blackdown JRE/JDK file size specifications
   * Added support for additional 1.3.1 Blackdown JREs and JDKs for i386,
     powerpc (Closes: #301092)
-  * Added installation of javaws alternative for Sun 1.5 JREs and JDKs 
+  * Added installation of javaws alternative for Sun 1.5 JREs and JDKs
     (Closes: #300303)
 
  -- Barry Hawkins <barry@bytemason.org>  Thu, 24 Mar 2005 13:20:18 -0500
 
 java-package (0.22) unstable; urgency=low
 
     (Closes: #300303)
 
  -- Barry Hawkins <barry@bytemason.org>  Thu, 24 Mar 2005 13:20:18 -0500
 
 java-package (0.22) unstable; urgency=low
 
-  * Corrected IBM JRE/JDK scripts to accurately reflect the supported 
+  * Corrected IBM JRE/JDK scripts to accurately reflect the supported
     IBM JDKs and JREs in the generated SUPPORTED file
 
  -- Barry Hawkins <barry@alltc.com>  Fri, 18 Mar 2005 10:21:53 -0500
 
 java-package (0.21) unstable; urgency=low
 
     IBM JDKs and JREs in the generated SUPPORTED file
 
  -- Barry Hawkins <barry@alltc.com>  Fri, 18 Mar 2005 10:21:53 -0500
 
 java-package (0.21) unstable; urgency=low
 
-  * Enable support for IBM JDKs and JREs for x86, amd64, powerpc, 
-    powerpc64, and s390 architectures, based upon a patch by Rico 
+  * Enable support for IBM JDKs and JREs for x86, amd64, powerpc,
+    powerpc64, and s390 architectures, based upon a patch by Rico
     Schiekel (Closes: #264137)
     Schiekel (Closes: #264137)
-  * Enable suppport for Blackdown 1.3.1 JDK and JRE for PowerPC 
+  * Enable suppport for Blackdown 1.3.1 JDK and JRE for PowerPC
     architecture. (Closes: #296205)
   * Update documentation and to reflect current supported JDKs and JREs
 
     architecture. (Closes: #296205)
   * Update documentation and to reflect current supported JDKs and JREs
 
@@ -479,7 +479,7 @@ java-package (0.12) unstable; urgency=low
 
 java-package (0.11) unstable; urgency=low
 
 
 java-package (0.11) unstable; urgency=low
 
-  * change package name java-package and the command build package is 
+  * change package name java-package and the command build package is
     make-jpkg.
 
  -- Takashi Okamoto <tora@debian.org>  Sat, 31 Jul 2004 15:07:36 +0900
     make-jpkg.
 
  -- Takashi Okamoto <tora@debian.org>  Sat, 31 Jul 2004 15:07:36 +0900
@@ -487,9 +487,9 @@ java-package (0.11) unstable; urgency=low
 java-package (0.10) unstable; urgency=low
 
   * change package name mpkg-j2se.
 java-package (0.10) unstable; urgency=low
 
   * change package name mpkg-j2se.
-  * not use *-j2[re|sdk]debian package. Instead of this, add package 
-    dependency to generated package. This reduce the installation for 
-    such extra package. 
+  * not use *-j2[re|sdk]debian package. Instead of this, add package
+    dependency to generated package. This reduce the installation for
+    such extra package.
   * SUN's jdk1.5 beta2 support.
 
  -- Takashi Okamoto <tora@debian.org>  Sun, 18 Jul 2004 13:53:36 +0900
   * SUN's jdk1.5 beta2 support.
 
  -- Takashi Okamoto <tora@debian.org>  Sun, 18 Jul 2004 13:53:36 +0900
index 3028586934dab1d0e6081332f162b2400322876b..e77187e095c614b07e1e45cb1ddf41246ce94b56 100644 (file)
@@ -19,7 +19,7 @@ License: GPL-2
  .
  You should have received a copy of the GNU General Public License
  along with this package; if not, write to the Free Software
  .
  You should have received a copy of the GNU General Public License
  along with this package; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  02110-1301  USA.
  .
  On Debian systems, the complete text of the GNU General Public License
  02110-1301  USA.
  .
  On Debian systems, the complete text of the GNU General Public License
index a9ed23104284fc283c53f32495ae7aa104c08ade..ec105313bd8c662b44b30827830b64b0b5c20828 100644 (file)
@@ -69,7 +69,7 @@ EOF
     mkdir "$extract_dir"
     cd "$extract_dir"
     echo
     mkdir "$extract_dir"
     cd "$extract_dir"
     echo
-    
+
     local extract_cmd
     case "$archive_path" in
     *.tar)
     local extract_cmd
     case "$archive_path" in
     *.tar)
@@ -83,7 +83,7 @@ EOF
     *)
         extract_cmd=sh
     esac
     *)
         extract_cmd=sh
     esac
-    
+
     if ! $extract_cmd "$archive_path"; then
     cat << EOF
 
     if ! $extract_cmd "$archive_path"; then
     cat << EOF
 
@@ -137,7 +137,7 @@ read_maintainer_info() {
         maintainer_name="$DEBNAME"
     else
         default_name="$(getent passwd $(id -run) | cut -d: -f5| cut -d, -f1)"
         maintainer_name="$DEBNAME"
     else
         default_name="$(getent passwd $(id -run) | cut -d: -f5| cut -d, -f1)"
-    
+
     cat << EOF
 
 Please enter your full name. This value will be used in the maintainer
     cat << EOF
 
 Please enter your full name. This value will be used in the maintainer
@@ -154,12 +154,12 @@ EOF
     done
     fi
     fi
     done
     fi
     fi
-    
+
     if [ -z "$maintainer_email" ]; then
     local default_email=
     if [ -n "$DEBEMAIL" ]; then
         maintainer_email="$DEBEMAIL"
     if [ -z "$maintainer_email" ]; then
     local default_email=
     if [ -n "$DEBEMAIL" ]; then
         maintainer_email="$DEBEMAIL"
-    else 
+    else
     if [ -r "/etc/mailname" ]; then
         default_email="$( id -run )@$( cat /etc/mailname )"
     else
     if [ -r "/etc/mailname" ]; then
         default_email="$( id -run )@$( cat /etc/mailname )"
     else
@@ -187,9 +187,9 @@ get_architecture() {
     export DEB_BUILD_ARCH=$(dpkg-architecture -qDEB_BUILD_ARCH)
 
     export DEB_BUILD_GNU_TYPE=$(dpkg-architecture -qDEB_BUILD_GNU_TYPE)
     export DEB_BUILD_ARCH=$(dpkg-architecture -qDEB_BUILD_ARCH)
 
     export DEB_BUILD_GNU_TYPE=$(dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-    
+
     echo "Detected Debian build architecture: ${DEB_BUILD_ARCH:-N/A}"
     echo "Detected Debian build architecture: ${DEB_BUILD_ARCH:-N/A}"
-    
+
     echo "Detected Debian GNU type: ${DEB_BUILD_GNU_TYPE:-N/A}"
 }
 
     echo "Detected Debian GNU type: ${DEB_BUILD_GNU_TYPE:-N/A}"
 }
 
index b1a1111bcb890331ca37c46f23b63fa94a0ead0b..20756e7be2ce4ce095b33053a9a5645491e29415 100644 (file)
@@ -3,7 +3,7 @@ j2se_readme() {
 Package for $j2se_title
 ---
 
 Package for $j2se_title
 ---
 
-This package has been automatically created with java-package ($version). 
+This package has been automatically created with java-package ($version).
 All files from the original distribution should have been installed in
 the directory $jvm_base$j2se_name. Please take a look at this directory for
 further information.
 All files from the original distribution should have been installed in
 the directory $jvm_base$j2se_name. Please take a look at this directory for
 further information.
@@ -45,7 +45,7 @@ subdirectories.
 
 ----------------------------------------------------------------------
 EOF
 
 ----------------------------------------------------------------------
 EOF
-    ( 
+    (
     cd "$install_dir"
     find * -type f -iname copyright |
     while read file; do
     cd "$install_dir"
     find * -type f -iname copyright |
     while read file; do
@@ -122,7 +122,7 @@ fi
 exit 0
 EOF
     chmod 755 "$debian_dir/postinst"
 exit 0
 EOF
     chmod 755 "$debian_dir/postinst"
-    
+
     cat > "$debian_dir/prerm" << EOF
 #!/bin/bash
 
     cat > "$debian_dir/prerm" << EOF
 #!/bin/bash
 
@@ -186,7 +186,7 @@ jinfos() {
 j2se_build() {
     cd "$tmp"
     echo "Create debian package:"
 j2se_build() {
     cd "$tmp"
     echo "Create debian package:"
-    
+
     #export DH_VERBOSE=1
     export DH_COMPAT=7
     export DH_OPTIONS=--tmpdir="$install_dir"
     #export DH_VERBOSE=1
     export DH_COMPAT=7
     export DH_OPTIONS=--tmpdir="$install_dir"
@@ -232,7 +232,7 @@ j2se_build() {
     local deb_filename="$( echo "${j2se_package}_"*.deb )"
     echo "    copy $deb_filename into directory $working_dir/"
     cp "$deb_filename" "$working_dir/"
     local deb_filename="$( echo "${j2se_package}_"*.deb )"
     echo "    copy $deb_filename into directory $working_dir/"
     cp "$deb_filename" "$working_dir/"
-    if [ -n "$genchanges" ]; then 
+    if [ -n "$genchanges" ]; then
         echo "    dpkg-genchanges"
         local changes_filename="${deb_filename%.deb}.changes"
         dpkg-genchanges -b -u. > "$changes_filename"
         echo "    dpkg-genchanges"
         local changes_filename="${deb_filename%.deb}.changes"
         dpkg-genchanges -b -u. > "$changes_filename"
index 6d45ce52b9b595ea667351828651be02e2567519..aba8be50c35c0c8a90edd575467cb764b9c373fe 100644 (file)
@@ -74,8 +74,8 @@ oracle_j2sdk_detect() {
       echo "The archive $archive_name is not supported on the ${DEB_BUILD_ARCH} architecture"
       return
     fi
       echo "The archive $archive_name is not supported on the ${DEB_BUILD_ARCH} architecture"
       return
     fi
-    
-    
+
+
     cat << EOF
 
 Detected product:
     cat << EOF
 
 Detected product:
index f22594a0c0e931b815b81f844cfc22ec83a30f25..758bcf8db075deae3b15dd00b3c6d970f9fecddf 100755 (executable)
--- a/make-jpkg
+++ b/make-jpkg
@@ -15,8 +15,8 @@ lib_dir="/usr/share/java-package"
 [ "$J2SE_PACKAGE_LIBDIR" ] && lib_dir="$J2SE_PACKAGE_LIBDIR"
 
 # If a default has been set for either of the
 [ "$J2SE_PACKAGE_LIBDIR" ] && lib_dir="$J2SE_PACKAGE_LIBDIR"
 
 # If a default has been set for either of the
-# environment variables, use it; otherwise, 
-# default to the name and email used by the 
+# environment variables, use it; otherwise,
+# default to the name and email used by the
 # Debian Java Maintainers project.
 if [ -z "$J2SE_PACKAGE_FULL_NAME" ]; then
     maintainer_name="Debian Java Maintainers"
 # Debian Java Maintainers project.
 if [ -z "$J2SE_PACKAGE_FULL_NAME" ]; then
     maintainer_name="Debian Java Maintainers"
@@ -226,7 +226,7 @@ jvm_base="/usr/lib/jvm/"
 javadoc_base="/usr/share/doc/"
 
 j2se_found=
 javadoc_base="/usr/share/doc/"
 
 j2se_found=
-for var in ${!j2se_detect_*}; do 
+for var in ${!j2se_detect_*}; do
     eval "\$$var"
     if [[ "$j2se_found" == "true" ]]; then
     break;
     eval "\$$var"
     if [[ "$j2se_found" == "true" ]]; then
     break;
index 9575561410f4cb956c35348021fda40b498200c3..2b6baadd24f122169d0c8c7b3961602caaa5d412 100644 (file)
@@ -22,7 +22,7 @@ make-jpkg \- builds Debian packages from Java binary distributions
 [\fIOPTION\fR]... [\fIFILE\fR]
 .SH DESCRIPTION
 .\" TeX users may be more comfortable with the \fB<whatever>\fP and
 [\fIOPTION\fR]... [\fIFILE\fR]
 .SH DESCRIPTION
 .\" TeX users may be more comfortable with the \fB<whatever>\fP and
-.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
 .\" respectively.
 .PP
 \fBmake-jpkg\fP builds a Debian package from the given Java
 .\" respectively.
 .PP
 \fBmake-jpkg\fP builds a Debian package from the given Java
@@ -65,7 +65,7 @@ information and builds a Debian binary package in the current
 directory.
 .PP
 The program requires about 200 MB free disk space in a temporary
 directory.
 .PP
 The program requires about 200 MB free disk space in a temporary
-directory. The temporary directory defaults to 
+directory. The temporary directory defaults to
 .I /tmp
 but you can specify an alternate directory by setting the environment
 variable \fITMPDIR\fR.
 .I /tmp
 but you can specify an alternate directory by setting the environment
 variable \fITMPDIR\fR.