Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37785875
en ru br
ALT Linux repos
S:0.4-alt1

Group :: System/Base
RPM: beegen

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: beegen
Version: 0.4
Release: alt1

Summary: Automatic hasher bee generator
License: GPLv2+
Group: System/Base
BuildArch: noarch

Source: %name-%version.tar

%description
This is an automatic hasher bee generator.  It generates both personal
accounts for ssh keys found in /etc/openssh/authorized_keys/ and
multiple bee accounts for ssh key templates found in the same directory.

%prep
%setup

%install
install -pDm755 mkbee %buildroot%_sbindir/mkbee
install -pDm755 %name %buildroot%_sbindir/%name
install -pDm755 %name.init %buildroot%_initdir/%name

%post
if [ $1 -eq 1 ]; then
       /sbin/chkconfig --add %name
fi

%preun
if [ $1 -eq 0 ]; then
/sbin/chkconfig --del %name
fi

%files
%_sbindir/mkbee
%_sbindir/%name
%_initdir/%name

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin