Bug#798483: ITP: libnss-docker -- nss module for finding Docker containers

2015-09-22 Thread Piotr Roszatycki
* Package name: libnss-docker
  Version : 0.1-1
  Upstream Author : Piotr Roszatycki 
* URL : *https://github.com/dex4er/nss-docker
*
* License : LGPL
  Programming Lang: C
  Description : nss module for finding Docker containers

I'm switching to https://github.com/dex4er/nss-docker so this is updated
meta information about package.

Yes, now the upstream is also by myself.

New upstream source is LGPL so now it is legally to link it with non-GPL
code. Another change is that this module does not depend on libglib and
connects to Docker API server directly by socket and not via
/usr/bin/docker command. Also autotools are used rather than simple
Makefile. The unit testing requires root privileges and modified
/etc/nsswitch.conf so probably won't be used in Debian package.

-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


Bug#798483: ITP: libnss-docker -- nss module for finding Docker containers

2015-09-10 Thread Piotr Roszatycki
Oops, wrong URL...

The current source of Debian package is at
https://github.com/dex4er/deb-libnss-docker

-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


Bug#798483: ITP: libnss-docker -- nss module for finding Docker containers

2015-09-09 Thread Piotr Roszatycki
Package: wnpp
Owner: Piotr Roszatycki 
Severity: wishlist

* Package name: libnss-docker
  Version : 0.0.20150807.3cdc55d-1
  Upstream Author : Danielle Madeley 
* URL : https://github.com/danni/docker-nss
* License : GPL
  Programming Lang: C
  Description : nss module for finding Docker containers

This package contains a plugin for the Name Service Switch, providing host
name resolution for Docker containers.

Edit `/etc/nsswitch.conf`:

hosts:  files dns mdns4_minimal myhostname docker

Then

$ getent hosts container.docker

where container is an ID of Docker container

-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


Bug#798483: ITP: libnss-docker -- nss module for finding Docker containers

2015-09-09 Thread Piotr Roszatycki
The current source of Debian package is at
https://github.com/dex4er/deb-libio-socket-portstate-perl
Travis builds at https://travis-ci.org/dex4er/deb-libnss-docker

Licensing problem is adressed at
https://github.com/danni/docker-nss/issues/4

-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-