Question: Where can I find the sources for AsteriskNOW. I mean SRPMS and files needed to customize the distrbution.
Answer 1: yum Download All Source Packages (SRPM) From RedHat / CentOS WebSite http://www.cyberciti.biz/faq/yum-download-source-packages-from-rhn/ Type the following to install yum-utils: # yum install yum-utils create a repo for SRPM as follows: # vi /etc/yum.repos.d/srpm.repo Append the following code: [rhel-src] name=Red Hat Enterprise Linux $releasever - $basearch - Source baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/SRPMS/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-relHow do I download php srpm file?# yumdownloader --source {packagename} # yumdownloader --source php Sample output: Loaded plugins: rhnplugin rhel-src | 951 B 00:00 primary.xml.gz | 615 kB 00:02 rhel-src 2266/2266 Enabling epel-source repository epel-source | 1.9 kB 00:00 primary.sqlite.bz2 | 662 kB 00:00 Enabling epel-source repository php-5.1.6-23.el5.src.rpm To list file, enter: # ls *src.rpm -------------------------------------------------------------------------------------------------------------------------- Answer 2:This document will guide you on how to rebuild a Source RPM (SRPM) package on your CentOS distribution. http://wiki.centos.org/HowTos/RebuildSRPMRebuild a Source RPM Where to Get SRPM Packages (the same place as before) http://ftp.redhat.com/pub/redhat/linux/enterprise/ and http://mirror.centos.org/centos/ http://mirror.centos.org/centos/3/contrib/i386/SRPMS/ Check that you have rpmbuild installed[root@hostname ~]# yum install rpm-build or [userid@hostname ~]$ sudo yum install rpm-build [userid@hostname ~]$ mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} and then: [userid@hostname ~]$ echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros Other tools you may need........... [user@host ~]$ rpm -i /tmp/mypackage-1.0.0-1.src.rpm [user@host ~]$ cd ~/rpmbuild/SPECS [user@host SPECS]$ rpmbuild -ba mypackage.spec and more ..... --------------------------------------------------------------------------------------------------------------------------------- addition: Wiki :: Sangoma Technologies http://wiki.sangoma.com/wanpipe-linux-asterisk-asterisknow SOURCE INSTALLATION RPM Installation and more ***Please not that if you are using Kernel 2.6.18-128.1.1.el5 then the kernel-devel package will not work and you must download it from here: kernel-devel-2.6.18-128.1.1.el5.i686.rpm**** Good Luck ! Krystyna > From: [email protected] > Subject: asterisknow Digest, Vol 40, Issue 3 > To: [email protected] > Date: Sat, 5 Feb 2011 12:00:01 -0600 > > Send asterisknow mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.digium.com/mailman/listinfo/asterisknow > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of asterisknow digest..." > > > Today's Topics: > > 1. Getting AsteriskNOW sources (mosbah abdelkader) > 2. Re: asterisknow Digest, Vol 40, Issue 2 (Krystyna Haberek) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 4 Feb 2011 21:51:48 +0100 > From: mosbah abdelkader <[email protected]> > Subject: [asterisknow] Getting AsteriskNOW sources > To: [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > > Where can I find the sources for AsteriskNOW. I mean SRPMS and files needed > to customize the distrbution. > > > Thank you. >
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisknow mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisknow
