blob: bdf0a20e9afcd5a21c685e97714743c51a05ecbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=copy-router-config
pkgver=1.0
pkgrel=0
pkgdesc="copy-router-config and merge-router-config to copy and merge Cisco Routers Configuration"
url="https://www.offensive-security.com/"
arch="noarch"
license="GPL-2.0"
depends="perl perl-cisco-copyconfig"
makedepends=""
source="http://ftp.tku.edu.tw/kali/pool/main/c/$pkgname/${pkgname}_${pkgver}.orig.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
return 0
}
package() {
cd "$builddir"
for pkg in copy merge; do
install -Dm755 ${pkg}-router-config.pl "$pkgdir"/usr/bin/${pkg}-router-config.pl
done
}
md5sums="4e51c5e40d94ee82b9ebdc6c3a3c41df copy-router-config_1.0.orig.tar.gz"
sha256sums="2018faa927e7a5dcf84b30bd8e8d98936efd3bcffef0b14373b734bf040c4243 copy-router-config_1.0.orig.tar.gz"
sha512sums="0f7b94912d1bac7f676b4383d4b978c9034f58da49f73c2527e13950919b4b7f7451608fdb8340f3f8a83d6a4a9b1e4622cbbfd1ad605a530d258dce9a5c4d3f copy-router-config_1.0.orig.tar.gz"
|