New Upstream Snapshot - libfile-lchown-perl
Ready changes
Summary
Merged new upstream version: 0.02+bzr13 (was: 0.02).
Resulting package
Built on 2022-12-19T08:40 (took 3m37s)
The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:
apt install -t fresh-snapshots libfile-lchown-perl-dbgsymapt install -t fresh-snapshots libfile-lchown-perl
Lintian Result
Diff
diff --git a/Build.PL b/Build.PL
index 728927a..419aa98 100644
--- a/Build.PL
+++ b/Build.PL
@@ -36,6 +36,7 @@ my $build = $cc->new_module_build(
'ExtUtils::CChecker' => 0.03,
},
requires => {
+ 'Exporter' => '5.57',
},
build_requires => {
'Module::Build' => 0,
diff --git a/LICENSE b/LICENSE
index bed175a..7f7fca7 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-This software is copyright (c) 2010 by Paul Evans <leonerd@leonerd.org.uk>.
+This software is copyright (c) 2022 by Paul Evans <leonerd@leonerd.org.uk>.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -12,21 +12,22 @@ b) the "Artistic License"
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2010 by Paul Evans <leonerd@leonerd.org.uk>.
+This software is Copyright (c) 2022 by Paul Evans <leonerd@leonerd.org.uk>.
This is free software, licensed under:
The GNU General Public License, Version 1, February 1989
- GNU GENERAL PUBLIC LICENSE
- Version 1, February 1989
+ GNU GENERAL PUBLIC LICENSE
+ Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
- Preamble
+ Preamble
The license agreements of most software companies try to keep users
at the mercy of those companies. By contrast, our General Public
@@ -67,7 +68,7 @@ authors' reputations.
The precise terms and conditions for copying, distribution and
modification follow.
- GNU GENERAL PUBLIC LICENSE
+ GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any program or other work which
@@ -185,7 +186,7 @@ make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
- NO WARRANTY
+ NO WARRANTY
9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@@ -207,9 +208,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
- END OF TERMS AND CONDITIONS
+ END OF TERMS AND CONDITIONS
- Appendix: How to Apply These Terms to Your New Programs
+ Appendix: How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to humanity, the best way to achieve this is to make it
@@ -235,8 +236,9 @@ the exclusion of warranty; and each file should have at least the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
+
Also add information on how to contact you by electronic and paper mail.
@@ -270,7 +272,7 @@ That's all there is to it!
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2010 by Paul Evans <leonerd@leonerd.org.uk>.
+This software is Copyright (c) 2022 by Paul Evans <leonerd@leonerd.org.uk>.
This is free software, licensed under:
@@ -290,21 +292,21 @@ Definitions:
- "Package" refers to the collection of files distributed by the Copyright
Holder, and derivatives of that collection of files created through
- textual modification.
+ textual modification.
- "Standard Version" refers to such a Package if it has not been modified,
or has been modified in accordance with the wishes of the Copyright
- Holder.
+ Holder.
- "Copyright Holder" is whoever is named in the copyright or copyrights for
- the package.
+ the package.
- "You" is you, if you're thinking about copying or distributing this Package.
- "Reasonable copying fee" is whatever you can justify on the basis of media
cost, duplication charges, time of people involved, and so on. (You will
not be required to justify it to the Copyright Holder, but only to the
- computing community at large as a market that must bear the fee.)
+ computing community at large as a market that must bear the fee.)
- "Freely Available" means that no fee is charged for the item itself, though
there may be fees involved in handling the item. It also means that
recipients of the item may redistribute it under the same conditions they
- received it.
+ received it.
1. You may make and give away verbatim copies of the source form of the
Standard Version of this Package without restriction, provided that you
@@ -371,7 +373,7 @@ products derived from this software without specific prior written permission.
9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
-MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
The End
diff --git a/MANIFEST b/MANIFEST
index a451ed9..e91cafe 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -2,12 +2,13 @@ Build.PL
Changes
lib/File/lchown.pm
lib/File/lchown.xs
+LICENSE
+Makefile.PL
MANIFEST This list of files
+META.json
+META.yml
+README
t/00use.t
t/01lchown.t
t/02lutimes.t
t/99pod.t
-Makefile.PL
-README
-LICENSE
-META.yml
diff --git a/META.json b/META.json
new file mode 100644
index 0000000..b116f64
--- /dev/null
+++ b/META.json
@@ -0,0 +1,51 @@
+{
+ "abstract" : "modify attributes of symlinks without dereferencing them",
+ "author" : [
+ "Paul Evans <leonerd@leonerd.org.uk>"
+ ],
+ "dynamic_config" : 1,
+ "generated_by" : "Module::Build version 0.4231",
+ "license" : [
+ "perl_5"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : 2
+ },
+ "name" : "File-lchown",
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "ExtUtils::CBuilder" : "0",
+ "Module::Build" : "0",
+ "Module::Build::Compat" : "0",
+ "Test::More" : "0"
+ }
+ },
+ "configure" : {
+ "requires" : {
+ "ExtUtils::CChecker" : "0.03",
+ "Module::Build" : "0.42"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "Exporter" : "5.57"
+ }
+ }
+ },
+ "provides" : {
+ "File::lchown" : {
+ "file" : "lib/File/lchown.pm",
+ "version" : "0.02"
+ }
+ },
+ "release_status" : "stable",
+ "resources" : {
+ "license" : [
+ "http://dev.perl.org/licenses/"
+ ]
+ },
+ "version" : "0.02",
+ "x_serialization_backend" : "JSON::PP version 4.07"
+}
diff --git a/META.yml b/META.yml
index f4da35f..beb7a88 100644
--- a/META.yml
+++ b/META.yml
@@ -3,23 +3,27 @@ abstract: 'modify attributes of symlinks without dereferencing them'
author:
- 'Paul Evans <leonerd@leonerd.org.uk>'
build_requires:
- ExtUtils::CBuilder: 0
- Module::Build: 0
- Module::Build::Compat: 0
- Test::More: 0
+ ExtUtils::CBuilder: '0'
+ Module::Build: '0'
+ Module::Build::Compat: '0'
+ Test::More: '0'
configure_requires:
- ExtUtils::CChecker: 0.03
- Module::Build: 0.36
-generated_by: 'Module::Build version 0.3603'
+ ExtUtils::CChecker: '0.03'
+ Module::Build: '0.42'
+dynamic_config: 1
+generated_by: 'Module::Build version 0.4231, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: File-lchown
provides:
File::lchown:
file: lib/File/lchown.pm
- version: 0.02
+ version: '0.02'
+requires:
+ Exporter: '5.57'
resources:
license: http://dev.perl.org/licenses/
-version: 0.02
+version: '0.02'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff --git a/Makefile.PL b/Makefile.PL
index bcc0976..6627259 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.3603
+# Note: this file was auto-generated by Module::Build::Compat version 0.4231
use Module::Build::Compat 0.02;
Module::Build::Compat->run_build_pl(args => \@ARGV);
diff --git a/README b/README
index 0327194..e40b8a2 100644
--- a/README
+++ b/README
@@ -1,49 +1,57 @@
NAME
- "File::lchown" - modify attributes of symlinks without dereferencing
- them
+
+ File::lchown - modify attributes of symlinks without dereferencing them
SYNOPSIS
- use File::lchown qw( lchown lutimes );
+ use File::lchown qw( lchown lutimes );
+
lchown $uid, $gid, $linkpath or die "Cannot lchown() - $!";
-
+
lutimes $atime, $mtime, $linkpath or die "Cannot lutimes() - $!";
DESCRIPTION
- The regular "chown" system call will dereference a symlink and apply
+
+ The regular chown system call will dereference a symlink and apply
ownership changes to the file at which it points. Some OSes provide
system calls that do not dereference a symlink but instead apply their
changes directly to the named path, even if that path is a symlink (in
- much the same way that "lstat" will return attributes of a symlink
- rather than the file at which it points).
+ much the same way that lstat will return attributes of a symlink rather
+ than the file at which it points).
FUNCTIONS
- $count = lchown $uid, $gid, @paths
+
+ $count = lchown $uid, $gid, @paths
+
Set the new user or group ownership of the specified paths, without
dereferencing any symlinks. Passing the value -1 as either the $uid or
$gid will leave that attribute unchanged. Returns the number of files
successfully changed.
- $count = lutimes $atime, $mtime, @paths
+ $count = lutimes $atime, $mtime, @paths
+
Set the access and modification times on the specified paths, without
- dereferencing any symlinks. Passing "undef" as both $atime and $mtime
+ dereferencing any symlinks. Passing undef as both $atime and $mtime
will update the times to the current system time.
- Note that for both "lchown" and "lutimes", if more than one path is
- given, if later paths succeed after earlier failures, then the value of
- $! will not be reliable to indicate the nature of the failure. If you
- wish to use $! to report on failures, make sure only to pass one path at
- a time.
+ Note that for both lchown and lutimes, if more than one path is given,
+ if later paths succeed after earlier failures, then the value of $!
+ will not be reliable to indicate the nature of the failure. If you wish
+ to use $! to report on failures, make sure only to pass one path at a
+ time.
TODO
- * Implement sub-second precision on "lutimes", most likely by taking
- floats or two-element ARRAY refs, similar to "Time::HiRes" uses.
+
+ * Implement sub-second precision on lutimes, most likely by taking
+ floats or two-element ARRAY refs, similar to Time::HiRes uses.
SEE ALSO
- * lchown(2) - change ownership of a file
- * lutimes(2) - change file timestamps
+ * lchown(2) - change ownership of a file
+
+ * lutimes(2) - change file timestamps
AUTHOR
+
Paul Evans <leonerd@leonerd.org.uk>
diff --git a/debian/changelog b/debian/changelog
index b1dea09..10d2168 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libfile-lchown-perl (0.02+bzr13-1) UNRELEASED; urgency=low
+
+ * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk> Mon, 19 Dec 2022 08:38:00 -0000
+
libfile-lchown-perl (0.02-3) unstable; urgency=medium
[ Salvatore Bonaccorso ]
Debdiff
[The following lists of changes regard files as different if they have different names, permissions or owners.]
Files in second set of .debs but not in first
-rw-r--r-- root/root /usr/lib/debug/.build-id/0b/bc1e421f1f8958e4a689a2b5be3b577a046b89.debug
Files in first set of .debs but not in second
-rw-r--r-- root/root /usr/lib/debug/.build-id/54/e805a27deef035f2c5fa0855428fb9b4d48d32.debug
Control files of package libfile-lchown-perl: lines which differ (wdiff format)
Depends: perl (>= 5.36.0-7), 5.36.0-6), perlapi-5.36.0, libc6 (>= 2.4)
Control files of package libfile-lchown-perl-dbgsym: lines which differ (wdiff format)
Build-Ids: 54e805a27deef035f2c5fa0855428fb9b4d48d32 0bbc1e421f1f8958e4a689a2b5be3b577a046b89