summaryrefslogtreecommitdiff
path: root/packages/thttpd
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2007-03-17 21:38:22 +0000
committerOyvind Repvik <nail@nslu2-linux.org>2007-03-17 21:38:22 +0000
commitfc10476329fc151ea337ace4aab8562edb7ac9f1 (patch)
tree309a2446e8a5bd26c092d168ff6ce3317b4579e3 /packages/thttpd
parentbea1ba98454499a75944dfa4269a6cb608ad40f0 (diff)
thttpd: Build htpasswd shared too. Reduces the total size from 600kb to 110kb
Diffstat (limited to 'packages/thttpd')
-rw-r--r--packages/thttpd/files/htpasswd_shared.diff11
-rw-r--r--packages/thttpd/thttpd_2.25b.bb5
2 files changed, 14 insertions, 2 deletions
diff --git a/packages/thttpd/files/htpasswd_shared.diff b/packages/thttpd/files/htpasswd_shared.diff
new file mode 100644
index 0000000000..7ee2cd27dc
--- /dev/null
+++ b/packages/thttpd/files/htpasswd_shared.diff
@@ -0,0 +1,11 @@
+--- thttpd-2.25b/extras/Makefile.in.orig 2007-03-17 22:30:47.356393000 +0100
++++ thttpd-2.25b/extras/Makefile.in 2007-03-17 22:31:34.566393000 +0100
+@@ -36,7 +36,7 @@
+ DEFS = @DEFS@
+ INCLS = -I..
+ CFLAGS = $(CCOPT) $(DEFS) $(INCLS)
+-STATICFLAG = @V_STATICFLAG@
++STATICFLAG =
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+ NETLIBS = @V_NETLIBS@
diff --git a/packages/thttpd/thttpd_2.25b.bb b/packages/thttpd/thttpd_2.25b.bb
index c5d15269ea..c8520f84af 100644
--- a/packages/thttpd/thttpd_2.25b.bb
+++ b/packages/thttpd/thttpd_2.25b.bb
@@ -1,12 +1,13 @@
DESCRIPTION = "A simple, small, portable, fast, and secure HTTP server."
LICENSE = "BSD"
HOMEPAGE = "http://www.acme.com/software/thttpd/"
-PR="r5"
+PR="r6"
SRC_URI = "http://www.acme.com/software/thttpd/thttpd-2.25b.tar.gz \
file://install.patch;patch=1 \
file://acinclude.m4 \
- file://init"
+ file://init \
+ file://htpasswd_shared.diff;patch=1"
S = "${WORKDIR}/thttpd-${PV}"
INITSCRIPT_NAME = "thttpd"