summaryrefslogtreecommitdiff
path: root/contrib/peer2anonet/DEBIAN
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/peer2anonet/DEBIAN')
-rwxr-xr-xcontrib/peer2anonet/DEBIAN/configure10
-rw-r--r--contrib/peer2anonet/DEBIAN/control12
2 files changed, 22 insertions, 0 deletions
diff --git a/contrib/peer2anonet/DEBIAN/configure b/contrib/peer2anonet/DEBIAN/configure
new file mode 100755
index 0000000..6a01c74
--- /dev/null
+++ b/contrib/peer2anonet/DEBIAN/configure
@@ -0,0 +1,10 @@
+#!/bin/bash
+read -p "Enter your anonet network: " P2A_NET
+read -p "Enter your anonet router: " P2A_ROUTE
+read -p "Enter your anonet asn: " P2A_ASN
+read -p "Enter your anonet ip: " P2A_IP
+
+echo "P2A_NET=\"$P2A_NET\"" >>DEBIAN/peer2anonet/etc/peer2anonet/p2a.conf
+echo "P2A_ROUTE=\"$P2A_ROUTE\"" >>DEBIAN/peer2anonet/etc/peer2anonet/p2a.conf
+echo "P2A_ASN=\"$P2A_ASN\"" >>DEBIAN/peer2anonet/etc/peer2anonet/p2a.conf
+echo "P2A_IP=\"$P2A_IP\"" >>DEBIAN/peer2anonet/etc/peer2anonet/p2a.conf
diff --git a/contrib/peer2anonet/DEBIAN/control b/contrib/peer2anonet/DEBIAN/control
new file mode 100644
index 0000000..36fe5cd
--- /dev/null
+++ b/contrib/peer2anonet/DEBIAN/control
@@ -0,0 +1,12 @@
+Source: peer2anonet
+Priority: optional
+Maintainer: d3v1150m471c
+Version: 1.0-0
+Package: peer2anonet
+Architecture: all
+Depends: quicktun (>= 2.1), bird (>= 1.3), bird6 (>= 1.3), bash(>= 4.1)
+Description: peer2anonet 1.0-0
+ peer2anonet is an autoconfiguration utility to easily establish a
+ peering session with BGP on anonet2.
+
+