From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GF55G-000752-6G for garchives@archives.gentoo.org; Mon, 21 Aug 2006 08:24:34 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7L8MMKD021140; Mon, 21 Aug 2006 08:22:22 GMT Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7L8JwqX026269 for ; Mon, 21 Aug 2006 08:19:58 GMT Received: from omc-2.omesc.com (cpe.atm2-0-1151123.0x50a3535e.odnxx7.customer.tele.dk [80.163.83.94]) by pfepa.post.tele.dk (Postfix) with ESMTP id 9AA6EFAC034 for ; Mon, 21 Aug 2006 10:19:52 +0200 (CEST) Subject: Re: [gentoo-user] Newbie ebuild question From: Jules Colding To: gentoo-user@lists.gentoo.org In-Reply-To: <8146fc8a0608180642i6ed6a8f2wbddebd1e7d500602@mail.gmail.com> References: <1155907964.8712.66.camel@omc-2.omesc.com> <8146fc8a0608180642i6ed6a8f2wbddebd1e7d500602@mail.gmail.com> Content-Type: text/plain Date: Mon, 21 Aug 2006 09:58:47 +0200 Message-Id: <1156147127.28785.2.camel@omc-2.omesc.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 Content-Transfer-Encoding: 7bit X-Archives-Salt: fc4e8081-5aca-41ef-aee4-709d1cb27f4a X-Archives-Hash: 39f89df0b0e972cf8adc5d36954aacdd On Fri, 2006-08-18 at 09:42 -0400, Andrew Frink wrote: > Jules, > I think you need to add something like(see below) Read the man page > for that one, or grep usr/portage/ Thanks a lot. 'nomirror' is not in the ebuild man page but there are plenty of packages that are using it. Thanks, jules > Andrew > > On 8/18/06, Jules Colding wrote: > Hi, > > I am trying to create an ebuild file for evolution-brutus. It > is > presently looking like this (with comments removed): > > ################### e-b ebuild start ######################## > inherit eutils flag-o-matic > > DESCRIPTION="Brutus Exchange connector for Evolution 2.4 and > 2.6" > HOMEPAGE="http://www.omesc.com/" > SRC_URI="http://www.omesc.com/content/downloads/dist/SOURCES/evolution-brutus-1.1.6.tar.gz" > > LICENSE="GPL-2" > SLOT="0" > KEYWORDS="~x86 ~amd64" > > RESTRICT="nomirror" > > > IUSE="debug" > > DEPEND=">=gnome-base/orbit-2.14.1 > >=dev-libs/libIDL-0.8.5 > >=dev-util/pkgconfig-0.20 > >=dev-util/intltool-0.30 > gnome-base/gnome-common > >=gnome-base/gnome- keyring-0.4.2 > >=mail-client/evolution-2.6 > >=gnome-extra/evolution-data-server-1.6" > > DOCS="COPYING README INSTALL docs/building_from_source > docs/using_evolution-brutus" > > src_compile() { > BRUTUS_ECONF="--enable-brutus-dist=yes \ > --enable-brutus-devel=yes \ > $(use_enable debug brutus-debug yes)" > > econf ${BRUTUS_ECONF} || die "econf failed" > emake || die "emake failed" > } > > src_install() { > emake DESTDIR="${D}" install || die "emake install failed" > } > ################### e-b ebuild end ######################## > > I then tried to follow: > > http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds > > to test if it worked. I tried: > > ebuild /usr/local/portage/gnome-extra/evolution-brutus/evolution- brutus-1.1.6.ebuild fetch > > to test if ebuild could fetch the source. I naively assumed > that ebuild > would look at SRC_URI before trying to download the source. > Unfortunately it tried to connect to all possible gentoo > mirrors > instead. Can I get ebuild to download from my site without > modifying > make.conf? > > Thanks, > jules > > ############### emerge --info ################### > omc-2 evolution-brutus # emerge --info > Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-3.4.6, > glibc-2.3.6-r4, 2.6.17-gentoo-r4 x86_64) > ================================================================= > System uname: 2.6.17-gentoo-r4 x86_64 AMD Opteron(tm) > Processor 252 > Gentoo Base System version 1.12.4 > app-admin/eselect-compiler: [Not Present] > dev-lang/python: 2.3.5-r2, 2.4.3-r1 > dev-python/pycrypto: 2.0.1-r5 > dev-util/ccache: [Not Present] > dev-util/confcache: [Not Present] > sys-apps/sandbox: 1.2.17 > sys-devel/autoconf: 2.13, 2.59-r7 > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, > 1.9.6-r2 > sys-devel/binutils: 2.16.1-r3 > sys-devel/gcc-config: 1.3.13-r3 > sys-devel/libtool: 1.5.22 > virtual/os-headers: 2.6.11-r2 > ACCEPT_KEYWORDS="amd64" > AUTOCLEAN="yes" > CBUILD="x86_64-pc-linux-gnu" > CFLAGS="-march=k8 -O2 -pipe" > CHOST="x86_64-pc-linux-gnu" > CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" > CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" > CXXFLAGS="-march=k8 -O2 -pipe" > DISTDIR="/usr/portage/distfiles" > FEATURES="autoconfig distlocks metadata-transfer sandbox > sfperms strict" > GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ http://gentoo.prz.rzeszow.pl http://ftp.du.se/pub/os/gentoo ftp://mirror.pudas.net/gentoo" > MAKEOPTS="-j3" > PKGDIR="/usr/portage/packages" > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms > --times --compress --force --whole-file --delete > --delete-after --stats --timeout=180 --exclude='/distfiles' > --exclude='/local' --exclude='/packages'" > PORTAGE_TMPDIR="/var/tmp" > PORTDIR="/usr/portage" > PORTDIR_OVERLAY="/usr/local/portage" > SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" > USE="amd64 X aac aalib alsa apache2 avi berkdb bitmap-fonts > browserplugin bzip2 cdr cli crypt cups dlloader dri dvd dvdr > dvdread eds emacs emboss encode fam fbcon firefox foomaticdb > fortran gif gnome gpm gstreamer gtk gtk2 hal iconv imlib ipv6 > isdnlog jpeg lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly > nsplugin nvidia ogg opengl oss pam pcre pdflib perl png > portaudio pppd python quicktime readline reflection sdl > session spell spl ssl tcpd tetex theora tiff truetype-fonts > type1-fonts unicode usb vorbis wma xine xmms xorg xpm xv xvid > zlib elibc_glibc input_devices_evdev input_devices_keyboard > input_devices_mouse kernel_linux userland_GNU video_cards_nv > video_cards_nvidia video_cards_vesa" > Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, > LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS > > > > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list