Commit graph

14 commits

Author SHA1 Message Date
Baptiste Daroussin
b1350d922c @sample.ucl: only recommand to remove the file on remove 2021-11-12 11:08:48 +01:00
Mathieu Arnold
5d33e04596
framework: Remove $FreeBSD$
Where appropriate fiddle with a few other things.
2021-04-06 16:27:10 +02:00
Baptiste Daroussin
b5c21c056b Validate the @sample usage at packaging time 2021-03-26 21:32:11 +00:00
Emmanuel Vadot
f1d81cf365 Keywords: sample: Really fix the lua version
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-02 08:58:44 +00:00
Baptiste Daroussin
31a3c4bbbf Fix @sample with 2 arguments
Reviewed by:	manu
Differential Revision:	https://reviews.freebsd.org/D26639
2020-10-02 06:52:08 +00:00
Emmanuel Vadot
18ad3a1d26 Lua version of the @sample
The bonus of this version being: sandboxed
Natively rootdir compliant.

Reviewed by:	portmgr (bapt@, mat@)
Differential Revision:	https://reviews.freebsd.org/D23617
2020-10-01 18:32:29 +00:00
Mathieu Arnold
92a2f130a3 Avoid spamming about a file that does not exist.
Submitted by:	mandree
Reviewed by:	mat
Differential Revision:	https://reviews.freebsd.org/D24571
2020-05-14 11:29:18 +00:00
Baptiste Daroussin
e682d8cb62 do not chmod u+w sample files when copying it
It is up to the package to decide the mode of the config files

Reported by:	garga
2016-06-22 21:44:25 +00:00
Mathieu Arnold
7f0a5491f5 Do not use contractions.
Sponsored by:	Absolight
2015-10-01 08:39:44 +00:00
Baptiste Daroussin
5adc8a9faa Extend @sample to accept arguments
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-26 12:13:23 +00:00
Bryan Drewery
581b88c885 @sample: chmod u+w to ensure user may write to it.
PR:		193209
Submitted by:	ohauer
With hat:	portmgr
2014-10-03 18:33:32 +00:00
Bryan Drewery
001502498e @sample: Alert user that there is a stale file to be removed.
Submitted by:	amdmi3
With hat:	portmgr
2014-09-11 23:11:48 +00:00
Antoine Brodin
26222800aa - Make it possible to use sample keyword with a full path
- Prefer @dirrmtry over @unexec rmdir in makeplist

Differential Revision:	https://reviews.freebsd.org/D705
Reviewed by:	bapt
With hat:	portmgr
2014-09-01 17:06:19 +00:00
Baptiste Daroussin
1cee61cab5 Convert keywords in pure ucl format
yaml version will be removed later
2014-07-24 17:10:57 +00:00