Commit graph

3436 commits

Author SHA1 Message Date
Baptiste Daroussin
f1bc69869a Update to 1.10.99.3
Changes
- Replace some mmap with getline()
- Fix pkg which -g
- allow setting env before fetching for every kind of repo
2017-02-25 12:40:55 +00:00
Baptiste Daroussin
f646936a1d Allow per repo environment variable to be set for
every kind of repositories

Reported by:	kib
Tested by:	kib
2017-02-25 12:28:48 +00:00
Baptiste Daroussin
e69e8ebbc4 Release pkg 1.10.0
* fix pkg which -g
* Do not use openssl for sha256
* Improve the default output when fetching data
* Update libfetch to the version of FreeBSD 11
* Fix NetBSD ABI
* Add a fallback for utimensat when reporting EOPNOTSUPP
* replace libsbuf with utstring for portability
* Overwrite some sqlite vfs functions to allow more capsicumisation of pkg
* move more pkg audit details into the library
* allow to run pkg query without any privileges
* extend the audit periodic script to report deprecated packages
* Fix fd leak to rcscripts
* stop dropping privieges during fetching it causes more issues than it solves
* speed walking though [reverse]dependencies
* Update blake2b to latest version
* Add blake2s to the list of supported checksums
* Internal digest now default on blake2b on 64 bits and blake2s on 32 bits.
* Fix segfault when ABI is defined but empty
* Do not use the shared library provides/requires on non FreeBSD/Linux
* Define _NETBSD_SOURCES on NetBSD to allow libfetch to use funopen
* Document vital flags
* Fix potential double free when dealing with @config keyword
* Add progress when fetching (number of files to fetch)
* Improved messages about locked packages
* Return 1 when a user rejects the proposed plan
* When dealing with configuration files '@config' never overwrites non tracked
  files
* Warn everyone about deprecation of @dirrm and @exec
* Deduplicate metadata loading code
* pkg register now understands context aware messages
* Fix pkg register issues with some version of libarchive:
      hardlinks not being made hardlinks sometime
      issues when PREFIX is a symlink to another directory
* Use portable mechanism to find the number of CPUs which allows pkg repo to be
  faster on linux
* New pkg upgrade --vulnerable
2017-02-24 22:55:51 +00:00
Bryan Drewery
c2e8980f0d Restore 'umount -f' usage for now as older releases do not support 'umount -n'.
A better fix will be coming soon.

Reported by:	ohauer
2017-02-22 20:35:50 +00:00
Bryan Drewery
70eec3b6cc Mark BROKEN due to 'umount -n' being unsupported.
This is in the cleanup code, let's not cause problems for
people as I get it fixed.
2017-02-22 20:30:47 +00:00
Bryan Drewery
df4e2f3a71 Update to 3.0-1822-ge8f0d3e
- Manpage updates
   - Remove pkg_install support.
   - Remove NO_STAGE support.
   - Remove use of umount -f where possible.
   - Use relative paths where possible to avoid namecache contention.
   - USE_CACHED reworked to use POSIX mq (will soon change again)
   - PRIORITY_BOOST is fixed to boost dependencies as well now with
     USE_PTSORT enabled (default yes).
   - Load linux64 when needed
   - Improved ports_env support (less executions during ports interations)
   - Show resource limits in build log
   - Limit filedescriptors to 1024 by default with MAX_FILES
   - Shutdown/unmount build jails in parallel
   - Don't leak mount path in build log from ident(1)
   - sh: Add some builtins to avoid fork/execs (mostly poudriere C helpers):
     cachec, clock_monotonic, date +%s, dirempty, locked_mkdir, realpath,
     sleep
   - BUILD_AS_NON_ROOT: Remove redundant chown -R.
   - Add HTML_JSON_UPDATE_INTERVAL (def: 2) to allow overriding JSON update
     interval.
   - Add support for USE_TMPFS=no
   - jail: install the kernel requested with -K when using src method
   - jail -c -m src: Add support for building the src tree with -b.
   - jail -u -m src: Update the version for the jail as well.
   - jail -c: Allow @rev for releng/X.Y branch
   - jail: Switch to http protocol for ftp-archive.
   - ports: Do not create a FS when '-m none'
   - ports -d: Do not delete a ports tree created with method=none or -.
   - ports -d: Confirm if in a TTY
   - ports -d: Really delete the zfs dataset when TMPFS_ALL is used
   - ports: Add git+http support
   - ports/jail: Auto pass PROXY env vars from parent environment
   - image: only isos have a restriction in the image name
   - image: If the images dir does not exist, attempt to create it
   - image: Handle a relative path with -o
   - image: Various fixes.
   - image: usb|*firmware|rawdisk now require a kernel and image size.
   - testport: Fix fdescfs/procfs/linprocfs not being mounted.
   - testport: Fix limits not being applied
   - testport+SIGINFO: Fix very old deadlock with update_stats.
   - pkgclean: Add hook: pkgclean done <DELETED_FILES: 0|1> <BUILT_REPO: 0|1>
   - pkgclean: Cleanup corrupt packages
   - pkgclean: Act on .latest directory for ATOMIC_PACKAGE_REPOSITORY
   - poudriere.conf: Don't suggest changing svn.FreeBSD.org to a mirror anymore.
   - QEMU+Arm64: Coppy the latest aarch64-binutils ld into the jail at startup.
   - QEMU+Arm64: Link /usr/bin/ld to /nxb-bin/usr/bin/ld.
   - QEMU+Arm64: Tell about copying ld
   * QEMU+Arm64: Note that this is not working properly yet due to the
     aarch64-binutils port not providing a static ld.
   - options: Properly setup ARCH/MACHINE in make.conf for cross-builds
2017-02-22 18:21:46 +00:00
Dmitry Marakasov
138bda54c3 - Deprecate ports-mgmt/fbsdmon
From the PR:

"The web site used by this port, http://fbsdmon.org, has been taken
over by cybersquatters.  That means that users are sending their
system info to an unknown party.  The port has had no maintainer
for almost two years and the original maintainer (and previous owner
of the website) is not responding to email."

Since there's no way to force this port to be deinstalled from users'
machines, to stop data being sent to an unknown party, also do the
following:

- Modify the port to never send data to fbsdmon.org, bump PORTREVISION
- Mark the port IGNOREd for ports users, but allow package to be built
  and set extended 6 month EXPIRATION_DATE (or should it be extended
  to a year?) to give a modified package chance to replace original one
  on users machines

PR:		217099
Submitted by:	asomers
MFH:		2017Q1
2017-02-21 11:12:34 +00:00
Baptiste Daroussin
71a1feb6ee Update to 1.10.99.2
- Remove pkg2ng and pkg convert code
- Emit dep_formula within the manifests
- Use stack based read (32k buffer) instead of mmap
- Use 32k buffers for each reads
- Cache pw/group to reduce overreading nsswitch.conf
- Update libucl and remove over call of getcwd
2017-02-19 16:43:03 +00:00
Jason E. Hale
a7d8cff138 Update to 3.3.2
PR:		217110
Submitted by:	Mamoru Sakaue <sakaue.mamoru@mwghennndo.com> (maintainer)
2017-02-18 14:24:18 +00:00
Baptiste Daroussin
af3583134d Update to 1.10.99.1
- The solver now uses natively the new dep formula (more works needed)
- Ensure don't call getcwd for each manifest part (useful for the builders)
2017-02-17 23:12:18 +00:00
Rene Ladan
676b34a127 Return the ports mistakenly reset to ports@ in r433856 to John Marino.
The mistake was completely on my part, I somehow connected the dots the
wrong way in my head.

The only exceptions (for now) are archivers/zstd and ports-mgmt/synth
which were already picked up by new volunteers in the mean time.
2017-02-15 21:33:11 +00:00
Bryan Drewery
d572f1d9fd Fix building arm64 jails by copying in the needed binutils. 2017-02-15 16:43:26 +00:00
Bryan Drewery
45a04670ae Fix building arm64 jails by copying in the needed binutils. 2017-02-15 16:42:49 +00:00
Mahdi Mokhtari
2e9e2e4769 Pass maintainership by request to the reporter.
PR:		217075
Submitted by:	mmokhi
Reported by:	ericturgeon.bsd@gmail.com
Reviewed by:	feld, mat
Approved by:	feld (mentor)
Differential Revision:	https://reviews.freebsd.org/D9572
2017-02-13 21:28:45 +00:00
Baptiste Daroussin
36ca5b2073 Update to 1.9.99.11
- Fix install as user
- Allow to set env variable per repo to pass to libfetch
- Plug a memory leak
- Fix repo initialization when a repo is disabled
- Fix installing sparse binary files
- Add an option for a user to change locking over nfs
2017-02-12 21:09:17 +00:00
Rene Ladan
921fd6118f Return ports maintained by John Marino to the pool, see r433827 for details 2017-02-11 12:42:30 +00:00
Pawel Pekala
064f9fd384 Update to 1.1 bugfix release
Changelog:

pkg-deleaf:
 - reset items list after packages deletion

upgrade-base:
 - use sudo when run as normal user
 - offer to run rebbot for the user

upgrade-ports:
 - include reason in message about port move
 - fix updating commands parsing code
 - improve sanity check summary, fix required by printing and
   show missing required libraries for each reinstalled package
 - fix obsolete reason extraction
 - don't remove reverse dependencies of self conflicting packages so
   that after upgrade no user packages is missing
 - check for boundaries while calculating ports upgrade order
   preventing stack memory exhaustion
2017-02-07 16:32:35 +00:00
Bryan Drewery
99b5ee1ef7 - Update to 3.17.10
Fixes --clean-distfiles trying to read in base/ [1]
  Saves port failures to TMPDIR/portmasterfail.txt [2]

PR:		212376 [1]
Reported by:	wblock [1]
Tested by:	wblock [1]
Submitted by:	Torsten Zühlsdorff <t.zuehlsdorff@anymotion.de> [2]
2017-02-03 22:12:53 +00:00
Pawel Pekala
57724e7d87 Add collection of my ports tree related scripts
mkpatch
-------
Makes patch from (all or pattern matched) modified files in WRKSRC directory.

pcheck
------
Check for various errors that portlint don't catch:
* misspellings in description files
* files with no final new lines
* leading articles in COMMENT, tabs in WWW lines

pclean
------
Keeps your ports svn repo tidy, removes work directories, leftover files
and reverts any changes made.

pcommit
-------
Wrapper for svn commit, removes and adds files, sets props, etc.

pfind
-----
Simple port's search wrapper. Search parameters include build dependency,
category, name, maintainer, regexp pattern and slave ports.

pkg-deleaf
----------
Leaf package remover with nice dialog interface.

plist-sort
----------
Smart plist sorter which understands PLIST_SUB substitutions and options
determined conditional files.

plist-update
------------
Script utilizing check-plist port's framework target output for updating
outdated pkg-plist, understands PLIST_SUB substitutions and sorts
final files list.

plog
----
Easy way to send poudriere build logs to your FreeBSD account by scp or
view them on your computer.

reinplace-check
---------------
Checks for files with stale REINPLACE_CMD actions or shows diff's of them.

tbuilder
--------
Poudriere testport wrapper that makes easier to queue multiple builds of:
- specific port
- ports linking with certain library
- ports with certain names
- ports with Makefile matching regular expression
- slave ports etc.

upgrade-base
------------
Helper script for upgrading FreeBSD base. Detects and sets number of make
jobs possible. After upgrade rebuilds ports with kernel modules and offers
to remove old files using dialog inerface.

upgrade-ports
-------------
Helper script for updating ports tree and upgrading your ports. Combining
information gathered from UPDATING and MOVED files tries to provide upgrade
process as problem free as possible. This includes showing new UPDATING
entries since last upgrade, ports origin move tracking, simple conflict
resolution, removal of obsolete ports and sanity checking afterwards.
Before any change is made user is presented with summary of changes
intended similiar to pkg upgrade.
2017-01-30 21:07:01 +00:00
John Marino
470e6b9ae4 ports-mgmt/synth: Upgrade version 1.67a => 1.68
1) Create a platform-specific (FreeBSD/DF, NetBSD, Linux, Solaris) version
   of /etc/shells for the builders.  This resolves installation errors on
   packages that manipulate /etc/shells.

2) Give in and finally mount /usr/games if available.  This is a
   performance impact ultimately caused by removing the strfile
   application from ports with the faulty logic that the 400-line C
   program can't exist because it's in a non-standard location in base.
   The alternative is that Synth can't build any applications that
   require strfile from games, e.g. all fortune ports.  Thanks! <sarcasm/>
2017-01-30 17:49:17 +00:00
John Marino
14e929bef5 ports-mgmt/synth: Upgrade version 1.67 => 1.67a
I forgot to bump the version internally, so v1.67 was showing v1.66 still
on the help screen.  Fix and re-release 1.67.
2017-01-26 15:24:42 +00:00
John Marino
d864a89344 ports-mgmt/synth: Upgrade version 1.66 => 1.67
This version blocks TTY signals to and from background processes, allowing
lang/sbcl to build as well as avoiding disruption of an active ncurses
display by "you've got mail" message.

It also includes a minor duration time formatting fix on build logs and
the many-thousands-open-file-descriptor problem fix on purge-distfiles
command provided by 1.66_1 between releases.

There is also a change in the build order algorithm.  Previously the
categories were ordered alphabetically, but rather scanned in the order
that appears by walking the directory.  Now when the "nothing depends on
these ports" ports block starts building, it's in A-Z order by category/
portname whereas before ony the portname was ordered A-Z (the categories
were blocks in random order).  There is no real benefit to the reordering;
it's mainly to satisfy those bothered by disorder.
2017-01-25 15:02:41 +00:00
Sunpoet Po-Chuan Hsieh
0e04efec5a Update WWW: SF redirects to https://sourceforge.net/projects/<PROJECT_NAME>/ 2017-01-20 20:33:30 +00:00
John Marino
28b65eaff9 ports-mgmt/synth: Fix open file descriptor issue for purge-distfiles cmd
The purge-distfiles command reads the distinfo file of every port in the
tree, but unfortunately never closed the file descriptor when the scan
was complete.  This resulted in 26,000+ open file descriptors, possibly
exceeding the host server's FD limit.  (issue #70)
2017-01-20 03:40:53 +00:00
Larry Rosenman
39b1447eb4 [MAINTAINER] ports-mgmt/portfind: Update from 1.6.1 to 1.6.3
Update MAINTAINER email
minor modernizations.

PR:		202063
Submitted by:	Thorsten Geppert (Maintainer)
Approved by:	adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D9194
2017-01-16 00:16:00 +00:00
Dmitry Marakasov
9d79e7b146 - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL
Approved by:	portmgr blanket
2017-01-09 13:16:49 +00:00
Ryan Steinmetz
b76b458340 - Instruct portscout to ignore these 2017-01-03 20:38:47 +00:00
Baptiste Daroussin
230e423e23 Release to 1.9.99.10 (yes I forgot update the port for 1.9.99.9
- Fix symlinks created by pkg register
- Fix pkg version -n
- Do not autoremove packages marked as vital
- pkg query: aggregate license information
- Fix build on OSX
- Fix build on FreeBSD 8
- Implement pkg upgrade --vulnerable
- Fix descriptor leak
2017-01-02 23:32:02 +00:00
Sunpoet Po-Chuan Hsieh
e0b379fa6f Remove BROKEN_FreeBSD_9
Approved by:	portmgr (blanket)
2017-01-01 03:45:12 +00:00
Mathieu Arnold
0dbdb658aa Cleanup NO_BUILD and NO_INSTALL usage.
Sponsored by:	Absolight
2016-12-29 12:41:04 +00:00
Baptiste Daroussin
0693ccefbe Fix file descriptor leak that might lead to errors on packages with lots of files
PR:		215544
Submitted by:	pasokondokoro@gmail.com
2016-12-25 15:15:38 +00:00
Joe Marcus Clarke
b302db2ed7 Update to 2.17.6.
Add support for CMAKE_BOOL

PR:		215203
Submitted by:	Dmitri Goutnik <dg@syrec.org>
2016-12-23 23:19:41 +00:00
Jason Unovitch
a64cd7714f ports-mgmt/freebsd-bugzilla-cli: update 0.14.0 -> 0.15.0
PR:		214323
Submitted by:	Jochen Neumeister <joneum@bsdproject.de>
Approved by:	maintainer timeout (6 weeks)
2016-12-23 22:30:43 +00:00
Nikolai Lifanov
953689ecbf * Updated to 0.1.8
- Removed git file and folder generator before applying a patches
 - Small optimizations
 - Pulls poudriere.conf for pathing, small changes for readability
 - Changed bulkfile default location, changed the way poudriere bulk is called

PR:		215483
Submitted by:	Ultima1252@gmail.com (maintainer)
Reviewed by:	matthew
Approved by:	matthew (mentor)
Differential Revision:	https://reviews.freebd.org/D8890
2016-12-23 14:48:47 +00:00
John Marino
87d9d74fc7 ports-mgmt/synth: Upgrade version 1.65 => 1.66
The primary reason for the creation of v1.66 is to provide support for
pkgsrc on FreeBSD, DragonFly, NetBSD and initial support for Linux and
Solaris.  It represents over 100 commits and was successful.  Along the
way, some improvements were made for the ports version.  A (likely
incomplete) list includes:

- Improve watchdog kill message by including inactive time for trigger
- Add SYNTHPROFILE variable and value to builders' mk.conf which can be
  used by custom local makefiles
- Force users to define TERM in environment if it is not present
- Ensure fetch(1) doesn't check for valid SSL certificates.  Since all
  downloads are hash-checked for authenticity, misconfigured SSL of a
  webserver is not a good reason to break fetching.
- New 6th log which documents why existing packages are obsolete (same
  as setting WHYFAIL in env.) "06_obsolete_packages.log"
- New SELFTEST environment command for test mode which forces new "test"
  phase to execute (for ports with regression tests)
- Updated man page
2016-12-14 19:24:59 +00:00
John Marino
d2f03589b6 ports-mgmt/portal: Support ports ncurses and honor FLAGS
Approved by:	general and ncurses blankets
2016-12-09 22:53:34 +00:00
Tijl Coosemans
323dfa7d83 Remove libtiff.so.4 compatibility links that were added in r374303 to
prevent massive PORTREVISION bumps.  Bump dependent ports that have not
been bumped since.
2016-12-08 16:07:33 +00:00
Tijl Coosemans
7ae3f48312 Remove libogg.so.8, libvorbis.so.4 and libvorbisfile.so.6 compatibility
links that were added in r374303 to prevent massive PORTREVISION bumps.
Bump dependent ports that have not been bumped since.
2016-12-08 15:38:24 +00:00
Baptiste Daroussin
0c586c93ba Update to 1.9.4
- Stop dropping privileges for fetching, it causes more issues than it solves
- Fix segfault when ABI is defined by empty
- Fix reporting of deprecated packages
- Provide instructions on how to unset vital flages
- Fix libfetch for NetBSD
- Fix @config potential double free
- Always warn about the deprecated @dirrm/@dirrmtry
- Always warn about the deprecated @exec
- Rework pkg register to share more code with pkg install
  * It makes it more robust to libarchive regressions [1]

PR:		214381 [1], 215029 [2]
Reported by:	lampa@fit.vutbr.cz [1]
Exp-run:	antoine [2]
2016-12-08 09:27:04 +00:00
Emanuel Haupt
67fcd454a6 Provide an option to add SSL protocol support 2016-12-08 09:08:29 +00:00
Emanuel Haupt
552f48c976 Adjust description as perl threads are no longer used.
MFH:		2016Q4
2016-12-06 12:27:23 +00:00
Emanuel Haupt
d49e139232 Update to 0.3.
Switch from perl threads to Parallel::ForkManager. With perl 5.24, threads
used in distilator produce a many random warnings hinting at the fact that the
modules used to check the links are not (and never were) thread safe.

Remove WWW. There is no public website available.

PR:		208506 (based on)
Notified by:	mat
MFH:		2016Q4
2016-12-06 12:24:32 +00:00
Baptiste Daroussin
a4de3b025a Update to 1.9.99.8
- bug fixes and simplification of pkg register
2016-12-04 22:19:58 +00:00
Baptiste Daroussin
72ec8d3ea7 Update to 1.9.99.7
changes:
- pkg register: fix timestamps
2016-12-04 00:15:46 +00:00
Baptiste Daroussin
dc2eb94047 Update to 1.9.99.6
- Fix pkg register when target hardlink is not in the same directory as the source file
2016-12-03 22:50:40 +00:00
Baptiste Daroussin
2895a58be0 Update to 1.9.99.5
- In case of errors during pkg update exit with a non 0 status
- Fix pkg register issues with some version of libarchive:
  * hardlinks not being made hardlinks sometime
  * issues when PREFIX is a symlink to another directory
- Use portable mechanism to find the number of CPUs which allows pkg repo to be
  faster on linux
2016-12-03 21:14:01 +00:00
Frederic Culot
6035ce1607 - Update to 0.4
Changes:	https://github.com/culot/portal/blob/master/CHANGES
2016-12-03 19:13:37 +00:00
Steve Wills
7f220fd3ff Rename PKG_CMD to PKG_REGISTER
Submitted by:	bapt
Differential Revision:	https://reviews.freebsd.org/D8677
2016-12-01 21:29:04 +00:00
Jason E. Hale
bb66fd270d Fix distinfo
PR:		214969
Submitted by:	<goto-freebsd@on-link.jp>
Approved by:	just fix it
2016-12-01 01:38:00 +00:00
Alex Kozlov
cb26a8d899 - Update to 20161113
PR:	214462
Submitted by:	kdeguchi@sz.tokoha-u.ac.jp (maintainer)
2016-11-29 08:56:11 +00:00