1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00

- Update to 18.04

- Switch to using Github sources, easier to maintain
- Remove dependency on git
- Add dependency on autoreconf as we are now using sources from git
- Thanks to Bernhard, and reporter for help with testing

PR:		228935
Reported by:	post at zuglufttier dot de
This commit is contained in:
Ashish SHUKLA 2018-06-27 04:39:44 +00:00
parent fcbd9cf4c7
commit 24ccc48c53
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473417
5 changed files with 705 additions and 548 deletions

View File

@ -1,12 +1,8 @@
# $FreeBSD$
PORTNAME= ejabberd
PORTVERSION= 18.03
PORTVERSION= 18.04
CATEGORIES= net-im
MASTER_SITES= http://www.process-one.net/downloads/${PORTNAME}/${PORTVERSION}/:p1 \
http://distfiles.pirateparty.in/ashish/:deps \
LOCAL/ashish:deps
DISTFILES+= ${DISTNAME}.tgz:p1 ejabberd-deps-18.tar.xz:deps
MAINTAINER= ashish@FreeBSD.org
COMMENT= Free and Open Source distributed fault-tolerant Jabber server
@ -14,8 +10,7 @@ COMMENT= Free and Open Source distributed fault-tolerant Jabber server
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= erlc:lang/erlang \
git:devel/git
BUILD_DEPENDS= erlc:lang/erlang
RUN_DEPENDS= erl:lang/erlang
LIB_DEPENDS= libexpat.so:textproc/expat2 \
libyaml.so:textproc/libyaml \
@ -27,11 +22,28 @@ USERS= ejabberd
GROUPS= ${USERS}
GNU_CONFIGURE= yes
USES= cpe gmake pkgconfig shebangfix ssl jpeg
USES= cpe gmake pkgconfig shebangfix ssl jpeg autoreconf:build
USE_RC_SUBR= ${PORTNAME}
NOPRECIOUSMAKEVARS= yes
CPE_VENDOR= process-one
USE_GITHUB= yes
GH_ACCOUNT= processone
GH_TUPLE= erlang-lager:lager:${LAGER_VER}:lager/deps/lager \
processone:p1_utils:${P1_UTILS_VER}:p1_utils/deps/p1_utils \
processone:cache_tab:${CACHE_TAB_VER}:cache_tab/deps/cache_tab \
processone:fast_tls:${FAST_TLS_VER}:fast_tls/deps/fast_tls \
processone:stringprep:${STRINGPREP_VER}:stringprep/deps/stringprep \
processone:fast_xml:${FAST_XML_VER}:fast_xml/deps/fast_xml \
processone:xmpp:${XMPP_VER}:xmpp/deps/xmpp \
processone:fast_yaml:${FAST_YAML_VER}:fast_yaml/deps/fast_yaml \
davisp:jiffy:${JIFFY_VER}:jiffy/deps/jiffy \
processone:p1_oauth2:${P1_OAUTH2_VER}:p1_oauth2/deps/p1_oauth2 \
potatosalad:erlang-jose:${JOSE_VER}:jose/deps/jose \
processone:eimp:${EIMP_VER}:eimp/deps/eimp \
DeadZen:goldrush:${GOLDRUSH_VER}:goldrush/deps/goldrush \
dvv:base64url:f2c64ed8:base64url/deps/base64url
OPTIONS_DEFINE= ODBC PAM DOCS MYSQL PGSQL ICONV RIAK ZLIB REDIS SIP SQLITE \
STUN TOOLS FULLXML
OPTIONS_DEFAULT= ICONV
@ -43,15 +55,69 @@ MAKE_ARGS= "CPPFLAGS=${CPPFLAGS}" "CFLAGS=${CFLAGS}" "LDFLAGS=${LDFLAGS}"
CPPFLAGS+= -I${LOCALBASE}/include
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_SUB= PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} \
EJABBERD_LIBDIR=${EJABBERD_LIBDIR}
SUBS= PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} \
EJABBERD_LIBDIR=${EJABBERD_LIBDIR} \
BASE64URL_VER=${BASE64URL_VER} \
CACHE_TAB_VER=${CACHE_TAB_VER} EIMP_VER=${EIMP_VER} \
EPAM_VER=${EPAM_VER} EREDIS_VER=${EREDIS_VER} \
ESIP_VER=${ESIP_VER} EZLIB_VER=${EZLIB_VER} \
FAST_TLS_VER=${FAST_TLS_VER} \
FAST_XML_VER=${FAST_XML_VER} \
FAST_YAML_VER=${FAST_YAML_VER} \
GOLDRUSH_VER=${GOLDRUSH_VER} \
HAMCREST_VER=${HAMCREST_VER} ICONV_VER=${ICONV_VER} \
JIFFY_VER=${JIFFY_VER} JOSE_VER=${JOSE_VER} \
LAGER_VER=${LAGER_VER} LUERL_VER=${LUERL_VER} \
MECK_VER=${MECK_VER} MOKA_VER=${MOKA_VER} \
P1_MYSQL_VER=${P1_MYSQL_VER} \
P1_OAUTH2_VER=${P1_OAUTH2_VER} \
P1_PGSQL_VER=${P1_PGSQL_VER} \
P1_UTILS_VER=${P1_UTILS_VER} \
RIAK_PB_VER=${RIAK_PB_VER} RIAKC_VER=${RIAKC_VER} \
SAMERLIB_VER=${SAMERLIB_VER} \
SQLITE3_VER=${SQLITE3_VER} \
STRINGPREP_VER=${STRINGPREP_VER} STUN_VER=${STUN_VER} \
XMPP_VER=${XMPP_VER}
SUB_FILES= pkg-message pkg-install
SUB_LIST= PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} \
PLIST_SUB= ${SUBS}
SUB_LIST= ${SUBS} \
USERS=${USERS} GROUPS=${GROUPS} SHAREMODE=${SHAREMODE} \
SHAREOWN=${SHAREOWN} SHAREGRP=${SHAREGRP} \
EJABBERD_LIBDIR=${EJABBERD_LIBDIR}
SHEBANG_FILES= ${WRKSRC}/ejabberdctl.template
BASE64URL_VER= 0.0.1
CACHE_TAB_VER= 1.0.13
EIMP_VER= 1.0.5
EPAM_VER= 1.0.4
EREDIS_VER= 1.0.8
ESIP_VER= 1.0.23
EZLIB_VER= 1.0.4
FAST_TLS_VER= 1.0.22
FAST_XML_VER= 1.1.30
FAST_YAML_VER= 1.0.14
GOLDRUSH_VER= 0.1.9
HAMCREST_VER= 0.4.1
ICONV_VER= 1.0.7
JIFFY_VER= 0.14.8
JOSE_VER= 1.8.4
LAGER_VER= 3.4.2
LUERL_VER= 0.3
MECK_VER= 0.8.4
MOKA_VER= 1.0.5c
P1_MYSQL_VER= 1.0.5
P1_OAUTH2_VER= 0.6.3
P1_PGSQL_VER= 1.1.5
P1_UTILS_VER= 1.0.11
RIAK_PB_VER= 2.3.2
RIAKC_VER= 2.5.3
SAMERLIB_VER= 0.8.0c
SQLITE3_VER= 1.1.6
STRINGPREP_VER= 1.0.11
STUN_VER= 1.0.22
XMPP_VER= 1.1.21
OPTIONS_SUB= yes
RIAK_DESC= Riak database support
SIP_DESC= SIP support
@ -59,30 +125,50 @@ STUN_DESC= STUN/TURN support
TOOLS_DESC= Build development tools
FULLXML_DESC= Full XML support
PAM_CONFIGURE_ENABLE= pam
PAM_GH_TUPLE= processone:epam:${EPAM_VER}:epam/deps/epam
ODBC_CONFIGURE_ENABLE= odbc
MYSQL_CONFIGURE_ENABLE= mysql
MYSQL_GH_TUPLE= processone:p1_mysql:${P1_MYSQL_VER}:p1_mysql/deps/p1_mysql
PGSQL_CONFIGURE_ENABLE= pgsql
PGSQL_GH_TUPLE= processone:p1_pgsql:${P1_PGSQL_VER}:p1_pgsql/deps/p1_pgsql
RIAK_CONFIGURE_ENABLE= riak
RIAK_GH_TUPLE= processone:riak-erlang-client:${RIAKC_VER}:riakc/deps/riakc \
basho:riak_pb:${RIAK_PB_VER}:riak_pb/deps/riak_pb \
basho:hamcrest-erlang:${HAMCREST_VER}:hamcrest/deps/hamcrest
ICONV_CONFIGURE_ENABLE= iconv
ICONV_GH_TUPLE= processone:iconv:${ICONV_VER}:iconv/deps/iconv
REDIS_CONFIGURE_ENABLE= redis
REDIS_GH_TUPLE= wooga:eredis:v${EREDIS_VER}:eredis/deps/eredis
SIP_CONFIGURE_ENABLE= sip
SIP_GH_TUPLE= processone:esip:${ESIP_VER}:esip/deps/esip
STUN_CONFIGURE_ENABLE= stun
STUN_GH_TUPLE= processone:stun:${STUN_VER}:stun/deps/stun
SQLITE_CONFIGURE_ENABLE=sqlite
SQLITE_GH_TUPLE= processone:erlang-sqlite3:${SQLITE3_VER}:sqlite3/deps/sqlite3
TOOLS_CONFIGURE_ENABLE= tools
TOOLS_GH_TUPLE= rvirding:luerl:v${LUERL_VER}:luerl/deps/luerl \
eproxus:meck:${MECK_VER}:meck/deps/meck \
processone:moka:${MOKA_VER}:moka/deps/moka \
processone:samerlib:${SAMERLIB_VER}:samerlib/deps/samerlib
FULLXML_CONFIGURE_ENABLE= full-xml
ZLIB_CONFIGURE_ENABLE= zlib
ZLIB_GH_TUPLE= processone:ezlib:${EZLIB_VER}:ezlib/deps/ezlib
SQLITE_USES= sqlite
ICONV_USES= iconv:wchar_t
ICONV_LDFLAGS= ${ICONV_LIB}
DOCS_MAKE_ARGS_OFF= NOPORTDOCS=yes
post-extract:
@${LN} -s ${WRKDIR}/deps ${WRKSRC}/
post-patch:
@${REINPLACE_CMD} -e 's,^convert,${LOCALBASE}/bin/convert,' ${WRKSRC}/tools/captcha.sh
@${REINPLACE_CMD} -e 's,%%PORTVERSION%%,${PORTVERSION},' ${WRKSRC}/configure.ac
@${REINPLACE_CMD} -e '/vsn/s/git/"${JIFFY_VER}"/' ${WRKSRC}/deps/jiffy/src/jiffy.app.src
post-patch-RIAK-on:
@${REINPLACE_CMD} -e '/vsn/s/git/"${RIAK_PB_VER}"/' ${WRKSRC}/deps/riak_pb/src/riak_pb.app.src
@${REINPLACE_CMD} -e '/vsn/s/git/"${RIAKC_VER}"/' ${WRKSRC}/deps/riakc/src/riakc.app.src
pre-configure:
cd ${WRKSRC} && ${SH} autogen.sh
@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
${WRKSRC}/ejabberdctl.template
@ -93,9 +179,9 @@ pre-install:
post-install-PAM-on:
${INSTALL} -m 444 ${FILESDIR}/pam_ejabberd \
${STAGEDIR}${PREFIX}/etc/pam.d/ejabberd
${INSTALL} -m 0750 ${STAGEDIR}${PREFIX}/${EJABBERD_LIBDIR}/${PORTNAME}-${PORTVERSION}/lib/epam-1.0.4/priv/bin/epam \
${INSTALL} -m 0750 ${STAGEDIR}${PREFIX}/${EJABBERD_LIBDIR}/${PORTNAME}-${PORTVERSION}/lib/epam-${EPAM_VER}/priv/bin/epam \
${STAGEDIR}${PREFIX}/${EJABBERD_LIBDIR}/${PORTNAME}-${PORTVERSION}/priv/bin/epam
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${EJABBERD_LIBDIR}/${PORTNAME}-${PORTVERSION}/lib/epam-1.0.4/priv/bin/epam \
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${EJABBERD_LIBDIR}/${PORTNAME}-${PORTVERSION}/lib/epam-${EPAM_VER}/priv/bin/epam \
${STAGEDIR}${PREFIX}/${EJABBERD_LIBDIR}/${PORTNAME}-${PORTVERSION}/priv/bin/epam
post-install:
@ -105,7 +191,7 @@ post-install:
${INSTALL_SCRIPT} ${STAGEDIR}${PREFIX}/${EJABBERD_LIBDIR}/${PORTNAME}-${PORTVERSION}/priv/bin/captcha.sh \
${STAGEDIR}${DATADIR}
@${REINPLACE_CMD} -r -e '/captcha_cmd:/s,"[^"]+","${DATADIR}/captcha.sh",' ${STAGEDIR}${ETCDIR}/${PORTNAME}.yml.example
@${CHMOD} +x ${STAGEDIR}${PREFIX}/${EJABBERD_LIBDIR}/${PORTNAME}-${PORTVERSION}/lib/eimp-1.0.3/priv/bin/eimp
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${EJABBERD_LIBDIR}/${PORTNAME}-${PORTVERSION}/lib/eimp-1.0.3/priv/bin/eimp
@${CHMOD} +x ${STAGEDIR}${PREFIX}/${EJABBERD_LIBDIR}/${PORTNAME}-${PORTVERSION}/lib/eimp-${EIMP_VER}/priv/bin/eimp
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${EJABBERD_LIBDIR}/${PORTNAME}-${PORTVERSION}/lib/eimp-${EIMP_VER}/priv/bin/eimp
.include <bsd.port.mk>

View File

@ -1,5 +1,63 @@
TIMESTAMP = 1523826300
SHA256 (ejabberd-18.03.tgz) = 9688dc8eafd7746b8c6594fa7e2857d7dfdffa501e4d1103fb88031371c89c6e
SIZE (ejabberd-18.03.tgz) = 1864193
SHA256 (ejabberd-deps-18.tar.xz) = 3bbc119c555c7819e0ace72613542eb71109f87713e876ccf86751fa328e0a13
SIZE (ejabberd-deps-18.tar.xz) = 33846932
TIMESTAMP = 1529865897
SHA256 (processone-ejabberd-18.04_GH0.tar.gz) = 9231427462d7af9b7eddff7177b4480aca16bb9a53997c5b464cb88bdc05d601
SIZE (processone-ejabberd-18.04_GH0.tar.gz) = 1827550
SHA256 (erlang-lager-lager-3.4.2_GH0.tar.gz) = c5f532dd236e07dad27976abcf12b9c90fcf33ffd6fe1b1d34639c06171c36ea
SIZE (erlang-lager-lager-3.4.2_GH0.tar.gz) = 252971
SHA256 (processone-p1_utils-1.0.11_GH0.tar.gz) = 049aa0df2b5a08952498116166a3d4ec0e4258aa147533cada5e50bb76e70ea2
SIZE (processone-p1_utils-1.0.11_GH0.tar.gz) = 55119
SHA256 (processone-cache_tab-1.0.13_GH0.tar.gz) = d16f43a746d7daeaab92fb33c9837ac5d11264fde5c3522259bb5fd74813bad1
SIZE (processone-cache_tab-1.0.13_GH0.tar.gz) = 18675
SHA256 (processone-fast_tls-1.0.22_GH0.tar.gz) = 861d198d9cb296d4430085abbc487dbe31ab96ad76d5196dbbe89cf11d197f3c
SIZE (processone-fast_tls-1.0.22_GH0.tar.gz) = 75596
SHA256 (processone-stringprep-1.0.11_GH0.tar.gz) = 5e50fe7139058e59846fb61e1468eb87d1bb3fcdf4148e62a35bf7488f79456d
SIZE (processone-stringprep-1.0.11_GH0.tar.gz) = 95638
SHA256 (processone-fast_xml-1.1.30_GH0.tar.gz) = 355e357dee227607e6014db75deb95e394d03855eac9904b04406050cd127be4
SIZE (processone-fast_xml-1.1.30_GH0.tar.gz) = 93428
SHA256 (processone-xmpp-1.1.21_GH0.tar.gz) = 8cd0828d6207e6d4f1ef29bb652b98208b2840a99580f003b1ee8fa2d0cedad1
SIZE (processone-xmpp-1.1.21_GH0.tar.gz) = 398788
SHA256 (processone-fast_yaml-1.0.14_GH0.tar.gz) = ad40fe48cea28a8630d24c7e36d3e4825e0768bab7812f00f116bf196a8dc4a5
SIZE (processone-fast_yaml-1.0.14_GH0.tar.gz) = 49801
SHA256 (davisp-jiffy-0.14.8_GH0.tar.gz) = 7d1054c475c82c626de3ad57201a7fc51da38667c8a7502149eb751edc6b601d
SIZE (davisp-jiffy-0.14.8_GH0.tar.gz) = 1856737
SHA256 (processone-p1_oauth2-0.6.3_GH0.tar.gz) = d7d954376ae7c131a0884c7c80b0b9e8270b6f574182df59ce4f2fbbae322854
SIZE (processone-p1_oauth2-0.6.3_GH0.tar.gz) = 213860
SHA256 (potatosalad-erlang-jose-1.8.4_GH0.tar.gz) = a21d514c8b079497f237359f718881d8d5b847cf07e696c2839d1e726e97009a
SIZE (potatosalad-erlang-jose-1.8.4_GH0.tar.gz) = 230947
SHA256 (processone-eimp-1.0.5_GH0.tar.gz) = 34e47cd35bd1b26504ad62742ca79aa7b72c3fabbb40026f39046e34e59bdb93
SIZE (processone-eimp-1.0.5_GH0.tar.gz) = 3471316
SHA256 (DeadZen-goldrush-0.1.9_GH0.tar.gz) = 6fb8ac6345d940396ecf89d4ce6b9b809039f336d85d7a54239e85106a807612
SIZE (DeadZen-goldrush-0.1.9_GH0.tar.gz) = 24548
SHA256 (dvv-base64url-f2c64ed8_GH0.tar.gz) = d300342e54059b5147b14b2680808354c26c17b1c785b3a0f658644524eda208
SIZE (dvv-base64url-f2c64ed8_GH0.tar.gz) = 2769
SHA256 (processone-iconv-1.0.7_GH0.tar.gz) = 25be781c5d676a397c88ecf18c930dd420b5277319e2f596277271edfc011dd1
SIZE (processone-iconv-1.0.7_GH0.tar.gz) = 121563
SHA256 (processone-p1_mysql-1.0.5_GH0.tar.gz) = a8cdeaf1a9568577bb0bcfa3f06c863ff5ac142e1b9b02bc5d492afe954010e5
SIZE (processone-p1_mysql-1.0.5_GH0.tar.gz) = 19799
SHA256 (processone-epam-1.0.4_GH0.tar.gz) = 50faf47b1a130525beaf3fcbf8f0412e9626b9e3fde2c082dcada50aaf3330a4
SIZE (processone-epam-1.0.4_GH0.tar.gz) = 43816
SHA256 (processone-p1_pgsql-1.1.5_GH0.tar.gz) = ec73814a9b7a2810881bd9a4df45fd7a5694752017f04cccc5ea4e76ade08520
SIZE (processone-p1_pgsql-1.1.5_GH0.tar.gz) = 20070
SHA256 (wooga-eredis-v1.0.8_GH0.tar.gz) = cd75c5b19dca8b23ec998fecf83ea5f0e29f3cb75618a61d3080168c66509b56
SIZE (wooga-eredis-v1.0.8_GH0.tar.gz) = 124993
SHA256 (processone-riak-erlang-client-2.5.3_GH0.tar.gz) = 745ef053d98935115279518e45bb0d9583dfe4bca084f812bb8b8658c33f0ace
SIZE (processone-riak-erlang-client-2.5.3_GH0.tar.gz) = 275597
SHA256 (basho-riak_pb-2.3.2_GH0.tar.gz) = c42a96ab46a9ac81e4278fac45010e18014f0e3c063ad90a4f763d828b97320d
SIZE (basho-riak_pb-2.3.2_GH0.tar.gz) = 387073
SHA256 (basho-hamcrest-erlang-0.4.1_GH0.tar.gz) = 4808f973e5df50761a093579124a52b661803dac74061b87c7642c5c14b0a2db
SIZE (basho-hamcrest-erlang-0.4.1_GH0.tar.gz) = 162203
SHA256 (processone-esip-1.0.23_GH0.tar.gz) = a14f347208f73557337b656263d071586886f108fdb21817d637136befc117ba
SIZE (processone-esip-1.0.23_GH0.tar.gz) = 85769
SHA256 (processone-erlang-sqlite3-1.1.6_GH0.tar.gz) = dec01d20fa8df7d7690514ccae413cfa56fac7373d0a569cd44b43fe0f11e79a
SIZE (processone-erlang-sqlite3-1.1.6_GH0.tar.gz) = 1834834
SHA256 (processone-stun-1.0.22_GH0.tar.gz) = 372a78f3ff1387871d2c11a251ee1bfa334d87ae6d5957b7de0767b629d5444b
SIZE (processone-stun-1.0.22_GH0.tar.gz) = 29271
SHA256 (rvirding-luerl-v0.3_GH0.tar.gz) = 37c6d2be8ecc624a8bf469b80609c4e3f2f079c30886575c31c46391dfedfec6
SIZE (rvirding-luerl-v0.3_GH0.tar.gz) = 95182
SHA256 (eproxus-meck-0.8.4_GH0.tar.gz) = b4f951841c69a75a735ea4aea682899f19f254467c749df596f90757e51104b6
SIZE (eproxus-meck-0.8.4_GH0.tar.gz) = 234157
SHA256 (processone-moka-1.0.5c_GH0.tar.gz) = 502c11c3b5588911e3eb09079ab0bcd2376c8dc75de910be90d1f5b1cd32ea39
SIZE (processone-moka-1.0.5c_GH0.tar.gz) = 1605750
SHA256 (processone-samerlib-0.8.0c_GH0.tar.gz) = 84024a1bbaa114fa9dbab0f0b0dda7baed9c28dd9e2b48b6c5ac3fa3c6ea6157
SIZE (processone-samerlib-0.8.0c_GH0.tar.gz) = 17760
SHA256 (processone-ezlib-1.0.4_GH0.tar.gz) = 3328661c512c28e68db69b82202b8d6c4127f31f2aefc5b0040ba9bce6abe9b3
SIZE (processone-ezlib-1.0.4_GH0.tar.gz) = 45510

View File

@ -0,0 +1,11 @@
--- configure.ac.orig 2018-04-25 10:30:00 UTC
+++ configure.ac
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.53)
-AC_INIT(ejabberd, m4_esyscmd([echo `git describe --tags 2>/dev/null || echo 0.0` | sed 's/-g.*//;s/-/./' | tr -d '\012']), [ejabberd@process-one.net], [ejabberd])
+AC_INIT(ejabberd, %%PORTVERSION%%, [ejabberd@process-one.net], [ejabberd])
REQUIRE_ERLANG_MIN="6.4 (Erlang/OTP 17.5)"
REQUIRE_ERLANG_MAX="100.0.0 (No Max)"

View File

@ -14,11 +14,11 @@ chown -R %%USERS%%:%%GROUPS%% %%PREFIX%%/%%EJABBERD_LIBDIR%%/%%PORTNAME%%-%%POR
find %%PREFIX%%/%%EJABBERD_LIBDIR%%/%%PORTNAME%%-%%PORTVERSION%% -type f -print0 | xargs -0 chmod %%SHAREMODE%%
find %%PREFIX%%/%%EJABBERD_LIBDIR%%/%%PORTNAME%%-%%PORTVERSION%% -type f -print0 | xargs -0 chown %%SHAREOWN%%:%%SHAREGRP%%
%%PAM%%chmod 4750 %%PREFIX%%/%%EJABBERD_LIBDIR%%/%%PORTNAME%%-%%PORTVERSION%%/lib/epam-1.0.4/priv/bin/epam \
%%PAM%%chmod 4750 %%PREFIX%%/%%EJABBERD_LIBDIR%%/%%PORTNAME%%-%%PORTVERSION%%/lib/epam-%%EPAM_VER%%/priv/bin/epam \
%%PAM%% %%PREFIX%%/%%EJABBERD_LIBDIR%%/%%PORTNAME%%-%%PORTVERSION%%/priv/bin/epam
%%PAM%%chown root:%%GROUPS%% %%PREFIX%%/%%EJABBERD_LIBDIR%%/%%PORTNAME%%-%%PORTVERSION%%/lib/epam-1.0.4/priv/bin/epam \
%%PAM%%chown root:%%GROUPS%% %%PREFIX%%/%%EJABBERD_LIBDIR%%/%%PORTNAME%%-%%PORTVERSION%%/lib/epam-%%EPAM_VER%%/priv/bin/epam \
%%PAM%% %%PREFIX%%/%%EJABBERD_LIBDIR%%/%%PORTNAME%%-%%PORTVERSION%%/priv/bin/epam
chmod +x %%PREFIX%%/%%EJABBERD_LIBDIR%%/%%PORTNAME%%-%%PORTVERSION%%/lib/eimp-1.0.3/priv/bin/eimp
chmod +x %%PREFIX%%/%%EJABBERD_LIBDIR%%/%%PORTNAME%%-%%PORTVERSION%%/lib/eimp-%%EIMP_VER%%/priv/bin/eimp
exit 0

File diff suppressed because it is too large Load Diff