Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167469 - sys-power/apcupsd-3.14.0 (Version Bump)
Summary: sys-power/apcupsd-3.14.0 (Version Bump)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Michael Imhof (RETIRED)
URL: http://www.apcupsd.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-18 12:47 UTC by Conrad Kostecki
Modified: 2007-05-02 21:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
apcupsd-3.14.0.ebuild (apcupsd-3.14.0.ebuild,2.71 KB, text/plain)
2007-02-18 14:53 UTC, Conrad Kostecki
Details
files/3.14.0/etc.patch (etc.patch,1.44 KB, patch)
2007-02-18 14:54 UTC, Conrad Kostecki
Details | Diff
apcupsd-3.14.0-apccontrol-gentoo.patch (apcupsd-3.14.0-apccontrol-gentoo.patch,803 bytes, patch)
2007-04-21 13:35 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
apcupsd.initd (apcupsd.initd,697 bytes, text/plain)
2007-04-21 13:37 UTC, Diego Elio Pettenò (RETIRED)
Details
apcupsd-3.14.0.ebuild (apcupsd-3.14.0.ebuild,3.19 KB, text/plain)
2007-04-21 13:40 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki gentoo-dev 2007-02-18 12:47:29 UTC
Hello!

apcupsd 3.14.0 is out!
Comment 1 Conrad Kostecki gentoo-dev 2007-02-18 14:52:36 UTC
Allright, here we go ;)

Updated ebuild for 3.14.0

apcupsd.in.patch - Can be used from 3.12.4 ... 
etc.patch - updated for 3.14.0
exit-status-build.patch - dropped, as its not in 3.14.0 integrated!
no-parallel.patch - Can be used from 3.12.4 ... 
no-strip.patch - dropped, as its not in 3.14.0 integrated!
Comment 2 Conrad Kostecki gentoo-dev 2007-02-18 14:53:40 UTC
Created attachment 110538 [details]
apcupsd-3.14.0.ebuild

apcupsd-3.14.0.ebuild

New Release ;)
Comment 3 Conrad Kostecki gentoo-dev 2007-02-18 14:54:25 UTC
Created attachment 110540 [details, diff]
files/3.14.0/etc.patch

etc.patch

updated for 3.14.0 release!
Comment 4 Conrad Kostecki gentoo-dev 2007-02-18 14:55:17 UTC
exit-status-build.patch - dropped, as its in 3.14.0 integrated!
no-strip.patch - dropped, as its in 3.14.0 integrated!

Its compiles here and works fine with my ups from apc ...
Comment 5 Mark 2007-03-01 01:11:56 UTC
this ebuild works here too and I hope that it will soon be included into portage, because the ebuilds that are now in portage don't compile with USE=snmp on all machines here
Comment 6 Conrad Kostecki gentoo-dev 2007-03-01 23:35:03 UTC
Does this ebuild do it?
Comment 7 Conrad Kostecki gentoo-dev 2007-04-11 12:09:00 UTC
*push* ?
Comment 8 Matteo Guglielmi 2007-04-16 14:03:31 UTC
(In reply to comment #2)
> Created an attachment (id=110538) [edit]
> apcupsd-3.14.0.ebuild
> 
> apcupsd-3.14.0.ebuild
> 
> New Release ;)
> 

I would suggest to remove these lines from the apcupsd-3.14.0.ebuild:

--enable-old-net
--enable-master-slave
--with-net-port=6666

since they are not supported anymore.

I've seen also the possibility to have a gtk interface along with the 3.14.0 release:

--enable-gapcmon

So it would be nice to add the following line as well:

use gtk && myconf="${myconf} --enable-gapcmon"

Thanks guys!!!
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-04-20 22:13:42 UTC
Actually, gapcmon should be conditional to gnome useflag (it uses gconf).

I'll be working on a multiplexing init.d script, as I need two apcupsd instances here on this box, I'll see to submit it here when it will be ready.
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-04-21 13:35:39 UTC
Created attachment 116897 [details, diff]
apcupsd-3.14.0-apccontrol-gentoo.patch

For the new init.d I need to patch apccontrol.in so that it supports restarting init scripts with gentoo's baselayout and depending on which it was started from, I'll see to send it upstream.
Comment 11 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-04-21 13:37:39 UTC
Created attachment 116898 [details]
apcupsd.initd

This is the new init.d script, that can be linked to start more than one apcupsd instance (working fine here with two UPSes).
Comment 12 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-04-21 13:40:37 UTC
Created attachment 116899 [details]
apcupsd-3.14.0.ebuild

And this finally is the ebuild to use to have everything working.

Note that gapcmon uses gnome useflag as it requires gconf as I said.

I also changed einfo in elog, so that it can be logged.
Comment 13 Alessio Cassibba (X-Drum) 2007-04-21 18:51:51 UTC
all the stuff submitted by Flameeyes (Comments #10 #11 #12) 
works fine here.

emerge info:
Portage 2.1.2.2 (default-linux/amd64/2007.0/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 21 Apr 2007 09:00:08 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="it_IT@euro"
LC_ALL="it_IT@euro"
LINGUAS="it"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 bash-completion berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos libg++ mad midi mikmod mmx mp3 mpeg ncurses nls nptl nptlonly offensive ogg opengl pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis xml xorg xv zlib" ALSA_CARDS="emu10k1 ac97" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="g15" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 14 Conrad Kostecki gentoo-dev 2007-04-24 09:00:42 UTC
Yep!
ebuild work here fine =)
Comment 15 Michael Imhof (RETIRED) gentoo-dev 2007-05-02 21:13:24 UTC
In cvs. Thanks for your help!