[arch-commits] Commit in snapd/repos (12 files)
Date: Tuesday, September 12, 2017 @ 19:02:18 Author: jelle Revision: 257165 archrelease: copy trunk to community-i686, community-x86_64 Added: snapd/repos/community-i686/PKGBUILD (from rev 257164, snapd/trunk/PKGBUILD) snapd/repos/community-i686/snapd.install (from rev 257164, snapd/trunk/snapd.install) snapd/repos/community-i686/snapd.sh (from rev 257164, snapd/trunk/snapd.sh) snapd/repos/community-x86_64/PKGBUILD (from rev 257164, snapd/trunk/PKGBUILD) snapd/repos/community-x86_64/snapd.install (from rev 257164, snapd/trunk/snapd.install) snapd/repos/community-x86_64/snapd.sh (from rev 257164, snapd/trunk/snapd.sh) Deleted: snapd/repos/community-i686/PKGBUILD snapd/repos/community-i686/snapd.install snapd/repos/community-i686/snapd.sh snapd/repos/community-x86_64/PKGBUILD snapd/repos/community-x86_64/snapd.install snapd/repos/community-x86_64/snapd.sh + /PKGBUILD | 220 +++ /snapd.install | 30 + /snapd.sh | 20 +++ community-i686/PKGBUILD| 109 --- community-i686/snapd.install | 15 -- community-i686/snapd.sh| 10 - community-x86_64/PKGBUILD | 109 --- community-x86_64/snapd.install | 15 -- community-x86_64/snapd.sh | 10 - 9 files changed, 270 insertions(+), 268 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2017-09-12 19:02:03 UTC (rev 257164) +++ community-i686/PKGBUILD 2017-09-12 19:02:18 UTC (rev 257165) @@ -1,109 +0,0 @@ -# $Id$ -# Maintainer: Timothy Redaelli-# Contributor: Zygmunt Krynicki - -pkgbase=snapd -pkgname=(snapd snap-confine) -pkgver=2.26.1 -pkgrel=1 -arch=('i686' 'x86_64') -url="https://github.com/snapcore/snapd; -license=('GPL3') -makedepends=('git' 'go' 'go-tools' 'bzr') -checkdepends=('python' 'squashfs-tools') - -# snap-confine -makedepends+=('libcap' 'python-docutils' 'systemd' 'xfsprogs') -checkdepends+=('indent' 'shellcheck') - -options=('!strip' 'emptydirs') -install=snapd.install -source=("git+https://github.com/snapcore/$pkgname.git#tag=$pkgver; -'snapd.sh') -md5sums=('SKIP' - '8e9b8108165d5b2ae911de9caefb37ce') - -_gourl=github.com/snapcore/snapd - -prepare() { - cd "$pkgname" - - # Use $srcdir/go as our GOPATH - export GOPATH="$srcdir/go" - mkdir -p "$GOPATH" - # Have snapd checkout appear in a place suitable for subsequent GOPATH This - # way we don't have to go get it again and it is exactly what the tag/hash - # above describes. - mkdir -p "$(dirname "$GOPATH/src/${_gourl}")" - ln --no-target-directory -fs "$srcdir/$pkgname" "$GOPATH/src/${_gourl}" -} - -build() { - export GOPATH="$srcdir/go" - # Use get-deps.sh provided by upstream to fetch go dependencies using the - # godeps tool and dependencies.tsv (maintained upstream). - cd "$GOPATH/src/${_gourl}" - XDG_CONFIG_HOME="$srcdir" ./get-deps.sh - # Build/install snap and snapd - go install "${_gourl}/cmd/snap" - go install "${_gourl}/cmd/snapd" - - # Generate the real systemd units out of the available templates - make -C data/systemd all - - # Build snap-confine - ./mkversion.sh - cd cmd - autoreconf -i -f - ./configure \ ---prefix=/usr \ ---libexecdir=/usr/lib/snapd \ ---with-snap-mount-dir=/var/lib/snapd/snap \ ---disable-apparmor \ ---enable-nvidia-arch \ ---enable-merged-usr - make -} - -# FIXME -check() { - return - export GOPATH="$srcdir/go" - cd "$GOPATH/src/${_gourl}" - - ./run-checks --unit - ./run-checks --static - - cd cmd - make -k check -} - -package_snapd() { - pkgdesc="Service and tools for management of snap packages." - depends=('snap-confine' 'squashfs-tools') - - export GOPATH="$srcdir/go" - # Ensure that we have /var/lib/snapd/{hostfs,lib/gl}/ as they are required by snap-confine - # for constructing some bind mounts around. - install -d -m 755 "$pkgdir/var/lib/snapd/hostfs/" "$pkgdir/var/lib/snapd/lib/gl/" - # Install the refresh timer and service for updating snaps - install -d -m 755 "$pkgdir/usr/lib/systemd/system/" - install -m 644 "$GOPATH/src/${_gourl}/data/systemd/snapd.refresh.service" "$pkgdir/usr/lib/systemd/system" - install -m 644 "$GOPATH/src/${_gourl}/data/systemd/snapd.refresh.timer" "$pkgdir/usr/lib/systemd/system" - # Install the snapd socket and service for the main daemon - install -m 644 "$GOPATH/src/${_gourl}/data/systemd/snapd.service" "$pkgdir/usr/lib/systemd/system" - install -m 644 "$GOPATH/src/${_gourl}/data/systemd/snapd.socket" "$pkgdir/usr/lib/systemd/system" - # Install snap and snapd executables - install -d -m 755 "$pkgdir/usr/bin/" - install -m 755 "$GOPATH/bin/snap" "$pkgdir/usr/bin/" - install -d -m 755 "$pkgdir/usr/lib/snapd" - install -m 755 "$GOPATH/bin/snapd"
[arch-commits] Commit in snapd/repos (12 files)
Date: Monday, November 14, 2016 @ 12:51:25 Author: tredaelli Revision: 195660 archrelease: copy trunk to community-i686, community-x86_64 Added: snapd/repos/community-i686/PKGBUILD (from rev 195659, snapd/trunk/PKGBUILD) snapd/repos/community-i686/snapd.install (from rev 195659, snapd/trunk/snapd.install) snapd/repos/community-i686/snapd.sh (from rev 195659, snapd/trunk/snapd.sh) snapd/repos/community-x86_64/PKGBUILD (from rev 195659, snapd/trunk/PKGBUILD) snapd/repos/community-x86_64/snapd.install (from rev 195659, snapd/trunk/snapd.install) snapd/repos/community-x86_64/snapd.sh (from rev 195659, snapd/trunk/snapd.sh) Deleted: snapd/repos/community-i686/PKGBUILD snapd/repos/community-i686/snapd.install snapd/repos/community-i686/snapd.sh snapd/repos/community-x86_64/PKGBUILD snapd/repos/community-x86_64/snapd.install snapd/repos/community-x86_64/snapd.sh + /PKGBUILD | 160 +++ /snapd.install | 30 +++ /snapd.sh | 20 community-i686/PKGBUILD| 80 --- community-i686/snapd.install | 15 --- community-i686/snapd.sh| 10 -- community-x86_64/PKGBUILD | 80 --- community-x86_64/snapd.install | 15 --- community-x86_64/snapd.sh | 10 -- 9 files changed, 210 insertions(+), 210 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2016-11-14 12:51:15 UTC (rev 195659) +++ community-i686/PKGBUILD 2016-11-14 12:51:25 UTC (rev 195660) @@ -1,80 +0,0 @@ -# $Id$ -# Maintainer: Timothy Redaelli-# Contributor: Zygmunt Krynicki - -pkgname=snapd -pkgver=2.15.2 -pkgrel=1 -pkgdesc="Service and tools for management of snap packages." -arch=('i686' 'x86_64') -url="https://github.com/snapcore/snapd; -license=('GPL3') -depends=('snap-confine' 'squashfs-tools') -makedepends=('git' 'go' 'go-tools' 'bzr') -checkdepends=('python') -options=('!strip' 'emptydirs') -install=snapd.install -source=("git+https://github.com/snapcore/$pkgname.git#tag=$pkgver; -'snapd.sh') -md5sums=('SKIP' - '1d841a1d09ba86945551dfc5c5658b2e') - -_gourl=github.com/snapcore/snapd - -prepare() { - cd "$pkgname" - - # Use $srcdir/go as our GOPATH - export GOPATH="$srcdir/go" - mkdir -p "$GOPATH" - # Have snapd checkout appear in a place suitable for subsequent GOPATH This - # way we don't have to go get it again and it is exactly what the tag/hash - # above describes. - mkdir -p "$(dirname "$GOPATH/src/${_gourl}")" - ln --no-target-directory -fs "$srcdir/$pkgname" "$GOPATH/src/${_gourl}" -} - -build() { - export GOPATH="$srcdir/go" - # Use get-deps.sh provided by upstream to fetch go dependencies using the - # godeps tool and dependencies.tsv (maintained upstream). - cd "$GOPATH/src/${_gourl}" - ./get-deps.sh - # Build/install snap and snapd - go install "${_gourl}/cmd/snap" - go install "${_gourl}/cmd/snapd" -} - -check() { - export GOPATH="$srcdir/go" - cd "$GOPATH/src/${_gourl}" - # FIXME lp:1611706 - env -u SUDO_COMMAND -u SUDO_GID -u SUDO_UID -u SUDO_USER ./run-checks --unit - - ./run-checks --static -} - -package() { - export GOPATH="$srcdir/go" - # Ensure that we have /var/lib/snapd/{hostfs,lib/gl}/ as they are required by snap-confine - # for constructing some bind mounts around. - install -d -m 755 "$pkgdir/var/lib/snapd/hostfs/" "$pkgdir/var/lib/snapd/lib/gl/" - # Install the refresh timer and service for updating snaps - install -d -m 755 "$pkgdir/usr/lib/systemd/system/" - install -m 644 "$GOPATH/src/${_gourl}/debian/snapd.refresh.service" "$pkgdir/usr/lib/systemd/system" - install -m 644 "$GOPATH/src/${_gourl}/debian/snapd.refresh.timer" "$pkgdir/usr/lib/systemd/system" - # Install the snapd socket and service for the main daemon - install -m 644 "$GOPATH/src/${_gourl}/debian/snapd.service" "$pkgdir/usr/lib/systemd/system" - install -m 644 "$GOPATH/src/${_gourl}/debian/snapd.socket" "$pkgdir/usr/lib/systemd/system" - # Install legacy "frameworks" units - # TODO: drop those when they go away upstream - install -m 644 "$GOPATH/src/${_gourl}/debian/snapd.frameworks-pre.target" "$pkgdir/usr/lib/systemd/system" - install -m 644 "$GOPATH/src/${_gourl}/debian/snapd.frameworks.target" "$pkgdir/usr/lib/systemd/system" - # Install snap and snapd executables - install -d -m 755 "$pkgdir/usr/bin/" - install -m 755 "$GOPATH/bin/snap" "$pkgdir/usr/bin/" - install -d -m 755 "$pkgdir/usr/lib/snapd" - install -m 755 "$GOPATH/bin/snapd" "$pkgdir/usr/lib/snapd/" - # Install script to export binaries paths of snaps - install -Dm 755 "$srcdir/snapd.sh" "$pkgdir/etc/profile.d/apps-bin-path.sh" -} Copied: snapd/repos/community-i686/PKGBUILD (from rev 195659, snapd/trunk/PKGBUILD)
[arch-commits] Commit in snapd/repos (12 files)
Date: Monday, September 26, 2016 @ 13:10:56 Author: tredaelli Revision: 190613 archrelease: copy trunk to community-i686, community-x86_64 Added: snapd/repos/community-i686/PKGBUILD (from rev 190612, snapd/trunk/PKGBUILD) snapd/repos/community-i686/snapd.install (from rev 190612, snapd/trunk/snapd.install) snapd/repos/community-i686/snapd.sh (from rev 190612, snapd/trunk/snapd.sh) snapd/repos/community-x86_64/PKGBUILD (from rev 190612, snapd/trunk/PKGBUILD) snapd/repos/community-x86_64/snapd.install (from rev 190612, snapd/trunk/snapd.install) snapd/repos/community-x86_64/snapd.sh (from rev 190612, snapd/trunk/snapd.sh) Deleted: snapd/repos/community-i686/PKGBUILD snapd/repos/community-i686/snapd.install snapd/repos/community-i686/snapd.sh snapd/repos/community-x86_64/PKGBUILD snapd/repos/community-x86_64/snapd.install snapd/repos/community-x86_64/snapd.sh + /PKGBUILD | 160 +++ /snapd.install | 30 +++ /snapd.sh | 20 community-i686/PKGBUILD| 84 community-i686/snapd.install | 15 --- community-i686/snapd.sh| 10 -- community-x86_64/PKGBUILD | 84 community-x86_64/snapd.install | 15 --- community-x86_64/snapd.sh | 10 -- 9 files changed, 210 insertions(+), 218 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2016-09-26 13:10:46 UTC (rev 190612) +++ community-i686/PKGBUILD 2016-09-26 13:10:56 UTC (rev 190613) @@ -1,84 +0,0 @@ -# $Id$ -# Maintainer: Timothy Redaelli-# Contributor: Zygmunt Krynicki - -pkgname=snapd -pkgver=2.11 -pkgrel=1 -pkgdesc="Service and tools for management of snap packages." -arch=('i686' 'x86_64') -url="https://github.com/snapcore/snapd; -license=('GPL3') -depends=('snap-confine' 'squashfs-tools') -makedepends=('git' 'go' 'go-tools' 'bzr') -checkdepends=('python') -options=('!strip' 'emptydirs') -install=snapd.install -source=("git+https://github.com/snapcore/$pkgname.git#tag=$pkgver; -'snapd.sh') -md5sums=('SKIP' - '1d841a1d09ba86945551dfc5c5658b2e') - -_gourl=github.com/snapcore/snapd - -prepare() { - cd "$pkgname" - - # daemon: always mock release info in tests - git cherry-pick -n 2840c2a37ef5adf50d93461920f3e2140617bd54 - - # osutil: support both "nobody" and "nogroup" for grpnam tests - git cherry-pick -n de99c096641e22dc57de3a581a3459ab65c9cf4d - - # Use $srcdir/go as our GOPATH - export GOPATH="$srcdir/go" - mkdir -p "$GOPATH" - # Have snapd checkout appear in a place suitable for subsequent GOPATH This - # way we don't have to go get it again and it is exactly what the tag/hash - # above describes. - mkdir -p "$(dirname "$GOPATH/src/${_gourl}")" - ln --no-target-directory -fs "$srcdir/$pkgname" "$GOPATH/src/${_gourl}" -} - -build() { - export GOPATH="$srcdir/go" - # Use get-deps.sh provided by upstream to fetch go dependencies using the - # godeps tool and dependencies.tsv (maintained upstream). - cd "$GOPATH/src/${_gourl}" - ./get-deps.sh - # Build/install snap and snapd - go install "${_gourl}/cmd/snap" - go install "${_gourl}/cmd/snapd" -} - -check() { - export GOPATH="$srcdir/go" - cd "$GOPATH/src/${_gourl}" - ./run-checks --unit - ./run-checks --static -} - -package() { - export GOPATH="$srcdir/go" - # Ensure that we have /var/lib/snapd/{hostfs,lib/gl}/ as they are required by snap-confine - # for constructing some bind mounts around. - install -d -m 755 "$pkgdir/var/lib/snapd/hostfs/" "$pkgdir/var/lib/snapd/lib/gl/" - # Install the refresh timer and service for updating snaps - install -d -m 755 "$pkgdir/usr/lib/systemd/system/" - install -m 644 "$GOPATH/src/${_gourl}/debian/snapd.refresh.service" "$pkgdir/usr/lib/systemd/system" - install -m 644 "$GOPATH/src/${_gourl}/debian/snapd.refresh.timer" "$pkgdir/usr/lib/systemd/system" - # Install the snapd socket and service for the main daemon - install -m 644 "$GOPATH/src/${_gourl}/debian/snapd.service" "$pkgdir/usr/lib/systemd/system" - install -m 644 "$GOPATH/src/${_gourl}/debian/snapd.socket" "$pkgdir/usr/lib/systemd/system" - # Install legacy "frameworks" units - # TODO: drop those when they go away upstream - install -m 644 "$GOPATH/src/${_gourl}/debian/snapd.frameworks-pre.target" "$pkgdir/usr/lib/systemd/system" - install -m 644 "$GOPATH/src/${_gourl}/debian/snapd.frameworks.target" "$pkgdir/usr/lib/systemd/system" - # Install snap and snapd executables - install -d -m 755 "$pkgdir/usr/bin/" - install -m 755 "$GOPATH/bin/snap" "$pkgdir/usr/bin/" - install -d -m 755 "$pkgdir/usr/lib/snapd" - install -m 755 "$GOPATH/bin/snapd" "$pkgdir/usr/lib/snapd/" - # Install script to export binaries paths of snaps - install -Dm 755 "$srcdir/snapd.sh"