davical-go 1.0.5-1
Package Information
| Description | CalDAV Server DAViCal is a server for centralised storage of calendar and contact information. It is an implementation of the CalDAV and CardDAV protocols which is designed for storing calendaring resources (in iCalendar format) and addressbook resources (in VCARD format) on a remote server. This project is a rewrite of the original PHP-based DAViCal in Go. |
|---|---|
| Maintainer | Debian Go Packaging Team <team+pkg-go@tracker.debian.org> |
| Changed By | Andrew McMillan <awm@debian.org> |
| Sponsor | awm@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/go-team/packages/davical-go.git (browse) |
| Closes | #1142418 |
| Tracker | https://tracker.debian.org/pkg/davical-go |
| Uploaded | 1 hour ago |
New Package Report
.changes
| Architecture | amd64 source |
|---|---|
| Distribution | unstable |
| Date | Thu, 03 Dec 2026 21:36:42 +1300 |
| Source | davical-go |
| Version | 1.0.5-1 |
| Changed-By | Andrew McMillan <awm@debian.org> |
Changelog
davical-go (1.0.5-1) unstable; urgency=medium . * Initial release (Closes: #1142418)
.dsc
| Section | web |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | davical-go deb web optional arch=any |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://gitlab.com/davical-project/davical-go
Upstream-Name: davical-go
Upstream-Contact: Andrew McMillan <andrew@mcmillan.net.nz>
Files: *
Copyright: Andrew McMillan <andrew@mcmillan.net.nz>
License: CC0-1.0 or Apache-2.0
Files: testing/regression-suite/*
Copyright: Andrew McMillan
Andrew Ruthven
Florian Schlichting
Jamie McClymont
License: GPL-2+
Comment: See testing/regression-suite/LICENSE
Files: dba/03-caldav-functions.sql
dba/04-rrule-functions.sql
Copyright: Andrew McMillan <andrew@mcmillan.net.nz>
License: GPL-2+ or CC0-1.0 or Apache-2.0
Comment: Derived from the original DAViCal PHP project's SQL functions
Files: debian/*
Copyright: 2026 Andrew McMillan <awm@debian.org>
License: CC0-1.0 or Apache-2.0
Comment: Debian packaging is licensed under the same terms as upstream
License: CC0-1.0
I, Andrew McMillan, affirm that this software is my own work, with the
exception noted below, and dedicate it to the public domain under the
terms of the CC0-1.0 license, included below in full.
.
For the benefit of those whose licensing policies do not accept CC0-1.0
(which reserves patent rights rather than granting them), this software
may instead be used, at your option, under the terms of the Apache
License, Version 2.0, which includes an express patent grant. See the
LICENSE-APACHE file for its full text.
.
Exception: the regression tests in testing/regression-suite/ are adapted
from the original DAViCal project and are the work of several authors.
They are licensed under the GNU General Public License, version 2 or
later, and are not covered by the dedication above. See
testing/regression-suite/LICENSE for details. The tests exercise the
server from the outside and form no part of the built binaries.
.
.
CC0 1.0 Universal
.
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
.
Statement of Purpose
.
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
.
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, cite, and distribute, as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
.
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of
data in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of
the European Parliament and of the Council of 11 March 1996 on the
legal protection of databases, and under any national implementation
thereof, including any amended or updated version of such directive);
and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty.
.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of
each member of the public at large and to the detriment of Affirmer's
heirs and successors, fully intending that such Waiver shall not be
subject to revocation, rescission, cancellation, termination, or any
other legal or equitable action to disrupt the quiet enjoyment of the
Work by the public as contemplated by Affirmer's express Statement of
Purpose.
.
3. Public License Fallback. Should any part of the Waiver be judged
legally invalid or ineffective under applicable law, then the Waiver
shall be preserved to the maximum extent permitted taking into account
Affirmer's express Statement of Purpose. In addition, to the extent the
Waiver is so judged Affirmer hereby grants to each affected person a
royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright
and Related Rights in the Work (i) in all territories worldwide, (ii) for
the maximum duration provided by applicable law or treaty (including
future time extensions), (iii) in any current or future medium and for
any number of copies, and (iv) for any purpose whatsoever, including
without limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License be judged
legally invalid or ineffective under applicable law, such partial
invalidity or ineffectiveness shall not invalidate the remainder of the
License, and in such case Affirmer hereby affirms that he or she will not
(i) exercise any of his or her remaining Copyright and Related Rights in
the Work or (ii) assert any associated claims and causes of action with
respect to the Work, in either case contrary to Affirmer's express
Statement of Purpose.
.
4. Limitations and Disclaimers.
.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, whether express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.
License: Apache-2.0
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.
.
On Debian systems, the complete text of the Apache version 2.0 license
can be found in "/usr/share/common-licenses/Apache-2.0".
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.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General Public License
version 2 can be found in ‘/usr/share/common-licenses/GPL-2’.
DFSG Assistant LLM REVIEW 0 blocker, 0 important, 2 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 0 hours ago.
Report
DFSG NEW review for davical-go version 1.0.5-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 2 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: 1 found
Licensing
Every file is under a free licence recorded in a correct DEP-5 stanza: CC0-1.0 or Apache-2.0 for the program and documentation (LICENSE, LICENSE-APACHE), and GPL-2+ for testing/regression-suite/, which is correctly carved out with its four named authors and whose full licence text is in the tree. dba/03-caldav-functions.sql and dba/04-rrule-functions.sql carry the same GPL-2+/CC0-1.0/Apache-2.0 header that their stanza gives. CC0-1.0 is reproduced in full and Apache-2.0/GPL-2 are pointed at /usr/share/common-licenses; no non-free terms appear anywhere, and none of the GPL-2+ material is compiled into or installed with the binaries.
Packaging
Sound dh-golang packaging: compat 13 with the debhelper-compat field, complete and satisfiable Build-Depends (including dpkg-build-api (= 1), provided by dpkg-dev 1.23.12, and dh-golang 1.67), XS-Go-Import-Path, Static-Built-Using, man pages installed from man/ through .manpages, one DEP-3 patch with a clear rationale, gbp and salsa-ci configuration, and a sane single-binary package with explicit ${misc:Depends}/${shlibs:Depends}. Two small quality gaps remain: the binaries do not report the package version, and the man pages' authoritative configuration reference is not shipped.
Issues
minor
packaging
1. Binaries report version devel: internal/version.Version is never set at build time
◂
- Files:
debian/rules:3-16,internal/version/version.go:17-46,cmd/davicald/main.go:46-47,cmd/davicald/main.go:116 - Basis: inferred from what was read, not seen directly
- Evidence: internal/version/version.go:17
// Version is the release version, set via -ldflags -X. Empty for dev builds.and :45if rev == "" { return "devel" }; debian/rules contains no-ldflagsand dh's golang buildsystem runsgo install -trimpathin GOPATH mode (checked in /usr/share/perl5/Debian/Debhelper/Buildsystem/golang.pm,sub build); the man page says-versionprints the version. - Problem: Nothing passes
-X gitlab.com/davical-project/davical-go/internal/version.Version=..., so Version stays empty, and a GOPATH-mode build embeds neither a module version nor a vcs revision.davicald -version(and every binary's startup log lineStarting davicald %s on %s) therefore printsdevelinstead of 1.0.5. Upstream's Makefile, Dockerfile and .gitlab-ci.yml all stamp the version, so Debian's binaries differ from every release build and cannot be identified from bug reports. - Fix: Stamp the upstream version at link time, e.g.
export GOFLAGS := -ldflags=-X gitlab.com/davical-project/davical-go/internal/version.Version=$(shell dpkg-parsechangelog -SVersion | sed 's/-[^-]*$$//'), or the same flag throughoverride_dh_auto_build: dh_auto_build -- -ldflags "...".
minor packaging 2. The man pages' authoritative configuration reference (CONFIGURATION.md) is not installed ◂
- Files:
man/davicald.8:31-33,man/davical-cfg2env.1:100-101,man/davical-admin.8:401-403,debian/rules,debian/davical-go.manpages - Basis: checked, in the package or with a reference tool
- Evidence: man/davicald.8:31-33
The most commonly used variables are listed here. .I CONFIGURATION.md in the source distribution is the authoritative and complete list. - Problem: There is no debian/davical-go.docs and dh_installdocs installs no upstream documentation, so the binary package contains only the four man pages, copyright and changelog. The man pages document the most common environment variables and defer repeatedly (davicald.8, davical-admin.8, davical-cfg2env.1, and the LOG_CONFIG section) to CONFIGURATION.md as the complete and authoritative reference; an installed system has no copy of it. Policy 12.3 leaves additional documentation to the maintainer's discretion, but for a daemon whose whole configuration is environment variables this is a real usability gap.
- Fix: Add debian/davical-go.docs listing README.md, CONFIGURATION.md and CHANGES.md (and optionally examples/logging.yaml as debian/davical-go.examples).
Verified ◂
- Read debian/copyright in full: DEP-5, Files: * (CC0-1.0 or Apache-2.0), testing/regression-suite/* (GPL-2+, four named authors), dba/03-caldav-functions.sql and dba/04-rrule-functions.sql (GPL-2+ or CC0-1.0 or Apache-2.0) and debian/*, plus stand-alone License paragraphs for all three short names.
- Inventoried the tree directory by directory (cmd, internal, pkg, davxml, dba, man, testing, examples, top level). A grep for Copyright/(C)/©/SPDX-License-Identifier/Licensed under/Permission/All rights reserved found further notices only in dba/03 and dba/04 (their headers match their stanza) and in LICENSE, LICENSE-APACHE and testing/regression-suite/LICENSE; no other file carries a separate holder or licence.
- CC0-1.0 is reproduced in full in debian/copyright; Apache-2.0 and GPL-2 are referenced to /usr/share/common-licenses and exist there; testing/regression-suite/LICENSE contains the complete GPL-2 text. No non-free terms: grep for non-commercial, no-derivative, proprietary, all rights reserved found only licence-text matches.
- testing/regression-suite/0544-gzip-PUT.data is the gzip-compressed HTTP request body loaded by 0544-iCLoud-PUT-encoded.test via
DATA=0544-gzip-PUT; it is a test fixture, not a built artifact, carries no copyright notice, and is not installed. - davical-logo.png: 3.2 KB PNG image, recorded by name and not opened (binary); only referenced by .dockerignore, not installed or built into anything, and covered by the Files: * stanza; no separate attribution in any text file.
- Build-Depends checked with apt-cache against the archive: dpkg-build-api (= 1) provided by dpkg-dev 1.23.12, golang-any 2:1.27~1, dh-golang 1.67 (>= 1.66), dh-sequence-golang provided by dh-golang, and golang-github-google-uuid-dev, golang-github-jackc-pgx-v5-dev, golang-github-segmentio-ksuid-dev, golang-github-teambition-rrule-go-dev, golang-golang-x-crypto-dev, golang-go.yaml-yaml-v4-dev and golang-github-go-ldap-ldap-dev all present.
- Standards-Version 4.7.4 against Policy 4.7.4.1 is current; compat 13 is supported and neither deprecated nor discouraged (debhelper tool). At compat 13, dh_auto_install installs directly into debian/davical-go for a single binary package (checked in /usr/bin/dh_auto_install), so execute_after_dh_auto_install really removes the davical-test, fbtest and accept-etag-only binaries produced by DH_GOLANG_INSTALL_ALL.
- Integration tests need no database at build time: internal/integration/main_test.go TestMain prints that DAVICAL_TEST_DSN is unset and exits 0, so the go test step of dh_auto_test does not need PostgreSQL or a network.
- Read the single patch in full: it has a DEP-3 header (From, Date, Subject, Forwarded, Last-Update) with a clear rationale and only adds //go:debug directives; no patch creates files.
- Man-page defaults spot-checked against internal/config/config.go (DATABASE, LISTEN, ENABLE_SCHEDULING, MAX_LOCK_TIMEOUT, MAX_RESOURCE_SIZE, MAX_ACL_ACES, SMTP_PORT) and they match the code.
- uscan found the packaged version as the newest upstream release (upstream
1.0.5, packaged1.0.5). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0,GPL-2).
Not confirmed ◂
- Provenance and licence of the third-party calendar fixtures shipped in testing/regression-suite: bigtest.ics is a WebCal.fi
Funny holidaysexport (PRODID:-//WebCal.fi//NONSGML iCalendar Creator version 5.5//EN,X-OWNER;VALUE=TEXT:CN="Aapo Puskala"), and Parties.ics and oregonwine-problems.ics are third-party event calendars, while debian/copyright attributes the whole directory to the DAViCal authors under GPL-2+. No licence statement by the calendars' originators could be confirmed; the files are test data, are not installed and take no part in any binary package, so Policy 2.3 does not require their notices. - Whether the autodep8-generated autopkgtest (Testsuite: autopkgtest-pkg-go, which autodep8 turns into /usr/bin/dh_golang_autopkgtest with Depends: @, @builddeps@) exercises anything could not be checked: dh-golang is not installed on the reviewing system, and with dh_auto_install -- --no-source the package installs no Go sources. If it tests installed sources the test would be vacuous; if it tests the source tree it would be meaningful.
- The .dsc and orig tarball were not compared against the unpacked tree; nothing in the tree suggested they differ.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader was emailed about the review 0 hours ago.
Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.
Other Reviews of this Package
| Version | Hash | Allocated | Completed | Reviewer | Status | Details |
|---|---|---|---|---|---|---|
| 1.0.1-1 | 7c62aeeb… | 2026-07-19 21:03 | 2026-07-20 13:04 | siretart | rejected | VIEW |