403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/net/phpldapadmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/net/phpldapadmin/Makefile
PORTNAME=	phpldapadmin
PORTVERSION=	1.2.6.3
PORTREVISION=	1
CATEGORIES=	net www
PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}

MAINTAINER=	ports@bsdserwis.com
COMMENT=	PHP application to administer LDAP over the web
WWW=		http://phpldapadmin.sourceforge.net/

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cpe php:web,flavors tar:tgz
CPE_VENDOR=	phpldapadmin_project
USE_GITHUB=	yes
GH_ACCOUNT=	leenooks
GH_PROJECT=	phpLDAPadmin
USE_PHP=	gettext hash iconv ldap openssl pcre session xml

NO_ARCH=	yes
NO_BUILD=	yes

OPTIONS_DEFINE=	MCRYPT

MCRYPT_DESC=	Use pecl-mcrypt for password hashing
MCRYPT_USE=	PHP=mcrypt

.include <bsd.port.options.mk>

GROUPS?=	${WWWGRP}
CFGDIR=		config
CFGFILE=	config.php

PLIST=		${WRKDIR}/plist
PLIST_FILES=	'@sample(,${GROUPS},640) ${WWWDIR_REL}/config/config.php.example ${WWWDIR_REL}/config/config.php'

SUB_LIST+=	PKGNAME=${PKGNAME}
SUB_FILES+=	pkg-message

.SILENT:

.include <bsd.port.pre.mk>

post-patch:
	cd ${WRKSRC} ;							    \
	${CP} lib/Attribute.php lib/PLAAttribute.php;			    \
	${FIND} . ! -type d ! -name ${CFGFILE}.example ! -name .cvsignore   \
	    ! -name .gitignore ! -name *.orig 				    \
	    ! -name Attribute.php | ${SORT} |				    \
	    ${SED} -e "s!^\.!${WWWDIR_REL}!"			>${PLIST} ;

do-install:
	cd ${WRKSRC} ;					 \
	for src in $$( ${FIND} . ! -name .cvsignore	 \
		! -name .gitignore ! -name *.orig	 \
		! -name Attribute.php) ; do		 \
	    dst=${STAGEDIR}${WWWDIR}$${src#.} ;		 \
	    if ${TEST} -d $$src ; then			 \
		${MKDIR} $$dst ;			 \
	    else					 \
		${INSTALL_DATA} $$src $$dst ;		 \
	    fi						 \
	done

.include <bsd.port.post.mk>

Youez - 2016 - github.com/yon3zu
LinuXploit