[Pkg-cyrus-sasl2-commits] r44 - in /cyrus-sasl-2.1/trunk/debian: changelog patches/0000list patches/0009_build_samples_on_debian.dpatch patches/00list

el_cubano-guest at users.alioth.debian.org el_cubano-guest at users.alioth.debian.org
Fri Oct 20 06:56:57 UTC 2006


Author: el_cubano-guest
Date: Sun Oct 15 12:42:20 2006
New Revision: 44

URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/?sc=1&rev=44
Log:
Fix for #305357, added a patch for building the samples on Debian

Added:
    cyrus-sasl-2.1/trunk/debian/patches/0000list
      - copied, changed from r33, cyrus-sasl-2.1/trunk/debian/patches/00list
    cyrus-sasl-2.1/trunk/debian/patches/0009_build_samples_on_debian.dpatch   (with props)
Removed:
    cyrus-sasl-2.1/trunk/debian/patches/00list
Modified:
    cyrus-sasl-2.1/trunk/debian/changelog

Modified: cyrus-sasl-2.1/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/cyrus-sasl-2.1/trunk/debian/changelog?rev=44&op=diff
==============================================================================
--- cyrus-sasl-2.1/trunk/debian/changelog (original)
+++ cyrus-sasl-2.1/trunk/debian/changelog Sun Oct 15 12:42:20 2006
@@ -24,6 +24,7 @@
     - Made -modules suggest -modules-{sql,otp,gssapi-heimdal}
     - Fixed saslauthd init script so it gives useful error (Closes: #257181)
     - Added NTLM to -modules description (Closes: #274402)
+    - Added necessary config.h and Makefile to build samples (Closes: #305357)
 
- -- Roberto C. Sanchez <roberto at connexer.com>  Sun, 15 Oct 2006 08:04:44 -0400
+ -- Roberto C. Sanchez <roberto at connexer.com>  Sun, 15 Oct 2006 08:42:24 -0400
 

Copied: cyrus-sasl-2.1/trunk/debian/patches/0000list (from r33, cyrus-sasl-2.1/trunk/debian/patches/00list)
URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/cyrus-sasl-2.1/trunk/debian/patches/0000list?rev=44&op=diff
==============================================================================
--- cyrus-sasl-2.1/trunk/debian/patches/00list (original)
+++ cyrus-sasl-2.1/trunk/debian/patches/0000list Sun Oct 15 12:42:20 2006
@@ -6,3 +6,4 @@
 0006_library_mutexes
 0007_manpages_section
 0008_one_time_sasl_set_alloc
+0009_build_samples_on_debian

Added: cyrus-sasl-2.1/trunk/debian/patches/0009_build_samples_on_debian.dpatch
URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/cyrus-sasl-2.1/trunk/debian/patches/0009_build_samples_on_debian.dpatch?rev=44&op=file
==============================================================================
--- cyrus-sasl-2.1/trunk/debian/patches/0009_build_samples_on_debian.dpatch (added)
+++ cyrus-sasl-2.1/trunk/debian/patches/0009_build_samples_on_debian.dpatch Sun Oct 15 12:42:20 2006
@@ -1,0 +1,37 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 0009_build_samples_on_debian.dpatch by  <roberto at connexer.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: A patch to enable samples to build on Debian
+
+ at DPATCH@
+
+diff -uNr trunk.orig/sample/Makefile trunk/sample/Makefile
+--- trunk.orig/sample/Makefile	1969-12-31 19:00:00.000000000 -0500
++++ trunk/sample/Makefile	2006-10-15 08:18:19.000000000 -0400
+@@ -0,0 +1,10 @@
++#!/usr/bin/make -f
++
++all: sample-server sample-client
++
++sample-server: sample-server.c
++	gcc -g -o sample-server sample-server.c -I. -I/usr/include/sasl -lsasl2
++
++sample-client: sample-client.c
++	gcc -g -o sample-client sample-client.c -I. -I/usr/include/sasl -lsasl2
++
+diff -uNr trunk.orig/sample/config.h trunk/sample/config.h
+--- trunk.orig/sample/config.h	1969-12-31 19:00:00.000000000 -0500
++++ trunk/sample/config.h	2006-10-15 08:36:30.000000000 -0400
+@@ -0,0 +1,11 @@
++#include <string.h>
++#include <stdlib.h>
++#include <unistd.h>
++
++#define PACKAGE "sasl-sample-pkg"
++#define VERSION "0.0"
++#define PLUGINDIR "/usr/lib/sasl2"
++#define EXIT_FAILURE 1
++#define EXIT_SUCCESS 0
++#define HIER_DELIMITER '/'
++

Propchange: cyrus-sasl-2.1/trunk/debian/patches/0009_build_samples_on_debian.dpatch
------------------------------------------------------------------------------
    svn:executable = *




More information about the Pkg-cyrus-sasl2-commits mailing list