Note: You are viewing an old version of this page. View the current version.

Differences between version 12 and previous revision of CyberLeo/Projects/CTAWallboard.

Other diffs: Previous Major Revision, Previous Author

Newer page: version 12 Last edited on Sunday, 18 March 2012 1:35:25 by CyberLeo Revert
Older page: version 11 Last edited on Sunday, 18 March 2012 1:13:35 by CyberLeo Revert
@@ -1,4 +1,40 @@
+/etc/make.conf:  
+<code brush="plain">  
+# Compilation tunes  
+CPUTYPE?=nocona  
+  
+# Multiprocess port builds (make -j8)  
+FORCE_MAKE_JOBS=yes  
+MAKE_JOBS_NUMBER=2  
+  
+# Global knobs  
+NO_PROFILE=yes  
+  
+# Kernel build configuration  
+KERNCONF=GENERIC  
+  
+# Caching proxy for fetches  
+http_proxy=http://gateway.cyberleo.net:46565  
+ftp_proxy=http://gateway.cyberleo.net:46565  
+  
+# Read-only ports tree  
+DISTDIR=/var/ports/distfiles  
+PACKAGES=/var/ports/packages  
+WRKDIRPREFIX=/usr/obj  
+  
+.if ${.CURDIR:M*/devel/glib20}  
+ USE_LOCAL_MK=  
+ STRIP_PERL5_RUN=  
+ STRIP_PYTHON_RUN=  
+.endif  
+  
+.if ${.CURDIR:M*/devel/gobject-introspection}  
+ USE_LOCAL_MK=  
+ STRIP_PYTHON_RUN=  
+.endif  
+</code>  
+  
 FreeBSD ports: 
 <code brush="plain"> 
 B:: 
 archivers/unzip 

version 12

/etc/make.conf:

# Compilation tunes
CPUTYPE?=nocona

# Multiprocess port builds (make -j8)
FORCE_MAKE_JOBS=yes
MAKE_JOBS_NUMBER=2

# Global knobs
NO_PROFILE=yes

# Kernel build configuration
KERNCONF=GENERIC

# Caching proxy for fetches
http_proxy=http://gateway.cyberleo.net:46565
ftp_proxy=http://gateway.cyberleo.net:46565

# Read-only ports tree
DISTDIR=/var/ports/distfiles
PACKAGES=/var/ports/packages
WRKDIRPREFIX=/usr/obj

.if ${.CURDIR:M*/devel/glib20}
  USE_LOCAL_MK=
  STRIP_PERL5_RUN=
  STRIP_PYTHON_RUN=
.endif

.if ${.CURDIR:M*/devel/gobject-introspection}
  USE_LOCAL_MK=
  STRIP_PYTHON_RUN=
.endif

FreeBSD ports:

B::
archivers/unzip
devel/autoconf213
devel/bison
devel/gmake
devel/gperf
devel/imake
devel/libcheck
devel/libtool
devel/xorg-macros
devel/yasm
textproc/intltool
textproc/libxslt
x11-fonts/bdftopcf
x11-fonts/xf86bigfontproto
x11/bigreqsproto
x11/evieext
x11/glproto
x11/luit
x11/resourceproto
x11/scrnsaverproto
x11/trapproto
x11/xcb-proto
x11/xcmiscproto
x11/xf86dgaproto
x11/xf86driproto
x11/xkbcomp

x11/nvidia-settings
x11/nvidia-xconfig
x11/xbindkeys
x11/xhost
x11/xrandr
x11/xsetroot
x11/xtrans

R::

# Base
devel/git
misc-cdn/bash-config
misc-cdn/flag
net/rsync
ports-mgmt/portmaster
security/sudo

# X
misc/unclutter
net/x11vnc
x11-drivers/xf86-input-keyboard
x11-drivers/xf86-input-mouse
x11/nvidia-driver
x11/xinit
x11/xrdb
x11/xset
x11/xterm

# DE
x11-wm/icewm
www/libxul

/usr/local/etc/wallboard.sh

#!/bin/sh -e

export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

tty="${1}"

if [ -e "/etc/nox" ]
then
  sleep 5
  exit
fi

logger -t wallboard "Spawning wallboard${tty:+ on ${tty}}"

su -l wallboard -c '. ~/.bash_profile; exec startx' 2>&1 | logger -t wallboard

/etc/ttys:

ttyv8   "/usr/local/etc/wallboard.sh"   xterm   on  secure