add debian stuff
authormegacz <megacz@0d961d1b-a432-0410-8fea-cc29f225fe07>
Wed, 13 Jun 2007 23:15:51 +0000 (23:15 +0000)
committermegacz <megacz@0d961d1b-a432-0410-8fea-cc29f225fe07>
Wed, 13 Jun 2007 23:15:51 +0000 (23:15 +0000)
git-svn-id: https://modwaklog.svn.sourceforge.net/svnroot/modwaklog/trunk/modwaklog@39 0d961d1b-a432-0410-8fea-cc29f225fe07

INSTALL
debian/500mod_waklog.info [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/dirs [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/rules [new file with mode: 0644]
debian/waklog.load [new file with mode: 0644]

diff --git a/INSTALL b/INSTALL
index 1df39a4..5924887 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -7,4 +7,11 @@ Type:
    make
    cp mod_waklog.so <wherever>
 
+Debian:
+
+   chmod +x debian/rules
+   fakeroot dpkg-buildpackage
+
+
+
 
diff --git a/debian/500mod_waklog.info b/debian/500mod_waklog.info
new file mode 100644 (file)
index 0000000..98c6144
--- /dev/null
@@ -0,0 +1,8 @@
+LoadModule: waklog_module /usr/lib/apache/1.3/mod_waklog.so
+Directives:
+ WaklogProtected
+ WaklogPrincipal
+ WaklogUseAFSCell
+ WaklogUseUserTokens
+ WaklogDefaultPrincipal
+Description: AFS Authentication for Apache
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..234d16b
--- /dev/null
@@ -0,0 +1,6 @@
+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
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..7db3389
--- /dev/null
@@ -0,0 +1,11 @@
+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
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..67ac4c8
--- /dev/null
@@ -0,0 +1,18 @@
+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
+
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..ca882bb
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..e845566
--- /dev/null
@@ -0,0 +1 @@
+README
diff --git a/debian/rules b/debian/rules
new file mode 100644 (file)
index 0000000..1dd408c
--- /dev/null
@@ -0,0 +1,102 @@
+#!/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
diff --git a/debian/waklog.load b/debian/waklog.load
new file mode 100644 (file)
index 0000000..31c0dea
--- /dev/null
@@ -0,0 +1 @@
+LoadModule waklog_module /usr/lib/apache2/modules/mod_waklog.so