1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
Commit Graph

84 Commits

Author SHA1 Message Date
Maxim Sobolev
9a158320b9 Add a traling slash ("/") to the /usr/ports/ and /usr/ports/distfiles/ to make
the script working for the cases when either one directory is a symlink.

Submitted by:	Juriy Goloveshkin <juriy@avias.com>, Volodymyr Kostyrko <arcade@limbo.dn.ua>
2000-06-06 10:05:06 +00:00
Maxim Sobolev
68170052a9 Add tag and MAINTAINER. 2000-06-05 15:50:32 +00:00
Maxim Sobolev
6fed6d6bdd Add distclean.sh - a little script to check set of distfiles against currently
installed ports collection and prompt to remove unmatching entries (i.e.
distfiles that doesn't have corresponding md5 file).

Hardly requiested by:	will
2000-06-05 15:47:25 +00:00
Will Andrews
2247ec04c2 Update for multiple ports. Also add MAINTAINER/Created [on,by] lines.
Submitted by:	maintainer
2000-05-24 05:29:54 +00:00
Will Andrews
d48209bc9b Add checksum.sh script that checks a port or ports for broken distfiles and
gives a diff of any port with broken distfiles, if the distfile names are
the same.  This script will help keep more ports' up-to-date distfiles on
ftp.FreeBSD.org.

PR:		18723
Submitted by:	Alexander Langer <alex@cichlids.com>
2000-05-22 10:02:42 +00:00
Maxim Sobolev
9a170ebda5 Make getpr work for remote committers as well. 2000-05-19 08:09:53 +00:00
Satoshi Asami
d36051792d (1) Make this file callable in two phases (checksum, package) so distfiles
can be fetched even if the packaging fails.  This is to ensure distfiles
    with correct checksums can be fetched and put on ftp.FreeBSD.org
    before they disappear from the original master sites.

(2) Delete port and all dependencies after packaging, and print out
    list of

 (a) Security-related files (set[ug]id flag set or world-writable)

 (b) Extra files and directories

Requested by:	 kris (2a only)
2000-05-08 07:37:28 +00:00
Michael Haro
546a427a27 Readme describing all the scripts in this directory. Somebody good at
writing docs should probably fix this file.
2000-05-01 20:00:10 +00:00
Michael Haro
aceebed158 3 little scripts I use when dealing with port update PRs.
getpr   - downloads a problem report from GNATS and attempts to extract
          the patch, shar, uuencoded file from it.
          this probably needs to be checked for potential security problems.
prpatch - just does `patch $1 < pr-patch' (pr-patch is created by getpr)
prdone  - checks in the port, attempting to fill out the commit message using
          information from the problem report and then takes you into edit-pr
		  so you don't forget to close the PR.
2000-05-01 19:53:54 +00:00
Michael Haro
8ec2364637 Future replacement to easy-import for adding ports to the tree.
This still needs work, but I want to get this out there so people
can comment on it.  This is really only of use to committers.
2000-05-01 19:47:14 +00:00
Michael Haro
784b307d44 A tool to check whether all your ports are installed properly, what files
have changed, what new files there are, and so forth.

Created by: Neil Blakey-Milner <nbm@mithrandr.moria.org>
2000-05-01 19:44:50 +00:00
Satoshi Asami
df6b4a0473 (1) Be a little less picky about finding read-only mounts.
(2) Create directories before trying to copy files over.

(3) There's no -a option to scp anymore.
2000-03-21 18:30:40 +00:00
Satoshi Asami
f95eee7f03 Add a few more error tags (bison, ELF, REQUIRES_MOTIF, dependency, new
compiler error).
2000-03-02 23:07:03 +00:00
Satoshi Asami
0a03ad0d0e Add a few more files to bindest. 2000-02-17 00:15:41 +00:00
Satoshi Asami
b0abcbc5f3 freebsd.org -> FreeBSD.org 1999-10-12 12:12:34 +00:00
Satoshi Asami
2adb18bf67 Increase wait from 4 hours to 5 hours. Seems the ports are taking longer
to build now.
1999-10-10 11:33:15 +00:00
Satoshi Asami
3bb7126018 Don't run make describe in parallel -- the outputs gets mangled sometimes. 1999-10-10 11:32:46 +00:00
Satoshi Asami
51d8f5dd29 Minor cleanup, remove excessive tests. 1999-09-24 01:20:23 +00:00
Satoshi Asami
ac78fcedc4 Adjust to new directory structure. 1999-09-24 01:19:22 +00:00
Satoshi Asami
face7489ea Put the logs and error logs in a dated subdirectory of the archive
directory and create symlinks to it.

Move index generation back into the parallel part, let's see if the
echo `perl` fix to bsd.port.mk will make a difference.  Move the index
syntax check out of the background job so it can be properly flagged.
1999-09-22 13:02:21 +00:00
Satoshi Asami
e8e78d7877 Call bothlogs. 1999-09-22 01:00:46 +00:00
Satoshi Asami
e25ec83995 A small script to generate a list of logs that are in both 3-stable
and 4-current.
1999-09-22 01:00:31 +00:00
Satoshi Asami
c1eecfce5a Put build logs in "archive/buildlogs" and make a symlink to it. 1999-09-22 00:59:47 +00:00
Satoshi Asami
84768fa69e Another case for compiler error. 1999-09-22 00:58:48 +00:00
Satoshi Asami
1ef91d42b2 Run chflags if rm -rf of chroot dir fails -- some port may have
left some schg junk around.
1999-09-22 00:58:26 +00:00
Satoshi Asami
1ba68ec84e Run Xvfb if it exists and set DISPLAY accordingly. This helps ports
that require xrdb and other inane stuff during build.
1999-09-22 00:57:02 +00:00
Satoshi Asami
4e920fa436 Remove /var/db/pkg/* *inside* chroot area, not outside. 1999-09-11 13:19:32 +00:00
Satoshi Asami
cae9020a73 Little whitespace fix. 1999-09-11 01:41:52 +00:00
Satoshi Asami
b3037be663 Note that you need /usr/lib/aout/c++rt0.o for package building. It's not
included in bindist or any of the compat*dists.
1999-09-11 00:57:00 +00:00
Satoshi Asami
95eddd5009 This is supposed to be 4-current, not 3.1-release. 1999-09-11 00:54:03 +00:00
Satoshi Asami
67b0efb7ed Don't delete the whole /usr/games, leave strfile behind. At least one port
(misc/fortuneit) needs it.
1999-09-11 00:51:51 +00:00
Satoshi Asami
632c2ef905 Improve snapshot ftp installation. Put hostnames, distributions etc. in
variables instead of command lines.  Create /var/db/port.mkversion.
1999-09-11 00:48:37 +00:00
Satoshi Asami
cf0ffa76bf (1) Instead of specifying list of package names of dummy ports (i.e.,
XFree86, Motif) to copy, make a variable hold directory names, and
    do a "make package-name" in there to obtain the package names.

(2) Exit if there is problem in INDEX.  A line that contains
    "non-existent" (suggesting a dangling dependency) or a line that
    has less or more than nine |'s flag errors.

(3) Pass the fifth argument (bindist.tar's md5) to setupnode.

(4) Typo in spelling "restricted".
Submitted by:	     marcel

(5) Run cvsup at verbosity level 0 instead of 1.

(6) Print out only ${PKGNAME}, not ${PKGNAME}.log or ${PKGNAME}.tgz
    when reporting new or old packages/failures.

(7) Archive /usr/ports used to build packages in ${branch}/tarballs.
Requested by:	       steve
1999-09-11 00:35:51 +00:00
Satoshi Asami
20f70843a3 (1) Remove FORCE_PKG_REGISTER, it is not necessary anymore. Remove
everything under /var/db/pkg/* before installing dependencies and
    during final cleanup.

(2) Change OSREL, OSVERSION and PORTOBJFORMAT (if necessary).  Comment
    out those for 3-stable.
Reported by:  paul, tg

(3) Move mtree until after we actually mount /usr/src. ;)
Reported by:   taoka

(4) Run ldconfig with and without -aout in all sorts of directories to
    pick up everything that could be in compat dirs etc.  Run ldconfig
    -aout -R after cleanup too.
1999-09-11 00:18:38 +00:00
Satoshi Asami
0a15669df6 Add extra argument md5 for bindist.tar. Skip scp if md5 matches
what the client already has.
1999-09-11 00:11:12 +00:00
Satoshi Asami
9a4b76df92 Change OSREL and OSVERSION for 3 and 4 branches. (The ones for 3-stable
are commented out anyway....)
1999-09-11 00:09:22 +00:00
Satoshi Asami
5a8bbc0d75 Add check for "invalid category" error.
Add another case for compilation error (undeclared variable).
1999-09-11 00:07:58 +00:00
Satoshi Asami
16773b1535 Explict specify NFSv2 for mounting /usr/src and /usr/obj during make world. 1999-09-11 00:06:08 +00:00
Satoshi Asami
10bd1061ba Copy logs to ${portbuild}/buildlogs/${branch}.log.${date}.
Replace another explicit mail address with ${mailto}.
1999-09-11 00:03:12 +00:00
David E. O'Brien
b6461b0294 Id->FreeBSD rename take 2
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1999-08-25 04:43:00 +00:00
Satoshi Asami
8d5bb6353e Do not require dependencies to be deleted to be explicitly listed.
Any dependency that doesn't exist as a package will be automatically
deleted from the list of dependencies.
1999-08-18 10:24:53 +00:00
Satoshi Asami
d2a070ab6a Move CHECKSUM.MD5 generation to after INDEX splitting. Not much change
in functionality but echo statements will print the counts right.
1999-08-01 19:27:43 +00:00
Satoshi Asami
230004a3c3 Parallelize things a bit more. Now we'll do index/cdrom/restricted
list generation at the same time we're setting up the clients.

duds generation is intentionally separate.  If we get an error back
from that one (usually means someone committed a Makefile with a
syntax error), abort the whole thing so we won't generate a faulty
index and destroy the stuff that's been builtbefore.

Lockfile handling is now moved to dopackages2 so we won't overwrite
the build.log file just to say "skipped".

Generate INDEX right after packages are built, from the same INDEX
that was used to build them.

Compare the packages from this build with the previous one and report
what's missing and whatnot.
1999-07-30 07:26:52 +00:00
Satoshi Asami
5779c79e66 Create lock file so you won't have two of these running. Also, separate
the report mailing address into the configurable variables section.
1999-07-30 07:19:44 +00:00
Satoshi Asami
83855eba5a Compare the last full runs (and not only the last partial runs). 1999-07-30 06:54:27 +00:00
Satoshi Asami
99a7dab167 Run with -j4.
Exit with error status if an error occured.
1999-07-30 06:53:31 +00:00
Satoshi Asami
79ab397bca Run with -j4. 1999-07-30 06:53:00 +00:00
Satoshi Asami
9c3aa283bc Intentionally set up ${PORTSDIR} with symlink to catch broken ports.
Suggested by:	takamune@avrl.mei.co.jp
1999-07-30 06:52:02 +00:00
Satoshi Asami
8f42a57801 Little script to convert ports/INDEX to packages/INDEX. 1999-07-30 05:51:04 +00:00
Satoshi Asami
a1431c4e37 Move message about skipping missing packages into the right else clause. 1999-07-14 05:58:12 +00:00