Skip to content

Commit

Permalink
debian: Fix packaging issues and updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sbadia committed Feb 13, 2016
1 parent 0ca3e5a commit 80992a0
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 12 deletions.
4 changes: 2 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
rancid-git (2.3.9-0) UNRELEASED; urgency=low
rancid-git (2.3.9-4) unstable; urgency=low

[ Vincent Bernat ]
* Unofficial package.
Expand All @@ -11,4 +11,4 @@ rancid-git (2.3.9-0) UNRELEASED; urgency=low
* Added support for Ubiquiti AirOS radios and ToughSwitch (ubnt)
* Updated looking glass (rancid-cgi).

-- Vincent Bernat <bernat@debian.org> Mon, 18 Aug 2014 10:05:05 +0200
-- Vincent Bernat <bernat@debian.org> Sat, 13 Feb 2016 11:17:37 +0100
38 changes: 29 additions & 9 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,41 @@ Source: rancid-git
Section: net
Priority: optional
Maintainer: Roland Rosenfeld <roland@debian.org>
Build-Depends: debhelper (>= 9), expect, perl, automake, autoconf
Standards-Version: 3.9.4
Build-Depends: automake,
autotools-dev,
cvs,
debhelper (>= 9),
dh-autoreconf,
exim4 | mail-transport-agent,
expect,
iputils-ping | ping,
openssh-client,
perl,
po-debconf,
telnet
Standards-Version: 3.9.6
Homepage: http://www.shrubbery.net/rancid/

Package: rancid-git
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, expect, perl,
cvs | subversion | git, passwd, openssh-client | ssh, inetutils-ping | ping,
debconf (>= 0.2.26) | debconf-2.0, adduser, exim4 | mail-transport-agent,
libperl4-corelibs-perl | perl (<< 5.12.3-7)
Depends: adduser,
cvs | subversion | git,
debconf (>= 0.2.26) | debconf-2.0,
exim4 | mail-transport-agent,
expect,
iputils-ping | ping,
libperl4-corelibs-perl | perl (<< 5.12.3-7),
openssh-client | ssh,
passwd,
perl,
${misc:Depends},
${perl:Depends},
${shlibs:Depends}
Suggests: diffstat
Provides: rancid-core, rancid-util, rancid
Provides: rancid, rancid-core, rancid-util
Replaces: rancid-core (<< 2.3.5), rancid-util (<< 2.3.5)
Breaks: rancid-core (<< 2.3.5), rancid-util (<< 2.3.5)
Conflicts: rancid, par
Conflicts: par, rancid
Description: Really Awesome New Cisco confIg Differ
This is a popular ISP toolkit, based on expect and shell scripts,
for managing router configurations.
Expand All @@ -27,7 +47,7 @@ Description: Really Awesome New Cisco confIg Differ

Package: rancid-cgi
Architecture: all
Depends: ${misc:Depends}, ${perl:Depends}, rancid-git, liblockfile-simple-perl
Depends: liblockfile-simple-perl, rancid-git, ${misc:Depends}, ${perl:Depends}
Suggests: apache2 | httpd-cgi
Description: looking glass CGI for rancid
This is a popular ISP toolkit, based on expect and shell scripts,
Expand Down
3 changes: 2 additions & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)

%:
dh $@
dh $@ --with autotools_dev --with autoreconf

override_dh_auto_configure:
aclocal
Expand All @@ -29,6 +29,7 @@ override_dh_auto_configure:
--sysconfdir=\$${prefix}etc/rancid \
--exec-prefix=\$${prefix}usr/lib/rancid \
--localstatedir=\$${prefix}var/lib/rancid \
--libdir=\$${prefix}usr/share/perl5 \
--with-git

override_dh_auto_install:
Expand Down

0 comments on commit 80992a0

Please sign in to comment.