[oe-commits] org.oe.dev uucp: fix some paths, update SRC_URI (from OpenMoko)
mickeyl commit
openembedded-commits at lists.openembedded.org
Fri Jun 22 13:18:59 UTC 2007
uucp: fix some paths, update SRC_URI (from OpenMoko)
Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: 6ac0eb72e728e774076082cbfbb28ee430dc6485
ViewMTN: http://monotone.openembedded.org/revision.psp?id=6ac0eb72e728e774076082cbfbb28ee430dc6485
Files:
1
packages/uucp/files
packages/uucp/files/policy.patch
packages/uucp/uucp_1.07.bb
Diffs:
#
# mt diff -r602a19ccae5a748e83e5453f7b2ddae7d2e5a289 -r6ac0eb72e728e774076082cbfbb28ee430dc6485
#
#
#
# add_dir "packages/uucp/files"
#
# add_file "packages/uucp/files/policy.patch"
# content [3bad875ffc5b65ade3c928c177f9f23ae808ebe3]
#
# patch "packages/uucp/uucp_1.07.bb"
# from [6b7273c57f3a954b96cd7f41b3461416fb85e16d]
# to [07488d78a44d7740fd396c2e53b9ea02a1da45bf]
#
============================================================
--- packages/uucp/files/policy.patch 3bad875ffc5b65ade3c928c177f9f23ae808ebe3
+++ packages/uucp/files/policy.patch 3bad875ffc5b65ade3c928c177f9f23ae808ebe3
@@ -0,0 +1,85 @@
+Index: uucp-1.07/policy.h
+===================================================================
+--- uucp-1.07.orig/policy.h 2003-05-29 06:08:45.000000000 +0000
++++ uucp-1.07/policy.h 2007-03-09 00:51:55.000000000 +0000
+@@ -240,7 +240,7 @@
+ the sendmail choice below. Otherwise, select one of the other
+ choices as appropriate. */
+ #if 1
+-#define MAIL_PROGRAM "/usr/lib/sendmail -t"
++#define MAIL_PROGRAM "/usr/sbin/sendmail -oi -t"
+ /* #define MAIL_PROGRAM "/usr/sbin/sendmail -t" */
+ #define MAIL_PROGRAM_TO_BODY 1
+ #define MAIL_PROGRAM_SUBJECT_BODY 1
+@@ -302,7 +302,7 @@
+ /* #define LOCKDIR "/usr/spool/locks" */
+ /* #define LOCKDIR "/usr/spool/uucp/LCK" */
+ /* #define LOCKDIR "/var/spool/lock" */
+-/* #define LOCKDIR "/var/lock" */
++#define LOCKDIR "/var/lock"
+
+ /* You must also specify the format of the lock files by setting
+ exactly one of the following macros to 1. Check an existing lock
+@@ -349,7 +349,7 @@
+ The format for QNX lock files was made up just for Taylor UUCP.
+ QNX doesn't come with a version of UUCP. */
+ #define HAVE_V2_LOCKFILES 0
+-#define HAVE_HDB_LOCKFILES 0
++#define HAVE_HDB_LOCKFILES 1
+ #define HAVE_SCO_LOCKFILES 0
+ #define HAVE_SVR4_LOCKFILES 0
+ #define HAVE_SEQUENT_LOCKFILES 0
+@@ -466,8 +466,8 @@
+ When looking something up (a system, a port, etc.) the new style
+ configuration files will be read first, followed by the V2
+ configuration files, followed by the HDB configuration files. */
+-#define HAVE_V2_CONFIG 0
+-#define HAVE_HDB_CONFIG 0
++#define HAVE_V2_CONFIG 1
++#define HAVE_HDB_CONFIG 1
+
+ /* Exactly one of the following macros must be set to 1. The exact
+ format of the spool directories is explained in unix/spool.c.
+@@ -572,7 +572,7 @@
+ /* The name of the default spool directory. If HAVE_TAYLOR_CONFIG is
+ set to 1, this may be overridden by the ``spool'' command in the
+ configuration file. */
+-#define SPOOLDIR "/usr/spool/uucp"
++#define SPOOLDIR "/var/spool/uucp"
+ /* #define SPOOLDIR "/var/spool/uucp" */
+
+ /* The name of the default public directory. If HAVE_TAYLOR_CONFIG is
+@@ -580,7 +580,7 @@
+ configuration file. Also, a particular system may be given a
+ specific public directory by using the ``pubdir'' command in the
+ system file. */
+-#define PUBDIR "/usr/spool/uucppublic"
++#define PUBDIR "/var/spool/uucppublic"
+ /* #define PUBDIR "/var/spool/uucppublic" */
+
+ /* The default command path. This is a space separated list of
+@@ -644,21 +644,21 @@
+ /* The default log file when using HAVE_TAYLOR_LOGGING. When using
+ HAVE_TAYLOR_CONFIG, this may be overridden by the ``logfile''
+ command in the configuration file. */
+-#define LOGFILE "/usr/spool/uucp/Log"
++#define LOGFILE "/var/spool/uucp/Log"
+ /* #define LOGFILE "/var/spool/uucp/Log" */
+ /* #define LOGFILE "/var/log/uucp/Log" */
+
+ /* The default statistics file when using HAVE_TAYLOR_LOGGING. When
+ using HAVE_TAYLOR_CONFIG, this may be overridden by the
+ ``statfile'' command in the configuration file. */
+-#define STATFILE "/usr/spool/uucp/Stats"
++#define STATFILE "/var/spool/uucp/Stats"
+ /* #define STATFILE "/var/spool/uucp/Stats" */
+ /* #define STATFILE "/var/log/uucp/Stats" */
+
+ /* The default debugging file when using HAVE_TAYLOR_LOGGING. When
+ using HAVE_TAYLOR_CONFIG, this may be overridden by the
+ ``debugfile'' command in the configuration file. */
+-#define DEBUGFILE "/usr/spool/uucp/Debug"
++#define DEBUGFILE "/var/spool/uucp/Debug"
+ /* #define DEBUGFILE "/var/spool/uucp/Debug" */
+ /* #define DEBUGFILE "/var/log/uucp/Debug" */
+
============================================================
--- packages/uucp/uucp_1.07.bb 6b7273c57f3a954b96cd7f41b3461416fb85e16d
+++ packages/uucp/uucp_1.07.bb 07488d78a44d7740fd396c2e53b9ea02a1da45bf
@@ -1,11 +1,13 @@ DESCRIPTION = "UUCP is used to transfer
DESCRIPTION = "UUCP is used to transfer mail, news and random files between systems which are not connected by more modern networks. The communication can be made via modems, direct (hard-wired) serial connections or via an IP connection."
+HOMEPAGE = "http://www.airs.com/ian/uucp.html"
+SECTION = "console/utils"
LICENSE = "GPLv2"
-SECTION = "console"
-PR = "r1"
+PR = "r2"
inherit autotools
-SRC_URI = "http://ftp.debian.org/debian/pool/main/u/uucp/uucp_1.07.orig.tar.gz"
+SRC_URI = "ftp://ftp.gnu.org/pub/gnu/uucp/uucp-${PV}.tar.gz \
+ file://policy.patch;patch=1"
do_configure() {
libtoolize --force
@@ -13,8 +15,8 @@ do_install_append() {
}
do_install_append() {
- fakeroot install -d -g uucp -o uucp ${D}/usr/spool/uucp
+ fakeroot install -d -g uucp -o uucp ${D}/var/spool/uucp
}
PACKAGES =+ "cu"
+FILES_cu = "${bindir}/cu /var/spool"
-FILES_cu = "${bindir}/cu /usr/spool"
More information about the Openembedded-commits
mailing list