lp:ubuntu/vivid-proposed/apt-cacher

Created by Ubuntu Package Importer and last modified
Get this branch:
bzr branch lp:ubuntu/vivid-proposed/apt-cacher
Members of Ubuntu branches can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Review team:
Ubuntu Development Team
Status:
Development

Recent revisions

24. By Mark Hindley

* Internally store http_proxy as URI object which can include
  authorisation details.
* Remove http_proxy_auth from default config and update http_proxy
  example to include authorisation.
* Support command line option like http_proxy= to unset value.
* Deprecate use_proxy and use_proxy_auth. Issue warnings if they are
  set. Instead, just use http_proxy if it is configured.
* Add libcurl noproxy configuration example to manpage.
* In apt-cacher-cleanup.pl, use tied GDBM file for %svrhash to reduce
  memory consumption.
* Add architectures powerpcspe, ppc64, sparc64 and x32 from
  http://www.ports.debian.org and arm64
  (https://wiki.debian.org/Arm64Port) to supported_archs (closes:
  #753455).
* Protect embedded "\r\n\r\n" sequences from being chomp()ed by the
  reading process (closes: #755184).
* In apt-cacher-cleanup.pl, if the header file has disappeared, try once
  to download it.
* Alphabetise man page options.
* Always escape hyphens in manpage.
* Remove spurious \: in manpage URL.
* Man page formatting fixes
* Document behaviour if daemon_addr is unset.

23. By Mark Hindley

Bug fix: "version regexp to tight". Some packages (dh-autoreconf, for
example) just have a single number as the version. Thanks to Gregor
Herrmann (closes: #753365).

22. By Mark Hindley

* When reading pdiffs in apt-cacher-cleanup.pl, take LOCK_SH so the file
  is complete.
* Add Translation-*.lzma to index_files_regexp.
* Reduce import_sums() memory usage by using GDBM_File and anonymous
  temporary file.
* Fix for BerkeleyDB failchk -> recover code. After recovery open a new
  environment.
* Correct documentation: data_timeout default was increased to 120 in
  1.7.3.
* Support setting checksum option to 'lazy' which avoids waiting for new
  files to be downloaded completely.
* Suppress red -s output unless $verbose is set in apt-cacher-cleanup.pl.
* Sometimes BerkeleyDB failchk is returning EINVAL, so just loop until
  we get DB_RUNRECOVERY or 0.
* When forking daemon listener, log pid to error.log.
* Don't send a response from die_handler() unless there is a connection.
* Return Server header instead of Via for locally generated responses.
* When parsing libcurl option, ensure the rest of the line after the
  key is preserved.
* Remove obsolete Keep-Alive header from responses.
* Reduce default request_timeout to 10.
* Only return Accept-Ranges header for persistent connections.
* Allow *.changelog files as well as *_changelog. apt-get tries both.
* Allow extended locales in Translation filenames.
* Prevent keeping get_request() loop open when providing invalid
  input.
* Move initscript pidfile to /var/run/apt-cacher.
* Make default for libcurl_socket /var/run/apt-cacher/libcurl.socket.
* Validate supplied architectures using Dpkg::Arch.
* Catch early errors by redirecting STDERR to a buffer and restoring
  once the logfiles are available.
* Reorder main part to drop privileges and open logfiles earlier.
* Make config variables set from commandline options private (pidfile,
  retry, chroot and fork).
* Implement option max_loadavg.
* use Socket in lib/apt-cacher.pl. Needed for inet_aton().
* Create shared memory segment with mode 0600.
* Update to Standards Version 3.9.5 (no changes).
* aptitude is now using metadata.ftp-master.debian.org for
  changelogs. (closes: #740900)
* Really deal properly with multiple libcurl headers when
  redirected. (closes: #740900)
* Always correctly escape . in default regexps.
* Simplify building regexps by using a specific list of valid
  architectures and replacing strings %VALID_NAME%, %VALID_VERSION% and
  %VALID_ARCHS% in regexps. Convert UBUNTU_RELEASE_NAMES and PATH_MAP to
  use %% delimiters, but still support those legacy forms without.
* If called with URI /config include private config variables in output.
* Actually only do freshness checks for index files as advertised.
* Enforce lower case alphanumeric Ubuntu release names.
* Reduce memory usage by limiting exports from modules and only loading
  WWW::Curl modules via require in libcurl process.
* Add Ubuntu 14.10 release name 'utopic'.
* Add example configuration for not proxying upstream localhost requests
  to manpage. Support escaping separators (comma or semicolon) within
  configuration options. (closes: #749052).

21. By Mark Hindley

* Use sed to insert version number when building, therefore no need
  to Build-Depend on perl any more.
* Only write body to cached file on success (200).
* Rework handling of If-Modified request response. Client errors also
  count as EXPIRED. Delete cached files in these circumstances (closes:
  #708884).
* return_file() never returns a retry code, so don't test for it.
* Update debian/control file description. Integrate experimental features
  (multi-distro, Debian Bugs SOAP and HTTPS CONNECT) as established.
* Add Ubuntu 14.04 codename 'Trusty'.

20. By Mark Hindley

* Fix missing argument to $r->header when disk_usage_limit is configured
  (closes: #689208).
* Use (and depend on) ucf to manage debconf changes to
  /etc/default/apt-cacher (closes: #688890).

19. By Mark Hindley

* Minimise the time a checksum DB handle is held when adding new data.
* Close "transition towards Apache 2.4". No automatic apache
  installation in version 1.7.x, so no changes required
  (closes: #669753).
* Use InRelease files, if available, when refreshing and patching
  (closes: #669372).
* Remove Release and Release.gpg on cleanup if InRelease is cached.
* Optimise initialising %valid for index files: use map().
* Skip already deleted files in unlink_by_fh().
* When generating internal requests, set Cache-Control: no-cache so
  that refresh is forced.
* In debconf manual mode, disable/remove any previous daemon or inetd
  configuration.
* Add Quantal to Ubuntu release names.
* Only set daemon_port from ENV{SERVER_PORT} in CGI mode -- it isn't
  set when invoked from apt-cacher-cleanup.pl
* Avoid running apt-cacher script in separate interpreter. Use an
  internal fork and do-FILE.
* Open and lock Release and diff/Index early when attempting to pdiff.
* When refreshing in cleanup, just do a HEAD request so we save
  transferring the body content.
* Warn if apt-cacher-import.pl fails to chown (closes: #662737).
* Return 502 response on all internal errors via $SIG{__DIE__} handler.
* Remove obsolete {cache_dir}/temp on install.
* Wait for internal requests to complete before returning
* Bump to standards version 3.9.3 (no changes required).
* Unset executable bit from files in debian (silence lintian warnings).
* Transparently convert IPv4 configuration options to IPv6 when a client
  request is on an IPv6 mapped IPv4 address (::ffff:0:/32)
  (closes: #659669).
* Recognise whole 127.0.0.1/8 block as localhost.

18. By Mark Hindley

* Check for existence of libcurl.pl in prerm script. In the case of
  failed-upgrade the script might be missing, so only try to run it if
  it is present (closes: #657834).
* Rework internal circular request check to just resolve through DNS
  rather than making an outgoing socket connection.
* Rework filehandle usage and locking to reduce resource consumption. No
  need to take global lock any more which improves performance.
* Ensure expired pdiff files are cleaned.
* Reduce memory footprint by not importing from used modules by default.
* Don't close BerkeleyDB logfile whilst it is still in use.
* Fix library name in apt-cacher-import.pl (closes: #652088).
* Bug fix: "problems finding port number in /etc/xinetd.d/apt-cacher", and
  rework xinetd specific code (closes: #651854).
* New configuration option 'libcurl' to pass CURLOPT_* options to backend.
* Use sendfile(2) where possible to return cached file.
* Rename configuration option 'fetch_timeout' to 'data_timeout'. The old
  name is still recognised. Default increased from 60 to 120 seconds.
* Log fetch forced with "Cache-Control: no-cache" as NOCACHE in access.log.

17. By Mark Hindley

* Clear SysV semaphore block on install.
* Brazilian Portuguese debconf translation. Thanks to Marco Juliano e
  Silva (closes: #649499).
* When refreshing Release files internally, use Cache-Control: no-cache
* Add support for "status" action to init.d script. Patch from Peter
  Eisentraut (closes: #647984).
* Allow source files to be xv compressed. Patch from Ansgar Burghardt
  (closes: #648470).
* Support setting IO priority to reduce load in apt-cacher-cleanup.pl.
* Move library files to lib/ subdir.
* Document support for incoming request Cache-Control headers.
* Remove deprecated/* from source tarball.
* Workaround features missing in perl versions less than 5.10.
* Improve child process management using process groups.
* Fix reading checksums from patched index files when using pdiff option
  to apt-cacher-cleanup.pl.
* New option concurrent_import_limit to control simultaneous reading of
  checksums from new index files. Default is the number of virtual CPU
  cores as parsed from /proc/cpuinfo (where possible).
* Replace cron.daily script with more flexible cron.d fragment.
* Precompile regexps where possible.
* Don't try to checksum installer files.
* Fix libcurl low speed timeout.

16. By Mark Hindley

* Support multiple import directories for apt-cacher-import.pl.
* Add Precise Pangolin to list of Ubuntu releases.
* Workaround missing \K regexp escape in perl versions < 5.10.
* Bugfix: ensure headers are always sent.
* Bugfix changelog expiry in apt-cacher-cleanup.pl.
* Don't overwrite existing files when importing packages.
* Specifically depend on libberkeleydb-perl >= 0.34 for failchk().

15. By Bilal Akhtar

* Merge from debian unstable. Remaining changes:
  - apt-cacher-lib.pl:
    + Cache *.tar.gz.gpg (e.g. jaunty.tar.gz.gpg)
    + Cache ReleaseAnnouncement
    + Cache meta-release-*
  - Support debug symbol packages, changelog and NEWS and files for
    update-manager.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/vivid/apt-cacher
This branch contains Public information 
Everyone can see this information.

Subscribers