diff options
author | Juan Cabrera | 2015-07-15 14:44:41 +0200 |
---|---|---|
committer | Juan Cabrera | 2015-07-15 14:44:41 +0200 |
commit | 999d25b440e4af2a6e9629a5f904d965c2a1d9da (patch) | |
tree | cd0085f0ded20c22b099fc38b30a4e93f9c8a13d | |
download | aur-netctl-eduroam-tu-dresden.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 18 | ||||
-rw-r--r-- | eduroam-tu-dresden | 17 | ||||
-rw-r--r-- | install | 5 |
4 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..31b3c3f70ce9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = netctl-eduroam-tu-dresden + pkgdesc = Example netctl profile for eduroam at TU Dresden + pkgver = 0.1 + pkgrel = 1 + url = https://raw.githubusercontent.com/JuanCabre/arch_pckgs/master/eduroam-tu-dresden/eduroam-tu-dresden + install = install + arch = any + license = MIT + depends = ca-certificates + depends = netctl + source = eduroam-tu-dresden + md5sums = 846cb8c3df725e968ec83a0948ae449a + sha256sums = 91ac966c6cfe12d990cae8bcb2ecba9758a779d5a2bb8e48b03a4ca87762a3d5 + +pkgname = netctl-eduroam-tu-dresden + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8f51bcd20469 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: Juan Cabrera <juan.cabrera at tu-dresden dot de> +pkgname=netctl-eduroam-tu-dresden +pkgver=0.1 +pkgrel=1 +pkgdesc='Example netctl profile for eduroam at TU Dresden' +arch=(any) +url=https://raw.githubusercontent.com/JuanCabre/arch_pckgs/master/eduroam-tu-dresden/eduroam-tu-dresden +license=(MIT) +depends=(ca-certificates netctl) +source=(eduroam-tu-dresden) +install=install +md5sums=('846cb8c3df725e968ec83a0948ae449a') +sha256sums=('91ac966c6cfe12d990cae8bcb2ecba9758a779d5a2bb8e48b03a4ca87762a3d5') + +package() { + mkdir -p $pkgdir/etc/netctl/examples/ + cp eduroam-tu-dresden $pkgdir/etc/netctl/examples/ +} diff --git a/eduroam-tu-dresden b/eduroam-tu-dresden new file mode 100644 index 000000000000..d09930b4d1a0 --- /dev/null +++ b/eduroam-tu-dresden @@ -0,0 +1,17 @@ +Connection='wireless' +Interface=wlp3s0 +Security='wpa-configsection' +Description="eduroam network" +IP='dhcp' +TimeoutWPA=60 +WPAConfigSection=( + 'ssid="eduroam"' + 'key_mgmt=WPA-EAP' + 'eap=TTLS' + 'proto=WPA2' + 'phase2="auth=PAP"' + 'anonymous_identity="anonymous@tu-dresden.de"' + 'identity="xxxxxxx@tu-dresden.de"' + 'ca_cert="Path/to/the/certificate"' + 'password="xxxxxxxxxx"' +) diff --git a/install b/install new file mode 100644 index 000000000000..8bc2f6b22577 --- /dev/null +++ b/install @@ -0,0 +1,5 @@ +post_upgrade() { + echo "To use eduroam: copy the template..." + echo " cp /etc/netctl/examples/eduroam-tu-dresden /etc/netctl/eduroam-tu-dresden" + echo "... and edit it, to match your credentials" +} |