diff options
author | Sam James <sam@gentoo.org> | 2022-12-24 06:46:48 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-12-24 06:47:17 +0000 |
commit | c512eadcb799fa2181fda4479d96083412ddb00e (patch) | |
tree | 8232bf56a171581963ccd18929e572b6ff7f464d /net-misc/hylafaxplus | |
parent | package.deprecated: Add dev-python/future (diff) | |
download | gentoo-c512eadcb799fa2181fda4479d96083412ddb00e.tar.gz gentoo-c512eadcb799fa2181fda4479d96083412ddb00e.tar.bz2 gentoo-c512eadcb799fa2181fda4479d96083412ddb00e.zip |
net-misc/hylafaxplus: drop 7.0.3-r7, 7.0.3-r8
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/hylafaxplus')
-rw-r--r-- | net-misc/hylafaxplus/Manifest | 1 | ||||
-rw-r--r-- | net-misc/hylafaxplus/files/hylafaxplus-7.0.2-tiff-4.2.patch | 13 | ||||
-rw-r--r-- | net-misc/hylafaxplus/files/hylafaxplus-init | 176 | ||||
-rw-r--r-- | net-misc/hylafaxplus/hylafaxplus-7.0.3-r7.ebuild | 158 | ||||
-rw-r--r-- | net-misc/hylafaxplus/hylafaxplus-7.0.3-r8.ebuild | 162 | ||||
-rw-r--r-- | net-misc/hylafaxplus/hylafaxplus-7.0.6-r3.ebuild | 1 |
6 files changed, 0 insertions, 511 deletions
diff --git a/net-misc/hylafaxplus/Manifest b/net-misc/hylafaxplus/Manifest index c73f52d309e6..bd5b6c79d310 100644 --- a/net-misc/hylafaxplus/Manifest +++ b/net-misc/hylafaxplus/Manifest @@ -1,2 +1 @@ -DIST hylafax-7.0.3.tar.gz 1405116 BLAKE2B dbf8f87380929eb79ca0f18042c3397460dd6774f16defde8e9427d1d14094e00f6be491552f3ff6cc4c3d1fad0ec67a0c1a5fa3b4cb1e07c2f0c956eaefe8ed SHA512 938a21e4573fdf12bbc03dfee85e00555e7790a83a26316ac9cd1983501860858175d599c35f3b383cb0748518644587c203fb429966b5de3b615689d856281a DIST hylafax-7.0.6.tar.gz 1418749 BLAKE2B 83fff43dbc5c51f542aa847f61ae1617514a4260695d5c79a036416578ac632a778d0b5263a80fa7ccea9e9923a783759295a39199bdd32a2cb0ecac47ac91b4 SHA512 d1f69e13017f5d013ff39cf050c3a7ac6cef19a9ee5910ebe774a7ae06d7d22fd21e31de9734847764caea995539f578c3c458ecec7b9523b5823a841337d9cb diff --git a/net-misc/hylafaxplus/files/hylafaxplus-7.0.2-tiff-4.2.patch b/net-misc/hylafaxplus/files/hylafaxplus-7.0.2-tiff-4.2.patch deleted file mode 100644 index 8c4dbda35cc5..000000000000 --- a/net-misc/hylafaxplus/files/hylafaxplus-7.0.2-tiff-4.2.patch +++ /dev/null @@ -1,13 +0,0 @@ -https://bugs.gentoo.org/706154 -https://bugs.gentoo.org/810658 ---- a/configure -+++ b/configure -@@ -2583,7 +2583,7 @@ EOF - echo '#define TIFFSTRIPBYTECOUNTS uint32' - echo '#define TIFFVERSION TIFF_VERSION' - echo '#define TIFFHEADER TIFFHeader';; -- 4.[01]) tiff_runlen_t="uint32" -+ 4.[0123456789]) tiff_runlen_t="uint32" - tiff_offset_t="uint64" - echo '#define TIFFSTRIPBYTECOUNTS uint64' - echo '#define TIFFVERSION TIFF_VERSION_CLASSIC' diff --git a/net-misc/hylafaxplus/files/hylafaxplus-init b/net-misc/hylafaxplus/files/hylafaxplus-init deleted file mode 100644 index c15f26774a86..000000000000 --- a/net-misc/hylafaxplus/files/hylafaxplus-init +++ /dev/null @@ -1,176 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Foundation -# Author Geaaru -# Distributed under the terms of the GNU General Public License v2 - -extra_commands="zap" - -depend() { - use lo -} - -checkconfig() { - ebegin "Check hylafax server configuration..." - - if [ x$spooldir == x ] ; then - eerror "No spooldir directory defined" - return 1 - else - SPOOL=$spooldir - einfo "Use spool directory $SPOOL" - fi - - if [ x$mode == x ] ; then - eerror "No mode defined" - return 1 - fi - - if [ ! -f $SPOOL/etc/setup.cache ] ; then - eerror "No $SPOOL/etc/setup.cache file founded. Use faxsetup command" - return 1 - fi - - if [[ x$hfaxd == x || ! -f $hfaxd ]] ; then - eerror "No hfaxd daemon founded" - return 1 - fi - - if [[ x$faxq == x || ! -f $faxq ]] ; then - eerror "No faxq program founded" - return 1 - fi - - if [[ x$faxgetty == x || ! -f $faxgetty ]] ; then - eerror "No faxgetty program founded" - return 1 - fi - - if [ x$faxbind == x ] ; then - eerror "No binding address supply" - return 1 - fi - - if [ x$piddir == x ] ; then - PIDDIR=$SPOOL - else - PIDDIR=$piddir - fi - - - hfaxd_args="-l $faxbind -q $SPOOL" - - case $mode in - newproto) - if [[ x$faxport == x ]] ; then - eerror "No faxport defined" - return 1 - fi - hfaxd_args="$hfaxd_args -i $faxport" - ;; - oldproto) - if [[ x$oldprotoport == x ]] ; then - eerror "No oldprotoport defined" - return 1 - fi - hfaxd_args="$hfaxd_args -o $oldprotoport" - ;; - snpp) - if [[ x$snppport == x ]] ; then - eerror "No snppport defined" - return 1 - fi - hfaxd_args="$hfaxd_args -s $snppport" - ;; - any) - if [[ x$faxport == x || x$snppport == x || x$oldprotoport == x ]] ; then - eerror "No port data founded for old services" - return 1 - fi - hfaxd_args="$hfaxd_args -i $faxport -s $snppport -o $oldprotoport" - ;; - *) - eerror "Invalid mode" - return 1 - ;; - - esac - - faxq_args="-q $SPOOL" - - # workaround for manage save of pidfile with start-stop-daemon - hfaxd_args="$hfaxd_args -d" - faxq_args="$faxq_args -D" - - return 0 -} - -start() { - local result - - checkconfig || return 1 - - ebegin "Starting HylaFAX server daemons" - - start_faxq - result=$? - - if [ $result -ne 0 ] ; then - eerror "Error on start $faxq daemon" - return 1 - fi - - start_hfaxd - result=$? - - eend $result -} - -start_hfaxd() { - local arguments="--start \ - --make-pidfile --pidfile $PIDDIR/hfaxd.pid" - - einfo "Starting $hfaxd with args $hfaxd_args" - - start-stop-daemon -b ${arguments} --exec $hfaxd -- $hfaxd_args > /dev/null 2>&1 - - return $?; -} - -start_faxq() { - local arguments="--start \ - --make-pidfile --pidfile $PIDDIR/faxq.pid" - einfo "Starting $faxq ... " - - start-stop-daemon -b ${arguments} --exec $faxq -- $faxq_args > /dev/null 2>&1 - - return $? -} - -stop() { - checkconfig || return 1 - - ebegin "Stopping HylaFAX server daemons" - - start-stop-daemon --stop --quiet --pidfile $PIDDIR/hfaxd.pid - start-stop-daemon --stop --quiet --pidfile $PIDDIR/faxq.pid - eend $? -} - -zap() { - checkconfig || return 1 - - ebegin "Zap HylaFAX server daemon files" - - if [ -f $PIDFILE/hfaxd.pid ] ; then - rm -f $PIDFILE/hfaxd.pid - fi - - if [ -f $PIDFILE/faxq.pid ] ; then - rm -f $PIDFILE/faxq.pid - fi -} - -restart() { - stop - start -} diff --git a/net-misc/hylafaxplus/hylafaxplus-7.0.3-r7.ebuild b/net-misc/hylafaxplus/hylafaxplus-7.0.3-r7.ebuild deleted file mode 100644 index 9f1fb4d2a5bd..000000000000 --- a/net-misc/hylafaxplus/hylafaxplus-7.0.3-r7.ebuild +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit edo pam toolchain-funcs - -MY_PN="${PN/plus/}" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Enterprise client-server fax package for class 1 and 2 fax modems" -HOMEPAGE="https://hylafax.sourceforge.io/" -SRC_URI="mirror://sourceforge/hylafax/${MY_P}.tar.gz" -S="${WORKDIR}"/${MY_P} - -LICENSE="hylafaxplus" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="html jbig lcms ldap mgetty pam" - -DEPEND=" - app-text/ghostscript-gpl - media-libs/tiff:=[jbig?] - media-libs/libjpeg-turbo:= - >=sys-libs/zlib-1.1.4 - app-alternatives/awk - virtual/libcrypt:= - virtual/mta - jbig? ( media-libs/jbigkit ) - lcms? ( media-libs/lcms ) - ldap? ( net-nds/openldap:= ) - mgetty? ( net-dialup/mgetty[-fax] ) - pam? ( sys-libs/pam ) -" -RDEPEND=" - ${DEPEND} - !net-dialup/mgetty[fax] - !net-dialup/sendpage -" - -CONFIG_PROTECT="${CONFIG_PROTECT} /var/spool/fax/etc /usr/lib/fax" -CONFIG_PROTECT_MASK="${CONFIG_PROTECT_MASK} /var/spool/fax/etc/xferfaxlog" - -PATCHES=( - "${FILESDIR}"/ldconfig-patch - "${FILESDIR}"/${PN}-7.0.2-tiff-4.2.patch -) - -src_prepare() { - default - - # Force it not to strip binaries - for dir in etc util faxalter faxcover faxd faxmail faxrm faxstat \ - hfaxd sendfax sendpage ; do - sed -i -e "s:-idb:-idb \"nostrip\" -idb:g" \ - "${dir}"/Makefile.in || die "sed on ${dir}/Makefile.in failed" - done - - sed -i -e "s:hostname:hostname -f:g" util/{faxrcvd,pollrcvd}.sh.in || die "sed on hostname failed" - - # Respect LDFLAGS (at least partially) - sed -i -e "/^LDFLAGS/s/LDOPTS}/LDOPTS} ${LDFLAGS}/" defs.in || die "sed on defs.in failed" - - sed -i -e "s|-fpic|-fPIC|g" \ - configure || die -} - -src_configure() { - local my_conf=( - --with-DIR_BIN=/usr/bin - --with-DIR_SBIN=/usr/sbin - --with-DIR_LIB=/usr/$(get_libdir) - --with-DIR_LIBEXEC=/usr/sbin - --with-DIR_LIBDATA=/usr/$(get_libdir)/fax - --with-DIR_LOCALE=/usr/share/locale - --with-DIR_LOCKS=/var/lock - --with-DIR_MAN=/usr/share/man - --with-DIR_SPOOL=/var/spool/fax - --with-DIR_HTML=/usr/share/doc/${PF}/html - --with-DIR_CGI="${WORKDIR}" - --with-PATH_DPSRIP=/var/spool/fax/bin/ps2fax - --with-PATH_IMPRIP="" - --with-SYSVINIT=no - --with-REGEX=yes - --with-LIBTIFF="-ltiff -ljpeg -lz" - --with-OPTIMIZER="${CFLAGS}" - --with-DSO=auto - --with-HTML=$(usex html) - ) - - if use mgetty; then - my_conf+=( - --with-PATH_GETTY=/sbin/mgetty - --with-PATH_EGETTY=/sbin/mgetty - --with-PATH_VGETTY=/usr/sbin/vgetty - ) - else - # GETTY defaults to /sbin/agetty - my_conf+=( - --with-PATH_EGETTY=/bin/false - --with-PATH_VGETTY=/bin/false - ) - fi - - # --enable-pam isn't valid - use pam || my_conf+=( $(use_enable pam) ) - use lcms || my_conf+=( $(use_enable lcms) ) - use ldap || my_conf+=( $(use_enable ldap) ) - use jbig || my_conf+=( $(use_enable jbig) ) - - tc-export CC CXX AR RANLIB - - edo ./configure --nointeractive "${my_conf[@]}" -} - -src_compile() { - # Parallel building is borked, bug #???? - emake -j1 -} - -src_install() { - dodir /usr/{bin,sbin} /usr/$(get_libdir)/fax /usr/share/man - dodir /var/spool /var/spool/fax - fowners uucp:uucp /var/spool/fax - fperms 0600 /var/spool/fax - - dodir /usr/share/doc/${PF}/samples - emake DESTDIR="${D}" \ - BIN="${D}/usr/bin" \ - SBIN="${D}/usr/sbin" \ - LIBDIR="${D}/usr/$(get_libdir)" \ - LIB="${D}/usr/$(get_libdir)" \ - LIBEXEC="${D}/usr/sbin" \ - LIBDATA="${D}/usr/$(get_libdir)/fax" \ - DIR_LOCALE="${D}/usr/share/locale" \ - MAN="${D}/usr/share/man" \ - SPOOL="${D}/var/spool/fax" \ - HTMLDIR="${D}/usr/share/doc/${PF}/html" \ - install - - keepdir /var/spool/fax/{archive,client,etc,pollq,recvq,tmp} - keepdir /var/spool/fax/{status,sendq,log,info,doneq,docq,dev} - - einfo "Adding env.d entry for ${PN}" - newenvd - 99hylafaxplus <<-EOF - PATH="/var/spool/fax/bin" - CONFIG_PROTECT="/var/spool/fax/etc /usr/$(get_libdir)/fax" - CONFIG_PROTECT_MASK="/var/spool/fax/etc/xferfaxlog" - EOF - - newconfd "${FILESDIR}"/${PN}-conf ${PN} - newinitd "${FILESDIR}"/${PN}-init-r1 ${PN} - - use pam && pamd_mimic_system ${MY_PN} auth account session - - einstalldocs - docinto samples -} diff --git a/net-misc/hylafaxplus/hylafaxplus-7.0.3-r8.ebuild b/net-misc/hylafaxplus/hylafaxplus-7.0.3-r8.ebuild deleted file mode 100644 index 3f86a507030c..000000000000 --- a/net-misc/hylafaxplus/hylafaxplus-7.0.3-r8.ebuild +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit pam toolchain-funcs - -MY_PN="${PN/plus/}" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Enterprise client-server fax package for class 1 and 2 fax modems" -HOMEPAGE="https://hylafax.sourceforge.io/" -SRC_URI="mirror://sourceforge/hylafax/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -SLOT="0" -LICENSE="hylafaxplus" -KEYWORDS="amd64 x86" -IUSE="html jbig lcms ldap mgetty pam" - -DEPEND=" - app-text/ghostscript-gpl - media-libs/tiff:=[jbig?] - media-libs/libjpeg-turbo:= - !net-dialup/mgetty[fax] - >=sys-libs/zlib-1.1.4 - app-alternatives/awk - virtual/mta - jbig? ( media-libs/jbigkit ) - lcms? ( media-libs/lcms ) - ldap? ( net-nds/openldap:= ) - mgetty? ( net-dialup/mgetty[-fax] ) - pam? ( sys-libs/pam ) -" -RDEPEND="${DEPEND} - !net-dialup/sendpage -" - -CONFIG_PROTECT="${CONFIG_PROTECT} /var/spool/fax/etc /usr/lib/fax" -CONFIG_PROTECT_MASK="${CONFIG_PROTECT_MASK} /var/spool/fax/etc/xferfaxlog" - -PATCHES=( - "${FILESDIR}/ldconfig-patch" - "${FILESDIR}"/${PN}-7.0.2-tiff-4.2.patch -) - -src_prepare() { - default - - # force it not to strip binaries - for dir in etc util faxalter faxcover faxd faxmail faxrm faxstat \ - hfaxd sendfax sendpage ; do - sed -i -e "s:-idb:-idb \"nostrip\" -idb:g" \ - "${dir}"/Makefile.in || die "sed on ${dir}/Makefile.in failed" - done - - sed -i -e "s:hostname:hostname -f:g" util/{faxrcvd,pollrcvd}.sh.in || die "sed on hostname failed" - - # Respect LDFLAGS(at least partially) - sed -i -e "/^LDFLAGS/s/LDOPTS}/LDOPTS} ${LDFLAGS}/" defs.in || die "sed on defs.in failed" - - sed -i -e "s|-fpic|-fPIC|g" \ - configure || die -} - -src_configure() { - do_configure() { - echo ./configure --nointeractive ${1} - # eval required for quoting in ${my_conf} to work properly, better way? - eval ./configure --nointeractive ${1} || die "./configure failed" - } - - local my_conf=( - --with-DIR_BIN=/usr/bin - --with-DIR_SBIN=/usr/sbin - --with-DIR_LIB=/usr/$(get_libdir) - --with-DIR_LIBEXEC=/usr/sbin - --with-DIR_LIBDATA=/usr/$(get_libdir)/fax - --with-DIR_LOCALE=/usr/share/locale - --with-DIR_LOCKS=/var/lock - --with-DIR_MAN=/usr/share/man - --with-DIR_SPOOL=/var/spool/fax - --with-DIR_HTML=/usr/share/doc/${PF}/html - --with-DIR_CGI="${WORKDIR}" - --with-PATH_DPSRIP=/var/spool/fax/bin/ps2fax - --with-PATH_IMPRIP="" - --with-SYSVINIT=no - --with-REGEX=yes - --with-LIBTIFF=\"-ltiff -ljpeg -lz\" - --with-OPTIMIZER=\"${CFLAGS}\" - --with-DSO=auto - --with-HTML=$(usex html) - ) - - if use mgetty; then - my_conf+=( - --with-PATH_GETTY=/sbin/mgetty - --with-PATH_EGETTY=/sbin/mgetty - --with-PATH_VGETTY=/usr/sbin/vgetty - ) - else - # GETTY defaults to /sbin/agetty - my_conf+=( - --with-PATH_EGETTY=/bin/false - --with-PATH_VGETTY=/bin/false - ) - fi - - #--enable-pam isn't valid - use pam || my_conf+=( $(use_enable pam) ) - use lcms || my_conf+=( $(use_enable lcms) ) - use ldap || my_conf+=( $(use_enable ldap) ) - use jbig || my_conf+=( $(use_enable jbig) ) - - tc-export CC CXX AR RANLIB - - do_configure "${my_conf[*]}" -} - -src_compile() { - # Parallel building is borked, bug #???? - emake -j1 -} - -src_install() { - dodir /usr/{bin,sbin} /usr/$(get_libdir)/fax /usr/share/man - dodir /var/spool /var/spool/fax - fowners uucp:uucp /var/spool/fax - fperms 0600 /var/spool/fax - dodir "/usr/share/doc/${P}/samples" - - emake DESTDIR="${D}" \ - BIN="${D}/usr/bin" \ - SBIN="${D}/usr/sbin" \ - LIBDIR="${D}/usr/$(get_libdir)" \ - LIB="${D}/usr/$(get_libdir)" \ - LIBEXEC="${D}/usr/sbin" \ - LIBDATA="${D}/usr/$(get_libdir)/fax" \ - DIR_LOCALE="${D}/usr/share/locale" \ - MAN="${D}/usr/share/man" \ - SPOOL="${D}/var/spool/fax" \ - HTMLDIR="${D}/usr/share/doc/${PF}/html" \ - install - - keepdir /var/spool/fax/{archive,client,etc,pollq,recvq,tmp} - keepdir /var/spool/fax/{status,sendq,log,info,doneq,docq,dev} - - einfo "Adding env.d entry for ${PN}" - newenvd - 99hylafaxplus <<-EOF - PATH="/var/spool/fax/bin" - CONFIG_PROTECT="/var/spool/fax/etc /usr/$(get_libdir)/fax" - CONFIG_PROTECT_MASK="/var/spool/fax/etc/xferfaxlog" - EOF - - newconfd "${FILESDIR}/${PN}-conf" ${PN} - newinitd "${FILESDIR}/${PN}-init" ${PN} - - use pam && pamd_mimic_system ${MY_PN} auth account session - - einstalldocs - docinto samples -} diff --git a/net-misc/hylafaxplus/hylafaxplus-7.0.6-r3.ebuild b/net-misc/hylafaxplus/hylafaxplus-7.0.6-r3.ebuild index b7e589501c96..c2207fd1949d 100644 --- a/net-misc/hylafaxplus/hylafaxplus-7.0.6-r3.ebuild +++ b/net-misc/hylafaxplus/hylafaxplus-7.0.6-r3.ebuild @@ -42,7 +42,6 @@ CONFIG_PROTECT="${CONFIG_PROTECT} /var/spool/fax/etc /usr/lib/fax" CONFIG_PROTECT_MASK="${CONFIG_PROTECT_MASK} /var/spool/fax/etc/xferfaxlog" # See bug #706154, bug #810658 if need to patch for newer libtiff. - PATCHES=( "${FILESDIR}"/ldconfig-patch ) |