diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/rex |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/rex')
-rw-r--r-- | app-admin/rex/Manifest | 12 | ||||
-rw-r--r-- | app-admin/rex/metadata.xml | 359 | ||||
-rw-r--r-- | app-admin/rex/rex-1.3.3.ebuild | 61 | ||||
-rw-r--r-- | app-admin/rex/rex-1.4.0-r1.ebuild | 59 | ||||
-rw-r--r-- | app-admin/rex/rex-1.4.1.ebuild | 59 | ||||
-rw-r--r-- | app-admin/rex/rex-1.5.0.ebuild | 144 | ||||
-rw-r--r-- | app-admin/rex/rex-9999.ebuild | 144 |
7 files changed, 838 insertions, 0 deletions
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest new file mode 100644 index 000000000000..8f0a65b280d5 --- /dev/null +++ b/app-admin/rex/Manifest @@ -0,0 +1,12 @@ +DIST Rex-1.3.3.tar.gz 274725 SHA256 111e80515fc3c1846668aa4ff0731443a58f3e74d78063dfc61fea96ca49cde6 SHA512 b2331e400027568f59496ff52f0a19bd009f66fea2a5b80ed9055859f59f0057afa50f61934cccd5af434c6f60dfa99700bc3904127b822a5ae684cb8bb6c70c WHIRLPOOL c8285e50f0259060ead8e86b120b3a16d6a1f506dec8eead33ac5e8a0af8371083a73315cf859c99433a7b8c902cbd48f383326c6ce2b0c4d900681baf623a51 +DIST Rex-1.4.0.tar.gz 289330 SHA256 b4f930044ea907aae67c18f347a33b55cd3da4efe5f5a5869db3c891d6c4e125 SHA512 d14489157860df1b32dd2b4af7ce8148a9693d66f59bc0ee228c7c4ff57f38f7b308212c18fc7c0aff7a585a76028a9de0a7a96f8eb58c2455d19bd6b2713eab WHIRLPOOL ee24b8c0770a94f84e6ae6ad5c3002f2e3be3a6e416121443c142477307674499fd631c0d72569aefcf81875365cd84fdd37666c9235c873b6adf5acb51eee3c +DIST Rex-1.4.1.tar.gz 317358 SHA256 6898add0c9ad8b30b1ea5f70730a53cf899e4fe7228e1f8d5006d6694cfe8eb2 SHA512 07e7d950326aaa60e05977f2acb2ac90f07efe0d56411ba202a4c60a890c37e984c6786383623ac67f8e36052cf8436e8430fd024dde282a7d2530425b420e8e WHIRLPOOL e67b3e73c8d1337f2b91104d80132b860fb49f045bca12c15d57651204dd23811248e196962fcda41afdfdc6a2ad1123dc5829d1fd04bd17879bea812b281a47 +DIST Rex-1.5.0.tar.gz 327424 SHA256 c042a0ed4920070d4508b6e7d2c36d28b3a5691938f2e0a0d7717977b44b82d0 SHA512 43a1e147e5d2dccdc641479f2bf5449b0051651d152823738caf946bb3ceecb444011c3273f0c70ca5feab737702f6cd609f5b211eec8261e1facd80c82b6c73 WHIRLPOOL eca2ecd1a0bd18355cf1dcf1b20df795bd25788acf10b800d2216fb78ecc87a63556dc1d40d0da0ff7487b2540e7c33efc14f324780d6d401d068762fa6921d0 +EBUILD rex-1.3.3.ebuild 1141 SHA256 7cd0b3c95409009f4182b51db14fb7a071791ae9405aed56892dcdfd4c9a760b SHA512 f2ed11f8acf92f45b0fa649f84d4849b8cac068cfeeac93010383e2f8463f820cf50da99b9f1f7c76bc7cc268728e26800e97ae99ac28ae2e2d56da4783cb3e4 WHIRLPOOL 12b042ba80072c966cc29afe4ae4cc4c6152260da779b3b0554cc1cc57bb1bae510a0515f0dda6dd5ed91541c9f5862655a14da9e2dad46687b4fbcd5c5d820d +EBUILD rex-1.4.0-r1.ebuild 1129 SHA256 c9f7436e4df04ae5e34dab999c340e713256c17f6dc2ff3134c2bbb8490881a2 SHA512 56e4de394eadb91801dfb686b56f4e2e84908cb4f5ef358c88e6f25f94512e6497d923a71d7ac8bfa3713ab7db26e22108f6a2260bee310c514a5e7407381be2 WHIRLPOOL 96bd6aab3bf8c68d9578ae37d3c4bd3958243cd3724f95d7c26c52e709349de1f4e9041a20c48d9ad1ca9587f9d970a4c27fa4e89df57e3ded0941d3ebdb19dd +EBUILD rex-1.4.1.ebuild 1130 SHA256 5d76977cc9f062ced298318f17ace2bb418be8d294a4e09603be68619962a3a4 SHA512 0dc625298b996064fbfdc389fda95b7bcc6bcee7d9321da2e0c54a658e6fe741a11d345472f2d19f331bd89c0bb1d1262d694229d1f48bac6310b03202e18784 WHIRLPOOL ca9a867eb981148cb9e7b159ceabbed975a4670c6e58ffbb288bf96e78201c660c05f541529c5c389d5a208abf116d764502848059595883a309430980c5d0a3 +EBUILD rex-1.5.0.ebuild 3642 SHA256 edcfac037e8f5173108f686af14b5f350d2b8cbe31c11ffd690ce5b2bb62bb12 SHA512 10806ed105703e4a8eac0c85b9bb6d7176943e8aa7ff744cc681af6eb9e042eb1b08832ab79c27016b1157bd62c0fa60a3415bdc7847c96f168bcc1e3e14573a WHIRLPOOL 7d86c7c0c912ae8f3839acd1715bf2c33a9c411da1b5503eb75e1d17e45c5d9b233662c225fbd716edf48f2a21939eb18108a0778c10be4f179cbe73a449fd09 +EBUILD rex-9999.ebuild 3642 SHA256 edcfac037e8f5173108f686af14b5f350d2b8cbe31c11ffd690ce5b2bb62bb12 SHA512 10806ed105703e4a8eac0c85b9bb6d7176943e8aa7ff744cc681af6eb9e042eb1b08832ab79c27016b1157bd62c0fa60a3415bdc7847c96f168bcc1e3e14573a WHIRLPOOL 7d86c7c0c912ae8f3839acd1715bf2c33a9c411da1b5503eb75e1d17e45c5d9b233662c225fbd716edf48f2a21939eb18108a0778c10be4f179cbe73a449fd09 +MISC ChangeLog 3994 SHA256 ef66717839d3c8f020d111ef1106a59db4e04b2336c4258c07a0fb2ca57e1735 SHA512 260173f473c3abc544e3173f96ce72fdcb93bc263b1e45f69fadc588b12d10ef0b74524a790962e470024135a34abf349361081f603ad6d2491cdfd462a78b01 WHIRLPOOL f164f54458fc86e79a7b98bbd6f02835ee3b89070b04ea0e7349ce617d0f0c44e6f67b5126a4bbce89d87bffd2b80e6e92f64749fc24ba0388776cc3cf65c765 +MISC ChangeLog-2015 4557 SHA256 d4c552bda6dc2eea294418aba67a9e88dfd5aa959cf4b0812be241c92341ab75 SHA512 55c1fc501d736cbf27caabe68a69ab26e1e5fc7ee3d3de0fb75a8a2c16ec99f7cbd18330fb7973e44efa6205ff22c210e5180d56cab92578b618f85d1e7fc8da WHIRLPOOL 786987d2748787fa0f6742ffbe3d10a28da980cd9eed90c0e107fc1a13e68ab1fda54b3009275bc4a92a5258a72b36b8f5cee68be9c68d1f25edcabe22d4a1e2 +MISC metadata.xml 23689 SHA256 73f6457ca64acc5c42a35fa14eb28b20d329f18d76190fe745150ba88889bc70 SHA512 136db3e5b2495b8e3b08feafeb4426c7692ee13d7366bec18e56e231d30823c3e36066a70538f0c3c972ec06955f746e8400819c22751caa164e1a72331a6148 WHIRLPOOL 0ed741ca55aad4322f9d5add881e6a22988ab6f16c2665665b4f3ff61f0d52f53b1807731b727b5e463bc0f1d29ee487a96fef23dd404ae10563017c1772e487 diff --git a/app-admin/rex/metadata.xml b/app-admin/rex/metadata.xml new file mode 100644 index 000000000000..8ff646c52b5c --- /dev/null +++ b/app-admin/rex/metadata.xml @@ -0,0 +1,359 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>erkiferenc@gmail.com</email> + <name>Ferenc Erki</name> + </maintainer> + <maintainer type="person"> + <email>patrick@gentoo.org</email> + <name>Patrick Lauer</name> + </maintainer> + <maintainer type="person"> + <email>kentnl@gentoo.org</email> + <name>Kent Fredric</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">RexOps/Rex</remote-id> + <remote-id type="cpan">Rex</remote-id> + <remote-id type="cpan-module">Rex</remote-id> + <remote-id type="cpan-module">Rex::Args</remote-id> + <remote-id type="cpan-module">Rex::Args::Integer</remote-id> + <remote-id type="cpan-module">Rex::Args::Single</remote-id> + <remote-id type="cpan-module">Rex::Args::String</remote-id> + <remote-id type="cpan-module">Rex::Batch</remote-id> + <remote-id type="cpan-module">Rex::Box</remote-id> + <remote-id type="cpan-module">Rex::Box::Amazon</remote-id> + <remote-id type="cpan-module">Rex::Box::Base</remote-id> + <remote-id type="cpan-module">Rex::Box::KVM</remote-id> + <remote-id type="cpan-module">Rex::Box::VBox</remote-id> + <remote-id type="cpan-module">Rex::CLI</remote-id> + <remote-id type="cpan-module">Rex::CMDB</remote-id> + <remote-id type="cpan-module">Rex::CMDB::Base</remote-id> + <remote-id type="cpan-module">Rex::CMDB::YAML</remote-id> + <remote-id type="cpan-module">Rex::Cloud</remote-id> + <remote-id type="cpan-module">Rex::Cloud::Amazon</remote-id> + <remote-id type="cpan-module">Rex::Cloud::Base</remote-id> + <remote-id type="cpan-module">Rex::Cloud::Jiffybox</remote-id> + <remote-id type="cpan-module">Rex::Cloud::OpenStack</remote-id> + <remote-id type="cpan-module">Rex::Commands</remote-id> + <remote-id type="cpan-module">Rex::Commands::Augeas</remote-id> + <remote-id type="cpan-module">Rex::Commands::Box</remote-id> + <remote-id type="cpan-module">Rex::Commands::Cloud</remote-id> + <remote-id type="cpan-module">Rex::Commands::Cron</remote-id> + <remote-id type="cpan-module">Rex::Commands::DB</remote-id> + <remote-id type="cpan-module">Rex::Commands::Download</remote-id> + <remote-id type="cpan-module">Rex::Commands::File</remote-id> + <remote-id type="cpan-module">Rex::Commands::Fs</remote-id> + <remote-id type="cpan-module">Rex::Commands::Gather</remote-id> + <remote-id type="cpan-module">Rex::Commands::Host</remote-id> + <remote-id type="cpan-module">Rex::Commands::Inventory</remote-id> + <remote-id type="cpan-module">Rex::Commands::Iptables</remote-id> + <remote-id type="cpan-module">Rex::Commands::JobControl</remote-id> + <remote-id type="cpan-module">Rex::Commands::Kernel</remote-id> + <remote-id type="cpan-module">Rex::Commands::LVM</remote-id> + <remote-id type="cpan-module">Rex::Commands::MD5</remote-id> + <remote-id type="cpan-module">Rex::Commands::Mkfs</remote-id> + <remote-id type="cpan-module">Rex::Commands::Network</remote-id> + <remote-id type="cpan-module">Rex::Commands::Notify</remote-id> + <remote-id type="cpan-module">Rex::Commands::Partition</remote-id> + <remote-id type="cpan-module">Rex::Commands::Pkg</remote-id> + <remote-id type="cpan-module">Rex::Commands::PkgConf</remote-id> + <remote-id type="cpan-module">Rex::Commands::Process</remote-id> + <remote-id type="cpan-module">Rex::Commands::Rsync</remote-id> + <remote-id type="cpan-module">Rex::Commands::Run</remote-id> + <remote-id type="cpan-module">Rex::Commands::SCM</remote-id> + <remote-id type="cpan-module">Rex::Commands::Service</remote-id> + <remote-id type="cpan-module">Rex::Commands::SimpleCheck</remote-id> + <remote-id type="cpan-module">Rex::Commands::Sync</remote-id> + <remote-id type="cpan-module">Rex::Commands::Sysctl</remote-id> + <remote-id type="cpan-module">Rex::Commands::Tail</remote-id> + <remote-id type="cpan-module">Rex::Commands::Upload</remote-id> + <remote-id type="cpan-module">Rex::Commands::User</remote-id> + <remote-id type="cpan-module">Rex::Commands::Virtualization</remote-id> + <remote-id type="cpan-module">Rex::Config</remote-id> + <remote-id type="cpan-module">Rex::Constants</remote-id> + <remote-id type="cpan-module">Rex::Cron</remote-id> + <remote-id type="cpan-module">Rex::Cron::Base</remote-id> + <remote-id type="cpan-module">Rex::Cron::FreeBSD</remote-id> + <remote-id type="cpan-module">Rex::Cron::Linux</remote-id> + <remote-id type="cpan-module">Rex::Cron::SunOS</remote-id> + <remote-id type="cpan-module">Rex::Exporter</remote-id> + <remote-id type="cpan-module">Rex::FS::File</remote-id> + <remote-id type="cpan-module">Rex::File::Parser::Data</remote-id> + <remote-id type="cpan-module">Rex::File::Parser::Ini</remote-id> + <remote-id type="cpan-module">Rex::Fork::Manager</remote-id> + <remote-id type="cpan-module">Rex::Fork::Task</remote-id> + <remote-id type="cpan-module">Rex::Group</remote-id> + <remote-id type="cpan-module">Rex::Group::Entry::Server</remote-id> + <remote-id type="cpan-module">Rex::Group::Lookup::Command</remote-id> + <remote-id type="cpan-module">Rex::Group::Lookup::DBI</remote-id> + <remote-id type="cpan-module">Rex::Group::Lookup::File</remote-id> + <remote-id type="cpan-module">Rex::Group::Lookup::INI</remote-id> + <remote-id type="cpan-module">Rex::Group::Lookup::XML</remote-id> + <remote-id type="cpan-module">Rex::Group::Lookup::YAML</remote-id> + <remote-id type="cpan-module">Rex::Hardware</remote-id> + <remote-id type="cpan-module">Rex::Hardware::Host</remote-id> + <remote-id type="cpan-module">Rex::Hardware::Kernel</remote-id> + <remote-id type="cpan-module">Rex::Hardware::Memory</remote-id> + <remote-id type="cpan-module">Rex::Hardware::Network</remote-id> + <remote-id type="cpan-module">Rex::Hardware::Network::Darwin</remote-id> + <remote-id type="cpan-module">Rex::Hardware::Network::FreeBSD</remote-id> + <remote-id type="cpan-module">Rex::Hardware::Network::Linux</remote-id> + <remote-id type="cpan-module">Rex::Hardware::Network::NetBSD</remote-id> + <remote-id type="cpan-module">Rex::Hardware::Network::OpenBSD</remote-id> + <remote-id type="cpan-module">Rex::Hardware::Network::Solaris</remote-id> + <remote-id type="cpan-module">Rex::Hardware::Swap</remote-id> + <remote-id type="cpan-module">Rex::Hardware::VirtInfo</remote-id> + <remote-id type="cpan-module">Rex::Helper::Array</remote-id> + <remote-id type="cpan-module">Rex::Helper::DBI</remote-id> + <remote-id type="cpan-module">Rex::Helper::Encode</remote-id> + <remote-id type="cpan-module">Rex::Helper::File::Spec</remote-id> + <remote-id type="cpan-module">Rex::Helper::File::Stat</remote-id> + <remote-id type="cpan-module">Rex::Helper::File::Stat::Unix</remote-id> + <remote-id type="cpan-module">Rex::Helper::File::Stat::Win32</remote-id> + <remote-id type="cpan-module">Rex::Helper::Hash</remote-id> + <remote-id type="cpan-module">Rex::Helper::INI</remote-id> + <remote-id type="cpan-module">Rex::Helper::IP</remote-id> + <remote-id type="cpan-module">Rex::Helper::Misc</remote-id> + <remote-id type="cpan-module">Rex::Helper::Path</remote-id> + <remote-id type="cpan-module">Rex::Helper::Rexfile::ParamLookup</remote-id> + <remote-id type="cpan-module">Rex::Helper::Run</remote-id> + <remote-id type="cpan-module">Rex::Helper::SSH2</remote-id> + <remote-id type="cpan-module">Rex::Helper::SSH2::Expect</remote-id> + <remote-id type="cpan-module">Rex::Helper::System</remote-id> + <remote-id type="cpan-module">Rex::Helper::URI</remote-id> + <remote-id type="cpan-module">Rex::Helper::UserAgent</remote-id> + <remote-id type="cpan-module">Rex::Hook</remote-id> + <remote-id type="cpan-module">Rex::Interface::Cache</remote-id> + <remote-id type="cpan-module">Rex::Interface::Cache::Base</remote-id> + <remote-id type="cpan-module">Rex::Interface::Cache::YAML</remote-id> + <remote-id type="cpan-module">Rex::Interface::Connection</remote-id> + <remote-id type="cpan-module">Rex::Interface::Connection::Base</remote-id> + <remote-id type="cpan-module">Rex::Interface::Connection::Fake</remote-id> + <remote-id type="cpan-module">Rex::Interface::Connection::HTTP</remote-id> + <remote-id type="cpan-module">Rex::Interface::Connection::HTTPS</remote-id> + <remote-id type="cpan-module">Rex::Interface::Connection::Local</remote-id> + <remote-id type="cpan-module">Rex::Interface::Connection::OpenSSH</remote-id> + <remote-id type="cpan-module">Rex::Interface::Connection::SSH</remote-id> + <remote-id type="cpan-module">Rex::Interface::Exec</remote-id> + <remote-id type="cpan-module">Rex::Interface::Exec::Base</remote-id> + <remote-id type="cpan-module">Rex::Interface::Exec::HTTP</remote-id> + <remote-id type="cpan-module">Rex::Interface::Exec::IOReader</remote-id> + <remote-id type="cpan-module">Rex::Interface::Exec::Local</remote-id> + <remote-id type="cpan-module">Rex::Interface::Exec::OpenSSH</remote-id> + <remote-id type="cpan-module">Rex::Interface::Exec::SSH</remote-id> + <remote-id type="cpan-module">Rex::Interface::Exec::Sudo</remote-id> + <remote-id type="cpan-module">Rex::Interface::Executor</remote-id> + <remote-id type="cpan-module">Rex::Interface::Executor::Base</remote-id> + <remote-id type="cpan-module">Rex::Interface::Executor::Default</remote-id> + <remote-id type="cpan-module">Rex::Interface::File</remote-id> + <remote-id type="cpan-module">Rex::Interface::File::Base</remote-id> + <remote-id type="cpan-module">Rex::Interface::File::HTTP</remote-id> + <remote-id type="cpan-module">Rex::Interface::File::Local</remote-id> + <remote-id type="cpan-module">Rex::Interface::File::OpenSSH</remote-id> + <remote-id type="cpan-module">Rex::Interface::File::SSH</remote-id> + <remote-id type="cpan-module">Rex::Interface::File::Sudo</remote-id> + <remote-id type="cpan-module">Rex::Interface::Fs</remote-id> + <remote-id type="cpan-module">Rex::Interface::Fs::Base</remote-id> + <remote-id type="cpan-module">Rex::Interface::Fs::HTTP</remote-id> + <remote-id type="cpan-module">Rex::Interface::Fs::Local</remote-id> + <remote-id type="cpan-module">Rex::Interface::Fs::OpenSSH</remote-id> + <remote-id type="cpan-module">Rex::Interface::Fs::SSH</remote-id> + <remote-id type="cpan-module">Rex::Interface::Fs::Sudo</remote-id> + <remote-id type="cpan-module">Rex::Interface::Shell</remote-id> + <remote-id type="cpan-module">Rex::Interface::Shell::Ash</remote-id> + <remote-id type="cpan-module">Rex::Interface::Shell::Base</remote-id> + <remote-id type="cpan-module">Rex::Interface::Shell::Bash</remote-id> + <remote-id type="cpan-module">Rex::Interface::Shell::Csh</remote-id> + <remote-id type="cpan-module">Rex::Interface::Shell::Default</remote-id> + <remote-id type="cpan-module">Rex::Interface::Shell::Idrac</remote-id> + <remote-id type="cpan-module">Rex::Interface::Shell::Ksh</remote-id> + <remote-id type="cpan-module">Rex::Interface::Shell::Sh</remote-id> + <remote-id type="cpan-module">Rex::Interface::Shell::Tcsh</remote-id> + <remote-id type="cpan-module">Rex::Interface::Shell::Zsh</remote-id> + <remote-id type="cpan-module">Rex::Inventory</remote-id> + <remote-id type="cpan-module">Rex::Inventory::Bios</remote-id> + <remote-id type="cpan-module">Rex::Inventory::DMIDecode</remote-id> + <remote-id type="cpan-module">Rex::Inventory::DMIDecode::BaseBoard</remote-id> + <remote-id type="cpan-module">Rex::Inventory::DMIDecode::Bios</remote-id> + <remote-id type="cpan-module">Rex::Inventory::DMIDecode::CPU</remote-id> + <remote-id type="cpan-module">Rex::Inventory::DMIDecode::Memory</remote-id> + <remote-id type="cpan-module">Rex::Inventory::DMIDecode::MemoryArray</remote-id> + <remote-id type="cpan-module">Rex::Inventory::DMIDecode::Section</remote-id> + <remote-id type="cpan-module">Rex::Inventory::DMIDecode::SystemInformation</remote-id> + <remote-id type="cpan-module">Rex::Inventory::HP::ACU</remote-id> + <remote-id type="cpan-module">Rex::Inventory::Hal</remote-id> + <remote-id type="cpan-module">Rex::Inventory::Hal::Object</remote-id> + <remote-id type="cpan-module">Rex::Inventory::Hal::Object::Net</remote-id> + <remote-id type="cpan-module">Rex::Inventory::Hal::Object::Storage</remote-id> + <remote-id type="cpan-module">Rex::Inventory::Hal::Object::Volume</remote-id> + <remote-id type="cpan-module">Rex::Inventory::Proc</remote-id> + <remote-id type="cpan-module">Rex::Inventory::Proc::Cpuinfo</remote-id> + <remote-id type="cpan-module">Rex::Inventory::SMBios</remote-id> + <remote-id type="cpan-module">Rex::Inventory::SMBios::BaseBoard</remote-id> + <remote-id type="cpan-module">Rex::Inventory::SMBios::Bios</remote-id> + <remote-id type="cpan-module">Rex::Inventory::SMBios::CPU</remote-id> + <remote-id type="cpan-module">Rex::Inventory::SMBios::Memory</remote-id> + <remote-id type="cpan-module">Rex::Inventory::SMBios::MemoryArray</remote-id> + <remote-id type="cpan-module">Rex::Inventory::SMBios::Section</remote-id> + <remote-id type="cpan-module">Rex::Inventory::SMBios::SystemInformation</remote-id> + <remote-id type="cpan-module">Rex::Logger</remote-id> + <remote-id type="cpan-module">Rex::Notify</remote-id> + <remote-id type="cpan-module">Rex::Output</remote-id> + <remote-id type="cpan-module">Rex::Output::Base</remote-id> + <remote-id type="cpan-module">Rex::Output::JUnit</remote-id> + <remote-id type="cpan-module">Rex::Pkg</remote-id> + <remote-id type="cpan-module">Rex::Pkg::ALT</remote-id> + <remote-id type="cpan-module">Rex::Pkg::Arch</remote-id> + <remote-id type="cpan-module">Rex::Pkg::Base</remote-id> + <remote-id type="cpan-module">Rex::Pkg::Debian</remote-id> + <remote-id type="cpan-module">Rex::Pkg::FreeBSD</remote-id> + <remote-id type="cpan-module">Rex::Pkg::Gentoo</remote-id> + <remote-id type="cpan-module">Rex::Pkg::Mageia</remote-id> + <remote-id type="cpan-module">Rex::Pkg::NetBSD</remote-id> + <remote-id type="cpan-module">Rex::Pkg::OpenBSD</remote-id> + <remote-id type="cpan-module">Rex::Pkg::OpenWrt</remote-id> + <remote-id type="cpan-module">Rex::Pkg::Redhat</remote-id> + <remote-id type="cpan-module">Rex::Pkg::SuSE</remote-id> + <remote-id type="cpan-module">Rex::Pkg::SunOS</remote-id> + <remote-id type="cpan-module">Rex::Pkg::SunOS::OpenCSW</remote-id> + <remote-id type="cpan-module">Rex::Pkg::SunOS::pkg</remote-id> + <remote-id type="cpan-module">Rex::Pkg::Ubuntu</remote-id> + <remote-id type="cpan-module">Rex::PkgConf</remote-id> + <remote-id type="cpan-module">Rex::PkgConf::Base</remote-id> + <remote-id type="cpan-module">Rex::PkgConf::Debian</remote-id> + <remote-id type="cpan-module">Rex::Profiler</remote-id> + <remote-id type="cpan-module">Rex::Report</remote-id> + <remote-id type="cpan-module">Rex::Report::Base</remote-id> + <remote-id type="cpan-module">Rex::Report::YAML</remote-id> + <remote-id type="cpan-module">Rex::Require</remote-id> + <remote-id type="cpan-module">Rex::Resource</remote-id> + <remote-id type="cpan-module">Rex::Resource::Common</remote-id> + <remote-id type="cpan-module">Rex::Resource::firewall</remote-id> + <remote-id type="cpan-module">Rex::Resource::firewall::Provider::base</remote-id> + <remote-id type="cpan-module">Rex::Resource::firewall::Provider::iptables</remote-id> + <remote-id type="cpan-module">Rex::Resource::firewall::Provider::ufw</remote-id> + <remote-id type="cpan-module">Rex::RunList</remote-id> + <remote-id type="cpan-module">Rex::SCM::Git</remote-id> + <remote-id type="cpan-module">Rex::SCM::Subversion</remote-id> + <remote-id type="cpan-module">Rex::Service</remote-id> + <remote-id type="cpan-module">Rex::Service::ALT</remote-id> + <remote-id type="cpan-module">Rex::Service::ALT::systemd</remote-id> + <remote-id type="cpan-module">Rex::Service::Arch::systemd</remote-id> + <remote-id type="cpan-module">Rex::Service::Base</remote-id> + <remote-id type="cpan-module">Rex::Service::Debian</remote-id> + <remote-id type="cpan-module">Rex::Service::Debian::systemd</remote-id> + <remote-id type="cpan-module">Rex::Service::FreeBSD</remote-id> + <remote-id type="cpan-module">Rex::Service::Gentoo</remote-id> + <remote-id type="cpan-module">Rex::Service::Gentoo::systemd</remote-id> + <remote-id type="cpan-module">Rex::Service::Mageia</remote-id> + <remote-id type="cpan-module">Rex::Service::Mageia::systemd</remote-id> + <remote-id type="cpan-module">Rex::Service::NetBSD</remote-id> + <remote-id type="cpan-module">Rex::Service::OpenBSD</remote-id> + <remote-id type="cpan-module">Rex::Service::OpenWrt</remote-id> + <remote-id type="cpan-module">Rex::Service::Redhat</remote-id> + <remote-id type="cpan-module">Rex::Service::Redhat::systemd</remote-id> + <remote-id type="cpan-module">Rex::Service::SuSE</remote-id> + <remote-id type="cpan-module">Rex::Service::SuSE::systemd</remote-id> + <remote-id type="cpan-module">Rex::Service::SunOS</remote-id> + <remote-id type="cpan-module">Rex::Service::SunOS::svcadm</remote-id> + <remote-id type="cpan-module">Rex::Service::Ubuntu</remote-id> + <remote-id type="cpan-module">Rex::Shared::Var</remote-id> + <remote-id type="cpan-module">Rex::Shared::Var::Array</remote-id> + <remote-id type="cpan-module">Rex::Shared::Var::Common</remote-id> + <remote-id type="cpan-module">Rex::Shared::Var::Hash</remote-id> + <remote-id type="cpan-module">Rex::Shared::Var::Scalar</remote-id> + <remote-id type="cpan-module">Rex::Sudo::File</remote-id> + <remote-id type="cpan-module">Rex::Task</remote-id> + <remote-id type="cpan-module">Rex::TaskList</remote-id> + <remote-id type="cpan-module">Rex::TaskList::Base</remote-id> + <remote-id type="cpan-module">Rex::TaskList::Parallel_ForkManager</remote-id> + <remote-id type="cpan-module">Rex::Template</remote-id> + <remote-id type="cpan-module">Rex::Template::NG</remote-id> + <remote-id type="cpan-module">Rex::Test</remote-id> + <remote-id type="cpan-module">Rex::Test::Base</remote-id> + <remote-id type="cpan-module">Rex::Test::Base::has_content</remote-id> + <remote-id type="cpan-module">Rex::Test::Base::has_cron</remote-id> + <remote-id type="cpan-module">Rex::Test::Base::has_cron_env</remote-id> + <remote-id type="cpan-module">Rex::Test::Base::has_dir</remote-id> + <remote-id type="cpan-module">Rex::Test::Base::has_file</remote-id> + <remote-id type="cpan-module">Rex::Test::Base::has_file_content</remote-id> + <remote-id type="cpan-module">Rex::Test::Base::has_output</remote-id> + <remote-id type="cpan-module">Rex::Test::Base::has_output_matching</remote-id> + <remote-id type="cpan-module">Rex::Test::Base::has_package</remote-id> + <remote-id type="cpan-module">Rex::Test::Base::has_service_running</remote-id> + <remote-id type="cpan-module">Rex::Test::Base::has_service_stopped</remote-id> + <remote-id type="cpan-module">Rex::Test::Base::has_stat</remote-id> + <remote-id type="cpan-module">Rex::Transaction</remote-id> + <remote-id type="cpan-module">Rex::User</remote-id> + <remote-id type="cpan-module">Rex::User::Base</remote-id> + <remote-id type="cpan-module">Rex::User::FreeBSD</remote-id> + <remote-id type="cpan-module">Rex::User::Linux</remote-id> + <remote-id type="cpan-module">Rex::User::NetBSD</remote-id> + <remote-id type="cpan-module">Rex::User::OpenBSD</remote-id> + <remote-id type="cpan-module">Rex::User::OpenWrt</remote-id> + <remote-id type="cpan-module">Rex::User::SunOS</remote-id> + <remote-id type="cpan-module">Rex::Value</remote-id> + <remote-id type="cpan-module">Rex::Virtualization</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::Base</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::Docker</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::Docker::create</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::Docker::daemon</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::Docker::delete</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::Docker::destroy</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::Docker::info</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::Docker::list</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::Docker::reboot</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::Docker::shutdown</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::Docker::start</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::LibVirt</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::LibVirt::blklist</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::LibVirt::clone</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::LibVirt::create</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::LibVirt::delete</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::LibVirt::destroy</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::LibVirt::dumpxml</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::LibVirt::guestinfo</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::LibVirt::hypervisor</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::LibVirt::iflist</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::LibVirt::import</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::LibVirt::info</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::LibVirt::list</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::LibVirt::option</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::LibVirt::reboot</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::LibVirt::shutdown</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::LibVirt::start</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::LibVirt::status</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::LibVirt::vncdisplay</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::Lxc</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::Lxc::attach</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::Lxc::copy</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::Lxc::create</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::Lxc::destroy</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::Lxc::info</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::Lxc::list</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::Lxc::start</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::Lxc::stop</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::VBox</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::VBox::bridge</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::VBox::create</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::VBox::delete</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::VBox::destroy</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::VBox::forward_port</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::VBox::guestinfo</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::VBox::import</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::VBox::info</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::VBox::list</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::VBox::option</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::VBox::reboot</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::VBox::share_folder</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::VBox::shutdown</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::VBox::start</remote-id> + <remote-id type="cpan-module">Rex::Virtualization::VBox::status</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-admin/rex/rex-1.3.3.ebuild b/app-admin/rex/rex-1.3.3.ebuild new file mode 100644 index 000000000000..6081b372fac1 --- /dev/null +++ b/app-admin/rex/rex-1.3.3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MODULE_AUTHOR=FERKI +MODULE_A=Rex-${PV}.tar.gz + +inherit perl-module + +DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + dev-perl/DBI + dev-perl/Digest-HMAC + dev-perl/Digest-SHA1 + dev-perl/Expect + dev-perl/Hash-Merge + dev-perl/IO-String + dev-perl/IO-Tty + dev-perl/IPC-Shareable + dev-perl/JSON-XS + dev-perl/List-MoreUtils + dev-perl/Net-OpenSSH + dev-perl/Net-SFTP-Foreign + dev-perl/Parallel-ForkManager + dev-perl/Sort-Naturally + dev-perl/String-Escape + dev-perl/TermReadKey + dev-perl/Text-Glob + dev-perl/URI + dev-perl/XML-LibXML + dev-perl/XML-Simple + dev-perl/libwww-perl + dev-perl/YAML + virtual/perl-Carp + virtual/perl-Data-Dumper + virtual/perl-Digest-MD5 + virtual/perl-Exporter + virtual/perl-File-Spec + virtual/perl-MIME-Base64 + virtual/perl-Scalar-List-Utils + virtual/perl-Storable + virtual/perl-Time-HiRes +" + +DEPEND=" + ${RDEPEND} + test? ( + dev-perl/Test-UseAllModules + virtual/perl-File-Temp + ) +" + +SRC_TEST="do" + +S="${WORKDIR}/Rex-${PV}" diff --git a/app-admin/rex/rex-1.4.0-r1.ebuild b/app-admin/rex/rex-1.4.0-r1.ebuild new file mode 100644 index 000000000000..7fdb6b904a41 --- /dev/null +++ b/app-admin/rex/rex-1.4.0-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=FERKI +DIST_NAME=Rex + +inherit perl-module + +DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + dev-perl/DBI + dev-perl/Devel-Caller + dev-perl/Digest-HMAC + dev-perl/Digest-SHA1 + dev-perl/Expect + dev-perl/Hash-Merge + dev-perl/IO-String + dev-perl/IO-Tty + dev-perl/IPC-Shareable + dev-perl/JSON-XS + dev-perl/List-MoreUtils + dev-perl/Net-OpenSSH + dev-perl/Net-SFTP-Foreign + dev-perl/Parallel-ForkManager + dev-perl/Sort-Naturally + dev-perl/String-Escape + dev-perl/TermReadKey + dev-perl/Test-Deep + dev-perl/Text-Glob + dev-perl/URI + dev-perl/XML-LibXML + dev-perl/XML-Simple + dev-perl/libwww-perl + dev-perl/YAML + virtual/perl-Carp + virtual/perl-Data-Dumper + virtual/perl-Digest-MD5 + virtual/perl-Exporter + virtual/perl-File-Spec + virtual/perl-MIME-Base64 + virtual/perl-Scalar-List-Utils + virtual/perl-Storable + virtual/perl-Time-HiRes +" + +DEPEND=" + ${RDEPEND} + test? ( + dev-perl/Test-UseAllModules + virtual/perl-File-Temp + ) +" diff --git a/app-admin/rex/rex-1.4.1.ebuild b/app-admin/rex/rex-1.4.1.ebuild new file mode 100644 index 000000000000..acaf671c78bd --- /dev/null +++ b/app-admin/rex/rex-1.4.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=JFRIED +DIST_NAME=Rex + +inherit perl-module + +DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + dev-perl/DBI + dev-perl/Devel-Caller + dev-perl/Digest-HMAC + dev-perl/Digest-SHA1 + dev-perl/Expect + dev-perl/Hash-Merge + dev-perl/IO-String + dev-perl/IO-Tty + dev-perl/IPC-Shareable + dev-perl/JSON-XS + dev-perl/List-MoreUtils + dev-perl/Net-OpenSSH + dev-perl/Net-SFTP-Foreign + dev-perl/Parallel-ForkManager + dev-perl/Sort-Naturally + dev-perl/String-Escape + dev-perl/TermReadKey + dev-perl/Test-Deep + dev-perl/Text-Glob + dev-perl/URI + dev-perl/XML-LibXML + dev-perl/XML-Simple + dev-perl/libwww-perl + dev-perl/YAML + virtual/perl-Carp + virtual/perl-Data-Dumper + virtual/perl-Digest-MD5 + virtual/perl-Exporter + virtual/perl-File-Spec + virtual/perl-MIME-Base64 + virtual/perl-Scalar-List-Utils + virtual/perl-Storable + virtual/perl-Time-HiRes +" + +DEPEND=" + ${RDEPEND} + test? ( + dev-perl/Test-UseAllModules + virtual/perl-File-Temp + ) +" diff --git a/app-admin/rex/rex-1.5.0.ebuild b/app-admin/rex/rex-1.5.0.ebuild new file mode 100644 index 000000000000..d7c75b836fb6 --- /dev/null +++ b/app-admin/rex/rex-1.5.0.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +if [[ ${PV} == 9999 ]]; then + GITHUB_USER=RexOps + GITHUB_REPO=Rex + EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git" + EGIT_BRANCH="development-1.x" + EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git" + VCS_ECLASS="git-r3" +else + # This is intentional to stop perl-module.eclass doing magic things when it + # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex" + # Also prevents perl-module.eclass provisioning SRC_URI + DIST_AUTHOR=JFRIED + DIST_NAME=Rex + KEYWORDS="~amd64 ~x86" +fi + +inherit perl-module ${VCS_ECLASS} + +DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands" + +SLOT="0" +IUSE="test" + +DZIL_DEPENDS=" + dev-perl/Dist-Zilla + dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome + dev-perl/Dist-Zilla-Plugin-MetaProvides-Package + dev-perl/Dist-Zilla-Plugin-OSPrereqs + dev-perl/Dist-Zilla-Plugin-OurPkgVersion + dev-perl/Dist-Zilla-Plugin-Test-MinimumVersion + dev-perl/Dist-Zilla-Plugin-Test-Perl-Critic +" + +RDEPEND=" + dev-perl/Data-Validate-IP + dev-perl/DBI + dev-perl/Devel-Caller + dev-perl/Digest-HMAC + dev-perl/Digest-SHA1 + dev-perl/Expect + dev-perl/Hash-Merge + dev-perl/IO-String + dev-perl/IO-Tty + dev-perl/IPC-Shareable + dev-perl/JSON-XS + dev-perl/List-MoreUtils + dev-perl/Net-OpenSSH + dev-perl/Net-SFTP-Foreign + dev-perl/Parallel-ForkManager + dev-perl/Sort-Naturally + dev-perl/String-Escape + dev-perl/TermReadKey + dev-perl/Test-Deep + dev-perl/Text-Glob + dev-perl/URI + dev-perl/XML-LibXML + dev-perl/XML-Simple + dev-perl/libwww-perl + dev-perl/YAML + virtual/perl-Carp + virtual/perl-Data-Dumper + virtual/perl-Digest-MD5 + virtual/perl-Exporter + virtual/perl-File-Spec + virtual/perl-MIME-Base64 + virtual/perl-Scalar-List-Utils + virtual/perl-Storable + virtual/perl-Time-HiRes +" + +DEPEND=" + ${RDEPEND} + test? ( + dev-perl/Test-UseAllModules + virtual/perl-File-Temp + ) +" + +[[ ${PV} == 9999 ]] && DEPEND+=" ${DZIL_DEPENDS}" + +src_unpack() { + if [[ $PV == 9999 ]]; then + "${VCS_ECLASS}"_src_unpack + mkdir -p "${S}" || die "Can't make ${S}" + else + default + fi +} + +dzil_to_distdir() { + local dzil_root dest has_missing modname dzil_version + dzil_root="$1" + dest="$2" + + cd "${dzil_root}" || die "Can't enter git workdir '${dzil_root}'"; + + dzil_version="$(dzil version)" || die "Error invoking 'dzil version'" + einfo "Generating CPAN dist with ${dzil_version}" + + has_missing="" + + einfo "Checking dzil authordeps" + while IFS= read -d $'\n' -r modname; do + if [[ -z "${has_missing}" ]]; then + has_missing=1 + eerror "'dzil authordeps' indicates missing build dependencies" + eerror "These will prevent building, please report a bug" + eerror "Missing:" + fi + eerror " ${modname}" + done < <( dzil authordeps --missing --versions ) + + [[ -z "${has_missing}" ]] || die "Satisfy all missing authordeps first" + + einfo "Checking dzil build deps" + while IFS= read -d $'\n' -r modname; do + if [[ -z "${has_missing}" ]]; then + has_missing=1 + ewarn "'dzil listdeps' indicates missing build dependencies" + ewarn "These may prevent building, please report a bug if they do" + ewarn "Missing:" + fi + ewarn " ${modname}" + done < <( dzil listdeps --missing --versions --author ) + + einfo "Generating release" + dzil build --notgz --in "${dest}" || die "Unable to build CPAN dist in '${dest}'" +} + +src_prepare() { + if [[ ${PV} == 9999 ]]; then + # Uses git sources in WORKDIR/rex-git + # to generate a CPAN-style tree in ${S} + # before letting perl-module.eclass do the rest + dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}" + fi + cd "${S}" || die "Can't enter build dir" + perl-module_src_prepare +} diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild new file mode 100644 index 000000000000..d7c75b836fb6 --- /dev/null +++ b/app-admin/rex/rex-9999.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +if [[ ${PV} == 9999 ]]; then + GITHUB_USER=RexOps + GITHUB_REPO=Rex + EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git" + EGIT_BRANCH="development-1.x" + EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git" + VCS_ECLASS="git-r3" +else + # This is intentional to stop perl-module.eclass doing magic things when it + # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex" + # Also prevents perl-module.eclass provisioning SRC_URI + DIST_AUTHOR=JFRIED + DIST_NAME=Rex + KEYWORDS="~amd64 ~x86" +fi + +inherit perl-module ${VCS_ECLASS} + +DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands" + +SLOT="0" +IUSE="test" + +DZIL_DEPENDS=" + dev-perl/Dist-Zilla + dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome + dev-perl/Dist-Zilla-Plugin-MetaProvides-Package + dev-perl/Dist-Zilla-Plugin-OSPrereqs + dev-perl/Dist-Zilla-Plugin-OurPkgVersion + dev-perl/Dist-Zilla-Plugin-Test-MinimumVersion + dev-perl/Dist-Zilla-Plugin-Test-Perl-Critic +" + +RDEPEND=" + dev-perl/Data-Validate-IP + dev-perl/DBI + dev-perl/Devel-Caller + dev-perl/Digest-HMAC + dev-perl/Digest-SHA1 + dev-perl/Expect + dev-perl/Hash-Merge + dev-perl/IO-String + dev-perl/IO-Tty + dev-perl/IPC-Shareable + dev-perl/JSON-XS + dev-perl/List-MoreUtils + dev-perl/Net-OpenSSH + dev-perl/Net-SFTP-Foreign + dev-perl/Parallel-ForkManager + dev-perl/Sort-Naturally + dev-perl/String-Escape + dev-perl/TermReadKey + dev-perl/Test-Deep + dev-perl/Text-Glob + dev-perl/URI + dev-perl/XML-LibXML + dev-perl/XML-Simple + dev-perl/libwww-perl + dev-perl/YAML + virtual/perl-Carp + virtual/perl-Data-Dumper + virtual/perl-Digest-MD5 + virtual/perl-Exporter + virtual/perl-File-Spec + virtual/perl-MIME-Base64 + virtual/perl-Scalar-List-Utils + virtual/perl-Storable + virtual/perl-Time-HiRes +" + +DEPEND=" + ${RDEPEND} + test? ( + dev-perl/Test-UseAllModules + virtual/perl-File-Temp + ) +" + +[[ ${PV} == 9999 ]] && DEPEND+=" ${DZIL_DEPENDS}" + +src_unpack() { + if [[ $PV == 9999 ]]; then + "${VCS_ECLASS}"_src_unpack + mkdir -p "${S}" || die "Can't make ${S}" + else + default + fi +} + +dzil_to_distdir() { + local dzil_root dest has_missing modname dzil_version + dzil_root="$1" + dest="$2" + + cd "${dzil_root}" || die "Can't enter git workdir '${dzil_root}'"; + + dzil_version="$(dzil version)" || die "Error invoking 'dzil version'" + einfo "Generating CPAN dist with ${dzil_version}" + + has_missing="" + + einfo "Checking dzil authordeps" + while IFS= read -d $'\n' -r modname; do + if [[ -z "${has_missing}" ]]; then + has_missing=1 + eerror "'dzil authordeps' indicates missing build dependencies" + eerror "These will prevent building, please report a bug" + eerror "Missing:" + fi + eerror " ${modname}" + done < <( dzil authordeps --missing --versions ) + + [[ -z "${has_missing}" ]] || die "Satisfy all missing authordeps first" + + einfo "Checking dzil build deps" + while IFS= read -d $'\n' -r modname; do + if [[ -z "${has_missing}" ]]; then + has_missing=1 + ewarn "'dzil listdeps' indicates missing build dependencies" + ewarn "These may prevent building, please report a bug if they do" + ewarn "Missing:" + fi + ewarn " ${modname}" + done < <( dzil listdeps --missing --versions --author ) + + einfo "Generating release" + dzil build --notgz --in "${dest}" || die "Unable to build CPAN dist in '${dest}'" +} + +src_prepare() { + if [[ ${PV} == 9999 ]]; then + # Uses git sources in WORKDIR/rex-git + # to generate a CPAN-style tree in ${S} + # before letting perl-module.eclass do the rest + dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}" + fi + cd "${S}" || die "Can't enter build dir" + perl-module_src_prepare +} |