diff options
author | beat <beat@FreeBSD.org> | 2009-06-26 15:12:00 +0800 |
---|---|---|
committer | beat <beat@FreeBSD.org> | 2009-06-26 15:12:00 +0800 |
commit | cd8b956b1cc4d6d141970f0423d01cdf85eecd11 (patch) | |
tree | 728f959296cb40b40c2fdd87531390c697244753 /sysutils/lcdproc/files | |
parent | 55ae1de2c60ea88fa37683d86d07dd06df9cd359 (diff) | |
download | freebsd-ports-gnome-cd8b956b1cc4d6d141970f0423d01cdf85eecd11.tar.gz freebsd-ports-gnome-cd8b956b1cc4d6d141970f0423d01cdf85eecd11.tar.zst freebsd-ports-gnome-cd8b956b1cc4d6d141970f0423d01cdf85eecd11.zip |
- Update to 0.5.3
PR: ports/135900
Submitted by: Markus Dolze <bsdfan AT nurfuerspam.de> (maintainer)
Diffstat (limited to 'sysutils/lcdproc/files')
-rw-r--r-- | sysutils/lcdproc/files/lcdexec.in | 26 | ||||
-rw-r--r-- | sysutils/lcdproc/files/patch-Makefile.am | 6 | ||||
-rw-r--r-- | sysutils/lcdproc/files/patch-clients__Makefile.am | 9 | ||||
-rw-r--r-- | sysutils/lcdproc/files/patch-clients__lcdproc__machine_FreeBSD.c | 62 | ||||
-rw-r--r-- | sysutils/lcdproc/files/patch-clients__lcdvc__Makefile.am | 10 | ||||
-rw-r--r-- | sysutils/lcdproc/files/patch-configure.in | 11 | ||||
-rw-r--r-- | sysutils/lcdproc/files/patch-docs__Makefile.am | 10 | ||||
-rw-r--r-- | sysutils/lcdproc/files/patch-server__drivers__CFontz633io.c | 18 | ||||
-rw-r--r-- | sysutils/lcdproc/files/pkg-message.in | 14 |
9 files changed, 62 insertions, 104 deletions
diff --git a/sysutils/lcdproc/files/lcdexec.in b/sysutils/lcdproc/files/lcdexec.in new file mode 100644 index 000000000000..473259b85c1a --- /dev/null +++ b/sysutils/lcdproc/files/lcdexec.in @@ -0,0 +1,26 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: lcdexec +# REQUIRE: LCDd +# +# DO NOT CHANGE THESE DEFAULT VALUES HERE +# SET THEM IN THE /etc/rc.conf FILE +# + +. %%RC_SUBR%% + +name="lcdexec" +rcvar=`set_rcvar` + +load_rc_config $name + +: ${lcdexec_enable="NO"} +: ${lcdexec_conf="%%PREFIX%%/etc/lcdexec.conf"} +: ${lcdexec_flags="-c ${lcdexec_conf}"} + +required_files=${lcdexec_conf} +command="%%PREFIX%%/bin/lcdexec" + +run_rc_command "$1" diff --git a/sysutils/lcdproc/files/patch-Makefile.am b/sysutils/lcdproc/files/patch-Makefile.am index 38c8c747062f..ea2eaff2e3ae 100644 --- a/sysutils/lcdproc/files/patch-Makefile.am +++ b/sysutils/lcdproc/files/patch-Makefile.am @@ -1,5 +1,5 @@ ---- ./Makefile.am.orig Fri Oct 6 09:02:45 2006 -+++ ./Makefile.am Mon Oct 16 22:26:06 2006 +--- ./Makefile.am.orig 2009-05-19 08:44:46.000000000 +0200 ++++ ./Makefile.am 2009-06-22 00:36:35.000000000 +0200 @@ -5,7 +5,7 @@ SUBDIRS = shared clients server docs scripts @@ -7,5 +7,5 @@ -sysconf_DATA = LCDd.conf +sysconf_DATA = - EXTRA_DIST = $(sysconf_DATA) CREDITS README.IRman contrib + EXTRA_DIST = $(sysconf_DATA) CREDITS contrib diff --git a/sysutils/lcdproc/files/patch-clients__Makefile.am b/sysutils/lcdproc/files/patch-clients__Makefile.am new file mode 100644 index 000000000000..0ad5aa7e5f10 --- /dev/null +++ b/sysutils/lcdproc/files/patch-clients__Makefile.am @@ -0,0 +1,9 @@ +--- ./clients/Makefile.am.orig 2009-06-22 00:39:35.000000000 +0200 ++++ ./clients/Makefile.am 2009-06-22 00:39:45.000000000 +0200 +@@ -1,5 +1,5 @@ + ## Process this file with automake to produce Makefile.in + +-SUBDIRS = examples lcdexec lcdproc lcdvc metar ++SUBDIRS = examples lcdexec lcdproc metar + + ## EOF diff --git a/sysutils/lcdproc/files/patch-clients__lcdproc__machine_FreeBSD.c b/sysutils/lcdproc/files/patch-clients__lcdproc__machine_FreeBSD.c deleted file mode 100644 index 967a4eab4fa3..000000000000 --- a/sysutils/lcdproc/files/patch-clients__lcdproc__machine_FreeBSD.c +++ /dev/null @@ -1,62 +0,0 @@ ---- ./clients/lcdproc/machine_FreeBSD.c.orig Sat Apr 14 16:38:15 2007 -+++ ./clients/lcdproc/machine_FreeBSD.c Sun Aug 26 23:21:56 2007 -@@ -45,16 +45,22 @@ - #include <sys/mount.h> - #include <sys/time.h> - #include <sys/user.h> --#include <machine/apm_bios.h> - #include <kvm.h> - #include <errno.h> - #include <sys/socket.h> - #include <net/if.h> - #include <net/if_mib.h> - -+#ifdef HAVE_CONFIG_H -+# include "config.h" -+#endif -+ -+#ifdef HAVE_MACHINE_APM_BIOS_H -+# include <machine/apm_bios.h> -+#endif -+ - #include "main.h" - #include "machine.h" --#include "config.h" - #include "shared/LL.h" - - static int pageshift; -@@ -86,13 +92,14 @@ - - int machine_get_battstat(int *acstat, int *battflag, int *percent) - { -- int apmd; -- struct apm_info aip; -- - *acstat = LCDP_AC_ON; - *battflag = LCDP_BATT_ABSENT; - *percent = 100; - -+#ifdef HAVE_MACHINE_APM_BIOS_H -+ int apmd; -+ struct apm_info aip; -+ - if ((apmd = open("/dev/apm", O_RDONLY)) == -1) - { - perror("get_battstat_open"); -@@ -142,6 +149,7 @@ - *percent = -1; - - close(apmd); -+#endif - - return(TRUE); - } -@@ -197,7 +205,7 @@ - static load_type last_load = { 0, 0, 0, 0, 0 }; - static load_type last_ret_load; - load_type load; -- u_int32_t cp_time[CPUSTATES]; -+ long cp_time[CPUSTATES]; - size_t size; - - size = sizeof(cp_time); diff --git a/sysutils/lcdproc/files/patch-clients__lcdvc__Makefile.am b/sysutils/lcdproc/files/patch-clients__lcdvc__Makefile.am deleted file mode 100644 index bc9bb327fe9c..000000000000 --- a/sysutils/lcdproc/files/patch-clients__lcdvc__Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ ---- ./clients/lcdvc/Makefile.am.orig Sun May 21 22:26:19 2006 -+++ ./clients/lcdvc/Makefile.am Mon Oct 16 22:26:06 2006 -@@ -1,6 +1,6 @@ - ## Process this file with automake to produce Makefile.in - --sysconf_DATA = lcdvc.conf -+sysconf_DATA = - - bin_PROGRAMS = lcdvc - diff --git a/sysutils/lcdproc/files/patch-configure.in b/sysutils/lcdproc/files/patch-configure.in deleted file mode 100644 index 5ad4dc7eca37..000000000000 --- a/sysutils/lcdproc/files/patch-configure.in +++ /dev/null @@ -1,11 +0,0 @@ ---- ./configure.in.orig Fri Apr 27 11:42:45 2007 -+++ ./configure.in Sun Aug 26 23:21:56 2007 -@@ -107,7 +107,7 @@ - ]) - - dnl NetBSD, OpenBSD and FreeBSD --AC_CHECK_HEADERS(sched.h sys/sched.h machine/cpufunc.h sys/types.h machine/pio.h machine/sysarch.h sys/cpuvar.h) -+AC_CHECK_HEADERS(sched.h sys/sched.h machine/cpufunc.h sys/types.h machine/pio.h machine/sysarch.h sys/cpuvar.h machine/apm_bios.h) - ETR_SYSV_IPC - ETR_UNION_SEMUN - diff --git a/sysutils/lcdproc/files/patch-docs__Makefile.am b/sysutils/lcdproc/files/patch-docs__Makefile.am new file mode 100644 index 000000000000..138aff146dd5 --- /dev/null +++ b/sysutils/lcdproc/files/patch-docs__Makefile.am @@ -0,0 +1,10 @@ +--- ./docs/Makefile.am.orig 2009-06-22 00:40:02.000000000 +0200 ++++ ./docs/Makefile.am 2009-06-22 00:40:39.000000000 +0200 +@@ -1,6 +1,6 @@ + ## Process this file with automake to produce Makefile.in + +-man_MANS = lcdproc.1 lcdexec.1 lcdvc.1 LCDd.8 lcdproc-config.5 ++man_MANS = lcdproc.1 lcdexec.1 LCDd.8 lcdproc-config.5 + SUBDIRS = lcdproc-user lcdproc-dev + doxygen_input = header.html footer.html + diff --git a/sysutils/lcdproc/files/patch-server__drivers__CFontz633io.c b/sysutils/lcdproc/files/patch-server__drivers__CFontz633io.c deleted file mode 100644 index d31efee5c547..000000000000 --- a/sysutils/lcdproc/files/patch-server__drivers__CFontz633io.c +++ /dev/null @@ -1,18 +0,0 @@ ---- ./server/drivers/CFontz633io.c.orig Mon Oct 16 22:26:21 2006 -+++ ./server/drivers/CFontz633io.c Mon Oct 16 22:28:58 2006 -@@ -49,12 +49,9 @@ - - #include "config.h" - --#if defined(HAVE_SYS_SELECT_H) --# include <sys/select.h> --#else --# include <sys/time.h> --# include <sys/types.h> --#endif /* defined(HAVE_SYS_SELECT_H) */ -+#include <sys/select.h> -+#include <sys/time.h> -+#include <sys/types.h> - - #include "CFontz633io.h" - diff --git a/sysutils/lcdproc/files/pkg-message.in b/sysutils/lcdproc/files/pkg-message.in new file mode 100644 index 000000000000..4540460e3895 --- /dev/null +++ b/sysutils/lcdproc/files/pkg-message.in @@ -0,0 +1,14 @@ +============================================================== +The default configuration files have been installed as +%%PREFIX%%/etc/LCDd.conf.sample +%%PREFIX%%/etc/lcdproc.conf.sample +%%PREFIX%%/etc/lcdexec.conf.sample +Copy and edit them as needed. + +Some lcdproc drivers are not built by default anymore: + +g15, glcdlib, imon, irman, lirc, svga, xosd, ula200 + +If you are currently using one of them, please contact the +port's maintainer. +============================================================== |