-include debian/rules.ext
+DATAPATH_CONFIGURE_OPTS = --enable-snat
+
configure: configure-stamp
configure-stamp:
dh_testdir
cd _debian && ( \
test -e Makefile || \
../configure --prefix=/usr --localstatedir=/var --enable-ssl \
- --enable-snat)
+ $(DATAPATH_CONFIGURE_OPTS))
$(ext_configure)
touch configure-stamp
dh_testroot
dh_clean -k
tar xzf openflow.tar.gz
- cd openflow && ./configure --with-$(l2x)=$(KSRC)
+ cd openflow && ./configure --with-$(l2x)=$(KSRC) $(DATAPATH_CONFIGURE_OPTS)
cd openflow && $(MAKE) -C $(dpdir)
install -d -m755 $(DSTDIR)
install -m644 openflow/$(dpdir)/*_mod.$(KO)o $(DSTDIR)/
dh_testroot
dh_clean -k -i
dh_installdirs -i
+ dh_install -i
cd debian/openflow-datapath-source/usr/src && tar -c modules | bzip2 -9 > openflow-datapath.tar.bz2 && rm -rf modules
install -m644 debian/openflow-pki-server.apache2 debian/openflow-pki-server/etc/apache2/sites-available/openflow-pki
- dh_install -i
$(ext_install_indep)
install-arch: build-arch
dh_installdocs
dh_installexamples
dh_installdebconf
-# dh_installlogrotate
+ dh_installlogrotate
dh_installinit
dh_installman
dh_link