From owner-freebsd-pkg@freebsd.org Wed Jan 18 17:28:31 2017 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C424CB6163 for ; Wed, 18 Jan 2017 17:28:31 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 224A01F9E for ; Wed, 18 Jan 2017 17:28:31 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: by mailman.ysv.freebsd.org (Postfix) id 1AF9CCB615F; Wed, 18 Jan 2017 17:28:31 +0000 (UTC) Delivered-To: pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A620CB615E; Wed, 18 Jan 2017 17:28:31 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A3EBF1F9C; Wed, 18 Jan 2017 17:28:30 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id v0IHSKqp040029 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 18 Jan 2017 18:28:21 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id v0IHSKvL040026; Wed, 18 Jan 2017 18:28:20 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Wed, 18 Jan 2017 18:28:20 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Julian Elischer cc: "ports@FreeBSD.org" , freebsd , pkg@freebsd.org Subject: Re: standard settings for ports. In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 17:28:31 -0000 On Thu, 19 Jan 2017 01:25+0800, Julian Elischer wrote: > pointers appreciated... Try something like this in /etc/make.conf: DEFAULT_VERSIONS=apache=2.4 bdb=6 firebird=2.5 gcc=4.9 ghostscript=9 lua=5.2 mysql=5.7 perl5=5.22 php=5.6 pgsql=9.5 python=2.7 python2=2.7 python3=3.5 ruby=2.2 ssl=openssl tcltk=8.6 -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-pkg@freebsd.org Wed Jan 18 18:07:03 2017 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0175DCB674B for ; Wed, 18 Jan 2017 18:07:03 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8884E1B9F for ; Wed, 18 Jan 2017 18:07:02 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from ox-dell39.ox.adestra.com (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id B59A924A6 for ; Wed, 18 Jan 2017 18:06:55 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/B59A924A6; dkim=none; dkim-atps=neutral Subject: Re: standard settings for ports. To: freebsd-pkg@freebsd.org References: From: Matthew Seaman Message-ID: Date: Wed, 18 Jan 2017 18:05:55 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="po1JWMRtVcdfoROfx7bLDbS8Blo5rd8pQ" X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00,RCVD_IN_RP_RNBL, RDNS_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 18:07:03 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --po1JWMRtVcdfoROfx7bLDbS8Blo5rd8pQ Content-Type: multipart/mixed; boundary="eTSpFV5qFGApSSlgMFjJlFMROiecmw5RH"; protected-headers="v1" From: Matthew Seaman To: freebsd-pkg@freebsd.org Message-ID: Subject: Re: standard settings for ports. References: In-Reply-To: --eTSpFV5qFGApSSlgMFjJlFMROiecmw5RH Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/18/17 17:25, Julian Elischer wrote: > I know there are some standard setting one can set.. >=20 >=20 > make ports shows 8 but I know there are many more. >=20 >=20 > like what version of perl you want to use throughout your system >=20 > or whether you want to use openssl from ports or system or what version= > of python.. >=20 > or whether to use some version of gcc or ... >=20 >=20 > Is there a list somewhere as to where all these are found? >=20 > for example setting NO-X11-yes (or someting like that) >=20 >=20 > things I'd like to turn off include >=20 > DOCS, EXAMPLES, MAN, X11, >=20 > Also I'd like to specify that I'd like everything to try use python 2.7= >=20 > and jdk8 >=20 > can I set the USES stuff from the command line?(no?) >=20 >=20 > pointers appreciated... >=20 >=20 > Julian You can't *set* USES stuff from the command line, but you can generally add variable settings to your make.conf to control what the USES mechanisms do. Note -- for poudriere, the relevant make.conf file is typically /usr/local/etc/poudriere.d/make.conf although you can prepend jail or other terms to allow you to customize settings for different repo= s. To set which versions of various ports you want, use DEFAULT_VERSIONS in your make.conf -- eg. something like DEFAULT_VERSIONS=3D perl5=3D5.22 pgsql=3D9.2 apache=3D2.4 php=3D5.6= \ mysql=3D5.6 ruby=3D2.2 ssl=3Dopenssl lua=3D5.3 varnish=3D4 See ${PORTSDIR}/Mk/bsd.default-versions.mk for all the things you can control this way. Unfortunately, which JDK version you use is not controlled by this mechanism. I think you can do something like: JAVA_PORT=3D java/openjdk8 in make.conf though. To turn an OPTION setting on or off globally, add: OPTIONS_SET=3D DOCS EXAMPLES OPTIONS_UNSET=3D X11 note that this will be overridden by a per-port setting which you can make by eg. 'poudriere options -c editors/emacs' or you can add per-port OPTIONS settings to your make.conf like so: editors_emacs_OPTIONS_UNSET=3D X11 Cheers, Matthew --eTSpFV5qFGApSSlgMFjJlFMROiecmw5RH-- --po1JWMRtVcdfoROfx7bLDbS8Blo5rd8pQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAlh/roMACgkQAFE/EOCp 5Ofr2w//Tpr70aEA2GD6gHyJn/I8HrF5GgqjqBZwHD8gWBtCMP3MulK1VIpzGs8B Iqw90i8jy6yB6RHiyap1V8j3euel22EoXXdMfeJLQCgVS2RnurbKIeTz6cItQutg cRjBpM9jxfr0PuMTiZOT3QxMfy+cRBvMPwsrZSoULo7G8d8WoygX4PpgQpPT21wS D3LpgWB4tIl2LvTWg4lQMAc640smBeCP9Q0Sc/X0HNSkJ/C+gwtaRHFPYPMnectu eur9QHBxWzdnrOeX5kJKYz/HMGZ+6ksQgnqmitU9S06OabRsRL6p4D8ZCt9JuqQA p4xXBfDp9sIvSs9AeU6ywP4eXzEWR3BUS2UZY/4i3vWLtgrRquDX1mo2bqZL4P9r J7jDgvhvRTZbCC9n73TKX6/v6l3Jyfoj2gdQEpk1OY3/Ic1e4qItfJp91EfgEFRn OoiMWuC4kVLJkVIhOjKORmQ6BQ6dQr+Aj14XQygzEnh9nwThPw5+Josf9plZSX2K 3YwNr0rx5cBfGsufWFSkAb452q8XeiTcguogdZXxzYU8bDF1JsCcr5Qo1CGNy1hJ TVSb3gpfNTGtKhjsbo68kPpV2GpxBd1Ruedi2EjpFtfdp1usRuhwfmDpBRk7C1Yj 2qCTyfrmf0YHd241dF/NsOHhLIWP1dpV1AY9+2k49nXUMHGVPfQ= =cCA2 -----END PGP SIGNATURE----- --po1JWMRtVcdfoROfx7bLDbS8Blo5rd8pQ--