First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 134198
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo net-p2p team <net-p2p@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Roman Polach <rpolach@atlas.cz>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 134198 depends on: Show dependency tree
Bug 134198 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-05-24 05:23 0000
Please update net-p2p/gnunet ebuild in portage to 0.7.0e version.
It seems there are only bugfixes in 0.7.0e news.

------- Comment #1 From Tobias Kral 2006-12-25 05:08:56 0000 -------
Version bump to 0.7.1 (Look at http://www.gnunet.org/)

------- Comment #2 From Andreas Gick 2007-01-06 17:57:32 0000 -------
Would be nice, if new ebuilds were added to the tree for gnunet and gnunet-gtk,
because version 0.7.1 fixes a serious bug for amd64 users making it virtually
unusable. Hera are the ebuilds I used in my portage-overlay:
gnunet-0.7.1a.ebuild

-----------------snip-----------------------------------------------------------
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/gnunet-0.7.0d-r1.ebuild,v 1.3
2006/07/12 15:23:45 kugelfang Exp $

inherit eutils libtool versionator
#MY_PV=$(delete_version_separator '_')
S="${WORKDIR}/GNUnet-${PV}"
DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network."
HOMEPAGE="http://gnunet.org"
SRC_URI="http://gnunet.org/download/GNUnet-${PV}.tar.bz2"
#tests don't work
RESTRICT="test"

IUSE="ipv6 mysql sqlite guile ncurses nls gtk"
KEYWORDS="~amd64 ~ppc ~sparc x86"
LICENSE="GPL-2"
SLOT="0"

DEPEND=">=dev-libs/libgcrypt-1.2.0
        >=media-libs/libextractor-0.5.16
        >=dev-libs/gmp-4.0.0
        sys-libs/zlib
        gtk? ( >=x11-libs/gtk+-2.6.10 )
        sys-apps/sed
        ncurses? ( sys-libs/ncurses )
        mysql? ( >=dev-db/mysql-4.0.24 )
        sqlite? ( >=dev-db/sqlite-3.0.8 )
        guile? ( >=dev-util/guile-1.8.1 )
        nls? ( sys-devel/gettext )"


pkg_setup() {
        if ! use mysql && ! use sqlite; then
                einfo
                einfo "You need to specify at least one of 'mysql' or 'sqlite'"
                einfo "USE flag in order to have properly installed gnunet"
                einfo
                die "Invalid USE flag set"
        fi
}

pkg_preinst() {
        enewgroup gnunet || die "Problem adding gnunet group"
        enewuser gnunet -1 -1 /dev/null gnunet || die "Problem adding gnunet
user"
}

src_unpack() {
        unpack ${A}
        cd ${S}
        ! use sqlite && \
                sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \
                contrib/config-daemon.in

        if ! use gtk ; then
                sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac
                autoconf || die "autoconf failed"
                libtoolize --copy --force
        fi
}

src_compile() {

        local myconf

        if use ipv6; then
                if use amd64; then
                        ewarn "ipv6 in GNUnet does not currently work with
amd64 and has been disabled"
                else
                        myconf="${myconf} --enable-ipv6"
                fi
        fi

        use mysql || myconf="${myconf} --without-mysql"

        econf \
                $(use_with sqlite) \
                $(use_enable nls) \
                $(use_enable ncurses) \
                $(use_enable guile) \
                ${myconf} || die "econf failed"

        emake -j1 || die "emake failed"
}

src_install() {
        make install DESTDIR=${D} || die "make install failed"
        dodoc ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS PLATFORMS README
README.fr UPDATING
        insinto /etc
        newins contrib/gnunet.root gnunet.conf
        docinto contrib
        dodoc contrib/*
        exeinto /etc/init.d
        newexe ${FILESDIR}/${PN}-2 gnunet
        dodir /var/lib/GNUnet
        chown gnunet:gnunet ${D}/var/lib/GNUnet
}

pkg_postinst() {
        # make sure permissions are ok
        chown -R gnunet:gnunet /var/lib/GNUnet

        use ipv6 && ewarn "ipv6 support is -very- experimental and prone to
bugs"
        einfo
        einfo "To configure"
        einfo "  1) Add user(s) to the gnunet group"
        einfo "  2) Run 'gnunet-setup' to generate your client config file"
        einfo "  3) Run gnunet-setup -d to generate a server config file"
        einfo "  4) Optionally copy the .gnunet/gnunetd.conf into /etc and"
        einfo "\tuse as a global server config file:"
        einfo "$ gnunet-setup -d"
        einfo "# cp ~/.gnunet/gnunetd.conf /etc/"
        einfo
}
---------------snip------------------------------------------------------------

gnunet-gtk-0.7.1.ebuild

-----------------snip-----------------------------------------------------------
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
/var/cvsroot/gentoo-x86/net-p2p/gnunet-gtk/gnunet-gtk-0.7.0d.ebuild,v 1.1
2006/05/19 14:59:18 squinky86 Exp $

inherit versionator

#MY_PV=$(delete_version_separator '_')
#MY_PF=${PN}-${MY_PV}
#MY_P=${PN}-${MY_PV}
#WORKDIR=${PORTAGE_TMPDIR}/portage/${MY_PF}/work
#S=${WORKDIR}/${MY_P}
HOMEPAGE="http://www.gnu.org/software/GNUnet/"
SRC_URI="http://gnunet.org/download/gnunet-gtk-${PV}.tar.bz2"

KEYWORDS="~amd64 ~x86"
LICENSE="GPL-2"
SLOT="0"
IUSE=""

DEPEND=">=x11-libs/gtk+-2.6.0
        >=net-p2p/gnunet-${PV}
        >=gnome-base/libglade-2.0"

src_compile() {
        econf --with-gnunet=/usr || die "econf failed"
        emake -j1 || die "emake failed"
}

src_install() {
        make install DESTDIR=${D} install || die
}
------------------------snip---------------------------------------------------

Maybe they're not perfect, but at least they worked.

Greets Andreas

------- Comment #3 From Raúl Porcel 2007-01-12 21:12:29 0000 -------
I'm bumping this only to 0.7.0e and not to 0.7.1a, due to that version
requiring a new version of dev-util/dialog or dev-scheme/guile which we don't
have yet in the tree.

First Last Prev Next    No search results available      Search page      Enter new bug