diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-07-21 07:57:07 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-07-21 07:57:07 +0000 |
commit | 47ebf79bda3cf6f08b48b6ab02ac58943bb014e4 (patch) | |
tree | 477b37761ebd55521a917aa70adafbf9f9b76b3e /testing/copy-router-config | |
parent | 6e2a88dddb71f1138510a6757aff2e7c0f5a2148 (diff) | |
download | aports-47ebf79bda3cf6f08b48b6ab02ac58943bb014e4.tar.bz2 aports-47ebf79bda3cf6f08b48b6ab02ac58943bb014e4.tar.xz |
testing/copy-router-config: new aport
Diffstat (limited to 'testing/copy-router-config')
-rw-r--r-- | testing/copy-router-config/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/copy-router-config/APKBUILD b/testing/copy-router-config/APKBUILD new file mode 100644 index 0000000000..9ab306f3ae --- /dev/null +++ b/testing/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" |