1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
Commit Graph

30 Commits

Author SHA1 Message Date
Sunpoet Po-Chuan Hsieh
ba33313a9d Remove superfluous space
Differential Revision:	https://reviews.freebsd.org/D9162
Submitted by:	sunpoet (myself)
Reviewed by:	amdmi3
Approved by:	portmgr (mat)
2017-03-04 13:48:15 +00:00
Mathieu Arnold
eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +00:00
Tijl Coosemans
df391f0617 Replace the license dialog menu and "View license" screen with one --yesno
dialog.  This also folds long lines.

PR:		208180
Approved by:	portmgr (mat)
2016-03-21 14:34:05 +00:00
Dmitry Marakasov
086014d82b Fix handling of licenses ending with plus sign on 9.x
Approved by:	portmgr (bapt)
Differential Revision:	D4921
2016-01-13 12:30:46 +00:00
Baptiste Daroussin
243a3b411b Register license files with absolute path
That makes it still respecting PREFIX while making it more robust to plist using @cwd
2014-09-23 12:42:00 +00:00
Baptiste Daroussin
97c37f55f4 Let pkg(8) track license directories by itself 2014-09-22 06:28:15 +00:00
Bryan Drewery
4fdfafda5b - Add a comment to clean-restricted. This code has confused me every time
I've looked.

With hat:	portmgr
2014-08-21 18:08:00 +00:00
Eitan Adler
e55946fd7f Ask politely that people run changes to bsd.licences.mk and bsd.licenses.db.mk
by me before changing the license database and core logic.

Approved by:	portmgr (bapt)
2014-06-19 05:54:02 +00:00
Thomas Zander
4af105408a - Rewrite explanation of LICENSE_PERM components (dist-mirror dist-sell
pkg-mirror pkg-sell auto-accept) to make it more clear to the reader

PR:		186662
Submitted by:	riggs
Reviewed by:	bapt, mentors
Approved by:	portmgr (bapt), mentors (implicit)
2014-06-16 05:45:15 +00:00
Mathieu Arnold
645a02ffca If using WRKDIRPREFIX, the licenses path will be made unusable.
With hat:	portmgr
Sponsored by:	Absolight
2014-05-25 13:39:16 +00:00
Mathieu Arnold
f6525cea8d Remove a mention to LICENSE_NOTES, it seems it never existed.
With hat:	portmgr
Sponsored by:	Absolight
2014-05-18 01:57:57 +00:00
Baptiste Daroussin
b30d2c8526 Remove more now useless fallback targets 2014-01-03 23:05:37 +00:00
Rene Ladan
df98d075e9 Ensure correct ownership of the licenses directory to avoid "leftovers" [1]
from that ports that modify the user/group.

[1] https://qat.redports.org/~rene@FreeBSD.org/20131227145600-2109-244247/boinc-setiathome-v7-7.00_2.log

Approved by:	portmgr (bapt)
2014-01-03 10:38:51 +00:00
Baptiste Daroussin
c55b1dc4b6 Bring back bsd.licenses.mk to prior r336083 the ports tree is not yet ready for that
Reported by:	mat
Pointyhat to:	bapt
2013-12-10 19:10:13 +00:00
Baptiste Daroussin
48d34b8d40 Disable NO_ARCH for now as it prevent from upgrading from pkg 1.1 to pkg 1.2 (pkg 1.1 will not understand it and claim there invalid ABIs)
Let's wait a bit before activating it.

Reported by:	mat
2013-12-10 19:05:41 +00:00
Bryan Drewery
cb4acf2f58 - Similar to r328081, need to explicitly list the PREFIX that '@cwd' should
fallback to.

With hat:	portmgr
2013-09-25 13:29:12 +00:00
Baptiste Daroussin
cf099c77fa Add support for staging area in the ports tree
The ports tree is now staged by default. With pkgng the sequence hasn't
changed, the main difference is that creating package is now independent
from installing it. With pkg_install, the package is now created first
and make install, do install the package.

New macros:
- STAGEDIR: PATH to the directory where the port will be staged.
- NO_STAGE: Keep the old behaviour of the ports tree (aka no staging area)

Unsupported macro if NO_STAGE is not set:
- MAN* with staging man page compression and handling of hardlinks and
symlinks is automatically done in the stage. the manpages becomes then a
"normal" plist files and should be tracked in pkg-plist.
- MANCOMPRESSED the compress-man target is able to only compress when it
needed.

New target:
- stage: this installs everything into the stage directory
- makeplist: this will create a pkg-plist and print it to stdout. This is
a sample plist and it should always be _reviewed_ not directly used.

NOTE: with staging only what is in the plist will be installed, nothing more,
meaning a port staged cannot have leftovers exect directories left. It is
really important to double check the pkg-plist to make sure all the files
the maintainer want to package are in! make makeplist can help in that area.

The goal is to handle as quickly as possible a full removal of the NO_STAGE
support.

More features can be added once the full ports tree is converted to using the
staging area

Conversion notes:
- Remove NO_STAGE
- in {pre,do,post}-install
  * Before any usage of ${PREFIX}, ${ETCDIR}, ${PORTSDIR}, ${PORTEXAMPLES}
    prepend ${STAGEDIR}
  * Remove any thing that is done by @exec or +INSTALL script it will be
    done automatically when syncing packages
  * Remove any code to show PKG-MESSAGE it will be done automatically when
    syncing packages
  * Directory creation should remain in post-install (in particular because
    pkgng doesn't work like pkg_install in that area and pkgng ignores the
    @exec mkdir but directly pack the directory even if empty)
- PORTDOCS/PORTEXAMPELS
  To support PORTDOCS, PORTEXAMPLES most of the time there is no more need
  for hacks. just add the right %%PORTDOCS%% or %%PORTEXAMPLES%% in your
  plist then the given files from the stagedir will or will not sync
  according to NOPORTDOCS and NOPORTEXAMPLES.

With hat:	portmgr
Reviewed by:	bdrewery
2013-09-23 05:56:35 +00:00
Thomas Abthorpe
988fb33cd3 - Set IGNORE if BATCH is set [1]
- Silence some output, set LICENCE_VERBOSE to enable [2]
- Add AGPLv3 as a license

PR:		ports/164870 [1] ports/165270 [2] ports/166066 [3]
Submitted by:	many
Exp-run by:	linimon
2012-06-26 15:27:54 +00:00
Martin Wilke
61d8acdb49 - Remove emacs mode, -*- mode: ...; -*- [1]
- Comments for BUILD_ and RUN_DEPENDS fail to mention alternate means to specify dependencie [2]
- Fix make reinstall [3]
- Trivial comment change for PORTDATA [4]

PR:		151954 [1]
		161314 [2]
		167085 [3]
		167465 [4]
Submitted by:	Anonymous <swell.k@gmail.com> [1]
		dougb@ and Chris Rees <utisoft@gmail.com> [2]
		Garrett Cooper <yanegomi@gmail.com> [3]
		"Bryan Drewery" <bryan@shatow.net> [4]
Tested via:	phw
2012-05-23 08:17:49 +00:00
Eitan Adler
217f13c9a1 Minor English correction
Submitted by:	Mel Flynn <rflynn@acsalaska.net>
Feature safe:	yes
2012-03-13 17:01:54 +00:00
Thomas Abthorpe
a12012fda0 - Add code to support standard licenses [1]
- Properly cleanup files in /tmp [2]
- Bring back --hline [3]

PR:		ports/163640 [1], ports/155890 [2], ports/164403 [3]
Submitted by:	crees [1], Pan Tsu [2], Jan Beich [3]
Exp run by:	pav
2012-02-27 17:33:55 +00:00
Thomas Abthorpe
9535b93cb0 - Make pkg_add honour -p/-P
PR:		ports/153573
Submitted by:	ohauer
Exp run by:	pav
2012-01-09 15:31:27 +00:00
Thomas Abthorpe
87f78ba5a9 - Disable license checking with DISABLE_LICENSES [1]
- Remove temp files from /tmp when build is interrupted [2]

PR:		ports/149837 [1], ports/155890 [2]
2011-03-31 03:37:14 +00:00
Thomas Abthorpe
b4c88ee7c5 - Claim ownership for portmgr
Reviewed by:	pav
2011-03-17 14:29:58 +00:00
Erwin Lansing
90bc5bb60a Use --title instead of -hline as the latter is no longer supported
in the latest imported dialog.

PR:		154121
Submitted by:	Anonymous <swell.k@gmail.com>
Feature safe:	yes
2011-02-07 13:48:49 +00:00
Greg Larkin
0eed1f2921 - Added the license name to some of the informational messages displayed to
the user.  See http://people.freebsd.org/~glarkin/logs/pecl-drizzle-0.4.2.log
  for an example (e.g. "License PHP301 accepted by the user")

PR:		ports/152964
Submitted by:	glarkin
Tested on:	pointyhat exp-run
Approved by:	miwi (portmgr hat)
Approved by:	alepulver (maintainer)
2011-01-07 01:29:45 +00:00
Erwin Lansing
4ef9fbfee4 We shouldn't trust vendor that their license filename is unique and will
not cause collisions for different licenses as well as for _LICENSE_REPORT.
The patch also makes it clear what license file belongs to what license
in an installed package.

PR:		148808
Submitted by:	Anonymous <swell.k@gmail.com>
Tested on:	pointyhat
2010-09-28 07:35:44 +00:00
Pav Lucistnik
4a4e54a80a - Fix plist leftovers when using LICENSE framework and having @cwd command in
plist

PR:		ports/147296
Submitted by:	beat

- Provide end-user DISABLE_LICENSES knob to disable licensing framework

PR:		ports/149070
Submitted by:	amdmi3

- Include bsd.gnome.mk when INSTALLS_ICONS is defined

PR:		ports/148051
Submitted by:	amdmi3

- Disable xz memory limit to fix port builds on low-memory systems

PR:		ports/148250
Submitted by:	Warren Block <wblock@wonkity.com>

- Remove compatibility shim for 6.3-RELEASE and older in describe target

PR:		ports/146067
Submitted by:	Alex Kozlov <spam@rm-rf.kiev.ua>

- Remove INSTALLS_SHLIB

PR:		ports/146351
Submitted by:	Alex Kozlov <spam@rm-rf.kiev.ua>

- Remove last trace of APACHE_COMPAT

PR:		ports/147114
Submitted by:	pgollucci

- Allow ports to override _MAKE_JOBS

PR:		ports/148754
Submitted by:	Anonymous <swell.k@gmail.com>

- Fixes to comments block

PR:		ports/135649, ports/148190
Submitted by:	pgollucci, gcooper
2010-08-20 12:15:02 +00:00
Alejandro Pulver
b52b07576c - Add entry in CHANGES about bsd.licenses*.mk.
- Fix typo in bsd.licenses.mk (_LICENGE_ERROR -> _LICENSE_ERROR).
2010-05-26 02:20:27 +00:00
Alejandro Pulver
af3ccd0db3 - Add ports license framework, from GSoc 2008/2009.
- Feel free to populate bsd.licenses.db.mk and adjust the variables:
  NO_LICENSES_INSTALL and NO_LICENSES_DIALOGS (default to off).
- For more information see http://wiki.freebsd.org/PortsLicenseInfrastructure

Reviewed by:	erwin
2010-05-25 00:25:02 +00:00