Update of /cvsroot/leaf/src/bering-uclibc/apps/mini_httpd
In directory sc8-pr-cvs1:/tmp/cvs-serv26832/mini_httpd
Added Files:
buildtool.cfg buildtool.mk mini_httpd-1.17beta1.tar.gz
Log Message:
Updated lrpStat package
Added weblet and mini_httpd packages
--- NEW FILE: buildtool.cfg ---
<Server cvs-sourceforge>
Type = viewcvs
Name = cvs.sourceforge.net/cgi-bin/viewcvs.cgi
Serverpath = /leaf/src/bering-uclibc/apps
</Server>
<File buildtool.mk>
Server = cvs-sourceforge
Revision = HEAD
Directory = mini_httpd
</File>
<File mini_httpd-1.17beta1.tar.gz>
Server = cvs-sourceforge
Revision = HEAD
Directory = mini_httpd
envname = MINI_HTTPD_SOURCE
</File>
<Package>
<mhttpd>
Version = 1.17beta1
Revision = 1
Help <<EOF
mini_httpd is a small HTTP server. Its performance is
not great, but for low or medium
traffic sites it's quite adequate. It implements all
the basic features of an HTTP server
See http://www.acme.com/software/mini_httpd/
LRP package by __PACKAGER__, __BUILDDATE__
EOF
<Permissions>
Files = 644
Directories = 755
</Permissions>
<Owner>
Files = root:root
Directories = root:root
</Owner>
<Contents>
<File>
Filename = usr/sbin/mini_httpd
Source = usr/bin/mini_httpd
Type = binary
Permissions = 755
</File>
<File>
Filename = etc/init.d/mini_httpd
Source = etc/init.d/mini_httpd
Type = binary
Type = conf
Description = mini_httpd init file
Permissions = 755
</File>
<File>
Filename = www
Type = directory
Description = mini_httpd document root
Permissions = 755
</File>
</Contents>
</mhttpd>
<mhttpds>
Version = 1.17beta1
Revision = 1
Help <<EOF
mini_httpd is a small HTTP server. Its performance is
not great, but for low or medium
traffic sites it's quite adequate. It implements all
the basic features of an HTTP server
This version is compiled with SSL support. Requires
libssl and libcrypto
To run this server, you need to create the host keys
first. On any Linux machine with an
installation of the OpenSSL tools, enter:
openssl req -new -x509 -days 365 -nodes -config
mini_httpd.cnf -out mini_httpd.pem \
-keyout mini_httpd.pem
openssl x509 -subject -dates -fingerprint -noout -in
mini_httpd.pem
chmod 600 mini_httpd.pem
And copy the resulting mini_httpd.pem file to your
/www directory on the router.
See http://www.acme.com/software/mini_httpd/
LRP package by __PACKAGER__, __BUILDDATE__
EOF
<Permissions>
Files = 644
Directories = 755
</Permissions>
<Owner>
Files = root:root
Directories = root:root
</Owner>
<Contents>
<File>
Filename = usr/sbin/mini_httpd
Source = usr/bin/mini_httpd.ssl
Type = binary
Permissions = 755
</File>
<File>
Filename = etc/init.d/mini_httpds
Source = etc/init.d/mini_httpds
Type = binary
Type = conf
Description = mini_httpd init file
Permissions = 755
</File>
<File>
Filename = www
Type = directory
Description = mini_httpd document root
Permissions = 755
</File>
</Contents>
</mhttpds>
<htpasswd>
Version = 1.17beta1
Revision = 1
Help <<EOF
simple program for manipulating password file
mini_httpd
See http://www.acme.com/software/mini_httpd/
LRP package by __PACKAGER__, __BUILDDATE__
EOF
<Permissions>
Files = 644
Directories = 755
</Permissions>
<Owner>
Files = root:root
Directories = root:root
</Owner>
<Contents>
<File>
Filename = usr/sbin/htpasswd
Source = usr/bin/htpasswd
Type = binary
Permissions = 755
</File>
</Contents>
</htpasswd>
</Package>
--- NEW FILE: buildtool.mk ---
#############################################################
#
# mini_httpd
#
#############################################################
include $(MASTERMAKEFILE)
MINI_HTTPD_DIR:=mini_httpd-1.17beta1
MINI_HTTPD_TARGET_DIR:=$(BT_BUILD_DIR)/mini_httpd
export CC=$(TARGET_CC)
STRIP_OPTIONS=-s --remove-section=.note --remove-section=.comment
source:
zcat $(MINI_HTTPD_SOURCE) | tar -xvf -
echo "lrp application/octet-stream" >> $(MINI_HTTPD_DIR)/mime_types.txt
build:
mkdir -p $(MINI_HTTPD_TARGET_DIR)/usr/bin
mkdir -p $(MINI_HTTPD_TARGET_DIR)/usr/man/man1
mkdir -p $(MINI_HTTPD_TARGET_DIR)/usr/man/man8
mkdir -p $(MINI_HTTPD_TARGET_DIR)/etc/init.d
mkdir -p $(BT_STAGING_DIR)/usr/bin
mkdir -p $(BT_STAGING_DIR)/etc/init.d
perl -i -p -e 's,#SSL_TREE\s*=.*,SSL_TREE = $(BT_STAGING_DIR),'
$(MINI_HTTPD_DIR)/Makefile
perl -i -p -e 's,#SSL_DEFS,SSL_DEFS,' $(MINI_HTTPD_DIR)/Makefile
perl -i -p -e 's,#SSL_INC,SSL_INC,' $(MINI_HTTPD_DIR)/Makefile
perl -i -p -e 's,#SSL_LIBS,SSL_LIBS,' $(MINI_HTTPD_DIR)/Makefile
perl -i -p -e 's,BINDIR\s*=.*,BINDIR = $(MINI_HTTPD_TARGET_DIR)/usr/bin,'
$(MINI_HTTPD_DIR)/Makefile
perl -i -p -e 's,MANDIR\s*=.*,MANDIR = $(MINI_HTTPD_TARGET_DIR)/usr/man,'
$(MINI_HTTPD_DIR)/Makefile
perl -i -p -e 's,# define HAVE_SENDFILE,/* HAVE_SENDFILE is not set */,'
$(MINI_HTTPD_DIR)/port.h
perl -i -p -e 's,# define HAVE_LINUX_SENDFILE,/* HAVE_LINUX_SENDFILE is not
set */,' $(MINI_HTTPD_DIR)/port.h
$(MAKE) CC=$(TARGET_CC) -C $(MINI_HTTPD_DIR)
$(MAKE) CC=$(TARGET_CC) -C $(MINI_HTTPD_DIR) install
mv $(MINI_HTTPD_TARGET_DIR)/usr/bin/mini_httpd
$(MINI_HTTPD_TARGET_DIR)/usr/bin/mini_httpd.ssl
$(MAKE) CC=$(TARGET_CC) -C $(MINI_HTTPD_DIR) clean
perl -i -p -e 's,^\s*SSL_TREE,#SSL_TREE,' $(MINI_HTTPD_DIR)/Makefile
perl -i -p -e 's,^\s*SSL_DEFS,#SSL_DEFS,' $(MINI_HTTPD_DIR)/Makefile
perl -i -p -e 's,^\s*SSL_INC,#SSL_INC,' $(MINI_HTTPD_DIR)/Makefile
perl -i -p -e 's,^\s*SSL_LIBS,#SSL_LIBS,' $(MINI_HTTPD_DIR)/Makefile
$(MAKE) CC=$(TARGET_CC) -C $(MINI_HTTPD_DIR)
$(MAKE) CC=$(TARGET_CC) -C $(MINI_HTTPD_DIR) install
cp mini_httpd $(MINI_HTTPD_TARGET_DIR)/etc/init.d/
cp mini_httpds $(MINI_HTTPD_TARGET_DIR)/etc/init.d/
-$(BT_STRIP) $(STRIP_OPTIONS) $(MINI_HTTPD_TARGET_DIR)/usr/bin/mini_httpd.ssl
-$(BT_STRIP) $(STRIP_OPTIONS) $(MINI_HTTPD_TARGET_DIR)/usr/bin/mini_httpd
-cp -a $(MINI_HTTPD_TARGET_DIR)/usr/bin/* $(BT_STAGING_DIR)/usr/bin/
-cp -a $(MINI_HTTPD_TARGET_DIR)/etc/init.d/* $(BT_STAGING_DIR)/etc/init.d/
clean:
rm -rf $(MINI_HTTPD_TARGET_DIR)
$(MAKE) -C $(MINI_HTTPD_DIR) clean
--- NEW FILE: mini_httpd-1.17beta1.tar.gz ---
(This appears to be a binary file; contents omitted.)
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Leaf-cvs-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits