Version bump + development version. Fixes bug #44737 and bug #61981.
authorHenrik Brix Andersen <brix@gentoo.org>
Sun, 9 Jan 2005 14:46:01 +0000 (14:46 +0000)
committerHenrik Brix Andersen <brix@gentoo.org>
Sun, 9 Jan 2005 14:46:01 +0000 (14:46 +0000)
net-misc/xsupplicant/ChangeLog
net-misc/xsupplicant/Manifest
net-misc/xsupplicant/files/digest-xsupplicant-1.0 [new file with mode: 0644]
net-misc/xsupplicant/files/digest-xsupplicant-1.0.1 [new file with mode: 0644]
net-misc/xsupplicant/files/xsupplicant.conf.d [new file with mode: 0644]
net-misc/xsupplicant/files/xsupplicant.init.d [new file with mode: 0755]
net-misc/xsupplicant/xsupplicant-0.8b.ebuild
net-misc/xsupplicant/xsupplicant-1.0.1.ebuild [new file with mode: 0644]
net-misc/xsupplicant/xsupplicant-1.0.ebuild [new file with mode: 0644]

index 386fc4b3ac888a9dd7614a7384f79eb813a0cad8..4bdb496c92f527a76504dbbaef2ceebdd76645f5 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for net-misc/xsupplicant
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/xsupplicant/ChangeLog,v 1.4 2004/12/29 20:17:58 ciaranm Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/xsupplicant/ChangeLog,v 1.5 2005/01/09 14:46:01 brix Exp $
+
+*xsupplicant-1.0 (09 Jan 2005)
+
+  09 Jan 2005; Henrik Brix Andersen <brix@gentoo.org>
+  +files/xsupplicant.conf.d, +files/xsupplicant.init.d,
+  +xsupplicant-1.0.1.ebuild, +xsupplicant-1.0.ebuild:
+  Version bump + development version. Fixes bug #44737 and bug #61981.
 
   29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
   Change encoding to UTF-8 for GLEP 31 compliance
index d11940028dd39a8dcfe7cc2b7406716dd3c13b3c..fe29efa66bfd6303dc510313207979aaf0b8ddab 100644 (file)
@@ -1,4 +1,10 @@
-MD5 8b313ed9fc5051b0f0ef518ddd225103 ChangeLog 624
+MD5 35d33d3edb844a0b5d5709f87a069817 xsupplicant-1.0.1.ebuild 1279
+MD5 a7272f606860d801af53bb3e292b9352 xsupplicant-1.0.ebuild 1262
+MD5 f84481d996a7c394f71263c50d5518f2 xsupplicant-0.8b.ebuild 811
+MD5 dfdc84fdde6391a0f2115907b7f5201f ChangeLog 889
 MD5 db76d51212bff92212cb8dd316a0931d metadata.xml 222
-MD5 83fcc4a22c03d293eeebd7927a3059ff xsupplicant-0.8b.ebuild 813
+MD5 8b5c0592ffed1b7f540d7c53af133cad files/digest-xsupplicant-1.0.1 69
+MD5 336133489f2fc048046f9f712010e350 files/xsupplicant.conf.d 368
+MD5 ac25b3cd354733e2f05237d0d804d1f2 files/xsupplicant.init.d 892
+MD5 e46d442b40e1d828c4a8fa3d51fab7c5 files/digest-xsupplicant-1.0 67
 MD5 98df32cc0295a0acc372414a8a4b5c08 files/digest-xsupplicant-0.8b 68
diff --git a/net-misc/xsupplicant/files/digest-xsupplicant-1.0 b/net-misc/xsupplicant/files/digest-xsupplicant-1.0
new file mode 100644 (file)
index 0000000..31c427b
--- /dev/null
@@ -0,0 +1 @@
+MD5 7ec518a316139268827e3e4e9acaf174 xsupplicant-1.0.tar.gz 534071
diff --git a/net-misc/xsupplicant/files/digest-xsupplicant-1.0.1 b/net-misc/xsupplicant/files/digest-xsupplicant-1.0.1
new file mode 100644 (file)
index 0000000..999b07e
--- /dev/null
@@ -0,0 +1 @@
+MD5 0346ce9aaa73613d3c5acdf96f0e1ef2 xsupplicant-1.0.1.tar.gz 637728
diff --git a/net-misc/xsupplicant/files/xsupplicant.conf.d b/net-misc/xsupplicant/files/xsupplicant.conf.d
new file mode 100644 (file)
index 0000000..b75da5c
--- /dev/null
@@ -0,0 +1,12 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/xsupplicant/files/xsupplicant.conf.d,v 1.1 2005/01/09 14:46:01 brix Exp $
+
+# List of interfaces
+INTERFACES="eth1"
+
+# Common arguments to all xsupplicant instances
+ARGS=""
+
+# Interface specific arguments
+#ARGS_eth1=""
diff --git a/net-misc/xsupplicant/files/xsupplicant.init.d b/net-misc/xsupplicant/files/xsupplicant.init.d
new file mode 100755 (executable)
index 0000000..1717786
--- /dev/null
@@ -0,0 +1,40 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/xsupplicant/files/xsupplicant.init.d,v 1.1 2005/01/09 14:46:01 brix Exp $
+
+depend() {
+       use wpa_supplicant
+       before net
+}
+
+checkconfig() {
+       if [ ! -f /etc/xsupplicant.conf ]; then
+               eerror "Configuration file /etc/xsupplicant.conf not found"
+               return 1
+       fi
+}
+
+start() {
+       checkconfig || return 1
+
+       ebegin "Starting xsupplicant"
+
+       for IFACE in $INTERFACES; do
+               ebegin " ${IFACE}"
+
+               eval ARGS_IFACE=\"\$\{ARGS_$IFACE\}\"
+
+               start-stop-daemon --start --quiet --background --exec /usr/sbin/xsupplicant \
+                        -- -i${IFACE} -c/etc/xsupplicant.conf ${ARGS} ${ARGS_IFACE}
+               eend ${?}
+       done
+}
+
+stop() {
+        ebegin "Stopping xsupplicant"
+
+        start-stop-daemon --stop --quiet --exec /usr/sbin/xsupplicant
+        eend ${?}
+}
+
index 66693522bdf111d4babe1fa91258f3983528be78..6d0a7f4abb1a6b1bb5e8e494ade65b22a64e7c41 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/xsupplicant/xsupplicant-0.8b.ebuild,v 1.3 2004/07/12 01:43:40 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/xsupplicant/xsupplicant-0.8b.ebuild,v 1.4 2005/01/09 14:46:01 brix Exp $
 
 S="${WORKDIR}/${PN}"
 DESCRIPTION="Open Source Implementation of IEEE 802.1x"
diff --git a/net-misc/xsupplicant/xsupplicant-1.0.1.ebuild b/net-misc/xsupplicant/xsupplicant-1.0.1.ebuild
new file mode 100644 (file)
index 0000000..902f62d
--- /dev/null
@@ -0,0 +1,52 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/xsupplicant/xsupplicant-1.0.1.ebuild,v 1.1 2005/01/09 14:46:01 brix Exp $
+
+DESCRIPTION="Open Source Implementation of IEEE 802.1x"
+
+HOMEPAGE="http://open1x.sourceforge.net"
+SRC_URI="mirror://sourceforge/open1x/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE=""
+
+DEPEND=">=dev-libs/openssl-0.9.7
+               sys-apps/pcsc-lite"
+
+src_compile() {
+       econf --enable-eap-sim || die "econf failed"
+       emake || die "emake failed"
+}
+
+src_install() {
+       emake DESTDIR=${D} install || die "emake install failed"
+
+       dodoc AUTHORS README README.wireless_cards \
+               doc/README.certificates \
+               doc/pdf/Open1x-UserGuide.pdf doc/txt/Open1x-UserGuide.txt
+
+       docinto examples
+       dodoc etc/*-example.conf
+
+       insinto /etc
+       newins etc/xsupplicant.conf xsupplicant.conf.example
+
+       exeinto /etc/init.d
+       newexe ${FILESDIR}/xsupplicant.init.d xsupplicant
+
+       insinto /etc/conf.d
+       newins ${FILESDIR}/xsupplicant.conf.d xsupplicant
+}
+
+pkg_postinst() {
+       einfo
+       einfo "To use ${P} you must create the configuration file"
+       einfo "/etc/xsupplicant.conf"
+       einfo
+       einfo "An example configuration file has been installed as"
+       einfo "/etc/xsupplicant.conf.example"
+       einfo
+}
diff --git a/net-misc/xsupplicant/xsupplicant-1.0.ebuild b/net-misc/xsupplicant/xsupplicant-1.0.ebuild
new file mode 100644 (file)
index 0000000..99418ce
--- /dev/null
@@ -0,0 +1,53 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/xsupplicant/xsupplicant-1.0.ebuild,v 1.1 2005/01/09 14:46:01 brix Exp $
+
+S="${WORKDIR}/${PN}"
+
+DESCRIPTION="Open Source Implementation of IEEE 802.1x"
+
+HOMEPAGE="http://open1x.sourceforge.net"
+SRC_URI="mirror://sourceforge/open1x/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE=""
+
+DEPEND=">=dev-libs/openssl-0.9.7
+               sys-apps/pcsc-lite"
+
+src_compile() {
+       econf --enable-eap-sim || die "econf failed"
+       emake || die "emake failed"
+}
+
+src_install() {
+       emake DESTDIR=${D} install || die "emake install failed"
+
+       dodoc AUTHORS README README.wireless_cards \
+               doc/README.certificates doc/Open1x-UserGuide.pdf
+
+       docinto examples
+       dodoc etc/*-example.conf
+
+       insinto /etc
+       newins etc/xsupplicant.conf xsupplicant.conf.example
+
+       exeinto /etc/init.d
+       newexe ${FILESDIR}/xsupplicant.init.d xsupplicant
+
+       insinto /etc/conf.d
+       newins ${FILESDIR}/xsupplicant.conf.d xsupplicant
+}
+
+pkg_postinst() {
+       einfo
+       einfo "To use ${P} you must create the configuration file"
+       einfo "/etc/xsupplicant.conf"
+       einfo
+       einfo "An example configuration file has been installed as"
+       einfo "/etc/xsupplicant.conf.example"
+       einfo
+}