diff --git a/archivers/arj/Makefile b/archivers/arj/Makefile index 4cc97a4858e8..b3ac16992d56 100644 --- a/archivers/arj/Makefile +++ b/archivers/arj/Makefile @@ -1,73 +1,74 @@ PORTNAME= arj PORTVERSION= 3.10.22 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= archivers MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2.78_3.10%20build%2022:source \ DEBIAN_POOL:patch DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz:source \ ${PORTNAME}_${PORTVERSION}-24.debian.tar.xz:patch MAINTAINER= garga@FreeBSD.org COMMENT= Open source implementation of the ARJ archiver WWW= https://arj.sourceforge.net/ LICENSE= GPLv2 IGNORE_PATCHES= 002_no_remove_static_const.patch \ doc_refer_robert_k_jung.patch \ gnu_build_cross.patch \ gnu_build_fix.patch \ gnu_build_flags.patch \ gnu_build_pie.patch \ gnu_build_strip.patch \ hurd_no_fcntl_getlk.patch \ reproducible_help_archive.patch USES= alias autoreconf gmake EXTRA_PATCHES= ${WRKDIR}/debian/patches/*.patch PATCH_STRIP= -p1 PORTSCOUT= skipv:3.10g -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share AUTORECONF_WRKSRC= ${WRKSRC}/gnu CONFIGURE_WRKSRC= ${WRKSRC}/gnu MAKEFILE= GNUmakefile ALL_TARGET= prepare all STRIP= # empty LLD_UNSAFE= yes PORTDOCS= * OPTIONS_DEFINE= DOCS OPTIONS_SINGLE= LOCALE OPTIONS_SINGLE_LOCALE= LOCALE_DE LOCALE_EN LOCALE_RU OPTIONS_DEFAULT=LOCALE_EN LOCALE_DESC= Select language to define at build time LOCALE_DE_DESC= German LOCALE_EN_DESC= English LOCALE_RU_DESC= Russian LOCALE_DE_MAKE_ARGS= LOCALE=de LOCALE_EN_MAKE_ARGS= LOCALE=en LOCALE_RU_MAKE_ARGS= LOCALE=ru pre-patch: @${RM} ${IGNORE_PATCHES:S,^,${WRKDIR}/debian/patches/,} post-patch: @${REINPLACE_CMD} -e 's!/etc!${LOCALBASE}/etc!' \ ${WRKSRC}/arj.c ${WRKSRC}/file_reg.c ${WRKSRC}/rearj.c @${REINPLACE_CMD} -e 's!-O2!!' -e 's!ALIGN_POINTERS!&,1,desc!' \ -e 's!USE_COLORS!&,1,desc!' -e '/LD_STRIP=/d' \ ${WRKSRC}/gnu/configure.in @${REINPLACE_CMD} -e 's!^static !!' ${WRKSRC}/integr.c post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${INSTALL_DATA} COPYING debug.txt \ ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/resource/en && ${INSTALL_DATA} arjl.txt arjs.txt \ history.txt readme.txt unix.txt ${STAGEDIR}${DOCSDIR} .include diff --git a/archivers/sharutils/Makefile b/archivers/sharutils/Makefile index eca8d7e1ba9d..7f74cc1d8736 100644 --- a/archivers/sharutils/Makefile +++ b/archivers/sharutils/Makefile @@ -1,59 +1,60 @@ PORTNAME= sharutils PORTVERSION= 4.15.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= archivers MASTER_SITES= GNU MAINTAINER= garga@FreeBSD.org COMMENT= Pack, send, and unpack shell archives; synchronize via e-mail WWW= https://www.gnu.org/s/sharutils/ LICENSE= GPLv3 USES= charsetfix cpe perl5 tar:xz OPTIONS_DEFINE= NLS -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --program-prefix=g --disable-uucode INSTALL_TARGET= install install-man INFO= sharutils USE_PERL5= build OPTIONS_SUB= yes CPE_VENDOR= gnu NLS_USES= gettext NLS_CONFIGURE_ON= --with-libintl-prefix="${LOCALBASE}" NLS_CONFIGURE_OFF= --disable-nls post-patch: @${REINPLACE_CMD} -e '/Please include config.h first./ s,^.*$$,#include ,' \ ${WRKSRC}/lib/unistd.in.h @${REINPLACE_CMD} -e '/char const . const program_name/d' \ ${WRKSRC}/src/shar-opts.h \ ${WRKSRC}/src/shar-opts.c \ ${WRKSRC}/src/unshar-opts.h \ ${WRKSRC}/src/unshar-opts.c \ ${WRKSRC}/src/uudecode-opts.h \ ${WRKSRC}/src/uudecode-opts.c \ ${WRKSRC}/src/uuencode-opts.h .for man in shar.1 unshar.1 @${REINPLACE_CMD} \ -e 's, SHAR , GSHAR ,' \ -e 's,Shar,Gshar,' \ -e 's, shar , gshar ,g' \ -e 's,^shar ,gshar ,' \ -e 's, UNSHAR , GUNSHAR ,' \ -e 's,Unshar,Gunshar,' \ -e 's,^unshar ,gunshar ,' \ -e 's,f2shar\\f1,f2gshar\\f1,' \ -e 's, unshar , gunshar ,g' \ -e 's,gshar file,shar file,g' \ -e 's,shar\,,gshar\,,' \ -e 's,shar(,gshar(,' \ -e 's,unshar(,gunshar(,' \ -e 's, shar\$$, gshar,' \ ${WRKSRC}/doc/${man} .endfor .include diff --git a/converters/tnef/Makefile b/converters/tnef/Makefile index 01746be02957..3d33187873e4 100644 --- a/converters/tnef/Makefile +++ b/converters/tnef/Makefile @@ -1,35 +1,36 @@ PORTNAME= tnef PORTVERSION= 1.4.12 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= converters mail MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/ MAINTAINER= garga@FreeBSD.org COMMENT= Unpack data in MS Outlook TNEF format WWW= https://tnef.sourceforge.net/ LICENSE= GPLv2 USES= cpe CPE_VENDOR= tnef_project OPTIONS_DEFINE= DOCS -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share PORTDOCS= AUTHORS BUGS NEWS README.md THANKS PLIST_FILES= bin/tnef \ share/man/man1/tnef.1.gz post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} # This target is intended to be run by the port maintainer. x-test: build .for dir in cmdline files @cd ${WRKSRC}/tests/${dir} && ${MAKE} check-TESTS .endfor .include diff --git a/devel/libslang2/Makefile b/devel/libslang2/Makefile index 840c02c1749a..e4c6f7cc72da 100644 --- a/devel/libslang2/Makefile +++ b/devel/libslang2/Makefile @@ -1,67 +1,68 @@ PORTNAME= libslang2 PORTVERSION= 2.3.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://www.jedsoft.org/releases/slang/ DISTNAME= slang-${PORTVERSION} MAINTAINER= garga@FreeBSD.org COMMENT= Routines for rapid alpha-numeric terminal applications development WWW= https://www.jedsoft.org/slang/ LICENSE= GPLv2 USES= ncurses tar:bzip2 USE_LDCONFIG= yes -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS+= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig MAKE_JOBS_UNSAFE= yes ALL_TARGET= all static INSTALL_TARGET= install install-static LDFLAGS+= -lncurses CONFLICTS= libslang-1.*.j[0-9] DATADIR= ${PREFIX}/share/slsh DOCSDIR= ${PREFIX}/share/doc/slang PLIST_SUB+= SHLIB_VERSION=${PORTVERSION} PORTDOCS= * OPTIONS_DEFINE= DOCS ICONV ONIG PCRE PNG OPTIONS_DEFAULT= ICONV PCRE PNG OPTIONS_SUB= yes ONIG_DESC= Oniguruma support ICONV_USES= iconv ONIG_LIB_DEPENDS= libonig.so:devel/oniguruma ONIG_CONFIGURE_WITH= onig PCRE_LIB_DEPENDS= libpcre.so:devel/pcre PCRE_CONFIGURE_WITH= pcre PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_WITH= png .include .if !${PORT_OPTIONS:MICONV} || empty(ICONV_LIB) CONFIGURE_ARGS+= --without-iconv .endif post-patch: @${REINPLACE_CMD} -E 's,doc/slsh,doc/slang/v\@slang_major_version\@,' \ ${WRKSRC}/slsh/Makefile.in post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in NEWS changes.txt ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/slsh ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libslang.so.${PORTVERSION} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/slang/v2/modules/*.so .include diff --git a/editors/jed/Makefile b/editors/jed/Makefile index c1d85a8bc144..561e97c961fd 100644 --- a/editors/jed/Makefile +++ b/editors/jed/Makefile @@ -1,70 +1,71 @@ PORTNAME= jed DISTVERSION= 0.99-19 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= editors MASTER_SITES= ftp://space.mit.edu/pub/davis/jed/v${PORTVERSION:R}/ \ ftp://ftp.fu-berlin.de/pub/unix/editors/jed/v${PORTVERSION:R}/ \ ftp://ftp.ntua.gr/pub/lang/slang/jed/v${PORTVERSION:R}/ MAINTAINER= garga@FreeBSD.org COMMENT= SLang-based text editor WWW= https://www.jedsoft.org/jed/ LICENSE= GPLv2 LIB_DEPENDS= libslang.so:devel/libslang2 CONFLICTS= ja-jed OPTIONS_DEFINE= X11 PERMS HOSTLOOKUP DOCS OPTIONS_DEFAULT=X11 HOSTLOOKUP PERMS_DESC= Respect permissions by Root HOSTLOOKUP_DESC=Look-up for hostname OPTIONS_SUB= yes USES= tar:bzip2 DIST_SUBDIR= jed -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share MAKE_JOBS_UNSAFE= yes CONFIGURE_ENV+= JED_ROOT=${PREFIX}/lib/jed PORTDOCS= * MAKE_ENV+= DEST_DOC_DIR=${STAGEDIR}${DOCSDIR} ALL_TARGET= all getmail X11_USES= xorg X11_USE= XORG=x11 XORG=ice XORG=xt X11_ALL_TARGET= xjed .include .if empty(PORT_OPTIONS:MHOSTLOOKUP) HOSTNAME_CMD= /bin/hostname EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src__userinfo.c .endif post-patch: @${REINPLACE_CMD} -e 's,(DEST_JED_ROOT)/doc,(DEST_DOC_DIR),g' \ -e 's,\.\./info/\*,,' \ -e 's,^\(JED_DOC_.*FILES\) =,\1 \?=,g' \ ${WRKSRC}/src/Makefile.in .if empty(PORT_OPTIONS:MPERMS) @${REINPLACE_CMD} 's|jed_file_is_readonly (file, 1)|jed_file_is_readonly (file, 0)|' ${WRKSRC}/src/file.c .endif .if empty(PORT_OPTIONS:MHOSTLOOKUP) @${REINPLACE_CMD} -e "s/%%JED_HOSTNAME%%/$$(${HOSTNAME_CMD})/" \ ${WRKSRC}/src/userinfo.c .endif post-configure: @${REINPLACE_CMD} -e 's,\(.usr.bin.install\) *-c,\1 -s -m 555,' \ ${WRKSRC}/src/Makefile post-install: ${INSTALL_DATA} ${WRKSRC}/lib/vms_shell.com ${STAGEDIR}${PREFIX}/lib/jed/lib ${INSTALL_DATA} ${WRKSRC}/lib/README ${STAGEDIR}${PREFIX}/lib/jed/lib ${INSTALL_DATA} ${WRKSRC}/lib/jed.conf ${STAGEDIR}${PREFIX}/lib/jed/lib .include diff --git a/mail/wmbiff/Makefile b/mail/wmbiff/Makefile index da9c1112ff74..9b34cc2f0918 100644 --- a/mail/wmbiff/Makefile +++ b/mail/wmbiff/Makefile @@ -1,37 +1,38 @@ PORTNAME= wmbiff PORTVERSION= 0.4.36 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail windowmaker afterstep MASTER_SITES= https://www.dockapps.net/download/ MAINTAINER= garga@FreeBSD.org COMMENT= xbiff-like Window Maker dock app WWW= https://www.dockapps.net/wmbiff LICENSE= GPLv2 USES= pkgconfig xorg USE_XORG= x11 xext xpm -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share SUB_FILES= pkg-message OPTIONS_DEFINE= GNUTLS OPTIONS_DEFAULT=GNUTLS GNUTLS_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgnutls.so:security/gnutls \ libgpg-error.so:security/libgpg-error GNUTLS_CONFIGURE_ON= --with-libgcrypt-prefix=${LOCALBASE} GNUTLS_CONFIGURE_OFF= --disable-crypto post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS *=/ s/scripts//' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e '/security.debian.rb/ s/^/# /' \ ${WRKSRC}/wmbiff/sample.wmbiffrc post-install: ${INSTALL_DATA} ${WRKSRC}/wmbiff/sample.wmbiffrc ${STAGEDIR}${DATADIR} .include diff --git a/net-mgmt/iprange/Makefile b/net-mgmt/iprange/Makefile index 08a15c2dc5f4..3ef373a8cc53 100644 --- a/net-mgmt/iprange/Makefile +++ b/net-mgmt/iprange/Makefile @@ -1,20 +1,21 @@ PORTNAME= iprange PORTVERSION= 1.0.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt MASTER_SITES= https://github.com/firehol/iprange/releases/download/v${PORTVERSION}/ MAINTAINER= garga@FreeBSD.org COMMENT= Manage IP ranges WWW= https://github.com/firehol/iprange LICENSE= GPLv2+ USES= tar:xz -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share PLIST_FILES= bin/iprange \ share/man/man1/iprange.1.gz .include diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile index 8a92c4301e76..2c3be41ff645 100644 --- a/net/libpcap/Makefile +++ b/net/libpcap/Makefile @@ -1,36 +1,37 @@ PORTNAME= libpcap PORTVERSION= 1.10.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://www.tcpdump.org/release/ MAINTAINER= garga@FreeBSD.org COMMENT= Ubiquitous network traffic capture library WWW= https://www.tcpdump.org/ LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex USES= bison cpe gmake ssl CPE_VENDOR= tcpdump USE_LDCONFIG= yes -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS+=--enable-dbus=no \ --with-pcap=bpf CONFIGURE_ENV+= LEX=${LOCALBASE}/bin/flex CFLAGS_amd64= -fPIC PLIST_SUB+= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= IPV6 REMOTE OPTIONS_SUB= yes REMOTE_DESC= Remote packet capture IPV6_CONFIGURE_ENABLE= ipv6 REMOTE_CONFIGURE_ENABLE=remote .include diff --git a/net/rinetd/Makefile b/net/rinetd/Makefile index ca7818c5c765..0151bc1221c9 100644 --- a/net/rinetd/Makefile +++ b/net/rinetd/Makefile @@ -1,43 +1,44 @@ PORTNAME= rinetd PORTVERSION= 0.73 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= net MAINTAINER= garga@FreeBSD.org COMMENT= Simple TCP port redirector WWW= https://github.com/samhocevar/rinetd LICENSE= GPLv2 USES= cpe dos2unix autoreconf USE_GITHUB= yes GH_ACCOUNT= samhocevar GH_TAGNAME= d4e0a60 USE_RC_SUBR= rinetd -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share PORTDOCS= index.html OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -E \ -e "s,(/etc/rinetd.conf),${PREFIX}\1," \ -e "s,/usr(/sbin/rinetd),${PREFIX}\1," \ ${WRKSRC}/rinetd.8 @${REINPLACE_CMD} -E "s,(/etc/rinetd.conf),${PREFIX}\1," \ ${WRKSRC}/src/rinetd.h post-install: ${MV} ${STAGEDIR}${PREFIX}/etc/rinetd.conf \ ${STAGEDIR}${PREFIX}/etc/rinetd.conf.sample post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/net/tcpdump/Makefile b/net/tcpdump/Makefile index 83a5dfbb9864..24501f521613 100644 --- a/net/tcpdump/Makefile +++ b/net/tcpdump/Makefile @@ -1,62 +1,63 @@ PORTNAME= tcpdump PORTVERSION= 4.99.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MASTER_SITES= http://www.tcpdump.org/release/ PATCH_SITES= https://github.com/the-tcpdump-group/tcpdump/commit/ PATCHFILES= 5c1ecd8c.patch:-p1 MAINTAINER= garga@FreeBSD.org COMMENT= Ubiquitous network traffic analysis tool WWW= https://www.tcpdump.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpcap.so.1:net/libpcap USES= cpe gmake -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share PLIST_FILES= sbin/tcpdump \ share/man/man1/tcpdump.1.gz UNPRIV_USER?= tcpdump CHROOTDIR?= /var/run/tcpdump OPTIONS_DEFINE= CRYPTO SMB SMI USER CHROOT OPTIONS_DEFAULT= CRYPTO SMB SMI CHROOT_DESC= Chroot to /var/run/tcpdump (set CHROOTDIR to change) CRYPTO_DESC= Support IPSEC and TCPMD5 # This one is intentionally worded this way because the default # description implies that tcpdump would not capture SMB, which # is not true. It will just not print it if this option is off. SMB_DESC= Support printing SMB information SMI_DESC= Allow MIBs to be loaded on the fly USER_DESC= Drop privileges to dedicated user CHROOT_CONFIGURE_ON= --with-chroot=${CHROOTDIR} CRYPTO_USES= ssl CRYPTO_CONFIGURE_WITH= crypto SMB_CONFIGURE_ENABLE= smb SMI_LIB_DEPENDS= libsmi.so:net-mgmt/libsmi SMI_CONFIGURE_WITH= smi USER_CONFIGURE_ON= --with-user=${UNPRIV_USER} USER_VARS= USERS=${UNPRIV_USER} GROUPS=${UNPRIV_USER} post-patch: @${REINPLACE_CMD} -e 's,sys/capability.h,sys/capsicum.h,' \ ${WRKSRC}/tcpdump.c post-configure: @${REINPLACE_CMD} -e "s,\./\.\./${LIBPCAP_FORCE_VER}/libpcap\.a,${LOCALBASE}/lib/libpcap.so.1," \ ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tcpdump ${STAGEDIR}/${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/tcpdump.1 ${STAGEDIR}/${PREFIX}/share/man/man1 .include diff --git a/security/sudo/Makefile b/security/sudo/Makefile index 332a1b0d7e75..e4bc49005f18 100644 --- a/security/sudo/Makefile +++ b/security/sudo/Makefile @@ -1,147 +1,148 @@ PORTNAME= sudo PORTVERSION= 1.9.15p5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= SUDO MAINTAINER= garga@FreeBSD.org COMMENT= Allow others to run commands as root WWW= https://www.sudo.ws/ LICENSE= sudo LICENSE_NAME= Sudo license LICENSE_FILE= ${WRKSRC}/LICENSE.md LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= cpe libtool pkgconfig CPE_VENDOR= todd_miller USE_LDCONFIG= yes -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --mandir=${PREFIX}/share/man \ --sysconfdir=${PREFIX}/etc \ --with-env-editor \ --with-ignore-dot \ --with-logfac=${LOGFAC} \ --with-logincap \ --with-long-otp-prompt \ --with-rundir=/var/run/sudo \ --with-tty-tickets LDFLAGS+= -lgcc PORTSCOUT= ignore:1 OPTIONS_DEFINE= AUDIT DISABLE_AUTH DISABLE_ROOT_SUDO DOCS EXAMPLES \ INSULTS LDAP NLS NOARGS_SHELL OPIE PAM PYTHON SSL SSSD OPTIONS_DEFAULT= AUDIT PAM SSL OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT OPTIONS_SUB= yes AUDIT_DESC= Enable BSM audit support DISABLE_AUTH_DESC= Do not require authentication by default DISABLE_ROOT_SUDO_DESC= Do not allow root to run sudo INSULTS_DESC= Enable insults on failures KERBEROS_DESC= Enable Kerberos 5 authentication (no PAM support) NOARGS_SHELL_DESC= Run a shell if no arguments are given OPIE_DESC= Enable one-time passwords (no PAM support) PYTHON_DESC= Enable python plugin support SSL_DESC= Use OpenSSL TLS and SHA2 functions SSSD_DESC= Enable SSSD backend support AUDIT_CONFIGURE_WITH= bsm-audit DISABLE_AUTH_CONFIGURE_ON= --disable-authentication DISABLE_ROOT_SUDO_CONFIGURE_ON= --disable-root-sudo GSSAPI_BASE_USES= gssapi GSSAPI_BASE_CONFIGURE_ON= --with-kerb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS} GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_HEIMDAL_CONFIGURE_ON= --with-kerb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS} GSSAPI_MIT_USES= gssapi:mit GSSAPI_MIT_CONFIGURE_ON= --with-kerb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS} INSULTS_CONFIGURE_ON= --with-insults --with-all-insults LDAP_USES= ldap LDAP_CONFIGURE_ON= --with-ldap=${PREFIX} \ --with-ldap-conf-file=${PREFIX}/etc/${SUDO_LDAP_CONF} NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NLS_CFLAGS= -I${LOCALBASE}/include NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl NOARGS_SHELL_CONFIGURE_ENABLE= noargs-shell OPIE_CONFIGURE_ON= --with-opie PAM_PREVENTS= OPIE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT PAM_PREVENTS_MSG= PAM cannot be combined with any other authentication plugin PAM_CONFIGURE_ON= --with-pam PYTHON_USES= python PYTHON_CONFIGURE_ENABLE=python SSL_USES= ssl SSL_CONFIGURE_ON= --enable-openssl=${OPENSSLBASE} SSSD_PREVENTS= GSSAPI_HEIMDAL SSSD_PREVENTS_MSG= sssd requires MIT kerberos and it conflicts with heimdal SSSD_RUN_DEPENDS= sssd:security/sssd SSSD_CONFIGURE_ON= --with-sssd LOGFAC?= authpriv SUDO_LDAP_CONF?= ldap.conf # This is intentionally not an option. # SUDO_SECURE_PATH is a PATH string that will override the user's PATH. # ex: make SUDO_SECURE_PATH="/sbin:/bin:/usr/sbin:/usr/bin" .if defined(SUDO_SECURE_PATH) CONFIGURE_ARGS+= --with-secure-path="${SUDO_SECURE_PATH}" .endif # This is intentionally not an option. # SUDO_KERB5_INSTANCE is an optional instance string that will be appended # to kerberos principals when to perform authentication. Common choices # are "admin" and "sudo". .if defined(SUDO_KERB5_INSTANCE) CONFIGURE_ARGS+= --enable-kerb5-instance="${SUDO_KERB5_INSTANCE}" .endif .include .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400072 . if ${PORT_OPTIONS:MOPIE} BUILD_DEPENDS+= opie>0:security/opie RUN_DEPENDS+= opie>0:security/opie . endif .endif .if ${ARCH} == "arm" CONFIGURE_ARGS+= --disable-pie .endif post-patch: @${REINPLACE_CMD} -E '/install-(binaries|noexec):/,/^$$/ \ s/\$$\(INSTALL\)/& ${STRIP}/;s/-b\~/-b ~/' \ ${WRKSRC}/src/Makefile.in post-install: ${INSTALL_DATA} ${FILESDIR}/pam.conf ${STAGEDIR}${PREFIX}/etc/pam.d/sudo.default ${MV} ${STAGEDIR}${PREFIX}/etc/sudo.conf ${STAGEDIR}${PREFIX}/etc/sudo.conf.sample ${MV} ${STAGEDIR}${PREFIX}/etc/sudo_logsrvd.conf ${STAGEDIR}${PREFIX}/etc/sudo_logsrvd.conf.sample ${RM} ${STAGEDIR}${PREFIX}/etc/sudoers ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cvtsudoers ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sudoreplay ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/sudo/sudo_intercept.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sudo_logsrvd ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sudo_sendlog ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/visudo .for f in audit_json.so group_file.so libsudo_util.so sudoers.so system_group.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/sudo/${f} .endfor post-install-PYTHON-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/sudo/python_plugin.so .include diff --git a/shells/scponly/Makefile b/shells/scponly/Makefile index 5ca30dc0937f..5d432fa87e83 100644 --- a/shells/scponly/Makefile +++ b/shells/scponly/Makefile @@ -1,73 +1,74 @@ PORTNAME= scponly PORTVERSION= 4.8.20110526 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= shells security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-snapshots DISTNAME= ${PORTNAME}-20110526 MAINTAINER= garga@FreeBSD.org COMMENT= Tiny shell that only permits scp and sftp WWW= https://github.com/scponly/scponly/wiki LICENSE= BSD2CLAUSE USES= cpe tar:tgz PORTDOCS= BUILDING-JAILS.TXT INSTALL README SECURITY -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share OPTIONS_DEFINE= CHROOT DEFAULT_CHDIR DOCS GFTP RSYNC SCP SUBVERSION SVNSERVE \ UNISON WILDCARDS WINSCP OPTIONS_DEFAULT= WILDCARDS DEFAULT_CHDIR_DESC= Chdir(2) by default WILDCARDS_DESC= Wildcards processing GFTP_DESC= gftp support RSYNC_DESC= rsync support CHROOT_DESC= chroot(8) functionality SCP_DESC= vanilla scp support SVNSERVE_DESC= Subversion support for svn+ssh:// UNISON_DESC= Unisson support WINSCP_DESC= WinSCP support OPTIONS_SUB= yes .if !exists(/usr/bin/sftp) BUILD_DEPENDS+= openssh-portable>0:security/openssh-portable RUN_DEPENDS+= openssh-portable>0:security/openssh-portable .endif DEFAULT_CHDIR_CONFIGURE_ON= --with-default-chdir=${SCPONLY_DEFAULT_CHDIR} WILDCARDS_CONFIGURE_ENABLE= wildcards GFTP_CONFIGURE_ENABLE= gftp-compat CHROOT_CONFIGURE_ENABLE= chrooted-binary CHROOT_USE= RC_SUBR=scponlyc RSYNC_BUILD_DEPENDS= rsync:net/rsync RSYNC_RUN_DEPENDS= rsync:net/rsync RSYNC_CONFIGURE_ENABLE= rsync-compat SCP_CONFIGURE_ENABLE= scp-compat SUBVERSION_CONFIGURE_ENABLE= svn-compat SUBVERSION_BUILD_DEPENDS= svn:devel/subversion SUBVERSION_RUN_DEPENDS= svn:devel/subversion SVNSERVE_BUILD_DEPENDS= svn:devel/subversion SVNSERVE_RUN_DEPENDS= svn:devel/subversion SVNSERVE_CONFIGURE_ENABLE= svnserv-compat UNISON_BUILD_DEPENDS= unison:net/unison UNISON_RUN_DEPENDS= unison:net/unison UNISON_CONFIGURE_ENABLE= unison-compat WINSCP_CONFIGURE_ENABLE= winscp-compat post-patch: @${ECHO_MSG} "In addition to knobs available from the OPTIONS dialog," @${ECHO_MSG} "you may set SCPONLY_DEFAULT_CHDIR to make users 'cd' to" @${ECHO_MSG} "this directory after authentication." @${REINPLACE_CMD} -e "s/-o 0 -g 0//g" ${WRKSRC}/Makefile.in post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/setup_chroot.sh ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/config.h ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/www/sarg/Makefile b/www/sarg/Makefile index c64e85ddb81e..e171a1562271 100644 --- a/www/sarg/Makefile +++ b/www/sarg/Makefile @@ -1,45 +1,46 @@ PORTNAME= sarg PORTVERSION= 2.4.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= garga@FreeBSD.org COMMENT= Squid log analyzer and HTML report generator WWW= https://sarg.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE OPTIONS_DEFINE= GD PHP NLS PCRE LDAP ICONV OPTIONS_DEFAULT=GD PHP PCRE LDAP ICONV OPTIONS_SUB= yes PHP_DESC= Install PHP for reporting generating USES= autoreconf gmake -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --sysconfdir="${ETCDIR}" \ --enable-fontdir="${ETCDIR}/fonts" \ --enable-imagedir="${ETCDIR}/images" CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib CFLAGS+= -fcommon NLS_USES= gettext NLS_USES_OFF= gettext-tools NLS_CONFIGURE_ENABLE= nls NLS_LIBS= -lintl GD_CONFIGURE_WITH= gd GD_LIB_DEPENDS= libgd.so:graphics/gd PHP_CONFIGURE_ON= --enable-sargphp="${ETCDIR}" PHP_CONFIGURE_OFF= --disable-sargphp PCRE_CONFIGURE_WITH= pcre PCRE_LIB_DEPENDS= libpcre.so:devel/pcre LDAP_USES= ldap LDAP_CONFIGURE_WITH= ldap ICONV_USES= iconv ICONV_CONFIGURE_WITH= iconv ICONV_LDFLAGS= ${ICONV_LIB} .include diff --git a/www/squidclamav/Makefile b/www/squidclamav/Makefile index 6d42b2c338c9..637122b0f1bf 100644 --- a/www/squidclamav/Makefile +++ b/www/squidclamav/Makefile @@ -1,32 +1,33 @@ PORTNAME= squidclamav PORTVERSION= 7.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www security MASTER_SITES= SF MAINTAINER= garga@FreeBSD.org COMMENT= Clamav c-icap service and redirector for Squid WWW= https://squidclamav.darold.net/ LICENSE= GPLv3+ LIB_DEPENDS= libicapapi.so:www/c-icap USES= cpe libtool shebangfix CPE_VENDOR= darold SHEBANG_FILES= cgi-bin/clwarn.cgi* -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --enable-shared --enable-static \ --sysconfdir="${PREFIX}/etc/c-icap" \ --with-c-icap=${LOCALBASE} INSTALL_TARGET= install-strip CFLAGS+= -DHAVE_STRNSTR post-patch: @${REINPLACE_CMD} -e 's|CFGDIR=.*|CFGDIR="${PREFIX}/etc/c-icap"|g' \ ${WRKSRC}/configure .include