Changeset 481 for trunk/scripts


Ignore:
Timestamp:
Jul 18, 2015, 5:06:52 PM (9 years ago)
Author:
katerina
Message:

Enhancements and fixes for tickets #374, #375, #376, #377, #378, and #379.

Location:
trunk/scripts
Files:
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/README

    r121 r481  
    3838   Run 'yuleadmin.pl -h' for usage instructions.
    3939
    40 samhainrc_update.sh
    41 -------------------
    42 
    43    If you are using the --with-kcheck option on Linux, after a kernel
    44    update you need to change some option (addresses of kernel functions)
    45    in the samhainrc configuration file. The correct new addresses must
    46    be looked up in the System.map file
    47 
    48    This script will do this automatically. Run 'samhainrc_update.sh -h'
    49    for usage instructions. You may need to change the location of the
    50    samhainrc file by editing the line 'cfgfile="/etc/samhainrc"'
    51    at the beginning of the script.
    52  
    5340check_samhain.pl
    5441----------------
  • trunk/scripts/redhat_i386.client.spec.in

    r412 r481  
    123123fi
    124124
    125 %postun
    126 if [ "$1" = 0 ]; then
    127         # remove any kernel modules that might have been installed
    128         RVER=`uname -r`
    129         rm -f /lib/modules/$RVER/samhain*
    130 fi
    131125
    132126
     
    136130%dir /var/log
    137131#%doc docs/BUGS COPYING docs/Changelog docs/TODO
    138 #%doc LICENSE docs/HOWTO* docs/MANUAL-2_3.* docs/README*
     132#%doc LICENSE docs/HOWTO* docs/MANUAL-2_4.* docs/README*
    139133/etc
    140134/usr/local/sbin/samhain
  • trunk/scripts/samhain.ebuild.in

    r68 r481  
    6969        dodoc docs/BUGS COPYING docs/Changelog LICENSE docs/README \
    7070              docs/README.UPGRADE docs/sh_mounts.txt docs/sh_userfiles.txt \
    71               docs/MANUAL-2_3.ps docs/MANUAL-2_3.html.tar
     71              docs/MANUAL-2_4.ps docs/MANUAL-2_4.html.tar
    7272
    7373        dohtml docs/HOWTO-client+server.html docs/HOWTO-samhain+GnuPG.html \
  • trunk/scripts/samhain.spec.in

    r412 r481  
    109109fi
    110110
    111 %postun
    112 if [ "$1" = 0 ]; then
    113         # remove any kernel modules that might have been installed
    114         RVER=`uname -r`
    115         rm -f /lib/modules/$RVER/samhain*
    116 fi
    117 
    118111
    119112%files
     
    122115%dir %{_localstatedir}/log
    123116%doc docs/BUGS COPYING docs/Changelog docs/TODO
    124 %doc LICENSE docs/HOWTO* docs/MANUAL-2_3.* docs/README*
     117%doc LICENSE docs/HOWTO* docs/MANUAL-2_4.* docs/README*
    125118%{_localstatedir}/lib/%{name}
    126119%{_sbindir}/%{name}
  • trunk/scripts/samhainadmin.pl.in

    r415 r481  
    156156    print "    Set the passphrase for gpg. By default, gpg will ask.\n\n";
    157157
    158     print "  -s secretkeyring --secretkeyring secretkeyring\n";
    159     print "    Select an alternate secret keyring for gpg.\n";
    160     print "    Will use '$ENV{'HOME'}/.gnupg/secring.gpg' by default.\n\n";
     158    print "  -s gnupg_homedir --secretkeyring gnupg_homedir\n";
     159    print "    Select an alternate gpg homedirectory to locate the secret keyring.\n";
     160    print "    Will use '$ENV{'HOME'}/.gnupg/' by default.\n\n";
     161
     162    print "  -k keyid      --keyid keyid\n";
     163    print "   Select the keyid to use for signing.\n\n";
    161164
    162165    print "  -l            --list\n";
     
    570573            'p|passphrase=s',
    571574            's|secretkeyring=s',
     575            'k|keyid=s',
    572576            'create-cfgfile',  # -m F
    573577            'print-cfgfile',   # -m f
     
    584588}
    585589
     590if (defined($opts{'k'})) {
     591    $TARGETKEYID = $opts{'k'};
     592    $KEYTAG = "--default-key";
     593}
    586594if (defined($opts{'c'})) {
    587595    $cfgfile = $opts{'c'};
Note: See TracChangeset for help on using the changeset viewer.