Skip to content
Snippets Groups Projects
Commit bbf74299 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

update to new format

parent eb5ac742
No related branches found
No related tags found
No related merge requests found
[main]
@type = classic
@description = "wpa_supplicant-wired@@I daemon"
@user = ( root )
@options = ( log env )
[start]
@build = auto
@execute = ( execl-cmdline -s { wpa_supplicant ${cmd_args} } )
[environment]
cmd_args=!-c/etc/wpa_supplicant/wpa_supplicant-wired-@I.conf -Dwired -i@I
[main]
@type = classic
@description = "wpa_supplicant@@I daemon"
@user = ( root )
@options = ( log env )
[start]
@build = auto
@execute = ( execl-cmdline -s { wpa_supplicant ${cmd_args} } )
[environment]
cmd_args=!-c/etc/wpa_supplicant/wpa_supplicant-@I.conf -i@I
Copyright (c) 2018-2021 Eric Vidal <eric@obarun.org>
Copyright (c) 2018-2021 Jean-Michel T.Dydak <jean-michel@obarun.org>
All rights reserved.
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# Obarun : 66 init/supervisor
# Maintainer : Eric Vidal <eric@obarun.org>
# Maintainer : Jean-Michel T.Dydak <jean-michel@obarun.org>
# PkgSource : https://git.obarun.org/observice/wpa_supplicant-66serv
#--------------------------------------------------------------------------------------
service=(
'wpa_supplicant'
'wpa_supplicant@'
'wpa_supplicant-nl80211@'
'wpa_supplicant-wired@'
)
pkgname=wpa_supplicant-66serv
pkgdesc="wpa_supplicant services for 66 tools"
pkgver=0.2.0
pkgrel=1
url="https://git.obarun.org/pkg/observice/${pkgname}.git"
track=branch
target=master
source=("${pkgname}::git+${url}#${track}=${target}")
makedepends=(
'git')
#--------------------------------------------------------------------------------------
prepare() {
cd "${pkgname}/trunk"
for i in ${service[@]};do
sed "s:@VERSION@:${pkgver}:" -i "${i}"
done
}
#--------------------------------------------------------------------------------------
package() {
cd "${pkgname}/trunk"
for i in ${service[@]};do
install -Dm 0644 ${i} "${pkgdir}"/usr/lib/66/service/${i}
done
install -Dm 0644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
}
#--------------------------------------------------------------------------------------
arch=('x86_64')
depends=(
'66>=0.3.0.0'
'66-tools>=0.0.5.0'
'wpa_supplicant')
#--------------------------------------------------------------------------------------
sha512sums=('SKIP')
license=('0BSD')
[main]
@type = classic
@version = @VERSION@
@description = "wpa_supplicant daemon"
@user = ( root )
@options = ( log env )
[start]
@build = auto
@execute = ( execl-cmdline -s { wpa_supplicant ${cmd_args} } )
[environment]
cmd_args=!-udW
[main]
@type = classic
@version = @VERSION@
@description = "wpa_supplicant-nl80211@@I daemon"
@user = ( root )
@options = ( log env )
[start]
@build = auto
@execute = ( execl-cmdline -s { wpa_supplicant ${cmd_args} } )
[environment]
cmd_args=!-c/etc/wpa_supplicant/wpa_supplicant-nl80211-@I.conf -Dnl80211 -i@I
[main]
@type = classic
@version = @VERSION@
@description = "wpa_supplicant-wired@@I daemon"
@user = ( root )
@options = ( log env )
[start]
@build = auto
@execute = ( execl-cmdline -s { wpa_supplicant ${cmd_args} } )
[environment]
cmd_args=!-c/etc/wpa_supplicant/wpa_supplicant-wired-@I.conf -Dwired -i@I
[main]
@type = classic
@version = @VERSION@
@description = "wpa_supplicant@@I daemon"
@user = ( root )
@options = ( log env )
[start]
@build = auto
@execute = ( execl-cmdline -s { wpa_supplicant ${cmd_args} } )
[environment]
cmd_args=!-c/etc/wpa_supplicant/wpa_supplicant-@I.conf -i@I
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment