GithubHelp home page GithubHelp logo

eduvpn-debian / packaging Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 24 KB

general repo for documentation and issues related to the packaging of eduVPN

Home Page: https://eduvpn.org/

License: MIT License

Shell 91.79% Makefile 8.21%
vpn debian eduvpn ubuntu packaging

packaging's Introduction

Introduction

This is the start point for all eduVPN related packaging work. Please report any issues with the packages in the issue tracker of this repository.

Every package has its own git repo in the eduvpn-debian github project. On every release a the package is imported, the debian files are updated and a new package is uploaded to the repository.

We try to follow the Debian workflow as much as possible. To read more about this check out the git-buildpackage documentation:

http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.html

Or if you need to know more about Debian packaging in general read the maintainers guide:

https://www.debian.org/doc/manuals/maint-guide/

The commands below have been tested on Ubuntu 17.04 and Debian 9, but should work with any modern Debian based distribution.

Enable the repository

To enable the official eduVPN package repository to your system run as root:

# apt install apt-transport-https
# curl -L https://repo.eduvpn.org/debian/eduvpn.key  | apt-key add -
# echo "deb https://repo.eduvpn.org/debian/ stretch main" > /etc/apt/sources.list.d/eduvpn.list
# apt update

Making the packages

Some eduVPN packages depend on each other, also during build time. The easiest way to satisfy these depenencies is to just add the eduVPN repository to your system. This will enable the auto installation of required eduVPN packages during the build.

For all these steps you need the git-buildpackage package installed. The signing of the packages happens with gnupg, so make sure you have that also installed and that your keypair is available for signing.

Also make sure you set the Debian invironment variables, which will be used in updating the changelog entry. The information needs to match your gnupg key information. You can optionally specify a parallel flag to speed up compilation.

DEBEMAIL="[email protected]"
DEBFULLNAME="Gijs Molenaar (launchpad ppa build key)"
DEB_BUILD_OPTIONS="parallel=32"

Create a new eduVPN package

  1. Create a new git repository on your build system with the same name as your package and run git init in it

  2. Download the released tarball for a package. make sure it is named <name>-<version>.tar.bz2 or .gz or .xz

  3. inside the new git repo run gbp import-orig path/to/<name>-<version>.tar.bz2

  4. create the debian folder with content. Copy this from an other repo and modify or use dh_make. Read the debian maintainers guide if you have no idea how to make a package.

Update existing package

  1. Make new release of your software or ask upstream to make release.

  2. git clone https://github.com/eduvpn-debian/<package> && cd <package>

  3. If you already have a checkout, cleanup the source folder. dh_clean should work, otherwise run git clean -f -d.

  4. run gbp import-orig --uscan to update the package to the latest version.

  5. If gbp complains there is no upstream branch, run checkout upstream to create a local checkout and switch back to master with checkout master, repeat step 3.

  6. run gbp dch -D stable and customize debian/changelog to your needs. Usualy one line with new upstream release should be enough.

  7. Make the changelog entry final git commit debian/changelog -m "new upstream release"

  8. Check if the package builds, if not you need to modify the debian files, like adding missing dependencies in debian/control.

An example script containing these steps can be found here:

https://github.com/eduvpn-debian/packaging/blob/master/new_upstream.sh

Building the package

  1. install the build dependencies by running mk-build-deps -i in the source root. You can remove the requirements deb package in the source root afterwards.

  2. check if package builds with gbp build-package. If you are not a eduVPN repository maintainer, you should disable the signing of the resulting packages (by adding -us and -uc flags to the gbp command), or update the changelog entry.

  3. (optional) To make sure everything builds you could build inside an empty system to make sure the build dependencies are right. Your build system probably has all kind of packages installed that falsely satisfy build dependencies, so it is wise to do it in a clean chroot. Debian has all kind of funky utilities for this, for example:

    https://pbuilder.alioth.debian.org/

    quick start:

    Note that you don't have to use the chroot, it is just to make sure everything works. If changes are minimal al quick build test could be enough.

    NOTE: when building on ubuntu 21.10 make sure you use xz as compressor: gbp buildpackage --git-ignore-new --git-builder='debuild -i -I -Zxz'

  4. check if package installs. Preferably in an empty system (or docker image).

An example script for building all eduVPN packages can be found here:

https://github.com/eduvpn-debian/packaging/blob/master/build_all.sh

Publishing the package

There are various package publishing tools available, but aptly seems quite complete. https://www.aptly.info

Check out this script for an example on how to create a repository locally, and then publish this remotely:

https://github.com/eduvpn-debian/packaging/blob/master/repo_upload.sh

Uploading changes to github

  1. If everything looks awesome run gbp build-package --git-tag to tag this version.

  2. run git push --all && git push --tags to upload all your changes to github

packaging's People

Contributors

gijzelaerr avatar

Stargazers

 avatar

Watchers

 avatar  avatar

packaging's Issues

Stretch 9.1 i386 (32bit) install package fails

When running 32bit debian Stretch, the package can't be installed

apt-update gives error:
All packages are up to date.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.eduvpn.org/debian stretch InRelease' doesn't support architecture 'i386'

apt install eduvpn-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package eduvpn-client

Missing dependencies

Some of the packages seem to be missing specifications for some of the dependencies, which in the end leads to the deployment failing if the portals/server api and the VPN node deployment isn't done on the same machine. Wasn't sure if you would prefer to have those all listed in one issue ticket or separated, decided for the former to produce less clutter.

Package vpn-server-node should have php-symfony-phpunit-bridge marked as a dependency, otherwise it later loudly fails while trying to include /usr/share/php/Symfony/Bridge/PhpUnit/autoload.php in runtime.

Package vpn-server-api should have openvpn marked as a dependency, otherwise it fails when trying to generate the tls-auth shared secret file as it's using openvpn for that.

lintian errors and warnings

E: python-eduvpn-client source: missing-separator-between-items in python3-eduvpn-client depends field between '${misc:Depends}' and 'python3-gi'
W: python-eduvpn-client source: debhelper-but-no-misc-depends python3-eduvpn-client
W: python-eduvpn-client source: debhelper-but-no-misc-depends eduvpn-client
W: python-eduvpn-client source: rc-version-greater-than-expected-version 1.0rc7 > 1.0 (consider using 1.0~rc7)
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/bin/eduvpn-client
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/applications/eduvpn-client.desktop
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/eduvpn/eduvpn.png
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/eduvpn/eduvpn.ui
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/eduvpn/institute.png
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/eduvpn/institute_small.png
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/eduvpn/internet.png
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/eduvpn/internet_small.png
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/icons/hicolor/128x128/apps/eduvpn-client.png
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/icons/hicolor/256x256/apps/eduvpn-client.png
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/icons/hicolor/48x48/apps/eduvpn-client.png
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/icons/hicolor/512x512/apps/eduvpn-client.png
W: python-eduvpn-client source: build-depends-on-python-sphinx-only
W: python-eduvpn-client source: out-of-date-standards-version 3.9.8 (current is 4.1.1)
E: python3-eduvpn-client: helper-templates-in-copyright
W: python3-eduvpn-client: copyright-has-url-from-dh_make-boilerplate
E: python3-eduvpn-client: copyright-contains-dh_make-todo-boilerplate
W: python3-eduvpn-client: rc-version-greater-than-expected-version 1.0rc7 > 1.0 (consider using 1.0~rc7)
W: python3-eduvpn-client: binary-without-manpage usr/bin/eduvpn-client
E: python-eduvpn-client: helper-templates-in-copyright
W: python-eduvpn-client: copyright-has-url-from-dh_make-boilerplate
E: python-eduvpn-client: copyright-contains-dh_make-todo-boilerplate
W: python-eduvpn-client: rc-version-greater-than-expected-version 1.0rc7 > 1.0 (consider using 1.0~rc7)
W: python-eduvpn-client: binary-without-manpage usr/bin/eduvpn-client
E: python-eduvpn-client-doc: helper-templates-in-copyright
W: python-eduvpn-client-doc: copyright-has-url-from-dh_make-boilerplate
E: python-eduvpn-client-doc: copyright-contains-dh_make-todo-boilerplate
W: python-eduvpn-client-doc: rc-version-greater-than-expected-version 1.0rc7 > 1.0 (consider using 1.0~rc7)
W: python-eduvpn-client-doc: empty-binary-package
E: eduvpn-client: helper-templates-in-copyright
W: eduvpn-client: copyright-has-url-from-dh_make-boilerplate
E: eduvpn-client: copyright-contains-dh_make-todo-boilerplate
W: eduvpn-client: description-synopsis-starts-with-article
E: eduvpn-client: extended-description-is-empty
W: eduvpn-client: rc-version-greater-than-expected-version 1.0rc7 > 1.0 (consider using 1.0~rc7)
W: eduvpn-client: empty-binary-package

W: constant-time-encoding source: pear-package-feature-requires-newer-pkg-php-tools (>= 1.7~) for Composer package support
W: constant-time-encoding source: out-of-date-standards-version 3.9.8 (current is 4.1.1)
E: php-paragonie-constant-time-encoding: extended-description-is-empty
W: php-paragonie-constant-time-encoding: wrong-section-according-to-package-name php-paragonie-constant-time-encoding => php

W: php-oauth2-client source: pear-package-feature-requires-newer-pkg-php-tools (>= 1.7~) for Composer package support
W: php-oauth2-client source: out-of-date-standards-version 3.9.8 (current is 4.1.1)
E: php-fkooman-oauth2-client: copyright-contains-dh_make-todo-boilerplate
E: php-fkooman-oauth2-client: extended-description-is-empty
W: php-fkooman-oauth2-client: wrong-section-according-to-package-name php-fkooman-oauth2-client => php
W: php-fkooman-oauth2-client: extra-license-file usr/share/doc/php-fkooman-oauth2-client/LICENSE

W: random-compat source: pear-package-feature-requires-newer-pkg-php-tools (>= 1.7~) for Composer package support
W: random-compat source: out-of-date-standards-version 3.9.8 (current is 4.1.1)
E: php-paragonie-random-compat: extended-description-is-empty
W: php-paragonie-random-compat: wrong-section-according-to-package-name php-paragonie-random-compat => php

W: php-oauth2-server source: pear-package-feature-requires-newer-pkg-php-tools (>= 1.7~) for Composer package support
W: php-oauth2-server source: out-of-date-standards-version 3.9.8 (current is 4.1.1)
E: php-fkooman-oauth2-server: copyright-contains-dh_make-todo-boilerplate
E: php-fkooman-oauth2-server: extended-description-is-empty
W: php-fkooman-oauth2-server: wrong-section-according-to-package-name php-fkooman-oauth2-server => php
W: php-fkooman-oauth2-server: extra-license-file usr/share/doc/php-fkooman-oauth2-server/LICENSE

W: php-secookie source: pear-package-feature-requires-newer-pkg-php-tools (>= 1.7~) for Composer package support
W: php-secookie source: out-of-date-standards-version 3.9.8 (current is 4.1.1)
E: php-fkooman-secookie: helper-templates-in-copyright
W: php-fkooman-secookie: copyright-has-url-from-dh_make-boilerplate
E: php-fkooman-secookie: copyright-contains-dh_make-todo-boilerplate
E: php-fkooman-secookie: extended-description-is-empty
W: php-fkooman-secookie: wrong-section-according-to-package-name php-fkooman-secookie => php
W: php-fkooman-secookie: extra-license-file usr/share/doc/php-fkooman-secookie/LICENSE

W: password-compat source: pear-package-feature-requires-newer-pkg-php-tools (>= 1.7~) for Composer package support
W: password-compat source: out-of-date-standards-version 3.9.8 (current is 4.1.1)
E: php-ircmaxell-password-compat: extended-description-is-empty
W: php-ircmaxell-password-compat: wrong-section-according-to-package-name php-ircmaxell-password-compat => php

W: php-yubitwee source: pear-package-feature-requires-newer-pkg-php-tools (>= 1.7~) for Composer package support
W: php-yubitwee source: out-of-date-standards-version 3.9.8 (current is 4.1.1)
E: php-fkooman-yubitwee: extended-description-is-empty
W: php-fkooman-yubitwee: wrong-section-according-to-package-name php-fkooman-yubitwee => php

W: baconqrcode source: pear-package-feature-requires-newer-pkg-php-tools (>= 1.7~) for Composer package support
W: baconqrcode source: missing-pkg-php-tools-addon phpcomposer
W: baconqrcode source: missing-license-paragraph-in-dep5-copyright mit (paragraph at line 9)
W: baconqrcode source: space-in-std-shortname-in-dep5-copyright bsd 2-clause "simplified" license (paragraph at line 13)
W: baconqrcode source: out-of-date-standards-version 3.9.8 (current is 4.1.1)
E: php-bacon-qr-code: extended-description-is-empty
W: php-bacon-qr-code: wrong-section-according-to-package-name php-bacon-qr-code => php

W: easy-rsa source: changelog-should-mention-nmu
W: easy-rsa source: source-nmu-has-incorrect-version-number 3.0.3-1
W: easy-rsa source: ancient-standards-version 3.9.5 (current is 4.1.1)
W: easy-rsa: extra-license-file usr/share/doc/easy-rsa/COPYING.md
W: easy-rsa: extra-license-file usr/share/doc/easy-rsa/gpl-2.0.txt.gz

W: otp source: pear-package-feature-requires-newer-pkg-php-tools (>= 1.7~) for Composer package support
W: otp source: out-of-date-standards-version 3.9.8 (current is 4.1.1)
E: php-christian-riesen-otp: extended-description-is-empty
W: php-christian-riesen-otp: wrong-section-according-to-package-name php-christian-riesen-otp => php

W: php-saml-ds source: maintainer-script-lacks-debhelper-token debian/postinst
W: php-saml-ds source: pear-package-feature-requires-newer-pkg-php-tools (>= 1.7~) for Composer package support
W: php-saml-ds source: missing-license-paragraph-in-dep5-copyright apache2 (paragraph at line 5)
W: php-saml-ds source: missing-license-paragraph-in-dep5-copyright gpl-2+ (paragraph at line 9)
W: php-saml-ds source: out-of-date-standards-version 3.9.8 (current is 4.1.1)
E: php-saml-ds: extended-description-is-empty
W: php-saml-ds: wrong-section-according-to-package-name php-saml-ds => php
W: php-saml-ds: binary-without-manpage usr/bin/php-saml-ds-generate
W: php-saml-ds: script-not-executable usr/share/php-saml-ds/bin/generate.php

W: twig-extensions source: pear-package-feature-requires-newer-pkg-php-tools (>= 1.7~) for Composer package support
W: twig-extensions source: out-of-date-standards-version 3.9.8 (current is 4.1.1)
E: php-twig-extensions: extended-description-is-empty
W: php-twig-extensions: wrong-section-according-to-package-name php-twig-extensions => php

W: vpn-for-web source: maintainer-script-lacks-debhelper-token debian/postinst
W: vpn-for-web source: pear-package-feature-requires-newer-pkg-php-tools (>= 1.7~) for Composer package support
W: vpn-for-web source: out-of-date-standards-version 3.9.8 (current is 4.1.1)
E: vpn-for-web: description-is-pkg-name VPN for Web
E: vpn-for-web: extended-description-is-empty
W: vpn-for-web: binary-without-manpage usr/bin/vpn-for-web-fetch-provider-info
E: vpn-for-web: php-script-but-no-php-cli-dep usr/bin/vpn-for-web-fetch-provider-info
W: vpn-for-web: maintainer-script-ignores-errors postinst

W: vpn-lib-common source: pear-package-feature-requires-newer-pkg-php-tools (>= 1.7~) for Composer package support
W: vpn-lib-common source: out-of-date-standards-version 3.9.8 (current is 4.1.1)
E: php-eduvpn-common: extended-description-is-empty
W: php-eduvpn-common: wrong-section-according-to-package-name php-eduvpn-common => php

W: vpn-admin-portal source: maintainer-script-lacks-debhelper-token debian/postinst
W: vpn-admin-portal source: pear-package-feature-requires-newer-pkg-php-tools (>= 1.7~) for Composer package support
W: vpn-admin-portal source: out-of-date-standards-version 3.9.8 (current is 4.1.1)
E: vpn-admin-portal: description-is-pkg-name VPN Admin Portal
E: vpn-admin-portal: extended-description-is-empty
W: vpn-admin-portal: binary-without-manpage usr/bin/vpn-admin-portal-add-user
E: vpn-admin-portal: php-script-but-no-php-cli-dep usr/bin/vpn-admin-portal-add-user


W: vpn-server-api source: maintainer-script-lacks-debhelper-token debian/postinst
W: vpn-server-api source: pear-package-feature-requires-newer-pkg-php-tools (>= 1.7~) for Composer package support
W: vpn-server-api source: out-of-date-standards-version 3.9.8 (current is 4.1.1)
W: vpn-server-api: spelling-error-in-readme-debian sudo sudo (duplicate word) sudo
E: vpn-server-api: description-is-pkg-name VPN Server API
E: vpn-server-api: extended-description-is-empty
W: vpn-server-api: binary-without-manpage usr/bin/vpn-server-api-housekeeping
W: vpn-server-api: binary-without-manpage usr/bin/vpn-server-api-init
W: vpn-server-api: binary-without-manpage usr/bin/vpn-server-api-stats
W: vpn-server-api: binary-without-manpage usr/bin/vpn-server-api-status
W: vpn-server-api: binary-without-manpage usr/bin/vpn-server-api-update-api-secrets
W: vpn-server-api: binary-without-manpage usr/bin/vpn-server-api-update-ip
E: vpn-server-api: php-script-but-no-php-cli-dep usr/bin/vpn-server-api-housekeeping
E: vpn-server-api: php-script-but-no-php-cli-dep usr/bin/vpn-server-api-init
E: vpn-server-api: php-script-but-no-php-cli-dep usr/bin/vpn-server-api-stats
E: vpn-server-api: php-script-but-no-php-cli-dep usr/bin/vpn-server-api-status
E: vpn-server-api: php-script-but-no-php-cli-dep usr/bin/vpn-server-api-update-api-secrets
E: vpn-server-api: php-script-but-no-php-cli-dep usr/bin/vpn-server-api-update-ip
W: vpn-server-api: maintainer-script-ignores-errors postinst

W: vpn-server-node source: maintainer-script-lacks-debhelper-token debian/postinst
W: vpn-server-node source: pear-package-feature-requires-newer-pkg-php-tools (>= 1.7~) for Composer package support
W: vpn-server-node source: out-of-date-standards-version 3.9.8 (current is 4.1.1)
E: vpn-server-node: extended-description-is-empty
W: vpn-server-node: non-standard-dir-in-usr usr/libexec/
W: vpn-server-node: file-in-unusual-dir usr/libexec/vpn-server-node-client-connect
W: vpn-server-node: file-in-unusual-dir usr/libexec/vpn-server-node-client-disconnect
W: vpn-server-node: file-in-unusual-dir usr/libexec/vpn-server-node-verify-otp
W: vpn-server-node: binary-without-manpage usr/bin/vpn-server-node-generate-firewall
W: vpn-server-node: binary-without-manpage usr/bin/vpn-server-node-server-config
E: vpn-server-node: php-script-but-no-php-cli-dep usr/bin/vpn-server-node-generate-firewall
E: vpn-server-node: php-script-but-no-php-cli-dep usr/bin/vpn-server-node-server-config
W: vpn-server-node: script-not-executable usr/libexec/vpn-server-node-client-connect
W: vpn-server-node: script-not-executable usr/libexec/vpn-server-node-client-disconnect
W: vpn-server-node: script-not-executable usr/libexec/vpn-server-node-verify-otp
W: vpn-server-node: maintainer-script-ignores-errors postinst

W: vpn-user-portal source: pear-package-feature-requires-newer-pkg-php-tools (>= 1.7~) for Composer package support
W: vpn-user-portal source: out-of-date-standards-version 3.9.8 (current is 4.1.1)
E: vpn-user-portal: description-is-pkg-name VPN User Portal
W: vpn-user-portal: binary-without-manpage usr/bin/vpn-user-portal-add-user
W: vpn-user-portal: binary-without-manpage usr/bin/vpn-user-portal-foreign-key-list-fetcher
W: vpn-user-portal: binary-without-manpage usr/bin/vpn-user-portal-init
W: vpn-user-portal: binary-without-manpage usr/bin/vpn-user-portal-show-public-key

remove template cache on package upgrades

As used by the RPM spec files:

vpn-admin-portal

rm -rf %{_localstatedir}/lib/%{name}/*/tpl/* >/dev/null 2>/dev/null || :

vpn-user-portal

rm -rf %{_localstatedir}/lib/%{name}/*/tpl/* >/dev/null 2>/dev/null || :

php-saml-ds

rm -rf %{_localstatedir}/lib/%{name}/tpl/* >/dev/null 2>/dev/null || :

NOTE the php-saml-ds case is slightly different!

Class 'fkooman\\OAuth\\Client\\Http\\CurlHttpClient' not found

[Wed Jun 21 14:28:09.311164 2017] [:error] [pid 25225] [client 10.0.2.2:63597] PHP Fatal error:  Uncaught Error: Class 'fkooman\\OAuth\\Client\\Http\\CurlHttpClient' not found in /usr/share/vpn-for-web/web/index.php:51\nStack trace:\n#0 {main}\n  thrown in /usr/share/vpn-for-web/web/index.php on line 51

QR code does not work

  • php-bacon-qr-code misses dependency on php-gd;
  • install path of php-bacon-qr-code is wrong, should be /usr/share/php/BaconQrCode and not /usr/share/php/BaconQrCode/BaconQrCode;
  • vpn-user-portal misses BaconQrCode autoloader

vpn-user-portal 1.0.9

ook hier nu symlinks i.p.v. scripts installeren in /bin, analoog aan vpn-server-node.

dependency op paragonie/random_compat toegevoegd.

build_all does not work

MAINT=false

gbp:info: Creating otp_2.4.0.orig.tar.gz from 'upstream/2.4.0'
 dpkg-buildpackage -rfakeroot -us -uc -i -I
dpkg-buildpackage: info: source package otp
dpkg-buildpackage: info: source version 2.4.0-3
dpkg-buildpackage: info: source distribution stable
dpkg-buildpackage: info: source changed by Gijs Molenaar (launchpad ppa build key) <[email protected]>
 dpkg-source -i -I --before-build otp
dpkg-buildpackage: info: host architecture amd64
dpkg-checkbuilddeps: error: Unmet build dependencies: php-paragonie-constant-time-encoding php-paragonie-random-compat
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
debuild: fatal error at line 1116:
dpkg-buildpackage -rfakeroot -us -uc -i -I failed
gbp:error: 'debuild -i -I -us -uc' failed: it exited with 29

fix httpd config snippets (php-fpm socket)


                SetHandler "proxy:unix:/run/php-fpm/www.sock|fcgi://localhost"
                # Debian
#SetHandler "proxy:unix:/run/php/php7.0-fpm.sock|fcgi://localhost"

so update the SetHandler in all of them!

vpn-user-portal
vpn-server-api
vpn-admin-portal
php-saml-ds

updates

Hi,

This a list of all components and their versions. Please check if all are up to date. There are new packages with "artwork" allowing for system wide installation of themes.

php-fkooman-oauth2-client.spec:Version:        5.0.3
php-fkooman-oauth2-server.spec:Version:        2.0.0
php-fkooman-secookie.spec:Version:        2.0.0
php-fkooman-yubitwee.spec:Version:        1.1.1
php-saml-ds.spec:Version:    1.0.8
vpn-admin-portal.spec:Version:    1.2.0
vpn-lib-common.spec:Version:    1.1.0
vpn-portal-artwork-eduVPN.spec:Version:    1.0.0
vpn-portal-artwork-LC.spec:Version:    1.0.0
vpn-server-api.spec:Version:    1.1.1
vpn-server-node.spec:Version:    1.0.5
vpn-user-portal.spec:Version:    1.2.0

Python2 and python3 package of python-eduvpn-client are conflicting

W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/bin/eduvpn-client
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/applications/eduvpn-client.desktop
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/eduvpn/builder/2fa.ui
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/eduvpn/builder/connection_type.ui
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/eduvpn/builder/custom_url.ui
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/eduvpn/builder/fetch.ui
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/eduvpn/builder/instances.ui
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/eduvpn/builder/profiles.ui
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/eduvpn/builder/redirecturl.ui
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/eduvpn/builder/token.ui
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/eduvpn/builder/window.ui
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/eduvpn/eduvpn.png
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/eduvpn/institute.png
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/eduvpn/institute_small.png
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/eduvpn/internet.png
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/eduvpn/internet_small.png
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/icons/hicolor/128x128/apps/eduvpn-client.png
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/icons/hicolor/256x256/apps/eduvpn-client.png
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/icons/hicolor/48x48/apps/eduvpn-client.png
W: python-eduvpn-client source: binaries-have-file-conflict python-eduvpn-client python3-eduvpn-client usr/share/icons/hicolor/512x512/apps/eduvpn-client.png

package updates

  • php-saml-ds.spec:Version: 1.0.6 (also remove templates)
  • vpn-admin-portal.spec:Version: 1.1.6 (also remove templates)
  • vpn-user-portal.spec:Version: 1.0.6 (also remove templates)
  • vpn-lib-common.spec:Version: 1.0.3
  • php-fkooman-secookie.spec:Version: 2.0.0
  • php-fkooman-yubitwee.spec:Version: 1.1.0
  • php-fkooman-oauth2-client: Version: 5.0.1
    The php-fkooman-yubitwee package drops the php-libsodium dependency, but gets two new ones:
BuildRequires:  php-composer(paragonie/random_compat)
BuildRequires:  php-composer(symfony/polyfill-php56)

OTP test suite fails

cp debian/autoload_test.php vendor/autoload.php
phpunit
PHP Fatal error:  Uncaught Error: Call to a member function add() on integer in /home/gijs/Work/eduvpn/otp/tests/bootstrap.php:4
Stack trace:
#0 /usr/share/php/PHPUnit/Util/Fileloader.php(56): include_once()
#1 /usr/share/php/PHPUnit/Util/Fileloader.php(38): PHPUnit_Util_Fileloader::load('/home/gijs/Work...')
#2 /usr/share/php/PHPUnit/TextUI/Command.php(875): PHPUnit_Util_Fileloader::checkAndLoad('/home/gijs/Work...')
#3 /usr/share/php/PHPUnit/TextUI/Command.php(704): PHPUnit_TextUI_Command->handleBootstrap('/home/gijs/Work...')
#4 /usr/share/php/PHPUnit/TextUI/Command.php(124): PHPUnit_TextUI_Command->handleArguments(Array)
#5 /usr/share/php/PHPUnit/TextUI/Command.php(113): PHPUnit_TextUI_Command->run(Array, true)
#6 /usr/bin/phpunit(29): PHPUnit_TextUI_Command::main()
#7 {main}
  thrown in /home/gijs/Work/eduvpn/otp/tests/bootstrap.php on line 4

Stretch 9.1 amd64 GTK-warning GUI images not loading

When running eduvpn the images in the GUI won't load.
followed by the following warning:

Gtk-WARNING **: Could not load image '../icons/hicolor/256x256/apps/eduvpn-client.png': Failed to open file '/usr/bin/../share/eduvpn/../icons/hicolor/256x256/apps/eduvpn-client.png': No such file or directory

there is a pointer to your key somewhere?

Now running lintian...
warning: the authors of lintian do not recommend running it with root privileges!
W: easy-rsa source: changelog-should-mention-nmu
W: easy-rsa source: source-nmu-has-incorrect-version-number 3.0.3-1
W: easy-rsa source: ancient-standards-version 3.9.5 (current is 3.9.8)
W: easy-rsa: extra-license-file usr/share/doc/easy-rsa/COPYING.md
W: easy-rsa: extra-license-file usr/share/doc/easy-rsa/gpl-2.0.txt.gz
Finished running lintian.
Now signing changes and any dsc files...
 signfile dsc easy-rsa_3.0.3-1.dsc Gijs Molenaar (launchpad ppa build key) <[email protected]>
gpg: skipped "Gijs Molenaar (launchpad ppa build key) <[email protected]>": No secret key
gpg: /tmp/debsign.CNQwSDel/easy-rsa_3.0.3-1.dsc: clear-sign failed: No secret key
debsign: gpg error occurred!  Aborting....
debuild: fatal error at line 1045:
running debsign failed
gbp:error: 'debuild -i -I' failed: it exited with 29

I have this file vars that I source before running ./build_all.sh as root:

export [email protected]
export [email protected]
export DEB_BUILD_OPTIONS="parallel=32"

There is a GPG key with ID [email protected]:

root@debian:/home/debian/packaging# gpg -K
/root/.gnupg/pubring.kbx
------------------------
sec   rsa2048 2017-10-02 [SC] [expires: 2019-10-02]
      25A18A8B967C2C6F72B458B1B2981E328A9263B2
uid           [ultimate] [email protected]
ssb   rsa2048 2017-10-02 [E]

root@debian:/home/debian/packaging# 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.