517 lines
6.9 KiB
Bash
Executable File
517 lines
6.9 KiB
Bash
Executable File
#!/bin/sh
|
|
alias mk="scripts/mkpkg"
|
|
|
|
function nmk()
|
|
{
|
|
printf "mk %-31s" "$1"
|
|
if [ "$2X" == "OKX" ] ; then
|
|
echo "DISABLED $3 $4"
|
|
elif [ "$2X" == "FAILX" ] ; then
|
|
echo "DISABLED $3 $4"
|
|
elif [ "$2X" == "BROKENX" ] ; then
|
|
echo "DISABLED $3 $4"
|
|
elif [ "$2X" == "DISABLEDX" ] ; then
|
|
echo "DISABLED $3 $4"
|
|
else
|
|
echo "DISABLED $2 $3 $4"
|
|
fi
|
|
}
|
|
|
|
if [ ${already-done} == 1 ] ; then
|
|
nmk busybox
|
|
|
|
fi # ********* already-done
|
|
#**********************************************************************************
|
|
|
|
# Enable HASERL
|
|
sed -i s/.*BR2_PACKAGE_HASERL.*// .config
|
|
echo "# BR2_PACKAGE_HASERL_VERSION_0_8_X is not set" >> .config
|
|
echo "BR2_PACKAGE_HASERL_VERSION_0_9_X=y" >> .config
|
|
echo "BR2_PACKAGE_HASERL_VERSION=\"0.9.25\"" >> .config
|
|
echo "BR2_PACKAGE_HASERL=y" >> .config
|
|
# Enable SSL
|
|
sed -i s/.*BR2_PACKAGE_OPENSSL.*// .config
|
|
echo "BR2_PACKAGE_OPENSSL=y" >> .config
|
|
# Enable socat
|
|
sed -i s/.*BR2_PACKAGE_SOCAT.*// .config
|
|
echo "BR2_PACKAGE_SOCAT=y" >> .config
|
|
echo "BR2_PACKAGE_SOCAT_PREDEF_CRDLY_SHIFT=\"9\"" >> .config
|
|
echo "BR2_PACKAGE_SOCAT_PREDEF_TABDLY_SHIFT=\"11\"" >> .config
|
|
echo "BR2_PACKAGE_SOCAT_PREDEF_CSIZE_SHIFT=\"4\"" >> .config
|
|
# Enable Freetype
|
|
sed -i s/.*BR2_PACKAGE_FREETYPE.*// .config
|
|
echo "BR2_PACKAGE_FREETYPE=y" >> .config
|
|
sed -i s/.*BR2_FREETYPE_VERSION.*// .config
|
|
echo "# BR2_FREETYPE_VERSION_2_2_1 is not set" >> .config
|
|
echo "BR2_FREETYPE_VERSION_2_3_7=y" >> .config
|
|
echo "BR2_FREETYPE_VERSION=\"2.3.7\"" >> .config
|
|
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk bash
|
|
mk bzip2
|
|
mk coreutils
|
|
mk diffutils
|
|
mk findutils
|
|
fi
|
|
|
|
mk flex
|
|
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk gawk
|
|
fi
|
|
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk grep
|
|
fi
|
|
|
|
mk make
|
|
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk patch
|
|
mk sed
|
|
mk tar
|
|
fi
|
|
|
|
echo "# Other development stuff"
|
|
mk autoconf
|
|
mk automake
|
|
mk bison
|
|
|
|
mk cvs
|
|
mk distcc
|
|
mk dmalloc
|
|
mk fakeroot
|
|
mk gettext
|
|
|
|
|
|
mk libgmp
|
|
mk gperf
|
|
mk libmpfr
|
|
mk libtool
|
|
mk m4
|
|
nmk mpatrol "Needs gdb to build, and GDB_VERSION is not defined"
|
|
mk oprofile
|
|
mk pkgconfig
|
|
mk readline
|
|
nmk valgrind "x86 specific"
|
|
mk pcre
|
|
|
|
echo "# Other stuff"
|
|
mk at
|
|
mk beecrypt
|
|
mk berkeleydb
|
|
mk bsdiff
|
|
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk bootutils
|
|
fi
|
|
|
|
mk cups
|
|
mk customize
|
|
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk dash
|
|
fi
|
|
|
|
mk file
|
|
mk gamin
|
|
mk icu
|
|
mk kexec
|
|
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk less
|
|
fi
|
|
|
|
mk libconfig
|
|
mk libconfuse
|
|
mk libdaemon
|
|
mk libelf
|
|
mk libevent
|
|
nmk libfloat # obsolete
|
|
mk libgcrypt
|
|
mk libgpg-error
|
|
nmk libiconv
|
|
mk liblockfile
|
|
mk liboil
|
|
mk libsysfs
|
|
mk lockfile-progs
|
|
mk logrotate
|
|
mk lsof
|
|
nmk ltp-testsuite
|
|
mk ltrace
|
|
mk ltt
|
|
mk memstat
|
|
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk module-init-tools
|
|
mk modutils
|
|
fi
|
|
|
|
mk ng-spice-rework
|
|
mk popt
|
|
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk procps
|
|
fi
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk psmisc
|
|
fi
|
|
|
|
mk screen
|
|
mk strace
|
|
mk sudo
|
|
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk sysklogd
|
|
# busybox has init and the runit stuff
|
|
mk sysvinit
|
|
mk tinylogin
|
|
mk util-linux
|
|
mk which
|
|
fi
|
|
|
|
nmk database BROKEN "Need to enter subdirectory"
|
|
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
# busybox has an editor
|
|
|
|
# text editors
|
|
mk editors
|
|
|
|
fi
|
|
|
|
|
|
echo "# Networking applications"
|
|
mk argus
|
|
mk avahi
|
|
mk axel
|
|
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk boa
|
|
fi
|
|
|
|
mk bind
|
|
mk bridge
|
|
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk dhcp
|
|
fi
|
|
|
|
mk dnsmasq
|
|
mk dropbear
|
|
mk ethtool
|
|
|
|
mk haserl
|
|
mk hostap
|
|
mk ifplugd
|
|
mk irda-utils "Makefile is invalid"
|
|
mk iperf
|
|
mk iproute2
|
|
mk ipsec-tools
|
|
mk iptables
|
|
mk kismet
|
|
mk l2tp
|
|
mk libcgi
|
|
mk libcgicc
|
|
mk libeXosip2
|
|
mk libpcap
|
|
mk libupnp
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk lighttpd
|
|
fi
|
|
|
|
mk links
|
|
mk lrzsz
|
|
mk mdnsresponder
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk microcom
|
|
fi
|
|
mk mii-diag
|
|
mk mrouted
|
|
mk mutt
|
|
mk nbd
|
|
mk ncftp
|
|
mk neon
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk netcat
|
|
fi
|
|
mk netkitbase
|
|
mk netkittelnet
|
|
mk netplug
|
|
mk netsnmp
|
|
mk nfs-utils
|
|
mk ntp
|
|
mk olsr
|
|
|
|
|
|
|
|
mk ntpd
|
|
mk openssh
|
|
|
|
mk openssl
|
|
mk libcurl
|
|
|
|
mk openvpn
|
|
mk openswan
|
|
mk portmap
|
|
mk pppd
|
|
mk rp-pppoe
|
|
mk pptp-linux
|
|
|
|
mk proftpd
|
|
nmk quagga
|
|
mk rsync
|
|
mk samba
|
|
mk socat
|
|
mk stunnel
|
|
mk tcpdump
|
|
mk tftpd
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk thttpd
|
|
mk tinyhttpd
|
|
fi
|
|
mk tn5250
|
|
mk ttcp
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
# ATTENTION! This was merged into busybox!
|
|
nmk udhcp
|
|
fi
|
|
mk udpcast
|
|
mk vpnc
|
|
mk vsftpd
|
|
mk vtun
|
|
mk webif
|
|
|
|
mk libsoup.mk
|
|
mk gssdp
|
|
mk gupnp
|
|
mk gupnp-av
|
|
mk gupnp-igd
|
|
|
|
|
|
|
|
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk wget
|
|
fi
|
|
|
|
mk wireless-tools
|
|
|
|
|
|
echo "# Hardware handling / blockdevices and filesystem maintenance"
|
|
mk acpid
|
|
mk dbus
|
|
mk dbus-glib
|
|
mk devmem2
|
|
mk dm
|
|
mk dmraid
|
|
mk e2fsprogs
|
|
mk eeprog
|
|
mk fconfig
|
|
mk fis
|
|
|
|
mk libfuse
|
|
mk gadgetfs-test
|
|
|
|
|
|
mk hal
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk hdparm
|
|
mk hotplug
|
|
fi
|
|
mk hwdata
|
|
mk i2c-tools
|
|
mk input-tools
|
|
mk iostat
|
|
mk libaio
|
|
mk libraw1394
|
|
mk libusb
|
|
mk lm-sensors
|
|
mk lvm2
|
|
mk mdadm
|
|
mk memtester
|
|
mk mkdosfs
|
|
mk mtd
|
|
mk ntfs-3g
|
|
mk pciutils
|
|
mk pcmcia
|
|
mk raidtools2
|
|
mk setserial
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
# busybox has fdisk
|
|
mk sfdisk
|
|
fi
|
|
mk smartmontools
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
# mdev
|
|
mk udev
|
|
fi
|
|
mk usbmount
|
|
mk usbutils
|
|
mk wipe
|
|
nmk xfsprogs
|
|
|
|
echo "# Interpreter languages / Scripting"
|
|
|
|
mk lua
|
|
mk microperl
|
|
mk python
|
|
mk ruby
|
|
mk tcl
|
|
mk php
|
|
|
|
echo "# text rendering applications"
|
|
mk dialog
|
|
|
|
# Audio/Video support
|
|
echo "# Audio and video libraries and applications"
|
|
mk alsa-lib
|
|
mk alsa-utils
|
|
mk asterisk
|
|
mk aumix
|
|
mk gstreamer
|
|
mk gst-plugins-base
|
|
mk gst-plugins-good
|
|
mk gst-plugins-ugly
|
|
mk libid3tag
|
|
mk libmad
|
|
mk libmpd
|
|
mk libogg
|
|
mk libsndfile
|
|
mk libtheora
|
|
mk libvorbis
|
|
mk madplay
|
|
mk mpg123
|
|
mk mplayer
|
|
mk speex
|
|
mk festival
|
|
mk vlc
|
|
|
|
|
|
echo "# Graphic libraries and applications (graphic/text)"
|
|
echo "# text rendering libraries"
|
|
mk ncurses
|
|
mk newt
|
|
mk slang
|
|
|
|
|
|
echo "# graphic libraries"
|
|
mk directfb
|
|
mk directfb-examples
|
|
mk fbdump
|
|
mk linux-fusion
|
|
mk imagemagick
|
|
mk jpeg
|
|
mk libart
|
|
mk libpng
|
|
mk libungif
|
|
mk lite
|
|
mk pixman
|
|
mk sawman
|
|
mk sdl
|
|
mk sdl_image
|
|
mk sdl_mixer
|
|
mk SDL_net
|
|
mk sdl_ttf
|
|
mk tiff
|
|
|
|
echo "# busybox graphic applications"
|
|
echo "# --> May be broken in busybox"
|
|
mk fbv
|
|
mk fbset
|
|
|
|
echo "# other GUIs"
|
|
nmk qte
|
|
nmk qtopia4
|
|
|
|
|
|
if [ ${X-WIN} == 1 ] ; then
|
|
|
|
|
|
mk x11r7
|
|
|
|
echo "# X libraries and helper libraries"
|
|
echo "# maybe some of these should depend on !BR2_PACKAGE_XSERVER_none"
|
|
mk atk
|
|
mk cairo
|
|
mk pango
|
|
mk libdrm
|
|
mk liberation
|
|
mk libglade
|
|
mk libglib12
|
|
mk libglib2
|
|
mk libgtk12
|
|
mk libgtk2
|
|
mk gtk2-engines
|
|
mk gtk2-themes
|
|
mk libsexy
|
|
mk fltk
|
|
mk openmotif
|
|
mk fontconfig
|
|
mk freetype
|
|
mk tslib
|
|
mk webkit
|
|
|
|
nmk startup-notification # Depends on X11
|
|
|
|
echo "# X Window managers"
|
|
mk matchbox
|
|
mk metacity
|
|
mk blackbox
|
|
|
|
echo "# X applications"
|
|
mk alsamixergui
|
|
mk dillo
|
|
mk docker
|
|
mk gqview
|
|
mk gmpc
|
|
mk gtkperf
|
|
mk leafpad
|
|
mk midori
|
|
mk pcmanfm
|
|
mk rdesktop
|
|
mk rxvt
|
|
mk sylpheed
|
|
mk synergy
|
|
mk torsmo
|
|
mk x11vnc
|
|
mk xpdf
|
|
mk xstroke
|
|
mk xvkbd
|
|
fi
|
|
|
|
echo "# Compressors / decompressors"
|
|
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk gzip
|
|
fi
|
|
mk lzo
|
|
mk lzma-host
|
|
mk lzma-target
|
|
mk zlib
|
|
|
|
echo "# Package managers"
|
|
|
|
mk ipkg
|
|
nmk portage
|
|
if [ ${busybox-tools} == 1 ] ; then
|
|
mk rpm
|
|
fi
|
|
|
|
echo "# XML handling"
|
|
|
|
mk expat
|
|
mk ezxml
|
|
mk libxml2
|
|
mk libxslt
|
|
mk xerces
|
|
|
|
|
|
|
|
# java support
|
|
nmk java
|
|
|
|
# various games packages
|
|
nmk games
|
|
|