Install the DHCP server through more standard means, since the DHCP sipb-xen-dhcp/3
authorEvan Broder <broder@mit.edu>
Sun, 5 Oct 2008 00:13:10 +0000 (20:13 -0400)
committerEvan Broder <broder@mit.edu>
Sun, 5 Oct 2008 00:13:10 +0000 (20:13 -0400)
server code is fairly stable

svn path=/trunk/packages/sipb-xen-dhcp/; revision=1035

debian/changelog
debian/control
debian/rules
debian/sipb-xen-dhcp.init
files/usr/sbin/sipb-xen-dhcpserver [moved from code/dhcpserver.py with 100% similarity]

index 3dbbe51..a2bbc7e 100644 (file)
@@ -2,8 +2,9 @@ sipb-xen-dhcp (3) unstable; urgency=low
 
   * invirt-configurize dhcp
   * Use the syslog instead of the event_logger module
+  * Install the server in a more standard location
 
- -- Evan Broder <broder@mit.edu>  Sat, 04 Oct 2008 20:08:29 -0400
+ -- Evan Broder <broder@mit.edu>  Sat, 04 Oct 2008 20:10:17 -0400
 
 sipb-xen-dhcp (2) unstable; urgency=low
 
index fae2da7..a2b46d8 100644 (file)
@@ -2,10 +2,10 @@ Source: sipb-xen-dhcp
 Section: base
 Priority: extra
 Maintainer: SIPB Xen Project <sipb-xen@mit.edu>
-Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.1.0), subversion
+Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.1.0)
 Standards-Version: 3.7.2
 
 Package: sipb-xen-dhcp
 Architecture: all
-Depends: ${misc:Depends}, daemon, sipb-xen-database-common, sipb-xen-python-pydhcplib (>= 0.3.2-2)
+Depends: ${misc:Depends}, daemon, sipb-xen-database-common, sipb-xen-python-pydhcplib (>= 0.3.2-2), sipb-xen-base
 Description: Install and enable the DHCP server
index 341bade..e6192f6 100755 (executable)
@@ -1,6 +1,3 @@
 #!/usr/bin/make -f
 
 include /usr/share/cdbs/1/rules/debhelper.mk
-
-binary-fixup/sipb-xen-dhcp::
-       svn co https://sipb-xen-dev.mit.edu:1111/trunk/packages/sipb-xen-dhcp/code/ $(DEB_DESTDIR)/usr/local/lib/sipb-xen-dhcp
index a1b14be..37bb6bb 100644 (file)
@@ -17,7 +17,7 @@
 PATH=/sbin:/usr/sbin:/bin:/usr/bin
 DESC="The sipb-xen DHCP server"
 NAME=sipb-xen-dhcp
-DAEMON=/usr/local/lib/sipb-xen-dhcp/dhcpserver.py
+DAEMON=/usr/sbin/sipb-xen-dhcpserver
 DAEMON_ARGS=""
 PIDFILE=/var/run/$NAME.pid
 SCRIPTNAME=/etc/init.d/$NAME