summaryrefslogtreecommitdiff
path: root/Keywords
AgeCommit message (Collapse)Author
2022-03-22x11-fonts/fontconfig: Use triggers to rebuild fc-cacheBaptiste Daroussin
Stop forcing the overwrite of the cache at each run it is not necessary most of the time. Reviewed by: tcberner Differencial Revision: https://reviews.freebsd.org/D34602 While here rework USES=fonts to drop @fcfontsdir which is not nessary anymore and convert the @fontsdir into lua which make it way simpler to read
2022-03-18devel/glib: convert gio modules and glib schemas to triggersBaptiste Daroussin
Use trigger to compile glib schemas, and generate gio modules cache PR: 262567 Reviewed by: tcberner Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D34564
2021-11-17desktop-file-utils: remove the keyword it is not necessary anymoreBaptiste Daroussin
2021-11-12@sample.ucl: only recommand to remove the file on removeBaptiste Daroussin
2021-10-20shared-mime-info: use triggersBaptiste Daroussin
the rebuild of the database is now handled by a trigger and happen only once at the end of the transaction instead of after each package installation. While make shared-mime-info a runtime only dependency Reviewed by: manu, mat Differential Revision: https://reviews.freebsd.org/D32452
2021-04-06framework: Remove $FreeBSD$Mathieu Arnold
Where appropriate fiddle with a few other things.
2021-03-27Add a new @touch keywordBaptiste Daroussin
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
2021-03-26tell pkg to format the @*exec arguments using the espace sequencesBaptiste Daroussin
2021-03-26The next version of pkg will stop hardcoding itself the @*exec keywordsBaptiste Daroussin
Move all those definitions into the in tree keywords
2021-03-26Validate the @sample usage at packaging timeBaptiste Daroussin
2021-02-26tic should be run with -x to accept extensionsBaptiste Daroussin
2021-01-27Add error checks to @shellBaptiste Daroussin
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
2020-10-22Remove the empty files during the post-deinstall procedure, to give a chance ↵Baptiste Daroussin
a deinstall process to remove entries on the said file and maybe empty it
2020-10-22Add new keyword rmemptyBaptiste Daroussin
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
2020-10-22Convert @shell from shell script to lua scriptBaptiste Daroussin
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
2020-10-02Keywords: sample: Really fix the lua versionEmmanuel Vadot
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@)
2020-10-02Fix @sample with 2 argumentsBaptiste Daroussin
Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D26639
2020-10-01Lua version of the @sampleEmmanuel Vadot
The bonus of this version being: sandboxed Natively rootdir compliant. Reviewed by: portmgr (bapt@, mat@) Differential Revision: https://reviews.freebsd.org/D23617
2020-05-14Avoid spamming about a file that does not exist.Mathieu Arnold
Submitted by: mandree Reviewed by: mat Differential Revision: https://reviews.freebsd.org/D24571
2020-05-01Revert r533339, there is a regression in orderingAntoine Brodin
With hat: portmgr PR: 246102
2020-04-29Replace @rmtry shell implementation with a lua implementationBaptiste Daroussin
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
2019-08-26Make the @rmtry keyword rootdir friendlyBaptiste Daroussin
2019-08-23Use keywords to simplify ldconfig codeBaptiste Daroussin
PR: 239226 Reviewed by: mat@ Differential Revision: https://reviews.freebsd.org/D20951
2016-07-31Add a note explaining why the @javavm keyword does not register argument in ↵Baptiste Daroussin
the plist
2016-07-31Add a new "@javavm" keyword to handle the (un)registration of the JavaVMBaptiste Daroussin
2016-07-01xmlcatmgr does not actually expect multiple argumentsBaptiste Daroussin
2016-06-22do not chmod u+w sample files when copying itBaptiste Daroussin
It is up to the package to decide the mode of the config files Reported by: garga
2016-06-19Remove now useless commentsBaptiste Daroussin
2016-05-29Make @kld PKG_ROOTDIR friendlyBaptiste Daroussin
2016-05-29Make @shell rootdir friendly to allow cross installationBaptiste Daroussin
2016-05-24Add a new keywork xmlcatmgrBaptiste Daroussin
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
2015-10-22Make @info cross install friendlyBaptiste Daroussin
2015-10-08Add a way to cleanly handle terminfo.db file used by devel/ncursesDmitry Marakasov
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
2015-10-01Do not use contractions.Mathieu Arnold
Sponsored by: Absolight
2015-09-26Extend @sample to accept argumentsBaptiste Daroussin
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
2015-09-13Add "fc", "fcfontsdir", "fontsdir", and "none" arguments to USES=fonts.Hiroki Sato
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)
2015-04-06Add -f flag to force scanning of font directoriesMark Felder
Differential Revision: https://reviews.freebsd.org/D2245
2015-03-21Remove @fc and @fontsdir they are confusing all should use @fcfontsdirBaptiste Daroussin
2015-02-16When updating /etc/shells, only remove existing entries that match the newMark Johnston
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
2014-12-26Use a custom keyword for kldxref, that allows to control exactly when it is runBaptiste Daroussin
and work nicer with automatic directly support from pkg Differential Revision: https://reviews.freebsd.org/D1377 Reviewed by: rene, antoine Approved by: rene
2014-12-03Add new keyword for to run glib-compile-schemas.Koop Mast
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)
2014-10-08- Accept absolute path for @fc, @fontsdir, @fcfontsdir, @shell keywordsAlex Kozlov
Approved by: portmgr (antoine, bapt) Differential Revision: https://reviews.freebsd.org/D721
2014-10-07Accept absolute path for @info keywordBaptiste Daroussin
2014-10-03@sample: chmod u+w to ensure user may write to it.Bryan Drewery
PR: 193209 Submitted by: ohauer With hat: portmgr
2014-10-02Replace the dirrmtry action with dir.Mathieu Arnold
With hat: portmgr Sponsored by: Absolight
2014-09-22Use keywords to control exactly when is excutiedBaptiste Daroussin
the different database updates
2014-09-22Remove the yaml files as pkg 1.3.8 is now the minimal required versionBaptiste Daroussin
2014-09-11@sample: Alert user that there is a stale file to be removed.Bryan Drewery
Submitted by: amdmi3 With hat: portmgr
2014-09-03Convert rmtry into regular KeywordBaptiste Daroussin
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
2014-09-01- Make it possible to use sample keyword with a full pathAntoine Brodin
- Prefer @dirrmtry over @unexec rmdir in makeplist Differential Revision: https://reviews.freebsd.org/D705 Reviewed by: bapt With hat: portmgr