Update of /cvsroot/fink/experimental/fingolfin/web
In directory usw-pr-cvs1:/tmp/cvs-serv19127
Added Files:
apache-1.3.26-1.info apache-1.3.26-1.patch
Log Message:
no time to test this yet
--- NEW FILE: apache-1.3.26-1.info ---
Package: apache
Version: 1.3.26
Revision: 1
BuildDepends: libxml2, gdbm, gmp, expat, tcltk-dev
Depends: daemonic (>= 20010902-1)
Source: http://httpd.apache.org/dist/httpd/%n_%v.tar.gz
Source2: http://us.dl.sf.net/fink/direct_download/source/apache_mod_hfs_apple-3.tar.gz
Source-MD5: 52e9b875597a208fca9d393e710087b6
Source2-MD5: 2e76f640006603c1caf1c0e88c6f8e44
PatchScript: cd ../apache_mod_hfs_apple-3 && sed 's|@PREFIX@|%p|g' <%a/%f.patch |
patch -p1
ConfigureParams: --mandir=%p/share/man --libexecdir=%p/lib/apache/1.3
--with-layout=GNU --enable-module=most --enable-shared=max
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
CompileScript: <<
./configure %c
make
cd ../apache_mod_hfs_apple-3 && make
<<
InstallScript: <<
make install root=%d
cd ../apache_mod_hfs_apple-3 && make install DSTROOT=%i/lib/apache/1.3
<<
DocFiles: ABOUT_APACHE LICENSE README Announcement
#
ConfFiles: <<
%p/etc/httpd/httpd.conf
%p/etc/httpd/access.conf
%p/etc/httpd/srm.conf
%p/etc/httpd/magic
%p/etc/httpd/mime.types
<<
#
DaemonicFile: <<
<service>
<description>Apache HTTP server</description>
<message>Apache web server</message>
<daemon name="apache">
<executable checkexit="true">%p/sbin/httpd</executable>
<configfile>%p/etc/httpd/httpd.conf</configfile>
<pidfile>%p/var/httpd/run/httpd.pid</pidfile>
</daemon>
</service>
<<
#
PreRmScript: <<
# clean up
if [ $1 != "upgrade" ]; then
daemonic remove apache
fi
<<
#
PostInstScript: <<
apxs -e -a -n hfs_apple `apxs -q LIBEXECDIR`/mod_hfs_apple.so
<<
#
Description: Flexible and extensible web server
DescDetail: <<
Apache is an industrial grade web server. In fact, it is the number
one server on the net. It is modular and extensible, using dynamic
loading for modules.
<<
DescUsage: <<
Edit the configuration files in /sw/etc/httpd to fit your needs. You
may want to change the DocumentRoot to keep both you and the package
system happy. When you're ready, make sure the shipped webserver is
disabled and run 'daemonic enable apache' as root. That will create a
startup item that starts apache after the next reboot. You can also
start it manually via 'apachectl' (but be sure you get the right one).
To disable the server, run 'daemonic disable apache' as root. This
will not kill a running server at this time. If you don't know how to
kill the server yourself, reboot the machine to get rid of it.
<<
DescPort: <<
Previous revisions by Christoph Pfisterer <[EMAIL PROTECTED]>
<<
License: BSD
Homepage: http://httpd.apache.org/
Maintainer: Finlay Dobbie <[EMAIL PROTECTED]>
--- NEW FILE: apache-1.3.26-1.patch ---
diff -ru apache_mod_hfs_apple-3/Makefile apache_mod_hfs_apple-3-patched/Makefile
--- apache_mod_hfs_apple-3/Makefile 2002-03-09 21:44:48.000000000 +0100
+++ apache_mod_hfs_apple-3-patched/Makefile 2002-08-05 14:28:05.000000000 +0200
@@ -21,15 +21,17 @@
SRCFILES = Makefile $(MODULE_SRC) $(OTHER_SRC) $(HEADERS)
#NEXTSTEP_INSTALLDIR := $(shell apxs -q LIBEXECDIR)
#NEXTSTEP_INSTALLDIR = $(DSTROOT)
+PREFIX = @PREFIX@
MORE_FLAGS = -Wc,"-DDEBUG=1 -traditional-cpp -Wno-four-char-constants"
+MORE_FLAGS = -Wc,"-DDEBUG=1 -traditional-cpp -Wno-four-char-constants
+-I$(PREFIX)/include"
MAKEFILEDIR = $(MAKEFILEPATH)/pb_makefiles
include $(MAKEFILEDIR)/platform.make
include $(MAKEFILEDIR)/commands-$(OS).make
all build $(MODULE): $(MODULE_SRC) $(OTHER_SRC)
- apxs -c -S LDFLAGS_SHLIB="-bundle -bundle_loader $(shell which httpd)"
$(MORE_FLAGS) -o $(MODULE) $(MODULE_SRC) $(OTHER_SRC)
+ $(PREFIX)/sbin/apxs -c -S LDFLAGS_SHLIB="-bundle -bundle_loader
+$(PREFIX)/sbin/httpd" $(MORE_FLAGS) -o $(MODULE) $(MODULE_SRC) $(OTHER_SRC)
installhdrs:
@echo "Installing header files..."
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits