diff options
author | Radoslaw Stachowiak <radek@gentoo.org> | 2006-12-03 23:17:49 +0000 |
---|---|---|
committer | Radoslaw Stachowiak <radek@gentoo.org> | 2006-12-03 23:17:49 +0000 |
commit | 7f80192b5e1f26dc3d404d58d83deb0e9b5161e4 (patch) | |
tree | a4454820fabe1aa7d57586ff5c2514c0d08f19ad /app-admin | |
download | radek-7f80192b5e1f26dc3d404d58d83deb0e9b5161e4.tar.gz radek-7f80192b5e1f26dc3d404d58d83deb0e9b5161e4.tar.bz2 radek-7f80192b5e1f26dc3d404d58d83deb0e9b5161e4.zip |
initial commit
svn path=/radek-portage/; revision=2
Diffstat (limited to 'app-admin')
51 files changed, 2964 insertions, 0 deletions
diff --git a/app-admin/cryptsetup/Manifest b/app-admin/cryptsetup/Manifest new file mode 100644 index 0000000..504810e --- /dev/null +++ b/app-admin/cryptsetup/Manifest @@ -0,0 +1,2 @@ +MD5 4f1b8b52c85916bd958ac812edbbb2f0 cryptsetup-0.1.ebuild 541 +MD5 959c303c3bfeab6c12e28ae4e16400b3 files/digest-cryptsetup-0.1 67 diff --git a/app-admin/cryptsetup/cryptsetup-0.1.ebuild b/app-admin/cryptsetup/cryptsetup-0.1.ebuild new file mode 100644 index 0000000..a0c4553 --- /dev/null +++ b/app-admin/cryptsetup/cryptsetup-0.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2004 Ralf Holzer (rholzer@cmu.edu) +# Distributed under the terms of the GNU General Public License v2 + + +DESCRIPTION="Cryptsetup utility for dm-crypt" +SRC_URI="http://www.saout.de/misc/dm-crypt/${P}.tar.bz2" +HOMEPAGE="http://www.saout.de/misc/dm-crypt/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" + +DEPEND="virtual/glibc + >=sys-libs/device-mapper-1.00.08 + >=dev-libs/libgcrypt-1.1.92" + +src_unpack() { + unpack ${P}.tar.bz2 + cd ${S} +} + +src_compile() { + econf || die + emake || die +} + +src_install() { + einstall \ + install \ + || die + +} diff --git a/app-admin/cryptsetup/files/digest-cryptsetup-0.1 b/app-admin/cryptsetup/files/digest-cryptsetup-0.1 new file mode 100644 index 0000000..e129539 --- /dev/null +++ b/app-admin/cryptsetup/files/digest-cryptsetup-0.1 @@ -0,0 +1 @@ +MD5 c813ca6b5e8ecd9a48ec126c3b8ce857 cryptsetup-0.1.tar.bz2 249013 diff --git a/app-admin/grukeri/ChangeLog b/app-admin/grukeri/ChangeLog new file mode 100644 index 0000000..d4f6f76 --- /dev/null +++ b/app-admin/grukeri/ChangeLog @@ -0,0 +1,65 @@ +# ChangeLog for app-admin/grukeri +# Copyright 2004,2005 Radoslaw Stachowiak <radek@alter.pl> +# $Id: ChangeLog 302 2006-05-20 18:35:32Z radek $ + +20 May 2006; Radoslaw Stachowiak <radek@alter.pl>: +---------------------------------------------------------------------------- +NEW VERSION: 1.2.1, dedicated to a not so fat girlfriend (what a relief :) + +.. BUG: backupi doesnt warn on long file creation (changed 3600s to 14400s) +.. FEATURE: backupi, change warning message on old archives from 2days to 7 + + +12 Feb 2006; Radoslaw Stachowiak <radek@alter.pl>: +---------------------------------------------------------------------------- +NEW VERSION: 1.2.0, dedicated to a fat girlfriend + +.. BUG: mailveri exited during SMTP Send error on notifications +.. BUG: backupi didnt use '/' in front of default exclude paths +.. BUG: backupi wrong usage of date %s resulting in 'value to great error' +.. BUG: invalidi has corrected execution list and small improvements +.. FEATURE: invalidi adds comments to the inserted rules + + +24 Sep 2005; Radoslaw Stachowiak <radek@alter.pl>: +---------------------------------------------------------------------------- +NEW VERSION: 1.1.0, dedicated to the endless disputes/quarrels + +.. BUG: with growisofs -Z called withou -use-the-force-luke +.. BUG: invalidi bug with wrong mail redirection +.. BUG: backupi bug with missing HOME for gpg +.. BUG: fixed a little running logic (existence of major arg is rqrd) +.. BUG: fixed weekly cycle typo in backupi +.. FEATURE: added entepi - ntp synchronizer +.. FEATURE: added varlogi - /var/log cleaner (syslog-ng compan) +.. FEATURE: added -Z/-M mode for growisofs +.. FEATURE: invalidi now uses syslog instead of file + + +26 May 2005; Radoslaw Stachowiak <radek@alter.pl>: +---------------------------------------------------------------------------- +NEW VERSION: 1.0.2, dedicated to my mother :) + +.. BUG: wrong if clause in backupi +.. BUG: dvd du measurment in backupi moved inside of if clause for dvd +.. FEATURE: backupi weekly mode (cyan) +.. FEATURE: testmode run for backupi test +.. FEATURE: new master propagation schema + + +23 May 2005; Radoslaw Stachowiak <radek@alter.pl>: +---------------------------------------------------------------------------- +NEW VERSION: 1.0.1, time to work it out + +.. FEATURE: minimal archive size +.. FEATURE: mysql archival + + +20 May 2005; Radoslaw Stachowiak <radek@alter.pl>: +---------------------------------------------------------------------------- +NEW VERSION: 1.0.0, initial release + +FEATURES added: +.. initial release + +.. BUGS: none ;) diff --git a/app-admin/grukeri/Manifest b/app-admin/grukeri/Manifest new file mode 100644 index 0000000..6817e1d --- /dev/null +++ b/app-admin/grukeri/Manifest @@ -0,0 +1,56 @@ +DIST grukeri-1.0.0.tar.gz 16461 size 16461 +DIST grukeri-1.0.1.tar.gz 16576 size 16576 +DIST grukeri-1.0.2.tar.gz 17176 size 17176 +DIST grukeri-1.1.0.tar.gz 19945 size 19945 +DIST grukeri-1.2.0.tar.gz 23555 RMD160 524cb608af0e82512567c062ed05c960128651d4 SHA256 b15cf5993c211132d1f0f4431541153af596c341d79aeab739283a4c21800c6d size 23555 +DIST grukeri-1.2.1.tar.gz 32845 RMD160 c90f84b7b662bd86722dc5267d2f840b00805a1e SHA256 3a42c8e71a77878c521b6bf56b247dab3f734e75ab8b9d7ea0715b3c8e366d01 size 32845 +EBUILD grukeri-1.0.0.ebuild 1542 RMD160 cecb48900de55d60c783fa2b4a5db6f28471d77f SHA1 e279fddc3e889509458237783236238cb1ab4127 SHA256 a0346932fe3706b3a9b3840bc0f19ccef1588a7ada5d4f72ddd8be1672ac70f5 size 1542 +MD5 e2c3f7a59c8fc0be2948cb032796326a grukeri-1.0.0.ebuild 1542 +RMD160 cecb48900de55d60c783fa2b4a5db6f28471d77f grukeri-1.0.0.ebuild 1542 +SHA256 a0346932fe3706b3a9b3840bc0f19ccef1588a7ada5d4f72ddd8be1672ac70f5 grukeri-1.0.0.ebuild 1542 +EBUILD grukeri-1.0.1.ebuild 1540 RMD160 b98dba97aa77f42e2297b68cfb06579187953dc3 SHA1 f1ba79bee3b371d365df0852a4d683838abdab8d SHA256 d8103402e8115a440a7bcc60a84de7115e945304ac61f0e4d45ca3159876016e size 1540 +MD5 22cd9d4b17b9bef7f0d9417f91819ff2 grukeri-1.0.1.ebuild 1540 +RMD160 b98dba97aa77f42e2297b68cfb06579187953dc3 grukeri-1.0.1.ebuild 1540 +SHA256 d8103402e8115a440a7bcc60a84de7115e945304ac61f0e4d45ca3159876016e grukeri-1.0.1.ebuild 1540 +EBUILD grukeri-1.0.2.ebuild 1624 RMD160 f2a9c834f2244d34f131977f83150b5f11af0c6f SHA1 d346dd987508a455d13b9c10f124c52037e152d0 SHA256 bf4afec64774c6e961f1749005f6460211573177464d122940c08735471fff94 size 1624 +MD5 79e2f598215fd77b21694ae2dcaf8757 grukeri-1.0.2.ebuild 1624 +RMD160 f2a9c834f2244d34f131977f83150b5f11af0c6f grukeri-1.0.2.ebuild 1624 +SHA256 bf4afec64774c6e961f1749005f6460211573177464d122940c08735471fff94 grukeri-1.0.2.ebuild 1624 +EBUILD grukeri-1.1.0.ebuild 1817 RMD160 3a0794412eaf5412170e2032bd88e6a7774e0cdd SHA1 e833cf5b413d24c36dddd6c1294e9da2396e774a SHA256 af928f7a1125a3ce840295a2f8f63ba1bac672055854ec899c53e35cfd852d94 size 1817 +MD5 46cc206846e497950cf26dbd2e82c757 grukeri-1.1.0.ebuild 1817 +RMD160 3a0794412eaf5412170e2032bd88e6a7774e0cdd grukeri-1.1.0.ebuild 1817 +SHA256 af928f7a1125a3ce840295a2f8f63ba1bac672055854ec899c53e35cfd852d94 grukeri-1.1.0.ebuild 1817 +EBUILD grukeri-1.2.0.ebuild 1817 RMD160 3a0794412eaf5412170e2032bd88e6a7774e0cdd SHA1 e833cf5b413d24c36dddd6c1294e9da2396e774a SHA256 af928f7a1125a3ce840295a2f8f63ba1bac672055854ec899c53e35cfd852d94 size 1817 +MD5 46cc206846e497950cf26dbd2e82c757 grukeri-1.2.0.ebuild 1817 +RMD160 3a0794412eaf5412170e2032bd88e6a7774e0cdd grukeri-1.2.0.ebuild 1817 +SHA256 af928f7a1125a3ce840295a2f8f63ba1bac672055854ec899c53e35cfd852d94 grukeri-1.2.0.ebuild 1817 +EBUILD grukeri-1.2.1.ebuild 1817 RMD160 3a0794412eaf5412170e2032bd88e6a7774e0cdd SHA1 e833cf5b413d24c36dddd6c1294e9da2396e774a SHA256 af928f7a1125a3ce840295a2f8f63ba1bac672055854ec899c53e35cfd852d94 size 1817 +MD5 46cc206846e497950cf26dbd2e82c757 grukeri-1.2.1.ebuild 1817 +RMD160 3a0794412eaf5412170e2032bd88e6a7774e0cdd grukeri-1.2.1.ebuild 1817 +SHA256 af928f7a1125a3ce840295a2f8f63ba1bac672055854ec899c53e35cfd852d94 grukeri-1.2.1.ebuild 1817 +MISC ChangeLog 2533 RMD160 635ef8e5770c4b63dc030aab272a1a9285232a70 SHA1 64edc25876d5d5e58cb4ed8f61fe2eec89c384d7 SHA256 6d042958373dbd80d293c8884bc83b56b54b1fd15133b419866b63399a3e8f25 size 2533 +MD5 dc7fa2868127f2a6887b6e82235f94e5 ChangeLog 2533 +RMD160 635ef8e5770c4b63dc030aab272a1a9285232a70 ChangeLog 2533 +SHA256 6d042958373dbd80d293c8884bc83b56b54b1fd15133b419866b63399a3e8f25 ChangeLog 2533 +MISC metadata.xml 221 RMD160 c3fe86fc44653637aea4680b20cf4a3919b7540c SHA1 a1e6cd353cec0a45b588c9995fb801cb82792457 SHA256 1d86ed32a423a4e8e6af86272561dd598d9ce6d5bb55eb6c810b11a6c3383c6a size 221 +MD5 66daf69a44c4ec8add00f66d8ee0661d metadata.xml 221 +RMD160 c3fe86fc44653637aea4680b20cf4a3919b7540c metadata.xml 221 +SHA256 1d86ed32a423a4e8e6af86272561dd598d9ce6d5bb55eb6c810b11a6c3383c6a metadata.xml 221 +MD5 d31d9cff1f612b5124c36226627933ea files/digest-grukeri-1.0.0 64 +RMD160 fd0189c180199f749f7dc23c28e7418e43442f76 files/digest-grukeri-1.0.0 64 +SHA256 de57d951c55dd1831d42c3462972b63eba10da015929745b6dce4465423fb86a files/digest-grukeri-1.0.0 64 +MD5 bbf9062347d3d698b2ab23532f0dc19e files/digest-grukeri-1.0.1 64 +RMD160 44550704e435a0bf2a7978ba3b38dbff3329b927 files/digest-grukeri-1.0.1 64 +SHA256 9a00515693c2128f57f34715582d8eda6be3e86e9c005346cb341bf473cf6e39 files/digest-grukeri-1.0.1 64 +MD5 eb6c5c4e7950ff7cfdcd0b770ddfb2ce files/digest-grukeri-1.0.2 64 +RMD160 96ff213b4954c6b379329ee78253c0795298ece5 files/digest-grukeri-1.0.2 64 +SHA256 f755f0457ec5e3ebed9711c0bb6d1c9a8d1f52b4ab520f395409b869ab8482c9 files/digest-grukeri-1.0.2 64 +MD5 61793ebb83b6edf9db592b1b72129582 files/digest-grukeri-1.1.0 64 +RMD160 dafbb06e5d90a4582a9af36da387a1deea240ea1 files/digest-grukeri-1.1.0 64 +SHA256 179f4a0f637e9391e86601405a381296a855835d902f85a7e74d1a56b34e7518 files/digest-grukeri-1.1.0 64 +MD5 737c18b1184cfdc4ac5850b6789cb5cd files/digest-grukeri-1.2.0 238 +RMD160 b27a69314a0a68c8a3c5c0df1caee0bc585a7099 files/digest-grukeri-1.2.0 238 +SHA256 784d15ff9a1be3a585cfbc58098242f87ed73d7d76c01153db423306977f7c33 files/digest-grukeri-1.2.0 238 +MD5 f0bbe0a82c65d60b8088ca5dc164a27b files/digest-grukeri-1.2.1 238 +RMD160 8880122dbaff7306cae3ac6137e7aba3a1baed1c files/digest-grukeri-1.2.1 238 +SHA256 1c3f4ed3c7ea14fa686239c03f2e98455ebee9945a7ec76268647549af999e7a files/digest-grukeri-1.2.1 238 diff --git a/app-admin/grukeri/files/digest-grukeri-1.0.0 b/app-admin/grukeri/files/digest-grukeri-1.0.0 new file mode 100644 index 0000000..ae40ec3 --- /dev/null +++ b/app-admin/grukeri/files/digest-grukeri-1.0.0 @@ -0,0 +1 @@ +MD5 fd5fd14665bfcaf7e8410dff26c0d1aa grukeri-1.0.0.tar.gz 16461 diff --git a/app-admin/grukeri/files/digest-grukeri-1.0.1 b/app-admin/grukeri/files/digest-grukeri-1.0.1 new file mode 100644 index 0000000..100dac6 --- /dev/null +++ b/app-admin/grukeri/files/digest-grukeri-1.0.1 @@ -0,0 +1 @@ +MD5 674b99b090d333f5da9e7eacd8c4eb00 grukeri-1.0.1.tar.gz 16576 diff --git a/app-admin/grukeri/files/digest-grukeri-1.0.2 b/app-admin/grukeri/files/digest-grukeri-1.0.2 new file mode 100644 index 0000000..f099cf2 --- /dev/null +++ b/app-admin/grukeri/files/digest-grukeri-1.0.2 @@ -0,0 +1 @@ +MD5 dd1f28bb38172926e1028c751240a29c grukeri-1.0.2.tar.gz 17176 diff --git a/app-admin/grukeri/files/digest-grukeri-1.1.0 b/app-admin/grukeri/files/digest-grukeri-1.1.0 new file mode 100644 index 0000000..16bb1a0 --- /dev/null +++ b/app-admin/grukeri/files/digest-grukeri-1.1.0 @@ -0,0 +1 @@ +MD5 97b8f06377f85af57c86d3ef0b206bb3 grukeri-1.1.0.tar.gz 19945 diff --git a/app-admin/grukeri/files/digest-grukeri-1.2.0 b/app-admin/grukeri/files/digest-grukeri-1.2.0 new file mode 100644 index 0000000..2c475ed --- /dev/null +++ b/app-admin/grukeri/files/digest-grukeri-1.2.0 @@ -0,0 +1,3 @@ +MD5 c1da875d85fd725ea6a39b42fe46962f grukeri-1.2.0.tar.gz 23555 +RMD160 524cb608af0e82512567c062ed05c960128651d4 grukeri-1.2.0.tar.gz 23555 +SHA256 b15cf5993c211132d1f0f4431541153af596c341d79aeab739283a4c21800c6d grukeri-1.2.0.tar.gz 23555 diff --git a/app-admin/grukeri/files/digest-grukeri-1.2.1 b/app-admin/grukeri/files/digest-grukeri-1.2.1 new file mode 100644 index 0000000..ff42463 --- /dev/null +++ b/app-admin/grukeri/files/digest-grukeri-1.2.1 @@ -0,0 +1,3 @@ +MD5 5cfed6023a76c195f641b8873a72e784 grukeri-1.2.1.tar.gz 32845 +RMD160 c90f84b7b662bd86722dc5267d2f840b00805a1e grukeri-1.2.1.tar.gz 32845 +SHA256 3a42c8e71a77878c521b6bf56b247dab3f734e75ab8b9d7ea0715b3c8e366d01 grukeri-1.2.1.tar.gz 32845 diff --git a/app-admin/grukeri/grukeri-1.0.0.ebuild b/app-admin/grukeri/grukeri-1.0.0.ebuild new file mode 100644 index 0000000..3840281 --- /dev/null +++ b/app-admin/grukeri/grukeri-1.0.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +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 backup, be sure that pg_dumpall works without password" + ewarn "Best way is: echo 'localhost:5432:*:postgres:YOURPASSWORD' >> /root/.pgpass" + ewarn "" +} diff --git a/app-admin/grukeri/grukeri-1.0.1.ebuild b/app-admin/grukeri/grukeri-1.0.1.ebuild new file mode 100644 index 0000000..576363e --- /dev/null +++ b/app-admin/grukeri/grukeri-1.0.1.ebuild @@ -0,0 +1,62 @@ +# Copyright (c) 2004.2005 Radoslaw Stachowiak <radek@alter.pl> +# $Id: grukeri.ebuild 139 2005-05-23 19:40:34Z 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 backup, be sure that pg_dumpall works without password" + ewarn "Best way is: echo 'localhost:5432:*:postgres:YOURPASSWORD' >> /root/.pgpass" + ewarn "" +} diff --git a/app-admin/grukeri/grukeri-1.0.2.ebuild b/app-admin/grukeri/grukeri-1.0.2.ebuild new file mode 100644 index 0000000..21ad75b --- /dev/null +++ b/app-admin/grukeri/grukeri-1.0.2.ebuild @@ -0,0 +1,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 "" +} diff --git a/app-admin/grukeri/grukeri-1.1.0.ebuild b/app-admin/grukeri/grukeri-1.1.0.ebuild new file mode 100644 index 0000000..fe33b65 --- /dev/null +++ b/app-admin/grukeri/grukeri-1.1.0.ebuild @@ -0,0 +1,68 @@ +# Copyright (c) 2004.2005 Radoslaw Stachowiak <radek@alter.pl> +# $Id: grukeri.ebuild 195 2005-09-25 00:09:47Z 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-admin/syslog-ng-1.6.0 + >=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 + doexe varlogi + doexe entepi + + 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 ".. varlogi - /var/log cleaner (removes old logfiles)" + einfo ".. entepi - NTP time synchronizer (instead of running ntpd)" + 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 "" +} diff --git a/app-admin/grukeri/grukeri-1.2.0.ebuild b/app-admin/grukeri/grukeri-1.2.0.ebuild new file mode 100644 index 0000000..fe33b65 --- /dev/null +++ b/app-admin/grukeri/grukeri-1.2.0.ebuild @@ -0,0 +1,68 @@ +# Copyright (c) 2004.2005 Radoslaw Stachowiak <radek@alter.pl> +# $Id: grukeri.ebuild 195 2005-09-25 00:09:47Z 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-admin/syslog-ng-1.6.0 + >=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 + doexe varlogi + doexe entepi + + 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 ".. varlogi - /var/log cleaner (removes old logfiles)" + einfo ".. entepi - NTP time synchronizer (instead of running ntpd)" + 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 "" +} diff --git a/app-admin/grukeri/grukeri-1.2.1.ebuild b/app-admin/grukeri/grukeri-1.2.1.ebuild new file mode 100644 index 0000000..fe33b65 --- /dev/null +++ b/app-admin/grukeri/grukeri-1.2.1.ebuild @@ -0,0 +1,68 @@ +# Copyright (c) 2004.2005 Radoslaw Stachowiak <radek@alter.pl> +# $Id: grukeri.ebuild 195 2005-09-25 00:09:47Z 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-admin/syslog-ng-1.6.0 + >=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 + doexe varlogi + doexe entepi + + 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 ".. varlogi - /var/log cleaner (removes old logfiles)" + einfo ".. entepi - NTP time synchronizer (instead of running ntpd)" + 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 "" +} diff --git a/app-admin/grukeri/metadata.xml b/app-admin/grukeri/metadata.xml new file mode 100644 index 0000000..eb56bf3 --- /dev/null +++ b/app-admin/grukeri/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>radek@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/app-admin/portki/ChangeLog b/app-admin/portki/ChangeLog new file mode 100644 index 0000000..5dbb81f --- /dev/null +++ b/app-admin/portki/ChangeLog @@ -0,0 +1,237 @@ +# ChangeLog for app-admin/portki +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 24 Sep 2006; Radoslaw Stachowiak <radek@gentoo.org>: + ---------------------------------------------------------------------------- + NEW VERSION: 0.10.2, dedicated to new SwMind's Sales Director :) + + BUG: updated portki dependencies in ebuild + BUG: Ignored error of stage should be marked as FAILED stage in info + BUG: error during dispatch-conf (i.e. missing config option) is not detected by portki + CHANGE: changed tmpreaper to tmpwatch + CHANGE: ignore-on-fail now ignores all phases + FEATURE: more information sent to masterhost during put stage + CHANGE: general change in stageEnd/errExit logic on failed stages + + + 07 Jul 2006; Radoslaw Stachowiak <radek@gentoo.org>: + ---------------------------------------------------------------------------- + NEW VERSION: 0.10.1, dedicated to DoKl@ :) + + BUG: fixed glsa-usage + BUG: wrong local usage in clean stage + BUG: master stage breaking ExecutionDay discovery (green case) + BUG: forceall works in all cases + BUG: new patch for glsa-check + BUG: better information in info stage for not applied glsa's + BUG: dispatch-conf call uses 2>/dev/null to omit error message (pre sort) + BUG: when some conf args (mostly in sync) not being defined! + FEATURE: some portki.conf cleanup and clarification + FEATURE: added INSTALL.txt and more files to the tarball + + + 02 Sep 2005; Radoslaw Stachowiak <radek@gentoo.org>: + ---------------------------------------------------------------------------- + NEW VERSION: 0.10.0, dedicated to cieszyn 'brackie beer' and some sms'es + + FEATURE: emerge cycle now support every 3m, 6m and 12m intervals + FEATURE: info output cycle is linked with emerge one using ExecutionDay + BUG: forceall didn't work + BUG: changed ebuild.config working + BUG: new emerge on fail output + BUG: echo 'CONFIG FILE NEEDS UPDATE' removed in non-verbose mode. + + + 06 Jun 2005; Radoslaw Stachowiak <radek@gentoo.org>: + ---------------------------------------------------------------------------- + NEW VERSION: 0.9.0, dedicated with a little late, to "bojanka birthday, 26!" + + FEATURE: added DEPEND atom to eix-0.2.2 + FEATURE: added revdep-rebuild ignore phase + FEATURE: moved revdep/depclean to clean stage + BUG: added before revdep: rm -f $HOME/.revdep-rebuild* + BUG: zmiana eix -u na update-eix + BUG: info phase is sync with WEEKLY/MONTHLY cycle + BUG: broken dispatch-conf patch + config + + + 03 Mar 2005; Radoslaw Stachowiak <radek@gentoo.org>: + ---------------------------------------------------------------------------- + NEW VERSION: 0.8.2, dedicated to "Drugi slub mojego Dziadzia, best wishes!" + + FEATURES added: + .. change info phase to being sync with emerge_cycle variable + + BUGS fixed: + .. fix bug with empty genlop information (slightly changed logic) + .. changed tmpreaper category dependency in portki ebuild + .. fixed serious bug in emerge pretend phase missing depend problems + + + 17 Feb 2005; Radoslaw Stachowiak <radek@gentoo.org>: + ---------------------------------------------------------------------------- + NEW VERSION: 0.8.1, dedicated to "XELION fucha ;)" + + FEATURES added: + .. added eix support (soft dependency), and removed esearch dependecy + .. new command "portki forceall" = all + force emerge no matter of cycle var. + .. add emerge -p depclean at end of emerge + + BUGS fixed: + .. nagios errorcodes are now nagios-plugin compliant + + + 15 Jan 2005; Radoslaw Stachowiak <radek@gentoo.org>: + ---------------------------------------------------------------------------- + NEW VERSION: 0.8.0, dedicated to PMS :) /not released into public/ + + FEATURES added: + .. patch for glsa-check os.system bug + .. better info stage information about runned stages (TODAY/etc) + + BUGS fixed: + .. ebuild downgrades UD was not catch in pretend output due to wrong regexp + + + 10 Jan 2005; Radoslaw Stachowiak <radek@gentoo.org>: + ---------------------------------------------------------------------------- + NEW VERSION: 0.7.0, dedicated to "pytania-sw-20050109-txt" ;) + + FEATURES added: + .. info about last 7 (variable) days from genlop + .. changed qpkg to equery + .. added portlog result to put stage output + .. better glsa-check output handling in emerge stage + .. emerge can be executed now in weekly or montlhy cycle only + + BUGS fixed: + .. portki now checks for root at start + .. portki nagios has longer warning state detection (10000s vs 86400) + .. portki gave ignored errors in 60/70 stages on sudo calls (missing path) + .. emerge stage gave error when $filest_left was empty + .. packages.mask overwrite + + + 06 Dec 2004; Radoslaw Stachowiak <radek@gentoo.org>: + ---------------------------------------------------------------------------- + NEW VERSION: 0.6.1, dedicated to "Swiety Mikolaj & sikanie w lozko :)" + + FEATURES added: + .. revdep-rebuild can be now ignored + .. depend changed to bash-3.0 and genlop-0.30 + .. portki info prints config files left + + BUGS fixed: + .. revdep-rebuild cache removal output is now properly redirected to null + .. no error message at 40.emerge when portki updates portki :) (tmpreaper) + .. correct 'portki nagios' support (permissions in ebuild + stages) + .. fixed put/* files growing because of wrong use '>>' instead of '>' + + + 04 Dec 2004; Radoslaw Stachowiak <radek@gentoo.org>: + ---------------------------------------------------------------------------- + NEW VERSION: 0.6.0, dedicated to my brother who's got birthday today :) + + FEATURES added: + .. allowed to broke stages (ignored ones ) are now ignored only ONCE. + .. new cfg files for update are reported to log/console at dispatch phase + .. revdep-rebuild after emerge + + BUGS fixed: + .. nagios permissions + .. fixed extra info on package update even when verbose was off + .. dispatch-conf patch updated + .. INFO warning about lock is not shown is lock is held shorter than 3600s. + + + 25 Nov 2004; Radoslaw Stachowiak <radek@gentoo.org>: + ---------------------------------------------------------------------------- + NEW VERSION: 0.5.0 + + FEATURES added: + .. EMERGE critical package was UPDATED -> "EMERGE UPDATED CRITICAL PACAKGE: $pname" + .. portki INFO informuje ze jest (b)lock aktywny + .. changed default time from "07 17" to "06" + .. changed to 644 /usr/lib/portki files. + + BUGS fixed: + .. master: shows info on start and uses rsync instead emerge + .. oslabione sprawdzenie ze portki.cron nie istnieje + .. stage_name not being definied on 'portki unlock' etc <10 stage commands + .. emerge stage skipped packages update after empty pretend (verbose/grep/-s bug) + .. portki unlock pokazalo czas wykonywania 50s podczas kiedy usuwalo lock 5s + .. tailonfail in stage 40.emerge pokazuje sie w /var/log/portki.log a nie powinno (tylko na ekran) + + + 28 Oct 2004; Radoslaw Stachowiak <radek@gentoo.org>: + ---------------------------------------------------------------------------- + NEW VERSION: 0.4.1 + + FEATURES added: + .. single stage execution model -> selected stage execution model + + BUGS fixed: + .. dokeep on /var/state/portki/last in ebuild + .. if emerge -p returns nothing, real world emerge is skipped saving some cputime. + .. make.conf bug update in case of last/* removal + .. verbose info banner on cron run is now disabled + .. genlop is shorter now (17 instead of 50) + .. on no execution in verbose mode -> info about failure to detect runnable stage + + + 26 Oct 2004; Radoslaw Stachowiak <radek@gentoo.org>: + + NEW VERSION: 0.4.0 + + FEATURES added: + .. portki test on 01 stage, testuja cala konfiguracje portek + .. definicja w portki.conf uszkodzonych stage'ow, tzw bledu niekrytycznego + .. cmd.* are now 'bashed' instead of 'sourced' + .. check stages definition (regexp) on portki.sh parsing stage. + .. realverbose mode (stage_log is redirected to /dev/stdout - nologging) + .. info on critical (user defined or world) packages updates (genlop parsing) + .. nagios plugins status information compability (portki nagios) + .. pretend options in portki.conf -> tree is now disabled by default + + BUGS fixed: + .. portki info powinno dzialac nawet jesli jest lock + .. portki info nie usuwa stanu failed calych portek + .. ebuild usuwa /var/state/portki/(last|tmp)/* + .. zastapienie czasow %s z plikow na fulldate, uzycie stat -c %y, zmiany w obsludze last + .. poprawki w Makefile + + 22 Oct 2004; Radoslaw Stachowiak <radek@gentoo.org>: + + New version 0.3.2 + + NEW BLOCK feature: portki block - blokuje portki do podanej daty/ilosci sekund z powodem + + Many fixes for 0.3.2 release: + .. tmpreaper /var/log/portage + .. portki resume = continue + .. mkdir on ebuild.config 2> /dev/null + .. resume informuje na starcie ze pracuje w trybie resume + .. esearch informuje na starcie ze pracuje + .. lasterr jest aliasem do lastfail + .. RUNNING from pokazuje juz poprawna date + .. info wie kiedy stage zakonczyls ie bledem (failem) odrozniajac to od RUNNING + .. naprawiony blad z plikami sciaganymi w fazie update (cmd.remote itp) + + 27 Sep 2004; Radoslaw Stachowiak <radek@gentoo.org>: + New version 0.3.1 + + 09 Sep 2004; Radoslaw Stachowiak <radek@gentoo.org>: + New version 0.3.0 + + 01 Sep 2004; Radoslaw Stachowiak <radek@gentoo.org>: + New version 0.2.3 + + 30 Aug 2004; Radoslaw Stachowiak <radek@gentoo.org>: + New version 0.2.1 + + 28 Aug 2004; Radoslaw Stachowiak <radek@gentoo.org>: + Marked stable on x86 + + 22 Aug 2004; Radoslaw Stachowiak <radek@gentoo.org>: + Initial import v0.2.0. Ebuild submitted by me. diff --git a/app-admin/portki/Manifest b/app-admin/portki/Manifest new file mode 100644 index 0000000..6d853d1 --- /dev/null +++ b/app-admin/portki/Manifest @@ -0,0 +1,128 @@ +DIST portki-0.10.0.tar.gz 16839 +DIST portki-0.10.1.tar.gz 22184 RMD160 1e3c5bb99b47656288fc96a13add19f2cf3f5b23 SHA256 cc2c8d7fb116904e9c0843b0dd820a7ad57c9441fa9174c3913ab4e7ea6474ff +DIST portki-0.10.2.tar.gz 22302 RMD160 6a87a59a5aaa8a62238a2ede247a9f4f136691b6 SHA1 3323793104208fbe9d6c9337a11899aee4aa62cd SHA256 516ef4586aa1bea99f9dd01477a3ff4a449c57d3b6893c0eebf6008f292054e3 +DIST portki-0.3.0.tar.gz 12441 +DIST portki-0.3.1.tar.gz 12965 +DIST portki-0.3.2.tar.gz 13530 +DIST portki-0.4.0.tar.gz 15508 +DIST portki-0.5.0.tar.gz 15911 +DIST portki-0.6.0.tar.gz 14974 +DIST portki-0.6.1.tar.gz 15787 +DIST portki-0.7.0.tar.gz 16146 +DIST portki-0.8.0.tar.gz 16270 +DIST portki-0.8.1.tar.gz 16679 +DIST portki-0.8.2.tar.gz 16602 +DIST portki-0.9.0.tar.gz 16888 +EBUILD portki-0.10.0.ebuild 3474 RMD160 211e60f4395af8d86b4aecc8d4a9d4c262d218be SHA1 698034b54dd4e10ff917fe9262fdb2742aac5d56 SHA256 f7b43499bbce4b590ee7ba36a201779927ba153f6c5d5c907670372b1c994d88 +MD5 95dd71a25924dfda47c3db7326314fc7 portki-0.10.0.ebuild 3474 +RMD160 211e60f4395af8d86b4aecc8d4a9d4c262d218be portki-0.10.0.ebuild 3474 +SHA256 f7b43499bbce4b590ee7ba36a201779927ba153f6c5d5c907670372b1c994d88 portki-0.10.0.ebuild 3474 +EBUILD portki-0.10.1.ebuild 3474 RMD160 211e60f4395af8d86b4aecc8d4a9d4c262d218be SHA1 698034b54dd4e10ff917fe9262fdb2742aac5d56 SHA256 f7b43499bbce4b590ee7ba36a201779927ba153f6c5d5c907670372b1c994d88 +MD5 95dd71a25924dfda47c3db7326314fc7 portki-0.10.1.ebuild 3474 +RMD160 211e60f4395af8d86b4aecc8d4a9d4c262d218be portki-0.10.1.ebuild 3474 +SHA256 f7b43499bbce4b590ee7ba36a201779927ba153f6c5d5c907670372b1c994d88 portki-0.10.1.ebuild 3474 +EBUILD portki-0.10.2.ebuild 3465 RMD160 d6c38c03ecb3000c428cf3ef8c32d4ff885649bd SHA1 ff95f22c4544e2c47c45a732175b7ef5b0bf4ca4 SHA256 848639b18a2d82099083dd79a7f32687cc10eea3fbe56113df1922dbd42d773a +MD5 03a3453016f3a98f38e2b92bebc967b3 portki-0.10.2.ebuild 3465 +RMD160 d6c38c03ecb3000c428cf3ef8c32d4ff885649bd portki-0.10.2.ebuild 3465 +SHA256 848639b18a2d82099083dd79a7f32687cc10eea3fbe56113df1922dbd42d773a portki-0.10.2.ebuild 3465 +EBUILD portki-0.3.0.ebuild 3267 RMD160 1afc39aa79405b0d3568206b6dd4f490e9a1ec86 SHA1 4d8bde6ce5a2c62cf132ed93a1689f0213e495d0 SHA256 f399812fa09c91fa7c07cf20d74775205b26e29a014ec2358db578f1debf3165 +MD5 dd90519c1ab446ab6d7f3953c0efa4bb portki-0.3.0.ebuild 3267 +RMD160 1afc39aa79405b0d3568206b6dd4f490e9a1ec86 portki-0.3.0.ebuild 3267 +SHA256 f399812fa09c91fa7c07cf20d74775205b26e29a014ec2358db578f1debf3165 portki-0.3.0.ebuild 3267 +EBUILD portki-0.3.1.ebuild 3267 RMD160 1afc39aa79405b0d3568206b6dd4f490e9a1ec86 SHA1 4d8bde6ce5a2c62cf132ed93a1689f0213e495d0 SHA256 f399812fa09c91fa7c07cf20d74775205b26e29a014ec2358db578f1debf3165 +MD5 dd90519c1ab446ab6d7f3953c0efa4bb portki-0.3.1.ebuild 3267 +RMD160 1afc39aa79405b0d3568206b6dd4f490e9a1ec86 portki-0.3.1.ebuild 3267 +SHA256 f399812fa09c91fa7c07cf20d74775205b26e29a014ec2358db578f1debf3165 portki-0.3.1.ebuild 3267 +EBUILD portki-0.3.2.ebuild 3279 RMD160 319be5d6779b65ac2909168a362ec13111fe691b SHA1 4938006a77d19daad08dd859a7f670014cdd747b SHA256 00f132a6ce29416706ea572be1b7de478c8b4297803e18339057ceaa3185528b +MD5 3c009b9fa4fa5c7c9e00484690a2fefa portki-0.3.2.ebuild 3279 +RMD160 319be5d6779b65ac2909168a362ec13111fe691b portki-0.3.2.ebuild 3279 +SHA256 00f132a6ce29416706ea572be1b7de478c8b4297803e18339057ceaa3185528b portki-0.3.2.ebuild 3279 +EBUILD portki-0.4.0.ebuild 3449 RMD160 5db40b6737cba8c2425332ae630fe39921ed7e3d SHA1 74aaab39c83bd4a5f2cf95dbb5eb66318e9359ea SHA256 d7c72f8e99d08948e2f4c7acbe679da9c902bea164954efaa01a94970ad945f1 +MD5 838b1f6598374d6fe8007f809a7a664e portki-0.4.0.ebuild 3449 +RMD160 5db40b6737cba8c2425332ae630fe39921ed7e3d portki-0.4.0.ebuild 3449 +SHA256 d7c72f8e99d08948e2f4c7acbe679da9c902bea164954efaa01a94970ad945f1 portki-0.4.0.ebuild 3449 +EBUILD portki-0.5.0.ebuild 3501 RMD160 580f71577331e70075784849e73551b80dbe04db SHA1 b79e354d0d881fc65eadbf429943f797a01656e7 SHA256 508552977b86c06c78f9db84bcc010ae04f0eb77fc601a41d9a33b37ba0700b3 +MD5 d77b5ace1fc903b7b9e1a10e3f25aa75 portki-0.5.0.ebuild 3501 +RMD160 580f71577331e70075784849e73551b80dbe04db portki-0.5.0.ebuild 3501 +SHA256 508552977b86c06c78f9db84bcc010ae04f0eb77fc601a41d9a33b37ba0700b3 portki-0.5.0.ebuild 3501 +EBUILD portki-0.6.0.ebuild 3870 RMD160 153c5211e47fd3b400229288daf586edb29f2f8f SHA1 882829e0c39f3d6473c2eb5cd41efc4fdcc3b80e SHA256 3e9effb0f7a25ddc43eafc409f1244c32002a15176e7d123f5438a8aa524c445 +MD5 3d2fde1eca442c8f0351d02e0afe6217 portki-0.6.0.ebuild 3870 +RMD160 153c5211e47fd3b400229288daf586edb29f2f8f portki-0.6.0.ebuild 3870 +SHA256 3e9effb0f7a25ddc43eafc409f1244c32002a15176e7d123f5438a8aa524c445 portki-0.6.0.ebuild 3870 +EBUILD portki-0.6.1.ebuild 4180 RMD160 575de96dc6a28dc396fdfddad2606e99a16bc669 SHA1 9a1a1183364f3a05ef6fc83881d0a6d9e79d298f SHA256 8ccd4b966eacc8c4b5f19152306f43234f7ea0595a5895f7f38cf449b0c765c1 +MD5 24e2f1256bbb0c7370d931aca2b47eee portki-0.6.1.ebuild 4180 +RMD160 575de96dc6a28dc396fdfddad2606e99a16bc669 portki-0.6.1.ebuild 4180 +SHA256 8ccd4b966eacc8c4b5f19152306f43234f7ea0595a5895f7f38cf449b0c765c1 portki-0.6.1.ebuild 4180 +EBUILD portki-0.7.0.ebuild 4180 RMD160 575de96dc6a28dc396fdfddad2606e99a16bc669 SHA1 9a1a1183364f3a05ef6fc83881d0a6d9e79d298f SHA256 8ccd4b966eacc8c4b5f19152306f43234f7ea0595a5895f7f38cf449b0c765c1 +MD5 24e2f1256bbb0c7370d931aca2b47eee portki-0.7.0.ebuild 4180 +RMD160 575de96dc6a28dc396fdfddad2606e99a16bc669 portki-0.7.0.ebuild 4180 +SHA256 8ccd4b966eacc8c4b5f19152306f43234f7ea0595a5895f7f38cf449b0c765c1 portki-0.7.0.ebuild 4180 +EBUILD portki-0.8.0.ebuild 4262 RMD160 e01ac75c63312f3eeb2d5e6e6af085fec09c09d8 SHA1 d526d387c9bd4c528a95b7fb8e9da6989a2f6c18 SHA256 9091efe954a23358179c1888457149372e21c429a320a4208c9f0a99273df5de +MD5 f477dc5efa0727750eee1a83ad12b189 portki-0.8.0.ebuild 4262 +RMD160 e01ac75c63312f3eeb2d5e6e6af085fec09c09d8 portki-0.8.0.ebuild 4262 +SHA256 9091efe954a23358179c1888457149372e21c429a320a4208c9f0a99273df5de portki-0.8.0.ebuild 4262 +EBUILD portki-0.8.1.ebuild 4286 RMD160 a762566d1b62f257ccfe7dc1c3171eeafb0d8c17 SHA1 de9f58f7ea04f62986bcb48195ddfa5b95e2c5a0 SHA256 1c30d136448dba2a7f79a0fadd3b9e86ab53ed86cc94bde36dceb14c56b9e195 +MD5 104ae724a2d5a47466ebea7d6e8068bd portki-0.8.1.ebuild 4286 +RMD160 a762566d1b62f257ccfe7dc1c3171eeafb0d8c17 portki-0.8.1.ebuild 4286 +SHA256 1c30d136448dba2a7f79a0fadd3b9e86ab53ed86cc94bde36dceb14c56b9e195 portki-0.8.1.ebuild 4286 +EBUILD portki-0.8.2.ebuild 4288 RMD160 8fed6870ed022b8060c3652f8883e050266b4540 SHA1 a6a973ced098791f93a3ab2e1f297592465b57fc SHA256 9ed6d9267f99e1a724746d89998e8f54495644431e80c2ebd1bd9da6bd701855 +MD5 5351b4b3bedb14aaee4f0142d6b21fa0 portki-0.8.2.ebuild 4288 +RMD160 8fed6870ed022b8060c3652f8883e050266b4540 portki-0.8.2.ebuild 4288 +SHA256 9ed6d9267f99e1a724746d89998e8f54495644431e80c2ebd1bd9da6bd701855 portki-0.8.2.ebuild 4288 +EBUILD portki-0.9.0.ebuild 4336 RMD160 addaa883c19ec3655ee9c33e9140e313eba40b2c SHA1 7c00d225b2e0b6773460c6ca1171ce4d21c4d537 SHA256 d30d0fc00742ecc1d77978c72c1cd10a9601f5562f0c2f792d729bc786e48079 +MD5 bd7701d268e7e24c0f9053db3c85f8fb portki-0.9.0.ebuild 4336 +RMD160 addaa883c19ec3655ee9c33e9140e313eba40b2c portki-0.9.0.ebuild 4336 +SHA256 d30d0fc00742ecc1d77978c72c1cd10a9601f5562f0c2f792d729bc786e48079 portki-0.9.0.ebuild 4336 +MISC ChangeLog 9538 RMD160 7cbba758f16dfb3df104db2dc91d75fd3d2a9ff6 SHA1 323a6745c472b13b9464e090dee45d4d1f9bae60 SHA256 4b73bcd4ee9196460120ceb2c828b6d9d7583058430004e6f18833cf7223329c +MD5 be416b33ff63393d0da8180f4fcfeedc ChangeLog 9538 +RMD160 7cbba758f16dfb3df104db2dc91d75fd3d2a9ff6 ChangeLog 9538 +SHA256 4b73bcd4ee9196460120ceb2c828b6d9d7583058430004e6f18833cf7223329c ChangeLog 9538 +MISC metadata.xml 221 RMD160 c3fe86fc44653637aea4680b20cf4a3919b7540c SHA1 a1e6cd353cec0a45b588c9995fb801cb82792457 SHA256 1d86ed32a423a4e8e6af86272561dd598d9ce6d5bb55eb6c810b11a6c3383c6a +MD5 66daf69a44c4ec8add00f66d8ee0661d metadata.xml 221 +RMD160 c3fe86fc44653637aea4680b20cf4a3919b7540c metadata.xml 221 +SHA256 1d86ed32a423a4e8e6af86272561dd598d9ce6d5bb55eb6c810b11a6c3383c6a metadata.xml 221 +MD5 1cbb15897f8487cb0af431389df92aee files/digest-portki-0.10.0 64 +RMD160 4091de8f1f3d241224218f709b5ab4e768303f6f files/digest-portki-0.10.0 64 +SHA256 cc9ca7bb40eae581391077caa1850fd31c959250fb8ec0178cf27f94530a4182 files/digest-portki-0.10.0 64 +MD5 6c04d1b17fbf5ac426c29e1c1b7db1f1 files/digest-portki-0.10.1 238 +RMD160 5a39c60cad3703c77d1d60e2b811929133bebcd9 files/digest-portki-0.10.1 238 +SHA256 7db96e79e515454fe64346d241fe8a7505a89d2dd2a8c1eb1155fd9a2257989e files/digest-portki-0.10.1 238 +MD5 880e15e33dce3b33f6d56bcbd738167b files/digest-portki-0.10.2 238 +RMD160 f804d11c24205dba5f018d17423535e35ae1dd6f files/digest-portki-0.10.2 238 +SHA256 faf22d7bcbdb4a591280f14ced5e119f38f1a8933bfcd34d1037f15eba1bb9c4 files/digest-portki-0.10.2 238 +MD5 bd3ff7d73bdae53ed64d41404bc5cfad files/digest-portki-0.3.0 63 +RMD160 e4c9dabc35ca4c89d1da450ad89ffb0933bb7fe0 files/digest-portki-0.3.0 63 +SHA256 ee0a492c3fa48a162bd86b90dc744db2d220a450c9fe993bc4e9ad79dec5d554 files/digest-portki-0.3.0 63 +MD5 51c325f2a38e28123381f1ad0cb83901 files/digest-portki-0.3.1 63 +RMD160 1b572c25601479865e58751fe04ea1c3fccd1a41 files/digest-portki-0.3.1 63 +SHA256 b6574ebd6f4f6525757ae554fcaab256eab8f48413566bf9958b7fa71aef480a files/digest-portki-0.3.1 63 +MD5 d97b1e4561272ea3234bbc67bd6b481d files/digest-portki-0.3.2 63 +RMD160 20a98e9a385f60ea9f9423b59ebbdb6d04111b03 files/digest-portki-0.3.2 63 +SHA256 f245f9defc02e6d7cffb45bfc6f56b26241fbb06caf1f063c9ff13a49a5f7c84 files/digest-portki-0.3.2 63 +MD5 f9b8f5fa592f7ffc813d56ffa80c78eb files/digest-portki-0.4.0 63 +RMD160 9deb8b9860cd9b9c52e31489f50dfa15f5c11b05 files/digest-portki-0.4.0 63 +SHA256 e1829186800d45c054f9a9d0f320477b667d3cd72b6f6340213cde14bee46673 files/digest-portki-0.4.0 63 +MD5 698ea53094f9c9abf87ac4badf20f568 files/digest-portki-0.5.0 63 +RMD160 2bb2ae85309531e53746298015685f2143246f70 files/digest-portki-0.5.0 63 +SHA256 425aa1780a10b5e22cc896bece8e3d6c6bc3e35dcc10175e4971a89728668627 files/digest-portki-0.5.0 63 +MD5 1bb153f1155368da8ef7aae70b68c3c2 files/digest-portki-0.6.0 63 +RMD160 f50e5b841527a6f597e0e9c5af4d39ac0ca7e1f7 files/digest-portki-0.6.0 63 +SHA256 75090a5dcd867932bfa7c677f1b150401c74b6d4b9f0e20e4ea4a3a2017e917b files/digest-portki-0.6.0 63 +MD5 53def599cec64e3ffe5e830e1a6bb789 files/digest-portki-0.6.1 63 +RMD160 8c97ef8137780a23d8cff1354b19754d169dc598 files/digest-portki-0.6.1 63 +SHA256 1ea95d50c85bc29babe7fd03242577e9781360f15d52991bee39eccc25508891 files/digest-portki-0.6.1 63 +MD5 985599a5edd6765e3c63d3385bcb2432 files/digest-portki-0.7.0 63 +RMD160 e01b5dae73a584d3b40f993529f61a4a8f6d11e2 files/digest-portki-0.7.0 63 +SHA256 4f03aea9a3088eb4edc83cd95a5a3500ace80b1b5abc657dd7eeda09c35484f3 files/digest-portki-0.7.0 63 +MD5 3cc13f644da70c373a9c21d2e6c422e9 files/digest-portki-0.8.0 63 +RMD160 d34603199163462d5ac89799174232ed1f08d5fd files/digest-portki-0.8.0 63 +SHA256 c464a2a7ec1dd7282764c42a4505d441edd6448128a569e3c8eb23036845b867 files/digest-portki-0.8.0 63 +MD5 79760e90e1e4cee2c4f5c2e7068363a9 files/digest-portki-0.8.1 63 +RMD160 b945efde8e9fcb34a52db452ab0762483986f77d files/digest-portki-0.8.1 63 +SHA256 0435e0a0dde3bee7e4fd79fdac56d154af86a59485c69e8d23e795fef23e1326 files/digest-portki-0.8.1 63 +MD5 9e281fc4ba5e844f4f25156549eafe10 files/digest-portki-0.8.2 63 +RMD160 98b32ce289a9223307cba77c890fd0b4b8daac34 files/digest-portki-0.8.2 63 +SHA256 2ab12ce7fbb0474ac7a19b83ffa73ed1345e2fe430e69e46b8977986bcd280a4 files/digest-portki-0.8.2 63 +MD5 a6ecfad048e7acb6692013812a4f1129 files/digest-portki-0.9.0 63 +RMD160 eadee1b8e1fd2726c1f96378ce4f12a5709306ae files/digest-portki-0.9.0 63 +SHA256 2bfadec0d931996c2a41c6caab23b6f462ec1e429a862f7fb377bfd6f2d0a39f files/digest-portki-0.9.0 63 diff --git a/app-admin/portki/files/digest-portki-0.10.0 b/app-admin/portki/files/digest-portki-0.10.0 new file mode 100644 index 0000000..b19d260 --- /dev/null +++ b/app-admin/portki/files/digest-portki-0.10.0 @@ -0,0 +1 @@ +MD5 94b1fed682ee841692c3417eda42f263 portki-0.10.0.tar.gz 16839 diff --git a/app-admin/portki/files/digest-portki-0.10.1 b/app-admin/portki/files/digest-portki-0.10.1 new file mode 100644 index 0000000..89487c4 --- /dev/null +++ b/app-admin/portki/files/digest-portki-0.10.1 @@ -0,0 +1,3 @@ +MD5 dd61fc3908b835610e32c288eed1c911 portki-0.10.1.tar.gz 22184 +RMD160 1e3c5bb99b47656288fc96a13add19f2cf3f5b23 portki-0.10.1.tar.gz 22184 +SHA256 cc2c8d7fb116904e9c0843b0dd820a7ad57c9441fa9174c3913ab4e7ea6474ff portki-0.10.1.tar.gz 22184 diff --git a/app-admin/portki/files/digest-portki-0.10.2 b/app-admin/portki/files/digest-portki-0.10.2 new file mode 100644 index 0000000..96ae372 --- /dev/null +++ b/app-admin/portki/files/digest-portki-0.10.2 @@ -0,0 +1,3 @@ +MD5 b3e2e8acb764af9fedafe62c70bbad57 portki-0.10.2.tar.gz 22302 +RMD160 6a87a59a5aaa8a62238a2ede247a9f4f136691b6 portki-0.10.2.tar.gz 22302 +SHA256 516ef4586aa1bea99f9dd01477a3ff4a449c57d3b6893c0eebf6008f292054e3 portki-0.10.2.tar.gz 22302 diff --git a/app-admin/portki/files/digest-portki-0.3.0 b/app-admin/portki/files/digest-portki-0.3.0 new file mode 100644 index 0000000..37d6ce7 --- /dev/null +++ b/app-admin/portki/files/digest-portki-0.3.0 @@ -0,0 +1 @@ +MD5 af454badce850d69253da6b2318b19bd portki-0.3.0.tar.gz 12441 diff --git a/app-admin/portki/files/digest-portki-0.3.1 b/app-admin/portki/files/digest-portki-0.3.1 new file mode 100644 index 0000000..1c4a526 --- /dev/null +++ b/app-admin/portki/files/digest-portki-0.3.1 @@ -0,0 +1 @@ +MD5 662b21bbe4a1a69542e7cdfc4b1617c5 portki-0.3.1.tar.gz 12965 diff --git a/app-admin/portki/files/digest-portki-0.3.2 b/app-admin/portki/files/digest-portki-0.3.2 new file mode 100644 index 0000000..d94e54a --- /dev/null +++ b/app-admin/portki/files/digest-portki-0.3.2 @@ -0,0 +1 @@ +MD5 6e5e914ea7c0e324b38fe4e3a55a947e portki-0.3.2.tar.gz 13530 diff --git a/app-admin/portki/files/digest-portki-0.4.0 b/app-admin/portki/files/digest-portki-0.4.0 new file mode 100644 index 0000000..1dc7860 --- /dev/null +++ b/app-admin/portki/files/digest-portki-0.4.0 @@ -0,0 +1 @@ +MD5 6655a81f41ed775ca3c019c39469844d portki-0.4.0.tar.gz 15508 diff --git a/app-admin/portki/files/digest-portki-0.5.0 b/app-admin/portki/files/digest-portki-0.5.0 new file mode 100644 index 0000000..851855a --- /dev/null +++ b/app-admin/portki/files/digest-portki-0.5.0 @@ -0,0 +1 @@ +MD5 d0d0b913c08fdd506de27ac42f073473 portki-0.5.0.tar.gz 15911 diff --git a/app-admin/portki/files/digest-portki-0.6.0 b/app-admin/portki/files/digest-portki-0.6.0 new file mode 100644 index 0000000..01bb0fe --- /dev/null +++ b/app-admin/portki/files/digest-portki-0.6.0 @@ -0,0 +1 @@ +MD5 306ad7fef445a8904415c635c3b626b4 portki-0.6.0.tar.gz 14974 diff --git a/app-admin/portki/files/digest-portki-0.6.1 b/app-admin/portki/files/digest-portki-0.6.1 new file mode 100644 index 0000000..d24bfdb --- /dev/null +++ b/app-admin/portki/files/digest-portki-0.6.1 @@ -0,0 +1 @@ +MD5 02acaf64d099c927d7581d67077b7cf3 portki-0.6.1.tar.gz 15787 diff --git a/app-admin/portki/files/digest-portki-0.7.0 b/app-admin/portki/files/digest-portki-0.7.0 new file mode 100644 index 0000000..df3c69e --- /dev/null +++ b/app-admin/portki/files/digest-portki-0.7.0 @@ -0,0 +1 @@ +MD5 768122f9037b84e8cd6f4160065b39f3 portki-0.7.0.tar.gz 16146 diff --git a/app-admin/portki/files/digest-portki-0.8.0 b/app-admin/portki/files/digest-portki-0.8.0 new file mode 100644 index 0000000..b7c717e --- /dev/null +++ b/app-admin/portki/files/digest-portki-0.8.0 @@ -0,0 +1 @@ +MD5 d72b4f756efbf5f1e922ed9ea33a0369 portki-0.8.0.tar.gz 16270 diff --git a/app-admin/portki/files/digest-portki-0.8.1 b/app-admin/portki/files/digest-portki-0.8.1 new file mode 100644 index 0000000..bdd830f --- /dev/null +++ b/app-admin/portki/files/digest-portki-0.8.1 @@ -0,0 +1 @@ +MD5 200f63285dd8e97f723f50bebce3628e portki-0.8.1.tar.gz 16679 diff --git a/app-admin/portki/files/digest-portki-0.8.2 b/app-admin/portki/files/digest-portki-0.8.2 new file mode 100644 index 0000000..0ddf0c4 --- /dev/null +++ b/app-admin/portki/files/digest-portki-0.8.2 @@ -0,0 +1 @@ +MD5 a7f252371d8768a99281a994aab21346 portki-0.8.2.tar.gz 16602 diff --git a/app-admin/portki/files/digest-portki-0.9.0 b/app-admin/portki/files/digest-portki-0.9.0 new file mode 100644 index 0000000..183b051 --- /dev/null +++ b/app-admin/portki/files/digest-portki-0.9.0 @@ -0,0 +1 @@ +MD5 e84114caf61381c8fc852abd17ee3e1d portki-0.9.0.tar.gz 16888 diff --git a/app-admin/portki/metadata.xml b/app-admin/portki/metadata.xml new file mode 100644 index 0000000..eb56bf3 --- /dev/null +++ b/app-admin/portki/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>radek@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/app-admin/portki/portki-0.10.0.ebuild b/app-admin/portki/portki-0.10.0.ebuild new file mode 100644 index 0000000..0f75530 --- /dev/null +++ b/app-admin/portki/portki-0.10.0.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Portage synchronization tool for managing group of gentoo servers." +HOMEPAGE="http://dev.gentoo.org/~radek/portki/" +SRC_URI="${HOMEPAGE}/files/${P}.tar.gz" +LICENSE="GPL2" + +SLOT="0" +IUSE="" + +RESTRICT="primaryuri" + +KEYWORDS="x86" + +DEPEND=">=app-shells/bash-3.0 + >=app-admin/tmpreaper-1" + +RDEPEND=" + >=sys-apps/portage-2.0.51 + >=app-shells/bash-3.0 + >=app-admin/tmpreaper-1 + >=app-portage/genlop-0.30 + >=app-portage/eix-0.2.2 + >=app-portage/gentoolkit" + +S=${WORKDIR} + +src_install() { + + # this directories are installed with normal perms + dodir /etc/conf.d + dodir /etc/config-archive + + dodir /usr/bin + dodir /usr/lib/${PN} + + insinto /usr/lib/${PN} + exeinto /usr/lib/${PN} + + doins ${PN}.conf + doexe ${PN}.cron + doins ${PN}.stage.* + doins TODO.txt + + doins dispatch-conf-digest.patch + doins dispatch-conf.conf.recommended + + doins make.conf.recommended + + cp /usr/lib/portage/bin/dispatch-conf . + patch dispatch-conf dispatch-conf-digest.patch + newexe dispatch-conf ${PN}.dispatch-conf + + doexe ${PN}.sh + dosym ${D}/usr/lib/${PN}/${PN}.sh /usr/bin/${PN} + + # now restricted perms perms + diropts -m2751 + dodir /var/state/${PN} + + exeopts -m750 + insopts -m640 + + dodir /var/state/${PN}/last + keepdir /var/state/${PN}/last + + diropts -m2750 + dodir /var/state/${PN}/put + keepdir /var/state/${PN}/put + dodir /var/state/${PN}/tmp + keepdir /var/state/${PN}/tmp + dodir /var/state/${PN}/update + keepdir /var/state/${PN}/update + + insinto /var/state/${PN} + doins cmd.local.example + newins cmd.remote.example cmd.remote + + dodir /var/log/${PN} + + # configuration inject + grep -B4000 '#################################################################' ${D}/usr/lib/${PN}/${PN}.conf >> ${D}/etc/conf.d/${PN} +} + +pkg_postinst() { + + # chown to portage group have to be in postinst + chown root:portage -R ${ROOT}/usr/lib/${PN} + chown root:portage -R ${ROOT}/var/state/${PN} + chown root:portage -R ${ROOT}/var/log/${PN} + + # ugly hack to overcome permissions of already existing dir + chmod 2751 /usr/lib/${PN} /var/state/${PN} /var/state/${PN}/last + + # now we erase only files not modified in last 30 days + tmpreaper --mtime 30d /var/state/${PN}/last /var/state/${PN}/tmp >/dev/null 2>/dev/null + + # also this is removed, to allow execution on next run + rm -f /var/state/${PN}/last/portki.last.cmdr 2> /dev/null + + # patches glsa-check, this can be safely ignored + patch /usr/bin/glsa-check ${S}/glsa-check_errlevel.patch >/dev/null + + einfo "" + einfo "Main configuration file is located: /usr/lib/${PN}/${PN}.conf" + einfo "But please modify ONLY your local version at: /etc/conf.d/${PN}" + einfo "" + einfo "You can use 'ebuild portki.ebuild config' command (shown below at ++) to:" + einfo ".. append portki defaults to /etc/make.conf" + einfo ".. append portki configuration to /etc/dispatch-conf.conf" + einfo ".. install cron runner at /etc/cron.hourly/portki.cron" + einfo "" + einfo "++ ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" + einfo "" +} + +pkg_config() { + + cp -f /usr/lib/${PN}/${PN}.cron /etc/cron.hourly/ + einfo "Installed cron runner at: /etc/cron.hourly/${PN}.cron" + + cat /usr/lib/${PN}/dispatch-conf.conf.recommended >> /etc/dispatch-conf.conf + ewarn "Modified dispatch config file: /etc/dispatch-conf.conf -> INSPECT IT!" + + cat /usr/lib/${PN}/make.conf.recommended >> /etc/make.conf + ewarn "Modified make.conf file at /etc/make.conf -> INSPECT IT!" + +} diff --git a/app-admin/portki/portki-0.10.1.ebuild b/app-admin/portki/portki-0.10.1.ebuild new file mode 100644 index 0000000..0f75530 --- /dev/null +++ b/app-admin/portki/portki-0.10.1.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Portage synchronization tool for managing group of gentoo servers." +HOMEPAGE="http://dev.gentoo.org/~radek/portki/" +SRC_URI="${HOMEPAGE}/files/${P}.tar.gz" +LICENSE="GPL2" + +SLOT="0" +IUSE="" + +RESTRICT="primaryuri" + +KEYWORDS="x86" + +DEPEND=">=app-shells/bash-3.0 + >=app-admin/tmpreaper-1" + +RDEPEND=" + >=sys-apps/portage-2.0.51 + >=app-shells/bash-3.0 + >=app-admin/tmpreaper-1 + >=app-portage/genlop-0.30 + >=app-portage/eix-0.2.2 + >=app-portage/gentoolkit" + +S=${WORKDIR} + +src_install() { + + # this directories are installed with normal perms + dodir /etc/conf.d + dodir /etc/config-archive + + dodir /usr/bin + dodir /usr/lib/${PN} + + insinto /usr/lib/${PN} + exeinto /usr/lib/${PN} + + doins ${PN}.conf + doexe ${PN}.cron + doins ${PN}.stage.* + doins TODO.txt + + doins dispatch-conf-digest.patch + doins dispatch-conf.conf.recommended + + doins make.conf.recommended + + cp /usr/lib/portage/bin/dispatch-conf . + patch dispatch-conf dispatch-conf-digest.patch + newexe dispatch-conf ${PN}.dispatch-conf + + doexe ${PN}.sh + dosym ${D}/usr/lib/${PN}/${PN}.sh /usr/bin/${PN} + + # now restricted perms perms + diropts -m2751 + dodir /var/state/${PN} + + exeopts -m750 + insopts -m640 + + dodir /var/state/${PN}/last + keepdir /var/state/${PN}/last + + diropts -m2750 + dodir /var/state/${PN}/put + keepdir /var/state/${PN}/put + dodir /var/state/${PN}/tmp + keepdir /var/state/${PN}/tmp + dodir /var/state/${PN}/update + keepdir /var/state/${PN}/update + + insinto /var/state/${PN} + doins cmd.local.example + newins cmd.remote.example cmd.remote + + dodir /var/log/${PN} + + # configuration inject + grep -B4000 '#################################################################' ${D}/usr/lib/${PN}/${PN}.conf >> ${D}/etc/conf.d/${PN} +} + +pkg_postinst() { + + # chown to portage group have to be in postinst + chown root:portage -R ${ROOT}/usr/lib/${PN} + chown root:portage -R ${ROOT}/var/state/${PN} + chown root:portage -R ${ROOT}/var/log/${PN} + + # ugly hack to overcome permissions of already existing dir + chmod 2751 /usr/lib/${PN} /var/state/${PN} /var/state/${PN}/last + + # now we erase only files not modified in last 30 days + tmpreaper --mtime 30d /var/state/${PN}/last /var/state/${PN}/tmp >/dev/null 2>/dev/null + + # also this is removed, to allow execution on next run + rm -f /var/state/${PN}/last/portki.last.cmdr 2> /dev/null + + # patches glsa-check, this can be safely ignored + patch /usr/bin/glsa-check ${S}/glsa-check_errlevel.patch >/dev/null + + einfo "" + einfo "Main configuration file is located: /usr/lib/${PN}/${PN}.conf" + einfo "But please modify ONLY your local version at: /etc/conf.d/${PN}" + einfo "" + einfo "You can use 'ebuild portki.ebuild config' command (shown below at ++) to:" + einfo ".. append portki defaults to /etc/make.conf" + einfo ".. append portki configuration to /etc/dispatch-conf.conf" + einfo ".. install cron runner at /etc/cron.hourly/portki.cron" + einfo "" + einfo "++ ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" + einfo "" +} + +pkg_config() { + + cp -f /usr/lib/${PN}/${PN}.cron /etc/cron.hourly/ + einfo "Installed cron runner at: /etc/cron.hourly/${PN}.cron" + + cat /usr/lib/${PN}/dispatch-conf.conf.recommended >> /etc/dispatch-conf.conf + ewarn "Modified dispatch config file: /etc/dispatch-conf.conf -> INSPECT IT!" + + cat /usr/lib/${PN}/make.conf.recommended >> /etc/make.conf + ewarn "Modified make.conf file at /etc/make.conf -> INSPECT IT!" + +} diff --git a/app-admin/portki/portki-0.10.2.ebuild b/app-admin/portki/portki-0.10.2.ebuild new file mode 100644 index 0000000..f078b66 --- /dev/null +++ b/app-admin/portki/portki-0.10.2.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Portage synchronization tool for managing group of gentoo servers." +HOMEPAGE="http://dev.gentoo.org/~radek/portki/" +SRC_URI="${HOMEPAGE}/files/${P}.tar.gz" +LICENSE="GPL2" + +SLOT="0" +IUSE="" + +RESTRICT="primaryuri" + +KEYWORDS="x86" + +DEPEND=">=app-shells/bash-3.0 + >=app-admin/tmpwatch" + +RDEPEND=" + >=sys-apps/portage-2.1 + >=app-shells/bash-3.0 + >=app-admin/tmpwatch + >=app-portage/genlop-0.30 + >=app-portage/eix-0.6.4 + >=app-portage/gentoolkit" + +S=${WORKDIR} + +src_install() { + + # this directories are installed with normal perms + dodir /etc/conf.d + dodir /etc/config-archive + + dodir /usr/bin + dodir /usr/lib/${PN} + + insinto /usr/lib/${PN} + exeinto /usr/lib/${PN} + + doins ${PN}.conf + doexe ${PN}.cron + doins ${PN}.stage.* + doins TODO.txt + + doins dispatch-conf-digest.patch + doins dispatch-conf.conf.recommended + + doins make.conf.recommended + + cp /usr/lib/portage/bin/dispatch-conf . + patch dispatch-conf dispatch-conf-digest.patch + newexe dispatch-conf ${PN}.dispatch-conf + + doexe ${PN}.sh + dosym ${D}/usr/lib/${PN}/${PN}.sh /usr/bin/${PN} + + # now restricted perms perms + diropts -m2751 + dodir /var/state/${PN} + + exeopts -m750 + insopts -m640 + + dodir /var/state/${PN}/last + keepdir /var/state/${PN}/last + + diropts -m2750 + dodir /var/state/${PN}/put + keepdir /var/state/${PN}/put + dodir /var/state/${PN}/tmp + keepdir /var/state/${PN}/tmp + dodir /var/state/${PN}/update + keepdir /var/state/${PN}/update + + insinto /var/state/${PN} + doins cmd.local.example + newins cmd.remote.example cmd.remote + + dodir /var/log/${PN} + + # configuration inject + grep -B4000 '#################################################################' ${D}/usr/lib/${PN}/${PN}.conf >> ${D}/etc/conf.d/${PN} +} + +pkg_postinst() { + + # chown to portage group have to be in postinst + chown root:portage -R ${ROOT}/usr/lib/${PN} + chown root:portage -R ${ROOT}/var/state/${PN} + chown root:portage -R ${ROOT}/var/log/${PN} + + # ugly hack to overcome permissions of already existing dir + chmod 2751 /usr/lib/${PN} /var/state/${PN} /var/state/${PN}/last + + # now we erase only files not modified in last 30 days + tmpreaper --mtime 30d /var/state/${PN}/last /var/state/${PN}/tmp >/dev/null 2>/dev/null + + # also this is removed, to allow execution on next run + rm -f /var/state/${PN}/last/portki.last.cmdr 2> /dev/null + + # patches glsa-check, this can be safely ignored + patch /usr/bin/glsa-check ${S}/glsa-check_errlevel.patch >/dev/null + + einfo "" + einfo "Main configuration file is located: /usr/lib/${PN}/${PN}.conf" + einfo "But please modify ONLY your local version at: /etc/conf.d/${PN}" + einfo "" + einfo "You can use 'ebuild portki.ebuild config' command (shown below at ++) to:" + einfo ".. append portki defaults to /etc/make.conf" + einfo ".. append portki configuration to /etc/dispatch-conf.conf" + einfo ".. install cron runner at /etc/cron.hourly/portki.cron" + einfo "" + einfo "++ ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" + einfo "" +} + +pkg_config() { + + cp -f /usr/lib/${PN}/${PN}.cron /etc/cron.hourly/ + einfo "Installed cron runner at: /etc/cron.hourly/${PN}.cron" + + cat /usr/lib/${PN}/dispatch-conf.conf.recommended >> /etc/dispatch-conf.conf + ewarn "Modified dispatch config file: /etc/dispatch-conf.conf -> INSPECT IT!" + + cat /usr/lib/${PN}/make.conf.recommended >> /etc/make.conf + ewarn "Modified make.conf file at /etc/make.conf -> INSPECT IT!" + +} diff --git a/app-admin/portki/portki-0.3.0.ebuild b/app-admin/portki/portki-0.3.0.ebuild new file mode 100644 index 0000000..e18d429 --- /dev/null +++ b/app-admin/portki/portki-0.3.0.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Portage synchronization tool for managing group of gentoo servers." +HOMEPAGE="http://dev.gentoo.org/~radek/portki/" +SRC_URI="${HOMEPAGE}/files/${P}.tar.gz" +LICENSE="GPL2" + +SLOT="0" +IUSE="" + +KEYWORDS="x86" + +DEPEND=">=app-shells/bash-2.0" + +RDEPEND=" + >=app-shells/bash-2.0 + >=sys-apps/tmpreaper-1 + >=app-portage/esearch-0.5 + >=app-portage/genlop-0.20 + >=app-portage/gentoolkit" + +S=${WORKDIR} + +src_install() { + + # this directories are installed with normal perms + dodir /etc/conf.d + dodir /etc/config-archive + + exeopts -m750 + insopts -m640 + diropts -m2750 + + dodir /usr/bin + + dodir /var/state/${PN} + dodir /var/state/${PN}/last + + keepdir /var/state/${PN}/put + keepdir /var/state/${PN}/tmp + keepdir /var/state/${PN}/update + + dodir /usr/lib/${PN} + + insinto /usr/lib/${PN} + exeinto /usr/lib/${PN} + + doins ${PN}.conf + doexe ${PN}.cron + doins ${PN}.description.txt + doins ${PN}.stage.* + + doins dispatch-conf-digest.patch + doins dispatch-conf.conf-addon + + doins make.conf.recommended + + cp /usr/lib/portage/bin/dispatch-conf . + patch dispatch-conf dispatch-conf-digest.patch + newexe dispatch-conf ${PN}.dispatch-conf + + doexe ${PN}.sh + dosym ${D}/usr/lib/${PN}/${PN}.sh /usr/bin/${PN} + + insinto /var/state/${PN} + doins cmd.local.example + newins cmd.remote.example cmd.remote + + dodir /var/log/${PN} + + # configuration inject + grep -B4000 '#################################################################' ${D}/usr/lib/${PN}/${PN}.conf >> ${D}/etc/conf.d/${PN} +} + +pkg_postinst() { + + # chown to portage group have to be in postinst + chown root:portage -R ${ROOT}/usr/lib/${PN} + chown root:portage -R ${ROOT}/var/state/${PN} + chown root:portage -R ${ROOT}/var/log/${PN} + + einfo "Dont forget to copy /usr/lib/${PN}/${PN}.cron to /etc/cron.hourly/" + einfo "Main configuration file is located: /usr/lib/${PN}/${PN}.conf" + einfo "But please modify ONLY your local version at: /etc/conf.d/${PN}" + einfo "You can use ebuild config command to: " + einfo ".. erase old portki (pre ebuild)" + einfo ".. create /var/log/portage dir" + einfo ".. change/create /etc/make.conf dispatch-conf.conf and cron runner." + einfo " ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" +} + +pkg_config() { + + rm -fr /etc/portage/portki.* /etc/portage/update + rm -f /var/log/portki_* + rm -f /etc/cron.daily/eupdatedb.cron + rm -f /etc/cron.hourly/portki.cron.hourly + einfo "Removed old portki files from /etc/portage/portki and /var/log/portki_" + + mkdir /var/log/portage + chmod 750 /var/log/portage + chown root:portage /var/log/portage + einfo "Created /var/log/portage (used inf /etc/make.conf as portage logdir)" + + cp -f /usr/lib/${PN}/${PN}.cron /etc/cron.hourly/ + einfo "Installed cron runner at: /etc/cron.hourly/${PN}.cron" + + cat /usr/lib/${PN}/dispatch-conf.conf-addon >> /etc/dispatch-conf.conf + ewarn "Modified dispatch config file: /etc/dispatch-conf.conf -> INSPECT IT!" + + cat /usr/lib/${PN}/make.conf.recommended >> /etc/make.conf + ewarn "Modified make.conf file at /etc/make.conf -> INSPECT IT!" + + ewarn "Please also create appropiate /usr/local/XXX-portage/ directories." + ewarn "Please also remove (or at least inspect) old content of /usr/local/portage/" + +} diff --git a/app-admin/portki/portki-0.3.1.ebuild b/app-admin/portki/portki-0.3.1.ebuild new file mode 100644 index 0000000..e18d429 --- /dev/null +++ b/app-admin/portki/portki-0.3.1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Portage synchronization tool for managing group of gentoo servers." +HOMEPAGE="http://dev.gentoo.org/~radek/portki/" +SRC_URI="${HOMEPAGE}/files/${P}.tar.gz" +LICENSE="GPL2" + +SLOT="0" +IUSE="" + +KEYWORDS="x86" + +DEPEND=">=app-shells/bash-2.0" + +RDEPEND=" + >=app-shells/bash-2.0 + >=sys-apps/tmpreaper-1 + >=app-portage/esearch-0.5 + >=app-portage/genlop-0.20 + >=app-portage/gentoolkit" + +S=${WORKDIR} + +src_install() { + + # this directories are installed with normal perms + dodir /etc/conf.d + dodir /etc/config-archive + + exeopts -m750 + insopts -m640 + diropts -m2750 + + dodir /usr/bin + + dodir /var/state/${PN} + dodir /var/state/${PN}/last + + keepdir /var/state/${PN}/put + keepdir /var/state/${PN}/tmp + keepdir /var/state/${PN}/update + + dodir /usr/lib/${PN} + + insinto /usr/lib/${PN} + exeinto /usr/lib/${PN} + + doins ${PN}.conf + doexe ${PN}.cron + doins ${PN}.description.txt + doins ${PN}.stage.* + + doins dispatch-conf-digest.patch + doins dispatch-conf.conf-addon + + doins make.conf.recommended + + cp /usr/lib/portage/bin/dispatch-conf . + patch dispatch-conf dispatch-conf-digest.patch + newexe dispatch-conf ${PN}.dispatch-conf + + doexe ${PN}.sh + dosym ${D}/usr/lib/${PN}/${PN}.sh /usr/bin/${PN} + + insinto /var/state/${PN} + doins cmd.local.example + newins cmd.remote.example cmd.remote + + dodir /var/log/${PN} + + # configuration inject + grep -B4000 '#################################################################' ${D}/usr/lib/${PN}/${PN}.conf >> ${D}/etc/conf.d/${PN} +} + +pkg_postinst() { + + # chown to portage group have to be in postinst + chown root:portage -R ${ROOT}/usr/lib/${PN} + chown root:portage -R ${ROOT}/var/state/${PN} + chown root:portage -R ${ROOT}/var/log/${PN} + + einfo "Dont forget to copy /usr/lib/${PN}/${PN}.cron to /etc/cron.hourly/" + einfo "Main configuration file is located: /usr/lib/${PN}/${PN}.conf" + einfo "But please modify ONLY your local version at: /etc/conf.d/${PN}" + einfo "You can use ebuild config command to: " + einfo ".. erase old portki (pre ebuild)" + einfo ".. create /var/log/portage dir" + einfo ".. change/create /etc/make.conf dispatch-conf.conf and cron runner." + einfo " ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" +} + +pkg_config() { + + rm -fr /etc/portage/portki.* /etc/portage/update + rm -f /var/log/portki_* + rm -f /etc/cron.daily/eupdatedb.cron + rm -f /etc/cron.hourly/portki.cron.hourly + einfo "Removed old portki files from /etc/portage/portki and /var/log/portki_" + + mkdir /var/log/portage + chmod 750 /var/log/portage + chown root:portage /var/log/portage + einfo "Created /var/log/portage (used inf /etc/make.conf as portage logdir)" + + cp -f /usr/lib/${PN}/${PN}.cron /etc/cron.hourly/ + einfo "Installed cron runner at: /etc/cron.hourly/${PN}.cron" + + cat /usr/lib/${PN}/dispatch-conf.conf-addon >> /etc/dispatch-conf.conf + ewarn "Modified dispatch config file: /etc/dispatch-conf.conf -> INSPECT IT!" + + cat /usr/lib/${PN}/make.conf.recommended >> /etc/make.conf + ewarn "Modified make.conf file at /etc/make.conf -> INSPECT IT!" + + ewarn "Please also create appropiate /usr/local/XXX-portage/ directories." + ewarn "Please also remove (or at least inspect) old content of /usr/local/portage/" + +} diff --git a/app-admin/portki/portki-0.3.2.ebuild b/app-admin/portki/portki-0.3.2.ebuild new file mode 100644 index 0000000..c2e6926 --- /dev/null +++ b/app-admin/portki/portki-0.3.2.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Portage synchronization tool for managing group of gentoo servers." +HOMEPAGE="http://dev.gentoo.org/~radek/portki/" +SRC_URI="${HOMEPAGE}/files/${P}.tar.gz" +LICENSE="GPL2" + +SLOT="0" +IUSE="" + +KEYWORDS="x86" + +DEPEND=">=app-shells/bash-2.0" + +RDEPEND=" + >=app-shells/bash-2.0 + >=sys-apps/tmpreaper-1 + >=app-portage/esearch-0.5 + >=app-portage/genlop-0.20 + >=app-portage/gentoolkit" + +S=${WORKDIR} + +src_install() { + + # this directories are installed with normal perms + dodir /etc/conf.d + dodir /etc/config-archive + + exeopts -m750 + insopts -m640 + diropts -m2750 + + dodir /usr/bin + + dodir /var/state/${PN} + dodir /var/state/${PN}/last + + keepdir /var/state/${PN}/put + keepdir /var/state/${PN}/tmp + keepdir /var/state/${PN}/update + + dodir /usr/lib/${PN} + + insinto /usr/lib/${PN} + exeinto /usr/lib/${PN} + + doins ${PN}.conf + doexe ${PN}.cron + doins ${PN}.description.txt + doins ${PN}.stage.* + + doins dispatch-conf-digest.patch + doins dispatch-conf.conf-addon + + doins make.conf.recommended + + cp /usr/lib/portage/bin/dispatch-conf . + patch dispatch-conf dispatch-conf-digest.patch + newexe dispatch-conf ${PN}.dispatch-conf + + doexe ${PN}.sh + dosym ${D}/usr/lib/${PN}/${PN}.sh /usr/bin/${PN} + + insinto /var/state/${PN} + doins cmd.local.example + newins cmd.remote.example cmd.remote + + dodir /var/log/${PN} + + # configuration inject + grep -B4000 '#################################################################' ${D}/usr/lib/${PN}/${PN}.conf >> ${D}/etc/conf.d/${PN} +} + +pkg_postinst() { + + # chown to portage group have to be in postinst + chown root:portage -R ${ROOT}/usr/lib/${PN} + chown root:portage -R ${ROOT}/var/state/${PN} + chown root:portage -R ${ROOT}/var/log/${PN} + + einfo "Dont forget to copy /usr/lib/${PN}/${PN}.cron to /etc/cron.hourly/" + einfo "Main configuration file is located: /usr/lib/${PN}/${PN}.conf" + einfo "But please modify ONLY your local version at: /etc/conf.d/${PN}" + einfo "You can use ebuild config command to: " + einfo ".. erase old portki (pre ebuild)" + einfo ".. create /var/log/portage dir" + einfo ".. change/create /etc/make.conf dispatch-conf.conf and cron runner." + einfo " ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" +} + +pkg_config() { + + rm -fr /etc/portage/portki.* /etc/portage/update + rm -f /var/log/portki_* + rm -f /etc/cron.daily/eupdatedb.cron + rm -f /etc/cron.hourly/portki.cron.hourly + einfo "Removed old portki files from /etc/portage/portki and /var/log/portki_" + + mkdir /var/log/portage 2>/dev/null + chmod 750 /var/log/portage + chown root:portage /var/log/portage + einfo "Created /var/log/portage (used inf /etc/make.conf as portage logdir)" + + cp -f /usr/lib/${PN}/${PN}.cron /etc/cron.hourly/ + einfo "Installed cron runner at: /etc/cron.hourly/${PN}.cron" + + cat /usr/lib/${PN}/dispatch-conf.conf-addon >> /etc/dispatch-conf.conf + ewarn "Modified dispatch config file: /etc/dispatch-conf.conf -> INSPECT IT!" + + cat /usr/lib/${PN}/make.conf.recommended >> /etc/make.conf + ewarn "Modified make.conf file at /etc/make.conf -> INSPECT IT!" + + ewarn "Please also create appropiate /usr/local/XXX-portage/ directories." + ewarn "Please also remove (or at least inspect) old content of /usr/local/portage/" + +} diff --git a/app-admin/portki/portki-0.4.0.ebuild b/app-admin/portki/portki-0.4.0.ebuild new file mode 100644 index 0000000..9af4661 --- /dev/null +++ b/app-admin/portki/portki-0.4.0.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Portage synchronization tool for managing group of gentoo servers." +HOMEPAGE="http://dev.gentoo.org/~radek/portki/" +SRC_URI="${HOMEPAGE}/files/${P}.tar.gz" +LICENSE="GPL2" + +SLOT="0" +IUSE="" + +KEYWORDS="x86" + +DEPEND=">=app-shells/bash-2.0" + +RDEPEND=" + >=sys-apps/portage-2.0.51 + >=app-shells/bash-2.0 + >=sys-apps/tmpreaper-1 + >=app-portage/esearch-0.5 + >=app-portage/genlop-0.20 + >=app-portage/gentoolkit" + +S=${WORKDIR} + +src_install() { + + # this directories are installed with normal perms + dodir /etc/conf.d + dodir /etc/config-archive + + exeopts -m750 + insopts -m640 + diropts -m2750 + + dodir /usr/bin + + dodir /var/state/${PN} + dodir /var/state/${PN}/last + + keepdir /var/state/${PN}/put + keepdir /var/state/${PN}/tmp + keepdir /var/state/${PN}/update + + dodir /usr/lib/${PN} + + insinto /usr/lib/${PN} + exeinto /usr/lib/${PN} + + doins ${PN}.conf + doexe ${PN}.cron + doins ${PN}.description.txt + doins ${PN}.stage.* + + doins dispatch-conf-digest.patch + doins dispatch-conf.conf-addon + + doins make.conf.recommended + + cp /usr/lib/portage/bin/dispatch-conf . + patch dispatch-conf dispatch-conf-digest.patch + newexe dispatch-conf ${PN}.dispatch-conf + + doexe ${PN}.sh + dosym ${D}/usr/lib/${PN}/${PN}.sh /usr/bin/${PN} + + insinto /var/state/${PN} + doins cmd.local.example + newins cmd.remote.example cmd.remote + + dodir /var/log/${PN} + + # configuration inject + grep -B4000 '#################################################################' ${D}/usr/lib/${PN}/${PN}.conf >> ${D}/etc/conf.d/${PN} +} + +pkg_postinst() { + + # chown to portage group have to be in postinst + chown root:portage -R ${ROOT}/usr/lib/${PN} + chown root:portage -R ${ROOT}/var/state/${PN} + chown root:portage -R ${ROOT}/var/log/${PN} + + rm -f /var/state/${PN}/tmp/* 2> /dev/null + rm -f /var/state/${PN}/last/* 2> /dev/null + + einfo "" + einfo "Dont forget to copy /usr/lib/${PN}/${PN}.cron to /etc/cron.hourly/" + einfo "Main configuration file is located: /usr/lib/${PN}/${PN}.conf" + einfo "But please modify ONLY your local version at: /etc/conf.d/${PN}" + einfo "You can use ebuild config command to: " + einfo ".. create /var/log/portage dir" + einfo ".. append portki defaults to /etc/make.conf and /etc/dispatch-conf.conf" + einfo ".. create cron runner at /etc/cron.hourly/portki.cron" + einfo "" + einfo " ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" + einfo "" +} + +pkg_config() { + + rm -fr /etc/portage/portki.* /etc/portage/update + rm -f /var/log/portki_* + rm -f /etc/cron.daily/eupdatedb.cron + rm -f /etc/cron.hourly/portki.cron.hourly + einfo "Removed old portki files from /etc/portage/portki and /var/log/portki_" + + mkdir /var/log/portage 2>/dev/null + chmod 750 /var/log/portage + chown root:portage /var/log/portage + einfo "Created /var/log/portage (used inf /etc/make.conf as portage logdir)" + + cp -f /usr/lib/${PN}/${PN}.cron /etc/cron.hourly/ + einfo "Installed cron runner at: /etc/cron.hourly/${PN}.cron" + + cat /usr/lib/${PN}/dispatch-conf.conf-addon >> /etc/dispatch-conf.conf + ewarn "Modified dispatch config file: /etc/dispatch-conf.conf -> INSPECT IT!" + + cat /usr/lib/${PN}/make.conf.recommended >> /etc/make.conf + ewarn "Modified make.conf file at /etc/make.conf -> INSPECT IT!" + + ewarn "Please also create appropiate /usr/local/XXX-portage/ directories." + ewarn "Please also remove (or at least inspect) old content of /usr/local/portage/" + +} diff --git a/app-admin/portki/portki-0.5.0.ebuild b/app-admin/portki/portki-0.5.0.ebuild new file mode 100644 index 0000000..7351888 --- /dev/null +++ b/app-admin/portki/portki-0.5.0.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Portage synchronization tool for managing group of gentoo servers." +HOMEPAGE="http://dev.gentoo.org/~radek/portki/" +SRC_URI="${HOMEPAGE}/files/${P}.tar.gz" +LICENSE="GPL2" + +SLOT="0" +IUSE="" + +KEYWORDS="x86" + +DEPEND=">=app-shells/bash-2.0" + +RDEPEND=" + >=sys-apps/portage-2.0.51 + >=app-shells/bash-2.0 + >=sys-apps/tmpreaper-1 + >=app-portage/esearch-0.5 + >=app-portage/genlop-0.20 + >=app-portage/gentoolkit" + +S=${WORKDIR} + +src_install() { + + # this directories are installed with normal perms + dodir /etc/conf.d + dodir /etc/config-archive + + dodir /usr/bin + dodir /usr/lib/${PN} + + insinto /usr/lib/${PN} + exeinto /usr/lib/${PN} + + doins ${PN}.conf + doexe ${PN}.cron + doins ${PN}.description.txt + doins ${PN}.stage.* + + doins dispatch-conf-digest.patch + doins dispatch-conf.conf-addon + + doins make.conf.recommended + + cp /usr/lib/portage/bin/dispatch-conf . + patch dispatch-conf dispatch-conf-digest.patch + newexe dispatch-conf ${PN}.dispatch-conf + + doexe ${PN}.sh + dosym ${D}/usr/lib/${PN}/${PN}.sh /usr/bin/${PN} + + # now restricted perms perms + exeopts -m750 + insopts -m640 + diropts -m2750 + + dodir /var/state/${PN} + + keepdir /var/state/${PN}/last + keepdir /var/state/${PN}/put + keepdir /var/state/${PN}/tmp + keepdir /var/state/${PN}/update + + insinto /var/state/${PN} + doins cmd.local.example + newins cmd.remote.example cmd.remote + + dodir /var/log/${PN} + + # configuration inject + grep -B4000 '#################################################################' ${D}/usr/lib/${PN}/${PN}.conf >> ${D}/etc/conf.d/${PN} +} + +pkg_postinst() { + + # chown to portage group have to be in postinst + chown root:portage -R ${ROOT}/usr/lib/${PN} + chown root:portage -R ${ROOT}/var/state/${PN} + chown root:portage -R ${ROOT}/var/log/${PN} + + rm -f /var/state/${PN}/tmp/* 2> /dev/null + rm -f /var/state/${PN}/last/* 2> /dev/null + + einfo "" + einfo "Dont forget to copy /usr/lib/${PN}/${PN}.cron to /etc/cron.hourly/" + einfo "Main configuration file is located: /usr/lib/${PN}/${PN}.conf" + einfo "But please modify ONLY your local version at: /etc/conf.d/${PN}" + einfo "You can use ebuild config command (show below at ++) to: " + einfo ".. create /var/log/portage dir" + einfo ".. append portki defaults to /etc/make.conf and /etc/dispatch-conf.conf" + einfo ".. create cron runner at /etc/cron.hourly/portki.cron" + einfo "" + einfo "++ ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" + einfo "" +} + +pkg_config() { + + rm -fr /etc/portage/portki.* /etc/portage/update + rm -f /var/log/portki_* + rm -f /etc/cron.daily/eupdatedb.cron + rm -f /etc/cron.hourly/portki.cron.hourly + einfo "Removed old portki files from /etc/portage/portki and /var/log/portki_" + + mkdir /var/log/portage 2>/dev/null + chmod 750 /var/log/portage + chown root:portage /var/log/portage + einfo "Created /var/log/portage (used inf /etc/make.conf as portage logdir)" + + cp -f /usr/lib/${PN}/${PN}.cron /etc/cron.hourly/ + einfo "Installed cron runner at: /etc/cron.hourly/${PN}.cron" + + cat /usr/lib/${PN}/dispatch-conf.conf-addon >> /etc/dispatch-conf.conf + ewarn "Modified dispatch config file: /etc/dispatch-conf.conf -> INSPECT IT!" + + cat /usr/lib/${PN}/make.conf.recommended >> /etc/make.conf + ewarn "Modified make.conf file at /etc/make.conf -> INSPECT IT!" + + ewarn "Please also create appropiate /usr/local/XXX-portage/ directories." + ewarn "Please also remove (or at least inspect) old content of /usr/local/portage/" + +} diff --git a/app-admin/portki/portki-0.6.0.ebuild b/app-admin/portki/portki-0.6.0.ebuild new file mode 100644 index 0000000..2692a6e --- /dev/null +++ b/app-admin/portki/portki-0.6.0.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Portage synchronization tool for managing group of gentoo servers." +HOMEPAGE="http://dev.gentoo.org/~radek/portki/" +SRC_URI="${HOMEPAGE}/files/${P}.tar.gz" +LICENSE="GPL2" + +SLOT="0" +IUSE="" + +KEYWORDS="x86" + +DEPEND=">=app-shells/bash-2.0" + +RDEPEND=" + >=sys-apps/portage-2.0.51 + >=app-shells/bash-2.0 + >=sys-apps/tmpreaper-1 + >=app-portage/esearch-0.5 + >=app-portage/genlop-0.20 + >=app-portage/gentoolkit" + +S=${WORKDIR} + +src_install() { + + # this directories are installed with normal perms + dodir /etc/conf.d + dodir /etc/config-archive + + dodir /usr/bin + dodir /usr/lib/${PN} + + insinto /usr/lib/${PN} + exeinto /usr/lib/${PN} + + doins ${PN}.conf + doexe ${PN}.cron + doins ${PN}.stage.* + doins TODO.txt + + doins dispatch-conf-digest.patch + doins dispatch-conf.conf-addon + + doins make.conf.recommended + + cp /usr/lib/portage/bin/dispatch-conf . + patch dispatch-conf dispatch-conf-digest.patch + newexe dispatch-conf ${PN}.dispatch-conf + + doexe ${PN}.sh + dosym ${D}/usr/lib/${PN}/${PN}.sh /usr/bin/${PN} + + # now restricted perms perms + diropts -m2751 + dodir /var/state/${PN} + + exeopts -m750 + insopts -m640 + + diropts -m2755 + dodir /var/state/${PN}/last + keepdir /var/state/${PN}/last + + diropts -m2750 + dodir /var/state/${PN}/put + keepdir /var/state/${PN}/put + dodir /var/state/${PN}/tmp + keepdir /var/state/${PN}/tmp + dodir /var/state/${PN}/update + keepdir /var/state/${PN}/update + + insinto /var/state/${PN} + doins cmd.local.example + newins cmd.remote.example cmd.remote + + dodir /var/log/${PN} + + # configuration inject + grep -B4000 '#################################################################' ${D}/usr/lib/${PN}/${PN}.conf >> ${D}/etc/conf.d/${PN} +} + +pkg_postinst() { + + # chown to portage group have to be in postinst + chown root:portage -R ${ROOT}/usr/lib/${PN} + chown root:portage -R ${ROOT}/var/state/${PN} + chown root:portage -R ${ROOT}/var/log/${PN} + + rm -f /var/state/${PN}/tmp/* 2> /dev/null + rm -f /var/state/${PN}/last/* 2> /dev/null + + einfo "" + einfo "Dont forget to copy /usr/lib/${PN}/${PN}.cron to /etc/cron.hourly/" + einfo "Main configuration file is located: /usr/lib/${PN}/${PN}.conf" + einfo "But please modify ONLY your local version at: /etc/conf.d/${PN}" + einfo "You can use ebuild config command (show below at ++) to: " + einfo ".. create /var/log/portage dir" + einfo ".. append portki defaults to /etc/make.conf and /etc/dispatch-conf.conf" + einfo ".. create cron runner at /etc/cron.hourly/portki.cron" + einfo "" + einfo "++ ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" + einfo "" +} + +pkg_config() { + + rm -fr /etc/portage/portki.* /etc/portage/update + rm -f /var/log/portki_* + rm -f /etc/cron.daily/eupdatedb.cron + rm -f /etc/cron.hourly/portki.cron.hourly + einfo "Removed old portki files from /etc/portage/portki and /var/log/portki_" + + mkdir /var/log/portage 2>/dev/null + chmod 750 /var/log/portage + chown root:portage /var/log/portage + einfo "Created /var/log/portage (used inf /etc/make.conf as portage logdir)" + + cp -f /usr/lib/${PN}/${PN}.cron /etc/cron.hourly/ + einfo "Installed cron runner at: /etc/cron.hourly/${PN}.cron" + + cat /usr/lib/${PN}/dispatch-conf.conf-addon >> /etc/dispatch-conf.conf + ewarn "Modified dispatch config file: /etc/dispatch-conf.conf -> INSPECT IT!" + + echo "~app-portage/gentoolkit-0.2.0_pre10 " >> /etc/portage/package.keywords + echo "~app-portage/genlop-0.30.2" >> /etc/portage/package.keywords + einfo "Added gentoolkit and genlop needed versions to /etc/portage/package.keywords" + + cat /usr/lib/${PN}/make.conf.recommended >> /etc/make.conf + ewarn "Modified make.conf file at /etc/make.conf -> INSPECT IT!" + + ewarn "Please also create appropiate /usr/local/XXX-portage/ directories." + ewarn "Please also remove (or at least inspect) old content of /usr/local/portage/" + +} diff --git a/app-admin/portki/portki-0.6.1.ebuild b/app-admin/portki/portki-0.6.1.ebuild new file mode 100644 index 0000000..5010b9c --- /dev/null +++ b/app-admin/portki/portki-0.6.1.ebuild @@ -0,0 +1,143 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Portage synchronization tool for managing group of gentoo servers." +HOMEPAGE="http://dev.gentoo.org/~radek/portki/" +SRC_URI="${HOMEPAGE}/files/${P}.tar.gz" +LICENSE="GPL2" + +SLOT="0" +IUSE="" + +KEYWORDS="x86" + +DEPEND=">=app-shells/bash-3.0 + >=sys-apps/tmpreaper-1" + +RDEPEND=" + >=sys-apps/portage-2.0.51 + >=app-shells/bash-3.0 + >=sys-apps/tmpreaper-1 + >=app-portage/esearch-0.5 + >=app-portage/genlop-0.30 + >=app-portage/gentoolkit" + +S=${WORKDIR} + +src_install() { + + # this directories are installed with normal perms + dodir /etc/conf.d + dodir /etc/config-archive + + dodir /usr/bin + dodir /usr/lib/${PN} + + insinto /usr/lib/${PN} + exeinto /usr/lib/${PN} + + doins ${PN}.conf + doexe ${PN}.cron + doins ${PN}.stage.* + doins TODO.txt + + doins dispatch-conf-digest.patch + doins dispatch-conf.conf-addon + + doins make.conf.recommended + + cp /usr/lib/portage/bin/dispatch-conf . + patch dispatch-conf dispatch-conf-digest.patch + newexe dispatch-conf ${PN}.dispatch-conf + + doexe ${PN}.sh + dosym ${D}/usr/lib/${PN}/${PN}.sh /usr/bin/${PN} + + # now restricted perms perms + diropts -m2751 + dodir /var/state/${PN} + + exeopts -m750 + insopts -m640 + + dodir /var/state/${PN}/last + keepdir /var/state/${PN}/last + + diropts -m2750 + dodir /var/state/${PN}/put + keepdir /var/state/${PN}/put + dodir /var/state/${PN}/tmp + keepdir /var/state/${PN}/tmp + dodir /var/state/${PN}/update + keepdir /var/state/${PN}/update + + insinto /var/state/${PN} + doins cmd.local.example + newins cmd.remote.example cmd.remote + + dodir /var/log/${PN} + + # configuration inject + grep -B4000 '#################################################################' ${D}/usr/lib/${PN}/${PN}.conf >> ${D}/etc/conf.d/${PN} +} + +pkg_postinst() { + + # chown to portage group have to be in postinst + chown root:portage -R ${ROOT}/usr/lib/${PN} + chown root:portage -R ${ROOT}/var/state/${PN} + chown root:portage -R ${ROOT}/var/log/${PN} + + # ugly hack to overcome permissions of already existing dir + chmod 2751 /usr/lib/${PN} /var/state/${PN} /var/state/${PN}/last + + # now we erase only files not modified in last 30 days + tmpreaper --mtime 30d /var/state/${PN}/last /var/state/${PN}/tmp >/dev/null 2>/dev/null + + # also this is removed, to allow execution on next run + rm -f /var/state/${PN}/last/portki.last.cmdr 2> /dev/null + + einfo "" + einfo "Dont forget to copy /usr/lib/${PN}/${PN}.cron to /etc/cron.hourly/" + einfo "Main configuration file is located: /usr/lib/${PN}/${PN}.conf" + einfo "But please modify ONLY your local version at: /etc/conf.d/${PN}" + einfo "You can use ebuild config command (show below at ++) to: " + einfo ".. create /var/log/portage dir" + einfo ".. append portki defaults to /etc/make.conf and /etc/dispatch-conf.conf" + einfo ".. create cron runner at /etc/cron.hourly/portki.cron" + einfo "" + einfo "++ ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" + einfo "" +} + +pkg_config() { + + rm -fr /etc/portage/portki.* /etc/portage/update + rm -f /var/log/portki_* + rm -f /etc/cron.daily/eupdatedb.cron + rm -f /etc/cron.hourly/portki.cron.hourly + einfo "Removed old portki files from /etc/portage/portki and /var/log/portki_" + + mkdir /var/log/portage 2>/dev/null + chmod 750 /var/log/portage + chown root:portage /var/log/portage + einfo "Created /var/log/portage (used inf /etc/make.conf as portage logdir)" + + cp -f /usr/lib/${PN}/${PN}.cron /etc/cron.hourly/ + einfo "Installed cron runner at: /etc/cron.hourly/${PN}.cron" + + cat /usr/lib/${PN}/dispatch-conf.conf-addon >> /etc/dispatch-conf.conf + ewarn "Modified dispatch config file: /etc/dispatch-conf.conf -> INSPECT IT!" + + echo "~app-portage/gentoolkit-0.2.0_pre10 " >> /etc/portage/package.keywords + echo "~app-portage/genlop-0.30.2" >> /etc/portage/package.keywords + einfo "Added gentoolkit and genlop needed versions to /etc/portage/package.keywords" + + cat /usr/lib/${PN}/make.conf.recommended >> /etc/make.conf + ewarn "Modified make.conf file at /etc/make.conf -> INSPECT IT!" + + ewarn "Please also create appropiate /usr/local/XXX-portage/ directories." + ewarn "Please also remove (or at least inspect) old content of /usr/local/portage/" + +} diff --git a/app-admin/portki/portki-0.7.0.ebuild b/app-admin/portki/portki-0.7.0.ebuild new file mode 100644 index 0000000..5010b9c --- /dev/null +++ b/app-admin/portki/portki-0.7.0.ebuild @@ -0,0 +1,143 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Portage synchronization tool for managing group of gentoo servers." +HOMEPAGE="http://dev.gentoo.org/~radek/portki/" +SRC_URI="${HOMEPAGE}/files/${P}.tar.gz" +LICENSE="GPL2" + +SLOT="0" +IUSE="" + +KEYWORDS="x86" + +DEPEND=">=app-shells/bash-3.0 + >=sys-apps/tmpreaper-1" + +RDEPEND=" + >=sys-apps/portage-2.0.51 + >=app-shells/bash-3.0 + >=sys-apps/tmpreaper-1 + >=app-portage/esearch-0.5 + >=app-portage/genlop-0.30 + >=app-portage/gentoolkit" + +S=${WORKDIR} + +src_install() { + + # this directories are installed with normal perms + dodir /etc/conf.d + dodir /etc/config-archive + + dodir /usr/bin + dodir /usr/lib/${PN} + + insinto /usr/lib/${PN} + exeinto /usr/lib/${PN} + + doins ${PN}.conf + doexe ${PN}.cron + doins ${PN}.stage.* + doins TODO.txt + + doins dispatch-conf-digest.patch + doins dispatch-conf.conf-addon + + doins make.conf.recommended + + cp /usr/lib/portage/bin/dispatch-conf . + patch dispatch-conf dispatch-conf-digest.patch + newexe dispatch-conf ${PN}.dispatch-conf + + doexe ${PN}.sh + dosym ${D}/usr/lib/${PN}/${PN}.sh /usr/bin/${PN} + + # now restricted perms perms + diropts -m2751 + dodir /var/state/${PN} + + exeopts -m750 + insopts -m640 + + dodir /var/state/${PN}/last + keepdir /var/state/${PN}/last + + diropts -m2750 + dodir /var/state/${PN}/put + keepdir /var/state/${PN}/put + dodir /var/state/${PN}/tmp + keepdir /var/state/${PN}/tmp + dodir /var/state/${PN}/update + keepdir /var/state/${PN}/update + + insinto /var/state/${PN} + doins cmd.local.example + newins cmd.remote.example cmd.remote + + dodir /var/log/${PN} + + # configuration inject + grep -B4000 '#################################################################' ${D}/usr/lib/${PN}/${PN}.conf >> ${D}/etc/conf.d/${PN} +} + +pkg_postinst() { + + # chown to portage group have to be in postinst + chown root:portage -R ${ROOT}/usr/lib/${PN} + chown root:portage -R ${ROOT}/var/state/${PN} + chown root:portage -R ${ROOT}/var/log/${PN} + + # ugly hack to overcome permissions of already existing dir + chmod 2751 /usr/lib/${PN} /var/state/${PN} /var/state/${PN}/last + + # now we erase only files not modified in last 30 days + tmpreaper --mtime 30d /var/state/${PN}/last /var/state/${PN}/tmp >/dev/null 2>/dev/null + + # also this is removed, to allow execution on next run + rm -f /var/state/${PN}/last/portki.last.cmdr 2> /dev/null + + einfo "" + einfo "Dont forget to copy /usr/lib/${PN}/${PN}.cron to /etc/cron.hourly/" + einfo "Main configuration file is located: /usr/lib/${PN}/${PN}.conf" + einfo "But please modify ONLY your local version at: /etc/conf.d/${PN}" + einfo "You can use ebuild config command (show below at ++) to: " + einfo ".. create /var/log/portage dir" + einfo ".. append portki defaults to /etc/make.conf and /etc/dispatch-conf.conf" + einfo ".. create cron runner at /etc/cron.hourly/portki.cron" + einfo "" + einfo "++ ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" + einfo "" +} + +pkg_config() { + + rm -fr /etc/portage/portki.* /etc/portage/update + rm -f /var/log/portki_* + rm -f /etc/cron.daily/eupdatedb.cron + rm -f /etc/cron.hourly/portki.cron.hourly + einfo "Removed old portki files from /etc/portage/portki and /var/log/portki_" + + mkdir /var/log/portage 2>/dev/null + chmod 750 /var/log/portage + chown root:portage /var/log/portage + einfo "Created /var/log/portage (used inf /etc/make.conf as portage logdir)" + + cp -f /usr/lib/${PN}/${PN}.cron /etc/cron.hourly/ + einfo "Installed cron runner at: /etc/cron.hourly/${PN}.cron" + + cat /usr/lib/${PN}/dispatch-conf.conf-addon >> /etc/dispatch-conf.conf + ewarn "Modified dispatch config file: /etc/dispatch-conf.conf -> INSPECT IT!" + + echo "~app-portage/gentoolkit-0.2.0_pre10 " >> /etc/portage/package.keywords + echo "~app-portage/genlop-0.30.2" >> /etc/portage/package.keywords + einfo "Added gentoolkit and genlop needed versions to /etc/portage/package.keywords" + + cat /usr/lib/${PN}/make.conf.recommended >> /etc/make.conf + ewarn "Modified make.conf file at /etc/make.conf -> INSPECT IT!" + + ewarn "Please also create appropiate /usr/local/XXX-portage/ directories." + ewarn "Please also remove (or at least inspect) old content of /usr/local/portage/" + +} diff --git a/app-admin/portki/portki-0.8.0.ebuild b/app-admin/portki/portki-0.8.0.ebuild new file mode 100644 index 0000000..faa2a62 --- /dev/null +++ b/app-admin/portki/portki-0.8.0.ebuild @@ -0,0 +1,146 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Portage synchronization tool for managing group of gentoo servers." +HOMEPAGE="http://dev.gentoo.org/~radek/portki/" +SRC_URI="${HOMEPAGE}/files/${P}.tar.gz" +LICENSE="GPL2" + +SLOT="0" +IUSE="" + +KEYWORDS="x86" + +DEPEND=">=app-shells/bash-3.0 + >=sys-apps/tmpreaper-1" + +RDEPEND=" + >=sys-apps/portage-2.0.51 + >=app-shells/bash-3.0 + >=sys-apps/tmpreaper-1 + >=app-portage/esearch-0.5 + >=app-portage/genlop-0.30 + >=app-portage/gentoolkit" + +S=${WORKDIR} + +src_install() { + + # this directories are installed with normal perms + dodir /etc/conf.d + dodir /etc/config-archive + + dodir /usr/bin + dodir /usr/lib/${PN} + + insinto /usr/lib/${PN} + exeinto /usr/lib/${PN} + + doins ${PN}.conf + doexe ${PN}.cron + doins ${PN}.stage.* + doins TODO.txt + + doins dispatch-conf-digest.patch + doins dispatch-conf.conf-addon + + doins make.conf.recommended + + cp /usr/lib/portage/bin/dispatch-conf . + patch dispatch-conf dispatch-conf-digest.patch + newexe dispatch-conf ${PN}.dispatch-conf + + doexe ${PN}.sh + dosym ${D}/usr/lib/${PN}/${PN}.sh /usr/bin/${PN} + + # now restricted perms perms + diropts -m2751 + dodir /var/state/${PN} + + exeopts -m750 + insopts -m640 + + dodir /var/state/${PN}/last + keepdir /var/state/${PN}/last + + diropts -m2750 + dodir /var/state/${PN}/put + keepdir /var/state/${PN}/put + dodir /var/state/${PN}/tmp + keepdir /var/state/${PN}/tmp + dodir /var/state/${PN}/update + keepdir /var/state/${PN}/update + + insinto /var/state/${PN} + doins cmd.local.example + newins cmd.remote.example cmd.remote + + dodir /var/log/${PN} + + # configuration inject + grep -B4000 '#################################################################' ${D}/usr/lib/${PN}/${PN}.conf >> ${D}/etc/conf.d/${PN} +} + +pkg_postinst() { + + # chown to portage group have to be in postinst + chown root:portage -R ${ROOT}/usr/lib/${PN} + chown root:portage -R ${ROOT}/var/state/${PN} + chown root:portage -R ${ROOT}/var/log/${PN} + + # ugly hack to overcome permissions of already existing dir + chmod 2751 /usr/lib/${PN} /var/state/${PN} /var/state/${PN}/last + + # now we erase only files not modified in last 30 days + tmpreaper --mtime 30d /var/state/${PN}/last /var/state/${PN}/tmp >/dev/null 2>/dev/null + + # also this is removed, to allow execution on next run + rm -f /var/state/${PN}/last/portki.last.cmdr 2> /dev/null + + # patches glsa-check + patch /usr/bin/glsa-check ${S}/glsa-check_errlevel.patch + + einfo "" + einfo "Dont forget to copy /usr/lib/${PN}/${PN}.cron to /etc/cron.hourly/" + einfo "Main configuration file is located: /usr/lib/${PN}/${PN}.conf" + einfo "But please modify ONLY your local version at: /etc/conf.d/${PN}" + einfo "You can use ebuild config command (show below at ++) to: " + einfo ".. create /var/log/portage dir" + einfo ".. append portki defaults to /etc/make.conf and /etc/dispatch-conf.conf" + einfo ".. create cron runner at /etc/cron.hourly/portki.cron" + einfo "" + einfo "++ ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" + einfo "" +} + +pkg_config() { + + rm -fr /etc/portage/portki.* /etc/portage/update + rm -f /var/log/portki_* + rm -f /etc/cron.daily/eupdatedb.cron + rm -f /etc/cron.hourly/portki.cron.hourly + einfo "Removed old portki files from /etc/portage/portki and /var/log/portki_" + + mkdir /var/log/portage 2>/dev/null + chmod 750 /var/log/portage + chown root:portage /var/log/portage + einfo "Created /var/log/portage (used inf /etc/make.conf as portage logdir)" + + cp -f /usr/lib/${PN}/${PN}.cron /etc/cron.hourly/ + einfo "Installed cron runner at: /etc/cron.hourly/${PN}.cron" + + cat /usr/lib/${PN}/dispatch-conf.conf-addon >> /etc/dispatch-conf.conf + ewarn "Modified dispatch config file: /etc/dispatch-conf.conf -> INSPECT IT!" + + echo "~app-portage/gentoolkit-0.2.0_pre10 " >> /etc/portage/package.keywords + echo "~app-portage/genlop-0.30.2" >> /etc/portage/package.keywords + einfo "Added gentoolkit and genlop needed versions to /etc/portage/package.keywords" + + cat /usr/lib/${PN}/make.conf.recommended >> /etc/make.conf + ewarn "Modified make.conf file at /etc/make.conf -> INSPECT IT!" + + ewarn "Please also create appropiate /usr/local/XXX-portage/ directories." + ewarn "Please also remove (or at least inspect) old content of /usr/local/portage/" + +} diff --git a/app-admin/portki/portki-0.8.1.ebuild b/app-admin/portki/portki-0.8.1.ebuild new file mode 100644 index 0000000..51058ed --- /dev/null +++ b/app-admin/portki/portki-0.8.1.ebuild @@ -0,0 +1,145 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Portage synchronization tool for managing group of gentoo servers." +HOMEPAGE="http://dev.gentoo.org/~radek/portki/" +SRC_URI="${HOMEPAGE}/files/${P}.tar.gz" +LICENSE="GPL2" + +SLOT="0" +IUSE="" + +KEYWORDS="x86" + +DEPEND=">=app-shells/bash-3.0 + >=sys-apps/tmpreaper-1" + +RDEPEND=" + >=sys-apps/portage-2.0.51 + >=app-shells/bash-3.0 + >=sys-apps/tmpreaper-1 + >=app-portage/genlop-0.30 + >=app-portage/gentoolkit" + +S=${WORKDIR} + +src_install() { + + # this directories are installed with normal perms + dodir /etc/conf.d + dodir /etc/config-archive + + dodir /usr/bin + dodir /usr/lib/${PN} + + insinto /usr/lib/${PN} + exeinto /usr/lib/${PN} + + doins ${PN}.conf + doexe ${PN}.cron + doins ${PN}.stage.* + doins TODO.txt + + doins dispatch-conf-digest.patch + doins dispatch-conf.conf.recommended + + doins make.conf.recommended + + cp /usr/lib/portage/bin/dispatch-conf . + patch dispatch-conf dispatch-conf-digest.patch + newexe dispatch-conf ${PN}.dispatch-conf + + doexe ${PN}.sh + dosym ${D}/usr/lib/${PN}/${PN}.sh /usr/bin/${PN} + + # now restricted perms perms + diropts -m2751 + dodir /var/state/${PN} + + exeopts -m750 + insopts -m640 + + dodir /var/state/${PN}/last + keepdir /var/state/${PN}/last + + diropts -m2750 + dodir /var/state/${PN}/put + keepdir /var/state/${PN}/put + dodir /var/state/${PN}/tmp + keepdir /var/state/${PN}/tmp + dodir /var/state/${PN}/update + keepdir /var/state/${PN}/update + + insinto /var/state/${PN} + doins cmd.local.example + newins cmd.remote.example cmd.remote + + dodir /var/log/${PN} + + # configuration inject + grep -B4000 '#################################################################' ${D}/usr/lib/${PN}/${PN}.conf >> ${D}/etc/conf.d/${PN} +} + +pkg_postinst() { + + # chown to portage group have to be in postinst + chown root:portage -R ${ROOT}/usr/lib/${PN} + chown root:portage -R ${ROOT}/var/state/${PN} + chown root:portage -R ${ROOT}/var/log/${PN} + + # ugly hack to overcome permissions of already existing dir + chmod 2751 /usr/lib/${PN} /var/state/${PN} /var/state/${PN}/last + + # now we erase only files not modified in last 30 days + tmpreaper --mtime 30d /var/state/${PN}/last /var/state/${PN}/tmp >/dev/null 2>/dev/null + + # also this is removed, to allow execution on next run + rm -f /var/state/${PN}/last/portki.last.cmdr 2> /dev/null + + # patches glsa-check, this can be safely ignored + patch /usr/bin/glsa-check ${S}/glsa-check_errlevel.patch >/dev/null + + einfo "" + einfo "Dont forget to copy /usr/lib/${PN}/${PN}.cron to /etc/cron.hourly/" + einfo "Main configuration file is located: /usr/lib/${PN}/${PN}.conf" + einfo "But please modify ONLY your local version at: /etc/conf.d/${PN}" + einfo "You can use ebuild config command (show below at ++) to: " + einfo ".. create /var/log/portage dir" + einfo ".. append portki defaults to /etc/make.conf and /etc/dispatch-conf.conf" + einfo ".. create cron runner at /etc/cron.hourly/portki.cron" + einfo "" + einfo "++ ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" + einfo "" +} + +pkg_config() { + + rm -fr /etc/portage/portki.* /etc/portage/update + rm -f /var/log/portki_* + rm -f /etc/cron.daily/eupdatedb.cron + rm -f /etc/cron.hourly/portki.cron.hourly + einfo "Removed old portki files from /etc/portage/portki and /var/log/portki_" + + mkdir /var/log/portage 2>/dev/null + chmod 750 /var/log/portage + chown root:portage /var/log/portage + einfo "Created /var/log/portage (used inf /etc/make.conf as portage logdir)" + + cp -f /usr/lib/${PN}/${PN}.cron /etc/cron.hourly/ + einfo "Installed cron runner at: /etc/cron.hourly/${PN}.cron" + + cat /usr/lib/${PN}/dispatch-conf.conf.recommended >> /etc/dispatch-conf.conf + ewarn "Modified dispatch config file: /etc/dispatch-conf.conf -> INSPECT IT!" + + echo "~app-portage/gentoolkit-0.2.0_pre10 " >> /etc/portage/package.keywords + echo "~app-portage/genlop-0.30.2" >> /etc/portage/package.keywords + einfo "Added gentoolkit and genlop needed versions to /etc/portage/package.keywords" + + cat /usr/lib/${PN}/make.conf.recommended >> /etc/make.conf + ewarn "Modified make.conf file at /etc/make.conf -> INSPECT IT!" + + ewarn "Please also create appropiate /usr/local/XXX-portage/ directories." + ewarn "Please also remove (or at least inspect) old content of /usr/local/portage/" + +} diff --git a/app-admin/portki/portki-0.8.2.ebuild b/app-admin/portki/portki-0.8.2.ebuild new file mode 100644 index 0000000..60332b7 --- /dev/null +++ b/app-admin/portki/portki-0.8.2.ebuild @@ -0,0 +1,145 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Portage synchronization tool for managing group of gentoo servers." +HOMEPAGE="http://dev.gentoo.org/~radek/portki/" +SRC_URI="${HOMEPAGE}/files/${P}.tar.gz" +LICENSE="GPL2" + +SLOT="0" +IUSE="" + +KEYWORDS="x86" + +DEPEND=">=app-shells/bash-3.0 + >=app-admin/tmpreaper-1" + +RDEPEND=" + >=sys-apps/portage-2.0.51 + >=app-shells/bash-3.0 + >=app-admin/tmpreaper-1 + >=app-portage/genlop-0.30 + >=app-portage/gentoolkit" + +S=${WORKDIR} + +src_install() { + + # this directories are installed with normal perms + dodir /etc/conf.d + dodir /etc/config-archive + + dodir /usr/bin + dodir /usr/lib/${PN} + + insinto /usr/lib/${PN} + exeinto /usr/lib/${PN} + + doins ${PN}.conf + doexe ${PN}.cron + doins ${PN}.stage.* + doins TODO.txt + + doins dispatch-conf-digest.patch + doins dispatch-conf.conf.recommended + + doins make.conf.recommended + + cp /usr/lib/portage/bin/dispatch-conf . + patch dispatch-conf dispatch-conf-digest.patch + newexe dispatch-conf ${PN}.dispatch-conf + + doexe ${PN}.sh + dosym ${D}/usr/lib/${PN}/${PN}.sh /usr/bin/${PN} + + # now restricted perms perms + diropts -m2751 + dodir /var/state/${PN} + + exeopts -m750 + insopts -m640 + + dodir /var/state/${PN}/last + keepdir /var/state/${PN}/last + + diropts -m2750 + dodir /var/state/${PN}/put + keepdir /var/state/${PN}/put + dodir /var/state/${PN}/tmp + keepdir /var/state/${PN}/tmp + dodir /var/state/${PN}/update + keepdir /var/state/${PN}/update + + insinto /var/state/${PN} + doins cmd.local.example + newins cmd.remote.example cmd.remote + + dodir /var/log/${PN} + + # configuration inject + grep -B4000 '#################################################################' ${D}/usr/lib/${PN}/${PN}.conf >> ${D}/etc/conf.d/${PN} +} + +pkg_postinst() { + + # chown to portage group have to be in postinst + chown root:portage -R ${ROOT}/usr/lib/${PN} + chown root:portage -R ${ROOT}/var/state/${PN} + chown root:portage -R ${ROOT}/var/log/${PN} + + # ugly hack to overcome permissions of already existing dir + chmod 2751 /usr/lib/${PN} /var/state/${PN} /var/state/${PN}/last + + # now we erase only files not modified in last 30 days + tmpreaper --mtime 30d /var/state/${PN}/last /var/state/${PN}/tmp >/dev/null 2>/dev/null + + # also this is removed, to allow execution on next run + rm -f /var/state/${PN}/last/portki.last.cmdr 2> /dev/null + + # patches glsa-check, this can be safely ignored + patch /usr/bin/glsa-check ${S}/glsa-check_errlevel.patch >/dev/null + + einfo "" + einfo "Dont forget to copy /usr/lib/${PN}/${PN}.cron to /etc/cron.hourly/" + einfo "Main configuration file is located: /usr/lib/${PN}/${PN}.conf" + einfo "But please modify ONLY your local version at: /etc/conf.d/${PN}" + einfo "You can use ebuild config command (show below at ++) to: " + einfo ".. create /var/log/portage dir" + einfo ".. append portki defaults to /etc/make.conf and /etc/dispatch-conf.conf" + einfo ".. create cron runner at /etc/cron.hourly/portki.cron" + einfo "" + einfo "++ ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" + einfo "" +} + +pkg_config() { + + rm -fr /etc/portage/portki.* /etc/portage/update + rm -f /var/log/portki_* + rm -f /etc/cron.daily/eupdatedb.cron + rm -f /etc/cron.hourly/portki.cron.hourly + einfo "Removed old portki files from /etc/portage/portki and /var/log/portki_" + + mkdir /var/log/portage 2>/dev/null + chmod 750 /var/log/portage + chown root:portage /var/log/portage + einfo "Created /var/log/portage (used inf /etc/make.conf as portage logdir)" + + cp -f /usr/lib/${PN}/${PN}.cron /etc/cron.hourly/ + einfo "Installed cron runner at: /etc/cron.hourly/${PN}.cron" + + cat /usr/lib/${PN}/dispatch-conf.conf.recommended >> /etc/dispatch-conf.conf + ewarn "Modified dispatch config file: /etc/dispatch-conf.conf -> INSPECT IT!" + + echo "~app-portage/gentoolkit-0.2.0_pre10 " >> /etc/portage/package.keywords + echo "~app-portage/genlop-0.30.2" >> /etc/portage/package.keywords + einfo "Added gentoolkit and genlop needed versions to /etc/portage/package.keywords" + + cat /usr/lib/${PN}/make.conf.recommended >> /etc/make.conf + ewarn "Modified make.conf file at /etc/make.conf -> INSPECT IT!" + + ewarn "Please also create appropiate /usr/local/XXX-portage/ directories." + ewarn "Please also remove (or at least inspect) old content of /usr/local/portage/" + +} diff --git a/app-admin/portki/portki-0.9.0.ebuild b/app-admin/portki/portki-0.9.0.ebuild new file mode 100644 index 0000000..efbf613 --- /dev/null +++ b/app-admin/portki/portki-0.9.0.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Portage synchronization tool for managing group of gentoo servers." +HOMEPAGE="http://dev.gentoo.org/~radek/portki/" +SRC_URI="${HOMEPAGE}/files/${P}.tar.gz" +LICENSE="GPL2" + +SLOT="0" +IUSE="" + +RESTRICT="primaryuri" + +KEYWORDS="x86" + +DEPEND=">=app-shells/bash-3.0 + >=app-admin/tmpreaper-1" + +RDEPEND=" + >=sys-apps/portage-2.0.51 + >=app-shells/bash-3.0 + >=app-admin/tmpreaper-1 + >=app-portage/genlop-0.30 + >=app-portage/eix-0.2.2 + >=app-portage/gentoolkit" + +S=${WORKDIR} + +src_install() { + + # this directories are installed with normal perms + dodir /etc/conf.d + dodir /etc/config-archive + + dodir /usr/bin + dodir /usr/lib/${PN} + + insinto /usr/lib/${PN} + exeinto /usr/lib/${PN} + + doins ${PN}.conf + doexe ${PN}.cron + doins ${PN}.stage.* + doins TODO.txt + + doins dispatch-conf-digest.patch + doins dispatch-conf.conf.recommended + + doins make.conf.recommended + + cp /usr/lib/portage/bin/dispatch-conf . + patch dispatch-conf dispatch-conf-digest.patch + newexe dispatch-conf ${PN}.dispatch-conf + + doexe ${PN}.sh + dosym ${D}/usr/lib/${PN}/${PN}.sh /usr/bin/${PN} + + # now restricted perms perms + diropts -m2751 + dodir /var/state/${PN} + + exeopts -m750 + insopts -m640 + + dodir /var/state/${PN}/last + keepdir /var/state/${PN}/last + + diropts -m2750 + dodir /var/state/${PN}/put + keepdir /var/state/${PN}/put + dodir /var/state/${PN}/tmp + keepdir /var/state/${PN}/tmp + dodir /var/state/${PN}/update + keepdir /var/state/${PN}/update + + insinto /var/state/${PN} + doins cmd.local.example + newins cmd.remote.example cmd.remote + + dodir /var/log/${PN} + + # configuration inject + grep -B4000 '#################################################################' ${D}/usr/lib/${PN}/${PN}.conf >> ${D}/etc/conf.d/${PN} +} + +pkg_postinst() { + + # chown to portage group have to be in postinst + chown root:portage -R ${ROOT}/usr/lib/${PN} + chown root:portage -R ${ROOT}/var/state/${PN} + chown root:portage -R ${ROOT}/var/log/${PN} + + # ugly hack to overcome permissions of already existing dir + chmod 2751 /usr/lib/${PN} /var/state/${PN} /var/state/${PN}/last + + # now we erase only files not modified in last 30 days + tmpreaper --mtime 30d /var/state/${PN}/last /var/state/${PN}/tmp >/dev/null 2>/dev/null + + # also this is removed, to allow execution on next run + rm -f /var/state/${PN}/last/portki.last.cmdr 2> /dev/null + + # patches glsa-check, this can be safely ignored + patch /usr/bin/glsa-check ${S}/glsa-check_errlevel.patch >/dev/null + + einfo "" + einfo "Dont forget to copy /usr/lib/${PN}/${PN}.cron to /etc/cron.hourly/" + einfo "Main configuration file is located: /usr/lib/${PN}/${PN}.conf" + einfo "But please modify ONLY your local version at: /etc/conf.d/${PN}" + einfo "You can use ebuild config command (show below at ++) to: " + einfo ".. create /var/log/portage dir" + einfo ".. append portki defaults to /etc/make.conf and /etc/dispatch-conf.conf" + einfo ".. create cron runner at /etc/cron.hourly/portki.cron" + einfo "" + einfo "++ ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" + einfo "" +} + +pkg_config() { + + rm -fr /etc/portage/portki.* /etc/portage/update + rm -f /var/log/portki_* + rm -f /etc/cron.daily/eupdatedb.cron + rm -f /etc/cron.hourly/portki.cron.hourly + einfo "Removed old portki files from /etc/portage/portki and /var/log/portki_" + + mkdir /var/log/portage 2>/dev/null + chmod 750 /var/log/portage + chown root:portage /var/log/portage + einfo "Created /var/log/portage (used inf /etc/make.conf as portage logdir)" + + cp -f /usr/lib/${PN}/${PN}.cron /etc/cron.hourly/ + einfo "Installed cron runner at: /etc/cron.hourly/${PN}.cron" + + cat /usr/lib/${PN}/dispatch-conf.conf.recommended >> /etc/dispatch-conf.conf + ewarn "Modified dispatch config file: /etc/dispatch-conf.conf -> INSPECT IT!" + + echo "~app-portage/gentoolkit-0.2.0_pre10 " >> /etc/portage/package.keywords + echo "~app-portage/genlop-0.30.2" >> /etc/portage/package.keywords + einfo "Added gentoolkit and genlop needed versions to /etc/portage/package.keywords" + + cat /usr/lib/${PN}/make.conf.recommended >> /etc/make.conf + ewarn "Modified make.conf file at /etc/make.conf -> INSPECT IT!" + + ewarn "Please also create appropiate /usr/local/XXX-portage/ directories." + ewarn "Please also remove (or at least inspect) old content of /usr/local/portage/" + +} |