2012/11/17

sqldeveloper-package for Debian and derivatives

NOTICE:

sqldeveloper-package for Debian and derivatives has moved to GitHub Pages.


This page will no longer be maintained and only kept for historical reasons. Please update your links and/or favorite accordingly.



sqldeveloper-package is a small script that will build a Debian package from Oracle's SQL Developer.

This utility makes it possible to build a Debian package of Oracle SQL Developer. The Oracle SQL Developer program is governed by the copyright holder (Oracle USA, Inc.), so you may be limited as to what you can do with the resulting package (i.e. no redistribution, etc). This utility will simply help you create the Debian package, it is your responsibility to use the resulting package acordingly with the OTN license, a copy of which is included in the created package, that you must agree on when downloading the source.

This utility will require you to download the architecture independent archive from <http://www.oracle.com/technetwork/developer-tools/sql-developer>, identified as "Oracle SQL Developer for other platforms", "Oracle SQL Developer for Multiple Platforms" or "Oracle SQL Developer for Linux and Unix" (depending on which version you are building), to create the Debian package from.

The Debian Package sqldeveloper-package

In order to run Oracle SQL Developer you'll need a full working JDK. The versions that are compatible with SQL Developer are any JDK 1.5.0_06 or above or JDK 1.6.0_03 or above for SQL Developer versions up to 1.5.5. SQL Developer versions from 2.1 to 3.1 are compatible with JDK 1.6.0_11 or above and SQL Developer version 3.2 is compatible with JDK 1.6.0_04 or above.

Note that Oracle SQL Developer is not compatible with JDK 1.7 (JDK7.0).

There are several ways to obtain a compatible JDK:
  • install default-jdk (java), making sure it depends on a version 6 JDK
  • install openjdk-6-jdk (java)
  • install the meta-package java-sdk, making sure that it installs a version 6 JDK as dependency
  • install the meta-package java6-sdk, making sure that it installs a version 6 JDK as dependency
  • download and run the installer for the version you wish to install from Oracle <http://www.oracle.com/technetwork/java/javase/downloads/>
  • install java-package (contrib/misc) and generate a Debian package from the above installer

After installing a compatible JDK simply launch SQL Developer through the graphical interface or by invoking /usr/bin/sqldeveloper and supply the path where the JDK was installed when prompted.

Links for the package and source-code can be found online on the releases structure.

Direct links for current and not yet approved versions follow:

Version 0.3.0
  • changelog:
  •   * Addressed all reported issues and bugs:
        - Included debhelper on the build dependency list (LP: #588458)
          (Reported by Seth Rosenblum)
        - Replaced dh options with overrides (LP: #998258)
          (Reported by Christian Loos)
      * Several small fixes and improvements:
        - Fixed an unknown parameter passed to trap when in debug mode
        - Strengthened trap exit handling
        - (Re-)Corrected an unescaped '$' in OTN license text introduced in the
          previous version
      * New homepage for the package
      * Updated documentation regarding compatible JDKs
      * Solved Debian QA warnings:
        - Converted source format to 3.0 (native)
        - Added Homepage to debian/control
      * Changed the source compression format to xz
      * Verified compliancy with Standards-Version: 3.9.3
      * Bumped version to reflect functionality
  • sqldeveloper-package_0.3.0_all.deb (binary package)
  • sqldeveloper-package_0.3.0.dsc (source description file)
  • sqldeveloper-package_0.3.0.tar.xz (source code archive)
  • v0.2.4_v0.3.0.debdiff (debdiff from v0.2.4 to v0.3.0)

Version 0.2.4

2012/11/06

RPM builds for molly-guard (version 0.4.5)

These are current (version 0.4.5) RPMs for the linux command line utility molly-guard.

There are specific builds for Enterprise Linux (Red Hat, CentOS, Oracle, etc.) versions 5 (EL5) and 6 (EL6). I may look into builds for other RPM based variants if enough interest arises.

From the Debian description page for molly-guard:


Package: molly-guard

protects machines from accidental shutdowns/reboots

The package installs a shell script that overrides the existing shutdown/reboot/halt/poweroff commands and first runs a set of scripts, which all have to exit successfully, before molly-guard invokes the real command.

One of the scripts checks for existing SSH sessions. If any of the four commands are called interactively over an SSH session, the shell script prompts you to enter the name of the host you wish to shut down. This should adequately prevent you from accidental shutdowns and reboots.

This shell script passes through the commands to the respective binaries in /sbin and should thus not get in the way if called non-interactively, or locally.

Links for the (S)RPMs can be found online on the rpmbuild structure.

Direct links follow: