diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-08-26 15:58:53 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-08-26 15:58:53 -0700 |
commit | 2c1af0e6bcb3a0184c7759ed27f06cd8275b69f7 (patch) | |
tree | 581e36fb842e98d2da4484ad63b0a73d0d9e4d42 | |
parent | eccab282e7e201fdbd0fb62a5b927dfb9f27009a (diff) | |
download | vyatta-cfg-qos-2c1af0e6bcb3a0184c7759ed27f06cd8275b69f7.tar.gz vyatta-cfg-qos-2c1af0e6bcb3a0184c7759ed27f06cd8275b69f7.zip |
Split Qos templates for serial into a separate package
Only SE version wants templates for serial.
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | debian/control | 6 | ||||
-rwxr-xr-x | debian/rules | 22 | ||||
-rw-r--r-- | debian/vyatta-cfg-qos-serial.install | 3 | ||||
-rw-r--r-- | debian/vyatta-cfg-qos-serial.lintian-overrides | 2 | ||||
-rw-r--r-- | debian/vyatta-cfg-qos.install | 15 | ||||
-rw-r--r-- | debian/vyatta-cfg-qos.lintian-overrides (renamed from debian/lintian) | 0 |
7 files changed, 35 insertions, 15 deletions
@@ -10,8 +10,10 @@ config.status config.sub configure debian/files +debian/tmp debian/*.postinst debian/vyatta-cfg-qos +debian/vyatta-cfg-qos-serial debian/*.debhelper.log debian/*.substvars INSTALL diff --git a/debian/control b/debian/control index 9ab10b8..0aa77cf 100644 --- a/debian/control +++ b/debian/control @@ -20,3 +20,9 @@ Suggests: util-linux (>= 2.13-5), net-tools, Description: Vyatta Qos configuration templates/scripts Vyatta Qos configuration templates and scripts. + +Package: vyatta-cfg-qos-serial +Architecture: all +Depends: ${perl:Depends}, ${shlibs:Depends} vyatta-cfg-qos +Description: vyatta-cfg-qos serial templates + Vyatta Qos configuration templates for serial devices diff --git a/debian/rules b/debian/rules index ccbee71..df2609a 100755 --- a/debian/rules +++ b/debian/rules @@ -14,10 +14,7 @@ # 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) -PACKAGE=vyatta-cfg-qos -PKGDIR=$(CURDIR)/debian/$(PACKAGE) - -CFLAGS = -Wall -g +PKGDIR=$(CURDIR)/debian/tmp configure = ./configure configure += --host=$(DEB_HOST_GNU_TYPE) @@ -25,14 +22,6 @@ configure += --build=$(DEB_BUILD_GNU_TYPE) configure += --prefix=/opt/vyatta configure += --mandir=\$${prefix}/share/man configure += --infodir=\$${prefix}/share/info -configure += CFLAGS="$(CFLAGS)" -configure += LDFLAGS="-Wl,-z,defs" - -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif configure: configure.ac Makefile.am chmod +x debian/autogen.sh @@ -72,8 +61,11 @@ install: build $(MAKE) DESTDIR=$(PKGDIR) install - install -D --mode=0644 debian/lintian $(PKGDIR)/usr/share/lintian/overrides/$(PACKAGE) - install -D --mode=0644 debian/linda $(PKGDIR)/usr/share/linda/overrides/$(PACKAGE) + for p in vyatta-cfg-qos vyatta-cfg-qos-serial; do \ + install -D --mode=0644 debian/$$p.lintian-overrides \ + debian/$$p/usr/share/lintian/overrides/$$p; \ + done + # Build architecture-independent files here. binary-indep: build install @@ -82,7 +74,7 @@ binary-indep: build install dh_testroot dh_installchangelogs ChangeLog dh_installdocs - dh_install + dh_install --sourcedir=debian/tmp dh_installdebconf dh_link dh_strip diff --git a/debian/vyatta-cfg-qos-serial.install b/debian/vyatta-cfg-qos-serial.install new file mode 100644 index 0000000..74b0475 --- /dev/null +++ b/debian/vyatta-cfg-qos-serial.install @@ -0,0 +1,3 @@ +opt/vyatta/share/vyatta-cfg/templates/interfaces/adsl +opt/vyatta/share/vyatta-cfg/templates/interfaces/multilink +opt/vyatta/share/vyatta-cfg/templates/interfaces/serial diff --git a/debian/vyatta-cfg-qos-serial.lintian-overrides b/debian/vyatta-cfg-qos-serial.lintian-overrides new file mode 100644 index 0000000..cfa2f9e --- /dev/null +++ b/debian/vyatta-cfg-qos-serial.lintian-overrides @@ -0,0 +1,2 @@ +vyatta-cfg-qos-serial: file-in-unusual-dir +vyatta-cfg-qos-serial: dir-or-file-in-opt diff --git a/debian/vyatta-cfg-qos.install b/debian/vyatta-cfg-qos.install new file mode 100644 index 0000000..0a79f6e --- /dev/null +++ b/debian/vyatta-cfg-qos.install @@ -0,0 +1,15 @@ +etc/ppp/ip-up.d +opt/vyatta/etc +opt/vyatta/sbin +opt/vyatta/share/perl5 +opt/vyatta/share/vyatta-cfg/templates/traffic-policy +opt/vyatta/share/vyatta-cfg/templates/interfaces/bonding +opt/vyatta/share/vyatta-cfg/templates/interfaces/bridge +opt/vyatta/share/vyatta-cfg/templates/interfaces/ethernet +opt/vyatta/share/vyatta-cfg/templates/interfaces/input +opt/vyatta/share/vyatta-cfg/templates/interfaces/loopback +opt/vyatta/share/vyatta-cfg/templates/interfaces/openvpn +opt/vyatta/share/vyatta-cfg/templates/interfaces/pseudo-ethernet +opt/vyatta/share/vyatta-cfg/templates/interfaces/tunnel +opt/vyatta/share/vyatta-cfg/templates/interfaces/wireless +opt/vyatta/share/vyatta-cfg/templates/interfaces/wirelessmodem diff --git a/debian/lintian b/debian/vyatta-cfg-qos.lintian-overrides index f1dafbd..f1dafbd 100644 --- a/debian/lintian +++ b/debian/vyatta-cfg-qos.lintian-overrides |