diff options
Diffstat (limited to 'examples/ca-certificates-local/debian')
-rw-r--r-- | examples/ca-certificates-local/debian/ca-certificates-local.triggers | 1 | ||||
-rw-r--r-- | examples/ca-certificates-local/debian/changelog | 5 | ||||
-rw-r--r-- | examples/ca-certificates-local/debian/compat | 1 | ||||
-rw-r--r-- | examples/ca-certificates-local/debian/control | 20 | ||||
-rw-r--r-- | examples/ca-certificates-local/debian/copyright | 6 | ||||
-rw-r--r-- | examples/ca-certificates-local/debian/postrm | 26 | ||||
-rwxr-xr-x | examples/ca-certificates-local/debian/rules | 11 | ||||
-rw-r--r-- | examples/ca-certificates-local/debian/source/format | 1 |
8 files changed, 71 insertions, 0 deletions
diff --git a/examples/ca-certificates-local/debian/ca-certificates-local.triggers b/examples/ca-certificates-local/debian/ca-certificates-local.triggers new file mode 100644 index 0000000..2508bbf --- /dev/null +++ b/examples/ca-certificates-local/debian/ca-certificates-local.triggers @@ -0,0 +1 @@ +activate update-ca-certificates-fresh diff --git a/examples/ca-certificates-local/debian/changelog b/examples/ca-certificates-local/debian/changelog new file mode 100644 index 0000000..dccdbf6 --- /dev/null +++ b/examples/ca-certificates-local/debian/changelog @@ -0,0 +1,5 @@ +ca-certificates-local (0.1) unstable; urgency=low + + * Initial Release. + + -- System Administrator <root@localhost.localdomain> Thu, 29 Aug 2013 00:42:42 -0000 diff --git a/examples/ca-certificates-local/debian/compat b/examples/ca-certificates-local/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/examples/ca-certificates-local/debian/compat @@ -0,0 +1 @@ +8 diff --git a/examples/ca-certificates-local/debian/control b/examples/ca-certificates-local/debian/control new file mode 100644 index 0000000..91cecf5 --- /dev/null +++ b/examples/ca-certificates-local/debian/control @@ -0,0 +1,20 @@ +Source: ca-certificates-local +Section: misc +Priority: extra +Maintainer: System Administrator <root@localhost.localdomain> +Build-Depends: debhelper (>= 8.0.0) +Standards-Version: 3.9.4 + +Package: ca-certificates-local +Architecture: all +Depends: ca-certificates (>= 20130119), ${misc:Depends} +Description: Local CA certificates + This package includes local CA certificates to be installed in + /usr/local/share/ca-certificates. The CA certificates installed by this + package will be implicitly trusted. + . + This is an example stub source package that includes a dummy CA + certificate in the local/ directory. Remove the dummy certificate, copy + your trusted local root CA (in PEM format with the filename ending in + ".crt") to the local/ directory, edit files in the debian/ directory as + desired, and build your custom package. diff --git a/examples/ca-certificates-local/debian/copyright b/examples/ca-certificates-local/debian/copyright new file mode 100644 index 0000000..33ce0fc --- /dev/null +++ b/examples/ca-certificates-local/debian/copyright @@ -0,0 +1,6 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: * +Copyright: 2013 System Administrator <root@localhost.localdomain> +License: ... + diff --git a/examples/ca-certificates-local/debian/postrm b/examples/ca-certificates-local/debian/postrm new file mode 100644 index 0000000..2a8df55 --- /dev/null +++ b/examples/ca-certificates-local/debian/postrm @@ -0,0 +1,26 @@ +#!/bin/sh + +set -e + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + # Recreate the /usr/local/share/ca-certificates directory, since we are + # ignoring Debian Policy by intentionally installing here. Removal of + # ca-certificates-local removes this directory if empty. + if [ ! -e /usr/local/share/ca-certificates ]; then + if mkdir /usr/local/share/ca-certificates 2>/dev/null; then + chown root:staff /usr/local/share/ca-certificates + chmod 2775 /usr/local/share/ca-certificates + fi + fi + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/examples/ca-certificates-local/debian/rules b/examples/ca-certificates-local/debian/rules new file mode 100755 index 0000000..857806f --- /dev/null +++ b/examples/ca-certificates-local/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ + +# override_dh_usrlocal to do nothing +override_dh_usrlocal: + diff --git a/examples/ca-certificates-local/debian/source/format b/examples/ca-certificates-local/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/examples/ca-certificates-local/debian/source/format @@ -0,0 +1 @@ +3.0 (native) |