diff --git a/ftp/pure-ftpd/Makefile b/ftp/pure-ftpd/Makefile index 73e7cb2e74e8..fc7b5a9268da 100644 --- a/ftp/pure-ftpd/Makefile +++ b/ftp/pure-ftpd/Makefile @@ -1,124 +1,126 @@ # New ports collection makefile for: pure-ftpd # Date created: 22 April 2001 # Whom: Frank DENIS # # $FreeBSD$ # PORTNAME= pure-ftpd PORTVERSION= 1.0.13a +PORTREVISION= 1 CATEGORIES= ftp ipv6 MASTER_SITES= ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/ \ ftp://ftp2.fr.pureftpd.org/pub/mirrors/ftp.fr.pureftpd.org/pub/pure-ftpd/releases/ \ ftp://ftp3.fr.pureftpd.org/pure-ftpd/releases/ \ ftp://ftp.dk.pureftpd.org/mirrors/pure-ftpd/releases/ \ ftp://ftp.es.pureftpd.org/mirror/pureftpd/latest/releases/ \ ftp://ftp.nl.pureftpd.org/pub/pure-ftpd/releases/ \ ftp://ftp.fr.pureftpd.org/pub/pure-ftpd/releases/ \ ftp://ftp.cn.pureftpd.org/pub/pureftpd/pure-ftpd/releases/ \ ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pureftpd MAINTAINER= j@pureftpd.org .if defined(WITH_LDAP) LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap2 .endif .if defined(WITH_MYSQL) LIB_DEPENDS+= mysqlclient:${PORTSDIR}/databases/mysql323-client .endif .if defined(WITH_PGSQL) -LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql7 +POSTGRESQL_PORT?= databases/postgresql7 +LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT} .endif GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-everything \ --with-paranoidmsg \ --with-virtualchroot \ --sysconfdir=/etc # language support requested? .if defined(WITH_LANG) CONFIGURE_ARGS+= --with-language="${WITH_LANG}" .endif # ldap support requested ? .if defined(WITH_LDAP) CONFIGURE_ARGS+= --with-ldap .endif # mysql support requested ? .if defined(WITH_MYSQL) CONFIGURE_ARGS+= --with-mysql .endif # mysql support requested ? .if defined(WITH_PGSQL) CONFIGURE_ARGS+= --with-pgsql .endif # if mysql or ldap are disabled, enable pam .if !defined(WITH_LDAP) && !defined(WITH_MYSQL) && !defined(WITH_PGSQL) CONFIGURE_ARGS+= --with-pam .endif MAN8= pure-ftpd.8 pure-ftpwho.8 pure-mrtginfo.8 pure-statsdecode.8 \ pure-uploadscript.8 pure-pw.8 pure-pwconvert.8 pure-quotacheck.8 \ pure-authd.8 .include .if ${OSVERSION} > 500000 PAM_TEMPL?= ${FILESDIR}/pam.conf.5 .else . if ${OSVERSION} > 400000 PAM_TEMPL?= ${FILESDIR}/pam.conf.4 . endif .endif .if defined(PAM_TEMPL) PAM_DIR?= ${PREFIX}/share/examples/${PORTNAME}/pam PAM_TARGET?= pure-ftpd .endif DOCS= AUTHORS CONTACT COPYING HISTORY NEWS \ README README.Configuration-File README.Contrib README.LDAP \ README.Netfilter README.MySQL README.PGSQL README.Virtual-Users \ README.Authentication-Modules THANKS pure-ftpd.png \ pureftpd.schema CONTRIB= xml_python_processors.txt pure-vpopauth.pl pre-fetch: @${ECHO_CMD} "You can use the following additional options:" @${ECHO_CMD} "WITH_LDAP=1 - Support for users in LDAP directories" @${ECHO_CMD} "WITH_MYSQL=1 - Support for users in MySQL databases" @${ECHO_CMD} "WITH_PGSQL=1 - Support for users in PostgreSQL databases" @${ECHO_CMD} "WITH_LANG=lang - Enable compilation of language support, lang is one of" @${ECHO_CMD} " english, german, romanian, french, french-funny, polish, spanish," @${ECHO_CMD} " dutch, italian, brazilian-portuguese, danish, slovak, korean," @${ECHO_CMD} " norwegian, swedish, russian, traditional-chinese, simplified-chinese" @${ECHO_CMD} " and czech." @${ECHO_CMD} "" post-install: ${INSTALL_DATA} ${WRKSRC}/pureftpd-ldap.conf ${PREFIX}/etc/pureftpd-ldap.conf.sample ${INSTALL_DATA} ${WRKSRC}/pureftpd-mysql.conf ${PREFIX}/etc/pureftpd-mysql.conf.sample ${INSTALL_DATA} ${WRKSRC}/pureftpd-pgsql.conf ${PREFIX}/etc/pureftpd-pgsql.conf.sample ${INSTALL_DATA} ${WRKSRC}/configuration-file/pure-ftpd.conf ${PREFIX}/etc/pure-ftpd.conf.sample ${INSTALL_DATA} ${WRKSRC}/configuration-file/pure-config.pl ${PREFIX}/sbin/ ${MKDIR} ${PREFIX}/share/examples/pure-ftpd (cd ${WRKSRC}/contrib && ${INSTALL_SCRIPT} ${CONTRIB} ${PREFIX}/share/examples/pure-ftpd) ${CHMOD} 755 ${PREFIX}/sbin/pure-config.pl .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/pure-ftpd (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/pure-ftpd) .endif .if defined(PAM_TEMPL) ${MKDIR} ${PAM_DIR} ${INSTALL_DATA} ${PAM_TEMPL} ${PAM_DIR}/${PAM_TARGET} @${ECHO_CMD} "Now you need to examine ${PAM_DIR}/${PAM_TARGET}" @${ECHO_CMD} "and add the relevant PAM configuration lines to your /etc/pam.conf file." .endif .include diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile index 7a6c14effb87..9b09d7793676 100644 --- a/mail/courier-imap/Makefile +++ b/mail/courier-imap/Makefile @@ -1,156 +1,158 @@ # New ports collection makefile for: courierimap # Date created: 19 Feb 2000 # Whom: Neil Blakey-Milner # # $FreeBSD$ # PORTNAME= courier-imap PORTVERSION= 1.6.1 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= courier MAINTAINER= nbm@FreeBSD.org USE_BZIP2= yes USE_REINPLACE= yes USE_PERL5= yes GNU_CONFIGURE= YES USE_GMAKE= YES # # options available: # # WITHOUT_OPENSSL: Don't build in TLS support # WITHOUT_PAM: Don't build in PAM support # WITH_CRAM: Build in CRAM-MD5 authentication support # WITH_VPOPMAIL: Build in vpopmail support # WITH_MYSQL: Build in mysql support # WITH_POSTGRESQL: Build in postgresql support # WITH_LDAP: Build in ldap support with openldap 2.x # WITH_LDAP1: Build in ldap support with openldap 1.x # CONFDIR?= ${PREFIX}/etc/${PORTNAME} RCDIR?= ${PREFIX}/etc/rc.d USERDB?= ${PREFIX}/etc/userdb LIBEXECDIR?= ${PREFIX}/libexec/${PORTNAME} VPOPMAILDIR?= ${LOCALBASE}/vpopmail .if !defined(WITHOUT_OPENSSL) USE_OPENSSL= YES PLIST_SUB= OPENSSLFLAG= .else PLIST_SUB= OPENSSLFLAG="@comment " .endif CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --without-authshadow \ --sysconfdir=${CONFDIR} \ --with-userdb=${USERDB} \ --datadir=${DATADIR} \ --libexecdir=${LIBEXECDIR} \ --enable-workarounds-for-imap-client-bugs \ --enable-unicode \ --disable-root-check .if !defined(WITH_VPOPMAIL) CONFIGURE_ARGS+= --without-authvchkpw .else CONFIGURE_ARGS+= --with-authvchkpw BUILD_DEPENDS+= ${VPOPMAILDIR}/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail .endif .if !defined(WITH_LDAP) && !defined(WITH_LDAP1) CONFIGURE_ARGS+= --without-authldap PLIST_SUB+= LDAPFLAG="@comment " .else CONFIGURE_ARGS+= --with-authldap PLIST_SUB+= LDAPFLAG="" .if defined(WITH_LDAP) LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap2 \ lber.2:${PORTSDIR}/net/openldap2 .else LIB_DEPENDS= ldap.1:${PORTSDIR}/net/openldap \ lber.1:${PORTSDIR}/net/openldap .endif .endif .if !defined(WITH_MYSQL) CONFIGURE_ARGS+= --without-authmysql PLIST_SUB+= MYSQLFLAG="@comment " .else LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client PLIST_SUB+= MYSQLFLAG="" .endif .if !defined(WITH_POSTGRESQL) CONFIGURE_ARGS+= --without-authpgsql PLIST_SUB+= PGSQLFLAG="@comment " .else -LIB_DEPENDS+= pq.2:${PORTSDIR}/databases/postgresql7 +POSTGRESQL_PORT?= databases/postgresql7 +LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT} PLIST_SUB+= PGSQLFLAG="" .endif .if !defined(WITHOUT_PAM) CONFIGURE_ARGS+= --with-authpam .else CONFIGURE_ARGS+= --without-authpam .endif .if !defined(WITH_CRAM) CONFIGURE_ARGS+= --without-authcram .else CONFIGURE_ARGS+= --with-authcram .endif MAN1= couriertcpd.1 maildirmake.1 MAN7= authlib.7 MAN8= makeuserdb.8 userdb.8 userdbpw.8 \ deliverquota.8 imapd.8 mkimapdcert.8 mkpop3dcert.8 MLINKS= authlib.7 authpwd.7 \ authlib.7 authuserdb.7 \ authlib.7 authshadow.7 \ authlib.7 authpam.7 \ authlib.7 authvchkpw.7 \ authlib.7 authcram.7 \ authlib.7 authldap.7 \ authlib.7 authmysql.7 \ authlib.7 authdaemon.7 \ authlib.7 authdaemond.7 \ makeuserdb.8 pw2userdb.8 \ makeuserdb.8 vchkpw2userdb.8 EXTRA_DOCS= README INSTALL AUTHORS imap/ChangeLog .include post-patch: @${REINPLACE_CMD} -Ee \ '/^ imapd.cnf pop3d.cnf/s/(imapd.cnf|pop3d.cnf)//g' \ ${WRKSRC}/Makefile.in post-install: ${INSTALL_PROGRAM} ${WRKSRC}/authlib/authtest ${PREFIX}/bin/ .for i in imapd pop3d ${INSTALL_DATA} ${WRKSRC}/imap/${i}.cnf ${CONFDIR}/${i}.cnf.dist ${LN} -s ${LIBEXECDIR}/${i}.rc ${RCDIR}/${PORTNAME}-${i}.sh.sample .endfor .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for a in ${EXTRA_DOCS} ${INSTALL_DATA} ${WRKSRC}/${a} ${DOCSDIR} .endfor .endif @${ECHO_MSG} "" @${ECHO_MSG} "You will have to run ${DATADIR}/mkimapdcert to create" @${ECHO_MSG} "a self-signed certificate if you want to use imapd-ssl." @${ECHO_MSG} "And you will have to copy and edit the *.dist files to *" @${ECHO_MSG} "in ${CONFDIR}." @${ECHO_MSG} "" .include diff --git a/security/pam-pgsql/Makefile b/security/pam-pgsql/Makefile index bc441b275876..f240f826b9c6 100644 --- a/security/pam-pgsql/Makefile +++ b/security/pam-pgsql/Makefile @@ -1,49 +1,51 @@ # New ports collection makefile for: pam-pgsql # Date created: Nov 16, 2000 # Whom: Mikhail Teterin # # $FreeBSD$ # PORTNAME= pam-pgsql PORTVERSION= 0.5.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= security databases MASTER_SITES= ${MASTER_SITE_DEBIAN} \ http://libpam-pgsql.codecastle.com/${PORTNAME}-${PORTVERSION}-${PORTREVISION}/ MASTER_SITE_SUBDIR= pool/non-US/main/p/pam-pgsql DISTFILES= ${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX} PATCHFILES= ${PORTNAME}_${PORTVERSION}-5.diff.gz PATCH_SITES= ${MASTER_SITES} MAINTAINER= m@absolight.fr -LIB_DEPENDS= pq:${PORTSDIR}/databases/postgresql7 +LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT} + +POSTGRESQL_PORT?= databases/postgresql7 PATCH_DIST_STRIP= -p1 # When the family of Debian mirrors is added to bsd.port.mk, # this will suddenly start making sense: MASTER_SITE_DEBIAN?= http://debian.yorku.ca/debian/non-US/${MASTER_SITE_SUBDIR}/ # This should help the users of MASTER_SORT_REGEX: .for c in at bg br cz de ee es fi fr hu it jp kr nl no nz pl se si tr uk MASTER_SITE_DEBIAN+= http://ftp.$c.debian.org/debian-non-US/${MASTER_SITE_SUBDIR}/ .endfor MASTER_SITE_DEBIAN+= http://ftp.au.debian.org/pub/debian-non-US/${MASTER_SITE_SUBDIR}/ \ ftp://ftp.bora.net/pub/linux/debian-non-US/${MASTER_SITE_SUBDIR}/ MAKEFILE= ${FILESDIR}/Makefile.bsd MAKE_ARGS+= FILESDIR=${FILESDIR} post-install: ${CAT} ${PKGMESSAGE} .if !defined(NOPORTDOCS) @${MKDIR} ${LOCALBASE}/${DOCDIR} @${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/debian/changelog \ ${WRKSRC}/debian/copyright ${LOCALBASE}/${DOCDIR} DOCDIR= share/doc/pam-pgsql PLIST_SUB+= DOCDIR=${DOCDIR} .endif .include diff --git a/www/nspostgres/Makefile b/www/nspostgres/Makefile index 42fc1ae1d54b..23428f5d7db3 100644 --- a/www/nspostgres/Makefile +++ b/www/nspostgres/Makefile @@ -1,29 +1,31 @@ # New ports collection makefile for: nspostgres # Date created: 30 January 2001 # Whom: jkoshy # # $FreeBSD$ # PORTNAME= nspostgres PORTVERSION= 3.0 CATEGORIES= www databases MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= aolserver DISTNAME= nspostgres3_0 MAINTAINER= jkoshy@freebsd.org BUILD_DEPENDS= ${LOCALBASE}/aolserver/bin/nsd:${PORTSDIR}/www/aolserver \ - ${LOCALBASE}/bin/postmaster:${PORTSDIR}/databases/postgresql7 + ${LOCALBASE}/bin/postmaster:${PORTSDIR}/${POSTGRESQL_PORT} RUN_DEPENDS= ${BUILD_DEPENDS} +POSTGRESQL_PORT?= databases/postgresql7 + WRKSRC= ${WRKDIR}/nspostgres USE_GMAKE= yes MAKE_ENV+= POSTGRES=${PREFIX} BUILDPREFIX=${PREFIX} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/nspostgres.so ${PREFIX}/aolserver/bin .include diff --git a/www/pgdriver/Makefile b/www/pgdriver/Makefile index 3da44edd817b..827147becad9 100644 --- a/www/pgdriver/Makefile +++ b/www/pgdriver/Makefile @@ -1,23 +1,26 @@ # New ports collection makefile for: pgdriver # Date created: 12 March 2001 # Whom: jkoshy # # $FreeBSD$ # PORTNAME= pgdriver PORTVERSION= 2.0 +PORTREVISION= 1 CATEGORIES= www databases MASTER_SITES= http://openacs.org/sdm/download-package/2/38/ EXTRACT_SUFX= .tgz MAINTAINER= jkoshy@freebsd.org -LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7 +LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT} BUILD_DEPENDS= ${LOCALBASE}/aolserver/bin/nsd:${PORTSDIR}/www/aolserver RUN_DEPENDS= ${BUILD_DEPENDS} +POSTGRESQL_PORT?= databases/postgresql7 + MAKEFILE= makefile MAKE_ENV+= PREFIX=${PREFIX} .include diff --git a/www/udmsearch/Makefile b/www/udmsearch/Makefile index 0434c90e78c3..b76d31cdf681 100644 --- a/www/udmsearch/Makefile +++ b/www/udmsearch/Makefile @@ -1,65 +1,67 @@ # New ports collection makefile for: udmsearch # Date created: 11/29/1999 # Whom: Kelly Yancey # # $FreeBSD$ # PORTNAME= udmsearch PORTVERSION= 3.0.23 +PORTREVISION= 1 CATEGORIES= www databases MASTER_SITES= http://mysearch.udm.net/Download/ \ ftp://ftp.izhcom.ru/pub/unix/UdmSearch/ \ http://mirror.kuenzler.ch/udmsearch/Download/ MAINTAINER= demon@FreeBSD.org MAN1= indexer.1 MAN5= indexer.conf.5 USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-charset-guesser \ --enable-freebsd-pthreads \ --sysconfdir=${PREFIX}/etc/udmsearch \ --localstatedir=/var/udmsearch .if defined(WITH_PGSQL) -LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7 +POSTGRESQL_PORT?= databases/postgresql7 +LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT} CONFIGURE_ARGS+= --with-pgsql=${LOCALBASE}/pgsql .elif defined(WITH_MSQL) BUILD_DEPENDS= ${PREFIX}/lib/libmsql.a:${PORTSDIR}/databases/msql CONFIGURE_ARGS+= --with-msql=${LOCALBASE} .else # default to mysql LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} .if !defined(WITH_MYSQL) pre-fetch: @${ECHO} @${ECHO} "Defaulting to udmsearch with mysql support." @${ECHO} @${ECHO} "You may alternately build udmsearch with either msql or" @${ECHO} "postgresql support by invoking make with WITH_MSQL=yes or" @${ECHO} "WITH_PGSQL=yes respectively." @${ECHO} .endif .endif pre-install: @${MKDIR} ${PREFIX}/share/udmsearch post-install: @cp -R ${WRKSRC}/create ${PREFIX}/share/udmsearch @${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/udmsearch @strip ${PREFIX}/sbin/indexer @strip ${PREFIX}/share/udmsearch/search.cgi @${ECHO} @${CAT} ${PKGMESSAGE} .include