Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541 - tftp ebuild for netkit's tftp
Summary: tftp ebuild for netkit's tftp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ferry Meyndert (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-05 05:09 UTC by Travis Tilley
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
tftp-netkit ebuild (tftp-netkit-0.17.ebuild,625 bytes, text/plain)
2002-02-05 05:10 UTC, Travis Tilley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Travis Tilley 2002-02-05 05:09:21 UTC
This ebuild adds support for netkit's tftp client and server, which are the best
of course in my opinion. better than the openbsd tftp port anyways... (and now
you see my reasoning for writing the ebuild ;)
this ebuild should be in app-admin/tftp-netkit and is as follows:

swift portage # cat app-admin/tftp-netkit/tftp-netkit-0.17.ebuild 
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Travis Tilley <lordviram@nesit.org>

S=${WORKDIR}/${P}
DESCRIPTION="the tftp server included in netkit"
SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-tftp-0.17.tar.gz"
HOMEPAGE="http://"

DEPEND="virtual/glibc"

src_compile() {
        cd ${WORKDIR}/netkit-tftp-0.17
        try ./configure --prefix=/usr --installroot=${D}
        try make
}

src_install() {
        mkdir -p ${D}/usr/bin ${D}/usr/sbin ${D}/usr/man/man1 ${D}/usr/man/man8
        cd ${WORKDIR}/netkit-tftp-0.17
        try make install
}
Comment 1 Travis Tilley 2002-02-05 05:10:06 UTC
Created attachment 128 [details]
tftp-netkit ebuild
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-02-05 10:30:45 UTC
change name to "netkit-tftp" and change:

try foo

to...

foo || die

Also, see if "emake" works instead of just "make" in src_compile, but leave
src_install as "make".

In src_install, use cd ${S} instead of cd ${WORKDIR}/netkit-tftp-0.17 (should
work after you fix the name of this ebuild.

Fix these things and I'll forward this to a developer to add to cvs.
Comment 3 Travis Tilley 2002-02-07 07:51:24 UTC
i keep trying to submit a new ebuild but bugzilla wont let me. keeps saying my
file doesn't exist or is empty.....

so here is the ebuild:

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Travis Tilley <lordviram@nesit.org>

S=${WORKDIR}/${P}
DESCRIPTION="the tftp server included in netkit"
SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-tftp-0.17.tar
                       .gz"
HOMEPAGE="http://"

DEPEND="virtual/glibc"

src_compile() {
        cd ${S}
        ./configure --prefix=/usr --installroot=${D} || die
        emake
}

src_install() {
        mkdir -p ${D}/usr/bin ${D}/usr/sbin ${D}/usr/man/man1 ${D}/usr/man/man8
        cd ${S}
        make install
}
Comment 4 Daniel Robbins (RETIRED) gentoo-dev 2002-02-09 22:20:51 UTC
oops, noticed one more thing... the mandir should be /usr/share/man instead of
/usr/man.  This should be easy to fix with a --mandir=/usr/share/man to
configure, so I'll forward it over to m0rpheus for adding.
Comment 5 Ferry Meyndert (RETIRED) gentoo-dev 2002-02-18 13:06:44 UTC
added too net-misc