Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
657
Issues
657
List
Boards
Labels
Service Desk
Milestones
Merge Requests
222
Merge Requests
222
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
90050237
Commit
90050237
authored
Aug 10, 2011
by
Natanael Copa
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/freeswitch: move sounds to /usr/share. subpkg for timezones
fixes
#647
fixes
#701
parent
08c7d9a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
5 deletions
+18
-5
main/freeswitch/APKBUILD
main/freeswitch/APKBUILD
+18
-5
No files found.
main/freeswitch/APKBUILD
View file @
90050237
...
...
@@ -4,7 +4,7 @@ pkgname=freeswitch
pkgver
=
1.0.7_p20110602
_ver
=
${
pkgver
%_p*
}
_snapshot
=
${
pkgver
#*_p
}
pkgrel
=
5
pkgrel
=
6
pkgdesc
=
"A communications platform written in C from the ground up"
url
=
"http://www.freeswitch.org"
arch
=
"all"
...
...
@@ -15,8 +15,8 @@ makedepends="curl-dev unixodbc-dev zlib-dev openssl-dev ncurses-dev
libiconv-dev subversion flac-dev libogg-dev libvorbis-dev
jpeg-dev"
install
=
"
$pkgname
.pre-install
$pkgname
.post-install
$pkgname
.pre-upgrade"
subpackages
=
"
$pkgname
-dev
$pkgname
-flite
$pkgname
-
sample-config:conf
$pkgname
-freetdm
$pkgname
-sangoma"
subpackages
=
"
$pkgname
-dev
$pkgname
-flite
$pkgname
-
timezones
$pkgname
-
sample-config:conf
$pkgname
-
freetdm
$pkgname
-sangoma"
source
=
"saveas-http://latest.freeswitch.org/freeswitch-
$_ver
.tar.gz/freeswitch-
$pkgver
.tar.gz
freeswitch-mod_shout-textrels.patch
0001-mod_sofia-update-mod_sofia_globals.guess_ip-on-addre.patch
...
...
@@ -46,7 +46,9 @@ build() {
# by specifying it here we save our selves from some CPU cycles
export
lt_cv_sys_max_cmd_len
=
8192
sed
-i
-e
's#^dbdir="${prefix}/db"#dbdir="/var/lib/freeswitch"#'
configure.in
||
return
1
sed
-i
-e
's#^dbdir="${prefix}/db"#dbdir="/var/lib/freeswitch"#'
\
-e
's#^soundsdir=.*#soundsdir="${prefix}/share/freeswitch/sounds"#'
\
configure.in
||
return
1
./bootstrap.sh
cp
-f
"
$srcdir
/modules.conf"
modules.conf
||
return
1
...
...
@@ -79,7 +81,7 @@ package(){
mkdir
-p
"
$pkgdir
"
/var/run/freeswitch
mkdir
-p
"
$pkgdir
"
/var/lib/freeswitch
mkdir
-p
"
$pkgdir
"
/var/log
mkdir
-p
"
$pkgdir
"
/usr/share/freeswitch
mkdir
-p
"
$pkgdir
"
/usr/share/freeswitch
/sounds
mv
"
$pkgdir
"
/usr/db
"
$pkgdir
"
/var/lib/freeswitch/
mv
"
$pkgdir
"
/usr/grammar
"
$pkgdir
"
/var/lib/freeswitch/
mv
"
$pkgdir
"
/usr/htdocs
"
$pkgdir
"
/usr/share/freeswitch/
...
...
@@ -127,9 +129,20 @@ sangoma() {
_mv_mod mod_sangoma_codec
}
timezones
()
{
pkgdesc
=
"Freeswitch timezone configuration"
arch
=
"noarch"
install
=
replaces
=
"freeswitch-sample-config"
mkdir
-p
"
$subpkgdir
"
/etc/freeswitch/autoload_configs
mv
"
$pkgdir
"
/etc/freeswitch/autoload_configs/timezones.conf.xml
\
"
$subpkgdir
"
/etc/freeswitch/autoload_configs
}
conf
()
{
pkgdesc
=
"Freeswitch sample configureation"
arch
=
"noarch"
depends
=
"freeswitch-timezones"
install
=
mkdir
-p
"
$subpkgdir
"
/etc/freeswitch
# move all configs except freeswitch.xml
...
...
aa latchm
@aalatchm
mentioned in issue
#647 (closed)
·
Jul 12, 2019
mentioned in issue
#647 (closed)
mentioned in issue #647
Toggle commit list
Natanael Copa
@ncopa
mentioned in issue
#701 (closed)
·
Jul 12, 2019
mentioned in issue
#701 (closed)
mentioned in issue #701
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment