Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

narcissus: move network packages to their own section

  • Loading branch information...
commit 253d65c42f4040cda1b0ee3c91ddd2ab5978701c 1 parent 2c90008
@koenkooi koenkooi authored
Showing with 29 additions and 16 deletions.
  1. +26 −13 index.php
  2. +3 −3 scripts/js/internal_request.js
View
39 index.php
@@ -22,6 +22,8 @@ function initForm() {
toggleVisibility('devel');
toggleVisibility('console_packages');
toggleVisibility('platform_packages');
+ toggleVisibility('network_packages');
+
toggleVisibility('x11_packages');
environmentChange();
@@ -120,13 +122,9 @@ function config_dropdown()
$console_packages_array = array("Aircrack-ng" => "aircrack-ng",
"All kernel modules" => "kernel-modules",
"Alsa utils" => "alsa-utils-alsamixer alsa-utils-aplay alsa-utils-amixer alsa-utils-aconnect alsa-utils-iecset alsa-utils-speakertest alsa-utils-aseqnet alsa-utils-aseqdump alsa-utils-alsaconf alsa-utils-alsactl",
- "Apache" => "apache2",
"Beagleboard demo" => "task-beagleboard-demo",
"Bluez" => "bluez-utils",
- "Boa" => "boa",
"cwiid" => "cwiid",
- "Cherokee" => "cherokee",
- "Dropbear SSH server" => "dropbear",
"DVB-utils" => "dvb-azap dvb-tzap dvb-czap dvb-szap dvb-scan wscan dvbstream dvbtune",
"Flite" => "flite libflite-cmu-us-kal1",
"Gdbserver" => "gdbserver",
@@ -141,22 +139,14 @@ function config_dropdown()
"LCD4Linux" => "lc4linux",
"LIRC" => "lirc",
"Mediatomb" => "mediatomb",
- "Moblin connection manager" => "connman",
"MPlayer" => "mplayer",
"Mythtv backend" => "mythtv-backend",
- "Nmap" => "nmap",
- "NTP" => "ntp",
- "NTPclient" => "ntpclient",
- "NTPdate" => "ntpdate",
"Octave" => "octave",
"OpenCV" => "opencv-samples",
"Powertop" => "powertop",
"QT/e 4" => "qt4-embedded-demos qt4-embedded-plugin-gfxdriver-gfxvnc qt4-embedded",
- "Rtorrent" => "rtorrent",
- "Samba" => "samba",
"Screen" => "screen",
- "Video Disc Recoder" => "vdr",
- "Wireless-tools" => "wireless-tools");
+ "Video Disc Recoder" => "vdr");
$x11_packages_array = array("Abiword" => "abiword",
"Duke Nukem 3D" => "duke3d",
@@ -189,6 +179,22 @@ function config_dropdown()
"Wireshark" => "wireshark",
"Zhone" => "zhone frameworkd");
+$network_packages_array = array("Apache" => "apache2",
+ "Boa" => "boa",
+ "Cherokee" => "cherokee",
+ "Dropbear SSH server" => "dropbear",
+ "Moblin connection manager" => "connman",
+ "NetworkManager" => "networkmanager networkmanager-openvpn",
+ "NetworkManager GUI applet" => "network-manager-applet",
+ "Nmap" => "nmap",
+ "NTP" => "ntp",
+ "NTPclient" => "ntpclient",
+ "NTPdate" => "ntpdate",
+ "Rtorrent" => "rtorrent",
+ "Samba" => "samba",
+ "Wireless-tools" => "wireless-tools"
+ );
+
$platform_omap_packages_array = array("Texas Instruments Gstreamer plugins" => "gstreamer-ti",
"PowerVR SGX drivers for OMAP3" => "libgles-omap3",
"Quake 3 (GLES)" => "quake3-pandora-gles libgles-omap3",
@@ -312,6 +318,13 @@ function config_dropdown()
}?>
</div>
+ <img src='img/expand.gif' onClick="toggleVisibility('network_packages');"> Network related packages:<br/>
+ <div id='network_packages'>
+ <?foreach ($network_packages_array as $pkg => $pkgdepends) {
+ print("<input type=\"checkbox\" name=\"network_packages\" value=\"$pkgdepends\">$pkg<br/>\n");
+ }?>
+ </div>
+
<img src='img/expand.gif' onClick="toggleVisibility('platform_packages');"> Platform specific packages:<br/>
<div id='platform_packages'>
View
6 scripts/js/internal_request.js
@@ -58,9 +58,9 @@ function configureImage(){
packagestring += " " + devmanager + " angstrom-version tinylogin initscripts sysvinit sysvinit-pidof ";
packagestring += " " + concatArray(document.entry_form.devel);
- packagestring += " " + concatArray(document.entry_form.console_packages);
- packagestring += " " + concatArray(document.entry_form.platform_packages);
-
+ packagestring += " " + concatArray(document.entry_form.console_packages);
+ packagestring += " " + concatArray(document.entry_form.platform_packages);
+ packagestring += " " + concatArray(document.entry_form.network_packages);
packagestring += " " + document.entry_form.environment.value;
if(document.entry_form.environment.selectedIndex == 1) {
Please sign in to comment.
Something went wrong with that request. Please try again.