summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-10-21 20:14:52 +0000
committerAnthony G. Basile <blueness@gentoo.org>2012-10-21 20:14:52 +0000
commit49746030c3469d77385f489e3c2ee5ce190bb06c (patch)
tree9f765c1243dc2036f5275fe38f3b6209d0102ddc /sys-apps/agedu
parentstable ppc ppc64, bug #394809 (diff)
downloadgentoo-2-49746030c3469d77385f489e3c2ee5ce190bb06c.tar.gz
gentoo-2-49746030c3469d77385f489e3c2ee5ce190bb06c.tar.bz2
gentoo-2-49746030c3469d77385f489e3c2ee5ce190bb06c.zip
Initial commit
(Portage version: 2.1.11.30/cvs/Linux x86_64, signed Manifest commit with key 0xD0455535)
Diffstat (limited to 'sys-apps/agedu')
-rw-r--r--sys-apps/agedu/ChangeLog10
-rw-r--r--sys-apps/agedu/agedu-9671.ebuild33
-rw-r--r--sys-apps/agedu/files/agedu-r9671-fix-automagic.patch44
-rw-r--r--sys-apps/agedu/metadata.xml8
4 files changed, 95 insertions, 0 deletions
diff --git a/sys-apps/agedu/ChangeLog b/sys-apps/agedu/ChangeLog
new file mode 100644
index 000000000000..ddc0901e703f
--- /dev/null
+++ b/sys-apps/agedu/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-apps/agedu
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/agedu/ChangeLog,v 1.1 2012/10/21 20:14:52 blueness Exp $
+
+*agedu-9671 (21 Oct 2012)
+
+ 21 Oct 2012; Anthony G. Basile <blueness@gentoo.org>
+ +files/agedu-r9671-fix-automagic.patch, +agedu-9671.ebuild, +metadata.xml:
+ Initial commit
+
diff --git a/sys-apps/agedu/agedu-9671.ebuild b/sys-apps/agedu/agedu-9671.ebuild
new file mode 100644
index 000000000000..79bcf9a8bad3
--- /dev/null
+++ b/sys-apps/agedu/agedu-9671.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/agedu/agedu-9671.ebuild,v 1.1 2012/10/21 20:14:52 blueness Exp $
+
+EAPI="4"
+
+inherit autotools eutils
+
+MY_P="${PN}-r${PV}"
+
+DESCRIPTION="A utility for tracking down wasted disk space"
+HOMEPAGE="http://www.chiark.greenend.org.uk/~sgtatham/agedu/"
+SRC_URI="http://www.chiark.greenend.org.uk/~sgtatham/${PN}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc ipv6"
+
+DEPEND="doc? ( app-doc/halibut )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${MY_P}-fix-automagic.patch"
+ eautoreconf
+}
+
+src_configure() {
+ econf --enable-ipv4 \
+ $(use_enable doc halibut) \
+ $(use_enable ipv6)
+}
diff --git a/sys-apps/agedu/files/agedu-r9671-fix-automagic.patch b/sys-apps/agedu/files/agedu-r9671-fix-automagic.patch
new file mode 100644
index 000000000000..8e0c6ea2969e
--- /dev/null
+++ b/sys-apps/agedu/files/agedu-r9671-fix-automagic.patch
@@ -0,0 +1,44 @@
+diff -Naur agedu-r9671.orig/configure.ac agedu-r9671/configure.ac
+--- agedu-r9671.orig/configure.ac 2012-10-20 21:20:47.000000000 -0400
++++ agedu-r9671/configure.ac 2012-10-21 15:13:08.000000000 -0400
+@@ -10,8 +10,6 @@
+ AC_PROG_CC
+ AC_PROG_CC_C99
+ AC_PROG_INSTALL
+-AC_CHECK_PROG([HALIBUT],[halibut],[yes],[no])
+-AM_CONDITIONAL([HAVE_HALIBUT],[test "x$HALIBUT" = "xyes"])
+
+ # Checks for libraries.
+
+@@ -43,13 +41,28 @@
+
+ AC_CHECK_FUNCS([ftruncate fdopendir lstat64 stat64 memchr munmap select socket strcasecmp strchr strcspn strerror strrchr strspn strtoul strtoull connect inet_ntoa inet_addr gethostbyname getaddrinfo])
+
++AC_ARG_ENABLE([halibut],
++ AS_HELP_STRING([--disable-halibut],
++ [disable documentation with halibut (default off)]),
++ [halibut=$enableval],[halibut=no])
++
++if test "$halibut" = "no"; then
++ AM_CONDITIONAL([HAVE_HALIBUT],[false])
++else
++ AC_CHECK_PROG([have_halibut],[halibut],[yes],[no])
++ if test "$have_halibut" = "no"; then
++ AC_MSG_ERROR([halibut configured but not found])
++ fi
++ AM_CONDITIONAL([HAVE_HALIBUT],[true])
++fi
++
+ AC_ARG_ENABLE([ipv6],
+ AS_HELP_STRING([--disable-ipv6],
+- [disable IPv6 in the built-in web server]),
+- [ipv6=$enableval],[ipv6=$ac_cv_func_getaddrinfo])
++ [disable IPv6 in the built-in web server (default off)]),
++ [ipv6=$enableval],[ipv6=no])
+ AC_ARG_ENABLE([ipv4],
+ AS_HELP_STRING([--disable-ipv4],
+- [disable IPv4 in the built-in web server]),
++ [disable IPv4 in the built-in web server (default on)]),
+ [ipv4=$enableval],[ipv4=yes])
+ if test "$ipv6" = "no"; then
+ AC_DEFINE([NO_IPV6], [1], [define if IPv6 is disabled at configure time])
diff --git a/sys-apps/agedu/metadata.xml b/sys-apps/agedu/metadata.xml
new file mode 100644
index 000000000000..1e7587374fdf
--- /dev/null
+++ b/sys-apps/agedu/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>blueness@gentoo.org</email>
+ <name>Anthony G. Basile</name>
+ </maintainer>
+</pkgmetadata>