FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

We also have a status page: https://freshports.wordpress.com/

non port: Mk/Scripts/functions.sh
SVNWeb

Number of commits found: 15

Fri, 17 Feb 2017
[ 22:22 bdrewery ] Original commit   Revision:434316
434316 Mk/Scripts/functions.sh
ports_env: Fix OPSYS not being exported.

This was causing excessive 'uname -s' executions during Poudriere dependency
calculations.  The reasoning is due to HAVE_COMPAT_IA32_KERN having a newline
quoted at the end of it as '\ ' by bmake:

  # make -f Mk/bsd.port.mk -V 'HAVE_COMPAT_IA32_KERN=${HAVE_COMPAT_IA32_KERN:Q}'
| cat -v
  HAVE_COMPAT_IA32_KERN=YES\

This resulted in the following being executed:

  export HAVE_COMPAT_IA32_KERN="YES OPSYS=FreeBSD"

With hat:	portmgr
Mon, 5 Sep 2016
[ 19:23 tijl ] Original commit   Revision:421387
421387 Mk/Scripts/functions.sh
421387 Mk/Uses/linux.mk
421387 Mk/bsd.default-versions.mk
421387 Mk/bsd.linux-apps.mk
421387 Mk/bsd.linux-rpm.mk
421387 Mk/bsd.port.mk
421387 Mk/bsd.sites.mk
421387 accessibility/linux-c6-atk/Makefile
421387 accessibility/linux-f10-atk/Makefile
421387 archivers/kzip/Makefile

(Only the first 10 of 303 ports in this commit are shown above. View all ports for this commit)
- Replace Mk/bsd.linux-apps.mk and Mk/bsd.linux-rpm.mk with
  Mk/Uses/linux.mk.
- Replace USE_LINUX=yes with USES+=linux and USE_LINUX=(.*) with
  USES+=linux:\1 in all ports.
- Replace USE_LINUX_APPS with USE_LINUX in all ports.
- Use INSTALL_SCRIPT instead of INSTALL_PROGRAM to install scripts in some
  ports.
- When USE_LINUX_RPM is defined, simplify the way DISTFILES and EXTRACT_ONLY
  are defined.
- Remove BRANDELF_DIRS and BRANDELF_FILES handling.  In the very rare cases
  that it is still necessary ports can run ${BRANDELF} from post-patch.
- Remove AUTOMATIC_PLIST handling.  Only one port used it.
- Fix Linux MASTER_SITES.
- Replace OVERRIDE_LINUX_BASE_PORT and OVERRIDE_LINUX_NONBASE_PORTS with
  default versions framework.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Fri, 24 Jun 2016
[ 05:03 bdrewery ] Original commit   Revision:417412
417412 Mk/Scripts/functions.sh
Add a function port_var_fetch() for fetching multiple variables from a port.

This is taken from Poudriere (uncommitted)
Wed, 25 May 2016
[ 18:46 bapt ] Original commit   Revision:415853
415853 Mk/Scripts/functions.sh
Fix make check-plist with new @xmlcatmgr keyword
[ 15:58 mat ] Original commit   Revision:415842
415842 Mk/Scripts/check-vulnerable.sh
415842 Mk/Scripts/checksum.sh
415842 Mk/Scripts/do-fetch.sh
415842 Mk/Scripts/functions.sh
415842 Mk/Scripts/makesum.sh
415842 Mk/bsd.port.mk
Extract the larger bsd.port.mk targets into separate scripts.

Refactor all the fetch code so that there are not 6 slightly different
versions of it but one that does it all.

The targets that have been extracted are:
- check-vulnerable
- do-fetch
- fetch-list
- fetch-url-list-int
- fetch-urlall-list
- checksum.
- makesum.
- check-checksum-algorithms
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Fri, 25 Dec 2015
[ 21:55 antoine ] Original commit   Revision:404479
404479 Mk/Scripts/functions.sh
404479 Mk/Uses/python.mk
Do not cache PYTHON_PORTVERSION, it is not invariant between ports
Mon, 9 Nov 2015
[ 18:52 bdrewery ] Original commit   Revision:401162
401162 Mk/Scripts/functions.sh
401162 Mk/Uses/perl5.mk
401162 Mk/Uses/python.mk
Fix partial tree checkouts with 'all-depends-list', 'make clean', etc, after
inclusion of the ports_env feature into that handling around r399791.

With hat:	portmgr
Reported by:	ian, lev
Mon, 19 Oct 2015
[ 21:10 bdrewery ] Original commit   Revision:399792
399792 Mk/Scripts/functions.sh
399792 Mk/Uses/python.mk
Avoid redundantly looking up python command executions for dependency
calculation.

This gets all-depends-list in x11/kde4 down to 30 seconds after the 52->41
second improvement in r399703.

With hat:	portmgr
[ 20:53 bdrewery ] Original commit   Revision:399791
399791 Mk/Scripts/functions.sh
399791 Mk/Uses/perl5.mk
399791 Mk/bsd.default-versions.mk
Avoid redundantly looking up perl version when looking up dependencies or in
sub-makes.

With hat:	portmgr
Tue, 13 Oct 2015
[ 00:03 bdrewery ] Original commit   Revision:399171
399171 Mk/Scripts/functions.sh
399171 Mk/Scripts/ports_env.sh
Follow-up r399170 with a script, ports_env.sh, that can be used for the purpose.

This will allow Poudriere to know if it is possible to use the feature or not
by the existence of the file.

Also fix quoting issues.

With hat:	portmgr
Mon, 12 Oct 2015
[ 23:41 bdrewery ] Original commit   Revision:399170
399170 Mk/Scripts/functions.sh
Add a function to export vars that bsd.port.mk generates from fork/exec.

This will be useful in Poudriere to avoid needless fork/exec for every
port when gathering dependencies.

Example usage:

  MAKE=make sh -c '. Mk/Scripts/functions.sh; export_index_env; export
PACKAGE_BUILDING=1; truss -f make -C sysutils/zfstools -V BUILD_DEPENDS 2>&1' |
grep exec

This eliminates 14 exec/fork calls for this example, when PACKAGE_BUILDING
is also set during -V.

Care should be taken with UID not being passed down into actual builds as it
may conflict with non-root builds.

With hat:	portmgr
[ 13:33 amdmi3 ] Original commit   Revision:399127
399127 Mk/Scripts/functions.sh
Use -r flag for read command, this fixes handling of paths containing
backslashes, and, in result, stage-qa for archivers/deco

Approved by:	portmgr (antoine)
Differential Revision:	D3862
Sat, 26 Sep 2015
[ 12:13 bapt ] Original commit   Revision:397963
397963 CHANGES
397963 Keywords/sample.ucl
397963 Mk/Scripts/functions.sh
Extend @sample to accept arguments

Maintainers can now use @sample sample_file target_file for all cases
that does not fall into the usual @sample something.sample

Reviewed by:	antoine
Differential Revision:	https://reviews.freebsd.org/D3734
Wed, 1 Jul 2015
[ 20:08 bapt ] Original commit   Revision:391119
391119 Mk/Scripts/check-stagedir.sh
391119 Mk/Scripts/do-depends.sh
391119 Mk/Scripts/functions.sh
Factorize the function to validate env

Reviewed by:	antoine
Differential Revision:	https://reviews.freebsd.org/D2966
Thu, 8 Jan 2015
[ 04:04 bdrewery ] Original commit   Revision:376512
376512 Mk/Scripts/check-stagedir.sh
376512 Mk/Scripts/functions.sh
- Move parse_plist() into a new file, functions.sh.

With hat:	portmgr

Number of commits found: 15

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
opensslNov 02
openssl-develNov 02
wordpressNov 01
php56Oct 30
php70Oct 30
php71Oct 30
wiresharkOct 30
chromiumOct 28
wgetOct 27
wgetOct 27
openoffice-4*Oct 26
openoffice-devel*Oct 26
gitlabOct 25
nodeOct 25
node4Oct 25

No vulnerabilities have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 31885
Broken 126
Deprecated 57
Ignore 364
Forbidden 0
Restricted 175
No CDROM 78
Vulnerable 50
Expired 11
Set to expire 49
Interactive 0
new 24 hours 13
new 48 hours16
new 7 days3157
new fortnight3236
new month3395

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2017 Dan Langille. All rights reserved.