summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-20 23:40:11 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-20 23:40:11 +0000
commit49d09cdc6d47c3a5accb5ce285c8972037db6839 (patch)
tree0253bb741605ce83f79fe599b356c4ed8ddfd808 /sys-block
parentPackage-Manager: portage-2.0.51.19 (diff)
downloadhistorical-49d09cdc6d47c3a5accb5ce285c8972037db6839.tar.gz
historical-49d09cdc6d47c3a5accb5ce285c8972037db6839.tar.bz2
historical-49d09cdc6d47c3a5accb5ce285c8972037db6839.zip
Version bump #86048 by Nuno Alexandre.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/mbuffer/ChangeLog8
-rw-r--r--sys-block/mbuffer/Manifest17
-rw-r--r--sys-block/mbuffer/files/digest-mbuffer-200501251
-rw-r--r--sys-block/mbuffer/files/mbuffer-20050125-configure.patch54
-rw-r--r--sys-block/mbuffer/mbuffer-20050125.ebuild42
5 files changed, 109 insertions, 13 deletions
diff --git a/sys-block/mbuffer/ChangeLog b/sys-block/mbuffer/ChangeLog
index 2ca2a0690c13..0c428957d27d 100644
--- a/sys-block/mbuffer/ChangeLog
+++ b/sys-block/mbuffer/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-block/mbuffer
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/mbuffer/ChangeLog,v 1.2 2005/03/06 11:56:47 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/mbuffer/ChangeLog,v 1.3 2005/03/20 23:40:11 vapier Exp $
+
+*mbuffer-20050125 (20 Mar 2005)
+
+ 20 Mar 2005; Mike Frysinger <vapier@gentoo.org>
+ +files/mbuffer-20050125-configure.patch, +mbuffer-20050125.ebuild:
+ Version bump #86048 by Nuno Alexandre.
*mbuffer-20011008 (05 Mar 2005)
diff --git a/sys-block/mbuffer/Manifest b/sys-block/mbuffer/Manifest
index e99310900bd6..c21f429ebd2f 100644
--- a/sys-block/mbuffer/Manifest
+++ b/sys-block/mbuffer/Manifest
@@ -1,14 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 248fdcee7fee310d8fdaaf533e8ca937 mbuffer-20011008.ebuild 836
-MD5 71d49b538171462890119acd98a9fa83 ChangeLog 1049
+MD5 185d063d303e99ab8510990ef7cb17f9 ChangeLog 1241
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+MD5 b060003a65885c08d320a484571f61c2 mbuffer-20050125.ebuild 1100
+MD5 248fdcee7fee310d8fdaaf533e8ca937 mbuffer-20011008.ebuild 836
MD5 99fb482d24377d87942e30e3ab9c73a9 files/digest-mbuffer-20011008 65
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iD8DBQFCKvAFI1lqEGTUzyQRAuxoAJ4lfVbGpYOgVk14x4SHj3fsu4bWAwCg1xrj
-Dtn4IHxrIJnzkWzO9iKUBIk=
-=+82c
------END PGP SIGNATURE-----
+MD5 684d770f4361d6e49662792bc77a94a3 files/digest-mbuffer-20050125 64
+MD5 5cf71025ab5e5517fc579f652e7bee14 files/mbuffer-20050125-configure.patch 1757
diff --git a/sys-block/mbuffer/files/digest-mbuffer-20050125 b/sys-block/mbuffer/files/digest-mbuffer-20050125
new file mode 100644
index 000000000000..2c583bf3f352
--- /dev/null
+++ b/sys-block/mbuffer/files/digest-mbuffer-20050125
@@ -0,0 +1 @@
+MD5 788c922ef8073172e0a99a0307564a5e mbuffer-20050125.tgz 75224
diff --git a/sys-block/mbuffer/files/mbuffer-20050125-configure.patch b/sys-block/mbuffer/files/mbuffer-20050125-configure.patch
new file mode 100644
index 000000000000..249fdb19d832
--- /dev/null
+++ b/sys-block/mbuffer/files/mbuffer-20050125-configure.patch
@@ -0,0 +1,54 @@
+Remove CFLAG crap and clean up the --enable-{debug,md5} options
+to work correctly.
+
+--- mbuffer-20050125/configure.in
++++ mbuffer-20050125/configure.in
+@@ -23,17 +23,6 @@
+ AC_SEARCH_LIBS(sem_init,rt posix,,AC_MSG_ERROR(could not find semaphore functions!))
+ AC_PATH_PROG(MT,mt,AC_MSG_WARN(could not find the program mt - you might need this if you want autoloader support))
+
+-if test -n "$GCC"; then
+- CFLAGS="$CFLAGS -Wall"
+- case "$target_cpu" in
+- i586*)
+- CFLAGS="$CFLAGS -march=pentium"
+- ;;
+- i686*)
+- CFLAGS="$CFLAGS -march=pentiumpro"
+- ;;
+- esac
+-fi
+
+ AC_TYPE_SIGNAL
+ AC_FUNC_MMAP
+@@ -49,15 +38,26 @@
+
+ AC_ARG_ENABLE(debug,
+ --disable-debug disable verbose logging to console for debugging purpose,
+- ,AC_DEFINE_UNQUOTED(DEBUG),
++ ,enable_debug=yes
+ )
++if test x$enable_debug = xyes ; then
++ AC_DEFINE_UNQUOTED(DEBUG)
++fi
+
+ AC_ARG_ENABLE(md5,
+ --disable-md5 disable md5 hash generation,
+- ,
+- AC_SEARCH_LIBS(mhash_init,mhash,AC_DEFINE_UNQUOTED(MHASH),
+- AC_SEARCH_LIBS(MD5Init,md5,AC_DEFINE_UNQUOTED(MD5),AC_MSG_WARN(could not find the mhash library containing the md5 hash functions - md5 support disabled)))
++ ,enable_md5=auto
+ )
++if test x$enable_md5 != xno ; then
++ AC_SEARCH_LIBS(mhash_init,mhash,AC_DEFINE_UNQUOTED(HAVE_MHASH),
++ AC_SEARCH_LIBS(MD5Init,md5,AC_DEFINE_UNQUOTED(MD5),
++ if test x$enable_md5 = xauto ; then
++ AC_MSG_WARN(could not find the mhash library containing the md5 hash functions - md5 support disabled)
++ else
++ AC_MSG_ERROR(could not find the mhash library)
++ fi
++ ))
++fi
+
+ AC_SUBST(DEBUG)
+ AC_DEFINE_UNQUOTED(PACKAGE,"${PACKAGE}")
diff --git a/sys-block/mbuffer/mbuffer-20050125.ebuild b/sys-block/mbuffer/mbuffer-20050125.ebuild
new file mode 100644
index 000000000000..2bb3aafd1868
--- /dev/null
+++ b/sys-block/mbuffer/mbuffer-20050125.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/mbuffer/mbuffer-20050125.ebuild,v 1.1 2005/03/20 23:40:11 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="M(easuring)buffer is a replacement for buffer with additional functionality."
+HOMEPAGE="http://www.rcs.ei.tum.de/~maierkom/privat/software/mbuffer/"
+SRC_URI="http://www.rcs.ei.tum.de/~maierkom/privat/software/mbuffer/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug mhash"
+
+RDEPEND="mhash? ( app-crypt/mhash )"
+DEPEND="${RDEPEND}
+ ~sys-devel/autoconf-2.13"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-configure.patch
+ sed -i \
+ -e 's:MHASH:HAVE_MHASH:g' \
+ configure.in mbuffer.c
+ autoconf-2.13 || die "autoconf failed"
+}
+
+src_compile() {
+ econf \
+ $(use_enable mhash md5) \
+ $(use_enable debug) \
+ || die "econf failed"
+ emake || die "compile problem"
+}
+
+src_install() {
+ dodir /usr/bin
+ einstall exec_prefix="${D}"/usr || die "install failed"
+ dodoc AUTHORS INSTALL NEWS README ChangeLog
+}