thttpd: Build htpasswd shared too. Reduces the total size from 600kb to 110kb
authorOyvind Repvik <nail@nslu2-linux.org>
Sat, 17 Mar 2007 21:38:22 +0000 (21:38 +0000)
committerOyvind Repvik <nail@nslu2-linux.org>
Sat, 17 Mar 2007 21:38:22 +0000 (21:38 +0000)
packages/thttpd/files/htpasswd_shared.diff [new file with mode: 0644]
packages/thttpd/thttpd_2.25b.bb

diff --git a/packages/thttpd/files/htpasswd_shared.diff b/packages/thttpd/files/htpasswd_shared.diff
new file mode 100644 (file)
index 0000000..7ee2cd2
--- /dev/null
@@ -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@
index c5d1526..c8520f8 100644 (file)
@@ -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"