diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-admin/rex | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
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-1.6.0.ebuild | 145 | ||||
-rw-r--r-- | app-admin/rex/rex-9999.ebuild | 144 |
8 files changed, 983 insertions, 0 deletions
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest new file mode 100644 index 000000000000..d50f3f7eb0e0 --- /dev/null +++ b/app-admin/rex/Manifest @@ -0,0 +1,12 @@ +DIST Rex-1.3.3.tar.gz 274725 BLAKE2B a87576a136baac488a040098f2089412e6b53bb9bc4da94b5d8233adce37d20f75d39960da5bd94dda99bac6c69b51d8834e9481aaef0afdd9d728b2c15b24eb SHA512 b2331e400027568f59496ff52f0a19bd009f66fea2a5b80ed9055859f59f0057afa50f61934cccd5af434c6f60dfa99700bc3904127b822a5ae684cb8bb6c70c +DIST Rex-1.4.0.tar.gz 289330 BLAKE2B 70d74753e5b04b05ea7a5507f5c8c19ae953b4cc28e55e4d52dd57bbe2b3084ec00195d9f65f1a4c0ba712238ba8efe0cc4b33f236a7c4f9bb429ad2f98af652 SHA512 d14489157860df1b32dd2b4af7ce8148a9693d66f59bc0ee228c7c4ff57f38f7b308212c18fc7c0aff7a585a76028a9de0a7a96f8eb58c2455d19bd6b2713eab +DIST Rex-1.4.1.tar.gz 317358 BLAKE2B 8c12d54e86684ec224a75693f82fd4728af32a986f166d530bccc2d06c5087fdb29f067d4419f3160244d37c12ace6cd29ba1322992bcc9f4a481c06e00efa51 SHA512 07e7d950326aaa60e05977f2acb2ac90f07efe0d56411ba202a4c60a890c37e984c6786383623ac67f8e36052cf8436e8430fd024dde282a7d2530425b420e8e +DIST Rex-1.5.0.tar.gz 327424 BLAKE2B ea735ebeef7a4d879ec61783c7ee803f198b4091882bbdbaee1b415330fcb20ba408f082e7ecaaa5c63664d905690bd6b5601d2d726ff20f5dc9d1f8c6d470a4 SHA512 43a1e147e5d2dccdc641479f2bf5449b0051651d152823738caf946bb3ceecb444011c3273f0c70ca5feab737702f6cd609f5b211eec8261e1facd80c82b6c73 +DIST Rex-1.6.0.tar.gz 331330 BLAKE2B cb3a2895c1b7fd775aa762e8af7fbfdf3d14aac0d4ed5cd32bc65f4eb2b7794e438015daf9602cea3a852ed17dd207c9647303a106d8fff2cc89b5ce7a5ff0a2 SHA512 8e4421e034ddf7337266ce2002e96cad12a632ff37742991685d2919e3b11a4f6f3348097fd36717ab83a38e2e46aa974d0e56c67568a857c30f7ea673a51cda +EBUILD rex-1.3.3.ebuild 1141 BLAKE2B 605593249d74463ab84d33b3c678176ab3ef1884387ddd72d98ad970c3d511f64df35c08035c7d5117dd2a94cd3b286b6669a1c4c07f8f15df72a66d682d9601 SHA512 f2ed11f8acf92f45b0fa649f84d4849b8cac068cfeeac93010383e2f8463f820cf50da99b9f1f7c76bc7cc268728e26800e97ae99ac28ae2e2d56da4783cb3e4 +EBUILD rex-1.4.0-r1.ebuild 1129 BLAKE2B c8ecaff070f15ebf7e521368d32949f1421d0d033f865c85a8f3939c57501affa45c5bee769ee1a87a56a5d8365823d447cf8bd11b2fe868ab5f7609d503d54e SHA512 56e4de394eadb91801dfb686b56f4e2e84908cb4f5ef358c88e6f25f94512e6497d923a71d7ac8bfa3713ab7db26e22108f6a2260bee310c514a5e7407381be2 +EBUILD rex-1.4.1.ebuild 1130 BLAKE2B ceb39e880a747e3ac7c5ce2e3169c0568eb129d012a8a8e9e229812c9d9c892321b8d1444bff2bfd25a30fc474255b2f0468df694334b3df3ecf52779df295b0 SHA512 0dc625298b996064fbfdc389fda95b7bcc6bcee7d9321da2e0c54a658e6fe741a11d345472f2d19f331bd89c0bb1d1262d694229d1f48bac6310b03202e18784 +EBUILD rex-1.5.0.ebuild 3642 BLAKE2B ad40f99c572a599b4779aed76fb2176fd2e488c34063d1a440cdc9d3c5d45cb71bdaa5aa3be292ec086dc5f47036a4056a8ad53afaf46856479cc143c9f5b6f2 SHA512 10806ed105703e4a8eac0c85b9bb6d7176943e8aa7ff744cc681af6eb9e042eb1b08832ab79c27016b1157bd62c0fa60a3415bdc7847c96f168bcc1e3e14573a +EBUILD rex-1.6.0.ebuild 3666 BLAKE2B c6c91980826f316f658cfba66ffcd6ea87a74063c5bc6643df6e2941bf9d3bbbecc49fd7baac7f0057ab1e9649d96d4a0c1bef35225c57e7159d43791ab24ac3 SHA512 7b366e5f94d555dc61748d4d085a546edd092b0d435e3308ff264908e7a528585ca665eb7d0f5baa823b9b6d842c029372324def3e68c9028a2dff89a9f638cc +EBUILD rex-9999.ebuild 3642 BLAKE2B ad40f99c572a599b4779aed76fb2176fd2e488c34063d1a440cdc9d3c5d45cb71bdaa5aa3be292ec086dc5f47036a4056a8ad53afaf46856479cc143c9f5b6f2 SHA512 10806ed105703e4a8eac0c85b9bb6d7176943e8aa7ff744cc681af6eb9e042eb1b08832ab79c27016b1157bd62c0fa60a3415bdc7847c96f168bcc1e3e14573a +MISC metadata.xml 23689 BLAKE2B 5aa6d9627f8f5b5564e231338a4b31893232a6593ba63278fdecf7cd345f1d7eadf756c4f0c77077c3b11b4b26646f9f1492c442cafb6f253d46cb3f72370e33 SHA512 136db3e5b2495b8e3b08feafeb4426c7692ee13d7366bec18e56e231d30823c3e36066a70538f0c3c972ec06955f746e8400819c22751caa164e1a72331a6148 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-1.6.0.ebuild b/app-admin/rex/rex-1.6.0.ebuild new file mode 100644 index 000000000000..5a34558d4efe --- /dev/null +++ b/app-admin/rex/rex-1.6.0.ebuild @@ -0,0 +1,145 @@ +# Copyright 1999-2018 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/JSON-MaybeXS + 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 +} |