debian/0000755000000000000000000000000012231167707007174 5ustar debian/watch0000644000000000000000000000017012017774373010230 0ustar version=3 http://search.cpan.org/dist/Heimdal-Kadm5/ \ .*/Heimdal-Kadm5-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/rules0000755000000000000000000000003512017774373010257 0ustar #!/usr/bin/make -f %: dh $@ debian/copyright0000644000000000000000000000370112017774373011135 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Leif Johansson Source: http://search.cpan.org/dist/Heimdal-Kadm5/ Name: Heimdal::Kadm5 Files: * Copyright: 2003 Stockholms Universitet (Stockholm University, Stockholm Sweden) All rights reserved. License: BSD-3 Files: ./debian/* Copyright: 2009, 2010 Board of Trustees, Leland Stanford Jr. University 2009 Fredrik Thulin License: BSD3 License: BSD3 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . 3. Neither the name of the university nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/docs0000644000000000000000000000000712017774373010051 0ustar README debian/source/0000755000000000000000000000000012017774373010501 5ustar debian/source/format0000644000000000000000000000001412017774373011707 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012017774406010625 5ustar debian/patches/debian-changes0000644000000000000000000002024112017774406013377 0ustar Description: TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. . libheimdal-kadm5-perl (0.08-4) unstable; urgency=low . * Call the public kadm5_* API functions instead of the internal _c versions, fixing a backward compatibility issue with the current version of Heimdal in Debian. (Closes: #686299) Author: Russ Allbery Bug-Debian: http://bugs.debian.org/686299 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- libheimdal-kadm5-perl-0.08.orig/Kadm5.xs +++ libheimdal-kadm5-perl-0.08/Kadm5.xs @@ -218,10 +218,10 @@ DESTROY(handle) { if (handle->modcount > 0) { - kadm5_c_flush(handle->ptr); + kadm5_flush(handle->ptr); } if (handle->ptr) - kadm5_c_destroy(handle->ptr); + kadm5_destroy(handle->ptr); if (handle->context) krb5_free_context(handle->context); safefree(handle); @@ -237,7 +237,7 @@ kadm5_c_init_with_password (handle, clie unsigned long api_version CODE: { - kadm5_ret_t ret = kadm5_c_init_with_password_ctx(handle->context, + kadm5_ret_t ret = kadm5_init_with_password_ctx(handle->context, client_name, password, KADM5_ADMIN_SERVICE, @@ -246,7 +246,7 @@ kadm5_c_init_with_password (handle, clie api_version, &handle->ptr); if(ret) - croak("[Heimdal::Kadm5] kadm5_c_init_with_password_ctx failed: %s\n", + croak("[Heimdal::Kadm5] kadm5_init_with_password_ctx failed: %s\n", krb5_get_err_text(handle->context, ret)); if (password != NULL && *password != '\0') @@ -263,7 +263,7 @@ kadm5_c_init_with_skey (handle, client_n unsigned long api_version CODE: { - kadm5_ret_t ret = kadm5_c_init_with_skey_ctx(handle->context, + kadm5_ret_t ret = kadm5_init_with_skey_ctx(handle->context, client_name, keytab, KADM5_ADMIN_SERVICE, @@ -272,7 +272,7 @@ kadm5_c_init_with_skey (handle, client_n api_version, &handle->ptr); if(ret) - croak("[Heimdal::Kadm5] kadm5_c_init_with_skey_ctx failed: %s\n", + croak("[Heimdal::Kadm5] kadm5_init_with_skey_ctx failed: %s\n", krb5_get_err_text(handle->context, ret)); } @@ -281,9 +281,9 @@ kadm5_c_flush(handle) shandle_t *handle CODE: { - kadm5_ret_t ret = kadm5_c_flush(handle->ptr); + kadm5_ret_t ret = kadm5_flush(handle->ptr); if (ret) - croak("[Heimdal::Kadm5] kadm5_c_flush failed: %s\n",krb5_get_err_text(handle->context, ret)); + croak("[Heimdal::Kadm5] kadm5_flush failed: %s\n",krb5_get_err_text(handle->context, ret)); handle->modcount = 0; } @@ -298,11 +298,11 @@ kadm5_c_modify_principal(handle,spp,mask if (mask == 0) mask = spp->mask; - ret = kadm5_c_modify_principal(handle->ptr, &spp->principal, mask); + ret = kadm5_modify_principal(handle->ptr, &spp->principal, mask); if (ret) { if (ret) - croak("[Heimdal::Kadm5] kadm5_c_modify_principal failed: %s\n", + croak("[Heimdal::Kadm5] kadm5_modify_principal failed: %s\n", krb5_get_err_text(handle->context, ret)); } handle->modcount++; @@ -329,7 +329,7 @@ kadm5_c_randkey_principal(handle,name) if(ret) { krb5_free_principal(handle->context, principal); - croak("[Heimdal::Kadm5] kadm5_c_randkey_principal failed: %s\n", + croak("[Heimdal::Kadm5] kadm5_randkey_principal failed: %s\n", krb5_get_err_text(handle->context, ret)); } for(i = 0; i < n_keys; i++) @@ -358,9 +358,9 @@ kadm5_c_chpass_principal(handle,name,pas croak("[Heimdal::Kadm5] krb5_parse_name failed on \"%s\": %s\n", name,krb5_get_err_text(handle->context, ret2)); - ret = kadm5_c_chpass_principal(handle->ptr,principal,password); + ret = kadm5_chpass_principal(handle->ptr,principal,password); if (ret) - croak("[Heimdal::Kadm5] kadm5_c_chpass_principal failed on \"%s\": %s\n", + croak("[Heimdal::Kadm5] kadm5_chpass_principal failed on \"%s\": %s\n", name,krb5_get_err_text(handle->context, ret)); handle->modcount++; } @@ -378,7 +378,7 @@ kadm5_c_create_principal(handle,spp,pass if (mask == 0) mask = spp->mask; - ret = kadm5_c_create_principal(handle->ptr,&spp->principal,mask,password); + ret = kadm5_create_principal(handle->ptr,&spp->principal,mask,password); if (ret) { char *p; @@ -391,7 +391,7 @@ kadm5_c_create_principal(handle,spp,pass croak("[Heimdal::Kadm5] krb5_unparse_name failed: %s\n", krb5_get_err_text(spp->handle->context, ret2)); } - croak("[Heimdal::Kadm5] krb5_c_create_principal failed on \"%s\": %s\n", + croak("[Heimdal::Kadm5] krb5_create_principal failed on \"%s\": %s\n", p,krb5_get_err_text(handle->context, ret)); } handle->modcount++; @@ -423,7 +423,7 @@ kadm5_c_rename_principal(handle, src, tr trg,krb5_get_err_text(handle->context, ret)); } - err = kadm5_c_rename_principal(handle->ptr, source, target); + err = kadm5_rename_principal(handle->ptr, source, target); if (err) { krb5_free_principal(handle->context, source); @@ -451,11 +451,11 @@ kadm5_c_delete_principal(handle,name) croak("[Heimdal::Kadm5] krb5_parse_name failed on \"%s\": %s\n", name,krb5_get_err_text(handle->context, ret)); - err = kadm5_c_delete_principal(handle->ptr,principal); + err = kadm5_delete_principal(handle->ptr,principal); if (err) { krb5_free_principal(handle->context, principal); - croak("[Heimdal::Kadm5] kadm5_c_delete_principal failed for \"%s\": %s\n", + croak("[Heimdal::Kadm5] kadm5_delete_principal failed for \"%s\": %s\n", name,krb5_get_err_text(handle->context, err)); } handle->modcount++; @@ -480,7 +480,7 @@ kadm5_c_get_principal(handle, name, mask name,krb5_get_err_text(handle->context, ret)); spp = create_sprincipal(handle); - ret = kadm5_c_get_principal(handle->ptr, + ret = kadm5_get_principal(handle->ptr, principal, &spp->principal, mask); @@ -492,7 +492,7 @@ kadm5_c_get_principal(handle, name, mask } else { krb5_free_principal(handle->context, principal); destroy_sprincipal(spp); - croak("[Heimdal::Kadm5] kadm5_c_get_principal failed for \"%s\": %s\n", + croak("[Heimdal::Kadm5] kadm5_get_principal failed for \"%s\": %s\n", name,krb5_get_err_text(handle->context, ret)); } } @@ -512,10 +512,10 @@ kadm5_c_get_principals(handle,exp) int num_princs,i; kadm5_ret_t ret; - ret = kadm5_c_get_principals(handle->ptr,exp,&princs,&num_princs); + ret = kadm5_get_principals(handle->ptr,exp,&princs,&num_princs); if (ret) { - croak("[Heimdal::Kadm5] kadm5_c_get_principals failed for \"%s\": %s\n", + croak("[Heimdal::Kadm5] kadm5_get_principals failed for \"%s\": %s\n", exp,krb5_get_err_text(handle->context, ret)); } EXTEND(SP,num_princs); @@ -532,10 +532,10 @@ kadm5_c_get_privs(handle) CODE: { int privs; - kadm5_ret_t ret = kadm5_c_get_privs(handle->ptr,&privs); + kadm5_ret_t ret = kadm5_get_privs(handle->ptr,&privs); if (ret) { - croak("[Heimdal::Kadm5] kadm5_c_get_privs failed: %s\n", + croak("[Heimdal::Kadm5] kadm5_get_privs failed: %s\n", krb5_get_err_text(handle->context, ret)); } RETVAL = privs; debian/patches/series0000644000000000000000000000001712017774406012040 0ustar debian-changes debian/compat0000644000000000000000000000000212017774373010377 0ustar 7 debian/control0000644000000000000000000000166412017774373010613 0ustar Source: libheimdal-kadm5-perl Section: perl Priority: extra Build-Depends: debhelper (>= 7), heimdal-dev, perl Maintainer: Russ Allbery Standards-Version: 3.8.4 Homepage: http://search.cpan.org/dist/Heimdal-Kadm5/ Vcs-Git: git://code.mnt.se/heimdal-kadm5.git Vcs-Browser: http://git.mnt.se/?p=heimdal-kadm5.git Package: libheimdal-kadm5-perl Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends} Description: Perl module to administer a Heimdal Kerberos KDC Heimdal::Kadm5 is a Perl module that wraps the Heimdal libkadm5clnt library and allows administration of a Heimdal KDC inside Perl programs. It mimics the commands that would normally be sent to the server with the kadmin command. Principal creation, deletion, modification, and searching and extraction of keytabs are supported. . This module is equivalent to Authen::Krb5::Admin except for a Heimdal KDC instead of an MIT Kerberos KDC. debian/changelog0000644000000000000000000000365712231167707011061 0ustar libheimdal-kadm5-perl (0.08-4build1) trusty; urgency=low * Rebuild for Perl 5.18. -- Colin Watson Mon, 21 Oct 2013 10:11:35 +0100 libheimdal-kadm5-perl (0.08-4) unstable; urgency=low * Call the public kadm5_* API functions instead of the internal _c versions, fixing a backward compatibility issue with the current version of Heimdal in Debian. (Closes: #686299) -- Russ Allbery Thu, 30 Aug 2012 16:34:29 -0700 libheimdal-kadm5-perl (0.08-3) unstable; urgency=low * Initial upload to Debian. (Closes: #572400) * Update debhelper compatibility level to V7. - Use debhelper rule minimization. * Drop specific version from Perl build dependency, since it was older than the version in stable. * Lower the priority to extra to match Heimdal. * Set myself as maintainer since I'll be doing the Debian uploads. * Add Vcs-Git, Vcs-Browser, and Homepage control fields. * Reformatting and improvements of binary package description. * Rewrite debian/copyright in the proposed DEP-5 format. * Add a debian/watch file. * Set the Debian source package format to 3.0 (quilt). * Update standards version to 3.8.4. -- Russ Allbery Fri, 02 Apr 2010 18:27:38 -0700 libheimdal-kadm5-perl (0.08-2) unstable; urgency=low * Fixed requirements in debian/control to require the libraries and not heimdal-clients. -- Jon C. Robertson Mon, 08 Feb 2010 16:22:03 -0800 libheimdal-kadm5-perl (0.08-1) unstable; urgency=low * New Upstream Version -- Jon C. Robertson Thu, 28 Jan 2010 10:35:11 -0800 libheimdal-kadm5-perl (0.07-1) unstable; urgency=low * New upstream release. -- Jon C. Robertson Thu, 10 Dec 2009 15:30:29 -0800 libheimdal-kadm5-perl (0.06-1) unstable; urgency=low * Initial Release. -- Jon C. Robertson Mon, 7 Dec 2009 06:34:31 -0800