Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 27270 Details for
Bug 44525
traceroute-nanog-6.1.1.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
traceroute-nanog-6.1.1.ebuild (proposed package)
traceroute-nanog-6.1.1.ebuild (text/plain), 3.44 KB, created by
Dylan Vanderhoof
on 2004-03-12 19:21:20 UTC
(
hide
)
Description:
traceroute-nanog-6.1.1.ebuild (proposed package)
Filename:
MIME Type:
Creator:
Dylan Vanderhoof
Created:
2004-03-12 19:21:20 UTC
Size:
3.44 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit gcc > >DESCRIPTION="Traceroute with AS lookup, TOS support, MTU discovery and others" > >HOMEPAGE="http://packages.debian.org/traceroute-nanog" > >SRC_URI="http://ftp.debian.org/debian/pool/main/t/traceroute-nanog/${PN}_${PV}.orig.tar.gz > http://ftp.debian.org/debian/pool/main/t/traceroute-nanog/${PN}_${PV}-1.3.diff.gz" > ># traceroute-nanog_6.1.1.orig.tar.gz ># traceroute-nanog_6.1.1-1.3.diff.gz > >LICENSE="BSD" > >SLOT="0" > >KEYWORDS="~x86" > >IUSE="" > >DEPEND="virtual/glibc" > ># Source directory; the dir where the sources can be found (automatically ># unpacked) inside ${WORKDIR}. The default value for S is ${WORKDIR}/${P} ># If you don't need to change it, leave the S= line out of the ebuild ># to keep it tidy. >#S=${WORKDIR}/${P} > >src_unpack() { > > unpack ${A} > > cd ${S} > epatch ${WORKDIR}/${PN}_${PV}-1.3.diff > >} > > > >src_compile() { > # Most open-source packages use GNU autoconf for configuration. > # You should use something similar to the following lines to > # configure your package before compilation. The "|| die" portion > # at the end will stop the build process if the command fails. > # You should use this at the end of critical commands in the build > # process. (Hint: Most commands are critical, that is, the build > # process should abort if they aren't successful.) > #./configure \ > # --host=${CHOST} \ > # --prefix=/usr \ > # --infodir=/usr/share/info \ > # --mandir=/usr/share/man || die "./configure failed" > # Note the use of --infodir and --mandir, above. This is to make > # this package FHS 2.2-compliant. For more information, see > # http://www.pathname.com/fhs/ > > # Also note that it is cleaner and easier to use econf, which is the > # portage shortcut to the above ./configure statement: > # > # econf || die > # Note that econf will die on failure, but please use econf || die > # for consistency. > > # emake (previously known as pmake) is a script that calls the > # standard GNU make with parallel building options for speedier > # builds (especially on SMP systems). Try emake first. It might > # not work for some packages, because some makefiles have bugs > # related to parallelism, in these cases, use emake -j1 to limit > # make to a single process. The -j1 is a visual clue to others > # that the makefiles have bugs that have been worked around. > $(gcc-getCC) traceroute.c -o ${PN} ${CFLAGS} -lresolv -lm || die "Compile failed" >} > >src_install() { > # You must *personally verify* that this trick doesn't install > # anything outside of DESTDIR; do this by reading and > # understanding the install part of the Makefiles. > #make DESTDIR=${D} install || die > # For Makefiles that don't make proper use of DESTDIR, setting > # prefix is often an alternative. However if you do this, then > # you also need to specify mandir and infodir, since they were > # passed to ./configure as absolute paths (overriding the prefix > # setting). > #make \ > # prefix=${D}/usr \ > # mandir=${D}/usr/share/man \ > # infodir=${D}/usr/share/info \ > # install || die > # Again, verify the Makefiles! We don't want anything falling > # outside of ${D}. > > # The portage shortcut to the above command is simply: > # > #einstall || die > # Note that einstall will die on failure, but please use einstall || die > # for consistency. > exeopts "-m4755" > exeinto "/usr/sbin" > doexe traceroute-nanog > > dodoc 0_readme.txt faq.txt > > mv traceroute.8 traceroute-nanog.8 > doman traceroute-nanog.8 >}
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 44525
: 27270