debian/0000755000000000000000000000000012103531076007164 5ustar debian/rules0000755000000000000000000000750112103530631010243 0ustar #!/usr/bin/make -f INSTALL = install INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644 INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 755 INSTALL_DIR = $(INSTALL) -p -d -o root -g root -m 755 DEB_BUILD_ARCH_OS ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS) DEB_BUILD_GNU_TYPE = $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_HOST_GNU_TYPE = $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) STRIP=strip ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) CONFARGS = --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) STRIP=$(DEB_HOST_GNU_TYPE)-strip endif CFLAGS := $(shell dpkg-buildflags --get CFLAGS) CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) package=libmsv1 devpkg=libmsv-dev build: build-arch build-indep build-indep: build-arch build-arch: stamp-build stamp-build: configure ./configure --prefix=/usr CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" $(MAKE) doxygen libmsvdox.cfg touch $@ clean: $(checkdir) rm -rf debian/$(package) debian/$(devpkg) debian/*.substvars rm -rf html man latex binary: binary-arch binary-indep: checkroot binary-arch: checkroot $(INSTALL_DIR) debian/$(package)/usr/share/doc/$(package) \ debian/$(devpkg)/usr/share/doc/$(devpkg)/html/search \ debian/$(devpkg)/usr/share/man/man3 \ debian/$(devpkg)/usr/lib \ debian/$(package)/DEBIAN \ debian/$(devpkg)/DEBIAN $(MAKE) install DESTDIR=$(CURDIR)/debian/$(package) $(INSTALL_FILE) debian/copyright debian/$(package)/usr/share/doc/$(package) $(INSTALL_FILE) debian/changelog debian/$(package)/usr/share/doc/$(package)/changelog.Debian gzip -9f debian/$(package)/usr/share/doc/$(package)/changelog.Debian mv debian/$(package)/usr/lib/*.a debian/$(devpkg)/usr/lib mv debian/$(package)/usr/lib/*.so debian/$(devpkg)/usr/lib mv debian/$(package)/usr/include debian/$(devpkg)/usr rm -f debian/$(package)/usr/lib/*.la chmod 644 debian/$(package)/usr/lib/*.so.* $(INSTALL_FILE) debian/copyright debian/$(devpkg)/usr/share/doc/$(devpkg) $(INSTALL_FILE) html/search/* debian/$(devpkg)/usr/share/doc/$(devpkg)/html/search $(INSTALL_FILE) html/*.html html/*.png html/*.css html/dynsections.js debian/$(devpkg)/usr/share/doc/$(devpkg)/html ln -s ../../../javascript/jquery/jquery.min.js debian/$(devpkg)/usr/share/doc/$(devpkg)/html/jquery.js $(INSTALL_FILE) man/man3/msv*.3 debian/$(devpkg)/usr/share/man/man3 gzip -9f debian/$(devpkg)/usr/share/man/man3/* $(INSTALL_FILE) debian/changelog debian/$(devpkg)/usr/share/doc/$(devpkg)/changelog.Debian gzip -9f debian/$(devpkg)/usr/share/doc/$(devpkg)/changelog.Debian ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) strip debian/$(package)/usr/lib/*.so.* endif $(INSTALL_SCRIPT) debian/$(package).postinst debian/$(package)/DEBIAN/postinst cd debian/$(package) && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums echo 'libmsv 1 $(package)' >debian/$(package)/DEBIAN/shlibs dpkg-shlibdeps -Tdebian/$(package).substvars -dDepends debian/$(package)/usr/lib/*.so.* dpkg-gencontrol -ldebian/changelog -isp -p$(package) -Tdebian/$(package).substvars -Pdebian/$(package) chown -R root:root debian/$(package) chmod -R go=rX debian/$(package) dpkg --build debian/$(package) .. cd debian/$(devpkg) && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums dpkg-gencontrol -ldebian/changelog -isp -p$(devpkg) -Tdebian/$(devpkg).substvars -Pdebian/$(devpkg) chown -R root:root debian/$(devpkg) chmod -R go=rX debian/$(devpkg) dpkg --build debian/$(devpkg) .. define checkdir test -f debian/rules endef checkroot: $(checkdir) test root = "`whoami`" prebuild: autoreconf -fi $(RM) -rf autom4te.cache .PHONY: binary binary-arch binary-indep build build-arch build-indep clean checkroot prebuild debian/control0000644000000000000000000000171112103530631010563 0ustar Source: libmsv Priority: optional Maintainer: Clint Adams Build-Depends: libcurl4-gnutls-dev, libjansson-dev, doxygen Standards-Version: 3.9.4 Section: libs Homepage: http://floss.scru.org/libmsv/ Vcs-Git: git://anonscm.debian.org/users/clint/libmsv.git -b debian Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/clint/libmsv.git;a=shortlog;h=refs/heads/debian Package: libmsv-dev Section: libdevel Architecture: any Depends: libmsv1 (= ${binary:Version}) Suggests: libjs-jquery Description: Monkeysphere validation library (development files) libmsv provides a C API to the Monkeysphere Validation Agent using the Validation Agent Protocol . This package contains the development header and library. Package: libmsv1 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Monkeysphere validation library libmsv provides a C API to the Monkeysphere Validation Agent using the Validation Agent Protocol debian/libmsv1.postinst0000644000000000000000000000010312103530360012333 0ustar #!/bin/sh -e if [ "$1" = "configure" ]; then ldconfig fi debian/copyright0000644000000000000000000000337312103530234011120 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: libmsv Source: http://floss.scru.org/libmsv/ Files: * Copyright: 2011-2013 Clint Adams License: GPL-3+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". Files: debian/* Copyright: 2011-2013 Clint Adams License: GPL-3+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". debian/changelog0000644000000000000000000000152412103531076011040 0ustar libmsv (1.0-1) unstable; urgency=low * New upstream version. -- Clint Adams Sun, 03 Feb 2013 13:53:24 -0500 libmsv (0.1-2) unstable; urgency=low [ Daniel Kahn Gillmor ] * added documentation to libmsv-dev [ Clint Adams ] * Honor nostrip. * Add Vcs-* headers. -- Clint Adams Sat, 02 Feb 2013 09:07:06 -0500 libmsv (0.1-1) unstable; urgency=low * New upstream version. - Properly encodes JSON request. closes: #699497 - Fixes memory leaks. closes: #699500 - Uses (const char *) in new API. closes: #699506 * Use dpkg-buildflags. * Add build-arch and build-indep targets. -- Clint Adams Fri, 01 Feb 2013 22:40:17 -0500 libmsv (0.0.0-1) unstable; urgency=low * Initial release. -- Clint Adams Tue, 03 May 2011 15:40:22 -0400 debian/source/0000755000000000000000000000000012103530234010457 5ustar debian/source/format0000644000000000000000000000001412103530234011665 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000010512103530234010204 0ustar version=3 http://floss.scru.org/libmsv/tarballs/libmsv-(.+)\.tar\.gz