Package: apt-cacher-ng
Version: 0.9.1-1
Severity: important

I upgraded apt-cacher-ng from 0.8.0-1 to 0.9.1-1, and got this:

    # /etc/init.d/apt-cacher-ng start
     * Starting apt-cacher-ng apt-cacher-ng
    Warning, unknown configuration directive: Remap-debian-archive
    Error reading main options, terminating.

I make use of numerous Remap- directives with repository names
containing hyphens, e.g.

    Remap-debian-archive: /debian-archive ; http://archive.debian.org/debian
    Remap-debian-archive-security: /debian-archive-security ; 
http://archive.debian.org/debian-security
    Remap-debian-ports: /debian-ports ; http://ftp.debian-ports.org/debian
    Remap-debian-security: /debian-security ; http://security.debian.org

These were working previously, so this is a regression.

I worked around the issue by changing the strrchr() call in GetPropPtr()
(source/acfg.cc:340) to strchr().

Reply via email to