From owner-svn-ports-all@freebsd.org Sun Sep 9 00:15:55 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F27B106D172 for ; Sun, 9 Sep 2018 00:15:55 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from mail-yw1-xc42.google.com (mail-yw1-xc42.google.com [IPv6:2607:f8b0:4864:20::c42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 94DF87D8AF for ; Sun, 9 Sep 2018 00:15:54 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by mail-yw1-xc42.google.com with SMTP id n207-v6so6658829ywn.9 for ; Sat, 08 Sep 2018 17:15:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamw-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=aRQM85oQeNcqAPonD9D+dD+lT4SpUugOZUVqOMirJ+I=; b=HZuVp0nhwL8PIZfgzK+2+DdCJd9rjqyFaaFaBSDPIVKGaD+KGz/ofXlPNBSe/cvcIC NlCHDviunHvgJB96VP55oBI6LCsxC7dD165kiTztq846mM0tW1wZwK1IlrnVCIk/c2Le /XaLXXXF4E0sxlxUjMUU5b8VTtXpfByqZWfa1SeJ9ymoRANmDHP38o0m96Hvftb4lgIJ a729gEvgluIQ/gETX8tEQV9e6I155tQxOjcW4B3wQDxZB7DyqhOBD3kIYtWjOpJs1bUX bO2Rvj3PsWaYX4Wiz/6vf19qsTEvvCq0lhbPSoljuU3lDLMIT6aefZNByx2AGswuBujJ FurA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=aRQM85oQeNcqAPonD9D+dD+lT4SpUugOZUVqOMirJ+I=; b=Mf/Vs1EYTvTsQgShlWT9y+ANkQ4k64xxOhGX6tHHSjmS38AfmDmFoO0qCNGaUZqWkN wqJkoAxrTbzYLUevBlSYRRDwIAWCbJsFnsFFTD+8s2anDLZElpb5dU7sXxjUFYcDgwKI g7qaRT3BJuFPb7eiWVbvWc3v1K2AZRFNjc+D6LA4PCjO4Ygb26iM4aQ/sQtmVsSuK6db +5Y8VovQK4qh+esRUjTX1r56UCjOJkduQmpsvc+und6wilpOeL4fxAt3+JC10kpb2Blh pgdGsviexQjobwn/NK7HU0D0NJX68UN7ZPtGeTt2IVswTdWF7oxhMB+5XrGHBPejWI7I JVtQ== X-Gm-Message-State: APzg51CVHYYiHYwmPOJk98ACb9S4vCMixXm1AsZnXo+J7Y767mZTEh/Q U0oavGoBNWB3AS6PXX+rpoR20RmtHfGpanOCO3Xy84yRBZzygA== X-Google-Smtp-Source: ANB0VdaePTziDtlgBXWpHwgiOggZTwvNySb8rdnEEq9HRcRyRHImVtwDph0ioMNNrstN0LCfx8G5dFdjJ1si2MTADls= X-Received: by 2002:a81:de07:: with SMTP id k7-v6mr7424006ywj.335.1536452153630; Sat, 08 Sep 2018 17:15:53 -0700 (PDT) MIME-Version: 1.0 References: <201809082328.w88NSLVF073775@repo.freebsd.org> In-Reply-To: <201809082328.w88NSLVF073775@repo.freebsd.org> From: Adam Weinberger Date: Sat, 8 Sep 2018 18:15:37 -0600 Message-ID: Subject: Re: svn commit: r479263 - in head/science: . namd namd/files To: yuri@freebsd.org Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Sep 2018 00:15:55 -0000 Yuri, Upstream requires that people register to download the software, and the license seems to forbid any distribution on our part: "Licensee may redistribute without restriction works with up to 1/2 of their non-comment source code derived from at most 1/10 of the non-comment source code developed by Illinois and contained in the Software" "Licensee agrees to provide the Software only to any other person or entity who has registered with Illinois" "Commercial use of the Software, or derivative works based thereon, REQUIRES A COMMERCIAL LICENSE." I don't think it's a good idea for this port to remain in the tree. # Adam On Sat, Sep 8, 2018 at 5:28 PM Yuri Victorovich wrote: > > Author: yuri > Date: Sat Sep 8 23:28:21 2018 > New Revision: 479263 > URL: https://svnweb.freebsd.org/changeset/ports/479263 > > Log: > New port: science/namd: Computer software for molecular dynamics simula= tion > > Added: > head/science/namd/ > head/science/namd/Makefile (contents, props changed) > head/science/namd/distinfo (contents, props changed) > head/science/namd/files/ > head/science/namd/files/patch-Makefile (contents, props changed) > head/science/namd/files/patch-config (contents, props changed) > head/science/namd/pkg-descr (contents, props changed) > Modified: > head/science/Makefile > > Modified: head/science/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/science/Makefile Sat Sep 8 23:26:03 2018 (r479262) > +++ head/science/Makefile Sat Sep 8 23:28:21 2018 (r479263) > @@ -137,6 +137,7 @@ > SUBDIR +=3D mpb > SUBDIR +=3D mpqc > SUBDIR +=3D multiwfn > + SUBDIR +=3D namd > SUBDIR +=3D ncs > SUBDIR +=3D netcdf > SUBDIR +=3D netcdf-cxx > > Added: head/science/namd/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/science/namd/Makefile Sat Sep 8 23:28:21 2018 (r479263) > @@ -0,0 +1,81 @@ > +# $FreeBSD$ > + > +PORTNAME=3D namd > +DISTVERSION=3D 2-12-211 > +DISTVERSIONSUFFIX=3D -gfdf7ea56 > +CATEGORIES=3D science > + > +MAINTAINER=3D yuri@FreeBSD.org > +COMMENT=3D Computer software for molecular dynamics simulation > + > +LICENSE=3D NAMD_MOLECULAR_DYNAMICS_LICENSE > +LICENSE_NAME=3D NAMD Molecular Dynamics Software > +LICENSE_FILE=3D ${WRKSRC}/license.txt > +LICENSE_PERMS=3D auto-accept dist-mirror pkg-mirror > + > +ONLY_FOR_ARCHS=3D amd64 i386 > +ONLY_FOR_ARCHS_REASON=3D Not clear if it can be built on other architect= ures > +BROKEN_i386=3D need to fix the fft library handling > + > +FETCH_DEPENDS=3D git:devel/git > +BUILD_DEPENDS=3D bash:shells/bash \ > + ${LOCALBASE}/include/fftw3.h:math/fftw3 > +LIB_DEPENDS=3D libck.so:net/charm \ > + libfftw3f.so:math/fftw3-float > + > +USES=3D fortran gmake localbase:ldflags python:build shebangfix= tcl > +SHEBANG_FILES=3D config > + > +GIT_URL=3D https://charm.cs.illinois.edu/gerrit/namd.git > + > +ARCH_STR=3D Linux-${ARCH:S/amd64/x86_64/:S/i386/x86/}-g++ > +ARCH_STR_CHARM=3D linux${ARCH:S/amd64/64/:S/i386/32/} > + > +PATCH_WRKSRC=3D ${WRKSRC} > +BUILD_WRKSRC=3D ${WRKSRC}/${ARCH_STR} > + > +CFLAGS+=3D -D_NO_MALLOC_H -D_NO_ALLOCA_H > +CXXFLAGS+=3D -D_NO_MALLOC_H -D_NO_ALLOCA_H > + > +BINARY_ALIAS=3D gcc=3D${CC} g++=3D${CXX} > + > +PLIST_FILES=3D bin/flipbinpdb \ > + bin/flipdcd \ > + bin/namd2 \ > + bin/psfgen \ > + bin/sortreplicas > + > +local-makesum: # Workaround: the generic 'make makesum' is broken when c= ustom do-fetch is defined: it calls ${SCRIPTSDIR}/do-fetch.sh. > + @${MAKE} distclean fetch makesum > + > +do-fetch: > + @if [ "${FORCE_FETCH_ALL}" =3D "true" ] || ! [ -f "${DISTDIR}/${D= IST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}" ]; then \ > + ${MKDIR} ${DISTDIR}/${DIST_SUBDIR} && \ > + cd ${DISTDIR}/${DIST_SUBDIR} && \ > + git clone -q ${GIT_URL} ${PORTNAME}-${DISTVERSIONFULL} && \ > + (cd ${PORTNAME}-${DISTVERSIONFULL} && git reset -q --hard ${D= ISTVERSIONFULL} && ${RM} -r .git) && \ > + ${FIND} ${PORTNAME}-${DISTVERSIONFULL} -and -exec ${TOUCH} -h= -d 1970-01-01T00:00:00Z {} \; && \ > + ${FIND} ${PORTNAME}-${DISTVERSIONFULL} -print0 | LC_ALL=3DC $= {SORT} -z | \ > + ${TAR} czf ${PORTNAME}-${DISTVERSIONFULL}${EXTRACT_SUFX} = --format=3Dbsdtar --uid 0 --gid 0 --options gzip:!timestamp --no-recursion = --null -T - && \ > + ${RM} -r ${PORTNAME}-${DISTVERSIONFULL}; \ > + fi > + > +do-configure: > + @cd ${WRKSRC} && ${ECHO} "CHARMBASE=3D${LOCALBASE}" > Make.config > + @cd ${WRKSRC} && ./config ${ARCH_STR} --charm-arch multicore-${AR= CH_STR_CHARM} ${ARCH:S/amd64/--with-fftw3/:S/${ARCH}//} > + @${REINPLACE_CMD} 's|CHARMBASE =3D .*|CHARMBASE =3D ${LOCALBASE}|= ' ${WRKSRC}/Make.charm > + @${REINPLACE_CMD} '\ > + s|FFTDIR=3D.*|FFTDIR=3D${LOCALBASE}|; \ > + s|-lsfftw|-lfft3f|; \ > + s|-lsrfftw|-lrfft3f|; \ > + s|TCLDIR=3D.*|TCLDIR=3D${LOCALBASE}/include/tcl8.6|; \ > + s|TCLINCL=3D.*|TCLINCL=3D-I${LOCALBASE}/include/tcl8.6|; = \ > + s|TCLLIB=3D.*|TCLLIB=3D-L${LOCALBASE}/lib -ltcl86 -lpthre= ad|' \ > + ${WRKSRC}/arch/Linux* > + > +do-install: > +.for e in namd2 flipbinpdb flipdcd psfgen sortreplicas > + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${e} ${STAGEDIR}${PREFIX}/bin > +.endfor > + > +.include > > Added: head/science/namd/distinfo > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/science/namd/distinfo Sat Sep 8 23:28:21 2018 (r479263) > @@ -0,0 +1,3 @@ > +TIMESTAMP =3D 1536445358 > +SHA256 (namd-2-12-211-gfdf7ea56.tar.gz) =3D 2ab3a98f7cc9fa997088502aa87a= d8cfe9218b35d4b783b7370a5d5d49f7fe15 > +SIZE (namd-2-12-211-gfdf7ea56.tar.gz) =3D 8278948 > > Added: head/science/namd/files/patch-Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/science/namd/files/patch-Makefile Sat Sep 8 23:28:21 2018 = (r479263) > @@ -0,0 +1,11 @@ > +--- Makefile.orig 1970-01-01 00:00:00 UTC > ++++ Makefile > +@@ -435,7 +435,7 @@ LIBS =3D $(CUDAOBJS) $(PLUGINLIB) $(SBLIB) > + > + # CXX is platform dependent > + CXXBASEFLAGS =3D $(COPTI)$(CHARMINC) $(COPTI)$(SRCDIR) $(COPTI)$(INCDIR= ) $(DPMTA) $(DPME) $(FMM) $(COPTI)$(PLUGININCDIR) $(COPTI)$(COLVARSINCDIR) = $(COPTD)STATIC_PLUGIN $(TCL) $(PYTHON) $(FFT) $(CUDA) $(MIC) $(MEMOPT) $(CC= S) $(RELEASE) $(EXTRADEFINES) $(TRACEOBJDEF) $(EXTRAINCS) $(MSA) $(CKLOOP) > +-CXXFLAGS =3D $(CXXBASEFLAGS) $(CXXOPTS) > ++CXXFLAGS +=3D $(CXXBASEFLAGS) $(CXXOPTS) > + CXXMICFLAGS =3D $(CXXBASEFLAGS) $(CXXOPTS) $(CXXMICOPTS) > + CXXTHREADFLAGS =3D $(CXXBASEFLAGS) $(CXXTHREADOPTS) > + CXXSIMPARAMFLAGS =3D $(CXXBASEFLAGS) $(CXXSIMPARAMOPTS) > > Added: head/science/namd/files/patch-config > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/science/namd/files/patch-config Sat Sep 8 23:28:21 2018 = (r479263) > @@ -0,0 +1,11 @@ > +--- config.orig 2018-09-07 20:23:43 UTC > ++++ config > +@@ -582,7 +582,7 @@ function error_exists { > + if [ -n "$CHARM_OPTS" ]; then > + echo "CHARMOPTS =3D $CHARM_OPTS" >> Make.config > + fi > +- echo 'CHARM =3D $(CHARMBASE)/$(CHARMARCH)' >> Make.config > ++ echo 'CHARM =3D $(CHARMBASE)' >> Make.config > + ARCH_SUFFIX=3D"" > + [[ "$CHARM_ARCH" =3D=3D *-scyld* ]] && ARCH_SUFFIX=3D${ARCH_SUFFIX}-S= cyld > + if [[ "$CHARM_ARCH" =3D=3D *-clustermatic* ]]; then > > Added: head/science/namd/pkg-descr > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/science/namd/pkg-descr Sat Sep 8 23:28:21 2018 (r479263) > @@ -0,0 +1,8 @@ > +NAMD is computer software for molecular dynamics simulation, written usi= ng the > +Charm++ parallel programming model. It is noted for its parallel efficie= ncy and > +is often used to simulate large systems (millions of atoms). It has been > +developed by the collaboration of the Theoretical and Computational Biop= hysics > +Group (TCB) and the Parallel Programming Laboratory (PPL) at the Univers= ity of > +Illinois at Urbana-Champaign. > + > +WWW: https://www.ks.uiuc.edu/Research/namd/ > --=20 Adam Weinberger adamw@adamw.org https://www.adamw.org