Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 282361 Details for
Bug 214969
net-p2p/opentracker-9999 (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild partly merged
opentracker-9999.ebuild (text/plain), 2.48 KB, created by
Raphaël Droz
on 2011-08-06 21:43:26 UTC
(
hide
)
Description:
ebuild partly merged
Filename:
MIME Type:
Creator:
Raphaël Droz
Created:
2011-08-06 21:43:26 UTC
Size:
2.48 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=4 >inherit cvs > >ECVS_USER="anoncvs" >ECVS_SERVER="cvs.erdgeist.org:/home/cvsroot" >ECVS_MODULE="opentracker" > >DESCRIPTION="An open and free bittorrent tracker" >HOMEPAGE="http://erdgeist.org/arts/software/opentracker/" > >LICENSE="BEER-WARE" >SLOT="0" >KEYWORDS="" >#TODO set (+)default and exclusivity (blacklist, ...) >IUSE="blacklist debug gzip ipv6 live-sync log-network restrict-stats syslog whitelist" > >DEPEND="dev-libs/dietlibc > >=dev-libs/libowfat-0.27" ># dietlibc make static binary >RDEPEND="" > >S=${WORKDIR}/${ECVS_MODULE} > >src_compile() { > # TODO: are we safe with a simple sed failure ?xs > [[ -z Makefile ]] && die "No Makefile found" > # fix use of FEATURES, so it's not mixed up with portage's FEATURES (#214969) > sed -i \ > -e "s|FEATURES|FEATURES_INTERNAL|g" \ > -e "s|PREFIX?=..|PREFIX?=/usr|g" \ > -e "s|LIBOWFAT_HEADERS=\$(PREFIX)/libowfat|LIBOWFAT_HEADERS=\$(PREFIX)/include/libowfat|g" \ > -e "s|-pthread|-lpthread|g" \ > -e "s|CC?=gcc|CC=diet gcc|g" \ > -e "s|BINDIR?=\$(PREFIX)/bin|BINDIR?=\$(DESTDIR)\$(PREFIX)/bin|g" \ > Makefile > > use ipv6 && sed -i '/WANT_V6/s/^#*//' Makefile > use blacklist && use whitelist && die "USE blacklist and whitelist are exclusive" > use blacklist && sed -i '/DWANT_ACCESSLIST_BLACK/s/^#*//' Makefile > use whitelist && sed -i '/DWANT_ACCESSLIST_WHITE/s/^#*//' Makefile > use gzip && sed -i '/DWANT_COMPRESSION_GZIP/s/^#*//' Makefile > use restrict-stats && sed -i '/DWANT_RESTRICT_STATS/s/^#*//' Makefile > use live-sync && sed -i '/DWANT_SYNC_LIVE/s/^#*//' Makefile > use log-network && sed -i '/DWANT_LOG_NETWORKS/s/^#*//' Makefile > use syslog && sed -i '/DWANT_SYSLOG/s/^#*//' Makefile > > local target=opentracker > if use debug; then > sed -i '/D_DEBUG_HTTPERROR/s/^#*//' Makefile > # tricky: build opentracker.debug but target as opentracker > sed -i 's/$@ $(OBJECTS_debug)/opentracker $(OBJECTS_debug)/' Makefile > target=opentracker.debug > fi > > emake $target >} > >src_install() { > dodir /usr/bin > emake install DESTDIR="${D}" || die "Install failed" > dodoc README README_v6 opentracker.conf.sample > newinitd "${FILESDIR}/${PN}.init.d" ${PN} > newconfd "${FILESDIR}/${PN}.conf.d" ${PN} >} > >pkg_postinst() { > #! [[ "${FEATURES}" =~ nostrip ]] > use debug && \ > # commented-out as splitdebug doesn't created /usr/lib/debug > #! has splitdebug ${FEATURES} && \ > ! has nostrip ${FEATURES} && \ > ewarn "debug useflag efficiency depends upon FEATURES=splitdebug or FEATURES=nostrip" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 214969
:
147404
|
185189
|
186132
|
282341
|
282343
|
282345
|
282361
|
342556
|
342560
|
342562
|
347442
|
347510
|
357184
|
374464
|
374466