[liblinux-distribution-perl] 03/34: import Linux::Distribution 0.03 from CPAN
gregor herrmann
gregoa at debian.org
Thu Jun 4 21:35:35 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to annotated tag v0.22
in repository liblinux-distribution-perl.
commit 249e2de0b6d9237ed479d7733d3df6df39f28e9b
Author: Re Alberto <kerberus at accidia.net>
Date: Tue Mar 8 03:20:53 2005 -0800
import Linux::Distribution 0.03 from CPAN
git-cpan-module: Linux::Distribution
git-cpan-version: 0.03
---
Changes | 18 ++++++++++++++++++
META.yml | 2 +-
Makefile.PL | 2 +-
README | 4 ++--
lib/Linux/Distribution.pm | 10 +++++-----
5 files changed, 27 insertions(+), 9 deletions(-)
diff --git a/Changes b/Changes
index 5e78f95..b65f10a 100644
--- a/Changes
+++ b/Changes
@@ -1,4 +1,22 @@
------------------------------------------------------------------------
+r9 | kerberus | 2005-03-08 12:15:48 +0100 (Tue, 08 Mar 2005) | 4 lines
+
+Version 0.03.
+
+Added support for Adamantix and Trustix.
+
+------------------------------------------------------------------------
+r8 | kerberus | 2005-03-07 23:03:50 +0100 (Mon, 07 Mar 2005) | 4 lines
+
+Reduced needed perl version to 5.6.0.
+
+Removed copyright line from pod documentation.
+
+------------------------------------------------------------------------
+r6 | kerberus | 2005-03-06 20:29:33 +0100 (Sun, 06 Mar 2005) | 1 line
+
+
+------------------------------------------------------------------------
r5 | kerberus | 2005-03-06 20:27:46 +0100 (Sun, 06 Mar 2005) | 4 lines
Version 0.02.
diff --git a/META.yml b/META.yml
index aae62e9..d174df9 100644
--- a/META.yml
+++ b/META.yml
@@ -1,7 +1,7 @@
# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
name: Linux-Distribution
-version: 0.02
+version: 0.03
version_from: lib/Linux/Distribution.pm
installdirs: site
requires:
diff --git a/Makefile.PL b/Makefile.PL
index 79013de..c7b453f 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,4 +1,4 @@
-use 5.008005;
+use 5.006000;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
diff --git a/README b/README
index 1e1148d..cb638de 100644
--- a/README
+++ b/README
@@ -1,8 +1,8 @@
-Linux-Distribution version 0.02
+Linux-Distribution version 0.03
===============================
This is a module that guess on what kind of linux distribution we are running looking for distro's specific release file into /etc.
-It currently recognize slackware, debian, suse, fedora, redhat, turbolinux, yellowdog, knoppix, mandrake, conectiva, immunix, tinysofa, va-linux and gentoo.
+It currently recognize slackware, debian, suse, fedora, redhat, turbolinux, yellowdog, knoppix, mandrake, conectiva, immunix, tinysofa, va-linux, trustix, adamantix and gentoo.
INSTALLATION
diff --git a/lib/Linux/Distribution.pm b/lib/Linux/Distribution.pm
index f5ee10d..fecc412 100644
--- a/lib/Linux/Distribution.pm
+++ b/lib/Linux/Distribution.pm
@@ -1,6 +1,6 @@
package Linux::Distribution;
-use 5.008005;
+use 5.006000;
use strict;
use warnings;
use Carp qw(carp);
@@ -11,7 +11,7 @@ our @ISA = qw(Exporter);
our @EXPORT_OK = qw( distribution_name );
-our $VERSION = '0.02';
+our $VERSION = '0.03';
our %release_files = (
'gentoo-release' => 'gentoo',
@@ -31,6 +31,8 @@ our %release_files = (
'conectiva-release' => 'conectiva',
'immunix-release' => 'immunix',
'tinysofa-release' => 'tinysofa',
+ 'trustix-release' => 'trustix',
+ 'adamantix_version' => 'adamantix',
'va-release' => 'va-linux'
);
@@ -68,7 +70,7 @@ Linux::Distribution - Perl extension to guess on what linux distribution we are
This is a simple module that try to guess on what linux distribution we are running looking for release's files in /etc.
-It currently recognize slackware, debian, suse, fedora, redhat, turbolinux, yellowdog, knoppix, mandrake, conectiva, immunix, tinysofa, va-linux and gentoo.
+It currently recognize slackware, debian, suse, fedora, redhat, turbolinux, yellowdog, knoppix, mandrake, conectiva, immunix, tinysofa, va-linux, trustix, adamantix and gentoo.
=head2 EXPORT
@@ -84,8 +86,6 @@ Re Alberto, E<lt>kerberus at accidia.netE<gt>
=head1 COPYRIGHT AND LICENSE
-Copyright (C) 2005 by Re Alberto
-
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.5 or,
at your option, any later version of Perl 5 you may have available.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/liblinux-distribution-perl.git
More information about the Pkg-perl-cvs-commits
mailing list