about summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorajs124 <git@ajs124.de>2022-03-31 22:04:38 +0200
committerajs124 <git@ajs124.de>2022-04-03 16:14:58 +0100
commit06be988015f6efef126a066e64c37b2fe0acad45 (patch)
tree95026604e32dadc9794489f7160f1dc7af3cda66 /pkgs/servers
parent64a3d95fc11c7bdf4ff63f65987ee57c6358f7f1 (diff)
openxpki: remove after being marked broken for over two years
It was marked in commit dfd64de89bb2f51aa72871539d06d51784ede43a by Robin Gloster on 2019-08-21 (commited on 2019-08-21)
Diffstat (limited to 'pkgs/servers')
-rw-r--r--pkgs/servers/openxpki/default.nix83
-rw-r--r--pkgs/servers/openxpki/vergen_revision_state12
2 files changed, 0 insertions, 95 deletions
diff --git a/pkgs/servers/openxpki/default.nix b/pkgs/servers/openxpki/default.nix
deleted file mode 100644
index 52464afb9abb0..0000000000000
--- a/pkgs/servers/openxpki/default.nix
+++ /dev/null
@@ -1,83 +0,0 @@
-{ lib, fetchgit, perl, openssl, perlPackages, gettext, python3Packages
-# TODO: Remove extra dependencies once it is clear that they are NOT needed somewhere.
-, extraDependencies1 ? false, extraDependencies2 ? false, extraDependencies3 ? false }:
-
-perlPackages.buildPerlPackage {
-  pname = "openxpki";
-  version = "git20150807";
-
-  src = fetchgit {
-    url = "https://github.com/openxpki/openxpki";
-    rev = "5cb76c553b6b1a81ede380857700628a7521f6e3";
-    sha256 = "05bmhani2c7ays488xv3hx5xbxb612bnwq5rdjwmsj51xpaz454p";
-  };
-
-  buildInputs = [ perl openssl gettext python3Packages.sphinx ];
-  propagatedBuildInputs = with perlPackages;
-    [ # dependencies from Makefile.PL
-      libintl-perl ConfigVersioned LWP ClassAccessorChained IOSocketSSL ClassStd
-      CGISession ConfigStd ConfigMerge Connector CryptCBC CryptOpenSSLAES CryptPKCS10
-      DBDMock DataPassword DataSerializer DateTimeFormatDateParse IOPrompt
-      IPCShareLite JSON LogLog4perl LWPProtocolConnect LWPProtocolHttps MailRFC822Address
-      Moose NetAddrIP NetDNS NetIP perlldap NetHTTP NetServer NetSSLeay ParamsValidate PathClass
-      ProcProcessTable ProcSafeExec RegexpCommon SOAPLite Switch SysSigAction TemplateToolkit
-      TestPod TestPodCoverage TextCSV_XS Workflow XMLFilterXInclude XMLParser
-      XMLSAX XMLSAXWriter XMLSimple XMLValidatorSchema ]
-    ++ lib.optionals extraDependencies1
-    [ # dependencies from parsing through core/server
-      ClassAccessor PathTools DataDumper DateTime DateTimeFormatStrptime DBI
-      Encode ExceptionClass FilePath FileTemp Filter GetoptLong HTMLParser
-      ScalarListUtils MathBigInt Memoize libnet RTClientREST
-      Storable ]
-    ++ lib.optionals extraDependencies2
-    [ # dependencies taken from Debian
-      MooseXTypesPathClass DataStreamBulk MooseXStrictConstructor GitPurePerl
-      ConfigGitLike DevelStackTrace TreeDAGNode ClassObservable ClassFactory TimeDate ConfigAny
-      CGIFast ClassISA YAML YAMLLibYAML AuthenSASL TextCSV FileFindRulePerl IODigest ]
-    ++ lib.optionals extraDependencies3
-    [ # dependencies taken from https://metacpan.org/pod/release/ALECH/Bundle-OpenXPKI-0.06/lib/Bundle/OpenXPKI.pm
-      AttributeParamsValidate BC CGI CPAN CacheCache ClassClassgenclassgen
-      ClassContainer ClassDataInheritable ClassSingleton ConvertASN1 DBDSQLite DBIxHTMLViewLATEST
-      DBFile DataPage DataSpreadPagination DateTimeLocale DateTimeTimeZone DevelPPPort
-      DevelSymdump DigestSHA1 Env Error ExtUtilsConstant ExtUtilsInstall
-      ExtUtilsMakeMaker FileCheckTree GoferTransporthttp HTMLMason HTMLTagset
-      HTTPServerSimpleMason IO IPCSysV LocaleCodes LogDispatch MathBigRat
-      MathRound ModuleBuild ModuleBuildDeprecated NetPing PodChecker
-      PodCoverage PodLaTeX PodParser PodPerldoc PodPlainer PodSimple
-      SubUplevel SysSyslog TemplatePluginAutoformat TermReadKey TestException
-      TestHTTPServerSimple TestHarnessStraps TextBalanced TextIconv TextSoundex
-      ThreadQueue TieFile TieRefHash TimeLocal URI
-      UnicodeNormalize WWWMechanize Want XMLFilterBufferText XMLNamespaceSupport bignum
-      libapreq2 libnet podlators threadsshared version ];
-
-  preConfigure = ''
-    substituteInPlace core/server/Makefile.PL \
-      --replace "my \$openssl_inc_dir = ''';" "my \$openssl_inc_dir = '${openssl.dev}/include';" \
-      --replace "my \$openssl_lib_dir = ''';" "my \$openssl_lib_dir = '${lib.getLib openssl}/lib';" \
-      --replace "my \$openssl_binary  = ''';" "my \$openssl_binary  = '${openssl.bin}/bin/openssl';"
-    substituteInPlace tools/vergen --replace "#!/usr/bin/perl" "#!${perl}/bin/perl"
-    cp ${./vergen_revision_state} .vergen_revision_state
-    cd core/server
-    '';
-
-  postInstall = ''
-    mkdir -p $out/share/openxpki
-    cp -r ../htdocs_source $out/share/openxpki/.
-    cp -r ../../config $out/share/openxpki/.
-    cp -r ../../qatest $out/share/openxpki/.
-    (cd ../i18n; make scan; make; make install PREFIX=$out)
-    (cd ../../clients/perl/OpenXPKI-Client-Enrollment; perl Makefile.PL PREFIX=$out; make; make install PREFIX=$out)
-    (cd ../../doc; make html man; cp _build/man/* $out/share/man/man1/.; mkdir -p $out/share/openxpki/doc; cp -r _build/{html,doctrees} $out/share/openxpki/doc/.)
-    '';
-
-  doCheck = false;
-
-  meta = {
-    homepage = "http://www.openxpki.org";
-    description = "Enterprise-grade PKI/Trustcenter software";
-    license = lib.licenses.asl20;
-    maintainers = with lib.maintainers; [ tstrobel ];
-    platforms = with lib.platforms; linux;
-    broken = true;  # broken with openssl 1.1 (v2.x might fix this)
-  };
-}
diff --git a/pkgs/servers/openxpki/vergen_revision_state b/pkgs/servers/openxpki/vergen_revision_state
deleted file mode 100644
index 9a5d7b531de47..0000000000000
--- a/pkgs/servers/openxpki/vergen_revision_state
+++ /dev/null
@@ -1,12 +0,0 @@
-$revision_info = {
-                   'git-tag' => 'v0.33.0',
-                   'git-tags' => 'v0.33.0',
-                   'git-branch' => 'master',
-                   'git-description-root' => undef,
-                   'git-description' => 'v0.33.0',
-                   'revision' => '1591',
-                   'last-changed-revision' => '1591',
-                   'git-abbreviated-commit-hash' => '5cb76c5',
-                   'git-commit-hash' => '5cb76c553b6b1a81ede380857700628a7521f6e3',
-                   'git-commit-date' => 'Tue, 4 Aug 2015 12:47:29 +0200'
-                 };