debian/0000755000000000000000000000000011701117243007163 5ustar debian/cipux-rpcd.install0000644000000000000000000000006511403011733012626 0ustar usr/sbin/cipux_rpcd usr/share/man/man1/cipux_rpcd.1p debian/cipux-rpcd.postrm0000755000000000000000000000206311403011733012507 0ustar #!/bin/sh set -e case "$1" in purge) rm -rf /var/run/cipux-rpcdr if id cipux-rpcdr >/dev/null 2>&1; then if [ -x /usr/sbin/deluser ]; then deluser cipux-rpcdr fi fi # Remove group only if empty if getent group ssl-cert | awk -F: ' { print $4 } ' | egrep -cq '^$'; then # TODO: Have ssl-cert package join the group too, and cleanup if we are purged last # if which groupdel > /dev/null; then # groupdel ssl-cert || echo "Error occured removing group ssl-cert, please do it manually." # fi echo "Unable to determine if ssl-cert group should be removed, please do it manually if needed." fi ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 esac #DEBHELPER# # Refresh stunnel to stop wrapper when cipux-rpcdr.conf has been purged if [ "$1" = "purge" ] && [ -x "/etc/init.d/stunnel4" ]; then if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then invoke-rc.d stunnel4 force-reload || exit $? else /etc/init.d/stunnel4 force-reload || exit $? fi fi debian/cipux-rpcd.postinst0000755000000000000000000000131411701115627013054 0ustar #!/bin/sh set -e #DEBHELPER# # Check for an account named 'cipux-rpcdr' if ! id cipux-rpcdr >/dev/null 2>&1; then # Create the new system account adduser --system --disabled-password --disabled-login \ --home /var/lib/cipux-rpcdr --group --quiet \ --gecos "CipUX RPC remote daemon" cipux-rpcdr || true fi # grant access to shared snakeoil cert if ! getent group ssl-cert >/dev/null; then addgroup --quiet --system --force-badname ssl-cert fi adduser --quiet cipux-rpcdr ssl-cert # Activate/refresh stunnel if [ -x "/etc/init.d/stunnel4" ]; then if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then invoke-rc.d stunnel4 force-reload || exit $? else /etc/init.d/stunnel4 force-reload || exit $? fi fi debian/TODO0000644000000000000000000000021311560465335007662 0ustar * Test that autogenerated XML-RPC encryption key works as intended. * Verify if cipux-rpc.conf.1p should instead be cipux-rpc.conf.5p. debian/control0000644000000000000000000000706511701116765010606 0ustar Source: cipux-rpc Section: perl Priority: optional Maintainer: CipUX team Uploaders: Jonas Smedegaard , Christian Kuelker , Xavier Oswald Build-Depends: devscripts, perl, perl-modules (>= 5.10.0) | libmodule-build-perl (>= 0.2808), cdbs (>= 0.4.78~), debhelper, dh-buildinfo, libclass-std-perl, libauthen-simple-pam-perl, libauthen-simple-perl, libcipux-perl, libcipux-rbac-simple-perl, libcipux-task-perl, libdate-manip-perl, libfrontier-rpc-perl, liblist-moreutils-perl (>= 0.25~02), liblog-log4perl-perl, libreadonly-perl, liblog-dispatch-perl, libticket-simple-perl, libmodule-build-cipux-perl, libtest-perl-critic-perl, libtest-pod-perl, libtest-pod-coverage-perl, libtest-leaktrace-perl, libtest-refcount-perl Standards-Version: 3.9.2 Vcs-Git: git://git.debian.org/git/collab-maint/cipux-rpc.git Vcs-Browser: http://git.debian.org/?p=collab-maint/cipux-rpc.git;a=summary Homepage: http://www.cipux.org/ Package: libcipux-rpc-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends} Recommends: ${cdbs:Recommends} Description: XML-RPC routines for perl-based CipUX XML-RPC applications CipUX is a modular framework for information abstraction and administration, primarily aimed at administration of users, groups and organisational resources stored in a central LDAP database. . CAT is CipUX Administration Tools. Two CATs are provided officially with CipUX: - cipux-cat: generic web-based CAT - cipux-cat-moodle: CipUX plugin for Moodle These can be extended or replaced with custom tools. . This package contains CipUX::RPC, providing XML-RPC routines for the CipUX XML-RPC server and for perl-based clients like CipUX CAT. Package: cipux-rpcd Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: XML-RPC server for CipUX CipUX is a modular framework for information abstraction and administration, primarily aimed at administration of users, groups and organisational resources stored in a central LDAP database. . CAT is CipUX Administration Tools. Two CATs are provided officially with CipUX: - cipux-cat: generic web-based CAT - cipux-cat-moodle: CipUX plugin for Moodle These can be extended or replaced with custom tools. . This package contains the CipUX XML-RPC daemon, serving the CipUX::Task API for network-based appplications. Any XML-RPC application can access the CipUX::Task API and perform tasks, like creating users and other objects, inside the CipUX framework. Package: cipux-rpc-tools Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends} Recommends: ${cdbs:Recommends} Description: Commandline helper tools for XML-RPC server CipUX is a modular framework for information abstraction and administration, primarily aimed at administration of users, groups and organisational resources stored in a central LDAP database. . CAT is CipUX Administration Tools. Two CATs are provided officially with CipUX: - cipux-cat: generic web-based CAT - cipux-cat-moodle: CipUX plugin for Moodle These can be extended or replaced with custom tools. . This package contains the CipUX XML-RPC daemon, serving the CipUX::Task API for network-based appplications. Any XML-RPC application can access the CipUX::Task API and perform tasks, like creating users and other objects, inside the CipUX framework. . This package contains commandline tools to help setup and test the XML-RPC server for CipUX. debian/libcipux-rpc-perl.install0000644000000000000000000000007211403011733014107 0ustar usr/share/perl5/ usr/share/cipux/etc/ usr/share/man/man3/ debian/source/0000755000000000000000000000000011403011733010457 5ustar debian/source/format0000644000000000000000000000001411403011733011665 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000002537011701117171011044 0ustar cipux-rpc (3.4.0.9-3) unstable; urgency=low * Drop postinst kludge for versions older than 3.4.0~svn3015-1 never officially released. * Update package relations: + Relax to (build-)depend unversioned on CipUX libraries (needed versions satisfied in stable and unavailable in oldstable). + Relax to build-depend unversioned on debhelper and devscripts (needed versions satisfied even in oldstable). + Relax build-dependency on cdbs (needlessly tight). -- Jonas Smedegaard Wed, 04 Jan 2012 19:44:29 +0100 cipux-rpc (3.4.0.9-2) unstable; urgency=low * Improve package relations: + Drop relations for packages part of core Perl even in oldstable: - libversion-perl - libtest-simple-perl + Relax to unversioned relations when satisfied even in oldstable: - libclass-std-perl - libtest-pod-perl - libtest-pod-coverage-perl - lsb-base + Drop TODO file: Obsoleted by above. * Update copyright file: + Rewrite using draft 174 of DEP-5 format. + Fix use initial wildcard Files section. + Rewrap license fields at 72 chars, and shorten comments. * Bump policy compliance to standards-version 3.9.2. * Wrap Uploaders field in control file. * Bump debhelper compatibility level to 7 (satisfied even in oldstable, and cdbs need backporting for oldstable anyway). Tighten build-dependencies on debhelper and cdbs correspondingly. -- Jonas Smedegaard Thu, 05 May 2011 11:19:21 +0200 cipux-rpc (3.4.0.9-1) unstable; urgency=low * New upstream release. * Extend copyright years in copyright file. -- Jonas Smedegaard Mon, 16 Aug 2010 14:04:00 +0200 cipux-rpc (3.4.0.8-1) unstable; urgency=low [ Jonas Smedegaard ] * New upstream release. * Update dependencies to match upstream 3.4.0.7 release changes: + Build-depend on liblog-dispatch-perl and libticket-simple-perl. * Tighten /build-)dependency on liblist-moreutils-perl to versions without memory leaks. * Use only official CDBS (drop local snippets): All improvements now adopted upstream. * Build unversioned on perl. * Tighten build-dependency on cdbs. * Bump Standards-Version to 3.8.4. * Refer to FSF website (not postal address) in licensing headers of Debian packaging files. * Update debian/copyright: + Reformat to conform to draft DEP5 rev. 135. + Bump some coyright years. + Fix include disclaimer in GPL-2+ section of copyright. + Add reference to FSF website. + Drop Colin Walters as owner of no longer shipped CDBS snippets. * Use source format '3.0 "quilt"'. * Stop conditionally enabling DEB_AUTO_UPDATE_DEBIAN_CONTROL (adopted upstream since CDBS 0.4.67), to not bogusly upset lintian. * Add ssl-cert group in postinst if missing, and warn about removal during purge in postrm if no longer used. Closes: bug#574214, thanks to Lucas Nussbaum. [ Xavier Oswald ] * Update my mail address -- Jonas Smedegaard Mon, 26 Apr 2010 10:51:22 +0200 cipux-rpc (3.4.0.6-1) unstable; urgency=low * New upstream release. -- Jonas Smedegaard Sun, 11 Oct 2009 16:33:30 +0200 cipux-rpc (3.4.0.5-1) unstable; urgency=low * New upstream release. * Fix cipux-rpcd dependency on adduser. * Fix old-style update-rc.d options to match LSB init script hints: stop only in runlvel 1 (let system kill it in runlevels 0 and 6). * Fix install static config file in libcipux-rpc-perl. -- Jonas Smedegaard Sat, 10 Oct 2009 15:42:28 +0200 cipux-rpc (3.4.0.4-1) unstable; urgency=low * New upstream release. * Update dependencies: + Build-depend versioned on libcipux-perl and libcipux-task-perl + (Build-)depend on libcipux-rbac-simple-perl (and not libcipux-rbac-perl). + Drop build-dependency on libcipux-object-perl. + Build-depend on recent perl-modules (favored over libtest-simple-perl). + Build-depend on libtest-refcount-perl and libtest-leaktrace-perl. + Handle all dependencies (not just build-dependencies) using CDBS, declared in debian/control. + Build-depend on libpam-ldapd (with libpam-ldap only as fallback). * Stop installing etc/cipux/cipux-rpc.conf (dropped upstream). * Update path to /usr/bin/cipux_rpc_list (was in /usr/sbin earlier). * Add git-buildpackage configfile, enabling signed tags and use of pristine-tar. * Add README.source. Drop custom CDBS hints. * Bump up policy compliance to standards version 3.8.3. * Add proper copyright header to debian/rules. * Update debian/copyright + Restructure to match format proposed in revision 47 of DEP4. + Bump copyright years. + Add upstream release URL. * Update copyright-hints (no new owners or licenses). * Update CDBS snippets: + Enable upstream-tarball.mk providing get-orig-source build target. + Update package-relations.mk: Cleanup unversioned+versioned dependency mix. Improve whitespace cleanup. Rewrite and silence applying dependencies. Support more dependency types. * Create user cipux-rpcdr with real homedir below /var/lib (and handle updates of existing installations). Store pidfile there (not below /var/run as such subdir might not survive reboots and stunnel config hooks does not support creating pid dir). -- Jonas Smedegaard Wed, 09 Sep 2009 00:14:28 +0200 cipux-rpc (3.4.0~svn3015-1) experimental; urgency=low * New snapshot of upstream Subversion repository. * Update copyright-hints (no new owners or licenses). -- Jonas Smedegaard Fri, 02 Jan 2009 05:10:26 +0100 cipux-rpc (3.4.0~svn2868-1) experimental; urgency=low * New snapshot of upstream Subversion repository. * Build-depend and depend on libcipux-perl (not libcipux-common-perl). * Update CDBS snippets: + Simplify internal variables + Ignore no files by default in copyright-check.mk + Correct and update copyright hints of the snippets themselves * Update debian/copyright and copyright hints: + Add info on CDBS snippets (new owners, no new licenses) + Bump to version 413 of new format (no structural changes) * Semi-auto-update debian/control to update build-dependencies. * Invoke deluser without path in postrm script, thanks to lintian. * Have cipux-rpcd depend on adduser, thanks to lintian. -- Jonas Smedegaard Sun, 28 Dec 2008 16:57:12 +0100 cipux-rpc (3.4.0~svn2825-1) experimental; urgency=low * New snapshot of upstream Subversion repository. * Install new cipux_rpc_list (and its man page) in cipux-rpc-tools. * Drop installing no longer provided man page for cipux-rpc.conf. * Add README.Debian describing the need to manually enable stunnel4 to offer secure remote access. * Adjust package relationships: + Have cipux-rpcd depend on ssl-cert (and not openssl). + Depend and build-depend on libclass-std-perl, libcipux-object-perl, libcipux-rbac-perl and liblog-log4perl-perl. + Recommend (not depend on) libreadonly-xs-perl, stunnel4 and ssl-cert. + Drop cipux-rpcd depending on libreadonly-perl and libreadonly-xs-perl. + Depend and build-depend (again) on libversion-perl (virtual package in Lenny but not on Etch). Add TODO note about dropping those dependencies again after Lenny+1. + Have cipux-rpcd recommend libpam-ldap, libnss-ldapd (with fallback to libnss-ldap) and nscd. * Update local cdbs snippet perl-build.mk to tighten build-dependency on libmodule-build-perl (older releases treat destdir differently). * Add DEB_MAINTAINER_MODE in debian/rules (thanks to Romain Beauxis). * Semi-auto-update debian/control to update dependencies: DEB_MAINTAINER_MODE=1 fakeroot debian/rules clean -- Jonas Smedegaard Mon, 27 Oct 2008 15:10:30 +0100 cipux-rpc (3.4~svn2437-3~0jones3) jones; urgency=low * Fix set access rights for stunnel pidfile dir in postinst script. * Fix daemon name in cipux-rpcd init script (underscore, not dash). -- Jonas Smedegaard Sun, 27 Jul 2008 05:07:24 +0200 cipux-rpc (3.4~svn2437-3~0jones2) jones; urgency=low * Fix typo in postrm script. -- Jonas Smedegaard Sun, 27 Jul 2008 04:32:12 +0200 cipux-rpc (3.4~svn2437-3~0jones1) jones; urgency=low * Allow late nocheck flagging for local cdbs snippet perl-build.mk. * Install local stunnel config (upstream does not use ssl-cert snakeoil cert). * Fix init script routines: + Fix register cipux-rpc script with debhelper (reinstall _before_ dh_installinit is invoked). + Drop postinst routines for no longer used cipux-rpcdr init script. + Add postinst and postrm routines to force-reload stunnel4. * Release unofficially. -- Jonas Smedegaard Sun, 27 Jul 2008 04:15:37 +0200 cipux-rpc (3.4~svn2437-2) experimental; urgency=low * Fix dependencies for cipux-rpcd. * Have cipux-rpc-tools recommend cipux-rpcd. * Have cipux-rpcd suggest cipux-rpc-tools. * Drop build-dependencies on virtual packages provided by perl or perl-modules packages. * Create user and pidfile dir for rpcdr tunnel daemon. * Use stunnel directly (avoid cipux-rpcdr wrapper with suspect pidfile handling). -- Jonas Smedegaard Fri, 25 Jul 2008 19:33:36 +0200 cipux-rpc (3.4~svn2437-1) experimental; urgency=low * New upstream Subversion snapshot. * Separate daemons in new binary package cipux-rpcd, and helper tools in cipux-rpc-tools. * Shorten short descriptions, thanks to lintian. * Update CDBS snippets: + Use new local perl-build.mk to handle Perl Module::Build routines (and drop local improved perlmodule.mk). + Use new local package-relations.mk to resolve, cleanup and apply CDBS-declared (build-)dependencies. + Update copyright-check.mk to closer match new proposed copyright format. Update copyright-hints. + Update README.cdbs-tweaks. * Update debian/copyright (spelling error fixed). * Semi-auto-update debian/control to update dependencies: DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean -- Jonas Smedegaard Fri, 25 Jul 2008 19:10:08 +0200 cipux-rpc (3.4~svn2373-2) experimental; urgency=low * Depend on stunnel4 and openssl. * Create self-signed certificate. * Add TODO about testing certificate creation. -- Jonas Smedegaard Sun, 06 Jul 2008 04:23:16 +0200 cipux-rpc (3.4~svn2373-1) experimental; urgency=low * New upstream Subversion snapshot. * Adjust (build-)dependencies. * Update copyright-hints. * Update debian/copyright: same owners and licenses, additional years. -- Jonas Smedegaard Sun, 06 Jul 2008 04:08:10 +0200 cipux-rpc (3.4~svn2294-1) experimental; urgency=low * Initial release (related to - but only partly closes - bug#357694). -- Jonas Smedegaard Sat, 05 Jul 2008 22:56:08 +0200 debian/README.source0000644000000000000000000000361311403011733011341 0ustar Building this package for Debian -------------------------------- This source package need no special handling for normal package builds. Developing this package for Debian ---------------------------------- The source of this package is developed using git and the helper tool git-buildpackage, with all official releases tagged and signed and binary diffs of tarballs stored using pristine-tar. This is documented below /usr/share/doc/git-buildpackage/manual-html/ . A custom build target shows current upstream and packaging versions: debian/rules print-version Current upstream tarball can be prepared using this other build target: debian/rules get-orig-source To switch to newer upstream source, first add a dummy changelog entry and comment out DEB_UPSTREAM_TARBALL_MD5 before getting the source: dch -v ${new_upstream_version}-1 "Dummy changelog entry" sed -i -e 's/^\(DEB_UPSTREAM_TARBALL_MD5\b\)/#\1/' debian/rules debian/rules get-orig-source Store new md5sum to help ensure identical source is received later. Setting DEB_MAINTAINER_MODE=1 enables additional build routines helpful during development of the package, but unfit for normal builds. This typically includes the CDBS feature of auto-updating debian/control with CDBS-related build-dependencies, which is forbidden by Debian Policy as build environment must not change during automated builds. Maintaining packaging build routines ------------------------------------ This source package wraps debhelper commands and other tedious parts of the build routines using the CDBS framework. Please refer to the actual makefile snippets included from debian/rules for details on their purpose and ways to override defaults. Additionally, makefile snippets included from below /usr/share/cdbs may also be documented in /usr/share/doc/cdbs/cdbs-doc.pdf.gz . -- Jonas Smedegaard Thu, 26 Feb 2009 21:28:29 +0100 debian/README.Debian0000644000000000000000000000105711403011733011223 0ustar CipUX CAT-web for Debian ======================== Providing remote access to XML-RPC interface -------------------------------------------- Debian (unlike upstream) use stunnel more directly for securing remote access to the XML-RPC service. Unfortunately the Debian stunnel4 package does not enable the daemon by default - the file `/etc/default/stunnel4` neds to be manually edited and the stunnel4 service restartet. Access via "localhost" need no tunneling and works out-of-the-box. -- Jonas Smedegaard Mon, 15 Sep 2008 04:33:04 +0200 debian/compat0000644000000000000000000000000211560464642010374 0ustar 7 debian/watch0000644000000000000000000000020311403011733010203 0ustar # Run the "uscan" command to check for upstream updates and more. version=3 http://release.cipux.org/CipUX-RPC-([0-9\.]+)\.tar\.gz debian/copyright_hints0000644000000000000000000000774411560464476012357 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=174 Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: Build.PL Changes MANIFEST MANIFEST.SKIP META.yml Makefile.PL debian/README.Debian debian/README.source debian/TODO debian/cipux-rpc-tools.install debian/cipux-rpcd.README debian/cipux-rpcd.install debian/cipux-rpcd.postinst debian/cipux-rpcd.postrm debian/compat debian/control debian/control.in debian/gbp.conf debian/libcipux-rpc-perl.install debian/source/format debian/stunnel.conf debian/watch doc/dep/depgraph.dot doc/dep/depgraph.svg doc/example/README doc/example/bin/expl_rpc_login_session_logout doc/example/bin/expl_rpc_ping doc/example/bin/expl_rpc_session doc/example/bin/expl_rpc_task_create_destroy doc/example/bin/expl_rpc_task_create_destroy_two_times doc/example/bin/expl_rpc_task_list doc/example/bin/expl_rpc_task_member doc/example/bin/expl_rpc_task_sum doc/tecdoc/cipux_xml_rpc_server_and_client.tex doc/tecdoc/tecdoc_preamble.tex etc/cipux/stunnel-cert.conf etc/cipux/stunnel.conf etc/cipux/stunnel/readme.txt etc/init.d/cipux-rpcd etc/init.d/cipux-rpcdr t/00.load.t t/leaktrace.t t/perlcritic.t t/perlcritic_cpan.t t/perlcriticrc t/pod-coverage.t t/pod.t t/refcount.t Copyright: *No copyright* License: UNKNOWN FIXME Files: bin/cipux_rpc_list lib/CipUX/RPC.pm lib/CipUX/RPC/Server.pm sbin/cipux_rpcd Copyright: 2007, - 2009, Christian Kuelker 2007, - 2009, Christian Kuelker || 2007, - 2010, Christian Kuelker 2007, - 2010, Christian Kuelker || License: GPL FIXME Files: sbin/cipux_mkcertkey sbin/cipux_rpc_test_client Copyright: 2007-2008, Christian Kuelker 2007-2008, Christian Kuelker. || 2008, Christian Kuelker 2008, Christian Kuelker. || License: GPL FIXME Files: lib/CipUX/RPC/Test/Client.pm sbin/cipux_rpc_test_repetition Copyright: 2008, - 2010, Christian Kuelker.! || 2008-2009, Christian Kuelker 2009, Christian Kuelker 2009, Christian Kuelker.! || License: GPL FIXME Files: sbin/cipux_rpcdr Copyright: 2007, - 2009, Christian Kuelker 2007, Christian Kuelker || 2007, Sebastian Friedel || 2008-2009, Christian Kuelker || License: GPL FIXME Files: debian/rules Copyright: 2008-2010, Jonas Smedegaard License: GPL FIXME Files: doc/tecdoc/fr/php.txt Copyright: "mysql-server" de le serveur mysql. La dernière version prsente dans vos le serveur web à utiliser. Choississez apache2. De même ou tableau dans un tableau) un mot de passe pour le super utilisateur de mysql License: UNKNOWN FIXME Files: doc/tecdoc/rpc_fr.tex Copyright: (cela dpend \verb|ping| dans le code source qui est publi "upstream tar" pour l'utlisation pendant des tudes dans le serveur de prrglage. Si vous planifiez de communiquer par rseau de raliser cela consiste en stunnel4 par la couverture "stunnel4", mais cela peut par un rseau pour "stunnel4". En plus il contient quelques outils pour supporter les dveloppeurs des clients XML-RPC et dcrit notamment des parties pratiques vers l'aval de l'adresse suivante vers l'avant License: UNKNOWN FIXME Files: README Copyright: 2007, - 2009, Christian Kuelker License: UNKNOWN FIXME Files: lib/CipUX/RPC/Server/Daemon.pm Copyright: 2007-2008, Christian Kuelker 2007-2008, Christian Kuelker || HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR HOLDERS AND/OR OTHER PARTIES License: UNKNOWN FIXME Files: usr/share/cipux/etc/cipux-rpc.ini Copyright: 2006, - 2008, Christian Kuelker || License: UNKNOWN FIXME Files: doc/dep/depgraph.png Copyright: Fׯ_GBB'aiiQFa;v=&G f͂V^Ѵy<bŊ;w.-Z;444`…x7{?zLLL_"%%666GPP:** F/C*СC رc!pu|066ֶy T@`` +[_4eʔÃ.E&書r License: UNKNOWN FIXME Files: doc/tecdoc/cipux_xml_rpc_server_and_client_fr.tex Copyright: en detail avec des License: UNKNOWN FIXME Files: doc/tecdoc/rpc.tex Copyright: some utility you can test some aspects of the License: UNKNOWN FIXME debian/cipux-rpc-tools.install0000644000000000000000000000037711403011733013626 0ustar etc/cipux/stunnel/readme.txt etc/cipux/stunnel-cert.conf usr/sbin/cipux_mkcertkey usr/bin/cipux_rpc_list usr/sbin/cipux_rpc_test_client usr/share/man/man1/cipux_mkcertkey.1p usr/share/man/man1/cipux_rpc_list.1p usr/share/man/man1/cipux_rpc_test_client.1p debian/stunnel.conf0000644000000000000000000000071211403011733011516 0ustar ; Stunnel configuration file for cipux-rpcdr setuid = cipux-rpcdr setgid = ssl-cert pid = /var/lib/cipux-rpcdr/stunnel.pid ; Some performance tunings socket = l:TCP_NODELAY=1 socket = r:TCP_NODELAY=1 ;compression = rle ; Service-level configuration [cipux_rpcdr] accept = 8000 connect = 8001 ; Change these if creating local certificate (eg. with cipux-mkcertkey) cert = /etc/ssl/certs/ssl-cert-snakeoil.pem key = /etc/ssl/private/ssl-cert-snakeoil.key debian/copyright0000644000000000000000000000235711560464610011133 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=174 Upstream-Name: CipUX::RPC Upstream-Contact: Christian Kuelker Source: http://release.cipux.org/ svn://svn.debian.org/svn/cipux/trunk/cipux-core/rpc/src Files: * Copyright: 2006-2010, Christian Kuelker License: GPL-2+ Files: sbin/cipux_rpcdr Copyright: 2006-2009, Christian Kuelker 2007, Sebastian Friedel License: GPL-2+ Files: debian/* Copyright: 2008-2010, Jonas Smedegaard License: GPL-2+ License: GPL-2+ This program 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 2, or (at your option) any later version. . This program 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. Comment: On Debian systems the GNU General Public License (GPL) version 2 is located in '/usr/share/common-licenses/GPL-2'. . You should have received a copy of the GNU General Public License along with this program. If not, see . debian/gbp.conf0000644000000000000000000000014611403011733010577 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/rules0000755000000000000000000000600311701116451010242 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2008-2010 Jonas Smedegaard # Description: Main Debian packaging script for CipUX::RPC # # This program 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 2, or (at # your option) any later version. # # This program 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 . include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/perl-build.mk include /usr/share/cdbs/1/rules/debhelper.mk pkg_lib = libcipux-rpc-perl DEB_UPSTREAM_PACKAGE = CipUX-RPC DEB_UPSTREAM_URL = http://release.cipux.org DEB_UPSTREAM_TARBALL_MD5 = 02dbdec3b13ee1df58a7a8a48fd31476 # Install through debhelper.mk (not directly with perl-build.mk) DEB_PERL_DESTDIR = $(cdbs_curdestdir) DEB_DH_INSTALL_SOURCEDIR = $(DEB_PERL_DESTDIR) # Override defaults for old-style update-rc.d # * Stop only in runlevel 1 (let system kill it in runlelels 0 and 6) DEB_UPDATE_RCD_PARAMS = start 20 2 3 4 5 . stop 20 1 . # Reinstall init files with debhelper to automate packaging scripts install/cipux-rpcd:: mv $(DEB_PERL_DESTDIR)/etc/init.d/cipux-rpcd debian/cipux-rpcd.init clean:: rm -f debian/cipux-rpcd.init # Install stunnel config (using ssl-cert snakeoil cert, unlike upstream) binary-install/cipux-rpcd:: install -D -m 0644 debian/stunnel.conf debian/$(cdbs_curpkg)/etc/stunnel/cipux-rpcdr.conf # Needed both by upstream build (or tests) and at runtime common-depends = libclass-std-perl, libauthen-simple-pam-perl, libauthen-simple-perl, libcipux-perl, libcipux-rbac-simple-perl, libcipux-task-perl, libdate-manip-perl, libfrontier-rpc-perl, liblist-moreutils-perl (>= 0.25~02), liblog-log4perl-perl, libreadonly-perl, liblog-dispatch-perl, libticket-simple-perl CDBS_DEPENDS_$(pkg_lib) = $(common-depends) CDBS_BUILD_DEPENDS += , $(common-depends) # Needed by upstream build process CDBS_BUILD_DEPENDS += , libmodule-build-cipux-perl # Needed by upstream tests CDBS_BUILD_DEPENDS += , libtest-perl-critic-perl, libtest-pod-perl, libtest-pod-coverage-perl, libtest-leaktrace-perl, libtest-refcount-perl # Needed (always/often) at runtime CDBS_DEPENDS_cipux-rpcd = $(pkg_lib), libcipux-perl, lsb-base CDBS_DEPENDS_cipux-rpc-tools = libfrontier-rpc-perl, libcipux-perl, libreadonly-perl CDBS_RECOMMENDS = libreadonly-xs-perl CDBS_RECOMMENDS_cipux-rpcd = libpam-ldapd | libpam-ldap, libnss-ldapd | libnss-ldap, nscd, stunnel4, ssl-cert CDBS_RECOMMENDS_cipux-rpc-tools += , cipux-rpcd CDBS_SUGGESTS_cipux-rpcd = cipux-rpc-tools # Needed by packaging scripts CDBS_DEPENDS_cipux-rpcd += , $(pkg_lib), adduser debian/control.in0000644000000000000000000000576111560464632011216 0ustar Source: cipux-rpc Section: perl Priority: optional Maintainer: CipUX team Uploaders: Jonas Smedegaard , Christian Kuelker , Xavier Oswald Build-Depends: @cdbs@ Standards-Version: 3.9.2 Vcs-Git: git://git.debian.org/git/collab-maint/cipux-rpc.git Vcs-Browser: http://git.debian.org/?p=collab-maint/cipux-rpc.git;a=summary Homepage: http://www.cipux.org/ Package: libcipux-rpc-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends} Recommends: ${cdbs:Recommends} Description: XML-RPC routines for perl-based CipUX XML-RPC applications CipUX is a modular framework for information abstraction and administration, primarily aimed at administration of users, groups and organisational resources stored in a central LDAP database. . CAT is CipUX Administration Tools. Two CATs are provided officially with CipUX: - cipux-cat: generic web-based CAT - cipux-cat-moodle: CipUX plugin for Moodle These can be extended or replaced with custom tools. . This package contains CipUX::RPC, providing XML-RPC routines for the CipUX XML-RPC server and for perl-based clients like CipUX CAT. Package: cipux-rpcd Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: XML-RPC server for CipUX CipUX is a modular framework for information abstraction and administration, primarily aimed at administration of users, groups and organisational resources stored in a central LDAP database. . CAT is CipUX Administration Tools. Two CATs are provided officially with CipUX: - cipux-cat: generic web-based CAT - cipux-cat-moodle: CipUX plugin for Moodle These can be extended or replaced with custom tools. . This package contains the CipUX XML-RPC daemon, serving the CipUX::Task API for network-based appplications. Any XML-RPC application can access the CipUX::Task API and perform tasks, like creating users and other objects, inside the CipUX framework. Package: cipux-rpc-tools Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends} Recommends: ${cdbs:Recommends} Description: Commandline helper tools for XML-RPC server CipUX is a modular framework for information abstraction and administration, primarily aimed at administration of users, groups and organisational resources stored in a central LDAP database. . CAT is CipUX Administration Tools. Two CATs are provided officially with CipUX: - cipux-cat: generic web-based CAT - cipux-cat-moodle: CipUX plugin for Moodle These can be extended or replaced with custom tools. . This package contains the CipUX XML-RPC daemon, serving the CipUX::Task API for network-based appplications. Any XML-RPC application can access the CipUX::Task API and perform tasks, like creating users and other objects, inside the CipUX framework. . This package contains commandline tools to help setup and test the XML-RPC server for CipUX. debian/cipux-rpcd.README0000644000000000000000000000031411403011733012112 0ustar CipUX RPC daemon for Debian --------------------------- The stunnel wrapper cipux-rpcdr is not used with Debian. Instead stunnel is used directly. Make sure stunnel is enabled in /etc/default/stunnel4