head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.98 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.96 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.94 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.92 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.90 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.88 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.86 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.84 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.82 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.80 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.78 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.76 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.74 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.72 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.70 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.68 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.66 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.64 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.62 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.60 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.58 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.56 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.54 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.50 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.30 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.52 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.48 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.46 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.44 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.42 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.40 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.38 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.36 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.34 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.32 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.28 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.26 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.24 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.22 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.20 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.18 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.16 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.14 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.12 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.10 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.8 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.6 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.4 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.2 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.4.0.28 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.26 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.24 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.22 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.20 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.18 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.16 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.14 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.12 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.10 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.8 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.6 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.4 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.2 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.3.0.10 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.8 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.6 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.4 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.2 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.2.0.10 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.8 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.6 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.4 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.2 pkgsrc-2008Q2-base:1.2 cwrapper:1.1.0.10 pkgsrc-2008Q1:1.1.0.8 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.6 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.4 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.2 pkgsrc-2007Q2-base:1.1; locks; strict; comment @# @; 1.5 date 2014.02.02.20.20.50; author wiz; state Exp; branches; next 1.4; commitid 3pIaAoNhNnR79znx; 1.4 date 2010.09.16.12.02.16; author wiz; state Exp; branches; next 1.3; 1.3 date 2009.04.28.13.01.39; author hasso; state Exp; branches; next 1.2; 1.2 date 2008.07.13.16.14.00; author tonnerre; state Exp; branches; next 1.1; 1.1 date 2007.05.13.06.14.38; author darcy; state Exp; branches; next ; desc @@ 1.5 log @Enable large file support on NetBSD. @ text @$NetBSD: patch-ac,v 1.4 2010/09/16 12:02:16 wiz Exp $ --- vobcopy.h.orig 2009-06-08 20:15:39.000000000 +0000 +++ vobcopy.h @@@@ -54,7 +54,11 @@@@ #include #include +#ifdef FALSE +typedef int bool; +#else typedef enum { FALSE=0, TRUE=1 } bool; +#endif # if ( _FILE_OFFSET_BITS == 64 ) #define HAS_LARGEFILE 1 @@@@ -67,7 +71,6 @@@@ typedef enum { FALSE=0, TRUE=1 } bool; /*#define off_t __off64_t THIS HERE BREAKS OSX 10.5 */ /* ////////// *BSD ////////// */ -#if ( defined( BSD ) && ( BSD >= 199306 ) ) #if !defined( __NetBSD__ ) || \ ( defined( __NetBSD__) && ( __NetBSD_Version__ < 200040000 ) ) @@@@ -100,20 +103,27 @@@@ typedef enum { FALSE=0, TRUE=1 } bool; #define GETMNTINFO_USES_STATVFS # endif -#endif #if defined(__FreeBSD__) #define USE_STATFS_FOR_DEV #include -#else +#elif !defined(__DragonFly__) && !defined(__NetBSD__) #include #endif -# if !defined(OpenBSD) +#if defined(__NetBSD__) && !defined(O_LARGEFILE) +#define O_LARGEFILE 0 +#endif + +# if !defined(OpenBSD) && defined(O_LARGEFILE) #define HAS_LARGEFILE 1 #endif +#ifdef FALSE +typedef int bool; +#else typedef enum { FALSE=0, TRUE=1 } bool; +#endif #else /* *BSD */ @@@@ -134,8 +144,10 @@@@ typedef enum { FALSE=0, TRUE=1 } bool; #define GETMNTINFO_USES_STATFS 1 #define USE_GETMNTINFO 1 +#ifndef FALSE #define FALSE 0 #define TRUE 1 +#endif typedef int bool; # endif @@@@ -163,7 +175,11 @@@@ typedef int bool; #define HAVE_GETOPT_LONG 1 #define HAS_LARGEFILE 1 +#ifdef FALSE +typedef int bool; +#else typedef enum { FALSE=0, TRUE=1 } bool; +#endif #elif defined( __GLIBC__ ) @@@@ -174,13 +190,21 @@@@ typedef int bool; #define HAVE_GETOPT_LONG 1 #define HAS_LARGEFILE 1 +#ifdef FALSE +typedef int bool; +#else typedef enum { FALSE=0, TRUE=1 } bool; +#endif #else /* ////////// For other cases ////////// */ +#ifdef FALSE +typedef int bool; +#else typedef enum { FALSE=0, TRUE=1 } bool; +#endif #if defined( __USE_FILE_OFFSET64 ) # define HAS_LARGEFILE 1 @@@@ -232,6 +256,6 @@@@ char *safestrncpy(char *dest, const char int check_progress( void ); /* this can be removed because the one below supersedes it */ int progressUpdate( int starttime, int cur, int tot, int force ); -#if defined(__APPLE__) && defined(__GNUC__) +#if (defined(__APPLE__) && defined(__GNUC__)) || defined(__DragonFly__) int fdatasync( int value ); #endif @ 1.4 log @Update to 1.2.0: 1.2.0: Some new features! -Progress bar and speed enhancements/system load reduction coming with it - many thanks to Eric Kilfoil! -Vobcopy can now "rip" from an iso image on hdd or a directory containing a VIDEO_TS directory. People seem to need this for streaming dvd content to a ps3 via fuppes. That part seem to be buggy though, works 50/50. Will look further into that. -Option -M to rip the title with the longest playing time. -Other small corrections I think. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2009/04/28 13:01:39 hasso Exp $ d25 1 a25 1 @@@@ -100,20 +103,23 @@@@ typedef enum { FALSE=0, TRUE=1 } bool; d40 4 d56 1 a56 1 @@@@ -134,8 +140,10 @@@@ typedef enum { FALSE=0, TRUE=1 } bool; d67 1 a67 1 @@@@ -163,7 +171,11 @@@@ typedef int bool; d79 1 a79 1 @@@@ -174,13 +186,21 @@@@ typedef int bool; d101 1 a101 1 @@@@ -232,6 +252,6 @@@@ char *safestrncpy(char *dest, const char @ 1.3 log @Make it build on DragonFly. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.2 2008/07/13 16:14:00 tonnerre Exp $ d3 3 a5 3 --- vobcopy.h.orig 2008-02-19 07:27:04 +0200 +++ vobcopy.h 2009-04-28 15:31:42 +0300 @@@@ -43,7 +43,11 @@@@ d17 3 a19 1 @@@@ -58,7 +62,7 @@@@ typedef enum { FALSE=0, TRUE=1 } bool; d21 1 a21 1 #if ( defined( BSD ) && ( BSD >= 199306 ) ) d23 1 a23 2 -# if !defined( __NetBSD__ ) ) || \ +# if ( !defined( __NetBSD__ ) ) || \ d25 2 a26 3 #include #define USE_STATFS 1 @@@@ -88,15 +92,21 @@@@ typedef enum { FALSE=0, TRUE=1 } bool; d29 1 d31 5 a35 3 -# else +# elif !defined(__DragonFly__) d37 1 d39 2 a40 3 # endif +#ifdef O_LARGEFILE d42 1 a42 1 +#endif d52 1 a52 1 @@@@ -117,8 +127,10 @@@@ typedef enum { FALSE=0, TRUE=1 } bool; d63 1 a63 1 @@@@ -145,7 +157,11 @@@@ typedef int bool; d75 1 a75 1 @@@@ -156,13 +172,21 @@@@ typedef int bool; d97 3 a99 3 @@@@ -212,6 +236,6 @@@@ void watchdog_handler( int signal ); void shutdown_handler( int signal ); char *safestrncpy(char *dest, const char *src, size_t n); @ 1.2 log @Update vobcopy to a version which is less than 3 years old. This fixes CVE-2007-5718, some crashes, and introduces and fixes largefile issues. Changes since vobcopy-0.5.14: - Fixed operation on GNU libcized BSD variants. - Fixed compilation under MacOS 10. - Fixed CVE-2007-5718 (insecure temporary file creation). - Fixed segfault in the logging routine. - Fixed Makefile for gcc versions not equal to 3.4. - Choose the right dvd device from fstab. - Read only as many blocks as there are actually left. - Partial fix for detection of full nfs files. - Fixed double space detection on MacOSX, hopefully... - sprintf fixes. - -D_FORTIFY_SOURCE=2 is strange, 3 bytes won't fit into a char[4] then. Well, they fit into char[8]... - The configure.sh script now also detects if the system is an ia64/AMD64 and uses the lib64 directory accordingly. - Added checks for return values from library calls. - Added some code to make -n and -m mutually exclusive. - The size-checking code with -m was broken. Fixed hopefully. - Typo in the manpage. - With -m, if files exist you now have the option to [s]kip the files already present. - Some dvd's show files ending in ";?", they should now work. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- vobcopy.h.orig 2008-02-19 06:27:04.000000000 +0100 +++ vobcopy.h d26 8 a33 1 @@@@ -94,9 +98,15 @@@@ typedef enum { FALSE=0, TRUE=1 } bool; d94 8 @ 1.1 log @Don't declare bool enum if TRUE and FALSE are already defined. Fixes failure in bulk build. @ text @d3 1 a3 1 --- vobcopy.h.orig 2004-11-22 14:12:58.000000000 -0500 d5 3 a7 3 @@@@ -5,6 +5,9 @@@@ #define MAX_STRING 81 #define MAX_DIFFER 2000 d9 1 a9 1 +#if defined(FALSE) d12 38 a49 1 #if defined(__APPLE__) && defined(__GNUC__) d52 23 a74 1 @@@@ -13,6 +16,7 @@@@ typedef int bool; a75 3 typedef enum { FALSE=0, TRUE=1 } bool; #endif /* Darwin */ +#endif /* defined FALSE */ d77 7 d85 2 a86 1 void usage(char *); @