Commit Graph

38 Commits

Author SHA1 Message Date
sturm
16ce58292a this makes our build infrastructure systrace aware
original idea from jsyn@, discussed and first tests at c2k3

Warning!
- this commit is different from all patches sent around, please remove
  them before updating
- due to a few bugs in systrace this is currently not ready for the casual
  porter and several ports will fail to build, you've been warned

The idea of this patch is to help a porter when developing a new port.
With systrace the configure, build and fake stages are not allowed to
open network connections or write outside some well defined directories.
This way misbehaving programs will be noticed due to logfile entries in
/var/log/messages and the port can be fixed. There is generally no need
for endusers to use this, as the checksum ensures that ports in the
future will behave the same as they did when porting. :)

To activate systrace'd port building, set USE_SYSTRACE=Yes (e.g. in
/etc/mk.conf)

tested by some people, ok espie@
2003-07-28 17:17:04 +00:00
jolan
03feeb8ee3 +_ffproxy 2003-07-25 04:59:54 +00:00
jolan
43f21093a4 +dovecot 2003-07-14 23:49:32 +00:00
sturm
1448268198 be more specific wrt/ fixed uids/gids 2003-06-23 19:20:58 +00:00
sturm
a01b82e1b5 New user- and groupname schema for ports. All users and groups created
by ports have to have a leading '_' and a fixed id. They have also to
be added to db/user.list.

user.db and createuser are not used and are superfluous now.
2003-06-22 09:59:35 +00:00
pvalchev
17c64f0933 update to reality 2003-03-31 03:53:23 +00:00
pvalchev
f8d727a614 Update to 3.3 i386 seed list (this hadn't been touched since 2.9) 2003-03-25 04:10:39 +00:00
brad
29cf0ceab4 - sync config.guess
- add a copy of config.sub in a central location
2002-03-02 23:59:38 +00:00
brad
888ee53f31 - add et_EE
- ru_SU -> ru_RU
--
Ok'd by: heko@
2002-01-18 16:48:19 +00:00
espie
c0d4fa5d92 Grab config.guess from master repository, to repair ppc globally. 2001-09-24 22:30:03 +00:00
espie
22da3babe3 Remove /tmp, /var/tmp, /var/games from fake hierarchy.
Noticed by arl@q7.net, checked by naddy@.
2001-06-07 14:32:10 +00:00
espie
c057142749 Bump to what was used for 2.9. 2001-05-05 22:34:01 +00:00
espie
0a2c20e0ec Synch mtree with bsd.local.dist.
I shouldn't have to do this. This should have been spotted by the loser
who changed tcsh's Makefile. Brad should have noticed it no longer builds
and fixed this, along with mtree/BSD.local.dist...
2001-04-05 12:46:54 +00:00
brad
6cc210f0a6 update these to reflect reality, some ports have been moved or do not
exist/need FLAVORs anymore. Ok espie@
2000-11-02 16:05:14 +00:00
espie
fbc7ee7ab7 Minor clean-up: add site_perl dir to fake mtree so that it won't appear
as @dirrm in make plist.
2000-10-22 12:06:56 +00:00
turan
9afaff17ef fix a2ps and kde 2000-04-18 12:26:31 +00:00
turan
58439e866b includes 2000-04-18 10:51:00 +00:00
turan
af224e001d these are the makefiles I will be using to build on
m68k, powerpc, alpha, and other less used platforms.
2000-04-18 10:49:29 +00:00
espie
73bec0c7e9 Let var appear at the right location.
Clean up indentations, and then clean it up some more.
Based on Camiel's patch, plus some more clean up, thanks Camiel !
2000-03-29 15:41:28 +00:00
espie
0e86047220 Don't create a fake /usr/X11R6.
Nor a fake /home (thanks fries@).
Create a fake /usr/local/lib/X11/app-defaults
2000-03-24 21:21:51 +00:00
espie
859961f085 Add some missing X11 directories under /usr/local. 2000-03-19 02:30:23 +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
espie
12c5417949 Having this in the repository was a bad idea... 2000-01-27 15:36:00 +00:00
brad
19431e3806 - update MASTER_SITE_AFTERSTEP and MASTER_SITE_WINDOWMAKER
- fix one URL for MASTER_SITE_XCONTRIB; from FreeBSD's bsd.port.mk
2000-01-01 15:41:33 +00:00
brad
4b3b3202b8 Substitute ftp.cdrom.com for ftp.funet.fi in MASTER_SITE_SUNSITE, which no
longer seems to be a full mirror anymore; from FreeBSD's bsd.port.mk
2000-01-01 15:17:52 +00:00
espie
cf61e9d7a7 Add packages by popular and godly demand.
Ditch wget, as gimp got rid of it.
1999-09-28 21:55:25 +00:00
brad
197af2b33e re-add devel/mm; requested by theo@, msg from turan@ 1999-09-27 01:46:30 +00:00
brad
4c8bfcd5cf remove devel/mm again 1999-09-27 00:25:51 +00:00
turan
a2a36538dc id tage + devel/mm 1999-09-26 13:19:00 +00:00
espie
586335a368 Split network configuration off bsd.port.mk for easy handling 1999-09-26 10:43:51 +00:00
turan
55edbcba16 id tag plus add devel/mm 1999-09-25 22:56:42 +00:00
brad
f266577194 - devel/mm should not be on this list, remove it
- mail/mm does not exist, correct it to mail/metamail
1999-09-21 19:16:02 +00:00
espie
d99c94f1dd Typos, synch...
who cares about compface ? let this get pulled in if needed (e.g. xemacs)
1999-09-20 09:44:03 +00:00
espie
8201260adc gccc 2.95.1 comes with the system. 1999-09-20 09:43:01 +00:00
niklas
a4852e45ff typo 1999-08-21 21:22:17 +00:00
niklas
a90a71f503 pgsql must get 71 as 70 is for named 1999-08-21 20:49:43 +00:00
brad
0871c39a19 add news user to eventually be used by leafnode 1999-05-18 17:19:53 +00:00
espie
b8c7c3aacc infrastructure framework: helper scripts and other stuff needed for
ports, long-term.
1999-05-18 16:39:02 +00:00