Diff distrobuilder-2.1 with a distrobuilder-3.1
| /usr/portage/app-containers/distrobuilder/distrobuilder-3.1.ebuild 2025-02-03 17:39:32.282664971 +0300 | ||
|---|---|---|
| 1 | 
    # Copyright 1999-2023 Gentoo Authors  | 
  |
| 1 | 
    # Copyright 1999-2025 Gentoo Authors  | 
  |
| 2 | 2 | 
    # Distributed under the terms of the GNU General Public License v2  | 
  
| 3 | 3 | |
| 4 | 4 | 
    EAPI=8  | 
  
| 5 | 5 | |
| 6 | 
    inherit go-module linux-info  | 
  |
| 6 | 
    inherit go-module linux-info optfeature  | 
  |
| 7 | 7 | |
| 8 | 
    DESCRIPTION="System container image builder for LXC and LXD"  | 
  |
| 8 | 
    DESCRIPTION="System container image builder for LXC and incus"  | 
  |
| 9 | 9 | 
    HOMEPAGE="https://linuxcontainers.org/distrobuilder/introduction/"  | 
  
| 10 | 10 | |
| 11 | 11 | 
    SRC_URI="https://linuxcontainers.org/downloads/distrobuilder/distrobuilder-${PV}.tar.gz
   | 
  
| ... | ... | |
| 16 | 16 | 
    KEYWORDS="amd64 ~ppc64"  | 
  
| 17 | 17 | 
    IUSE="verify-sig"  | 
  
| 18 | 18 | |
| 19 | 
    RDEPEND="app-crypt/gnupg  | 
  |
| 19 | 
    RDEPEND="app-cdr/cdrtools  | 
  |
| 20 | 
    app-crypt/gnupg  | 
  |
| 20 | 21 | 
    dev-util/debootstrap  | 
  
| 21 | 22 | 
    dev-vcs/git  | 
  
| 22 | 23 | 
    net-misc/rsync  | 
  
| ... | ... | |
| 30 | 31 | |
| 31 | 32 | 
    VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/linuxcontainers.asc  | 
  
| 32 | 33 | |
| 33 | 
    PATCHES=( "${FILESDIR}"/distrobuilder-2.1-glibc-2.36-fix.patch )
   | 
  |
| 34 | ||
| 35 | 34 | 
    GOPATH="${S}/_dist"
   | 
  
| 36 | 35 | |
| 37 | 36 | 
    src_compile() {
   | 
  
| ... | ... | |
| 49 | 48 | 
    	dobin ${GOPATH}/bin/distrobuilder
   | 
  
| 50 | 49 | 
    dodoc -r doc/*  | 
  
| 51 | 50 | 
    }  | 
  
| 51 | ||
| 52 | 
    pkg_postinst() {
   | 
  |
| 53 | 
    optfeature_header "Optional support"  | 
  |
| 54 | 
    optfeature "building MS Windows images" app-arch/wimlib app-misc/hivex  | 
  |
| 55 | 
    }  | 
  |