X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by lists.alpinelinux.org (Postfix) with ESMTP id E5FDE170000BA for ; Thu, 5 Mar 2009 21:11:52 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so139030qwi.13 for ; Thu, 05 Mar 2009 13:11:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:mime-version:subject:date:x-mailer; bh=SoMFZg5EfpkKtgpBIngZB/qHpd2luKjvPlTyasvL7xQ=; b=DAbknGa13cCzk7GJaWHY39usEWbGQcpofa1/jwH2rVdwAF2xrMJeBEJF23/vNJR502 w6l3drPL/cTg6CDJFRL3cA8Z3Z2vSAH+RkauX38CB+2mifYSBanRfswnXzxH0Tv4rSaq FTPgxU23TIE2sLWWJe0f5LTDF5OUMHrtKxt9g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:mime-version:subject:date:x-mailer; b=aHVaGRUKtiHWPSW3xNRkBkNxlPzdPVoWADM54RT+9Q2R1biK5bg03Zcf3bArvlfH9c 65h7DgPoLry6mC1WaOEmWwpIF25CVCWaXp7i4XwrrqnRHcq1AYB/0zrjFuwVBDWY8rKD kTzhAKdZbO0LX/q+YyREIs0QRe/O3AWYvaQ4k= Received: by 10.224.45.134 with SMTP id e6mr2612611qaf.237.1236287511413; Thu, 05 Mar 2009 13:11:51 -0800 (PST) Received: from whopper.dev.wtbts.net ([208.74.141.8]) by mx.google.com with ESMTPS id 7sm393982qwf.10.2009.03.05.13.11.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 05 Mar 2009 13:11:50 -0800 (PST) Message-Id: <27927D8B-2CF8-4AEB-B250-1B5B379721C7@gmail.com> From: Michael Mason To: alpine-devel@lists.alpinelinux.org Content-Type: multipart/mixed; boundary=Apple-Mail-4-282271172 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 (Apple Message framework v930.3) Subject: [alpine-devel] testing/freeswitch Date: Thu, 5 Mar 2009 21:11:48 +0000 X-Mailer: Apple Mail (2.930.3) --Apple-Mail-4-282271172 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Please review. I know this is a "work in progress". Needs to have the db and log dir changed so as not to be in /usr/. Also working on getting it to not be dependent on so many packages. The init script will need some work too. This should allow you to install on alpine-1.9 and it be able to startup. --Apple-Mail-4-282271172 Content-Disposition: attachment; filename=0001-testing-freeswitch-Patch-for-initd-and-install-scrip.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-testing-freeswitch-Patch-for-initd-and-install-scrip.patch" Content-Transfer-Encoding: quoted-printable =46rom=20776cf215631b9cd55bd4d196f1bc46cf679d2fd0=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Michael=20Mason=20=0ADate:=20= Thu,=205=20Mar=202009=2021:05:16=20+0000=0ASubject:=20[PATCH]=20= testing/freeswitch=20Patch=20for=20initd=20and=20install=20scripts=0A=0A= ---=0A=20testing/freeswitch/freeswitch.initd=20=20=20|=20=20=2019=20= +++++++++++++++++++=0A=20testing/freeswitch/freeswitch.install=20|=20=20=20= 15=20+++++++++++++++=0A=202=20files=20changed,=2034=20insertions(+),=200=20= deletions(-)=0A=20create=20mode=20100644=20= testing/freeswitch/freeswitch.initd=0A=20create=20mode=20100755=20= testing/freeswitch/freeswitch.install=0A=0Adiff=20--git=20= a/testing/freeswitch/freeswitch.initd=20= b/testing/freeswitch/freeswitch.initd=0Anew=20file=20mode=20100644=0A= index=200000000..34f4413=0A---=20/dev/null=0A+++=20= b/testing/freeswitch/freeswitch.initd=0A@@=20-0,0=20+1,19=20@@=0A= +#!/sbin/runscript=0A+=0A+NAME=3Dfreeswitch=0A+USER=3Dfreeswitch=0A= +DAEMON=3D/usr/bin/freeswitch=0A+OPTIONS_START=3D"-u=20$USER=20-g=20= $GROUP=20-nc"=0A+OPTIONS_STOP=3D"-stop"=0A+=0A+start()=20{=0A+=09ebegin=20= "Starting=20$NAME"=0A+=09=09$DAEMON=20$OPTIONS_START=20=0A+=09eend=200=0A= +=09}=0A+=0A+stop()=20{=0A+=09ebegin=20"Stopping=20$NAME"=0A+=09=09= $DAEMON=20$OPTIONS_STOP=0A+=09eend=200=0A+=09}=0Adiff=20--git=20= a/testing/freeswitch/freeswitch.install=20= b/testing/freeswitch/freeswitch.install=0Anew=20file=20mode=20100755=0A= index=200000000..0507fe5=0A---=20/dev/null=0A+++=20= b/testing/freeswitch/freeswitch.install=0A@@=20-0,0=20+1,15=20@@=0A= +#!/bin/sh=0A+=0A+case=20"$1"=20in=0A+=09pre_install)=0A+=09=09adduser=20= -h=20/dev/null=20-s=20/bin/false=20-D=20freeswitch=202>/dev/null=0A+=09=09= ;;=0A+=09post_install)=0A+=09=09chown=20-R=20freeswitch:freeswitch=20= /etc/freeswitch/=09=0A+=09=09;;=0A+=09post_deinstall)=0A+=09=09deluser=20= freeswitch=0A+=09=09delgroup=20freeswitch=0A+=09=09;;=0A+esac=0A+=0A--=20= =0A1.6.1.3=0A=0A= --Apple-Mail-4-282271172 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit --Apple-Mail-4-282271172-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---