Commit graph

102 commits

Author SHA1 Message Date
Rick Elrod
341a6be78d
fix debian control file copypaste fail (#69715)
Signed-off-by: Rick Elrod <rick@elrod.me>
2020-05-26 18:42:40 -05:00
Rick Elrod
1ed5b587c8
More fixes for debian ansible-base builds (#69714)
Change:
Fix files that got missed in 04ec72160

Test Plan:
Local Ubuntu 20.04 VM

Signed-off-by: Rick Elrod <rick@elrod.me>
2020-05-26 18:13:33 -05:00
Rick Elrod
04ec72160a
Fixes for building ansible-base .debs, using py3 (#69534)
Change:
- Changes for ansible -> ansible base
- Bump to py3 for 2.10 PPA release

Test Plan:
- Local VM; Jenkins after merge.

Tickets:
- Refs #57342

Signed-off-by: Rick Elrod <rick@elrod.me>
2020-05-15 20:30:08 -05:00
Gonéri Le Bouder
519e4f4223 debian: install lib in dist-packages (#64412)
On Ubuntu Precise and Trusty, the build was failing because the Ansible
libs were installed in /usr/lib/python2.7/site-packages.

According to the Debian Policy (2.5), they should actually be install in
/usr/lib/python2.7/dist-packages This is also CDBS default behaviour since
0.4.131.

See: https://www.debian.org/doc/packaging-manuals/python-policy/ch-python.html

Closes: #64160
2019-11-05 10:45:05 -05:00
Gonéri Le Bouder
3f9316bca2 debian: prepare the ansible-test package
- Generate an extra package for `ansible-test`.
- Manually install the files because CDBS get confused by our two
  Python packages
- Refresh the package descriptions to match what is done with the RPM
2019-09-03 22:00:24 -07:00
Matt Davis
e4edb2842a 2.6 changelog gen/version/root dir cleanup (#40421)
* patched in changelog gen stuff from stable-2.5
* Makefile updates
* release.py as single-source-of-truth
* Remove obsolete ansible-core-sitemap.xml file.
* Move ROADMAP.rst into README.rst.
* dynamic rpm changelog, zap old deb/rpm changelogs
* fix changelog in MANIFEST.in
* Remove obsolete hacking/update.sh script.
* Remove ref to deleted authors script.
* Remove ref to removed module-formatter script.
* Update headings to match script names.
* MANIFEST.in cleanup
* removed RELEASES.txt and versions.yml
* removed obsolete release generation playbook/bits (not used since 2.5)
* misc Makefile cleanup
* speculative changes to DEB versioning
* allow override of DEB_VERSION/DEB_RELEASE
2018-05-21 16:14:53 -07:00
Matt Clay
32d786af65 Convert more http links to https. 2018-04-25 23:12:46 -07:00
Toshio Kuratomi
19a5f96a1a README.md was renamed. Fix deb build reference to the README 2018-04-11 11:22:50 -07:00
Joseph Herlant
00a7ff7974 Move man pages generations to rst2man (#37861) 2018-03-26 16:28:28 -07:00
Grant Slater
e3192fb3a4 Use pycrypto backend, rather than python-cryptography, on Ubuntu Precise 2018-02-19 13:39:32 -08:00
Matt Clay
614a53734c Fix Debian packaging Dockerfile and docs. 2017-10-13 15:07:02 -07:00
Rene van Aerle
95e1d91d5d Mention Ansible in package descriptions
These values are used by software updaters to show which applications
are being updates to the user. In the case of Ubuntu, it will now show
clearly that it is updating Ansible instead of a radically simple IT
automation platform.
2017-10-05 08:41:15 -07:00
Andreas Olsson
ba0b91b51b Remove git:// urls from docsite and from packaging (#30459)
It's almost always preferable to clone by way of https:// rather than
using the bare git:// protocol. Not only does https:// provide
stronger guarantees it also plays nicer with corporate proxies, etc.
2017-10-03 12:16:25 -07:00
Graham Mainwaring
cde36b883c Fix pycrypto backend setting to work when multiple distros are specified in DEB_DIST 2017-07-13 12:13:54 -07:00
Graham Mainwaring
cf01068f53 Use pycrypto backend, rather than python-cryptography, on Ubuntu Trusty 2017-07-12 08:53:21 -07:00
Shane McDonald
4ae0d5b843 Build debs with pbuilder (#18165)
* Build debs with pbuilder
* Update README in packaging/debian
* Add Dockerfile for building debs
* Add local_deb makefile target - Allows users to build debs using locally installed dependencies. This was the `deb` target before moving to pbuilder.
2016-10-26 14:24:15 -07:00
Loïc
0a60cceaf0 Debian need build-essential package to build deb package (#18068)
* Need build-essential package

* dpkg-dev is useless: it is a dependency of build-essential
2016-10-20 22:52:13 -04:00
Bill Nottingham
77e7ae6838 Change <support@ansible.com> - it's being retired. 2016-10-15 16:42:13 -07:00
Evgeni Golov
0cdbc8b48d backwards compat for python-support on old Debian/Ubuntu releases 2016-03-18 11:07:23 +01:00
Evgeni Golov
de2fe08d9f update README.md 2016-03-17 18:28:23 +01:00
Evgeni Golov
3fd74890d3 migrate to dh-python 2016-03-17 18:26:54 +01:00
Evgeni Golov
f10de91e7f moden apt can install local debs with dependencies just fine 2016-03-17 18:06:42 +01:00
James Cammarata
cf27cf0a9e Updating RELEASES/etc. for devel
[ci skip]
2016-03-10 14:16:28 -05:00
Toshio Kuratomi
6c0b4bc56e Add python-setuptools to the requirements for running ansible as
python-setuptools contains the egginfo needed to make pkg_resources
work.
2016-01-13 17:24:47 -08:00
Laurent Vallar
fbe84d7fb2
Add missing xsltproc in Debian packaging README
fix #13140
2015-11-12 16:08:51 +01:00
Laurent Vallar
ddefff5be0
Add missing docbook-xml in Debian packaging README
fix #13139
2015-11-12 15:59:53 +01:00
James Cammarata
cc27fc368a Debian packaging updates
Fixes #13040
2015-11-06 15:51:17 -05:00
James Cammarata
297aaeac2d Backporting version release stuff from stable-1.9 2015-10-09 22:39:59 -04:00
Toshio Kuratomi
300eb3a843 Add six as a dependency for packaging 2015-06-02 11:43:35 -07:00
James Cammarata
ba822ce0f9 Backporting release info/changelog stuff to devel 2015-05-05 10:28:43 -05:00
James Laska
bbc05a2cf5 Improve generation of debian changelog 2015-04-09 09:30:56 -04:00
James Cammarata
2244178c6d Updating debian packaging changelog for devel 2.0 version 2015-04-06 14:09:49 -05:00
kristous
e964439b99 Update README.md
to get debuild you need to install devscripts
2015-03-27 07:47:20 +01:00
Matthieu Caneill
1b11e45f3c doc: building debian package: 'asciidoc' is a required dependency 2015-03-25 16:34:07 +01:00
Toshio Kuratomi
4f5ca4bb4c Update the packaging files through the 1.8.4 release 2015-03-03 09:17:19 -08:00
James Cammarata
75d05168e6 Bumping files for 1.9 2014-11-25 16:49:45 -06:00
Michael DeHaan
ae2d198342 Remove install references to library/ 2014-09-29 08:46:35 -04:00
James Cammarata
86edd0381c Adding in docs updates for 1.7.2 release 2014-09-24 15:53:36 -05:00
James Laska
6c3999b898 Make debuild happy by including a date in debian/changelog
The previous commit resolved the debian build problem, but was building
packages with the stable version.  A development version is required in
the changelog to properly build development DEB packages.
2014-08-07 08:38:23 -04:00
James Laska
c98456a73d Fix debian builds by correcting debian/changelog
Remove 1.8 debian/changelog entry with a date of "TBD" as this causes
the debian build process to fail.  We can add this back with the 1.8
release becomes a reality, or add it back now with a valid date in the
future.
2014-08-07 08:18:34 -04:00
James Cammarata
5ce142a3b6 Back-porting in CHANGELOG/etc. for older versions 2014-08-06 13:20:50 -05:00
James Cammarata
d134b8a83c Version bump for 1.8 2014-08-06 13:17:28 -05:00
James Laska
b40f1ddc19 Require python-crypto >= 2.6 for debian package builds
The ansible PyPi package, and RPM both require crypto>=2.6.  This change
carries that dependency into the ansible DEB package.  Note, for
ubuntu-12.04, this dependency is only satisfied by a PPA.  Users
installing from 'ppa:ansible/ansible' will not be affected..
2014-08-04 13:17:25 -04:00
James Cammarata
d2a130971a Backporting CHANGELOG/RELEASES and packaging updates for 1.6.7-8 releases 2014-07-22 17:26:15 -05:00
James Cammarata
f5122b8bfc CHANGELOG and other updates for 1.6.6 release 2014-07-01 16:00:03 -05:00
James Cammarata
f5a4bd8af6 Backporting packaging updates from 1.6 branch 2014-06-25 22:17:21 -05:00
James Laska
411311495f Updated DEB build workflow
Updates to Makefile include:
 * add targets: deb-src, deb-src-upload, deb-upload
 * add variables to control DEB building: DEBUILD_OPTS, DPUT_OPTS, DEB_PPA, DEB_DIST, DEB_RELEASE
 * create deb files for all release values in DEB_DIST

Several updates to packaging/debian/*
 * Updated control file
 * Whitespace/formatting of changelog

Add deb-build to .gitignore
2014-06-20 16:09:02 -04:00
Andy Freeland
75039845db Building Ansible deb requires setuptools 2014-06-17 11:30:41 -05:00
James Cammarata
550bef490e Back-porting 1.6.x release info into CHANGELOG/RELEASES and packaging 2014-06-10 10:02:58 -05:00
Maciej Delmanowski
8e38225521 Synchronize .deb package version with VERSION file 2014-05-07 15:12:08 +02:00