From owner-freebsd-ports Sun Aug 27 02:49:13 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id CAA16159 for ports-outgoing; Sun, 27 Aug 1995 02:49:13 -0700 Received: from eikon.e-technik.tu-muenchen.de (eikon.regent.e-technik.tu-muenchen.de [129.187.42.3]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id CAA16144 for ; Sun, 27 Aug 1995 02:49:09 -0700 Received: from vector.eikon.e-technik.tu-muenchen.de (vector.eikon.e-technik.tu-muenchen.de [129.187.142.36]) by eikon.e-technik.tu-muenchen.de (8.6.12/8.6.9) with ESMTP id LAA22267 for ; Sun, 27 Aug 1995 11:49:02 +0200 Received: (from jhs@localhost) by vector.eikon.e-technik.tu-muenchen.de (8.6.11/8.6.9) id FAA29242 for ports@freebsd.org; Sat, 26 Aug 1995 05:36:27 +0200 Date: Sat, 26 Aug 1995 05:36:27 +0200 From: Julian Howard Stacey Message-Id: <199508260336.FAA29242@vector.eikon.e-technik.tu-muenchen.de> To: ports@freebsd.org Subject: make fetch Sender: ports-owner@freebsd.org Precedence: bulk Bug report, for the mk file I guess: On a fresh empty (except for wrappers, but nothing compiled) ports tree: unsetenv BATCH;cd /usr/ports;make -i fetch & it skipped tons of empty directories (fine, what I wanted) & fetched a distfile i hadn't got (fine, what I wanted) then suddenly started compiling lang/itcl, as below (not what I wanted, as it stopped using the dial up slip link) Here's the log ===> games/xonix ===> xonix-1.2 depends on shared library: Xpm\.4 - found ===> games/xpacman ===> xpacman-1.0 depends on executable: unzip - found >> pacman10.zip doesn't seem to exist on this system. >> Attempting to fetch from ftp://ftp.nvg.unit.no/pub/pacman/ Receiving file: pacman10.zip 100% 0 64523 bytes. ETA: 0:00 pacman10.zip: 64523 bytes received in 84.69 seconds, 761.89 Bytes/sec. ===> games/xpilot ===> lang/icon ===> lang/itcl ===> itcl-1.5 depends on shared library: tk\.3\. - found ===> itcl-1.5 depends on: /usr/ports/lang/tcl ===> Verifying build for /usr/ports/lang/tcl >> No MD5 checksum file. ===> Extracting for tcl-7.3 ===> Patching for tcl-7.3 ===> Applying FreeBSD patches for tcl-7.3 ===> Configuring for tcl-7.3 checking for ranlib checking for getcwd even worse, as I wasnt running as root, it errored with: Installing libtcl.a install: /usr/local/lib/libtcl.a: Permission denied *** Error code 1 (ignored) BTW The No MD5 checksum file. messages can be ignored, that's just because I had a MD5_FILE=/avoid_cdrom Julian S jhs@freebsd.org From owner-freebsd-ports Sun Aug 27 05:25:59 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id FAA21005 for ports-outgoing; Sun, 27 Aug 1995 05:25:59 -0700 Received: from server.netcraft.co.uk (server.netcraft.co.uk [194.72.238.2]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id FAA20996 ; Sun, 27 Aug 1995 05:25:54 -0700 Received: (from paul@localhost) by server.netcraft.co.uk (8.6.11/8.6.9) id NAA00628; Sun, 27 Aug 1995 13:25:33 +0100 From: Paul Richards Message-Id: <199508271225.NAA00628@server.netcraft.co.uk> Subject: Re: Dependencies To: asami@cs.berkeley.edu (Satoshi Asami) Date: Sun, 27 Aug 1995 13:25:32 +0100 (BST) Cc: paul@freebsd.org, ports@freebsd.org In-Reply-To: <199508260925.CAA05181@silvia.HIP.Berkeley.EDU> from "Satoshi Asami" at Aug 26, 95 02:25:38 am Reply-to: paul@freebsd.org X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 826 Sender: ports-owner@freebsd.org Precedence: bulk In reply to Satoshi Asami who said > > Uhh, it should. The line: > > EXEC_DEPENDS= gs:${PORTSDIR}/print/ghostscript > > in the ghostview Makefile does exactly that, check if the program "gs" > is in the search path (it uses "which"), and goes to build ghostscript > only if it's not found. > > Maybe you don't have /usr/local/bin in your root's search path, then > well sorry, it won't work, and I don't see any workaround for it. Can't we use the pkg* interface to find out if a package is installed or not? It's much more robust thatn relying on the path being set properly for all users who might try and install a port. -- Paul Richards, Bluebird Computer Systems. FreeBSD core team member. Internet: paul@FreeBSD.org, http://www.freebsd.org/~paul Phone: 0370 462071 (Mobile), +44 1222 457651 (home) From owner-freebsd-ports Sun Aug 27 05:28:34 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id FAA21115 for ports-outgoing; Sun, 27 Aug 1995 05:28:34 -0700 Received: from server.netcraft.co.uk (server.netcraft.co.uk [194.72.238.2]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id FAA21105 ; Sun, 27 Aug 1995 05:28:31 -0700 Received: (from paul@localhost) by server.netcraft.co.uk (8.6.11/8.6.9) id NAA00645; Sun, 27 Aug 1995 13:28:17 +0100 From: Paul Richards Message-Id: <199508271228.NAA00645@server.netcraft.co.uk> Subject: Re: msql To: asami@cs.berkeley.edu (Satoshi Asami) Date: Sun, 27 Aug 1995 13:28:16 +0100 (BST) Cc: paul@freebsd.org, ports@freebsd.org In-Reply-To: <199508260933.CAA05289@silvia.HIP.Berkeley.EDU> from "Satoshi Asami" at Aug 26, 95 02:33:15 am Reply-to: paul@freebsd.org X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 686 Sender: ports-owner@freebsd.org Precedence: bulk In reply to Satoshi Asami who said > * directory for the package and if I change that tope-level directory during > * configuration then mtree still looks for the default location. > > I can't understand this one. Can you elaborate? > msql tries to install into /usr/local/Minerva but mtre doesn't create that directory it reports it's missing then aborts. Also, the interactive configuration allows you to change that default but mtree isn't aware ofthat and still uses /usr/local/Minerva. -- Paul Richards, Bluebird Computer Systems. FreeBSD core team member. Internet: paul@FreeBSD.org, http://www.freebsd.org/~paul Phone: 0370 462071 (Mobile), +44 1222 457651 (home) From owner-freebsd-ports Sun Aug 27 07:52:12 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id HAA23866 for ports-outgoing; Sun, 27 Aug 1995 07:52:12 -0700 Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id HAA23859 for ; Sun, 27 Aug 1995 07:52:09 -0700 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id HAA04348; Sun, 27 Aug 1995 07:51:58 -0700 To: "Eric L. Hernes" cc: ports@freebsd.org Subject: Re: apache port In-reply-to: Your message of "Fri, 25 Aug 1995 17:55:07 CDT." <199508252255.RAA19452@jake.lodgenet.com> Date: Sun, 27 Aug 1995 07:51:58 -0700 Message-ID: <4345.809535118@time.cdrom.com> From: "Jordan K. Hubbard" Sender: ports-owner@freebsd.org Precedence: bulk > Here's a port of the apache httpd. > All that's missing is the knob in /etc/sysconfig > and a homepage. If you're still reeling from Satoshi's "hey! learn cvs! join the team!" message and aren't sure about importing this one, I'd be happy to do the honors! I have a personal interest. Let me know. Jordan From owner-freebsd-ports Sun Aug 27 22:55:21 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id WAA03168 for ports-outgoing; Sun, 27 Aug 1995 22:55:21 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id WAA03159 for ; Sun, 27 Aug 1995 22:55:18 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.12/8.6.9) id WAA01337; Sun, 27 Aug 1995 22:55:15 -0700 Date: Sun, 27 Aug 1995 22:55:15 -0700 Message-Id: <199508280555.WAA01337@silvia.HIP.Berkeley.EDU> To: ports@freebsd.org Subject: Updated bsd.port.mk patch From: asami@cs.berkeley.edu (Satoshi Asami) Sender: ports-owner@freebsd.org Precedence: bulk Hello ports world. Here is an updated version of the patch to let bsd.port.mk try all the MASTER_SITES regardless of the brokenness of ncftp. The previous one I sent out was wrong, it didn't handle PATCHFILES correctly. Here they are, first, for the 2.2-current branch: ======= --- /usr/src/share/mk/bsd.port.mk Fri Aug 18 15:26:08 1995 +++ bsd.port.mk Sun Aug 27 22:42:38 1995 @@ -452,15 +452,14 @@ ${ECHO_MSG} ">> $$file doesn't seem to exist on this system."; \ for site in ${MASTER_SITES}; do \ ${ECHO_MSG} ">> Attempting to fetch from $${site}"; \ - if ${NCFTP} ${NCFTPFLAGS} $${site}$${file}; then \ - break; \ + (${NCFTP} ${NCFTPFLAGS} $${site}$${file} || true); \ + if [ -f $$file -o -f `/usr/bin/basename $$file` ]; then \ + continue 2; \ fi \ done; \ - if [ ! -f $$file -a ! -f `/usr/bin/basename $$file` ]; then \ - ${ECHO_MSG} ">> Couldn't fetch it - please try to retreive this";\ - ${ECHO_MSG} ">> port manually into ${DISTDIR} and try again."; \ - exit 1; \ - fi; \ + ${ECHO_MSG} ">> Couldn't fetch it - please try to retreive this";\ + ${ECHO_MSG} ">> port manually into ${DISTDIR} and try again."; \ + exit 1; \ fi \ done) .if defined(PATCHFILES) @@ -471,15 +470,14 @@ ${ECHO_MSG} ">> $$file doesn't seem to exist on this system."; \ for site in ${PATCH_SITES}; do \ ${ECHO_MSG} ">> Attempting to fetch from $${site}."; \ - if ${NCFTP} ${NCFTPFLAGS} $${site}$${file}; then \ - break; \ + (${NCFTP} ${NCFTPFLAGS} $${site}$${file} || true); \ + if [ -f $$file -o -f `/usr/bin/basename $$file` ]; then \ + continue 2; \ fi \ done; \ - if [ ! -f $$file -a ! -f `/usr/bin/basename $$file` ]; then \ - ${ECHO_MSG} ">> Couldn't fetch it - please try to retreive this";\ - ${ECHO_MSG} ">> port manually into ${PATCHDIST} and try again."; \ - exit 1; \ - fi; \ + ${ECHO_MSG} ">> Couldn't fetch it - please try to retreive this";\ + ${ECHO_MSG} ">> port manually into ${PATCHDIST} and try again."; \ + exit 1; \ fi \ done) .endif ======= and then for the 2.1-stable branch: ======= --- bsd.port.mk Tue Jun 6 03:56:34 1995 +++ /s/usr/share/mk/bsd.port.mk Sun Aug 27 22:41:49 1995 @@ -421,15 +421,14 @@ ${ECHO_MSG} ">> $$file doesn't seem to exist on this system."; \ for site in ${MASTER_SITES}; do \ ${ECHO_MSG} ">> Attempting to fetch from $${site}"; \ - if ${NCFTP} ${NCFTPFLAGS} $${site}$${file}; then \ - break; \ + (${NCFTP} ${NCFTPFLAGS} $${site}$${file} || true); \ + if [ -f $$file -o -f `basename $$file` ]; then \ + continue 2; \ fi \ done; \ - if [ ! -f $$file -a ! -f `basename $$file` ]; then \ - ${ECHO_MSG} ">> Couldn't fetch it - please try to retreive this";\ - ${ECHO_MSG} ">> port manually into ${DISTDIR} and try again."; \ - exit 1; \ - fi; \ + ${ECHO_MSG} ">> Couldn't fetch it - please try to retreive this";\ + ${ECHO_MSG} ">> port manually into ${DISTDIR} and try again."; \ + exit 1; \ fi \ done) .if defined(PATCHFILES) @@ -440,15 +439,14 @@ ${ECHO_MSG} ">> $$file doesn't seem to exist on this system."; \ for site in ${PATCH_SITES}; do \ ${ECHO_MSG} ">> Attempting to fetch from $${site}."; \ - if ${NCFTP} ${NCFTPFLAGS} $${site}$${file}; then \ - break; \ + (${NCFTP} ${NCFTPFLAGS} $${site}$${file} || true); \ + if [ -f $$file -o -f `basename $$file` ]; then \ + continue 2; \ fi \ done; \ - if [ ! -f $$file -a ! -f `basename $$file` ]; then \ - ${ECHO_MSG} ">> Couldn't fetch it - please try to retreive this";\ - ${ECHO_MSG} ">> port manually into ${PATCHDIST} and try again."; \ - exit 1; \ - fi; \ + ${ECHO_MSG} ">> Couldn't fetch it - please try to retreive this";\ + ${ECHO_MSG} ">> port manually into ${PATCHDIST} and try again."; \ + exit 1; \ fi \ done) .endif ======= Please test them and let me know how they work for you. Thanks! Satoshi From owner-freebsd-ports Sun Aug 27 23:02:14 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id XAA03495 for ports-outgoing; Sun, 27 Aug 1995 23:02:14 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id XAA03489 for ; Sun, 27 Aug 1995 23:02:12 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.12/8.6.9) id XAA01369; Sun, 27 Aug 1995 23:00:35 -0700 Date: Sun, 27 Aug 1995 23:00:35 -0700 Message-Id: <199508280600.XAA01369@silvia.HIP.Berkeley.EDU> To: jhs@vector.eikon.e-technik.tu-muenchen.de CC: ports@freebsd.org In-reply-to: <199508260336.FAA29242@vector.eikon.e-technik.tu-muenchen.de> (message from Julian Howard Stacey on Sat, 26 Aug 1995 05:36:27 +0200) Subject: Re: make fetch From: asami@cs.berkeley.edu (Satoshi Asami) Sender: ports-owner@freebsd.org Precedence: bulk * then suddenly started compiling lang/itcl, as below (not what I wanted, * as it stopped using the dial up slip link) Look at it carefully, it is not building itcl, it's building tcl. This is the same thing you've reported before. * ===> itcl-1.5 depends on: /usr/ports/lang/tcl ^^^^ * ===> Verifying build for /usr/ports/lang/tcl ^^^ * >> No MD5 checksum file. * ===> Extracting for tcl-7.3 ^^^^^^^ There is already a hack in bsd.port.mk that allows you to skip these stuff. I think I sent you a mail when I added this, didn' I? I know this is not a really desirable solution. The "real" fix will come (hopefully) sometime later this week when I manage to reorganize the whole "dependency" paradigm. Satoshi ------- revision 1.171 date: 1995/07/11 02:15:35; author: asami; state: Exp; lines: +18 -2 Add IS_DEPENDED_TARGET to change the behavior of a port when you want to do something else than "install". For example, make IS_DEPENDED_TARGET=fetch fetch will fetch the required distfiles including those of the dependencies without actually building and installing dependencies. Also document ECHO_MSG. Requested by: paul Reviewed by: paul, jhs and others From owner-freebsd-ports Mon Aug 28 00:07:42 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id AAA05864 for ports-outgoing; Mon, 28 Aug 1995 00:07:42 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id AAA05858 ; Mon, 28 Aug 1995 00:07:40 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.12/8.6.9) id AAA02386; Mon, 28 Aug 1995 00:07:33 -0700 Date: Mon, 28 Aug 1995 00:07:33 -0700 Message-Id: <199508280707.AAA02386@silvia.HIP.Berkeley.EDU> To: chuckr@Glue.umd.edu CC: paul@freebsd.org, ports@freebsd.org In-reply-to: (message from Chuck Robey on Sat, 26 Aug 1995 15:21:05 -0400 (EDT)) Subject: Re: Dependencies From: asami@cs.berkeley.edu (Satoshi Asami) Sender: ports-owner@freebsd.org Precedence: bulk * Satoshi, the only time this is a pain for me is with libs. One easy * example is the grpahics subdir, which always seems to rebuild the libs if * the associated directory in ports/graphics doesn't contain the library in * question. I am right now upgrading to current ports; has this been fixed * there? If you are talking about shared libraries, yes, it's fixed. The new flag "-m" for ldconfig is added specifically for this. Satoshi From owner-freebsd-ports Mon Aug 28 00:45:26 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id AAA07438 for ports-outgoing; Mon, 28 Aug 1995 00:45:26 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id AAA07427 ; Mon, 28 Aug 1995 00:45:23 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.12/8.6.9) id AAA03593; Mon, 28 Aug 1995 00:45:20 -0700 Date: Mon, 28 Aug 1995 00:45:20 -0700 Message-Id: <199508280745.AAA03593@silvia.HIP.Berkeley.EDU> To: paul@freebsd.org CC: paul@freebsd.org, ports@freebsd.org In-reply-to: <199508271225.NAA00628@server.netcraft.co.uk> (message from Paul Richards on Sun, 27 Aug 1995 13:25:32 +0100 (BST)) Subject: Re: Dependencies From: asami@cs.berkeley.edu (Satoshi Asami) Sender: ports-owner@freebsd.org Precedence: bulk * Can't we use the pkg* interface to find out if a package is installed or * not? It's much more robust thatn relying on the path being set properly * for all users who might try and install a port. That is possible, but I thought it would be more robust to use "which" because we don't know if the user installed the dependency via pkg_add or the ports' "make install". Note that pkg_info looks only at /var/db/pkg. Also, many ports actually invoke these things during compilation and/or installation, so if it's not in the search path, you are dead anyway. :< Satoshi From owner-freebsd-ports Mon Aug 28 00:52:23 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id AAA08130 for ports-outgoing; Mon, 28 Aug 1995 00:52:23 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id AAA08123 ; Mon, 28 Aug 1995 00:52:21 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.12/8.6.9) id AAA03643; Mon, 28 Aug 1995 00:52:18 -0700 Date: Mon, 28 Aug 1995 00:52:18 -0700 Message-Id: <199508280752.AAA03643@silvia.HIP.Berkeley.EDU> To: paul@freebsd.org CC: paul@freebsd.org, ports@freebsd.org In-reply-to: <199508271228.NAA00645@server.netcraft.co.uk> (message from Paul Richards on Sun, 27 Aug 1995 13:28:16 +0100 (BST)) Subject: Re: msql From: asami@cs.berkeley.edu (Satoshi Asami) Sender: ports-owner@freebsd.org Precedence: bulk * msql tries to install into /usr/local/Minerva but mtre doesn't * create that directory it reports it's missing then aborts. Also, * the interactive configuration allows you to change that default but * mtree isn't aware ofthat and still uses /usr/local/Minerva. Ok, now I see. It's because this port has PREFIX=/usr/local/Minerva. :< I added NO_MTREE=yes as a temporary fix. Can someone look into this and see if you can change this port to install things in the right places? (/usr/local/{bin,include}, etc.)? Satoshi From owner-freebsd-ports Mon Aug 28 00:59:17 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id AAA08592 for ports-outgoing; Mon, 28 Aug 1995 00:59:17 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id AAA08585 for ; Mon, 28 Aug 1995 00:59:15 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.12/8.6.9) id AAA03678; Mon, 28 Aug 1995 00:59:07 -0700 Date: Mon, 28 Aug 1995 00:59:07 -0700 Message-Id: <199508280759.AAA03678@silvia.HIP.Berkeley.EDU> To: bobf@plan9.att.com CC: ports@freebsd.org In-reply-to: <199508271442.HAA05358@hofmann.CS.Berkeley.EDU> (bobf@plan9.att.com) From: asami@cs.berkeley.edu (Satoshi Asami) Sender: ports-owner@freebsd.org Precedence: bulk * i request that you include the sam.README file in your binary * bundle of sam. it not only contains the at&t notice of copyright * but also recognizes the many people who have contributed. i think * it is only courteous to retain that recognition. the file is * available at the toronto site. That is a very good point. In fact, I think I will propose to our ports group to make sure we include the copyright notices in all our packages. Thanks for the reminder. Satoshi From owner-freebsd-ports Mon Aug 28 01:01:15 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id BAA08735 for ports-outgoing; Mon, 28 Aug 1995 01:01:15 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id BAA08728 for ; Mon, 28 Aug 1995 01:01:13 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.12/8.6.9) id BAA03704; Mon, 28 Aug 1995 01:01:05 -0700 Date: Mon, 28 Aug 1995 01:01:05 -0700 Message-Id: <199508280801.BAA03704@silvia.HIP.Berkeley.EDU> To: jkh@time.cdrom.com CC: erich@lodgenet.com, ports@freebsd.org In-reply-to: <4345.809535118@time.cdrom.com> (jkh@time.cdrom.com) Subject: Re: apache port From: asami@cs.berkeley.edu (Satoshi Asami) Sender: ports-owner@freebsd.org Precedence: bulk * If you're still reeling from Satoshi's "hey! learn cvs! join the * team!" message and aren't sure about importing this one, I'd be happy * to do the honors! I have a personal interest. By all means, go ahead! I'm sure he won't mind, he said he's busy for a week or so, and I'd be more than glad if someone WITH AN INTEREST can do the import (instead of me, who's not much more than an automated script when it comes to importing others' ports)! ;) Satoshi From owner-freebsd-ports Mon Aug 28 01:11:37 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id BAA09767 for ports-outgoing; Mon, 28 Aug 1995 01:11:37 -0700 Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id BAA09759 ; Mon, 28 Aug 1995 01:11:33 -0700 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id BAA02285; Mon, 28 Aug 1995 01:11:27 -0700 To: asami@cs.berkeley.edu (Satoshi Asami) cc: paul@freebsd.org, ports@freebsd.org Subject: Re: Dependencies In-reply-to: Your message of "Mon, 28 Aug 1995 00:45:20 PDT." <199508280745.AAA03593@silvia.HIP.Berkeley.EDU> Date: Mon, 28 Aug 1995 01:11:26 -0700 Message-ID: <2283.809597486@time.cdrom.com> From: "Jordan K. Hubbard" Sender: ports-owner@freebsd.org Precedence: bulk > That is possible, but I thought it would be more robust to use "which" > because we don't know if the user installed the dependency via pkg_add > or the ports' "make install". Note that pkg_info looks only at > /var/db/pkg. Shouldn't matter? `make install' now tweaks /var/db/pkg TOO, remember? Jordan From owner-freebsd-ports Mon Aug 28 01:14:33 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id BAA10153 for ports-outgoing; Mon, 28 Aug 1995 01:14:33 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id BAA10145 ; Mon, 28 Aug 1995 01:14:30 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.12/8.6.9) id BAA03755; Mon, 28 Aug 1995 01:14:22 -0700 Date: Mon, 28 Aug 1995 01:14:22 -0700 Message-Id: <199508280814.BAA03755@silvia.HIP.Berkeley.EDU> To: jkh@time.cdrom.com CC: paul@freebsd.org, ports@freebsd.org In-reply-to: <2283.809597486@time.cdrom.com> (jkh@time.cdrom.com) Subject: Re: Dependencies From: asami@cs.berkeley.edu (Satoshi Asami) Sender: ports-owner@freebsd.org Precedence: bulk * > That is possible, but I thought it would be more robust to use "which" * > because we don't know if the user installed the dependency via pkg_add * > or the ports' "make install". Note that pkg_info looks only at * > /var/db/pkg. * * Shouldn't matter? `make install' now tweaks /var/db/pkg TOO, remember? Sorry, I wasn't clear. I meant, "we don't know it the user installed the dependency (via pkg_add | the ports)". What I wanted to say was, it doesn't work if the user compiled the port and installed it without touching anything in the ports or package area, but that should be fine as far as EXEC_DEPENDS goes. Satoshi From owner-freebsd-ports Mon Aug 28 01:24:40 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id BAA11222 for ports-outgoing; Mon, 28 Aug 1995 01:24:40 -0700 Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id BAA11216 ; Mon, 28 Aug 1995 01:24:35 -0700 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id BAA02373; Mon, 28 Aug 1995 01:24:29 -0700 To: asami@cs.berkeley.edu (Satoshi Asami) cc: paul@freebsd.org, ports@freebsd.org Subject: Re: Dependencies In-reply-to: Your message of "Mon, 28 Aug 1995 01:14:22 PDT." <199508280814.BAA03755@silvia.HIP.Berkeley.EDU> Date: Mon, 28 Aug 1995 01:24:29 -0700 Message-ID: <2371.809598269@time.cdrom.com> From: "Jordan K. Hubbard" Sender: ports-owner@freebsd.org Precedence: bulk > Sorry, I wasn't clear. I meant, "we don't know it the user installed > the dependency (via pkg_add | the ports)". Yes, it's always possible for the user to "sneak it in" through some manual process, but maybe we SHOULD start relying on pkg_info anyway! Totally Contrived Example: I need foomake v3.51 in order to compile /usr/ports/games/galacticGenocide and it lives in /usr/local/bin/foomake. HOWEVER, foomake v3.50 had a bad bug that makes it fall over with galacticGenocide's makefile, so it's not enough to simply check that /usr/local/bin/foomake is there, it has to be the correct version of it. With the current scheme, you're screwed. With a pkg_info reliant scheme, `pkg_info -e foomake3_50' will do the right thing. Jordan From owner-freebsd-ports Mon Aug 28 01:40:54 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id BAA12072 for ports-outgoing; Mon, 28 Aug 1995 01:40:54 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id BAA12065 ; Mon, 28 Aug 1995 01:40:51 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.12/8.6.9) id BAA03894; Mon, 28 Aug 1995 01:40:43 -0700 Date: Mon, 28 Aug 1995 01:40:43 -0700 Message-Id: <199508280840.BAA03894@silvia.HIP.Berkeley.EDU> To: jkh@time.cdrom.com CC: paul@freebsd.org, ports@freebsd.org In-reply-to: <2371.809598269@time.cdrom.com> (jkh@time.cdrom.com) Subject: Re: Dependencies From: asami@cs.berkeley.edu (Satoshi Asami) Sender: ports-owner@freebsd.org Precedence: bulk * Totally Contrived Example: I need foomake v3.51 in order to compile * /usr/ports/games/galacticGenocide and it lives in /usr/local/bin/foomake. * HOWEVER, foomake v3.50 had a bad bug that makes it fall over with * galacticGenocide's makefile, so it's not enough to simply check that * /usr/local/bin/foomake is there, it has to be the correct version of it. On the other hand, the current pkg_add is sometimes accused of being "too picky" about the versions; i.e., when it doesn't really matter whether you have foomake v3.50 or v3.51, it goes and pkg_adds foomake v3.50 because you have pkg_deleted it before you pkg_added v3.51 and the galacticGenocide package was compiled with foomake v3.50.... ;) Also, how are we going to figure out the package name using the EXEC_DEPENDS lines (e.g., "foomake:${PORTSDIR}/devel/foomake")? The user may have installed foomake from a package and not have ${PORTSDIR}/devel/foomake. (And it can be an old version, etc., etc...). I'm not saying you are wrong, they both have their merits and defects, but the current scheme of requiring root (or whoever installs the packages) to have /usr/local/bin and /usr/X11R6/bin in the search path seems like the lesser of evils.... * With the current scheme, you're screwed. With a pkg_info reliant scheme, * `pkg_info -e foomake3_50' will do the right thing. You mean "...3_51"? :p Satoshi From owner-freebsd-ports Mon Aug 28 03:09:46 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id DAA18854 for ports-outgoing; Mon, 28 Aug 1995 03:09:46 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id DAA18823 for ; Mon, 28 Aug 1995 03:09:39 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.12/8.6.9) id DAA04757; Mon, 28 Aug 1995 03:09:22 -0700 Date: Mon, 28 Aug 1995 03:09:22 -0700 Message-Id: <199508281009.DAA04757@silvia.HIP.Berkeley.EDU> To: ports@freebsd.org Subject: copyright notices for ports/packages From: asami@cs.berkeley.edu (Satoshi Asami) Sender: ports-owner@freebsd.org Precedence: bulk I think we should include copyright notices in our ports/packages. Some of the copyrights even require that the notice be retained, and that includes binary distribution too (I think). How should we go about this? (1) Require the ports to put them in a fixed location, for example, ${PREFIX}/share/${PKGNAME}/Copyright. This can be done by using a post-install target. (2) Add another argument to pkg_create and put it in the pkg/ subdir (and modify bsd.port.mk to pick it up automatically). (2') Similar to (2), but tuck it into the end of DESCR. Idea (1) will not require the copyright notice itself to be in our cvs tree, which is usually good. On the other hand, (2) and (2') will require the porter (upgrader) to make sure to import the new version of the copyright notice (or at least check, as these things usually don't change). (2) will require more work to our tools than (2'), but makes is clearer to the user the distinction of "description" and "copyright". (Also, (2) will stand in our way less when someone finally gets to write that super-GUI "view all ports at a glance" tool that has the package name at the top, COMMENT to our right and DESCR and PLIST side by side.... :) Personally, I think (1) is the way to go, because there isn't any need to have the copyright notice in our cvs tree, as it is in the original tarfile already. The "ports" themselves don't contain any original source (except for portions of the patches, but I don't think that will put us in legal problems), so we are required to carry the notices only in binary packages, not in our ports tree. Also, the space requirements aren't that small...these things sometimes are quite lengthy, and with almost 350 ports, they can add up quickly (e.g., the GPLv2 is 18KB long). Opinions? Satoshi From owner-freebsd-ports Mon Aug 28 04:22:37 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id EAA24595 for ports-outgoing; Mon, 28 Aug 1995 04:22:37 -0700 Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id EAA24578 for ; Mon, 28 Aug 1995 04:22:32 -0700 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id EAA03164; Mon, 28 Aug 1995 04:22:24 -0700 To: asami@cs.berkeley.edu (Satoshi Asami) cc: ports@freebsd.org Subject: Re: copyright notices for ports/packages In-reply-to: Your message of "Mon, 28 Aug 1995 03:09:22 PDT." <199508281009.DAA04757@silvia.HIP.Berkeley.EDU> Date: Mon, 28 Aug 1995 04:22:24 -0700 Message-ID: <3162.809608944@time.cdrom.com> From: "Jordan K. Hubbard" Sender: ports-owner@freebsd.org Precedence: bulk > (1) Require the ports to put them in a fixed location, for example, > ${PREFIX}/share/${PKGNAME}/Copyright. This can be done by using a > post-install target. Counter-proposal: Each port must register its copyright notices into: ${PREFIX}/share/copyrights/${PKGNAME} Registry of a copyright notice may be either: 1. A special port-specific copyright unique from any available "boilerplate" copyright, such as the GPL. 2. A link to a boilerplate copyright in ${PREFIX}/share/copyrights (e.g. "${PREFIX}/share/copyrights/${PKGNAME}/license -> ../GPL"). If the target of a link does not exist, the port install target should copy one from a known location in the ports tree into place first. Thus only one copy of a boilerplate license is retained. Packages, however, still remain a whole 'nother ball-o-wax. For one thing, we always have to have a copyright available for a package. We can't just rely on them, we need some way of making sure that those copyrights are *there* after the package is installed or we're technically in violation of lots of stuff. For that I suggest a slightly different spin on the approach taken. Add a special flag to pkg_create for indicating the copyright file, but have a special syntax for it like this: pkg_create ... -C @