diff --git a/templates/OpenRC/build.diff b/templates/OpenRC/build.diff new file mode 100644 index 00000000000..4ed2c4fccfd --- /dev/null +++ b/templates/OpenRC/build.diff @@ -0,0 +1,12 @@ +--- src/rc/rc.c.orig 2009-06-20 08:14:19.018885584 +0200 ++++ src/rc/rc.c 2009-06-20 08:13:52.000000000 +0200 +@@ -45,6 +45,9 @@ const char rc_copyright[] = "Copyright ( + + #ifdef __linux__ + # include /* for COMMAND_LINE_SIZE */ ++# ifndef COMMAND_LINE_SIZE ++# define COMMAND_LINE_SIZE 2048 ++# endif + #endif + + #include diff --git a/templates/OpenRC/template b/templates/OpenRC/template index fd344fafdf5..b7ff7d65e6f 100644 --- a/templates/OpenRC/template +++ b/templates/OpenRC/template @@ -1,13 +1,13 @@ # Template file for 'OpenRC' pkgname=OpenRC -version=20090513 -wrksrc=openrc +version=0.5.0 +wrksrc=openrc-${version} patch_files="xbps-locale-service.diff" -distfiles="http://ftp.gnu.org/gnu/openrc/openrc-$version.tar.bz2" +distfiles="http://roy.marples.name/downloads/openrc/openrc-$version.tar.bz2" build_style=gnu_makefile short_desc="Universal init system" maintainer="Juan RP " -checksum=eb764438651d7f265379dc794cd8a3d1557990df7e448a9728c39bcd2187ab70 +checksum=168a19c38572e8f822137676eeae6233b507c8b8efcf19421cdc8675fc22e4c1 long_desc=" OpenRC is a dependency based init system that works with the system provided init program, normally /sbin/init. It is not a replacement for