list packages with state for repository server

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>