diff options
author | 2006-12-22 01:06:01 +0000 | |
---|---|---|
committer | 2006-12-22 01:06:01 +0000 | |
commit | 2b45b4524103ef19e98610b6347fbf64d91fbdc4 (patch) | |
tree | c7cf9b88b9f36f3694357da0207a447af02bc05e | |
parent | sys-apps/cpipe-3.0.1 x86 initial ebuild (diff) | |
download | radek-2b45b4524103ef19e98610b6347fbf64d91fbdc4.tar.gz radek-2b45b4524103ef19e98610b6347fbf64d91fbdc4.tar.bz2 radek-2b45b4524103ef19e98610b6347fbf64d91fbdc4.zip |
portki-0.10.2-r1 x86 stable, bug with broken dependencies
svn path=/radek-portage/; revision=5
-rw-r--r-- | app-admin/portki/ChangeLog | 3 | ||||
-rw-r--r-- | app-admin/portki/Manifest | 15 | ||||
-rw-r--r-- | app-admin/portki/files/digest-portki-0.10.2-r1 | 3 | ||||
-rw-r--r-- | app-admin/portki/portki-0.10.2-r1.ebuild | 130 |
4 files changed, 147 insertions, 4 deletions
diff --git a/app-admin/portki/ChangeLog b/app-admin/portki/ChangeLog index 5dbb81f..36de609 100644 --- a/app-admin/portki/ChangeLog +++ b/app-admin/portki/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 22 Dec 2006; Radoslaw Stachowiak <radek@gentoo.org>: + Fixed broken dependencies. + 24 Sep 2006; Radoslaw Stachowiak <radek@gentoo.org>: ---------------------------------------------------------------------------- NEW VERSION: 0.10.2, dedicated to new SwMind's Sales Director :) diff --git a/app-admin/portki/Manifest b/app-admin/portki/Manifest index 6d853d1..58565cc 100644 --- a/app-admin/portki/Manifest +++ b/app-admin/portki/Manifest @@ -21,6 +21,10 @@ EBUILD portki-0.10.1.ebuild 3474 RMD160 211e60f4395af8d86b4aecc8d4a9d4c262d218be 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-r1.ebuild 3459 RMD160 31bad2b84f2517ef6ab6c2554a12685132002b3b SHA1 96c94cabb3a1f6ec6cc1f14657d61cec27ef1455 SHA256 0119d6e12691f22c2f6b612b95e6444cf65b06425fd0f29a64d07ad42e71f7c6 +MD5 25df9a2a1a82ceee0d553853b4c6a9e3 portki-0.10.2-r1.ebuild 3459 +RMD160 31bad2b84f2517ef6ab6c2554a12685132002b3b portki-0.10.2-r1.ebuild 3459 +SHA256 0119d6e12691f22c2f6b612b95e6444cf65b06425fd0f29a64d07ad42e71f7c6 portki-0.10.2-r1.ebuild 3459 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 @@ -73,10 +77,10 @@ EBUILD portki-0.9.0.ebuild 4336 RMD160 addaa883c19ec3655ee9c33e9140e313eba40b2c 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 ChangeLog 9623 RMD160 89f1c2424118395a3d5e37848d4333ed46752c09 SHA1 e8b33f7dc78e719e78e2c10b10fe01a3ca3d218a SHA256 854666036f4c56925020bcb23d8faf28cb2c30497f755361756eb3b805ca7beb +MD5 67a0157486b6fd9fc072b56e4155fe84 ChangeLog 9623 +RMD160 89f1c2424118395a3d5e37848d4333ed46752c09 ChangeLog 9623 +SHA256 854666036f4c56925020bcb23d8faf28cb2c30497f755361756eb3b805ca7beb ChangeLog 9623 MISC metadata.xml 221 RMD160 c3fe86fc44653637aea4680b20cf4a3919b7540c SHA1 a1e6cd353cec0a45b588c9995fb801cb82792457 SHA256 1d86ed32a423a4e8e6af86272561dd598d9ce6d5bb55eb6c810b11a6c3383c6a MD5 66daf69a44c4ec8add00f66d8ee0661d metadata.xml 221 RMD160 c3fe86fc44653637aea4680b20cf4a3919b7540c metadata.xml 221 @@ -90,6 +94,9 @@ SHA256 7db96e79e515454fe64346d241fe8a7505a89d2dd2a8c1eb1155fd9a2257989e files/di 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 880e15e33dce3b33f6d56bcbd738167b files/digest-portki-0.10.2-r1 238 +RMD160 f804d11c24205dba5f018d17423535e35ae1dd6f files/digest-portki-0.10.2-r1 238 +SHA256 faf22d7bcbdb4a591280f14ced5e119f38f1a8933bfcd34d1037f15eba1bb9c4 files/digest-portki-0.10.2-r1 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 diff --git a/app-admin/portki/files/digest-portki-0.10.2-r1 b/app-admin/portki/files/digest-portki-0.10.2-r1 new file mode 100644 index 0000000..96ae372 --- /dev/null +++ b/app-admin/portki/files/digest-portki-0.10.2-r1 @@ -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/portki-0.10.2-r1.ebuild b/app-admin/portki/portki-0.10.2-r1.ebuild new file mode 100644 index 0000000..1ede4a9 --- /dev/null +++ b/app-admin/portki/portki-0.10.2-r1.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!" + +} |