summaryrefslogtreecommitdiff
path: root/Keywords (follow)
Commit message (Collapse)AuthorAgeFilesLines
* desktop-file-utils: remove the keyword it is not necessary anymoreBaptiste Daroussin2021-11-171-9/+0
|
* @sample.ucl: only recommand to remove the file on removeBaptiste Daroussin2021-11-121-1/+3
|
* shared-mime-info: use triggersBaptiste Daroussin2021-10-201-9/+0
| | | | | | | | | | | 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
* 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
* tell pkg to format the @*exec arguments using the espace sequencesBaptiste Daroussin2021-03-266-0/+6
|
* 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
* Validate the @sample usage at packaging timeBaptiste Daroussin2021-03-261-0/+16
|
* tic should be run with -x to accept extensionsBaptiste Daroussin2021-02-261-2/+2
|
* 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
* 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
* 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
* 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
* 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@)
* Fix @sample with 2 argumentsBaptiste Daroussin2020-10-021-2/+2
| | | | | Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D26639
* 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
* 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
* Revert r533339, there is a regression in orderingAntoine Brodin2020-05-011-4/+6
| | | | | With hat: portmgr PR: 246102
* 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
* Make the @rmtry keyword rootdir friendlyBaptiste Daroussin2019-08-261-1/+1
|
* Use keywords to simplify ldconfig codeBaptiste Daroussin2019-08-232-0/+34
| | | | | | PR: 239226 Reviewed by: mat@ Differential Revision: https://reviews.freebsd.org/D20951
* Add a note explaining why the @javavm keyword does not register argument in ↵Baptiste Daroussin2016-07-311-0/+4
| | | | the plist
* Add a new "@javavm" keyword to handle the (un)registration of the JavaVMBaptiste Daroussin2016-07-311-0/+11
|
* xmlcatmgr does not actually expect multiple argumentsBaptiste Daroussin2016-07-011-1/+0
|
* 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
* Remove now useless commentsBaptiste Daroussin2016-06-191-4/+0
|
* Make @kld PKG_ROOTDIR friendlyBaptiste Daroussin2016-05-291-3/+3
|
* Make @shell rootdir friendly to allow cross installationBaptiste Daroussin2016-05-291-6/+6
|
* 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
* Make @info cross install friendlyBaptiste Daroussin2015-10-221-2/+2
|
* 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
* Do not use contractions.Mathieu Arnold2015-10-011-1/+1
| | | | Sponsored by: Absolight
* 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
* 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)
* Add -f flag to force scanning of font directoriesMark Felder2015-04-061-2/+2
| | | | Differential Revision: https://reviews.freebsd.org/D2245
* Remove @fc and @fontsdir they are confusing all should use @fcfontsdirBaptiste Daroussin2015-03-212-46/+0
|
* 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
* 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
* 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)
* - 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
* Accept absolute path for @info keywordBaptiste Daroussin2014-10-071-2/+8
|
* @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
* Replace the dirrmtry action with dir.Mathieu Arnold2014-10-023-3/+3
| | | | | With hat: portmgr Sponsored by: Absolight
* Use keywords to control exactly when is excutiedBaptiste Daroussin2014-09-222-0/+22
| | | | the different database updates
* Remove the yaml files as pkg 1.3.8 is now the minimal required versionBaptiste Daroussin2014-09-227-128/+0
|
* @sample: Alert user that there is a stale file to be removed.Bryan Drewery2014-09-112-0/+4
| | | | | Submitted by: amdmi3 With hat: portmgr
* 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
* - 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
* 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
* Fix fmtutil keyword with pkg_installAntoine Brodin2014-08-051-0/+1
| | | | | | PR: ports/192124 Submitted by: John Hein With hat: portmgr