From 1956804d2324a8dc6f9bc4a0beb9c27dd3b7a283 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 14 Aug 2007 22:26:18 +0000 Subject: added acf.conf git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@221 ab2d0c66-481e-0410-8bed-d214d4d58bed --- Makefile | 5 ++++- README | 17 ++++++++++++----- acf.conf | 2 ++ 3 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 acf.conf diff --git a/Makefile b/Makefile index 73e35f4..dc80c6d 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,7 @@ DISTPKG=$(P).tar.bz2 SUBDIRS=app lib www EXTRA_DIST=ChangeLog Makefile README TODO +CONF_FILES=acf.conf DISTFILES=$(EXTRA_DIST) @@ -48,6 +49,8 @@ $(DISTPKG): distdir $(DISTFILES) rm -r $(DISTDIR) phony+=install -install: install-recursive +install: install-recursive $(CONF_FILES) + mkdir -p $(DESTDIR)/etc/acf + cp $(CONF_FILES) $(DESTDIR)/etc/acf .PHONY: $(phony) diff --git a/README b/README index b5d8df5..adbc1a2 100644 --- a/README +++ b/README @@ -1,11 +1,18 @@ Alpine Configuration Framework (A work in progress.) -You can checout from svn to another location and run "make checkpkg DESTDIR=/" -to make sure that all files get included in dist package. +To install the package run: -The config file should be in /etc/acf/acf.conf and contain: + make install -appdir=/var/lib/acf/app/ +To set up mini_httpd create a /etc/mini_httpd.conf file containing: +nochroot +dir=/usr/share/acf/www +user=nobody +logfile=/var/log/mini_httpd.log +cgipat=cgi-bin/* +#host= -(or wherever your app dir is) +Then start mini_httpd with: + + mini_httpd -C /etc/mini_httpd.conf diff --git a/acf.conf b/acf.conf new file mode 100644 index 0000000..f3718ff --- /dev/null +++ b/acf.conf @@ -0,0 +1,2 @@ +appdir=/usr/share/acf/app/ +libdir=/usr/share/acf/lib/ -- cgit v1.2.3