Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85756 - amavisd-new: an improved ebuild to fix some problems
Summary: amavisd-new: an improved ebuild to fix some problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-18 04:39 UTC by Christian Zoffoli (RETIRED)
Modified: 2005-05-01 13:17 UTC (History)
2 users (show)

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


Attachments
better ebuild with many fixes (amavisd-new-2.2.1-improvements.patch,2.16 KB, patch)
2005-03-18 04:41 UTC, Christian Zoffoli (RETIRED)
Details | Diff
better patch (leave the directory creation in src_install() (amavisd-new-2.2.1-improvements-2.patch,1.84 KB, patch)
2005-03-22 15:12 UTC, Christian Zoffoli (RETIRED)
Details | Diff
amavisd-new-2.3.0.ebuild (amavisd-new-2.3.0-r2.ebuild,4.62 KB, text/plain)
2005-04-26 11:35 UTC, Sune Kloppenborg Jeppesen (RETIRED)
Details
amavisd-new-2.3.0-amavisd.conf-gentoo.patch (amavisd-new-2.3.0-amavisd.conf-gentoo.patch,6.64 KB, text/plain)
2005-04-26 11:36 UTC, Sune Kloppenborg Jeppesen (RETIRED)
Details
newinitd call added (amavisd-new-2.3.0.ebuild,4.60 KB, text/plain)
2005-04-28 04:09 UTC, Christian Zoffoli (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Zoffoli (RETIRED) gentoo-dev 2005-03-18 04:39:42 UTC
this little improvement fix some problems:
- user creation when you install a binary package
- whitelist blacklist spam_lovers overwriting
- better permissions handling ;)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.11.3 i686)
=================================================================
System uname: 2.6.11.3 i686 AMD Athlon(TM) XP 2500+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 11 2005, 18:50:39)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/mail/dspam /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages/x86/desktop"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.0.4.11/gentoo-portage"
USE="x86 X aac aalib acl acpi acpi4linux aliaschain altcolors amd apache2 apm
aredmem arts artswrappersuid atlas atm audiofile avi ba-completion berkdb
bitmap-fonts blas bonobo cdb cddb cdparanoia cdr cdrom cjk clamav codecs crypt
cups curl devfs26 dga dhcp divx4linux djbfft dlz dv dvd dvdr dvdread edl emboss
encode esd ethereal evo extensions faac faad fam fbcon festival ffmpeg fftw flac
flood font-server foomaticdb fortran freetts freetype frlargefiles gd gdbm gif
gimp gimpprint glut gnokii gnome gphoto2 gpm gps gs gsm gtk gtk2 gtkhtml guild
ieee1394 imagemagick imap imlib imlib2 innodb ipv6 irda irmc jabber2 jack java
jce jp2 jpeg jpeg2k junit kadu-modules kadu-voice kde kerberos large-domain lcms
ldap ldirectord libg++ libwwwlirc live lzo lzw lzw-tiff mad maildir maildrop
mailwrapper matroska mbrola mdb mew mha mikmod mime mimencode mmap mmx mng motif
mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mpeg4 mplayer msdav
mysql mythtv ncursees ncurses network nls nntp nogulm ntlm nvidia oav odbc
oggvorbis openal opengl opens opie oss pam pcmcia pcre pda pdf pdfkit pdflib
perl php png pnp postgres ppds procmail pthreads pwdb python qmail qt quicktime
quotes radeon readline remote roundrobin samba sasl scanner sdl shaper
silentdrop slang slp sms snmp softquota speex spel spell sqlite ssl svg svga
sziptcltk tcpd tetex tga tiff tinydyndns transcode truetype truetype-fonts type1
type1-fonts unicode usb v4l v4l2 vda vhosts vim vim-with-x virus-scan wmf
wsconvert xine xinerama xinetd xml xml2 xmms xosd xpm xv xvid yv12 zaptel zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Christian Zoffoli (RETIRED) gentoo-dev 2005-03-18 04:41:01 UTC
Created attachment 53782 [details, diff]
better ebuild with many fixes
Comment 2 Tuan Van (RETIRED) gentoo-dev 2005-03-22 10:06:42 UTC
Christian,
you move direct ${AMAVIS_ROOT}/directories creation from src_install() to pkg_postinst(). It causes those directories left over after an emerge -C. Is it desirable?
Comment 3 Christian Zoffoli (RETIRED) gentoo-dev 2005-03-22 15:12:18 UTC
Created attachment 54187 [details, diff]
better patch (leave the directory creation in src_install()

You are right, I've changed a bit the patch to leave the directory creation in
src_install()
Comment 4 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-04-26 11:35:11 UTC
Created attachment 57309 [details]
amavisd-new-2.3.0.ebuild

amavisd-new-2.3.0.ebuild incorporating the patch.
Comment 5 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-04-26 11:36:08 UTC
Created attachment 57310 [details]
amavisd-new-2.3.0-amavisd.conf-gentoo.patch
Comment 6 Fernando J. Pereda (RETIRED) gentoo-dev 2005-04-27 11:12:24 UTC
Shouldn't those has_version be replaced by some use flags ?

Also:

>	exeinto /etc/init.d
>	newexe "${FILESDIR}/amavisd.rc6" amavisd
>	dosed "s:/var/run/amavis/:$AMAVIS_ROOT/:g" /etc/init.d/amavisd

Should be replaced by a newinitd call.

Cheers,
Ferdy
Comment 7 Christian Zoffoli (RETIRED) gentoo-dev 2005-04-28 04:09:05 UTC
Created attachment 57462 [details]
newinitd call added
Comment 8 Andrej Kacian (RETIRED) gentoo-dev 2005-05-01 13:17:58 UTC
Ok, 2.3.0 has just landed in portage. Thanks everyone involved!