Skip to content

Commit

Permalink
net-mgmt/phpipam: Update version 1.5.2=>1.6.0
Browse files Browse the repository at this point in the history
- Switch to MASTER_SITES instead of USE_GITHUB
- Remove NOOP codes specially shell execution

Changelog: https://github.com/phpipam/phpipam/releases/tag/v1.6.0

PR:		275981
Approved by:	jake@xz.cx (maintainer-timeout)
  • Loading branch information
pacija authored and 5u623l20 committed Jan 12, 2024
1 parent b16de41 commit 52033fc
Show file tree
Hide file tree
Showing 3 changed files with 704 additions and 34 deletions.
21 changes: 6 additions & 15 deletions net-mgmt/phpipam/Makefile
@@ -1,6 +1,8 @@
PORTNAME= phpipam
DISTVERSION= 1.5.2
DISTVERSIONPREFIX= v
DISTVERSION= 1.6.0
CATEGORIES= net-mgmt
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSIONFULL}/

MAINTAINER= jake@xz.cx
COMMENT= PHP IP Address Management IPv4/IPv6
Expand All @@ -10,32 +12,21 @@ LICENSE= GPLv3

RUN_DEPENDS= ${LOCALBASE}/share/pear/System.php:devel/pear@${PHP_FLAVOR}

USES= cpe gettext php:web tar:
IGNORE_WITH_PHP= 82 83

USE_GITHUB= yes
GH_TAGNAME= be8a2c4

USES= cpe gettext php:web tar:tgz
USE_PHP= ctype curl dom filter gd gettext gmp iconv mbstring mcrypt \
pcntl pdo pdo_mysql posix session simplexml sockets

NO_ARCH= yes
NO_BUILD= yes

CFGFILE= config.php

SUB_FILES= pkg-message
SUB_LIST= DISTNAME=${DISTNAME}

WRKSRC= ${WRKDIR}/${PORTNAME}

OPTIONS_DEFINE= LDAP

LDAP_USE= PHP=ldap

pre-install:
@if [ -f ${WRKSRC}/${CFGFILE} ]; then \
${MV} ${WRKSRC}/${CFGFILE} ${WRKSRC}/${CFGFILE}.sample ; \
fi

do-install:
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} \
"! -name *.orig")
Expand Down
6 changes: 3 additions & 3 deletions net-mgmt/phpipam/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1680352825
SHA256 (phpipam-phpipam-1.5.2-be8a2c4_GH0.tar.gz) = 7f52d9988f66a17217a60b9b6cb31fcabcd454902f876524565e39f20d5f5d5f
SIZE (phpipam-phpipam-1.5.2-be8a2c4_GH0.tar.gz) = 5788841
TIMESTAMP = 1705047568
SHA256 (phpipam-v1.6.0.tgz) = 4d20497cb5e072261b3a35a2c0adeedbe08117ca50abab784f426b11dca93e11
SIZE (phpipam-v1.6.0.tgz) = 14251998

0 comments on commit 52033fc

Please sign in to comment.