Differences between version 15 and predecessor to the previous major change of CyberLeo/Projects/CTAWallboard.
Other diffs: Previous Revision, Previous Author
| Newer page: | version 15 | Last edited on Sunday, 18 March 2012 2:40:45 | by CyberLeo | Revert | 
| Older page: | version 7 | Last edited on Thursday, 8 March 2012 16:22:44 | 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 
@@ -26,40 +62,40 @@
  
  
  
  
  
 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 
-misc/unclutter
 
 net/rsync 
-net/x11vnc
 
 ports-mgmt/portmaster 
 security/sudo 
 # X 
+misc/unclutter
 
+net/x11vnc
 
 x11-drivers/xf86-input-keyboard 
 x11-drivers/xf86-input-mouse 
 x11/nvidia-driver 
-x11/nvidia-settings
 
-x11/nvidia-xconfig
 
-x11/xbindkeys
 
-x11/xhost
 
 x11/xinit 
-x11/xrandr
 
 x11/xrdb 
 x11/xset 
-x11/xsetroot
 
 x11/xterm 
-x11/xtrans
 
 # DE 
 x11-wm/icewm 
-www/firefox
 
 www/libxul 
 </code> 
 /usr/local/etc/wallboard.sh 
@@ -68,8 +104,14 @@
  
  
  
  
 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 
@@ -78,4 +120,40 @@
 /etc/ttys: 
 <code brush="plain"> 
 ttyv8	"/usr/local/etc/wallboard.sh"	xterm	on  secure 
 </code> 
+
 
+/boot/loader.conf:
 
+<code brush="bash">
 
+# Load modules
 
+nvidia_load="YES"
 
+sem_load="YES"
 
+splash_pcx_load="YES"
 
+vesa_load="YES"
 
+
 
+# Bitmap
 
+bitmap_load="YES"
 
+bitmap_name="/boot/splash.pcx"
 
+</code>
 
+
 
+/etc/rc.conf:
 
+<code brush="bash">
 
+hostname="netbox.den.cyberleo.net"
 
+
 
+# Network setup
 
+ifconfig_alc0="DHCP"
 
+ifconfig_alc0_ipv6="inet6 accept_rtadv"
 
+
 
+# Console
 
+blanktime="10"
 
+
 
+# Daemons
 
+moused_enable="YES"
 
+ntpd_enable="YES"
 
+powerd_enable="YES"
 
+sshd_enable="YES"
 
+</code>
 
+
 
+Add user wallboard
 
+Add wallboard homedir (.xinitrc, .xsession, .Xdefaults, .x11vncrc, .vnc/passwd, .icewm)
 
+xulrunner --register-global
 
+Install wallboard.xpi
 
version 15
/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
/boot/loader.conf:
# Load modules nvidia_load="YES" sem_load="YES" splash_pcx_load="YES" vesa_load="YES" # Bitmap bitmap_load="YES" bitmap_name="/boot/splash.pcx"
/etc/rc.conf:
hostname="netbox.den.cyberleo.net" # Network setup ifconfig_alc0="DHCP" ifconfig_alc0_ipv6="inet6 accept_rtadv" # Console blanktime="10" # Daemons moused_enable="YES" ntpd_enable="YES" powerd_enable="YES" sshd_enable="YES"
Add user wallboard Add wallboard homedir (.xinitrc, .xsession, .Xdefaults, .x11vncrc, .vnc/passwd, .icewm) xulrunner --register-global Install wallboard.xpi
