482
    ¥ˆðïö594î¿ò R   ¥‹      ½•ÑnÚ0†ïûž/vŸ$Ðn£!SG�ŠÚRT˜ªiÚ…±Mb5±#ÛŒµO?CèÊ6`­ÚõÊ'öoÿç;>Š“7ÙeoòeÔG§“‹s4úüé|ÐC8 ¸nõ ²IÖ,´Iô‡áÂ¹º°X,È¢E´Éar…«Ê6Xg$s„;ŽÓƒd9— ¤”û%NºR¤ÅÅ¤gôÜYÉ…?¹žOKÉî'€ëÊ‚ŠÏd)•&…%LëÚqÍl`my¯nÃÜ°5Ë�¤vºN 1óö°öO¦šß.ÓŠ^+ï´Â¦ÓU&ËÐ¤‰+ÐwZÊ\u±Wá4‘UŽ¬a]’ieaZRuCr9Ãˆ–®‹¿z—ß¼\±Ü�&FÌºøc¯;<¾ìf8ÒJ$@·k.¼æ§çÔ:Ti.gRð�âq#Ë»Ýf�&–Y;©Õƒ<â&*Ó¥­©g=ô…ÙT5þ¯jPö[1F'Wýá$\5%áË#²ûOŠÓ‘•C™4‚9mn×Ä�ý[5µõñý'Zó™§h«ò	E`ºª�°VðÍRø2o-Â°=&ù�o‹&ØÌõ�äâ0Žƒ°„ïQvâ¡ÂˆÄgÏ¥˜«¥ê1“Ó“áÙ§Íø2 ïžð´k`U¹(uN21•TZñ£öêbv.í'õ˜QÐŠPtØ‰�v’Æ­ö+7Ü_8[_†."Ñk6"ÓõíÚùW¸#:ò½D
?tã=­=�ü�ÂúiI`õ¶%Ð<¹?M ­Õ    6  §ˆl—ß=¿J	Å2ÛR‚ ›P-\mË€}LZ7ÿ�þBàÖq—� i ?ø362÷Àó j   §#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.

# See tmpfiles.d(5) for details

Q /home 0755 - - -
q /srv 0755 - - -
  T  ©ˆl–ßi~”ên-jq@ãoÜªbÑ¿�þB¶³�‘öÞt2:ùR„�ÒJ�ƒi—Yx™¤~VÅ€-¶Ø€ }¨j‰E²u±ß=#5HÃö    ©#!/usr/bin/perl
    eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
	if 0; # ^ Run only under a shell
#!/usr/bin/perl -w

BEGIN { pop @INC if $INC[-1] eq '.' }
use strict;
use IO::File;
use ExtUtils::Packlist;
use ExtUtils::Installed;

use vars qw($Inst @Modules);


=head1 NAME

instmodsh - A shell to examine installed modules

=head1 SYNOPSIS

    instmodsh

=head1 DESCRIPTION

A little interface to ExtUtils::Installed to examine locally* installed modules,
validate your packlists and even create a tarball from an installed module.

*On Debian system, B<core> and B<vendor> modules are managed by C<dpkg>.

=head1 SEE ALSO

ExtUtils::Installed

=cut


my $Module_Help = <<EOF;
Available commands are:
   f [all|prog|doc]   - List installed files of a given type
   d [all|prog|doc]   - List the directories used by a module
   v                  - Validate the .packlist - check for missing files
   t <tarfile>        - Create a tar archive of the module
   h                  - Display module help
   q                  - Quit the module
EOF

my %Module_Commands = (
                       f => \&list_installed,
                       d => \&list_directories,
                       v => \&validate_packlist,
                       t => \&create_archive,
                       h => \&module_help,
                      );

sub do_module($) {
    my ($module) = @_;

    print($Module_Help);
    MODULE_CMD: while (1) {
        print("$module cmd? ");

        my $reply = <STDIN>; chomp($reply);
        my($cmd) = $reply =~ /^(\w)\b/;

        last if $cmd eq 'q';

        if( $Module_Commands{$cmd} ) {
            $Module_Commands{$cmd}->($reply, $module);
        }
        elsif( $cmd eq 'q' ) {
            last MODULE_CMD;
        }
        else {
            module_help();
        }
    }
}


sub list_installed {
    my($reply, $module) = @_;

    my $class = (split(' ', $reply))[1];
    $class = 'all' unless $class;

    my @files;
    if (eval { @files = $Inst->files($module, $class); }) {
        print("$class files in $module are:\n   ",
              join("\n   ", @files), "\n");
    }
    else {
        print($@);
    }
};


sub list_directories {
    my($reply, $module) = @_;

    my $class = (split(' ', $reply))[1];
    $class = 'all' unless $class;

    my @dirs;
    if (eval { @dirs = $Inst->directories($module, $class); }) {
        print("$class directories in $module are:\n   ",
              join("\n   ", @dirs), "\n");
    }
    else {
        print($@);
    }
}


sub create_archive {
    my($reply, $module) = @_;

    my $file = (split(' ', $reply))[1];

    if( !(defined $file and length $file) ) {
        print "No tar file specified\n";
    }
    elsif( eval { require Archive::Tar } ) {
        Archive::Tar->create_archive($file, 0, $Inst->files($module));
    }
    else {
        my($first, @rest) = $Inst->files($module);
        system('tar', 'cvf', $file, $first);
        