diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-25 15:05:03 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-25 15:05:03 +0000 |
commit | 27138a296cc94de72ac7a5f0731a114d93a30c88 (patch) | |
tree | 6cf8be0e1043a1a2838eb5ba3de0e6136b4f6536 /community/copy-router-config | |
parent | d72f5ba768dfa9d8da762bd08a777a492876e65e (diff) | |
download | aports-27138a296cc94de72ac7a5f0731a114d93a30c88.tar.bz2 aports-27138a296cc94de72ac7a5f0731a114d93a30c88.tar.xz |
community/copy-router-config: moved from testing
Diffstat (limited to 'community/copy-router-config')
-rw-r--r-- | community/copy-router-config/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/copy-router-config/APKBUILD b/community/copy-router-config/APKBUILD new file mode 100644 index 0000000000..9ab306f3ae --- /dev/null +++ b/community/copy-router-config/APKBUILD @@ -0,0 +1,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="GPL2" +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" |