/branches/using-pmk/debian/control |
---|
0,0 → 1,42 |
Source: libdkim |
Priority: optional |
Maintainer: Magnus Holmgren <holmgren@debian.org> |
Build-Depends: debhelper (>= 5), autoconf, libssl-dev, pkg-config, dpatch |
Standards-Version: 3.7.3 |
Section: libs |
Homepage: http://libdkim.sourceforge.net |
Package: libdkim1 |
Section: libs |
Architecture: any |
Depends: ${shlibs:Depends}, ${misc:Depends} |
Description: cryptographically identify the sender of email |
DomainKeys Identified Mail (DKIM) defines a domain-level |
authentication framework for email using public-key cryptography and |
key server technology to permit verification of the source and |
contents of messages by either Mail Transport Agents (MTAs) or Mail |
User Agents (MUAs). |
. |
libdkim is a library, developed by Alt-N Technologies, that allows |
incorporating DKIM into an existing MTA or other application. It |
provides full support for signing, verifying, and SSP. See the |
changelogs for information on compliance with specifications. |
Package: libdkim-dev |
Section: libdevel |
Architecture: any |
Depends: libdkim1 (= ${binary:Version}), libssl-dev |
Description: cryptographically identify the sender of email |
DomainKeys Identified Mail (DKIM) defines a domain-level |
authentication framework for email using public-key cryptography and |
key server technology to permit verification of the source and |
contents of messages by either Mail Transport Agents (MTAs) or Mail |
User Agents (MUAs). |
. |
libdkim is a library, developed by Alt-N Technologies, that allows |
incorporating DKIM into an existing MTA or other application. It |
provides full support for signing, verifying, and SSP. See the |
changelogs for information on compliance with specifications. |
. |
This package contains the development files needed to compile and link |
programs with libdkim. |
/branches/using-pmk/debian/Makefile.in |
---|
0,0 → 1,91 |
# libdkim makefile for UNIX |
# |
srcdir = @srcdir@ |
VPATH = @srcdir@ |
prefix = @prefix@ |
exec_prefix = @exec_prefix@ |
bindir = @bindir@ |
libdir = @libdir@ |
includedir = @includedir@ |
OBJEXT = @OBJEXT@ |
LIBS = @LIBS@ @libcrypto_LIBS@ |
CC = @CC@ |
CXX = @CXX@ |
CFLAGS = @CFLAGS@ |
CXXFLAGS = @CXXFLAGS@ |
CPPFLAGS = @CPPFLAGS@ |
INCL = |
LDFLAGS = @LDFLAGS@ |
libdkim_SOURCES = dkim.cpp dns.cpp dkimbase.cpp dkimsign.cpp dkimverify.cpp |
HEADERS = dkim.h dns.h dkimbase.h dkimsign.h dkimverify.h |
libdkim_OBJS = $(libdkim_SOURCES:.cpp=.$(OBJEXT)) |
libdkim_PURE_OBJS = $(libdkim_SOURCES:.cpp=.p$(OBJEXT)) |
libdkimtest_SOURCES = libdkimtest.cpp |
libdkimtest_OBJS = libdkimtest.$(OBJEXT) |
SHLIBFORLINK = libdkim.so |
SHLIBSONAME = $(SHLIBFORLINK).$(SHLIBMAJOR) |
SHLIBTARGET = $(SHLIBFORLINK) |
SHLIBLINK = $(CXX) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME) |
SHLIBMAJOR = 1 |
SHLIBMINOR = 0 |
SHLIBFILE = $(SHLIBSONAME).$(SHLIBMINOR) |
SHLIBCFLAGS = -fPIC |
ARFLAGS = crs |
TARGETS = libdkim.a $(SHLIBTARGET) libdkimtest |
all: $(TARGETS) |
libdkim.a: $(libdkim_OBJS) |
-rm -f $@ |
$(AR) $(ARFLAGS) $@ $(libdkim_OBJS) |
$(SHLIBFORLINK): $(libdkim_PURE_OBJS) |
$(SHLIBLINK) -o $@ $(LIBS) $(libdkim_PURE_OBJS) |
-mkdir .lib 2>/dev/null |
[ -z "$(SHLIBSONAME)" ] || (cd .lib \ |
&& ln -sf ../$(SHLIBFORLINK) $(SHLIBSONAME)) |
libdkimtest: $(libdkimtest_OBJS) libdkim.a |
$(CXX) -static -o $@ libdkimtest.o libdkim.a $(LIBS) |
libdkimtest.o: $(libdkimtest_SOURCES) $(HDRS) |
$(CXX) $(CXXFLAGS) -o $@ -c $< |
%.$(OBJEXT): %.cpp $(HDRS) |
$(CXX) $(CXXFLAGS) -o $@ -c $< |
%.p$(OBJEXT): %.cpp $(HDRS) |
$(CXX) $(SHLIBCFLAGS) $(CXXFLAGS) -o $@ -c $< |
clean: |
-rm -f *.$(OBJEXT) *.p$(OBJEXT) $(TARGETS) |
-rm -rf .lib |
distclean: clean |
-rm -f config.status config.log Makefile libdkim.pc |
install: all |
install -m 755 -d $(DESTDIR)$(libdir) |
install -m 755 -d $(DESTDIR)$(libdir)/pkgconfig |
install -m 755 -d $(DESTDIR)$(includedir) |
install -m 644 libdkim.a $(DESTDIR)$(libdir) |
install -m 755 $(SHLIBFORLINK) $(DESTDIR)$(libdir)/$(SHLIBFILE) |
[ -z "$(SHLIBSONAME)" ] \ |
|| (cd $(DESTDIR)$(libdir) \ |
&& ln -sf $(SHLIBFILE) $(SHLIBSONAME) \ |
&& ln -sf $(SHLIBFILE) $(SHLIBFORLINK) ) |
install -m 644 $(srcdir)/dkim.h $(DESTDIR)$(includedir) |
install -m 644 libdkim.pc $(DESTDIR)$(libdir)/pkgconfig |
.PHONY: all install clean distclean |
/branches/using-pmk/debian/patches/00list |
---|
--- using-pmk/debian/patches/20_strict_includes.dpatch (nonexistent) |
+++ using-pmk/debian/patches/20_strict_includes.dpatch (revision 22) |
@@ -0,0 +1,29 @@ |
+#! /bin/sh /usr/share/dpatch/dpatch-run |
+## 20_strict_includes.dpatch by Magnus Holmgren <magnus@kibibyte.se> |
+## |
+## All lines beginning with `## DP:' are a description of the patch. |
+## DP: Add "#include <string.h>" as needed to fix FTBFS with GCC 4.3. |
+ |
+@DPATCH@ |
+diff -urNad trunk~/src/dkim.cpp trunk/src/dkim.cpp |
+--- trunk~/src/dkim.cpp 2007-09-04 14:38:44.000000000 +0200 |
++++ trunk/src/dkim.cpp 2008-01-19 23:32:38.000000000 +0100 |
+@@ -20,6 +20,7 @@ |
+ #else |
+ #endif |
+ |
++#include <string.h> |
+ #include "dkim.h" |
+ #include "dkimsign.h" |
+ #include "dkimverify.h" |
+diff -urNad trunk~/src/dkimverify.cpp trunk/src/dkimverify.cpp |
+--- trunk~/src/dkimverify.cpp 2007-10-29 15:15:18.000000000 +0100 |
++++ trunk/src/dkimverify.cpp 2008-01-19 23:32:50.000000000 +0100 |
+@@ -29,6 +29,7 @@ |
+ #include <assert.h> |
+ #include <vector> |
+ #include <algorithm> |
++#include <string.h> |
+ |
+ #define MAX_SIGNATURES 10 // maximum number of DKIM signatures to process in a message |
+ |
/using-pmk/debian/patches/20_strict_includes.dpatch |
---|
Property changes: |
Added: svn:executable |
## -0,0 +1 ## |
+* |
\ No newline at end of property |
Index: using-pmk/debian/patches/20_bad_test.dpatch |
=================================================================== |
--- using-pmk/debian/patches/20_bad_test.dpatch (nonexistent) |
+++ using-pmk/debian/patches/20_bad_test.dpatch (revision 22) |
@@ -0,0 +1,20 @@ |
+#! /bin/sh /usr/share/dpatch/dpatch-run |
+## 20_bad_test.dpatch by Magnus Holmgren <magnus@kibibyte.se> |
+## |
+## All lines beginning with `## DP:' are a description of the patch. |
+## DP: Change pfnPolicyCallback to pfnPracticesCallback in test |
+## DP: program. |
+ |
+@DPATCH@ |
+diff -urNad trunk~/src/libdkimtest.cpp trunk/src/libdkimtest.cpp |
+--- trunk~/src/libdkimtest.cpp 2007-02-22 17:05:46.000000000 +0100 |
++++ trunk/src/libdkimtest.cpp 2008-01-19 22:47:48.000000000 +0100 |
+@@ -256,7 +256,7 @@ |
+ |
+ DKIMVerifyOptions vopts; |
+ vopts.pfnSelectorCallback = NULL; //SelectorCallback; |
+- vopts.pfnPolicyCallback = NULL; //PolicyCallback; |
++ vopts.pfnPracticesCallback = NULL; //PolicyCallback; |
+ |
+ n = DKIMVerifyInit( &ctxt, &vopts ); |
+ |
/using-pmk/debian/patches/20_bad_test.dpatch |
---|
Property changes: |
Added: svn:executable |
## -0,0 +1 ## |
+* |
\ No newline at end of property |
Index: using-pmk/debian/changelog |
=================================================================== |
--- using-pmk/debian/changelog (nonexistent) |
+++ using-pmk/debian/changelog (revision 22) |
@@ -0,0 +1,38 @@ |
+libdkim (1:1.0.19-1) unstable; urgency=low |
+ |
+ * New upstream release. |
+ - Drop remaining patches; issues fixed upstream. |
+ * New maintainer email address. |
+ |
+ -- Magnus Holmgren <holmgren@debian.org> Sat, 16 Feb 2008 21:01:25 +0100 |
+ |
+libdkim (1:1.0.17-1) unstable; urgency=low |
+ |
+ * New upstream release. |
+ * Drop 20_winmacros.dpatch; fixed upstream. |
+ * Bump soname to libdkim1 because of incompatible struct changes. |
+ * 20_strict_includes.dpatch (new): Add "#include <string.h>" as necessary |
+ to fix FTBFS with GCC 4.3 (Closes: #455145). |
+ * Add an epoch to reclaim binary packages "stolen" by dkim-milter. |
+ * Dump the linker version script - changing the soname when necessary is |
+ going to be hard enough. |
+ * Move homepage URL from description to control field. |
+ * Increase Standards-Version to 3.7.3 without changes. |
+ * Don't ignore distclean errors. |
+ |
+ -- Magnus Holmgren <magnus@kibibyte.se> Fri, 15 Feb 2008 23:04:42 +0100 |
+ |
+libdkim (1.0.14-1) unstable; urgency=low |
+ |
+ * New upstream release. |
+ * Build-depend on pkg-config. |
+ * Use dpatch to apply changes to upstream. |
+ |
+ -- Magnus Holmgren <magnus@kibibyte.se> Wed, 02 May 2007 21:14:01 +0200 |
+ |
+libdkim (1.0.13-1) unstable; urgency=low |
+ |
+ * Initial release (Closes: #410829). |
+ |
+ -- Magnus Holmgren <magnus@kibibyte.se> Tue, 6 Mar 2007 21:08:04 +0100 |
+ |
Index: using-pmk/debian/pmkfile |
=================================================================== |
--- using-pmk/debian/pmkfile (nonexistent) |
+++ using-pmk/debian/pmkfile (revision 22) |
@@ -0,0 +1,48 @@ |
+# pmkfile generated by pmkscan (2008-05-17 19:27). |
+ |
+SETTINGS { |
+# list of template files |
+ TARGET = ("Makefile.pmk","libdkim.pc") |
+ DETECT = ("C++") |
+ LANG = "C++" |
+} |
+ |
+# main defines (NEED MANUAL EDITION) |
+DEFINE { |
+ PACKAGE = "libdkim" |
+ BINDIR = "\\$(PREFIX)/bin" |
+ SBINDIR = "\\$(PREFIX)/sbin" |
+ MANDIR = "\\$(PREFIX)/man" |
+ DATADIR = "\\$(PREFIX)/share/\\$(PACKAGE)" |
+ LIBDIR = "\\$(PREFIX)/lib" |
+ INCDIR = "\\$(PREFIX)/include" |
+} |
+ |
+CHECK_PKG_CONFIG { |
+ NAME = "libcrypto" |
+ REQUIRED = TRUE |
+} |
+ |
+CHECK_LIB { |
+ NAME = "resolv" |
+ REQUIRED = FALSE |
+ LANG = "C" |
+ FUNCTION = ("__res_query") |
+} |
+ |
+CHECK_LIB { |
+ NAME = "bind" |
+ REQUIRED = FALSE |
+ LANG = "C" |
+ FUNCTION = ("__res_query") |
+} |
+ |
+BUILD_LIB_NAME { |
+ NAME = "dkim" |
+ STATIC = "LIBDKIM_STATIC" |
+ SHARED = "LIBDKIM_SHARED" |
+ MAJOR = "1" |
+ MINOR = "0" |
+ VERSION = TRUE |
+} |
+ |
Index: using-pmk/debian/rules |
=================================================================== |
--- using-pmk/debian/rules (nonexistent) |
+++ using-pmk/debian/rules (revision 22) |
@@ -0,0 +1,84 @@ |
+#!/usr/bin/make -f |
+# -*- makefile -*- |
+# Sample debian/rules that uses debhelper. |
+# This file was originally written by Joey Hess and Craig Small. |
+# As a special exception, when this file is copied by dh-make into a |
+# dh-make output file, you may use that output file without restriction. |
+# This special exception was added by Craig Small in version 0.37 of dh-make. |
+ |
+# Uncomment this to turn on verbose mode. |
+#export DH_VERBOSE=1 |
+ |
+include /usr/share/dpatch/dpatch.make |
+ |
+export CXXFLAGS = -Wall -g |
+ |
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) |
+ CXXFLAGS += -O0 |
+else |
+ CXXFLAGS += -O2 |
+endif |
+ |
+configure: Makefile |
+Makefile: $(DPATCH_STAMPFN) debian/pmkfile |
+ dh_testdir |
+ ln -sf $(CURDIR)/debian/libdkim.pc.in src/libdkim.pc.pmk |
+ pmk -f debian/pmkfile |
+ |
+build: build-stamp |
+build-stamp: configure |
+ dh_testdir |
+ |
+ (cd src && $(MAKE) -f ../Makefile) |
+ |
+ touch $@ |
+ |
+clean: clean-patched unpatch |
+clean-patched: |
+ dh_testdir |
+ dh_testroot |
+ rm -f build-stamp configure-stamp |
+ |
+ [ ! -f Makefile ] || (cd src && $(MAKE) -f ../Makefile distclean) |
+ |
+ rm -f src/*.in debian/configure |
+ rm -rf debian/autom4te.cache |
+ dh_clean |
+ |
+install: build |
+ dh_testdir |
+ dh_testroot |
+ dh_clean -k |
+ dh_installdirs |
+ |
+ (cd src && $(MAKE) -f ../Makefile install DESTDIR=$(CURDIR)/debian/tmp) |
+# |
+ |
+ |
+# Build architecture-independent files here. |
+binary-indep: build install |
+# We have nothing to do by default. |
+ |
+# Build architecture-dependent files here. |
+binary-arch: build install |
+ dh_testdir |
+ dh_testroot |
+ dh_install --sourcedir=debian/tmp |
+ dh_link |
+ dh_installchangelogs -k README |
+ dh_installdocs |
+ dh_installexamples |
+# dh_installinfo |
+# dh_installman |
+ dh_strip |
+ dh_compress |
+ dh_fixperms |
+ dh_makeshlibs |
+ dh_installdeb |
+ dh_shlibdeps |
+ dh_gencontrol |
+ dh_md5sums |
+ dh_builddeb |
+ |
+binary: binary-indep binary-arch |
+.PHONY: patch unpatch build clean binary-indep binary-arch binary install configure |
/using-pmk/debian/rules |
---|
Property changes: |
Added: svn:executable |
## -0,0 +1 ## |
+* |
\ No newline at end of property |
Index: using-pmk/debian/configure.ac |
=================================================================== |
--- using-pmk/debian/configure.ac (nonexistent) |
+++ using-pmk/debian/configure.ac (revision 22) |
@@ -0,0 +1,38 @@ |
+# -*- Autoconf -*- |
+# Process this file with autoconf to produce a configure script. |
+ |
+AC_PREREQ(2.61) |
+AC_INIT(libdkim, 1.0.19) |
+AC_CONFIG_SRCDIR([dkim.cpp]) |
+##AC_CONFIG_HEADER([config.h]) |
+ |
+# Checks for programs. |
+AC_PROG_CXX |
+PKG_PROG_PKG_CONFIG |
+ |
+# Checks for libraries. |
+#AC_CHECK_LIB([crypto], [PEM_read_PrivateKey]) |
+PKG_CHECK_MODULES([libcrypto], [libcrypto]) |
+AC_SEARCH_LIBS([res_query], [resolv c],, |
+ [AC_SEARCH_LIBS(__res_query,resolv bind)]) |
+ |
+# Checks for header files. |
+AC_HEADER_RESOLV |
+AC_HEADER_STDC |
+AC_CHECK_HEADERS([netdb.h netinet/in.h inttypes.h stdlib.h string.h]) |
+ |
+# Checks for typedefs, structures, and compiler characteristics. |
+AC_HEADER_STDBOOL |
+AC_C_CONST |
+AC_C_INLINE |
+AC_HEADER_TIME |
+AC_TYPE_UINT16_T |
+AC_TYPE_UINT32_T |
+ |
+# Checks for library functions. |
+AC_FUNC_MEMCMP |
+AC_FUNC_SELECT_ARGTYPES |
+AC_CHECK_FUNCS([select socket strchr]) |
+ |
+AC_CONFIG_FILES([Makefile libdkim.pc]) |
+AC_OUTPUT |
Index: using-pmk/debian/Makefile.pmk |
=================================================================== |
--- using-pmk/debian/Makefile.pmk (nonexistent) |
+++ using-pmk/debian/Makefile.pmk (revision 22) |
@@ -0,0 +1,311 @@ |
+# Makefile template built by pmkscan (2008-05-17 20:40) |
+# @configure_input@ |
+ |
+ |
+# build tools |
+CC= @CC@ |
+CFLAGS= @CFLAGS@ |
+CLDFLAGS= @CLDFLAGS@ |
+CXX= @CXX@ |
+CXXFLAGS= @CXXFLAGS@ |
+CXXLDFLAGS= @CXXLDFLAGS@ @LIBS@ |
+SLCXXFLAGS= @SLCXXFLAGS@ |
+SLCXXLDFLAGS= @SLCXXLDFLAGS@ |
+AR= @AR@ |
+ARFLAGS= cru |
+RANLIB= @RANLIB@ |
+INSTALL= @INSTALL@ |
+RM= rm |
+RMFLAGS= -rf |
+ |
+ |
+# tool aliases |
+INSTALL_BIN= $(INSTALL) -m 755 |
+INSTALL_SBIN= $(INSTALL) -m 755 |
+INSTALL_STLIB= $(INSTALL) -m 644 |
+INSTALL_SHLIB= $(INSTALL) -m 755 |
+INSTALL_DATA= $(INSTALL) -D -m 644 |
+INSTALL_DIR= $(INSTALL) -d -m 755 |
+INSTALL_MAN= $(INSTALL) -m 644 |
+ |
+ |
+# specific directories |
+PREFIX= @PREFIX@ |
+BINDIR= @BINDIR@ |
+SBINDIR= @SBINDIR@ |
+DATADIR= @DATADIR@ |
+LIBDIR= @LIBDIR@ |
+INCDIR= @INCDIR@ |
+SYSCONFDIR= @SYSCONFDIR@ |
+ |
+# packaging |
+PACKAGE= @PACKAGE@ |
+ |
+ |
+# |
+# list of generated files |
+# |
+GEN_FILES= Makefile config.h |
+ |
+# |
+# source dependency lists |
+# |
+DKIM_SRCS= dkim.cpp dkim.h dkimbase.h dkimsign.h dkimverify.h resource.h |
+ |
+DKIMBASE_SRCS= dkim.h dkimbase.cpp dkimbase.h |
+ |
+DKIMSIGN_SRCS= dkim.h dkimbase.h dkimsign.cpp dkimsign.h |
+ |
+DKIMVERIFY_SRCS= dkim.h dkimbase.h dkimverify.cpp dkimverify.h dns.h |
+ |
+DNS_SRCS= dkim.h dns.cpp dns.h dnsresolv.h |
+ |
+DNSRESOLV_SRCS= dnsresolv.cpp dnsresolv.h |
+ |
+LIBDKIMTEST_SRCS= dkim.h dns.h libdkimtest.cpp |
+ |
+# |
+# binary name macros |
+# |
+LIBDKIMTEST= libdkimtest |
+ |
+# |
+# library name macros |
+# |
+LIBDKIM= libdkim |
+LIBDKIM_STATIC= @LIBDKIM_STATIC@ |
+LIBDKIM_SHARED= @LIBDKIM_SHARED@ |
+LIBDKIM_HEADERS= dkim.h |
+ |
+# |
+# binary target dependency lists |
+# |
+LIBDKIMTEST_OBJS= dkim.o dkimbase.o dkimverify.o dkimsign.o dns.o dnsresolv.o libdkimtest.o |
+ |
+# |
+# library target dependency lists |
+# |
+LIBDKIM_OBJS= dkim.o dkimbase.o dkimsign.o dkimverify.o dns.o \ |
+ dnsresolv.o |
+ |
+# |
+# target lists |
+# |
+ |
+# building |
+BUILD_TARGETS= $(ALL_BIN_TARGETS) $(LIB_BUILD_TARGETS) |
+ |
+ALL_BIN_TARGETS= $(LIBDKIMTEST) |
+ |
+LIB_BUILD_TARGETS= static_libs $(SHARED_LIB_TARGETS) |
+ |
+STATIC_LIB_TARGETS= $(LIBDKIM_STATIC) |
+ |
+SHARED_LIB_TARGETS= @SHARED_LIB_TARGETS@ |
+ |
+CXX_SHLIB_TARGETS= $(LIBDKIM_SHARED) |
+ |
+# cleaning |
+CLEAN_TARGETS= $(BIN_CLEAN_TARGETS) $(LIB_CLEAN_TARGETS) |
+ |
+BIN_CLEAN_TARGETS= $(LIBDKIMTEST)_clean |
+ |
+LIB_CLEAN_TARGETS= static_libs_clean $(SHLIB_CLEAN_TARGETS) |
+ |
+STLIB_CLEAN_TARGETS= $(LIBDKIM)_static_clean |
+ |
+SHLIB_CLEAN_TARGETS= @SHLIB_CLEAN_TARGETS@ |
+ |
+CXX_SHLIB_CLEAN_TARGETS= $(LIBDKIM)_shared_clean |
+ |
+# installing |
+INSTALL_TARGETS= install_bin install_lib |
+ |
+BIN_INSTALL_TARGETS= $(LIBDKIMTEST)_install |
+ |
+LIB_INSTALL_TARGETS= lib_headers_install static_libs_install $(SHLIB_INST_TARGETS) |
+ |
+STLIB_INST_TARGETS= $(LIBDKIM)_static_install |
+ |
+SHLIB_INST_TARGETS= @SHLIB_INST_TARGETS@ |
+ |
+CXX_SHLIB_INST_TARGETS= $(LIBDKIM)_shared_install |
+ |
+# deinstalling |
+DEINSTALL_TARGETS= $(BIN_DEINSTALL_TARGETS) $(LIB_DEINSTALL_TARGETS) |
+ |
+BIN_DEINSTALL_TARGETS= $(LIBDKIMTEST)_deinstall |
+ |
+LIB_DEINSTALL_TARGETS= lib_headers_deinstall static_libs_deinstall $(SHLIB_DEINST_TARGETS) |
+ |
+STLIB_DEINST_TARGETS= $(LIBDKIM)_static_deinstall |
+ |
+SHLIB_DEINST_TARGETS= @SHLIB_DEINST_TARGETS@ |
+ |
+CXX_SHLIB_DEINST_TARGETS= $(LIBDKIM)_shared_deinstall |
+ |
+# by default we consider all binaries as non privileged |
+BIN_FILES= $(ALL_BIN_TARGETS) |
+ |
+# move privileged binaries here if needed |
+SBIN_FILES= |
+ |
+.SUFFIXES: .o .s .c .C .cc .cxx .cpp |
+ |
+# C suffixes |
+.c.o: |
+ $(CC) $(CFLAGS) $(SLCFLAGS) -o $@ -c $< |
+ |
+.C.o: |
+ $(CC) $(CFLAGS) $(SLCFLAGS) -o $@ -c $< |
+ |
+.cc.o: |
+ $(CC) $(CFLAGS) $(SLCFLAGS) -o $@ -c $< |
+ |
+# C++ suffixes |
+.cxx.o: |
+ $(CXX) $(CXXFLAGS) $(SLCXXFLAGS) -o $@ -c $< |
+ |
+.cpp.o: |
+ $(CXX) $(CXXFLAGS) $(SLCXXFLAGS) -o $@ -c $< |
+ |
+ |
+# |
+# generic targets |
+# |
+all: $(BUILD_TARGETS) |
+ |
+clean: $(CLEAN_TARGETS) |
+ |
+install: $(INSTALL_TARGETS) |
+ |
+deinstall: $(DEINSTALL_TARGETS) |
+ |
+distclean: clean |
+ $(RM) $(RMFLAGS) $(GEN_FILES) |
+ |
+# |
+# object rules |
+# |
+dkim.o: $(DKIM_SRCS) |
+ |
+ |
+dkimbase.o: $(DKIMBASE_SRCS) |
+ |
+ |
+dkimsign.o: $(DKIMSIGN_SRCS) |
+ |
+ |
+dkimverify.o: $(DKIMVERIFY_SRCS) |
+ |
+ |
+dns.o: $(DNS_SRCS) |
+ |
+ |
+dnsresolv.o: $(DNSRESOLV_SRCS) |
+ |
+ |
+libdkimtest.o: $(LIBDKIMTEST_SRCS) |
+ |
+ |
+# |
+# binary target rules |
+# |
+ |
+# main binary install target |
+install_bin: install_bindir $(BIN_INSTALL_TARGETS) |
+ |
+# install binary directory |
+install_bindir: |
+ $(INSTALL_DIR) $(DESTDIR)$(BINDIR) |
+ |
+# libdkimtest binary targets |
+$(LIBDKIMTEST): $(LIBDKIMTEST_OBJS) |
+ $(CXX) $(CXXLDFLAGS) -o $@ $(LIBDKIMTEST_OBJS) |
+ |
+$(LIBDKIMTEST)_clean: |
+ $(RM) $(RMFLAGS) $(LIBDKIMTEST_OBJS) |
+ $(RM) $(RMFLAGS) $(LIBDKIMTEST) |
+ |
+$(LIBDKIMTEST)_install: $(LIBDKIMTEST) |
+ $(INSTALL_BIN) $(LIBDKIMTEST) $(DESTDIR)$(BINDIR)/$(LIBDKIMTEST) |
+ |
+$(LIBDKIMTEST)_deinstall: |
+ $(RM) $(RMFLAGS) $(DESTDIR)$(BINDIR)/$(LIBDKIMTEST) |
+ |
+# |
+# library target rules |
+# |
+ |
+# main library install target |
+install_lib: install_libdir $(LIB_INSTALL_TARGETS) |
+ |
+# install library directory |
+install_libdir: |
+ $(INSTALL_DIR) $(DESTDIR)$(LIBDIR) |
+ |
+ |
+# library headers install target |
+lib_headers_install: $(LIBDKIM)_headers_install |
+ |
+ |
+# library headers deinstall target |
+lib_headers_deinstall: $(LIBDKIM)_headers_deinstall |
+ |
+# static library targets |
+static_libs: $(STATIC_LIB_TARGETS) |
+ |
+static_libs_clean: $(STLIB_CLEAN_TARGETS) |
+ |
+static_libs_install: $(STLIB_INST_TARGETS) |
+ |
+static_libs_deinstall: $(STLIB_DEINST_TARGETS) |
+ |
+# C++ language shared library targets |
+cxx_shared_libs: $(CXX_SHLIB_TARGETS) |
+ |
+cxx_shared_libs_clean: $(CXX_SHLIB_CLEAN_TARGETS) |
+ |
+cxx_shared_libs_install: $(CXX_SHLIB_INST_TARGETS) |
+ |
+cxx_shared_libs_deinstall: $(CXX_SHLIB_DEINST_TARGETS) |
+ |
+ |
+# libdkim library targets |
+$(LIBDKIM)_headers_install: $(LIBDKIM_HEADERS) |
+ $(INSTALL_DATA) dkim.h $(DESTDIR)$(INCDIR)/dkim.h |
+ |
+$(LIBDKIM)_headers_deinstall: |
+ $(RM) $(RMFLAGS) $(DESTDIR)$(INCDIR)/dkim.h |
+ |
+$(LIBDKIM)_clean: |
+ $(RM) $(RMFLAGS) $(LIBDKIM_OBJS) |
+ |
+$(LIBDKIM_STATIC): $(LIBDKIM_OBJS) |
+ $(AR) $(ARFLAGS) $@ $(LIBDKIM_OBJS) |
+ $(RANLIB) $@ |
+ |
+$(LIBDKIM)_static_clean: $(LIBDKIM)_clean |
+ $(RM) $(RMFLAGS) $(LIBDKIM_STATIC) |
+ |
+$(LIBDKIM)_static_install: $(LIBDKIM_STATIC) |
+ $(INSTALL_STLIB) $(LIBDKIM_STATIC) $(DESTDIR)$(LIBDIR)/$(LIBDKIM_STATIC) |
+ |
+$(LIBDKIM)_static_deinstall: |
+ $(RM) $(RMFLAGS) $(DESTDIR)$(LIBDIR)/$(LIBDKIM_STATIC) |
+ |
+$(LIBDKIM_SHARED): $(LIBDKIM_OBJS) |
+ $(CXX) $(CXXLDFLAGS) $(SLCXXLDFLAGS) -o $@ $(LIBDKIM_OBJS) |
+ |
+$(LIBDKIM)_shared_clean: $(LIBDKIM)_clean |
+ $(RM) $(RMFLAGS) $(LIBDKIM_SHARED) |
+ |
+$(LIBDKIM)_shared_install: $(LIBDKIM_SHARED) |
+ $(INSTALL_SHLIB) $(LIBDKIM_SHARED) $(DESTDIR)$(LIBDIR)/$(LIBDKIM_SHARED) |
+ ln -sf $(DESTDIR)$(LIBDIR)/$(LIBDKIM_SHARED) $(DESTDIR)$(LIBDIR)/libdkim.so |
+ |
+$(LIBDKIM)_shared_deinstall: |
+ $(RM) $(RMFLAGS) $(DESTDIR)$(LIBDIR)/$(LIBDKIM_SHARED) |
+ |
+ |
+ |
Index: using-pmk/debian/libdkim.pc |
=================================================================== |
--- using-pmk/debian/libdkim.pc (nonexistent) |
+++ using-pmk/debian/libdkim.pc (revision 22) |
@@ -0,0 +1,12 @@ |
+prefix=@prefix@ |
+exec_prefix=@exec_prefix@ |
+libdir=@libdir@ |
+includedir=@includedir@ |
+ |
+Name: @PACKAGE_NAME@ |
+Description: DomainKeys Identified Mail library from Alt-N Inc. |
+Version: @PACKAGE_VERSION@ |
+Requires.private: libcrypto |
+Libs: -L${libdir} -ldkim |
+Libs.private: @LIBS@ |
+Cflags: -I${includedir} |
Index: using-pmk/debian/libdkim-dev.links |
=================================================================== |
--- using-pmk/debian/libdkim-dev.links (nonexistent) |
+++ using-pmk/debian/libdkim-dev.links (revision 22) |
@@ -0,0 +1 @@ |
+usr/share/doc/libdkim1 usr/share/doc/libdkim-dev |
Index: using-pmk/debian/install |
=================================================================== |
--- using-pmk/debian/install (nonexistent) |
+++ using-pmk/debian/install (revision 22) |
@@ -0,0 +1 @@ |
+usr/lib/lib*.so.* |
Index: using-pmk/debian/compat |
=================================================================== |
--- using-pmk/debian/compat (nonexistent) |
+++ using-pmk/debian/compat (revision 22) |
@@ -0,0 +1 @@ |
+5 |
Index: using-pmk/debian/libdkim-dev.install |
=================================================================== |
--- using-pmk/debian/libdkim-dev.install (nonexistent) |
+++ using-pmk/debian/libdkim-dev.install (revision 22) |
@@ -0,0 +1,4 @@ |
+usr/include/* |
+usr/lib/lib*.a |
+usr/lib/lib*.so |
+usr/lib/pkgconfig |
Index: using-pmk/debian/libdkim.ver |
=================================================================== |
--- using-pmk/debian/libdkim.ver (nonexistent) |
+++ using-pmk/debian/libdkim.ver (revision 22) |
@@ -0,0 +1,4 @@ |
+DKIM_0.0 { |
+ global: DKIM*; |
+ local: *; |
+}; |
Index: using-pmk/debian/watch |
=================================================================== |
--- using-pmk/debian/watch (nonexistent) |
+++ using-pmk/debian/watch (revision 22) |
@@ -0,0 +1,4 @@ |
+# Compulsory line, this is a version 3 file |
+version=3 |
+ |
+http://sf.net/libdkim/libdkim-(.*)\.zip debian uupdate |
Index: using-pmk/debian/copyright |
=================================================================== |
--- using-pmk/debian/copyright (nonexistent) |
+++ using-pmk/debian/copyright (revision 22) |
@@ -0,0 +1,217 @@ |
+This package was debianized by Magnus Holmgren <magnus@kibibyte.se> on |
+19 Feb 2007. |
+ |
+It was downloaded from http://libdkim.sf.net (the easiest way to get the |
+original zip file is via http://qa.debian.org/watch/sf.php/libdkim/). |
+ |
+Upstream Author: Alt-N Technologies, http://www.altn.com |
+ |
+Copyright 2005 Alt-N Technologies, Ltd. |
+ |
+License: |
+ |
+ Apache License |
+ Version 2.0, January 2004 |
+ http://www.apache.org/licenses/ |
+ |
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
+ |
+ 1. Definitions. |
+ |
+ "License" shall mean the terms and conditions for use, reproduction, |
+ and distribution as defined by Sections 1 through 9 of this document. |
+ |
+ "Licensor" shall mean the copyright owner or entity authorized by |
+ the copyright owner that is granting the License. |
+ |
+ "Legal Entity" shall mean the union of the acting entity and all |
+ other entities that control, are controlled by, or are under common |
+ control with that entity. For the purposes of this definition, |
+ "control" means (i) the power, direct or indirect, to cause the |
+ direction or management of such entity, whether by contract or |
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the |
+ outstanding shares, or (iii) beneficial ownership of such entity. |
+ |
+ "You" (or "Your") shall mean an individual or Legal Entity |
+ exercising permissions granted by this License. |
+ |
+ "Source" form shall mean the preferred form for making modifications, |
+ including but not limited to software source code, documentation |
+ source, and configuration files. |
+ |
+ "Object" form shall mean any form resulting from mechanical |
+ transformation or translation of a Source form, including but |
+ not limited to compiled object code, generated documentation, |
+ and conversions to other media types. |
+ |
+ "Work" shall mean the work of authorship, whether in Source or |
+ Object form, made available under the License, as indicated by a |
+ copyright notice that is included in or attached to the work |
+ (an example is provided in the Appendix below). |
+ |
+ "Derivative Works" shall mean any work, whether in Source or Object |
+ form, that is based on (or derived from) the Work and for which the |
+ editorial revisions, annotations, elaborations, or other modifications |
+ represent, as a whole, an original work of authorship. For the purposes |
+ of this License, Derivative Works shall not include works that remain |
+ separable from, or merely link (or bind by name) to the interfaces of, |
+ the Work and Derivative Works thereof. |
+ |
+ "Contribution" shall mean any work of authorship, including |
+ the original version of the Work and any modifications or additions |
+ to that Work or Derivative Works thereof, that is intentionally |
+ submitted to Licensor for inclusion in the Work by the copyright owner |
+ or by an individual or Legal Entity authorized to submit on behalf of |
+ the copyright owner. For the purposes of this definition, "submitted" |
+ means any form of electronic, verbal, or written communication sent |
+ to the Licensor or its representatives, including but not limited to |
+ communication on electronic mailing lists, source code control systems, |
+ and issue tracking systems that are managed by, or on behalf of, the |
+ Licensor for the purpose of discussing and improving the Work, but |
+ excluding communication that is conspicuously marked or otherwise |
+ designated in writing by the copyright owner as "Not a Contribution." |
+ |
+ "Contributor" shall mean Licensor and any individual or Legal Entity |
+ on behalf of whom a Contribution has been received by Licensor and |
+ subsequently incorporated within the Work. |
+ |
+ 2. Grant of Copyright License. Subject to the terms and conditions of |
+ this License, each Contributor hereby grants to You a perpetual, |
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
+ copyright license to reproduce, prepare Derivative Works of, |
+ publicly display, publicly perform, sublicense, and distribute the |
+ Work and such Derivative Works in Source or Object form. |
+ |
+ 3. Grant of Patent License. Subject to the terms and conditions of |
+ this License, each Contributor hereby grants to You a perpetual, |
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
+ (except as stated in this section) patent license to make, have made, |
+ use, offer to sell, sell, import, and otherwise transfer the Work, |
+ where such license applies only to those patent claims licensable |
+ by such Contributor that are necessarily infringed by their |
+ Contribution(s) alone or by combination of their Contribution(s) |
+ with the Work to which such Contribution(s) was submitted. If You |
+ institute patent litigation against any entity (including a |
+ cross-claim or counterclaim in a lawsuit) alleging that the Work |
+ or a Contribution incorporated within the Work constitutes direct |
+ or contributory patent infringement, then any patent licenses |
+ granted to You under this License for that Work shall terminate |
+ as of the date such litigation is filed. |
+ |
+ 4. Redistribution. You may reproduce and distribute copies of the |
+ Work or Derivative Works thereof in any medium, with or without |
+ modifications, and in Source or Object form, provided that You |
+ meet the following conditions: |
+ |
+ (a) You must give any other recipients of the Work or |
+ Derivative Works a copy of this License; and |
+ |
+ (b) You must cause any modified files to carry prominent notices |
+ stating that You changed the files; and |
+ |
+ (c) You must retain, in the Source form of any Derivative Works |
+ that You distribute, all copyright, patent, trademark, and |
+ attribution notices from the Source form of the Work, |
+ excluding those notices that do not pertain to any part of |
+ the Derivative Works; and |
+ |
+ (d) If the Work includes a "NOTICE" text file as part of its |
+ distribution, then any Derivative Works that You distribute must |
+ include a readable copy of the attribution notices contained |
+ within such NOTICE file, excluding those notices that do not |
+ pertain to any part of the Derivative Works, in at least one |
+ of the following places: within a NOTICE text file distributed |
+ as part of the Derivative Works; within the Source form or |
+ documentation, if provided along with the Derivative Works; or, |
+ within a display generated by the Derivative Works, if and |
+ wherever such third-party notices normally appear. The contents |
+ of the NOTICE file are for informational purposes only and |
+ do not modify the License. You may add Your own attribution |
+ notices within Derivative Works that You distribute, alongside |
+ or as an addendum to the NOTICE text from the Work, provided |
+ that such additional attribution notices cannot be construed |
+ as modifying the License. |
+ |
+ You may add Your own copyright statement to Your modifications and |
+ may provide additional or different license terms and conditions |
+ for use, reproduction, or distribution of Your modifications, or |
+ for any such Derivative Works as a whole, provided Your use, |
+ reproduction, and distribution of the Work otherwise complies with |
+ the conditions stated in this License. |
+ |
+ 5. Submission of Contributions. Unless You explicitly state otherwise, |
+ any Contribution intentionally submitted for inclusion in the Work |
+ by You to the Licensor shall be under the terms and conditions of |
+ this License, without any additional terms or conditions. |
+ Notwithstanding the above, nothing herein shall supersede or modify |
+ the terms of any separate license agreement you may have executed |
+ with Licensor regarding such Contributions. |
+ |
+ 6. Trademarks. This License does not grant permission to use the trade |
+ names, trademarks, service marks, or product names of the Licensor, |
+ except as required for reasonable and customary use in describing the |
+ origin of the Work and reproducing the content of the NOTICE file. |
+ |
+ 7. Disclaimer of Warranty. Unless required by applicable law or |
+ agreed to in writing, Licensor provides the Work (and each |
+ Contributor provides its Contributions) on an "AS IS" BASIS, |
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
+ implied, including, without limitation, any warranties or conditions |
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A |
+ PARTICULAR PURPOSE. You are solely responsible for determining the |
+ appropriateness of using or redistributing the Work and assume any |
+ risks associated with Your exercise of permissions under this License. |
+ |
+ 8. Limitation of Liability. In no event and under no legal theory, |
+ whether in tort (including negligence), contract, or otherwise, |
+ unless required by applicable law (such as deliberate and grossly |
+ negligent acts) or agreed to in writing, shall any Contributor be |
+ liable to You for damages, including any direct, indirect, special, |
+ incidental, or consequential damages of any character arising as a |
+ result of this License or out of the use or inability to use the |
+ Work (including but not limited to damages for loss of goodwill, |
+ work stoppage, computer failure or malfunction, or any and all |
+ other commercial damages or losses), even if such Contributor |
+ has been advised of the possibility of such damages. |
+ |
+ 9. Accepting Warranty or Additional Liability. While redistributing |
+ the Work or Derivative Works thereof, You may choose to offer, |
+ and charge a fee for, acceptance of support, warranty, indemnity, |
+ or other liability obligations and/or rights consistent with this |
+ License. However, in accepting such obligations, You may act only |
+ on Your own behalf and on Your sole responsibility, not on behalf |
+ of any other Contributor, and only if You agree to indemnify, |
+ defend, and hold each Contributor harmless for any liability |
+ incurred by, or claims asserted against, such Contributor by reason |
+ of your accepting any such warranty or additional liability. |
+ |
+ END OF TERMS AND CONDITIONS |
+ |
+ APPENDIX: How to apply the Apache License to your work. |
+ |
+ To apply the Apache License to your work, attach the following |
+ boilerplate notice, with the fields enclosed by brackets "[]" |
+ replaced with your own identifying information. (Don't include |
+ the brackets!) The text should be enclosed in the appropriate |
+ comment syntax for the file format. We also recommend that a |
+ file or class name and description of purpose be included on the |
+ same "printed page" as the copyright notice for easier |
+ identification within third-party archives. |
+ |
+ Copyright [yyyy] [name of copyright owner] |
+ |
+ Licensed under the Apache License, Version 2.0 (the "License"); |
+ you may not use this file except in compliance with the License. |
+ You may obtain a copy of the License at |
+ |
+ http://www.apache.org/licenses/LICENSE-2.0 |
+ |
+ Unless required by applicable law or agreed to in writing, software |
+ distributed under the License is distributed on an "AS IS" BASIS, |
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
+ See the License for the specific language governing permissions and |
+ limitations under the License. |
+ |
+ |
+The Debian packaging is (C) 2007, Magnus Holmgren <magnus@kibibyte.se> and |
+is, for the sake of simplicity, licensed under the same license. |
Index: using-pmk/debian/aclocal.m4 |
=================================================================== |
--- using-pmk/debian/aclocal.m4 (nonexistent) |
+++ using-pmk/debian/aclocal.m4 (revision 22) |
@@ -0,0 +1,171 @@ |
+# generated automatically by aclocal 1.9.6 -*- Autoconf -*- |
+ |
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
+# 2005 Free Software Foundation, Inc. |
+# This file is free software; the Free Software Foundation |
+# gives unlimited permission to copy and/or distribute it, |
+# with or without modifications, as long as this notice is preserved. |
+ |
+# This program is distributed in the hope that it will be useful, |
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
+# PARTICULAR PURPOSE. |
+ |
+# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- |
+# |
+# Copyright © 2004 Scott James Remnant <scott@netsplit.com>. |
+# |
+# 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 of the License, 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, write to the Free Software |
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
+# |
+# As a special exception to the GNU General Public License, if you |
+# distribute this file as part of a program that contains a |
+# configuration script generated by Autoconf, you may include it under |
+# the same distribution terms that you use for the rest of that program. |
+ |
+# PKG_PROG_PKG_CONFIG([MIN-VERSION]) |
+# ---------------------------------- |
+AC_DEFUN([PKG_PROG_PKG_CONFIG], |
+[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) |
+m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) |
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl |
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) |
+fi |
+if test -n "$PKG_CONFIG"; then |
+ _pkg_min_version=m4_default([$1], [0.9.0]) |
+ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) |
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
+ AC_MSG_RESULT([yes]) |
+ else |
+ AC_MSG_RESULT([no]) |
+ PKG_CONFIG="" |
+ fi |
+ |
+fi[]dnl |
+])# PKG_PROG_PKG_CONFIG |
+ |
+# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |
+# |
+# Check to see whether a particular set of modules exists. Similar |
+# to PKG_CHECK_MODULES(), but does not set variables or print errors. |
+# |
+# |
+# Similar to PKG_CHECK_MODULES, make sure that the first instance of |
+# this or PKG_CHECK_MODULES is called, or make sure to call |
+# PKG_CHECK_EXISTS manually |
+# -------------------------------------------------------------- |
+AC_DEFUN([PKG_CHECK_EXISTS], |
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
+if test -n "$PKG_CONFIG" && \ |
+ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then |
+ m4_ifval([$2], [$2], [:]) |
+m4_ifvaln([$3], [else |
+ $3])dnl |
+fi]) |
+ |
+ |
+# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) |
+# --------------------------------------------- |
+m4_define([_PKG_CONFIG], |
+[if test -n "$PKG_CONFIG"; then |
+ if test -n "$$1"; then |
+ pkg_cv_[]$1="$$1" |
+ else |
+ PKG_CHECK_EXISTS([$3], |
+ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], |
+ [pkg_failed=yes]) |
+ fi |
+else |
+ pkg_failed=untried |
+fi[]dnl |
+])# _PKG_CONFIG |
+ |
+# _PKG_SHORT_ERRORS_SUPPORTED |
+# ----------------------------- |
+AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], |
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
+ _pkg_short_errors_supported=yes |
+else |
+ _pkg_short_errors_supported=no |
+fi[]dnl |
+])# _PKG_SHORT_ERRORS_SUPPORTED |
+ |
+ |
+# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], |
+# [ACTION-IF-NOT-FOUND]) |
+# |
+# |
+# Note that if there is a possibility the first call to |
+# PKG_CHECK_MODULES might not happen, you should be sure to include an |
+# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac |
+# |
+# |
+# -------------------------------------------------------------- |
+AC_DEFUN([PKG_CHECK_MODULES], |
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl |
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl |
+ |
+pkg_failed=no |
+AC_MSG_CHECKING([for $1]) |
+ |
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) |
+_PKG_CONFIG([$1][_LIBS], [libs], [$2]) |
+ |
+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS |
+and $1[]_LIBS to avoid the need to call pkg-config. |
+See the pkg-config man page for more details.]) |
+ |
+if test $pkg_failed = yes; then |
+ _PKG_SHORT_ERRORS_SUPPORTED |
+ if test $_pkg_short_errors_supported = yes; then |
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` |
+ else |
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` |
+ fi |
+ # Put the nasty error message in config.log where it belongs |
+ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD |
+ |
+ ifelse([$4], , [AC_MSG_ERROR(dnl |
+[Package requirements ($2) were not met: |
+ |
+$$1_PKG_ERRORS |
+ |
+Consider adjusting the PKG_CONFIG_PATH environment variable if you |
+installed software in a non-standard prefix. |
+ |
+_PKG_TEXT |
+])], |
+ [AC_MSG_RESULT([no]) |
+ $4]) |
+elif test $pkg_failed = untried; then |
+ ifelse([$4], , [AC_MSG_FAILURE(dnl |
+[The pkg-config script could not be found or is too old. Make sure it |
+is in your PATH or set the PKG_CONFIG environment variable to the full |
+path to pkg-config. |
+ |
+_PKG_TEXT |
+ |
+To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])], |
+ [$4]) |
+else |
+ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS |
+ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS |
+ AC_MSG_RESULT([yes]) |
+ ifelse([$3], , :, [$3]) |
+fi[]dnl |
+])# PKG_CHECK_MODULES |
+ |
Index: using-pmk/debian/examples |
=================================================================== |
--- using-pmk/debian/examples (nonexistent) |
+++ using-pmk/debian/examples (revision 22) |
@@ -0,0 +1 @@ |
+src/libdkimtest.cpp |
Index: using-pmk/debian/README.Debian |
=================================================================== |
--- using-pmk/debian/README.Debian (nonexistent) |
+++ using-pmk/debian/README.Debian (revision 22) |
@@ -0,0 +1,15 @@ |
+Yahoo! Inc. claims patent rights concerning DomainKeys and |
+DKIM. Details of the claim can be found at |
+<https://datatracker.ietf.org/public/ipr_detail_show.cgi?&ipr_id=693>. |
+Their licensing statement from that page reads as follows, as of |
+2007-02-30: |
+ |
+"Yahoo! licenses its Necessary Patent Claims contained in the patent(s) and |
+patent application(s) disclosed above under either of two separate license |
+agreements, one of which is the DomainKeys Patent License Agreement (v1.2), and |
+the other is the GNU General Public License v2.0 (and no other version)." |
+ |
+It is believed that this will cause normal users no legal problems, but the |
+packager can't guarantee anything. |
+ |
+For more information about DKIM, see http://mipassoc.org/dkim/ |
Index: using-pmk/debian |
=================================================================== |
--- using-pmk/debian (nonexistent) |
+++ using-pmk/debian (revision 22) |
/using-pmk/debian |
---|
Property changes: |
Added: mergeWithUpstream |
## -0,0 +1 ## |
+1 |
\ No newline at end of property |