Package Details: mgetty 1.2.1-1

Git Clone URL: https://aur.archlinux.org/mgetty.git (read-only, click to copy)
Package Base: mgetty
Description: Mgetty is a versatile program to handle all aspects of a modem under Unix.
Upstream URL: http://mgetty.greenie.net/
Licenses: GPL
Submitter: Xavier
Maintainer: alexei
Last Packager: alexei
Votes: 6
Popularity: 0.000000
First Submitted: 2009-11-12 15:51 (UTC)
Last Updated: 2024-01-09 03:19 (UTC)

Latest Comments

1 2 Next › Last »

alexei commented on 2024-01-09 03:20 (UTC)

@dreieck: applied, thanks!

dreieck commented on 2024-01-08 18:12 (UTC)

Please do not use relative paths which go out of the build directory. If in /etc/makepkg.conf variables like $SRCDEST are set it breaks:

==> Starting prepare()...
patch: **** Can't open patch file ../../config.patch : No such file or directory

Please specify the absolute path to the patch!.

Also, please quote your variables, since $srcdir and $pkgdir might contain spaces.

Patch to the PKGBUILD:

--- PKGBUILD.orig   2024-01-08 19:09:58.869894769 +0100
+++ PKGBUILD    2024-01-08 19:11:43.459891750 +0100
@@ -12,3 +12,3 @@
 install=mgetty.install
-source=(ftp://mgetty.greenie.net/pub/mgetty/source/1.2/${pkgname}-${pkgver}.tar.gz
+source=("ftp://mgetty.greenie.net/pub/mgetty/source/1.2/${pkgname}-${pkgver}.tar.gz"
        Makefile.patch
@@ -22,8 +22,8 @@
 prepare() {
-  cd $srcdir/$pkgname-$pkgver
+  cd "$srcdir/$pkgname-$pkgver"
   cp policy.h-dist policy.h
-  patch -Np0 -i ../../config.patch
-  patch -Np0 -i ../../policy.patch
-  patch -p1 < ../../aarch64.patch
-  patch -p1 < ../../errno.patch
+  patch -Np0 -i "${srcdir}/config.patch"
+  patch -Np0 -i "${srcdir}/policy.patch"
+  patch -p1 < "${srcdir}/aarch64.patch"
+  patch -p1 < "${srcdir}/errno.patch"
 }
@@ -31,3 +31,3 @@
 build() {
-  cd $srcdir/$pkgname-$pkgver
+  cd "$srcdir/$pkgname-$pkgver"
   make -j1 # Makefile is broken for parallel make: sedscript not generated in time
@@ -37,11 +37,11 @@
 package() {
-  cd $srcdir/$pkgname-$pkgver
-  mkdir -p $pkgdir/var/spool
-  mkdir -p $pkgdir/usr/bin
-  make prefix=$pkgdir/usr spool=$pkgdir/var/spool CONFDIR=$pkgdir/etc/mgetty+sendfax FAX_OUT_USER=0 install
-  rm -f $pkgdir/usr/bin/g3topbm
-  mv $pkgdir/usr/sbin/* $pkgdir/usr/bin/
-  rm -r $pkgdir/usr/sbin
-  install -D -m644 $srcdir/90-mgetty.rules $pkgdir/etc/udev/rules.d/90-mgetty.rules
-  install -D -m644 $srcdir/mgetty@.service $pkgdir/usr/lib/systemd/system/mgetty@.service
+  cd "$srcdir/$pkgname-$pkgver"
+  mkdir -p "$pkgdir/var/spool"
+  mkdir -p "$pkgdir/usr/bin"
+  make prefix="$pkgdir/usr" spool="$pkgdir/var/spool" CONFDIR="$pkgdir/etc/mgetty+sendfax" FAX_OUT_USER=0 install
+  rm -f "$pkgdir/usr/bin/g3topbm"
+  mv "$pkgdir/usr/sbin"/* "$pkgdir/usr/bin/"
+  rm -r "$pkgdir/usr/sbin"
+  install -D -m644 "$srcdir/90-mgetty.rules" "$pkgdir/etc/udev/rules.d/90-mgetty.rules"
+  install -D -m644 "$srcdir/mgetty@.service" "$pkgdir/usr/lib/systemd/system/mgetty@.service"
 }

Regards and thanks for maintaining!

alexei commented on 2023-08-20 03:56 (UTC)

@Gigabyte1027: downloads for me, both via makepkg and via manual connection to ftp server via an FTP client. 1.2.1 is still the latest stable version. I unflaged the package.

utiac commented on 2021-03-26 13:16 (UTC)

@alexei - thank you very much It builds and works for my purposes. (with limited testing) Will report back here if I notice anything odd.

alexei commented on 2021-03-25 21:19 (UTC)

@utiac: pushed fix (untested), thanks for the report.

utiac commented on 2021-03-24 16:56 (UTC) (edited on 2021-03-24 18:27 (UTC) by utiac)

Error running makepkg on mgetty. log is here: https://drive.google.com/file/d/10ZOgijB5fuZpwm6msx4Z9fV5TMKancWm/view?usp=sharing

alexei commented on 2018-01-14 04:36 (UTC)

@oberon2007, @effeffe: fixed.

oberon2007 commented on 2016-08-01 18:44 (UTC) (edited on 2016-08-01 18:45 (UTC) by oberon2007)

The source was moved to http://fossies.org/linux/misc/old/mgetty1.1.37-Jun05.tar.gz !

effeffe commented on 2016-02-03 18:01 (UTC)

Also I get an error, please fix! http://pastebin.com/EpUQRieK

aligator commented on 2016-01-14 17:01 (UTC)

I get an error: https://bpaste.net/show/999894c26e73