This does not build anymore.
It requires this line in prepare() to build:
sed -i 's|_BSD_SOURCE|_DEFAULT_SOURCE|' csum.c
Search Criteria
Package Details: sendip 2.5-4
Package Actions
| Package Base: | sendip |
|---|---|
| Description: | A commandline tool to allow sending arbitrary IP packets. |
| Upstream URL: | http://www.earth.li/projectpurple/progs/sendip.html |
| Category: | network |
| Licenses: | |
| Submitter: | goodmen |
| Maintainer: | drevilt |
| Last Packager: | drevilt |
| Votes: | 8 |
| First Submitted: | 2009-02-13 08:37 |
| Last Updated: | 2014-10-21 20:11 |
Dependencies (1)
Required by (0)
Sources
- http://www.earth.li/projectpurple/files/sendip-2.5.tar.gz
- sendip-2.5.patch
Latest Comments
Comment by sjakub
Comment by goodmen
drevilt: no problem!
Thanks!!
Comment by drevilt
i would like to take over this package if you like.
Comment by goodmen
The upstream seems not updated since 2003
sjakub, do you have interesting to take over this package?
Comment by sjakub
Working PKGBUILD:
pkgname=sendip
pkgver=2.5
pkgrel=3
pkgdesc="SendIP is a commandline tool to allow sending arbitrary IP packets."
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.earth.li/projectpurple/progs/sendip.html"
options=(docs)
source=("http://www.earth.li/projectpurple/files/sendip-2.5.tar.gz" sendip-2.5.patch)
sha1sums=('478fee7b67134cbcc0f353dbb12dbd54625d7b01'
'083883400bcf6190131253ca9ea1a12d5362722a')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# patch the source code
patch < "${srcdir}/${pkgname}-${pkgver}.patch"
# compile
make PREFIX=/usr CPPFLAGS="${CPPFLAGS} -O" || return 1
make PREFIX="${pkgdir}" install || return 1
}
Comment by luka12345
works fine with x86_64, but use this PKGBUILD
==============================================================================
pkgname=sendip
pkgver=2.5
pkgrel=2
pkgdesc="SendIP is a commandline tool to allow sending arbitrary IP packets."
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.earth.li/projectpurple/progs/sendip.html"
options=(docs)
source=("http://www.earth.li/projectpurple/files/sendip-2.5.tar.gz")
md5sums=('35fa3306f39bfd46d83371da63eec3ad')
build() {
cd ${srcdir}/$pkgname-$pkgver
# patch the source code
patch < ${startdir}/$pkgname-$pkgver.patch
# compile
make PREFIX=/usr || return 1
make PREFIX=$startdir/pkg/usr install || return 1
}
==============================================================================
except "arch" modification, notice lack of:
groups=('')
depends=('')