Package Details: cdpr 2.4-8

Git Clone URL: https://aur.archlinux.org/cdpr.git (read-only)
Package Base: cdpr
Description: cdpr is used to decode a Cisco Disovery Protocol (CDP) packet
Upstream URL: http://sourceforge.net/projects/cdpr
Licenses: GPL
Submitter: acharrett
Maintainer: acharrett
Last Packager: acharrett
Votes: 10
Popularity: 0.021048
First Submitted: 2009-01-27 09:28
Last Updated: 2017-07-20 16:33

Latest Comments

eworm commented on 2017-07-19 21:11

Please fix the architecture, correct is:

arch=('i686' 'x86_64')

Using architecture 'any' is for packages that are independent from architecture, e.g. they only contain shell scripts or similar. This does not apply as we have ELF executables.

horaciohs commented on 2017-04-24 15:08

The source URL changed ! I think the correct source URL is :
https://downloads.sourceforge.net/project/cdpr/cdpr/2.4/cdpr-2.4.tgz

rpodgorny commented on 2016-05-17 00:23

==> ERROR: license should be an array

eworm commented on 2015-07-08 13:41

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,16 +4,20 @@ pkgver=2.4
pkgrel=3
pkgdesc="cdpr is used to decode a Cisco Disovery Protocol (CDP) packet"
url="http://sourceforge.net/projects/cdpr"
+depends=('libpcap')
license="GPL"
arch=(i686 x86_64)
source=(http://heanet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tgz)
md5sums=('ee0f112e1a914168d088e4e0291efbcb')

+build() {
+ cd $srcdir/$pkgname-$pkgver
+ make
+}
+
package() {
cd $srcdir/$pkgname-$pkgver
- make || return 1
- mkdir -p $pkgdir/usr/bin
- install -m 755 $srcdir/$pkgname-$pkgver/cdpr $pkgdir/usr/bin || return 1
+ install -D -m 0755 $srcdir/$pkgname-$pkgver/cdpr $pkgdir/usr/bin/cdpr
}

eworm commented on 2015-07-08 13:36

This depends on libpcap.

wolle commented on 2015-01-29 12:11

Rename build() to package() in PKGBUILD in order to work properly. Thanks.

acharrett commented on 2013-06-20 07:42

Fixed as per helios' comments.

mortzu commented on 2013-06-19 15:59

doesn't build, because you need to replace $startdir/src with $srcdir and $startdir/pkg with $pkgdir

rat commented on 2013-04-26 08:15

Please udpate PKGBUILD,
When I install cdpr via yaourt or makepkg -si, the program is installed, but in the system this program "cdpr" not existe,

If also someone else have this problem, You have to do it the following steps :
1.build a package "makepkg -c"
2.extract "tar -zxvf cdpr-2.4.tgz" go to folder "cd cdpr-2.4"
3.again build it with "make" - only then cdpr bin will show up
4.copy to /usr/bin also You have to giving permission to execute "chmod +x cdpr"