Bug#687624: ITP: libdvdcss-pkg -- automated installer for libdvdcss
Package name: libdvdcss-pkg
Upstream Author: Dmitry Smirnov <firstname.lastname@example.org>
Description: download, build and install libdvdcss package
This package will automatically download, build and install
libdvdcss on your system.
libdvdcss is a library for accessing and unscrambling DVDs encrypted
with the Content Scramble System (CSS).
It is a free software but it may be illegal in some jurisdictions.
This is a proof-of-concept implementation of automated installer for libdvdcss.
Since we can't risk shipping libdvdcss itself here is a proposed implementation
with the following features:
* Installer is implemented as shell script installed as DPKG post-invoke
* Host package version meant to me an exact match of guest package
with debian/watch file inherited from guest package for notifications
about new upstream versions.
* Package contains "guest" package sources, but not upstream sources.
Upstream sources will be fetched using "uscan".
* When "guest" package is built, its debian revision number is changed by
appending "~local" to clearly mark generated packages.
* During build of "guest" packages "Host" package is injected to Guest's
Depends to make sure generated packages will be removed on "host"
* Host package uses debconf to warn user regarding possible
* If user choose to remove "guest" package, debconf configuration
will be updated to prevent re-installation of "guest" packages.
* "dpkg-reconfigure libdvdcss-pkg" may be used to build and install
guest packages. Otherwise guest package(s) will be built and installed
from DPKG post-invoke handler. Although automated, unfortunately this
will delay installation till next apt-get operation. Is there a better
way to hook into apt-get sequence?
* Upgrades are gracefully handled i.e. when host package is updgraded it
will build and install guest packages automatically, if prior user
decision allows it. As mentioned above, installation will be delayed.
Source package is available from
Ideas are welcome -- please share your thoughts.