From fc10476329fc151ea337ace4aab8562edb7ac9f1 Mon Sep 17 00:00:00 2001 From: Oyvind Repvik Date: Sat, 17 Mar 2007 21:38:22 +0000 Subject: thttpd: Build htpasswd shared too. Reduces the total size from 600kb to 110kb --- packages/thttpd/files/htpasswd_shared.diff | 11 +++++++++++ packages/thttpd/thttpd_2.25b.bb | 5 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 packages/thttpd/files/htpasswd_shared.diff (limited to 'packages/thttpd') 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" -- cgit v1.2.3