blob: 21ad75ba7dee334c87d2b75693f348423de4aa18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# Copyright (c) 2004.2005 Radoslaw Stachowiak <radek@alter.pl>
# $Id: grukeri.ebuild 141 2005-05-26 14:43:27Z radek $
DESCRIPTION="My <radek@alter.pl> set of utilities for better linux usage."
HOMEPAGE="http://dev.gentoo.org/~radek/grukeri/"
SRC_URI="${HOMEPAGE}/files/${P}.tar.gz"
LICENSE="GPL2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
RESTRICT="primaryuri"
DEPEND=">=app-shells/bash-3.0
=app-crypt/gnupg-1*
>=sys-apps/cpipe-3.0.0"
S=${WORKDIR}
src_install() {
exeinto /usr/bin
doexe mailveri
doexe errpoti
doexe fixi
exeinto /usr/sbin
doexe backupi
doexe invalidi
doexe grubi
doexe kerni
doconfd grukeri
dodoc *.txt ChangeLog
exeinto /etc/cron.daily
doexe grukeri.cron
insinto /usr/share/doc/${PF}
doins gpgadmin.asc
}
pkg_postinst() {
einfo ""
einfo "You can use grukeri for:"
einfo ".. mailveri - mail verificator."
einfo ".. errpoti - cron error output handler/scheduler"
einfo ".. fixi - mp3 renamer + id3tag processor (tobedone)"
einfo ".. backupi - universal backup script"
einfo ".. invalidi - syslog-ng python handler to block failed login attempts"
einfo ".. grubi - grub.conf file handler (works together with kerni"
einfo ".. kerni - kernel install support"
einfo ""
ewarn "Do not forget to import gpgkey as a root/backup operator:"
ewarn " gpg --import /usr/share/doc/${PF}/gpgadmin.asc"
ewarn ""
ewarn "For PostgreSQL/MySQL backups, be sure that *dump commands work without password"
ewarn "PostgreSQL: echo 'localhost:5432:*:postgres:YOURPASSWORD' >> /root/.pgpass"
ewarn "MySQL: echo -e '[client]\Npassword=YOURPASSWORD' >> /root/.my.cnf"
ewarn ""
}
|