Initial commit
root

root commited on 2012-01-09 15:30:41
Showing 8 changed files, with 156 additions and 0 deletions.

... ...
@@ -0,0 +1,2 @@
1
+files
2
+wifidog-gateway*
... ...
@@ -0,0 +1,5 @@
1
+wifidog-gateway (svn.r1461) unstable; urgency=low
2
+
3
+  * Initial Debian release
4
+
5
+ -- Benjamin Renard <brenard@zionetrix.net>  Mon, 09 Jan 2012 12:17:39 +0100
... ...
@@ -0,0 +1 @@
1
+7
... ...
@@ -0,0 +1,13 @@
1
+Source: wifidog-gateway
2
+Section: net
3
+Priority: extra
4
+Maintainer: Benjamin Renard <brenard@zionetrix.net>
5
+Build-Depends:
6
+ debhelper, automake
7
+Homepage: http://dev.wifidog.org/
8
+
9
+Package: wifidog-gateway
10
+Architecture: any
11
+Depends: ${misc:Depends}, ${shlibs:Depends}
12
+Description: The Wifidog gateway daemon
13
+ This package contains the Wifidog gateway daemon.
... ...
@@ -0,0 +1,27 @@
1
+This package was debianized by Benjamin Renard <brenard@zionetrix.net> on
2
+Mon, 09 Jan 2012 15:04:11 +0100.
3
+
4
+It was downloaded from Subversion of projet Wifidog :
5
+
6
+  https://dev.wifidog.org/svn/trunk/wifidog
7
+
8
+Upstream Author:
9
+
10
+    Wifidog
11
+
12
+Copyright:
13
+
14
+    Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
15
+    2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16
+    
17
+    This software is issued from GNU GENERAL PUBLIC LICENSE Version 2
18
+
19
+License:
20
+
21
+    You can use it under GNU GENERAL PUBLIC LICENSE Version 2 policy 
22
+     
23
+    For more information on GNU GENERAL PUBLIC LICENSE Version 2 policy,
24
+    please refer to COPYING. 
25
+     
26
+The Debian packaging is (C) 2012, Benjamin Renard <brenard@zionetrix.net> and
27
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
... ...
@@ -0,0 +1,5 @@
1
+etc
2
+etc/init.d
3
+usr/bin
4
+usr/include/wifidog
5
+usr/lib
... ...
@@ -0,0 +1,4 @@
1
+README
2
+FAQ
3
+COPYING
4
+AUTHORS
... ...
@@ -0,0 +1,99 @@
1
+#!/usr/bin/make -f
2
+# -*- makefile -*-
3
+
4
+# Uncomment this to turn on verbose mode.
5
+#export DH_VERBOSE=1
6
+
7
+
8
+
9
+
10
+
11
+configure: configure-stamp
12
+configure-stamp:
13
+	dh_testdir
14
+	# Add here commands to configure the package.
15
+
16
+	touch configure-stamp
17
+
18
+
19
+build: build-stamp
20
+
21
+build-stamp: configure-stamp  
22
+	dh_testdir
23
+
24
+	# Add here commands to compile the package.
25
+	cd $(CURDIR) && ./autogen.sh
26
+	cd $(CURDIR) && $(MAKE)
27
+
28
+	touch $@
29
+
30
+clean: 
31
+	dh_testdir
32
+	dh_testroot
33
+	rm -f build-stamp configure-stamp
34
+
35
+	# Add here commands to clean up after the build process.
36
+	cd $(CURDIR) && $(MAKE) clean
37
+
38
+	dh_clean 
39
+
40
+install: build
41
+	dh_testdir
42
+	dh_testroot
43
+	dh_clean -k 
44
+	dh_installdirs
45
+
46
+	# Add here commands to install the package into debian/wifidog-gateway.
47
+	cp $(CURDIR)/wifidog.conf $(CURDIR)/debian/wifidog-gateway/etc
48
+	cp $(CURDIR)/wifidog-msg.html $(CURDIR)/debian/wifidog-gateway/etc
49
+	cp $(CURDIR)/scripts/init.d/wifidog $(CURDIR)/debian/wifidog-gateway/etc/init.d
50
+
51
+	cp $(CURDIR)/src/wdctl $(CURDIR)/debian/wifidog-gateway/usr/bin
52
+	cp $(CURDIR)/src/wifidog $(CURDIR)/debian/wifidog-gateway/usr/bin
53
+
54
+	cp $(CURDIR)/libhttpd/httpd.h $(CURDIR)/debian/wifidog-gateway/usr/include/wifidog
55
+
56
+	cp $(CURDIR)/libhttpd/.libs/libhttpd.a $(CURDIR)/debian/wifidog-gateway/usr/lib
57
+	cp $(CURDIR)/libhttpd/.libs/libhttpd.la $(CURDIR)/debian/wifidog-gateway/usr/lib
58
+	cp $(CURDIR)/libhttpd/.libs/libhttpd.so.0.0.0 $(CURDIR)/debian/wifidog-gateway/usr/lib
59
+	ln -s libhttpd.so.0.0.0 $(CURDIR)/debian/wifidog-gateway/usr/lib/libhttpd.so.0
60
+	ln -s libhttpd.so.0.0.0 $(CURDIR)/debian/wifidog-gateway/usr/lib/libhttpd.so
61
+
62
+
63
+# Build architecture-independent files here.
64
+binary-indep: build install
65
+# We have nothing to do by default.
66
+
67
+# Build architecture-dependent files here.
68
+binary-arch: build install
69
+	dh_testdir
70
+	dh_testroot
71
+	dh_installchangelogs ChangeLog
72
+	dh_installdocs
73
+	dh_installexamples
74
+#	dh_install
75
+#	dh_installmenu
76
+#	dh_installdebconf	
77
+#	dh_installlogrotate
78
+#	dh_installemacsen
79
+#	dh_installpam
80
+#	dh_installmime
81
+#	dh_python
82
+#	dh_installinit
83
+#	dh_installcron
84
+#	dh_installinfo
85
+	dh_installman
86
+	dh_link
87
+	dh_strip
88
+	dh_compress
89
+	dh_fixperms
90
+#	dh_perl
91
+#	dh_makeshlibs
92
+	dh_installdeb
93
+	dh_shlibdeps
94
+	dh_gencontrol
95
+	dh_md5sums
96
+	dh_builddeb
97
+
98
+binary: binary-indep binary-arch
99
+.PHONY: build clean binary-indep binary-arch binary install configure
0 100