Skip to content

Commit

Permalink
www/nextcloud: Chase change of /apps path
Browse files Browse the repository at this point in the history
 - WWWDIR/apps to WWWDIR/apps-pkg
 - Bump portrevision to force reinstall
 - Update Nextcloud version dependencies

PR:		227133
  • Loading branch information
Sp1l committed Apr 4, 2018
1 parent eb4b2f5 commit 8934fbc
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 14 deletions.
5 changes: 3 additions & 2 deletions mail/nextcloud-mail/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

PORTNAME= mail
PORTVERSION= 0.7.10
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= mail
MASTER_SITES= https://github.com/${PKGNAMEPREFIX:S/-//}/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/
Expand All @@ -15,7 +16,7 @@ COMMENT= Mail app for Nextcloud

LICENSE= AGPLv3

RUN_DEPENDS= nextcloud>=12:www/nextcloud
RUN_DEPENDS= nextcloud>=13:www/nextcloud

USES= gettext php
USE_PHP= imap
Expand All @@ -29,7 +30,7 @@ NEXTCLOUD_GROUPNAME?= ${WWWGRP}
PLIST_SUB= NEXTCLOUD_USERNAME=${NEXTCLOUD_USERNAME} \
NEXTCLOUD_GROUPNAME=${NEXTCLOUD_GROUPNAME}

WWWDIR= ${PREFIX}/www/nextcloud/apps/${PORTNAME}
WWWDIR= ${PREFIX}/www/nextcloud/apps-pkg/${PORTNAME}

do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
Expand Down
3 changes: 2 additions & 1 deletion security/nextcloud-passman/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

PORTNAME= passman
PORTVERSION= 2.1.4
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://releases.passman.cc/
PKGNAMEPREFIX= nextcloud-
Expand All @@ -22,7 +23,7 @@ USES= php
NO_BUILD= yes
NO_ARCH= yes

WWWDIR= ${PREFIX}/www/nextcloud/apps/${PORTNAME}
WWWDIR= ${PREFIX}/www/nextcloud/apps-pkg/${PORTNAME}

do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
Expand Down
5 changes: 3 additions & 2 deletions security/nextcloud-twofactor_totp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

PORTNAME= twofactor_totp
PORTVERSION= 1.4.1
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://github.com/${PKGNAMEPREFIX:S/-//}/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/
PKGNAMEPREFIX= nextcloud-
Expand All @@ -15,7 +16,7 @@ COMMENT= TOTP multi-factor auth app for Nextcloud
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/COPYING

RUN_DEPENDS= nextcloud>=12:www/nextcloud
RUN_DEPENDS= nextcloud>=13:www/nextcloud

USES= php
NO_BUILD= yes
Expand All @@ -27,7 +28,7 @@ NEXTCLOUD_GROUPNAME?= ${WWWGRP}
PLIST_SUB= NEXTCLOUD_USERNAME=${NEXTCLOUD_USERNAME} \
NEXTCLOUD_GROUPNAME=${NEXTCLOUD_GROUPNAME}

WWWDIR= ${PREFIX}/www/nextcloud/apps/${PORTNAME}
WWWDIR= ${PREFIX}/www/nextcloud/apps-pkg/${PORTNAME}

do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
Expand Down
5 changes: 3 additions & 2 deletions security/nextcloud-twofactor_u2f/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

PORTNAME= twofactor_u2f
PORTVERSION= 1.5.2
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://github.com/${PKGNAMEPREFIX:S/-//}/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/
PKGNAMEPREFIX= nextcloud-
Expand All @@ -15,13 +16,13 @@ COMMENT= U2F multi-factor auth app for Nextcloud
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/COPYING

RUN_DEPENDS= nextcloud>=12:www/nextcloud
RUN_DEPENDS= nextcloud>=13.0.1:www/nextcloud

USES= php
NO_BUILD= yes
NO_ARCH= yes

WWWDIR= ${PREFIX}/www/nextcloud/apps/${PORTNAME}
WWWDIR= ${PREFIX}/www/nextcloud/apps-pkg/${PORTNAME}

do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
Expand Down
5 changes: 3 additions & 2 deletions www/nextcloud-calendar/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

PORTNAME= calendar
PORTVERSION= 1.6.1
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES= https://github.com/${PKGNAMEPREFIX:S/-//}/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/
Expand All @@ -15,7 +16,7 @@ COMMENT= Calendar app for Nextcloud

LICENSE= AGPLv3

RUN_DEPENDS= nextcloud>=12:www/nextcloud
RUN_DEPENDS= nextcloud>=13:www/nextcloud

USES= php
NO_BUILD= yes
Expand All @@ -27,7 +28,7 @@ NEXTCLOUD_GROUPNAME?= ${WWWGRP}
PLIST_SUB= NEXTCLOUD_USERNAME=${NEXTCLOUD_USERNAME} \
NEXTCLOUD_GROUPNAME=${NEXTCLOUD_GROUPNAME}

WWWDIR= ${PREFIX}/www/nextcloud/apps/${PORTNAME}
WWWDIR= ${PREFIX}/www/nextcloud/apps-pkg/${PORTNAME}

do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
Expand Down
5 changes: 3 additions & 2 deletions www/nextcloud-contacts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

PORTNAME= contacts
PORTVERSION= 2.1.3
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES= https://github.com/${PKGNAMEPREFIX:S/-//}/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/
Expand All @@ -15,7 +16,7 @@ COMMENT= Contacts app for Nextcloud

LICENSE= AGPLv3

RUN_DEPENDS= nextcloud>=11:www/nextcloud
RUN_DEPENDS= nextcloud>=12:www/nextcloud

USES= php
NO_BUILD= yes
Expand All @@ -27,7 +28,7 @@ NEXTCLOUD_GROUPNAME?= ${WWWGRP}
PLIST_SUB= NEXTCLOUD_USERNAME=${NEXTCLOUD_USERNAME} \
NEXTCLOUD_GROUPNAME=${NEXTCLOUD_GROUPNAME}

WWWDIR= ${PREFIX}/www/nextcloud/apps/${PORTNAME}
WWWDIR= ${PREFIX}/www/nextcloud/apps-pkg/${PORTNAME}

do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
Expand Down
3 changes: 2 additions & 1 deletion www/nextcloud-notes/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

PORTNAME= notes
PORTVERSION= 2.3.2
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES= https://github.com/${PKGNAMEPREFIX:S/-//}/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/
Expand All @@ -28,7 +29,7 @@ NEXTCLOUD_GROUPNAME?= ${WWWGRP}
PLIST_SUB= NEXTCLOUD_USERNAME=${NEXTCLOUD_USERNAME} \
NEXTCLOUD_GROUPNAME=${NEXTCLOUD_GROUPNAME}

WWWDIR= ${PREFIX}/www/nextcloud/apps/${PORTNAME}
WWWDIR= ${PREFIX}/www/nextcloud/apps-pkg/${PORTNAME}

do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
Expand Down
5 changes: 3 additions & 2 deletions www/nextcloud-tasks/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

PORTNAME= tasks
PORTVERSION= 0.9.6
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES= https://github.com/${PKGNAMEPREFIX:S/-//}/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/
Expand All @@ -16,7 +17,7 @@ COMMENT= Tasks app for Nextcloud
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE

RUN_DEPENDS= nextcloud>=10:www/nextcloud
RUN_DEPENDS= nextcloud>=12:www/nextcloud

USES= php
NO_BUILD= yes
Expand All @@ -28,7 +29,7 @@ NEXTCLOUD_GROUPNAME?= ${WWWGRP}
PLIST_SUB= NEXTCLOUD_USERNAME=${NEXTCLOUD_USERNAME} \
NEXTCLOUD_GROUPNAME=${NEXTCLOUD_GROUPNAME}

WWWDIR= ${PREFIX}/www/nextcloud/apps/${PORTNAME}
WWWDIR= ${PREFIX}/www/nextcloud/apps-pkg/${PORTNAME}

do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
Expand Down

0 comments on commit 8934fbc

Please sign in to comment.