Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/asterisk

Buildroot ulf at uclibc.org 3 participants 3 messages Nov 29, 2007

lore
Share & tools
lore
#0 lore raw

Author: ulf
Date: 2007-11-29 05:01:45 -0800 (Thu, 29 Nov 2007) New Revision: 20582

Log:
Make asterisk depend on packets, instead of selecting them

Modified:
trunk/buildroot/package/asterisk/Config.in

Changeset:
Modified: trunk/buildroot/package/asterisk/Config.in
===================================================================

buildroot/package/asterisk/Config.in +5 -2
@@ -3,8 +3,11 @@
 	default n
 	select BR2_PACKAGE_NCURSES
 	select BR2_PACKAGE_ZLIB
-	select BR2_PACKAGE_OPENSSL
-	select BR2_PACKAGE_MPG123
+	depends BR2_PACKAGE_OPENSSL
+	depends BR2_PACKAGE_MPG123
 	help
 		Asterisk - the Open Source PBX
 
+comment "asterisk	- disabled (required openssl and mpg123)"
+	depends !BR2_PACKAGE_OPENSSL || ! BR2_PACKAGE_MPG123
+
#1 lore raw

Hi all, Ulf,

Doesn't changing the selects to depends on packages (such as
asterix, ipsec, etc) affect usability quite negatively?
If I want to have asterisk, I go for asterisk, just to find out I
have to enable packages in other places. If they are not optional, what is the point in making the user manually go thru menus looking for packages to select? It's not like I will give up on asterisk because you are making it harder to enable, right?

So, why the changes?

Regards,
Thiago A. Correa

Quoted 36 lines · On Nov 29, 2007 11:01 AM, <[email protected]> wrote:

Author: ulf
Date: 2007-11-29 05:01:45 -0800 (Thu, 29 Nov 2007) New Revision: 20582

Log:
Make asterisk depend on packets, instead of selecting them

Modified:
trunk/buildroot/package/asterisk/Config.in

Changeset:
Modified: trunk/buildroot/package/asterisk/Config.in
===================================================================

buildroot/package/asterisk/Config.in 2007-11-29 13:01:45 UTC (rev 20582) renamed from buildroot/package/asterisk/Config.in 2007-11-29 13:01:23 UTC (rev 20581) +5 -2
@@ -3,8 +3,11 @@
        default n
        select BR2_PACKAGE_NCURSES
        select BR2_PACKAGE_ZLIB
-       select BR2_PACKAGE_OPENSSL
-       select BR2_PACKAGE_MPG123
+       depends BR2_PACKAGE_OPENSSL
+       depends BR2_PACKAGE_MPG123
        help
                Asterisk - the Open Source PBX
 
+comment "asterisk      - disabled (required openssl and mpg123)"
+       depends !BR2_PACKAGE_OPENSSL || ! BR2_PACKAGE_MPG123
+

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

#2 lore raw
Quoted 4 lines

Hi all, Ulf,

Doesn't changing the selects to depends on packages (such as
asterix, ipsec, etc) affect usability quite negatively?

I am trying to get rid of the problem, that packages "disappear" when the "depends on" are invalid.

There are also a lot of broken packages, and you
decide that you do not want a certain package,
since it is broken, then it takes a long time to find out what is causing package to be built

This approach gives you better finetuning capabilities.

Note that once you have done your configuration, you can:

$ make saveconfig
and your project file will be saved.

If you make the "local" directory a symbolic link
to a project directory, then you can download
a new trunk, and do

make BOARD=<yourboard> getconfig

and you have all your settings back.

Quoted 8 lines

If I want to have asterisk, I go for asterisk, just to find out I
have to enable packages in other places. If they are not optional, what is the point in making the user manually go thru menus looking for packages to select? It's not like I will give up on asterisk because you are making it harder to enable, right?

So, why the changes?

Best Regards
Ulf Samuelsson