aboutsummaryrefslogtreecommitdiff
path: root/CHANGES
Commit message (Collapse)AuthorAgeFilesLines
* Mark USE_AUTOTOOLS deprecated and remove support for libtoolize.Tijl Coosemans2015-04-191-0/+9
| | | | | | | Approved by: portmgr (bapt) Notes: svn path=/head/; revision=384310
* Convert bsd.gnustep.mk to USES=gnustepBaptiste Daroussin2015-04-091-0/+11
| | | | | | | | | | | | | | | | Simplify gnustep ports Hook into the regular ports framework: - LIB_DEPENDS for library dependencies - Use regular USE_LDCONFIG Reuse USES=objc (automatic) USE_GNUSTEP is now a macro to set the dependencies and build feature needed. Accepted arguments: back base build gui Merge deskutils/preferencepanes into deskutils/systempreferences Notes: svn path=/head/; revision=383626
* Document the new USES=waf into CHANGESBaptiste Daroussin2015-04-081-0/+20
| | | | Notes: svn path=/head/; revision=383572
* USE_BZIP2 and USE_XZ are not used anymore in the ports tree mark them asBaptiste Daroussin2015-04-071-0/+6
| | | | | | | unsupported Notes: svn path=/head/; revision=383503
* - track subversion http module activation change in the correct fileOlli Hauer2015-04-061-7/+0
| | | | | | | (move entry from CHANGES -> UPDATING) Notes: svn path=/head/; revision=383476
* Document recent changesBaptiste Daroussin2015-04-011-0/+16
| | | | Notes: svn path=/head/; revision=382916
* - document new subversion httpd module fileOlli Hauer2015-03-311-0/+7
| | | | Notes: svn path=/head/; revision=382871
* Document removal of PTHREAD_LIBS/PTHREAD_CFLAGSBryan Drewery2015-03-261-0/+6
| | | | Notes: svn path=/head/; revision=382328
* Undocument BSDMAKE from r381977 as I have thought of a better way and willBryan Drewery2015-03-231-7/+0
| | | | | | | | | likely revert it. With hat: portmgr Notes: svn path=/head/; revision=381980
* Introduce a BSDMAKE?= /usr/bin/make and use it as the default MAKE_CMD.Bryan Drewery2015-03-231-0/+7
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=381977
* Remove GITHUB_RELEASE MASTER_SITE from r375010 as it is now redundant with ↵Bryan Drewery2015-03-191-0/+8
| | | | | | | | | | | | | | GITHUB. The new GITHUB MASTER_SITE from r381618 now supports not setting GH_COMMIT and only having GH_TAGNAME default to DISTVERSION. All of these ports as-is. With hat: portmgr Notes: svn path=/head/; revision=381648
* Note that GH_TAGNAME can be any length of the git hash.Bryan Drewery2015-03-191-0/+3
| | | | Notes: svn path=/head/; revision=381640
* Update USE_GITHUB so it does not require GH_COMMIT.Bryan Drewery2015-03-191-0/+14
| | | | | | | | | | | | | | | | | | | | Using this new scheme allows only setting the _tag_ or _commit hash_ in GH_TAGNAME and not having to know the hash for a tag. This scheme will download a tarball that has a different checksum than before due to a changed directory name for extraction. The following MASTER_SITES are provided to retain the old checksum and directory structure (that require GH_COMMIT): GH -> GHL GITHUB -> GITHUB_LEGACY Differential Revision: https://reviews.freebsd.org/D748 Submitted by: amdmi3 Reviewed by: mat, swills, antoine, bdrewery With hat: portmgr Notes: svn path=/head/; revision=381618
* The FreeBSD Xfce team proudly presents Xfce 4.12.Olivier Duchateau2015-03-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Announce: http://www.xfce.org/about/news/?post=1425081600 Global changes: - Switch to USES= xfce (D677) - Reorganize options helper - Fix USES= gettext-* when NLS option is not set [1], [2] - Add LICENSE (when missing) Update: - to 4.12 (core components) - audio/xfce4-mpc-plugin to 0.4.5 - deskutils/xfce4-tumbler to 0.1.31 - deskutils/xfce4-xkb-plugin to 0.7.1 - editors/mousepad to 0.4.0 - graphics/ristretto to 0.8.0 - multimedia/xfce4-parole to 0.8.0 - sysutils/garcon to 0.4.0 - sysutils/xfce4-diskperf-plugin to 2.5.5 [3] - sysutils/xfce4-fsguard-plugin to 1.0.2 - sysutils/xfce4-power-manager to 1.4.3 - sysutils/xfce4-wavelan-plugin to 0.5.12 - x11/libexo to 0.10.3 - x11-fm/thunar to 1.6.6 - x11-themes/gtk-xfce-engine to 3.2.0 PR: 196003 [1], 197251 [2], 198132 Differential Revision: https://reviews.freebsd.org/D677 Submitted by: Kamil Szczesny [1], amdmi3@ [2], myself Exp-run by: antoine@ Approved by: danilo@ (maintainer) [3] Tested by: Ivan <enitarzi@gmail.com> Notes: svn path=/head/; revision=380565
* Introduce new USE_QT4 component linguisttools for lrelease/lupdate toolsMax Brazhnikov2015-02-241-0/+9
| | | | | | | | | | | | split from from devel/qt4-linguist (similar to Qt 5 ports). These console tools are often used for localization support in Qt ports, having them standalone is quite useful. This work is based on Tobias Berner patch [1]. PR: 190929 [1] Requested by: amdmi3, koobs Notes: svn path=/head/; revision=379843
* Make Perl link all .so it builds with libperl.so.Mathieu Arnold2014-12-171-0/+9
| | | | | | | | | | | | | | | | | | | It makes upgrading from one Perl major version to another way easier. For binary package users, it means pkg upgrade will detect the libperl.so.x.yy change, and reinstall the affected packages. For users using ports, it will save rebuild time as it's easier to detect what ports really need to be rebuilt. PR: 195821 Differential Revision: https://reviews.freebsd.org/D1241 Submitted by: mat Reviewed by: antoine, bdrewery Exp-run by: antoine With hat: perl Sponsored by: Absolight Notes: svn path=/head/; revision=374847
* Split devel/gettext in devel/gettext-runtime and devel/gettext-tools. TheTijl Coosemans2014-11-291-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | first contains runtime libraries such as libintl and the latter contains developer tools such as msgfmt. Ports that use gettext will usually need a LIB_DEPENDS on gettext-runtime and a BUILD_DEPENDS on gettext-tools. USES=gettext-runtime can be used to set a LIB/BUILD/RUN_DEPENDS on devel/gettext-runtime and USES=gettext-tools can be used to set a BUILD/RUN_DEPENDS on devel/gettext-tools. USES=gettext is now the same as "USES=gettext-runtime gettext-tools" meaning a LIB_DEPENDS on devel/gettext-runtime and a BUILD_DEPENDS on devel/gettext-tools. Update gettext to 0.19.3. Remove :oldver from converters/libiconv and devel/gettext-runtime. Leave symlinks with the old library versions to avoid the need to bump PORTREVISION on a large number of dependent ports. When most of the dependent ports have had normal version updates, PORTREVISION can be bumped on the remaining ones (low number) and the links can be removed. Fix some ports that installed files in lib/locale instead of share/locale. PR: 194038 Reviewed by: bapt Exp-run: antoine Approved by: portmgr (antoine) Notes: svn path=/head/; revision=373636
* Change the way Perl modules are installed, update the default Perl to 5.18.Mathieu Arnold2014-11-261-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, we had: site_perl : lib/perl5/site_perl/5.18 site_perl/perl_arch : lib/perl5/site_perl/5.18/mach perl_man3 : lib/perl5/5.18/man/man3 Now we have: site_perl : lib/perl5/site_perl site_arch : lib/perl5/site_perl/mach/5.18 perl_man3 : lib/perl5/site_perl/man/man3 Modules without any .so will be installed at the same place regardless of the Perl version, minimizing the upgrade when the major Perl version is changed. It uses a version dependent directory for modules with compiled bits. As PERL_ARCH is no longer needed in plists, it has been removed from PLIST_SUB. The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now always removed, as is perllocal.pod. The old site_perl and site_perl/arch directories have been kept in the default Perl @INC for all Perl ports, and will be phased out as these old Perl versions expire. PR: 194969 Differential Revision: https://reviews.freebsd.org/D1019 Exp-run by: antoine Reviewed by: perl@ Approved by: portmgr Notes: svn path=/head/; revision=373448
* Finally retire USE_PGSQLChris Rees2014-11-221-0/+10
| | | | Notes: svn path=/head/; revision=373100
* Introduce the SITE_ARCH variable containing SITE_PERL/PERL_ARCH.Mathieu Arnold2014-11-181-0/+6
| | | | | | | | With hat: perl@, portmgr@ Sponsored by: Absolight Notes: svn path=/head/; revision=372718
* - Enable SSP by default.Bryan Drewery2014-11-021-0/+8
| | | | | | | | | | | | | | This is the culmination of years of work and testing including work by jlh@. This will enable SSP by default for all amd64 releases, and i386 releases 10.0 and over. With hat: portmgr Tested by: multiple exp-runs, CFT package repository, CFT ports Discussed with: bapt, antoine Notes: svn path=/head/; revision=372086
* Add an example with @exec too.Mathieu Arnold2014-10-071-0/+3
| | | | | | | Sponsored by: Absolight Notes: svn path=/head/; revision=370359
* Note @cwd being deprecated.Mathieu Arnold2014-10-071-0/+15
| | | | | | | Sponsored by: Absolight Notes: svn path=/head/; revision=370350
* Add BUNDLE_LIBS knob to prevent pkg(8) from automatically add provided shlibsBaptiste Daroussin2014-10-011-0/+7
| | | | Notes: svn path=/head/; revision=369773
* Remove support for old autoconf and automake versions from USE_AUTOTOOLS:Tijl Coosemans2014-10-011-0/+6
| | | | | | | | | autoconf213, autoheader213, aclocal14 and automake14 Approved by: portmgr (bapt) Notes: svn path=/head/; revision=369734
* If either of OSVERSION or UNAME_r is improperly set when building in aBryan Drewery2014-09-301-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jail/chroot, a number of unexpected errors can occur. 1. autotools fixup may not run when needed. This could be avoided by always running it [PR 177980, 177403]. 2. Not having UNAME_r set will cause many unknown errors. Many ports use OSREL (derived from UNAME_r) to determine the name of files. This is usually also due to the port build itself using uname -r to derive filenames or 'built for' messages. [PR 192449, 191943] Without having these sanity checks it is very easy for users to get into situations where "everything worked" until they touch a certain port that reads uname(1) output or OSVERSION. It has always been necessary to define all of the UNAME_ vars and OSVERSION (or have a proper sys/param.h present), but many users do not know this. Remove the fallback on the kernel for kern.osreldate as it easily gets the answer wrong. I have added sanity checks to ensure OSVERSION==OSREL==UNAME_r as these are the most critical vars to have set properly. Differential Revision: https://reviews.freebsd.org/D869 PR: 177980, 177403, 192449, 191943 Reviewed by: antoine, bapt, gjb With hat: portmgr Notes: svn path=/head/; revision=369644
* Add hint as to where @stopdaemon has gone.Matthias Andree2014-09-241-21/+20
| | | | | | | | | Revise language and spelling of the more recent entries a bit, sometimes advancing a line break by one or a few words, and replace the word 'credentials' in the @dir-related entry. Notes: svn path=/head/; revision=369187
* Proofread the 20140922 CHANGES entry.Raphael Kubo da Costa2014-09-241-4/+4
| | | | Notes: svn path=/head/; revision=369169
* Document recent changes in plist handlingBaptiste Daroussin2014-09-221-0/+19
| | | | Notes: svn path=/head/; revision=368825
* - Remove last uses of USE_AUTOTOOLS=libtool from bsd.gnome.mkTijl Coosemans2014-09-171-0/+10
| | | | | | | | | | | (lthack, ltasneededhack and ltverhack) [1] - Remove support for USE_AUTOTOOLS=libtool and USE_AUTOTOOLS=libltdl PR: 188978 [1] Approved by: portmgr (bapt) Notes: svn path=/head/; revision=368357
* Document r368281.Tijl Coosemans2014-09-161-0/+11
| | | | | | | Requested by: adamw Notes: svn path=/head/; revision=368341
* Remove support for pkg_installBaptiste Daroussin2014-09-011-0/+9
| | | | | | | | | | | Merge back bsd.pkgng.mk into bsd.port.mk Add a note about @stopdaemon not being supported anymore With hat: portmgr Differential Revision: https://reviews.freebsd.org/D693 Notes: svn path=/head/; revision=366875
* Remove support for NO_STAGEBaptiste Daroussin2014-09-011-0/+5
| | | | | | | | | | | Mark all current non staged ports as BROKEN Reviewed by: antoine Exp-run: antoine Differential Revision: https://reviews.freebsd.org/D693 Notes: svn path=/head/; revision=366839
* Document r366154Antoine Brodin2014-08-251-0/+5
| | | | Notes: svn path=/head/; revision=366158
* - Rename PYTHON_FEATURES to USE_PYTHON to comply to USE_PERL5 and to avoid aMarcus von Appen2014-08-141-3/+3
| | | | | | | | | | | | | | | conflict in behaviour with the read-only COMPILER_FEATURES knob - Fix the deprecated USE_PYTHON_BUILD and USE_PYTHON_RUN behaviour, which usually should be mutually exclusive, but some ports include both knobs Phabric: D581 Recommended by: danfe@, makc@ Reviewed by: danfe, wg, antoine Approved by: portmgr With hat: python@ Notes: svn path=/head/; revision=364857
* - Fix typoSunpoet Po-Chuan Hsieh2014-08-101-2/+2
| | | | Notes: svn path=/head/; revision=364501
* Convert the Python framework bits to USES=python.Marcus von Appen2014-08-091-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Please use USES=python instead of USE_PYTHON. USE_PYTHON=yes becomes USES=python USE_PYTHON=2.7+ becomes USES=python:2.7+ USE_PYTHON_BUILD=3.3 becomes USES=python:3.3,build ... A new PYTHON_FEATURES variable was added, which enables certain features for a port and replaces some knobs at the same time; PYTHON_FEATURES=distutils replaces USE_PYDISTUTILS PYTHON_FEATURES=autoplist replaces PYDISTUTILS_AUTOPLIST PYTHON_FEATURES=py3kplist replaces PYTHON_PY3K_PLIST_HACK PYTHON_FEATURES=noegginfo replaces PYDISTUTILS_NOEGGINFO PYTHON_FEATURES=concurrent replaces PYTHON_CONCURRENT_INSTALL PYTHON_FEATURES=pythonprefix replaces USE_PYTHON_PREFIX Some knobs have been deprecated and are to be removed in the near future: PYTHON_MASTER_SITES - use MASTER_SITE_PYTHON instead PYTHON_PKGNAMESUFFIX - use PYTHON_PKGNAMEPREFIX instead PYDISTUTILS_INSTALLNOSINGLE - deprecated without replacement Some knobs have been removed completely: PYTHON_MASTER_SITE_SUBDIR PYTHON_DISTNAME PYTHON_WRKSRC Several variables specific to the Python framework are no longer passed to the build environment to avoid polluting dependency builds. PYTHON_VERSION is not passed to .MAKEFLAGS anymore PYTHON_DEFAULT_VERSION, PYTHON_DEFAULT_PORTVERSION and PYTHONBASE are not passed to the make environment anymore The conversion required a couple of ports to be updated to fit the changes and new requirements. Those included "bsd.python.mk" directly or contained checks in places, for which the USES framework would fail to provide correct values. Python modules directly using the upstream Python package (such as py-tkinter or py-sqlite3) were updated to avoid using the now unnecessary and remmoved knobs from "bsd.python.mk". Phabric: D399 exp-run: 167368 192357 PR: 167368 192357 Reviewed by: antoine, wg Exp-run award: antoine With hat: python@ Approved by: portmgr Notes: svn path=/head/; revision=364450
* Now that all LIB_DEPENDS has been switched to modern version, remove supportBaptiste Daroussin2014-07-161-0/+5
| | | | | | | | | | for ancient version. Phabric: D415 Reviewed by: swills Notes: svn path=/head/; revision=362031
* Support for installations based on the easy_install setup.py target hasMarcus von Appen2014-07-081-0/+8
| | | | | | | | | | | | been removed from the Ports framework for Python software. The PYEASYINSTALL_* knobs and support for USE_PYDISTUTILS=easy_install have been removed. Phabric: D299 With hat: python@ Notes: svn path=/head/; revision=361263
* Add a bit about USE_PERL5=fixpacklist here.Mathieu Arnold2014-06-291-0/+7
| | | | | | | | Poked by: miwi Sponsored by: Absolight Notes: svn path=/head/; revision=359752
* Remove the IGNOREFILES feature: it was an unsafe feature allowing to use filesBaptiste Daroussin2014-06-231-0/+7
| | | | | | | | | | fetched from untrusted sources directly into the ports tree CR: D269 Reviewed by: portmgr (antoine) Notes: svn path=/head/; revision=358915
* Introduce a new PYTHON_CONCURRENT_INSTALL knob to support the parallelMarcus von Appen2014-06-071-0/+27
| | | | | | | | | | | | | | | installation of ports for different python versions. If set to yes, the knob indicates that the port can be installed for different python versions at the same time. The port will use a unique prefix for certain directories using USES=uniquefiles:dirs (see the uniquefiles.mk Uses for details about the directories). Binaries receive an additional suffix, based on ${PYTHON_VER}. With hat: python@ Notes: svn path=/head/; revision=356921
* - Remove USE_GMAKE support, please use USES=gmake insteadMartin Wilke2014-05-291-0/+5
| | | | Notes: svn path=/head/; revision=355709
* Drop compatibility code for USE_DOS2UNIXBaptiste Daroussin2014-05-261-0/+5
| | | | Notes: svn path=/head/; revision=355293
* Convert all :U to :tu and :L to :tlBaptiste Daroussin2014-05-051-0/+9
| | | | | | | | | | | | | | | | | Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a replacement for :U and :L (which has been marked as deprecated) bmake which is the default on FreeBSD 10+ only support by default :tu/:tl a hack has been added at the time to support :U and :L to ease migration. This hack is now not necessary anymore Note that this makes the ports tree incompatible with make(1) from FreeBSD 8.3 or earlier With hat: portmgr Notes: svn path=/head/; revision=352986
* Document r352514Baptiste Daroussin2014-04-301-0/+9
| | | | Notes: svn path=/head/; revision=352690
* When linking a library libA with a library libB using libtool, if libB.laTijl Coosemans2014-04-231-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exists, libtool will add all libraries libB.la refers to (dependency_libs field) to the linker command line and store them in the dependency_libs field of libA.la. So everything that subsequently links with libA will also link to these extra libraries. This causes too much overlinking. This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs field in .la libraries during staging. However, because .la libraries have very limited use when dependency_libs is empty it makes sense to completely remove them during staging. So with this commit USES=libtool is modified to remove .la libraries and a new form (USES=libtool:keepla) is introduced in case they need to be kept (dependency_libs is still emptied). PORTREVISION is bumped on all ports with USES=libtool that install .la libraries. Most ports are also changed to add :keepla because .la libraries have to be kept around as long as there are dependent ports with .la libraries that refer to them in their dependency_libs field. In most cases :keepla can be removed again as soon as all dependent ports that install .la libraries have some form of USES=libtool added to their Makefile. PR: ports/188759 Exp-run: bdrewery Approved by: portmgr (bdrewery) Notes: svn path=/head/; revision=351936
* - Rename check-orphans to check-plist. Keep the old for backwards-compat.Bryan Drewery2014-04-191-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Bug fixes: makeplist/check-plist: - Fix showing directories owned by RUN_DEPENDS/LIB_DEPENDS [1] - Use proper "rmdir PATH" syntax, not "rmdir >/dev/null... PATH" which pkg will not recognize. - Never consider base /etc/mtree/BSD.usr.dist or LOCLABASE Templates/BSD.local.dist as needing @dirrm handling. check-plist: - Fix showing PORTDOCS/PORTEXAMPLES files when the OPTIONS are not set. makeplist will still suggest them. - Fix showing files installed through unselected OPTIONS as orphans, by considering "@comment file" to be ignored. [2] - Fix @sample, @fc, @fcfontsdir, @fontsdir support - Fix return status when orphans are found to be non-zero - Add note when PREFIX=!LOCALBASE - Be more clear when orphans/no orphans are found. - Add a whitelist mechanism for globally approved ignores. - Add *.bak/*.orig to orphan whitelist for now. - Fix false-positive with dirs installed to /, such as with archivers/dpkg creating /var/db/dpkg - Fix false-positive with @dirrm ending in /, such as with ports-mgmt/poudriere with a @dirrmtry share/zsh/ - There are likely still some false-positives. I fixed as many as I could find. Please let me know of others. * One in particular that is not easily fixable is installing a file into a directory owned by another port where that other port is not a run-time dependency. So the leaf port may create all of the parent dirs and never clean them up. Cleaning them up is not proper unless no other package is depending on them. This will be addressed by pkg(8) once pkg_install is EOL, or sooner. - Consider @dirrm of directories owned by run-time dependencies, or /etc/mtree/* or Templates/BSD.local.dist (at LOCALBASE) as fatal errors. These should not be removed in the plist. @comment lines are not considered for this; they will not ignore an error. ===> Checking for directories owned by dependencies or MTREEs Error: Owned by dependency: @dirrmtry share/locale/af/LC_MESSAGES Error: Owned by dependency: @dirrmtry share/locale/af Error: Owned by dependency: @dirrmtry %%PERL5_MAN3%% - Detect files in plist that do not exist in the stagedir. Pkgng already did this, but now we have it unified with this check. @comment lines are not considered for this; they will not ignore an error. ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: foo Error: Missing: @dirrmtry bar - Change orphaned output due to several new errors introduced: ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: foo - Send errors to stderr check_leftovers.sh: - Prefer longer values for PLIST_SUB. bsd.options.mk: - Fix NOPORTDOCS/WITHOUT_NLS/NOPORTEXAMPLES not unsetting their respective OPTIONS. - Mark NOPORTDOCS/NOPORTEXAMPLES deprecated and hook them into the OPTIONS_WARNING to tell users the new format. - check-stagedir.sh refactoring: - Switch to using new PLIST_SUB_SED - Use ! instead of , in sed(1) regex to allow files/dirs with ',' - Rework PORTEXAMPLES/PORTDOCS handling so it acts on PLIST_SUB_SED'd value and not absolutes. Also simplify the regex for these a bit to allow reuse. - No longer need DOCSDIRS/EXAMPLESDIR in env - Wrap long lines - Unset some vars in env when they are done being used to free space for larger sed vars - Cleanup redundant sed regexes - Add a Scripts/plist_sub_sed_sort.sh to prefer longer values when substituting over shorter values. - To make check-plist ignore a file *as an orphan* do one of the following: 1. Install it 2. post-install: ${RM} ${STAGEDIR}file 3. Put the file behind an OPTION with a PLIST_SUB: %%OPTION%%file 4. Add to plist as a @comment [2]: @comment file @comment @dirrmtry dir Reviewed by: mat (much earlier version) Discussed with: mat, antoine, bapt, swills (various bits) With hat: portmgr PR: ports/185561 [1] Reported By: Alexander Yerenkow <yerenkow@gmail.com> [1] Tested with: pkg and pkg_install Reported by: many (false-positives) [2] This is a partial solution, we may still need a plist.ignore too. It doesn't make much sense to add files in main pkg-plist we don't care about, but maybe it does since you'll see and reconsider them being ignored someday. @comment is used as all the OPTION PLIST_SUB deactivations use @comment instead of something like @ignore. Notes: svn path=/head/; revision=351587
* - Make default target "make stage" if staging supported.Bryan Drewery2014-04-161-0/+6
| | | | | | | | | | | | This is so that 'make' followed by 'make deinstall install' will, by default, have a much shorter period of files missing on the system as it is without staging. Discussed with: bapt With hat: portmgr Notes: svn path=/head/; revision=351399
* - Add a @sample plist keywordBryan Drewery2014-04-121-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It accepts a file (must end in .sample, this is not configurable): @sample file.conf.sample This will install file.conf.sample and copy it to file.conf. The file.conf will be removed if it matches file.conf.sample on deinstall. This replaces older patterns of: @unexec if cmp -s %D/etc/pkgtools.conf %D/etc/pkgtools.conf.sample; then rm -f %D/etc/pkgtools.conf; fi etc/pkgtools.conf.sample @exec [ -f %B/pkgtools.conf ] || cp %B/%f %B/pkgtools.conf [1] This somewhat obsoletes work in ports/157168 which added CONF_FILES, but we have been moving towards more logic in pkg-plist where possible and less magical macros. Though this thinking does clash with autoplist ideas. We may still want CONF_FILES, which just drops a list of @sample entries into the plist anyway. - Add a Keywords/pkg_install.awk and hook it into generate-plist. This is for pkg_install compatibility since it does not know how to read Keywords/sample.yaml. This file gives us a strategy to implement more keywords before pkg_install is EOL. Keywords are documented here: https://github.com/freebsd/pkg/commit/bffc31420b1fd6146a43c9abcd45109dd901198a - This needs to be documented in PH and portlint support added still. PR: ports/157168 [1] Discussed with: bapt Reviewed by: bapt Requested by: many With hat: portmgr Notes: svn path=/head/; revision=351064