You are not logged in.

#1 2004-06-14 18:19:44

freakyc
Member
Registered: 2004-03-28
Posts: 91

[incoming] tcptraceroute

I needed a package to do a traceroute for a specific port (SMTP in my case) and found the program, tcptraceroute, and decided it could be handy for others.  So I made my first package.

Here's the PKGBUILD:

# Contributor: Andrew Corrigan <fr3akyc@yahoo.com>
pkgname=tcptraceroute
pkgver=1.5beta5
pkgrel=1
pkgdesc="tcptraceroute is a traceroute implementation using TCP packets."
url="http://michael.toren.net/code/tcptraceroute/"
depends=('libpcap')
makedepends=('libnet')
source=('http://michael.toren.net/code/tcptraceroute/tcptraceroute-1.5beta5.tar.gz')
md5sums=('0a2a41becee00132da9a8bcd5f796009')
                                                                                                                              
build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}

PS:  I used the beta build as the stable 1.4 build wouldn't compile for me.  I didn't spend any time trying to figure out why before trying the beta though.

PPS: namcap says the DEPENDS should just be libpcap.  Should I remove the glibc dependency?  Also, I think I should've had libnet in as a makedepends sad

Offline

#2 2004-06-14 22:43:52

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: [incoming] tcptraceroute

Good job - nice package :-) About makedepends - yes, you must add libnet - it will not compile without it and it's only a make depenency - tcptraceroute run fine when I removed libnet after compilation. You can also remove glibc from depends since it's already covered in the "dependency chain" - use namcap -i to list all messages.

Offline

#3 2004-06-15 14:25:20

freakyc
Member
Registered: 2004-03-28
Posts: 91

Re: [incoming] tcptraceroute

Thanks for the feedback.  That's definetly a handy little program.

I edited the PKGBUILD above to reflect the depends/makedepends changes. 

What should I do about the file I uploaded though?  Upload another with the revised PKGBUILD in it with "updated" in the name, or something indicating it's a newer version?

Offline

#4 2004-06-16 02:34:49

kpiche
Forum Fellow
From: Ottawa, ON, Canada
Registered: 2004-03-30
Posts: 246
Website

Re: [incoming] tcptraceroute

hping is an excellent tool for traces too and available in extra.

Offline

Board footer

Powered by FluxBB