From owner-gensrc@oss.sgi.com Sun Dec 3 14:09:39 2000 Received: by oss.sgi.com id ; Sun, 3 Dec 2000 14:09:30 -0800 Received: from [216.52.235.12] ([216.52.235.12]:8462 "EHLO privatemail.bizrate.com") by oss.sgi.com with ESMTP id ; Sun, 3 Dec 2000 14:09:09 -0800 Received: from doormouse.bizrate.com (IDENT:root@doormouse.bizrate.com [172.16.10.5]) by privatemail.bizrate.com (8.9.3/8.9.3) with ESMTP id OAA89494 for ; Sun, 3 Dec 2000 14:09:09 -0800 (PST) Received: (from jhelfman@localhost) by doormouse.bizrate.com (8.9.3/8.9.3) id PAA18238 for gensrc@oss.sgi.com; Sun, 3 Dec 2000 15:17:10 -0800 Date: Sun, 3 Dec 2000 15:00:26 -0800 From: Jason Helfman To: owner-gensrc@oss.sgi.com Subject: gensrc, mailing list, question Message-ID: <20001203150026.B17993@doormouse.bizrate.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="1UWUbFP1cBYEclgG" Content-Disposition: inline User-Agent: Mutt/1.3.11i Sender: owner-gensrc@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;gensrc-outgoing --1UWUbFP1cBYEclgG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline First, I have no idea what the general email address is for the mailing list. Second, this is a great package. Third. I have a script here that was build in cooperation with an existing script, that downloads packages from an interal ftp server, builds them and installs them via tar. It uses configure/make/make install nothing special, but according to your pkginformation, i could build an rpm with this. How would I go about doing this. I didn't see much in the FAQ, and I don't know how to contact the list. -- Jason G Helfman Network Administrator BizRate.com 310.754.1264 Fingerprint: DA13 C109 072B CC12 B568 8D84 E9A2 6A7D C479 BCFB GnuPG http://www.gnupg.org Get Private! 1024D/D75E0A36 --1UWUbFP1cBYEclgG Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=setup #!/bin/sh # 0.0.1 # 10/17/00 jgh # Go to directory where all the stuff is cd /usr/local/src/ # Set environment TAR="/bin/tar -zxvf" RM="/bin/rm -rfv" SERVER=puma.bizrate.com APACHE_PREFIX=/home/www/bizrate/ SSL_PREFIX=/usr/local/ssl/ # Get packages ncftpget ftp://$SERVER/pub/Travolta/gzs/www/* # Get install DIRECTORIES echo echo "Make sure all your paths and syntax are correct!!!" echo "Directories must be delimited by and ending / " echo "Example /usr/local/apache/" echo echo -n "Will APACHE be installed to [$APACHE_PREFIX]? " read HTTP case $HTTP in "") APACHE_PREFIX=/home/www/bizrate/ ;; *) APACHE_PREFIX=$HTTP ;; esac echo echo " Apache will be installed to [$APACHE_PREFIX]" echo echo "Make sure all your paths and syntax are correct!!!" echo echo -n "Will SSL be installed to [$SSL_PREFIX]? " read SSL case $SSL in "") SSL_PREFIX=/usr/local/ssl/ ;; *) SSL_PREFIX=$SSL ;; esac echo echo " SSL will be installed to [$SSL_PREFIX]" echo echo "========= PREPARING FOR INSTALL =========" echo "Press enter..." read DUMMY $TAR apache_1.3.12.tar.gz $TAR mm-1.1.3.tar.gz $TAR mod_perl-1.24.tar.gz $TAR mod_ssl-2.6.5-1.3.12.tar.gz $TAR openssl-0.9.5a.tar.gz echo "========= End PREPARATION =========" echo "Press enter..." read DUMMY # Configure and install OpenSSL echo "========= START openssl INSTALL =========" cd openssl-0.9.5a ./config --prefix="${SSL_PREFIX}" --openssldir="${SSL_PREFIX}" make make test make install cd .. echo "========= END openssl INSTALL =========" echo "Press enter..." read DUMMY # Configure and install mm (http://www.engelschall.com/sw/mm/) # Optional, to use shared memory for SSL keys echo "========= START mm INSTALL =========" cd mm-1.1.3 ./configure --disable-shared make cd .. echo "========= END mm INSTALL =========" echo "Press enter..." read DUMMY # Configure mod_ssl # Do not make echo "========= START mod_ssl CONFIGURATION =========" cd mod_ssl-2.6.5-1.3.12 ./configure --with-apache=../apache_1.3.12 \ --with-ssl="${SSL_PREFIX}" \ --prefix="${APACHE_PREFIX}" \ --with-mm=../mm-1.1.3 \ --disable-rule=SSL_COMPAT \ --enable-rule=SSL_SDBM cd .. echo "========= END mod_ssl CONFIGURATION =========" echo "Press enter..." read DUMMY # Configure and install mod_perl echo "========= START mod_perl INSTALL =========" cd mod_perl-1.24 perl Makefile.PL \ EVERYTHING=1 \ APACHE_SRC=../apache_1.3.12/src \ USE_APACI=1 \ PREP_HTTPD=1 \ DO_HTTPD=1 \ APACHE_PREFIX="${APACHE_PREFIX}" make make install cd .. echo "========= END mod_perl INSTALL =========" echo "Press enter..." read DUMMY # Configure and install Apache echo "========= START Apache INSTALL =========" cd apache_1.3.12 SSL_BASE="${SSL_PREFIX}" \ EAPI_MM=../mm-1.1.3 \ ./configure \ --prefix="${APACHE_PREFIX}" \ --enable-module=ssl \ --activate-module=src/modules/perl/libperl.a \ --enable-module=perl \ --enable-module=rewrite \ --enable-module=unique_id \ --enable-module=alias \ --enable-module=expires \ --disable-module=include \ --activate-module=src/modules/standard/mod_info.c \ --enable-module=info \ --disable-module=imap \ --disable-module=mmap_static \ --enable-module=status \ --enable-module=auth \ --enable-module=userdir \ --enable-module=actions \ --enable-module=asis \ --enable-module=cgi \ --enable-module=autoindex \ --enable-module=negotiation \ --enable-module=env make make certificate make install cd .. echo "========= END Apache INSTALL =========" echo "Press enter..." read DUMMY echo "========= SEND IN THE MAID =========" echo "Press enter..." read DUMMY $RM apache_1.3.12* $RM mm-1.1.3* $RM mod_perl-1.24* $RM mod_ssl-2.6.5-1.3.12* $RM openssl-0.9.5* echo "========= END MAID SERVICE =========" echo "Press enter..." read DUMMY echo echo "========= ADD SERVICE =========" chmod +x /usr/local/src/www cp /usr/local/src/www /etc/rc.d/init.d/www $RM www echo echo "Make sure your path to apachectl is correct! Edit /etc/rc.d/init.d/www" echo echo "========= SERVICE ADDED =========" echo echo "========= ADDING RUNLVLS =========" echo ln -s /etc/rc.d/init.d/www /etc/rc.d/rc0.d/K15www echo "...linked to runlevel 0" ln -s /etc/rc.d/init.d/www /etc/rc.d/rc3.d/S80www echo "...linked to runlevel 3" ln -s /etc/rc.d/init.d/www /etc/rc.d/rc6.d/K15www echo "...linked to runlevel 6" echo echo "========= RUNLVLS ADDED =========" echo echo "Done." exit 0 --1UWUbFP1cBYEclgG-- From owner-gensrc@oss.sgi.com Sun Dec 3 15:00:09 2000 Received: by oss.sgi.com id ; Sun, 3 Dec 2000 14:59:59 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:1843 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Sun, 3 Dec 2000 14:59:38 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id OAA29038 for ; Sun, 3 Dec 2000 14:59:36 -0800 (PST) mail_from (markgw@sgi.com) Received: from sandpit.melbourne.sgi.com (sandpit.melbourne.sgi.com [134.14.55.132]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id JAA03265; Mon, 4 Dec 2000 09:57:02 +1100 Date: Mon, 4 Dec 2000 09:57:01 +1100 (EST) From: Mark Goodwin X-Sender: markgw@sandpit.melbourne.sgi.com To: Jason Helfman cc: gensrc@oss.sgi.com, ptg@melbourne.sgi.com Subject: Re: gensrc, mailing list, question In-Reply-To: <20001203150026.B17993@doormouse.bizrate.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-gensrc@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;gensrc-outgoing On Sun, 3 Dec 2000, Jason Helfman wrote: > First, I have no idea what the general email address is for the mailing > list. gensrc@oss.sgi.com > > Second, this is a great package. thanks! There have been roughly 100 downloads in the first month since releasing gensrc, but as far as I know, you're the first to actually join the mailing list. > > Third. I have a script here that was build in cooperation with an > existing script, that downloads packages from an interal ftp server, > builds them and installs them via tar. It uses configure/make/make > install > > nothing special, but according to your pkginformation, i could build an > rpm with this. > > How would I go about doing this. I didn't see much in the FAQ, and I > don't know how to contact the list. Use gensrc to generate your initial source tree, e.g. # gensrc somepackagename This creates a directory called somepackagename. Now, to build an RPM for somepackagename, do this: # cd somepackagename # ./Makepkgs You need to read the Porting-Guild (found in the top level dir of all generated src trees). Then take a browse around the src, and fairly quickly you'll figure out how to plug in your source and build your real RPMs. thanks -- Mark Goodwin SGI Engineering From owner-gensrc@oss.sgi.com Mon Dec 4 17:39:54 2000 Received: by oss.sgi.com id ; Mon, 4 Dec 2000 17:39:34 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:56404 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 4 Dec 2000 17:39:09 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id RAA05178 for ; Mon, 4 Dec 2000 17:39:07 -0800 (PST) mail_from (nathans@wobbly.melbourne.sgi.com) Received: from wobbly.melbourne.sgi.com (wobbly.melbourne.sgi.com [134.14.55.135]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id MAA13109 for <@larry.melbourne.sgi.com:gensrc@oss.sgi.com>; Tue, 5 Dec 2000 12:36:35 +1100 Received: (from nathans@localhost) by wobbly.melbourne.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) id MAA78235; Tue, 5 Dec 2000 12:36:32 +1100 (EDT) From: "Nathan Scott" Message-Id: <10012051236.ZM185232@wobbly.melbourne.sgi.com> Date: Tue, 5 Dec 2000 12:36:31 -0400 X-Mailer: Z-Mail (3.2.3 08feb96 MediaMail) To: markgw@sandpit.melbourne.sgi.com, max@kuku.melbourne.sgi.com Subject: evil configure issue Cc: gensrc@oss.sgi.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-gensrc@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;gensrc-outgoing hi, Daniel's found a nasty little bug testing XFS on Suse 7... it actually affects every gensrc-based package (for any distro) though. GZIP(1) GZIP(1) ... ENVIRONMENT The environment variable GZIP can hold a set of default options for gzip. These options are interpreted first and can be overwritten by explicit command line parameters. For example: for sh: GZIP="-8v --name"; export GZIP for csh: setenv GZIP "-8v --name" for MSDOS: set GZIP=-8v --name needless to say, things proceed rapidly south when attempting to run configure if GZIP is set to something like "-9" as the Suse7 /etc/csh.cshrc does (we somehow manage to get GZIP=tar!). anyone have a good solution? test whether $GZIP is an executable before using it, I guess? or extract the 1st word of $GZIP somehow & test that for execute permission? cheers. -- Nathan