diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-25 21:13:21 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-25 21:13:21 +0100 |
commit | 02e9bb0970ba681f228dc642b1e5026cc97047c7 (patch) | |
tree | 3521f7ffac2ffbb868e88fbaff85018b5fee54a5 /package | |
parent | 23153b00979f7e0e6b1dee395db7215185ba501b (diff) |
simplify buildsystem
- remove ADK_IPV6, ADK_CXX and ADK_X11
- enable ipv6 by default in uclibc
- enable build of c++ compiler by default
Diffstat (limited to 'package')
48 files changed, 37 insertions, 144 deletions
diff --git a/package/6tunnel/Config.in b/package/6tunnel/Config.in index 53b69c2d5..c3cdb3cbe 100644 --- a/package/6tunnel/Config.in +++ b/package/6tunnel/Config.in @@ -1,6 +1,5 @@ config ADK_PACKAGE_6TUNNEL prompt "6tunnel........................... IPv4 / IPv6 tunnel proxy" - depends on ADK_IPV6 tristate default n select ADK_KPACKAGE_KMOD_IPV6 diff --git a/package/Config.in b/package/Config.in index 3822ef243..e879e8288 100644 --- a/package/Config.in +++ b/package/Config.in @@ -214,7 +214,6 @@ source "package/wput/Config.in" endmenu menu "IPv6" -depends on ADK_IPV6 source "package/6tunnel/Config.in" source "package/aiccu/Config.in" source "package/miredo/Config.in" @@ -485,7 +484,6 @@ source "package/zlib/Config.in" endmenu menu "X" -depends on ADK_X11 source "package/xorg-server/Config.in" source "package/xf86-video-geode/Config.in" @@ -511,6 +509,7 @@ source "package/pixman/Config.in" source "package/xkbcomp/Config.in" source "package/xkeyboard-config/Config.in" endmenu + endmenu endmenu diff --git a/package/Depends.mk b/package/Depends.mk index 627c8a46c..277ab22da 100644 --- a/package/Depends.mk +++ b/package/Depends.mk @@ -103,9 +103,7 @@ libp11-compile: openssl-compile libtool-compile libpng-compile: zlib-compile libshout-compile: libvorbis-compile libusb-compat-compile: libusb-compile -ifeq (${ADK_IPV6},y) libtirpc-compile: libgssglue-compile -endif libtorrent-compile: openssl-compile libsigc++-compile libvorbis-compile: libogg-compile libvirt-compile: libxml2-compile gnutls-compile python-compile @@ -155,9 +153,7 @@ endif ifeq (${ADK_COMPILE_NFS_UTILS_WITH_HEIMDAL},y) nfs-utils-compile: libnfsidmap-compile heimdal-compile libevent-compile librpcsecgss-compile endif -ifeq (${ADK_IPV6},y) nfs-utils-compile: libtirpc-compile -endif ifeq (${ADK_COMPILE_NMAP_WITH_UCLIBCXX},y) nmap-compile: uclibc++-compile endif diff --git a/package/aiccu/Config.in b/package/aiccu/Config.in index 202d3c1c6..1dbda660b 100644 --- a/package/aiccu/Config.in +++ b/package/aiccu/Config.in @@ -1,6 +1,5 @@ config ADK_PACKAGE_AICCU prompt "aiccu............................. SixXS Automatic IPv6 Connectivity Client Utility" - depends on ADK_IPV6 tristate default n select ADK_KPACKAGE_KMOD_IPV6 diff --git a/package/bitlbee/Makefile b/package/bitlbee/Makefile index a86cbb921..e92957f05 100644 --- a/package/bitlbee/Makefile +++ b/package/bitlbee/Makefile @@ -19,11 +19,6 @@ PKG_SITES:= http://get.bitlbee.org/src/ \ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,BITLBEE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -ifeq ($(ADK_IPV6),y) -IPV6+= --ipv6=1 -else -IPV6+= --ipv6=0 -endif do-configure: (cd $(WRKBUILD); \ @@ -34,6 +29,7 @@ do-configure: STAGING_DIR="$(STAGING_DIR)" \ STRIP="$(STRIP)" \ ./configure \ + --target=${REAL_GNU_TARGET_NAME} \ --prefix=/usr/ \ --bindir=/usr/sbin/ \ --etcdir=/etc/bitlbee/ \ @@ -43,13 +39,12 @@ do-configure: --cpu="${ARCH}" \ --debug=0 \ --strip=1 \ + --ipv6=1 \ --ssl=openssl \ - --target=${REAL_GNU_TARGET_NAME} \ - ${IPV6} \ ); -BUILD_STYLE= auto -INSTALL_STYLE= auto +BUILD_STYLE:= auto +INSTALL_STYLE:= auto INSTALL_TARGET= install-etc install-bin post-configure: diff --git a/package/bogofilter/Config.in b/package/bogofilter/Config.in index 922f17376..982cb9828 100644 --- a/package/bogofilter/Config.in +++ b/package/bogofilter/Config.in @@ -2,7 +2,6 @@ config ADK_PACKAGE_BOGOFILTER prompt "bogofilter........................ Mail (spam) filter utility" tristate default n - depends on ADK_CXX select ADK_PACKAGE_LIBDB select ADK_PACKAGE_LIBICONV help diff --git a/package/cbtt/Config.in b/package/cbtt/Config.in index 25b51c6da..789f613dd 100644 --- a/package/cbtt/Config.in +++ b/package/cbtt/Config.in @@ -3,7 +3,6 @@ config ADK_PACKAGE_CBTT tristate default n select ADK_PACKAGE_ZLIB - depends on ADK_CXX help A C BitTorrent Tracker @@ -13,6 +12,5 @@ config ADK_PACKAGE_CBTT_MYSQL default n select ADK_PACKAGE_ZLIB select ADK_PACKAGE_LIBMYSQLCLIENT - depends on ADK_CXX help A C BitTorrent Tracker diff --git a/package/ctorrent/Config.in b/package/ctorrent/Config.in index fa6f355d5..8a6562061 100644 --- a/package/ctorrent/Config.in +++ b/package/ctorrent/Config.in @@ -2,7 +2,6 @@ config ADK_PACKAGE_CTORRENT prompt "ctorrent.......................... console-based BitTorrent client" tristate default n - depends on ADK_CXX help CTorrent is a BitTorrent client written in the C programming language, known to be a very robust and mature programming language, which produces fast and diff --git a/package/cxxtools/Config.in b/package/cxxtools/Config.in index 566d2e6cb..d7dcdb87d 100644 --- a/package/cxxtools/Config.in +++ b/package/cxxtools/Config.in @@ -2,7 +2,6 @@ config ADK_PACKAGE_CXXTOOLS prompt "cxxtools.......................... cxxtools" tristate default n - depends on ADK_CXX select ADK_PACKAGE_LIBICONV help http://www.tntnet.org diff --git a/package/dansguardian/Config.in b/package/dansguardian/Config.in index 9107e2676..2bffe7da6 100644 --- a/package/dansguardian/Config.in +++ b/package/dansguardian/Config.in @@ -1,7 +1,6 @@ config ADK_PACKAGE_DANSGUARDIAN prompt "dansguardian...................... web content filter proxy" tristate - depends on ADK_CXX select ADK_PACKAGE_LIBPCRE select ADK_PACKAGE_ZLIB default n @@ -11,7 +10,7 @@ config ADK_PACKAGE_DANSGUARDIAN choice prompt "C++ library to use" depends on ADK_PACKAGE_DANSGUARDIAN -default ADK_COMPILE_DANSGUARDIAN_WITH_STDCXX if ADK_TARGET_LIB_GLIBC +default ADK_COMPILE_DANSGUARDIAN_WITH_STDCXX if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC default ADK_COMPILE_DANSGUARDIAN_WITH_UCLIBCXX if ADK_TARGET_LIB_UCLIBC config ADK_COMPILE_DANSGUARDIAN_WITH_STDCXX diff --git a/package/dhcp/Makefile b/package/dhcp/Makefile index 38cce03ce..f7b590cb0 100644 --- a/package/dhcp/Makefile +++ b/package/dhcp/Makefile @@ -12,24 +12,18 @@ PKG_SECTION:= net PKG_URL:= https://www.isc.org/software/dhcp PKG_SITES:= ftp://ftp.isc.org/isc/dhcp/ -PKG_DESCR_1:= ISC DHCP relay server +PKG_DESCR_RELAY:= ISC DHCP relay server include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,DHCP_SERVER,dhcp-server,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -$(eval $(call PKG_template,DHCP_RELAY,dhcp-relay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_1},${PKG_SECTION})) - -ifeq ($(ADK_IPV6),y) -CONFIGURE_ARGS+= --enable-dhcpv6 -else -CONFIGURE_ARGS+= --disable-dhcpv6 -endif +$(eval $(call PKG_template,DHCP_RELAY,dhcp-relay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_RELAY},${PKG_SECTION})) TCFLAGS+= -D_GNU_SOURCE CONFIGURE_STYLE:= gnu CONFIGURE_ENV+= ac_cv_file__dev_random=yes -BUILD_STYLE= auto -INSTALL_STYLE= auto +BUILD_STYLE:= auto +INSTALL_STYLE:= auto post-install: ${INSTALL_DIR} ${IDIR_DHCP_RELAY}/usr/sbin diff --git a/package/dnsmasq/Makefile b/package/dnsmasq/Makefile index 711a575fc..21c4ba847 100644 --- a/package/dnsmasq/Makefile +++ b/package/dnsmasq/Makefile @@ -17,10 +17,8 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,DNSMASQ,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) BUILD_STYLE:= auto +INSTALL_STYLE:= manual MAKE_FLAGS+= BINDIR=/usr/sbin MANDIR=/usr/man COPTS="${TCFLAGS}" -ifneq ($(ADK_IPV6),y) -MAKE_FLAGS+= COPTS="${TCFLAGS} -DNO_IPV6" -endif do-install: ${INSTALL_DIR} ${IDIR_DNSMASQ}/usr/sbin ${IDIR_DNSMASQ}/etc diff --git a/package/freeradius-server/Config.in b/package/freeradius-server/Config.in index d7dc0cb03..fe119c0a3 100644 --- a/package/freeradius-server/Config.in +++ b/package/freeradius-server/Config.in @@ -80,7 +80,6 @@ config ADK_PACKAGE_FREERADIUS_MOD_SQL_MYSQL prompt "freeradius-mod-sql-mysql.... MySQL module" tristate default n - depends on ADK_CXX depends on ADK_PACKAGE_FREERADIUS_MOD_SQL select ADK_PACKAGE_LIBMYSQLCLIENT diff --git a/package/gmediaserver/Config.in b/package/gmediaserver/Config.in index fc256a0cd..ade3b4a1c 100644 --- a/package/gmediaserver/Config.in +++ b/package/gmediaserver/Config.in @@ -2,12 +2,8 @@ config ADK_PACKAGE_GMEDIASERVER prompt "gmediaserver...................... An UPnP music media server" tristate default n - depends on ADK_CXX select ADK_PACKAGE_ID3LIB select ADK_PACKAGE_LIBUPNP help An UPnP music media server. - http://www.nongnu.org/gmediaserver/ - - Depends: id3lib, libupnp diff --git a/package/gpsd/Config.in b/package/gpsd/Config.in index f0c274449..9687145a5 100644 --- a/package/gpsd/Config.in +++ b/package/gpsd/Config.in @@ -2,7 +2,6 @@ config ADK_PACKAGE_GPSD prompt "gpsd.............................. An interface daemon for GPS receivers" tristate default n - depends on ADK_CXX select ADK_PACKAGE_LIBPTHREAD help gpsd is a monitor daemon that watches a TCP/IP port (2947 by default), @@ -28,7 +27,7 @@ config ADK_PACKAGE_GPSD_CLIENTS choice prompt "C++ library to use" depends on ADK_PACKAGE_GPSD -default ADK_COMPILE_GPSD_WITH_STDCXX if ADK_TARGET_LIB_GLIBC +default ADK_COMPILE_GPSD_WITH_STDCXX if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC default ADK_COMPILE_GPSD_WITH_UCLIBCXX if ADK_TARGET_LIB_UCLIBC config ADK_COMPILE_GPSD_WITH_STDCXX diff --git a/package/heimdal/Makefile b/package/heimdal/Makefile index 5be7b5776..4af746246 100644 --- a/package/heimdal/Makefile +++ b/package/heimdal/Makefile @@ -38,14 +38,9 @@ CONFIGURE_OPTS:= --with-hdbdir=/etc/heimdal \ --disable-ndbm-db \ --libdir=/usr/lib/heimdal \ --libexecdir=/usr/sbin \ + --with-ipv6 \ --sysconfdir=/etc/heimdal -ifeq ($(ADK_IPV6),y) -CONFIGURE_OPTS+= --with-ipv6 -else -CONFIGURE_OPTS+= --without-ipv6 -endif - ifeq ($(ADK_COMPILE_HEIMDAL_WITH_DB_BDB),y) CONFIGURE_ARGS+= --enable-berkeley-db else @@ -66,8 +61,8 @@ else CONFIGURE_OPTS+= --disable-pk-init endif -TCFLAGS+= -I${STAGING_DIR}/usr/include/et -TCFLAGS+= -pthread +TCFLAGS+= -I${STAGING_DIR}/usr/include/et -pthread + CONFIGURE_STYLE:= gnu CONFIGURE_ARGS+= ${CONFIGURE_OPTS} CONFIGURE_ENV+= ac_cv_func_getaddrinfo_numserv=yes diff --git a/package/id3lib/Config.in b/package/id3lib/Config.in index ab45259f1..dde87347c 100644 --- a/package/id3lib/Config.in +++ b/package/id3lib/Config.in @@ -2,12 +2,10 @@ config ADK_PACKAGE_ID3LIB prompt "id3lib............................ An ID3v1/ID3v2 tagging library" tristate default n - depends on ADK_CXX select ADK_PACKAGE_ZLIB select ADK_PACKAGE_LIBICONV help An ID3v1/ID3v2 tagging library. - http://www.id3lib.org/ choice diff --git a/package/iperf/Config.in b/package/iperf/Config.in index bdfee6913..3f5c8d323 100644 --- a/package/iperf/Config.in +++ b/package/iperf/Config.in @@ -1,20 +1,18 @@ config ADK_PACKAGE_IPERF prompt "iperf............................. Internet Protocol bandwidth measuring tool" tristate - depends on ADK_CXX select ADK_PACKAGE_LIBPTHREAD default n help Iperf is a modern alternative for measuring TCP and UDP bandwidth performance, allowing the tuning of various parameters and characteristics. - http://dast.nlanr.net/Projects/Iperf/ choice prompt "C++ library to use" depends on ADK_PACKAGE_IPERF -default ADK_COMPILE_IPERF_WITH_STDCXX if ADK_TARGET_LIB_GLIBC +default ADK_COMPILE_IPERF_WITH_STDCXX if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC default ADK_COMPILE_IPERF_WITH_UCLIBCXX if ADK_TARGET_LIB_UCLIBC config ADK_COMPILE_IPERF_WITH_STDCXX diff --git a/package/iptables/Makefile b/package/iptables/Makefile index 412730cd6..b8e1df9c2 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -25,9 +25,7 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,IPTABLES,iptables,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) $(eval $(call PKG_template,IPTABLES_UTILS,iptables-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -ifeq ($(ADK_IPV6),y) $(eval $(call PKG_template,IP6TABLES,ip6tables,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -endif CONFIGURE_STYLE:= gnu CONFIGURE_ARGS+= --enable-devel @@ -35,9 +33,7 @@ BUILD_STYLE:= auto INSTALL_STYLE:= auto SUB_INSTALL-${ADK_PACKAGE_IPTABLES_UTILS}+= iptables-utils-install -ifeq ($(ADK_IPV6),y) SUB_INSTALL-${ADK_PACKAGE_IP6TABLES}+= ip6tables-install -endif post-install: ${SUB_INSTALL-m} ${SUB_INSTALL-y} ${INSTALL_DIR} ${IDIR_IPTABLES}/usr/lib diff --git a/package/kismet/Config.in b/package/kismet/Config.in index 2583f88d2..1c29a85d7 100644 --- a/package/kismet/Config.in +++ b/package/kismet/Config.in @@ -7,7 +7,6 @@ config ADK_PACKAGE_KISMET_CLIENT prompt "kismet-client..................... The Kismet client" tristate default n - depends on ADK_CXX select ADK_COMPILE_KISMET select ADK_PACKAGE_LIBNCURSES help @@ -22,7 +21,6 @@ config ADK_PACKAGE_KISMET_DRONE prompt "kismet-drone...................... The Kismet drone" tristate default n - depends on ADK_CXX select ADK_COMPILE_KISMET select ADK_PACKAGE_LIBPCAP help @@ -37,7 +35,6 @@ config ADK_PACKAGE_KISMET_SERVER prompt "kismet-server..................... The Kismet server" tristate default n - depends on ADK_CXX select ADK_COMPILE_KISMET select ADK_PACKAGE_LIBPCAP help @@ -51,7 +48,7 @@ config ADK_PACKAGE_KISMET_SERVER choice prompt "C++ library to use" depends on ADK_PACKAGE_KISMET_CLIENT || ADK_PACKAGE_KISMET_DRONE || ADK_PACKAGE_KISMET_SERVER -default ADK_COMPILE_KISMET_WITH_STDCXX if ADK_TARGET_LIB_GLIBC +default ADK_COMPILE_KISMET_WITH_STDCXX if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC default ADK_COMPILE_KISMET_WITH_UCLIBCXX if ADK_TARGET_LIB_UCLIBC config ADK_COMPILE_KISMET_WITH_STDCXX diff --git a/package/libsigc++/Config.in b/package/libsigc++/Config.in index 3eb28a28e..7d1cc5e22 100644 --- a/package/libsigc++/Config.in +++ b/package/libsigc++/Config.in @@ -1,7 +1,6 @@ config ADK_PACKAGE_LIBSIGCXX prompt "libsigc++......................... Callback framework for C++" tristate - depends on ADK_CXX default n help Callback framework for C++ @@ -9,7 +8,7 @@ config ADK_PACKAGE_LIBSIGCXX choice prompt "C++ library to use" depends on ADK_PACKAGE_LIBSIGCXX -default ADK_COMPILE_LIBSIGCXX_WITH_STDCXX if ADK_TARGET_LIB_GLIBC +default ADK_COMPILE_LIBSIGCXX_WITH_STDCXX if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC default ADK_COMPILE_LIBSIGCXX_WITH_UCLIBCXX if ADK_TARGET_LIB_UCLIBC config ADK_COMPILE_LIBSIGCXX_WITH_STDCXX diff --git a/package/libstdcxx/Config.in b/package/libstdcxx/Config.in index 732d07535..061675c5f 100644 --- a/package/libstdcxx/Config.in +++ b/package/libstdcxx/Config.in @@ -1,7 +1,6 @@ config ADK_PACKAGE_LIBSTDCXX prompt "libstdc++......................... C++ support library" tristate - depends on ADK_CXX default n help C++ support library diff --git a/package/libtirpc/Makefile b/package/libtirpc/Makefile index 08d0d765e..08031a3c8 100644 --- a/package/libtirpc/Makefile +++ b/package/libtirpc/Makefile @@ -9,6 +9,7 @@ PKG_RELEASE:= 1 PKG_MD5SUM:= b3b513a8825aa227deac63ea38c64f41 PKG_DESCR:= a transport independent RPC library PKG_SECTION:= libs +PKG_DEPENDS:= libgssglue PKG_URL:= http://sourceforge.net/projects/libtirpc PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libtirpc/} @@ -16,20 +17,16 @@ DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2 include ${TOPDIR}/mk/package.mk -ifeq (${ADK_IPV6},y) -PKG_DEPENDS+= libgssglue -endif - $(eval $(call PKG_template,LIBTIRPC,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIGURE_STYLE:= autotool gnu + ifneq (${ADK_COMPILE_NFS_UTILS_WITH_KERBEROS},y) -ifneq (${ADK_IPV6},y) CONFIGURE_ARGS+= --disable-gss else CONFIGURE_ARGS+= --enable-gss endif -endif + BUILD_STYLE:= auto INSTALL_STYLE:= auto diff --git a/package/libtorrent/Config.in b/package/libtorrent/Config.in index c77cd4425..ebe757f74 100644 --- a/package/libtorrent/Config.in +++ b/package/libtorrent/Config.in @@ -2,7 +2,6 @@ config ADK_PACKAGE_LIBTORRENT prompt "libtorrent........................ bittorrent library" tristate default n - depends on ADK_CXX select ADK_PACKAGE_LIBOPENSSL select ADK_PACKAGE_LIBSIGCXX help diff --git a/package/miredo/Config.in b/package/miredo/Config.in index 8fb215c06..7db74de53 100644 --- a/package/miredo/Config.in +++ b/package/miredo/Config.in @@ -1,16 +1,12 @@ config ADK_COMPILE_MIREDO tristate default n - depends on ADK_CXX - depends on ADK_IPV6 depends on ADK_PACKAGE_MIREDO || ADK_PACKAGE_MIREDO_SERVER config ADK_PACKAGE_MIREDO prompt "miredo............................ Teredo (IPv6 tunneling over UDP through NAT) client and relay daemon" tristate default n - depends on ADK_IPV6 - depends on ADK_CXX select ADK_COMPILE_MIREDO select ADK_KPACKAGE_KMOD_IPV6 select ADK_KPACKAGE_KMOD_TUN @@ -23,8 +19,6 @@ config ADK_PACKAGE_MIREDO_SERVER prompt "miredo-server..................... Teredo (IPv6 tunneling over UDP through NAT) server daemon" tristate default n - depends on ADK_IPV6 - depends on ADK_CXX select ADK_COMPILE_MIREDO select ADK_KPACKAGE_KMOD_IPV6 select ADK_KPACKAGE_KMOD_TUN diff --git a/package/mrd6/Config.in b/package/mrd6/Config.in index 5a5a948d7..6bfc097bd 100644 --- a/package/mrd6/Config.in +++ b/package/mrd6/Config.in @@ -1,6 +1,5 @@ config ADK_PACKAGE_MRD6 prompt "mrd6.............................. IPv6 multicast routing daemon" - depends on ADK_IPV6 tristate default n help diff --git a/package/mysql/Config.in b/package/mysql/Config.in index 411823eb7..d70221a1c 100644 --- a/package/mysql/Config.in +++ b/package/mysql/Config.in @@ -2,7 +2,6 @@ config ADK_COMPILE_MYSQL tristate default n depends on ADK_PACKAGE_LIBMYSQLCLIENT - depends on ADK_CXX select ADK_PACKAGE_LIBNCURSES select ADK_PACKAGE_ZLIB select ADK_PACKAGE_LIBREADLINE @@ -11,10 +10,8 @@ config ADK_PACKAGE_LIBMYSQLCLIENT prompt "libmysqlclient.................... MySQL client library" tristate default n - depends on ADK_CXX select ADK_COMPILE_MYSQL help MySQL client library. - http://dev.mysql.com/ diff --git a/package/ndisc/Config.in b/package/ndisc/Config.in index c5723d37b..0fcfe06e2 100644 --- a/package/ndisc/Config.in +++ b/package/ndisc/Config.in @@ -3,14 +3,12 @@ config ADK_COMPILE_NDISC6 tristate default n - depends on ADK_IPV6 depends on ADK_PACKAGE_NDISC6 || ADK_PACKAGE_RDISC6 || ADK_PACKAGE_TCPTRACEROUTE6 config ADK_PACKAGE_NDISC6 prompt "ndisc6............................ An ICMPv6 neighbour discovery tool" tristate default n - depends on ADK_IPV6 select ADK_COMPILE_NDISC6 help @@ -22,7 +20,6 @@ config ADK_PACKAGE_RDISC6 prompt "rdisc6............................ An ICMPv6 router discovery tool" tristate default n - depends on ADK_IPV6 select ADK_COMPILE_NDISC6 help @@ -34,7 +31,6 @@ config ADK_PACKAGE_TCPTRACEROUTE6 prompt "tcptraceroute6.................... A TCP/IPv6-based traceroute implementation" tristate default n - depends on ADK_IPV6 select ADK_COMPILE_NDISC6 help diff --git a/package/nfs-utils/Config.in b/package/nfs-utils/Config.in index 0b400090a..7c046ad4b 100644 --- a/package/nfs-utils/Config.in +++ b/package/nfs-utils/Config.in @@ -5,7 +5,7 @@ config ADK_PACKAGE_NFS_UTILS select ADK_PACKAGE_PORTMAP select ADK_KPACKAGE_KMOD_NFSD select ADK_KPACKAGE_KMOD_NFS_FS - select ADK_PACKAGE_LIBTIRPC if ADK_IPV6 + select ADK_PACKAGE_LIBTIRPC depends on !ADK_TARGET_ROOTFS_NFSROOT help NFS server utilities (namely, exportfs), and an NFS server. diff --git a/package/nfs-utils/Makefile b/package/nfs-utils/Makefile index 425810fc5..0b4090cca 100644 --- a/package/nfs-utils/Makefile +++ b/package/nfs-utils/Makefile @@ -9,7 +9,7 @@ PKG_RELEASE:= 1 PKG_MD5SUM:= 779cf81044e92cb51ad590960e7b3671 PKG_DESCR:= Utilities for NFS kernel server implementation PKG_SECTION:= net -PKG_DEPENDS:= portmap +PKG_DEPENDS:= portmap libtirpc PKG_URL:= http://sourceforge.net/projects/nfs PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=nfs/} @@ -25,13 +25,9 @@ ifeq ($(ADK_COMPILE_NFS_UTILS_WITH_HEIMDAL),y) PKG_DEPENDS+= heimdal-libs libevent libnfsidmap librpcsecgss libcom_err endif -ifeq (${ADK_IPV6},y) -PKG_DEPENDS+= libtirpc -endif - $(eval $(call PKG_template,NFS_UTILS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -CONFIGURE_STYLE= autotool gnu +TCPPFLAGS+= -I${LINUX_DIR}/include ifeq ($(ADK_COMPILE_NFS_UTILS_WITH_KRB5),y) CONFIGURE_ARGS+= --enable-nfsv4 \ @@ -55,15 +51,13 @@ endif CONFIGURE_ENV+= knfsd_cv_bsd_signals=no \ ac_cv_lib_nsl_gethostbyname=no CONFIGURE_ARGS+= --without-tcp-wrappers \ + --enable-tirpc \ + --with-tirpcinclude=${STAGING_DIR}/usr/include/tirpc \ --disable-uuid -BUILD_STYLE= auto -INSTALL_STYLE= auto -TCPPFLAGS+= -I${LINUX_DIR}/include -ifeq (${ADK_IPV6},y) -CONFIGURE_ARGS+= --enable-tirpc \ - --with-tirpcinclude=${STAGING_DIR}/usr/include/tirpc -endif +CONFIGURE_STYLE:= autotool gnu +BUILD_STYLE:= auto +INSTALL_STYLE:= auto post-install: ${INSTALL_DIR} ${IDIR_NFS_UTILS}/usr/sbin diff --git a/package/nmap/Config.in b/package/nmap/Config.in index f97017eeb..56a561ec7 100644 --- a/package/nmap/Config.in +++ b/package/nmap/Config.in @@ -2,7 +2,6 @@ config ADK_PACKAGE_NMAP prompt "nmap.............................. Network exploration and/or security auditing utility" tristate default n - depends on ADK_CXX select ADK_PACKAGE_LIBDNET select ADK_PACKAGE_LIBPCAP select ADK_PACKAGE_LIBPCRE @@ -14,7 +13,7 @@ config ADK_PACKAGE_NMAP choice prompt "C++ library to use" depends on ADK_PACKAGE_NMAP -default ADK_COMPILE_NMAP_WITH_STDCXX if ADK_TARGET_LIB_GLIBC +default ADK_COMPILE_NMAP_WITH_STDCXX if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC default ADK_COMPILE_NMAP_WITH_UCLIBCXX if ADK_TARGET_LIB_UCLIBC config ADK_COMPILE_NMAP_WITH_STDCXX diff --git a/package/openobex/Config.in b/package/openobex/Config.in index 504459b74..233c61b24 100644 --- a/package/openobex/Config.in +++ b/package/openobex/Config.in @@ -2,8 +2,6 @@ config ADK_PACKAGE_OPENOBEX prompt "openobex.......................... openobex library" tristate default n - # openobex does not work without ipv6 - select ADK_IPV6 select ADK_PACKAGE_BLUEZ help Open source implementation of the Object Exchange (OBEX) protocol. diff --git a/package/oprofile/Config.in b/package/oprofile/Config.in index c2c181b66..a00c529aa 100644 --- a/package/oprofile/Config.in +++ b/package/oprofile/Config.in @@ -2,7 +2,6 @@ config ADK_PACKAGE_OPROFILE prompt "oprofile.......................... a system-wide profiler" tristate select ADK_PACKAGE_LIBPOPT - depends on ADK_CXX default n help http://oprofile.sourceforge.net diff --git a/package/php/Config.in b/package/php/Config.in index ec9b30a12..badb9f685 100644 --- a/package/php/Config.in +++ b/package/php/Config.in @@ -62,7 +62,6 @@ config ADK_PACKAGE_PHP_MOD_MYSQL prompt "php-mod-mysql.................... MySQL module" tristate default n - depends on ADK_CXX depends on ADK_COMPILE_PHP select ADK_PACKAGE_LIBMYSQLCLIENT diff --git a/package/ppp/Makefile b/package/ppp/Makefile index 4cf657ed3..753349c93 100644 --- a/package/ppp/Makefile +++ b/package/ppp/Makefile @@ -24,16 +24,13 @@ $(eval $(call PKG_template,PPP_MOD_PPPDUMP,ppp-mod-pppdump,${PKG_VERSION}-${PKG_ $(eval $(call PKG_template,PPP_MOD_PPPSTATS,ppp-mod-pppstats,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) $(eval $(call PKG_template,PPP_MOD_PPPUMTS,ppp-mod-pppumts,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -ifeq ($(ADK_IPV6),y) -IPV6+=HAVE_INET6="1" -endif - CONFIGURE_STYLE:= gnu BUILD_STYLE:= auto INSTALL_STYLE:= auto + XAKE_FLAGS+= CC="${TARGET_CC}" \ COPTS="${TCFLAGS}" \ - ${IPV6} \ + HAVE_INET6="1" \ STAGING_DIR=${STAGING_DIR} \ DESTDIR="${WRKINST}/usr" \ TARGET_AR='${TARGET_CROSS}ar' diff --git a/package/quagga/Config.in b/package/quagga/Config.in index 446d7ab9e..6e1d0905e 100644 --- a/package/quagga/Config.in +++ b/package/quagga/Config.in @@ -3,7 +3,6 @@ config ADK_PACKAGE_QUAGGA prompt "quagga............................ The Quagga Software Routing Suite" tristate - depends on ADK_IPV6 default n help A routing software package that provides TCP/IP based routing services @@ -34,7 +33,6 @@ config ADK_PACKAGE_QUAGGA_OSPF6D tristate default n depends on ADK_PACKAGE_QUAGGA - depends on ADK_IPV6 help An OSPFv3 (IPv6) routing engine for use with Quagga routing software. @@ -51,7 +49,6 @@ config ADK_PACKAGE_QUAGGA_RIPNGD tristate default n depends on ADK_PACKAGE_QUAGGA - depends on ADK_IPV6 help A RIPNG (IPv6) routing engine for use with Quagga routing software. diff --git a/package/quagga/Makefile b/package/quagga/Makefile index 02b8b0347..99197f9eb 100644 --- a/package/quagga/Makefile +++ b/package/quagga/Makefile @@ -27,10 +27,8 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,QUAGGA,quagga,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) $(eval $(call PKG_template,QUAGGA_BGPD,quagga-bgpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_1},${PKG_SECTION})) $(eval $(call PKG_template,QUAGGA_OSPFD,quagga-ospfd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_2},${PKG_SECTION})) -ifeq ($(ADK_IPV6),y) $(eval $(call PKG_template,QUAGGA_OSPF6D,quagga-ospf6d,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_3},${PKG_SECTION})) $(eval $(call PKG_template,QUAGGA_RIPNGD,quagga-ripngd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_4},${PKG_SECTION})) -endif $(eval $(call PKG_template,QUAGGA_RIPD,quagga-ripd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_5},${PKG_SECTION})) $(eval $(call PKG_template,QUAGGA_VTYSH,quagga-vtysh,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_6},${PKG_SECTION})) @@ -58,12 +56,10 @@ post-install: ${INSTALL_DIR} ${IDIR_QUAGGA_OSPFD}/usr/{lib,sbin} ${CP} ${WRKINST}/usr/lib/libospf.so.* ${IDIR_QUAGGA_OSPFD}/usr/lib/ ${CP} ${WRKINST}/usr/sbin/ospfd ${IDIR_QUAGGA_OSPFD}/usr/sbin/ -ifeq ($(ADK_IPV6),y) ${INSTALL_DIR} ${IDIR_QUAGGA_OSPF6D}/usr/sbin ${CP} ${WRKINST}/usr/sbin/ospf6d ${IDIR_QUAGGA_OSPF6D}/usr/sbin/ ${INSTALL_DIR} ${IDIR_QUAGGA_RIPNGD}/usr/sbin ${CP} ${WRKINST}/usr/sbin/ripngd ${IDIR_QUAGGA_RIPNGD}/usr/sbin/ -endif ${INSTALL_DIR} ${IDIR_QUAGGA_RIPD}/usr/sbin ${CP} ${WRKINST}/usr/sbin/ripd ${IDIR_QUAGGA_RIPD}/usr/sbin/ ${INSTALL_DIR} ${IDIR_QUAGGA_VTYSH}/usr/bin diff --git a/package/radvd/Config.in b/package/radvd/Config.in index 2ed97bb82..ef729c098 100644 --- a/package/radvd/Config.in +++ b/package/radvd/Config.in @@ -1,11 +1,9 @@ config ADK_PACKAGE_RADVD prompt "radvd............................. IPv6 Routing Advertisement Daemon" - depends on ADK_IPV6 tristate default n select ADK_KPACKAGE_KMOD_IPV6 help Routing Advertisement Daemon for IPv6 - http://v6web.litech.org/radvd/ diff --git a/package/rpm/Config.in b/package/rpm/Config.in index dbb227eed..2b2cba6e8 100644 --- a/package/rpm/Config.in +++ b/package/rpm/Config.in @@ -1,7 +1,6 @@ config ADK_PACKAGE_RPM prompt "rpm.................................. Red Hat package manager" tristate - depends on ADK_CXX select ADK_PACKAGE_NSS select ADK_PACKAGE_NSPR select ADK_PACKAGE_ZLIB diff --git a/package/rrs/Config.in b/package/rrs/Config.in index 901492074..482911e33 100644 --- a/package/rrs/Config.in +++ b/package/rrs/Config.in @@ -7,7 +7,6 @@ config ADK_PACKAGE_RRS prompt "rrs............................... A reverse (connecting) remote shell, with SSL support" tristate default n - depends on ADK_CXX select ADK_COMPILE_RRS select ADK_PACKAGE_ZLIB select ADK_PACKAGE_LIBOPENSSL @@ -20,7 +19,6 @@ config ADK_PACKAGE_RRS_NOSSL prompt "rrs-nossl......................... A reverse (connecting) remote shell, without SSL support" tristate default n - depends on ADK_CXX select ADK_COMPILE_RRS select ADK_PACKAGE_ZLIB help @@ -31,7 +29,7 @@ config ADK_PACKAGE_RRS_NOSSL choice prompt "C++ library to use" depends on ADK_PACKAGE_RRS -default ADK_COMPILE_RRS_WITH_STDCXX if ADK_TARGET_LIB_GLIBC +default ADK_COMPILE_RRS_WITH_STDCXX if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC default ADK_COMPILE_RRS_WITH_UCLIBCXX if ADK_TARGET_LIB_UCLIBC config ADK_COMPILE_RRS_WITH_STDCXX diff --git a/package/rtorrent/Config.in b/package/rtorrent/Config.in index e1d033315..920631f5b 100644 --- a/package/rtorrent/Config.in +++ b/package/rtorrent/Config.in @@ -1,7 +1,6 @@ config ADK_PACKAGE_RTORRENT prompt "rtorrent........................... console bittorrent client" tristate - depends on ADK_CXX select ADK_PACKAGE_LIBNCURSES select ADK_PACKAGE_LIBTORRENT select ADK_PACKAGE_LIBCURL diff --git a/package/samba/Makefile b/package/samba/Makefile index c964c5e14..69ccdef14 100644 --- a/package/samba/Makefile +++ b/package/samba/Makefile @@ -21,18 +21,13 @@ $(eval $(call PKG_template,SAMBA,samba,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPEN $(eval $(call PKG_template,SAMBA_CLIENT,samba-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) $(eval $(call PKG_template,SAMBA_PASSWD,samba-passwd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -CONFIGURE_STYLE:= gnu TLDFLAGS+= -Wl,-rpath -Wl,/usr/lib/samba + CONFIGURE_ENV+= samba_cv_CC_NEGATIVE_ENUM_VALUES=no \ samba_cv_USE_SETRESUID=no \ ac_cv_lib_ext_nsl_connect=no \ ac_cv_search_yp_get_default_domain=no \ ac_cv_lib_ext_nsl_gethostbyname=no -ifeq ($(ADK_IPV6),y) -CONFIGURE_ENV+= libreplace_cv_HAVE_IPV6=yes -else -CONFIGURE_ENV+= libreplace_cv_HAVE_IPV6=no -endif CONFIGURE_ARGS+= --libdir=/usr/lib/samba \ --localstatedir=/var/log/samba \ --with-configdir=/etc/samba \ @@ -48,6 +43,8 @@ CONFIGURE_ARGS+= --libdir=/usr/lib/samba \ --with-ldap=no \ --without-cluster-support \ --without-sendfile-support + +CONFIGURE_STYLE:= gnu BUILD_STYLE:= auto INSTALL_STYLE:= auto diff --git a/package/speex/Config.in b/package/speex/Config.in index 6fa3d9995..f50e04c2c 100644 --- a/package/speex/Config.in +++ b/package/speex/Config.in @@ -1,7 +1,6 @@ config ADK_COMPILE_SPEEX tristate default n - depends on ADK_CXX depends on ADK_PACKAGE_LIBSPEEX config ADK_PACKAGE_LIBSPEEX @@ -17,8 +16,6 @@ config ADK_PACKAGE_LIBSPEEX alternative to expensive proprietary speech codecs. Moreover, Speex is well-adapted to Internet applications and provides useful features that are not present in most other codecs. - http://www.speex.org/ - This package contains the shared codec library, needed by other programs. diff --git a/package/squid/Config.in b/package/squid/Config.in index 54618295d..86813dfd6 100644 --- a/package/squid/Config.in +++ b/package/squid/Config.in @@ -3,7 +3,6 @@ config ADK_PACKAGE_SQUID prompt "squid............................. full-featured Web proxy cache" tristate default n - depends on ADK_CXX select ADK_PACKAGE_LIBOPENSSL help Squid is a high-performance proxy caching server for web clients, @@ -16,7 +15,7 @@ config ADK_PACKAGE_SQUID choice prompt "C++ library to use" depends on ADK_PACKAGE_SQUID -default ADK_COMPILE_SQUID_WITH_STDCXX if ADK_TARGET_LIB_GLIBC +default ADK_COMPILE_SQUID_WITH_STDCXX if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC default ADK_COMPILE_SQUID_WITH_UCLIBCXX if ADK_TARGET_LIB_UCLIBC config ADK_COMPILE_SQUID_WITH_STDCXX diff --git a/package/tntnet/Config.in b/package/tntnet/Config.in index ca1d4f669..6d2ff122d 100644 --- a/package/tntnet/Config.in +++ b/package/tntnet/Config.in @@ -2,7 +2,6 @@ config ADK_PACKAGE_TNTNET prompt "tntnet............................ a modular, multithreaded webapplicationserver" tristate default n - depends on ADK_CXX select ADK_PACKAGE_CXXTOOLS select ADK_PACKAGE_LIBICONV select ADK_PACKAGE_LIBPTHREAD diff --git a/package/uclibc++/Config.in b/package/uclibc++/Config.in index 468493b37..d3a7940b7 100644 --- a/package/uclibc++/Config.in +++ b/package/uclibc++/Config.in @@ -1,7 +1,6 @@ config ADK_PACKAGE_UCLIBCXX prompt "uClibc++.......................... C++ library for embedded systems" tristate - depends on ADK_CXX default n help A standard C++ library for embedded systems diff --git a/package/ulogd/Config.in b/package/ulogd/Config.in index dc0949777..a138f4575 100644 --- a/package/ulogd/Config.in +++ b/package/ulogd/Config.in @@ -14,7 +14,6 @@ config ADK_PACKAGE_ULOGD_MOD_MYSQL prompt "ulogd-mod-mysql............... Output plugin for logging into a MySQL database" tristate default n - depends on ADK_CXX depends on ADK_PACKAGE_ULOGD select ADK_PACKAGE_LIBMYSQLCLIENT diff --git a/package/ustl/Config.in b/package/ustl/Config.in index b2f7959c0..b8aa55d55 100644 --- a/package/ustl/Config.in +++ b/package/ustl/Config.in @@ -2,12 +2,10 @@ config ADK_PACKAGE_USTL prompt "ustl.............................. C++ Standard Template Library for embedded systems" tristate default n - depends on ADK_CXX help uSTL is a partial implementation of the STL (Standard Template Library) that reduces code size by factoring memory management code into a non-template base class and deriving containers from it. - http://ustl.sourceforge.net/ |