diff options
author | Radoslaw Stachowiak <radek@gentoo.org> | 2006-12-27 22:26:52 +0000 |
---|---|---|
committer | Radoslaw Stachowiak <radek@gentoo.org> | 2006-12-27 22:26:52 +0000 |
commit | 2c2a13c27a7d65c01c84faa18d36da734cd185f1 (patch) | |
tree | 0e5c31d3d0f0abf3367474156b9e24d1c0c9b7c7 | |
parent | grukeri-1.3.0 x86 release (diff) | |
download | radek-2c2a13c27a7d65c01c84faa18d36da734cd185f1.tar.gz radek-2c2a13c27a7d65c01c84faa18d36da734cd185f1.tar.bz2 radek-2c2a13c27a7d65c01c84faa18d36da734cd185f1.zip |
portki-0.10.3 version bump
svn path=/radek-portage/; revision=8
-rw-r--r-- | app-admin/portki/ChangeLog | 12 | ||||
-rw-r--r-- | app-admin/portki/Manifest | 16 | ||||
-rw-r--r-- | app-admin/portki/files/digest-portki-0.10.3 | 3 | ||||
-rw-r--r-- | app-admin/portki/portki-0.10.3.ebuild | 130 |
4 files changed, 155 insertions, 6 deletions
diff --git a/app-admin/portki/ChangeLog b/app-admin/portki/ChangeLog index 36de609..4c64a55 100644 --- a/app-admin/portki/ChangeLog +++ b/app-admin/portki/ChangeLog @@ -2,8 +2,16 @@ # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ - 22 Dec 2006; Radoslaw Stachowiak <radek@gentoo.org>: - Fixed broken dependencies. + 27 Dec 2006; Radoslaw Stachowiak <radek@gentoo.org>: + ---------------------------------------------------------------------------- + NEW VERSION: 0.10.3, dedicated to retirement-in-3-years-plan: wish me luck! + + BUG: fixed dependencies in portki.ebuild + BUG: clean stage: error: lstat() of directory /usr/portage/packages missing + BUG: broken dispatch-conf patch in portage 2.1.2 + CHANGE: updated dispatch-conf patch to match portage 2.1.1 and 2.1.2 + CHANGE: failure during patching dispatch-conf will result in emerge error + 24 Sep 2006; Radoslaw Stachowiak <radek@gentoo.org>: ---------------------------------------------------------------------------- diff --git a/app-admin/portki/Manifest b/app-admin/portki/Manifest index 58565cc..bb8ec14 100644 --- a/app-admin/portki/Manifest +++ b/app-admin/portki/Manifest @@ -1,6 +1,7 @@ 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.10.3.tar.gz 22499 RMD160 8cabc13b607e3291cfb9f4ce5b743264362675fd SHA1 471f708ee00bd03ac40b122ce5a3ae4c95be8b97 SHA256 1597999edcbfc4baaf900961e0a6c1a572b1220094eade0840f4820e46fae142 DIST portki-0.3.0.tar.gz 12441 DIST portki-0.3.1.tar.gz 12965 DIST portki-0.3.2.tar.gz 13530 @@ -29,6 +30,10 @@ EBUILD portki-0.10.2.ebuild 3465 RMD160 d6c38c03ecb3000c428cf3ef8c32d4ff885649bd 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.10.3.ebuild 3503 RMD160 f272adee55705801625319a3a453d63f580c17ae SHA1 2b8ff1460676723e21aceba85ce27ed68fba5a6e SHA256 aed0833785fab01db09af43ff1e5548dfb4a784053a8ea92c5a6a63ecc674130 +MD5 8e1f2a9794f5c6217820a6f8e321331f portki-0.10.3.ebuild 3503 +RMD160 f272adee55705801625319a3a453d63f580c17ae portki-0.10.3.ebuild 3503 +SHA256 aed0833785fab01db09af43ff1e5548dfb4a784053a8ea92c5a6a63ecc674130 portki-0.10.3.ebuild 3503 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 @@ -77,10 +82,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 9623 RMD160 89f1c2424118395a3d5e37848d4333ed46752c09 SHA1 e8b33f7dc78e719e78e2c10b10fe01a3ca3d218a SHA256 854666036f4c56925020bcb23d8faf28cb2c30497f755361756eb3b805ca7beb -MD5 67a0157486b6fd9fc072b56e4155fe84 ChangeLog 9623 -RMD160 89f1c2424118395a3d5e37848d4333ed46752c09 ChangeLog 9623 -SHA256 854666036f4c56925020bcb23d8faf28cb2c30497f755361756eb3b805ca7beb ChangeLog 9623 +MISC ChangeLog 10072 RMD160 5c2d30b8dd3f3a99b713336a74bc16aa4240e9e5 SHA1 62bf648023dd14055283419d5e2df5c9d875a4f5 SHA256 e5643b55de2ee04a667235a9480914099c8d39152db4a55163ac518ee20af2ab +MD5 d94c47dcbeab02d79940e8684fc38a1a ChangeLog 10072 +RMD160 5c2d30b8dd3f3a99b713336a74bc16aa4240e9e5 ChangeLog 10072 +SHA256 e5643b55de2ee04a667235a9480914099c8d39152db4a55163ac518ee20af2ab ChangeLog 10072 MISC metadata.xml 221 RMD160 c3fe86fc44653637aea4680b20cf4a3919b7540c SHA1 a1e6cd353cec0a45b588c9995fb801cb82792457 SHA256 1d86ed32a423a4e8e6af86272561dd598d9ce6d5bb55eb6c810b11a6c3383c6a MD5 66daf69a44c4ec8add00f66d8ee0661d metadata.xml 221 RMD160 c3fe86fc44653637aea4680b20cf4a3919b7540c metadata.xml 221 @@ -97,6 +102,9 @@ SHA256 faf22d7bcbdb4a591280f14ced5e119f38f1a8933bfcd34d1037f15eba1bb9c4 files/di 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 1b49dc1d9bfc87095bf4c2a0a3652594 files/digest-portki-0.10.3 238 +RMD160 b1b220c37fb552958ea6d479710129ab48448936 files/digest-portki-0.10.3 238 +SHA256 2a97a12825fd8fd2e84468978532955346e648b4da32c3dec928f92954e479c2 files/digest-portki-0.10.3 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.3 b/app-admin/portki/files/digest-portki-0.10.3 new file mode 100644 index 0000000..cfabc0c --- /dev/null +++ b/app-admin/portki/files/digest-portki-0.10.3 @@ -0,0 +1,3 @@ +MD5 be1d2f77471656843859da1175e54d2c portki-0.10.3.tar.gz 22499 +RMD160 8cabc13b607e3291cfb9f4ce5b743264362675fd portki-0.10.3.tar.gz 22499 +SHA256 1597999edcbfc4baaf900961e0a6c1a572b1220094eade0840f4820e46fae142 portki-0.10.3.tar.gz 22499 diff --git a/app-admin/portki/portki-0.10.3.ebuild b/app-admin/portki/portki-0.10.3.ebuild new file mode 100644 index 0000000..31aed85 --- /dev/null +++ b/app-admin/portki/portki-0.10.3.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.7.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 || die "Can't patch original dispatch-conf" + 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!" + +} |