Merge pull request #100088 from flokli/remove-oracle-xe
oracleXE: remove
This commit is contained in:
commit
7d8c02e04f
@ -1,82 +0,0 @@
|
||||
{ stdenv, makeWrapper, requireFile, patchelf, rpmextract, libaio }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "oracle-xe";
|
||||
version = "11.2.0";
|
||||
|
||||
src = requireFile {
|
||||
name = "${pname}-${version}-1.0.x86_64.rpm";
|
||||
sha256 = "0s2jj2xn56v5ys6hxb7l7045hw9c1mm1lhj4p2fvqbs02kqchab6";
|
||||
|
||||
url = "http://www.oracle.com/technetwork/"
|
||||
+ "products/express-edition/downloads/";
|
||||
};
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
unpackCmd = ''
|
||||
(mkdir -p "${pname}-${version}" && cd "${pname}-${version}" &&
|
||||
${rpmextract}/bin/rpmextract "$curSrc")
|
||||
'';
|
||||
|
||||
buildPhase = let
|
||||
libs = makeLibraryPath [ libaio ];
|
||||
in ''
|
||||
basedir="u01/app/oracle/product/${version}/xe"
|
||||
cat > "$basedir/network/admin/listener.ora" <<SQL
|
||||
# listener.ora Network Configuration File:
|
||||
|
||||
SID_LIST_LISTENER =
|
||||
(SID_LIST =
|
||||
(SID_DESC =
|
||||
(SID_NAME = PLSExtProc)
|
||||
(ORACLE_HOME = ''${out}/libexec/oracle)
|
||||
(PROGRAM = extproc)
|
||||
)
|
||||
)
|
||||
|
||||
LISTENER =
|
||||
(DESCRIPTION_LIST =
|
||||
(DESCRIPTION =
|
||||
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
|
||||
(ADDRESS = (PROTOCOL = TCP)(HOST = %hostname%)(PORT = %port%))
|
||||
)
|
||||
)
|
||||
|
||||
DEFAULT_SERVICE_LISTENER = (XE)
|
||||
SQL
|
||||
|
||||
find u01 \
|
||||
\( -name '*.sh' \
|
||||
-o -path "$basedir/bin/*" \
|
||||
\) -print -exec "${patchelf}/bin/patchelf" \
|
||||
--interpreter "$(cat "$NIX_CC/nix-support/dynamic-linker")" \
|
||||
--set-rpath "${libs}:$out/libexec/oracle/lib" \
|
||||
--force-rpath '{}' \;
|
||||
'';
|
||||
|
||||
dontStrip = true;
|
||||
dontPatchELF = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/libexec"
|
||||
cp -r "u01/app/oracle/product/${version}/xe" "$out/libexec/oracle"
|
||||
|
||||
for i in "$out/libexec/oracle/bin"/*; do
|
||||
makeWrapper "$i" "$out/bin/''${i##*/}" \
|
||||
--set ORACLE_HOME "$out/libexec/oracle" \
|
||||
--set ORACLE_SID XE \
|
||||
--run "export NLS_LANG=\$($out/libexec/oracle/bin/nls_lang.sh)" \
|
||||
--prefix PATH : "$out/libexec/oracle/bin"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Oracle Database Express Edition";
|
||||
homepage = "http://www.oracle.com/technetwork/products/express-edition/";
|
||||
license = licenses.unfree;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
@ -556,6 +556,7 @@ mapAliases ({
|
||||
source-han-serif-traditional-chinese = source-han-serif;
|
||||
|
||||
net_snmp = net-snmp; # added 2019-12-21
|
||||
oracleXE = throw "oracleXE has been removed, as it's heavily outdated and unmaintained."; # added 2020-10-09
|
||||
spaceOrbit = space-orbit; # addewd 2016-05-23
|
||||
speech_tools = speech-tools; # added 2018-04-25
|
||||
speedtest_cli = speedtest-cli; # added 2015-02-17
|
||||
|
@ -16948,8 +16948,6 @@ in
|
||||
|
||||
openfire = callPackage ../servers/xmpp/openfire { };
|
||||
|
||||
oracleXE = callPackage ../servers/sql/oracle-xe { };
|
||||
|
||||
softether_4_25 = callPackage ../servers/softether/4.25.nix { openssl = openssl_1_0_2; };
|
||||
softether_4_29 = callPackage ../servers/softether/4.29.nix { };
|
||||
softether = softether_4_29;
|
||||
|
Loading…
Reference in New Issue
Block a user