--- indimail-utils-1.0.0.orig/debian/changelog
+++ indimail-utils-1.0.0/debian/changelog
@@ -0,0 +1,21 @@
+indimail-utils (1.0.0-1.1+9.1) stable; urgency=low
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Tue, 07 Jul 2026 02:36:42 +0000
+
+indimail-utils (1.0.0-1.1) stable; urgency=low
+
+  * New package indimail-utils
+  * QA Fixes for documentation, RPM Lint fixes
+  * Add AC_PROG_CC_C99 to configure
+  * mpack - fixed possible buffer overflow in uudecode.c
+  * Fixed compiler warnings on Darwin
+  * exec.c: replaced sys_siglist with strsignal()
+  * added debuginfo package
+  * added github-obs integration
+  * PKGBUILD: Fix permissions for directories
+  * changed permissions for dirs with 555 to 755
+  * fix gcc14 errors in mpack, flash
+
+ -- Manvendra Bhangui <indimail-utils@indimail.org>  Tue, 07 Jul 2026 02:21:57 +0000
--- indimail-utils-1.0.0.orig/debian/compat
+++ indimail-utils-1.0.0/debian/compat
@@ -0,0 +1 @@
+10
--- indimail-utils-1.0.0.orig/debian/control
+++ indimail-utils-1.0.0/debian/control
@@ -0,0 +1,14 @@
+Source: indimail-utils
+Section: mail
+Priority: optional
+Maintainer: Manvendra Bhangui <indimail-utils@indimail.org>
+Standards-Version: 4.5.0
+Build-Depends: debhelper (>= 9), binutils, coreutils
+Homepage: https://github.com/mbhangui/indimail-virtualdomains
+
+Package: indimail-utils
+Architecture: any
+Conflicts: indimail (< 3.2)
+Depends: ${shlibs:Depends}, ${misc:Depends}, coreutils, findutils
+Description: indimail-utils provides a package consisting of utilities like
+ mpack, munpack, altermime, ripmime, fortune, flash for indimail MTA
--- indimail-utils-1.0.0.orig/debian/copyright
+++ indimail-utils-1.0.0/debian/copyright
@@ -0,0 +1,38 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: indimail-utils
+Upstream-Contact: Manvendra Bhangui <indimail-utils@indimail.org>
+Source: https://github.com/mbhangui/indimail-virtualdomains
+
+Files: *
+Copyright: 2020 <Manvendra Bhangui mbhangui@gmail.com>
+License: GPL-3.0+
+
+Files: debian/*
+Copyright: 2020 Manvendra Bhangui <mbhangui@gmail.com>
+License: GPL-3.0+
+
+License: GPL-3.0+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
+# Please avoid picking licenses with terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
+#
+# If you need, there are some extra license texts available in two places:
+#   /usr/share/debhelper/dh_make/licenses/
+#   /usr/share/common-licenses/
--- indimail-utils-1.0.0.orig/debian/indimail-utils.install
+++ indimail-utils-1.0.0/debian/indimail-utils.install
@@ -0,0 +1,6 @@
+usr/bin                /usr
+usr/sbin               /usr
+usr/share/indimail     /usr/share
+usr/share/man/man1     /usr/share/man
+usr/@libd@/*.so.*      /usr/@libd@
+etc/indimail           /etc
--- indimail-utils-1.0.0.orig/debian/obs_deb_prep
+++ indimail-utils-1.0.0/debian/obs_deb_prep
@@ -0,0 +1,31 @@
+#!/bin/sh
+set -e
+#
+# Unpacker for OpenSUSE build service
+#
+version=1.0.0
+altermime_version=0.3.10
+ripmime_version=1.4.0.10
+fortune_version=1.1.0
+flash_version=0.9.4
+mpack_version=1.6.0
+
+for i in altermime-"$altermime_version" ripmime-"$ripmime_version" \
+mpack-"$mpack_version" fortune-"$fortune_version" flash-"$flash_version"
+do
+	/bin/rm -rf $i
+	if [ -f ../SOURCES/$i.tar.gz ] ; then
+		echo "extracting $i.tar.gz"
+		gunzip -c ../SOURCES/$i.tar.gz |tar xf -
+	elif [ -f ../SOURCES/$i.tar.xz ] ; then
+		echo "extracting $i.tar.xz"
+		xz -d -c ../SOURCES/$i.tar.xz|tar xf -
+	elif [ -f ../SOURCES/$i.tar.bz2 ] ; then
+		echo "extracting $i.tar.bz2"
+		bzip2 -d -c ../SOURCES/$i.tar.bz2|tar xf -
+	else
+		echo "no source archive for $i"
+		exit 1
+	fi
+done
+exit 0
--- indimail-utils-1.0.0.orig/debian/rules
+++ indimail-utils-1.0.0/debian/rules
@@ -0,0 +1,155 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+# export DH_COMPAT=4
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+#
+
+prefix=/usr
+sysconfdir=/etc/indimail
+altermime_vers=0.3.10
+ripmime_vers=1.4.0.10
+fortune_vers=1.1.0
+flash_version=0.9.4
+mpack_version=1.6.0
+version=1.0.0
+release=1.1
+mandir=/usr/share/man
+arch=$(shell uname -m)
+# check https://wiki.debian.org/Multiarch/Implementation#Dynamic_debian.2F.2A_files
+libd=$(shell if [ -d $(prefix)/lib/$(arch)-linux-gnu ] ; then echo lib/$(arch)-linux-gnu; else echo lib;fi)
+libdir=/usr/lib
+rm=/bin/rm
+cp=/bin/cp
+
+DESTDIR=$(CURDIR)/debian/tmp
+
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	#
+	# Extract source archives
+	#
+	if [ -f ../BUILD/debian/obs_deb_prep ] ; then sh ../BUILD/debian/obs_deb_prep; fi
+	#
+	# run configure script
+	#
+	if [ -d altermime-$(altermime_vers) ] ; then \
+		cd altermime-$(altermime_vers); \
+		./configure $(shell dpkg-buildflags --export=cmdline) \
+			--prefix=${prefix} --mandir=${mandir} \
+			--datarootdir=${prefix}/share/indimail; \
+		cd ..; \
+	fi
+	if [ -d ripmime-$(ripmime_vers) ] ; then \
+		cd ripmime-$(ripmime_vers); \
+		./configure $(shell dpkg-buildflags --export=cmdline) \
+			--prefix=${prefix} --mandir=${mandir} \
+			--datarootdir=${prefix}/share/indimail; \
+		cd ..; \
+	fi
+	if [ -d fortune-$(fortune_vers) ] ; then \
+		cd fortune-$(fortune_vers); \
+		./configure $(shell dpkg-buildflags --export=cmdline) \
+			--prefix=${prefix} --mandir=${mandir} \
+			--enable-cookiedir=${prefix}/share/indimail/fortunes --enable-offensive=n \
+			--datarootdir=${prefix}/share/indimail; \
+		cd ..; \
+	fi
+	if [ -d flash-$(flash_version) ] ; then \
+		cd flash-$(flash_version); \
+		./configure $(shell dpkg-buildflags --export=cmdline) \
+			--prefix=${prefix} --mandir=${mandir} --libdir=${prefix}/${libd} \
+			--sysconfdir=${sysconfdir} --enable-modbase=${prefix}/lib/indimail \
+			--datarootdir=${prefix}/share/indimail; \
+		cd ..; \
+	fi
+	if [ -d mpack-$(mpack_version) ] ; then \
+		cd mpack-$(mpack_version); \
+		./configure $(shell dpkg-buildflags --export=cmdline) \
+			--prefix=${prefix} --mandir=${mandir} \
+			--datarootdir=${prefix}/share/indimail; \
+		cd ..; \
+	fi
+	#
+	# run make
+	#
+	if [ -d altermime-$(altermime_vers) ] ; then $(MAKE) -s -C altermime-$(altermime_vers) DESTDIR=$(DESTDIR); fi
+	if [ -d ripmime-$(ripmime_vers) ]     ; then $(MAKE) -s -C ripmime-$(ripmime_vers) DESTDIR=$(DESTDIR); fi
+	if [ -d fortune-$(fortune_vers) ]     ; then $(MAKE) -s -C fortune-$(fortune_vers) DESTDIR=$(DESTDIR); fi
+	if [ -d mpack-$(mpack_version) ]      ; then $(MAKE) -s -C mpack-$(mpack_version) DESTDIR=$(DESTDIR); fi
+	if [ -d flash-$(flash_version) ]      ; then $(MAKE) -s -C flash-$(flash_version) DESTDIR=$(DESTDIR); fi
+	${rm} -rf $(DESTDIR)$(prefix)/$(libd)/*.la
+	( \
+	echo NAME=indimail-utils; \
+	echo Description=\"IndiMail Authentication Package\"; \
+	echo AUTH_version=$(version)-$(release); \
+	echo ID=indimail-utils; \
+	echo HOME_URL="https://github.com/mbhangui/indimail-virtualdomains"; \
+	echo PACKAGE_BUGREPORT=\"'Manvendra Bhangui <indimail-utils@indimail.org>'\"; \
+	) > indimail-utils-release
+	touch build-stamp
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep || dh_clean -k
+	dh_installdirs
+	if [ -d altermime-$(altermime_vers) ] ; then $(MAKE) -s install -C altermime-$(altermime_vers) DESTDIR=$(DESTDIR); fi
+	if [ -d ripmime-$(ripmime_vers) ]     ; then $(MAKE) -s install -C ripmime-$(ripmime_vers) DESTDIR=$(DESTDIR); fi
+	if [ -d fortune-$(fortune_vers) ]     ; then $(MAKE) -s install -C fortune-$(fortune_vers) DESTDIR=$(DESTDIR); fi
+	if [ -d mpack-$(mpack_version) ]      ; then $(MAKE) -s install -C mpack-$(mpack_version) DESTDIR=$(DESTDIR); fi
+	if [ -d flash-$(flash_version) ]      ; then $(MAKE) -s install -C flash-$(flash_version) DESTDIR=$(DESTDIR); fi
+	mkdir -p $(DESTDIR)$(sysconfdir)
+	install -m 0644 indimail-utils-release "$(DESTDIR)$(sysconfdir)"/indimail-utils-release
+	/bin/rm -f indimail-utils-release
+
+clean:
+	if [ -d altermime-$(altermime_vers) ] ; then $(MAKE) -s clean -C altermime-$(altermime_vers) DESTDIR=$(DESTDIR) || true; fi
+	if [ -d ripmime-$(ripmime_vers) ]     ; then $(MAKE) -s clean -C ripmime-$(ripmime_vers) DESTDIR=$(DESTDIR) || true; fi
+	if [ -d fortune-$(fortune_vers) ]     ; then $(MAKE) -s clean -C fortune-$(fortune_vers) DESTDIR=$(DESTDIR) || true; fi
+	if [ -d mpack-$(mpack_version) ]      ; then $(MAKE) -s clean -C mpack-$(mpack_version) DESTDIR=$(DESTDIR) || true; fi
+	if [ -d flash-$(flash_version) ]      ; then $(MAKE) -s clean -C flash-$(flash_version) DESTDIR=$(DESTDIR) || true; fi
+	if [ -d altermime-$(altermime_vers) ] ; then $(MAKE) -s distclean -C altermime-$(altermime_vers) DESTDIR=$(DESTDIR) || true; fi
+	if [ -d ripmime-$(ripmime_vers) ]     ; then $(MAKE) -s distclean -C ripmime-$(ripmime_vers) DESTDIR=$(DESTDIR) || true; fi
+	if [ -d fortune-$(fortune_vers) ]     ; then $(MAKE) -s distclean -C fortune-$(fortune_vers) DESTDIR=$(DESTDIR) || true; fi
+	if [ -d mpack-$(mpack_version) ]      ; then $(MAKE) -s distclean -C mpack-$(mpack_version) DESTDIR=$(DESTDIR) || true; fi
+	if [ -d flash-$(flash_version) ]      ; then $(MAKE) -s distclean -C flash-$(flash_version) DESTDIR=$(DESTDIR) || true; fi
+	${rm} -f build-stamp configure-stamp
+	${rm} -rf $(DESTDIR)
+	dh_testdir
+	dh_testroot
+	dh_clean
+	dh_auto_clean
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	find $(DESTDIR)$(mandir) -name '*'.? -type f -exec gzip -q {} \;
+	sed -i -e 's,@libd\@,$(libd),g' debian/indimail-utils.install
+	dh_install --sourcedir=$(DESTDIR) -pindimail-utils
+	dh_installchangelogs
+	dh_installcron
+	dh_installdocs
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_makeshlibs -V
+	dh_shlibdeps
+	dh_gencontrol
+	dh_installcron
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-dependent files here. 
+binary-arch: build install
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
