audio/cdparanoia.shar Maintainer: Changes: Adds : Removes: audio/mp3serv.shar Maintainer: Changes: Adds : Removes: devel/libtool: Maintainer: ports@FreeBSD.org Changes: Makefile distinfo files/patch-ac files/patch-ad Adds : Removes: editors/go.shar Maintainer: Changes: Adds : Removes: java/japhar.shar Maintainer: Changes: Adds : Removes: textproc/libhnj.shar Maintainer: Changes: Adds : Removes: www/mozilla-lite.shar Maintainer: Changes: Adds : Removes: x11/xscreensaver-gnome.shar Maintainer: Changes: Adds : Removes: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # cdparanoia # cdparanoia/pkg-comment # cdparanoia/distinfo # cdparanoia/files # cdparanoia/files/patch-aa # cdparanoia/files/patch-ac # cdparanoia/files/patch-ad # cdparanoia/files/patch-ae # cdparanoia/files/patch-cb # cdparanoia/files/patch-cc # cdparanoia/files/patch-cd # cdparanoia/files/patch-ce # cdparanoia/files/patch-cf # cdparanoia/files/patch-cg # cdparanoia/Makefile # cdparanoia/pkg-descr # cdparanoia/pkg-plist # echo c - cdparanoia mkdir -p cdparanoia > /dev/null 2>&1 echo x - cdparanoia/pkg-comment sed 's/^X//' >cdparanoia/pkg-comment << 'END-of-cdparanoia/pkg-comment' XCDDA reading utility with extra data verification features END-of-cdparanoia/pkg-comment echo x - cdparanoia/distinfo sed 's/^X//' >cdparanoia/distinfo << 'END-of-cdparanoia/distinfo' XMD5 (cdparanoia-III-alpha9.8.src.tgz) = 7218e778b5970a86c958e597f952f193 END-of-cdparanoia/distinfo echo c - cdparanoia/files mkdir -p cdparanoia/files > /dev/null 2>&1 echo x - cdparanoia/files/patch-aa sed 's/^X//' >cdparanoia/files/patch-aa << 'END-of-cdparanoia/files/patch-aa' X--- configure.in.orig Mon Aug 16 08:29:43 1999 X+++ configure.in Mon Jun 25 21:15:58 2001 X@@ -20,6 +20,12 @@ X i?86-*-linux*) X DEBUG="-g -Wall -fsigned-char" X OPT="-O20 -ffast-math -fsigned-char -finline-functions";; X+ i?86-*-freebsd*) X+ DEBUG="-g -Wall -fsigned-char" X+ OPT="-O2 -ffast-math -fsigned-char -finline-functions";; X+ *-freebsd*) X+ DEBUG="-g -Wall" X+ OPT="-O";; X *) X DEBUG="-g -Wall -fsigned-char" X OPT="-O20 -fsigned-char";; X@@ -28,7 +34,10 @@ X X AC_HEADER_STDC X X-CFLAGS="" X+dnl Uncomment the following if you don't want to honor CFLAGS passed in from X+dnl the environment. X+dnl X+dnl CFLAGS="" X X TYPESIZES="" X X@@ -62,15 +71,25 @@ X X AC_CHECK_HEADERS(linux/sbpcd.h, SBPCD_H="-DSBPCD_H='1' ") X AC_CHECK_HEADERS(linux/ucdrom.h, UCDROM_H="-DUCDROM_H='1' ") X+AC_CHECK_HEADERS(util.h, X+ AC_CHECK_LIB(util, getrawpartition, X+ RAWPART="-DHAVE_GETRAWPARTITION='1' " LIBUTIL="-lutil" X+ ) X+) X+ X+AC_CHECK_FUNCS(getopt_long, GETOPT_LONG="-DGETOPT_LONG='1' ") X X AC_PROG_MAKE_SET X AC_C_CONST X X AC_SUBST(SBPCD_H) X AC_SUBST(UCDROM_H) X+AC_SUBST(GETOPT_LONG) X+AC_SUBST(RAWPART) X AC_SUBST(TYPESIZES) X AC_SUBST(OPT) X AC_SUBST(DEBUG) X AC_SUBST(CC) X+AC_SUBST(LIBUTIL) X X AC_OUTPUT(Makefile interface/Makefile paranoia/Makefile) END-of-cdparanoia/files/patch-aa echo x - cdparanoia/files/patch-ac sed 's/^X//' >cdparanoia/files/patch-ac << 'END-of-cdparanoia/files/patch-ac' X--- configure.orig Sun Apr 16 00:13:01 2000 X+++ configure Sun Mar 3 23:18:24 2002 X@@ -893,6 +893,12 @@ X i?86-*-linux*) X DEBUG="-g -Wall -fsigned-char" X OPT="-O20 -ffast-math -fsigned-char -finline-functions";; X+ i?86-*-freebsd*) X+ DEBUG="-g -Wall -fsigned-char" X+ OPT="-O2 -ffast-math -fsigned-char -finline-functions";; X+ *-freebsd*) X+ DEBUG="-g -Wall" X+ OPT="-O";; X *) X DEBUG="-g -Wall -fsigned-char" X OPT="-O20 -fsigned-char";; X@@ -1084,12 +1090,11 @@ X fi X X X-CFLAGS="" X X TYPESIZES="" X X echo $ac_n "checking size of short""... $ac_c" 1>&6 X echo "configure:1093: checking size of short" >&5 X if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 X else X@@ -1476,9 +1481,146 @@ X fi X done X X+for ac_hdr in util.h X+do X+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` X+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 X+echo "configure:1489: checking for $ac_hdr" >&5 X+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then X+ echo $ac_n "(cached) $ac_c" 1>&6 X+else X+ cat > conftest.$ac_ext < X+EOF X+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" X+{ (eval echo configure:1499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } X+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` X+if test -z "$ac_err"; then X+ rm -rf conftest* X+ eval "ac_cv_header_$ac_safe=yes" X+else X+ echo "$ac_err" >&5 X+ echo "configure: failed program was:" >&5 X+ cat conftest.$ac_ext >&5 X+ rm -rf conftest* X+ eval "ac_cv_header_$ac_safe=no" X+fi X+rm -f conftest* X+fi X+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then X+ echo "$ac_t""yes" 1>&6 X+ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` X+ cat >> confdefs.h <&6 X+echo "configure:1520: checking for getrawpartition in -lutil" >&5 X+ac_lib_var=`echo util'_'getrawpartition | sed 'y%./+-%__p_%'` X+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then X+ echo $ac_n "(cached) $ac_c" 1>&6 X+else X+ ac_save_LIBS="$LIBS" X+LIBS="-lutil $LIBS" X+cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then X+ rm -rf conftest* X+ eval "ac_cv_lib_$ac_lib_var=yes" X+else X+ echo "configure: failed program was:" >&5 X+ cat conftest.$ac_ext >&5 X+ rm -rf conftest* X+ eval "ac_cv_lib_$ac_lib_var=no" X+fi X+rm -f conftest* X+LIBS="$ac_save_LIBS" X+ X+fi X+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then X+ echo "$ac_t""yes" 1>&6 X+ RAWPART="-DHAVE_GETRAWPARTITION='1' " LIBUTIL="-lutil" X+ X+else X+ echo "$ac_t""no" 1>&6 X+fi X+ X+ X+else X+ echo "$ac_t""no" 1>&6 X+fi X+done X+ X+ X+for ac_func in getopt_long X+do X+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 X+echo "configure:1570: checking for $ac_func" >&5 X+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then X+ echo $ac_n "(cached) $ac_c" 1>&6 X+else X+ cat > conftest.$ac_ext < X+/* Override any gcc2 internal prototype to avoid an error. */ X+/* We use char because int might match the return type of a gcc2 X+ builtin and then its argument prototype would still apply. */ X+char $ac_func(); X+ X+int main() { X+ X+/* The GNU C library defines this for functions which it implements X+ to always fail with ENOSYS. Some functions are actually named X+ something starting with __ and the normal name is an alias. */ X+#if defined (__stub_$ac_func) || defined (__stub___$ac_func) X+choke me X+#else X+$ac_func(); X+#endif X+ X+; return 0; } X+EOF X+if { (eval echo configure:1598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then X+ rm -rf conftest* X+ eval "ac_cv_func_$ac_func=yes" X+else X+ echo "configure: failed program was:" >&5 X+ cat conftest.$ac_ext >&5 X+ rm -rf conftest* X+ eval "ac_cv_func_$ac_func=no" X+fi X+rm -f conftest* X+fi X+ X+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then X+ echo "$ac_t""yes" 1>&6 X+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` X+ cat >> confdefs.h <&6 X+fi X+done X+ X X echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 X echo "configure:1482: checking whether ${MAKE-make} sets \${MAKE}" >&5 X set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` X if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 X@@ -1744,9 +1889,12 @@ X s%@SET_MAKE@%$SET_MAKE%g X s%@SBPCD_H@%$SBPCD_H%g X s%@UCDROM_H@%$UCDROM_H%g X+s%@GETOPT_LONG@%$GETOPT_LONG%g X+s%@RAWPART@%$RAWPART%g X s%@TYPESIZES@%$TYPESIZES%g X s%@OPT@%$OPT%g X s%@DEBUG@%$DEBUG%g X+s%@LIBUTIL@%$LIBUTIL%g X X CEOF X EOF END-of-cdparanoia/files/patch-ac echo x - cdparanoia/files/patch-ad sed 's/^X//' >cdparanoia/files/patch-ad << 'END-of-cdparanoia/files/patch-ad' X--- utils.h.orig Thu Apr 20 07:41:04 2000 X+++ utils.h Sun Mar 3 23:24:19 2002 X@@ -1,5 +1,11 @@ X #include X+#ifdef __linux__ X #include X+#endif X+#ifdef __FreeBSD__ X+#include X+#include X+#endif X #include X #include X #include X@@ -19,15 +30,23 @@ X } X X static inline int32_t swap32(int32_t x){ X+#ifdef __FreeBSD__ X+ return bswap32(x); X+#else X return((((u_int32_t)x & 0x000000ffU) << 24) | X (((u_int32_t)x & 0x0000ff00U) << 8) | X (((u_int32_t)x & 0x00ff0000U) >> 8) | X (((u_int32_t)x & 0xff000000U) >> 24)); X+#endif X } X X static inline int16_t swap16(int16_t x){ X+#ifdef __FreeBSD__ X+ return bswap16(x); X+#else X return((((u_int16_t)x & 0x00ffU) << 8) | X (((u_int16_t)x & 0xff00U) >> 8)); X+#endif X } X X #if BYTE_ORDER == LITTLE_ENDIAN END-of-cdparanoia/files/patch-ad echo x - cdparanoia/files/patch-ae sed 's/^X//' >cdparanoia/files/patch-ae << 'END-of-cdparanoia/files/patch-ae' X--- main.c.orig Mon Mar 26 12:44:50 2001 X+++ main.c Mon Mar 4 23:05:48 2002 X@@ -49,12 +49,18 @@ X #include X #include X #include X+#ifdef GETOPT_LONG X #include X+#endif X #include X #include X #include X #include X X+#ifdef HAVE_GETRAWPARTITION X+#include X+#endif X+ X #include "interface/cdda_interface.h" X #include "paranoia/cdda_paranoia.h" X #include "utils.h" X@@ -231,6 +237,7 @@ X " cdparanoia [options] [outfile]\n\n" X X "OPTIONS:\n" X+#ifdef GETOPT_LONG X " -v --verbose : extra verbose operation\n" X " -q --quiet : quiet operation\n" X " -e --stderr-progress : force output of progress information to\n" X@@ -276,6 +283,50 @@ X " -Z --disable-paranoia : disable all paranoia checking\n" X " -Y --disable-extra-paranoia : only do cdda2wav-style overlap checking\n" X " -X --abort-on-skip : abort on imperfect reads/skips\n\n" X+#else X+" -v : extra verbose operation\n" X+" -q : quiet operation\n" X+" -e : force output of progress information to\n" X+" stderr (for wrapper scripts)\n" X+" -V : print version info and quit\n" X+" -Q : autosense drive, query disc and quit\n" X+" -B : 'batch' mode (saves each track to a seperate file.\n" X+" -s : do an exhaustive search for drive\n" X+" -h : print help\n\n" X+ X+" -p : output raw 16 bit PCM in host byte order\n" X+" -r : output raw 16 bit little-endian PCM\n" X+" -R : output raw 16 bit big-endian PCM\n" X+" -w : output as WAV file (default)\n" X+" -f : output as AIFF file\n" X+" -a : output as AIFF-C file\n" X+" -i : output human readable ripping info to file\n\n" X+ X+" -c : force treating drive as little endian\n" X+" -C : force treating drive as big endian\n" X+" -n : force default number of sectors in read to n sectors\n" X+" -o : force minimum overlap search during\n" X+" verification to n sectors\n" X+" -d : use specified device; disallow autosense\n" X+" -g : use specified generic scsi device\n" X+" -S : read from device at specified speed\n" X+" -t : Add sectors to the values reported\n" X+" when addressing tracks. May be negative\n" X+" -T : Assume that the beginning offset of\n" X+" track 1 as reported in the TOC will be\n" X+" addressed as LBA 0. Necessary for some\n" X+" Toshiba drives to get track boundaries\n" X+" correct\n" X+" -O : Add samples to the offset when\n" X+" reading data. May be negative.\n" X+" -z[=n] : never accept any less than perfect\n" X+" data reconstruction (don't allow 'V's)\n" X+" but if [n] is given, skip after [n]\n" X+" retries without progress.\n" X+" -Z : disable all paranoia checking\n" X+" -Y : only do cdda2wav-style overlap checking\n" X+" -X : abort on imperfect reads/skips\n\n" X+#endif X X "OUTPUT SMILIES:\n" X " :-) Normal operation, low/no jitter\n" X@@ -376,7 +427,7 @@ X int graph=30; X char buffer[256]; X static long c_sector=0,v_sector=0; X- static char dispcache[30]=" "; X+ static char dispcache[30 + 1]=" "; X static int last=0; X static long lasttime=0; X long sector,osector=0; X@@ -587,6 +638,7 @@ X X const char *optstring = "escCn:o:O:d:g:S:prRwafvqVQhZz::YXWBi:Tt:"; X X+#ifdef GETOPT_LONG X struct option options [] = { X {"stderr-progress",no_argument,NULL,'e'}, X {"search-for-drive",no_argument,NULL,'s'}, X@@ -621,6 +673,7 @@ X X {NULL,0,NULL,0} X }; X+#endif X X long blocking_write(int outf, char *buffer, long num){ X long words=0,temp; X@@ -673,7 +726,12 @@ X X atexit(cleanup); X X- while((c=getopt_long(argc,argv,optstring,options,&long_option_index))!=EOF){ X+#ifdef GETOPT_LONG X+ while((c=getopt_long(argc,argv,optstring,options,&long_option_index))!=EOF) X+#else X+ while((c=getopt(argc,argv,optstring))!=EOF) X+#endif X+ { X switch(c){ X case 'B': X batch=1; X@@ -810,6 +868,27 @@ X report(VERSION); X X /* Query the cdrom/disc; we may need to override some settings */ X+ X+#ifndef __linux__ /* XXX */ X+#ifdef __FreeBSD__ X+ if (!force_generic_device) { X+ int raw; X+ static char devstring[16]; X+#ifdef HAVE_GETRAWPARTITION X+ raw = getrawpartition(); X+#else X+ raw = 'c' - 'a'; X+#endif X+ snprintf(devstring, sizeof(devstring) - 1, "/dev/rcd0%c", raw + 'a'); X+ force_generic_device=devstring; X+ } X+#else X+ if (!force_generic_device) X+ errx(1, "-g option is currently required by the FreeBSD Port"); X+#endif X+ if (!force_cdrom_device) X+ force_cdrom_device=copystring(force_generic_device); X+#endif X X if(force_generic_device) X d=cdda_identify_scsi(force_generic_device,force_cdrom_device,verbose,NULL); END-of-cdparanoia/files/patch-ae echo x - cdparanoia/files/patch-cb sed 's/^X//' >cdparanoia/files/patch-cb << 'END-of-cdparanoia/files/patch-cb' X--- interface/low_interface.h.orig Mon Mar 26 15:12:11 2001 X+++ interface/low_interface.h Mon Mar 4 22:47:22 2002 X@@ -25,6 +25,7 @@ X #include X #include X X+#ifdef __linux__ X #include X #include X X@@ -47,13 +48,23 @@ X X #include X #include X+#endif X+ X+#ifdef __FreeBSD__ X+#include X+#endif X X #include "cdda_interface.h" X X #define MAX_RETRIES 8 X #define MAX_BIG_BUFF_SIZE 65536 X #define MIN_BIG_BUFF_SIZE 4096 X+#ifdef __linux__ X #define SG_OFF sizeof(struct sg_header) X+#endif X+#ifdef __FreeBSD__ X+#define SG_OFF sizeof(scsireq_t) X+#endif X X #ifndef SG_EMULATED_HOST X /* old kernel version; the check for the ioctl is still runtime, this END-of-cdparanoia/files/patch-cb echo x - cdparanoia/files/patch-cc sed 's/^X//' >cdparanoia/files/patch-cc << 'END-of-cdparanoia/files/patch-cc' X--- interface/utils.h.orig Mon Aug 16 00:13:44 1999 X+++ interface/utils.h Fri Jan 28 08:04:27 2000 X@@ -1,4 +1,11 @@ X+#ifdef __linux__ X #include X+#endif X+#ifdef __FreeBSD__ X+#include X+#include X+#include /* XXX */ X+#endif X #include X #include X #include END-of-cdparanoia/files/patch-cc echo x - cdparanoia/files/patch-cd sed 's/^X//' >cdparanoia/files/patch-cd << 'END-of-cdparanoia/files/patch-cd' X--- interface/common_interface.c.orig Tue Dec 14 13:28:00 1999 X+++ interface/common_interface.c Sat Jan 15 16:55:18 2000 X@@ -13,19 +13,29 @@ X #include "utils.h" X #include "smallft.h" X X+#ifdef __linux__ X #include X+#endif X X /* Test for presence of a cdrom by pinging with the 'CDROMVOLREAD' ioctl() */ X int ioctl_ping_cdrom(int fd){ X+#ifdef __linux__ X struct cdrom_volctrl volctl; X if (ioctl(fd, CDROMVOLREAD, &volctl)) X return(1); /* failure */ X+#endif X+#ifdef __FreeBSD__ X+ struct ioc_vol volctl; X+ if (ioctl(fd, CDIOCGETVOL, &volctl)) X+ return(1); /* failure */ X+#endif X X return(0); X /* success! */ X } X X X+#ifdef __linux__ X /* Use the ioctl thingy above ping the cdrom; this will get model info */ X char *atapi_drive_info(int fd){ X /* Work around the fact that the struct grew without warning in X@@ -46,6 +56,7 @@ X free(id); X return(ret); X } X+#endif X X int data_bigendianp(cdrom_drive *d){ X float lsb_votes=0; X@@ -171,7 +182,9 @@ X knows the leasoud/leadin size. */ X X int FixupTOC(cdrom_drive *d,int tracks){ X+#ifdef __linux__ X struct cdrom_multisession ms_str; X+#endif X int j; X X /* First off, make sure the 'starting sector' is >=0 */ X@@ -209,13 +222,24 @@ X CDROM device, not the generic device. */ X X if (d->ioctl_fd != -1) { X+#ifdef __linux__ X int result; X X ms_str.addr_format = CDROM_LBA; X result = ioctl(d->ioctl_fd, CDROMMULTISESSION, &ms_str); X if (result == -1) return -1; X+# define ms_addr (ms_str.addr.lba) X+#endif X+ X+#ifdef __FreeBSD__ X+ int ms_addr; X+ X+ ms_addr = 0; /* last session */ X+ if (ioctl(d->ioctl_fd, CDIOREADMSADDR, &ms_addr) == -1) X+ return -1; X+#endif X X- if (ms_str.addr.lba > 100) { X+ if (ms_addr > 100) { X X /* This is an odd little piece of code --Monty */ X X@@ -223,8 +247,8 @@ X /* adjust end of last audio track to be in the first session */ X for (j = tracks-1; j >= 0; j--) { X if (j > 0 && !IS_AUDIO(d,j) && IS_AUDIO(d,j-1)) { X- if (d->disc_toc[j].dwStartSector > ms_str.addr.lba - 11400) X- d->disc_toc[j].dwStartSector = ms_str.addr.lba - 11400; X+ if (d->disc_toc[j].dwStartSector > ms_addr - 11400) X+ d->disc_toc[j].dwStartSector = ms_addr - 11400; X break; X } X } END-of-cdparanoia/files/patch-cd echo x - cdparanoia/files/patch-ce sed 's/^X//' >cdparanoia/files/patch-ce << 'END-of-cdparanoia/files/patch-ce' X--- interface/cooked_interface.c.orig Wed Aug 18 15:54:32 1999 X+++ interface/cooked_interface.c Mon Jan 17 23:43:14 2000 X@@ -13,6 +13,7 @@ X static int cooked_readtoc (cdrom_drive *d){ X int i; X int tracks; X+#ifdef __linux__ X struct cdrom_tochdr hdr; X struct cdrom_tocentry entry; X X@@ -52,6 +53,45 @@ X d->disc_toc[i].dwStartSector = entry.cdte_addr.lba; X X tracks=hdr.cdth_trk1+1; X+#endif X+ X+#ifdef __FreeBSD__ X+ struct ioc_read_toc_entry hdr; X+ struct cd_toc_entry entries[MAXTRK + 1]; /* + 1 for leadout */ X+ X+ hdr.address_format = CD_LBA_FORMAT; X+ hdr.starting_track = 1; X+ hdr.data_len = sizeof entries; X+ hdr.data = entries; X+ memset(entries, 0, sizeof entries); X+ X+ /* get all TOC entries at once */ X+#ifndef CDIOREADTOCENTRIES X+#define CDIOREADTOCENTRIES CDIOREADTOCENTRYS X+#endif X+ if(ioctl(d->ioctl_fd, CDIOREADTOCENTRIES, &hdr)) X+ switch(errno){ X+ case EPERM: X+ cderror(d,"102: Permision denied on cdrom (ioctl) device\n"); X+ return(-102); X+ default: X+ cderror(d,"004: Unable to read table of contents header\n"); X+ return(-4); X+ } X+ X+ for(i = 0; i < MAXTRK + 1; i++) { X+ d->disc_toc[i].bFlags = (entries[i].addr_type << 4) | (entries[i].control & 0x0f); X+ d->disc_toc[i].bTrack = entries[i].track; X+ d->disc_toc[i].dwStartSector = entries[i].addr.lba; X+ if (entries[i].track == 0) { X+ cderror(d,"005: Unable to read table of contents entry\n"); X+ return(-5); X+ } X+ if (entries[i].track >= 100) X+ break; /* leadout */ X+ } X+ tracks = i; X+#endif X d->cd_extra=FixupTOC(d,tracks); X return(--tracks); /* without lead-out */ X } X@@ -60,10 +100,15 @@ X /* Set operating speed */ X static int cooked_setspeed(cdrom_drive *d, int speed) X { X+#ifdef __linux__ X if(d->ioctl_fd!=-1) X return ioctl(d->ioctl_fd, CDROM_SELECT_SPEED, speed); X else X return 0; X+#endif X+#ifdef __FreeBSD__ X+ errx(1, "cooked_setspeed: not implemented"); X+#endif X } X X X@@ -72,6 +117,7 @@ X */ X X static long cooked_read (cdrom_drive *d, void *p, long begin, long sectors){ X+#ifdef __linux__ X int retry_count,err; X struct cdrom_read_audio arg; X char *buffer=(char *)p; X@@ -127,6 +173,10 @@ X } while (err); X X return(sectors); X+#endif X+#ifdef __FreeBSD__ X+ errx(1, "cooked_read: not implemented"); X+#endif X } X X /* hook */ X@@ -191,6 +241,7 @@ X X /* set function pointers to use the ioctl routines */ X int cooked_init_drive (cdrom_drive *d){ X+#ifdef __linux__ X int ret; X X switch(d->drive_type){ X@@ -255,5 +306,9 @@ X if((ret=verify_read_command(d)))return(ret); X d->error_retry=1; X return(0); X+#endif X+#ifdef __FreeBSD__ X+ errx(1, "cooked_init_drive: not implemented"); X+#endif X } X END-of-cdparanoia/files/patch-ce echo x - cdparanoia/files/patch-cf sed 's/^X//' >cdparanoia/files/patch-cf << 'END-of-cdparanoia/files/patch-cf' X--- interface/scan_devices.c.orig Mon Mar 26 14:44:01 2001 X+++ interface/scan_devices.c Mon Mar 4 00:23:01 2002 X@@ -19,6 +19,8 @@ X #include "common_interface.h" X #include "utils.h" X X+#ifdef __linux__ X+ X #define MAX_DEV_LEN 20 /* Safe because strings only come from below */ X /* must be absolute paths! */ X static char *scsi_cdrom_prefixes[]={ X@@ -49,10 +51,12 @@ X "/dev/cm206cd", X "/dev/gscd", X "/dev/optcd",NULL}; X+#endif X X /* Functions here look for a cdrom drive; full init of a drive type X happens in interface.c */ X X+#ifdef __linux__ X cdrom_drive *cdda_find_a_cdrom(int messagedest,char **messages){ X /* Brute force... */ X X@@ -98,6 +102,16 @@ X } X return(NULL); X } X+#endif /* __linux__ */ X+ X+#ifdef __FreeBSD__ X+ X+cdrom_drive *cdda_find_a_cdrom(int messagedest,char **messages) X+{ X+ errx(1, "cdda_find_a_cdrom: not implemented"); X+ /* NOTREACHED */ X+} X+#endif /* __FreeBSD__ */ X X cdrom_drive *cdda_identify(const char *device, int messagedest,char **messages){ X struct stat st; X@@ -146,6 +160,7 @@ X cdrom_drive *cdda_identify_cooked(const char *dev, int messagedest, X char **messages){ X X+#ifdef __linux__ X cdrom_drive *d=NULL; X struct stat st; X int fd=-1; X@@ -273,6 +288,12 @@ X idmessage(messagedest,messages,"\t\tCDROM sensed: %s\n",description); X X return(d); X+#endif X+ X+#ifdef __FreeBSD__ X+ /* no kernel support for CD-DA */ X+ return NULL; X+#endif X } X X struct sg_id { X@@ -289,12 +310,18 @@ X /* Even *this* isn't as simple as it bloody well should be :-P */ X /* SG has an easy interface, but SCSI overall does not */ X static int get_scsi_id(int fd, scsiid *id){ X+#ifdef __linux__ X struct sg_id argid; X+#endif X+#ifdef __FreeBSD__ X+ struct scsi_addr argid; X+#endif X int busarg; X X /* get the host/id/lun */ X X if(fd==-1)return(-1); X+#ifdef __linux__ X if(ioctl(fd,SCSI_IOCTL_GET_IDLUN,&argid))return(-1); X id->bus=argid.l2; /* for now */ X id->id=argid.l1&0xff; X@@ -302,6 +329,13 @@ X X if(ioctl(fd,SCSI_IOCTL_GET_BUS_NUMBER,&busarg)==0) X id->bus=busarg; X+#endif X+#ifdef __FreeBSD__ X+ if(ioctl(fd,SCIOCIDENTIFY,&argid))return(-1); X+ id->bus=argid.addr.scsi.scbus; X+ id->id=argid.addr.scsi.target; X+ id->lun=argid.addr.scsi.lun; X+#endif X X return(0); X } X@@ -401,6 +435,7 @@ X strcat(a," "); X } X X+#ifdef __linux__ X /* At this point, we're going to punt compatability before SG2, and X allow only SG2 and SG3 */ X static int verify_SG_version(cdrom_drive *d,int messagedest, X@@ -430,6 +465,7 @@ X idmessage(messagedest,messages,buffer,""); X return(major); X } X+#endif X X cdrom_drive *cdda_identify_scsi(const char *generic_device, X const char *ioctl_device, int messagedest, X@@ -460,6 +496,7 @@ X generic_device); X return(NULL); X } X+#ifdef __linux__ X if((int)(g_st.st_rdev>>8)!=SCSI_GENERIC_MAJOR){ X if((int)(g_st.st_rdev>>8)!=SCSI_CDROM_MAJOR){ X idmessage(messagedest,messages,"\t\t%s is not a SCSI device", X@@ -471,6 +508,7 @@ X ioctl_device=temp; X } X } X+#endif X } X if(ioctl_device){ X if(stat(ioctl_device,&i_st)){ X@@ -478,6 +516,7 @@ X ioctl_device); X return(NULL); X } X+#ifdef __linux__ X if((int)(i_st.st_rdev>>8)!=SCSI_CDROM_MAJOR){ X if((int)(i_st.st_rdev>>8)!=SCSI_GENERIC_MAJOR){ X idmessage(messagedest,messages,"\t\t%s is not a SCSI device", X@@ -489,6 +528,7 @@ X ioctl_device=temp; X } X } X+#endif X } X X /* we need to resolve any symlinks for the lookup code to work */ X@@ -505,6 +545,7 @@ X } X X if(!generic_device || !ioctl_device){ X+#ifdef __linux__ X if(generic_device){ X ioctl_device= X scsi_match(generic_device,scsi_cdrom_prefixes, X@@ -520,6 +561,9 @@ X if(!generic_device) X goto cdda_identify_scsi_fail; X } X+#else X+ goto cdda_identify_scsi_fail; X+#endif X } X X idmessage(messagedest,messages,"\t\tgeneric device: %s",generic_device); X@@ -556,6 +600,7 @@ X X type=(int)(i_st.st_rdev>>8); X X+#ifdef __linux__ X if(type==SCSI_CDROM_MAJOR){ X if (!S_ISBLK(i_st.st_mode)) { X idmessage(messagedest,messages,"\t\tSCSI CDROM device %s not a " X@@ -567,8 +612,10 @@ X "major number",ioctl_device); X goto cdda_identify_scsi_fail; X } X+#endif X } X X+#ifdef __linux__ X if((int)(g_st.st_rdev>>8)==SCSI_GENERIC_MAJOR){ X if (!S_ISCHR(g_st.st_mode)) { X idmessage(messagedest,messages,"\t\tGeneric SCSI device %s not a " X@@ -580,6 +627,7 @@ X "major number",generic_device); X goto cdda_identify_scsi_fail; X } X+#endif X X X d=calloc(1,sizeof(cdrom_drive)); X@@ -590,6 +638,7 @@ X d->bigendianp=-1; /* We don't know yet... */ X d->nsectors=-1; X X+#ifdef __linux__ X version=verify_SG_version(d,messagedest,messages); X switch(version){ X case -1:case 0:case 1: X@@ -599,6 +648,9 @@ X d->interface=GENERIC_SCSI; X break; X } X+#else X+ d->interface=GENERIC_SCSI; X+#endif X X /* malloc our big buffer for scsi commands */ X d->sg=malloc(MAX_BIG_BUFF_SIZE); X@@ -617,7 +669,16 @@ X X /* It would seem some TOSHIBA CDROMs gets things wrong */ X X- if (!strncmp (p + 8, "TOSHIBA", 7) && X+#ifndef TYPE_DISK X+#define TYPE_DISK 0 /* direct */ X+#endif X+#ifndef TYPE_WORM X+#define TYPE_WORM 4 /* write once, read many */ X+#endif X+#ifndef TYPE_ROM X+#define TYPE_ROM 5 /* CD-ROM */ X+#endif X+ if (p && !strncmp (p + 8, "TOSHIBA", 7) && X !strncmp (p + 16, "CD-ROM", 6) && X p[0] == TYPE_DISK) { X p[0] = TYPE_ROM; END-of-cdparanoia/files/patch-cf echo x - cdparanoia/files/patch-cg sed 's/^X//' >cdparanoia/files/patch-cg << 'END-of-cdparanoia/files/patch-cg' X--- interface/scsi_interface.c.orig Sat Mar 24 10:15:46 2001 X+++ interface/scsi_interface.c Mon Mar 4 00:03:19 2002 X@@ -23,6 +23,7 @@ X int table,reserved; X char buffer[256]; X X+#ifdef __linux__ X /* maximum transfer size? */ X if(ioctl(d->cdda_fd,SG_GET_RESERVED_SIZE,&reserved)){ X /* Up, guess not. */ X@@ -31,6 +32,10 @@ X } X X if(ioctl(d->cdda_fd,SG_GET_SG_TABLESIZE,&table))table=1; X+#else X+ reserved = 32*1024; /* ? */ X+ table = 1; X+#endif X { X int cur; X X@@ -53,11 +58,13 @@ X cdmessage(d,buffer); X } X X+#ifdef __linux__ X /* Disable command queue; we don't need it, no reason to have it on */ X reserved=0; X if(ioctl(d->cdda_fd,SG_SET_COMMAND_Q,&reserved)){ X cdmessage(d,"\tCouldn't disable command queue! Continuing anyway...\n"); X } X+#endif X X } X X@@ -65,8 +72,14 @@ X int arg; X d->enable_cdda(d,0); X X+#ifdef __linux__ X cdmessage(d,"sending SG SCSI reset... "); X if(ioctl(d->cdda_fd,SG_SCSI_RESET,&arg)) X+#endif X+#ifdef __FreeBSD__ X+ cdmessage(d,"sending SCSI reset... "); X+ if(ioctl(d->cdda_fd,CDIOCRESET,&arg)) X+#endif X cdmessage(d,"FAILED: EBUSY\n"); X else X cdmessage(d,"OK\n"); X@@ -74,6 +87,7 @@ X d->enable_cdda(d,1); X } X X+#ifdef __linux__ X static void clear_garbage(cdrom_drive *d){ X fd_set fdset; X struct timeval tv; X@@ -104,6 +118,7 @@ X flag=1; X } X } X+#endif X X /* process a complete scsi command. */ X static int handle_scsi_cmd(cdrom_drive *d, X@@ -111,14 +126,21 @@ X unsigned int in_size, X unsigned int out_size, X X- unsigned char bytefill, X+ unsigned int bfill, X int bytecheck){ X+ unsigned char bytefill = bfill; X int status = 0; X+#ifdef __linux__ X struct sg_header *sg_hd=(struct sg_header *)d->sg; X long writebytes=SG_OFF+cmd_len+in_size; X+#endif X+#ifdef __FreeBSD__ X+ scsireq_t *sreq = (scsireq_t *)d->sg; X+#endif X X /* generic scsi device services */ X X+#ifdef __linux__ X /* clear out any possibly preexisting garbage */ X clear_garbage(d); X X@@ -224,11 +246,53 @@ X if(errno==0)errno=EIO; X return(TR_EREAD); X } X+#endif /* __linux__ */ X X- if(sg_hd->sense_buffer[0]){ X+#ifdef __FreeBSD__ X+ if (in_size && out_size) { X+ warnx("handle_scsi_cmd: in and out is not supported"); X+ abort(); X+ } X+ memset(sreq, 0, sizeof(scsireq_t)); X+ sreq->cmdlen = cmd_len; X+ memcpy(sreq->cmd, d->sg_buffer, cmd_len); X+ if (in_size) { X+ sreq->flags = SCCMD_WRITE; X+ sreq->databuf = d->sg_buffer + cmd_len; X+ sreq->datalen = in_size; X+ } X+ if (out_size) { X+ sreq->flags = SCCMD_READ; X+ sreq->databuf = d->sg_buffer; X+ sreq->datalen = out_size; X+ if(bytecheck) X+ memset(d->sg_buffer, bytefill, out_size); X+ } X+ sreq->senselen = SENSEBUFLEN; X+ sreq->timeout = 60000; /* 60s */ X+ X+ status = ioctl(d->cdda_fd, SCIOCCOMMAND, (void *) sreq); X+ if (status < 0) X+ return(TR_ILLEGAL); X+#endif X+ X+#ifdef __linux__ X+ if(sg_hd->sense_buffer[0]) X+#endif X+#ifdef __FreeBSD__ X+ if (sreq->sense[0]) X+#endif X+ { X+#ifdef __linux__ X char key=sg_hd->sense_buffer[2]&0xf; X char ASC=sg_hd->sense_buffer[12]; X char ASCQ=sg_hd->sense_buffer[13]; X+#endif X+#ifdef __FreeBSD__ X+ char key = sreq->sense[2]&0xf; X+ char ASC = sreq->sense[12]; X+ char ASCQ = sreq->sense[13]; X+#endif X switch(key){ X case 0: X if(errno==0)errno=EIO; X@@ -266,9 +330,20 @@ X commands still get through. Perhaps no data comes back even X though the target reports success? */ X X- if(bytecheck && in_size+cmd_lensg_buffer[i]!=bytefill){ X flag=1; X break; X@@ -600,6 +675,23 @@ X return(tracks); X } X X+/* Set operating speed */ X+static int scsi_setspeed(cdrom_drive *d, int speed) X+{ X+ if (speed == 0) X+ speed = 0xffff; /* maximum speed */ X+ else if (speed < 176) X+ speed *= 176; X+ X+ memset(d->sg_buffer, 0, 12); X+ d->sg_buffer[0] = 0xbb; /* set speed */ X+ d->sg_buffer[2] = speed >> 8; X+ d->sg_buffer[3] = speed; X+ d->sg_buffer[4] = -1; X+ d->sg_buffer[5] = -1; X+ return handle_scsi_cmd(d, 12, 0, 0, 0, 0); X+} X+ X /* These do one 'extra' copy in the name of clean code */ X X static int i_read_28 (cdrom_drive *d, void *p, long begin, long sectors){ X@@ -833,16 +925,29 @@ X while(1) { X if((err=map(d,(p?buffer:NULL),begin,sectors))){ X if(d->report_all){ X+#ifdef __linux__ X struct sg_header *sg_hd=(struct sg_header *)d->sg; X+#endif X+#ifdef __FreeBSD__ X+ scsireq_t *sreq=(scsireq_t *)d->sg; X+#endif X char b[256]; X X sprintf(b,"scsi_read error: sector=%ld length=%ld retry=%d\n", X begin,sectors,retry_count); X cdmessage(d,b); X sprintf(b," Sense key: %x ASC: %x ASCQ: %x\n", X+#ifdef __linux__ X (int)(sg_hd->sense_buffer[2]&0xf), X (int)(sg_hd->sense_buffer[12]), X- (int)(sg_hd->sense_buffer[13])); X+ (int)(sg_hd->sense_buffer[13]) X+#endif X+#ifdef __FreeBSD__ X+ (int)(sreq->sense[2]&0xf), X+ (int)(sreq->sense[12]), X+ (int)(sreq->sense[13]) X+#endif X+ ); X cdmessage(d,b); X sprintf(b," Transport error: %s\n",strerror_tr[err]); X cdmessage(d,b); X@@ -852,9 +957,17 @@ X fprintf(stderr,"scsi_read error: sector=%ld length=%ld retry=%d\n", X begin,sectors,retry_count); X fprintf(stderr," Sense key: %x ASC: %x ASCQ: %x\n", X+#ifdef __linux__ X (int)(sg_hd->sense_buffer[2]&0xf), X (int)(sg_hd->sense_buffer[12]), X- (int)(sg_hd->sense_buffer[13])); X+ (int)(sg_hd->sense_buffer[13]) X+#endif X+#ifdef __FreeBSD__ X+ (int)(sreq->sense[2]&0xf), X+ (int)(sreq->sense[12]), X+ (int)(sreq->sense[13]) X+#endif X+ ); X fprintf(stderr," Transport error: %s\n",strerror_tr[err]); X fprintf(stderr," System error: %s\n",strerror(errno)); X } X@@ -1308,21 +1421,43 @@ X } X X static int check_atapi(cdrom_drive *d){ X+#ifdef __linux__ X int atapiret=-1; X+#endif X+#ifdef __FreeBSD__ X+ struct scsi_addr scaddr; X+#endif X int fd = d->cdda_fd; /* this is the correct fd (not ioctl_fd), as the X generic device is the device we need to check */ X X cdmessage(d,"\nChecking for SCSI emulation...\n"); X X- if (ioctl(fd,SG_EMULATED_HOST,&atapiret)){ X+#ifdef __linux__ X+ if (ioctl(fd,SG_EMULATED_HOST,&atapiret)) X+#endif X+#ifdef __FreeBSD__ X+ if(ioctl(fd,SCIOCIDENTIFY,&scaddr)) X+#endif X+ { X cderror(d,"\tSG_EMULATED_HOST ioctl() failed!\n"); X return(-1); X } else { X- if(atapiret==1){ X+#ifdef __linux__ X+ if(atapiret==1) X+#endif X+#ifdef __FreeBSD__ X+ if(scaddr.type == TYPE_ATAPI) X+#endif X+ { X+#ifdef __linux__ X cdmessage(d,"\tDrive is ATAPI (using SCSI host adaptor emulation)\n"); X /* Disable kernel SCSI command translation layer for access through sg */ X if (ioctl(fd,SG_SET_TRANSFORM,0)) X cderror(d,"\tCouldn't disable kernel command translation layer\n"); X+#endif X+#ifdef __FreeBSD__ X+ cdmessage(d,"\tDrive is ATAPI\n"); X+#endif X d->is_atapi=1; X }else{ X cdmessage(d,"\tDrive is SCSI\n"); X@@ -1434,7 +1569,7 @@ X X d->read_toc = (!memcmp(d->drive_model, "IMS", 3) && !d->is_atapi) ? scsi_read_toc2 : X scsi_read_toc; X- d->set_speed = NULL; X+ d->set_speed = scsi_setspeed; X X X if(!d->is_atapi){ END-of-cdparanoia/files/patch-cg echo x - cdparanoia/Makefile sed 's/^X//' >cdparanoia/Makefile << 'END-of-cdparanoia/Makefile' X# New ports collection makefile for: cdparanoia X# Date created: 27 August 2002 X# Whom: reg X# X# $FreeBSD$ X# X XPORTNAME= cdparanoia XPORTVERSION= 3.0.9.8 XDISTNAME= cdparanoia-III-alpha9.8 XCATEGORIES= audio XMASTER_SITES= http://www.xiph.org/paranoia/download/ XEXTRACT_SUFX= .src.tgz X XMAINTAINER= reg@freebsd.org X XUSE_GMAKE= yes XMAKE_ENV+= GCC=yes XGNU_CONFIGURE= yes XCONFIGURE_ARGS+= --includedir=${PREFIX}/include/cdparanoia X X.include END-of-cdparanoia/Makefile echo x - cdparanoia/pkg-descr sed 's/^X//' >cdparanoia/pkg-descr << 'END-of-cdparanoia/pkg-descr' XCdparanoia retrieves audio tracks from CDDA capable CDROM drives. XThe data can be saved to a file or directed to standard output Xin WAV, AIFF, AIFF-C or raw format. Most ATAPI, SCSI and several Xproprietary CDROM drive makes are supported; cdparanoia can Xdetermine if the target drive is CDDA capable. X XIn addition to simple reading, cdparanoia adds extra-robust Xdata verification, synchronization, error handling and scratch Xreconstruction capability. X XNote on NetBSD pkg: X This is only a trial and incomplete. X X Currently, the feature to search for CD-ROM device is X not implemented and the -g option is required. X XWWW: http://www.xiph.org/paranoia/ END-of-cdparanoia/pkg-descr echo x - cdparanoia/pkg-plist sed 's/^X//' >cdparanoia/pkg-plist << 'END-of-cdparanoia/pkg-plist' X@comment $NetBSD: PLIST,v 1.2 2002/03/04 14:45:12 itohy Exp $ Xbin/cdparanoia Xinclude/cdparanoia/cdda_interface.h Xinclude/cdparanoia/cdda_paranoia.h Xinclude/cdparanoia/utils.h Xlib/libcdda_interface.a Xlib/libcdda_interface.la Xlib/libcdda_interface.so Xlib/libcdda_interface.so.0 Xlib/libcdda_interface.so.0.98 Xlib/libcdda_paranoia.a Xlib/libcdda_paranoia.la Xlib/libcdda_paranoia.so Xlib/libcdda_paranoia.so.0 Xlib/libcdda_paranoia.so.0.98 Xman/man1/cdparanoia.1 X@dirrm include/cdparanoia END-of-cdparanoia/pkg-plist exit # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mp3serv # mp3serv/Makefile # mp3serv/pkg-comment # mp3serv/pkg-descr # mp3serv/pkg-plist # mp3serv/distinfo # echo c - mp3serv mkdir -p mp3serv > /dev/null 2>&1 echo x - mp3serv/Makefile sed 's/^X//' >mp3serv/Makefile << 'END-of-mp3serv/Makefile' X# New ports collection makefile for: mp3serv X# Version required: 0.2.15 X# Date created: 3 Feb 1999 X# Whom: Jeremy Lea X# X# $Id: $ X# X XPORTNAME= mp3serv XPORTVERSION= 1.0 XCATEGORIES= audio XMASTER_SITES= http://szyzyg.arm.ac.uk/~spm/ XDISTNAME= mp3server X XMAINTAINER= reg@FreeBSD.org X X.include END-of-mp3serv/Makefile echo x - mp3serv/pkg-comment sed 's/^X//' >mp3serv/pkg-comment << 'END-of-mp3serv/pkg-comment' XMP3 information tool. END-of-mp3serv/pkg-comment echo x - mp3serv/pkg-descr sed 's/^X//' >mp3serv/pkg-descr << 'END-of-mp3serv/pkg-descr' XA small utility to read and write TAG info, as well as retrieve the MP3 XHeader info and print it all out in a nice format. X XFeatures: X - Get, Set and Wipe MP3 TAG Info. X - Get MPEG Audio Version 1, 2 and 2.5 Header info. X - User-definable output formatting (rather advanced). X - Can rename files according to user-defined scheme. END-of-mp3serv/pkg-descr echo x - mp3serv/pkg-plist sed 's/^X//' >mp3serv/pkg-plist << 'END-of-mp3serv/pkg-plist' Xbin/mp3info Xshare/doc/mp3info/COPYRIGHT Xshare/doc/mp3info/ChangeLog Xshare/doc/mp3info/README X@dirrm share/doc/mp3info END-of-mp3serv/pkg-plist echo x - mp3serv/distinfo sed 's/^X//' >mp3serv/distinfo << 'END-of-mp3serv/distinfo' XMD5 (mp3server.tar.gz) = 25e8c85450c4e66bc796e018c154e29e END-of-mp3serv/distinfo exit --- /usr/ports.ref/devel/libtool/Makefile Sun Sep 15 21:24:04 2002 +++ devel/libtool/Makefile Sun Sep 15 21:43:45 2002 @@ -6,8 +6,7 @@ # PORTNAME= libtool -PORTVERSION= 1.3.4 -PORTREVISION= 4 +PORTVERSION= 1.3.5 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= libtool --- /usr/ports.ref/devel/libtool/distinfo Sun Apr 2 10:26:20 2000 +++ devel/libtool/distinfo Sun Jan 6 22:06:13 2002 @@ -1 +1 @@ -MD5 (libtool-1.3.4.tar.gz) = 0c3844fedd382e5796865ca58842713e +MD5 (libtool-1.3.5.tar.gz) = fa26a07c978ad05d1f88ed7a472daa49 --- /usr/ports.ref/devel/libtool/files/patch-ac Mon Jun 24 23:33:55 2002 +++ devel/libtool/files/patch-ac Tue Jun 25 20:32:54 2002 @@ -7,9 +7,9 @@ # Constants: PROGRAM=ltconfig PACKAGE=libtool --VERSION=1.3.4 -+VERSION=1.3.4-freebsd-ports - TIMESTAMP=" (1.385.2.196 1999/12/07 21:47:57)" +-VERSION=1.3.5 ++VERSION=1.3.5-freebsd-ports + TIMESTAMP=" (1.385.2.206 2000/05/27 11:12:27)" ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' @@ -185,6 +185,8 @@ @@ -72,7 +72,7 @@ echo "$ac_t"yes 1>&6 else echo "$ac_t"no 1>&6 -@@ -1226,8 +1240,8 @@ +@@ -1232,8 +1246,8 @@ *) if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then @@ -83,7 +83,7 @@ else ld_shlibs=no fi -@@ -1353,14 +1367,6 @@ +@@ -1359,14 +1373,6 @@ hardcode_shlibpath_var=no ;; @@ -98,7 +98,7 @@ hpux9* | hpux10* | hpux11*) case "$host_os" in hpux9*) archive_cmds='$rm $objdir/$soname~$LD -b +b $install_libdir -o $objdir/$soname $libobjs $deplibs $linkopts~test $objdir/$soname = $lib || mv $objdir/$soname $lib' ;; -@@ -1775,7 +1781,7 @@ +@@ -1793,7 +1799,7 @@ version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" @@ -107,27 +107,26 @@ file_magic_cmd= file_magic_test_file= deplibs_check_method='unknown' -@@ -1873,19 +1879,22 @@ +@@ -1889,21 +1895,15 @@ + freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` version_type=freebsd-$objformat - case "$version_type" in - freebsd-elf*) +- case "$version_type" in +- freebsd-elf*) - deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' - file_magic_cmd=/usr/bin/file - file_magic_test_file=`echo /usr/lib/libc.so*` - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' - need_version=no - need_lib_prefix=no -+ deplibs_check_method='file_magic (ELF [0-9][0-9]*-bit [LM]SB shared object|current ar archive)' - ;; - freebsd-*) +- ;; +- freebsd-*) - deplibs_check_method=unknown - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' - need_version=yes -+ deplibs_check_method='file_magic FreeBSD.* shared library' - ;; - esac -+ file_magic_cmd=/usr/bin/file -+ file_magic_test_file=`echo /usr/lib/libc.so.*` +- ;; +- esac ++ deplibs_check_method=pass_all + if test "$release_suffix" = all; then + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so' + else @@ -139,7 +138,7 @@ shlibpath_var=LD_LIBRARY_PATH case "$host_os" in freebsd2* | freebsd3.[01]* | freebsdelf3.[01]*) -@@ -2776,6 +2785,15 @@ +@@ -2812,6 +2821,15 @@ # Shell to use when invoking shell scripts. SHELL=$LTSHELL --- /usr/ports.ref/devel/libtool/files/patch-ad Mon May 6 22:29:07 2002 +++ devel/libtool/files/patch-ad Mon May 6 23:03:48 2002 @@ -1,25 +1,12 @@ - -$FreeBSD: ports/devel/libtool/files/patch-ad,v 1.8 2002/05/02 07:49:56 sobomax Exp $ - ---- ltmain.sh.orig Tue Dec 7 23:50:49 1999 -+++ ltmain.sh Thu May 2 10:24:05 2002 -@@ -23,6 +23,9 @@ - # configuration script generated by Autoconf, you may include it under - # the same distribution terms that you use for the rest of that program. - -+EXPR_COMPAT=1 -+export EXPR_COMPAT -+ - # Check that we have a working $echo. - if test "X$1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. -@@ -54,7 +57,7 @@ +--- ltmain.sh.orig Sat May 27 04:15:01 2000 ++++ ltmain.sh Mon Sep 25 09:49:26 2000 +@@ -54,7 +54,7 @@ # Constants. PROGRAM=ltmain.sh PACKAGE=libtool --VERSION=1.3.4 -+VERSION=1.3.4-freebsd-ports - TIMESTAMP=" (1.385.2.196 1999/12/07 21:47:57)" +-VERSION=1.3.5 ++VERSION=1.3.5-freebsd-ports + TIMESTAMP=" (1.385.2.206 2000/05/27 11:12:27)" default_mode= @@ -952,7 +955,11 @@ @@ -86,7 +73,7 @@ *) # Add libc to deplibs on all other systems. deplibs="$deplibs -lc" -@@ -1802,6 +1811,94 @@ +@@ -1806,6 +1812,94 @@ esac fi @@ -181,7 +168,7 @@ # Create the output directory, or remove our outputs if we need to. if test -d $output_objdir; then $show "${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*" -@@ -1817,7 +1914,11 @@ +@@ -1821,7 +1915,11 @@ # Now set the variables for building old libraries. if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then @@ -194,7 +181,7 @@ # Transform .lo files to .o files. oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` -@@ -2011,7 +2112,11 @@ +@@ -2015,7 +2113,11 @@ echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then @@ -207,7 +194,7 @@ build_libtool_libs=module build_old_libs=yes else -@@ -3059,7 +3164,11 @@ +@@ -3071,7 +3173,11 @@ case "$output" in *.la) old_library= @@ -220,7 +207,7 @@ $show "creating $output" if test -n "$xrpath"; then -@@ -3348,10 +3457,12 @@ +@@ -3360,10 +3466,12 @@ fi # Install the pseudo-library for information purposes. @@ -237,7 +224,7 @@ # Maybe install the static library, too. test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" -@@ -3440,7 +3551,6 @@ +@@ -3452,7 +3560,6 @@ fi libfile="$libdir/`$echo "X$lib" | $Xsed -e 's%^.*/%%g'`" if test -n "$libdir" && test ! -f "$libfile"; then # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # go # go/files # go/files/patch-aa # go/files/patch-ab # go/files/patch-ac # go/files/patch-ad # go/files/patch-ae # go/Makefile # go/distinfo # go/pkg-plist # go/pkg-descr # go/pkg-comment # echo c - go mkdir -p go > /dev/null 2>&1 echo c - go/files mkdir -p go/files > /dev/null 2>&1 echo x - go/files/patch-aa sed 's/^X//' >go/files/patch-aa << 'END-of-go/files/patch-aa' X--- configure.orig Fri Feb 26 15:49:48 1999 X+++ configure Fri Sep 17 00:57:55 1999 X@@ -2928,7 +2928,7 @@ X echo $ac_n "(cached) $ac_c" 1>&6 X else X ac_save_LIBS="$LIBS" X-LIBS="-lxml `gnome-config --libs xml` $LIBS" X+LIBS="`xml-config --libs` $LIBS" X cat > conftest.$ac_ext <&6 X@@ -3324,7 +3324,7 @@ X fi X if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then X echo "$ac_t""yes" 1>&6 X- PTHREAD_LIB="-lc_r" X+ PTHREAD_LIB="" X else X echo "$ac_t""no" 1>&6 X echo $ac_n "checking for pthread_create""... $ac_c" 1>&6 X@@ -5048,7 +5048,7 @@ X cat conftest.$ac_ext >&5 X rm -rf conftest* X CATOBJEXT=.mo X- DATADIRNAME=lib X+ DATADIRNAME=share X fi X rm -f conftest* X INSTOBJEXT=.mo X@@ -5436,13 +5436,13 @@ X fi X X X- USE_INCLUDED_LIBINTL=yes X+# USE_INCLUDED_LIBINTL=yes X CATOBJEXT=.gmo X INSTOBJEXT=.mo X DATADIRNAME=share X- INTLDEPS='$(top_builddir)/intl/libintl.a' X- INTLLIBS=$INTLDEPS X- LIBS=`echo $LIBS | sed -e 's/-lintl//'` X+# INTLDEPS='$(top_builddir)/intl/libintl.a' X+# INTLLIBS=$INTLDEPS X+# LIBS=`echo $LIBS | sed -e 's/-lintl//'` X nls_cv_header_intl=intl/libintl.h X nls_cv_header_libgt=intl/libgettext.h X fi END-of-go/files/patch-aa echo x - go/files/patch-ab sed 's/^X//' >go/files/patch-ab << 'END-of-go/files/patch-ab' X--- gtkrichtext/Makefile.in.orig Fri Sep 17 01:00:27 1999 X+++ gtkrichtext/Makefile.in Fri Sep 17 01:00:55 1999 X@@ -127,7 +127,7 @@ X X EXTRA_DIST = hyphen.mashed X X-INCLUDES = `gtk-config --cflags` -Wall -ansi @LIBHNJ_CFLAGS@ X+INCLUDES = @GTK_CFLAGS@ -Wall -ansi @LIBHNJ_CFLAGS@ X X check_PROGRAMS = testgtkrichtext X END-of-go/files/patch-ab echo x - go/files/patch-ac sed 's/^X//' >go/files/patch-ac << 'END-of-go/files/patch-ac' X--- Makefile.in.orig Fri Feb 26 16:24:36 1999 X+++ Makefile.in Fri Sep 17 01:10:43 1999 X@@ -132,7 +132,7 @@ X INCLUDES = $(GTK_CFLAGS) -Wall -ansi $(GNOME_INCLUDEDIR) -I$(srcdir)/gtkrichtext $(LIBHNJ_CFLAGS) $(GNOME_PRINT_CFLAGS) X X X-sysdir = $(datadir)/gnome/apps/Applications X+sysdir = $(datadir)/apps/Applications X sys_DATA = go.desktop X X LDADD = $(top_builddir)/gtkrichtext/librichtext.a $(LIBHNJ_LIBS) $(GNOME_XML_LIB) $(GNOME_PRINT_LIBS) $(GNOMEUI_LIBS) $(GTK_LIBS) $(INTLLIBS) X@@ -149,7 +149,7 @@ X X go_DEPENDENCIES = $(DEPS) X X-CPPFLAGS = -DGNOMELOCALEDIR=\""$(datadir)/locale"\" -DBINDIR=\""$(bindir)"\" -DDATADIR=\""$(datadir)"\" -DPLUGINDIR=\""$(libexecdir)/go/plugins"\" X+CPPFLAGS = -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" -DBINDIR=\""$(bindir)"\" -DDATADIR=\""$(datadir)"\" -DPLUGINDIR=\""$(libexecdir)/go/plugins"\" X X X hyphendatadir = $(datadir)/hypn END-of-go/files/patch-ac echo x - go/files/patch-ad sed 's/^X//' >go/files/patch-ad << 'END-of-go/files/patch-ad' X--- plugins/Makefile.in.orig Fri Sep 17 01:06:06 1999 X+++ plugins/Makefile.in Fri Sep 17 01:06:34 1999 X@@ -132,7 +132,7 @@ X plugin_PROGRAMS = cvsdiff-plugin encrypt-plugin openother-plugin reverse-plugin testselect-plugin hello-plugin convert-plugin diff-plugin email-plugin browse-plugin spell-plugin httpview-plugin X X INCLUDES = $(GTK_CFLAGS) -Wall $(GNOME_INCLUDEDIR) X-CPPFLAGS = -DGNOMELOCALEDIR=\""$(datadir)/locale"\" X+CPPFLAGS = -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" X X cvsdiff_plugin_SOURCES = cvsdiff.c client.c client.h X END-of-go/files/patch-ad echo x - go/files/patch-ae sed 's/^X//' >go/files/patch-ae << 'END-of-go/files/patch-ae' X--- plugins/prm/Makefile.in.orig Fri Sep 17 01:06:43 1999 X+++ plugins/prm/Makefile.in Fri Sep 17 01:07:14 1999 X@@ -132,7 +132,7 @@ X prm_plugin_SOURCES = maincode.c maincode.h msgbox.c msgbox.h client.c client.h X X X-INCLUDES = -I$(includedir) -DGNOMELOCALEDIR=\""$(datadir)/locale"\" -DLOCALEDIR=\"$(datadir)/locale\" -I.. $(GNOME_INCLUDEDIR) -I$(top_srcdir)/plugins X+INCLUDES = -I$(includedir) -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" -DLOCALEDIR=\"$(prefix)/share/locale\" -I.. $(GNOME_INCLUDEDIR) -I$(top_srcdir)/plugins X X X LDADD = $(GTK_LIBS) END-of-go/files/patch-ae echo x - go/Makefile sed 's/^X//' >go/Makefile << 'END-of-go/Makefile' X# New ports collection makefile for: go X# Version required: 0.1.35 X# Date created: 17 September 1999 X# Whom: Jeremy Lea X# X# $FreeBSD$ X# X XPORTNAME= go XPORTVERSION= 0.1.35 XCATEGORIES= editors gnome XMASTER_SITES= ${MASTER_SITE_GNOME} XMASTER_SITE_SUBDIR= sources/go X XMAINTAINER= reg@shale.csir.co.za X XLIB_DEPENDS= hnj.0:${PORTSDIR}/textproc/libhnj \ X intl.1:${PORTSDIR}/devel/gettext X XUSE_X_PREFIX= yes XUSE_GNOME= yes XUSE_LIBTOOL= yes XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ X LIBS="-L${LOCALBASE}/lib" X X.include END-of-go/Makefile echo x - go/distinfo sed 's/^X//' >go/distinfo << 'END-of-go/distinfo' XMD5 (go-0.1.35.tar.gz) = ab98f516672c691816c3bce58b191493 END-of-go/distinfo echo x - go/pkg-plist sed 's/^X//' >go/pkg-plist << 'END-of-go/pkg-plist' Xbin/go Xlib/librichtext.a Xlibexec/go/plugins/browse-plugin Xlibexec/go/plugins/convert-plugin Xlibexec/go/plugins/cvsdiff-plugin Xlibexec/go/plugins/diff-plugin Xlibexec/go/plugins/email-plugin Xlibexec/go/plugins/encrypt-plugin Xlibexec/go/plugins/hello-plugin Xlibexec/go/plugins/httpview-plugin Xlibexec/go/plugins/openother-plugin Xlibexec/go/plugins/prm-plugin Xlibexec/go/plugins/reverse-plugin Xlibexec/go/plugins/spell-plugin Xlibexec/go/plugins/testselect-plugin Xshare/gnome/apps/Applications/go.desktop Xshare/gnome/hypn/hyphen.mashed Xshare/locale/pigl/LC_MESSAGES/go.mo X@dirrm share/gnome/hypn X@dirrm libexec/go/plugins X@dirrm libexec/go END-of-go/pkg-plist echo x - go/pkg-descr sed 's/^X//' >go/pkg-descr << 'END-of-go/pkg-descr' XGNOME work processer END-of-go/pkg-descr echo x - go/pkg-comment sed 's/^X//' >go/pkg-comment << 'END-of-go/pkg-comment' XGNOME work processer END-of-go/pkg-comment exit # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # japhar # japhar/files # japhar/files/patch-aa # japhar/files/patch-ab # japhar/distinfo # japhar/Makefile # japhar/pkg-descr # japhar/pkg-comment # japhar/pkg-plist # echo c - japhar mkdir -p japhar > /dev/null 2>&1 echo c - japhar/files mkdir -p japhar/files > /dev/null 2>&1 echo x - japhar/files/patch-aa sed 's/^X//' >japhar/files/patch-aa << 'END-of-japhar/files/patch-aa' X--- configure.orig Wed Nov 11 01:34:20 1998 X+++ configure Wed Nov 11 01:34:49 1998 X@@ -2537,7 +2537,7 @@ X echo $ac_n "(cached) $ac_c" 1>&6 X else X ac_save_LIBS="$LIBS" X-LIBS="-lc_r $LIBS" X+LIBS="-pthread $LIBS" X cat > conftest.$ac_ext <&6 END-of-japhar/files/patch-aa echo x - japhar/files/patch-ab sed 's/^X//' >japhar/files/patch-ab << 'END-of-japhar/files/patch-ab' X--- doc/src/japhar.texi.orig Wed Nov 11 01:52:53 1998 X+++ doc/src/japhar.texi Wed Nov 11 01:54:14 1998 X@@ -7,7 +7,10 @@ X @setchapternewpage odd X X @ifinfo X-This is the info documentation for Japhar. X+@dircategory Programming & development tools X+@direntry X+ * Japhar: (japhar.info). This is the info documentation for Japhar. X+@end direntry X X @c ?? Copyright 1998 Hungry Programmers, Inc. X @end ifinfo END-of-japhar/files/patch-ab echo x - japhar/distinfo sed 's/^X//' >japhar/distinfo << 'END-of-japhar/distinfo' XMD5 (japhar-0.10.tar.gz) = 70c5189405ecccf989602eb672c5a963 END-of-japhar/distinfo echo x - japhar/Makefile sed 's/^X//' >japhar/Makefile << 'END-of-japhar/Makefile' X# New ports collection makefile for: japhar X# Version required: 0.08 X# Date created: 10 November 1998 X# Whom: Jeremy Lea X# X# $FreeBSD: $ X# X XPORTNAME= japhar XPORTVERSION= 0.10 XCATEGORIES= lang XMASTER_SITES= ftp://ftp.japhar.org/pub/hungry/japhar/source/ \ X http://www.freebsd.org/java/ X XMAINTAINER= reg@FreeBSD.org X XUSE_GMAKE= yes XUSE_LIBTOOL= yes XLIBTOOLFILES= configure lib/libffi/configure XCONFIGURE_ARGS= --with-sun-jdk=${LOCALBASE}/jdk1.1.8 --disable-debugging X X.include END-of-japhar/Makefile echo x - japhar/pkg-descr sed 's/^X//' >japhar/pkg-descr << 'END-of-japhar/pkg-descr' XA Java virtual machine END-of-japhar/pkg-descr echo x - japhar/pkg-comment sed 's/^X//' >japhar/pkg-comment << 'END-of-japhar/pkg-comment' XA open source Java virtual machine from the Hungry Programmers END-of-japhar/pkg-comment echo x - japhar/pkg-plist sed 's/^X//' >japhar/pkg-plist << 'END-of-japhar/pkg-plist' Xbin/japhar Xbin/japharh Xbin/dump-class Xbin/jar Xbin/javac Xbin/javadoc Xbin/javakey Xbin/javap Xbin/appletviewer Xbin/native2ascii Xbin/rmic Xbin/rmiregistry Xbin/serialver Xbin/jdb Xbin/japhar-config Xinclude/japhar/private/ClazzFile.h Xinclude/japhar/private/alloc.h Xinclude/japhar/private/array-class.h Xinclude/japhar/private/arrays.h Xinclude/japhar/private/class-repository.h Xinclude/japhar/private/classpath.h Xinclude/japhar/private/dynamic_loading.h Xinclude/japhar/private/exceptions.h Xinclude/japhar/private/gc.h Xinclude/japhar/private/getopt.h Xinclude/japhar/private/interp.h Xinclude/japhar/private/log.h Xinclude/japhar/private/native-threads.h Xinclude/japhar/private/nativeglue.h Xinclude/japhar/private/method.h Xinclude/japhar/private/compat.h Xinclude/japhar/private/objects.h Xinclude/japhar/private/op_stack.h Xinclude/japhar/private/primitive-class.h Xinclude/japhar/private/qop.h Xinclude/japhar/private/resolve.h Xinclude/japhar/private/sig.h Xinclude/japhar/private/signals.h Xinclude/japhar/private/util.h Xinclude/japhar/private/zipfile.h Xinclude/japhar/jnitypes.h Xinclude/japhar/jni.h Xinclude/japhar/jniint.h Xinclude/japhar/jvmdi.h Xinclude/japhar/jvmdiint.h X@unexec install-info --delete %D/info/japhar.info %D/info/dir Xinfo/japhar.info X@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir X@exec install-info %D/info/japhar.info %D/info/dir Xlib/libarch.so.1.0 Xlib/libarch.so Xlib/libarch.la Xlib/libarch.a Xlib/libjni.so.1.0 Xlib/libjni.so Xlib/libjni.la Xlib/libjni.a Xlib/libjvmdi.so.1.0 Xlib/libjvmdi.so Xlib/libjvmdi.la Xlib/libjvmdi.a Xlib/libruntime.so.1.0 Xlib/libruntime.so Xlib/libruntime.la Xlib/libruntime.a Xlib/libjaphar_lang.so.1.0 Xlib/libjaphar_lang.so Xlib/libjaphar_lang.la Xlib/libjaphar_lang.a Xlib/libjaphar_reflect.so.1.0 Xlib/libjaphar_reflect.so Xlib/libjaphar_reflect.la Xlib/libjaphar_reflect.a Xlib/libjaphar_io.so.1.0 Xlib/libjaphar_io.so Xlib/libjaphar_io.la Xlib/libjaphar_io.a Xlib/libjaphar_net.so.1.0 Xlib/libjaphar_net.so Xlib/libjaphar_net.la Xlib/libjaphar_net.a Xlib/libjaphar_util.so.1.0 Xlib/libjaphar_util.so Xlib/libjaphar_util.la Xlib/libjaphar_util.a Xlib/libjaphar_zip.so.1.0 Xlib/libjaphar_zip.so Xlib/libjaphar_zip.la Xlib/libjaphar_zip.a Xlib/libjaphar_sysresource.so.1.0 Xlib/libjaphar_sysresource.so Xlib/libjaphar_sysresource.la Xlib/libjaphar_sysresource.a Xlib/libjaphar_agent.so.1.0 Xlib/libjaphar_agent.so Xlib/libjaphar_agent.la Xlib/libjaphar_agent.a Xlib/libjaphar_awt.a Xlib/libjaphar_awt.so.1.0 Xlib/libjaphar_awt.so Xlib/libjaphar_awt.la X@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B X@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R Xlib/appletviewer.properties Xlib/awt.properties Xlib/content-types.properties Xlib/font.properties Xlib/font.properties.cs Xlib/font.properties.el Xlib/font.properties.hu Xlib/font.properties.ja Xlib/font.properties.ko Xlib/font.properties.lt Xlib/font.properties.lv Xlib/font.properties.pl Xlib/font.properties.ru Xlib/font.properties.tr Xlib/rmic.properties Xlib/font.properties.zh_GB2312 Xlib/font.properties.zh_TW_Big5 Xlib/font.properties.zh_TW_CNS11643 Xlib/psfont.properties.ja Xlib/serialver.properties Xlib/security/java.security Xshare/classes.zip X@dirrm include/japhar/private X@dirrm include/japhar X@dirrm lib/security END-of-japhar/pkg-plist exit # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # libhnj # libhnj/pkg-plist # libhnj/Makefile # libhnj/distinfo # libhnj/pkg-comment # libhnj/pkg-descr # echo c - libhnj mkdir -p libhnj > /dev/null 2>&1 echo x - libhnj/pkg-plist sed 's/^X//' >libhnj/pkg-plist << 'END-of-libhnj/pkg-plist' Xbin/libhnj-config Xinclude/libhnj/hqjust.h Xinclude/libhnj/hsjust.h Xinclude/libhnj/hyphen.h Xinclude/libhnj/just.h Xlib/libhnj.a Xlib/libhnj.so Xlib/libhnj.so.0 Xshare/aclocal/libhnj.m4 X@dirrm include/libhnj END-of-libhnj/pkg-plist echo x - libhnj/Makefile sed 's/^X//' >libhnj/Makefile << 'END-of-libhnj/Makefile' X# New ports collection makefile for: libhnj X# Version required: 0.1.1 X# Date created: 17 September 1999 X# Whom: Jeremy Lea X# X# $FreeBSD$ X# X XPORTNAME= libhnj XPORTVERSION= 0.1.1 XCATEGORIES= textproc gnome XMASTER_SITES= ${MASTER_SITE_GNOME} XMASTER_SITE_SUBDIR= sources/libhnj X XMAINTAINER= reg@FreeBSD.org X XUSE_LIBTOOL= yes X X.include END-of-libhnj/Makefile echo x - libhnj/distinfo sed 's/^X//' >libhnj/distinfo << 'END-of-libhnj/distinfo' XMD5 (libhnj-0.1.1.tar.gz) = 29f5571af559690e916b1c7b1aa6aa1f END-of-libhnj/distinfo echo x - libhnj/pkg-comment sed 's/^X//' >libhnj/pkg-comment << 'END-of-libhnj/pkg-comment' XA library for high quality hyphenation and justification, for GNOME END-of-libhnj/pkg-comment echo x - libhnj/pkg-descr sed 's/^X//' >libhnj/pkg-descr << 'END-of-libhnj/pkg-descr' XLibHnj is a library for high quality hyphenation and justification. It Xis dual licensed under both LGPL and MPL to encourage widespread use. XThe parseAFM.[ch] files are written by Adobe and distributed under a Xslightly different license, but one that appears to be compatible with Xboth LGPL and MPL. X XThe code is currently fairly rough. In particular, psset has many Xfixed-size buffers and is simply not suitable for production. Further Xspeedups are also possible, although the code isn't exactly slow now. END-of-libhnj/pkg-descr exit # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mozilla-lite # mozilla-lite/files # mozilla-lite/files/mozilla.sh # mozilla-lite/files/patch-nsprpub::configure # mozilla-lite/files/patch-embedding::config::basebrowser-unix # mozilla-lite/files/patch-qt # mozilla-lite/files/patch-security::coreconf::FreeBSD.mk # mozilla-lite/files/patch-Makefile.in # mozilla-lite/files/patch-extensions::transformiix::source::base::Double.cpp # mozilla-lite/files/patch-intl::uconv::src::unixcharset.properties # mozilla-lite/files/patch-xpfe::bootstrap::nsAppRunner.cpp # mozilla-lite/files/tar-exclude # mozilla-lite/files/patch-netwerk::base::src::nsSocketTransport.h # mozilla-lite/files/patch-netwerk::base::src::nsSocketTransport.cpp # mozilla-lite/files/patch-ak # mozilla-lite/distinfo # mozilla-lite/pkg-descr # mozilla-lite/pkg-plist # mozilla-lite/pkg-comment # mozilla-lite/Makefile # echo c - mozilla-lite mkdir -p mozilla-lite > /dev/null 2>&1 echo c - mozilla-lite/files mkdir -p mozilla-lite/files > /dev/null 2>&1 echo x - mozilla-lite/files/mozilla.sh sed 's/^X//' >mozilla-lite/files/mozilla.sh << 'END-of-mozilla-lite/files/mozilla.sh' X#!/bin/sh X# X# $FreeBSD: ports/www/mozilla/files/mozilla.sh,v 1.3 2001/07/18 07:44:50 sobomax Exp $ X Xcd @PREFIX@/lib/mozilla Xexec ./mozilla "$@" END-of-mozilla-lite/files/mozilla.sh echo x - mozilla-lite/files/patch-nsprpub::configure sed 's/^X//' >mozilla-lite/files/patch-nsprpub::configure << 'END-of-mozilla-lite/files/patch-nsprpub::configure' X--- nsprpub/configure.orig Tue Jan 22 23:57:37 2002 X+++ nsprpub/configure Thu Feb 14 01:13:13 2002 X@@ -3288,8 +3288,9 @@ X else X DLL_SUFFIX=so.1.0 X fi X+ MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@' X DSO_CFLAGS=-fPIC X- DSO_LDOPTS=-Bshareable X+ DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)' X MDCPUCFG_H=_freebsd.cfg X PR_MD_CSRCS=freebsd.c X ;; X@@ -5091,8 +5092,15 @@ X if test $? -eq 0; then X if test -z "`egrep -i '(unrecognize|unknown)' conftest.out | grep pthread`" && test -z "`egrep -i '(error|incorrect)' conftest.out`" ; then X ac_cv_have_dash_pthread=yes X- CFLAGS="$CFLAGS -pthread" X- CXXFLAGS="$CXXFLAGS -pthread" X+ case "$target_os" in X+ freebsd*) X+# Freebsd doesn't use -pthread for compiles, it uses them for linking X+ ;; X+ *) X+ CFLAGS="$CFLAGS -pthread" X+ CXXFLAGS="$CXXFLAGS -pthread" X+ ;; X+ esac X fi X fi X rm -f conftest* X@@ -5123,11 +5131,17 @@ X ;; X *-freebsd*|*-openbsd*|*-bsdi*|*-netbsd*) X cat >> confdefs.h <<\EOF X+#define _REENTRANT 1 X+EOF X+ X+ cat >> confdefs.h <<\EOF X #define _THREAD_SAFE 1 X EOF X X if test "$ac_cv_have_dash_pthread" = "yes"; then X- _PTHREAD_LDFLAGS= X+ _PTHREAD_LDFLAGS="-pthread" X+ else X+ _PTHREAD_LDFLAGS="-lc_r" X fi X ;; X *-linux*) END-of-mozilla-lite/files/patch-nsprpub::configure echo x - mozilla-lite/files/patch-embedding::config::basebrowser-unix sed 's/^X//' >mozilla-lite/files/patch-embedding::config::basebrowser-unix << 'END-of-mozilla-lite/files/patch-embedding::config::basebrowser-unix' X X$FreeBSD: ports/www/mozilla/files/patch-embedding::config::basebrowser-unix,v 1.2 2002/01/15 15:16:41 sobomax Exp $ X X--- embedding/config/basebrowser-unix.orig Wed Nov 21 00:21:59 2001 X+++ embedding/config/basebrowser-unix Tue Jan 15 15:26:55 2002 X@@ -119,6 +119,7 @@ X X ; layout X components/libgkcontent.so X+libmoz_art_lgpl.so X components/libgklayout.so X components/libhtmlpars.so X components/libgkview.so X@@ -196,12 +197,12 @@ X components/unicharutil.xpt X components/libchardet.so X ; optional - on english only systems X-; components/libucvja.so for japanese X-; components/libucvko.so for korean X-; components/libucvcn.so for simplified chinese X-; components/libucvtw.so for traditional chinese X-; components/libucvtw2.so for traditional chinese X-; components/libucvibm.so for ibm X+components/libucvja.so X+components/libucvko.so X+components/libucvcn.so X+components/libucvtw.so X+components/libucvtw2.so X+components/libucvibm.so X X X res/language.properties END-of-mozilla-lite/files/patch-embedding::config::basebrowser-unix echo x - mozilla-lite/files/patch-qt sed 's/^X//' >mozilla-lite/files/patch-qt << 'END-of-mozilla-lite/files/patch-qt' X X$FreeBSD: ports/www/mozilla/files/patch-qt,v 1.13 2001/12/26 10:21:21 sobomax Exp $ X X--- configure.orig Wed Dec 12 10:12:41 2001 X+++ configure Tue Dec 25 15:21:43 2001 X@@ -6186,6 +6186,9 @@ X os2*) X LIBS= X ;; X+freebsd*) X+ CPPFLAGS="${CPPFLAGS} ${X_CFLAGS}" X+ ;; X esac X for ac_hdr in sys/byteorder.h compat.h getopt.h X do X@@ -7357,8 +7360,6 @@ X if test $? -eq 0; then X if test -z "`egrep -i '(unrecognize|unknown)' conftest.out | grep pthread`" && test -z "`egrep -i '(error|incorrect)' conftest.out`" ; then X ac_cv_have_dash_pthread=yes X- CFLAGS="$CFLAGS -pthread" X- CXXFLAGS="$CXXFLAGS -pthread" X fi X fi X rm -f conftest* X@@ -7392,7 +7393,7 @@ X EOF X X if test "$ac_cv_have_dash_pthread" = "yes"; then X- _PTHREAD_LDFLAGS="" X+ _PTHREAD_LDFLAGS="-pthread" X else X _PTHREAD_LDFLAGS="-lc_r" X fi X@@ -9839,7 +9840,7 @@ X fi X MOC=$HOST_MOC X X- QT_CFLAGS="-I${QTDIR}${QTINCDIR} -DQT_GENUINE_STR" X+ QT_CFLAGS="-I${QTDIR}/include/X11/qt -DQT_GENUINE_STR" X QT_LIBS="-L/usr/X11R6/lib -L${QTDIR}/lib -lqt -lXext -lX11" X X # Check whether --with-static-qt or --without-static-qt was given. END-of-mozilla-lite/files/patch-qt echo x - mozilla-lite/files/patch-security::coreconf::FreeBSD.mk sed 's/^X//' >mozilla-lite/files/patch-security::coreconf::FreeBSD.mk << 'END-of-mozilla-lite/files/patch-security::coreconf::FreeBSD.mk' X--- security/coreconf/FreeBSD.mk.orig Tue Sep 19 05:53:08 2000 X+++ security/coreconf/FreeBSD.mk Thu Feb 14 14:19:02 2002 X@@ -35,27 +35,27 @@ X X include $(CORE_DEPTH)/coreconf/UNIX.mk X X-DEFAULT_COMPILER = gcc X-CC = gcc X-CCC = g++ X+CCC = ${CXX} X RANLIB = ranlib X X ifeq ($(OS_TEST),alpha) X CPU_ARCH = alpha X else X-OS_REL_CFLAGS = -Di386 X CPU_ARCH = x86 X endif X X-OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe $(THREAD_FLAG) -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK X+OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK X+ X+DSO_CFLAGS = -fPIC X+DSO_LDOPTS = -shared -Wl,-soname -Wl,$(notdir $@) X X # X # The default implementation strategy for FreeBSD is pthreads. X # X ifndef CLASSIC_NSPR X USE_PTHREADS = 1 X-DEFINES += -D_THREAD_SAFE X-THREAD_FLAG = -pthread X+DEFINES += -D_THREAD_SAFE -D_REENTRANT X+DSO_LDOPTS += -pthread X endif X X ARCH = freebsd X@@ -68,11 +68,7 @@ X DLL_SUFFIX = so.1.0 X endif X X-DSO_CFLAGS = -fPIC X-DSO_LDOPTS = -Bshareable X-DSO_LDFLAGS = X- X-MKSHLIB = $(LD) $(DSO_LDOPTS) X+MKSHLIB = $(CC) $(DSO_LDOPTS) -o $@ X X G++INCLUDES = -I/usr/include/g++ X END-of-mozilla-lite/files/patch-security::coreconf::FreeBSD.mk echo x - mozilla-lite/files/patch-Makefile.in sed 's/^X//' >mozilla-lite/files/patch-Makefile.in << 'END-of-mozilla-lite/files/patch-Makefile.in' X X$FreeBSD: ports/www/mozilla/files/patch-Makefile.in,v 1.1 2001/12/26 10:22:32 sobomax Exp $ X X--- Makefile.in 2001/12/25 21:00:23 1.1 X+++ Makefile.in 2001/12/26 06:40:16 X@@ -64,8 +64,7 @@ X DIRS = $(NSPRPUB_DIR) \ X $(tier_0_dirs) \ X $(tier_1_dirs) \ X- $(tier_9_dirs) \ X- $(NULL) X+ $(tier_9_dirs) X X ifdef MOZ_LDAP_XPCOM X DIRS += directory/c-sdk/ldap X@@ -81,7 +80,8 @@ X DIRS += $(tier_98_dirs) X endif X X-DIRS += $(tier_99_dirs) X+DIRS += $(tier_99_dirs) \ X+ $(NULL) X X # X # tier 0 - base build config dirs X@@ -185,7 +185,6 @@ X db \ X docshell \ X webshell \ X- embedding \ X editor \ X sun-java \ X profile \ END-of-mozilla-lite/files/patch-Makefile.in echo x - mozilla-lite/files/patch-extensions::transformiix::source::base::Double.cpp sed 's/^X//' >mozilla-lite/files/patch-extensions::transformiix::source::base::Double.cpp << 'END-of-mozilla-lite/files/patch-extensions::transformiix::source::base::Double.cpp' X X$FreeBSD: ports/www/mozilla/files/patch-extensions::transformiix::source::base::Double.cpp,v 1.1 2001/12/26 10:21:21 sobomax Exp $ X X--- extensions/transformiix/source/base/Double.cpp.orig Sat Nov 24 00:36:13 2001 X+++ extensions/transformiix/source/base/Double.cpp Tue Dec 25 15:19:42 2001 X@@ -41,7 +41,7 @@ X #endif X //A trick to handle IEEE floating point exceptions on FreeBSD - E.D. X #ifdef __FreeBSD__ X-#include X+#include X #endif X #ifndef TX_EXE X #include "prdtoa.h" X@@ -56,7 +56,11 @@ X X //A trick to handle IEEE floating point exceptions on FreeBSD - E.D. X #ifdef __FreeBSD__ X+#ifdef __alpha__ X+fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP; X+#else X fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML; X+#endif X fp_except_t oldmask = fpsetmask(~allmask); X #endif X END-of-mozilla-lite/files/patch-extensions::transformiix::source::base::Double.cpp echo x - mozilla-lite/files/patch-intl::uconv::src::unixcharset.properties sed 's/^X//' >mozilla-lite/files/patch-intl::uconv::src::unixcharset.properties << 'END-of-mozilla-lite/files/patch-intl::uconv::src::unixcharset.properties' X X$FreeBSD: ports/www/mozilla/files/patch-intl::uconv::src::unixcharset.properties,v 1.5 2002/02/05 17:24:00 sobomax Exp $ X X--- intl/uconv/src/unixcharset.properties.orig Wed Jan 9 04:13:10 2002 X+++ intl/uconv/src/unixcharset.properties Tue Feb 5 11:19:41 2002 X@@ -235,6 +235,8 @@ X locale.all.ru_SU.ISO_8859-5=ISO-8859-5 X # FreeBSD Russian X locale.all.ru_SU.KOI8-R=KOI8-R X+# FreeBSD Ukrainian X+locale.all.uk_UA.KOI8-U=KOI8-U X # Solaris X locale.all.en_US.UTF-8=UTF-8 X # Solaris END-of-mozilla-lite/files/patch-intl::uconv::src::unixcharset.properties echo x - mozilla-lite/files/patch-xpfe::bootstrap::nsAppRunner.cpp sed 's/^X//' >mozilla-lite/files/patch-xpfe::bootstrap::nsAppRunner.cpp << 'END-of-mozilla-lite/files/patch-xpfe::bootstrap::nsAppRunner.cpp' X--- xpfe/bootstrap/nsAppRunner.cpp.orig Mon Nov 26 16:53:29 2001 X+++ xpfe/bootstrap/nsAppRunner.cpp Mon Nov 26 16:54:12 2001 X@@ -1060,7 +1060,7 @@ X X #if defined(FREEBSD) X // pick up fpsetmask prototype. X-#include X+#include X #endif X X // Note: nativeApp is an owning reference that this function has responsibility END-of-mozilla-lite/files/patch-xpfe::bootstrap::nsAppRunner.cpp echo x - mozilla-lite/files/tar-exclude sed 's/^X//' >mozilla-lite/files/tar-exclude << 'END-of-mozilla-lite/files/tar-exclude' X*/CVS/* X*/macbuild/* X*/package/* X.cvsignore Xmakefile.win XMANIFEST END-of-mozilla-lite/files/tar-exclude echo x - mozilla-lite/files/patch-netwerk::base::src::nsSocketTransport.h sed 's/^X//' >mozilla-lite/files/patch-netwerk::base::src::nsSocketTransport.h << 'END-of-mozilla-lite/files/patch-netwerk::base::src::nsSocketTransport.h' X--- netwerk/base/src/nsSocketTransport.h.orig Fri Feb 8 11:20:24 2002 X+++ netwerk/base/src/nsSocketTransport.h Fri Feb 8 11:20:29 2002 X@@ -176,7 +176,7 @@ X PRFileDesc* GetSocket(void) { return mSocketFD; } X PRInt16 GetSelectFlags(void) { return mSelectFlags; } X PRCList* GetListNode(void) { return &mListLink; } X- X+ X static nsSocketTransport* GetInstance(PRCList* qp) { return (nsSocketTransport*)((char*)qp - offsetof(nsSocketTransport, mListLink)); } X X PRBool CanBeReused() { return X@@ -237,8 +237,27 @@ X inline void ClearFlag(nsSocketReadWriteInfo aFlag) { X mReadWriteState &= ~aFlag; X } X+ X+ PRInt32 GetSocketPort(void) { return (mProxyPort != -1 && !mProxyTransparent) ? mProxyPort : mPort; } X+ const char *GetSocketHost(void) { return (mProxyHost && !mProxyTransparent) ? mProxyHost : mHostName; } X X protected: X+ class nsNetAddrList { X+ public: X+ nsNetAddrList() : mList(nsnull), mLen(0) {} X+ ~nsNetAddrList() { delete[] mList; } X+ X+ // allocate space for the address list X+ nsresult Init(PRUint32 len); X+ X+ // given a net addr in the list, return the next addr. X+ // if given NULL, then return the first addr in the list. X+ // returns NULL if given addr is the last addr. X+ PRNetAddr *GetNext(PRNetAddr *currentAddr); X+ private: X+ PRNetAddr *mList; X+ PRUint32 mLen; X+ }; X X nsSocketState mCurrentState; X nsCOMPtr mDNSRequest; X@@ -249,7 +268,8 @@ X PRIntervalTime mLastActiveTime; X PRCList mListLink; X PRMonitor* mMonitor; X- PRNetAddr mNetAddress; X+ nsNetAddrList mNetAddrList; X+ PRNetAddr *mNetAddress; X nsSocketOperation mOperation; X nsCOMPtr mSecurityInfo; X X@@ -415,6 +435,7 @@ X PRBool IsInitialized() { return mStartFired; } X PRBool IsSuspended() { return mSuspendCount > 0; } X PRBool IsCanceled() { return mCanceled; } X+ PRBool HasFailed() { return NS_FAILED(mStatus); } X X void SetTransport(nsSocketTransport *); X void SetObserver(nsIRequestObserver *obs) { mObserver = obs; } END-of-mozilla-lite/files/patch-netwerk::base::src::nsSocketTransport.h echo x - mozilla-lite/files/patch-netwerk::base::src::nsSocketTransport.cpp sed 's/^X//' >mozilla-lite/files/patch-netwerk::base::src::nsSocketTransport.cpp << 'END-of-mozilla-lite/files/patch-netwerk::base::src::nsSocketTransport.cpp' X--- netwerk/base/src/nsSocketTransport.cpp.orig Fri Feb 8 11:20:08 2002 X+++ netwerk/base/src/nsSocketTransport.cpp Fri Feb 8 11:20:16 2002 X@@ -143,6 +143,7 @@ X mHostName(nsnull), X mPort(-1), X mMonitor(nsnull), X+ mNetAddress(nsnull), X mOperation(eSocketOperation_None), X mProxyPort(-1), X mProxyHost(nsnull), X@@ -183,12 +184,6 @@ X SetWriteType(eSocketWrite_None); X X // X- // Set up Internet defaults... X- // X- memset(&mNetAddress, 0, sizeof(mNetAddress)); X- PR_SetNetAddr(PR_IpAddrAny, PR_AF_INET6, 0, &mNetAddress); X- X- // X // Initialize the global connect timeout value if necessary... X // X if (PR_INTERVAL_NO_WAIT == gConnectTimeout) X@@ -415,6 +410,14 @@ X X while (!done) { X // X+ // Check for failure on any socket requests X+ // X+ if (mReadRequest && mReadRequest->HasFailed()) X+ mReadRequest->GetStatus(&mStatus); X+ else if (mWriteRequest && mWriteRequest->HasFailed()) X+ mWriteRequest->GetStatus(&mStatus); X+ X+ // X // If an error has occurred then move into the error state... X // X if (NS_FAILED(mStatus) && (NS_BASE_STREAM_WOULD_BLOCK != mStatus)) X@@ -495,17 +498,40 @@ X // Send status message X // only send a status if doResolveHost is going to do some X // resolution X- if (mStatus != NS_OK) X+ if (mStatus == NS_BASE_STREAM_WOULD_BLOCK) X OnStatus_Locked(NS_NET_STATUS_RESOLVING_HOST); X break; X X case eSocketState_WaitConnect: X LOG(("nsSocketTransport: Transport [host=%s:%d this=%x] is in WaitConnect state.\n", X mHostName, mPort, this)); X- mStatus = doConnection(aSelectFlags); X X // Send status message X OnStatus_Locked(NS_NET_STATUS_CONNECTING_TO); X+ X+ mStatus = doConnection(aSelectFlags); X+ X+ // on connection failure, reuse next address if one exists X+ if (mStatus == NS_ERROR_CONNECTION_REFUSED) { X+ mNetAddress = mNetAddrList.GetNext(mNetAddress); X+ if (mNetAddress) { X+#if defined(PR_LOGGING) X+ char buf[50]; X+ PR_NetAddrToString(mNetAddress, buf, sizeof(buf)); X+ LOG(("connection failed... trying %s\n", buf)); X+#endif X+ PR_Close(mSocketFD); X+ mSocketFD = nsnull; X+ X+ // mask error status so we'll return to this state X+ mStatus = NS_OK; X+ X+ // need to re-enter Process() asynchronously X+ mService->AddToWorkQ(this); X+ done = PR_TRUE; X+ continue; X+ } X+ } X break; X X case eSocketState_WaitReadWrite: X@@ -633,21 +659,19 @@ X X NS_ASSERTION(eSocketState_WaitDNS == mCurrentState, "Wrong state."); X X- LOG(("nsSocketTransport: Entering doResolveHost() [host=%s:%d this=%x].\n", X+ LOG(("nsSocketTransport: Entering doResolveHost() [host=%s:%d %x].\n", X mHostName, mPort, this)); X X+ // X+ // The hostname is being resolved... X+ // X+ if (mDNSRequest) X+ return NS_BASE_STREAM_WOULD_BLOCK; X+ X // X // The hostname has not been resolved yet... X // X- if (PR_IsNetAddrType(&mNetAddress, PR_IpAddrAny)) { X- // X- // Initialize the port used for the connection... X- // X- // XXX: The list of ports must be restricted - see net_bad_ports_table[] in X- // mozilla/network/main/mkconect.c X- // X- mNetAddress.ipv6.port = PR_htons(((mProxyPort != -1 && !mProxyTransparent) ? mProxyPort : mPort)); X- X+ if (mNetAddress == nsnull) { X PR_ExitMonitor(mMonitor); X X nsIDNSService* pDNSService = mService->GetCachedDNSService(); X@@ -659,9 +683,7 @@ X // Give up the SocketTransport lock. This allows the DNS thread to call the X // nsIDNSListener notifications without blocking... X // X- rv = pDNSService->Lookup((mProxyHost && !mProxyTransparent) ? mProxyHost : mHostName, X- this, X- nsnull, X+ rv = pDNSService->Lookup(GetSocketHost(), this, nsnull, X getter_AddRefs(mDNSRequest)); X // X // Aquire the SocketTransport lock again... X@@ -672,7 +694,7 @@ X // X // The DNS lookup has finished... It has either failed or succeeded. X // X- if (NS_FAILED(mStatus) || !PR_IsNetAddrType(&mNetAddress, PR_IpAddrAny)) { X+ if (NS_FAILED(mStatus) || mNetAddress) { X mDNSRequest = 0; X rv = mStatus; X } X@@ -687,10 +709,8 @@ X } X } X X- LOG(("nsSocketTransport: Leaving doResolveHost() [%s:%d %x].\t" X- "rv = %x.\n\n", X+ LOG(("nsSocketTransport: Leaving doResolveHost() [%s:%d %x] rv = %x\n", X mHostName, mPort, this, rv)); X- X return rv; X } X X@@ -832,7 +852,7 @@ X // This is only done the first time doConnection(...) is called. X // X if (NS_SUCCEEDED(rv)) { X- status = PR_Connect(mSocketFD, &mNetAddress, gConnectTimeout); X+ status = PR_Connect(mSocketFD, mNetAddress, gConnectTimeout); X if (PR_SUCCESS != status) { X PRErrorCode code = PR_GetError(); X // X@@ -932,14 +952,17 @@ X // X // The hostname has not been resolved yet... X // X- if (PR_IsNetAddrType(&mNetAddress, PR_IpAddrAny)) { X+ if (mNetAddress == nsnull) { X nsIDNSService* pDNSService = mService->GetCachedDNSService(); X if (!pDNSService) { X return NS_ERROR_UNEXPECTED; X } X X nsXPIDLCString result; X- const char *host = (mProxyHost && !mProxyTransparent) ? mProxyHost : mHostName; X+ const char *host = GetSocketHost(); X+ X+ // XXX DNS service does not provide a synchronous resolver that returns X+ // the entire nsHostEnt struct. X rv = pDNSService->Resolve(host, getter_Copies(result)); X if (NS_FAILED(rv)) return rv; X X@@ -953,16 +976,18 @@ X return NS_ERROR_FAILURE; X } X X+ mNetAddrList.Init(1); X+ mNetAddress = mNetAddrList.GetNext(nsnull); X+ X+ PR_SetNetAddr(PR_IpAddrAny, PR_AF_INET6, GetSocketPort(), mNetAddress); X+ X if (addr.raw.family == PR_AF_INET) X- PR_ConvertIPv4AddrToIPv6(addr.inet.ip, &mNetAddress.ipv6.ip); X+ PR_ConvertIPv4AddrToIPv6(addr.inet.ip, &mNetAddress->ipv6.ip); X else X- memcpy(&mNetAddress.ipv6.ip, &addr.ipv6.ip, sizeof(mNetAddress.ipv6.ip)); X- X- mNetAddress.ipv6.port X- = PR_htons(((mProxyPort != -1 && !mProxyTransparent) ? mProxyPort : mPort)); X+ memcpy(&mNetAddress->ipv6.ip, &addr.ipv6.ip, sizeof(mNetAddress->ipv6.ip)); X X LOG(("address { family=%hu, port=%hu }\n", X- mNetAddress.ipv6.family, PR_ntohs(mNetAddress.ipv6.port))); X+ mNetAddress->ipv6.family, PR_ntohs(mNetAddress->ipv6.port))); X } X X // X@@ -1036,7 +1061,6 @@ X if (mReadRequest) { X if (mReadRequest->IsCanceled() || (mBytesExpected == 0)) { X LOG(("nsSocketTransport: [this=%x] completing read request due to cancelation\n", this)); X- mSelectFlags &= ~PR_POLL_READ; X mReadRequest->GetStatus(&readStatus); X CompleteAsyncRead(); X if (NS_FAILED(readStatus)) X@@ -1078,7 +1102,6 @@ X if (mWriteRequest) { X if (mWriteRequest->IsCanceled()) { X LOG(("nsSocketTransport: [this=%x] completing write request due to cancelation\n", this)); X- mSelectFlags &= ~PR_POLL_WRITE; X mWriteRequest->GetStatus(&writeStatus); X CompleteAsyncWrite(); X if (NS_FAILED(writeStatus)) X@@ -1485,23 +1508,44 @@ X nsAutoMonitor mon(mMonitor); X nsresult rv = NS_OK; X X- if (aHostEnt->hostEnt.h_addr_list && aHostEnt->hostEnt.h_addr_list[0]) { X- if (aHostEnt->hostEnt.h_addrtype == PR_AF_INET6) X- memcpy(&mNetAddress.ipv6.ip, aHostEnt->hostEnt.h_addr_list[0], sizeof(mNetAddress.ipv6.ip)); X- else X- PR_ConvertIPv4AddrToIPv6(*(PRUint32*)aHostEnt->hostEnt.h_addr_list[0], &mNetAddress.ipv6.ip); X+ char **addrList = aHostEnt->hostEnt.h_addr_list; X+ X+ if (addrList && addrList[0]) { X+ PRUint32 len = 0; X+ X+ LOG(("nsSocketTransport::OnFound [%s:%d %x] lookup succeeded [FQDN=%s]\n", X+ mHostName, mPort, this, aHostEnt->hostEnt.h_name)); X+ X+ // determine the number of address in the list X+ for (; *addrList; ++addrList) X+ ++len; X+ addrList -= len; X+ X+ // allocate space for the addresses X+ mNetAddrList.Init(len); X+ X+ // populate the address list X+ PRNetAddr *addr = nsnull; X+ while ((addr = mNetAddrList.GetNext(addr)) != nsnull) { X+ PR_SetNetAddr(PR_IpAddrAny, PR_AF_INET6, GetSocketPort(), addr); X+ if (aHostEnt->hostEnt.h_addrtype == PR_AF_INET6) X+ memcpy(&addr->ipv6.ip, *addrList, sizeof(addr->ipv6.ip)); X+ else X+ PR_ConvertIPv4AddrToIPv6(*(PRUint32 *)(*addrList), &addr->ipv6.ip); X+ ++addrList; X #if defined(PR_LOGGING) X- char addrbuf[50]; X- PR_NetAddrToString(&mNetAddress, addrbuf, sizeof(addrbuf)); X- LOG(("nsSocketTransport: OnFound(...) [%s:%d %x]." X- " DNS lookup succeeded => %s (%s)\n", X- mHostName, mPort, this, X- aHostEnt->hostEnt.h_name, X- addrbuf)); X+ char buf[50]; X+ PR_NetAddrToString(addr, buf, sizeof(buf)); X+ LOG((" => %s\n", buf)); X #endif X- } else { X- // XXX: What should happen here? The GetHostByName(...) succeeded but X- // there are *no* A records... X+ } X+ X+ // start with first address in list X+ mNetAddress = mNetAddrList.GetNext(nsnull); X+ } X+ else { X+ // XXX: What should happen here? The DNS lookup succeeded, but there X+ // are no address records... X rv = NS_ERROR_FAILURE; X X LOG(("nsSocketTransport: OnFound(...) [%s:%d %x]." X@@ -1531,7 +1575,7 @@ X // If the lookup failed, set the status... X if (NS_FAILED(aStatus)) X mStatus = aStatus; X- else if (PR_IsNetAddrType(&mNetAddress, PR_IpAddrAny)) X+ else if (mNetAddress == nsnull) X mStatus = NS_ERROR_ABORT; X X // Start processing the transport again - if necessary... X@@ -1852,7 +1896,7 @@ X *_retval = (char*)nsMemory::Alloc(aLen); X if (!*_retval) return NS_ERROR_FAILURE; X X- PRStatus status = PR_NetAddrToString(&mNetAddress, *_retval, aLen); X+ PRStatus status = PR_NetAddrToString(mNetAddress, *_retval, aLen); X X if (PR_FAILURE == status) { X nsMemory::Free(*_retval); X@@ -1968,6 +2012,37 @@ X X if (--mSocketRef == 0) X CloseConnection(); X+} X+ X+// X+//---------------------------------------------------------------------------- X+// nsSocketTransport::nsNetAddrList X+//---------------------------------------------------------------------------- X+// X+ X+nsresult nsSocketTransport:: X+nsNetAddrList::Init(PRUint32 len) X+{ X+ NS_ASSERTION(!mList, "already initialized"); X+ mList = new PRNetAddr[len]; X+ if (!mList) X+ return NS_ERROR_OUT_OF_MEMORY; X+ mLen = len; X+ return NS_OK; X+} X+ X+PRNetAddr *nsSocketTransport:: X+nsNetAddrList::GetNext(PRNetAddr *addr) X+{ X+ if (!addr) X+ return mList; X+ X+ PRUint32 offset = addr - mList; X+ NS_ASSERTION(offset < mLen, "invalid address"); X+ if (offset + 1 < mLen) X+ return addr + 1; X+ X+ return nsnull; X } X X // END-of-mozilla-lite/files/patch-netwerk::base::src::nsSocketTransport.cpp echo x - mozilla-lite/files/patch-ak sed 's/^X//' >mozilla-lite/files/patch-ak << 'END-of-mozilla-lite/files/patch-ak' X X$FreeBSD: ports/www/mozilla/files/patch-ak,v 1.2 2002/02/05 17:24:00 sobomax Exp $ X X--- nsprpub/pr/include/md/_freebsd.h.orig Sat Jan 5 03:43:00 2002 X+++ nsprpub/pr/include/md/_freebsd.h Tue Feb 5 11:14:27 2002 X@@ -87,6 +88,12 @@ X X #define _PR_HAVE_SYSV_SEMAPHORES X #define PR_HAVE_SYSV_NAMED_SHARED_MEMORY X+ X+#if __FreeBSD_version >= 400014 X+#define _PR_INET6 X+#define _PR_HAVE_GETHOSTBYNAME2 X+#define _PR_INET6_PROBE X+#endif X X #define USE_SETJMP X END-of-mozilla-lite/files/patch-ak echo x - mozilla-lite/distinfo sed 's/^X//' >mozilla-lite/distinfo << 'END-of-mozilla-lite/distinfo' XMD5 (mozilla-source-0.9.8.tar.bz2) = 17026a0dee5dd55932316dc93faa3fbb END-of-mozilla-lite/distinfo echo x - mozilla-lite/pkg-descr sed 's/^X//' >mozilla-lite/pkg-descr << 'END-of-mozilla-lite/pkg-descr' XThis is the open source web browser, which forms the basis for XNetscape Navigator 6. It should be fully compliant with all W3C Xstandards, including HTML, CSS, XML, XSL, JavaScript, MathML, XSVG and RDF. This version also supports SSL encryption, but Xdoes not yet support Java. X XWhile the code is officially still in pre-release, the browser Xis mostly stable, and does a good job displaying most pages on Xthe web. Mail and News also work, and provide some interesting Xfeatures, such as the ability to check multiple POP3 servers. X XTesters are most welcome, but should submit bug reports about Xthe browser itself to mozilla.org (http://bugzilla.mozilla.org/) Xrather than via FreeBSD. X X XWWW: http://www.mozilla.org/ END-of-mozilla-lite/pkg-descr echo x - mozilla-lite/pkg-plist sed 's/^X//' >mozilla-lite/pkg-plist << 'END-of-mozilla-lite/pkg-plist' Xbin/mozilla Xlib/mozilla/TestGtkEmbed Xlib/mozilla/TestGtkEmbedChild Xlib/mozilla/TestGtkEmbedNotebook Xlib/mozilla/TestGtkEmbedSocket Xlib/mozilla/bloaturls.txt Xlib/mozilla/chrome/US.jar Xlib/mozilla/chrome/chromelist.txt Xlib/mozilla/chrome/classic.jar Xlib/mozilla/chrome/comm.jar Xlib/mozilla/chrome/content-packs.jar Xlib/mozilla/chrome/embed-sample.jar Xlib/mozilla/chrome/en-US.jar Xlib/mozilla/chrome/en-mac.jar Xlib/mozilla/chrome/en-unix.jar Xlib/mozilla/chrome/en-win.jar Xlib/mozilla/chrome/forms.jar Xlib/mozilla/chrome/help.jar Xlib/mozilla/chrome/inspector.jar Xlib/mozilla/chrome/installed-chrome.txt Xlib/mozilla/chrome/modern.jar Xlib/mozilla/chrome/overlayinfo/communicator/content/overlays.rdf Xlib/mozilla/chrome/overlayinfo/inspector/content/overlays.rdf Xlib/mozilla/chrome/overlayinfo/messenger/content/overlays.rdf Xlib/mozilla/chrome/overlayinfo/navigator/content/overlays.rdf Xlib/mozilla/chrome/pipnss.jar Xlib/mozilla/chrome/pippki.jar Xlib/mozilla/chrome/toolkit.jar Xlib/mozilla/components/accessibility.xpt Xlib/mozilla/components/appshell.xpt Xlib/mozilla/components/autocomplete.xpt Xlib/mozilla/components/autoconfig.xpt Xlib/mozilla/components/bookmarks.xpt Xlib/mozilla/components/caps.xpt Xlib/mozilla/components/chardet.xpt Xlib/mozilla/components/chrome.xpt Xlib/mozilla/components/content.xpt Xlib/mozilla/components/content_base.xpt Xlib/mozilla/components/content_xsl.xpt Xlib/mozilla/components/cookie.xpt Xlib/mozilla/components/directory.xpt Xlib/mozilla/components/docshell.xpt Xlib/mozilla/components/dom.xpt Xlib/mozilla/components/dom_base.xpt Xlib/mozilla/components/dom_core.xpt Xlib/mozilla/components/dom_css.xpt Xlib/mozilla/components/dom_events.xpt Xlib/mozilla/components/dom_html.xpt Xlib/mozilla/components/dom_range.xpt Xlib/mozilla/components/dom_stylesheets.xpt Xlib/mozilla/components/dom_traversal.xpt Xlib/mozilla/components/dom_views.xpt Xlib/mozilla/components/dom_xbl.xpt Xlib/mozilla/components/dom_xul.xpt Xlib/mozilla/components/editor.xpt Xlib/mozilla/components/embed_base.xpt Xlib/mozilla/components/exthandler.xpt Xlib/mozilla/components/filepicker.xpt Xlib/mozilla/components/find.xpt Xlib/mozilla/components/gfx.xpt Xlib/mozilla/components/gfx2.xpt Xlib/mozilla/components/helperAppDlg.xpt Xlib/mozilla/components/history.xpt Xlib/mozilla/components/htmlparser.xpt Xlib/mozilla/components/imglib2.xpt Xlib/mozilla/components/inspector.xpt Xlib/mozilla/components/intl.xpt Xlib/mozilla/components/jar.xpt Xlib/mozilla/components/jsconsole-clhandler.js Xlib/mozilla/components/jsconsole.xpt Xlib/mozilla/components/jsurl.xpt Xlib/mozilla/components/layout_base.xpt Xlib/mozilla/components/layout_xul.xpt Xlib/mozilla/components/layout_xul_outliner.xpt Xlib/mozilla/components/libaccessibility.so Xlib/mozilla/components/libappcomps.so Xlib/mozilla/components/libautoconfig.so Xlib/mozilla/components/libcaps.so Xlib/mozilla/components/libchardet.so Xlib/mozilla/components/libchrome.so Xlib/mozilla/components/libcomposer.so Xlib/mozilla/components/libcookie.so Xlib/mozilla/components/libdocshell.so Xlib/mozilla/components/libeditor.so Xlib/mozilla/components/libembedcomponents.so Xlib/mozilla/components/libfileview.so Xlib/mozilla/components/libgfx2.so Xlib/mozilla/components/libgfx_gtk.so Xlib/mozilla/components/libgfxps.so Xlib/mozilla/components/libgfxxprint.so Xlib/mozilla/components/libgkcontent.so Xlib/mozilla/components/libgklayout.so Xlib/mozilla/components/libgkplugin.so Xlib/mozilla/components/libgkview.so Xlib/mozilla/components/libhtmlpars.so Xlib/mozilla/components/libimgbmp.so Xlib/mozilla/components/libimggif.so Xlib/mozilla/components/libimgjpeg.so Xlib/mozilla/components/libimglib2.so Xlib/mozilla/components/libimgmng.so Xlib/mozilla/components/libimgpng.so Xlib/mozilla/components/libimgppm.so Xlib/mozilla/components/libinspector.so Xlib/mozilla/components/libjar50.so Xlib/mozilla/components/libjsdom.so Xlib/mozilla/components/libjsloader.so Xlib/mozilla/components/libjsurl.so Xlib/mozilla/components/liblwbrk.so Xlib/mozilla/components/libmork.so Xlib/mozilla/components/libmozbrwsr.so Xlib/mozilla/components/libmozfind.so Xlib/mozilla/components/libmozxfer.so Xlib/mozilla/components/libnecko.so Xlib/mozilla/components/libnecko2.so Xlib/mozilla/components/libnkcache.so Xlib/mozilla/components/libnsappshell.so Xlib/mozilla/components/libnslocale.so Xlib/mozilla/components/libnsprefm.so Xlib/mozilla/components/liboji.so Xlib/mozilla/components/libpipboot.so Xlib/mozilla/components/libpipnss.so Xlib/mozilla/components/libpippki.so Xlib/mozilla/components/libpref.so Xlib/mozilla/components/libprofile.so Xlib/mozilla/components/librdf.so Xlib/mozilla/components/libregviewer.so Xlib/mozilla/components/libshistory.so Xlib/mozilla/components/libstrres.so Xlib/mozilla/components/libtransformiix.so Xlib/mozilla/components/libtxmgr.so Xlib/mozilla/components/libtxtsvc.so Xlib/mozilla/components/libuconv.so Xlib/mozilla/components/libucvcn.so Xlib/mozilla/components/libucvibm.so Xlib/mozilla/components/libucvja.so Xlib/mozilla/components/libucvko.so Xlib/mozilla/components/libucvlatin.so Xlib/mozilla/components/libucvtw.so Xlib/mozilla/components/libucvtw2.so Xlib/mozilla/components/libunicharutil.so Xlib/mozilla/components/liburiloader.so Xlib/mozilla/components/libwallet.so Xlib/mozilla/components/libwalletviewers.so Xlib/mozilla/components/libwebbrwsr.so Xlib/mozilla/components/libwidget_gtk.so Xlib/mozilla/components/libxmlextras.so Xlib/mozilla/components/libxpconnect.so Xlib/mozilla/components/libxpinstall.so Xlib/mozilla/components/libxremote_client.so Xlib/mozilla/components/libxremoteservice.so Xlib/mozilla/components/locale.xpt Xlib/mozilla/components/mimetype.xpt Xlib/mozilla/components/mozbrwsr.xpt Xlib/mozilla/components/mozfind.xpt Xlib/mozilla/components/mozxfer.xpt Xlib/mozilla/components/necko.xpt Xlib/mozilla/components/necko_about.xpt Xlib/mozilla/components/necko_cache.xpt Xlib/mozilla/components/necko_data.xpt Xlib/mozilla/components/necko_dns.xpt Xlib/mozilla/components/necko_ftp.xpt Xlib/mozilla/components/necko_http.xpt Xlib/mozilla/components/necko_jar.xpt Xlib/mozilla/components/necko_res.xpt Xlib/mozilla/components/necko_socket.xpt Xlib/mozilla/components/necko_strconv.xpt Xlib/mozilla/components/necko_viewsource.xpt Xlib/mozilla/components/nsDictionary.js Xlib/mozilla/components/nsFilePicker.js Xlib/mozilla/components/nsHelperAppDlg.js Xlib/mozilla/components/nsProxyAutoConfig.js Xlib/mozilla/components/nsSidebar.js Xlib/mozilla/components/nsXmlRpcClient.js Xlib/mozilla/components/oji.xpt Xlib/mozilla/components/pipboot.xpt Xlib/mozilla/components/pipnss.xpt Xlib/mozilla/components/pippki.xpt Xlib/mozilla/components/plugin.xpt Xlib/mozilla/components/pref.xpt Xlib/mozilla/components/prefmigr.xpt Xlib/mozilla/components/profile.xpt Xlib/mozilla/components/proxyObjInst.xpt Xlib/mozilla/components/rdf.xpt Xlib/mozilla/components/regviewer.xpt Xlib/mozilla/components/related.xpt Xlib/mozilla/components/search.xpt Xlib/mozilla/components/shistory.xpt Xlib/mozilla/components/sidebar.xpt Xlib/mozilla/components/signonviewer.xpt Xlib/mozilla/components/transformiix.xpt Xlib/mozilla/components/txmgr.xpt Xlib/mozilla/components/txtsvc.xpt Xlib/mozilla/components/uconv.xpt Xlib/mozilla/components/unicharutil.xpt Xlib/mozilla/components/uriloader.xpt Xlib/mozilla/components/urlbarhistory.xpt Xlib/mozilla/components/util.xpt Xlib/mozilla/components/wallet.xpt Xlib/mozilla/components/walleteditor.xpt Xlib/mozilla/components/walletpreview.xpt Xlib/mozilla/components/webBrowser_core.xpt Xlib/mozilla/components/webbrowserpersist.xpt Xlib/mozilla/components/webshell_idls.xpt Xlib/mozilla/components/widget.xpt Xlib/mozilla/components/windowwatcher.xpt Xlib/mozilla/components/xml-rpc.xpt Xlib/mozilla/components/xmlextras.xpt Xlib/mozilla/components/xpcom_base.xpt Xlib/mozilla/components/xpcom_components.xpt Xlib/mozilla/components/xpcom_ds.xpt Xlib/mozilla/components/xpcom_io.xpt Xlib/mozilla/components/xpcom_threads.xpt Xlib/mozilla/components/xpcom_xpti.xpt Xlib/mozilla/components/xpconnect.xpt Xlib/mozilla/components/xpinstall.xpt Xlib/mozilla/components/xremoteservice.xpt Xlib/mozilla/components/xuldoc.xpt Xlib/mozilla/components/xultmpl.xpt Xlib/mozilla/defaults/autoconfig/prefcalls.js Xlib/mozilla/defaults/pref/all.js Xlib/mozilla/defaults/pref/config.js Xlib/mozilla/defaults/pref/editor.js Xlib/mozilla/defaults/pref/initpref.js Xlib/mozilla/defaults/pref/inspector.js Xlib/mozilla/defaults/pref/mailnews.js Xlib/mozilla/defaults/pref/security-prefs.js Xlib/mozilla/defaults/pref/unix.js Xlib/mozilla/defaults/pref/xpinstall.js Xlib/mozilla/defaults/profile/US/bookmarks.html Xlib/mozilla/defaults/profile/US/chrome/userChrome-example.css Xlib/mozilla/defaults/profile/US/chrome/userContent-example.css Xlib/mozilla/defaults/profile/US/localstore.rdf Xlib/mozilla/defaults/profile/US/mimeTypes.rdf Xlib/mozilla/defaults/profile/US/panels.rdf Xlib/mozilla/defaults/profile/US/search.rdf Xlib/mozilla/defaults/profile/bookmarks.html Xlib/mozilla/defaults/profile/chrome/userChrome-example.css Xlib/mozilla/defaults/profile/chrome/userContent-example.css Xlib/mozilla/defaults/profile/localstore.rdf Xlib/mozilla/defaults/profile/mimeTypes.rdf Xlib/mozilla/defaults/profile/panels.rdf Xlib/mozilla/defaults/profile/search.rdf Xlib/mozilla/defaults/wallet/DistinguishedSchema.tbl Xlib/mozilla/defaults/wallet/FieldSchema.tbl Xlib/mozilla/defaults/wallet/PositionalSchema.tbl Xlib/mozilla/defaults/wallet/SchemaConcat.tbl Xlib/mozilla/defaults/wallet/SchemaStrings.tbl Xlib/mozilla/defaults/wallet/StateSchema.tbl Xlib/mozilla/defaults/wallet/VcardSchema.tbl Xlib/mozilla/icons/mozicon16.xpm Xlib/mozilla/icons/mozicon50.xpm Xlib/mozilla/libgkgfx.so Xlib/mozilla/libgtkembedmoz.so Xlib/mozilla/libgtksuperwin.so Xlib/mozilla/libgtkxtbin.so Xlib/mozilla/libjsj.so Xlib/mozilla/libmozjs.so Xlib/mozilla/libnspr4.so Xlib/mozilla/libnssckbi.so Xlib/mozilla/libnullplugin.so Xlib/mozilla/libplc4.so Xlib/mozilla/libplds4.so Xlib/mozilla/libxlibrgb.so Xlib/mozilla/libxpcom.so Xlib/mozilla/libxpistub.so Xlib/mozilla/mozilla Xlib/mozilla/mozilla-bin Xlib/mozilla/mozilla-config Xlib/mozilla/mozilla-xremote-client Xlib/mozilla/nsinstall Xlib/mozilla/plugins/libnullplugin.so Xlib/mozilla/regExport Xlib/mozilla/regchrome Xlib/mozilla/regxpcom Xlib/mozilla/res/arrow.gif Xlib/mozilla/res/broken-image.gif Xlib/mozilla/res/builtin/htmlBindings.xml Xlib/mozilla/res/builtin/platformHTMLBindings.xml Xlib/mozilla/res/builtin/xbl-forms.css Xlib/mozilla/res/charsetData.properties Xlib/mozilla/res/charsetalias.properties Xlib/mozilla/res/cmessage.txt Xlib/mozilla/res/entityTables/html40Latin1.properties Xlib/mozilla/res/entityTables/html40Special.properties Xlib/mozilla/res/entityTables/html40Symbols.properties Xlib/mozilla/res/entityTables/htmlEntityVersions.properties Xlib/mozilla/res/entityTables/transliterate.properties Xlib/mozilla/res/forms.css Xlib/mozilla/res/gfx/icon_0.gif Xlib/mozilla/res/gfx/icon_1.gif Xlib/mozilla/res/html.css Xlib/mozilla/res/html/gopher-audio.gif Xlib/mozilla/res/html/gopher-binary.gif Xlib/mozilla/res/html/gopher-find.gif Xlib/mozilla/res/html/gopher-image.gif Xlib/mozilla/res/html/gopher-menu.gif Xlib/mozilla/res/html/gopher-movie.gif Xlib/mozilla/res/html/gopher-telnet.gif Xlib/mozilla/res/html/gopher-text.gif Xlib/mozilla/res/html/gopher-unknown.gif Xlib/mozilla/res/inspector/search-registry.rdf Xlib/mozilla/res/inspector/viewer-registry.rdf Xlib/mozilla/res/langGroups.properties Xlib/mozilla/res/language.properties Xlib/mozilla/res/loading-image.gif Xlib/mozilla/res/quirk.css Xlib/mozilla/res/rdf/article.gif Xlib/mozilla/res/rdf/document.gif Xlib/mozilla/res/rdf/dom-test-1.xul Xlib/mozilla/res/rdf/dom-test-2.xul Xlib/mozilla/res/rdf/dom-test-3.xul Xlib/mozilla/res/rdf/dom-test-4.css Xlib/mozilla/res/rdf/dom-test-4.xul Xlib/mozilla/res/rdf/dom-test-5.xul Xlib/mozilla/res/rdf/dom-test-6.xul Xlib/mozilla/res/rdf/dom-test-7.xul Xlib/mozilla/res/rdf/dom-test-8.xul Xlib/mozilla/res/rdf/folder-closed.gif Xlib/mozilla/res/rdf/folder-open.gif Xlib/mozilla/res/rdf/ignore-test.xul Xlib/mozilla/res/rdf/loading.gif Xlib/mozilla/res/rdf/xpidl-test-1.xul Xlib/mozilla/res/sample.unixpsfonts.properties Xlib/mozilla/res/samples/Anieyes.gif Xlib/mozilla/res/samples/aform.css Xlib/mozilla/res/samples/beeptest.html Xlib/mozilla/res/samples/bform.css Xlib/mozilla/res/samples/bg.jpg Xlib/mozilla/res/samples/cform.css Xlib/mozilla/res/samples/checkboxTest.xul Xlib/mozilla/res/samples/colorpicker.xul Xlib/mozilla/res/samples/demoform.css Xlib/mozilla/res/samples/dexopenchrome.xul Xlib/mozilla/res/samples/dexparamdialog.html Xlib/mozilla/res/samples/dexparamdialog.xul Xlib/mozilla/res/samples/find.html Xlib/mozilla/res/samples/gear1.gif Xlib/mozilla/res/samples/hidetoolicon.css Xlib/mozilla/res/samples/hidetoolicon.xul Xlib/mozilla/res/samples/image_props.html Xlib/mozilla/res/samples/mozform.css Xlib/mozilla/res/samples/printsetup.html Xlib/mozilla/res/samples/raptor.jpg Xlib/mozilla/res/samples/rock_gra.gif Xlib/mozilla/res/samples/sampleimages/bongo.gif Xlib/mozilla/res/samples/sampleimages/down.gif Xlib/mozilla/res/samples/sampleimages/left.gif Xlib/mozilla/res/samples/sampleimages/right.gif Xlib/mozilla/res/samples/sampleimages/up.gif Xlib/mozilla/res/samples/scrollbarTest1.xul Xlib/mozilla/res/samples/scrollbarTest2.xul Xlib/mozilla/res/samples/sliderTest1.xul Xlib/mozilla/res/samples/soundtest.html Xlib/mozilla/res/samples/tab.xul Xlib/mozilla/res/samples/test.wav Xlib/mozilla/res/samples/test0.html Xlib/mozilla/res/samples/test1.html Xlib/mozilla/res/samples/test10.html Xlib/mozilla/res/samples/test11.html Xlib/mozilla/res/samples/test12.html Xlib/mozilla/res/samples/test13.html Xlib/mozilla/res/samples/test14.html Xlib/mozilla/res/samples/test15.html Xlib/mozilla/res/samples/test16.html Xlib/mozilla/res/samples/test2.html Xlib/mozilla/res/samples/test3.html Xlib/mozilla/res/samples/test4.html Xlib/mozilla/res/samples/test5.html Xlib/mozilla/res/samples/test6.html Xlib/mozilla/res/samples/test7.html Xlib/mozilla/res/samples/test8-1.html Xlib/mozilla/res/samples/test8.html Xlib/mozilla/res/samples/test8dom.html Xlib/mozilla/res/samples/test8sca.html Xlib/mozilla/res/samples/test8siz.html Xlib/mozilla/res/samples/test8tab.html Xlib/mozilla/res/samples/test9.html Xlib/mozilla/res/samples/test9a.html Xlib/mozilla/res/samples/test9b.html Xlib/mozilla/res/samples/test_ed.html Xlib/mozilla/res/samples/test_form.html Xlib/mozilla/res/samples/test_gfx.html Xlib/mozilla/res/samples/test_lbox.html Xlib/mozilla/res/samples/test_pr.html Xlib/mozilla/res/samples/test_weight.html Xlib/mozilla/res/samples/toolbarTest1.xul Xlib/mozilla/res/samples/treeTest1.css Xlib/mozilla/res/samples/treeTest1.xul Xlib/mozilla/res/samples/widgets.xul Xlib/mozilla/res/samples/xpmenu.xul Xlib/mozilla/res/samples/xulTest.css Xlib/mozilla/res/throbber/anim.gif Xlib/mozilla/res/throbber/anims00.gif Xlib/mozilla/res/throbber/anims01.gif Xlib/mozilla/res/throbber/anims02.gif Xlib/mozilla/res/throbber/anims03.gif Xlib/mozilla/res/throbber/anims04.gif Xlib/mozilla/res/throbber/anims05.gif Xlib/mozilla/res/throbber/anims06.gif Xlib/mozilla/res/throbber/anims07.gif Xlib/mozilla/res/throbber/anims08.gif Xlib/mozilla/res/throbber/anims09.gif Xlib/mozilla/res/throbber/anims10.gif Xlib/mozilla/res/throbber/anims11.gif Xlib/mozilla/res/throbber/anims12.gif Xlib/mozilla/res/throbber/anims13.gif Xlib/mozilla/res/throbber/anims14.gif Xlib/mozilla/res/throbber/anims15.gif Xlib/mozilla/res/throbber/anims16.gif Xlib/mozilla/res/throbber/anims17.gif Xlib/mozilla/res/throbber/anims18.gif Xlib/mozilla/res/throbber/anims19.gif Xlib/mozilla/res/throbber/anims20.gif Xlib/mozilla/res/throbber/anims21.gif Xlib/mozilla/res/throbber/anims22.gif Xlib/mozilla/res/throbber/anims23.gif Xlib/mozilla/res/throbber/anims24.gif Xlib/mozilla/res/throbber/anims25.gif Xlib/mozilla/res/throbber/anims26.gif Xlib/mozilla/res/throbber/anims27.gif Xlib/mozilla/res/throbber/anims28.gif Xlib/mozilla/res/throbber/anims29.gif Xlib/mozilla/res/ua.css Xlib/mozilla/res/unixcharset.properties Xlib/mozilla/res/viewer.properties Xlib/mozilla/res/viewsource.css Xlib/mozilla/run-mozilla.sh Xlib/mozilla/searchplugins/NetscapeSearch.gif Xlib/mozilla/searchplugins/NetscapeSearch.src Xlib/mozilla/searchplugins/bugzilla.gif Xlib/mozilla/searchplugins/bugzilla.src Xlib/mozilla/searchplugins/dmoz.gif Xlib/mozilla/searchplugins/dmoz.src Xlib/mozilla/searchplugins/google.gif Xlib/mozilla/searchplugins/google.src Xlib/mozilla/searchplugins/lxrmozilla.gif Xlib/mozilla/searchplugins/lxrmozilla.src Xlib/mozilla/searchplugins/mozilla.gif Xlib/mozilla/searchplugins/mozilla.src Xlib/mozilla/xpcshell Xlib/mozilla/xpicleanup Xlib/mozilla/xpidl Xlib/mozilla/xpt_dump Xlib/mozilla/xpt_link X@unexec rm %D/lib/mozilla/chrome/chrome.rdf X@unexec rm %D/lib/mozilla/component.reg X@unexec rm %D/lib/mozilla/components/xpti.dat X@dirrm lib/mozilla/searchplugins X@dirrm lib/mozilla/res/throbber X@dirrm lib/mozilla/res/samples/sampleimages X@dirrm lib/mozilla/res/samples X@dirrm lib/mozilla/res/rdf X@dirrm lib/mozilla/res/inspector X@dirrm lib/mozilla/res/html X@dirrm lib/mozilla/res/gfx X@dirrm lib/mozilla/res/entityTables X@dirrm lib/mozilla/res/builtin X@dirrm lib/mozilla/res X@dirrm lib/mozilla/plugins X@dirrm lib/mozilla/icons X@dirrm lib/mozilla/defaults/wallet X@dirrm lib/mozilla/defaults/profile/chrome X@dirrm lib/mozilla/defaults/profile/US/chrome X@dirrm lib/mozilla/defaults/profile/US X@dirrm lib/mozilla/defaults/profile X@dirrm lib/mozilla/defaults/pref X@dirrm lib/mozilla/defaults/autoconfig X@dirrm lib/mozilla/defaults X@dirrm lib/mozilla/components X@dirrm lib/mozilla/chrome/overlayinfo/navigator/content X@dirrm lib/mozilla/chrome/overlayinfo/navigator X@dirrm lib/mozilla/chrome/overlayinfo/messenger/content X@dirrm lib/mozilla/chrome/overlayinfo/messenger X@dirrm lib/mozilla/chrome/overlayinfo/inspector/content X@dirrm lib/mozilla/chrome/overlayinfo/inspector X@dirrm lib/mozilla/chrome/overlayinfo/communicator/content X@dirrm lib/mozilla/chrome/overlayinfo/communicator X@dirrm lib/mozilla/chrome/overlayinfo X@dirrm lib/mozilla/chrome X@dirrm lib/mozilla END-of-mozilla-lite/pkg-plist echo x - mozilla-lite/pkg-comment sed 's/^X//' >mozilla-lite/pkg-comment << 'END-of-mozilla-lite/pkg-comment' XThe open source, standards compliant web browser END-of-mozilla-lite/pkg-comment echo x - mozilla-lite/Makefile sed 's/^X//' >mozilla-lite/Makefile << 'END-of-mozilla-lite/Makefile' X# New ports collection makefile for: mozilla X# Date created: 31 Mar 1998 X# Whom: eivind/dima/jseger X# X# $FreeBSD: ports/www/mozilla/Makefile,v 1.76 2002/01/03 12:09:51 sobomax Exp $ X# X XPORTNAME= mozilla XPORTVERSION= 0.9.8 XPKGNAMESUFFIX= -lite XCATEGORIES= www XMASTER_SITES= ${MASTER_SITE_MOZILLA} XMASTER_SITE_SUBDIR= mozilla/releases/${PORTNAME}${PORTVERSION:S/M/m/}/src XDISTNAME= ${PORTNAME}-source-${PORTVERSION} X XMAINTAINER= gnome@FreeBSD.org X XBUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip XLIB_DEPENDS= ORBit.2:${PORTSDIR}/devel/ORBit \ X jpeg.9:${PORTSDIR}/graphics/jpeg \ X png.5:${PORTSDIR}/graphics/png \ X mng.1:${PORTSDIR}/graphics/libmng \ X gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf X XWRKSRC= ${WRKDIR}/${PORTNAME} X XUSE_BZIP2= yes XEXTRACT_AFTER_ARGS= | tar -xf - -X ${FILESDIR}/tar-exclude XUSE_X_PREFIX= yes XUSE_PERL5= yes XUSE_GMAKE= yes XUSE_GTK= yes XGNU_CONFIGURE= yes XCONFIGURE_ARGS= \ X --disable-auto-deps \ X --enable-chrome-format=jar \ X --disable-cpp-exceptions \ X --disable-cpp-rtti \ X --enable-crypto \ X --disable-debug \ X --enable-default-toolkit=gtk \ X --enable-double-buffer \ X --disable-dtd-debug \ X --disable-jsd \ X --disable-ldap \ X --disable-mailnews \ X --disable-mathml \ X --disable-md \ X --enable-optimize="-O3 -ffast-math" \ X --disable-pedantic \ X --disable-plaintext-editor-only \ X --enable-reorder \ X --enable-strip \ X --disable-svg \ X --disable-tests \ X --disable-xterm-updates \ X --enable-xinerama \ X --with-system-jpeg=${LOCALBASE} \ X --with-system-mng=${LOCALBASE} \ X --with-system-png=${LOCALBASE} \ X --with-pthreads XMAKE_ENV= LD_LIBRARY_PATH=${WRKSRC}/dist/bin XALL_TARGET= default X Xpost-build: X ${SED} -e "s;@PREFIX@;${PREFIX};g" \ X ${FILESDIR}/mozilla.sh >${WRKSRC}/mozilla X (cd ${WRKSRC}/dist/bin; \ X ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \ X ${ECHO_CMD} skin,install,select,classic/1.0 >> chrome/installed-chrome.txt; \ X ${ECHO_CMD} locale,install,select,en-US >> chrome/installed-chrome.txt; \ X ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome) X ${FIND} ${WRKSRC}/dist/bin -type d | /usr/bin/sort -r | \ X ${XARGS} ${RMDIR} 2> /dev/null || ${TRUE} X Xdo-install: X ${MKDIR} ${PREFIX}/lib/mozilla X ${CHMOD} 755 ${PREFIX}/lib/mozilla X cd ${WRKSRC}/dist/bin && ${TAR} -chf - . | \ X ${TAR} -xf - -C ${PREFIX}/lib/mozilla X ${INSTALL_SCRIPT} ${WRKSRC}/mozilla ${PREFIX}/bin X X.include END-of-mozilla-lite/Makefile exit # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # xscreensaver-gnome # xscreensaver-gnome/Makefile # echo c - xscreensaver-gnome mkdir -p xscreensaver-gnome > /dev/null 2>&1 echo x - xscreensaver-gnome/Makefile sed 's/^X//' >xscreensaver-gnome/Makefile << 'END-of-xscreensaver-gnome/Makefile' X# New ports collection makefile for: xscreensaver-gnome X# Date created: 13th February 2002 X# Whom: Ade Lovett X# X# $FreeBSD$ X# X XCATEGORIES= x11 gnome X XMAINTAINER= gnome@FreeBSD.org X XMASTERDIR= ${.CURDIR}/../xscreensaver X XWITH_GNOME= yes X#WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} X X.include "${MASTERDIR}/Makefile" END-of-xscreensaver-gnome/Makefile exit