You are not logged in.
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
Offline
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
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
hping is an excellent tool for traces too and available in extra.
Offline