parent
d3d1ff0244
commit
f581dd59ed
@ -1,3 +1,4 @@
|
||||
DIST chess-2.0.4.tar.xz 364620 SHA256 01ced9398b125756bb9a793a69b3caa64c697ba6f4307643b4fe70b94c9a118b SHA512 2c8155185878fec8b45ab84b7723f4af0f518fc81ab7534c36c09c96a9a30cb20da26c2a89320cc5a9f9d8991e4516da393e82658a7f15642929591d1b6a0e99 WHIRLPOOL 94b659e48efd0d58fb6c0084007c3b943b29dc250a745643dc06fe7b86aa57f4f2e9063f98ccba59fe77818b08fd7330324fc83e22211a603a5540c63205af74
|
||||
DIST chess-2.0b6.tar.gz 383951 SHA256 4d9938365965c109fc832109eec25d0a79d8c4b1ebd2025a4939ad88e75a396e SHA512 90dbb79f60d8d8e475c497a3d0da431e54b5bfe06285d493551c1ac6457e80ad9e71ada640374e9a0c4e9d5ee578ab68b2e370a47b5f5ff7f035caac839091e2 WHIRLPOOL 6a30f084dbb21fba4d69f1772acd33900fb4bd575b5e83596743fff25e475288386cd1f28e5f070e658cce2daeb5ac797e20559cab6a05fab2cf135ad2548b88
|
||||
DIST emacs-chess-pieces-2.0.tar.bz2 297687 SHA256 c47278127ebcd8b4503fe4058317436757f795b1404cc02b883dce215eb1c1b0 SHA512 e1ee59a338b68796fd60f8693f4ff8bf20ded535c516916cc8b1f4cf00ff696ca1eead844e2a6a9a1f2578a70370d7a67cbadb6ae454ae16b2ae93864e1b1f94 WHIRLPOOL c1951531aa0ba09442c389f39240946c476184458f339352c6cd2f243e71c15b5c62dd84b88a424aa80520ec36c65c43c52aa0223d35ddfa0524f96cbd274d04
|
||||
DIST emacs-chess-sounds-2.0.tar.bz2 3390098 SHA256 32c3577c512157523bc40d514a1682d9381bd28b3d8f5788c22eef5ef2cf6257 SHA512 f07894dd7a6e43450405c0eee8d1d95a08925ca8ebd5ca7e584eca45369cb2aa8eecb754b351d1977f473b520288d3e3e9a8ebe73216d14e26345b44e498efb4 WHIRLPOOL ea7190ab9fbb0648ecf7f765b7975ea3065feb4a057b3f4d5d6fe4b91554f81744bd0fb667c1fa0aeb98471947b56f4ecbe0af1b60a18225b767f2ff8535afc6
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/chess/chess-2.0.4.ebuild,v 1.1 2015/04/28 07:07:48 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
NEED_EMACS=24
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="A chess client and library for Emacs"
|
||||
HOMEPAGE="http://elpa.gnu.org/packages/chess.html
|
||||
http://www.emacswiki.org/emacs/ChessMode"
|
||||
# Taken from http://elpa.gnu.org/packages/${P}.tar
|
||||
SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz
|
||||
mirror://gentoo/emacs-chess-sounds-${PV%.*}.tar.bz2
|
||||
mirror://gentoo/emacs-chess-pieces-${PV%.*}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
# Free alternatives first, otherwise follow the ordering in the upstream
|
||||
# chess-default-engine (in chess.el). Rearrange chess-default-engine in
|
||||
# the site-init file accordingly.
|
||||
RDEPEND="|| ( games-board/stockfish
|
||||
games-board/fruit
|
||||
games-board/gnuchess
|
||||
games-board/phalanx
|
||||
games-board/sjeng
|
||||
games-board/crafty )"
|
||||
|
||||
DOCS="AUTHORS NEWS TODO"
|
||||
SITEFILE="50${PN}-gentoo-${PV}.el"
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
doinfo chess.info
|
||||
insinto "${SITEETC}/${PN}"
|
||||
doins chess-eco.fen chess-polyglot.bin
|
||||
doins -r "${WORKDIR}"/{sounds,pieces}
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
|
||||
(autoload 'chess "chess"
|
||||
"Start a game of chess, playing against ENGINE (a module name)." t)
|
||||
(defalias 'chess-session 'chess)
|
||||
(autoload 'chess-create-display "chess"
|
||||
"Create a display, letting the user's customization decide the style.")
|
||||
(autoload 'chess-link "chess-link"
|
||||
"Play out a game between two engines, and watch the progress." t)
|
||||
(autoload 'chess-pgn-read "chess-pgn"
|
||||
"Read and display a PGN game after point." t)
|
||||
(autoload 'chess-pgn-mode "chess-pgn"
|
||||
"A mode for editing chess PGN files." t)
|
||||
(defalias 'pgn-mode 'chess-pgn-mode)
|
||||
(autoload 'chess-puzzle "chess-puzzle"
|
||||
"Pick a random puzzle from FILE, and solve it against the default engine." t)
|
||||
(autoload 'chess-fischer-random-position "chess-random"
|
||||
"Generate a Fischer Random style position.")
|
||||
(autoload 'chess-tutorial "chess-tutorial"
|
||||
"A simple chess training display." t)
|
||||
(autoload 'chess-ics "chess-ics"
|
||||
"Connect to an Internet Chess Server." t)
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.pgn\\'" . chess-pgn-mode))
|
||||
|
||||
(setq chess-images-directory "@SITEETC@/pieces/xboard")
|
||||
(setq chess-sound-directory "@SITEETC@/sounds")
|
||||
(setq chess-eco-hash-table "@SITEETC@/chess-eco.fen")
|
||||
(setq chess-polyglot-book-file "@SITEETC@/chess-polyglot.bin")
|
||||
|
||||
;; Change the order of the engine preference list to coincide with
|
||||
;; the order of dependencies in the ebuild. The user can override this
|
||||
;; using "M-x customize-group RET chess RET".
|
||||
(setq chess-default-engine
|
||||
'(chess-stockfish chess-fruit chess-gnuchess chess-phalanx chess-sjeng
|
||||
chess-crafty chess-ai))
|
@ -1,2 +1,2 @@
|
||||
DIST nettle-2.7.1.tar.gz 1558863 SHA256 bc71ebd43435537d767799e414fce88e521b7278d48c860651216e1fc6555b40 SHA512 297c69e90bbd448f72e854abe5cc7868c08d710e1c1bcd6a14adf06e25629d58a3ef4d65ab588d001ec7091aa583032312ad15b416ea5479e5bf0ea63717f473 WHIRLPOOL 3a9bca1175652050ac8b96d85ee86dc40968fb56bad416ccdf6e57be85d4ab9f81f75647866c44810dad226830cbfe466cb37d1fdf40afb54b509de6f7a9bcee
|
||||
DIST nettle-3.1.tar.gz 1851489 SHA256 f6859d4ec88e70805590af9862b4b8c43a2d1fc7991df0a7a711b1e7ca9fc9d3 SHA512 f0e75218de0ef516e09ee3180fe22a2617272d0118b7239e641d0f5c097377671c6966afd8bd316cb091811d7b731bc83ffc518cef1076c40ae5a31c007910e9 WHIRLPOOL 0261c60f342a95588155cf10ab81df46cc206c2e59baf8c95193452dda99fea804578878ac5150bbf28af05df4ce603ea3ea95fc3cdec27a32e507ddeab74cc0
|
||||
DIST nettle-3.1.1.tar.gz 1851876 SHA256 5fd4d25d64d8ddcb85d0d897572af73b05b4d163c6cc49438a5bfbb8ff293d4c SHA512 b0a52e1569ff11d871165a689fdc2a0b2f478bcc3122f39df9751b7b1c915d4240ec57d22e98034cf2b5130dddcf5dc57fe26278a2f41c15f669f65814768de1 WHIRLPOOL 8a429cd860ff717c225fbd576f6bcfc2c33809df5c346e3ced9fd75f89e0895f200ffbd0bec84bd74144e397d16d1f9ba56131c29a3d65cbc4189ef3dfd5fb99
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/nettle-3.1.ebuild,v 1.2 2015/04/10 04:24:17 mgorny Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/nettle-3.1.1.ebuild,v 1.1 2015/04/28 07:58:12 alonbl Exp $
|
||||
|
||||
EAPI=5
|
||||
AUTOTOOLS_AUTORECONF=yes
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/smpeg-0.4.4-r9.ebuild,v 1.17 2015/01/29 17:58:23 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils toolchain-funcs autotools flag-o-matic
|
||||
|
||||
DESCRIPTION="SDL MPEG Player Library"
|
||||
HOMEPAGE="http://icculus.org/smpeg/"
|
||||
SRC_URI="ftp://ftp.lokigames.com/pub/open-source/smpeg/${P}.tar.gz
|
||||
mirror://gentoo/${P}-gtkm4.patch.bz2"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="X debug cpu_flags_x86_mmx opengl static-libs"
|
||||
|
||||
DEPEND=">=media-libs/libsdl-1.2.0
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
X? (
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libX11
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( CHANGES README README.SDL_mixer TODO )
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-m4.patch \
|
||||
"${FILESDIR}"/${P}-gnu-stack.patch \
|
||||
"${FILESDIR}"/${P}-config.patch \
|
||||
"${FILESDIR}"/${P}-PIC.patch \
|
||||
"${FILESDIR}"/${P}-gcc41.patch \
|
||||
"${FILESDIR}"/${P}-flags.patch \
|
||||
"${FILESDIR}"/${P}-automake.patch \
|
||||
"${FILESDIR}"/${P}-mmx.patch \
|
||||
"${FILESDIR}"/${P}-malloc.patch \
|
||||
"${FILESDIR}"/${P}-missing-init.patch
|
||||
|
||||
cd "${WORKDIR}"
|
||||
epatch "${DISTDIR}"/${P}-gtkm4.patch.bz2
|
||||
rm "${S}/acinclude.m4"
|
||||
|
||||
cd "${S}"
|
||||
AT_M4DIR="${S}/m4" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
[[ ${CHOST} == *-solaris* ]] && append-libs -lnsl -lsocket
|
||||
tc-export CC CXX RANLIB AR
|
||||
|
||||
# the debug option is bogus ... all it does is add extra
|
||||
# optimizations if you pass --disable-debug
|
||||
econf \
|
||||
--enable-debug \
|
||||
--disable-gtk-player \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable debug assertions) \
|
||||
$(use_with X x) \
|
||||
$(use_enable opengl opengl-player) \
|
||||
$(use_enable cpu_flags_x86_mmx mmx)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use static-libs || find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -1 +1 @@
|
||||
Tue, 28 Apr 2015 05:06:51 +0000
|
||||
Tue, 28 Apr 2015 09:06:53 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue, 28 Apr 2015 05:06:51 +0000
|
||||
Tue, 28 Apr 2015 09:06:53 +0000
|
||||
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm prepare setup unpack
|
||||
DEPEND=>=virtual/emacs-24
|
||||
DESCRIPTION=A chess client and library for Emacs
|
||||
EAPI=5
|
||||
HOMEPAGE=http://elpa.gnu.org/packages/chess.html http://www.emacswiki.org/emacs/ChessMode
|
||||
KEYWORDS=~amd64 ~ppc ~x86
|
||||
LICENSE=GPL-3+ FDL-1.3+
|
||||
RDEPEND=|| ( games-board/stockfish games-board/fruit games-board/gnuchess games-board/phalanx games-board/sjeng games-board/crafty ) >=virtual/emacs-24
|
||||
SLOT=0
|
||||
SRC_URI=http://dev.gentoo.org/~ulm/distfiles/chess-2.0.4.tar.xz mirror://gentoo/emacs-chess-sounds-2.0.tar.bz2 mirror://gentoo/emacs-chess-pieces-2.0.tar.bz2
|
||||
_eclasses_=elisp b7ff113c97bf466ace6f3235f80af600 elisp-common 82fe92893adf25f1e5d0db48b0ec4cb3 eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
|
||||
_md5_=cfe0098117afbbad23ab75e16762297e
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=configure install prepare
|
||||
DEPEND=>=media-libs/libsdl-1.2.0 opengl? ( virtual/glu virtual/opengl ) X? ( x11-libs/libXext x11-libs/libXi x11-libs/libX11 ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=SDL MPEG Player Library
|
||||
EAPI=4
|
||||
HOMEPAGE=http://icculus.org/smpeg/
|
||||
IUSE=X debug cpu_flags_x86_mmx opengl static-libs
|
||||
KEYWORDS=alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-solaris
|
||||
LICENSE=LGPL-2
|
||||
RDEPEND=>=media-libs/libsdl-1.2.0 opengl? ( virtual/glu virtual/opengl ) X? ( x11-libs/libXext x11-libs/libXi x11-libs/libX11 )
|
||||
SLOT=0
|
||||
SRC_URI=ftp://ftp.lokigames.com/pub/open-source/smpeg/smpeg-0.4.4.tar.gz mirror://gentoo/smpeg-0.4.4-gtkm4.patch.bz2
|
||||
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c263990f1b677b0f0be0a3299f179762 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
|
||||
_md5_=aeeb00eae6114c7b843945c6a6d19870
|
@ -1,15 +0,0 @@
|
||||
DEFINED_PHASES=compile config configure install postinst prepare setup unpack
|
||||
DEPEND=dev-db/sqlite:3 dev-libs/popt dev-libs/libxml2 dev-libs/openssl:* sys-libs/ncurses sys-libs/zlib alsa? ( media-libs/alsa-lib ) bluetooth? ( net-wireless/bluez ) calendar? ( net-libs/neon dev-libs/libical dev-libs/iksemel ) caps? ( sys-libs/libcap ) cluster? ( sys-cluster/corosync ) curl? ( net-misc/curl ) dahdi? ( >=net-libs/libpri-1.4.12_beta2 net-misc/dahdi-tools ) freetds? ( dev-db/freetds ) gtalk? ( dev-libs/iksemel ) http? ( dev-libs/gmime:2.6 ) iconv? ( virtual/libiconv ) ilbc? ( dev-libs/ilbc-rfc3951 ) jabber? ( dev-libs/iksemel ) ldap? ( net-nds/openldap ) libedit? ( dev-libs/libedit ) lua? ( dev-lang/lua:* ) mysql? ( virtual/mysql ) newt? ( dev-libs/newt ) odbc? ( dev-db/unixODBC ) osplookup? ( net-libs/osptoolkit ) portaudio? ( media-libs/portaudio ) postgres? ( dev-db/postgresql:* ) radius? ( net-dialup/radiusclient-ng ) snmp? ( net-analyzer/net-snmp ) span? ( media-libs/spandsp ) speex? ( media-libs/speex ) srtp? ( net-libs/libsrtp ) vorbis? ( media-libs/libvorbis ) !net-libs/openh323 !net-libs/pjsip voicemail_storage_imap? ( virtual/imap-c-client ) virtual/pkgconfig !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
||||
DESCRIPTION=Asterisk: A Modular Open Source PBX System
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.asterisk.org/
|
||||
IUSE=+voicemail_storage_file voicemail_storage_odbc voicemail_storage_imap alsa bluetooth calendar +caps cluster curl dahdi debug doc freetds gtalk http iconv ilbc jabber ldap libedit lua mysql newt +samples odbc osplookup oss portaudio postgres radius selinux snmp span speex srtp static syslog vorbis
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=GPL-2
|
||||
PDEPEND=net-misc/asterisk-core-sounds net-misc/asterisk-extra-sounds net-misc/asterisk-moh-opsound
|
||||
RDEPEND=dev-db/sqlite:3 dev-libs/popt dev-libs/libxml2 dev-libs/openssl:* sys-libs/ncurses sys-libs/zlib alsa? ( media-libs/alsa-lib ) bluetooth? ( net-wireless/bluez ) calendar? ( net-libs/neon dev-libs/libical dev-libs/iksemel ) caps? ( sys-libs/libcap ) cluster? ( sys-cluster/corosync ) curl? ( net-misc/curl ) dahdi? ( >=net-libs/libpri-1.4.12_beta2 net-misc/dahdi-tools ) freetds? ( dev-db/freetds ) gtalk? ( dev-libs/iksemel ) http? ( dev-libs/gmime:2.6 ) iconv? ( virtual/libiconv ) ilbc? ( dev-libs/ilbc-rfc3951 ) jabber? ( dev-libs/iksemel ) ldap? ( net-nds/openldap ) libedit? ( dev-libs/libedit ) lua? ( dev-lang/lua:* ) mysql? ( virtual/mysql ) newt? ( dev-libs/newt ) odbc? ( dev-db/unixODBC ) osplookup? ( net-libs/osptoolkit ) portaudio? ( media-libs/portaudio ) postgres? ( dev-db/postgresql:* ) radius? ( net-dialup/radiusclient-ng ) snmp? ( net-analyzer/net-snmp ) span? ( media-libs/spandsp ) speex? ( media-libs/speex ) srtp? ( net-libs/libsrtp ) vorbis? ( media-libs/libvorbis ) selinux? ( sec-policy/selinux-asterisk ) syslog? ( virtual/logger )
|
||||
REQUIRED_USE=gtalk? ( jabber ) ^^ ( voicemail_storage_file voicemail_storage_odbc voicemail_storage_imap ) voicemail_storage_odbc? ( odbc )
|
||||
SLOT=0
|
||||
SRC_URI=http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.15.0.tar.gz mirror://gentoo/gentoo-asterisk-patchset-3.14.tar.bz2
|
||||
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c base 87f7447ccfc06fd0729ff4684e11e0d6 eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 linux-info 2b8c53f6065bdee2d757472215a3088f multilib 3bf24e6abb9b76d9f6c20600f0b716bf systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs c961250d50160cd37d6b7fd9e8429c92 user f54e098dd38ba1c0847a13e685b87747 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=72a4941fd3b72ef92030abbedbb4da1c
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=configure install prepare setup
|
||||
DEPEND=<media-libs/mediastreamer-2.8[video?,ipv6?] >=net-libs/libeXosip-3.0.2 >=net-libs/libosip-3.0.0 <net-libs/libosip-4 <net-libs/libeXosip-4 >=net-libs/ortp-0.16.3 gtk? ( dev-libs/glib:2 >=gnome-base/libglade-2.4.0:2.0 >=x11-libs/gtk+-2.4.0:2 ) ncurses? ( sys-libs/readline sys-libs/ncurses ) virtual/pkgconfig doc? ( app-text/sgmltools-lite ) nls? ( dev-util/intltool sys-devel/gettext ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=Video softphone based on the SIP protocol
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.linphone.org/
|
||||
IUSE=doc gtk ipv6 ncurses nls video linguas_fr linguas_it linguas_de linguas_ja linguas_es linguas_pl linguas_cs linguas_nl linguas_sv linguas_pt_BR linguas_hu linguas_ru linguas_zh_CN
|
||||
KEYWORDS=amd64 ppc x86 ~x86-macos
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=<media-libs/mediastreamer-2.8[video?,ipv6?] >=net-libs/libeXosip-3.0.2 >=net-libs/libosip-3.0.0 <net-libs/libosip-4 <net-libs/libeXosip-4 >=net-libs/ortp-0.16.3 gtk? ( dev-libs/glib:2 >=gnome-base/libglade-2.4.0:2.0 >=x11-libs/gtk+-2.4.0:2 ) ncurses? ( sys-libs/readline sys-libs/ncurses )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://nongnu/linphone/3.4.x/sources/linphone-3.4.3.tar.gz
|
||||
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf pax-utils dfe060cb70d89757fde5c1ff8405e950 toolchain-funcs c961250d50160cd37d6b7fd9e8429c92 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=884e6da1dde6be1a2eedd3ccfef5676d
|
@ -1,13 +1,13 @@
|
||||
DEFINED_PHASES=configure install prepare setup
|
||||
DEPEND=>=media-libs/mediastreamer-2.8.2[video?,ipv6?] >=net-libs/libeXosip-3.0.2 >=net-libs/libosip-3.0.0 <net-libs/libosip-4 <net-libs/libeXosip-4 >=net-libs/libsoup-2.26 >=net-libs/ortp-0.20.0 <net-libs/ortp-0.22.0 gtk? ( dev-libs/glib:2 >=gnome-base/libglade-2.4.0:2.0 >=x11-libs/gtk+-2.4.0:2 x11-libs/libnotify ) gsm-nonstandard? ( >=media-libs/mediastreamer-2.8.2[gsm] ) ncurses? ( sys-libs/readline sys-libs/ncurses ) ssl? ( dev-libs/openssl ) virtual/pkgconfig doc? ( app-text/sgmltools-lite ) nls? ( dev-util/intltool sys-devel/gettext ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DEPEND==media-libs/mediastreamer-2.8*[video?,ipv6?] >=net-libs/libeXosip-3.0.2 >=net-libs/libosip-3.0.0 <net-libs/libosip-4 <net-libs/libeXosip-4 >=net-libs/libsoup-2.26 >=net-libs/ortp-0.20.0 <net-libs/ortp-0.22.0 gtk? ( dev-libs/glib:2 >=gnome-base/libglade-2.4.0:2.0 >=x11-libs/gtk+-2.4.0:2 x11-libs/libnotify ) gsm-nonstandard? ( =media-libs/mediastreamer-2.8*[gsm] ) ncurses? ( sys-libs/readline:= sys-libs/ncurses ) ssl? ( dev-libs/openssl:= ) virtual/pkgconfig doc? ( app-text/sgmltools-lite ) nls? ( dev-util/intltool sys-devel/gettext ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=Video softphone based on the SIP protocol
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.linphone.org/
|
||||
IUSE=doc gsm-nonstandard gtk ipv6 ncurses nls ssl video linguas_fr linguas_it linguas_de linguas_ja linguas_es linguas_pl linguas_cs linguas_nl linguas_sv linguas_pt_BR linguas_hu linguas_ru linguas_zh_CN
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=media-libs/mediastreamer-2.8.2[video?,ipv6?] >=net-libs/libeXosip-3.0.2 >=net-libs/libosip-3.0.0 <net-libs/libosip-4 <net-libs/libeXosip-4 >=net-libs/libsoup-2.26 >=net-libs/ortp-0.20.0 <net-libs/ortp-0.22.0 gtk? ( dev-libs/glib:2 >=gnome-base/libglade-2.4.0:2.0 >=x11-libs/gtk+-2.4.0:2 x11-libs/libnotify ) gsm-nonstandard? ( >=media-libs/mediastreamer-2.8.2[gsm] ) ncurses? ( sys-libs/readline sys-libs/ncurses ) ssl? ( dev-libs/openssl )
|
||||
RDEPEND==media-libs/mediastreamer-2.8*[video?,ipv6?] >=net-libs/libeXosip-3.0.2 >=net-libs/libosip-3.0.0 <net-libs/libosip-4 <net-libs/libeXosip-4 >=net-libs/libsoup-2.26 >=net-libs/ortp-0.20.0 <net-libs/ortp-0.22.0 gtk? ( dev-libs/glib:2 >=gnome-base/libglade-2.4.0:2.0 >=x11-libs/gtk+-2.4.0:2 x11-libs/libnotify ) gsm-nonstandard? ( =media-libs/mediastreamer-2.8*[gsm] ) ncurses? ( sys-libs/readline:= sys-libs/ncurses ) ssl? ( dev-libs/openssl:= )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://nongnu/linphone/3.5.x/sources/linphone-3.5.2.tar.gz
|
||||
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf pax-utils dfe060cb70d89757fde5c1ff8405e950 toolchain-funcs c961250d50160cd37d6b7fd9e8429c92 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=b2bfe2c9b402db040dd7e3e347ae8df9
|
||||
_md5_=987cad92defc8310dbfc65669f4f40d1
|
||||
|
@ -1,13 +1,13 @@
|
||||
DEFINED_PHASES=configure install prepare setup
|
||||
DEPEND=>=media-libs/mediastreamer-2.9.0[video?,ipv6?] >=net-libs/libeXosip-4.0.0 >=net-libs/libosip-4.0.0 >=net-libs/ortp-0.22.0 virtual/udev gtk? ( dev-libs/glib:2 >=gnome-base/libglade-2.4.0:2.0 >=x11-libs/gtk+-2.4.0:2 assistant? ( >=net-libs/libsoup-2.26 ) libnotify? ( x11-libs/libnotify ) ) gsm-nonstandard? ( >=media-libs/mediastreamer-2.8.2[gsm] ) ncurses? ( sys-libs/readline sys-libs/ncurses ) sqlite? ( dev-db/sqlite:3 ) ssl? ( dev-libs/openssl:0 ) tools? ( dev-libs/libxml2 ) upnp? ( net-libs/libupnp ) virtual/pkgconfig doc? ( app-text/sgmltools-lite ) nls? ( dev-util/intltool ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DEPEND=>=media-libs/mediastreamer-2.9.0[ipv6?,upnp?,video?] >=net-libs/libeXosip-4.0.0 >=net-libs/libosip-4.0.0 >=net-libs/ortp-0.22.0 virtual/udev gtk? ( dev-libs/glib:2 >=gnome-base/libglade-2.4.0:2.0 >=x11-libs/gtk+-2.4.0:2 assistant? ( >=net-libs/libsoup-2.26 ) libnotify? ( x11-libs/libnotify ) ) gsm-nonstandard? ( >=media-libs/mediastreamer-2.9.0[gsm] ) ncurses? ( sys-libs/readline:0 sys-libs/ncurses ) sqlite? ( dev-db/sqlite:3 ) ssl? ( dev-libs/openssl:0 ) tools? ( dev-libs/libxml2 ) upnp? ( net-libs/libupnp ) video? ( >=media-libs/mediastreamer-2.9.0[v4l] ) virtual/pkgconfig doc? ( app-text/sgmltools-lite ) nls? ( dev-util/intltool ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=Video softphone based on the SIP protocol
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.linphone.org/
|
||||
IUSE=assistant doc gsm-nonstandard gtk ipv6 libnotify ncurses nls sqlite ssl tools upnp video linguas_fr linguas_it linguas_de linguas_he linguas_ja linguas_es linguas_pl linguas_cs linguas_nl linguas_sr linguas_sv linguas_pt_BR linguas_hu linguas_ru linguas_zh_CN
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=media-libs/mediastreamer-2.9.0[video?,ipv6?] >=net-libs/libeXosip-4.0.0 >=net-libs/libosip-4.0.0 >=net-libs/ortp-0.22.0 virtual/udev gtk? ( dev-libs/glib:2 >=gnome-base/libglade-2.4.0:2.0 >=x11-libs/gtk+-2.4.0:2 assistant? ( >=net-libs/libsoup-2.26 ) libnotify? ( x11-libs/libnotify ) ) gsm-nonstandard? ( >=media-libs/mediastreamer-2.8.2[gsm] ) ncurses? ( sys-libs/readline sys-libs/ncurses ) sqlite? ( dev-db/sqlite:3 ) ssl? ( dev-libs/openssl:0 ) tools? ( dev-libs/libxml2 ) upnp? ( net-libs/libupnp )
|
||||
RDEPEND=>=media-libs/mediastreamer-2.9.0[ipv6?,upnp?,video?] >=net-libs/libeXosip-4.0.0 >=net-libs/libosip-4.0.0 >=net-libs/ortp-0.22.0 virtual/udev gtk? ( dev-libs/glib:2 >=gnome-base/libglade-2.4.0:2.0 >=x11-libs/gtk+-2.4.0:2 assistant? ( >=net-libs/libsoup-2.26 ) libnotify? ( x11-libs/libnotify ) ) gsm-nonstandard? ( >=media-libs/mediastreamer-2.9.0[gsm] ) ncurses? ( sys-libs/readline:0 sys-libs/ncurses ) sqlite? ( dev-db/sqlite:3 ) ssl? ( dev-libs/openssl:0 ) tools? ( dev-libs/libxml2 ) upnp? ( net-libs/libupnp ) video? ( >=media-libs/mediastreamer-2.9.0[v4l] )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://nongnu/linphone/3.6.x/sources/linphone-3.6.1.tar.gz http://dev.gentoo.org/~hasufell/distfiles/linphone-3.6.1-exosip-4.patch
|
||||
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf pax-utils dfe060cb70d89757fde5c1ff8405e950 toolchain-funcs c961250d50160cd37d6b7fd9e8429c92 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=12eef5579ae52e18e0457f600260c704
|
||||
_md5_=ae61db6e01b325961299dd3e7c577ea7
|
||||
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare setup unpack
|
||||
DEPEND=dbus? ( sys-apps/dbus ) kernel_linux? ( eap-sim? ( sys-apps/pcsc-lite ) dev-libs/libnl:3 net-wireless/crda ) !kernel_linux? ( net-libs/libpcap ) qt4? ( dev-qt/qtgui:4 dev-qt/qtsvg:4 ) readline? ( sys-libs/ncurses sys-libs/readline ) ssl? ( dev-libs/openssl ) !ssl? ( gnutls? ( net-libs/gnutls ) ) !ssl? ( !gnutls? ( dev-libs/libtommath ) ) selinux? ( sec-policy/selinux-networkmanager ) virtual/pkgconfig virtual/pkgconfig
|
||||
DESCRIPTION=IEEE 802.1X/WPA supplicant for secure wireless transfers
|
||||
EAPI=4
|
||||
HOMEPAGE=http://hostap.epitest.fi/wpa_supplicant/
|
||||
IUSE=ap dbus gnutls eap-sim fasteap p2p ps3 qt4 readline selinux smartcard ssl wimax wps kernel_linux kernel_FreeBSD
|
||||
KEYWORDS=~alpha amd64 arm ~ia64 ~mips ppc ppc64 ~sparc x86 ~x86-fbsd
|
||||
LICENSE=|| ( GPL-2 BSD )
|
||||
RDEPEND=dbus? ( sys-apps/dbus ) kernel_linux? ( eap-sim? ( sys-apps/pcsc-lite ) dev-libs/libnl:3 net-wireless/crda ) !kernel_linux? ( net-libs/libpcap ) qt4? ( dev-qt/qtgui:4 dev-qt/qtsvg:4 ) readline? ( sys-libs/ncurses sys-libs/readline ) ssl? ( dev-libs/openssl ) !ssl? ( gnutls? ( net-libs/gnutls ) ) !ssl? ( !gnutls? ( dev-libs/libtommath ) ) selinux? ( sec-policy/selinux-networkmanager )
|
||||
REQUIRED_USE=fasteap? ( !gnutls !ssl ) smartcard? ( ssl )
|
||||
SLOT=0
|
||||
SRC_URI=http://hostap.epitest.fi/releases/wpa_supplicant-2.0.tar.gz
|
||||
_eclasses_=base 87f7447ccfc06fd0729ff4684e11e0d6 eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf qmake-utils ea709b525d28e3087eddedb2f884dbbe qt4-r2 7199e3db5b5908325487d379c6f67cf0 systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
|
||||
_md5_=040f980f4e12a6bb3fd4095479909ac4
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare setup unpack
|
||||
DEPEND=dbus? ( sys-apps/dbus ) kernel_linux? ( eap-sim? ( sys-apps/pcsc-lite ) dev-libs/libnl:3 net-wireless/crda ) !kernel_linux? ( net-libs/libpcap ) qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4 dev-qt/qtsvg:4 ) readline? ( sys-libs/ncurses sys-libs/readline ) ssl? ( dev-libs/openssl ) !ssl? ( gnutls? ( net-libs/gnutls ) ) !ssl? ( !gnutls? ( dev-libs/libtommath ) ) virtual/pkgconfig virtual/pkgconfig
|
||||
DESCRIPTION=IEEE 802.1X/WPA supplicant for secure wireless transfers
|
||||
EAPI=4
|
||||
HOMEPAGE=http://hostap.epitest.fi/wpa_supplicant/
|
||||
IUSE=ap dbus gnutls eap-sim fasteap p2p ps3 qt4 readline selinux smartcard ssl wimax wps kernel_linux kernel_FreeBSD
|
||||
KEYWORDS=~alpha amd64 arm ~ia64 ~mips ppc ~ppc64 ~sparc x86 ~x86-fbsd
|
||||
LICENSE=|| ( GPL-2 BSD )
|
||||
RDEPEND=dbus? ( sys-apps/dbus ) kernel_linux? ( eap-sim? ( sys-apps/pcsc-lite ) dev-libs/libnl:3 net-wireless/crda ) !kernel_linux? ( net-libs/libpcap ) qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4 dev-qt/qtsvg:4 ) readline? ( sys-libs/ncurses sys-libs/readline ) ssl? ( dev-libs/openssl ) !ssl? ( gnutls? ( net-libs/gnutls ) ) !ssl? ( !gnutls? ( dev-libs/libtommath ) ) selinux? ( sec-policy/selinux-networkmanager )
|
||||
REQUIRED_USE=fasteap? ( !gnutls !ssl ) smartcard? ( ssl )
|
||||
SLOT=0
|
||||
SRC_URI=http://hostap.epitest.fi/releases/wpa_supplicant-2.2.tar.gz
|
||||
_eclasses_=base 87f7447ccfc06fd0729ff4684e11e0d6 eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf qmake-utils ea709b525d28e3087eddedb2f884dbbe qt4-r2 7199e3db5b5908325487d379c6f67cf0 systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
|
||||
_md5_=696242889244536d38a266dade94dce2
|
@ -1 +1 @@
|
||||
Tue, 28 Apr 2015 05:06:54 +0000
|
||||
Tue, 28 Apr 2015 09:06:56 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue Apr 28 05:06:51 UTC 2015
|
||||
Tue Apr 28 09:06:53 UTC 2015
|
||||
|
@ -1 +1 @@
|
||||
Tue, 28 Apr 2015 05:30:01 +0000
|
||||
Tue, 28 Apr 2015 09:30:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1430197501 Tue 28 Apr 2015 05:05:01 AM UTC
|
||||
1430211901 Tue 28 Apr 2015 09:05:01 AM UTC
|
||||
|
@ -1,324 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-11.15.0-r1.ebuild,v 1.4 2015/03/23 11:19:03 chainsaw Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools base eutils linux-info multilib user systemd
|
||||
|
||||
MY_P="${PN}-${PV/_/-}"
|
||||
|
||||
DESCRIPTION="Asterisk: A Modular Open Source PBX System"
|
||||
HOMEPAGE="http://www.asterisk.org/"
|
||||
SRC_URI="http://downloads.asterisk.org/pub/telephony/asterisk/releases/${MY_P}.tar.gz
|
||||
mirror://gentoo/gentoo-asterisk-patchset-3.14.tar.bz2"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
IUSE_VOICEMAIL_STORAGE="
|
||||
+voicemail_storage_file
|
||||
voicemail_storage_odbc
|
||||
voicemail_storage_imap
|
||||
"
|
||||
IUSE="${IUSE_VOICEMAIL_STORAGE} alsa bluetooth calendar +caps cluster curl dahdi debug doc freetds gtalk http iconv ilbc jabber ldap libedit lua mysql newt +samples odbc osplookup oss portaudio postgres radius selinux snmp span speex srtp static syslog vorbis"
|
||||
IUSE_EXPAND="VOICEMAIL_STORAGE"
|
||||
REQUIRED_USE="gtalk? ( jabber )
|
||||
^^ ( ${IUSE_VOICEMAIL_STORAGE/+/} )
|
||||
voicemail_storage_odbc? ( odbc )
|
||||
"
|
||||
|
||||
EPATCH_SUFFIX="patch"
|
||||
PATCHES=( "${WORKDIR}/asterisk-patchset" )
|
||||
|
||||
CDEPEND="dev-db/sqlite:3
|
||||
dev-libs/popt
|
||||
dev-libs/libxml2
|
||||
dev-libs/openssl:*
|
||||
sys-libs/ncurses
|
||||
sys-libs/zlib
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
calendar? ( net-libs/neon
|
||||
dev-libs/libical
|
||||
dev-libs/iksemel )
|
||||
caps? ( sys-libs/libcap )
|
||||
cluster? ( sys-cluster/corosync )
|
||||
curl? ( net-misc/curl )
|
||||
dahdi? ( >=net-libs/libpri-1.4.12_beta2
|
||||
net-misc/dahdi-tools )
|
||||
freetds? ( dev-db/freetds )
|
||||
gtalk? ( dev-libs/iksemel )
|
||||
http? ( dev-libs/gmime:2.6 )
|
||||
iconv? ( virtual/libiconv )
|
||||
ilbc? ( dev-libs/ilbc-rfc3951 )
|
||||
jabber? ( dev-libs/iksemel )
|
||||
ldap? ( net-nds/openldap )
|
||||
libedit? ( dev-libs/libedit )
|
||||
lua? ( dev-lang/lua:* )
|
||||
mysql? ( virtual/mysql )
|
||||
newt? ( dev-libs/newt )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
osplookup? ( net-libs/osptoolkit )
|
||||
portaudio? ( media-libs/portaudio )
|
||||
postgres? ( dev-db/postgresql:* )
|
||||
radius? ( net-dialup/radiusclient-ng )
|
||||
snmp? ( net-analyzer/net-snmp )
|
||||
span? ( media-libs/spandsp )
|
||||
speex? ( media-libs/speex )
|
||||
srtp? ( net-libs/libsrtp )
|
||||
vorbis? ( media-libs/libvorbis )"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
!net-libs/openh323
|
||||
!net-libs/pjsip
|
||||
voicemail_storage_imap? ( virtual/imap-c-client )
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-asterisk )
|
||||
syslog? ( virtual/logger )"
|
||||
|
||||
PDEPEND="net-misc/asterisk-core-sounds
|
||||
net-misc/asterisk-extra-sounds
|
||||
net-misc/asterisk-moh-opsound"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
CONFIG_CHECK="~!NF_CONNTRACK_SIP"
|
||||
local WARNING_NF_CONNTRACK_SIP="SIP (NAT) connection tracking is enabled. Some users
|
||||
have reported that this module dropped critical SIP packets in their deployments. You
|
||||
may want to disable it if you see such problems."
|
||||
check_extra_config
|
||||
|
||||
enewgroup asterisk
|
||||
enewgroup dialout 20
|
||||
enewuser asterisk -1 -1 /var/lib/asterisk "asterisk,dialout"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
AT_M4DIR=autoconf eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local vmst
|
||||
|
||||
econf \
|
||||
--libdir="/usr/$(get_libdir)" \
|
||||
--localstatedir="/var" \
|
||||
--with-crypto \
|
||||
--with-gsm=internal \
|
||||
--with-popt \
|
||||
--with-ssl \
|
||||
--with-z \
|
||||
--without-pwlib \
|
||||
$(use_with caps cap) \
|
||||
$(use_with http gmime) \
|
||||
$(use_with newt) \
|
||||
$(use_with portaudio)
|
||||
|
||||
# Blank out sounds/sounds.xml file to prevent
|
||||
# asterisk from installing sounds files (we pull them in via
|
||||
# asterisk-{core,extra}-sounds and asterisk-moh-opsound.
|
||||
>"${S}"/sounds/sounds.xml
|
||||
|
||||
# That NATIVE_ARCH chatter really is quite bothersome
|
||||
sed -i 's/NATIVE_ARCH=/NATIVE_ARCH=0/' build_tools/menuselect-deps || die "Unable to squelch noisy build system"
|
||||
|
||||
# Compile menuselect binary for optional components
|
||||
emake menuselect.makeopts
|
||||
|
||||
# Broken functionality is forcibly disabled (bug #360143)
|
||||
menuselect/menuselect --disable chan_misdn menuselect.makeopts
|
||||
menuselect/menuselect --disable chan_ooh323 menuselect.makeopts
|
||||
|
||||
# Utility set is forcibly enabled (bug #358001)
|
||||
menuselect/menuselect --enable smsq menuselect.makeopts
|
||||
menuselect/menuselect --enable streamplayer menuselect.makeopts
|
||||
menuselect/menuselect --enable aelparse menuselect.makeopts
|
||||
menuselect/menuselect --enable astman menuselect.makeopts
|
||||
|
||||
# this is connected, otherwise it would not find
|
||||
# ast_pktccops_gate_alloc symbol
|
||||
menuselect/menuselect --enable chan_mgcp menuselect.makeopts
|
||||
menuselect/menuselect --enable res_pktccops menuselect.makeopts
|
||||
|
||||
# SSL is forcibly enabled, IAX2 & DUNDI are expected to be available
|
||||
menuselect/menuselect --enable pbx_dundi menuselect.makeopts
|
||||
menuselect/menuselect --enable func_aes menuselect.makeopts
|
||||
menuselect/menuselect --enable chan_iax2 menuselect.makeopts
|
||||
|
||||
# SQlite3 is now the main database backend, enable related features
|
||||
menuselect/menuselect --enable cdr_sqlite3_custom menuselect.makeopts
|
||||
menuselect/menuselect --enable cel_sqlite3_custom menuselect.makeopts
|
||||
|
||||
# The others are based on USE-flag settings
|
||||
use_select() {
|
||||
local state=$(use "$1" && echo enable || echo disable)
|
||||
shift # remove use from parameters
|
||||
|
||||
while [[ -n $1 ]]; do
|
||||
menuselect/menuselect --${state} "$1" menuselect.makeopts
|
||||
shift
|
||||
done
|
||||
}
|
||||
|
||||
use_select alsa chan_alsa
|
||||
use_select bluetooth chan_mobile
|
||||
use_select calendar res_calendar res_calendar_{caldav,ews,exchange,icalendar}
|
||||
use_select cluster res_corosync
|
||||
use_select curl func_curl res_config_curl res_curl
|
||||
use_select dahdi app_dahdibarge app_dahdiras app_meetme chan_dahdi codec_dahdi res_timing_dahdi
|
||||
use_select freetds {cdr,cel}_tds
|
||||
use_select gtalk chan_motif
|
||||
use_select http res_http_post
|
||||
use_select iconv func_iconv
|
||||
use_select jabber res_xmpp
|
||||
use_select ilbc codec_ilbc format_ilbc
|
||||
use_select ldap res_config_ldap
|
||||
use_select lua pbx_lua
|
||||
use_select mysql app_mysql cdr_mysql res_config_mysql
|
||||
use_select odbc cdr_adaptive_odbc res_config_odbc {cdr,cel,res,func}_odbc
|
||||
use_select osplookup app_osplookup
|
||||
use_select oss chan_oss
|
||||
use_select postgres {cdr,cel}_pgsql res_config_pgsql
|
||||
use_select radius {cdr,cel}_radius
|
||||
use_select snmp res_snmp
|
||||
use_select span res_fax_spandsp
|
||||
use_select speex {codec,func}_speex
|
||||
use_select srtp res_srtp
|
||||
use_select syslog cdr_syslog
|
||||
use_select vorbis format_ogg_vorbis
|
||||
|
||||
# Voicemail storage ...
|
||||
for vmst in ${IUSE_VOICEMAIL_STORAGE/+/}; do
|
||||
if use ${vmst}; then
|
||||
menuselect/menuselect --enable $(echo ${vmst##*_} | tr '[:lower:]' '[:upper:]')_STORAGE menuselect.makeopts
|
||||
fi
|
||||
done
|
||||
|
||||
if use debug; then
|
||||
for o in DONT_OPTIMIZE DEBUG_THREADS BETTER_BACKTRACES; do
|
||||
menuselect/menuselect --enable $o menuselect.makeopts
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ASTLDFLAGS="${LDFLAGS}" emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mkdir -p "${D}"usr/$(get_libdir)/pkgconfig || die
|
||||
emake DESTDIR="${D}" installdirs
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if use radius; then
|
||||
insinto /etc/radiusclient-ng/
|
||||
doins contrib/dictionary.digium
|
||||
fi
|
||||
diropts -m 0750 -o root -g asterisk
|
||||
keepdir /etc/asterisk
|
||||
if use samples; then
|
||||
emake DESTDIR="${D}" samples
|
||||
for conffile in "${D}"etc/asterisk/*.*
|
||||
do
|
||||
chown root:root $conffile
|
||||
chmod 0644 $conffile
|
||||
done
|
||||
einfo "Sample files have been installed"
|
||||
else
|
||||
einfo "Skipping installation of sample files..."
|
||||
rm -f "${D}"var/lib/asterisk/mohmp3/* || die
|
||||
rm -f "${D}"var/lib/asterisk/sounds/demo-* || die
|
||||
rm -f "${D}"var/lib/asterisk/agi-bin/* || die
|
||||
rm -f "${D}"etc/asterisk/* || die
|
||||
fi
|
||||
rm -rf "${D}"var/spool/asterisk/voicemail/default || die
|
||||
|
||||
# keep directories
|
||||
diropts -m 0770 -o asterisk asterisk
|
||||
keepdir /var/lib/asterisk
|
||||
keepdir /var/spool/asterisk
|
||||
keepdir /var/spool/asterisk/{system,tmp,meetme,monitor,dictate,voicemail}
|
||||
diropts -m 0750 -o asterisk -g asterisk
|
||||
keepdir /var/log/asterisk/{cdr-csv,cdr-custom}
|
||||
|
||||
newinitd "${FILESDIR}"/1.8.0/asterisk.initd7 asterisk
|
||||
newconfd "${FILESDIR}"/1.8.0/asterisk.confd asterisk
|
||||
|
||||
systemd_dounit "${FILESDIR}"/asterisk.service
|
||||
systemd_newtmpfilesd "${FILESDIR}"/asterisk.tmpfiles.conf asterisk.conf
|
||||
systemd_install_serviced "${FILESDIR}"/asterisk.service.conf
|
||||
|
||||
# install the upgrade documentation
|
||||
#
|
||||
dodoc README UPGRADE* BUGS CREDITS
|
||||
|
||||
# install extra documentation
|
||||
#
|
||||
if use doc
|
||||
then
|
||||
dodoc doc/*.txt
|
||||
dodoc doc/*.pdf
|
||||
fi
|
||||
|
||||
# install SIP scripts; bug #300832
|
||||
#
|
||||
dodoc "${FILESDIR}/1.6.2/sip_calc_auth"
|
||||
dodoc "${FILESDIR}/1.8.0/find_call_sip_trace.sh"
|
||||
dodoc "${FILESDIR}/1.8.0/find_call_ids.sh"
|
||||
dodoc "${FILESDIR}/1.6.2/call_data.txt"
|
||||
|
||||
# install logrotate snippet; bug #329281
|
||||
#
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/1.6.2/asterisk.logrotate3" asterisk
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
#
|
||||
# Announcements, warnings, reminders...
|
||||
#
|
||||
einfo "Asterisk has been installed"
|
||||
echo
|
||||
elog "If you want to know more about asterisk, visit these sites:"
|
||||
elog "http://www.asteriskdocs.org/"
|
||||
elog "http://www.voip-info.org/wiki-Asterisk"
|
||||
echo
|
||||
elog "http://www.automated.it/guidetoasterisk.htm"
|
||||
echo
|
||||
elog "Gentoo VoIP IRC Channel:"
|
||||
elog "#gentoo-voip @ irc.freenode.net"
|
||||
echo
|
||||
echo
|
||||
elog "Please read the Asterisk 11 upgrade document:"
|
||||
elog "https://wiki.asterisk.org/wiki/display/AST/Upgrading+to+Asterisk+11"
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
einfo "Do you want to reset file permissions and ownerships (y/N)?"
|
||||
|
||||
read tmp
|
||||
tmp="$(echo $tmp | tr '[:upper:]' '[:lower:]')"
|
||||
|
||||
if [[ "$tmp" = "y" ]] ||\
|
||||
[[ "$tmp" = "yes" ]]
|
||||
then
|
||||
einfo "Resetting permissions to defaults..."
|
||||
|
||||
for x in spool run lib log; do
|
||||
chown -R asterisk:asterisk "${ROOT}"var/${x}/asterisk
|
||||
chmod -R u=rwX,g=rwX,o= "${ROOT}"var/${x}/asterisk
|
||||
done
|
||||
|
||||
chown -R root:asterisk "${ROOT}"etc/asterisk
|
||||
chmod -R u=rwX,g=rwX,o= "${ROOT}"etc/asterisk
|
||||
|
||||
einfo "done"
|
||||
else
|
||||
einfo "skipping"
|
||||
fi
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST linphone-3.4.3.tar.gz 8174839 SHA256 92e7a0a01f2bb53bfaa4d7de4972e63ad528731154c36e05a9b6ba097e296692 SHA512 64aa4dd7b986a73d78f12264647469089c378bf4698455047f694376f3f65824fdc1d669600fb84b98d6c8659efbc69db86f44be86f22f4cc21bf622ba6ba216 WHIRLPOOL 84ca4219435b79086244382ac67486f5ac611b6ecbe35717bdada5a82a1da2cfe4453b6c588d4d3e51436a759c80963675b6adcb5de2acebedfc04684bf8d67d
|
||||
DIST linphone-3.5.2.tar.gz 8338517 SHA256 da37d5e539e3f8aaa44039aa52ed032ef372e7481d1b3ce68317bf79aa8a6020 SHA512 a45be141af3ee5fc37d314889b92246000810b2b5e129088a30e3ba9335f6cecd226b488a568953463d38806491471e3798be99eda7ceba9d421ff0fa7a995c9 WHIRLPOOL d3365a9d05ed7694bcd12237bd80a55a9ca7766b5e52362ca1c470e7ea748a9e50419ef05e9c79af156d364f8ec8f9a29bcf45361cd07bb8ee029a9e45f142c6
|
||||
DIST linphone-3.6.1-exosip-4.patch 89376 SHA256 36e72e03bfc215b923b11f360b0435b1ba5df2b2ead4abce12a7b80a7a0fc367 SHA512 bdab74336cb8235b3396230278fd8eb465defac1175b00ff9cf273ef2dbc4e05f63d2574de599618e4d963b42ad17ac4f0c8c9013e40a497c99211041317313d WHIRLPOOL 8f74746447210a284677e6b203c14542bc9e4c9507d37f5adc860ffd4bf825112c9aba6a4dd9d34ca6152a9e0021ea815d14edd33774d6b75124f549d1d0dbc4
|
||||
DIST linphone-3.6.1.tar.gz 11458586 SHA256 05ba81223e9378c3bce8d33080213b9925af49bd9623cd9004eb3dd22ca9d2a0 SHA512 688ccfb333b2302ca20c2c77e38b20deee8b1c5f3c31f7a4b666d81114ea3e5cbe38bac6d88116d635ac3fcb7f38d013e35c7c076549cc3d7ae900456d51b5e4 WHIRLPOOL 3b76b6d3bbf1a9e2b06beae41e276abcd5223c5cf6f600c140ab27a60aae7b9c47c1c9da1f26587fac0d77f8a6114115b18d346d33f05b1e2a0a3a83fbf986b0
|
||||
|
@ -1,14 +0,0 @@
|
||||
--- configure.ac 2011-02-11 13:24:11.000000000 +0300
|
||||
+++ configure.ac 2011-03-01 12:39:43.061643811 +0300
|
||||
@@ -69,7 +69,10 @@
|
||||
AC_SUBST(GUI_FLAGS)
|
||||
|
||||
dnl localization tools
|
||||
-IT_PROG_INTLTOOL([0.40], [no-xml])
|
||||
+AM_NLS
|
||||
+if test "$USE_NLS" != "no"; then
|
||||
+ IT_PROG_INTLTOOL([0.40], [no-xml])
|
||||
+fi
|
||||
|
||||
dnl Initialize libtool
|
||||
AC_LIBTOOL_WIN32_DLL
|
@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-voip/linphone/linphone-3.4.3-r1.ebuild,v 1.9 2013/10/14 12:31:05 pinkbyte Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils autotools multilib versionator pax-utils
|
||||
|
||||
DESCRIPTION="Video softphone based on the SIP protocol"
|
||||
HOMEPAGE="http://www.linphone.org/"
|
||||
SRC_URI="mirror://nongnu/${PN}/$(get_version_component_range 1-2).x/sources/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~x86-macos"
|
||||
# TODO: run-time test for ipv6: does it need mediastreamer[ipv6]?
|
||||
IUSE="doc gtk ipv6 ncurses nls video"
|
||||
|
||||
RDEPEND="<media-libs/mediastreamer-2.8[video?,ipv6?]
|
||||
>=net-libs/libeXosip-3.0.2
|
||||
>=net-libs/libosip-3.0.0
|
||||
<net-libs/libosip-4
|
||||
<net-libs/libeXosip-4
|
||||
>=net-libs/ortp-0.16.3
|
||||
gtk? ( dev-libs/glib:2
|
||||
>=gnome-base/libglade-2.4.0:2.0
|
||||
>=x11-libs/gtk+-2.4.0:2 )
|
||||
ncurses? ( sys-libs/readline
|
||||
sys-libs/ncurses )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-text/sgmltools-lite )
|
||||
nls? ( dev-util/intltool
|
||||
sys-devel/gettext )"
|
||||
|
||||
IUSE_LINGUAS=" fr it de ja es pl cs nl sv pt_BR hu ru zh_CN"
|
||||
IUSE="${IUSE} ${IUSE_LINGUAS// / linguas_}"
|
||||
|
||||
pkg_setup() {
|
||||
if ! use gtk && ! use ncurses ; then
|
||||
ewarn "gtk and ncurses are disabled."
|
||||
ewarn "At least one of these use flags are needed to get a front-end."
|
||||
ewarn "Only liblinphone is going to be installed."
|
||||
fi
|
||||
|
||||
strip-linguas ${IUSE_LINGUAS}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-3.4.3-nls.patch
|
||||
# remove speex check, avoid bug when mediastreamer[-speex]
|
||||
sed -i -e '/SPEEX/d' configure.ac || die "patching configure.ac failed"
|
||||
|
||||
# fix path to use lib64
|
||||
sed -i -e "s:lib\(/liblinphone\):$(get_libdir)\1:" configure.ac \
|
||||
|| die "patching configure.ac failed"
|
||||
|
||||
# removing bundled libs dir prevent them to be reconf
|
||||
rm -rf mediastreamer2 oRTP || die "should not die"
|
||||
sed -i -e "s:oRTP::;s:mediastreamer2::" Makefile.am \
|
||||
|| die "patching Makefile.am failed"
|
||||
|
||||
# make sure to use host libtool version
|
||||
rm -f m4/libtool.m4 m4/lt*.m4 #282268
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# strict: we don't want -Werror
|
||||
# external-ortp,external-mediastreamer: prefer external libs
|
||||
# truespeech: seems not used, TODO: ask in ml
|
||||
# rsvp: breaking the build (not maintained anymore) --disable = --enable
|
||||
# alsa, artsc and portaudio are used for bundled mediastreamer
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--disable-strict \
|
||||
--enable-external-ortp \
|
||||
--enable-external-mediastreamer \
|
||||
--disable-truespeech \
|
||||
$(use_enable doc manual) \
|
||||
$(use_enable gtk gtk_ui) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable ncurses console_ui) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable video)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS BUGS ChangeLog NEWS README README.arm TODO
|
||||
pax-mark m "${ED}usr/bin/linphone"
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST wpa_supplicant-2.0.tar.gz 2044281 SHA256 2c115609fbb5223d51381084a5c944455a8afcda81d584173ff55ba233379e09 SHA512 c3a599e1dfa5e0bb4b8d35ed49501696ce68c807ff458c1e3bff9ed5619c780f7117c6d8d7cb9a11351e9fad27cf83fc114f255c92552e7ba084de70c5f8e254 WHIRLPOOL 603f9ac54505166690516a0f1e3112a8279a7184a54066699ad24b1f6269ad90c46a01a87d23bb62df782cdf561aa6f8b5a11e7ee59914cb36be8daea470389e
|
||||
DIST wpa_supplicant-2.2.tar.gz 2382570 SHA256 e0d8b8fd68a659636eaba246bb2caacbf53d22d53b2b6b90eb4b4fef0993c8ed SHA512 34dd3eb2c7c65baadbd8108cfb879be5b68e70d925fe65cda566bcfb9bcc31b3e2c521ee719d056d2b4f7fd17a8d387ee1217cb4ebbbaf384962bbcbc27ea57a WHIRLPOOL e53c55e23760b8d8a60845e9dcdc926e7c9672ad06c1494f1a931f916f4f6c77b51c13cbcf5f5ffc4c9fd8a0b7ac5292d0ecd6daca4480cbe931ae44857a06a8
|
||||
DIST wpa_supplicant-2.4.tar.gz 2525648 SHA256 058dc832c096139a059e6df814080f50251a8d313c21b13364c54a1e70109122 SHA512 03d8199325b3910f77013ddb7edd803ab4444542230484e1cb465dc3df9372b39ee3307d823ce88730e8f5a5231ef3183954c54cf07297b70432f526e45aac2b WHIRLPOOL 092ae97e2c0f55d7055fd4e5d688e2ba538f785089a13c754129829854b20a98de832d9d0925dce5823a060d10a3bb5882b0bf3d6cf55f8de9bbc2b00fbb7392
|
||||
|
@ -1,320 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.0-r2.ebuild,v 1.6 2013/12/22 12:03:58 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs qt4-r2 systemd multilib
|
||||
|
||||
DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers"
|
||||
HOMEPAGE="http://hostap.epitest.fi/wpa_supplicant/"
|
||||
SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz"
|
||||
LICENSE="|| ( GPL-2 BSD )"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~ia64 ~mips ppc ppc64 ~sparc x86 ~x86-fbsd"
|
||||
IUSE="ap dbus gnutls eap-sim fasteap p2p ps3 qt4 readline selinux smartcard ssl wimax wps kernel_linux kernel_FreeBSD"
|
||||
REQUIRED_USE="fasteap? ( !gnutls !ssl ) smartcard? ( ssl )"
|
||||
|
||||
RDEPEND="dbus? ( sys-apps/dbus )
|
||||
kernel_linux? (
|
||||
eap-sim? ( sys-apps/pcsc-lite )
|
||||
dev-libs/libnl:3
|
||||
net-wireless/crda
|
||||
)
|
||||
!kernel_linux? ( net-libs/libpcap )
|
||||
qt4? (
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtsvg:4
|
||||
)
|
||||
readline? (
|
||||
sys-libs/ncurses
|
||||
sys-libs/readline
|
||||
)
|
||||
ssl? ( dev-libs/openssl )
|
||||
!ssl? ( gnutls? ( net-libs/gnutls ) )
|
||||
!ssl? ( !gnutls? ( dev-libs/libtommath ) )
|
||||
selinux? ( sec-policy/selinux-networkmanager )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${P}/${PN}"
|
||||
|
||||
pkg_setup() {
|
||||
if use gnutls && use ssl ; then
|
||||
elog "You have both 'gnutls' and 'ssl' USE flags enabled: defaulting to USE=\"ssl\""
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# net/bpf.h needed for net-libs/libpcap on Gentoo/FreeBSD
|
||||
sed -i \
|
||||
-e "s:\(#include <pcap\.h>\):#include <net/bpf.h>\n\1:" \
|
||||
../src/l2_packet/l2_packet_freebsd.c || die
|
||||
|
||||
# People seem to take the example configuration file too literally (bug #102361)
|
||||
sed -i \
|
||||
-e "s:^\(opensc_engine_path\):#\1:" \
|
||||
-e "s:^\(pkcs11_engine_path\):#\1:" \
|
||||
-e "s:^\(pkcs11_module_path\):#\1:" \
|
||||
wpa_supplicant.conf || die
|
||||
|
||||
# Change configuration to match Gentoo locations (bug #143750)
|
||||
sed -i \
|
||||
-e "s:/usr/lib/opensc:/usr/$(get_libdir):" \
|
||||
-e "s:/usr/lib/pkcs11:/usr/$(get_libdir):" \
|
||||
wpa_supplicant.conf || die
|
||||
|
||||
if use dbus; then
|
||||
epatch "${FILESDIR}/${P}-dbus-path-fix.patch"
|
||||
fi
|
||||
|
||||
# systemd entries to D-Bus service files (bug #372877)
|
||||
echo 'SystemdService=wpa_supplicant.service' \
|
||||
| tee -a dbus/*.service >/dev/null || die
|
||||
|
||||
cd "${WORKDIR}/${P}"
|
||||
|
||||
if use wimax; then
|
||||
# generate-libeap-peer.patch comes before
|
||||
# fix-undefined-reference-to-random_get_bytes.patch
|
||||
epatch "${FILESDIR}/${P}-generate-libeap-peer.patch"
|
||||
epatch "${FILESDIR}/${P}-fix-undefined-reference-to-random_get_bytes.patch"
|
||||
|
||||
# multilib-strict fix (bug #373685)
|
||||
sed -e "s/\/usr\/lib/\/usr\/$(get_libdir)/" -i src/eap_peer/Makefile
|
||||
fi
|
||||
|
||||
# bug (320097)
|
||||
epatch "${FILESDIR}/${P}-do-not-call-dbus-functions-with-NULL-path.patch"
|
||||
|
||||
# TODO - NEED TESTING TO SEE IF STILL NEEDED, NOT COMPATIBLE WITH 1.0 OUT OF THE BOX,
|
||||
# SO WOULD BE NICE TO JUST DROP IT, IF IT IS NOT NEEDED.
|
||||
# bug (374089)
|
||||
#epatch "${FILESDIR}/${P}-dbus-WPAIE-fix.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Toolchain setup
|
||||
tc-export CC
|
||||
|
||||
# Basic setup
|
||||
echo "CONFIG_CTRL_IFACE=y" >> .config
|
||||
echo "CONFIG_BACKEND=file" >> .config
|
||||
|
||||
# Basic authentication methods
|
||||
# NOTE: we don't set GPSK or SAKE as they conflict
|
||||
# with the below options
|
||||
echo "CONFIG_EAP_GTC=y" >> .config
|
||||
echo "CONFIG_EAP_MD5=y" >> .config
|
||||
echo "CONFIG_EAP_OTP=y" >> .config
|
||||
echo "CONFIG_EAP_PAX=y" >> .config
|
||||
echo "CONFIG_EAP_PSK=y" >> .config
|
||||
echo "CONFIG_EAP_TLV=y" >> .config
|
||||
echo "CONFIG_IEEE8021X_EAPOL=y" >> .config
|
||||
echo "CONFIG_PKCS12=y" >> .config
|
||||
echo "CONFIG_PEERKEY=y" >> .config
|
||||
echo "CONFIG_EAP_LEAP=y" >> .config
|
||||
echo "CONFIG_EAP_MSCHAPV2=y" >> .config
|
||||
echo "CONFIG_EAP_PEAP=y" >> .config
|
||||
echo "CONFIG_EAP_TLS=y" >> .config
|
||||
echo "CONFIG_EAP_TTLS=y" >> .config
|
||||
|
||||
if use dbus ; then
|
||||
echo "CONFIG_CTRL_IFACE_DBUS=y" >> .config
|
||||
echo "CONFIG_CTRL_IFACE_DBUS_NEW=y" >> .config
|
||||
echo "CONFIG_CTRL_IFACE_DBUS_INTRO=y" >> .config
|
||||
fi
|
||||
|
||||
# Enable support for writing debug info to a log file.
|
||||
echo "CONFIG_DEBUG_FILE=y" >> .config
|
||||
|
||||
if use eap-sim ; then
|
||||
# Smart card authentication
|
||||
echo "CONFIG_EAP_SIM=y" >> .config
|
||||
echo "CONFIG_EAP_AKA=y" >> .config
|
||||
echo "CONFIG_EAP_AKA_PRIME=y" >> .config
|
||||
echo "CONFIG_PCSC=y" >> .config
|
||||
fi
|
||||
|
||||
if use fasteap ; then
|
||||
echo "CONFIG_EAP_FAST=y" >> .config
|
||||
fi
|
||||
|
||||
if use readline ; then
|
||||
# readline/history support for wpa_cli
|
||||
echo "CONFIG_READLINE=y" >> .config
|
||||
fi
|
||||
|
||||
# SSL authentication methods
|
||||
if use ssl ; then
|
||||
echo "CONFIG_TLS=openssl" >> .config
|
||||
elif use gnutls ; then
|
||||
echo "CONFIG_TLS=gnutls" >> .config
|
||||
echo "CONFIG_GNUTLS_EXTRA=y" >> .config
|
||||
else
|
||||
echo "CONFIG_TLS=internal" >> .config
|
||||
fi
|
||||
|
||||
if use smartcard ; then
|
||||
echo "CONFIG_SMARTCARD=y" >> .config
|
||||
fi
|
||||
|
||||
if use kernel_linux ; then
|
||||
# Linux specific drivers
|
||||
echo "CONFIG_DRIVER_ATMEL=y" >> .config
|
||||
#echo "CONFIG_DRIVER_BROADCOM=y" >> .config
|
||||
#echo "CONFIG_DRIVER_HERMES=y" >> .config
|
||||
echo "CONFIG_DRIVER_HOSTAP=y" >> .config
|
||||
echo "CONFIG_DRIVER_IPW=y" >> .config
|
||||
echo "CONFIG_DRIVER_NDISWRAPPER=y" >> .config
|
||||
echo "CONFIG_DRIVER_NL80211=y" >> .config
|
||||
#echo "CONFIG_DRIVER_PRISM54=y" >> .config
|
||||
echo "CONFIG_DRIVER_RALINK=y" >> .config
|
||||
echo "CONFIG_DRIVER_WEXT=y" >> .config
|
||||
echo "CONFIG_DRIVER_WIRED=y" >> .config
|
||||
|
||||
if use ps3 ; then
|
||||
echo "CONFIG_DRIVER_PS3=y" >> .config
|
||||
fi
|
||||
|
||||
elif use kernel_FreeBSD ; then
|
||||
# FreeBSD specific driver
|
||||
echo "CONFIG_DRIVER_BSD=y" >> .config
|
||||
fi
|
||||
|
||||
# Wi-Fi Protected Setup (WPS)
|
||||
if use wps ; then
|
||||
echo "CONFIG_WPS=y" >> .config
|
||||
echo "CONFIG_WPS2=y" >> .config
|
||||
# USB Flash Drive
|
||||
echo "CONFIG_WPS_UFD=y" >> .config
|
||||
# External Registrar
|
||||
echo "CONFIG_WPS_ER=y" >> .config
|
||||
# Universal Plug'n'Play
|
||||
echo "CONFIG_WPS_UPNP=y" >> .config
|
||||
# Near Field Communication
|
||||
echo "CONFIG_WPS_NFC=y" >> .config
|
||||
fi
|
||||
|
||||
# Wi-Fi Direct (WiDi)
|
||||
if use p2p ; then
|
||||
echo "CONFIG_P2P=y" >> .config
|
||||
fi
|
||||
|
||||
# Access Point Mode
|
||||
if use ap ; then
|
||||
echo "CONFIG_AP=y" >> .config
|
||||
fi
|
||||
|
||||
# Enable mitigation against certain attacks against TKIP
|
||||
echo "CONFIG_DELAYED_MIC_ERROR_REPORT=y" >> .config
|
||||
|
||||
# If we are using libnl 2.0 and above, enable support for it
|
||||
# Bug 382159
|
||||
# Removed for now, since the 3.2 version is broken, and we don't
|
||||
# support it.
|
||||
if has_version ">=dev-libs/libnl-3.2"; then
|
||||
echo "CONFIG_LIBNL32=y" >> .config
|
||||
fi
|
||||
|
||||
if use qt4 ; then
|
||||
pushd "${S}"/wpa_gui-qt4 > /dev/null
|
||||
eqmake4 wpa_gui.pro
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "Building wpa_supplicant"
|
||||
emake V=1
|
||||
|
||||
if use wimax; then
|
||||
emake -C ../src/eap_peer clean
|
||||
emake -C ../src/eap_peer
|
||||
fi
|
||||
|
||||
if use qt4 ; then
|
||||
pushd "${S}"/wpa_gui-qt4 > /dev/null
|
||||
einfo "Building wpa_gui"
|
||||
emake
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin wpa_supplicant
|
||||
dobin wpa_cli wpa_passphrase
|
||||
|
||||
# baselayout-1 compat
|
||||
if has_version "<sys-apps/baselayout-2.0.0"; then
|
||||
dodir /sbin
|
||||
dosym /usr/sbin/wpa_supplicant /sbin/wpa_supplicant
|
||||
dodir /bin
|
||||
dosym /usr/bin/wpa_cli /bin/wpa_cli
|
||||
fi
|
||||
|
||||
if has_version ">=sys-apps/openrc-0.5.0"; then
|
||||
newinitd "${FILESDIR}/${PN}-init.d" wpa_supplicant
|
||||
newconfd "${FILESDIR}/${PN}-conf.d" wpa_supplicant
|
||||
fi
|
||||
|
||||
exeinto /etc/wpa_supplicant/
|
||||
newexe "${FILESDIR}/wpa_cli.sh" wpa_cli.sh
|
||||
|
||||
dodoc ChangeLog {eap_testing,todo}.txt README{,-WPS} \
|
||||
wpa_supplicant.conf
|
||||
|
||||
doman doc/docbook/*.{5,8}
|
||||
|
||||
if use qt4 ; then
|
||||
into /usr
|
||||
dobin wpa_gui-qt4/wpa_gui
|
||||
doicon wpa_gui-qt4/icons/wpa_gui.svg
|
||||
make_desktop_entry wpa_gui "WPA Supplicant Administration GUI" "wpa_gui" "Qt;Network;"
|
||||
fi
|
||||
|
||||
use wimax && emake DESTDIR="${D}" -C ../src/eap_peer install
|
||||
|
||||
if use dbus ; then
|
||||
pushd "${S}"/dbus > /dev/null
|
||||
insinto /etc/dbus-1/system.d
|
||||
newins dbus-wpa_supplicant.conf wpa_supplicant.conf
|
||||
insinto /usr/share/dbus-1/system-services
|
||||
doins fi.epitest.hostap.WPASupplicant.service fi.w1.wpa_supplicant1.service
|
||||
keepdir /var/run/wpa_supplicant
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
# systemd stuff
|
||||
systemd_dounit "${FILESDIR}"/wpa_supplicant.service
|
||||
systemd_newunit "${FILESDIR}"/wpa_supplicant_at.service 'wpa_supplicant@.service'
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If this is a clean installation of wpa_supplicant, you"
|
||||
elog "have to create a configuration file named"
|
||||
elog "/etc/wpa_supplicant/wpa_supplicant.conf"
|
||||
elog
|
||||
elog "An example configuration file is available for reference in"
|
||||
elog "/usr/share/doc/${PF}/"
|
||||
|
||||
if [[ -e ${ROOT}etc/wpa_supplicant.conf ]] ; then
|
||||
echo
|
||||
ewarn "WARNING: your old configuration file ${ROOT}etc/wpa_supplicant.conf"
|
||||
ewarn "needs to be moved to ${ROOT}etc/wpa_supplicant/wpa_supplicant.conf"
|
||||
fi
|
||||
|
||||
# Mea culpa, feel free to remove that after some time --mgorny.
|
||||
local fn
|
||||
for fn in wpa_supplicant{,@wlan0}.service; do
|
||||
if [[ -e "${ROOT}"/etc/systemd/system/network.target.wants/${fn} ]]
|
||||
then
|
||||
ebegin "Moving ${fn} to multi-user.target"
|
||||
mv "${ROOT}"/etc/systemd/system/network.target.wants/${fn} \
|
||||
"${ROOT}"/etc/systemd/system/multi-user.target.wants/
|
||||
eend ${?} \
|
||||
"Please try to re-enable ${fn}"
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,326 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.2-r1.ebuild,v 1.7 2015/04/19 07:00:52 pacho Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs qt4-r2 systemd multilib
|
||||
|
||||
DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers"
|
||||
HOMEPAGE="http://hostap.epitest.fi/wpa_supplicant/"
|
||||
SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz"
|
||||
LICENSE="|| ( GPL-2 BSD )"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~ia64 ~mips ppc ~ppc64 ~sparc x86 ~x86-fbsd"
|
||||
IUSE="ap dbus gnutls eap-sim fasteap p2p ps3 qt4 readline selinux smartcard ssl wimax wps kernel_linux kernel_FreeBSD"
|
||||
REQUIRED_USE="fasteap? ( !gnutls !ssl ) smartcard? ( ssl )"
|
||||
|
||||
CDEPEND="dbus? ( sys-apps/dbus )
|
||||
kernel_linux? (
|
||||
eap-sim? ( sys-apps/pcsc-lite )
|
||||
dev-libs/libnl:3
|
||||
net-wireless/crda
|
||||
)
|
||||
!kernel_linux? ( net-libs/libpcap )
|
||||
qt4? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtsvg:4
|
||||
)
|
||||
readline? (
|
||||
sys-libs/ncurses
|
||||
sys-libs/readline
|
||||
)
|
||||
ssl? ( dev-libs/openssl )
|
||||
!ssl? ( gnutls? ( net-libs/gnutls ) )
|
||||
!ssl? ( !gnutls? ( dev-libs/libtommath ) )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-networkmanager )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${P}/${PN}"
|
||||
|
||||
pkg_setup() {
|
||||
if use gnutls && use ssl ; then
|
||||
elog "You have both 'gnutls' and 'ssl' USE flags enabled: defaulting to USE=\"ssl\""
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# net/bpf.h needed for net-libs/libpcap on Gentoo/FreeBSD
|
||||
sed -i \
|
||||
-e "s:\(#include <pcap\.h>\):#include <net/bpf.h>\n\1:" \
|
||||
../src/l2_packet/l2_packet_freebsd.c || die
|
||||
|
||||
# People seem to take the example configuration file too literally (bug #102361)
|
||||
sed -i \
|
||||
-e "s:^\(opensc_engine_path\):#\1:" \
|
||||
-e "s:^\(pkcs11_engine_path\):#\1:" \
|
||||
-e "s:^\(pkcs11_module_path\):#\1:" \
|
||||
wpa_supplicant.conf || die
|
||||
|
||||
# Change configuration to match Gentoo locations (bug #143750)
|
||||
sed -i \
|
||||
-e "s:/usr/lib/opensc:/usr/$(get_libdir):" \
|
||||
-e "s:/usr/lib/pkcs11:/usr/$(get_libdir):" \
|
||||
wpa_supplicant.conf || die
|
||||
|
||||
if use dbus; then
|
||||
epatch "${FILESDIR}/${P}-dbus-path-fix.patch"
|
||||
fi
|
||||
|
||||
# systemd entries to D-Bus service files (bug #372877)
|
||||
echo 'SystemdService=wpa_supplicant.service' \
|
||||
| tee -a dbus/*.service >/dev/null || die
|
||||
|
||||
cd "${WORKDIR}/${P}"
|
||||
|
||||
if use wimax; then
|
||||
# generate-libeap-peer.patch comes before
|
||||
# fix-undefined-reference-to-random_get_bytes.patch
|
||||
epatch "${FILESDIR}/${P}-generate-libeap-peer.patch"
|
||||
epatch "${FILESDIR}/${P}-fix-undefined-reference-to-random_get_bytes.patch"
|
||||
|
||||
# multilib-strict fix (bug #373685)
|
||||
sed -e "s/\/usr\/lib/\/usr\/$(get_libdir)/" -i src/eap_peer/Makefile
|
||||
fi
|
||||
|
||||
# bug (320097)
|
||||
epatch "${FILESDIR}/${P}-do-not-call-dbus-functions-with-NULL-path.patch"
|
||||
|
||||
# TODO - NEED TESTING TO SEE IF STILL NEEDED, NOT COMPATIBLE WITH 1.0 OUT OF THE BOX,
|
||||
# SO WOULD BE NICE TO JUST DROP IT, IF IT IS NOT NEEDED.
|
||||
# bug (374089)
|
||||
#epatch "${FILESDIR}/${P}-dbus-WPAIE-fix.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Toolchain setup
|
||||
tc-export CC
|
||||
|
||||
# Basic setup
|
||||
echo "CONFIG_CTRL_IFACE=y" >> .config
|
||||
echo "CONFIG_BACKEND=file" >> .config
|
||||
echo "CONFIG_IBSS_RSN=y" >> .config
|
||||
|
||||
# Basic authentication methods
|
||||
# NOTE: we don't set GPSK or SAKE as they conflict
|
||||
# with the below options
|
||||
echo "CONFIG_EAP_GTC=y" >> .config
|
||||
echo "CONFIG_EAP_MD5=y" >> .config
|
||||
echo "CONFIG_EAP_OTP=y" >> .config
|
||||
echo "CONFIG_EAP_PAX=y" >> .config
|
||||
echo "CONFIG_EAP_PSK=y" >> .config
|
||||
echo "CONFIG_EAP_TLV=y" >> .config
|
||||
echo "CONFIG_EAP_EXE=y" >> .config
|
||||
echo "CONFIG_IEEE8021X_EAPOL=y" >> .config
|
||||
echo "CONFIG_PKCS12=y" >> .config
|
||||
echo "CONFIG_PEERKEY=y" >> .config
|
||||
echo "CONFIG_EAP_LEAP=y" >> .config
|
||||
echo "CONFIG_EAP_MSCHAPV2=y" >> .config
|
||||
echo "CONFIG_EAP_PEAP=y" >> .config
|
||||
echo "CONFIG_EAP_TLS=y" >> .config
|
||||
echo "CONFIG_EAP_TTLS=y" >> .config
|
||||
|
||||
# Enabling background scanning.
|
||||
echo "CONFIG_BGSCAN_SIMPLE=y" >> .config
|
||||
echo "CONFIG_BGSCAN_LEARN=y" >> .config
|
||||
|
||||
if use dbus ; then
|
||||
echo "CONFIG_CTRL_IFACE_DBUS=y" >> .config
|
||||
echo "CONFIG_CTRL_IFACE_DBUS_NEW=y" >> .config
|
||||
echo "CONFIG_CTRL_IFACE_DBUS_INTRO=y" >> .config
|
||||
fi
|
||||
|
||||
# Enable support for writing debug info to a log file.
|
||||
echo "CONFIG_DEBUG_FILE=y" >> .config
|
||||
|
||||
if use eap-sim ; then
|
||||
# Smart card authentication
|
||||
echo "CONFIG_EAP_SIM=y" >> .config
|
||||
echo "CONFIG_EAP_AKA=y" >> .config
|
||||
echo "CONFIG_EAP_AKA_PRIME=y" >> .config
|
||||
echo "CONFIG_PCSC=y" >> .config
|
||||
fi
|
||||
|
||||
if use fasteap ; then
|
||||
echo "CONFIG_EAP_FAST=y" >> .config
|
||||
fi
|
||||
|
||||
if use readline ; then
|
||||
# readline/history support for wpa_cli
|
||||
echo "CONFIG_READLINE=y" >> .config
|
||||
fi
|
||||
|
||||
# SSL authentication methods
|
||||
if use ssl ; then
|
||||
echo "CONFIG_TLS=openssl" >> .config
|
||||
elif use gnutls ; then
|
||||
echo "CONFIG_TLS=gnutls" >> .config
|
||||
echo "CONFIG_GNUTLS_EXTRA=y" >> .config
|
||||
else
|
||||
echo "CONFIG_TLS=internal" >> .config
|
||||
fi
|
||||
|
||||
if use smartcard ; then
|
||||
echo "CONFIG_SMARTCARD=y" >> .config
|
||||
fi
|
||||
|
||||
if use kernel_linux ; then
|
||||
# Linux specific drivers
|
||||
echo "CONFIG_DRIVER_ATMEL=y" >> .config
|
||||
echo "CONFIG_DRIVER_HOSTAP=y" >> .config
|
||||
echo "CONFIG_DRIVER_IPW=y" >> .config
|
||||
echo "CONFIG_DRIVER_NL80211=y" >> .config
|
||||
echo "CONFIG_DRIVER_RALINK=y" >> .config
|
||||
echo "CONFIG_DRIVER_WEXT=y" >> .config
|
||||
echo "CONFIG_DRIVER_WIRED=y" >> .config
|
||||
|
||||
if use ps3 ; then
|
||||
echo "CONFIG_DRIVER_PS3=y" >> .config
|
||||
fi
|
||||
|
||||
elif use kernel_FreeBSD ; then
|
||||
# FreeBSD specific driver
|
||||
echo "CONFIG_DRIVER_BSD=y" >> .config
|
||||
fi
|
||||
|
||||
# Wi-Fi Protected Setup (WPS)
|
||||
if use wps ; then
|
||||
echo "CONFIG_WPS=y" >> .config
|
||||
echo "CONFIG_WPS2=y" >> .config
|
||||
# USB Flash Drive
|
||||
echo "CONFIG_WPS_UFD=y" >> .config
|
||||
# External Registrar
|
||||
echo "CONFIG_WPS_ER=y" >> .config
|
||||
# Universal Plug'n'Play
|
||||
echo "CONFIG_WPS_UPNP=y" >> .config
|
||||
# Near Field Communication
|
||||
echo "CONFIG_WPS_NFC=y" >> .config
|
||||
fi
|
||||
|
||||
# Wi-Fi Direct (WiDi)
|
||||
if use p2p ; then
|
||||
echo "CONFIG_P2P=y" >> .config
|
||||
fi
|
||||
|
||||
# Access Point Mode
|
||||
if use ap ; then
|
||||
echo "CONFIG_AP=y" >> .config
|
||||
fi
|
||||
|
||||
# Enable mitigation against certain attacks against TKIP
|
||||
echo "CONFIG_DELAYED_MIC_ERROR_REPORT=y" >> .config
|
||||
|
||||
# If we are using libnl 2.0 and above, enable support for it
|
||||
# Bug 382159
|
||||
# Removed for now, since the 3.2 version is broken, and we don't
|
||||
# support it.
|
||||
if has_version ">=dev-libs/libnl-3.2"; then
|
||||
echo "CONFIG_LIBNL32=y" >> .config
|
||||
fi
|
||||
|
||||
if use qt4 ; then
|
||||
pushd "${S}"/wpa_gui-qt4 > /dev/null
|
||||
eqmake4 wpa_gui.pro
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "Building wpa_supplicant"
|
||||
emake V=1
|
||||
|
||||
if use wimax; then
|
||||
emake -C ../src/eap_peer clean
|
||||
emake -C ../src/eap_peer
|
||||
fi
|
||||
|
||||
if use qt4 ; then
|
||||
pushd "${S}"/wpa_gui-qt4 > /dev/null
|
||||
einfo "Building wpa_gui"
|
||||
emake
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin wpa_supplicant
|
||||
dobin wpa_cli wpa_passphrase
|
||||
|
||||
# baselayout-1 compat
|
||||
if has_version "<sys-apps/baselayout-2.0.0"; then
|
||||
dodir /sbin
|
||||
dosym /usr/sbin/wpa_supplicant /sbin/wpa_supplicant
|
||||
dodir /bin
|
||||
dosym /usr/bin/wpa_cli /bin/wpa_cli
|
||||
fi
|
||||
|
||||
if has_version ">=sys-apps/openrc-0.5.0"; then
|
||||
newinitd "${FILESDIR}/${PN}-init.d" wpa_supplicant
|
||||
newconfd "${FILESDIR}/${PN}-conf.d" wpa_supplicant
|
||||
fi
|
||||
|
||||
exeinto /etc/wpa_supplicant/
|
||||
newexe "${FILESDIR}/wpa_cli.sh" wpa_cli.sh
|
||||
|
||||
dodoc ChangeLog {eap_testing,todo}.txt README{,-WPS} \
|
||||
wpa_supplicant.conf
|
||||
|
||||
doman doc/docbook/*.{5,8}
|
||||
|
||||
if use qt4 ; then
|
||||
into /usr
|
||||
dobin wpa_gui-qt4/wpa_gui
|
||||
doicon wpa_gui-qt4/icons/wpa_gui.svg
|
||||
make_desktop_entry wpa_gui "WPA Supplicant Administration GUI" "wpa_gui" "Qt;Network;"
|
||||
fi
|
||||
|
||||
use wimax && emake DESTDIR="${D}" -C ../src/eap_peer install
|
||||
|
||||
if use dbus ; then
|
||||
pushd "${S}"/dbus > /dev/null
|
||||
insinto /etc/dbus-1/system.d
|
||||
newins dbus-wpa_supplicant.conf wpa_supplicant.conf
|
||||
insinto /usr/share/dbus-1/system-services
|
||||
doins fi.epitest.hostap.WPASupplicant.service fi.w1.wpa_supplicant1.service
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
# systemd stuff
|
||||
systemd_dounit "${FILESDIR}"/wpa_supplicant.service
|
||||
systemd_newunit "${FILESDIR}"/wpa_supplicant_at.service 'wpa_supplicant@.service'
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If this is a clean installation of wpa_supplicant, you"
|
||||
elog "have to create a configuration file named"
|
||||
elog "/etc/wpa_supplicant/wpa_supplicant.conf"
|
||||
elog
|
||||
elog "An example configuration file is available for reference in"
|
||||
elog "/usr/share/doc/${PF}/"
|
||||
|
||||
if [[ -e ${ROOT}etc/wpa_supplicant.conf ]] ; then
|
||||
echo
|
||||
ewarn "WARNING: your old configuration file ${ROOT}etc/wpa_supplicant.conf"
|
||||
ewarn "needs to be moved to ${ROOT}etc/wpa_supplicant/wpa_supplicant.conf"
|
||||
fi
|
||||
|
||||
# Mea culpa, feel free to remove that after some time --mgorny.
|
||||
local fn
|
||||
for fn in wpa_supplicant{,@wlan0}.service; do
|
||||
if [[ -e "${ROOT}"/etc/systemd/system/network.target.wants/${fn} ]]
|
||||
then
|
||||
ebegin "Moving ${fn} to multi-user.target"
|
||||
mv "${ROOT}"/etc/systemd/system/network.target.wants/${fn} \
|
||||
"${ROOT}"/etc/systemd/system/multi-user.target.wants/
|
||||
eend ${?} \
|
||||
"Please try to re-enable ${fn}"
|
||||
fi
|
||||
done
|
||||
}
|
Loading…
Reference in new issue