Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-A
perl-App-Sysadmin-Log-Simple
perl-App-Sysadmin-Log-Simple.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-App-Sysadmin-Log-Simple.spec of Package perl-App-Sysadmin-Log-Simple
# # spec file for package perl-App-Sysadmin-Log-Simple # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-App-Sysadmin-Log-Simple Version: 0.009 Release: 0 %define cpan_name App-Sysadmin-Log-Simple Summary: Application Class for Managing a Simple Sysadmin Log License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/App-Sysadmin-Log-Simple/ Source0: http://www.cpan.org/authors/id/D/DO/DOHERTY/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Config::General) BuildRequires: perl(DateTime) BuildRequires: perl(DateTime::TimeZone) BuildRequires: perl(File::Find::Rule) BuildRequires: perl(File::HomeDir) BuildRequires: perl(HTTP::Tiny) BuildRequires: perl(IO::Pager) BuildRequires: perl(IO::Scalar) BuildRequires: perl(Module::Build) >= 0.360100 BuildRequires: perl(Module::Pluggable) BuildRequires: perl(Net::Twitter::Lite::WithAPIv1_1) BuildRequires: perl(Path::Tiny) >= 0.015 BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Test::Output) BuildRequires: perl(Test::Requires) BuildRequires: perl(Test::Script) >= 1.05 BuildRequires: perl(Try::Tiny) BuildRequires: perl(URI::Escape) BuildRequires: perl(autodie) Requires: perl(Config::General) Requires: perl(DateTime) Requires: perl(DateTime::TimeZone) Requires: perl(File::Find::Rule) Requires: perl(File::HomeDir) Requires: perl(HTTP::Tiny) Requires: perl(IO::Pager) Requires: perl(Module::Pluggable) Requires: perl(Net::Twitter::Lite::WithAPIv1_1) Requires: perl(Path::Tiny) Requires: perl(Try::Tiny) Requires: perl(URI::Escape) Requires: perl(autodie) %{perl_requires} %description 'App::Sysadmin::Log::Simple' provides an easy way to maintain a simple single-host system administration log. The log is single-host in the sense that it does not log anything about the host. While you can obviously state what host you're talking about in your log entry, there is nothing done automatically to differentiate such log entries, and there is no built-in way to log from one host to another. The logs themselves are also simple - you get a single line of plain text to say what you have to say. That line gets logged in a fashion that is easy to read with this script, with cat, or it can be parsed with Text::Markdown (or Text::MultiMarkdown, which is a more modern drop-in replacement) and served on the web. If you need more than a single line of text, you may wish to use that line to point to a pastebin - you can easily create and retrieve them from the command line with App::Pastebin::sprunge. There is also no way to audit that the logs are correct. It can be incorrect in a number of ways: * * SUDO_USER or USER can be spoofed * * The files can be edited at any time, they are chmod 644 and owned by an unprivileged user * * The timestamp depends on the system clock * * ...etc Nonetheless, this is a simple, easy, and *fast* way to get a useful script for managing a simple sysadmin log. We believe the 80/20 rule applies: You can get 80% of the functionality with only 20% of a "real" solution. In the future, each log entry might be committed to a git repository for additional tracking. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build build flags=%{?_smp_mflags} %check ./Build test %install ./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes LICENSE README README.mkdn %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor