[SCM] Debian packaging of Privileges-Drop CPAN distribution branch, master, updated. ec4daca207bda6d5d26d3f5acc3191a2b4f0cdbe

Michael Stapelberg michael at stapelberg.de
Sat Mar 10 12:43:15 UTC 2012


The following commit has been merged in the master branch:
commit 1be9c5e0cad0c83c2995b25975797a317d18d2a6
Author: Michael Stapelberg <michael at stapelberg.de>
Date:   Sat Mar 10 13:41:25 2012 +0100

    Add patch to fix spelling errors

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2b7dda4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+spelling-errors
diff --git a/debian/patches/spelling-errors b/debian/patches/spelling-errors
new file mode 100644
index 0000000..bd4f6bf
--- /dev/null
+++ b/debian/patches/spelling-errors
@@ -0,0 +1,24 @@
+Description: Fix spelling errors in the perldoc
+ Fix a few spelling errors in the perldoc of Privileges::Drop.
+Author: Michael Stapelberg <michael at stapelberg.de>
+
+--- libprivileges-drop-perl-1.03.orig/lib/Privileges/Drop.pm
++++ libprivileges-drop-perl-1.03/lib/Privileges/Drop.pm
+@@ -29,7 +29,7 @@ this, currently only test on on Linux.
+   drop_uidgid(1000, 1000);
+ 
+   # Drop privileges to user nobody looking up gid and uid with getpwname
+-  # This also set the enviroment variables USER, LOGNAME, HOME and SHELL. 
++  # This also set the environment variables USER, LOGNAME, HOME and SHELL. 
+   drop_privileges('nobody');
+ 
+ =head1 METHODS
+@@ -155,7 +155,7 @@ sub drop_privileges {
+ 
+ =head1 NOTES
+ 
+-As this module only uses Perl's build in function, it relies on them to work
++As this module only uses Perl's built-in functions, it relies on them to work
+ correctly. That means setting $GID and $EGID should also call setgroups(),
+ something that might not have been the case before Perl 5.004. So if you are 
+ running an older version, Proc::UID might be a better choice.

-- 
Debian packaging of Privileges-Drop CPAN distribution



More information about the Pkg-perl-cvs-commits mailing list