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
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
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
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
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
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
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@)
The bonus of this version being: sandboxed
Natively rootdir compliant.
Reviewed by: portmgr (bapt@, mat@)
Differential Revision: https://reviews.freebsd.org/D23617
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
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
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
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
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)
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
and work nicer with automatic directly support from pkg
Differential Revision: https://reviews.freebsd.org/D1377
Reviewed by: rene, antoine
Approved by: rene
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