From 1d5c420a63db40fe56296d455865809f6b71f1d9 Mon Sep 17 00:00:00 2001 From: jolan Date: Tue, 28 Apr 2009 15:23:44 +0000 Subject: [PATCH] pecl-proctitle-0.1.1, PHP support for setproctitle --- www/pecl-proctitle/Makefile | 50 ++++++++++++++++++++++++++++++++ www/pecl-proctitle/distinfo | 5 ++++ www/pecl-proctitle/pkg/DESCR | 2 ++ www/pecl-proctitle/pkg/MESSAGE | 10 +++++++ www/pecl-proctitle/pkg/PLIST | 11 +++++++ www/pecl-proctitle/pkg/UNMESSAGE | 9 ++++++ 6 files changed, 87 insertions(+) create mode 100644 www/pecl-proctitle/Makefile create mode 100644 www/pecl-proctitle/distinfo create mode 100644 www/pecl-proctitle/pkg/DESCR create mode 100644 www/pecl-proctitle/pkg/MESSAGE create mode 100644 www/pecl-proctitle/pkg/PLIST create mode 100644 www/pecl-proctitle/pkg/UNMESSAGE diff --git a/www/pecl-proctitle/Makefile b/www/pecl-proctitle/Makefile new file mode 100644 index 00000000000..cee69385243 --- /dev/null +++ b/www/pecl-proctitle/Makefile @@ -0,0 +1,50 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2009/04/28 15:23:44 jolan Exp $ + +SHARED_ONLY= Yes + +COMMENT= PHP support for setproctitle + +DISTNAME= proctitle-0.1.1 +PKGNAME= pecl-${DISTNAME} +CATEGORIES= www + +HOMEPAGE= http://pecl.php.net/package/proctitle/ + +# PHP License +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= http://pecl.php.net/get/ +EXTRACT_SUFX= .tgz + +AUTOCONF_VERSION= 2.62 +AUTOMAKE_VERSION= 1.9 + +BUILD_DEPENDS= :pear-*:www/pear \ + ${MODGNU_AUTOCONF_DEPENDS} \ + ${MODGNU_AUTOMAKE_DEPENDS} +RUN_DEPENDS= :php5-core-*:www/php5/core + +CONFIGURE_STYLE=gnu +CONFIGURE_ENV= AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \ + AUTOCONF_VERSION=${AUTOCONF_VERSION} + +PREFIX= /var/www +DESTDIRNAME= INSTALL_ROOT + +NO_REGRESS= Yes + +USE_LIBTOOL= Yes +LIBTOOL_FLAGS+= --tag=disable-static + +pre-configure: + @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/phpize + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/conf/php5.sample + @echo "extension=proctitle.so" > \ + ${PREFIX}/conf/php5.sample/proctitle.ini + +.include diff --git a/www/pecl-proctitle/distinfo b/www/pecl-proctitle/distinfo new file mode 100644 index 00000000000..b41b7707cd2 --- /dev/null +++ b/www/pecl-proctitle/distinfo @@ -0,0 +1,5 @@ +MD5 (proctitle-0.1.1.tgz) = J063JYS3/GF/GRRzvNLuFA== +RMD160 (proctitle-0.1.1.tgz) = Yy4IhtlDG2InkhykDzvMhfOmAJg= +SHA1 (proctitle-0.1.1.tgz) = PhoTBIIcT8V8Pe2wXVN+yDqLqbw= +SHA256 (proctitle-0.1.1.tgz) = 1PDfPHUjgvxb4B4N+XvS3lQ6gmD1hDW4+KT0Gwlv6V4= +SIZE (proctitle-0.1.1.tgz) = 4474 diff --git a/www/pecl-proctitle/pkg/DESCR b/www/pecl-proctitle/pkg/DESCR new file mode 100644 index 00000000000..13188216285 --- /dev/null +++ b/www/pecl-proctitle/pkg/DESCR @@ -0,0 +1,2 @@ +pecl-proctitle is an extension which allows you to change the current +process's name. diff --git a/www/pecl-proctitle/pkg/MESSAGE b/www/pecl-proctitle/pkg/MESSAGE new file mode 100644 index 00000000000..a317fe1950d --- /dev/null +++ b/www/pecl-proctitle/pkg/MESSAGE @@ -0,0 +1,10 @@ +You can enable this module by creating a symbolic +link from ${PREFIX}/conf/php5.sample/proctitle.ini to +${PREFIX}/conf/php5/proctitle.ini. + +ln -fs ${PREFIX}/conf/php5.sample/proctitle.ini \ + ${PREFIX}/conf/php5/proctitle.ini + +If you already have Apache running on your machine, +you should not use "apachectl restart" - instead, +you should fully stop and then restart the server. diff --git a/www/pecl-proctitle/pkg/PLIST b/www/pecl-proctitle/pkg/PLIST new file mode 100644 index 00000000000..2cb9b1c5be2 --- /dev/null +++ b/www/pecl-proctitle/pkg/PLIST @@ -0,0 +1,11 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2009/04/28 15:23:44 jolan Exp $ +@comment conf/php5.sample/ +@group bin +conf/php5.sample/proctitle.ini +@comment lib/ +@comment lib/php/ +@comment lib/php/modules/ +@owner root +lib/php/modules/proctitle.so +@owner +@group diff --git a/www/pecl-proctitle/pkg/UNMESSAGE b/www/pecl-proctitle/pkg/UNMESSAGE new file mode 100644 index 00000000000..1a17098931b --- /dev/null +++ b/www/pecl-proctitle/pkg/UNMESSAGE @@ -0,0 +1,9 @@ +You can disable this module by removing the +${PREFIX}/conf/php5/proctitle.ini symbolic link by +issuing the following command: + +rm -f ${PREFIX}/conf/php5/proctitle.ini + +If you already have Apache running on your machine, +you should not use "apachectl restart" - instead, +you should fully stop and then restart the server.