debian/0000755000000000000000000000000011726657050007177 5ustar debian/control0000644000000000000000000000135111726646504010604 0ustar Source: libprivileges-drop-perl Section: perl Priority: optional Maintainer: Michael Stapelberg Build-Depends: debhelper (>= 8), perl Standards-Version: 3.9.3 Homepage: http://search.cpan.org/dist/Privileges-Drop/ Package: libprivileges-drop-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends} Description: module to make it simple to drop all privileges Privileges::Drop tries to simplify the process of dropping privileges. This can be useful when your Perl program needs to bind to privileged ports, etc. This module is much like Proc::UID, except that it's implemented in pure Perl. Special care has been taken to also drop saved uid on platforms that support this, currently only tested on Linux. debian/libprivileges-drop-perl.examples0000644000000000000000000000001311726475271015476 0ustar examples/* debian/changelog0000644000000000000000000000026011726656120011044 0ustar libprivileges-drop-perl (1.03-1) unstable; urgency=low * Initial Release (Closes: #663257). -- Michael Stapelberg Fri, 09 Mar 2012 21:45:31 +0100 debian/compat0000644000000000000000000000000211726475271010400 0ustar 8 debian/libprivileges-drop-perl.docs0000644000000000000000000000000711726475271014613 0ustar README debian/patches/0000755000000000000000000000000011726656162010631 5ustar debian/patches/series0000644000000000000000000000002011726646504012035 0ustar spelling-errors debian/patches/spelling-errors0000644000000000000000000000221211726656120013672 0ustar Description: Fix spelling errors in the perldoc Fix a few spelling errors in the perldoc of Privileges::Drop. Author: Michael Stapelberg Forwarded: https://rt.cpan.org/Ticket/Display.html?id=75669 Last-Updated: 2012-03-10 --- 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/rules0000755000000000000000000000003611726475271010261 0ustar #!/usr/bin/make -f %: dh $@ debian/copyright0000644000000000000000000000210011726646504011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Contact: Troels Liebe Bentsen Source: http://search.cpan.org/dist/Privileges-Drop/ Upstream-Name: Privileges-Drop Files: * Copyright: 2007-2009, Troels Liebe Bentsen License: Artistic or GPL-1+ Files: debian/* Copyright: 2012, Michael Stapelberg License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/source/0000755000000000000000000000000011726475271010502 5ustar debian/source/format0000644000000000000000000000001411726475271011710 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000017311726475271010234 0ustar version=3 http://search.cpan.org/dist/Privileges-Drop/ .*/Privileges-Drop-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$