devinteske

sysutils/docker-freebsd Makefile patch

Sep 5th, 2017
505
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 2.20 KB | None | 0 0
  1. Index: Makefile
  2. ===================================================================
  3. --- Makefile    (revision 449311)
  4. +++ Makefile    (working copy)
  5. @@ -2,36 +2,43 @@
  6.  # $FreeBSD$
  7.  
  8.  PORTNAME=  docker-freebsd
  9. -PORTVERSION=   20150625
  10. +PORTVERSION=   HEAD
  11.  PORTREVISION=  1
  12.  CATEGORIES=    sysutils
  13.  
  14. -MAINTAINER=    amutu@amutu.com
  15. +MAINTAINER=    dteske@FreeBSD.org
  16.  COMMENT=   Docker containment system
  17.  
  18.  LICENSE=   APACHE20
  19.  LICENSE_FILE=  ${WRKSRC}/LICENSE
  20.  
  21. -BUILD_DEPENDS= go>=1.4:lang/go \
  22. -       bash:shells/bash \
  23. -       sqlite3:databases/sqlite3
  24. -RUN_DEPENDS=   go>=1.4:lang/go \
  25. -       bash:shells/bash \
  26. -       sqlite3:databases/sqlite3
  27. +BUILD_DEPENDS= bash:shells/bash
  28. +LIB_DEPENDS=   libepoll-shim.so:devel/libepoll-shim
  29.  
  30. +USES=      go gmake
  31. +
  32.  USE_GITHUB=    yes
  33. -GH_ACCOUNT=    kvasdopil
  34. +GH_ACCOUNT=    freebsd-docker
  35.  GH_PROJECT=    docker
  36. -GH_TAGNAME=    582db78
  37. +#?GH_TAGNAME=  xxx
  38.  
  39. -PLIST_FILES=   bin/docker
  40. +PLIST_FILES=   bin/docker \
  41. +       bin/dockerd \
  42. +       bin/docker-containerd \
  43. +       bin/docker-containerd-ctr \
  44. +       bin/docker-containerd-shim \
  45. +       bin/docker-proxy
  46.  USE_RC_SUBR=   docker
  47.  
  48. +GO_PKGNAME=    github.com/${GH_PROJECT}/${GH_PROJECT}
  49. +SSP_UNSAFE=    yes
  50. +
  51.  do-build:
  52. -   @cd ${WRKSRC} && export AUTO_GOPATH=1 && export DOCKER_GITCOMMIT=${GH_TAGNAME} && ./hack/make.sh binary
  53. +   @cd ${GO_WRKSRC} && export DOCKER_GITCOMMIT=${GH_TAGNAME} && ${SETENV} ${MAKE_ENV} ${GO_ENV} gmake -f Makefile.freebsd binary
  54.  
  55. -do-install:
  56. -   @${MKDIR} ${STAGEDIR}${PREFIX}/bin
  57. -   ${INSTALL_PROGRAM} ${WRKSRC}/bundles/latest/binary/docker ${STAGEDIR}${PREFIX}/bin/
  58. +post-stage:
  59. +.for f in ${PLIST_FILES}
  60. +   ${INSTALL_PROGRAM} ${WRKSRC}/bundles/${f} ${STAGEDIR}${PREFIX}/bin
  61. +.endfor
  62.  
  63.  .include <bsd.port.mk>
  64. Index: distinfo
  65. ===================================================================
  66. --- distinfo    (revision 449311)
  67. +++ distinfo    (working copy)
  68. @@ -1,2 +1,3 @@
  69. -SHA256 (kvasdopil-docker-20150625-582db78_GH0.tar.gz) = a750d344af4af3d30b1a3373f382ab597a2a7aa4a0bb5c22d650d0c5cc9ac506
  70. -SIZE (kvasdopil-docker-20150625-582db78_GH0.tar.gz) = 7292884
  71. +TIMESTAMP = 1504640503
  72. +SHA256 (freebsd-docker-docker-HEAD_GH0.tar.gz) = 0935109b732cda3b31dc517e5a497fe3807857fd830fce17eb743381692b1351
  73. +SIZE (freebsd-docker-docker-HEAD_GH0.tar.gz) = 7180365
Add Comment
Please, Sign In to add comment