aboutsummaryrefslogtreecommitdiff
path: root/Keywords
Commit message (Collapse)AuthorAgeFilesLines
* framework: Remove $FreeBSD$Mathieu Arnold2021-04-0625-51/+11
| | | | Where appropriate fiddle with a few other things.
* Add a new @touch keywordBaptiste Daroussin2021-03-271-0/+10
| | | | | | | | | | | | | | it takes 1 pr N arguments, it creates each of the said files if they do not exist yet As it is using lua, it means it has the bonus of being cross installable, rootdir friendly and sandboxed. Reviewed by: mat, manu Differential Revision: https://reviews.freebsd.org/D29426 Notes: svn path=/head/; revision=569361
* tell pkg to format the @*exec arguments using the espace sequencesBaptiste Daroussin2021-03-266-0/+6
| | | | Notes: svn path=/head/; revision=569274
* The next version of pkg will stop hardcoding itself the @*exec keywordsBaptiste Daroussin2021-03-266-0/+50
| | | | | | | Move all those definitions into the in tree keywords Notes: svn path=/head/; revision=569272
* Validate the @sample usage at packaging timeBaptiste Daroussin2021-03-261-0/+16
| | | | Notes: svn path=/head/; revision=569271
* tic should be run with -x to accept extensionsBaptiste Daroussin2021-02-261-2/+2
| | | | Notes: svn path=/head/; revision=566588
* Add error checks to @shellBaptiste Daroussin2021-01-271-8/+8
| | | | | | | | | | | Check errors from Lua io.* library calls to make it show useful error messages when they do occur instead of ("attempt to index a nil value") Submitted by: RhToad (in IRC) <andrew@tao173.riddles.org.uk> Differential Revision: https://reviews.freebsd.org/D27154 Notes: svn path=/head/; revision=563097
* Remove the empty files during the post-deinstall procedure, to give a chance ↵Baptiste Daroussin2020-10-221-1/+1
| | | | | | | | | a deinstall process to remove entries on the said file and maybe empty it Notes: svn path=/head/; revision=552967
* Add new keyword rmemptyBaptiste Daroussin2020-10-221-0/+11
| | | | | | | | | | | | | The goal is to replace all the hand crafted @*unexec test -s XXX && rm by a proper keyword. this keyword is also rootdir compliant Reviewed by: manu, mat Approved by: portmgr (mat) Differential Revision: https://reviews.freebsd.org/D26633 Notes: svn path=/head/; revision=552943
* Convert @shell from shell script to lua scriptBaptiste Daroussin2020-10-221-16/+35
| | | | | | | | | | | | | | This makes @shell rootdir friendly and cross install friendly as well as capsicumized. Bonus: the /etc/shells is now only touched when needed Reviewed by: manu, mat Approved by: portmgr (mat) Differential Revision: D26640 Notes: svn path=/head/; revision=552938
* Keywords: sample: Really fix the lua versionEmmanuel Vadot2020-10-021-8/+16
| | | | | | | | | | pkg doesn't accept expanding %X when the argument doesn't exists. Some how neither my testing or the exp-run (PR 249035) catched that. Approved by: portmgr (bapt@) Notes: svn path=/head/; revision=551166
* Fix @sample with 2 argumentsBaptiste Daroussin2020-10-021-2/+2
| | | | | | | | Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D26639 Notes: svn path=/head/; revision=550901
* Lua version of the @sampleEmmanuel Vadot2020-10-011-39/+25
| | | | | | | | | | | The bonus of this version being: sandboxed Natively rootdir compliant. Reviewed by: portmgr (bapt@, mat@) Differential Revision: https://reviews.freebsd.org/D23617 Notes: svn path=/head/; revision=550860
* Avoid spamming about a file that does not exist.Mathieu Arnold2020-05-141-1/+1
| | | | | | | | | Submitted by: mandree Reviewed by: mat Differential Revision: https://reviews.freebsd.org/D24571 Notes: svn path=/head/; revision=535225
* Revert r533339, there is a regression in orderingAntoine Brodin2020-05-011-4/+6
| | | | | | | | With hat: portmgr PR: 246102 Notes: svn path=/head/; revision=533583
* Replace @rmtry shell implementation with a lua implementationBaptiste Daroussin2020-04-291-6/+4
| | | | | | | | | | | This way @rmtry is now rootdir friendly It also allows cross installation (arm rootdir on amd64 host for example) Reviewed by: pormtgr (mat) Differential Revision: https://reviews.freebsd.org/D23618 Notes: svn path=/head/; revision=533339
* Make the @rmtry keyword rootdir friendlyBaptiste Daroussin2019-08-261-1/+1
| | | | Notes: svn path=/head/; revision=509900
* Use keywords to simplify ldconfig codeBaptiste Daroussin2019-08-232-0/+34
| | | | | | | | | PR: 239226 Reviewed by: mat@ Differential Revision: https://reviews.freebsd.org/D20951 Notes: svn path=/head/; revision=509644
* Add a note explaining why the @javavm keyword does not register argument in ↵Baptiste Daroussin2016-07-311-0/+4
| | | | | | | the plist Notes: svn path=/head/; revision=419368
* Add a new "@javavm" keyword to handle the (un)registration of the JavaVMBaptiste Daroussin2016-07-311-0/+11
| | | | Notes: svn path=/head/; revision=419366
* xmlcatmgr does not actually expect multiple argumentsBaptiste Daroussin2016-07-011-1/+0
| | | | Notes: svn path=/head/; revision=417878
* do not chmod u+w sample files when copying itBaptiste Daroussin2016-06-221-2/+1
| | | | | | | | | It is up to the package to decide the mode of the config files Reported by: garga Notes: svn path=/head/; revision=417335
* Remove now useless commentsBaptiste Daroussin2016-06-191-4/+0
| | | | Notes: svn path=/head/; revision=417133
* Make @kld PKG_ROOTDIR friendlyBaptiste Daroussin2016-05-291-3/+3
| | | | Notes: svn path=/head/; revision=416132
* Make @shell rootdir friendly to allow cross installationBaptiste Daroussin2016-05-291-6/+6
| | | | Notes: svn path=/head/; revision=416131
* Add a new keywork xmlcatmgrBaptiste Daroussin2016-05-241-0/+34
| | | | | | | | | | | | | It simplifies the handling of the XML and SMGL catalog It brings a big of consistency by always specifying the catalog path absolute instead of mixing absolute and relative path. The keyword is also written a PKG_ROOTDIR friendly to simplify cross installing Reviewed by: hrs Differential Revision: https://reviews.freebsd.org/D6539 Notes: svn path=/head/; revision=415814
* Make @info cross install friendlyBaptiste Daroussin2015-10-221-2/+2
| | | | Notes: svn path=/head/; revision=399974
* Add a way to cleanly handle terminfo.db file used by devel/ncursesDmitry Marakasov2015-10-081-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | This database contains compiled terminfo entries and is merged from a large part which comes with ncurses themselves and compiled .terminfo files installed by other ports (currently only rxvt-unicode and jfbterm) - Now the database is always kept up to date, regardless of port installation order (both ncurses installed before .terminfo files and the other way around work as expected) - All affected ports now support clean deinstallation and do not produce stage-qa errors - Affected ports are simplified, as they now only need to define USES=terminfo - rxvt-unicode no longer pulls in ncurses: the dependency is not really needed for anything beside updating it's own database - The patch contains Q/A test to check whether a port needs, or needs not USES=terminfo Approved by: portmgr (mat, bapt) Differential Revision: D3747 Notes: svn path=/head/; revision=398827
* Do not use contractions.Mathieu Arnold2015-10-011-1/+1
| | | | | | | Sponsored by: Absolight Notes: svn path=/head/; revision=398261
* Extend @sample to accept argumentsBaptiste Daroussin2015-09-261-7/+29
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=397963
* Add "fc", "fcfontsdir", "fontsdir", and "none" arguments to USES=fonts.Hiroki Sato2015-09-132-0/+46
| | | | | | | | | | | | | | | They controls whether fc-cache and/or mkfontdir run in post-{,de}install targets. japanese/font-* use manually generates fonts.dir entries to utilize special modifiers which are useful for CJK fonts. Because mkfontdir does not understand and silently remove them from fonts.dir, options like fonts:fc or fonts:none is required. Approved by: portmgr (bapt) Notes: svn path=/head/; revision=396872
* Add -f flag to force scanning of font directoriesMark Felder2015-04-061-2/+2
| | | | | | | Differential Revision: https://reviews.freebsd.org/D2245 Notes: svn path=/head/; revision=383480
* Remove @fc and @fontsdir they are confusing all should use @fcfontsdirBaptiste Daroussin2015-03-212-46/+0
| | | | Notes: svn path=/head/; revision=381881
* When updating /etc/shells, only remove existing entries that match the newMark Johnston2015-02-161-2/+2
| | | | | | | | | | | | entry exactly. Otherwise we may clobber entries that contain the new entry as a substring. Reviewed by: bdrewery Approved by: bdrewery Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=379119
* Use a custom keyword for kldxref, that allows to control exactly when it is runBaptiste Daroussin2014-12-261-0/+24
| | | | | | | | | | | and work nicer with automatic directly support from pkg Differential Revision: https://reviews.freebsd.org/D1377 Reviewed by: rene, antoine Approved by: rene Notes: svn path=/head/; revision=375621
* Add new keyword for to run glib-compile-schemas.Koop Mast2014-12-031-0/+16
| | | | | | | | | | It be used by the GLIB_SCHEMAS macro in the next gnome update, for ports using GLIB_SCHEMAS nothing will change. Approved by: portmgr (bapt) Notes: svn path=/head/; revision=373806
* - Accept absolute path for @fc, @fontsdir, @fcfontsdir, @shell keywordsAlex Kozlov2014-10-084-22/+54
| | | | | | | | Approved by: portmgr (antoine, bapt) Differential Revision: https://reviews.freebsd.org/D721 Notes: svn path=/head/; revision=370490
* Accept absolute path for @info keywordBaptiste Daroussin2014-10-071-2/+8
| | | | Notes: svn path=/head/; revision=370410
* @sample: chmod u+w to ensure user may write to it.Bryan Drewery2014-10-031-1/+2
| | | | | | | | | PR: 193209 Submitted by: ohauer With hat: portmgr Notes: svn path=/head/; revision=369927
* Replace the dirrmtry action with dir.Mathieu Arnold2014-10-023-3/+3
| | | | | | | | With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=369819
* Use keywords to control exactly when is excutiedBaptiste Daroussin2014-09-222-0/+22
| | | | | | | the different database updates Notes: svn path=/head/; revision=368907
* Remove the yaml files as pkg 1.3.8 is now the minimal required versionBaptiste Daroussin2014-09-227-128/+0
| | | | Notes: svn path=/head/; revision=368889
* @sample: Alert user that there is a stale file to be removed.Bryan Drewery2014-09-112-0/+4
| | | | | | | | Submitted by: amdmi3 With hat: portmgr Notes: svn path=/head/; revision=367994
* Convert rmtry into regular KeywordBaptiste Daroussin2014-09-031-0/+11
| | | | | | | | | | | | | Note that this allows to control when it is executed (always in post-installation) This makes @rmtry accept both absolute path and relative path (to latest prefix/cwd) While here now that it is not used, remove the old PLIST_REINPLACE macro Reviewed by: antoine Differential Revision: https://reviews.freebsd.org/D713 Notes: svn path=/head/; revision=367153
* - Make it possible to use sample keyword with a full pathAntoine Brodin2014-09-012-4/+16
| | | | | | | | | | | - Prefer @dirrmtry over @unexec rmdir in makeplist Differential Revision: https://reviews.freebsd.org/D705 Reviewed by: bapt With hat: portmgr Notes: svn path=/head/; revision=366901
* Remove support for pkg_installBaptiste Daroussin2014-09-011-111/+0
| | | | | | | | | | | 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
* Fix fmtutil keyword with pkg_installAntoine Brodin2014-08-051-0/+1
| | | | | | | | | PR: ports/192124 Submitted by: John Hein With hat: portmgr Notes: svn path=/head/; revision=364121
* Add support for @fmtutil for pkg_installBaptiste Daroussin2014-07-251-0/+8
| | | | Notes: svn path=/head/; revision=362899
* Convert keywords in pure ucl formatBaptiste Daroussin2014-07-247-0/+134
| | | | | | | yaml version will be removed later Notes: svn path=/head/; revision=362833
* Support stage for texlive, given it is impossible to rebuild the fmt files intoBaptiste Daroussin2014-07-041-0/+13
| | | | | | | | the stage then they are now rebuild in post-installation, like it is done in other package system Notes: svn path=/head/; revision=360642