aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2012-12-21 03:31:18 +0800
committermarcus <marcus@FreeBSD.org>2012-12-21 03:31:18 +0800
commiteccc5279de79aa7d8bfd6295b1a120b697574bc1 (patch)
treef49a9fdef71da7df192d060b8ea51f9b616dec1c
parentf75b3519574c6672b59fbeac8f5d8ce51c0540fe (diff)
downloadfreebsd-ports-gnome-eccc5279de79aa7d8bfd6295b1a120b697574bc1.tar.gz
freebsd-ports-gnome-eccc5279de79aa7d8bfd6295b1a120b697574bc1.tar.zst
freebsd-ports-gnome-eccc5279de79aa7d8bfd6295b1a120b697574bc1.zip
* Port PORTEPOCH to fix portaudit warnings (conflict with net/netatalk)
* Fix installation of default afp.conf file * Clean up some portlint warnings
-rw-r--r--net/netatalk3/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/netatalk3/Makefile b/net/netatalk3/Makefile
index c59901d56714..c515fda28d44 100644
--- a/net/netatalk3/Makefile
+++ b/net/netatalk3/Makefile
@@ -7,6 +7,7 @@
PORTNAME= netatalk
PORTVERSION= 3.0.1
+PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= SF
@@ -14,7 +15,7 @@ MAINTAINER= marcus@FreeBSD.org
COMMENT= File server for Mac OS X
LIB_DEPENDS= gcrypt:${PORTSDIR}/security/libgcrypt \
- event-2.0:${PORTSDIR}/devel/libevent2
+ event-2:${PORTSDIR}/devel/libevent2
LATEST_LINK= netatalk3
USE_AUTOTOOLS= libtool
@@ -81,7 +82,7 @@ PLIST_SUB+= NETATALKPAM="@comment "
.if defined (WITH_ZEROCONF)
CONFIGURE_ARGS+= --enable-zeroconf=${LOCALBASE}
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
-LIB_DEPENDS+= avahi-client.3:${PORTSDIR}/net/avahi-app
+LIB_DEPENDS+= avahi-client:${PORTSDIR}/net/avahi-app
USE_GNOME+= pkgconfig
SUB_LIST+= ZEROCONF="avahi_daemon"
.else
@@ -118,6 +119,8 @@ post-patch:
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/contrib/macusers/macusers \
${PREFIX}/bin/macusers
+ [ -f ${PREFIX}/etc/apf.conf ] || \
+ ${INSTALL_DATA} -c ${PREFIX}/etc/afp.conf.dist ${PREFIX}/etc/afp.conf
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>