summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim2015-06-11 16:01:04 +0200
committerJörg Thalheim2015-06-11 16:10:15 +0200
commitbfa23080a60cfb543ab0a7767213a52aeca9fab0 (patch)
tree36c67f2d1142e8c40619e5af5d2d6a7a3783c6eb
downloadaur-bfa23080a60cfb543ab0a7767213a52aeca9fab0.tar.gz
initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD18
-rw-r--r--eduroam17
-rw-r--r--install5
4 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..72a28822e17
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = netctl-eduroam
+ pkgdesc = Example netctl profile for eduroam
+ pkgver = 0.3
+ pkgrel = 1
+ url = http://higgsboson.tk/
+ install = install
+ arch = i686
+ arch = x86_64
+ license = MIT
+ depends = ca-certificates
+ depends = netctl
+ source = eduroam
+ md5sums = 57f90a14c3ab8d82217cbbe0749a9a4c
+ sha1sums = 1e393ca918ca902f6d6f1d6f78e6d0891acd0214
+ sha256sums = a44d15b208e167c5035304015060b7bd0e852873bdc242ad3c4efc5c01cb8943
+
+pkgname = netctl-eduroam
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..206bbe18d04
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+pkgname=netctl-eduroam
+pkgver=0.3
+pkgrel=1
+pkgdesc='Example netctl profile for eduroam'
+arch=(i686 x86_64)
+url=http://higgsboson.tk/
+license=(MIT)
+depends=(ca-certificates netctl)
+source=(eduroam)
+install=install
+
+package() {
+ mkdir -p $pkgdir/etc/netctl/examples/
+ cp eduroam $pkgdir/etc/netctl/examples/
+}
+md5sums=('57f90a14c3ab8d82217cbbe0749a9a4c')
+sha1sums=('1e393ca918ca902f6d6f1d6f78e6d0891acd0214')
+sha256sums=('a44d15b208e167c5035304015060b7bd0e852873bdc242ad3c4efc5c01cb8943')
diff --git a/eduroam b/eduroam
new file mode 100644
index 00000000000..0ae03a4a12f
--- /dev/null
+++ b/eduroam
@@ -0,0 +1,17 @@
+Connection='wireless'
+Interface=<NETWORK INTERFACE> # ex: wlp3s0
+Security='wpa-configsection'
+Description="eduroam network"
+IP='dhcp'
+TimeoutWPA=30
+WPAConfigSection=(
+ 'ssid="eduroam"'
+ 'key_mgmt=WPA-EAP'
+ 'eap=TTLS'
+ 'proto=WPA2'
+ 'phase2="auth=PAP"'
+ 'anonymous_identity="anonymous@<UNIVERSITY>.<TLD>"' # ex: tu-dresden.de
+ 'identity="<ID>@<UNIVERSITY>.<TLD>"' # ex: s4234381@tu-dresden.de
+ 'ca_cert="/usr/share/ca-certificates/trust-source/mozilla.trust.crt"'
+ 'password="<YOUR-SECRET>"'
+)
diff --git a/install b/install
new file mode 100644
index 00000000000..43a60bdea61
--- /dev/null
+++ b/install
@@ -0,0 +1,5 @@
+post_upgrade() {
+ echo "To use eduroam: copy the template..."
+ echo " cp /etc/netctl/examples/eduroam /etc/netctl/eduroam"
+ echo "... and edit it, to match your credentials"
+}