Ebuild for pgAgent. This is a job scheduler for PostgreSQL which may be managed using pgAdmin. Reproducible: Always Steps to Reproduce:
Created attachment 209889 [details] Ebuild for pgagent
Created attachment 209890 [details] conf file for pgagent
Created attachment 209891 [details] init script for pgagent
Thanks for the ebuild. Emerges without problems on x86 and amd64 systems. I changed the init and conf scripts a bit to make it possible to set pgagent specific options(logging, path to log and so on).
Created attachment 226163 [details] config script for pgagent Config script that contains pgagent specific options and connection string as split parameters.
Created attachment 226165 [details] init script to start pgagent Init script that uses the options for pgagent.
Jure, Can you attach the init & confd files with your changes please?
They are attached but looking at the time of your post you prolly were a bit faster.
This ebuild can't work in gentoo amd64 synced at 28/06/2010 dependency masked in /usr/portage/profiles/package.mask gentoo64 pgagent # emerge -av pgagent These are the packages that would be merged, in order: Calculating dependencies... done! !!! All ebuilds that could satisfy "virtual/postgresql-base" have been masked. !!! One of the following masked packages is required to complete your request: - virtual/postgresql-base-9.0 (masked by: package.mask) /usr/portage/profiles/package.mask: # Patrick Lauer <patrick@gentoo.org> (18 Jun 2010) # Only one provider left, so the virtuals serve # no purpose and will be removed soon - virtual/postgresql-base-8.4 (masked by: package.mask) - virtual/postgresql-base-8.3 (masked by: package.mask) - virtual/postgresql-base-8.2 (masked by: package.mask) - virtual/postgresql-base-8.1 (masked by: package.mask) - virtual/postgresql-base-8.0 (masked by: package.mask) - virtual/postgresql-base-7.4 (masked by: package.mask) (dependency required by "dev-db/pgagent-3.0.1" [ebuild]) (dependency required by "pgagent" [argument]) For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. gentoo64 pgagent # equery list | grep postgre app-admin/eselect-postgresql-0.3 dev-db/postgresql-base-8.4.4-r2 dev-db/postgresql-server-8.4.4-r1
Yes, the ebuild is still depending on virtual which it shouldn't. Will post one with a fix.
Created attachment 236915 [details] Ebuild for pgagent 3.0.1
Created attachment 309981 [details] pgagent 3.2.1 bump New version 3.2.1
Created attachment 310097 [details] pgAgent 3.2.1 Ebuild I've updated the ebuild for EAPI 4, cleaned it up a bit, fixed the dependencies, remove instead of installing the README and LICENSE files, changed the license to POSTGRESQL, removed the commands to SED for the license and readme since they're going to be removed anyway, and all around just goodness. If this works for you, I'll add it to the tree under the auspice of the PostgreSQL herd.
Created attachment 310099 [details] /etc/init.d/pgagent Cleaned up init script.
Works
*pgagent-3.2.1 (28 Apr 2012) 28 Apr 2012; Aaron W. Swenson <titanofold@gentoo.org> +pgagent-3.2.1.ebuild, +files/pgagent.confd, +files/pgagent.initd, +metadata.xml: Initial commit. Bug 292767.