From e36b08f56ba7335cedfa098f78da722f9ed8dcb1 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 29 Jul 2004 23:38:25 +0000 Subject: add debian stuff git-svn-id: file:///home/lennart/svn/public/aeswepd/trunk@48 022f378f-78c4-0310-b860-d162c87e6274 --- Makefile.am | 7 ++-- debian/changelog | 6 ++++ debian/compat | 1 + debian/control | 28 +++++++++++++++ debian/copyright | 12 +++++++ debian/dirs | 2 ++ debian/docs | 2 ++ debian/rules | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 163 insertions(+), 2 deletions(-) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dirs create mode 100644 debian/docs create mode 100755 debian/rules diff --git a/Makefile.am b/Makefile.am index a76516e..e39e1c9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,7 +16,7 @@ # along with aeswepd; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. -EXTRA_DIST=bootstrap.sh README LICENSE +EXTRA_DIST=bootstrap.sh README LICENSE debian/changelog debian/compat debian/control debian/copyright debian/dirs debian/docs debian/rules SUBDIRS=src doc man MAINTAINERCLEANFILES = README @@ -37,4 +37,7 @@ homepage: distcleancheck: @: -.PHONY: homepage distcleancheck +deb: + dpkg-buildpackage -rfakeroot + +.PHONY: homepage distcleancheck deb diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a2fc908 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +aeswepd (0.4-1) unstable; urgency=low + + * Initial Release. + + -- Lennart Poettering Fri, 30 Jul 2004 01:29:30 +0200 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..021c7db --- /dev/null +++ b/debian/control @@ -0,0 +1,28 @@ +Source: aeswepd +Section: net +Priority: optional +Maintainer: Lennart Poettering +Build-Depends: debhelper (>= 4.0.0), xmltoman, libmcrypt-dev, libdaemon-dev, lynx +Standards-Version: 3.6.0 + +Package: aeswepd +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A UNIX daemon for changing WEP keys of WLAN devices in constant intervals + aeswepd is a UNIX daemon for changing WEP keys of WLAN devices in constant + intervals. The WEP keys are calculated by encrypting the current UNIX time + using the AES cypher with a given constant key. aeswepd strengthens the + security of the weak hardware based, standards compliant WEP technology. + . + aeswepd may use up to three hardware WEP keys: the first is set to the + current, the second to the previous and the third to the next key. This is + useful when working with not completely synchronized RTCs. If only a single + hardware WEP key is used, you have to synchronize your RTCs so that no + connectivity interrupts may occur. + . + aeswepd has several advantages over other solutions to improve WEP: it is easy + to use, doesn't involve computing intensive algorithms, doesn't increase + traffic latency. On the other hand it has several disadvantages as well: it + requires an installation of aeswepd on all network members, it is not + standardized, currently only APs which run a flavour of Linux may be used with + it. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..0beb1be --- /dev/null +++ b/debian/copyright @@ -0,0 +1,12 @@ +This package was debianized by Lennart Poettering on +Fri, 30 Jul 2004 01:29:30 +0200. + +It was downloaded from http://0pointer.de/lennart/projects/aeswepd/ + +Upstream Author: Lennart Poettering + +Copyright: + +You are free to distribute this software under the terms of the GNU General +Public License. On Debian systems, the complete text of the GNU General Public +License can be found in the file `/usr/share/common-licenses/GPL'. diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..ca882bb --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..5318868 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +README +doc/NEWDRIVERS diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..cf6e611 --- /dev/null +++ b/debian/rules @@ -0,0 +1,107 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + # Add here commands to configure the package. + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/aeswepd.sgml > aeswepd.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/aeswepd. + $(MAKE) install DESTDIR=$(CURDIR)/debian/aeswepd + + +# 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_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# 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 -- cgit