Author Topic: Cleaning Up After Building Packages  (Read 10385 times)

Wildherb

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Cleaning Up After Building Packages
« on: September 01, 2007, 05:27:21 am »
In spite of not having suspend/resume working I have been pleased with OpenBSD on my 3100 in as much as the process of building from the ports tree works remarkably well, even for a newbie like me ;o). I have managed to build over 90MB's worth of packages but my Z says it can do no more as the disk is full. As a consequence, I have decided to do a rebuild over the weekend and hope that the suspend/resume problem goes away!

Two questions:

1) Is there a procedure for cleaning up after building a port? there must be a lot of source code and temp files which are no longer needed. I guess that building via an NFS on another machine as documented on the planetofidiots website might overcome this.

2) I do not curently have any webspace to host a feed, but rather than keeping my 4.2 packages to myself, is there an area I can post them to? I have been focusing mainly on security applications so I have the following:

Code: [Select]
ORBit2-2.14.7.tgz                               libnet-1.0.2ap1.tgz
aterm-0.4.2p1.tgz                               libnetdude-0.7p2.tgz
autoconf-2.13p0.tgz                             libnetdude-conntrack-plugin-0.5p0.tgz
autoconf-2.52p1.tgz                             libnetdude-traceset-plugin-0.2p0.tgz
autoconf-2.59p1.tgz                             libnetdude-traffic-analyzer-plugin-0.3p0.tgz
autoconf-2.61p1.tgz                             libnids-1.20.tgz
bzip2-1.0.4.tgz                                 libpcapnav-0.6p0.tgz
cdparanoia-3.a9.8p0.tgz                         libxfce4mcs-4.4.1.tgz
cups-1.2.7p4.tgz                                libxfce4util-4.4.1.tgz
db-3.1.17p8.tgz                                 libxfcegui4-4.4.1p1.tgz
db-4.2.52p11.tgz                                libxml-2.6.29.tgz
db-tcl-3.1.17p3.tgz                             libxslt-1.1.21.tgz
db-tcl-4.2.52p3.tgz                             links+-2.1pre28p0.tgz
dbus-1.0.2p1.tgz                                metaauto-0.7.tgz
dbus-glib-0.73p0.tgz                            mozilla-firefox-2.0.0.6.tgz
docbook-4.4.tgz                                 mozilla-firefox-devel-2.0.0.6.tgz
docbook-dsssl-1.72.tgz                          mrxvt-0.5.2p2.tgz
driftnet-0.1.6.tgz                              mutt-1.4.2.3.tgz
dsniff-2.3p2.tgz                                mysql-client-5.0.45.tgz
esound-0.2.34p0v0.tgz                           mysql-server-5.0.45.tgz
eterm-0.8.10p0.tgz                              mysql-tests-5.0.45.tgz
etherape-0.9.0p2.tgz                            netdude-0.4.6p0.tgz
fam-2.7.0p2.tgz                                 netdude-traffic-analyzer-plugin-0.3p0.tgz
gconf2-2.18.0.1.tgz                             nspr-4.6.7.tgz
gdbm-1.8.3p0.tgz                                nspr-docs-4.6.7.tgz
gmake-3.80p1.tgz                                nss-3.11.7.tgz
gnome-doc-utils-0.10.3p1.tgz                    p5-XML-NamespaceSupport-1.09p0.tgz
gnome-icon-theme-2.18.0p0.tgz                   p5-XML-Parser-2.34p0.tgz
gnome-keyring-0.8.1.tgz                         p5-XML-SAX-0.14p0.tgz
gnome-mime-data-2.18.0.tgz                      p5-XML-Simple-2.14p1.tgz
gnome-themes-2.18.1p2.tgz                       popt-1.7p0.tgz
gnome-vfs2-2.18.1p0.tgz                         postgresql-client-8.2.4p0.tgz
gtk-engines2-2.10.1p0.tgz                       postgresql-contrib-8.2.4p0.tgz
help2man-1.29p0.tgz                             postgresql-docs-8.2.4p0.tgz
icewm-1.2.30p0.tgz                              postgresql-server-8.2.4p3.tgz
icon-naming-utils-0.8.2.tgz                     py-libdnet-1.10p1.tgz
imlib-1.9.14p5.tgz                              py-libxml-2.6.29.tgz
intltool-0.35.5.tgz                             python-2.4.4p4.tgz
iso-codes-1.0.tgz                               python-bsddb-2.4.4p4.tgz
iso8879-1986.tgz                                python-bz2-2.4.4p4.tgz
jbigkit-1.6p1.tgz                               python-expat-2.4.4p4.tgz
lcms-1.15.tgz                                   python-gdbm-2.4.4p4.tgz
libIDL-0.8.8.tgz                                python-idle-2.4.4p4.tgz
libart-2.3.19p1.tgz                             python-tests-2.4.4p4.tgz
libaudiofile-0.2.6p0.tgz                        python-tkinter-2.4.4p4.tgz
libbonobo-2.18.0.tgz                            python-tools-2.4.4p4.tgz
libbonoboui-2.18.0.tgz                          scrollkeeper-0.3.14p3.tgz
libconfuse-2.5p0.tgz                            sqlite-2.8.17p1.tgz
libdnet-1.10p2.tgz                              tcl-8.4.7p5.tgz
libgcrypt-1.2.0p1.tgz                           tilda-0.9.4.tgz
libglade2-2.6.1.tgz                             tk-8.4.7p1.tgz
libgnome-2.18.0.tgz                             vte-0.16.6.tgz
libgnomecanvas-2.14.0p0.tgz                     xfce-mcs-manager-4.4.1p0.tgz
libgnomeui-2.18.1p0.tgz                         xfwm4-4.4.1.tgz
libgpg-error-1.1p0.tgz                          xzoom-0.3.tgz
libmng-1.0.9p1.tgz
C3000 running OpenBSD 4.4
C3100 running OpenZaurus

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Cleaning Up After Building Packages
« Reply #1 on: September 01, 2007, 05:52:15 am »
Quote
1) Is there a procedure for cleaning up after building a port? there must be a lot of source code and temp files which are no longer needed. I guess that building via an NFS on another machine as documented on the planetofidiots website might overcome this.
You can use make clean && make distclean. I wouldn't recommend building ports on your Z's internal micro drive. Here's instructions on how to setup a FreeBSD NFS server for building ports/src: NFS SERVER

Quote
2) I do not curently have any webspace to host a feed, but rather than keeping my 4.2 packages to myself, is there an area I can post them to?
PM/Contact ZDevil and friends. They're hosting some packages on their websites.
« Last Edit: September 01, 2007, 11:50:20 am by mathemajikian »

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Cleaning Up After Building Packages
« Reply #2 on: September 01, 2007, 11:43:10 am »
Welcome!

Actually I have also been building packages for 4.2. Just check out the links in signature.
jpmatrix has kindly offered his webspace to host my packages, perhaps you can contact him for an account.
My packages are also mirrored on another site offered by another friend of mine. Let me know if you also feel like uploading them there.
imho it would be a waste of our time and resources to make the same packages on our own. How about some collaboration to speed up the process, e.g. one builds kde stuff, and another concentrates on web application, and yet another on games, etc?  

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Cleaning Up After Building Packages
« Reply #3 on: September 01, 2007, 12:23:53 pm »
yes i'm there
upload them on

87.88.147.59
login: openbsd
pass: the name of your favourite machine !  (zaurus)

then pm me when you've finished and i'll put them on my ftp on free.fr
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

Wildherb

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Cleaning Up After Building Packages
« Reply #4 on: September 01, 2007, 06:37:07 pm »
jpmatrix, you are most kind.

ZDevil, yes, it makes sense to work as a team rather than both cherry-picking the nicest applications. My interest is in the security packages so I will be looking to compile the likes of nessus, but I am also aware that the platform needs some of the basics such as window managers, a fast and capable browser and some PIM applications.

I'm happy to have a go at anything but I'll let you call the shots. Please note that it may be a while before I've rebuilt my Z and got an NFS compiling environment setup.
C3000 running OpenBSD 4.4
C3100 running OpenZaurus

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Cleaning Up After Building Packages
« Reply #5 on: September 02, 2007, 12:08:24 am »
Cool!
So, to start off, how about you concentrating on the security packages and me PIM stuff (now working on emacs21, emacs23 w/ unicode & XFT support, jpilot, hnb, and kdepim, and even evolution)?
I've already built a handful of browsers (e.g. dillo, links+, etc) and several remain on my batch list (e.g. minimo, konqueror-embedded).
fvwm2 and ion are also in my feed. I will build windowmaker, icewm and a few other fast WM as well.

Do try building via NFS (I am doing it with my Macbook, see https://www.oesf.org/forums/index.php?showtopic=24541 ). It is both faster and free of space constraint.

Anyone else?
« Last Edit: September 02, 2007, 12:20:55 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Cleaning Up After Building Packages
« Reply #6 on: September 02, 2007, 02:14:49 am »
Something to add:

Browsers:
mathemajikian has compiled Firefox with flash & java support, and also w3m

PIM:
Forgot to add Calcurse, a really nice minimalist PIM app. The funny thing is the Calcurse homepage says it's already ported to OpenBSD, but I have yet to find it in the ports tree ...
Notecase is a great tool as well. But first I have to take my very first step to create a brand new port  outside of the ports tree...  

Building:
Do you use some optimization flags to improve the performance of the packages?
« Last Edit: September 02, 2007, 02:16:01 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

Wildherb

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Cleaning Up After Building Packages
« Reply #7 on: September 02, 2007, 06:10:02 am »
Quote
Something to add:

Browsers:
mathemajikian has compiled Firefox with flash & java support, and also w3m

PIM:
Forgot to add Calcurse, a really nice minimalist PIM app. The funny thing is the Calcurse homepage says it's already ported to OpenBSD, but I have yet to find it in the ports tree ...
Notecase is a great tool as well. But first I have to take my very first step to create a brand new port  outside of the ports tree...   

Building:
Do you use some optimization flags to improve the performance of the packages?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=166951\"][{POST_SNAPBACK}][/a][/div]


OK lets see how we get on.

For browsers I am looking for something a bit more featured that dillo but not as heavy as firefox. Although I have comiled firefox, and it works, I am sure that I was actually aiming to compile epiphany at the time, not sure what happened there but it took 3 days and out came firefox! oh well! Attempting to compile konqueror was what finally filled up my Z so within my packages there will be many of the dependan ones for konqueror. Might try comiling galeon.

I have already done icewm and had been using it as my wm. I also like xfce4 as it makes it easy to change fonts which is useful on a Z which has a very small screen. I have done two packages which allow it to but need to do the rest of the modules as well.

In answer you your question on optimisation, no, I am a newbie here so I am stricly "make" and "make install" but I'm always happy to learn.

Back to rebuilding the Z now, I have a 10.4 powerbook so your instructions should work for me, I'll be back when I am fully "tooled up" again ;o)
C3000 running OpenBSD 4.4
C3100 running OpenZaurus

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Cleaning Up After Building Packages
« Reply #8 on: September 02, 2007, 07:18:04 am »
Quote
Quote
Something to add:


Building:
Do you use some optimization flags to improve the performance of the packages?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]


In answer you your question on optimisation, no, I am a newbie here so I am stricly "make" and "make install" but I'm always happy to learn.




you must look that page and apply all optimisation tips there before starting to compile !

[a href=\"http://exit3.i-55.com/%7Exikon/zaurustipsandtricks.html]http://exit3.i-55.com/%7Exikon/zaurustipsandtricks.html[/url]
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

Lance

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • http://pages.suddenlink.net/nitch-z
Cleaning Up After Building Packages
« Reply #9 on: September 02, 2007, 08:55:48 pm »
I just got a C3000 last week on eBay.  I've installed OpenBSD on it thanks to the help of mathemajikian's website download installation files and recent snapshots.  I hope to get to building some packages soon, as soon as I figure out how to get NFS set up on my desktop.  I tried to do it several months ago for some music files I wanted to share but didn't get it working.  I'll now have a better reason to keep trying to figure it out.
SL-C3000 - OpenBSD 4.2 (GENERIC) #168: Tue Aug 28
CF Wireless LAN card: wi0
SL-6000L - original sharp rom
SL-C760 - openzaurus 3.5.4
Desktop: OpenBSD 4.1 (GENERIC)