Diff cryptodev-1.12 with a cryptodev-1.13-r1
| /usr/portage/sys-kernel/cryptodev/cryptodev-1.13-r1.ebuild 2024-12-25 14:59:52.807270183 +0300 | ||
|---|---|---|
| 1 | 
    # Copyright 1999-2023 Gentoo Authors  | 
  |
| 1 | 
    # Copyright 1999-2024 Gentoo Authors  | 
  |
| 2 | 2 | 
    # Distributed under the terms of the GNU General Public License v2  | 
  
| 3 | 3 | |
| 4 | 
    EAPI=7  | 
  |
| 4 | 
    EAPI=8  | 
  |
| 5 | 5 | |
| 6 | 
    inherit linux-info linux-mod  | 
  |
| 6 | 
    inherit linux-info linux-mod-r1  | 
  |
| 7 | 7 | |
| 8 | 8 | 
    DESCRIPTION="device that allows access to Linux kernel cryptographic drivers"  | 
  
| 9 | 9 | 
    HOMEPAGE="http://cryptodev-linux.org/"  | 
  
| ... | ... | |
| 13 | 13 | 
    EGIT_REPO_URI="https://github.com/cryptodev-linux/cryptodev-linux.git"  | 
  
| 14 | 14 | 
    else  | 
  
| 15 | 15 | 
    	SRC_URI="https://github.com/cryptodev-linux/cryptodev-linux/archive/${PN}-linux-${PV}.tar.gz"
   | 
  
| 16 | 
    KEYWORDS="amd64 ~arm x86"  | 
  |
| 16 | 
    KEYWORDS="~amd64 ~arm ~x86"  | 
  |
| 17 | 17 | 
    	S=${WORKDIR}/${PN}-linux-${PN}-linux-${PV}
   | 
  
| 18 | 18 | 
    fi  | 
  
| 19 | 19 | |
| ... | ... | |
| 26 | 26 | 
    #test requires that the module is already loaded  | 
  
| 27 | 27 | 
    RESTRICT="test"  | 
  
| 28 | 28 | |
| 29 | 
    MODULE_NAMES="cryptodev(extra:${S})"
   | 
  |
| 30 | 
    BUILD_PARAMS="KERNEL_DIR=\"\${KV_OUT_DIR}\""
   | 
  |
| 31 | 
    BUILD_TARGETS="build"  | 
  |
| 32 | ||
| 33 | 29 | 
    pkg_pretend() {
   | 
  
| 34 | 30 | 
    use kernel_linux || die "cryptodev ebuild only support linux"  | 
  
| 35 | 31 | |
| ... | ... | |
| 42 | 38 | 
    check_extra_config  | 
  
| 43 | 39 | 
    }  | 
  
| 44 | 40 | |
| 41 | 
    src_compile() {
   | 
  |
| 42 | 
    	local modlist=( cryptodev="extra:${S}" )
   | 
  |
| 43 | 
    	local modargs=( KERNEL_DIR="${KV_OUT_DIR}" )
   | 
  |
| 44 | ||
| 45 | 
    linux-mod-r1_src_compile  | 
  |
| 46 | 
    }  | 
  |
| 47 | ||
| 45 | 48 | 
    src_install() {
   | 
  
| 46 | 
    linux-mod_src_install  | 
  |
| 49 | 
    linux-mod-r1_src_install  | 
  |
| 47 | 50 | |
| 48 | 51 | 
    insinto /usr/include/crypto  | 
  
| 49 | 52 | 
    doins crypto/cryptodev.h  |