2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* README: Refer to COPYING.LESSER and "each file" instead of
COPYING.
* COPYING.LESSER: New file.
* gpgme.spec.in (%doc): Add COPYING.LESSER.
* acinclude.m4, configure.ac, Makefile.am: Change license to LGPL
2.1 or later.
* TODO: Add copyright notice.
* README.CVS: Likewise.
assuan/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* README.1st: Add copyright notice.
doc/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am: Change license to LGPL.
(gpgme_TEXINFOS): Replace gpl.texi with lesser.texi.
* gpgme.texi: Change license to LGPL (also for documentation of
GPGME's license).
* lesser.texi: New file.
* gpl.texi: File removed.
gpgme/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* putc_unlocked.c, funopen.c: I just claim copyright on these
files and change their license to LGPL, because they are totally
trivial wrapper functions.
* isascii.c: Change copyright notice to the one from ctype/ctype.h
in the GNU C Library (CVS Head 2004-10-10), where isascii is
defined as a macro doing exactly the same as the function in this
file.
* memrchr.c: Update from the GNU C Library (CVS Head 2001-07-06).
* stpcpy.c: Update from the GNU C Library (CVS Head 2004-10-10).
* ath.c, ath-compat.c, ath.h, ath-pth.c, ath-pth-compat.c,
ath-pthread.c, ath-pthread-compat.c, context.h, conversion.c,
data.c, data-compat.c, data-fd.c, data.h, data-mem.c,
data-stream.c, data-user.c, debug.c, debug.h, decrypt.c,
decrypt-verify.c, delete.c, edit.c, encrypt.c, encrypt-sign.c,
engine-backend.h, engine.c, engine-gpgsm.c, engine.h, error.c,
export.c, genkey.c, get-env.c, gpgme.c, gpgme.h, import.c, io.h,
key.c, keylist.c, mkstatus, Makefile.am, ops.h, op-support.c,
passphrase.c, posix-io.c, posix-sema.c, posix-util.c, progress.c,
rungpg.c, sema.h, sign.c, signers.c, trust-item.c, trustlist.c,
util.h, verify.c, version.c, w32-io.c, w32-sema.c, w32-util.c,
wait.c, wait-global.c, wait.h, wait-private.c, wait-user.c: Change
license to LGPL.
tests/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* gpg/mkdemodirs: Add copyright notice.
* gpgsm/Makefile.am, gpgsm/t-support.h, gpgsm/t-decrypt.c,
gpgsm/t-encrypt.c, gpgsm/t-export.c, gpgsm/t-genkey.c,
gpgsm/t-import.c, gpgsm/t-keylist.c, gpgsm/t-sign.c,
gpgsm/t-verify.c, gpg/Makefile.am, gpg/t-decrypt.c,
gpg/t-decrypt-verify.c, gpg/t-edit.c, gpg/t-encrypt.c,
gpg/t-encrypt-sign.c, gpg/t-encrypt-sym.c, gpg/t-eventloop.c,
gpg/t-export.c, gpg/t-genkey.c, gpg/t-import.c, gpg/t-keylist.c,
gpg/t-keylist-sig.c, gpg/t-sign.c, gpg/t-signers.c,
gpg/t-support.h, gpg/t-thread1.c, gpg/t-trustlist.c,
gpg/t-verify.c, Makefile.am, t-data.c, t-engine-info.c,
t-version.c: Change license to LGPL.
2004-12-07 21:13:39 +00:00
|
|
|
# Makefile.am - Top level Makefile for GPGME.
|
2001-04-02 08:40:32 +00:00
|
|
|
# Copyright (C) 2000 Werner Koch (dd9jn)
|
2009-04-19 18:03:49 +00:00
|
|
|
# Copyright (C) 2001, 2002, 2004, 2005, 2008, 2009 g10 Code GmbH
|
2011-12-02 10:32:31 +00:00
|
|
|
#
|
2001-04-02 08:40:32 +00:00
|
|
|
# This file is part of GPGME.
|
2011-12-02 10:32:31 +00:00
|
|
|
#
|
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* README: Refer to COPYING.LESSER and "each file" instead of
COPYING.
* COPYING.LESSER: New file.
* gpgme.spec.in (%doc): Add COPYING.LESSER.
* acinclude.m4, configure.ac, Makefile.am: Change license to LGPL
2.1 or later.
* TODO: Add copyright notice.
* README.CVS: Likewise.
assuan/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* README.1st: Add copyright notice.
doc/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am: Change license to LGPL.
(gpgme_TEXINFOS): Replace gpl.texi with lesser.texi.
* gpgme.texi: Change license to LGPL (also for documentation of
GPGME's license).
* lesser.texi: New file.
* gpl.texi: File removed.
gpgme/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* putc_unlocked.c, funopen.c: I just claim copyright on these
files and change their license to LGPL, because they are totally
trivial wrapper functions.
* isascii.c: Change copyright notice to the one from ctype/ctype.h
in the GNU C Library (CVS Head 2004-10-10), where isascii is
defined as a macro doing exactly the same as the function in this
file.
* memrchr.c: Update from the GNU C Library (CVS Head 2001-07-06).
* stpcpy.c: Update from the GNU C Library (CVS Head 2004-10-10).
* ath.c, ath-compat.c, ath.h, ath-pth.c, ath-pth-compat.c,
ath-pthread.c, ath-pthread-compat.c, context.h, conversion.c,
data.c, data-compat.c, data-fd.c, data.h, data-mem.c,
data-stream.c, data-user.c, debug.c, debug.h, decrypt.c,
decrypt-verify.c, delete.c, edit.c, encrypt.c, encrypt-sign.c,
engine-backend.h, engine.c, engine-gpgsm.c, engine.h, error.c,
export.c, genkey.c, get-env.c, gpgme.c, gpgme.h, import.c, io.h,
key.c, keylist.c, mkstatus, Makefile.am, ops.h, op-support.c,
passphrase.c, posix-io.c, posix-sema.c, posix-util.c, progress.c,
rungpg.c, sema.h, sign.c, signers.c, trust-item.c, trustlist.c,
util.h, verify.c, version.c, w32-io.c, w32-sema.c, w32-util.c,
wait.c, wait-global.c, wait.h, wait-private.c, wait-user.c: Change
license to LGPL.
tests/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* gpg/mkdemodirs: Add copyright notice.
* gpgsm/Makefile.am, gpgsm/t-support.h, gpgsm/t-decrypt.c,
gpgsm/t-encrypt.c, gpgsm/t-export.c, gpgsm/t-genkey.c,
gpgsm/t-import.c, gpgsm/t-keylist.c, gpgsm/t-sign.c,
gpgsm/t-verify.c, gpg/Makefile.am, gpg/t-decrypt.c,
gpg/t-decrypt-verify.c, gpg/t-edit.c, gpg/t-encrypt.c,
gpg/t-encrypt-sign.c, gpg/t-encrypt-sym.c, gpg/t-eventloop.c,
gpg/t-export.c, gpg/t-genkey.c, gpg/t-import.c, gpg/t-keylist.c,
gpg/t-keylist-sig.c, gpg/t-sign.c, gpg/t-signers.c,
gpg/t-support.h, gpg/t-thread1.c, gpg/t-trustlist.c,
gpg/t-verify.c, Makefile.am, t-data.c, t-engine-info.c,
t-version.c: Change license to LGPL.
2004-12-07 21:13:39 +00:00
|
|
|
# GPGME is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU Lesser General Public License as
|
|
|
|
# published by the Free Software Foundation; either version 2.1 of the
|
|
|
|
# License, or (at your option) any later version.
|
2011-12-02 10:32:31 +00:00
|
|
|
#
|
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* README: Refer to COPYING.LESSER and "each file" instead of
COPYING.
* COPYING.LESSER: New file.
* gpgme.spec.in (%doc): Add COPYING.LESSER.
* acinclude.m4, configure.ac, Makefile.am: Change license to LGPL
2.1 or later.
* TODO: Add copyright notice.
* README.CVS: Likewise.
assuan/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* README.1st: Add copyright notice.
doc/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am: Change license to LGPL.
(gpgme_TEXINFOS): Replace gpl.texi with lesser.texi.
* gpgme.texi: Change license to LGPL (also for documentation of
GPGME's license).
* lesser.texi: New file.
* gpl.texi: File removed.
gpgme/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* putc_unlocked.c, funopen.c: I just claim copyright on these
files and change their license to LGPL, because they are totally
trivial wrapper functions.
* isascii.c: Change copyright notice to the one from ctype/ctype.h
in the GNU C Library (CVS Head 2004-10-10), where isascii is
defined as a macro doing exactly the same as the function in this
file.
* memrchr.c: Update from the GNU C Library (CVS Head 2001-07-06).
* stpcpy.c: Update from the GNU C Library (CVS Head 2004-10-10).
* ath.c, ath-compat.c, ath.h, ath-pth.c, ath-pth-compat.c,
ath-pthread.c, ath-pthread-compat.c, context.h, conversion.c,
data.c, data-compat.c, data-fd.c, data.h, data-mem.c,
data-stream.c, data-user.c, debug.c, debug.h, decrypt.c,
decrypt-verify.c, delete.c, edit.c, encrypt.c, encrypt-sign.c,
engine-backend.h, engine.c, engine-gpgsm.c, engine.h, error.c,
export.c, genkey.c, get-env.c, gpgme.c, gpgme.h, import.c, io.h,
key.c, keylist.c, mkstatus, Makefile.am, ops.h, op-support.c,
passphrase.c, posix-io.c, posix-sema.c, posix-util.c, progress.c,
rungpg.c, sema.h, sign.c, signers.c, trust-item.c, trustlist.c,
util.h, verify.c, version.c, w32-io.c, w32-sema.c, w32-util.c,
wait.c, wait-global.c, wait.h, wait-private.c, wait-user.c: Change
license to LGPL.
tests/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* gpg/mkdemodirs: Add copyright notice.
* gpgsm/Makefile.am, gpgsm/t-support.h, gpgsm/t-decrypt.c,
gpgsm/t-encrypt.c, gpgsm/t-export.c, gpgsm/t-genkey.c,
gpgsm/t-import.c, gpgsm/t-keylist.c, gpgsm/t-sign.c,
gpgsm/t-verify.c, gpg/Makefile.am, gpg/t-decrypt.c,
gpg/t-decrypt-verify.c, gpg/t-edit.c, gpg/t-encrypt.c,
gpg/t-encrypt-sign.c, gpg/t-encrypt-sym.c, gpg/t-eventloop.c,
gpg/t-export.c, gpg/t-genkey.c, gpg/t-import.c, gpg/t-keylist.c,
gpg/t-keylist-sig.c, gpg/t-sign.c, gpg/t-signers.c,
gpg/t-support.h, gpg/t-thread1.c, gpg/t-trustlist.c,
gpg/t-verify.c, Makefile.am, t-data.c, t-engine-info.c,
t-version.c: Change license to LGPL.
2004-12-07 21:13:39 +00:00
|
|
|
# GPGME 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 Lesser General
|
|
|
|
# Public License for more details.
|
2011-12-02 10:32:31 +00:00
|
|
|
#
|
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* README: Refer to COPYING.LESSER and "each file" instead of
COPYING.
* COPYING.LESSER: New file.
* gpgme.spec.in (%doc): Add COPYING.LESSER.
* acinclude.m4, configure.ac, Makefile.am: Change license to LGPL
2.1 or later.
* TODO: Add copyright notice.
* README.CVS: Likewise.
assuan/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* README.1st: Add copyright notice.
doc/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am: Change license to LGPL.
(gpgme_TEXINFOS): Replace gpl.texi with lesser.texi.
* gpgme.texi: Change license to LGPL (also for documentation of
GPGME's license).
* lesser.texi: New file.
* gpl.texi: File removed.
gpgme/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* putc_unlocked.c, funopen.c: I just claim copyright on these
files and change their license to LGPL, because they are totally
trivial wrapper functions.
* isascii.c: Change copyright notice to the one from ctype/ctype.h
in the GNU C Library (CVS Head 2004-10-10), where isascii is
defined as a macro doing exactly the same as the function in this
file.
* memrchr.c: Update from the GNU C Library (CVS Head 2001-07-06).
* stpcpy.c: Update from the GNU C Library (CVS Head 2004-10-10).
* ath.c, ath-compat.c, ath.h, ath-pth.c, ath-pth-compat.c,
ath-pthread.c, ath-pthread-compat.c, context.h, conversion.c,
data.c, data-compat.c, data-fd.c, data.h, data-mem.c,
data-stream.c, data-user.c, debug.c, debug.h, decrypt.c,
decrypt-verify.c, delete.c, edit.c, encrypt.c, encrypt-sign.c,
engine-backend.h, engine.c, engine-gpgsm.c, engine.h, error.c,
export.c, genkey.c, get-env.c, gpgme.c, gpgme.h, import.c, io.h,
key.c, keylist.c, mkstatus, Makefile.am, ops.h, op-support.c,
passphrase.c, posix-io.c, posix-sema.c, posix-util.c, progress.c,
rungpg.c, sema.h, sign.c, signers.c, trust-item.c, trustlist.c,
util.h, verify.c, version.c, w32-io.c, w32-sema.c, w32-util.c,
wait.c, wait-global.c, wait.h, wait-private.c, wait-user.c: Change
license to LGPL.
tests/
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* gpg/mkdemodirs: Add copyright notice.
* gpgsm/Makefile.am, gpgsm/t-support.h, gpgsm/t-decrypt.c,
gpgsm/t-encrypt.c, gpgsm/t-export.c, gpgsm/t-genkey.c,
gpgsm/t-import.c, gpgsm/t-keylist.c, gpgsm/t-sign.c,
gpgsm/t-verify.c, gpg/Makefile.am, gpg/t-decrypt.c,
gpg/t-decrypt-verify.c, gpg/t-edit.c, gpg/t-encrypt.c,
gpg/t-encrypt-sign.c, gpg/t-encrypt-sym.c, gpg/t-eventloop.c,
gpg/t-export.c, gpg/t-genkey.c, gpg/t-import.c, gpg/t-keylist.c,
gpg/t-keylist-sig.c, gpg/t-sign.c, gpg/t-signers.c,
gpg/t-support.h, gpg/t-thread1.c, gpg/t-trustlist.c,
gpg/t-verify.c, Makefile.am, t-data.c, t-engine-info.c,
t-version.c: Change license to LGPL.
2004-12-07 21:13:39 +00:00
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
2016-11-16 12:27:00 +00:00
|
|
|
# License along with this program; if not, see <https://www.gnu.org/licenses/>.
|
2001-04-02 08:40:32 +00:00
|
|
|
|
|
|
|
## Process this file with automake to produce Makefile.in
|
2000-10-27 18:03:15 +00:00
|
|
|
|
2018-04-20 08:13:25 +00:00
|
|
|
# Location of the released tarball archives. Note that this is an
|
|
|
|
# internal archive and before uploading this to the public server,
|
|
|
|
# manual tests should be run and the git release tat set and pushed.
|
|
|
|
# Adjust as needed.
|
|
|
|
RELEASE_ARCHIVE_DIR = wk@vigenere:tarballs/gpgme/
|
|
|
|
|
|
|
|
# The key used to sign the released sources. Adjust as needed.
|
|
|
|
RELEASE_SIGNING_KEY = D8692123C4065DEA5E0F3AB5249B39D24F25E3B6
|
|
|
|
|
|
|
|
# Autoconf flags
|
2005-01-12 10:28:42 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2014-01-09 18:14:09 +00:00
|
|
|
DISTCHECK_CONFIGURE_FLAGS =
|
2009-04-19 18:03:49 +00:00
|
|
|
|
2014-01-09 18:14:09 +00:00
|
|
|
EXTRA_DIST = autogen.sh autogen.rc gpgme.spec.in \
|
2018-10-08 08:28:43 +00:00
|
|
|
ChangeLog-2011 m4/ChangeLog-2011 contrib/ChangeLog-2011 \
|
|
|
|
conf/whatisthis
|
2000-10-27 18:03:15 +00:00
|
|
|
|
2001-11-20 05:27:46 +00:00
|
|
|
|
2001-11-18 03:31:31 +00:00
|
|
|
if RUN_GPG_TESTS
|
|
|
|
tests = tests
|
|
|
|
else
|
2011-12-02 10:32:31 +00:00
|
|
|
tests =
|
2001-11-18 03:31:31 +00:00
|
|
|
endif
|
2000-12-06 12:17:10 +00:00
|
|
|
|
2011-05-06 15:07:35 +00:00
|
|
|
SUBDIRS = src ${tests} doc lang
|
2002-07-02 09:08:21 +00:00
|
|
|
|
2011-12-02 10:32:31 +00:00
|
|
|
# Fix the version of the spec file and create a file named VERSION
|
2002-07-02 09:08:21 +00:00
|
|
|
# to be used for patch's Prereq: feature.
|
2011-12-02 10:32:31 +00:00
|
|
|
dist-hook: gen-ChangeLog
|
2002-07-02 09:08:21 +00:00
|
|
|
@set -e; \
|
2016-09-20 17:43:49 +00:00
|
|
|
sed -e 's/@pkg_version@/$(PACKAGE_VERSION)/g' \
|
2002-07-02 09:08:21 +00:00
|
|
|
$(top_srcdir)/gpgme.spec.in > $(distdir)/gpgme.spec
|
2016-09-20 17:43:49 +00:00
|
|
|
echo "$(PACKAGE_VERSION)" > $(distdir)/VERSION
|
|
|
|
|
|
|
|
distcheck-hook:
|
|
|
|
set -e; ( \
|
|
|
|
pref="#+macro: gpgme_" ;\
|
|
|
|
reldate="$$(date -u +%Y-%m-%d)" ;\
|
|
|
|
echo "$${pref}ver $(PACKAGE_VERSION)" ;\
|
|
|
|
echo "$${pref}date $${reldate}" ;\
|
|
|
|
list='$(DIST_ARCHIVES)'; for i in $$list; do \
|
|
|
|
case "$$i" in *.tar.bz2) \
|
|
|
|
echo "$${pref}size $$(wc -c <$$i|awk '{print int($$1/1024)}')k" ;\
|
|
|
|
echo "$${pref}sha1 $$(sha1sum <$$i|cut -d' ' -f1)" ;\
|
|
|
|
echo "$${pref}sha2 $$(sha256sum <$$i|cut -d' ' -f1)" ;;\
|
|
|
|
esac;\
|
|
|
|
done ) | tee $(distdir).swdb
|
2011-12-02 10:32:31 +00:00
|
|
|
|
2018-04-20 08:13:25 +00:00
|
|
|
.PHONY: gen-ChangeLog release sign-release
|
2011-12-02 10:32:31 +00:00
|
|
|
|
|
|
|
gen_start_date = 2011-12-01T00:00:00
|
|
|
|
gen-ChangeLog:
|
|
|
|
if test -d $(top_srcdir)/.git; then \
|
|
|
|
(cd $(top_srcdir) && \
|
2012-05-02 08:58:52 +00:00
|
|
|
$(GITLOG_TO_CHANGELOG) --append-dot --tear-off \
|
2011-12-02 10:32:31 +00:00
|
|
|
--amend=build-aux/git-log-fix \
|
|
|
|
--since=$(gen_start_date) ) > $(distdir)/cl-t; \
|
|
|
|
cat $(top_srcdir)/build-aux/git-log-footer >> $(distdir)/cl-t;\
|
|
|
|
rm -f $(distdir)/ChangeLog; \
|
|
|
|
mv $(distdir)/cl-t $(distdir)/ChangeLog; \
|
|
|
|
fi
|
2018-04-20 08:13:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Macro to help the release target.
|
|
|
|
RELEASE_NAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
|
|
|
|
|
|
|
|
release:
|
|
|
|
+(set -e;\
|
|
|
|
if [ "$(abs_top_builddir)" = "$(abs_top_srcdir)" ]; then \
|
|
|
|
echo "error: build directory must not be the source directory" >&2;\
|
|
|
|
exit 2;\
|
|
|
|
fi ;\
|
|
|
|
echo "/* Build started at $$(date -uIseconds) */" ;\
|
|
|
|
cd $(top_srcdir); \
|
|
|
|
./autogen.sh --force; \
|
|
|
|
cd $(abs_top_builddir); \
|
|
|
|
rm -rf dist; mkdir dist ; cd dist ; \
|
|
|
|
$(abs_top_srcdir)/configure --enable-maintainer-mode; \
|
|
|
|
$(MAKE) distcheck TESTFLAGS=--parallel; \
|
|
|
|
echo "/* Build finished at $$(date -uIseconds) */" ;\
|
|
|
|
echo "/*" ;\
|
|
|
|
echo " * Please run the final step interactivly:" ;\
|
|
|
|
echo " * make sign-release" ;\
|
|
|
|
echo " */" ;\
|
|
|
|
) 2>&1 | tee "$(RELEASE_NAME).buildlog"
|
|
|
|
|
|
|
|
sign-release:
|
|
|
|
+(set -e; \
|
|
|
|
cd dist; \
|
|
|
|
files1="$(RELEASE_NAME).tar.bz2" ;\
|
|
|
|
files2="$(RELEASE_NAME).tar.bz2.sig \
|
|
|
|
$(RELEASE_NAME).swdb \
|
|
|
|
$(RELEASE_NAME).buildlog" ;\
|
|
|
|
echo "/* Signing the source tarball ..." ;\
|
|
|
|
gpg -sbu $(RELEASE_SIGNING_KEY) $(RELEASE_NAME).tar.bz2 ;\
|
|
|
|
cat $(RELEASE_NAME).swdb >swdb.snippet;\
|
|
|
|
echo >>swdb.snippet ;\
|
|
|
|
sha1sum $${files1} >>swdb.snippet ;\
|
|
|
|
cat "../$(RELEASE_NAME).buildlog" swdb.snippet \
|
|
|
|
| gzip >$(RELEASE_NAME).buildlog ;\
|
|
|
|
echo "Copying to local archive ..." ;\
|
|
|
|
scp -p $${files1} $${files2} $(RELEASE_ARCHIVE_DIR)/ || true;\
|
|
|
|
echo "Uploading documentation ..." ;\
|
|
|
|
$(MAKE) -C doc online; \
|
|
|
|
echo '/*' ;\
|
|
|
|
echo ' * All done; for checksums see dist/swdb.snippet' ;\
|
|
|
|
echo ' */' ;\
|
|
|
|
)
|