laffer1 | 22 Nov 20:08 2014

www [577] trunk/documentation/mports/index.html: more code cleanup

Revision: 577
          http://svnweb.midnightbsd.org/www/?rev=577
Author:   laffer1
Date:     2014-11-22 14:08:50 -0500 (Sat, 22 Nov 2014)
Log Message:
-----------
more code cleanup

Modified Paths:
--------------
    trunk/documentation/mports/index.html

Modified: trunk/documentation/mports/index.html
===================================================================
--- trunk/documentation/mports/index.html	2014-11-22 19:06:36 UTC (rev 576)
+++ trunk/documentation/mports/index.html	2014-11-22 19:08:50 UTC (rev 577)
 <at>  <at>  -204,24 +204,25  <at>  <at> 
 </thead>
  <tbody>
 </tr>
-<tr>  <td><tt>dist-mirror</tt></td>
+<tr>
+  <td><tt>dist-mirror</tt></td>
   <td>Free redistribution of distfile (like FTP mirroring; opposite of <tt>RESTRICTED</tt>)</td>
 </tr>
 <tr>
-  <td><p > <tt >dist-sell</tt> </p></td>
-  <td><p > Selling of distfile (like in CD-ROM; opposite of <tt >NO_CDROM</tt>) </p></td>
+  <td><tt>dist-sell</tt></td>
+  <td>Selling of distfile (like in CD-ROM; opposite of <tt>NO_CDROM</tt>)</td>
(Continue reading)

laffer1 | 22 Nov 20:06 2014

www [576] trunk/documentation/mports/index.html: clean up some of the html

Revision: 576
          http://svnweb.midnightbsd.org/www/?rev=576
Author:   laffer1
Date:     2014-11-22 14:06:36 -0500 (Sat, 22 Nov 2014)
Log Message:
-----------
clean up some of the html

Modified Paths:
--------------
    trunk/documentation/mports/index.html

Modified: trunk/documentation/mports/index.html
===================================================================
--- trunk/documentation/mports/index.html	2014-11-22 18:55:08 UTC (rev 575)
+++ trunk/documentation/mports/index.html	2014-11-22 19:06:36 UTC (rev 576)
 <at>  <at>  -123,32 +123,36  <at>  <at> 
 </thead>
 <tbody>
 <tr>  
-<td><p><tt>LICENSES_ACCEPTED</tt> </p></td>
-  <td><p > Accepted licenses </p></td>
+<td><tt>LICENSES_ACCEPTED</tt></td>
+  <td>Accepted licenses</td>
 </tr>
 <tr>  
-<td><p > <tt >LICENSES_GROUPS_ACCEPTED</tt> </p></td>
-  <td><p > Accepted groups </p></td>
+<td><tt>LICENSES_GROUPS_ACCEPTED</tt></td>
+  <td>Accepted groups</td>
(Continue reading)

laffer1 | 22 Nov 19:55 2014

www [575] trunk/documentation/zfs.html: add menu link

Revision: 575
          http://svnweb.midnightbsd.org/www/?rev=575
Author:   laffer1
Date:     2014-11-22 13:55:08 -0500 (Sat, 22 Nov 2014)
Log Message:
-----------
add menu link

Modified Paths:
--------------
    trunk/documentation/zfs.html

Modified: trunk/documentation/zfs.html
===================================================================
--- trunk/documentation/zfs.html	2014-11-22 18:53:54 UTC (rev 574)
+++ trunk/documentation/zfs.html	2014-11-22 18:55:08 UTC (rev 575)
 <at>  <at>  -22,6 +22,7  <at>  <at> 
 						<li><a href="#s1e">Recovery</a></li>
 						<li><a href="#s1f">Snapshots</a></li>
 						<li><a href="#s1g">Send/Receive</a></li>
+						<li><a href="#s1h">Advanced format hard drives (4k sector)</a></li>
 						<li><a href="index.html"><strong>Documentation</strong></a></li>
 						<li><a href="../wiki/"><strong>MidnightBSD Wiki (more)</strong></a></li>
 					</ul>

laffer1 | 22 Nov 19:53 2014

www [574] trunk/documentation/zfs.html: add spacing

Revision: 574
          http://svnweb.midnightbsd.org/www/?rev=574
Author:   laffer1
Date:     2014-11-22 13:53:54 -0500 (Sat, 22 Nov 2014)
Log Message:
-----------
add spacing

Modified Paths:
--------------
    trunk/documentation/zfs.html

Modified: trunk/documentation/zfs.html
===================================================================
--- trunk/documentation/zfs.html	2014-11-22 18:51:27 UTC (rev 573)
+++ trunk/documentation/zfs.html	2014-11-22 18:53:54 UTC (rev 574)
 <at>  <at>  -160,26 +160,26  <at>  <at> 
 				</p>
 				<p>
 				<code>
-gpart create -s gpt ada0
+gpart create -s gpt ada0<br>

-# create partitions
-gpart add -a 1m -t mnbsd-zfs -l drive0 ada0
-gpart add -a 1m -t mnbsd-zfs -l drive1 ada1
+# create partitions<br>
+gpart add -a 1m -t mnbsd-zfs -l drive0 ada0<br>
+gpart add -a 1m -t mnbsd-zfs -l drive1 ada1<br>

(Continue reading)

laffer1 | 22 Nov 19:51 2014

www [573] trunk/documentation/mports/index.html: this documentation in mport is REALLY OLD.

Revision: 573
          http://svnweb.midnightbsd.org/www/?rev=573
Author:   laffer1
Date:     2014-11-22 13:51:27 -0500 (Sat, 22 Nov 2014)
Log Message:
-----------
this documentation in mport is REALLY OLD.  Update for subversion, the license options, etc.

Modified Paths:
--------------
    trunk/documentation/mports/index.html

Modified: trunk/documentation/mports/index.html
===================================================================
--- trunk/documentation/mports/index.html	2014-11-22 18:29:12 UTC (rev 572)
+++ trunk/documentation/mports/index.html	2014-11-22 18:51:27 UTC (rev 573)
 <at>  <at>  -46,11 +46,10  <at>  <at> 
  <h3 id="s2a">Using mports</h3>

  <p>You can install mports during the installation of MidnightBSD.  If you forgot to do so, you may download
- the latest mports by using <em>cvsup</em> or <em>cvs</em>.  Execute the command <br />cvsup
/usr/share/examples/cvsup/mports-supfile<br />
- to download the mports.  Alternatively, you can use <br />
- mkdir /usr/mports<br />
+ the latest mports by using <em>svn</em>. You can use <br />
  cd /usr<br />
- cvs -z 7 -d anoncvs <at> stargazer.midnightbsd.org:/home/cvs co mports</p>
+ svn co http://svn.midnightbsd.org/svn/mports/trunk mports
+</p>

(Continue reading)

laffer1 | 22 Nov 19:29 2014

www [572] trunk/documentation/zfs.html: add an example for dealing with advanced format drives and zfs

Revision: 572
          http://svnweb.midnightbsd.org/www/?rev=572
Author:   laffer1
Date:     2014-11-22 13:29:12 -0500 (Sat, 22 Nov 2014)
Log Message:
-----------
add an example for dealing with advanced format drives and zfs

Modified Paths:
--------------
    trunk/documentation/zfs.html

Modified: trunk/documentation/zfs.html
===================================================================
--- trunk/documentation/zfs.html	2014-11-13 02:08:35 UTC (rev 571)
+++ trunk/documentation/zfs.html	2014-11-22 18:29:12 UTC (rev 572)
 <at>  <at>  -151,6 +151,39  <at>  <at> 
 				</code>
 				</p>
 				
+				<h4 id="s1h">Advanced format hard drives (4k sector)</h4>
+				
+				<p>Many 4k sector drives do not report their size properly in a bad attempt
+					at backward compatibility.  ZFS works fine with drives that report
+					properly, but for the rest of them the following workaround is 
+					recommended.
+				</p>
+				<p>
+				<code>
+gpart create -s gpt ada0
(Continue reading)

laffer1 | 16 Nov 21:44 2014

src [6953] trunk/share/man/man4: Add FreeBSD's udplite(4) man page.

Revision: 6953
          http://svnweb.midnightbsd.org/src/?rev=6953
Author:   laffer1
Date:     2014-11-16 15:44:21 -0500 (Sun, 16 Nov 2014)
Log Message:
-----------
Add FreeBSD's udplite(4) man page.

Modified Paths:
--------------
    trunk/share/man/man4/Makefile

Added Paths:
-----------
    trunk/share/man/man4/udplite.4

Modified: trunk/share/man/man4/Makefile
===================================================================
--- trunk/share/man/man4/Makefile	2014-11-16 20:36:05 UTC (rev 6952)
+++ trunk/share/man/man4/Makefile	2014-11-16 20:44:21 UTC (rev 6953)
 <at>  <at>  -1,5 +1,5  <at>  <at> 
 #	 <at> (#)Makefile	8.1 (Berkeley) 6/18/93
-# $MidnightBSD: src/share/man/man4/Makefile,v 1.33 2012/12/29 16:29:12 laffer1 Exp $
+# $MidnightBSD$

 MAN=	aac.4 \
 	acpi.4 \
 <at>  <at>  -478,6 +478,7  <at>  <at> 
 	udav.4 \
 	udbp.4 \
(Continue reading)

laffer1 | 16 Nov 21:36 2014

src [6952] U trunk/sys: UDP Lite aka RFC 3828 support.

Revision: 6952
          http://svnweb.midnightbsd.org/src/?rev=6952
Author:   laffer1
Date:     2014-11-16 15:36:05 -0500 (Sun, 16 Nov 2014)
Log Message:
-----------
UDP Lite aka RFC 3828 support.

Modified Paths:
--------------
    trunk/UPDATING
    trunk/lib/libc/net/getaddrinfo.c
    trunk/sys/netinet/in.c
    trunk/sys/netinet/in.h
    trunk/sys/netinet/in_pcb.c
    trunk/sys/netinet/in_proto.c
    trunk/sys/netinet/udp_usrreq.c
    trunk/sys/netinet/udp_var.h
    trunk/sys/netinet6/in6_ifattach.c
    trunk/sys/netinet6/in6_proto.c
    trunk/sys/netinet6/udp6_usrreq.c
    trunk/sys/netinet6/udp6_var.h

Property Changed:
----------------
    trunk/sys/netinet/cc.h
    trunk/sys/netinet/icmp6.h
    trunk/sys/netinet/icmp_var.h
    trunk/sys/netinet/if_atm.h
    trunk/sys/netinet/if_ether.h
(Continue reading)

laffer1 | 16 Nov 19:34 2014

src [6951] trunk/usr.bin/svn: turn on pthread

Revision: 6951
          http://svnweb.midnightbsd.org/src/?rev=6951
Author:   laffer1
Date:     2014-11-16 13:34:35 -0500 (Sun, 16 Nov 2014)
Log Message:
-----------
turn on pthread

Modified Paths:
--------------
    trunk/usr.bin/svn/svnadmin/Makefile
    trunk/usr.bin/svn/svndumpfilter/Makefile
    trunk/usr.bin/svn/svnlook/Makefile
    trunk/usr.bin/svn/svnmucc/Makefile
    trunk/usr.bin/svn/svnsync/Makefile
    trunk/usr.bin/svn/svnversion/Makefile

Modified: trunk/usr.bin/svn/svnadmin/Makefile
===================================================================
--- trunk/usr.bin/svn/svnadmin/Makefile	2014-11-14 01:33:09 UTC (rev 6950)
+++ trunk/usr.bin/svn/svnadmin/Makefile	2014-11-16 18:34:35 UTC (rev 6951)
 <at>  <at>  -28,10 +28,12  <at>  <at> 
 	-lbsdxml \
 	-L${LIBAPRDIR} -lapr \
 	-L${LIBSQLITEDIR} -lsqlite3 \
-	-lz -lcrypt
+	-lz -lcrypt \
+	-pthread

 DPADD=	${LIBSVN_REPOS} ${LIBSVN_FS} ${LIBSVN_FS_FS} ${LIBSVN_FS_UTIL} \
(Continue reading)

laffer1 | 14 Nov 02:33 2014

src [6950] trunk/libexec/mport.list/mport.list.c: free memory

Revision: 6950
          http://svnweb.midnightbsd.org/src/?rev=6950
Author:   laffer1
Date:     2014-11-13 20:33:09 -0500 (Thu, 13 Nov 2014)
Log Message:
-----------
free memory

Modified Paths:
--------------
    trunk/libexec/mport.list/mport.list.c

Modified: trunk/libexec/mport.list/mport.list.c
===================================================================
--- trunk/libexec/mport.list/mport.list.c	2014-11-14 01:31:50 UTC (rev 6949)
+++ trunk/libexec/mport.list/mport.list.c	2014-11-14 01:33:09 UTC (rev 6950)
 <at>  <at>  -117,7 +117,8  <at>  <at> 
 				packs++;
 				continue;
 			}
-			
+	
+			iestart = indexEntries;		
 			while (*indexEntries != NULL) {
 				if (((*indexEntries)->version != NULL && mport_version_cmp((*packs)->version,
(*indexEntries)->version) < 0) 
 					|| ((*packs)->version != NULL && mport_version_cmp((*packs)->os_release, os_release) < 0)) {
 <at>  <at>  -130,7 +131,7  <at>  <at> 
 				indexEntries++;
 			}
(Continue reading)

laffer1 | 14 Nov 02:31 2014

src [6949] trunk/libexec/mport.list/mport.list.c: print out something if the package does not exist in the index.

Revision: 6949
          http://svnweb.midnightbsd.org/src/?rev=6949
Author:   laffer1
Date:     2014-11-13 20:31:50 -0500 (Thu, 13 Nov 2014)
Log Message:
-----------
print out something if the package does not exist in the index. This can happen if a newer blessed magus run
does not contain a package due to removal or failure.

Modified Paths:
--------------
    trunk/libexec/mport.list/mport.list.c

Modified: trunk/libexec/mport.list/mport.list.c
===================================================================
--- trunk/libexec/mport.list/mport.list.c	2014-11-12 13:27:51 UTC (rev 6948)
+++ trunk/libexec/mport.list/mport.list.c	2014-11-14 01:31:50 UTC (rev 6949)
 <at>  <at>  -108,29 +108,30  <at>  <at> 
 	while (*packs != NULL) {
 		if (update) {
 			if (mport_index_lookup_pkgname(mport, (*packs)->name, &indexEntries) != MPORT_OK) {
-				fprintf(stderr, "Error Looking up package name %s: %d %s\n", (*packs)->name,  mport_err_code(), mport_err_string());
+				(void) fprintf(stderr, "Error Looking up package name %s: %d %s\n", (*packs)->name, 
mport_err_code(), mport_err_string());
 				exit(mport_err_code());
 			}
+
+			if (indexEntries == NULL || *indexEntries == NULL) {
+				(void) printf("%-15s %8s is no longer available.\n", (*packs)->name, (*packs)->version);
+				packs++;
(Continue reading)


Gmane