Commit Graph

21 Commits

Author SHA1 Message Date
espie
5906a566ef First cut at a lib-depends checker: this version does use WRKINST instead
of the actual package, so it WILL get things wrong in some multi-packages
case.
2001-10-24 11:57:34 +00:00
espie
91228bc7f3 Recognize empty @owner/@mode/@group correctly. 2001-08-23 09:13:19 +00:00
espie
efb1a6317b Some attempt at parsing the .orig files, to preserve @mode/@owner/@group
and misc. information.

Try to warn if non-reproducible stuff is found.
2001-08-18 13:11:10 +00:00
espie
3fc98296ac Oops. Seen by Flinn Mueller. 2001-05-24 16:47:59 +00:00
espie
d19ed8bd90 Smarter plist regen.
- back substitute VAR_SUBST (hence swap ARCH/MACHINE_ARCH)
- pass PKGDIR to make-plist.

- don't create PLIST-auto/PFRAG.shared-auto. Move originals around, and
create new ones directly (guard against accidentally deleting old ones).

Todo: add regexp to dispatch stuff to fragments automatically, based on
MULTI_PACKAGES.
2001-05-23 14:18:24 +00:00
espie
7b5e441497 Oh well. Need both stats under different circumstances, as found out
by Peter Stromberg.
2001-05-07 15:25:44 +00:00
espie
ebc57e0cb7 better stat. 2001-05-05 21:24:27 +00:00
espie
ce3e41c265 Warn for arch dependent names in PLIST.
No automatic correction, as this can be hard.
2001-03-24 12:14:38 +00:00
espie
79e5ed78ab Tell user to add directory to rc.conf here, instead of doing that in
every port that needs it.
2000-12-16 23:25:36 +00:00
espie
d510925065 Don't output shared libs in both PFRAG.shared and PLIST. 2000-07-08 18:09:10 +00:00
espie
5ddf68f635 Forgot %D in DYNLIBDIR. 2000-07-08 15:13:49 +00:00
espie
5e279084af Put shared libraries into a separate fragment. 2000-07-03 13:01:47 +00:00
form
f37eff7959 @unexec ldconfig -m -> @unexec ldconfig -R 2000-07-01 17:16:48 +00:00
espie
546489edf0 Let make-plist emit DYNLIBDIR/NEWLIBDIR directives. 2000-06-30 23:45:41 +00:00
espie
acb2e64fdb ldconfig substitution scripts for packing-lists. 2000-06-30 21:39:36 +00:00
espie
0243a5dea2 Fix nasty bug in make-plist:
if a new directory was found, it  is always marked for @dirrm.
But, if the directory is empty, nothing pertaining to it is recorded in
the PLIST... and thanks to pkg_*, we can't record directories in the PLIST.
So, just add an @exec mkdir -p   right in front of the @dirrm, up to
the port maintainer to decide whether the @exec mkdir/@dirrm pair is
justified or not (for the port at hand).
2000-04-17 21:00:56 +00:00
espie
2a525277b7 `Fake' infrastructure:
if a port sets FAKE=Yes, this means it can be `pre'-installed elsewhere,
with DESTDIR set to WRKINST (=work/fake-${ARCH} by default).

the infrastructure takes care of pre-install/do-install/post-install targets,
assuming those install stuff under PREFIX.

To help ports to cope with DESTDIR, you can set FAKE_FLAGS and FAKE_TARGET
(used for the fake installation).

Ports with FAKE=Yes are the way to go: they can be packaged directly without
a real installation, and the installation proceeds from the package, thus
forcing porters to check the package.
2000-03-03 21:24:50 +00:00
niklas
ea1c0a8940 Make it work under YP, and fix an obvious bug in an RE 1999-08-21 20:56:05 +00:00
espie
8ab55c64e5 buglet: install-info --delete to remove entries. 1999-07-29 14:01:12 +00:00
espie
06f2deceba Making automatic plists better:
- parse mtree file completely,
- find out which directories amongst modified dirs are really new,
- handle info files.
1999-07-29 13:51:51 +00:00
espie
b8c7c3aacc infrastructure framework: helper scripts and other stuff needed for
ports, long-term.
1999-05-18 16:39:02 +00:00