make
cp mod_waklog.so <wherever>
+Debian:
+
+ chmod +x debian/rules
+ fakeroot dpkg-buildpackage
+
+
+
--- /dev/null
+LoadModule: waklog_module /usr/lib/apache/1.3/mod_waklog.so
+Directives:
+ WaklogProtected
+ WaklogPrincipal
+ WaklogUseAFSCell
+ WaklogUseUserTokens
+ WaklogDefaultPrincipal
+Description: AFS Authentication for Apache
--- /dev/null
+libapache-mod-waklog (0.0-umbc-20070316-1) unstable; urgency=low
+
+ * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
+
+ -- Adam Megacz <megacz@cs.berkeley.edu> Thu, 22 Mar 2007 21:05:30 -0700
+
--- /dev/null
+Source: libapache-mod-waklog
+Section: web
+Priority: optional
+Maintainer: Adam Megacz <megacz@cs.berkeley.edu>
+Build-Depends: apache-dev, libkrb5-dev, autoconf, automake
+Standards-Version: 3.6.1
+
+Package: libapache-mod-waklog
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, apache-common, krb5-config, libapache-mod-auth-kerb
+Description: AFS Authentication for Apache
--- /dev/null
+Copyright 2005 Regents of The University of Michigan
+All Rights Reserved.
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
+provided that the above copyright notice appears in all copies and
+that both that copyright notice and this permission notice appear in
+supporting documentation, and that the name of The University of
+Michigan not be used in advertising or publicity pertaining to
+distribution of the software without specific, written prior
+permission. This software is supplied as is without expressed or
+implied warranties of any kind.
+
+The University of Michigan
+c/o UM Webmaster Team
+4251 Plymouth Road
+Ann Arbor, MI 48105-2785
+
--- /dev/null
+usr/bin
+usr/sbin
--- /dev/null
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+ chmod +x regen.sh
+ ./regen.sh
+ ./configure --with-afs-libs=/usr/lib/afs --with-afs-headers=/usr/include/afs
+ touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+ #docbook-to-man debian/libapache-mod-waklog.sgml > libapache-mod-waklog.1
+
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) clean
+
+ dh_clean --exclude ./_darcs/current/Makefile.orig --exclude ./Makefile.orig
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k --exclude ./_darcs/current/Makefile.orig --exclude ./Makefile.orig
+ dh_installdirs
+
+ # Add here commands to install the package into debian/libapache-mod-waklog.
+ mkdir -p debian/libapache-mod-waklog/usr/lib/apache/1.3/
+ mkdir -p debian/libapache-mod-waklog/etc/apache/conf.d/
+ cp mod_waklog.so debian/libapache-mod-waklog/usr/lib/apache/1.3/
+ cp debian/waklog.load debian/libapache-mod-waklog/etc/apache/conf.d/waklog.conf
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_python
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- /dev/null
+LoadModule waklog_module /usr/lib/apache2/modules/mod_waklog.so