version bump
authorSimon Stelling <blubb@gentoo.org>
Mon, 9 Oct 2006 11:35:52 +0000 (11:35 +0000)
committerSimon Stelling <blubb@gentoo.org>
Mon, 9 Oct 2006 11:35:52 +0000 (11:35 +0000)
Package-Manager: portage-2.1.2_pre2-r5

app-portage/conf-update/ChangeLog
app-portage/conf-update/conf-update-1.0.ebuild [new file with mode: 0644]
app-portage/conf-update/files/digest-conf-update-1.0 [new file with mode: 0644]

index 56b2a5aca4b205c2e34a264f1e3c647b2674945a..88bc48e166389c52ce134ea2d714edd2b015ee81 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-portage/conf-update
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/conf-update/ChangeLog,v 1.11 2006/10/01 14:33:11 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/conf-update/ChangeLog,v 1.12 2006/10/09 11:35:52 blubb Exp $
+
+*conf-update-1.0 (09 Oct 2006)
+
+  09 Oct 2006; Simon Stelling <blubb@gentoo.org> -conf-update-0.12.0.ebuild,
+  +conf-update-1.0.ebuild:
+  version bump & cleanups
 
   01 Oct 2006; Danny van Dyk <kugelfang@gentoo.org>
   conf-update-0.12.0.ebuild:
diff --git a/app-portage/conf-update/conf-update-1.0.ebuild b/app-portage/conf-update/conf-update-1.0.ebuild
new file mode 100644 (file)
index 0000000..3fa76c3
--- /dev/null
@@ -0,0 +1,58 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/conf-update/conf-update-1.0.ebuild,v 1.1 2006/10/09 11:35:52 blubb Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="${PN} is a ncurses-based config management utility"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2 http://dev.gentoo.org/~blubb/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE="colordiff"
+
+RDEPEND=">=dev-libs/glib-2.6
+               dev-libs/openssl
+               sys-libs/ncurses
+               colordiff? ( app-misc/colordiff )"
+DEPEND="dev-util/pkgconfig
+               ${RDEPEND}"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+
+       sed -i -e "s/\$Rev:.*\\$/${PVR}/" conf-update.h || die 'version-sed failed'
+
+       # gcc-4.1-only option
+       sed -i -e "s:-Wno-pointer-sign::g" Makefile || die 'gcc-sed failed'
+
+       if use colordiff ; then
+               sed -i -e "s/diff_tool=diff/diff_tool=colordiff/" ${PN}.conf || \
+                       die 'colordiff-sed failed'
+       fi
+}
+
+src_compile() {
+       emake CC=$(tc-getCC) || die 'emake failed'
+}
+
+src_install() {
+       into /usr
+       dosbin ${PN} || die 'dosbin failed'
+
+       insinto /etc
+       doins ${PN}.conf
+
+       doman ${PN}.1
+}
+
+pkg_postinst() {
+       if has_version '<app-portage/conf-update-0.12.0' ; then
+               ewarn "Note that the format for /etc/conf-update.conf changed in this"
+               ewarn "version. You should merge the update of that file with e.g."
+               ewarn "etc-update."
+       fi
+}
diff --git a/app-portage/conf-update/files/digest-conf-update-1.0 b/app-portage/conf-update/files/digest-conf-update-1.0
new file mode 100644 (file)
index 0000000..5a76f54
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 a4499c12042f6fe059037ef7ccabf47c conf-update-1.0.tar.bz2 17344
+RMD160 c30f94c34483cd864f4cbfba071cee64b7ebb0fd conf-update-1.0.tar.bz2 17344
+SHA256 6fce628b31bdcce6756f8ee747600af931b4bb44f1839aaf46e5a81118dd6ee9 conf-update-1.0.tar.bz2 17344