Skip to content

Commit

Permalink
www/apt-cacher-ng: Remove commented directives
Browse files Browse the repository at this point in the history
- Pet portclippy
- Pet portlint

Approved by:	portmgr (blanket)
  • Loading branch information
5u623l20 committed Oct 17, 2023
1 parent 4a733a5 commit 65ccce0
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions www/apt-cacher-ng/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PORTNAME= apt-cacher-ng
PORTVERSION= 3.2.1
CATEGORIES= www
MASTER_SITES= DEBIAN_POOL/apt-cacher-ng
DISTFILES= ${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX}
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig

MAINTAINER= keve@keve.hu
COMMENT= Specialized http/s proxy for caching software distribution sites
Expand All @@ -24,29 +24,23 @@ CMAKE_ARGS= -DLIBDIR:PATH=${DATADIR} \
SUB_FILES= backends_debian backends_freebsd backends_ubuntu \
freebsd_mirrors pkg-message

WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}

OPTIONS_DEFINE= DOCS SSL FUSE
OPTIONS_DEFAULT= SSL
OPTIONS_SUB= yes

FUSE_DESC= FUSE support for interfacing with the proxy via acngfs
SSL_DESC= SSL support to allow proxying https sites

SSL_CMAKE_BOOL= USE_SSL
FUSE_USES= fuse pkgconfig
FUSE_CMAKE_BOOL= USE_FUSE
SSL_USES= ssl
SSL_CMAKE_BOOL= USE_SSL
SSL_CMAKE_ON= -Dopenssl_FOUND=1 \
-Dopenssl_CFLAGS="-I ${OPENSSLINC}" \
-Dopenssl_LDFLAGS="-L ${OPENSSLLIB} -lssl -lcrypto"

FUSE_DESC= FUSE support for interfacing with the proxy via acngfs

FUSE_CMAKE_BOOL= USE_FUSE
FUSE_USES= fuse pkgconfig

.include <bsd.port.pre.mk>

#.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
#CXXFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L
#.endif

post-install:
${MV} ${STAGEDIR}${ETCDIR}/acng.conf ${STAGEDIR}${ETCDIR}/acng.conf.sample
${MV} ${STAGEDIR}${ETCDIR}/security.conf ${STAGEDIR}${ETCDIR}/security.conf.sample
Expand All @@ -58,4 +52,4 @@ post-install:
${MKDIR} ${STAGEDIR}/var/cache/apt-cacher-ng \
${STAGEDIR}/var/log/apt-cacher-ng

.include <bsd.port.post.mk>
.include <bsd.port.mk>

0 comments on commit 65ccce0

Please sign in to comment.