aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-08 16:43:39 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-08 16:43:39 +0200
commit13a16d0c567e26719d62bf7be45c49e188c50bb3 (patch)
treeec7b6dbfaa436887deaea93f9c1eafe7ed747280
parent8dc731c79d7bb94984848229ae0b3ae8b0d03d91 (diff)
downloadlibpam-freerdp2-13a16d0c567e26719d62bf7be45c49e188c50bb3.tar.gz
libpam-freerdp2-13a16d0c567e26719d62bf7be45c49e188c50bb3.tar.bz2
libpam-freerdp2-13a16d0c567e26719d62bf7be45c49e188c50bb3.zip
debian/: Adopt packaging stuff from official Debian package.
-rw-r--r--debian/control5
-rw-r--r--debian/copyright102
-rw-r--r--debian/copyright.in86
-rw-r--r--debian/libpam-freerdp2-dev.lintian-overrides2
-rwxr-xr-xdebian/rules9
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides5
-rw-r--r--debian/watch3
8 files changed, 207 insertions, 6 deletions
diff --git a/debian/control b/debian/control
index 4988fc9..ed772ed 100644
--- a/debian/control
+++ b/debian/control
@@ -1,5 +1,5 @@
Source: libpam-freerdp2
-Section: misc
+Section: admin
Priority: optional
Maintainer: Artica Project <devs@lists.arctica-project.org>
Uploaders:
@@ -14,7 +14,7 @@ Build-Depends: cdbs (>= 0.4.93~),
libpam0g-dev,
pkg-config,
Standards-Version: 4.1.4
-Homepage: http://github.com/ArcticaProject/libpam-freerdp2
+Homepage: https://github.com/ArcticaProject/libpam-freerdp2
Vcs-Git: https://github.com/ArcticaProject/libpam-freerdp2/
Vcs-Browser: https://github.com/ArcticaProject/libpam-freerdp2/
@@ -29,6 +29,7 @@ Description: PAM Module to auth against an RDP server using FreeRDPv2
Most useful with the pam-temp-account module.
Package: libpam-freerdp2-dev
+Section: libdevel
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
diff --git a/debian/copyright b/debian/copyright
index 0365099..8eb8d0b 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,10 +1,84 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: libpam-freerdp
-Source: http://launchpad.net/libpam-freerdp
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libpam-freerdp2
+Upstream-Contact: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+Source: https://github.com/ArcticaProject/libpam-freerdp2/
-Files: *
+Files: ChangeLog
+ Makefile.am
+ Makefile.am.coverage
+ NEWS
+ README.md
+ configure.ac
+ debian/changelog
+ debian/compat
+ debian/control
+ debian/libpam-freerdp2-dev.install
+ debian/libpam-freerdp2.install
+ debian/patches/README
+ debian/rules
+ debian/source/format
+ debian/upstream/signing-key.asc
+ debian/watch
+ m4/gcov.m4
+ src/Makefile.am
+ src/auth-check-path.c
+ src/auth-check-path.h
+ tests/Makefile.am
Copyright: 2012, Canonical Ltd.
+ 2012-2013, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+ 2018, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
License: GPL-3
+Comment:
+ Assuming license from COPYING file.
+ .
+ Assuming copyright holdership from the majority
+ of other code files.
+
+Files: src/freerdp2-auth-check.c
+ src/pam-freerdp2-children.c
+ src/pam-freerdp2-children.h
+ src/pam-freerdp2.c
+ tests/test-freerdp2-auth.c
+Copyright: 2012, Canonical Ltd.
+License: GPL-3
+
+Files: tests/mock_guest.c
+ tests/mock_guest.h
+ tests/mock_pam.c
+ tests/test-freerdp2-wrapper.cc
+Copyright: 2012, Canonical Ltd.
+License: GPL-3
+Comment:
+ Assuming license from COPYING file.
+
+Files: AUTHORS
+Copyright: 2012, Canonical Ltd.
+License: GPL-3
+Comment:
+ Assuming license from COPYING file.
+ .
+ Assuming copyright holdership from the majority
+ of other code files.
+
+Files: include/pam-freerdp2.h
+Copyright: 2012, Canonical Ltd.
+ 2012-2013, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+License: GPL-3
+
+Files: src/pam-freerdp2-private.h
+Copyright: 2018, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+License: GPL-3
+
+Files: tests/mock_pam.h
+Copyright: 2012, Canonical Ltd.
+ 2012-2013, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>.
+License: GPL-3
+Comment:
+ Assuming license from COPYING file.
+
+Files: m4/gtest.m4
+Copyright: 2012, Canonical, Ltd.
+License: Expat
Files: debian/*
Copyright: 2012, Canonical Ltd.
@@ -26,3 +100,23 @@ License: GPL-3
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice (including the next
+ paragraph) shall be included in all copies or substantial portions of the
+ Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/debian/copyright.in b/debian/copyright.in
new file mode 100644
index 0000000..be86a29
--- /dev/null
+++ b/debian/copyright.in
@@ -0,0 +1,86 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: FIXME
+Upstream-Contact: FIXME
+Source: FIXME
+Disclaimer: Autogenerated by CDBS
+
+Files: ChangeLog
+ Makefile.am
+ Makefile.am.coverage
+ NEWS
+ README.md
+ configure.ac
+ debian/changelog
+ debian/compat
+ debian/control
+ debian/libpam-freerdp2-dev.install
+ debian/libpam-freerdp2.install
+ debian/patches/README
+ debian/rules
+ debian/source/format
+ debian/upstream/signing-key.asc
+ debian/watch
+ m4/gcov.m4
+ src/Makefile.am
+ src/auth-check-path.c
+ src/auth-check-path.h
+ tests/Makefile.am
+Copyright: NONE
+License: UNKNOWN
+ FIXME
+
+Files: src/freerdp2-auth-check.c
+ src/pam-freerdp2-children.c
+ src/pam-freerdp2-children.h
+ src/pam-freerdp2.c
+ tests/test-freerdp2-auth.c
+Copyright: 2012, Canonical Ltd.
+License: GPL (v3)
+ FIXME
+
+Files: tests/mock_guest.c
+ tests/mock_guest.h
+ tests/mock_pam.c
+ tests/test-freerdp2-wrapper.cc
+Copyright: 2012, Canonical Ltd.
+License: UNKNOWN
+ FIXME
+
+Files: AUTHORS
+Copyright: NONE
+License: GENERATED FILE
+ FIXME
+
+Files: include/pam-freerdp2.h
+Copyright: 2012, Canonical Ltd.
+ 2012-2013, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+License: GPL (v3)
+ FIXME
+
+Files: debian/copyright
+Copyright: -format/1.0/
+ 2012, Canonical Ltd.
+License: GPL (v3)
+ FIXME
+
+Files: src/pam-freerdp2-private.h
+Copyright: 2018, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+License: GPL (v3)
+ FIXME
+
+Files: tests/mock_pam.h
+Copyright: 2012, Canonical Ltd.
+ 2012-2013, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>.
+License: UNKNOWN
+ FIXME
+
+Files: m4/gtest.m4
+Copyright: 2012, Canonical, Ltd.
+License: UNKNOWN
+ FIXME
+
+Files: COPYING
+Copyright: 2007, Free Software Foundation, Inc. <http:fsf.org/>
+License: UNKNOWN
+ FIXME
+
diff --git a/debian/libpam-freerdp2-dev.lintian-overrides b/debian/libpam-freerdp2-dev.lintian-overrides
new file mode 100644
index 0000000..4f32408
--- /dev/null
+++ b/debian/libpam-freerdp2-dev.lintian-overrides
@@ -0,0 +1,2 @@
+# the -dev package is indeed a libdevel package, exposing some public API macros
+libpam-freerdp2-dev: wrong-section-according-to-package-name libpam-freerdp2-dev => admin
diff --git a/debian/rules b/debian/rules
index 0969a92..96d8b0c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,12 @@ include /usr/share/cdbs/1/rules/utils.mk
DEB_MAKE_CHECK_TARGET = check
+#pre-build::
+# cp README.md README
+#
+#cleanbuilddir::
+# rm -f README
+
# Remove .a and .la files from /lib/security
remove-cruft::
find $(DEB_DESTDIR)/lib/security -type f \
@@ -20,3 +26,6 @@ remove-cruft::
common-install-indep:: remove-cruft
common-install-arch:: remove-cruft
common-binary-post-install-arch:: list-missing
+
+get-orig-source:
+ uscan --noconf --force-download --rename --download-current-version --destdir=..
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..864e7e7
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,5 @@
+# CDBS needs autoreconf.mk, shipped in dh-autoreconf package
+source: useless-autoreconf-build-depends dh-autoreconf
+
+# get-orig-source targets are really helpful, so we keep them
+source: debian-rules-contains-unnecessary-get-orig-source-target \ No newline at end of file
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..982eae2
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=pgpsigurlmangle=s/$/.asc/ \
+https://releases.arctica-project.org/source/libpam-freerdp2/libpam-freerdp2-(.+)\.tar\.gz