summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/Depends.mk1
-rw-r--r--package/Makefile2
-rw-r--r--package/apr/Makefile1
-rw-r--r--package/autossh/Makefile1
-rw-r--r--package/avahi/files/avahi-daemon.conf1
-rw-r--r--package/base-files/extra/etc/sysctl.conf17
-rwxr-xr-xpackage/base-files/extra/init3
-rw-r--r--package/bind/Makefile3
-rw-r--r--package/cfgfs/src/fwcf.sh4
-rw-r--r--package/cups/Makefile2
-rw-r--r--package/cxxtools/Makefile1
-rw-r--r--package/dhcp/Makefile1
-rw-r--r--package/dsniff/Makefile1
-rw-r--r--package/file/Makefile8
-rw-r--r--package/freeradius-server/Makefile1
-rw-r--r--package/gpsd/Makefile3
-rw-r--r--package/gsm/Makefile7
-rw-r--r--package/ipcad/Makefile7
-rw-r--r--package/ipsec-tools/Makefile19
-rw-r--r--package/jpeg/Makefile2
-rw-r--r--package/jpeg/patches/jpeg-6b-config_guess.patch2854
-rw-r--r--package/libnids/Makefile9
-rw-r--r--package/libol/Makefile5
-rw-r--r--package/libosip2/Makefile1
-rw-r--r--package/linux-atm/Config.in22
-rw-r--r--package/linux-atm/Makefile25
-rw-r--r--package/lrzsz/Makefile2
-rwxr-xr-xpackage/macchanger/Makefile6
-rw-r--r--package/miredo/Makefile25
-rw-r--r--package/miredo/files/miredo-server.postinst2
-rw-r--r--package/monit/Makefile1
-rw-r--r--package/mpd/Makefile1
-rw-r--r--package/mplayer/Config.in1
-rw-r--r--package/mrd6/Makefile15
-rw-r--r--package/mysql/Makefile6
-rw-r--r--package/net-snmp/Makefile13
-rw-r--r--package/nfs-utils/Makefile3
-rw-r--r--package/nut/Makefile2
-rw-r--r--package/obexftp/Makefile2
-rw-r--r--package/obexftp/patches/patch-configure11
-rw-r--r--package/openobex/Makefile1
-rw-r--r--package/openobex/patches/patch-configure11
-rw-r--r--package/openssh/Makefile3
-rw-r--r--package/openswan/Makefile2
-rw-r--r--package/ppp/patches/100-debian_close_dev_ppp.patch34
-rw-r--r--package/ppp/patches/203-no_strip.patch86
-rw-r--r--package/ppp/patches/204-opt_flags.patch26
-rw-r--r--package/ppp/patches/320-use_target_ar.patch24
-rw-r--r--package/ppp/patches/patch-chat_Makefile_linux11
-rw-r--r--package/ppp/patches/patch-configure (renamed from package/ppp/patches/010-use_target_for_configuration.patch)9
-rw-r--r--package/ppp/patches/patch-include_linux_ppp-comp_h63
-rw-r--r--package/ppp/patches/patch-include_net_ppp-comp_h36
-rw-r--r--package/ppp/patches/patch-pppd_Makefile_linux (renamed from package/ppp/patches/200-makefile.patch)29
-rw-r--r--package/ppp/patches/patch-pppd_ccp_c (renamed from package/ppp/patches/201-mppe_mppc_1.1.patch)395
-rw-r--r--package/ppp/patches/patch-pppd_ccp_h20
-rw-r--r--package/ppp/patches/patch-pppd_chap_ms_c22
-rw-r--r--package/ppp/patches/patch-pppd_main_c (renamed from package/ppp/patches/209-compensate_time_change.patch)15
-rw-r--r--package/ppp/patches/patch-pppd_plugins_radius_Makefile_linux34
-rw-r--r--package/ppp/patches/patch-pppd_plugins_radius_etc_radiusclient_conf (renamed from package/ppp/patches/206-radius_config.patch)9
-rw-r--r--package/ppp/patches/patch-pppd_plugins_rp-pppoe_Makefile_linux23
-rw-r--r--package/ppp/patches/patch-pppd_plugins_rp-pppoe_discovery_c (renamed from package/ppp/patches/208-no_exponential_timeout.patch)9
-rw-r--r--package/ppp/patches/patch-pppd_pppd_877
-rw-r--r--package/ppp/patches/patch-pppd_sys-linux_c16
-rw-r--r--package/ppp/patches/patch-pppdump_Makefile_linux19
-rw-r--r--package/ppp/patches/patch-pppstats_Makefile_linux11
-rw-r--r--package/privoxy/Makefile3
-rw-r--r--package/procmail/Makefile5
-rw-r--r--package/procmail/patches/patch-Makefile_new19
-rw-r--r--package/procmail/patches/patch-autoconf_h7
-rw-r--r--package/ruby/Makefile3
-rw-r--r--package/samba/Makefile5
-rw-r--r--package/ser2net/Makefile1
-rw-r--r--package/squid/Makefile13
-rw-r--r--package/squid/patches/patch-configure_in13
-rw-r--r--package/squid/patches/patch-lib_util_c12
-rw-r--r--package/squid/patches/patch-src_Makefile_am23
-rw-r--r--package/srelay/Makefile8
-rw-r--r--package/srelay/patches/01-cross_compile.patch6
-rw-r--r--package/srelay/patches/patch-configure_in20
-rw-r--r--package/ssmtp/Makefile1
-rw-r--r--package/stress/Makefile3
-rw-r--r--package/subversion/Makefile2
-rw-r--r--package/syslog-ng/Makefile1
-rw-r--r--package/tcl/Makefile5
-rw-r--r--package/tcp_wrappers/Makefile6
-rw-r--r--package/tcp_wrappers/patches/debian-subset.patch936
-rw-r--r--package/tcp_wrappers/patches/opt_cflags.patch12
-rw-r--r--package/tcp_wrappers/patches/patch-Makefile279
-rw-r--r--package/tcp_wrappers/patches/patch-cflags4
-rw-r--r--package/tcp_wrappers/patches/patch-fix_options_c15
-rw-r--r--package/tcp_wrappers/patches/patch-hosts_access_311
-rw-r--r--package/tcp_wrappers/patches/patch-hosts_access_5143
-rw-r--r--package/tcp_wrappers/patches/patch-hosts_access_c38
-rw-r--r--package/tcp_wrappers/patches/patch-hosts_options_517
-rw-r--r--package/tcp_wrappers/patches/patch-options_c12
-rw-r--r--package/tcp_wrappers/patches/patch-percent_m_c27
-rw-r--r--package/tcp_wrappers/patches/patch-rfc931_c29
-rw-r--r--package/tcp_wrappers/patches/patch-safe_finger_c29
-rw-r--r--package/tcp_wrappers/patches/patch-scaffold_c18
-rw-r--r--package/tcp_wrappers/patches/patch-socket_c26
-rw-r--r--package/tcp_wrappers/patches/patch-tcpd_843
-rw-r--r--package/tcp_wrappers/patches/patch-tcpd_h158
-rw-r--r--package/tcp_wrappers/patches/patch-tcpdchk_c56
-rw-r--r--package/tcp_wrappers/patches/patch-weak_symbols_c14
-rw-r--r--package/tcp_wrappers/patches/patch-workarounds_c14
-rw-r--r--package/tinyproxy/Makefile6
-rw-r--r--package/tinyproxy/patches/patch-configure_ac22
-rw-r--r--package/updatedd/Makefile1
-rw-r--r--package/vsftpd/Makefile2
-rw-r--r--package/vsftpd/patches/patch-Makefile8
110 files changed, 1708 insertions, 4444 deletions
diff --git a/package/Depends.mk b/package/Depends.mk
index 3947db184..25d58ab58 100644
--- a/package/Depends.mk
+++ b/package/Depends.mk
@@ -154,6 +154,7 @@ obexftp-compile: openobex-compile libiconv-compile
opencdk-compile: libgcrypt-compile libgpg-error-compile zlib-compile
openct-compile: libtool-compile libusb-compile
openldap-compile: cyrus-sasl-compile openssl-compile libdb-compile
+openobex-compile: bluez-compile
opensips-compile: openssl-compile
ifeq (${ADK_COMPILE_OPENSSH_WITH_KRB5},y)
openssh-compile: krb5-compile
diff --git a/package/Makefile b/package/Makefile
index fddb29293..9e3209630 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -215,7 +215,7 @@ package-$(ADK_PACKAGE_LIBXSLT) += libxslt
package-$(ADK_PACKAGE_LIBXT) += libXt
package-$(ADK_PACKAGE_LIGHTTPD) += lighttpd
package-$(ADK_PACKAGE_LINKS) += links
-package-$(ADK_PACKAGE_LINUX_ATM) += linux-atm
+package-$(ADK_COMPILE_LINUX_ATM) += linux-atm
package-$(ADK_PACKAGE_LOGROTATE) += logrotate
package-$(ADK_PACKAGE_LRZSZ) += lrzsz
package-${ADK_PACKAGE_LYNX} += lynx
diff --git a/package/apr/Makefile b/package/apr/Makefile
index ea20ddfed..bf326d316 100644
--- a/package/apr/Makefile
+++ b/package/apr/Makefile
@@ -26,6 +26,7 @@ CONFIGURE_ENV+= ac_cv_sizeof_size_t=4
CONFIGURE_ENV+= ac_cv_sizeof_ssize_t=4
CONFIGURE_ENV+= ac_cv_file__dev_zero=yes
CONFIGURE_ENV+= apr_cv_process_shared_works=no
+CONFIGURE_ENV+= ac_cv_lib_nsl_gethostbyname=no
CONFIGURE_ARGS+= --with-devrandom=/dev/urandom
ifeq (${ADK_PACKAGE_APR_THREADING},y)
diff --git a/package/autossh/Makefile b/package/autossh/Makefile
index 414bf99e6..b5e184463 100644
--- a/package/autossh/Makefile
+++ b/package/autossh/Makefile
@@ -20,6 +20,7 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,AUTOSSH,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE:= gnu
+CONFIGURE_ARGS+= ac_cv_lib_nsl_gethostbyname=no
BUILD_STYLE:= auto
do-install:
diff --git a/package/avahi/files/avahi-daemon.conf b/package/avahi/files/avahi-daemon.conf
index a5ff88619..cf1385644 100644
--- a/package/avahi/files/avahi-daemon.conf
+++ b/package/avahi/files/avahi-daemon.conf
@@ -5,7 +5,6 @@ use-ipv4=yes
use-ipv6=no
check-response-ttl=no
use-iff-running=no
-enable-dbus=no
[publish]
publish-addresses=yes
diff --git a/package/base-files/extra/etc/sysctl.conf b/package/base-files/extra/etc/sysctl.conf
index e69de29bb..73260cf9d 100644
--- a/package/base-files/extra/etc/sysctl.conf
+++ b/package/base-files/extra/etc/sysctl.conf
@@ -0,0 +1,17 @@
+# Disables the magic-sysrq key
+#kernel.sysrq = 0
+# When the kernel panics, automatically reboot in 3 seconds
+#kernel.panic = 3
+# Enable packet forwarding
+#net.ipv4.ip_forward = 1
+# Disables IP dynaddr
+#net.ipv4.ip_dynaddr = 0
+# Disable ECN
+#net.ipv4.tcp_ecn = 0
+# Enables source route verification
+net.ipv4.conf.default.rp_filter = 1
+# Enable reverse path
+net.ipv4.conf.all.rp_filter = 1
+# Enable SYN cookies
+#net.ipv4.tcp_syncookies = 1
+
diff --git a/package/base-files/extra/init b/package/base-files/extra/init
index 567993cbb..0d4f3d623 100755
--- a/package/base-files/extra/init
+++ b/package/base-files/extra/init
@@ -1,8 +1,9 @@
#!/bin/sh
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
mount -nt proc proc /proc
+size=$(awk '/MemTotal:/ { if ($2 > 16000) { print 4096 } else { print 2048 }}' /proc/meminfo)
mount -o nosuid,nodev,noexec -t sysfs sysfs /sys
-mount none /tmp -t tmpfs -o size=2M
+mount none /tmp -t tmpfs -o size=$size
mount none /tmp -t tmpfs -o remount,nosuid,nodev,mode=1777
mount -o nosuid,size=64k,mode=0755 -t tmpfs mdev /dev
mkdir /dev/pts /dev/shm
diff --git a/package/bind/Makefile b/package/bind/Makefile
index 15b978615..a4e783e03 100644
--- a/package/bind/Makefile
+++ b/package/bind/Makefile
@@ -35,7 +35,8 @@ $(eval $(call PKG_template,BIND_HOST,bind-host,${PKG_VERSION}-${PKG_RELEASE},${P
$(eval $(call PKG_template,BIND_DIG,bind-dig,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_7},${PKG_SECTION}))
CONFIGURE_STYLE= gnu
-CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}"
+CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}" \
+ ac_cv_lib_nsl_inet_ntoa=no
CONFIGURE_ARGS+= --with-randomdev=/dev/urandom \
--disable-threads \
--with-openssl=${STAGING_DIR}/usr/ \
diff --git a/package/cfgfs/src/fwcf.sh b/package/cfgfs/src/fwcf.sh
index 6a97beb8a..fcaaf80a0 100644
--- a/package/cfgfs/src/fwcf.sh
+++ b/package/cfgfs/src/fwcf.sh
@@ -146,7 +146,7 @@ if test $1 = setup; then
mkdir /tmp/.cfgfs/root
mount --bind /etc /tmp/.cfgfs/root
mkdir /tmp/.cfgfs/temp
- mount -t tmpfs -o cfgfs /tmp/.cfgfs/temp
+ mount -t tmpfs none /tmp/.cfgfs/temp
(cd /tmp/.cfgfs/root; tar cf - .) | (cd /tmp/.cfgfs/temp; tar xpf -)
unclean=0
if [[ $1 = -N ]]; then
@@ -225,7 +225,7 @@ if test $1 = commit; then
EOF
[[ $1 = -f ]] || exit 7
fi
- mount -t tmpfs -o swap /tmp/.cfgfs/temp
+ mount -t tmpfs none /tmp/.cfgfs/temp
(cd /etc; tar cf - .) | (cd /tmp/.cfgfs/temp; tar xpf -)
cd /tmp/.cfgfs/temp
find . -type f | grep -v -e '^./.cfgfs' -e '^./.rnd$' | sort | \
diff --git a/package/cups/Makefile b/package/cups/Makefile
index d9dd2ec17..778c8fe47 100644
--- a/package/cups/Makefile
+++ b/package/cups/Makefile
@@ -64,7 +64,7 @@ post-install:
${CP} ${WRKINST}/usr/share/doc/cups/images \
${IDIR_CUPS}/usr/share/doc/cups/
rm -f ${IDIR_CUPS}/usr/bin/cups-config
- ${CP} ${WRKINST}/usr/lib/libcups.so* ${IDIR_CUPS}/usr/lib/
+ ${CP} ${WRKINST}/usr/lib/libcups*.so* ${IDIR_CUPS}/usr/lib/
${CP} ${WRKINST}/usr/lib/cups/cgi-bin/* ${IDIR_CUPS}/usr/lib/cups/cgi-bin/
${CP} ${WRKINST}/usr/lib/cups/daemon/* ${IDIR_CUPS}/usr/lib/cups/daemon/
${CP} ${WRKINST}/usr/share/cups/banners/* \
diff --git a/package/cxxtools/Makefile b/package/cxxtools/Makefile
index e3e104ce6..dab8121eb 100644
--- a/package/cxxtools/Makefile
+++ b/package/cxxtools/Makefile
@@ -31,6 +31,7 @@ TLDFLAGS+= -liconv -shared
endif
CONFIGURE_STYLE:= gnu
+CONFIGURE_ENV+= ac_cv_lib_nsl_setsockopt=no
CONFIGURE_ARGS+= --with-libiconv-prefix='${STAGING_DIR}/usr'
BUILD_STYLE:= auto
INSTALL_STYLE:= auto confprog
diff --git a/package/dhcp/Makefile b/package/dhcp/Makefile
index b0dce52d3..c7f223213 100644
--- a/package/dhcp/Makefile
+++ b/package/dhcp/Makefile
@@ -25,6 +25,7 @@ else
CONFIGURE_ARGS+= --disable-dhcpv6
endif
+TCFLAGS+= -D_GNU_SOURCE
CONFIGURE_STYLE:= gnu<