diff options
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/asterisk/ChangeLog | 3 | ||||
-rw-r--r-- | net-misc/asterisk/Manifest | 4 | ||||
-rw-r--r-- | net-misc/asterisk/asterisk-1.6.0.ebuild | 26 |
3 files changed, 17 insertions, 16 deletions
diff --git a/net-misc/asterisk/ChangeLog b/net-misc/asterisk/ChangeLog index 1bfe5d7..8c9b797 100644 --- a/net-misc/asterisk/ChangeLog +++ b/net-misc/asterisk/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/skel.ChangeLog,v 1.2 2006/02/22 02:08:04 hd_brummy Exp $ + 06 Oct 2008; Rambaldi <rambaldi@xs4all.nl> asterisk-1.6.0.ebuild: + net-misc/asterisk-1.6.0: added ~amd64 and ~x86 keywords + 05 Oct 2008; Rambaldi <rambaldi@xs4all.nl> asterisk-1.6.0.ebuild: net-misc/asterisk-1.6.0: inital dahdi support, most likely very broken ... diff --git a/net-misc/asterisk/Manifest b/net-misc/asterisk/Manifest index a5a3cb4..a592dc9 100644 --- a/net-misc/asterisk/Manifest +++ b/net-misc/asterisk/Manifest @@ -16,6 +16,6 @@ DIST asterisk-1.4.22.tar.gz 11598693 RMD160 4699c6963089fd196836f7f86f9827edc13c DIST asterisk-1.6.0.tar.gz 13199481 RMD160 891bb54751965333e6a87de925e33d4c6da76095 SHA1 c96717d8cbb70b538b7b9183a76fd69c39543acc SHA256 742e91f3e69a7686c7c3c31b368d5e1c0b64a73afd5415e6753a7a02aa79ff93 EBUILD asterisk-1.4.21.2.ebuild 11269 RMD160 151426a64bfc64315f89ccd8d8617d86b6a7b254 SHA1 a549e825fb0b2a540c4228994539b9f981445844 SHA256 c648f2557d7a90dcfbb0b97bfbc23808f10f41a7450566b1ae7fc161b0a01eee EBUILD asterisk-1.4.22.ebuild 11269 RMD160 151426a64bfc64315f89ccd8d8617d86b6a7b254 SHA1 a549e825fb0b2a540c4228994539b9f981445844 SHA256 c648f2557d7a90dcfbb0b97bfbc23808f10f41a7450566b1ae7fc161b0a01eee -EBUILD asterisk-1.6.0.ebuild 11044 RMD160 b04ae3a0ed79b3c7e9d492aaaf97cc9a44a7841e SHA1 7a9da9bea668d6bb4a8e6d22712ed1d76f394ea1 SHA256 12c5d8000fae8cbada533de6cc4d1a70dabfb9578942db3f631c116f8832cd9d -MISC ChangeLog 5293 RMD160 c86c5955726517f36be09f95b89228a6b45ee91b SHA1 e97f6a43bacf3940c9f9e9eaef18e593cad8b976 SHA256 d72190bd8e02831d7f30cf02df07494ba87915896d7d8a2ceb29d6d107e45f27 +EBUILD asterisk-1.6.0.ebuild 11051 RMD160 da8655aef8b893158944d43f49ff8147b0ad5655 SHA1 0e0a855d3d25ed0e3cc5a8a7f075b1da596af7f6 SHA256 b4d0894c82278cc99b3fa0316363a3f0e02fc569f198fd8a06f5166c8a1d8f9a +MISC ChangeLog 5420 RMD160 aa285991d95f4ebbca25d2f34b620d1ab96a6f81 SHA1 200e685f1c4cf288e84235ae3809ef580588d47b SHA256 61e89a19b8e83f10a195ed84bb3a368fa03679446cfb45c46fcddfd399b2034d MISC metadata.xml 139 RMD160 c84b2b78f85074cc5c7d26cb757d91c8384fa16a SHA1 00e3ae2ead875413d94aeafa5279646740c2c21d SHA256 5cdc1888ebc8807b9a37b1d33429c61cabe7415a4f240e21a4c2ff8eca7a34ed diff --git a/net-misc/asterisk/asterisk-1.6.0.ebuild b/net-misc/asterisk/asterisk-1.6.0.ebuild index fef3747..07631fe 100644 --- a/net-misc/asterisk/asterisk-1.6.0.ebuild +++ b/net-misc/asterisk/asterisk-1.6.0.ebuild @@ -11,8 +11,7 @@ HOMEPAGE="http://www.asterisk.org/" SRC_URI="http://downloads.digium.com/pub/asterisk/releases/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" -#KEYWORDS="~amd64 ~x86" -KEYWORDS="" +KEYWORDS="~amd64 ~x86" IUSE="alsa +caps curl dahdi debug freetds h323 iconv imap jabber ldap keepsrc misdn mmx newt nosamples odbc oss pic postgres radius snmp speex ssl sqlite static vorbis" @@ -372,14 +371,7 @@ src_install() { # install the upgrade documentation # dodoc README UPGRADE* BUGS CREDITS -} - -pkg_preinst() { - enewgroup asterisk - enewuser asterisk -1 -1 /var/lib/asterisk asterisk -} -pkg_postinst() { einfo "Fixing permissions" for x in spool run lib log; do fowners -R asterisk:asterisk /var/${x}/asterisk @@ -388,8 +380,14 @@ pkg_postinst() { fowners -R root:asterisk /etc/asterisk fperms -R u=rwX,g=rX,o= /etc/asterisk - echo +} +pkg_preinst() { + enewgroup asterisk + enewuser asterisk -1 -1 /var/lib/asterisk asterisk +} + +pkg_postinst() { # # Announcements, warnings, reminders... # @@ -428,12 +426,12 @@ pkg_config() { einfo "Resetting permissions to defaults..." for x in spool run lib log; do - fowners -R asterisk:asterisk /var/${x}/asterisk - fperms -R u=rwX,g=rX,o= /var/${x}/asterisk + chown -R asterisk:asterisk "${ROOT}"var/${x}/asterisk + chmod -R u=rwX,g=rX,o= "${ROOT}"var/${x}/asterisk done - fowners -R root:asterisk /etc/asterisk - fperms -R u=rwX,g=rX,o= /etc/asterisk + chown -R root:asterisk "${ROOT}"etc/asterisk + chmod -R u=rwX,g=rX,o= "${ROOT}"etc/asterisk einfo "done" else |